Wykres commitów

126 Commity (c668108f53259642de38e5ca824351ad7ecbaaf6)

Autor SHA1 Wiadomość Data
jmoenig bc6e09d893 fixed #2043 2018-06-15 12:39:10 +02:00
jmoenig 0731192941 fixed support for numerical custom block input names 2018-06-06 18:13:36 +02:00
Jens Mönig 389ca9fbed included local methods in the OF-block's left drop-down menu
This brings back BYOB’s way to invoke another sprite’s local custom
block by simply selecting it from the OF block’s drop-down menu.
2018-01-18 14:23:47 +01:00
Jens Mönig 3584c13258 Localization support for custom blocks (experimental) 2017-12-01 12:55:15 +01:00
Jens Mönig 3e5ca73d09 changed label of "Method" to "Method Editor"
thanks, Brian!
2017-10-09 09:04:34 +02:00
Jens Mönig bbc16d1328 made block vars transient for block libraries 2017-10-04 16:23:41 +02:00
Jens Mönig 1101f29751 added floating toggle for keyboard entry to scripts toolbar 2017-09-26 15:46:07 +02:00
Jens Mönig 643cf9072f Merge pull request #1841 from cycomachead/fix-downloads
Fix Issues for Exporting Files
2017-09-19 08:57:19 +02:00
Jens Mönig 3dd0433ae6 added “inherited” option to inheritable method templates’ context menu in the palette 2017-09-19 08:27:31 +02:00
Michael Ball 06284ae8a2 Merge master / resolve conflicts 2017-09-09 12:18:00 -07:00
Michael Ball 1210006614 merge master 2017-09-01 16:14:50 -07:00
Michael Ball 07d31797eb merge dev updates 2017-09-01 16:06:50 -07:00
Jens Mönig 1d174626a3 small tweaks, updated history & versions 2017-09-01 14:36:52 +02:00
Jens Mönig 4bea32a5e8 enable exporting script pics of custom blocks in the newest Chrome version, which disables opening tabs on dataURLs
Sheesh…
2017-08-30 08:43:02 +02:00
Michael Ball e8c0385719 Remove remaing code for opening exports in a new window 2017-08-26 18:05:37 -07:00
Jens Mönig 07d97222eb changed Block Editor label to "Method" for methods 2017-07-25 23:23:18 +02:00
Jens Mönig a6ed3f6fd3 shadow inherited scripts when changing the category of an inherited method 2017-07-15 18:01:12 +02:00
Michael Ball bdc6c9e1c4 Fix some file naming bugs
The additional text wasnt correctly being appened to project name.
Also, this makes "untitled" lowercase, consistent with other usage.
2017-06-28 00:23:52 -07:00
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