Commit Graph

724 Commits

Author SHA1 Message Date
Evan W. Patton
3891a185ef [WIP] Fix element reordering without canvas 2017-01-31 10:50:07 -05:00
Evan W. Patton
f0f7128aff Defer comment rendering if workspace not rendered
When a Blockly workspace has not been rendered for the first time,
e.g. due to Firefox SVG exceptions, the comment bubbles do not have a
canvas to attach to. This fix sets a `visible` field on the comment
object during load of a Blockly workspace that can be used to trigger
an SVG update once the workspace has been rendered.
2017-01-27 09:39:31 -05:00
Evan W. Patton
3307a4b397 Fix misnamed backpack variable 2017-01-25 14:32:08 -05:00
Evan W. Patton
0ca08cc9cc Revert commenting out preventDefault calls 2016-12-10 22:52:54 -05:00
Evan W. Patton
eed52fb081 Remove AI2-specific content from WorkspaceSvg
This commit removes AI2 specific code for the context menu and
replaces it with a customization callback that can be overriden by
Blockly customization.
2016-12-08 13:39:34 -05:00
Evan W. Patton
d2314b2a4e [WIP] Prevent scrollbar generation in fixed-size flyouts 2016-11-10 13:36:25 -05:00
Evan W. Patton
ac090cac09 [WIP] Fix headless loading of blocks 2016-11-08 12:29:59 -05:00
Evan W. Patton
189f87b32e [WIP] Fix bug when using function as connection check 2016-10-19 23:20:55 -04:00
Evan W. Patton
64a6f7b547 [WIP] Cleaning up changes to Blockly core 2016-10-12 19:31:48 -04:00
Evan W. Patton
4e398b7057 [WIP] Minimize changes to blockly core 2016-10-12 15:54:31 -04:00
Evan W. Patton
a62b22229f Add missing menu options 2016-10-11 17:15:08 -04:00
Evan W. Patton
f65a39692b [WIP] Remove duplicated onchangewrapper 2016-10-07 15:55:27 -04:00
Evan W. Patton
dad5a2d943 [WIP] Remove original backups 2016-10-07 15:55:07 -04:00
Evan W. Patton
a62b359aaa [WIP] Fix handling of indented value connection 2016-10-05 17:32:49 -04:00
Evan W. Patton
b63db49571 [WIP] Remove badly patched dispose call 2016-10-05 15:36:16 -04:00
Evan W. Patton
5174a4da12 [WIP] Squash bugs in code merged to blockly core 2016-10-04 13:54:43 -04:00
Evan W. Patton
79bde8c552 [WIP] Add opt_bubble to subrender functions added by lyn 2016-10-03 00:43:50 -04:00
Evan W. Patton
cbe48ff1df Fix setting value on undefined due to ordering issue after merge 2016-10-02 13:22:39 -04:00
Evan W. Patton
d0dc64ce76 Fix broken (and unnecessary) try block in blockly.js 2016-10-01 03:16:10 -04:00
Evan W. Patton
ff18121260 [WIP] Remove unused references to instrumentation and toolbox 2016-10-01 02:59:18 -04:00
Evan W. Patton
fc03770ea0 [WIP] Move typeblock.js to App Inventor sources 2016-10-01 02:58:47 -04:00
Evan W. Patton
746522297e [WIP] Merge xml.js but needs behavior verification 2016-10-01 02:27:20 -04:00
Evan W. Patton
0a1b08b73b [WIP] Merge procedures.js but needs discussion 2016-10-01 02:26:54 -04:00
Evan W. Patton
9f47aaedcf [WIP] Merge changes from inject.js to options.js 2016-09-30 13:17:11 -04:00
Evan W. Patton
dd0440d22e [WIP] Merge workspace.js 2016-09-30 12:34:41 -04:00
Evan W. Patton
356640ad3d [WIP] Removing variables.js rejections that are uninteresting 2016-09-28 22:37:03 -04:00
Evan W. Patton
8947f113ce [WIP] Merge trashcan.js 2016-09-28 22:14:01 -04:00
Evan W. Patton
5851a6deb9 [WIP] Merge scrollbar.js 2016-09-28 22:02:18 -04:00
Evan W. Patton
37f04bc014 [WIP] Merge mutator.js 2016-09-28 21:21:40 -04:00
Evan W. Patton
632e09ac12 [WIP] Merge input.js 2016-09-28 20:53:11 -04:00
Evan W. Patton
081574babe [WIP] Merge field.js and flyout.js 2016-09-28 20:51:17 -04:00
Evan W. Patton
a44c6c5688 [WIP] Merge css.js 2016-09-28 20:21:02 -04:00
Evan W. Patton
890d274735 [WIP] Merge connection.js 2016-09-28 20:17:44 -04:00
Evan W. Patton
eddade9eda [WIP] Merged block, blocks, blockly, and block_svg sans instrumentation issue 2016-09-28 18:18:45 -04:00
Evan W. Patton
16d1a6b362 [WIP] Rebase from Blockly SVN r1757 to git 641d720 2016-09-28 10:36:40 -04:00
Neil Fraser
bc2bfbd53d Add shadow to flyout buttons. 2016-09-15 18:39:50 -07:00
picklesrus
dab7fd5751 Cherrypick fixes made directly to master back into develop (#619)
* Check result of window.confirm before deleting variables.

* Create CONTRIBUTING.md
2016-09-07 11:50:50 -07:00
Rachel Fenichel
e02e695bde Require constants in workspaceSvg, which uses them during initialization. 2016-08-25 13:28:05 -07:00
rachel-fenichel
b8651e1597 Merge pull request #575 from rachel-fenichel/bugfix/is_finite
Fix #571
2016-08-25 09:55:07 -07:00
rachel-fenichel
69d75e5214 Merge pull request #590 from rachel-fenichel/bugfix/content_height
Fix #586
2016-08-24 14:04:49 -07:00
Rachel Fenichel
f75fc6359b Fix #586 2016-08-24 11:37:02 -07:00
Rodrigo Queiro
5d7b2074a4 Add GAP_X/Y to the flyout
This makes it easy for users to customise the spacing in the flyout,
without having to repeat the same value of "sep" for every block.
2016-08-24 15:01:32 +02:00
rachel-fenichel
8127c69ff2 Merge pull request #580 from rachel-fenichel/bugfix/horizontal_rtl
Make blocks appear in the rtl horizontal flyout
2016-08-23 13:15:24 -07:00
Rachel Fenichel
3e4efe9424 Make blocks appear in the rtl horizontal flyout 2016-08-22 17:09:14 -07:00
Rachel Fenichel
546504a88a Merge remote-tracking branch 'upstream/develop' into cleanup/mainWorkspaceMetrics 2016-08-22 15:09:47 -07:00
Neil Fraser
c41a4fa6e4 Fix ability to expand toolbox categories. 2016-08-21 14:29:07 -07:00
Rachel Fenichel
a74acd942e Use isFinite instead of Number.isFinite 2016-08-19 15:04:07 -07:00
Rachel Fenichel
cc9396d739 Prefer functions in workspaceSvg to functions in blockly.js 2016-08-19 14:13:20 -07:00
Rodrigo Queiro
88eac2480b Convert string tag name to goog.dom.TagName (#515)
in createDom calls only. This improves the type information of the
created objects.
2016-08-19 03:55:45 -07:00
rachel-fenichel
21fea1279c Merge pull request #557 from google/feature/variable_management
Integrate variable management into develop.
2016-08-18 15:56:18 -07:00