Wykres commitów

168 Commity (c14e15f7b197ea1c3312cd94d281c82f2614ea57)

Autor SHA1 Wiadomość Data
Jens Mönig c14e15f7b1 added attributes to the “delete” block’s drop-down menu 2017-05-09 18:08: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 e206f145a7 Chrome patch - attribute inheritance (in progress) 2017-04-23 18:30:49 +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 e86490dfab fixed #1618 - only mark implicit parameters if no formal ones exist 2017-02-09 20:27:30 -08:00
Jens Mönig c8c36ae18f added support for codification of String, Number and Boolean value types 2017-01-27 19:05:50 +01:00
jmoenig ed407dc558 make error messages occurring in generic WHEN hat scripts visible 2017-01-11 13:39:48 +01:00
jmoenig bb8154a211 fixed #1602 2017-01-04 17:33:38 +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 b920624c4a updated history 2016-12-22 14:30:55 +01:00
Joan Guillén i Pelegay 6b20644c53 Fixing typo - tab control character hidden 2016-12-22 09:45:04 +01:00
Joan Guillén i Pelegay e50f4e3712 Fixing ColorSlotMorphs behavior in Visible Stepping 2016-12-22 00:19:38 +01:00
jmoenig f720fa7629 updated versions for pending release v4.0.9 2016-10-28 19:09:28 +02:00
jmoenig 070636228a tweaked continuations 2016-10-24 20:37:39 +02:00
jmoenig 7c2d505df9 fixed #1422 2016-10-21 16:29:04 +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
Jens Mönig 0b1a100498 for hidden sprites display ASK questions in the input box
reported by NZ teacher @gmacmanus on Twitter:
https://twitter.com/gmacmanus/status/764023230747123712
2016-08-12 11:48:56 +02:00
Jens Mönig b270058cf6 fixed a fix 2016-07-19 14:44:39 +02:00
Jens Mönig 8ba7c180c9 Merge pull request #1330 from cycomachead/issue-1322
Fix a few Integer 0 vs String Errors.
2016-07-19 14:39:51 +02:00
Jens Mönig ee0765db3e enable broadcasts to be sent to specific sprites (experimental) 2016-07-19 14:38:27 +02:00
Michael Ball c643a09615 Handle 0 ints as strings in split by block 2016-07-19 03:09:29 -07:00
Michael Ball 78a627df27 Fix a int 0 bug in green length of block 2016-07-19 02:54:52 -07:00
Michael Ball 04b4c6678d Fix #1322, length of (int) 0 inputs
I also renamed the internal variables to be slightly more generic, but
now the function reads better. (IMO)
2016-07-19 02:34:08 -07:00
Jens Mönig cd03fb3028 finalizing v4.0.8 2016-07-14 12:18:23 +02:00
Jens Mönig 572c05502f fixed #1248 2016-06-12 08:10:48 -04: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 f1d1ea2f3f fixed #1239 2016-05-31 09:50:27 +02:00
Jens Mönig 3299878c15 fixed #1212 - Null continuation doesn't escape from calling context 2016-05-09 13:11:09 +02:00
Jens Mönig 71333021d4 cloning speedup
significantly speed up sprite cloning through partial shallow-copying
of scripts and costumes instead of deep-duplication
2016-05-04 16:37:46 +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 ad25c6aefd fixed a glitch in doWhen() 2016-02-24 23:15:32 +01:00
Jens Mönig 2f41581109 Merge pull request #1097 from cycomachead/export-error-pics
Allow exporting script pics with results that error
2016-02-24 11:57:30 +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 25bfecc079 remove a redundant yield from the fork primitive 2016-01-08 14:31:22 +01:00
Michael Ball 5b320fb091 Allow exporting script pics with results that error 2016-01-05 16:52:20 -08:00
Jens Mönig 300a6dff7a fixed #1082 - revert to ’any key’ in the key-pressed menu 2015-12-22 08:00:57 +01:00
Jens Mönig 2984a4d683 fixed #1071 2015-12-17 08:13:48 +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 6061403a89 Prepare for v4.0.3
* fixed occasional horizontal rendering artifacts in block “holes”
(C-shaped slots and Ring holes)
* improved user editing of input slots and fixed cursor behavior (note:
the text cursor inside input slots also blinks again, as it should have)
* always export comments attached to prototype hat blocks in the block
editor along with script pic
* when first opening a block editor on a custom block definition make
it big enough to show everything (as much as fits on the screen)
* remember block editor position and dimensions for each edited custom
block definition when acknowledging (pressing OK or APPLY) for the
session
* speed up stacking of commands and loading of projects by suppressing
redundant block redraws
* introducing a “grab threshold” preference to suppress accidental
grabbing through micro-movements of the hand. This addresses the
“cannot-click-on-drop-downs-in-Chrome-under-Windows” set of bug
reports, and also the issues that arise out of accidentally dragging
off a copy of a parameter blob when trying to just click on it to
rename it
* new hidden (shift-click) option to adjust the grab threshold in the
settings menu for the current session
* expand list watchers inside result bubbles and speech/thought
balloons to show everything (as much of the list’s first level as fist
into either the scripting area for result bubbles or the stage for
speech balloons - note resizing the stage affects the size of the list
watchers inside speech balloons, i.e. making the stage bigger increases
the number of visible elements even while the balloon is showing)
* fixed a bug that make an occasional gray rectangle appear at the
mouse pointer
* added a way to invoke blocks synchronously in JavaScript - under
construction (possibly to be used for generic “When” hat blocks and
user-customizable drop-downs)
* added methods to cache morphs’ fullImage and fullBounds while dragging
* Reporters (also nested reporters) and sprite icons (in the corral)
are now semi-transparent when being dragged, so you can see possible
drop target halos /through/ them
* in “prefer empty slot drops” mode (default) it is now much harder to
drop reporters onto non-static C-slots inside custom blocks (e.g. in
FOR loops) and onto variadic input arrowheads (to replace the whole
input with an input list)
* ScriptsMorphs are now noticing transparent clicks (addresses #997)
* %interaction slots are now static, fixed #982 (it is no longer
possible to drop reporters into the input slot of a “When I am…” hat
block (never was intended that it should be possible)
* fixed ctrl-f for the block editor in all situations (thanks, Brian,
for the bug report)
2015-11-16 12:18:40 +01:00
Jens Mönig 2172084dae New feature: Export Project Summary
* opens a new browser tab on an editable HTML document containing an
overview of the current project which can be further processed (saved,
edited, printed, turned into a PDF) to create a project report.

* now, when you export script pics attached comments get included.

* also new: Support to detect and react to “any” keystroke (hat and
sensing blocks)
2015-10-02 12:39:41 +02:00
Jens Mönig f4b02ddd2e updated German translation
… and version history
2015-09-23 12:12:52 +02:00
Jens Mönig 858094dd16 Merge pull request #909 from cycomachead/ceiling
Add a Ceiling to the monadic math-block-thing
2015-09-23 11:50:02 +02:00
Jens Mönig 88fb358170 fixed #925 2015-09-15 18:18:40 +02:00
Michael Ball 5a7b8bd2d6 Add a Ceiling to the monadic math-block-thing
(Does that block have a name?)

This is good for two reasons:
* it just makes sense to have floor and ceiling together
* It's a minor thing for scratch 2 parity.
* it doesn't clutter anything. 😁
2015-08-15 12:28:57 +02:00