Commit Graph

2232 Commits

Author SHA1 Message Date
Sam El-Husseini
4f02ceeba0 Make Blockly options an interface (#3312)
* Make workspace options an interface so it can be extended in the d.ts.
2019-10-22 14:20:26 -04:00
Sam El-Husseini
36d7e4ff8c Suppress workspace comment module not included while Workspace comments are not bundled in. (#3303) 2019-10-22 08:49:17 -04:00
Sam El-Husseini
a9cd25f2a4 Fix 6 warnings related to generators. (#3293) 2019-10-21 22:20:04 -04:00
Beka Westberg
c00ee908e4 Removed positionNewBlock (#3300)
* Removed positionNewBlock
2019-10-21 21:51:04 -04: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
Rachel Fenichel
d48859e338 Fix #3191 2019-10-21 15:35:53 -07:00
Sam El-Husseini
42552b5b22 Fix 6 warnings related to rendering. (#3292) 2019-10-21 17:49:38 -04:00
Neil Fraser
6d4c52fb6f Make finished-loading events be UI events 2019-10-18 02:25:25 -07:00
Sam El-Husseini
19018a5e8e Fix compiler warnings related to XML (#3277)
* Fix 5 warnings.
2019-10-17 17:58:15 -05:00
navilperez
15d37d436c Add dragStart and dragEnd UI events
Add dragStart and dragEnd UI events
2019-10-17 15:35:51 -07:00
Navil Perez
c0784a61e7 Linting Fix 2019-10-17 15:23:10 -07:00
Navil Perez
ce4163c7e4 Fix capitalization in the docstring. 2019-10-17 15:13:26 -07:00
Sam El-Husseini
8eba82b906 Fix 4 misc warnings (#3283) 2019-10-17 16:52:52 -05:00
Sam El-Husseini
a5a4e5161c Fix 11 warnings related to block_svg (#3276)
* Fix 11 warnings related to block_svg
2019-10-17 16:30:48 -05:00
Sam El-Husseini
e07a3f03a9 Fix 14 warnings related to workspace svg (#3273)
* Fix warnings related to workspace svg
2019-10-17 15:06:22 -05:00
Sam El-Husseini
36524a3b4a Only add a hat if there's no output connection or previous connection (#3280)
* Only add a hat if there's no output connection or previous connection
2019-10-17 14:08:06 -05:00
Navil Perez
bde1edff85 Add dragStart and dragEnd UI events 2019-10-17 11:41:31 -07:00
Sam El-Husseini
664cc3d6cd Fix warnings related to number of arguments passed. (#3270) 2019-10-17 11:47:30 -05:00
Sam El-Husseini
526528354f Fix 10 warnings related to visibility (#3275) 2019-10-17 11:46:57 -05:00
Sam El-Husseini
c1c9121fcc Fix jsdoc. @return instead of @returns (#3271)
* Fix jsdoc. @return instead of @returns
2019-10-16 17:01:36 -05:00
Beka Westberg
8407428e8f Reverted scrollbar resize change. (#3274) 2019-10-16 16:54:47 -05:00
Rachel Fenichel
b4b3ae316f Merge pull request #3224 from zochris/variable-exists-phrasing
Rephrase "variable already exists" message
2019-10-16 12:37:15 -06:00
Rachel Fenichel
35e894af13 Fix #1714 2019-10-16 11:53:08 -06:00
Sam El-Husseini
3c2c4677df Fix 55 warnings related to flyouts. (#3211)
* Fix 55 warnings related to flyouts.
2019-10-16 12:13:37 -05: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
Neil Fraser
01b6992efd Normalize to one spelling of color/colour. 2019-10-16 09:46:47 -07:00
Sam El-Husseini
267deceb82 Dropdowndiv positioning (#3212)
* Fix positioning of the dropdown div
2019-10-16 10:20:40 -05:00
Neil Fraser
2eaabd180d Minor cleanup in keyboard nav (#3264)
* Clean cursor code

Some obvious inefficiencies that jumped out while randomly browsing the compiled code.

* Typos

* Multiplying by minus one.
2019-10-16 08:19:37 -05:00
Neil Fraser
013f2714a3 Cleanup aria usage. (#3261)
Use enums instead of arbitrary strings.
Delete unused Aria properties
Add missing requires.
Delete unused code.
2019-10-15 22:43:23 -07:00
Sam El-Husseini
2224bb2a4e More field dispose (#3201)
* Dispose of element references in fields.
* Fewer warnings
2019-10-15 17:56:53 -05:00
Beka Westberg
8f73fdb512 Fixed comments in trashcan. 2019-10-15 13:02:02 -07:00
Beka Westberg
b2a8172720 Fixed disabled blocks in trashcan. 2019-10-15 13:02:02 -07:00
alschmiedt
a9420154a2 Update todos so they are no longer in jsdocs (#3250) (#3257) 2019-10-15 10:14:39 -07:00
alschmiedt
ef859d351d Fix jsdoc syntax (#3246) 2019-10-15 09:28:37 -07:00
Thomas Ballinger
b913295028 restart cursor animation on cursor move (#3226) 2019-10-15 09:01:03 -07:00
RoboErikG
d09b85dc9e Cleanup for #3179 (#3229) 2019-10-14 09:57:38 -07:00
zochris
f26829eb6d Change variable exists message to show casing 2019-10-13 20:39:06 +02:00
zochris
bf7abee679 Rephrase "variable already exists" message
The message now includes the name with casing of the already existing
variable.
2019-10-13 14:39:03 +02:00
Josh Lory
43f9ab6889 Look up notch height from the current renderer (#3217) 2019-10-11 15:30:26 -07:00
Sam El-Husseini
e18dcd1bea bringToFront optimization for large workspaces (#3214)
* bringToFront optimization for large workspaces
2019-10-09 16:08:23 -07:00
Sam El-Husseini
3368a9f713 Revert calling onHide before the animation is complete to avoid double click issues. (#3202) 2019-10-09 11:16:16 -07:00
Sam El-Husseini
4b35320c86 Fix #2811 (#3205) 2019-10-09 10:10:12 -07:00
Rachel Fenichel
e7859db8c7 Merge pull request #3203 from rachel-fenichel/drag_delta
Initialize drag delta to (0,0) and update annotation.
2019-10-08 18:11:14 -07:00
Rachel Fenichel
65cf0c5e98 Initialize drag delta to (0,0) and update annotation.
Remove 12 warnings.
2019-10-08 18:04:05 -07:00
Rachel Fenichel
b9dd13cde0 Fix #3169 (#3199) 2019-10-08 17:29:53 -07:00
Beka Westberg
f4f9a67903 Fixed field editor disposal (#3109)
* Fixed field editor disposal.
2019-10-08 16:48:31 -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
Sam El-Husseini
1d113b5069 Add support for setting the direction in RTL. (#3192) 2019-10-07 17:28:18 -07:00
Rachel Fenichel
a5f19a5660 Merge pull request #3187 from rachel-fenichel/todos
Clean up todos.
2019-10-07 15:08:04 -07:00
alschmiedt
a1b18368f2 Remove dead code from ast node (#3183) 2019-10-07 14:20:37 -07:00