Rachel Fenichel
dfe61087f0
Correctly update variable list when pasting code
2016-07-14 15:39:41 -07:00
rachel-fenichel
97801a0e2f
Merge pull request #472 from rachel-fenichel/feature/all_variables
...
Distinguish between allVariables and allUsedVariables
2016-07-13 12:54:37 -07:00
Rachel Fenichel
75e06de477
Use instanceof to distinguish between blocks and workspaces.
2016-07-13 12:50:44 -07:00
Rachel Fenichel
3f0b2961a1
call allUsedVariables in addTopBlock
2016-07-07 15:28:23 -07:00
Rachel Fenichel
2364aed716
Distinguish between allVariables and allUsedVariables
2016-07-07 15:23:20 -07:00
Rachel Fenichel
298990d809
Merge branch 'feature/variable_management' of https://github.com/google/blockly into feature/variable_management
2016-07-07 15:16:31 -07:00
Rachel Fenichel
9a6cbe1b34
Lint and remove math_change wherever necessary
2016-07-07 14:40:59 -07:00
Rachel Fenichel
5418843c12
Move the change block to the variables category
2016-07-07 14:39:45 -07:00
Rachel Fenichel
13c6c63daa
Create variables from the flyout
2016-07-07 14:39:45 -07:00
Rachel Fenichel
ef4882d90d
Add variable deletion as dropdown action
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
94e0a7ff4c
Change params of flyout.layout
2016-07-07 14:38:04 -07:00
Rachel Fenichel
cb3bef8f32
Flyout button with click handler
2016-07-07 14:37:12 -07:00
Rachel Fenichel
e371da3031
First pass at svg button in flyout
2016-07-07 14:35:30 -07:00
rachel-fenichel
d60556bd2d
Merge pull request #469 from rachel-fenichel/feature/make_a_variable
...
Create variables from the flyout
2016-07-07 14:00:06 -07:00
Rachel Fenichel
fc9e56de58
Lint and remove math_change wherever necessary
2016-07-07 13:59:27 -07:00
rachel-fenichel
603477d188
Merge pull request #417 from drigz/bugfix/flyout-clicks
...
Revise handling of mouse events on flyout blocks
2016-07-07 11:22:01 -07:00
Rachel Fenichel
87de25ec9b
Move the change block to the variables category
2016-07-01 16:17:30 -07:00
Sean Lip
f30bcbc0e7
Fix connection compatibility rules. Use the previous connection when 'pasting above' a block that already has a previous block.
2016-07-01 15:55:51 -07:00
Rachel Fenichel
fef2a63770
Create variables from the flyout
2016-07-01 15:51:59 -07:00
Sean Lip
a8bfc38545
Forbid any ancestor of the block containing the marked connection from being moved to said connection.
2016-07-01 15:17:32 -07:00
rachel-fenichel
7536ead2f1
Merge pull request #467 from rachel-fenichel/feature/variable_list
...
Explicit list of variables
2016-07-01 13:55:47 -07:00
Rachel Fenichel
9c44bfe193
Add variable deletion as dropdown action
2016-07-01 13:54:27 -07:00
Rachel Fenichel
e1b2f251a0
Create variable list, and use it for add and rename
2016-07-01 13:53:30 -07:00
rachel-fenichel
8a4e943b41
Merge pull request #466 from rachel-fenichel/feature/category_with_buttons
...
Button in flyout
2016-07-01 13:43:44 -07:00
Rachel Fenichel
e26c00ed03
Change params of flyout.layout
2016-07-01 13:42:17 -07:00
Rachel Fenichel
8508823f83
Rebuild after adding flyout_button
2016-07-01 13:37:55 -07:00
Rachel Fenichel
21bd8ef72f
Flyout button with click handler
2016-07-01 13:36:20 -07:00
Sean Lip
707c2149f1
Refactor workspace-tree: define the action buttons declaratively; simplify initial lifecycle code.
2016-06-30 18:19:31 -07:00
Sean Lip
be664dcdb6
Make screenreader focus behave correctly when cutting, moving or deleting a block. Unmark the marked spot after a block has been moved or copied to it.
2016-06-30 14:52:12 -07:00
Neil Fraser
555eac8b7f
Simplify field validator chaining.
2016-06-29 17:44:12 -07:00
Rachel Fenichel
097e5c4251
Merge branch 'develop' into feature/category_with_buttons
2016-06-29 13:57:26 -07:00
Rodrigo Queiro
0454c93ff8
Clean up #417 after review
2016-06-29 12:26:11 +02:00
Rodrigo Queiro
4e3faf0158
Revise handling of mouse events on flyout blocks
...
- allows scrolling by dragging a block up and down
- dragging a block towards the workspace creates it
- dragging a block any direction in a non-scrollable flyout creates it
- dragging a shadow block works properly
- clicks on fields in non-closeable flyouts always open editors
- clicks in closeable flyouts create the block but don't open editors
Fixes #385 and fixes #405 .
2016-06-29 11:29:03 +02:00
Sean Lip
f474e11345
Merge branch 'develop' of https://github.com/google/blockly into develop
2016-06-28 18:29:07 -07:00
Sean Lip
63bb89108b
Do not allow a block to be moved to a marked connection that it contains. Fix an error where block ids did not update when a new block is inserted in a list.
2016-06-28 18:28:47 -07:00
Rodrigo Queiro
2dcb6cb68b
Ignore mouseup at end of drag with isDragging ( #416 )
...
This includes both block drags and workspace scrolls and fixes #404 . I
used isDragging rather than checking the origin of click so that it can
easily be extended to the case where the flyout is scrolled by dragging
a block, a la LLK/scratch-blocks#206 .
2016-06-28 18:11:48 -07:00
Sean Lip
5b63b9c193
Remove justFocusedIntoField_ special case.
2016-06-28 17:13:25 -07:00
Sean Lip
ff90218c07
Clean up keystroke handling in treeService.
2016-06-28 16:41:18 -07:00
Neil Fraser
dddac3a29c
Merge branch 'master' into develop
2016-06-27 17:40:46 -07:00
Neil Fraser
62a644686c
Routine recompile.
2016-06-27 17:40:30 -07:00
Neil Fraser
e7ebe4ae9c
Merge branch 'develop'
2016-06-27 17:35:03 -07:00
Neil Fraser
619b915070
Merge remote-tracking branch 'origin/develop' into develop
2016-06-27 17:34:40 -07:00
Neil Fraser
a92ae1c943
Merge branch 'master' into develop
2016-06-27 17:34:33 -07:00
rachel-fenichel
aca074891d
Fix some problems with flyout rendering ( #461 )
2016-06-27 17:27:08 -07:00
Neil Fraser
16fef9f2e2
Reduce more unneeded parentheses in JS and Python.
2016-06-27 15:52:35 -07:00
Rachel Fenichel
9a180a49b6
Merge branch 'develop' into feature/category_with_buttons
2016-06-23 16:27:56 -07:00
Neil Fraser
0be0cc89c7
Second version of FieldNumber API.
2016-06-22 15:07:07 -07:00
Andrew n marshall
425513b729
Don't output blockId if not set (e.g., toolbox category event). ( #443 )
2016-06-22 13:11:19 -07:00
Markus Bordihn
ac0e704c69
Fixed Parse error. Non-JSDoc comment has annotations. ( #451 )
2016-06-22 13:10:25 -07:00