Features:
* polymorphic sprite-local custom blocks
* inheritance of sprite-local custom blocks
* localization support when typing expressions
* support for user-forced line-breaks in custom block labels
* ternary Boolean slot setting: support to limit Boolean input slots to
“true/false” outside of rings and in palette
* support for default values in custom block Boolean slots
* experimental: duplicate block definition (hidden in shift-click
context menu)
* support for codification of String, Number and Boolean value types
* costume icons indicate svg costumes
* sprites’s rotation centers can be adjusted onstage
Fixes:
* changed keyboard shortcut indicator for “find blocks” to “^”
* prevent Snap from “hanging” when encountering certain errors in
visible stepping
* only mark implicit parameters if no formal ones exist
Creating a custom block label-fragment named “$br” forces a new line in
all block instances. You can also select “line break” from the
label-fragment’s context menu, same as selecting a symbol.
This is really ugly, I know, I know.
But I need it to play with the micro:bit and the calliope boards.
* improve keyboard navigation (use right-/left-arrows to enter/leave)
* delay popping up submenus when mousing over submenu items
* right-align submenu indicator (same as a shortcut)
* keep submenus open if the mouse leaves them
* support creating custom drop-downs from nested dictionaries
I'm sure I've forgotten something...
1. Braces instead of arrows.
2. Fix the bug about non-unique ~ or }
3. Fix the jiggle when submenu reopened.
4. Respond to Jens review in github.
4a. Get rid of Boolean arg to popup.
Not done: find another home for doubleClickAction. Maybe later.
* 'master' of git://github.com/jmoenig/Snap--Build-Your-Own-Blocks: (85 commits)
updated history
simplified reporterize>>blockFromAST
Fixing typo - tab control character hidden
Fixing ColorSlotMorphs behavior in Visible Stepping
added Boolean operators to “reporterize”
fixed a glitch in "reporterize"
fixed an expression parsing glitch
tweaked "reporterize"
reporterize: support '_' as empty slot place holder
reporterize: support for monads etc.
moved reporterizing infix expressions to search-blocks field
[experimental] blockify simple arithmetic expressions inside comments
new url option switch: &noExitWarning
updated history
Adding 26 extra strings
Adding extra strings from lang-pt.js
tweaked elastic easings
added easeOutElastic function
Updated with lang-de.js
added a few in-/out- only easing functions for animations
...
* Visible Stepping with flashing blocks + slider for stepping speed
* user-controlled visible stepping with “step forward” button
* speed-up: removed unnecessary yields when running custom blocks
* you can now force a single yield with “wait 0” block
* tweaked keyboard entry: if inserted block has inputs go to first one
* only autoscroll panes where it makes sense (not the palette etc.)
* populate messages drop-down with all msgs, including ones from custom
block definition
* Show result bubble when the user clicks on a command script that uses
REPORT (You can now click on REPORT and it actually does something)
* New generic “When” hat block, enhances red stop button behavior
* New block (instance) variables feature (experimental)
* evaluator performance optimizations
* Morphic grab-threshold fix for scroll frames
* fixed several block rendering glitches
* List category LENGTH reporter now also works on text
* Changed “any” to “random” (in English only)
* new FILL primitive in the Pen category
* switched to animation frame scheduling, please use TURBO for music
* Updated German translation