Skip to content

Merge Google/master and Google/develop #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 61 commits into from
Apr 1, 2016
Merged

Merge Google/master and Google/develop #156

merged 61 commits into from
Apr 1, 2016

Conversation

tmickel
Copy link
Contributor

@tmickel tmickel commented Apr 1, 2016

No description provided.

rachel-fenichel and others added 30 commits March 15, 2016 16:03
Add a getter; stop accessing private field sourceBlock_ from outside …
css to mark text as unselectable instead.  I can't prove this is
significantly faster with numbers since the call to setup the time out
costs ~.1ms and the call when the timer fires is ~.05.  This happens on almost
every mouse event though.  Plus, it seems to remove a flicker of highlighting when
frames are skipped and keeps scrolling via the scrollbar from highlighting.
Remove Blockly.removeAllRanges and replace it with calls to add/remove
ciaranj and others added 26 commits March 29, 2016 12:10
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.
Clearing the workspace now works even if a field is being edited
Move option parsing to its own file and decompose functions in inject.js
…dered

Move Blockly.Block rendered into Blockly.BlockSvg
# Conflicts:
#	blockly_compressed_horizontal.js
#	blockly_uncompressed_vertical.js
#	blocks_compressed.js
#	core/block.js
#	core/block_svg.js
#	core/blockly.js
#	core/connection.js
#	core/field_textinput.js
#	core/workspace_svg.js
#	generators/lua/lists.js
#	generators/lua/text.js
#	msg/js/he.js
#	msg/js/id.js
#	msg/js/sr.js
#	msg/js/zh-hant.js
#	msg/json/en.json
…le-master-april-1

# Conflicts:
#	blockly_compressed_horizontal.js
#	core/block.js
#	core/block_render_svg_vertical.js
#	core/connection.js
#	core/inject.js
@tmickel tmickel merged commit 85f2613 into scratchfoundation:develop Apr 1, 2016
@tmickel tmickel deleted the google-master-april-1 branch April 1, 2016 19:07
picklesrus pushed a commit to picklesrus/scratch-blocks that referenced this pull request Aug 4, 2017
SpriteInfo: Design + refactor pass
* Updated SVG icons
* Added tab indexes, related scratchfoundation#88. Still no tab on radio buttons
* Removed outline on dropdown focus
* Radio icons: fixed redirecting issue, using `div` instead of `a`. Temporary, until radio buttons. Related scratchfoundation#156
* All icons: unselectable to prevent highlighting. Radio icons clickable
* SpriteSelector: fixed bottom padding in scroll wrapper
picklesrus pushed a commit to picklesrus/scratch-blocks that referenced this pull request Aug 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants