Neil Fraser
d1fb3f0480
Fix typo in Blockly Factory.
2019-07-08 13:29:43 -07:00
Neil Fraser
dd6cb19f5d
Backward compatibility check for ‘variableType’
2019-07-08 13:29:43 -07:00
Neil Fraser
52b6ce18a5
Fix unit tests
2019-07-08 13:29:43 -07:00
Neil Fraser
20d4a27f0a
Add namespacing to XML
...
Fixes #1978 .
2019-07-08 13:29:43 -07:00
Neil Fraser
74be35e23d
Rename Blockly.Xml.utils to Blockly.utils.xml
2019-07-08 13:29:43 -07:00
translatewiki.net
880dc4cbef
Localisation updates from https://translatewiki.net .
2019-07-08 20:00:49 +02:00
translatewiki.net
a5892f8e27
Localisation updates from https://translatewiki.net .
2019-07-05 07:00:23 +02:00
alschmiedt
7c57432faf
Merge pull request #2611 from alschmiedt/shadow_fixes
...
Adds fill to svg dark path
2019-07-03 16:08:42 -07:00
alschmiedt
06f31e31c2
Merge pull request #2610 from alschmiedt/procedure_fix
...
Fixes spacing problem in procedure name
2019-07-03 16:08:19 -07:00
alschmiedt
a7ec185c69
Adds fill to svg dark path
2019-07-03 14:10:56 -07:00
alschmiedt
c45be91f7a
Fixes spacing problem in procedure name
2019-07-03 11:40:55 -07:00
alschmiedt
674bc27516
Merge pull request #2609 from alschmiedt/update_templates
...
Update github templates
2019-07-02 16:31:34 -07:00
alschmiedt
878c85acaf
Delete old issue template
2019-07-02 14:19:53 -07:00
alschmiedt
11d368e415
Merge pull request #2607 from alschmiedt/input_number
...
Adds type to FieldNumber editor
2019-07-02 14:10:34 -07:00
alschmiedt
0141c9f51a
Updates issue template
2019-07-02 14:09:29 -07:00
alschmiedt
6a32e196bf
Update github templates
2019-07-02 13:29:50 -07:00
alschmiedt
45387faab7
Adds type to FieldNumber editor
2019-07-02 10:53:45 -07:00
alschmiedt
ef1ecfdd66
Merge pull request #2605 from alschmiedt/headless_theme
...
Fixes theme error for headless workspaces
2019-07-01 16:41:24 -07:00
alschmiedt
dfd393ae41
Remove typo
2019-07-01 16:29:19 -07:00
alschmiedt
e75628bf9d
Properly tear down tests
2019-07-01 14:46:46 -07:00
alschmiedt
13f466cd6f
Adds accessiblity files
2019-07-01 10:50:08 -07:00
alschmiedt
8ef9be2fdf
Fixes theme error for headless workspaces
2019-07-01 10:38:28 -07:00
Rachel Fenichel
a45b0b1d85
Merge pull request #2597 from rachel-fenichel/svg_utils
...
Create svg_utils file
2019-06-28 16:55:39 -07:00
Rachel Fenichel
f2be890f9f
More cleanup
2019-06-28 16:55:04 -07:00
Neil Fraser
d23dc0ae55
Minor cleanup from #2581
2019-06-28 16:47:12 -07:00
Neil Fraser
712576a5b1
Fix IE not unhighlighting
...
This is a rework of PR #2580 .
2019-06-28 16:47:12 -07:00
Rachel Fenichel
2aa1bed83f
Add some spaces
2019-06-28 16:36:59 -07:00
Rachel Fenichel
f1e05b1e68
Lowercase l in comments
2019-06-28 15:09:59 -07:00
Rachel Fenichel
1f82f9d9e2
Create svg_utils file
2019-06-28 15:00:09 -07:00
Neil Fraser
cbd944106c
Strip silly code
...
Sigh.
2019-06-26 13:55:55 -07:00
Neil Fraser
3a77a3d7ce
Define colours of standard categories by hue.
...
Previously they were defined in hex.
This meant that saturation and value were hardcoded.
This also resulted in off-by-one errors (Math was hardcoded as #5C68A6, but is calculated as #5B67A5) which in turn resulted in the colour not being highlighted in the picker.
2019-06-26 13:55:55 -07:00
Neil Fraser
ef28773a52
Enable selection of “no colour” on categories.
...
Near complete rewrite of colour picker for Blockly Factory.
* Drop IE6 support.
* Flip picker as needed so it doesn’t go offscreen.
* Add support for no colour.
* Factor CSS out of JS.
* Provide palette of our standard colours.
2019-06-26 13:55:55 -07:00
Neil Fraser
7e048f2e09
Remove last Closure from Block Factory.
...
Improves UI, but is still pretty clunky. For example there’s still not way to choose “no colour”.
Closes #668 .
2019-06-26 13:55:55 -07:00
alschmiedt
83c5d27143
Merge pull request #2576 from BeksOmega/fixes/ProcedureRenaming
...
Added Procedure Tests
2019-06-26 07:33:28 -07:00
Beka Westberg
b34ca2f93b
Fixed review comments.
2019-06-25 15:08:01 -07:00
Beka Westberg
347519b2a1
Added all block files to mocha index.
2019-06-25 15:08:01 -07:00
Beka Westberg
427291c05d
Added skipping bad variable test.
2019-06-25 15:08:01 -07:00
Beka Westberg
2620a5092e
Added message.js to mocha tests file.
2019-06-25 15:08:01 -07:00
Beka Westberg
942c7c2a38
Deleted inaccurate jsunit procedure tests.
2019-06-25 15:08:01 -07:00
Beka Westberg
85c4e4129f
Added procedure tests.
2019-06-25 15:08:01 -07:00
alschmiedt
a8dc8359c5
Merge pull request #2587 from BeksOmega/fixes/ImagesAndTextDropdown
...
Fixed Rendering of Images & Text Dropdown
2019-06-24 17:19:58 -07:00
alschmiedt
55fc506782
Merge pull request #2577 from BeksOmega/fixes/doValueInvalid
...
Added Sending the Bad Value to doValueInvalid
2019-06-24 16:09:20 -07:00
Beka Westberg
5a4cc7ae12
Removed textToDom Needing <xml> Documents ( #2585 )
...
* Removed textToDom needing <xml> documents.
* Fixed jsdoc.
* Followon changes resulting from lack of XML tag.
* Fix Mocha test.
2019-06-24 15:50:06 -07:00
Beka Westberg
3227223c82
Renamed _newValue param to _invalidValue.
2019-06-24 14:58:33 -07:00
Beka Westberg
27a6593d27
Removed Class Option Check from Text Input fromJson ( #2588 )
...
* Removed class option check from text input fromJson, as text input fields don't accept a class.
* Fixed syntax error.
2019-06-24 13:34:28 -07:00
Beka Westberg
b98eef2ae2
Fixed rendering of images & text dropdown.
2019-06-24 10:20:26 -07:00
translatewiki.net
fd368820ef
Localisation updates from https://translatewiki.net .
2019-06-24 16:41:32 +02:00
Rachel Fenichel
2d334c154f
Merge pull request #2583 from nicholascioli/develop
...
upgrade gulp to v4
2019-06-21 16:07:14 -07:00
Nicholas Cioli
a5717fb333
upgrade gulp to v4
...
As of NodeJS v12, gulp v3 fails to run at all. This small change
should allow for future compatibility with NodeJS.
2019-06-21 17:43:21 -05:00
amber-cd
492d0719d6
Pull Request: Split showContextMenu_ ( #2581 )
...
* Split showContextMenu_
Split showContextMenu_ into generateContextMenu_ and showContextMenu_. This allows for custom Blockly forks to easily extend the context menu options available on all blocks by just doing something like
```
var oldGenerateContextMenu_ = Blockly.BlockSvg.prototype.generateContextMenu_;
Blockly.BlockSvg.prototype.generateContextMenu_ = function() {
var menuOptions = Blockly.BlockSvg.prototype.generateContextMenu_() || [];
// Push other options into menuOptions
return menuOptions;
}
```
Rather than having to modify the core code in such a way as to cause unnecessary maintenance overhead when upgrading Blockly versions.
* Forgot the docblock, sorry
* Oops, missed a few ESLint things
* Update block_svg.js
Updated to be protected rather than private.
2019-06-21 15:14:11 -07:00