Commit Graph

6981 Commits

Author SHA1 Message Date
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
Niklas Laxström f9b7cd506b Localisation updates from https://translatewiki.net. 2016-06-13 07:40:10 +02:00
Neil Fraser 477562b597 Prevent collisions between user functions and helper functions. 2016-06-12 12:19:14 -07:00
Sean Lip 97000e725f Merge branch 'develop' of https://github.com/google/blockly into develop 2016-06-10 19:22:51 -07:00
Sean Lip b75d3f7327 Standardize naming of components. 2016-06-10 19:22:14 -07:00
Sean Lip cafd180228 Unify setActiveDesc() and updateSelectedNode() in the TreeService. Move function calls made directly within the template to the correct hooks. 2016-06-10 19:03:23 -07:00
Neil Fraser 8c94a16bc6 Fix error when undoing a shadow block replacement. Issue #415. 2016-06-10 18:19:25 -07:00
Sean Lip 11c00783f2 Consolidate the usages of the 'blockly-disabled' label. 2016-06-10 17:36:39 -07:00
Neil Fraser 44f30cb997 Merge branch 'master' into develop 2016-06-10 13:47:58 -07:00
picklesrus f64f6f7d6f Trigger a contents resize in block's moveBy. (#422)
This fixes #420 but and it also fixes some other similar problems
with copy/paste and other users of moveBy.
2016-06-10 13:46:44 -07:00
Neil Fraser 0c92ce911f Fix sort block in JS to satisfy tests. 2016-06-09 22:14:58 -07:00
Sean Lip 11b49930f9 Remove the unnecessary construction of new services. 2016-06-09 19:10:34 -07:00
Sean Lip c6517bc777 Remove unused functions and dependencies. 2016-06-09 18:45:00 -07:00
Sean Lip 42a4a1ed8f Merge branch 'develop' of https://github.com/google/blockly into develop 2016-06-09 18:16:00 -07:00
Monica Kozbial 04d6d119c0 Add indexing setting for JavaScript Generation (#419)
Adding setting to allow for switching between zero and one based indexing for Blockly Blocks such that the generated code will use this flag to determine whether one based or zero based indexing should be used. One based indexing is enabled by default.
2016-06-09 18:09:37 -07:00
Neil Fraser ef417d7a60 Fix precedence on isIndex blocks. 2016-06-09 18:04:14 -07:00
Sean Lip 50ddbbaee4 Introduce a common translation pipe; remove local stringMap attributes. Fix variable name error in paste functions. Minor linting. 2016-06-09 17:57:50 -07:00
Neil Fraser dcc7de52a5 Merge branch 'master' into develop 2016-06-09 17:30:45 -07:00
Neil Fraser 652e57bc38 Generate for loops on one line. 2016-06-09 17:27:27 -07:00
Sean Lip 509e158c0b Remove shadow blocks from Accessible Blockly demo. Update README. 2016-06-09 16:53:10 -07:00
picklesrus 1aecb78dd1 Fix issue #406 by calling resize from the keypress handler on text inputs. (#408) 2016-06-09 02:35:32 -07:00
Niklas Laxström 105f0da3d2 Localisation updates from https://translatewiki.net. 2016-06-09 07:41:08 +02:00
picklesrus e4900fc27c Fix airstrike by grabbing the correct toolbox element. (#411)
Probably broken in 266e2ffa9a.
2016-06-08 10:03:14 -07:00
Rodrigo Queiro c09624a1b8 Remove reference to undefined variable (#413)
REASON_MUST_DISCONNECT was removed by a refactor in 2a1ffa1.
2016-06-08 10:01:04 -07:00
Neil Fraser 3012d52808 Line wrap comments in generated code. 2016-06-08 00:12:58 -07:00
Rodrigo Queiro 0585a667ec Fix typo in flyout.js (#402) 2016-06-07 09:54:57 -07:00
Rodrigo Queiro 736ff96ead Fix typo in flyout.js (#403) 2016-06-07 09:54:37 -07:00
Neil Fraser 4ba2b1bea3 Use a comment block for function comments in generated JS, Python and Dart. 2016-06-06 00:19:36 -07:00
Niklas Laxström 6ec7d31629 Localisation updates from https://translatewiki.net. 2016-06-06 08:05:39 +02:00
Neil Fraser 87e4e6224a Merge branch 'master' into develop 2016-06-05 17:03:30 -07:00
Neil Fraser 9ca00656ad Properly deal with shadow statement blocks in stacks. 2016-06-05 16:58:27 -07:00
Neil Fraser f642fa80d5 Increase commonality between playgrounds. 2016-06-05 15:32:54 -07:00
Neil Fraser 266e2ffa9a Add toolbox location and toolbox mode options to playground. 2016-06-05 04:16:09 -07:00