Wykres commitów

149 Commity (ba5d5e93571bc00aa514128f70d0c8851a76fd8b)

Autor SHA1 Wiadomość Data
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
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
Jens Mönig 585d1541b8 select all text when first clicking an input slot 2015-05-01 11:53:42 -04: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