search for: addproperty

Displaying 20 results from an estimated 36 matches for "addproperty".

2007 Aug 15
0
4 commits - 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_net_stream.c libswfdec/swfdec_sprite_movie.c test/trace
...| 7 +++++-- libswfdec/swfdec_movie.c | 6 +++--- libswfdec/swfdec_net_stream.c | 6 +++--- libswfdec/swfdec_sprite_movie.c | 6 +++--- test/trace/Makefile.am | 18 ++++++++++++++++++ test/trace/addProperty-delete-5.swf |binary test/trace/addProperty-delete-5.swf.trace | 3 +++ test/trace/addProperty-delete-6.swf |binary test/trace/addProperty-delete-6.swf.trace | 3 +++ test/trace/addProperty-delete-7.swf |binary test/trace/addPropert...
2007 Aug 15
3
2 commits - libswfdec/swfdec_as_object.c test/trace
libswfdec/swfdec_as_object.c | 62 +++++++++++++++------- test/trace/Makefile.am | 9 +++ test/trace/addProperty-set-prototypes-5.swf |binary test/trace/addProperty-set-prototypes-5.swf.trace | 4 + test/trace/addProperty-set-prototypes-6.swf |binary test/trace/addProperty-set-prototypes-6.swf.trace | 5 + test/trace/addProperty-set-prototypes-7.swf |binary test/trace/addProperty-se...
2007 Aug 16
0
Branch 'vivi' - 23 commits - 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_net_stream.c libswfdec/swfdec_sprite_movie.c test/trace vivified/core
...s_with.c | 7 - libswfdec/swfdec_movie.c | 10 - libswfdec/swfdec_net_stream.c | 6 - libswfdec/swfdec_sprite_movie.c | 6 - test/trace/Makefile.am | 45 ++++++++ test/trace/addProperty-delete-5.swf |binary test/trace/addProperty-delete-5.swf.trace | 3 test/trace/addProperty-delete-6.swf |binary test/trace/addProperty-delete-6.swf.trace | 3 test/trace/addProperty-delete-7.swf |binary test/trace/addProperty-dele...
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
...|binary test/trace/number-properties-7.swf.trace | 21 test/trace/number-properties-8.swf |binary test/trace/number-properties-8.swf.trace | 21 test/trace/number-properties.as | 12 test/trace/prototype-addProperty-5.swf |binary test/trace/prototype-addProperty-5.swf.trace | 4 test/trace/prototype-addProperty-6.swf |binary test/trace/prototype-addProperty-6.swf.trace | 5 test/trace/prototype-addProperty-7.swf |binary test/trace/p...
2007 Jul 21
0
12 commits - configure.ac doc/Makefile.am doc/swfdec-sections.txt libswfdec/jpeg libswfdec/swfdec_as_array.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h
..._as_strings.c | 1 libswfdec/swfdec_player.c | 197 +++++++++++++++++++++++++++++++++---- libswfdec/swfdec_player.h | 7 + libswfdec/swfdec_player_internal.h | 13 ++ libswfdec/swfdec_tag.c | 2 test/trace/Makefile.am | 9 + test/trace/addProperty-5.swf |binary test/trace/addProperty-5.swf.trace | 16 +++ test/trace/addProperty-6.swf |binary test/trace/addProperty-6.swf.trace | 25 ++++ test/trace/addProperty-7.swf |binary test/trace/addProperty-7.swf.trace | 25 ++++ test/trace/addProperty-8.swf |binary tes...
2007 Aug 26
0
Changes to 'refs/tags/0.5.2'
...on_name() function add support for having Frame and Wrap objects get rid of debugging prints movies cannot be prototypes add check that sets movie as prototype query own properties before doing special ones add test for last commit fix property setting when addProperty had been called on parents add check for last commit add test case for next commit fix getting of properties added with addProperty porperties added with addProperty aren't permanent. add test for deleting addProperty()'d properties Merge branch 'mast...
2008 Jan 08
0
9 commits - configure.ac test/custom test/Makefile.am test/swfdec_test_initialize.as test/swfdec_test_initialize.h test/swfdec_test_test.c test/trace
...|binary test/custom/definebutton-8.swf.trace | 18 test/custom/definebutton.stas | 64 +++ test/custom/definebutton.sts |binary test/custom/definebutton.xml | 138 ++++++ test/custom/mouse-addProperty-relevant-5.swf |binary test/custom/mouse-addProperty-relevant-5.swf.trace | 1 test/custom/mouse-addProperty-relevant-6.swf |binary test/custom/mouse-addProperty-relevant-6.swf.trace | 3 test/custom/mouse-addProperty-relevant-7.swf |binary...
2008 Jan 15
0
4 commits - libswfdec/swfdec_as_array.c libswfdec/swfdec_as_types.c test/trace
...- definebutton.xml \ + default.sts \ definefunction2-arguments.swf \ definefunction2-arguments.swf.trace \ definefunction2-arguments.xml \ @@ -1468,45 +1430,6 @@ EXTRA_DIST = \ microphone-properties-7.swf.trace \ microphone-properties-8.swf \ microphone-properties-8.swf.trace \ - mouse-addProperty-relevant.as \ - mouse-addProperty-relevant-5.swf \ - mouse-addProperty-relevant-5.swf.act \ - mouse-addProperty-relevant-5.swf.trace \ - mouse-addProperty-relevant-6.swf \ - mouse-addProperty-relevant-6.swf.act \ - mouse-addProperty-relevant-6.swf.trace \ - mouse-addProperty-relevant-7.swf \ - mous...
2007 Aug 15
0
4 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_movie.c test/trace
...e70f266 Binary files /dev/null and b/test/trace/property-native-5.swf differ diff --git a/test/trace/property-native-5.swf.trace b/test/trace/property-native-5.swf.trace new file mode 100644 index 0000000..c64601c --- /dev/null +++ b/test/trace/property-native-5.swf.trace @@ -0,0 +1,4 @@ +Check how addProperty overwrites native properties +0 +0 +10 diff --git a/test/trace/property-native-6.swf b/test/trace/property-native-6.swf new file mode 100644 index 0000000..a875d5e Binary files /dev/null and b/test/trace/property-native-6.swf differ diff --git a/test/trace/property-native-6.swf.trace b/test/trace/p...
2007 Aug 16
0
Branch 'vivi' - 18 commits - configure.ac doc/swfdec-sections.txt libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_types.h libswfdec/swfdec_player.c vivified/core vivified/ui
...--git a/vivified/core/vivi_initialize.as b/vivified/core/vivi_initialize.as index 7686c8b..e654e74 100644 --- a/vivified/core/vivi_initialize.as +++ b/vivified/core/vivi_initialize.as @@ -38,6 +38,11 @@ Breakpoint = function () extends Native. Breakpoint.list = new Array (); Breakpoint.prototype.addProperty ("active", Native.breakpoint_active_get, Native.breakpoint_active_set); +/*** information about the player ***/ + +Player = {}; +Player.addProperty ("frame", Native.player_frame_get, null); + /*** commands available for debugging ***/ Commands = new Object (); diff --git a...
2007 Nov 28
0
59 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_button.c libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_button_movie.h libswfdec/swfdec_event.c
...| 18 test/trace/definebutton-8.swf |binary test/trace/definebutton-8.swf.act | 17 test/trace/definebutton-8.swf.trace | 18 test/trace/definebutton.xml | 138 +++++ test/trace/mouse-addProperty-relevant-5.swf |binary test/trace/mouse-addProperty-relevant-5.swf.act | 9 test/trace/mouse-addProperty-relevant-5.swf.trace | 1 test/trace/mouse-addProperty-relevant-6.swf |binary test/trace/mouse-addProperty-relevant-6.swf.act | 9 tes...
2007 Aug 03
0
Changes to 'refs/tags/0.5.1'
...or WaitForFrame Merge branch 'master' of ssh://company at git.freedesktop.org/git/swfdec add n alignment property VideFrame tags can happen inside DefineSprite use -std=gnu99 s/index/idx/ add support for function getters and setters implement Object.addProperty() add a simple test for Object.addProeprty() add SwfdecScaleMode and docs add swfdec_internal.h add missing function redo scaling code update scale info when movie gets initialized add swfdec_player_[gs]et_scale_mode add swfdec_player_[gs]et_alignment...
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
...dec_video_movie.c | 2 libswfdec/swfdec_xml.c | 177 -------------------- libswfdec/swfdec_xml_as.c | 17 + libswfdec/swfdec_xml_as.h | 14 - test/trace/Makefile.am | 48 +++++ test/trace/addProperty-flags-5.swf |binary test/trace/addProperty-flags-5.swf.trace | 6 test/trace/addProperty-flags-6.swf |binary test/trace/addProperty-flags-6.swf.trace | 8 test/trace/addProperty-flags-7.swf |binary test/trace/addProperty-flags-7.swf.trace |...
2007 Aug 21
0
Branch 'vivi' - 4 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_string.c vivified/core
...:30:39 2007 +0200 implement Frame.this diff --git a/vivified/core/vivi_initialize.as b/vivified/core/vivi_initialize.as index 964f5b3..94507bc 100644 --- a/vivified/core/vivi_initialize.as +++ b/vivified/core/vivi_initialize.as @@ -28,6 +28,7 @@ Frame.prototype = new Wrap (); Frame.prototype.addProperty ("code", Native.frame_code_get, null); Frame.prototype.addProperty ("name", Native.frame_name_get, null); Frame.prototype.addProperty ("next", Native.frame_next_get, null); +Frame.prototype.addProperty ("this", Native.frame_this_get, null); /*** breakpoi...
2007 Aug 17
0
Branch 'vivi' - 13 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_script_function.c test/trace vivified/core vivified/ui
...:11:02 2007 +0200 allow getting the global variable of the player diff --git a/vivified/core/vivi_initialize.as b/vivified/core/vivi_initialize.as index 16384fd..65f51d1 100644 --- a/vivified/core/vivi_initialize.as +++ b/vivified/core/vivi_initialize.as @@ -41,8 +41,9 @@ Breakpoint.prototype.addProperty ("activ /*** information about the player ***/ Player = {}; -Player.addProperty ("frame", Native.player_frame_get, null); Player.addProperty ("filename", Native.player_filename_get, Native.player_filename_set); +Player.addProperty ("frame", Native.player_fram...
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
...alled +trace (""); + +function test_get () { + trace ("test_get"); +} + +function test_set (n) { + trace ("test_set: " + arguments); + trace ("caller: " + arguments.caller + ", callee: " + arguments.callee); + trace (x); +} + +x = new XML (); +x.addProperty ("test", test_get, test_set); +x.idMap = {}; +x.idMap.addProperty = Object.prototype.addProperty; +x.idMap.addProperty ("test", test_get, test_set); +delete x.idMap.addProperty; +x.parseXML ("<a><b id='test'/></a>"); +trace ("done");...
2007 Aug 21
0
Branch 'vivi' - 10 commits - libswfdec/swfdec_button_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c vivified/core vivified/dock vivified/ui
...ling sound is possible It's incredibly useful in valgrind diff --git a/vivified/core/vivi_initialize.as b/vivified/core/vivi_initialize.as index 68c4c09..8245fb1 100644 --- a/vivified/core/vivi_initialize.as +++ b/vivified/core/vivi_initialize.as @@ -49,6 +49,7 @@ Player = {}; Player.addProperty ("filename", Native.player_filename_get, Native.player_filename_set); Player.addProperty ("frame", Native.player_frame_get, null); Player.addProperty ("global", Native.player_global_get, null); +Player.addProperty ("sound", Native.player_sound_get, Native.p...
2007 Oct 12
0
Changes to 'refs/tags/0.5.3'
...getting seems to handle one step more than setting add a test for recursion limits of variables add a test for limits when getting variables assign prototype member at the end of setter, so the new prototype doesn't affect the actual 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 fo...
2007 Dec 18
2
Changes to 'refs/tags/0.5.5'
...add mouse movement test emit a mouse-in event after a mouse release outside the grab widget add a test similar to the last - only this time the upper movie receives events remove swfdec_as_object_has_function() Check onUnload handling for correctness add test checking addProperty properties are also relevant for mouse events make get_movie_at return a non-event movie if it's below the mouse update tests to use act files that trigger more events first step at rewriting the button code - nothing works, but it compiles prepare event handling for but...
2007 Jul 26
0
5 commits - doc/Makefile.am doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_player_as.c
...ions(+), 85 deletions(-) New commits: diff-tree 13033450e2eb8c051d53c6a17a7aa11b88daad9e (from 4b9595646109aa01417c7331d582bcff5e2ca6cf) Author: Benjamin Otte <otte at gnome.org> Date: Thu Jul 26 21:35:57 2007 +0200 initialize Stage using ASSetNativeAccessor This allows using addProperty in Flash 5 diff --git a/libswfdec/swfdec_initialize.as b/libswfdec/swfdec_initialize.as index c922016..6012fbb 100644 --- a/libswfdec/swfdec_initialize.as +++ b/libswfdec/swfdec_initialize.as @@ -17,6 +17,10 @@ * Boston, MA 02110-1301 USA */ +/*** GENERAL ***/ + +ASSetNativeAccessor = ASna...