search for: cleartimeout

Displaying 18 results from an estimated 18 matches for "cleartimeout".

2006 Feb 13
2
[PATCH] Allow generic autocompleter (Ajax.Watcher)
..."keypress", this.onKeyPress.bindAsEventListener(this)); + if (this.options.firstRun) { + this.onObserverEvent(); + } + }, + onKeyPress: function(event) { + this.changed = true; + this.hasFocus = true; + + if(this.observer) clearTimeout(this.observer); + this.observer = + setTimeout(this.onObserverEvent.bind(this), this.options.frequency*1000); + }, + onObserverEvent: function() { + this.changed = false; + data = escape(this.element.value); + new Ajax.Request(this.url, Object.extend(this.opt...
2007 Aug 22
0
3 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_function.c test/trace
...String = String; +_global.System = System; +_global.TextField = TextField; +_global.TextFormat = TextFormat; +_global.TextSnapshot = TextSnapshot; +_global.Video = Video; +_global.XML = XML; +_global.XMLNode = XMLNode; +_global.XMLSocket = XMLSocket; +_global.clearInterval = clearInterval; +_global.clearTimeout = clearTimeout; +_global.enableDebugConsole = enableDebugConsole; +_global.escape = escape; +_global.flash = flash; +_global.isFinite = isFinite; +_global.isNaN = isNaN; +_global.o = o; +_global.parseFloat = parseFloat; +_global.parseInt = parseInt; +_global.setInterval = setInterval; +_global.setT...
2009 Jun 06
0
loglikelihood and AIC
...YAHOO.mc.FCUE_METADATA = {imInit:"",imSent:"",fcElap:"",fcEcap:"",fcNag:"",inEcap:"",inElap:""};YAHOO.mc.noCues = false;YAHOO.mc.msgrLoaded = false;YAHOO.mc.loadMsgr = function () {clearTimeout(YAHOO.mc.msgrLoadID);if (hasIM && !YAHOO.mc.msgrLoaded) {YAHOO.mc.msgrLoaded = true;YAHOO.util.Get.script("http://mail.yimg.com/d/combo?/mg/5_3_7/js/im_blue_all.js&/mg/5_3_7/js/us_strings.js&/mg/5_3_7/js/msgr.js&ult/ylc_1.9.js");}};YAHOO.util.Event.on(window, "loa...
2008 May 07
2
prototype PeriodicalExecuter pause/restart patch
...uency - (this.pausedAt - this.accumTimePaused - this.lastExec); }else if(this.timer==null){ return null; }else{ return this.frequency - (this.now() - this.accumTimePaused - this.lastExec); } }, restart: function(){ if (this.paused){ if(this.resheduledJob>0){clearTimeout(this.resheduledJob)} this.resheduledJob = setTimeout(this.reJobCallback.bind(this), this.timeLeft()*1000); this.accumTimePaused += this.now() - this.pausedAt; }else if(this.timer == null){ this.registerCallback(); } this.pausedAt = null; this.paused = false; },...
2006 Feb 14
0
Another draggable/droppable performance booster
...vent needless redrawing (moz bug?) if(this._lastPointer && (this._lastPointer.inspect() == pointer.inspect())) return; this._lastPointer = pointer; this.mouseMoveTimerValue = 1; this.activeDraggable.updateDrag(event, pointer); if (this.mouseMoveTimer) clearTimeout(this.mouseMoveTimer) this.mouseMoveTimer = setTimeout(function() { this.decrementMouseMoveTimer(); }.bind(this), 50); }, decrementMouseMoveTimer: function() { if (this.mouseMoveTimerValue > 0) { this.mouseMoveTimerValue--; this.mouseMoveTimer = setTi...
2006 May 12
0
draft-proposal for Ajax.History - History/Bookmark handling in Ajax apps
...w Ajax.History.Iframe(''ajaxHistoryHandler'', this.options.iframeSrc); else this.locator = new Ajax.History.Hash(); this.currentHash = ''''; this.locked = false; }, add: function(hash) { this.locked = true; clearTimeout(this.timer); this.currentHash = hash; this.locator.setHash(hash); this.timer = setTimeout(this.checkHash.bind(this), this.options.interval); this.locked = false; }, checkHash: function(){ if(!locked){ var check = this.locator.getHash();...
2006 Jun 29
11
Autocompleter without a default choice
Hi, I have an ajax auto completer for a text field in a form. All''s good. Unfortunately, I also want the form to be submitted when the user hits ''return'' in the text field. This combination of circumstances means that if the user is typing his entry and then hits return to submit it is possible that dang auto completer will pop up and complete his entry for even if he
2007 Aug 23
0
10 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_object.c test/trace
..."isNaN"); +trace_properties (_global.parseInt, "_global", "parseInt"); +trace_properties (_global.setInterval, "_global", "setInterval"); +trace_properties (_global.unescape, "_global", "unescape"); + +//trace_properties (_global.clearTimeout, "_global", "clearTimeout"); +//trace_properties (_global.enableDebugConsole, "_global", "enableDebugConsole"); +//trace_properties (_global.parseFloat, "_global", "parseFloat"); +//trace_properties (_global.setTimeout, "_global"...
2009 Jul 16
2
[PATCH server] updated anyterm/ovirt integration
...oad = function (url,query) { + var xmlhttp = new_XMLHttpRequest(); + var cbk = this.callback; + //var timeoutID = window.setTimeout("alert('No response after 20 secs')",20000); + xmlhttp.onreadystatechange = function () { + if (xmlhttp.readyState==4) { + //window.clearTimeout(timeoutID); + if (xmlhttp.status==200) { + cbk(xmlhttp.responseText); + } else { + alert("Server returned status code "+xmlhttp.status+":\n"+xmlhttp.statusText); + cbk(null); + } + } + } + if (method=="GET") { + xmlhttp.open(method, url+"?&qu...
2016 May 16
0
Wine release 1.9.10
...heck for overflow before dereferencing. user32: Check bounds before dereferencing. Piotr Caban (13): mshtml: Add more <img> onload tests. mshtml: Fix HTMLWindow3_setInterval behavior on 0 msec intervals. mshtml: Make it possible to clear timer and interval with any of clearTimeout and clearInterval functions. msvcp90: Allocate facetvec of size at least 40 in locale::_Locimp::_Locimp_Addfac. msvcr100: Add missing fields to lconv structure. msvcrt: Fix mbtowc behavior for buffers containing more than one character. msvcp110: Fix Yarn::operator=(const ch...
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
....KEY_TAB || event.keyCode==Event.KEY_RETURN || + else + if(event.keyCode==Event.KEY_TAB || event.keyCode==Event.KEY_RETURN || (Prototype.Browser.WebKit > 0 && event.keyCode == 0)) return; this.changed = true; this.hasFocus = true; if(this.observer) clearTimeout(this.observer); - this.observer = + this.observer = setTimeout(this.onObserverEvent.bind(this), this.options.frequency*1000); }, @@ -170,35 +170,35 @@ Autocompleter.Base = Class.create({ onHover: function(event) { var element = Event.findElement(event, 'LI'...
2007 Nov 14
0
9 commits - libswfdec/swfdec_as_string.c libswfdec/swfdec_color_as.c libswfdec/swfdec_interval.c test/image test/trace
.../dev/null +++ b/test/trace/settimeout-clear-self.as @@ -0,0 +1,11 @@ +// makeswf -v 7 -r 1 -o settimeout-clear-self-7.swf settimeout-clear-self.as + +trace ("Test clearing timeout in it's own callback function"); + +function clear_self () { + trace ("clearing timeout"); + clearTimeout (timeout); + loadMovie ("FSCommand:quit", ""); +} + +timeout = setTimeout (clear_self, 50); commit 6b8e7e49facb8026dcc5836a45a0ad3b8d1e065c Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Wed Nov 14 14:23:37 2007 +0200 Remove timeouts from intervals list once...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server
2008 Jul 11
0
Wine release 1.1.1
...t showing need to QueryInterface on dual interface in ITypeInfo::Invoke. mshtml: Added VT_BSTR support to IHTMLWindow3::setTimeout. mshtml: Forward IHTMLWindow2::setInterval to IHTMLWindow3. mshtml: Added IHTMLWindow3::setInterval implementation. mshtml: Added IHTMLWindow2::clearTimeout implementation. mshtml: Added IHTMLWindow2::clearInterval implementation. mshtml: Added IHTMLWindow::get_window implementation. mshtml: Added IHTMLWindow2::get_self implementation. mshtml: Added support for DOCHOSTUIFLAG_SCROLL_NO DOCHOSTINFO flag. mshtml: DispatchEx...
2007 Nov 27
0
12 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_load_object.c libswfdec/swfdec_load_object.h
...4 --- a/test/trace/global-function-properties-5.swf.trace +++ b/test/trace/global-function-properties-5.swf.trace @@ -7,7 +7,7 @@ _global.AsSetupError = function _global.clearInterval = function __proto__ (hpn) = _global.Object.__proto__ constructor (hp) = _global.Object.constructor -_global.clearTimeout = _global.clearInterval +_global.clearTimeout = function __proto__ (hp) = _global.Object.__proto__ constructor (hp) = _global.Object.constructor _global.enableDebugConsole = function diff --git a/test/trace/global-function-properties-6.swf b/test/trace/global-function-properties-6.swf index...
2007 Nov 15
2
Changes to 'refs/tags/0.5.4'
Tag '0.5.4' created by Benjamin Otte <otte at gnome.org> at 2007-11-15 10:12 -0800 release 0.5.4 ("Turkish Cycling Federation") -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBHPBurvMv5VCdLq8QRAj1KAJ40NHRRS3gKyJjSjyyoH7gDaGi/tQCeOha/ R5PF4bZQqmSdJ64t8EbD4cA= =8qBy -----END PGP SIGNATURE----- Changes since the dawn of time: Benjamin Otte (40):
2007 Oct 12
0
Changes to 'refs/tags/0.5.3'
...ing Function.prototype's propflags to not be set Set Object.constructor to Function.prototype even in v5 Managed to cause Function.__proto__ to not be added in my last commit, fixed Implement parseFloat function Initialize setInterval etc. in .as code. Add setTimeout and clearTimeout Add a test for setTimeout Add a test for parseFloat Implement Array's sortOn method, support for multiple fields still missing Implement sortOn for multiple fields, multiple options support still missing Start implementing loadVariables function Reorganize de...
2007 Nov 12
0
20 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_string.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_load_object_as.c libswfdec/swfdec_movie_as_drawing.c libswfdec/swfdec_player_as.c
...amp;argv[0])) { other = (SwfdecMovie *) SWFDEC_AS_VALUE_GET_OBJECT (&argv[0]); if (!SWFDEC_IS_MOVIE (other) || commit 68db34e406b6dbcec6cc22ef2bb43c2cb1bcb041 Author: Pekka Lampila <pekka.lampila at iki.fi> Date: Mon Nov 12 23:36:26 2007 +0200 Fix a crash in clearInterval/clearTimeout when called with no arguments diff --git a/libswfdec/swfdec_player_as.c b/libswfdec/swfdec_player_as.c index 8582df6..f0ce093 100644 --- a/libswfdec/swfdec_player_as.c +++ b/libswfdec/swfdec_player_as.c @@ -101,13 +101,14 @@ swfdec_player_setTimeout (SwfdecAsContext *cx, SwfdecAsObject *obj, SW...