Wykres commitów

191 Commity (a482871a9c215d4ee34b8d1fb10e34f0ebcef650)

Autor SHA1 Wiadomość Data
Jens Mönig eb04315f01 Merge pull request #1240 from bromagosa/1239-fix
fixes #1239
2016-07-04 09:25:24 +02:00
Jens Mönig 38dabc7555 don't execute Boolean sliders on empty slots 2016-07-04 09:23:41 +02:00
Jens Mönig 61dec93ede Merge pull request #1250 from bromagosa/live-boolean-inputs
Implements execute on change for boolean toggles
2016-07-04 09:12:17 +02:00
Jens Mönig cbf8d384fc Boolean slots: coerce false-ish values to null
when loading projects
2016-06-28 19:06:05 +02:00
Bernat Romagosa 37ba8dd000 Implements execute on change for boolean toggles 2016-06-09 18:02:08 +02:00
Jens Mönig 9cd720d613 fixed #1241 2016-06-05 18:15:40 +02:00
Jens Mönig da46f4b20d text labels for Boolean block and value representations 2016-06-04 09:19:11 +02:00
Jens Mönig bd2c9a3bed animate Boolean toggle switches 2016-06-03 13:22:12 +02:00
Jens Mönig 31e39e3848 more tweaks to Boolean "tick" and "cross" icons 2016-06-02 18:44:41 +02:00
Jens Mönig 5e82a384a7 tweak Boolean "tick" and "cross" symbols 2016-06-02 18:32:25 +02:00
Jens Mönig 91a8fc1c7f Booleans: Swap toggle orientation and add "tick" / "cross" icons
still under construction and in discussion. Don’t rely on this feature…
2016-06-02 18:20:11 +02:00
Jens Mönig f86a414343 Interactive Toggle Switches for Boolean Slots and Literals
in progress…
2016-06-01 13:35:54 +02:00
Bernat Romagosa 5605f68509 faster checking for topblock-ness 2016-05-31 18:07:19 +02:00
Bernat Romagosa 83ac941236 fixes #1239 2016-05-31 17:22:45 +02:00
Jens Mönig 9320ecf5e3 fixed #1219 2016-05-30 18:31:48 +02:00
Jens Mönig 137b303124 fixed #1223 2016-05-30 10:46:24 +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 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 df0269f5cc support for viewing 2D lists as tables 2016-02-24 11:35:18 +01:00
Jens Mönig e4ea35132d Fixed a rendering glitch when deleting reporters
via the context menu
2016-01-22 09:23:23 +01:00
Jens Mönig 71f4ca475a update version indicator 2016-01-16 00:13:06 +01:00
Jens Mönig 833a6c3a96 fixed a multi-line input slot layout glitch 2016-01-16 00:04:36 +01: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 e672fe5056 fix exporting script pics from block editors (again) 2015-12-15 17:17:42 +01:00
Jens Mönig e1f3b9be8f fix exporting a script pic from inside a block editor 2015-12-15 15:58:55 +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 8050b5b8cb Merge branch 'master' into blob-api
* master:
  add Brian's help panes for "for each item of list" block
  optimize cloud communication
  fixed linked lists identity loss when showing watchers
  Add LABEL to the tools library; fix #1009
  fixed a zebra-coloring glitch for BooleanSlotMorph
2015-12-08 03:49:08 -08:00
Michael Ball e241ff6795 Cleanup log statement; minor try/catch refactoring 2015-12-01 03:14:16 -08:00
Michael Ball 9490b65270 Cleanup filenames and references to `ide` 2015-12-01 01:45:58 -08:00
Jens Mönig efbb3d5886 fixed a zebra-coloring glitch for BooleanSlotMorph 2015-11-17 15:26:22 +01:00
Michael Ball 6f03f121ad Fix some file names in exporting content 2015-11-16 18:31:19 -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
Jens Mönig 2642708780 Merge pull request #971 from cycomachead/resource-loading
Refactor Loading Resources (Sounds, Libraries, etc)
2015-11-16 12:34:51 +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
Michael Ball db7fcada84 Finish saveAs in blocks.js; fix encoding saving a canvas 2015-11-12 03:29:32 -08:00
Michael Ball e47dcb0ebf Improve saveAs refactoring (WIP across all Snap!)
- added TODO comments to all functions that need updating (byob, blocks)
- separate out the code into 3 new functions for readability:
  - `saveFileAs` is a generic method
  - `saveCanvasAs` and `saveXMLAs` are wrappers which aid in exporting images and all XML files which together cover almost all export cases.
  - In other cases, you can call `saveFileAs` directly with some additional input.
- `saveCanvasAs` in particular uses a new `Canvas.toBlob()` option when it is available (FF and IE currently) that should greatly reduce memory.
(Chrome and Safari both have open bugs and may at somepoint implement this function.)
- I have added in code to detect bugs in chrome, including when a new window is being opened. If a new window cannot be opened, the a (to be written) warning message will appear.
- a few functions (namely those in morphic.js) have not touched. However, these are functions which should only occur in a small subset of cases and are behind hidden features.
2015-11-09 15:14:23 -08:00
Michael Ball cce37d8172 Use resourceURL() for items in help/ 2015-10-07 23:32:52 -07: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 cd7f99534b updated version date 2015-09-23 12:17:41 +02:00
Jens Mönig f4b02ddd2e updated German translation
… and version history
2015-09-23 12:12:52 +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
Jens Mönig d243b379e8 fixed #907 2015-08-14 15:23:47 +02:00
Jens Mönig 8601925acc improve keyboard editing for embedded rings 2015-07-30 14:49:10 +02:00
Jens Mönig 10fe9d882a thread monitoring tweaks 2015-07-27 09:42:41 +02:00
Jens Mönig cbba888012 thread introspection support 2015-07-27 01:30:05 +02:00