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
d2ce081dc4
Move functions for updating variables on a workspace into workspace.js, and some lint
2016-08-17 16:07:50 -07:00
Rachel Fenichel
dfe61087f0
Correctly update variable list when pasting code
2016-07-14 15:39:41 -07:00
Rachel Fenichel
3f0b2961a1
call allUsedVariables in addTopBlock
2016-07-07 15:28:23 -07:00
Rachel Fenichel
13c6c63daa
Create variables from the flyout
2016-07-07 14:39:45 -07:00
Rachel Fenichel
4a81ecb601
Create variable list, and use it for add and rename
2016-07-07 14:38:56 -07:00
Rachel Fenichel
77a8b92ac2
Merge branch 'develop' into feature/horizontal_toolbox_port
2016-05-11 11:44:38 -07:00
Rachel Fenichel
3605dfb9c0
Undo decimation of variable redeclarations
2016-05-10 14:40:48 -07:00
Rachel Fenichel
640b38f38e
lint
2016-05-05 13:13:48 -07:00
Rachel Fenichel
a27fe99be4
Merge branch 'develop' into feature/horizontal_toolbox_port
2016-04-25 14:25:36 -07:00
Neil Fraser
9f260501fe
Remove duplicate getBlockById function.
2016-04-18 03:14:55 -07:00
rachel-fenichel
21e999678c
correctly position trash can and zoom controls when the flyout is always open; add flyout and toolbox size to main workspace metrics; get rid of flyout's vertical offset.
2016-04-13 15:30:11 -07:00
rachel-fenichel
18a1550285
Horizontal toolbox layout with positioning at start or end.
2016-04-07 14:02:22 -07:00
Neil Fraser
61b3fbfe11
Move block database to workspace.
2016-04-05 18:43:39 -07:00
Neil Fraser
83925b2fe7
Merge branch 'master' into develop
2016-03-30 20:52:02 -07:00
Neil Fraser
a52c3e9db4
Roll back PR #300 due to issue #303 .
2016-03-29 20:56:15 -07:00
rachel-fenichel
e2f1a6c843
Fix annotations
2016-03-29 14:26:56 -07:00
Neil Fraser
d73531da6b
Routine recompile.
2016-03-29 09:04:25 -07:00
Ciaran Jessup
9d99fe5385
Clearing the workspace now works even if a field is being edited
...
Previously if a workspace.clear() was executed whilst a field was being edited then the following errors would appear in the console and the blockly workspace would become unresponsive.
Uncaught TypeError: Cannot read property 'removeChangeListener' of null(anonymous function) @ blockly_compressed.js:19071Blockly.WidgetDiv.hide @ blockly_compressed.js:20609Blockly.WidgetDiv.hideIfOwner @ blockly_compressed.js:20620Blockly.FieldTextInput.dispose @ blockly_compressed.js:18961Blockly.Input.dispose @ blockly_compressed.js:15786Blockly.Block.dispose @ blockly_compressed.js:17275Blockly.BlockSvg.dispose @ blockly_compressed.js:18327Blockly.Block.dispose @ blockly_compressed.js:17272Blockly.BlockSvg.dispose @ blockly_compressed.js:18327Blockly.Block.dispose @ blockly_compressed.js:17272Blockly.BlockSvg.dispose @ blockly_compressed.js:18327Blockly.Block.dispose @ blockly_compressed.js:17272Blockly.BlockSvg.dispose @ blockly_compressed.js:18327Blockly.Workspace.clear @ blockly_compressed.js:14510window.onmessage @ index.html:175
blockly_compressed.js:19041
Uncaught TypeError: Cannot read property 'scale' of nullBlockly.FieldTextInput.resizeEditor_ @ blockly_compressed.js:19041Blockly.Workspace.fireChangeListener @ blockly_compressed.js:14544Blockly.Events.fireNow_ @ blockly_compressed.js:18833
Explicitly hiding the popup div first avoids this problem.
2016-03-29 12:10:48 +01:00
Neil Fraser
05fc1ad91b
Add workspace.clearUndo
2016-03-25 19:03:18 -07:00
Neil Fraser
6ae436a153
Add undo/redo context menu options on workspace.
2016-03-17 14:44:26 -07:00
Neil Fraser
3bf04aedc6
Add toJson to events.
2016-03-16 17:55:44 -07:00
Neil Fraser
72bb08a4ec
Add undo/redo.
...
Some bugs in undoing function argument changes.
2016-03-14 23:14:05 -07:00
Neil Fraser
55784580e9
Group mutations into same event.
2016-03-06 18:32:20 -08:00
Neil Fraser
2a1ffa11c4
Add undo/redo. Also refactor connections.
...
Bugs in undoing mutators and renaming variables.
2016-03-03 17:48:54 -08:00
Neil Fraser
0fab13400a
Fire function events instead of DOM events.
2016-02-11 21:40:33 -08:00
Neil Fraser
c429949a4e
Add Create, Delete, and Change events.
...
Not counting change for mutators.
2016-01-20 19:11:03 -08:00
Neil Fraser
23251b5187
Create workspace id database.
2015-12-09 10:17:40 +01:00
Neil Fraser
3b3ef79fbd
Create block id database.
2015-12-09 10:02:42 +01:00
Neil Fraser
6acaf35967
Add workspace.newBlock, deprecate Blockly.Block.obtain.
2015-12-07 16:40:45 +01:00
Neil Fraser
5b7fec7092
Add zooming feature.
...
By carloslfu.
2015-08-19 17:21:05 -07:00
Neil Fraser
e0f90e6e33
Adding more type documentation.
2015-07-13 15:03:22 -07:00
Neil Fraser
bcebb0776b
Allow flights to be initially expanded in toolbox.
2015-07-09 11:57:06 -07:00
Neil Fraser
e8ab929b6a
Fix visibility changes with toolbox.
2015-05-22 17:08:59 -07:00
Neil Fraser
17961f7f58
Support multiple Blockly instances.
2015-04-28 13:51:25 -07:00
Neil Fraser
6d1df4dfb5
Revert "De-singleton Blockly. Part 1."
...
This reverts commit 3122c8a93f
.
2015-04-07 21:01:37 -07:00
Neil Fraser
3122c8a93f
De-singleton Blockly. Part 1.
2015-04-06 18:36:53 -07:00
Neil Fraser
c9addf7e31
Improve accuracy of goog.require calls.
2015-02-06 15:27:25 -08:00
Neil Fraser
0f8d01209c
Headless workspaces and blocks.
2014-12-23 11:22:02 -08:00
Neil Fraser
c9169285d9
Add red 'X' to mouse cursor if blocks are over toolbox.
2014-12-02 15:00:10 -08:00
Neil Fraser
674625c47e
Add red 'X' to mouse cursor if blocks are over flyout.
2014-11-28 21:43:39 -08:00
Neil Fraser
1235c1e80c
Fade out trashcan when closed.
2014-11-24 15:08:19 -08:00
Neil Fraser
6539211104
Change official project URL.
2014-10-07 13:09:55 -07:00
Neil Fraser
7122410373
Changing project location from Google Code to GitHub.
2014-09-08 15:18:02 -07:00
Neil Fraser
d998a1c8ec
Update to latest version.
2014-09-08 14:26:52 -07:00
ellen.spertus
1f5f0abd94
Automatic commit Sat Feb 1 03:00:04 PST 2014
2014-02-01 03:00:04 -08:00
ellen.spertus
6ee38cdec3
Automatic commit Tue Jan 28 03:00:09 PST 2014
2014-01-28 03:00:09 -08:00
ellen.spertus
c7a1b36c86
Automatic commit Wed Jan 22 03:00:07 PST 2014
2014-01-22 03:00:07 -08:00
ellen.spertus
a8acffd81c
New initial commit with .svn directories and their contents ignored.
2013-10-30 14:46:03 -07:00