Commit graph

436 commits

Author SHA1 Message Date
Ray Schamp
503de088fe Merge pull request #259 from TheBrokenRail/patch-19
Copy Assets To Playground With Webpack
2016-10-17 09:49:14 -04:00
Ray Schamp
9db0dc1bd0 Merge pull request #277 from rschamp/bettertravis
Update packages after installing
2016-10-17 09:47:10 -04:00
Ray Schamp
95dc6d38b3 Update packages after installing
This is the less hacky way to keep scratch-* packages up to date (and any others in the future).  This is only necessary because we cache the node_modules directory.
2016-10-17 09:38:41 -04:00
Tim Mickel
3bfd755e60 Complete implementation of stop block (#271)
* "Other scripts in stage" sb2

* Complete implementation of "stop" block
2016-10-13 23:00:46 -04:00
Tim Mickel
c45b420115 Fix check for existing hat threads (#269) 2016-10-13 22:14:19 -04:00
TheBrokenRail
ebe8f63232 Fix 2016-10-13 20:01:17 -04:00
Tim Mickel
1e86d48a31 Clicking blocks in the toolbox (#267) 2016-10-13 17:15:49 -04:00
Tim Mickel
dcda82a009 Use default toolbox XML (#265) 2016-10-13 17:05:53 -04:00
Tim Mickel
8c654bbe60 Procedure blocks (#264) 2016-10-13 13:11:26 -04:00
Ray Schamp
c9c2cc560e Merge pull request #263 from dekrain/bug-fix/assets_loc
Fix relative localization for assets
2016-10-13 10:53:24 -04:00
dekrain
91037a261e Fix relative localization for assets 2016-10-13 16:19:42 +02:00
Ray Schamp
b5f6a8d22f Merge pull request #242 from TheBrokenRail/patch-13
Add NPM Script 'build'
2016-10-13 09:35:29 -04:00
TheBrokenRail
476221fc1b change second start to build 2016-10-12 21:00:10 -04:00
TheBrokenRail
1d99efbcd8 Copy Assets To Playground With Webpack 2016-10-12 20:58:03 -04:00
dekrain
49d6bd3b67 Fix new project creation (#256)
* Fix new project creation

* Fix new project creation

* const -> var
2016-10-12 13:56:31 -04:00
Tim Mickel
a7522c7734 Fix data_listcontents block name (#254) 2016-10-11 17:12:19 -04:00
Tim Mickel
5c6d80ab8e Toolbox update Oct 7 (#246)
* Toolbox XML update October 7

* Blocks font CSS
2016-10-07 15:51:03 -04:00
Tim Mickel
da5b70ffd2 Add CONTRIBUTING.md for scratch-vm (#244)
* Add CONTRIBUTING.md for scratch-vm

* Thought through language

* Forum post -> developers link

* paper
2016-10-05 16:37:55 -04:00
Ray Schamp
3476e419b1 Merge pull request #243 from rschamp/github-templates
Add issue and PR templates for contributors
2016-10-05 11:36:54 -04:00
Ray Schamp
b28c67633a Remove Type section 2016-10-05 10:19:25 -04:00
Ray Schamp
2b54366d1c Add issue and PR templates for contributors 2016-10-05 10:00:28 -04:00
Liam
30535d8e6e Implement "distance to" block (#239)
* Implement "distance-to" block

* distance-to in stage should always be 10000
2016-10-04 21:26:59 -04:00
TheBrokenRail
9b07889b3f Fix Stage PNG (#241)
* Fix Stage PNG

* Add New Stage PNG

* Remove Old Stage PNG

* Delete backdrop1.png

* Rename New Stage PNG

* Delete stage.png

* Fix Stage Resolution
2016-10-04 20:38:11 -04:00
TheBrokenRail
cb4a75928e Add NPM Script 'build' 2016-10-04 20:25:06 -04:00
Liam
5871672551 Implement "go to" block (#238)
* Implement "go to" block

* Add a missing semicolon

My text editor doesn't automatically insert them and I'm not used to using
semicolons so much. :(

* Implement go-to-random

* Clean up the go-to-random code a bit

* Add rounding to _random_ picks
2016-10-04 18:19:52 -04:00
Liam
886bcbe3c1 Implement the point-towards block (#235)
* Implement the point-towards block

* Pointing towards a nonexistent sprite should do nothing, not throw an error
2016-10-04 15:20:53 -04:00
Andrew Sliwinski
1f30b175a4 Merge pull request #233 from thisandagain/bugfix/coverage
Add unit test coverage for operator blocks
2016-10-04 14:41:51 -04:00
Andrew Sliwinski
157b6152f5 Address feedback from PR review. GH-103 2016-10-04 14:37:39 -04:00
Andrew Sliwinski
edb109a296 Add code coverage badge to README. Re GH-103 2016-10-03 22:05:45 -04:00
Andrew Sliwinski
3f0650f625 Merge branch 'develop' into bugfix/coverage 2016-10-03 21:48:44 -04:00
Andrew Sliwinski
953c892aab Add unit test coverage for operator blocks. Resolves GH-103 2016-10-03 21:43:31 -04:00
Andrew Sliwinski
85caa46753 Merge pull request #228 from thisandagain/bugfix/coverage
Add unit tests for all utility modules
2016-10-03 21:42:40 -04:00
Andrew Sliwinski
4205d05cdb Address feedback from PR review. GH-103 2016-10-03 18:23:43 -04:00
Tim Mickel
0a66c62f6a Mutations in block representation; an unfeatured procedure call (#212)
* Add scratch3_procedures and no-op for defnoreturn

* Add mutation adapter to parse mutations in CREATE/CHANGE events

* Add mutation-to-XML

* Update spec map for Blockly procedure names

* Placeholder for procedure special cases

* Basic stepping to procedures

* Remove extra case

* Validation for changeBlock
2016-10-03 17:43:24 -04:00
Andrew Sliwinski
8ca6944292 Add unit tests for all utility modules. Re GH-103 2016-10-03 16:34:57 -04:00
Tim Mickel
dd624aea06 Update toolbox for data_list rename (#227) 2016-10-03 11:44:08 -04:00
Ray Schamp
b98577129e Merge pull request #226 from rschamp/scratch-dependencies
Ensure scratch-* dependencies are up to date
2016-10-03 11:38:43 -04:00
Ray Schamp
5b3fe7ee1b Ensure scratch-* dependencies are up to date
With node_modules cached, npm install sees the scratch-* dependencies satisfied (since if any version 0.1.0-prepublish.x satisfies ^0.1.0-prepublish).  So remove these before the install step to ensure the latest version is installed.
2016-10-03 11:35:13 -04:00
Tim Mickel
5728d648b1 Ensure clone.effects is defined on each instance (#225)
* Ensure clone.effects is defined on each instance

* Add regression test for GH-224
2016-10-03 10:16:43 -04:00
Tim Mickel
2226fda19e Implement rotation style (#223) 2016-09-28 17:09:04 -04:00
Tim Mickel
d10ba11c8f Round costume values (#221) 2016-09-28 16:43:12 -04:00
Tim Mickel
a585a08a93 Remove extra calls to updateAllDrawableProperties (#222) 2016-09-28 16:43:04 -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
Ray Schamp
4c80e9a9b0 Use new version format for scratch-* dependencies 2016-09-27 10:23:12 -04:00
Ray Schamp
e31fc19a50 Update version format
-prerelease.[timestamp] is semver friendly. Move SHA info to package.json.
2016-09-27 09:20:55 -04:00
Tim Mickel
2357d63243 Drop useRound option from Cast.toListIndex (#213)
* Drop `useRound` option from `Cast.toListIndex`

* Param fix
2016-09-26 12:01:21 -04:00
Ray Schamp
e4ec9c551f Use most recent version of scratch-* dependencies 2016-09-26 11:47:00 -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
Ray Schamp
e9cb0a5102 Add explanatory comments 2016-09-26 09:42:53 -04:00