68 Commits
Author SHA1 Message Date
Lu Yifei dfae5df416 chore: migrate VM repository metadata to ScCNv5 2026-11-08 14:14:59 +08:00
Muffin e7332fc846 Mozilla Public License 2.0
The GPL family of licenses are not perfect. Notably they are incompatible with
the SIL OFL 1.1 used by the fonts in scratch-render-fonts. In the packager we
'statically link' all of this those fonts into one HTML file. Is that legal?
Seems like you can make an argument that it's not. Who knows. I'm not a lawyer.

MPL 2.0 is a good alternative: It's still copyleft, used by real projects,
backed by a real organization, and GPL compatible.

Before 9a4afe2864 all changes were either by me
or under BSD3c. The only third-party LGPL commit is b6c42081b0
which is trivial if any copyright dispute should arise. Thus we can make this
switch.

Related: https://github.com/TurboWarp/scratch-gui/pull/909
2024-03-15 21:25:37 -05:00
Muffin 9a4afe2864 Open source should stay open source. 2024-02-23 13:42:01 -06:00
Muffin 81a0382e0f merge-upstream: initial merge of upstream/develop
installs & compiles but has test errors

aside from expected merge conflicts, notable changes from upstream:
 - removed husky, commitlint, etc.
 - removed semantic-release etc.
2023-12-22 17:25:21 -06:00
Thomas Weber 84a787af1c Update README 2022-05-22 20:09:59 -05:00
Thomas Weber 4fdc089c50 Relicense TurboWarp/scratch-vm to BSD3C, same as upstream
There are two copyright holders for our modifications to upstream's VM:
 - Me, who obviously is okay with this
 - Geotale, who I spoke to privately and is okay with this
2022-05-09 16:36:37 -05:00
Thomas Weber 4741a47dc0 Update README 2021-12-22 23:27:13 -06:00
Thomas Weber 4e86b44b4c Update README.md 2021-12-13 16:55:24 -06:00
Thomas Weber 5265deaa9b Relicense to LGPL, part 2 2021-06-16 22:33:29 -05:00
Thomas Weber 7228f5cdd0 effectLimits -> miscLimits 2021-03-26 19:15:04 -05:00
Thomas Weber 68bbe2a010 Merge branch 'develop' of https://github.com/llk/scratch-vm into develop 2021-03-25 15:24:32 -05:00
Thomas Weber 51fb2135ac Update README 2021-03-25 15:08:37 -05:00
Thomas Weber d7d331cc54 Make everything GPLv3 2021-03-25 15:04:38 -05:00
DD Liu 358032cd33 Remove greenkeeper lockfile 2021-03-23 17:13:08 -04:00
Thomas Weber 523013bd58 Delist limit APIs from readme as they will be changing a lot 2021-03-20 22:09:54 -05:00
Thomas Weber 2c104c3b6f Allow controlling more limits with runtime options
New options: effectLimits, fencing
New APIs: Runtime.hasLimits, Runtime.setLimits (wrappers around runtimeOptions)
2021-03-20 19:30:21 -05:00
Thomas Weber bcef677c61 Update README 2021-02-28 09:36:07 -06:00
Thomas Weber 1e8fc65bc6 Update readme 2021-02-20 16:10:27 -06:00
Thomas Weber 999a998c53 Document stageWidth, stageHeight 2021-01-30 20:24:40 -06:00
Thomas Weber a2fdb4836e Use compatibility layer for all extension blocks of supported types
The compat-blocks list is now only for standard Scratch blocks.
Extension blocks will now be compiled automatically if they are of a supported type (no c-blocks, for example)
#43
2021-01-25 13:48:16 -06:00
Thomas Weber 536d69ff8b Document RUNTIME_STOPPED event 2021-01-12 12:05:14 -06:00
Thomas Weber caafc0d352 Update README 2021-01-09 20:11:04 -06:00
Thomas Weber e5648a953e execute.js was renamed to jsexecute.js 2020-12-27 11:19:10 -06:00
Thomas Weber 6ce2ecc05b astgen -> irgen
The term AST results in confusion with the actual scratch-vm AST
2020-10-26 11:20:35 -05:00
Thomas Weber 5941d3294c Update README again
Trying to simplify and get rid of unimportant things
2020-10-16 22:38:05 -05:00
Thomas Weber f28215cf13 Update README
Not really proofread, hopefully comprehendable.
2020-10-16 18:15:43 -05:00
Thomas Weber 4a3ff3154c Update readme 2020-07-26 19:30:12 -05:00
Thomas Weber 7e767ad6fd Fix some more bugs
- update readme to be more up-to-date
- fix compatibility layer stack frame handling
- fix broadcasting non-strings
- compile some more blocks
- add some more blocks to the compatibility layer
2020-07-13 19:00:04 -05:00
Thomas Weber ae5ce527b1 Some smaller bug fixes in the compiler
- throw if toString on asNumber, asString, asBoolean
- log compilation errors again
- add motion_setrotationstyle
- fix operator_divide NaN handling
- fix operator_mod second argument
2020-06-25 23:05:06 -05:00
Thomas Weber 73309e9fb1 A whole lot of compiler updates
- fix handling of missing inputs
- fix handling of NaN numbers
- fix color optimization
- events -> event (still empty)
- add control_wait_until
- add data_deleteoflist
- add looks_cleargraphiceffects
- add looks_costumenumbername
- add motion_setx
- add motion_sety
- add motion_changexby
- add motion_changeyby
- add operator_letter_of
- add operator_mod
- add operator_length
- add argument_reporter_boolean
- fix procedure_call default values
- add sensing_keypressed
- add sensing_mousedown
- add sensing_keyoptions
- add pen_changePenColorParamBy
- add pen_setPenColorParamTo
- fix pen size
- add pen_menu_colorParam
2020-06-24 00:29:23 -05:00
Thomas Weber c10a631d2e get some more simple things to sortof work 2020-06-22 16:55:46 -05:00
Thomas Weber 5d0b150753 Add a lot of new opcodes to the compiler
- add operator_and
- add operator_or
- add motion_gotoxy
- add looks_seteffectto
- fix looks_changeeffectby
- add looks_hide
- add looks_show
- add looks_gotofrontback
- add looks_goforwardbackwardlayers
- add looks_setsizeto
- add data_hidevariable
- add data_showvariable
- add control_repeat_until
2020-06-12 17:02:01 -05:00
Thomas Weber 14f4305c85 You can get some very simple scripts to run now
- fix running scripts without a hat
- fix monitors
- compile-time types are here
- add option enableCompiler to _pushThread
- add text
- add control_if
- add data_setvariableto
- add data_changevariableby
- add operator_equals
2020-06-12 16:18:05 -05:00
Thomas Weber 4a93dab4fa What if we compiled the blocks? 2020-06-08 17:59:23 -05:00
Ray Schamp f9708b2046 Update README for current process
The README has gotten a bit out of date and inaccurate. Clarify how to work with scratch-vm in the current state of the project.
2017-06-15 11:26:40 -04:00
spenen 41082a76cd Fixed xml import/export in Playground 2017-04-05 20:23:16 +02:00
Christopher Willis-Ford af77098161 Update playground paths in README.md
A recent change moved the location of the playground source files and
the URL used to access the playground when running the dev server. This
change updates README.md to reflect the new locations.
2017-02-15 15:31:20 -08:00
Ray Schamp 98a12f1388 Replace broken DavidDM badges with Greenkeeper 2017-02-01 16:27:56 -05:00
greenkeeper[bot] 0d38d1d245 docs(readme): add Greenkeeper badge
https://greenkeeper.io/
2017-02-01 15:19:47 +00:00
geppy 4eb7ed6809 Removed reference to StartServerWindows.bat 2016-12-26 23:03:55 -06:00
Ray Schamp 5b36e3cacd Fix dev port number
scratch-www: 8333
scratch-api: 8491
scratch-gui: 8601

Clearly the port should be 8073 for scratch-vm.
2016-11-21 14:25:08 -05:00
Andrew Sliwinski 6ed3f5aaf1 Update README.md 2016-10-27 15:40:24 -04:00
Andrew Sliwinski db9ce36400 Update coverage badge 2016-10-25 09:01:22 -04:00
Ray Schamp bcfb4ea8c9 Add docs for publishing the playground 2016-10-18 12:57:12 -04:00
Ray Schamp 3f4a244cbd Replace Makefile with npm scripts 2016-10-17 09:42:35 -04:00
Andrew Sliwinski edb109a296 Add code coverage badge to README. Re GH-103 2016-10-03 22:05:45 -04:00
Ray Schamp 46a2fe76eb Merge pull request #218 from LLK/publish
Publish to NPM and Github Pages
2016-09-27 10:28:59 -04:00
IAP-Reloaded 96b579a2de Github README url (#217) 2016-09-26 11:24:44 -04:00
Ray Schamp 6b1d2a8eb6 Update dev server to only serve the playground
Now that we don't rely on node_modules, we can update the content base to just `playground` and just look at it from http://localhost:8080/
2016-09-26 10:04:47 -04:00
Tim Mickel 9b4433069e Update README.md 2016-09-14 17:00:17 -04:00