Commit Graph

4414 Commits

Author SHA1 Message Date
Sam El-Husseini
d387841db2 Resolve remaining compiler warnings with visibility issues (#3335) 2019-10-24 19:13:51 -04:00
Sam El-Husseini
bfe62f98ca Dispose makes the types we use inconsistent. Suppress checkTypes in dispose. (#3336) 2019-10-24 15:47:42 -04:00
Sam El-Husseini
649dc116ed Using a HTML canvas for computing the text width (#3000)
* Use a helper HTML canvas element to measure text width for better performance
2019-10-24 13:02:32 -04:00
Sam El-Husseini
6170b77027 Add langfiles build task in gulp (#3331)
* Add build-langfiles to gulp, and add uncompressed + langfiles to build when building all
2019-10-24 11:11:03 -04:00
Sam El-Husseini
06b5bb1945 Might right corner support to common. Making it so there's always a right corner element, square by default. (#3311) 2019-10-23 21:58:43 -04:00
Sam El-Husseini
3d6eb48937 Render a notch after a statement input in zelos (#3326) 2019-10-23 21:58:18 -04:00
Sam El-Husseini
52bef4463c Fix warnings related to connections. (#3306)
* Fix warnings related to connections.
2019-10-23 17:56:52 -04:00
Sam El-Husseini
83e7ebb228 calcdeps doesn't understand requireType, strip it out for the online compile (#3323) 2019-10-23 17:54:12 -04:00
Sam El-Husseini
730dee7aca Fix warnings in procedures. (#3304) 2019-10-23 17:51:24 -04:00
alschmiedt
fdc9074540 Color blind themes (#3322)
* Add themes for deuteranopia, protanopia, and tritanopia
2019-10-23 14:23:37 -07:00
Rachel Fenichel
3c64deceec Merge pull request #3297 from rachel-fenichel/bugfix/3228
Fix #3228 by only using the dark path offset in Geras.
2019-10-23 11:17:09 -07:00
Rachel Fenichel
d11b7228c2 Fix #3228 by only using the dark path offset in Geras. 2019-10-23 11:06:12 -07:00
Sam El-Husseini
ad2c5f69ce Fix for #3313 (#3316)
* Account for output connection with when aligning statement row
2019-10-23 13:07:04 -04:00
Sam El-Husseini
c0c9c0e3d4 Fix scrollbar warnings. (#3310) 2019-10-22 15:52:30 -04:00
Sam El-Husseini
18fea2adb3 Fix 8 warnings related to utils. (#3294) 2019-10-22 14:28:17 -04:00
Sam El-Husseini
90ad0789f6 Fix 11 warnings related to variables and variable_model. (#3278)
* Fix 10 warnings related to variables and variable_model.
2019-10-22 14:26:59 -04:00
Sam El-Husseini
270781113d Fix warnings related to gestures and drag. (#3307)
* Fix warnings related to gestures and drag.
2019-10-22 14:21:00 -04:00
Sam El-Husseini
91717854c0 Fix warnings related to insertion markers. (#3309) 2019-10-22 14:20:42 -04:00
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
alschmiedt
b19e6a5fbf Remove deprectaed use of Blockly.Procedures.NAME_TYPE (#3301) 2019-10-22 04:33:13 -05: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
ff067497fc Merge pull request #3295 from rachel-fenichel/bugfix/3191
Fix #3191
2019-10-21 15:52:06 -07: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
Rachel Fenichel
aeb47c0010 Merge pull request #3289 from rachel-fenichel/release_tasks_3
Release task to bump minor version
2019-10-21 10:52:55 -07:00
Rachel Fenichel
1e2eb6bd60 Review cleanup 2019-10-21 10:46:34 -07:00
translatewiki.net
a58b2d81e0 Localisation updates from https://translatewiki.net. 2019-10-21 16:55:38 +02:00
Neil Fraser
3556f69233 Messages are no longer compiled in. 2019-10-20 08:26:35 -07:00
Rachel Fenichel
e716283191 Revert "3.20191018.0-develop"
This reverts commit ff87c135ee.
2019-10-18 14:26:02 -07:00
Rachel Fenichel
3946b56a26 Add script to bump minor version number
Creates a new branch, bumps, builds, tags, and pushes the new branch and new tag.
2019-10-18 14:24:06 -07:00
Rachel Fenichel
ff87c135ee 3.20191018.0-develop 2019-10-18 10:56:47 -07:00
Rachel Fenichel
f56bed5f50 Merge pull request #3285 from rachel-fenichel/release_tasks_2
Add task to create a release candidate.
2019-10-18 11:37:37 -06:00
Rachel Fenichel
9fd4f8edff Change branch name format 2019-10-18 10:23:55 -07:00
Neil Fraser
6d4c52fb6f Make finished-loading events be UI events 2019-10-18 02:25:25 -07:00
Neil Fraser
8e5797e2bc Add missing utils.global (#3286)
Compile is breaking due to the JS environment sweep.
2019-10-18 02:00:31 -07:00
Sam El-Husseini
19018a5e8e Fix compiler warnings related to XML (#3277)
* Fix 5 warnings.
2019-10-17 17:58:15 -05:00
Rachel Fenichel
5507a1eb88 Add task to create a release candidate. 2019-10-17 15:45:43 -07: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
Neil Fraser
ce02665044 Replace static reserved word list with dynamic scan (#3269)
This change means the list is complete for every environment.  This makes evaling code more safe.  However it also means that code generated on one environment isn't guaranteed to be free of global collisions when executed on another environment (with the exception of the JS Interpreter).

So if you are generating code in Node, and then executing it with eval() in a user's browser a user's program could declare a variable named `location`, assign to it, and the browser will redirect to that URL.  Honestly, that's what you get for evaling untrusted code between users.  Use the JS Interpreter if you are doing anything other than just generating and executing in the same environment.
2019-10-17 11:17:37 -07:00
Sam El-Husseini
664cc3d6cd Fix warnings related to number of arguments passed. (#3270) 2019-10-17 11:47:30 -05:00