Commit Graph
686 Commits
Author SHA1 Message Date
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
Thomas Weber d3cd3d8109 tests: Test runtime.setInterpolation
This tests the interpolation setter itself. It does not test the interpolation.
2021-03-26 20:03:30 -05:00
Thomas Weber 8c4c46b871 test: Add a test for runtime debug mode 2021-03-26 19:54:36 -05:00
Thomas Weber 7dc378c3b1 tests: Test fencing & fencing runtime option 2021-03-26 19:53:21 -05:00
Thomas Weber e2d538105e tests: Add test for sound effects & miscLimits: false 2021-03-26 19:46:54 -05:00
Thomas Weber 55a21ff74a tests: Add test for Scratch3PenBlocks._clampPenSize 2021-03-26 19:38:13 -05:00
Thomas Weber 1e7a1a5f9a Support control_all_at_once in compiler 2021-03-21 18:30:50 -05:00
Thomas Weber 4b21fb6fae Add more unsafe equality test checks 2021-02-28 09:35:04 -06:00
Thomas Weber c71a94aada Remove precise project timer
#38
2021-01-31 14:28:17 -06:00
Thomas Weber 320e60133f Test mouse position clamping 2021-01-30 21:32:08 -06:00
Thomas Weber eb140a2493 Add Runtime.stageWidth, Runtime.stageHeight 2021-01-30 20:23:31 -06:00
Thomas Weber 1c9846003b js: Fix "next backdrop" not starting "when backdrop switches to" hats 2021-01-29 18:15:01 -06:00
Thomas Weber 66f8fc19a3 Remove tw from CORE_EXTENSIONS, let GUI load it 2021-01-29 18:03:54 -06:00
Thomas Weber 2c383f279f js: Fix loops double-yielding when last command returns promise 2021-01-29 17:59:27 -06:00
Thomas Weber 6f5917aadd Write some more tests 2021-01-12 12:35:45 -06:00
Thomas Weber 145014e5a7 Add Mouse.usesRightClickDown 2020-12-31 18:04:13 -06:00
Thomas Weber 279a31e950 Internal support and tests for tracking individual mouse buttons 2020-12-24 19:04:48 -06:00
Thomas Weber 1e4d02ab71 Fix tests that broke because we have an always-loaded extension now 2020-12-24 18:43:33 -06:00
Thomas Weber 8dee0fdac8 Add a test for preciseProjectTimer drift 2020-11-26 10:58:35 -06:00
Thomas Weber 60afe75aa8 Cleanup how execute test catches compiler errors 2020-11-18 16:29:00 -06:00
Thomas Weber ad817fff6b populateProcedureCache should not overwrite entries
Fixes https://scratch.mit.edu/projects/387608267/
2020-11-17 13:00:17 -06:00
Thomas Weber 86cd92d1ee js: procedure.call should reset variable inputs
https://scratch.mit.edu/projects/430811055/
2020-11-04 19:07:16 -06:00
Thomas Weber f62d47da1e Clarify tw-* test licensing 2020-11-04 19:06:17 -06:00
Thomas Weber 900a0a4722 js: op.ln and op.log are NaN-able 2020-10-31 01:26:20 -05:00
Thomas Weber 66fd45fe21 js: op.mod is NaN-able 2020-10-31 01:15:23 -05:00
Thomas Weber 3f80c7b868 Change size should not round initial size
Test based on a project by https://scratch.mit.edu/users/_Fingerprint_/
2020-10-28 21:09:51 -05:00
Thomas Weber 00b5b2cfce Fix some eslint errors 2020-10-28 19:46:37 -05:00
Thomas Weber 1f7f1f500e Add safe procedure argument casting test
Based on https://scratch.mit.edu/projects/441049810/
2020-10-26 21:22:01 -05:00
Thomas Weber 847cf62e2b Add test for multiple procedure arguments with same name 2020-10-26 11:18:48 -05:00
Thomas Weber 1f8ad7e61b Update unsafe equals test with more cases 2020-10-17 00:27:39 -05:00