Wykres commitów

89 Commity (df2406cca2c2563cbd06be02b139b72e95fde363)

Autor SHA1 Wiadomość Data
Jens Mönig bbc16d1328 made block vars transient for block libraries 2017-10-04 16:23:41 +02:00
Jens Mönig ad0d0f7803 made "import script" undoable 2017-09-28 08:54:10 +02:00
Bernat Romagosa f90ae10267 Merge branch 'master' of https://github.com/jmoenig/Snap--Build-Your-Own-Blocks into download-stacks 2017-09-22 12:21:41 +02:00
Jens Mönig 1d174626a3 small tweaks, updated history & versions 2017-09-01 14:36:52 +02:00
Jens Mönig 1cecb672d5 added “instruments”: sine, square, sawtooth, triangle waves 2017-07-31 20:09:46 +02:00
Jens Mönig f7ff3074d2 enable type-assertion for list elements (costumes, sounds) 2017-07-26 17:07:18 +02:00
Jens Mönig 7f5a0b8272 enable inheritance by default
also tweak naming of instantiating to “clone”,
2017-07-07 11:15:25 +02:00
Jens Mönig 36e555cd5c Tweaked loading sprites with inherited complex attributes (costumes, sounds) 2017-06-27 09:43:00 +02:00
Jens Mönig acfd0629fe tweaks to saving shared resources 2017-06-26 19:03:02 +02:00
Jens Mönig 7b8602e367 First-Class Sounds 2017-06-26 12:46:05 +02:00
Jens Mönig 7ec3e16c4f added inheritance support for scripts
partly done, copy-on-write is still missing
2017-05-31 16:08:30 +02:00
Bernat Romagosa 140d6c3b6f allow to download block stacks as XML 2017-05-12 12:46:56 +02:00
Jens Mönig 145c764632 inheritance of sprite attributes (x, y, direction, size) 2017-05-05 11:17:15 +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 0808d08ba6 fixed #1645 2017-01-30 08:24:02 +01:00
Jens Mönig c8c36ae18f added support for codification of String, Number and Boolean value types 2017-01-27 19:05:50 +01:00
Jens Mönig 292cc749da allow project-setting “Ternary Boolean slots” to be switched off
default is “on”. That way Boolean input slots can always be toggled
through “true”, “false” and “empty”. If this setting is switched off
Boolean input slots only toggle between “true” and “false” unless
inside a a ring (for implicit parameters)
2017-01-23 15:03:47 +01:00
Jens Mönig 55e13caab4 added support for default values in custom block Boolean slots 2017-01-23 13:05:34 +01:00
jmoenig 1ecb97a972 Disable JS-Functions to protect users from malicious scripts
commented out for now
2016-12-27 16:08:23 +01:00
jmoenig c1668c4f15 work around a dreaded FF NS_ERROR_FAILURE for supporting retina
it’s a terrible and ugly hack with who-knows-which side-effects. I hate
computers.
2016-11-24 09:04:16 +01:00
jmoenig f37977f320 Block editing improvements - in development
* auto-wrapping for C-shaped slots (around top-level command stacks)
* settings option for auto-wrapping around inner nested stacks
* unlimited “undrop / redrop”, incl. keyboard shortcuts ctrl-z
ctrl-shift-z
* “undrop” also brings back blocks and scripts deleted via context menus
* … or via backspace / delete in keyboard entry mode
* Note: “undrop” is meant to be a temporary solution until
VanderbiltEdu’s synching / undo mechanism is ready for prime time
2016-11-22 10:47:47 +01:00
jmoenig f720fa7629 updated versions for pending release v4.0.9 2016-10-28 19:09:28 +02:00
jmoenig 2c98012fcf fixed #1472 2016-10-24 14:12:48 +02:00
jmoenig d2d096deff select all on fresh input slot edit 2016-10-24 12:27:02 +02:00
Brian Broll 7063487d34 Added unique sprite name check on import. Fixes #1463 2016-10-19 13:27:32 -05:00
Jens Mönig d55e309bf1 restore implicit formal parameters for serialized lambdas 2016-08-03 05:42:36 -04:00
Jens Mönig cd03fb3028 finalizing v4.0.8 2016-07-14 12:18:23 +02:00
Jens Mönig b6e7254a9e normalize project thumbnails (when saving in retina mode) 2016-07-12 15:41:49 +02:00
Jens Mönig fb145bea90 fixed #1225 2016-07-07 11:19:35 +02:00
Jens Mönig fd7cc852c7 save and restore pen trails in non-retina canvas mode 2016-06-17 06:40:12 -04:00
Jens Mönig f1d91d16ad fixed #1251 2016-06-10 10:09:22 +02:00
Jens Mönig f86a414343 Interactive Toggle Switches for Boolean Slots and Literals
in progress…
2016-06-01 13:35:54 +02:00
Jens Mönig 179d93f103 support for retina displays, integrates #1063 - IN PROGRESS
This has bee designed and written by the amazing Bartosz Leper
(@bl-nero). Since I totally suck at Git and find myself incompetent to
resolve merge conflicts, I’ve decided to manually copy Bartosz’s
changes mostly verbatim over, tweaking them only ever so slightly in
ways that don’t alter their functionality, except for introducing a
tiny test so current Safari still loads Snap, albeit not in retina
mode. THIS IT NOT READY FOR RELEASE YET, IT’S WORK IN PROGRESS. Get it?
Thanks!
2016-05-10 20:33:44 +02:00
Jens Mönig ed3b56a610 first-class sprites 2016-05-02 12:53:08 +02:00
Jens Mönig b35bc9907a prepare repo for v4.0.7 2016-04-27 10:39:27 +02:00
Jens Mönig bbb5106879 towards v4.0.6
* fixed #99 (saving linked lists)
* fixed #1163
* added web api / https reporter library
* new “transient variable” feature
* German translation update
2016-03-16 13:00:31 +01:00
Jens Mönig df0269f5cc support for viewing 2D lists as tables 2016-02-24 11:35:18 +01:00
Jens Mönig 825c5f5568 Throw an error for “obsolete” blocks
instead of (forever) doing nothing (and thus often freezing and
crashing). Thanks, Paul, for helping identify this!
2016-01-19 00:03:17 +01: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
Jens Mönig 72bf4cfb8c New feature: Remove Unused Global Blocks
* BYOB, Objects, GUI: New “Remove Unused Global Blocks” Feature
* GUI, Lists: “Export Project Summary” improvements:
  - show variable values as watcher pics
  - expand list watcher pics to show their complete contents (1. level)
  - url for shared projects
  - table of contents
  - basic support for sprite nesting and inheritance
  - make the summary “browsable” instead of editable
  - outline around sprite / stage snapshots
  - experimental hidden (shift-click) “drop-shadows” option
* GUI: Rearrange project menu, only show global blocks-related ops if
there are any
* GUI: Remove URL location.hash information when loading a new project
* Store: Fix deserialization support for projects using inheritance
* German translation update
2015-10-07 13:38:19 +02:00
Jens Mönig 7994d6c0ca Prototypal inheritance for sprite-local variables 2015-07-27 00:35:36 +02:00
jmoenig 4c21c9f187 Revert to "new" for object creation
and prepare for new release
2015-06-25 15:11:51 +02:00
Nathan Dinsmore 013e2740d8 Fix missing initialization call in SnapSerializer() 2015-06-17 17:26:56 -04:00
Nathan Dinsmore 87c2503571 Use Object.create(…) instead of new …() for inheritance (faster) 2015-06-17 17:11:40 -04:00
Jens Mönig 9385e4b57c fixed #784 2015-04-26 22:47:37 -04:00
Jens Mönig 7f9fe78c56 fixed #743 2015-03-15 14:55:37 +01:00
Jens Mönig ee88f7ad39 Cache inputs - accelerate recursive reporters
and warped / turbo recursive commands by up to 40%
2015-02-28 05:44:59 -08:00