Rachel Fenichel
deb4e8b8c7
Merge pull request #2673 from rachel-fenichel/field_demo_link
...
Link to custom fields demo from demos/index.html
2019-07-19 16:43:21 -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
Rachel Fenichel
19af36f527
Link to custom fields demo from demos/index.html
2019-07-19 12:37:22 -07:00
Beka Westberg
7e3344cf17
Removed useless text input workspace change listener.
2019-07-19 09:55:29 -07:00
Beka Westberg
ed41b7f900
Added a setOnClickHandler function to the image field.
2019-07-19 09:17:09 -07:00
Beka Westberg
a5bc29357f
Added unit tests.
2019-07-19 08:57:34 -07:00
Beka Westberg
20837da54f
Deprecated field setText function.
2019-07-19 08:57:34 -07:00
Rachel Fenichel
fad6c006b1
Rebuild
2019-07-18 16:23:59 -07:00
Erik Pasternak
7e3bdf024f
Fix wrong method call
2019-07-18 16:14:30 -07:00
Erik Pasternak
c95d5771c8
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 16:14:22 -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
ea4c3c59d5
rename Blockly.utils.Paths -> Blockly.utils.svgPath
2019-07-18 15:16:57 -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
Rachel Fenichel
2133f426ee
Rebuild
2019-07-18 15:13:52 -07:00
alschmiedt
954cb5acb1
Revert "Adds type to FieldNumber editor"
2019-07-18 15:12:07 -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
9a535f8079
Merge pull request #2661 from alschmiedt/build_script_merge
...
Adds ability to pick renderer at build time
2019-07-18 13:21:54 -07:00
alschmiedt
fc45d1aa12
Merge pull request #2664 from google/revert-2607-input_number
...
Revert "Adds type to FieldNumber editor"
2019-07-18 13:09:48 -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
Abby
0646359091
Adds ability to pick renderer at build time
2019-07-18 11:19:54 -07:00
translatewiki.net
dc8922bebc
Localisation updates from https://translatewiki.net .
2019-07-18 16:18:10 +02:00
Rachel Fenichel
087eaa2665
rename Blockly.utils.Paths -> Blockly.utils.svgPath
2019-07-17 15:46:55 -07:00
Rachel Fenichel
8d7eaf65e1
Cherry-pick in annotation changes and rebuild
2019-07-17 13:00:22 -07:00
Rachel Fenichel
6e84ac462a
Merge pull request #2653 from alschmiedt/compile_broken
...
Remove @packages annotation from public methods
2019-07-17 12:57:10 -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
Rachel Fenichel
ac3c066fa9
Merge pull request #2647 from rachel-fenichel/tests/screenshot_test_cases
...
Add test case files for screenshot testing
2019-07-16 13:32:07 -07:00
Rachel Fenichel
6731c70f47
Add test case files for screenshot testing
2019-07-16 13:13:11 -07:00
Rachel Fenichel
d6e50f6633
Merge branch 'master' into rc/Jul_19
2019-07-16 11:29:30 -07:00
Rachel Fenichel
53efc23d6c
Rebuild
2019-07-15 16:13:18 -07:00
Neil Fraser
7fbe47c02c
Fix colour injection vulnerability.
...
The new validators already solve this problem, but as a second layer of defence, the generators should also be secured. Issue #2637
2019-07-15 16:11:25 -07:00
Neil Fraser
92c4d6d3a3
Fix colour injection vulnerability.
...
The new validators already solve this problem, but as a second layer of defence, the generators should also be secured. Issue #2637
2019-07-15 16:03:55 -07:00
Rachel Fenichel
ff9da74571
Merge pull request #2643 from rachel-fenichel/rebuild_07_15_19
...
Rebuild
2019-07-15 14:57:29 -07:00
Rachel Fenichel
03776a6bfd
Rebuild
2019-07-15 14:53:01 -07:00
Rachel Fenichel
79be89facc
Merge pull request #2638 from rachel-fenichel/dependency_check
...
Update dependencies
2019-07-15 14:46:56 -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