Sam El-Husseini
55997784ca
Move blockStyles into constants ( #3485 )
...
* Move blockStyles into constants.
2019-12-06 10:51:36 -08:00
Sam El-Husseini
4eb791bd70
[zelos] Add right connection shape element. ( #3488 )
...
* Add right connection shape element
2019-12-05 17:51:39 -08:00
Sam El-Husseini
9fc995425a
Support adjusting dropdowndiv default colours through CSS ( #3469 )
...
* Support setting the dropdown theme default colours through CSS. Update dark theme.
2019-11-25 14:18:28 -08:00
alschmiedt
ffb124c58d
Move basic cursor ( #3460 )
...
* Move basic cursor
2019-11-22 16:02:13 -08:00
Sam El-Husseini
329a21c572
Add theme and renderer classnames onto the widget and dropdown div. ( #3456 )
...
* Add theme and renderer classnames onto the widget and dropdown div.
2019-11-20 11:07:39 -08:00
Sam El-Husseini
70c24cf94e
CSS in renderers ( #3446 )
...
* Have each renderer declare some CSS that is specific to the renderer.
2019-11-18 16:14:19 -08:00
Sam El-Husseini
139382e009
Field textinput pixel perfect input ( #3443 )
...
* Fix sizing of text input field in zelos, pixel perfect input in other browsers
2019-11-14 16:13:22 -08:00
Sam El-Husseini
d8476306f4
Fix up more zelos spacing ( #3445 )
...
* Fix up more of zelos spacing
2019-11-14 16:04:46 -08:00
Sam El-Husseini
2dea7038d5
Moves field layout constants into the renderer ( #3437 )
...
* Add field constants into renderer constants
2019-11-13 16:41:35 -08:00
Rachel Fenichel
939bafddd8
Merge branch 'develop' into single_field_blocks
2019-11-12 11:52:03 -08:00
Sam El-Husseini
95f2b232b9
Field constants ( #3423 )
...
* Move field text sizing constants to renderer constants
2019-11-11 16:13:50 -08:00
Rachel Fenichel
5f4a308a40
Full-block editors for single-field reporters.
2019-11-11 14:32:31 -08:00
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