Commit Graph

1745 Commits

Author SHA1 Message Date
Rachel Fenichel
c3eb0ed3c4 Merge pull request #2690 from rachel-fenichel/border_rect_default_height
Define BORDER_RECT_DEFAULT_HEIGHT constant
2019-07-23 16:21:10 -07:00
Rachel Fenichel
3a88890a65 Merge pull request #2688 from rachel-fenichel/block_rendering_namespace
Block rendering namespace
2019-07-23 16:20:51 -07:00
Rachel Fenichel
3f0b51c7b5 Merge pull request #2686 from rachel-fenichel/svgPaths
Paths->svgPaths
2019-07-23 16:18:28 -07:00
Rachel Fenichel
24866deae9 Use BORDER_RECT_DEFAULT_HEIGHT constant 2019-07-23 13:38:28 -07:00
Rachel Fenichel
71ef4b86b8 Merge pull request #2670 from BeksOmega/fixes/RemoveChangeListener
Removed Useless Text Input Workspace Change Listener.
2019-07-23 12:56:32 -07:00
Rachel Fenichel
e523943ee9 Merge pull request #2615 from BeksOmega/fixes/Procedures
Fixed Procedure Empty Names & Procedure Parameters
2019-07-23 11:21:22 -07:00
Rachel Fenichel
e599ec2abe Create block_rendering file and move render definition there 2019-07-23 11:06:36 -07:00
Rachel Fenichel
b9bfc37fd4 Rename Blockly.BlockRendering to Blockly.blockRendering 2019-07-23 10:58:24 -07:00
Rachel Fenichel
134b064282 Paths->svgPaths 2019-07-23 10:51:18 -07:00
alschmiedt
698375ac26 Merge pull request #2652 from alschmiedt/base_keyboard
Add initial keyboard navigation files
2019-07-22 16:50:48 -07:00
Rachel Fenichel
b5c75ff24d Merge pull request #2651 from rachel-fenichel/field_corrected_sizes
Add getCorrectedSize functions to fields
2019-07-22 16:45:13 -07:00
Rachel Fenichel
e473af84d8 Rename function 2019-07-22 16:32:54 -07:00
Rachel Fenichel
fc4372dbc2 Add TODOs with github issue number 2019-07-22 16:29:44 -07:00
Rachel Fenichel
91a8f4de16 Pull all the new rendering files into develop 2019-07-22 14:10:14 -07:00
Abby
be43df9e8c Run the renaming script 2019-07-22 10:45:05 -07:00
Erik Pasternak
d59c4a92db Redo the fixes to event groups in connection.js 2019-07-19 16:08:53 -07:00
Erik Pasternak
5911e54dc0 Revert "Propagate the visible state when blocks connect (#2003)"
This reverts commit ec78eeb39b.
2019-07-19 16:03:40 -07:00
Erik Pasternak
73f13b7d9c Revert "Properly set the display style on blocks when connections are unhidden"
This reverts commit bacfae24dd.
2019-07-19 15:56:23 -07:00
Erik Pasternak
1af59813d9 Revert "Fix wrong method call"
This reverts commit 3adc554f6b.
2019-07-19 15:56:06 -07:00
Beka Westberg
7e3344cf17 Removed useless text input workspace change listener. 2019-07-19 09:55:29 -07:00
Rachel Fenichel
674b2621ea Merge pull request #2666 from RoboErikG/roboerikg-hidden
Properly set the display style on blocks when connections are unhidden
2019-07-18 16:11:49 -07:00
Rachel Fenichel
a5ec37a78f Merge pull request #2658 from rachel-fenichel/rename_paths
Rename Blockly.utils.Paths -> Blockly.utils.svgPath
2019-07-18 15:16:16 -07:00
Erik Pasternak
3adc554f6b Fix wrong method call 2019-07-18 14:19:22 -07:00
Erik Pasternak
bacfae24dd Properly set the display style on blocks when connections are unhidden
We weren't always setting the display style on blocks when the hidden
state changed on a connection. This meant that sometimes unhiding a
connection would cause the attached block to be invisible.

This moves the display style code into the setHidden so it is never
skipped.
2019-07-18 14:08:53 -07:00
alschmiedt
8f880d55c3 Revert "Adds type to FieldNumber editor" 2019-07-18 13:02:53 -07:00
Beka Westberg
2464e3af46 Added setting a colour fields options through JSON. (#2655) 2019-07-18 12:23:31 -07:00
Beka Westberg
f873ddb1c6 Added Field Tooltip Support to the JSON (#2657)
* Added support for setting a field's tooltip via JSON.

* Added a test block to the playground.
2019-07-18 12:21:37 -07:00
Rachel Fenichel
087eaa2665 rename Blockly.utils.Paths -> Blockly.utils.svgPath 2019-07-17 15:46:55 -07:00
Abby
fe4bff70da Add @public annotation 2019-07-17 11:52:14 -07:00
Abby
d20549d92d Move files to their own folder 2019-07-17 11:48:42 -07:00
Abby
0f4a417052 Remove @packages annotation from public methods 2019-07-17 11:38:08 -07:00
Rachel Fenichel
f469a388ed Add getCorrectedSize functions to fields 2019-07-17 11:00:20 -07:00
Abby
91d109b30a Add initial keyboard navigation files 2019-07-17 10:00:04 -07:00
Neil Fraser
2d3b514425 Ensure last variable category is last variable added.
Resolves #2050.
2019-07-15 14:37:27 -07:00
Neil Fraser
2ac3447383 Create null objects properly.
new Object(null) doesn’t do anything, that’s just broken.
And the for loop with keys is silly.
2019-07-15 14:37:27 -07:00
Neil Fraser
bbb6e03801 Don’t save IDs of shadow blocks. 2019-07-15 14:37:27 -07:00
Neil Fraser
0e82677f27 Create stub for Node contstants.
Ironic that Node doesn’t have Node.  Not tested.
Fix two missing dependencies.
2019-07-15 14:37:27 -07:00
Neil Fraser
31a9c02362 Stop generating dynamic XML from text.
Removes last goog.string reference.
2019-07-15 14:37:27 -07:00
Neil Fraser
829dcc207c Make type and variabletype attributes optional
If a variable doesn’t have a type, then don’t add these empty attributes in the XML.
2019-07-15 14:37:27 -07:00
Neil Fraser
3647b6e38e Add XSD to validate Blockly’s XML (#2633)
* Add XSD to validate Blockly’s XML

This XSD might be used in tests or other tooling.
2019-07-12 12:05:55 -07:00
kozbial
da26594307 Added setCollapsed to insertion marker block creation. 2019-07-11 10:25:21 -07:00
alschmiedt
6e9761b249 Merge pull request #2618 from alschmiedt/dynamic_variable_error
Fixes bug with using dynamic variable in toolbox
2019-07-09 16:29:11 -07:00
alschmiedt
35341959d3 Fixes eslint error 2019-07-09 11:28:36 -07:00
alschmiedt
f30d79fbc8 Fixes bug with using dynamic variable in toolbox 2019-07-09 11:02:02 -07:00
Neil Fraser
e06d4e648c Rename BlockAnimation > blockAnimation
Issue 2102.  And do a full recompile due to changed the dependency name.
2019-07-08 17:31:38 -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
Beka Westberg
7b02728ff2 Cleaned up unamed handling w/ safename. 2019-07-08 10:48:42 -07:00