Commit Graph

1063 Commits

Author SHA1 Message Date
Andrew n marshall
9af3c6c73d Updating image link in readme. (#470) 2016-07-02 23:29:20 -07:00
rachel-fenichel
8f54ce1241 Merge pull request #462 from MarkusBordihn/patch-3
Rewrite anonym function "syncTree" for compiler and debugging reasons.
2016-06-29 14:42:53 -07:00
Markus Bordihn
c5246fc8e2 Update toolbox.js 2016-06-29 23:38:32 +02:00
Markus Bordihn
03250c9c5d Rewrite anonymouse function "syncTree" for compiler and debugging reasons.
See #448 for more details.
2016-06-29 12:09:44 +02:00
Neil Fraser
fdc9e2ba3b Fix 'this' warning on aggressive compile. 2016-06-28 14:36:54 -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
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
Neil Fraser
91b10cae2f Create console stub for IE 9. 2016-06-22 13:01:37 -07:00
Neil Fraser
685288836f Use simpler message interpolation in Code demo. 2016-06-22 13:01:37 -07:00
Neil Fraser
98617d8ddc Move tokenizeIntepolation into Blockly.utils namespace. 2016-06-22 13:01:37 -07:00
Siebrand Mazeland
fed0f2f19f Localisation updates from https://translatewiki.net. 2016-06-22 16:35:41 +02:00
rachel-fenichel
92e7cef448 Merge pull request #439 from rachel-fenichel/feature/cache_screen_ctm
Cache screen CTM
2016-06-21 15:58:17 -07:00
Rachel Fenichel
a234506324 Merge branch 'develop' into feature/cache_screen_ctm 2016-06-21 15:57:53 -07:00
Rachel Fenichel
42f620daa2 Check if matrix is null in mouseToSvg 2016-06-21 15:56:00 -07:00
Neil Fraser
26bbe74ba1 Routine recompile. 2016-06-21 04:33:35 -07:00
Neil Fraser
c8f9cb34d5 Merge branch 'master' into develop 2016-06-21 04:32:17 -07:00
Neil Fraser
93125fd1e6 Make it easy to disable unconnected blocks. 2016-06-21 04:31:45 -07:00
Neil Fraser
732e9b0659 Start using field_number. 2016-06-21 04:10:32 -07:00
Neil Fraser
4b319d461d Reduce unneeded parentheses in JS and Python. 2016-06-20 17:34:36 -07:00
Sean Lip
6502ea5026 Remove unnecessary logging. 2016-06-20 15:05:39 -07:00
Niklas Laxström
383dd5d9ad Localisation updates from https://translatewiki.net. 2016-06-20 07:44:12 +02:00
Sean Lip
3ca593273a Refactor how activeDescendant is set. Introduce helper functions to ensure that calls like pasteAbove() preserve the focus. 2016-06-17 17:42:51 -07:00
rachel-fenichel
41f6f50b77 Merge pull request #438 from rachel-fenichel/feature/cache_delete_areas
Cache delete areas
2016-06-17 14:56:10 -07:00
rachel-fenichel
7a1db20765 Allow terminal blocks to replace other terminal blocks (#433)
* Allow terminal blocks to replace other terminal blocks

* Updated test to allow replacing terminal blocks
2016-06-17 14:34:28 -07:00
picklesrus
567fe6a2e8 Call svgResizeContents from block_svg's dipose so that deleting blocks (#434)
from the context menu (or anywhere really) causes the workspace to
recalculate its size.
Remove the call to svgResizeContents from onMouseUp's logic for
determining whether the block is being dropped in the trash
since it calls dispose.

One side effect of this is that when you delete multiple blocks
resize gets called for each of them and the scrollbars move during
the operation. This is most obviously seen by doing an airstrike
in the playground and then deleting all the blocks at once.
2016-06-17 14:33:23 -07:00
Rachel Fenichel
c4cad3c6e4 Cache screen CTM for performance improvement. 2016-06-17 14:26:04 -07:00
Rachel Fenichel
8f601345bb cache delete areas instead of recalculating them onMouseDown 2016-06-17 12:39:18 -07:00
Sean Lip
3ffd7a2d27 Merge branch 'develop' of https://github.com/google/blockly into develop 2016-06-16 17:29:32 -07:00
Sean Lip
850281501f Fix remaining focus issues on block deletion. 2016-06-16 17:29:21 -07:00
Sean Lip
019082b795 Fix tree focus issues. 2016-06-16 14:52:38 -07:00
Niklas Laxström
cc9b490bf9 Localisation updates from https://translatewiki.net. 2016-06-16 08:03:57 +02:00
Neil Fraser
36130cbc39 Don't fire change event on fields that haven't been named yet. 2016-06-15 01:30:04 -07:00
Neil Fraser
04ebbb3b76 Fix undo on fields with validators with side effects. 2016-06-14 18:42:49 -07:00
Neil Fraser
02b2c219eb Prevent selected block from ending up underneath a bumped block. 2016-06-14 17:36:50 -07:00
Neil Fraser
c4b37a8943 Merge branch 'develop' 2016-06-14 11:05:03 -07:00
Neil Fraser
873e987f85 Routine recompile 2016-06-14 11:04:26 -07:00
Neil Fraser
d05ce90312 Merge branch 'develop' 2016-06-14 11:03:10 -07:00
Neil Fraser
c81e3b1d33 Merge branch 'master' into develop 2016-06-14 11:01:05 -07:00
Andrew n marshall
592b2e1a51 Updating URLs to reflect new docs. (#418)
* Updating URLs to reflect new docs. Removing -blockly in URLs.

* Rebuilt.
2016-06-14 10:15:35 -07:00
picklesrus
33ba6e8fad Fix #423 by calling workspace's resize when the flyout reflows. (#430) 2016-06-14 10:13:03 -07:00
Neil Fraser
fd6f743f0e Remove unneeded generated parens around function calls in indexOf blocks. 2016-06-13 18:49:18 -07:00
Sean Lip
6c13b5c81b Change the TreeService to a singleton. 2016-06-13 17:58:13 -07:00
picklesrus
6851baea12 Fix #425. Attash the resize handler to the workspace so it can be removed (#429)
when workspace.dispose() is called.
2016-06-13 14:46:58 -07:00