Commit graph

299 commits

Author SHA1 Message Date
Andrew Sliwinski
7055d1e95a
Merge pull request #33 from thisandagain/tests
[WIP] Add initial test suite
2019-05-24 12:11:33 -04:00
Karishma Chadha
93aa06c985
Merge pull request #35 from mzgoddard/bump-text-encoding
fix: update to the latest text-encoding
2019-02-15 10:02:11 -05:00
Michael "Z" Goddard
b81838a669
fix: update to the latest text-encoding 2019-02-06 12:35:32 -05:00
Karishma Chadha
e7ff713094
Merge pull request #34 from kchadha/fix-minification-issue
fix(json-generator): fix issue with blocks referencing stage
2019-02-01 10:04:26 -05:00
Karishma Chadha
b0fd92a705 fix(json-generator): fix issue with blocks referencing stage
blocks referencing stage weren't getting imported correctly in production code, preventing projects
that used them from loading at all (BSOD)

resolves #31
2019-01-31 16:26:36 -05:00
Andrew Sliwinski
ed5cc3f83e test: add initial test suite 2018-12-26 16:30:26 -05:00
Karishma Chadha
4d9e6a966a
Merge pull request #32 from kchadha/fix-mouse-edge-refs
fix: resolve issues with blocks referencing mouse, edge, and stage
2018-12-26 09:29:31 -05:00
Karishma Chadha
c537ca618b fix: resolve issues with blocks referencing mouse, edge, and stage
resolves #1 and resolves #31
2018-12-25 12:55:06 -05:00
Karishma Chadha
89ec324122
Merge pull request #29 from kchadha/fix-sprite-z-index
fix: reverse order of stage's children to reflect sb2 z-index
2018-12-21 14:17:58 -05:00
Karishma Chadha
6015419817
Merge pull request #30 from kchadha/fix-sound-md5s
fix: fix sound md5s in generated sb2 json
2018-12-21 14:04:57 -05:00
Karishma Chadha
243a53f5da fix: fix sound md5s in generated sb2 json
This fixes an issue where the md5 in the sb2 json was not matching the md5 from the assets server.
This fix avoids encoding the sound data as a wav twice.
2018-12-21 13:56:27 -05:00
Karishma Chadha
7796ae2a65 fix: reverse order of stage's children to reflect sb2 z-index
fixes #5
2018-12-21 10:37:11 -05:00
Karishma Chadha
a08e8a1385
Merge pull request #28 from kchadha/real-md5s
fix(json-generator): use real md5s in produced sb2 json
2018-12-20 21:11:43 -05:00
Karishma Chadha
45ada26cb5 fix(json-generator): use real md5s in produced sb2 json
project validation was failing when trying to save a project originally from 1.4 as an sb3 because
the md5s in the produced sb2 file were not of the right format
2018-12-20 17:52:58 -05:00
Karishma Chadha
7cbcb2fa24
Merge pull request #26 from mzgoddard/src-index-browser-entry
Remove src/index.js exports maintenance burden
2018-12-20 12:51:45 -05:00
Michael "Z" Goddard
8141e9f943
fix: remove src/index.js exports maintenance burden 2018-12-20 12:43:08 -05:00
Karishma Chadha
246c59b823
Merge pull request #25 from kchadha/run-semantic-release-on-develop
ci(semver): configure semantic-release to run from develop
2018-12-20 12:04:50 -05:00
Karishma Chadha
1b8b82e4cc ci(semver): configure semantic-release to run from develop 2018-12-20 12:02:24 -05:00
Karishma Chadha
2d07b4b113
Merge pull request #24 from kchadha/fix-semantic-release
ci(semver): change deploy provider to script to run semantic-release
2018-12-20 11:51:42 -05:00
Karishma Chadha
86fefb660b ci(semver): change deploy provider to script to run semantic-release 2018-12-20 11:37:55 -05:00
Karishma Chadha
a538696ea6
Merge pull request #23 from kchadha/run-deploy-only-once
ci(deploy): run deploy only once
2018-12-20 10:59:56 -05:00
Karishma Chadha
d0a7260d17 ci(deploy): run deploy only once 2018-12-20 10:54:16 -05:00
Karishma Chadha
5aa954e57f
Merge pull request #22 from kchadha/update-package-version
chore(semver): update package version in package.json
2018-12-20 10:35:38 -05:00
Karishma Chadha
80fc1f80eb chore(semver): update package version in package.json 2018-12-20 10:29:46 -05:00
Karishma Chadha
6a8cac3829
Merge pull request #21 from mzgoddard/export-assert-error
feat: export AssertionError and ValidationError
2018-12-20 09:50:27 -05:00
Karishma Chadha
6641a44a95
Merge pull request #20 from mzgoddard/npm-build
fix: set playground/main.js as main entry point
2018-12-20 09:44:20 -05:00
Michael "Z" Goddard
e63d2abffc
fix: set playground/main.js as main entry point
- Include playground/*.js in npm deploy
- Exclude playground/docs
2018-12-19 20:22:33 -05:00
Michael "Z" Goddard
9231957791
feat: export AssertionError and ValidationError
Add ValidationError to help distinguish between unrecoverable errors
while decoding an `.sb` file and encoding to Scratch 2 data.

Export AssertionError and ValidationError so users of the converter can
know when an error is from validating the Scratch 1 file (as in it
likely is not an Scratch 1 file) or from making sure the Scratch 1 file
data matches expected ranges (like not making memory buffers that are
too big).
2018-12-19 19:50:15 -05:00
Karishma Chadha
22989c084f
Merge pull request #19 from kchadha/configure-semantic-release
Configure travis build and semantic release
2018-12-19 17:33:45 -05:00
Karishma Chadha
2d556ed9cd ci(travis): remove unnecessary travis config flag 2018-12-19 17:26:43 -05:00
Karishma Chadha
1f3a2814f9 ci(travis): remove extra lint step
npm run lint already runs as part of the test step
2018-12-19 16:18:19 -05:00
Karishma Chadha
d9518eef54 ci(travis and semver): configure travis build and semantic release 2018-12-19 16:06:57 -05:00
Michael "Z" Goddard
165291723b
Merge pull request #18 from mzgoddard/docs
Docs
2018-12-18 17:17:46 -05:00
Michael "Z" Goddard
3301550a8f
docs 2018-12-18 15:59:26 -05:00
Michael "Z" Goddard
cbb0b8e321
Merge pull request #17 from mzgoddard/to-sb2
convert .sb data into .sb2 json, pngs, and wavs
2018-12-18 15:58:24 -05:00
Michael "Z" Goddard
565df73eed
convert .sb data into .sb2 json, pngs, and wavs 2018-12-18 13:40:34 -05:00
Michael "Z" Goddard
194aa04bc9
Merge pull request #12 from mzgoddard/squeak-assets
Convert squeak bitmaps and audio samples to uncompressed png and wav files
2018-12-17 14:53:03 -05:00
Andrew Sliwinski
424931f4c0
Update "author" information in package.json 2018-12-13 14:02:47 -05:00
Andrew Sliwinski
a8e32ffbd9
Update LICENSE 2018-12-13 14:02:12 -05:00
Michael "Z" Goddard
82a3e97ddc
decode squeak assets and create png and wav previews 2018-12-12 11:47:32 -05:00
Michael "Z" Goddard
e510573f5f
Merge pull request #11 from mzgoddard/squeak-types
Collect Fields into Field Objects
2018-12-12 11:45:30 -05:00
Michael "Z" Goddard
52343cdaf4
collect Fields into FieldObjects and dereference links 2018-12-11 13:08:52 -05:00
Michael "Z" Goddard
4792492668
Merge pull request #9 from mzgoddard/squeak-fields
Decode .sb fields in to header blocks and tokenized values called Fields
2018-12-11 13:06:40 -05:00
Michael "Z" Goddard
61a611b979
decode and preview individual fields in .sb files 2018-12-10 12:49:15 -05:00
Michael "Z" Goddard
c999f2bc31
Merge pull request #7 from mzgoddard/dot-files
Initialize project derived from scratch-vm
2018-12-05 14:30:08 -05:00
Michael "Z" Goddard
a4added08b
initialize dot files derived from scratch-vm 2018-12-05 13:58:36 -05:00
Andrew Sliwinski
4a8d3f2f88
Merge pull request #8 from mzgoddard/license
Add LICENSE and TRADEMARK
2018-12-04 15:48:10 -05:00
Michael "Z" Goddard
8887ad1d78
add LICENSE and TRADEMARK 2018-12-04 15:44:40 -05:00
Michael "Z" Goddard
03d147992a
initialize with .gitignore derived from scratch-vm 2018-12-04 15:36:38 -05:00