Wykres commitów

380 Commity (7d0d7ace35cceb89221fdfa05c68e6d1be9b51a2)

Autor SHA1 Wiadomość Data
jmoenig 3d269f1740 fixed a flat-mode glitch, updated Portuguese translation
thanks, Bernat for reporting the bug and Manuel for the translation
update!
2016-10-31 09:39:59 +01:00
jmoenig f720fa7629 updated versions for pending release v4.0.9 2016-10-28 19:09:28 +02:00
Michael Ball 68ce526226 merge in updates 2016-10-28 03:23:11 -07:00
jmoenig 5875900450 tweaked "fresh edit" behavior for input slots 2016-10-24 20:47:06 +02:00
Jens Mönig 5c40994f5a Merge pull request #1473 from brollb/misleading-comment
Updated comment to match code behavior
2016-10-24 17:42:51 +02:00
Brian Broll 4111903158 Updated comment to match code behavior 2016-10-24 09:57:14 -05:00
jmoenig d2d096deff select all on fresh input slot edit 2016-10-24 12:27:02 +02:00
Jens Mönig 31aed55227 Merge pull request #1457 from bromagosa/edition-improvements
text editing improvements
2016-10-24 09:24:59 +02:00
jmoenig 9c62da95bf tweaked keyboard-entry for blocks 2016-10-20 16:08:35 +02:00
Jens Mönig 261e8da9d9 Merge pull request #1449 from brollb/1448-rename-var-block-size
Use userSetSpec for var rename. Fixes #1448
2016-10-16 17:31:56 +02:00
Jens Mönig 1e4bb8a3ec Merge pull request #1417 from brollb/unringify-ring
Added check that parent is RingMorph. Fixes #1416
2016-10-16 17:29:31 +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
bromagosa f91af8b056 text edition improvements 2016-10-14 10:00:07 +02:00
Brian Broll d45f84b632 Use userSetSpec for var rename. Fixes #1448 2016-10-06 11:21:22 -05:00
Brian Broll 47fe8e5d50 Added check that parent is RingMorph. Fixes #1416
When providing the "unringify" option, it was checking that
the given block has a parent that is a RingMorph. However,
`parentThatIsA` will return the given block if it is the given
type when, in this context, we don't want to check the target of
the ringification.

Also fixed TypeError when unringify-ing an empty RingMorph caused
by a similar issue w/ getting the containing ring of an empty RingMorph
2016-09-22 12:37:18 -05:00
Jens Mönig 8d0a7f19b5 activate generic hat blocks inserted via keyboard editing 2016-07-15 13:42:02 +02:00
Jens Mönig e6ddb5421d fixed #1308 2016-07-14 08:06:47 +02:00
Jens Mönig 23c8ad2208 fixed #1277 2016-07-06 23:25:46 +02:00
Jens Mönig 8833b98ff6 revert multi-line support for custom block text slots
because the don’t support brown dots for spaces
2016-07-06 18:36:28 +02:00
Jens Mönig 19dee17476 multi-line support for text-type input slots in custom blocks
however, multi-line inputs do not support the brownish dots for space
characters.
2016-07-06 11:28:40 +02:00
Jens Mönig 18f94e6197 simplify expansion prevention in the palette 2016-07-05 09:26:07 +02:00
Jens Mönig ec6c5a952f fixed #1247 prevent multi-args from expanding / collapsing in the palette 2016-07-05 09:19:51 +02:00
Jens Mönig e812483b33 fixed attached comments for script pic export 2016-07-04 13:10:09 +02:00
Jens Mönig 541015c2a8 Merge pull request #1244 from djdolphin/graphiceffects
Add missing graphic effects from Scratch
2016-07-04 12:03:19 +02:00
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
djdolphin 6cdc861926 Add missing graphic effects from Scratch 2016-06-04 15:06:35 -04: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
Michael Ball 4efe302210 blocks.js fix code alignment 2016-01-11 15:24:46 -08:00
Michael Ball 486b9d04e7 camelCase expprtResultPic for consistency 2016-01-05 17:55:30 -08:00
Michael Ball a4d6c4e7ad Align comment text 2016-01-03 19:41:53 -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 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 3c98a86c71 Resolve merge in 4.0.3 2015-11-17 03:50:42 -08: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
Jens Mönig e8172e83dd update history 2015-07-27 01:12:12 +02:00
Jens Mönig 45a1d276b4 enable monitoring closurized non-locals and thread-temporaries (script vars of running processes) 2015-07-27 00:46:56 +02:00
Jens Mönig d66e5629ba support for prototypal inheritance for sprite-local variables 2015-07-27 00:37:47 +02:00
Jens Mönig 7994d6c0ca Prototypal inheritance for sprite-local variables 2015-07-27 00:35:36 +02:00
Jens Mönig 76d9d6bd49 keyboard editing support
activate:
      - shift + click on a scripting pane's background
      - shift + click on any block
      - shift + enter in the IDE's edit mode

    stop editing:
      - left-click on scripting pane's background
      - esc

    navigate among scripts:
      - tab: next script
      - backtab (shift + tab): last script

    start editing a new script:
      - shift + enter

    navigate among commands within a script:
      - down arrow: next command
      - up arrow: last command

    navigate among all elements within a script:
      - right arrow: next element (block or input)
      - left arrow: last element

    move the currently edited script (stack of blocks):
      - shift + arrow keys (left, right, up, down)

    editing scripts:

      - backspace:
        * delete currently focused reporter
        * delete command above current insertion mark (blinking)
        * collapse currently focused variadic input by one element

      - enter:
        * edit currently focused input slot
        * expand currently focused variadic input by one element

      - space:
        * activate currently focused input slot's pull-down menu, if any
        * show a menu of reachable variables for the focused input or
reporter

      - any other key:
        start searching for insertable matching blocks

      - in menus triggered by this feature:
        * navigate with up / down arrow keys
        * trigger selection with enter
        * cancel menu with esc

      - in the search bar triggered b this feature:
        * keep typing / deleting to narrow and update matches
        * navigate among shown matches with up / down arrow keys
        * insert selected match at the focus' position with enter
        * cancel searching and inserting with esc

    running the currently edited script:
        * shift+ctrl+enter simulates clicking the edited script with
the mouse
2015-07-26 23:37:10 +02:00
Lucas Karahadian 9a6a3a3801 Second octave
Added a second octave for good measure
2015-07-02 19:03:43 -07:00
Lucas Karahadian d3e6310e03 Merge remote-tracking branch 'jmoenig/master' 2015-07-02 18:51:52 -07:00
Jens Mönig 4707169519 Merge pull request #834 from cycomachead/number-functions
Implement log10 and 10^x math functions
2015-06-25 15:32:22 +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 e1b104948b Fix InputSlotMorph::fixLayout() 2015-06-18 16:05:27 -04:00
Nathan Dinsmore 0245a81fc0 Optimize loading projects a bit more 2015-06-17 23:05:34 -04:00
Nathan Dinsmore 95a815b6d6 Don't redraw label parts unnecessarily 2015-06-17 22:21:23 -04:00
Nathan Dinsmore f54da26e8e Don't step SyntaxElementMorphs or their children
~1500 ms before => ~150 ms after (stepping world with large scripts)
2015-06-17 20:05:35 -04:00
Nathan Dinsmore 94687f8e63 Optimize Block::thumbnail()
Remove noShadow, because copying is really expensive--you could probably add this in-place with some more complicated logic, but it doesn't seem worth it. Also fix clipping logic so that fades look good on all background colors.
2015-06-17 18:39:23 -04:00
Nathan Dinsmore 87c2503571 Use Object.create(…) instead of new …() for inheritance (faster) 2015-06-17 17:11:40 -04:00
Michael Ball e21a872b0d Implement log10 and 10^x math functions 2015-06-15 17:19:25 -07:00
Jens Mönig 03c4acd367 fixed #820 2015-06-08 15:40:59 +02:00
Lucas Karahadian fc0b88ceb3 Cleaned up
Code has been cleaned up/trimmed down and passes JSLInt
2015-05-18 14:55:03 -07:00
Lucas Karahadian 26cf649065 Merge remote-tracking branch 'jmoenig/master' 2015-05-15 16:52:09 -07:00
Lucas Karahadian 092999ab06 Implementation done
Finished implementing the piano morph, now to clean up the code and
make it pretty.
2015-05-15 16:51:39 -07:00
Jens Mönig 585d1541b8 select all text when first clicking an input slot 2015-05-01 11:53:42 -04:00
Lucas Karahadian fbe4d4f9ba Initial key prototype done
A key now appears next to items in the piano menu morph
2015-04-27 18:29:37 -07:00
Lucas Karahadian 9d26d58a9e I'm an idiot
Forgot to have correct init arguments
2015-04-27 16:17:42 -07:00
Lucas Karahadian 30f069eb1c General subclasses for piano
Set up the subclasses needed to display a piano.  No differences in
actual program yet.
2015-04-27 12:36:59 -07:00
Lucas Karahadian e804134d93 Merge remote-tracking branch 'jmoenig/master' 2015-04-20 13:24:46 -07:00
Lucas Karahadian 51a8b77491 Testing block drop-down menu repopulating 2015-04-20 13:24:20 -07:00
Jens Mönig 31ea6f6030 Only enable input caching for blocks 2015-03-09 07:39:51 +01:00
Jens Mönig 802ace18d1 fixed #738 2015-03-09 07:09:43 +01:00
Jens Mönig e906290f47 fixed #736
caching really *is* evil :-)
(if it weren’t for performance…)
2015-03-06 14:12:48 +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
jmoenig e5e216ccf2 Add user-interaction choices to the “When I am ...” hat block
“clicked”, “pressed”, “dropped”, “mouse-entered”, “mouse-departed”
2015-02-23 14:55:30 +01:00
jmoenig 9e91a93ac0 Fix "stop this block"’s lexical awareness
“stop this block” when used inside a custom block definition now always
returns out of the lexically enclosing script (the definition), even if
it is used inside other nested, C-shaped custom blocks in the
definition code. Previously it only stopped the nearest encompassing
“for” block, now it always stops the block whose definition it is in.
I don’t expect this fix to break any existing projects.
2014-11-21 16:55:25 +01:00
jmoenig ea05f7859f Treat REPORT blocks inside custom command definitions as STOP THIS BLOCK / IGNORE INPUTS
this also enables all existing FINCH blocks and other hardware
extensions again, which used the REPORT (HTTP://) pattern
2014-11-17 10:22:39 +01:00
jmoenig 57a16b3b31 fixed #601
correctly display symbol for %obj type input slots in the prototype
template
2014-10-01 12:31:36 +02:00
jmoenig ebbd0be87a fixed #584 2014-09-30 10:45:21 +02:00
jmoenig 5605df3dd5 Mutable upvars
allow upvars to be SET and CHANGEd
2014-09-22 15:21:56 +02:00
jmoenig 130e105ea3 enable Zombiefication of JS-Functions
you can now redirect “this” in a JS function by binding it to another
sprite using the OF block
2014-08-13 17:43:49 +02:00
jmoenig 61dd479a2b export script pic with result bubble
hidden option in the shift-context-menu of reporter scripts
2014-07-30 16:28:01 +02:00
jmoenig bfdbeca146 keep reporter-result-bubbles within the enclosing scripting pane 2014-07-29 13:16:01 +02:00
jmoenig e572da6f65 fixed #526
thanks, @bromagosa, for reporting it!
2014-07-29 08:21:25 +02:00
jmoenig f09a717719 rename "character" to "letter" in delimiter list
of “split” block
2014-07-18 15:36:56 +02:00
Jens Mönig 314c99737f Merge pull request #516 from cycomachead/split
Split Block: Add a character option for clarity
2014-07-18 15:32:50 +02:00
jmoenig c1d5910f33 list op fixes, thanks, Brian! 2014-07-18 07:44:26 +02:00
Michael Ball 440cd340a5 Split Block: Add a character option for clarity
This also allows the split block to be used more easily in a HOF
2014-07-17 12:02:07 -07:00
jmoenig 5decf8a0e0 minor format tweaks to "Screenshot" feature 2014-07-17 10:59:13 +02:00
Jens Mönig c11e4c7c6d Merge pull request #340 from cs10/extensions
Save stage/pentrails as costume (for animations)
2014-07-17 10:47:49 +02:00
Viraj Mahesh a7f0de880f Merge branch 'master' into extensions
Conflicts:
	objects.js
2014-07-13 09:47:30 +04:00
jmoenig 900c7e068b make the color of the %pause symbol more yellowish 2014-07-11 12:34:37 +02:00
jmoenig 2ecdf1c9e4 fixed #490 2014-07-08 19:27:10 +02:00
jmoenig 2f864cd7de change “delete” behavior in context menus
to only delete this particular blocks (and reconnect the next block to
the previous one)
2014-07-08 18:46:52 +02:00
jmoenig 17ea18f057 add "ringify" to every "unringify" menu option 2014-07-06 19:07:30 +02:00
jmoenig 7f8d5a3d1e relabelling custom blocks (experimental) 2014-06-06 13:57:45 +02:00
jmoenig a5eace927a show zebra-coloring when previewing cross-category relabels 2014-06-06 13:04:46 +02:00
jmoenig 0b80976c9c tweaks 2014-06-06 12:12:19 +02:00
jmoenig dcd7fb9254 enable relabelling blocks across categories 2014-06-06 11:56:47 +02:00
jmoenig 9bbe9b2e0a enable relabelling blocks with C-Slots 2014-06-06 11:45:41 +02:00
Jens Mönig 8362f422a7 Merge pull request #459 from galaticalmonkies/graphiceffects
Graphic effects
2014-06-04 12:42:52 +02:00
jmoenig ef3997cccf Blocks: refactor “script pics” feature 2014-06-04 12:39:28 +02:00
yuan e7f9ff5dcb JSLinted 2014-06-02 00:07:00 -07:00
yuan e1b97b98df added graphics effects that work for all redraws; incorporated most recent updates to Snap! 2014-05-27 00:57:19 -07:00
jmoenig f9989ad7cf checkpoint - release 2014-05-02 11:08:30 +02:00
jmoenig 5ab8b7e563 checkpoint 2014-04-30 12:52:54 +02:00
jmoenig 6fd93533ec display costume thumbnails in speech/thought/value bubbles and watcher cells 2014-03-31 13:09:31 +02:00
Viraj Mahesh a9636e6220 Removed part.canBeEmpty = false; for consistency 2014-03-12 20:12:54 -07:00
Viraj Mahesh 85ebc2369b Added ability to save pen trails
Added dropdown menu to choose what to save
2014-03-10 22:21:20 -07:00
jmoenig dac7460e76 integrate Date block, thanks, Michael 2014-02-11 18:00:16 +01:00
Michael Ball 434392a879 remove lang file and incorporate fixes in blocks, opbjects 2014-02-06 20:26:32 -08:00
Michael Ball 817f4c5420 resolve merge conflicts; date problems only 2014-02-04 11:59:45 -08:00
Michael Ball 9aa3921dd0 Remove unecessary items and reorder dropdown 2014-01-26 04:30:43 -08:00
jmoenig fa88fdc761 validated all source files against the latest JSLint version
and pushed to this date
2014-01-09 18:50:38 +01:00
jmoenig 8a1ca3116b Collapse STOP primitives into a single block with a dropdown of options 2014-01-09 15:36:16 +01:00
jmoenig 1e959b8891 fixed StopOthers blocks and added another option
also updated the German translation
2014-01-08 17:51:34 +01:00
jmoenig 0020aeda14 initial support for „sensing“ sprite-only custom block definitions
commented out for now
2014-01-08 13:24:30 +01:00
jmoenig 8646dfc35e support for TELL and ASK
The FOR reporter’s first input now also accepts blocks and scripts
(„rings“), and reports a copy that is bound to the sprite indicated by
the second input. This lets you „zombify“ (or remote-control) sprites
(and create custom TELL and ASK blocks)
2014-01-08 12:18:04 +01:00
Michael Ball 9f0f9dde37 Add style tweaks per Nathan's comments. 2013-12-28 15:01:24 -08:00
Michael Ball faa8b4fe22 Add a 'get current DATE' block with various options, add some translations to FR and DE 2013-12-27 18:49:56 -08:00
jmoenig 3b596cf6fb comment on relabelling issue
save old code for future reference in case we introduced a bug here
2013-11-26 18:44:07 +01:00
Nathan Dinsmore 2871d2ddb6 Fixed issue #244 (relabelling now preserves empty input slots) 2013-11-26 09:00:13 -05:00
jmoenig 1b05a11f14 fixed # 179
don’t identify primitive (static) C-Slots as implicit formal parameters
2013-11-26 12:29:01 +01:00
jmoenig d9a1a2224b Localization update 2013-11-26 11:07:22 +01:00
Manuel Menezes de Sequeira 6b2d60cd41 Make menu item text similar to other picture generating itens. 2013-11-23 20:01:34 +00:00
jmoenig 540ae2fcf4 Disallow "ringify" option for inline-template blocks 2013-11-22 13:46:40 +01:00
jmoenig 3a9e258fef Prevent „hide“ menu option for non-palette template blocks
thanks, Brian, for reporting this glitch!
2013-11-22 11:57:37 +01:00
jmoenig 17508d275a fixed read-only input slot coloring glitch
thanks Bernat, for reporting it!
2013-11-15 12:52:44 +01:00
jmoenig 81654e7299 „read-only“ option for editable custom block input slots
also custom block input slots reverting to default now show their
default value (useful in combination with the new "read-only" option
2013-11-15 11:18:45 +01:00
jmoenig 93f97c01e0 left-align multi-line text in value-bubbles 2013-11-12 12:30:14 +01:00
jmoenig 651f44ebdf customizable drop-down menus for input slots 2013-11-12 11:44:39 +01:00
jmoenig 2226f0c92a enable symbols as custom block label parts
as well as enabling Costumes to become Symbols, and additional symbols
(speech bubble, arrows, robot)
2013-10-25 12:35:15 +02:00
jmoenig a2718204cd fixed #199
"can't delete reporter with attached comment via context menu"
2013-10-08 17:25:11 +02:00
jmoenig dc709c2e12 fixed #186 (can't duplicate blocks with anchored comments) 2013-09-30 14:41:59 +02:00
jmoenig c01a236f95 German translation update
(for Undrop feature)
2013-08-02 12:32:34 +02:00
jmoenig f9c8fb04e0 Undrop Commands feature
first iteration
2013-08-02 12:05:34 +02:00
jmoenig 3d08b59fe0 Undrop Comments feature 2013-08-02 08:38:46 +02:00
jmoenig 98eb26f7c2 Undrop Reporters feature tweaks 2013-08-02 08:33:07 +02:00
jmoenig 4e409623b3 "Undrop" Reporters feature (in script areas' context menus)
first rough pass
2013-08-01 18:31:55 +02:00
jmoenig 060c5fcb9d Italicize editable input options (e.g. for the SPLT block) 2013-08-01 12:51:04 +02:00
jmoenig 8dde1684f1 "whitespace" & other options in SPLIT reporter's dropdown
still hidden in dev mode
2013-08-01 11:49:35 +02:00
jmoenig 6fa1fcd876 experimental text SPLIT primitive in the operators category
(currently only accessible in dev mode)
2013-07-31 15:15:27 +02:00
jmoenig 1591466317 PAUSE primitive command block 2013-07-30 13:48:12 +02:00
jmoenig 20c1d4d14f Avoid dropping reporters into variadic inputs unless it touches the arrows 2013-07-30 10:35:37 +02:00
jmoenig 4c9150d7e7 experimental text-function primitive
(hidden, shown only in dev mode in the operators category)
2013-07-15 15:45:11 +02:00
jmoenig 7eba03eaf1 Pipette symbol 2013-07-12 11:27:13 +02:00
jmoenig 5f88fc93bb preserve nested reporters in "kicked out" variadic inputs
instead of "swallowing" them.

also new: floor() function in monadic math reporter's drop-down
2013-07-11 17:45:09 +02:00
jmoenig eb8aef28c8 fixed occasional flickering in scripting areas
(caused by deleted feedback morphs, a bug that surfaced in Chrome 28 on
OSX and may be due to a possible Chrome GC issue)
2013-07-11 14:54:44 +02:00
jmoenig 167a175d18 Codification changes, Boolean slot bug fix
* Collapsed codification primitives (code, header) into a single block
* Added isEmptySlot() to BooleanArgMorph (thanks, Brian, for the bug
report!)
2013-07-09 21:10:16 +02:00
jmoenig 3314477dc2 Blocks: fixed CommentMorph hiding/showing bug
when switching to / from presentation mode the previously hidden text
(in collapsed state) was again shown along with the resize handle
2013-07-05 10:40:57 +02:00
jmoenig b59f7f3e27 Codification (blocks to text) support complete
text code mapping and block header support, both via GUI and
primitives, for built-in blocks and for custom ones.
2013-07-04 15:31:05 +02:00
jmoenig 9c6b2a3e6f code mapping: dialog input is now multi-line monospaced 2013-06-25 09:46:21 +02:00
jmoenig 416d92d78b pretty printing support for mapped code
better formatting capabilites now support Python mappings
2013-06-24 17:49:47 +02:00
jmoenig 8ef095c719 code mapping: pretty printing support (work-in-progress)
commented out for now, not yet functional
2013-06-21 15:11:21 +02:00
jmoenig f2ec80b20c code mapping: pass on c-slot clode by default 2013-06-21 13:13:09 +02:00
jmoenig 1f8f6e0192 %code input slot
multi-line, monospaced, type-in slot for code mappings
2013-06-21 09:53:16 +02:00
jmoenig 25ea3d4a16 Morphic, Blocks: "flat" design fix
Handle manually "unshadowed" StringMorphs without throwing an
exception. This lets you load the tools library into "flat" mode again.
2013-06-21 09:06:46 +02:00
jmoenig 26475fc0aa Blocks: Multi-line input slots (TextSlotMorphs - %mlt) 2013-06-20 17:55:58 +02:00
jmoenig 7af5ab575d "flat" design enhancements for blocks and watchers 2013-06-20 13:24:15 +02:00
jmoenig acc40a6d2a Code mapping
generating text code from blocks, first experimental iteration
2013-06-18 18:43:15 +02:00
jmoenig e1a3092713 "Flat" GUI design preference
in the IDE's settings menu
2013-05-16 14:38:37 +02:00
jmoenig d267b696af Broadcast & Message enhancements, fixed #93
* When I receive <any msg> option
* getLastMessage reporter + watcher
2013-05-14 16:16:21 +02:00
jmoenig 1505796e19 Eraser symbol 2013-04-30 13:49:14 +02:00
jmoenig 9c9d761cc0 Solid rectangle and circle symbols 2013-04-29 12:31:28 +02:00
jmoenig 966d9ee24e Fixed #70 2013-04-27 09:33:09 +02:00