Commit graph

66 commits

Author SHA1 Message Date
Chad Walker
4f91e55365 fix pen stroke coloring
- use >>> to coerce negative numbers into 32-bit ints
2014-09-16 00:53:59 -05:00
Chad Walker
12fd18f9f4 mostly remove the svg onClick hack
- chrome no longer throws a security warning when trying to read pixel
  data on a canvas after drawing *any* svg; only svgs with a <foreignObject>
  tag in them
- Standard Safari is still an old enough WebKit that it has this problem,
  but WebKit-nightly (SVN r173347) does not.
- instead of the blanket check, just try it and catch errors
2014-09-06 02:35:11 -05:00
Tim Mickel
318f5833bf Merge pull request from ScottLogic/maths-fix
Adds floor, ceiling math functions
2014-09-05 16:04:56 -04:00
Tim Mickel
1b96a42b69 Merge pull request from chrisprice/img-cross-origin
Add crossOrigin attribute to imgs to prevent canvas tainted errors
2014-09-05 15:11:24 -04:00
William Ferguson
e57c4ec1f2 Fix: PID 24976765 Issue https://github.com/WPFerg/scratch-html5/issues/16 2014-07-25 09:25:07 +01:00
Chris Price
3c926be05c Fix typo in anonymous 2014-06-01 09:20:19 +01:00
Nathan Dinsmore
968baec89f Fixed adding touch detection canvas to document 2014-05-30 18:35:03 -04:00
Chris Price
43e905b8d8 Add crossOrigin attribute to imgs to prevent canvas tainted errors 2014-05-20 16:29:34 +01:00
Shane M. Clements
fd8a980f42 Now using the live SWF for comparison. No longer using the php proxy for loading project and asset data since the site added CORS headers. 2014-05-12 19:54:29 +00:00
Shane M. Clements
28cab5b782 Merge pull request from Tomguin/master
Fix Primative Maths functions
2014-05-12 13:00:04 -06:00
Tom Keeble
89471364ae Fix Maths functions 2014-05-10 10:26:30 +01:00
Nathan Dinsmore
993d10aaad Fixed subdomains 2014-05-05 08:39:44 -04:00
Andrew Sliwinski
aade0b4121 Merge from upstream 2014-04-10 12:25:43 -07:00
Andrew Sliwinski
a9b4a6d731 Restore implicit type conversion in reporter 2014-04-10 11:34:01 -07:00
Andrew Sliwinski
b301a2f8b9 Allow implicit type conversion. 2014-04-09 19:26:25 -07:00
Andrew Sliwinski
586f29a285 Minor formatting and type casting adjustment to make codebase internally consistent 2014-04-09 01:17:50 -07:00
Lukas Prokop
4b7fe36066 Fix DST issue in SensingPrims.primTimestamp. 2014-03-21 19:54:59 +01:00
Brian Pilati
6e6524e481 updates to elevate my code to scratch standards 2014-03-10 21:04:56 -06:00
Brian Pilati
b6e9ecf0b5 oops forgot to delete an unneeded method 2014-03-09 12:00:49 -06:00
Brian Pilati
e59b279be1 updates to finish doAsk 2014-03-09 11:59:38 -06:00
Brian Pilati
6f54f52f3c Added functionality to hide the doAsk prompt on a stopAll call with tests 2014-03-08 09:41:01 -07:00
Brian Pilati
1beed456cc updates to add "ask" functionality 2014-03-08 00:46:59 -07:00
Brian Pilati
051e1e4778 bringing the Scratch html5 project under test 2014-03-07 10:47:06 -07:00
Shane M. Clements
5f6195177a Fixed opcode debugging for arguments 2014-02-20 10:55:02 -07:00
Nathan Dinsmore
1112081a4f Fixed mouse events 2014-02-19 22:53:32 -05:00
Nathan Dinsmore
489a212fee Fixed
Modulo now behaves exactly like Scratch 1.4 and passes http://scratch.mit.edu/projects/13839488/
2013-12-19 15:11:02 -05:00
Nathan Dinsmore
2db0268305 Fixed resetting filters 2013-11-16 15:44:00 -05:00
Nathan Dinsmore
5cacaa8e1e Fixed focus outline on project ID field 2013-11-16 01:12:46 -05:00
Nathan Dinsmore
0e062e7669 Merge github.com:djdolphin/scratch-html5 into test
Also improved filter performance, fixed edge cases, and implemented stage filters for color, brightness, and ghost.

Conflicts:
	js/Runtime.js
	js/Sprite.js
    js/primitives/LooksPrims.js

Tested with:
	http://scratch.mit.edu/projects/14315832/
2013-11-14 23:46:19 -05:00
Nathan Dinsmore
e74d03cb97 Fixed timer precision 2013-11-14 23:12:36 -05:00
Nathan Dinsmore
6c31987bbf Removed toFixed 2013-11-14 23:04:00 -05:00
Nathan Dinsmore
5c204b3774 Changed watcher behavior to be consistent with Flash player
Tested with:
  http://scratch.mit.edu/projects/14315470/
2013-11-14 23:02:16 -05:00
Nathan Dinsmore
07415badbe Merge branch 'master' of github.com:MathWizz/scratch-html5 into test
Conflicts:
	js/Interpreter.js
	js/primitives/LooksPrims.js
	js/primitives/MotionAndPenPrims.js
	js/primitives/Primitives.js
	js/primitives/SoundPrims.js
	js/primitives/VarListPrims.js

Tested with:
  http://scratch.mit.edu/projects/13841687/
  http://scratch.mit.edu/projects/2192048/
2013-11-14 22:27:52 -05:00
Nathan Dinsmore
c4b2652c12 Updated theme to be more like the Flash player
Also:
- The project input field now allows pasting of URLs
- The overlay cannot be clicked while the project is loading
2013-11-14 20:12:42 -05:00
djdolphin
9f98f7ffb8 Fixed mistake in code 2013-11-05 20:59:48 -05:00
Ivan Pedrazas
a206f6ef86 Fixed the error 'createGainNode is not a function' with Firefox. createGainNode has been replaced with createGain 2013-11-05 23:00:19 +00:00
Hardmath123
a0c414dbac Fixed conflicts, ready to merge. 2013-11-04 20:18:47 -08:00
Hardmath123
2786143669 Fixed clicking bug and added changes to the COMPARE page. 2013-11-04 18:52:33 -08:00
Shane M. Clements
fd3aa5a679 Merge pull request from Scimonster/list-watchers
List watchers
2013-11-04 14:39:56 -08:00
Scimonster
d0b9f61494 Some list watcher style changes. 2013-11-04 23:06:54 +02:00
Scimonster
01c35969d0 Add show/hide list blocks, fix list reporters, and fix show/hide var (issue was with multiple sprites having same local variable name). 2013-11-04 22:28:23 +02:00
MathWizz
2bc7a4afc0 Fixed Interpreter.boolarg incorrectly checking strings 2013-11-04 12:35:43 -06:00
Shane M. Clements
374c3ccf19 Fixed look of the green flag over the HTML5 player. Moved some styles into compare.css from compare.html. Implemented debug logs for Javascript and Actionscript to compare the operation of both virtual machines. Moved start and stop buttons above the players. 2013-11-04 06:11:05 +00:00
Scimonster
ba40cd3396 Merge branch 'LLK/master' 2013-11-03 18:01:50 +02:00
Scimonster
2d07f95c55 Fixed scrolling. 2013-11-03 17:47:32 +02:00
djdolphin
c40c1b4027 Removed evil evals
Filters now reset when the stop button is clicked.
2013-11-03 07:10:45 -05:00
djdolphin
64535641fc Fixed Safari Bug 2013-11-02 18:50:26 -04:00
djdolphin
fc0e2f4218 Delete .DS_Store 2013-11-02 18:21:31 -04:00
djdolphin
9177ecfe9b Delete .DS_Store 2013-11-02 18:21:24 -04:00
djdolphin
422da2fd87 Added color and brightness effects 2013-11-02 18:16:18 -04:00