Commit graph

524 commits

Author SHA1 Message Date
tjvr
e3a708aba2 Merge branch 'msimonin-fixColorConversion'
Merges #181
2016-07-14 23:20:30 +01:00
tjvr
8592e8e9fc more fixes 2016-07-14 23:19:32 +01:00
tjvr
5c67e30fdd Rename localValue -> value 2016-07-14 22:58:08 +01:00
msimonin
e0a268a71c second pass on better handling "0" inputs.
M
2016-07-14 22:56:32 +01:00
msimonin
3f438f6590 fix color conversion when value is negative. 2016-07-14 22:56:32 +01:00
tjvr
1db323559b Require shape when recognising reporters/booleans
Fixes #185
2016-07-14 22:49:36 +01:00
tjvr
9c4ea43791 Allow embedded stack blocks again
If curly braces { } don't contain any newlines, then parse as a Block instead
of a Script.

Ref #185
2016-07-14 16:30:26 +01:00
tjvr
2f0b559e97 Fix styles in SVG export
Fixes #175
2016-06-22 16:44:11 +01:00
tjvr
553b6be6c5 Add @cloud for ☁
Fixes #169
2016-06-01 09:02:46 +01:00
tjvr
cc28bb8995 Fix stringify aliases when input is a block
Fixes #174
2016-05-26 13:49:17 +01:00
Tim (blob8108)
6e5ba537d7 Merge pull request #173 from bleush38p/patch-1
Fix literals class for translations
2016-05-24 08:29:42 +01:00
bleush38p
d3b9f9a080 type (isStacK -> isStack)
saw this right above where the other thing was. Not related to this issue but still its own, I would think.

This probably doesn't come up much because, first of all, it's sort of last-resort, so if it's a different kind of input everything's fine, and second, I'm not sure how often stringify is even used (only for the generator? and if so, no Scratch project actually has this stuff in it)
2016-05-23 19:29:27 -05:00
bleush38p
5824f6e36c Fixes #172 2016-05-23 19:04:04 -05:00
tjvr
5677a7b59b Fix crash in fromJSON on empty c mouths
Fixes #171
2016-05-23 22:36:08 +01:00
Tim (blob8108)
777bbe825d Update README.md 2016-05-23 17:34:59 +01:00
tjvr
f1a837958e Cache Label string metrics 2016-05-10 22:53:57 +01:00
tjvr
89ca7ac53c Merge pull request #168 from tjvr/css-scope
Scope CSS to page
2016-05-10 22:49:50 +01:00
tjvr
cd34521b14 Treat tabs as whitespace 2016-05-10 22:48:29 +01:00
tjvr
b2d0f560cc Rename classes to avoid clashes 2016-05-10 01:51:39 +01:00
tjvr
50da8388ac SVG styles aren't actually scoped to SVGs, gosh 2016-05-10 01:47:17 +01:00
tjvr
31cebf4839 sb-measure is always present 2016-05-10 01:44:22 +01:00
tjvr
a81bef2382 Fix getParam argument order 2016-04-29 11:32:56 +01:00
tjvr
84be30e83d Don't include loop arrow when measuring 2016-04-29 00:47:58 +01:00
tjvr
764cc63305 Arguments to else/end shouldn't escape the block
Fix #146
2016-04-29 00:44:47 +01:00
tjvr
efe1064503 Revert "Revert "Case-insensitive block matching""
Well this is hilarious

Fixes #157

This reverts commit 754931194d.
2016-04-29 00:20:31 +01:00
tjvr
c85a11d89e Revert "Don't treat {}-scripts as inputs when hashing"
It turns out this breaks stack rings.

Fixes #158

This reverts commit fb24337fcc.
2016-04-29 00:20:31 +01:00
tjvr
61ca487e58 Fix obscure crash 2016-04-29 00:20:26 +01:00
tjvr
dfd17f90b6 Don't escape lt/gt in Label::stringify() 2016-04-24 21:22:31 +01:00
tjvr
224ab996c7 Use aliases for stringify()
Fix #151
2016-04-24 21:20:11 +01:00
tjvr
5286d7c4c0 Split words in fromJSON
Fixes #119
2016-04-24 21:04:14 +01:00
tjvr
fb24337fcc Don't treat {}-scripts as inputs when hashing 2016-04-24 21:04:05 +01:00
tjvr
a33d236a05 Add empty number-dropdowns
Fixes #152
2016-04-24 20:52:56 +01:00
tjvr
07392c813a Don't allow comments inside reporters
Fixes #153
2016-04-24 20:49:58 +01:00
tjvr
1072d86bd8 Add doIfElse to fromJSON 2016-04-24 20:47:05 +01:00
tjvr
e51c5c334a Stringify color inputs properly 2016-04-24 01:03:25 +01:00
tjvr
8fbe742069 Some default values for Input.fromJSON 2016-04-24 00:55:25 +01:00
tjvr
9130501b8b Revert "Don't include palette in translations"
This reverts commit b758185c42.
2016-04-24 00:06:31 +01:00
tjvr
f32136ee31 Fix "define"
Fixes #118
2016-04-24 00:03:03 +01:00
tjvr
a16dbb2d73 Don't add ::custom when translating define hats 2016-04-23 23:35:34 +01:00
tjvr
83b4efaa0b Fixes for fromJSON with language 2016-04-23 23:26:05 +01:00
tjvr
763cfacfff Translate menu options
For #145
2016-04-23 23:10:48 +01:00
tjvr
9f6a15f985 Translate define hats
For #145
2016-04-23 22:54:48 +01:00
tjvr
bacc8f5a94 Merge branch 'escape'
Fixes #138
2016-04-23 22:50:44 +01:00
tjvr
302814eed3 Fix ellipsis block label 2016-04-23 22:48:19 +01:00
tjvr
b1c28c8a0b Disambiguate pen color blocks 2016-04-23 02:04:44 +01:00
tjvr
641e3fe7a0 Add obsolete reporter "user id" 2016-04-23 02:01:20 +01:00
tjvr
e2d34d3a75 Block::toJSON throws an exception for invalid selectors 2016-04-23 01:55:36 +01:00
tjvr
1b12094381 Add @ syntax for arbitrary icons 2016-04-23 01:49:06 +01:00
tjvr
d19670dd47 Fix that fix (oops) 2016-04-23 01:40:05 +01:00
tjvr
f5ad4f7d3a Fix icons (oops) 2016-04-23 01:38:21 +01:00