Commit Graph
4660 Commits
Author SHA1 Message Date
renovate[bot] dfd8de4aa1 Merge pull request #3698 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220723031544
2022-07-23 09:52:34 +00:00
renovate[bot] f6b846f275 chore(deps): update dependency scratch-l10n to v3.14.20220723031544 2022-07-23 05:01:06 +00:00
renovate[bot] e53a427466 Merge pull request #3697 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220722031545
2022-07-22 06:10:36 +00:00
renovate[bot] 3f6d303f7b chore(deps): update dependency scratch-l10n to v3.14.20220722031545 2022-07-22 03:39:54 +00:00
renovate[bot] 56b10ccfba Merge pull request #3695 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220720031542
2022-07-20 05:59:08 +00:00
renovate[bot] cc82112375 chore(deps): update dependency scratch-l10n to v3.14.20220720031542 2022-07-20 03:51:22 +00:00
renovate[bot] 71cf0d537c Merge pull request #3694 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220719031533
2022-07-19 10:42:09 +00:00
renovate[bot] 130150ab66 chore(deps): update dependency scratch-l10n to v3.14.20220719031533 2022-07-19 04:11:24 +00:00
renovate[bot] a1b5918658 Merge pull request #3693 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220715031558
2022-07-15 18:19:56 +00:00
renovate[bot] 34501eeda7 chore(deps): update dependency scratch-l10n to v3.14.20220715031558 2022-07-15 08:51:44 +00:00
renovate[bot] 36c126c7a8 Merge pull request #3692 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220714031534
2022-07-14 12:46:49 +00:00
renovate[bot] d160356d0e chore(deps): update dependency scratch-l10n to v3.14.20220714031534 2022-07-14 05:40:58 +00:00
renovate[bot] 188530f5c4 Merge pull request #3690 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220713031530
2022-07-13 10:28:36 +00:00
renovate[bot] 0617f592ae chore(deps): update dependency scratch-l10n to v3.14.20220713031530 2022-07-13 04:50:49 +00:00
renovate[bot] f7f6f7e7d6 Merge pull request #3689 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220712031635
2022-07-12 06:05:36 +00:00
renovate[bot] 464ac1d00c chore(deps): update dependency scratch-l10n to v3.14.20220712031635 2022-07-12 03:41:53 +00:00
renovate[bot] 1d6ef03c3f Merge pull request #3688 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220711031527
2022-07-11 06:07:43 +00:00
renovate[bot] cda63abb42 chore(deps): update dependency scratch-l10n to v3.14.20220711031527 2022-07-11 03:31:38 +00:00
renovate[bot] 38ff585a24 Merge pull request #3687 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220710031532
2022-07-10 10:12:38 +00:00
renovate[bot] a5edef92dc chore(deps): update dependency scratch-l10n to v3.14.20220710031532 2022-07-10 05:05:54 +00:00
renovate[bot] 4396694f5b Merge pull request #3686 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220708031602
2022-07-08 10:31:16 +00:00
renovate[bot] 211be2b54f chore(deps): update dependency scratch-l10n to v3.14.20220708031602 2022-07-08 04:38:11 +00:00
Christopher Willis-Ford 8fbf3b465e test: temporarily skip flaky order-changes-backwards-2-broadcast-and-wait-repeat-message.sb2 2022-07-06 09:41:56 -07:00
Christopher Willis-Ford 5700456f13 ci(transifex): access TX_TOKEN by using new 'transifex' CI context 2022-07-06 08:35:28 -07:00
semantic-release-bot 98edec07a1 chore(release): 1.0.1 [skip ci]
## [1.0.1](https://github.com/LLK/scratch-vm/compare/v1.0.0...v1.0.1) (2022-07-06)

### Bug Fixes

* **JSON-RPC:** rephrase previous commit for semantic-release ([fd6b301](https://github.com/LLK/scratch-vm/commit/fd6b301b5a2c1442004e360d50dc70cb1468119b))
2022-07-06 00:12:07 +00:00
renovate[bot] 69bda6df8d Merge pull request #3678 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220703031542
2022-07-06 00:08:29 +00:00
renovate[bot] 81bede3cd2 chore(deps): update dependency scratch-l10n to v3.14.20220703031542 2022-07-05 22:09:14 +00:00
Christopher Willis-Ford fd6b301b5a fix(JSON-RPC): rephrase previous commit for semantic-release
As an experiment, I merged a PR which did not follow the commit message
rules. This commit fixes the fallout from that experiment. I intend to
make a future change improving the behavior in this case.
2022-07-05 14:25:42 -07:00
Christopher Willis-Ford 0e165275e0 Merge pull request #3619 from cwillisf/rpc-allow-id-0
correctly handle JSON-RPC requests with ID=0
2022-07-05 14:11:45 -07:00
semantic-release-bot cbbbbb6c9c chore(release): 1.0.0 [skip ci]
# 1.0.0 (2022-07-05)

### Bug Fixes

* Equalise the chances when picking a random backdrop ([b29f076](https://github.com/LLK/scratch-vm/commit/b29f07636d4dc713b5a6012791438ad44d4c79a4))
* initialize stack frame params for all procedures ([20ff75b](https://github.com/LLK/scratch-vm/commit/20ff75b776308e8b6c07201477d7a4a5df5e7454))
* **package:** update @vernier/godirect to version 1.4.1 ([089f892](https://github.com/LLK/scratch-vm/commit/089f892316193d87bc0f30b3f156e0af30a90e67)), closes [#1915](https://github.com/LLK/scratch-vm/issues/1915)
* **package:** update @vernier/godirect to version 1.5.0 ([e1fe21c](https://github.com/LLK/scratch-vm/commit/e1fe21cd2a3061e0290b559c5c508383c8012b82)), closes [#1961](https://github.com/LLK/scratch-vm/issues/1961)
* **package:** update diff-match-patch to version 1.0.4 ([7d32c81](https://github.com/LLK/scratch-vm/commit/7d32c8107e7552b4cd4ff61537d0633cce47ebfd)), closes [#1552](https://github.com/LLK/scratch-vm/issues/1552)
* **package:** update format-message to version 6.2.0 ([5779a48](https://github.com/LLK/scratch-vm/commit/5779a48434f441bd0ea884eab1ce804027d786b7))
* **package:** update format-message to version 6.2.1 ([c71da28](https://github.com/LLK/scratch-vm/commit/c71da286c8e38f52f22394d2c54dd417a59b9252))
* **package:** update htmlparser2 to version 3.10.0 ([e1fc448](https://github.com/LLK/scratch-vm/commit/e1fc448493d884773a0088cd20d1382b8a00699f))
* **package:** update scratch-parser to version 4.2.0 ([b1dacd4](https://github.com/LLK/scratch-vm/commit/b1dacd4b5967e0146fa7fc563b8fa51ff3d6ed7e))
* **package:** update scratch-parser to version 4.3.0 ([a103af8](https://github.com/LLK/scratch-vm/commit/a103af8bb9729e34504c150902f81850ce0dd392))
* **package:** update scratch-parser to version 4.3.1 ([d909ac5](https://github.com/LLK/scratch-vm/commit/d909ac53919b7a36826af5b142c93deef8105c74))
* **package:** update scratch-parser to version 4.3.3 ([641c2f3](https://github.com/LLK/scratch-vm/commit/641c2f398d12ccf2dc7b076f4b65c9b585531063))
* **package:** update scratch-parser to version 4.3.5 ([6715b2e](https://github.com/LLK/scratch-vm/commit/6715b2ec34ecfa6e8243e16c45da3668b02acf86))
* **package:** update scratch-parser to version 4.3.6 ([d354d89](https://github.com/LLK/scratch-vm/commit/d354d89f972a2ab58ac3e49c00b24ae9c3b9b69e))
* **package:** update scratch-parser to version 5.0.0 ([43ddb7c](https://github.com/LLK/scratch-vm/commit/43ddb7ce81f9933a1933b8104ba115b468ba5de2))
* **package:** update scratch-sb1-converter to version 0.2.2 ([58c9f4e](https://github.com/LLK/scratch-vm/commit/58c9f4eb3bfff6977f1c9ececf2ea8faac06ccb5))
* **package:** update scratch-sb1-converter to version 0.2.5 ([29d229c](https://github.com/LLK/scratch-vm/commit/29d229c1db0c010e05ff5a31b429988417eb584b))
* **package:** update scratch-sb1-converter to version 0.2.6 ([e4300da](https://github.com/LLK/scratch-vm/commit/e4300da4297fafcfa87104b078d51ea0564b9cd5))
* **package:** update scratch-sb1-converter to version 0.2.7 ([f64eaa3](https://github.com/LLK/scratch-vm/commit/f64eaa3329d17a4576ba7738099a3e181271724a))
* resolve scratch-*/src/index.js for expose-loader ([fda2885](https://github.com/LLK/scratch-vm/commit/fda288506aac8d0dc82e59d1723518ad4544456d))
* use ValidationError to determine if an SB1File error should throw ([a92f339](https://github.com/LLK/scratch-vm/commit/a92f33960f0e4ce06dd06825916c1315a5972cb3))
* **util:** Make string comparisons match Flash's, everywhere ([dab78c4](https://github.com/LLK/scratch-vm/commit/dab78c4f6222b4bd7ecec45ee5112e332c945c0f))

### Features

* Allow switching to specially named backdrops ([341bd8f](https://github.com/LLK/scratch-vm/commit/341bd8f3d38d6e30895730c81e8319e67fb6c013))
* Implement "point towards random direction" ([306996e](https://github.com/LLK/scratch-vm/commit/306996e54c814838e3bbac7c1ebd33f547848784))

### Reverts

* Revert "Consistently format text bubbles" ([2a42285](https://github.com/LLK/scratch-vm/commit/2a42285abef677360e28e8e128b304b51f1aba18))
* Revert "add SAY_OR_THINK getter" ([7330129](https://github.com/LLK/scratch-vm/commit/7330129cc6332bdc324727db70a57229d79d3bb4))
* Revert "synth extension" ([dbcbe8b](https://github.com/LLK/scratch-vm/commit/dbcbe8b94fabc73ac0f3feddc1b78f0c51ecef64))
* Revert "lightplay extension stub" ([d1b261d](https://github.com/LLK/scratch-vm/commit/d1b261d56e93302816b26a54c44ca56af900e4c2))
* Revert "lightplay extension stub" ([7501af4](https://github.com/LLK/scratch-vm/commit/7501af4c6b80e29b8cf8fe6f6f7e72f0f50365fe))
* Revert "Attempting to fix #1492: WeDo2 use of  should be backwards compatible." ([1f7d9d3](https://github.com/LLK/scratch-vm/commit/1f7d9d3b67591b2eccc2336572c1f47d4f140814)), closes [#1492](https://github.com/LLK/scratch-vm/issues/1492)
* Revert "Revert #1260, #1258, #1239" ([9afe401](https://github.com/LLK/scratch-vm/commit/9afe401dcafcb199d1719228137fc276600684c7)), closes [#1260](https://github.com/LLK/scratch-vm/issues/1260) [#1258](https://github.com/LLK/scratch-vm/issues/1258) [#1239](https://github.com/LLK/scratch-vm/issues/1239)
* Revert "Revert "Push reported"" ([d04d6b2](https://github.com/LLK/scratch-vm/commit/d04d6b2c6ad1c7a79b06f9eb727170cc3068c517))
* Revert "Fix test" ([a586c5d](https://github.com/LLK/scratch-vm/commit/a586c5d9cdae593a2ed635265f4c3453d61f8aec))

### BREAKING CHANGES

* specially-named backdrops can now be navigated
2022-07-05 20:16:29 +00:00
Christopher Willis-Ford 087d8bf6cc Merge pull request #3679 from LLK/circleci-semantic-release
Migrate to CircleCI & use semantic release
2022-07-05 13:12:27 -07:00
Christopher Willis-Ford e2f96762de test(clone-cleanup): go back to using an SB2
Part of the motivation for this test is to verify compatibility with
Scratch 2.0 / SB2 behavior, so we shouldn't change the project to an SB3
file without very good reason.
2022-06-10 10:14:17 -07:00
Christopher Willis-Ford 43bcf60c97 ci: remove Travis config 2022-06-07 14:55:38 -07:00
Christopher Willis-Ford d8fc81a8b5 test(execute): try to make 'execute' test more reliable 2022-06-07 14:55:38 -07:00
Christopher Willis-Ford 8263893c5b ci: add GH Pages deploy and the i18n cron job
All non-cron builds deploy to GH Pages, but only release branches
generate actual releases on npm / GH. Hotfix branches are considered
release branches and should be released under the `hotfix` tag on npm.
2022-06-07 14:55:24 -07:00
Christopher Willis-Ford 52252bd1cb test(wait): make the wait block test reliable under CPU load
Sometimes load causes the VM to run more slowly, especially with
parallel tests. This change allows the wait block a little extra wiggle
room to account for that. Ending early is still tested with a fairly
strict threshold.
2022-06-07 11:44:06 -07:00
Christopher Willis-Ford 840ffb5df0 test: don't use process.exit to end tests
Newer versions of `tap` run more asynchronously, so sometimes using `process.nextTick(process.exit)`
to end a test would prevent the test from completing correctly. Removing all instances of
`process.nextTick(process.exit)` put tests into three categories:
* the test still worked correctly -- no fixup needed.
* the test would hang because the VM's `_steppingInterval` was keeping
  Node alive. These tests call a new `quit()` method which ends the
  stepping interval.
* the `load-extensions` test needed special attention because the "Video
  Sensing" extension starts its own loop using `setTimeout`. I added a
  `_stopLoop()` method on the extension and directly call that from the
  test. I'm not completely happy with this solution but anything more
  general would likely require a change to the extension spec, so I'm
  leaving that as a followup task.
2022-06-07 11:44:06 -07:00
Christopher Willis-Ford 605b1c2386 test(clone-cleanup): improve clone-cleanup test reliability
Previously the test relied on the project's `wait` blocks running at roughly real time. Now, the
project drives the timing using `say` blocks.
2022-06-07 11:44:06 -07:00
Christopher Willis-Ford 05f8692300 test: upgrade tap, configure coverage thresholds
As part of simplifying the CI setup I plan to not explicitly specify
`--jobs=4` to `tap` going forward. Upgrading to a newer version of `tap`
means that it will automatically parallelize jobs according to available
CPU count, which should be better anyway. Only one of our tests was
incompatible with newer versions of `tap`, so this commit includes a
compatibility fix there.

Also, by default newer versions of `tap` calculate coverage and consider
the test run to fail if below the configured thresholds. The default is
100% coverage and we're not there, so I adjusted the thresholds to match
where we're at for now. We can ratchet those up over time.
2022-06-07 11:44:06 -07:00
Christopher Willis-Ford c2c66a68d6 ci: add initial CircleCI config
This doesn't yet handle hotfixes or cron jobs
2022-06-07 11:44:06 -07:00
Christopher Willis-Ford 5cea05b8e8 chore: add semantic-release settings 2022-06-07 11:44:06 -07:00
Christopher Willis-Ford 3cccbe1cd5 chore: add Commitizen settings 2022-06-07 11:44:05 -07:00
Christopher Willis-Ford bb47165dfd chore: add husky hook for commitlint 2022-06-07 11:44:05 -07:00
Christopher Willis-Ford dfd70e06c7 chore: add commitlint 2022-06-07 11:44:05 -07:00
Christopher Willis-Ford 5266c84c0e chore(deps): upgrade lockfileVersion
Also fix devDependencies order (`jsdoc` was out of place)
2022-06-07 11:43:52 -07:00
renovate[bot] 67d9b9793c Merge pull request #3676 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220602031631
2022-06-02 12:10:46 +00:00
Renovate Bot 1895c2a112 chore(deps): update dependency scratch-l10n to v3.14.20220602031631 2022-06-02 05:15:17 +00:00
renovate[bot] b4673969af Merge pull request #3675 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220601031612
2022-06-01 11:05:10 +00:00
Renovate Bot c732a8763e chore(deps): update dependency scratch-l10n to v3.14.20220601031612 2022-06-01 04:18:21 +00:00
renovate[bot] 1214db29c2 Merge pull request #3672 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220530031613
2022-05-30 11:13:44 +00:00