Commit Graph
716 Commits
Author SHA1 Message Date
Thomas Weber 5417a96daa Add more jsexecute test cases 2022-04-18 19:03:02 -05:00
Thomas Weber a6ed92cdfe jsexecute: Fix "any" list index 2022-04-13 20:37:21 -05:00
Thomas Weber 8cf257e0c1 ir: Fix error when procedures_prototype exists but not procedures_definition
Fixes compile error in https://scratch.mit.edu/projects/549160843

This commit was force-pushed from 4801d15c917d81826b33abbc3450e88d37d6f26c
to remove a large copyrighted sound file in the test project.
2022-04-06 21:43:08 -05:00
Thomas Weber 25e91e735c Preserve monitor position relative to center of stage when resizing stage 2022-03-12 20:36:37 -06:00
Thomas Weber 5dd6fc6167 Update tw_stored_settings tests 2022-02-18 21:42:56 -06:00
Thomas Weber f87154e8ae Rename tw-self-configuraiton to tw-stored-settings in tests 2022-02-18 21:19:10 -06:00
Thomas Weber b677ae297a Disable mouse coordinate rounding when misc limits are disabled 2022-02-18 21:01:39 -06:00
Thomas Weber e9cddbcd59 Do not allow compressed IDs to conflict with existing variable, list, or broadcast IDs 2022-01-29 13:02:22 -06:00
Thomas Weber e2344cd467 Rename sb3 optimization to sb3 compression 2022-01-29 11:51:59 -06:00
Thomas Weber bbdb4422f8 Fix negative clone counter when deleting non-clone target 2022-01-17 14:40:29 -06:00
Thomas Weber f7a6413c4c Fix sb3 optimization breaking on type INPUT_DIFF_BLOCK_SHADOW (3) compressed inputs 2022-01-09 17:43:40 -06:00
Thomas Weber 5907ab0103 Reset cloud variable limit to 10 for compatibility reasons
We don't want people to make a project in TW with 20 cloud variables and then have issues importing it to Scratch.
The packager, which has no limit, will convert any variable that starts with ☁ to a cloud variable, so this can be worked around.
2021-12-30 16:26:16 -06:00
Thomas Weber 921524eb67 js: Do not allow stage to change layer 2021-12-30 11:40:05 -06:00
Thomas Weber 6aeccdbbc9 Limit x & y precision in compiler, same as interpreter 2021-12-28 18:20:59 -06:00
Thomas Weber e8e3c9aa62 Add test that all runtimeFunctions can be used together 2021-12-28 18:02:46 -06:00
Thomas Weber ad95234755 Add test for op.add NaN handling 2021-12-25 22:13:48 -06:00
Thomas Weber 9b24099c9f Add integration test for obsolete blocks 2021-12-25 21:08:30 -06:00
Thomas Weber e27421c288 Update integration tests README 2021-12-25 19:38:21 -06:00
Thomas Weber 5bee953432 js: mark op.subtract as NaN-able 2021-12-25 19:10:28 -06:00
Thomas Weber 5c8db76257 js: Fix error when target with constant name doesn't exist 2021-12-24 10:51:42 -06:00
Thomas Weber 47c1e02af7 Extend sensing_of tests 2021-12-23 18:18:14 -06:00
Thomas Weber 1d99176a57 Add tests for sensing_of 2021-12-23 18:06:10 -06:00
Thomas Weber 87e3aa5acb Optimize hexToRgb and add a couple more test cases 2021-12-23 00:21:54 -06:00
Thomas Weber fcebc30740 ir: Fix broadcast name and ID desync edge case 2021-12-21 18:00:31 -06:00
Thomas Weber 27c7496679 js: Don't convert -0 to 0 2021-12-20 20:25:34 -06:00
Thomas Weber d28fb098d4 Fix tests 2021-12-13 17:01:27 -06:00
Thomas Weber 41eceef19b Refactor frame loop logic and make "0 FPS" use requestAnimationFrame instead of setInterval 2021-12-13 16:22:16 -06:00
Thomas Weber e969ae55c5 Merge branch 'develop' of github.com:LLK/scratch-vm into develop 2021-10-30 15:43:29 -05:00
Karishma Chadha 2d6cce5f7f Merge pull request #2936 from adroitwhiz/remove-new-buffer
Replace `new Buffer()` with `Buffer.from()`
2021-10-27 13:59:05 -04:00
Thomas Weber 1c7c85a89d Move tw-emit-fast and tw-extended-json to util 2021-08-15 12:23:23 -05:00
Thomas Weber 8b63a8115d Disable another intentionally broken test 2021-08-03 16:31:11 -05:00
Thomas Weber 75a23e54c8 Disable intentionally broken tests 2021-08-03 16:26:22 -05:00
Thomas Weber d0d27ddbd1 First unit tests for jsexecute runtime functions 2021-07-13 11:49:14 -05:00
Thomas Weber a8cfa25d9d More work on the "thread map" concept 2021-06-10 11:44:41 -05:00
Thomas Weber 59f3c0ebe8 Fix some more startHats bugs 2021-06-09 23:02:57 -05:00
Thomas Weber 72a48e9ed7 Fix tw-restart-broadcast-threads.sb3 test 2021-06-09 22:41:00 -05:00
Thomas Weber bbe7bc035b Make startHats not O(n^2), attempt 2 2021-06-09 22:23:51 -05:00
Thomas Weber d27589e24a Compute targetsUpdate targetList lazily
small up to 2% optimization in some projects when outside editor
2021-06-09 21:55:09 -05:00
Thomas Weber 416281f99b Merge branch 'develop' of github.com:LLK/scratch-vm into develop 2021-05-21 18:34:18 -05:00
Thomas Weber 64b3a919b4 Update self configuration
Can now store high quality pen
Warp timer no longer stored automatically
2021-05-15 01:46:08 -05:00
Thomas Weber f1a61ff7f4 Write more ExtendedJSON tests and fix more bugs 2021-05-15 01:27:26 -05:00
Thomas Weber 34872f8f60 Write ExtendedJSON tests and fix a few bugs 2021-05-15 01:09:24 -05:00
Thomas Weber 0e8ec4d9dc Use ExtendedJSON to fix storing infinite clones 2021-05-15 00:59:48 -05:00
Thomas Weber 8c365062bf Project self-configuration (#55) 2021-05-15 00:29:01 -05:00
Eric Rosenbaum 7a2393bd56 test not serializing origin if it is not present 2021-05-04 20:29:31 -04:00
Eric Rosenbaum fb09f9cbb9 test serializing origin 2021-05-04 15:36:03 -04:00
Eric Rosenbaum 8483c1a467 add test of deserializing origin 2021-05-04 15:29:36 -04:00
GarboMuffin 92c53a5a36 Allow serialization optimizations to be disabled 2021-05-01 21:58:54 -05:00
Thomas Weber 9d69b93f46 Fix more keypress issues 2021-04-16 15:11:57 -05:00
Thomas Weber fbec54a0c9 Fix key up events being skipped when modifier keys are in use 2021-04-14 19:00:48 -05:00