Wykres commitów

108 Commity (de29bffe159d40ead33a42e00a9544d17a187554)

Autor SHA1 Wiadomość Data
Jens Mönig eea1d08c82 let clones share the orginal’s scripts without shallow-copying them 2017-05-30 17:07:09 +02:00
Jens Mönig ce23f9f54f v4.1 - dev -
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
2017-04-10 11:48:55 +02:00
Jens Mönig 00db1cce3f Revert to 4.0.10
to prepare for newly surfaced bug in the Chrome browser
2017-04-10 10:28:30 +02:00
Jens Mönig 4db428b65c roll-back double-pointer container cache for methods 2017-03-01 10:11:47 +01:00
Jens Mönig ebc29c76d5 turned “definition” property of custom block instances into a double-pointer (Variable) structure
in preparation for OOP (method inheritance). This should not result in
any new behavior or break anything, if it does (at this point), it’s a
bug.
2017-02-16 08:08:30 +01:00
Jens Mönig 114425b421 disable (comment out) experimental block inheritance for now 2017-02-14 14:29:20 +01:00
Jens Mönig 00e68ade1a Custom block inheritance, highly experimental and under construction 2017-02-02 12:00:47 +01:00
Jens Mönig ab5bbb9b56 new experimental feature: duplicate block definition
Currently hidden in shift-click context menu of custom blocks
2017-01-24 08:46:38 +01:00
Jens Mönig 11600f80ba changed “new line” symbol to $nl 2017-01-24 08:00:33 +01:00
Jens Mönig 55e13caab4 added support for default values in custom block Boolean slots 2017-01-23 13:05:34 +01:00
Jens Mönig b370e9a337 fixed a glitch for the "line break" option in the symbols menu 2017-01-20 13:51:57 +01:00
Jens Mönig dad77eb25a support user-forced line-breaks in custom block labels
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.
2017-01-20 13:03:51 +01:00
jmoenig b9539918bf removed obsolete code for custom block hover-help 2017-01-03 17:37:37 +01:00
jmoenig 1843e29087 submenu enhancements
* 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
2017-01-03 17:24:25 +01:00
brianharvey 66dd397d22 Merge remote-tracking branch 'jmoenig/master' into hierarchical 2016-12-30 20:39:19 -08:00
brianharvey e4f8751fce add API procedure, Michael review 2016-12-29 23:44:02 -08:00
brianharvey 954b2f828f Fixes from summit meeting
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.
2016-12-29 19:57:35 -08:00
jmoenig c0d192bd1d Disabled hover-help for custom blocks
some people find it annoying
2016-12-29 13:01:09 +01:00
jmoenig a8171dee2c updated version date 2016-12-27 17:09:18 +01:00
Michael Ball 3c8eb522bf Merge branch 'master' of git://github.com/jmoenig/Snap--Build-Your-Own-Blocks into typo-fix
* '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
  ...
2016-12-22 12:59:24 -08:00
jmoenig f720fa7629 updated versions for pending release v4.0.9 2016-10-28 19:09:28 +02:00
Michael Ball 932ba35ee5 minor typos 2016-10-28 03:34:15 -07:00
Jens Mönig 97975e47aa Merge pull request #1450 from brollb/fixed-typo
Fixed minor typo (anser -> answer)
2016-10-16 17:32:15 +02:00
Jens Mönig 574804d304 Merge pull request #1447 from brollb/fixed-global-typo
Fixed typo ('gobal' -> 'global')
2016-10-16 17:31:21 +02:00
jmoenig ff5f9a7601 Visible Stepping, and more
* 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
2016-10-15 11:15:01 +02:00
Brian Broll 3c7aee25a1 Fixed minor typo (anser -> answer) 2016-10-06 14:40:24 -05:00
Brian Broll d6cfc77544 Fixed typo ('gobal' -> 'global') 2016-10-05 10:41:47 -05:00
Jens Mönig cd03fb3028 finalizing v4.0.8 2016-07-14 12:18:23 +02:00
Jens Mönig 23c8ad2208 fixed #1277 2016-07-06 23:25:46 +02:00
Jens Mönig c7aab81272 prevent last label fragment from accidental deletion 2016-07-04 10:54:24 +02:00
Jens Mönig a482871a9c avoid nagbox in block dialog 2016-07-04 10:01:38 +02:00
Jens Mönig 067d0b7bed Merge pull request #1236 from ilayraz/iss1131
Bug fix to issue #1131
2016-07-04 09:59:15 +02:00
ilay 698e82ab76 Fix #1131 BlockDialogMorph checks for InputFieldMorph in children 2016-06-27 00:34:22 -07:00
Jens Mönig fb20fe2933 fixed #1258
in which we can take out some code that has been made obsolete by
animation frame based scheduling
2016-06-19 22:38:32 -04:00
Ilay Raz 2fcd1709e9 Bug fix to issue #1131: make a block checks for text when 'OK' is clicked 2016-05-24 17:11:56 -07:00
Jens Mönig df0269f5cc support for viewing 2D lists as tables 2016-02-24 11:35:18 +01:00
Jens Mönig 291555d9e1 fixed a zebra coloring glitch in the block editor 2016-01-18 17:39:44 +01:00
Jens Mönig 8001845706 preserve custom block instances’ block var values when editing their definition 2016-01-17 23:44:30 +01:00
Jens Mönig d443d662c0 fix it again, Sam ;-) 2016-01-11 20:25:42 +01:00
Jens Mönig 29b7a31f84 fixed #1107 2016-01-11 14:05:37 +01:00
Jens Mönig 30ca6e8121 fixed #1098 2016-01-08 14:24:45 +01:00
Michael Ball e27a7f245e Resolve merge with 4.0.4 2015-12-15 03:46:27 -08:00
Jens Mönig f24b65f673 towards v4.0.4 - under construction -
* 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
2015-12-15 10:14:56 +01:00
Michael Ball 9490b65270 Cleanup filenames and references to `ide` 2015-12-01 01:45:58 -08:00
Michael Ball 396be20b18 Some code cleanup and variable name fix 2015-11-17 02:42:17 -08:00
Michael Ball e1e73d8feb Fix syntax error, and accessing IDE bug exporting blocks 2015-11-16 19:41:20 -08:00
Michael Ball fa1a24a4bd Fix syntax error, and accessing IDE bug exporting blocks 2015-11-16 18:41:54 -08:00
Michael Ball dafb6146f6 Fix merge conflicts, and cleanup saveFileAs code 2015-11-16 18:12:33 -08:00
Michael Ball fa6f168bc0 Merge in 4.0.3, resolve conflicts with scriptpics 2015-11-16 17:53:17 -08:00
Jens Mönig f5ffcea231 fix two zebra-coloring related glitches
… which I’ve introduced in trying to avoid “redundant” redraws earlier
2015-11-16 18:02:35 +01:00