Граф коммитов

985 Коммитов

Автор SHA1 Сообщение Дата
Michael Bebenita 1494ac2a34 Fixed color filter. 2013-01-28 13:19:26 -08:00
Michael Bebenita 952c6597d9 Some fliters in JS and WebGL - WIP 2013-01-24 18:04:21 -08:00
Michael Bebenita feb99ade13 Blur box-filter. 2013-01-24 18:04:21 -08:00
Tobias Schneider 2cb5f9089a Pre-compile tag handlers for extension. 2013-01-21 14:15:48 +01:00
Michael Bebenita 333a5348ab Added rendering test. 2013-01-17 14:32:09 -08:00
Yury Delendik ef4a7b5d83 Moves Timeline3 test 2013-01-16 16:43:18 -06:00
Yury Delendik 1ad23e0b70 Moves Timeline4 into reftests 2013-01-16 15:19:33 -06:00
Yury Delendik 19fab6562c Moves Timeline8 to tests 2013-01-16 15:01:14 -06:00
Michael Bebenita 73dccdf50d Add Timeline test case. 2013-01-15 16:58:26 -08:00
Michael Bebenita 3025132d91 Add timeline test case. 2013-01-15 15:42:59 -08:00
Michael Bebenita b94aa65991 Add graphics benchmark example. 2013-01-15 14:59:49 -08:00
Yury Delendik ceaafaebf1 Adds decoder files to the web and extension; cleanup 2013-01-15 14:11:30 -06:00
Yury Delendik b7dedd7301 Merge remote-tracking branch 'mozilla/master' into audio
Conflicts:
	src/flash/display/Loader.js
	src/flash/display/MovieClip.js
2013-01-15 11:13:25 -06:00
Michael Bebenita 91161bbf8b Add timeline test case. 2013-01-14 14:44:19 -08:00
Michael Bebenita da4bc9b49c Added timeline example. 2013-01-14 14:30:34 -08:00
Michael Bebenita 117ad87989 Added support for Stage.frameRate and example to measure average time between frames. 2013-01-14 12:33:42 -08:00
Yury Delendik 42c1fa5ab4 Adds pausedAtStart mode 2013-01-14 11:28:30 -06:00
Michael Bebenita ad6bec9f45 Added timeline example. 2013-01-13 19:30:58 -08:00
Yury Delendik c5d9dc7cbe Move decoder into worker 2013-01-09 09:43:42 -06:00
Yury Delendik aa59714613 Plays PCM data via Audio Data API or Web Audio API 2013-01-05 14:11:57 -06:00
Yury Delendik ff1eada110 Adds simple timeline PCM sound data playback / decoding 2013-01-01 15:54:36 -06:00
Yury Delendik 883262f2ae Adds DefineSound and StreamSoundBlock tags parsing 2012-12-31 16:24:22 -06:00
Michael Bebenita 5f89caab85 Add html file that includes all demos. 2012-12-21 17:51:24 -08:00
Yury Delendik 13b6bb6faf Fixing file loading 'open' and 'progress' events order 2012-12-21 17:57:40 -06:00
Michael Bebenita fd889eb6fd Added ID3 stub. 2012-12-21 13:49:47 -08:00
Michael Bebenita 12e13eb825 Made Audio class use URLLoader. 2012-12-20 19:23:40 -08:00
Michael Bebenita 1adb2bdd57 Add mp3Player Example 2012-12-20 16:09:15 -08:00
Yury Delendik a5f6875c4c Removes usage of soundmc 2012-12-19 16:01:28 -06:00
Yury Delendik 71681ae33f Fixes SoundChannel.js refs; adds members stubs to Sound 2012-12-18 20:07:22 -06:00
Yury Delendik 1b956975c7 Merge branch 'stream' 2012-12-18 19:51:07 -06:00
Yury Delendik fd8a0817b7 Implements URLStream 2012-12-18 19:49:23 -06:00
Michael Bebenita 1826c011d0 Simple Sound/SoundChannel audio playing works. 2012-12-18 17:21:38 -08:00
Michael Bebenita 1ba15eddd6 Added Sound example. 2012-12-18 11:45:33 -08:00
Yury Delendik af8d8dcef3 Fixes build-web for c4; increases minor version number for the extension 2012-12-17 20:05:33 -06:00
Michael Bebenita ef668de9f7 Removed old compiler. 2012-12-17 11:39:59 -08:00
Michael Bebenita a89a9a1035 Merge branch 'master' into ir-2
Conflicts:
	examples/inspector/inspector.js
2012-12-17 11:26:06 -08:00
Yury Delendik 75dbbb2ed0 Fixes make-web; disables progressive loading in the inspector by default 2012-12-14 16:31:58 -06:00
Yury Delendik 08134a1eef Adds bytesLoaded/bytesTotal 2012-12-14 14:17:15 -06:00
Yury Delendik 67572ce077 Progressive loading for inspector 2012-12-14 11:08:53 -06:00
Mbebenita 7c82106774 Fix inspector popup. 2012-12-13 17:42:00 -08:00
Michael Bebenita f7151d7fa4 Added a button to toggle system compilation in the inspector. 2012-12-12 12:34:37 -08:00
Michael Bebenita f24d7e4f03 Remove old inspector buttons. 2012-12-11 20:27:50 -08:00
Michael Bebenita 720673fe5b Merge branch 'master' into ir-2 2012-12-06 18:13:39 -08:00
Michael Bebenita 7b94a8aa76 Print path when XHR fails. 2012-12-06 16:34:21 -08:00
Yury Delendik 181095ec0b Stubs ExternalInterface 2012-12-06 17:15:32 -06:00
Michael Bebenita 3aed959376 Make compiler reentrant, more opcodes and some refactoring. 2012-12-06 11:32:10 -08:00
Michael Bebenita e4e8fe96da Fixed bugs in the scheduler, now runs crypto-aes. 2012-12-06 11:32:07 -08:00
Yury Delendik f411748b10 Stubs navigateToURL and URLRequest 2012-11-26 17:28:59 -06:00
Yury Delendik 9775a4f7c0 Adds as3_tiger to the reftest; cleanup and makeref fix 2012-11-26 14:56:56 -06:00
Yury Delendik 3acf780a5f Move misc swfs into tests 2012-11-23 18:49:23 -06:00
Yury Delendik 4da3af85d6 Places window.print initialization before avm2/natives.js 2012-11-23 14:50:14 -06:00
Yury Delendik 54364956bd Merge branch 'master' of github.com:mozilla/shumway 2012-11-21 15:22:45 -06:00
Yury Delendik 6504abe5ed Automates generation of the src/flash/*.js references 2012-11-21 15:22:28 -06:00
Tobias Schneider 3a0f1fa904 Make inspector css more cross-browser compatible. 2012-11-21 21:42:20 +01:00
Yury Delendik 678fd04fa2 Stubs flash.text.Font 2012-11-21 13:36:35 -06:00
Yury Delendik f8378bf6ec Fixes avm1 _target; removes duplicate nativeXXX functions 2012-11-21 10:50:23 -06:00
Yury Delendik 5dff457f26 Adds shapes and stroke size detection and hit tests. 2012-11-19 17:27:33 -06:00
Yury Delendik 8c511c53ef Fixes regression from #49 (91d745b6fb) 2012-11-19 08:37:28 -06:00
Jasper St. Pierre e11f879788 Limit inspector to showing .swf files 2012-11-17 04:40:52 -05:00
Jasper St. Pierre 91d745b6fb flash: Replace the rest of the old stubs
Mouse is updated. SoundTransform and MorphShape have been replaced
with small dummies for now.
2012-11-17 04:40:52 -05:00
Jasper St. Pierre 92b4aae9da inspector: Fix style
I assume this is what it was supposed to be...
2012-11-17 04:40:51 -05:00
Tobias Schneider 4dc19e5c5b Define inspector specific css in its stylesheet. 2012-11-15 23:26:35 +01:00
Tobias Schneider a465f27b12 Align perf monitor. 2012-11-15 23:10:44 +01:00
Tobias Schneider e955da52d6 Integrate xStats performance monitor. 2012-11-15 22:45:21 +01:00
Michael Bebenita 43f206ba43 Give inspector default settings. 2012-11-09 16:05:21 -08:00
Yury Delendik 9113a06b88 Change background for pac.swf 2012-11-09 16:50:31 -06:00
Yury Delendik 1318709af9 Increases pac.swf fps 2012-11-09 16:47:32 -06:00
Yury Delendik b4121cf1fb Adds stubs for NetStream, NetConnection and Responder 2012-11-09 15:52:16 -06:00
Yury Delendik 4360b3a3c8 Adds flash.system.FSCommand and flash.media.SoundMixer; changes sound mock 2012-11-09 15:18:29 -06:00
Yury Delendik cf0d228ba8 Stubs SoundClass for AS3 2012-11-09 12:35:45 -06:00
Yury Delendik 73021178a6 Replacing window.print with console.log call 2012-11-08 18:00:08 -06:00
Yury Delendik eb8c4f4eb3 Disables "open file" button when "rfile" is specified 2012-11-08 15:50:30 -06:00
Yury Delendik d9edf834a3 Fixes index.html for racing demo 2012-11-08 14:18:20 -06:00
Yury Delendik 5a5260911d Adds AS2 button support; specifies button as a container 2012-11-08 09:41:27 -06:00
Till Schneidereit f64d0a2b61 Adds initial support for script-created Bitmaps and BitmapData objects.
The only currently working method is BitmapData#fillRect. But at least, that gets displayed properly.
2012-11-08 01:52:51 +01:00
Michael Bebenita 8b2b863a19 New compiler WIP. 2012-10-31 12:17:02 -07:00
Yury Delendik 894d1fe4ca Fixes viewer for the extension 2012-10-31 11:30:53 -05:00
Yury Delendik b6ab6d59ea Fixes glue for MouseEvent and SimpleButton 2012-10-30 14:21:53 -05:00
Yury Delendik f5403dc3ae Add button tests 2012-10-30 10:27:34 -05:00
Yury Delendik 8866ee20f3 Remove alert 2012-10-30 09:55:27 -05:00
Michael Bebenita 7327184d02 Clean up compiler option in the inspector. 2012-10-26 11:56:59 -07:00
Michael Bebenita d15b94ca44 Display counters in the inspector. 2012-10-26 11:26:51 -07:00
Michael Bebenita c2dbd4efa3 Added release button to inspector. 2012-10-25 20:41:35 -07:00
Michael Bebenita c3b37ed494 Add Box2D Demo 2012-10-25 17:13:15 -07:00
Michael Bebenita f70b5ada41 Increase frame rate of examples. 2012-10-24 16:52:19 -07:00
Yury Delendik 04651a01a6 Adds local2global example; adds type to unknown symbol error 2012-10-23 09:49:16 -05:00
Shu-yu Guo e77bcfeecc Merge branch 'natives-refactoring' into develop 2012-10-15 10:43:27 -07:00
Yury Delendik 2198921b81 Binary for video file 2012-10-11 17:00:32 -05:00
Michael Bebenita 9727627df8 Refactoring the verifier - WIP 2012-10-11 07:23:55 -07:00
Shu-yu Guo 4a43c5b151 Update Keyboard listener; expose Keyboard 2012-10-11 07:03:30 -07:00
Shu-yu Guo 03220fb0b4 Export more geom classes; streamline stub generation 2012-10-11 03:57:55 -07:00
Shu-yu Guo e3d5e91950 Merge branch 'develop' into natives-refactoring
Conflicts:
	examples/inspector/inspector.js
	src/flash/display/DisplayObject.js
	src/flash/display/Loader.js
	src/flash/display/MovieClip.js
2012-10-10 08:05:13 -07:00
Shu-yu Guo 0deb97af66 Hook up Point and Rectangle; glue getters/setters directly 2012-10-10 07:10:24 -07:00
Shu-yu Guo 21a68882d1 Fix loader root path 2012-10-10 04:06:04 -07:00
Tobias Schneider c20956ae33 Remove duplicated class StaticText. 2012-10-10 13:05:00 +02:00
Shu-yu Guo 8d95a42122 WIP Part 2.222: Rework display list, fix initialize 2012-10-10 03:53:25 -07:00
Yury Delendik 89c3866169 Adds "file not found" messages 2012-10-08 16:57:41 -05:00
Yury Delendik 7a41315ce5 Adds simple keyboard game in as2 and as3 2012-09-28 16:17:49 -07:00
Yury Delendik 9b27290091 Add racing for as3 2012-09-28 16:12:15 -07:00
Yury Delendik 5c18dbec27 remove magnifying-glass.png reference 2012-09-28 16:00:28 -07:00
Yury Delendik 41016214f3 Merge branch 'develop' of https://github.com/mozilla/shumway into develop 2012-09-28 15:32:06 -07:00
Yury Delendik 8d66f6db35 Refactoring rendering into several stages; adds StaticTest; misc stuff 2012-09-28 15:31:40 -07:00
Michael Bebenita 9b6183f793 Added banana test case. 2012-09-28 11:38:05 -07:00
Michael Bebenita 35e3f03893 inspector: Added video demo. 2012-09-27 23:03:59 -07:00
Yury Delendik 711897f3ba Move Dictionary to native.js 2012-09-27 20:35:54 -07:00
Jet Villegas d7d158e246 Add stubs for Dictionary class 2012-09-27 18:45:49 -07:00
Jet Villegas a9351ac271 Add NetConection and NetStream stubs 2012-09-27 13:52:50 -07:00
Jet Villegas ea9770ae86 Add missing files from previous checkin. 2012-09-27 11:16:57 -07:00
Tobias Schneider 1c923619d7 Fix worker support. 2012-09-26 16:06:10 -07:00
Michael Bebenita f5daf4c9bb runtime: Merge prototypes of native and script objects. 2012-09-25 16:42:47 -07:00
Michael Bebenita 6e839a62e3 inspector: Refactor file execution code path. 2012-09-25 16:40:55 -07:00
Yury Delendik 9f4d7bd776 Merge branch 'develop' of https://github.com/mozilla/shumway into develop
Conflicts:
	examples/inspector/inspector.html
2012-09-25 15:40:06 -07:00
Yury Delendik bb99747e3f Stubs soundtransform; adds getqualifiedclassname for scriptObjects; classsuper3.as 2012-09-25 15:38:02 -07:00
Tobias Schneider f14e7cf9b4 Update inspector scripts. 2012-09-25 14:49:22 -07:00
Yury Delendik 05f51bbf20 Adds Timer; fixes stage/root object parenting; uses current vm for event args wrapping 2012-09-25 09:32:09 -07:00
Yury Delendik c2ce47856a Stubs to Timer and MouseEvent 2012-09-24 21:04:10 -07:00
Michael Bebenita 5bc630a6cf inspector: Fix inspector layout. 2012-09-24 15:11:29 -07:00
Yury Delendik 85e455ec3d Merge branch 'timeline-refactoring' into develop 2012-09-24 13:58:08 -07:00
Michael Bebenita 4ae716554b inspector: Fix open file button for .abc files. 2012-09-24 13:55:03 -07:00
Michael Bebenita 8f3777af28 Merge branch 'master' into HEAD
Conflicts:
	examples/inspector/inspector.html
	examples/inspector/inspector.js
	src/avm2/runtime.js
	src/avm2/tests/.gitignore
2012-09-24 11:52:39 -07:00
Michael Bebenita 4c3d759482 inspector: Only create one instance of AVM2. 2012-09-24 10:32:10 -07:00
Yury Delendik f995a62530 Adds Keyboard glue; hack for m_keyCode and m_keyLocation 2012-09-24 07:47:49 -07:00
Michael Bebenita 588371ddc7 inspector: Made it pretty. 2012-09-21 20:18:20 -07:00
Michael Bebenita bd1083d385 inspector: Shorten option name and add Inline Caching option. 2012-09-19 18:19:01 -07:00
Tobias Schneider c26d706ca9 Add support for keyboard events. 2012-09-13 15:50:55 +02:00
Yury Delendik 1a2e49b650 Fixes the SWF inspector and AVM2 glue 2012-09-07 13:52:45 -05:00
Yury Delendik 662ab200de Fixes createAVM2 name in Loader, makes AVM2 read-only config, and fixes symbolPromise name 2012-09-07 10:48:19 -05:00
Michael Bebenita 06920b68e5 rename ALWAYS_INTERPRET to EXECUTION_MODE.INTERPRET 2012-09-06 02:35:11 -07:00
Tobias Schneider 4f347bf714 Merge branch 'master' into timeline-refactoring
Conflicts:
	examples/inspector/inspector.html
	src/avm2/bin/avm.js
	src/avm2/native.js
	src/avm2/runtime.js
2012-09-05 12:17:55 +02:00
Michael Bebenita 1d540c6f82 inspector: Reorder the loading of scripts.
native.js should be loaded after the runtime.
2012-08-23 15:53:41 -07:00
Michael Bebenita 4f7fb2028f runtime: Translate error messages so that the acceptance tests work. 2012-08-22 19:51:41 -07:00
Michael Bebenita 1e01ab9b9b Load the shell.abc in the inspector whenever running .abc files. 2012-08-22 19:49:51 -07:00
Yury Delendik 66bf401661 Fixes browser button regression (9a52d54f) 2012-08-15 15:56:11 -05:00
Yury Delendik dba5f60aad fixes 6bf589c8e9 regression 2012-08-15 15:39:45 -05:00
Jasper St. Pierre bb6b7c62b7 vm: Remove builtinABC from AVM2
Just execute it in the system domain normally, like everything else.
2012-08-09 20:27:57 -07:00
Jasper St. Pierre 6bf589c8e9 inspector: Remove some dead code 2012-08-09 20:24:43 -07:00
Jasper St. Pierre 9a52d54f7c inspector: Move embedded scripts to separate files
So I can get syntax highlighting in emacs.
2012-08-09 20:24:26 -07:00
Michael Bebenita 290b86a5e4 inspector: Move the AVM2 creation logic into embed.js.
Preferably we want to create the VM once we start parsing the SWF's FILE_ATTRIBUTES tag and discover which VM version to use.
2012-08-08 15:08:37 -07:00
Michael Bebenita a1f0387a19 glue: Factored out AVM2 creation. 2012-08-08 14:00:08 -07:00
Tobias Schneider f14cd8deaf Update examples. 2012-08-08 15:18:04 +02:00
Michael Bebenita 184defd66b Merge branch 'master' into timeline-refactoring 2012-08-06 15:07:52 -07:00
Tobias Schneider 677f636852 Fix typos. 2012-08-06 23:46:34 +02:00
Tobias Schneider a420c9d143 Update examples. 2012-08-06 23:12:43 +02:00
Liviu Codrut Stancu 4702f330a1 Initialize Counter in Inspector. 2012-08-06 12:42:03 -07:00
Jasper St. Pierre ef3663a8f5 vm: Make the AVM2 interface a little easier to use
Pass it an AbcFile instead of a stream, just like executeAbc.
2012-08-03 14:54:39 -07:00
Tobias Schneider 9a63161a2c Add class stubs. 2012-07-31 22:07:43 +02:00
Tobias Schneider 59075049f3 Merge branch 'master' into timeline-refactoring 2012-07-28 12:14:16 +02:00
Michael Bebenita e1ff17e875 Don't load the player globals in the inspector yet. 2012-07-27 16:09:20 -07:00
Tobias Schneider 3d9d93d3a8 Progress on timeline refactoring. 2012-07-27 19:18:10 +02:00
Tobias Schneider ad2886a2a1 Update racing example. 2012-07-24 11:40:29 +02:00
Yury Delendik 801590d2d8 Merge remote-tracking branch 'mozilla/master' 2012-07-23 14:52:02 -05:00
Yury Delendik d9157da22e Fixes race game example 2012-07-23 14:51:21 -05:00
Michael Bebenita fc8b585a9d Use localStorage instead of cookies to store inspector settings. 2012-07-23 11:31:01 -07:00
Jasper St. Pierre 5577e57f40 generated: Clean up our ABC generation process more
Put the sources to, and the actual .abc files in individual subdirs
in the generated/ dir rather than scattering them around all over the
place. This means moving avmplus.abc into the generated/ dir, rather
than having it stick out in the bin/ dir.
2012-07-20 00:36:02 -03:00
Liviu Codrut Stancu 6cdea1ff7a Added enable optimizations check. 2012-07-19 17:43:26 -07:00
Tobias Schneider e64b1562f1 Update the SWF inspector. 2012-07-16 16:51:54 +02:00
Michael Bebenita 1c183e606c Add some configuration options to the Inspector UI. 2012-07-13 13:40:35 -07:00
Michael Bebenita 24c07ea78f More verifier work. 2012-07-12 18:24:33 -07:00
Michael Bebenita f5b0e6d541 Added onConstruct callback. 2012-07-11 19:31:13 -07:00
Michael Bebenita 1685db125e Fixed inconsistent usage of the AbcFile constructor. 2012-07-11 16:48:50 -07:00
Shu-yu Guo 9cccbf2ea4 Distinguish abc/swfs on local files, rename remote file to rfile= on inspector 2012-07-11 15:31:16 -07:00
Michael Bebenita 412e5903e4 Started to implement a verifier. 2012-07-10 18:18:13 -07:00
Michael Bebenita 0da3de2a20 Created glue directory for vm bindings. 2012-07-06 11:47:02 -07:00
Michael Bebenita 33d8fcbfe2 Started implementing bindings. 2012-07-05 20:08:19 -07:00
Michael Bebenita d37f7af9dc Hook up the inspector with avm2. 2012-07-03 15:46:29 -07:00
Michael Bebenita 462730fd21 Merged shu.hml into the inspector. 2012-06-29 18:33:52 -07:00
Michael Bebenita 5624d84eaf Import Option. 2012-06-26 14:07:27 -07:00
Tobias Schneider 78e85de8f8 Update SWF inspector. 2012-06-26 22:54:31 +02:00
Tobias Schneider 5569ec5696 Update examples. 2012-06-26 19:59:03 +02:00
Tobias Schneider 5d27aa5309 Add SWF inspector to examples. 2012-06-21 16:43:42 +02:00
Tobias Schneider b601a23ce7 Update racing example. 2012-06-21 16:43:42 +02:00
Yury Delendik d5f840ecb7 Fixes racing example 2012-06-05 17:09:06 -05:00
Yury Delendik a8c9026c86 Add flash.display.Stage, flash.ui.Keyboard, .Mouse stubs 2012-06-05 12:09:28 -05:00
Yury Delendik 1751e3851f SWF file credits 2012-06-02 11:10:32 -05:00
Tobias Schneider 0dd598610b Add racing game example. 2012-05-29 16:41:32 +02:00
Tobias Schneider 0b608a4adf Execute only builtin.abc, just load playerGlobal.abc. 2012-04-19 00:07:50 +02:00
Tobias Schneider 8eddb96c36 Add AS3-Tiger example. 2012-04-18 20:49:50 +02:00
Tobias Schneider 6da6bcff07 load game assets for space twits from a swf file 2012-03-30 14:28:29 -07:00
Michael Bebenita 79e7d76352 Rearrange include order in space twits to fix Interpreter reference error. 2012-03-23 10:29:19 -07:00
Tobias Schneider a0a8c52a6a stop space twits movie at first frame 2012-03-22 23:17:10 +01:00
Michael Bebenita 728c1e1bb8 Made space twits run again. 2012-03-22 15:16:13 -07:00
Tobias Schneider 47187c0ca3 update space twits files 2012-03-22 14:51:53 +01:00
Tobias Schneider ccfb9e19dc add original space twits files 2012-03-22 13:12:31 +01:00
Tobias Schneider 6d8d8482ad add compiled version of space twits 2012-03-13 21:14:08 +01:00
Tobias Schneider a94e043418 add flash project file for space twits example 2012-03-12 20:06:52 +01:00