Displaying 20 results from an estimated 20 matches for "clearinterv".
Did you mean:
clearinterval
2006 Jan 19
0
PeriodicalExecuter and clearInterval
I apologize if this is not an appropriate question for this list (I couldn''t
find a mailing list for prototype). Anybody know of a way to use the stop
the PeriodicalExecuter in prototype from executing? In traditional js, I
would just call "clearInterval(id)".
Many Thanks,
Josh
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2007 Aug 22
0
3 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_function.c test/trace
...Sound;
+_global.Stage = Stage;
+_global.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...
2007 Feb 19
0
22 commits - libswfdec/js libswfdec/swfdec_debugger.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_script.c
...cx->fp = oldfp;
if (oldfp) {
g_assert (cx->dormantFrameChain == oldfp);
diff-tree a986921e1731e82386bbeb8bd5e2e765acc58c6b (from 8a66540298c89725624385a022580e593d6da3a4)
Author: Benjamin Otte <otte@gnome.org>
Date: Mon Feb 19 18:47:46 2007 +0100
implement setInterval and clearInterval
diff --git a/libswfdec/swfdec_js.c b/libswfdec/swfdec_js.c
index 481ec48..9d6782a 100644
--- a/libswfdec/swfdec_js.c
+++ b/libswfdec/swfdec_js.c
@@ -113,6 +113,8 @@ swfdec_js_init_player (SwfdecPlayer *pla
swfdec_js_add_sound (player);
}
+typedef struct _SwfdecJSInterval SwfdecJSInterval;...
2007 Aug 23
0
10 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_object.c test/trace
...race/global-function-properties-6.swf differ
diff --git a/test/trace/global-function-properties-6.swf.trace b/test/trace/global-function-properties-6.swf.trace
new file mode 100644
index 0000000..09389e0
--- /dev/null
+++ b/test/trace/global-function-properties-6.swf.trace
@@ -0,0 +1,21 @@
+_global.clearInterval = function
+ __proto__ (hp) = _global.Object.__proto__
+ constructor (hp) = _global.Object.constructor
+_global.escape = function
+ __proto__ (hp) = _global.Object.__proto__
+ constructor (hp) = _global.Object.constructor
+_global.isFinite = function
+ __proto__ (hp) = _global.Object.__proto...
2008 May 07
2
prototype PeriodicalExecuter pause/restart patch
...k();
}
this.pausedAt = null;
this.paused = false;
},
reJobCallback : function(){
this.onTimerEvent();
this.registerCallback();
this.accumTimePaused = 0;
},
now: function(){ return new Date().getTime() / 1000;},
stop: function() {
if (!this.timer) return;
clearInterval(this.timer);
this.timer = null;
},
onTimerEvent: function() {
if (!this.currentlyExecuting) {
try {
this.currentlyExecuting = true;
this.execute();
} finally {
this.currentlyExecuting = false;
this.lastExec = this.now();
}
}
}
}...
2007 Jun 01
0
Branch 'as' - 2 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c libswfdec/swfdec_interval.c libswfdec/swfdec_interval.h libswfdec/swfdec_player_as.c libswfdec/swfdec_player.c
...files changed, 320 insertions(+), 132 deletions(-)
New commits:
diff-tree 89c4d90d1c31e4bba4b15f8419f7ebd13cd6cbb8 (from 4576fa2edfba68cb8edc199287ecf773a09cc7df)
Author: Benjamin Otte <otte at gnome.org>
Date: Fri Jun 1 21:32:43 2007 +0200
reenable intervals
setInterval and clearInterval should work now
diff --git a/libswfdec/Makefile.am b/libswfdec/Makefile.am
index d9b7b68..d701d51 100644
--- a/libswfdec/Makefile.am
+++ b/libswfdec/Makefile.am
@@ -80,6 +80,7 @@ libswfdec_ at SWFDEC_MAJORMINOR@_la_SOURCES
swfdec_graphic_movie.c \
swfdec_html_parser.c \
swfdec_image.c \
+...
2008 Jun 13
3
dynamically change frequency in periodicalUpdater
Hello All,
I''ve seen this topic but it seems no one has post a response. I''m
using periodicalUpdater to display live content queried from a
database. Sometimes the result can be thousands of rows and before it
finishes processing (displaying as a visual indicator) all the data,
the next request is sent to the server. I''d like to have a
periodicalUpdater whose
2007 Feb 12
18
document "expando" properties broken in Konqueror
I noticed that some of my event handlers and scripts evaluated in ajax
responses didn''t work in Konqueror (3.5.5).
document.getElementsByClassName is not defined in these contexts.
I can work around this, by saving document.getElementsByClassName in a
(namespaced) global variable once and reassigning it before each use.
Still, this misfeature is annoying and not restricted to this
2016 May 16
0
Wine release 1.9.10
...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 char*) implementat...
2007 Apr 27
0
Changes to 'refs/tags/0.4.3'
...register variables are 1-indexed
shuffle disposing around again so timeouts get properly removed
arguments.toString() returns the empty string
Freeing of timeouts doesn't work - revert to old system
add check to ensure preloading works
add tests for setInterval/clearInterval
implement setInterval and clearInterval
It looks like Flash doesn't create a local scope for the entry scripts, so don't do it either
add test for local scope using DefineLocal
Add missing \n to print statements
Add a warning in CallMethod if a function doesn...
2007 Apr 27
0
Changes to 'refs/tags/0.4.4'
...register variables are 1-indexed
shuffle disposing around again so timeouts get properly removed
arguments.toString() returns the empty string
Freeing of timeouts doesn't work - revert to old system
add check to ensure preloading works
add tests for setInterval/clearInterval
implement setInterval and clearInterval
It looks like Flash doesn't create a local scope for the entry scripts, so don't do it either
add test for local scope using DefineLocal
Add missing \n to print statements
Add a warning in CallMethod if a function doesn...
2007 Sep 04
0
4 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_video_movie_as.c test/trace
...race/global-function-properties-5.swf differ
diff --git a/test/trace/global-function-properties-5.swf.trace b/test/trace/global-function-properties-5.swf.trace
new file mode 100644
index 0000000..3252305
--- /dev/null
+++ b/test/trace/global-function-properties-5.swf.trace
@@ -0,0 +1,14 @@
+_global.clearInterval = function
+ constructor (hp) = _global.Object.constructor
+_global.escape = function
+ constructor (hp) = _global.Object.constructor
+_global.isFinite = function
+ constructor (hp) = _global.Object.constructor
+_global.isNaN = function
+ constructor (hp) = _global.Object.constructor
+_global...
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
...est/trace/global-function-properties-5.swf.trace b/test/trace/global-function-properties-5.swf.trace
index a8ee774..bc43d9f 100644
--- 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.enableDeb...
2008 Jul 11
0
Wine release 1.1.1
...o::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's QueryInterface implementation clean up.
mshtml: Sil...
2007 Jun 06
0
Branch 'as' - 13 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h
..._new ("ConstantPool");
diff --git a/libswfdec/swfdec_as_strings.c b/libswfdec/swfdec_as_strings.c
index 7f085cc..8b24f37 100644
--- a/libswfdec/swfdec_as_strings.c
+++ b/libswfdec/swfdec_as_strings.c
@@ -204,6 +204,8 @@ const char swfdec_as_strings[] =
SWFDEC_AS_CONSTANT_STRING ("clearInterval")
SWFDEC_AS_CONSTANT_STRING ("escape")
SWFDEC_AS_CONSTANT_STRING ("unescape")
+ SWFDEC_AS_CONSTANT_STRING ("charAt")
+ SWFDEC_AS_CONSTANT_STRING ("charCodeAt")
/* add more here */
;
diff --git a/libswfdec/swfdec_bits.c b/libswfdec/swfdec_...
2007 Jul 26
0
17 commits - doc/swfdec-sections.txt libswfdec/compiler.c libswfdec/.gitignore libswfdec/Makefile.am libswfdec/swfdec_asbroadcaster.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c
...as_native_function.h"
#include "swfdec_as_object.h"
#include "swfdec_as_strings.h"
+#include "swfdec_asnative.h"
#include "swfdec_debug.h"
#include "swfdec_internal.h"
#include "swfdec_interval.h"
@@ -88,6 +90,27 @@ swfdec_player_clearInterval (SwfdecAsCon
swfdec_interval_remove (player, id);
}
+static void
+swfdec_player_ASnative (SwfdecAsContext *cx, SwfdecAsObject *obj,
+ guint argc, SwfdecAsValue *argv, SwfdecAsValue *rval)
+{
+ guint i, x, y;
+
+ x = swfdec_as_value_to_integer (cx, &argv[0]);
+ y = swfdec_as_value_...
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):
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...{
/* Support for the DOMContentLoaded event is based on work by Dan Webb,
Matthias Miller, Dean Edwards and John Resig. */
- var timer, fired = false;
+ var timer;
function fireContentLoadedEvent() {
- if (fired) return;
+ if (document.loaded) return;
if (timer) window.clearInterval(timer);
document.fire("dom:loaded");
- fired = true;
+ document.loaded = true;
}
if (document.addEventListener) {
--
1.6.2.5
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
...E_IS_OBJECT (&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, SwfdecAsObj...
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