Andrew Sliwinski
dfc6614a5b
Build out integration test SB2 files
2016-12-23 21:08:13 -05:00
Andrew Sliwinski
b8af7c0723
Add minimal integration tests
2016-12-23 14:09:35 -05:00
Andrew Sliwinski
4709cae4b7
Basic integration (end-to-end) testing for default project
2016-12-23 10:39:19 -05:00
Ray Schamp
2ae9dd28b9
Merge pull request #357 from rschamp/travis-node-stable
...
Fix "stable" specifier for Travis
2016-12-21 09:23:07 -05:00
Ray Schamp
2569baaa59
Fix "stable" specifier for Travis
...
This shorthand has become unrecognized, so match the docs suggestion of "node" for the most recent stable release.
2016-12-21 09:20:18 -05:00
Ray Schamp
a55a422a3e
Merge pull request #353 from rschamp/feature/sprite-info
...
Report costume data in sprite info reports and targetsUpdate
2016-12-09 09:43:01 -05:00
Ray Schamp
e9da046969
Report full sprite info in targetsUpdate
...
We need more than just the name for the initial render, so send everything consistent with sprite info reports.
2016-12-07 17:11:08 -05:00
Ray Schamp
adaf2df743
Emit sprite info report for all sprites
...
This allows costume data to reach listeners even when the sprite isn't the editing target.
Filter out non-editing target reports in the playground to match previous behavior.
2016-11-30 13:21:00 -05:00
Ray Schamp
ce17fdbd30
Include costume data in sprite info reports
...
Also emit the report on all costume changes
2016-11-30 13:19:49 -05:00
Ray Schamp
3989959ebf
Merge pull request #348 from rschamp/feature/flag-glows
...
Add PROJECT_RUN_START/STOP events
2016-11-28 11:41:34 -05:00
Ray Schamp
d00cdd6b2c
Account for done threads on threadCount update
...
Also rename inactiveThreads -> doneThreads, since this describes them better. They are the threads that have completed in the step.
2016-11-28 10:49:05 -05:00
Ray Schamp
0003b294cb
Lint
2016-11-24 10:36:30 -05:00
Ray Schamp
55ac7e269c
Add PROJECT_RUN_START/STOP events
...
These events signal when any threads are running or when all threads have stopped running. This maps to whether the green flag or the stop button should be illuminated in the GUI.
2016-11-23 15:47:49 -05:00
Ray Schamp
2ff719f2ba
Fix consistency of existing emits
2016-11-23 15:43:05 -05:00
Ray Schamp
9859c3d91a
Merge pull request #335 from rschamp/feature/port
...
Fix dev port number
2016-11-21 14:32:44 -05: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
Tim Mickel
0994d3f22b
Keep min and max scale in relative bounds as in Scratch 2.0 ( #333 )
2016-11-14 12:32:45 -05:00
Tim Mickel
a767c5ec79
Keep min and max scale in relative bounds as in Scratch 2.0
2016-11-14 12:20:29 -05:00
Tim Mickel
4deee071b2
Don't copy threads in step; stable restartThread ( #331 )
2016-11-10 15:05:49 -05:00
Ray Schamp
867c08b495
Include dotfiles in gh-pages, so .nojekyll works
2016-11-10 14:31:45 -05:00
Ray Schamp
2c3e4536eb
Merge pull request #316 from tmickel/feature/remove-empty-project
...
Remove empty project
2016-11-10 12:56:31 -05:00
Ray Schamp
084148e353
Fix path to .nojekyll
...
The path on scratch-gui which this was copied from is different than the one for scratch-vm.
2016-11-09 13:41:57 -05:00
Tim Mickel
b99f089ae7
Fix #327 , "switch costume to [next/previous]" ( #330 )
2016-11-09 11:22:17 -05:00
Tim Mickel
f5ee6a7e58
Prevent gh-pages from being processed with Jekyll
...
Thanks @rschamp
2016-11-09 10:50:32 -05:00
Tim Mickel
16c405d559
Remove assets copy plugin
2016-10-31 10:41:16 -04:00
Tim Mickel
f235cb47e6
Merge remote-tracking branch 'LLK/develop' into feature/remove-empty-project
...
# Conflicts:
# src/index.js
2016-10-31 10:39:36 -04:00
Andrew Sliwinski
6ed3f5aaf1
Update README.md
2016-10-27 15:40:24 -04:00
Tim Mickel
0ede7e6ca1
Rename and delete sprites ( #319 )
...
* Add function to rename sprites
* Add delete sprite function
* Add `isSprite` helper and duplicate check for rename
2016-10-26 13:27:24 -04:00
Tim Mickel
56ef01745f
Implement sprite info emitting and posting ( #320 )
2016-10-26 13:27:12 -04:00
Tim Mickel
1dc4aaa2d7
Remove rAF usage and inline into _step ( #318 )
2016-10-26 11:32:15 -04:00
Tim Mickel
2f0ce7137c
Rename Clone -> RenderedTarget ( #317 )
2016-10-26 11:19:43 -04:00
Tim Mickel
6e9b3f262c
Divide rotation center by bitmap resolution ( #309 )
2016-10-26 10:38:24 -04:00
Tim Mickel
d75f1c5965
Remove empty project
2016-10-26 10:30:16 -04:00
Tim Mickel
cf20ca1add
Fix #313 (block specs in shadow) ( #315 )
2016-10-26 10:26:56 -04:00
Tim Mickel
28a0831e8d
Fix 1-1 in daysSince2000
2016-10-26 10:26:03 -04:00
Tim Mickel
5103cfb853
Address #299 and #300 ( #314 )
...
* Place clones behind sprite
* Disallow stage from cloning itself
2016-10-26 10:06:58 -04:00
Andrew Sliwinski
db9ce36400
Update coverage badge
2016-10-25 09:01:22 -04:00
Liam
f75577bcbe
Implement '(attribute) of' sensing block ( #311 )
...
* Implement '(attribute) of' sensing block
* Remove unused util parameter
2016-10-24 20:37:27 -04:00
Andrew Sliwinski
e35a46fdf1
Merge pull request #310 from thisandagain/bugfix/coverage
...
Improve Test Coverage
2016-10-24 15:56:04 -04:00
Andrew Sliwinski
1b4a1ca1bc
Resolve merge conflicts
2016-10-24 15:53:42 -04:00
Ray Schamp
595be5c193
Merge pull request #298 from rschamp/scratch-lint
...
Use shared lint config: eslint-config-scratch
2016-10-24 15:43:31 -04:00
Andrew Sliwinski
153df22918
Address feedback from PR review
2016-10-24 15:16:06 -04:00
Andrew Sliwinski
5b73ffa66c
Add minimal test coverage for control blocks
2016-10-24 14:38:24 -04:00
Ray Schamp
659014b45f
Fix typo
2016-10-24 14:07:38 -04:00
Ray Schamp
d2a0e6fa2d
Disable no-useless-call in case of behavior change
2016-10-24 13:01:57 -04:00
Ray Schamp
22bf947ddb
Revert no-lonely-if
2016-10-24 13:01:41 -04:00
Andrew Sliwinski
50b896e935
Unify integration and unit tests to resolve issue with coverage reporting
2016-10-24 12:04:22 -04:00
Andrew Sliwinski
279a9560af
Resolve JSDoc lint errors
2016-10-24 12:04:06 -04:00
Andrew Sliwinski
8b87b36ed3
Resolve race condition with the clock tests
2016-10-24 12:03:43 -04:00
Andrew Sliwinski
49d7ad8564
Add coverage/* to eslintignore
2016-10-24 11:58:38 -04:00