Commit graph

4648 commits

Author SHA1 Message Date
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](fd6b301b5a))
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](b29f07636d))
* initialize stack frame params for all procedures ([20ff75b](20ff75b776))
* **package:** update @vernier/godirect to version 1.4.1 ([089f892](089f892316)), closes [#1915](https://github.com/LLK/scratch-vm/issues/1915)
* **package:** update @vernier/godirect to version 1.5.0 ([e1fe21c](e1fe21cd2a)), closes [#1961](https://github.com/LLK/scratch-vm/issues/1961)
* **package:** update diff-match-patch to version 1.0.4 ([7d32c81](7d32c8107e)), closes [#1552](https://github.com/LLK/scratch-vm/issues/1552)
* **package:** update format-message to version 6.2.0 ([5779a48](5779a48434))
* **package:** update format-message to version 6.2.1 ([c71da28](c71da286c8))
* **package:** update htmlparser2 to version 3.10.0 ([e1fc448](e1fc448493))
* **package:** update scratch-parser to version 4.2.0 ([b1dacd4](b1dacd4b59))
* **package:** update scratch-parser to version 4.3.0 ([a103af8](a103af8bb9))
* **package:** update scratch-parser to version 4.3.1 ([d909ac5](d909ac5391))
* **package:** update scratch-parser to version 4.3.3 ([641c2f3](641c2f398d))
* **package:** update scratch-parser to version 4.3.5 ([6715b2e](6715b2ec34))
* **package:** update scratch-parser to version 4.3.6 ([d354d89](d354d89f97))
* **package:** update scratch-parser to version 5.0.0 ([43ddb7c](43ddb7ce81))
* **package:** update scratch-sb1-converter to version 0.2.2 ([58c9f4e](58c9f4eb3b))
* **package:** update scratch-sb1-converter to version 0.2.5 ([29d229c](29d229c1db))
* **package:** update scratch-sb1-converter to version 0.2.6 ([e4300da](e4300da429))
* **package:** update scratch-sb1-converter to version 0.2.7 ([f64eaa3](f64eaa3329))
* resolve scratch-*/src/index.js for expose-loader ([fda2885](fda288506a))
* use ValidationError to determine if an SB1File error should throw ([a92f339](a92f33960f))
* **util:** Make string comparisons match Flash's, everywhere ([dab78c4](dab78c4f62))

### Features

* Allow switching to specially named backdrops ([341bd8f](341bd8f3d3))
* Implement "point towards random direction" ([306996e](306996e54c))

### Reverts

* Revert "Consistently format text bubbles" ([2a42285](2a42285abe))
* Revert "add SAY_OR_THINK getter" ([7330129](7330129cc6))
* Revert "synth extension" ([dbcbe8b](dbcbe8b94f))
* Revert "lightplay extension stub" ([d1b261d](d1b261d56e))
* Revert "lightplay extension stub" ([7501af4](7501af4c6b))
* Revert "Attempting to fix #1492: WeDo2 use of  should be backwards compatible." ([1f7d9d3](1f7d9d3b67)), closes [#1492](https://github.com/LLK/scratch-vm/issues/1492)
* Revert "Revert #1260, #1258, #1239" ([9afe401](9afe401dca)), 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](d04d6b2c6a))
* Revert "Fix test" ([a586c5d](a586c5d9cd))

### 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