Commit Graph
4645 Commits
Author SHA1 Message Date
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
Renovate Bot 74c9ee1bc4 chore(deps): update dependency scratch-l10n to v3.14.20220530031613 2022-05-30 05:25:45 +00:00
renovate[bot] 047f65c3c3 Merge pull request #3670 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220528031543
2022-05-28 05:44:21 +00:00
Renovate Bot ef96f67d42 chore(deps): update dependency scratch-l10n to v3.14.20220528031543 2022-05-28 03:38:23 +00:00
renovate[bot] edef79dc6c Merge pull request #3669 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220527031600
2022-05-27 11:09:42 +00:00
Renovate Bot 30037dcbb9 chore(deps): update dependency scratch-l10n to v3.14.20220527031600 2022-05-27 05:53:18 +00:00
renovate[bot] 44095be3af Merge pull request #3648 from LLK/renovate/scratch-storage-2.x
chore(deps): update dependency scratch-storage to v2.0.2
2022-05-26 14:46:57 +00:00
Renovate Bot 35128f2c2a chore(deps): update dependency scratch-storage to v2.0.2 2022-05-26 11:58:44 +00:00
renovate[bot] 00db81b05f Merge pull request #3668 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220526031602
2022-05-26 11:56:34 +00:00
Renovate Bot 324c250f9a chore(deps): update dependency scratch-l10n to v3.14.20220526031602 2022-05-26 05:12:38 +00:00
Karishma Chadha 044742d064 Merge pull request #3667 from kchadha/delete-broken-sound-status-on-update
Delete sound.broken when updating the sound buffer
2022-05-25 18:32:15 -04:00
Karishma Chadha f7e5272618 Delete sound.broken when updating the sound buffer 2022-05-25 18:23:23 -04:00
renovate[bot] 66be2097c3 Merge pull request #3665 from LLK/renovate/scratch-l10n-3.x
chore(deps): update dependency scratch-l10n to v3.14.20220525031553
2022-05-25 11:28:59 +00:00
Renovate Bot 546264af78 chore(deps): update dependency scratch-l10n to v3.14.20220525031553 2022-05-25 05:16:27 +00:00
Karishma Chadha 9304e9e16d Merge pull request #3660 from kchadha/gqm-serialize-broken
Handle errors from loading missing or broken bitmap costumes
2022-05-24 10:22:13 -04:00
renovate[bot] 50f6ccf9a5 Merge pull request #3664 from LLK/renovate/scratch-blocks-0.x
chore(deps): update dependency scratch-blocks to v0.1.0-prerelease.20220524062105
2022-05-24 13:48:39 +00:00