Sam El-Husseini
825643f4c3
Updates to the zelos rendering playground ( #3420 )
2019-11-11 13:19:03 -08:00
Neil Fraser
4d25193ead
Add extern for goog. ( #3417 )
...
As of closure-compiler-v20191027.jar the compile now breaks due to a lack of ‘goog’ being defined.
../../temp_core/constants.js:24: ERROR - [JSC_UNDEFINED_VARIABLE] variable goog is undeclared
goog.provide('Blockly.constants');
^^^^
1 error(s), 0 warning(s)
Compiler exit code: 1
Compilation FAIL.
Upgrade closure compiler to v20191027
2019-11-09 08:10:30 -08:00
Sam El-Husseini
fdc50f2cd0
Add the theme name to the injection div ( #3413 )
...
* Set the theme name as a class on the injection div.
2019-11-07 15:19:58 -08:00
Sam El-Husseini
ee09aafd57
[zelos] Add input outlines on the path object. ( #3410 )
...
* Add input outlines on the path object.
2019-11-07 15:15:49 -08:00
Sam El-Husseini
4aadaeb3ab
Add zelos / pxtblockly comparison playground ( #3402 )
...
* Add zelos / pxtblockly comparison tests
2019-11-05 16:52:56 -08:00
Sam El-Husseini
30343c8cf6
Move the theme manager into WorkspaceSvg ( #3400 )
2019-11-05 10:44:51 -08:00
Sam El-Husseini
93755fef53
Treat compiler warnings as errors and run on travis ( #3378 )
...
* Enable compiler warnings as errors and run on travis
2019-10-31 15:49:28 -07:00
Neil Fraser
123f436e04
Add parens around inline assignments ( #3381 )
2019-10-31 15:17:35 -07:00
Sam El-Husseini
91e211e87c
Remove tests that have been converted into mocha ( #3373 )
...
* Remove tests that have been converted into mocha
2019-10-30 17:36:48 -07:00
Rachel Fenichel
207e0ebe7b
Add tests and better validation for block styles
2019-10-30 17:24:03 -07:00
Rachel Fenichel
6f520335ea
Cleanup of colouring code, and move it into path_object.
2019-10-30 14:42:13 -07:00
Beka Westberg
c32c835088
Fixed programmatically added connections not being added to the connection db ( #3318 )
...
* Fixed programmatically added connections not getting added to the connection db.
2019-10-29 15:31:40 -07:00
Sam El-Husseini
e7752e6ea2
Dummy input right alignment ( #3342 )
...
* Fix dummy input alignment in geras.
2019-10-28 16:20:54 -07:00
alschmiedt
cbf867f441
Add keyboard navigation support for multiple workspaces ( #3352 )
...
* Add keyboard navigation support for multiple workspaces
2019-10-28 12:53:51 -07:00
zochris
fa5f256a3f
Fix 'add test variable' button not working ( #3346 )
2019-10-28 09:26:27 -07:00
Sam El-Husseini
52bef4463c
Fix warnings related to connections. ( #3306 )
...
* Fix warnings related to connections.
2019-10-23 17:56:52 -04:00
alschmiedt
fdc9074540
Color blind themes ( #3322 )
...
* Add themes for deuteranopia, protanopia, and tritanopia
2019-10-23 14:23:37 -07:00
Sam El-Husseini
6d8f22f39a
Add a lint plugin to ensure we only use ES5 syntax. ( #3160 )
...
* Add a lint plugin to ensure we only use ES5 only syntax.
2019-10-21 21:26:26 -04:00
Neil Fraser
3556f69233
Messages are no longer compiled in.
2019-10-20 08:26:35 -07:00
Sam El-Husseini
986e965be8
Private/protected visibility cleanup ( #3263 )
...
* Fix a number of private visibility issues
2019-10-16 11:48:09 -05:00
Sam El-Husseini
267deceb82
Dropdowndiv positioning ( #3212 )
...
* Fix positioning of the dropdown div
2019-10-16 10:20:40 -05:00
Sam El-Husseini
e411077b9f
Fix blocks tests ( #3252 )
2019-10-15 17:36:33 -05:00
Beka Westberg
8f73fdb512
Fixed comments in trashcan.
2019-10-15 13:02:02 -07:00
RoboErikG
e62c2a3f6b
Remove multi-line comments to avoid escaping ( #3231 )
...
Fixes #3230 by removing multi-line comments for procedures.
2019-10-14 10:40:22 -07:00
RoboErikG
d09b85dc9e
Cleanup for #3179 ( #3229 )
2019-10-14 09:57:38 -07:00
alschmiedt
cf04a9529b
Fix compilier warnings for keyboard nav ( #3196 )
...
* Fix compilier warnings for keyboard nav
2019-10-08 11:34:39 -07:00
alschmiedt
a1b18368f2
Remove dead code from ast node ( #3183 )
2019-10-07 14:20:37 -07:00
RoboErikG
663809297d
Set correct defaults for Fields ( #3179 )
...
null was being converted to 0 by Number() when it should cause the
default value to be set instead. This updates FieldNumber and
FieldAngle to handle nulls correctly. Also update jsdoc.
Fixes #3177
2019-10-07 11:38:32 -07:00
Sam El-Husseini
2ac4149d98
Misc compiler warnings. ( #3172 )
...
* Fix misc compiler warnings. Use ws.getToolbox() instead of ws.toolbox_
2019-10-07 11:06:56 -07:00
Rachel Fenichel
608ce7b93c
Merge pull request #3133 from BeksOmega/fixes/ConnectionTracking
...
Connection Tracking Pt 3: Changed connections to use 'tracked_' property
2019-10-07 11:05:10 -07:00
Sam El-Husseini
db33e821da
Remove call to setText in playground ( #3168 )
...
* Remove last instance of setText
2019-10-04 15:57:35 -07:00
Sam El-Husseini
d0772ad496
Fix compiler warnings related to fields. ( #3144 )
...
* Fix compiler warnings related to fields.
2019-10-03 15:58:46 -07:00
Sam El-Husseini
e92bae1dda
Download screenshot in playground ( #3148 )
...
* Add an option on the playground to download a screenshot of the blocks on the workspace.
2019-10-03 14:35:12 -07:00
Neil Fraser
b46a4fe286
Bring our license format up to date ( #3127 )
...
* Google changed from an Inc to an LLC.
This happened back in 2017 but we didn’t notice. Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.
* Remove project description/titles from licenses
This is no longer part of Google’s header requirements. Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).
* License no longer requires URL.
* Fix license regexps.
2019-10-02 14:46:56 -07:00
Sam El-Husseini
31a2544989
Rename sample renderer to minimalist ( #3137 )
...
* Rename sample to minimalist
2019-10-02 14:16:36 -07:00
Sam El-Husseini
d28e897e47
Add a sample renderer instance. ( #3136 )
...
* Add a sample renderer instance.
2019-10-02 13:22:54 -07:00
Beka Westberg
f217320154
Unskipped tests.
2019-10-01 19:27:47 -07:00
Sam El-Husseini
d7a7c7b4d5
Support XML serialization in Node.js ( #3126 )
...
* Support XML serialization in Node.js
2019-10-01 14:40:35 -07:00
Beka Westberg
afbb2cca1e
Moved all database related code out of headless and into rendered.
2019-09-27 18:00:06 -07:00
Beka Westberg
d5e9e4c3b4
Removed TODO.
2019-09-27 16:38:37 -07:00
Beka Westberg
1baf7d1dcf
Added a bunch of connection related tests.
2019-09-27 15:56:29 -07:00
alschmiedt
468b673b73
Fix bugs ( #3108 )
...
* Fix various bugs around keyboard nav
2019-09-27 14:34:28 -07:00
Sam El-Husseini
edf3d0cfe2
Don't require everything in uncompressed. ( #3120 )
...
* Don't require everything in uncompressed.
2019-09-27 14:26:10 -07:00
Neil Fraser
27f554c647
Strip out unused Closure functions ( #3121 )
...
No functional changes.
2019-09-27 13:30:53 -07:00
Neil Fraser
b701475984
Simplify trashcan code ( #3110 )
...
Also delete unused props in CSS.
2019-09-27 11:43:56 -07:00
Monica Kozbial
328f2c3373
Removing deprecated renderMode reference in playground. ( #3107 )
2019-09-27 11:12:49 -07:00
Monica Kozbial
f4136fdc2a
Adding test and updating TODO. ( #3102 )
...
* Adding test and updating TODO.
* changing bug number referenced in TODO
2019-09-27 11:12:37 -07:00
Sam El-Husseini
6a771a8636
Remove old node module, update tests to use the npm one. ( #3111 )
2019-09-27 10:32:52 -07:00
Sam El-Husseini
870824bc3e
Workspace theme ( #3093 )
...
* Move the theme object so it's on the workspace.
* Add support for subscribing UI elements to theme component styles and changes.
2019-09-26 16:52:17 -07:00
alschmiedt
b587ad71c5
Fix changing category color in multi playground ( #3103 )
2019-09-26 16:05:47 -07:00