Commit graph

3184 commits

Author SHA1 Message Date
Paul Kaplan
db865f24f4 Remove unused variable category code.
It had been moved to the data_category.js file. It is dead code now.
2017-10-31 09:34:19 -04:00
Paul Kaplan
d735d33351 Change "change by" default value to 1 instead of 0. 2017-10-31 09:30:35 -04:00
Paul Kaplan
2cf42d13db Make XML creation for data category more explicit.
But no changes to defaults.
2017-10-31 09:29:58 -04:00
Rachel Fenichel
519881e982
Merge pull request #1187 from rachel-fenichel/feature/apply_mutation
Make the 'ok' button apply a mutation in the custom procedure playground
2017-10-27 17:45:54 -07:00
Rachel Fenichel
d87583f0a9
Merge pull request #1189 from LLK/bugfix/closure_https
Switch build to HTTPS
2017-10-27 17:01:06 -07:00
Rachel Fenichel
caea22c3da
Switch build to HTTPS
See https://github.com/google/blockly/issues/1399 and https://github.com/google/blockly/pull/1402
2017-10-27 16:48:41 -07:00
Rachel Fenichel
547190c9c1 Avoid double initSvg calls. 2017-10-27 16:30:15 -07:00
Rachel Fenichel
a02d69e09b Make the 'ok' button apply a mutation in the custom procedure playground 2017-10-27 11:12:46 -07:00
picklesrus
b48b0dc67e Add the new clearWorkspaceAndLoadFromXml to the set of globals so the compiler does not rename it. This should have been part of #1178 (#1184) 2017-10-26 11:16:45 -07:00
Rachel Fenichel
8a0dd649d7 Merge pull request #1181 from Kenny2github/patch-1
Remove "fake some drags!" button from playground
2017-10-25 14:56:36 -07:00
Paul Kaplan
e04cf81727 Merge pull request #1182 from paulkaplan/fix-flyout-var-ids
Re-fix the flyout variable block IDs
2017-10-25 14:43:53 -04:00
Paul Kaplan
4dc0e845b1 Add id to comment showing what it looks like 2017-10-25 14:36:55 -04:00
Rachel Fenichel
782b72bcb2 Merge pull request #1180 from rachel-fenichel/feature/custom_procedure_playground_2
Fix comment and remove extension of the root block for custom procedure editing
2017-10-25 10:47:54 -07:00
Paul Kaplan
9d03bf1511 Re-fix the flyout variable block IDs 2017-10-25 12:43:08 -04:00
Rachel Fenichel
6a0d58bb5d Merge pull request #1179 from rachel-fenichel/bugfix/no_toolbox_ws
Don't parse the default toolbox if it doesn't exist
2017-10-25 09:13:16 -07:00
Paul Kaplan
54bf2d6b62 Merge pull request #1178 from picklesrus/develop-clear-and-load-batch
Add an xml utility to clear the workspace and then load xml into the …
2017-10-25 10:31:28 -04:00
Ken
3ce4930c65 Remove "fake some drags!" button from playground
Removed the "fakeManyDrags", "fakeDrag", "fakeDragWrapper" functions; removed button input that called "fakeManyDrags"
2017-10-25 21:28:07 +08:00
Rachel Fenichel
6bdaec5453 Fix comment and remove extension of the root block for custom procedure editing 2017-10-24 18:04:19 -07:00
Rachel Fenichel
ce31ae9743 Don't parse the default toolbox if it doesn't exist 2017-10-24 18:03:17 -07:00
picklesrus
a54957c637 Add an xml utility to clear the workspace and then load xml into the dom. In it, use a new toolbox refresh mechanism that allows for batch updates. It mirrors the setResizesEnabled mechanism for managing batch updates to the workspace. 2017-10-24 14:33:53 -07:00
Rachel Fenichel
bc1550e1b1 Merge pull request #1177 from rachel-fenichel/feature/custom_procedure_playground_2
Add buttons to custom procedure playground
2017-10-24 13:07:53 -07:00
Rachel Fenichel
762f6e7ae2 Add default blocks 2017-10-24 12:57:56 -07:00
picklesrus
2996c86c53 Do not refresh the toolbox when a new variable is created on the work… (#1166)
* Do not refresh the toolbox when a new variable is created on the workspace but it already exists in the variable map.  This gets rid of some calls to Toolbox.refreshSelection. e.g. when you drag a variable block out of the toolbox, we were refreshing the toolbox.  It will also help with xml loading for workspaces using multiple of the same variable reporter.  More needs to be done to solve #879, but this helps a little.

* Fix typo
2017-10-24 12:40:22 -07:00
Rachel Fenichel
6b1184bc28 Add some buttons 2017-10-23 17:05:01 -07:00
Paul Kaplan
59acc2fe93 Merge pull request #1172 from paulkaplan/fix-hue-color
Use "Color" instead of "Hue" as the slider color input.
2017-10-23 17:08:37 -04:00
Ray Schamp
1542cd03cf Merge pull request #1173 from LLK/warning
Remove executable from closure-library
2017-10-23 16:51:49 -04:00
Paul Kaplan
334baaf175 Use "Color" instead of "Hue" as the slider color input. 2017-10-23 16:40:30 -04:00
Ray Schamp
3f8ac5c5e8 Remove executable from closure-library
Github is complaining about this file being deployed to gh-pages. We don't need it in our build, so remove it before publishing.
2017-10-23 16:00:26 -04:00
Paul Kaplan
98b02f5cff Merge pull request #1170 from paulkaplan/fix-custom-procedure-blocks
Use field_serializable instead of _editable for procedure blocks
2017-10-23 15:29:27 -04:00
Paul Kaplan
84a7b3e666 Use field_serializable instead of _editable 2017-10-23 15:13:25 -04:00
Rachel Fenichel
1313407eb4 Merge pull request #1167 from rachel-fenichel/feature/custom_procedure_playground
Create a playground for working on custom procedure editing.
2017-10-23 09:45:34 -07:00
Paul Kaplan
97426e17b2 Merge pull request #1168 from picklesrus/develop-revert-bulk-update
Revert #1122 and changes made on top of it.
2017-10-23 10:24:44 -04:00
Paul Kaplan
7fc1a4894d Fix trailing spaces. 2017-10-23 10:09:05 -04:00
picklesrus
13e5c30e26 Revert #1122 and changes made on top of it. See discusson on #748 and #1145. We will fix this a different way next week 2017-10-20 17:53:14 -07:00
Rachel Fenichel
9c80139eea Create a playground for working on custom procedure editing. 2017-10-20 17:34:48 -07:00
Rachel Fenichel
36682a4912 Merge pull request #1165 from rachel-fenichel/bugfix/1163
Add a serializable attribute to fields.
2017-10-20 16:40:13 -07:00
Rachel Fenichel
3d44202834 Add tests for field serializability. 2017-10-20 15:15:00 -07:00
picklesrus
3b09a53855 Get workspace_svg test to pass in scratch-blocks. It is off in another directory outside of jsunit so it is not run on travis... There are also some js errors reported that should be fixed too. But minor progress at least. (#1164) 2017-10-20 15:09:42 -07:00
Rachel Fenichel
0ea49318d3 rename field_label_editable to field_label_serializable 2017-10-20 14:00:09 -07:00
Rachel Fenichel
cb058a69af Add a serializable attribute to field, distinct from EDITABLE 2017-10-20 13:58:20 -07:00
Paul Kaplan
514fc04738 Merge pull request #1161 from paulkaplan/fix-stack-click-event
Revert "Implement Blockly.Events.filter in linear time (#1205)"
2017-10-20 15:16:11 -04:00
Paul Kaplan
8263afcba5 Revert "Implement Blockly.Events.filter in linear time (#1205)"
This reverts commit 910284856e.
2017-10-20 15:06:48 -04:00
Rachel Fenichel
b4b721df66 Merge pull request #1152 from rachel-fenichel/feature/delete_procedure
Feature/delete procedure
2017-10-20 08:32:44 -07:00
Rachel Fenichel
63ab0baf3b Merge pull request #1158 from rachel-fenichel/bugfix/1127
Hack to fix 1127 while we consider strict connection types
2017-10-20 08:31:43 -07:00
Paul Kaplan
2573eef256 Merge pull request #1157 from paulkaplan/merge-10-19
Merge from blockly/develop on 10/19
2017-10-19 19:07:08 -04:00
Rachel Fenichel
5e3073c441 Hack to fix 1127 while we consider strict connection types 2017-10-19 16:06:12 -07:00
Paul Kaplan
8f5156c72c Fix lost newline 2017-10-19 17:10:42 -04:00
Neil Fraser
d906095698 Style improvements. No functional changes. (#1367) 2017-10-19 17:08:17 -04:00
Paul Kaplan
6fced52ef8 Add new test to the vertical and horizontal test runner files 2017-10-19 16:57:54 -04:00
Nick Allred
86a7b939cb Subtract metrics.contentTop from metrics.viewTop so that the flyout does not begin to scroll down once the delta is smaller than the value of metrics.contentTop (#1309) 2017-10-19 16:57:54 -04:00