search for: __constructor__

Displaying 20 results from an estimated 26 matches for "__constructor__".

Did you mean: __constructor
2007 Aug 17
0
4 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h test/trace
...ry files a/test/trace/propflags-5.swf and b/test/trace/propflags-5.swf differ diff --git a/test/trace/propflags-5.swf.trace b/test/trace/propflags-5.swf.trace index 7026d1f..eeaa55a 100644 --- a/test/trace/propflags-5.swf.trace +++ b/test/trace/propflags-5.swf.trace @@ -1,3 +1,3 @@ -Hidden: 7,5,3,1,__constructor__,constructor,__proto__ -Constant: 7,6,5,4 +Hidden: 1,3,5,7,__constructor__,__proto__,constructor +Constant: 4,5,6,7 Permanent: diff --git a/test/trace/propflags-6.swf b/test/trace/propflags-6.swf index 93c2e52..2af13d8 100644 Binary files a/test/trace/propflags-6.swf and b/test/trace/propflags-6.s...
2007 Aug 20
0
3 commits - libswfdec/swfdec_as_context.c test/trace
...y files a/test/trace/propflags-5.swf and b/test/trace/propflags-5.swf differ diff --git a/test/trace/propflags-5.swf.trace b/test/trace/propflags-5.swf.trace index eeaa55a..e7da22a 100644 --- a/test/trace/propflags-5.swf.trace +++ b/test/trace/propflags-5.swf.trace @@ -1,3 +1,11 @@ -Hidden: 1,3,5,7,__constructor__,__proto__,constructor -Constant: 4,5,6,7 -Permanent: + +h + +h + c +h c + c +h c +h +h +h diff --git a/test/trace/propflags-6.swf b/test/trace/propflags-6.swf index 2af13d8..c702cf4 100644 Binary files a/test/trace/propflags-6.swf and b/test/trace/propflags-6.swf differ diff --gi...
2007 Sep 03
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_internal.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_number.c
...0 Merge branch 'master' of ssh://company at git.freedesktop.org/git/swfdec/swfdec diff-tree 7c65f202f89174b0a898d48b3b2470fa3174adf4 (from 10ffab0e4c0bdd7c9d182b86da5492339ebc8938) Author: Benjamin Otte <otte at gnome.org> Date: Mon Sep 3 15:48:22 2007 +0200 don't set __constructor__ in Flash <= 5 diff --git a/libswfdec/swfdec_as_object.c b/libswfdec/swfdec_as_object.c index 579d315..4472615 100644 --- a/libswfdec/swfdec_as_object.c +++ b/libswfdec/swfdec_as_object.c @@ -1011,10 +1011,10 @@ swfdec_as_object_create (SwfdecAsFunctio swfdec_as_object_set_variable_and_fl...
2007 Aug 23
0
10 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_object.c test/trace
...__proto__ (hp) = _global.Object.__proto__ + constructor (hp) = _global.Object.constructor + clear (hp) = function + __proto__ (hp) = _global.Object.__proto__ + constructor (hp) = _global.Object.constructor + constructor (hp) = _global.Video +local.a = _global.Video.prototype + __constructor__ (h) = _global.Video + __proto__ (hp) = _global.Video.prototype + constructor (h) = _global.Video diff --git a/test/trace/video-properties-7.swf b/test/trace/video-properties-7.swf new file mode 100644 index 0000000..1bc6554 Binary files /dev/null and b/test/trace/video-properties-7.swf differ dif...
2007 Mar 07
1
2 commits - libswfdec/swfdec_script.c test/trace
libswfdec/swfdec_script.c | 14 ++++++++++++-- test/trace/Makefile.am | 2 ++ test/trace/gotoframe.swf |binary test/trace/gotoframe.swf.trace | 13 +++++++++++++ 4 files changed, 27 insertions(+), 2 deletions(-) New commits: diff-tree 12348410a3509928a6e8e4c8ca00292a58ff542c (from 46e62d4410c20c19774a45758d8ebf11cd0bdf96) Author: Benjamin Otte <otte@gnome.org>
2007 Oct 25
0
18 commits - libswfdec/swfdec_player_internal.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_format.c libswfdec/swfdec_text_format.h libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c libswfdec/swfdec_xml_node.h test/trace
....swf and /dev/null differ diff --git a/test/trace/xml-constructor-properties-5.swf.trace b/test/trace/xml-constructor-properties-5.swf.trace deleted file mode 100644 index 8a5c059..0000000 --- a/test/trace/xml-constructor-properties-5.swf.trace +++ /dev/null @@ -1,60 +0,0 @@ -Before anything: -XML: __constructor__: false -XMLReal: __constructor__: true -XML: contentType: false -XMLReal: contentType: false -XML: docTypeDecl: false -XMLReal: docTypeDecl: false -XML: ignoreWhite: false -XMLReal: ignoreWhite: false -XML: loaded: false -XMLReal: loaded: false -XML: status: false -XMLReal: status: false -XML: xmlD...
2007 May 24
0
Branch 'as' - 11 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_native_function.c libswfdec/swfdec_as_number.c libswfdec/swfdec_as_object.c
...*object, const char *variable) { SwfdecAsObjectClass *klass; guint i, flags; diff-tree 12a24b52a62b851c41bc2393312ff5a5f18dc2df (from 88aa562b59d1b3193b06d3bdcf4b8a167a72152d) Author: Benjamin Otte <otte at gnome.org> Date: Thu May 24 16:37:09 2007 +0200 fix ActionExtends to set __constructor__, not constructor diff --git a/libswfdec/swfdec_as_interpret.c b/libswfdec/swfdec_as_interpret.c index f0d27ce..70f5f78 100644 --- a/libswfdec/swfdec_as_interpret.c +++ b/libswfdec/swfdec_as_interpret.c @@ -1675,7 +1675,7 @@ swfdec_action_extends (SwfdecAsContext * swfdec_as_object_get_variable...
2007 Aug 20
0
Branch 'vivi' - 60 commits - libswfdec-gtk/swfdec_gtk_loader.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame_internal.h libswfdec/swfdec_as_interpret.c
...y files a/test/trace/propflags-5.swf and b/test/trace/propflags-5.swf differ diff --git a/test/trace/propflags-5.swf.trace b/test/trace/propflags-5.swf.trace index eeaa55a..e7da22a 100644 --- a/test/trace/propflags-5.swf.trace +++ b/test/trace/propflags-5.swf.trace @@ -1,3 +1,11 @@ -Hidden: 1,3,5,7,__constructor__,__proto__,constructor -Constant: 4,5,6,7 -Permanent: + +h + +h + c +h c + c +h c +h +h +h diff --git a/test/trace/propflags-6.swf b/test/trace/propflags-6.swf index 2af13d8..c702cf4 100644 Binary files a/test/trace/propflags-6.swf and b/test/trace/propflags-6.swf differ diff --gi...
2007 Jul 07
0
Branch 'as' - 7 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_super.c libswfdec/swfdec_as_super.h libswfdec/swfdec_as_with.c test/trace
...+ trace ("One"); + else if (fun === Two) + trace ("Two"); + else if (fun === Three) + trace ("Three"); + else if (fun === Four) + trace ("Four"); + else + trace (fun); +}; +check_name (One.prototype.constructor); +check_name (One.prototype.__constructor__); +check_name (Two.prototype.constructor); +check_name (Two.prototype.__constructor__); +check_name (Three.prototype.constructor); +check_name (Three.prototype.__constructor__); +check_name (Four.prototype.constructor); +check_name (Four.prototype.__constructor__); + +loadMovie ("FSCommand:qui...
2007 Aug 26
0
Changes to 'refs/tags/0.5.2'
...before dispose remove the third argument from swfdec_as_object_set_constructor() SwfdecAsObject->set() now takes a default_flags parameter use set_variable_and_flags() instead of doing a seperate set_flags() calls native objects have "constructor" set, not "__constructor__" fix ActionExtends code functions in Flash > 5 print "[type Function]", too rework init code to set constructor and __constructor__ properties correctly add test for __constructor__ and constructor properties check {} and [] don't call any constru...
2008 Jan 19
0
11 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_sprite_movie_as.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml.h libswfdec/swfdec_xml_node.c libswfdec/swfdec_xml_node.h test/image test/swfdec_test.c test/swfdec_test_image.c test/trace
...db1 --- /dev/null +++ b/test/trace/xml-id-map-5.swf.trace @@ -0,0 +1,25 @@ +local.x = object + 1 = object + __proto__ (hp) = _global.XMLNode.prototype + constructor (hp) = _global.XMLNode + 2 = object + __proto__ (hp) = _global.XMLNode.prototype + constructor (hp) = _global.XMLNode + __constructor__ (hn) = _global.XML + __proto__ (hp) = _global.XML.prototype + constructor (h) = _global.XML + +done +<a><b id="test" /></a> + +done + <a> <b id="change" /> <c /> <d id="change" /> </a> + +2 +undefined +[object Object] +...
2007 Aug 21
0
2 commits - test/trace
...diff --git a/test/trace/propflags-6.swf.trace b/test/trace/propflags-6.swf.trace index a3858d3..78090aa 100644 --- a/test/trace/propflags-6.swf.trace +++ b/test/trace/propflags-6.swf.trace @@ -1,11 +1,9 @@ - 0 = 0 -h 1 = 1 - p 2 = 2 -hp 3 = 3 - c 4 = 4 -h c 5 = 5 - pc 6 = 6 -hpc 7 = 7 -h __constructor__ = [type Function] -hp __proto__ = [object Object] -h constructor = [type Function] __proto__.constructor = [type Function] +o object[0] : toString => "" + 0 = number : 0 + 1 (h) = number : 1 + 2 (p) = number : 2 + 3 (hp) = number : 3 + 4 (c) = number : 4 + 5 (hc) = number : 5...
2007 Jul 13
0
12 commits - AUTHORS doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_array.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_function.c libswfdec/swfdec_as_function.h
...eate (SwfdecAsFunctio context->frame->construct = TRUE; } +/** + * swfdec_as_object_set_constructor: + * @object: a #SwfdecAsObject + * @construct: the constructor of @object + * @scripted: %TRUE if this object was created by a script. Flash sets the + * property named "__constructor__" on script-created objects, but + * "constructor" on native ones. + * + * Sets the constructor variables for @object. Most objects get these + * variables set automatically, but for objects you created yourself, you want + * to call this function. This is essentially the...
2007 Oct 12
0
Changes to 'refs/tags/0.5.3'
...l setting seems like there's no addProperty lookup for __proto__ in versions < 7, deleting __proto__ deletes the prototype link add testcase that does some addProperty madness with __proto__ set propflags to non-permanent before attempting to delete the property __constructor__ is a Flash 6 invention check for __constructor__ vs constructor in new Object()s include recent fix for delete in trace_properties set an undefined __proto__ if function_prototype doesn't exist add test for Number proeprties don't set __constructor__ in Flash &...
2010 Nov 15
1
SEXP and slots
Hello, Since people have whisperred about Rcpp, I'd like to play too. > On 11/15/2010 07:45 AM, Patrick Leyshock wrote: >> Very helpful, thank you. >> >> A couple other questions, please: >> >> 1. I've got a function written in C, named "my_c_function". In my R >> code I call this function, passing to it an INTSXP and a STRSXP, >>
2007 Aug 19
0
2 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_super.c libswfdec/swfdec_as_with.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_sprite_movie.c
...ct = TRUE; } @@ -930,9 +930,6 @@ swfdec_as_object_create (SwfdecAsFunctio * swfdec_as_object_set_constructor: * @object: a #SwfdecAsObject * @construct: the constructor of @object - * @scripted: %TRUE if this object was created by a script. Flash sets the - * property named "__constructor__" on script-created objects, but - * "constructor" on native ones. * * Sets the constructor variables for @object. Most objects get these * variables set automatically, but for objects you created yourself, you want @@ -942,8 +939,7 @@ swfdec_as_object_create (Swfdec...
2007 Sep 12
0
9 commits - libswfdec/swfdec_as_function.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_object.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_player_as.c test/trace
...lobal.Object.constructor + 3d = function + constructor (hp) = _global.Object.constructor + 4e = function + constructor (hp) = _global.Object.constructor + 5f = function + constructor (hp) = _global.Object.constructor + 9j = function + constructor (hp) = _global.Object.constructor + __constructor__ (hn) = _global.Object + __proto__ (hp) = _global.Object.prototype + constructor (h) = _global.Object + g (n) = function + constructor (hp) = _global.Object.constructor + h (n) = function + constructor (hp) = _global.Object.constructor + i (n) = function + constructor (hp) = _global.Ob...
2007 Jun 21
0
Branch 'as' - 5 commits - libswfdec/Makefile.am libswfdec/swfdec_as_strings.c libswfdec/swfdec_js_net_stream.c libswfdec/swfdec_movie.c libswfdec/swfdec_net_connection.c libswfdec/swfdec_net_stream_as.c libswfdec/swfdec_net_stream.c
...NNING; swfdec_as_object_set_constructor (player->roots->data, player->MovieClip, FALSE); diff-tree 55515a23b84c9c71944c47d6e63b1b0066e53ead (from fa2a28a1388c0f22d19d59db99d292a4e911cae5) Author: Benjamin Otte <otte at gnome.org> Date: Thu Jun 21 18:44:58 2007 +0200 run __constructor__, not constructor I bet this is not the correct fix either, someone should write a test that resets the constructor on init. diff --git a/libswfdec/swfdec_movie.c b/libswfdec/swfdec_movie.c index 1b09906..51d0bbd 100644 --- a/libswfdec/swfdec_movie.c +++ b/libswfdec/swfdec_movie.c @@ -...
2007 Oct 29
0
20 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h
...r" + toString = function + __proto__ (hpn) = _global.Object.__proto__ + constructor (hp) = _global.Object.constructor + prototype (hp) = object + __proto__ (hp) = _global.Object.prototype + constructor (hp) = _global.Error.prototype.toString +local.a = object + __constructor__ (hn) = _global.Error + __proto__ (hp) = _global.Error.prototype + constructor (h) = _global.Error +local.b = object + __constructor__ (hn) = _global.Error + __proto__ (hp) = _global.Error.prototype + constructor (h) = _global.Error + message = string : "test" diff --git a/test/trace...
2007 May 23
0
Branch 'as' - 7 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c 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 libswfdec/swfdec_as_strings.c
...structor, &val); + swfdec_as_object_get_variable (frame->thisp, SWFDEC_AS_STR___proto__, &val); if (SWFDEC_AS_VALUE_IS_OBJECT (&val)) { - SwfdecAsObject *constructor = SWFDEC_AS_VALUE_GET_OBJECT (&val); - swfdec_as_object_get_variable (constructor, SWFDEC_AS_STR___constructor__, &val); + SwfdecAsObject *proto = SWFDEC_AS_VALUE_GET_OBJECT (&val); + swfdec_as_object_get_variable (proto, SWFDEC_AS_STR___constructor__, &val); if (SWFDEC_AS_VALUE_IS_OBJECT (&val)) { super->constructor = (SwfdecAsFunction *) SWFDEC_AS_VALUE_GET_OBJECT (&amp...