Wykres commitów

136 Commity (f18026722fd088975d2923aa467a27ed33e23a6c)

Autor SHA1 Wiadomość Data
Jens Mönig 10ade6421b Merge pull request #614 from MMSequeira/master
Add missing localizations and add Portuguese translations
2014-11-20 15:45:20 +01:00
jmoenig ce93fe8da7 fix ‘line’ option in ‘split’ block for Windows files
thanks, @brianharvey!
2014-11-20 15:16:12 +01:00
jmoenig f37e90436a renamed Process::callback to "onComplete" 2014-11-20 14:40:13 +01:00
Jens Mönig 63a1d2ee3a Merge pull request #641 from bromagosa/contribution
Added callback to Process
2014-11-20 14:26:56 +01:00
jmoenig 5771e93fa1 Fixed #364 avoid “freezing” when calling LAUNCH on empty ring 2014-11-20 14:21:56 +01:00
Bernat Romagosa 91690adb29 callback is only executed when the outmost block returns a value 2014-11-19 09:34:59 +01:00
Manuel Menezes de Sequeira 8e992dcaa8 Add localization to number of arguments error and temporary watchers 2014-11-18 18:11:14 +00:00
Bernat Romagosa f537f62ace Added callback to Process 2014-11-17 14:05:13 +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 b36a358173 Fix reporting out of nested custom C-shaped blocks
REPORT now reports to the nearest lexical element expecting an input
(which may not be the block holding the REPORT statement, this lets you
REPORT out of nested FOR loops).
STOP THIS BLOCK behaves as it used to.
If you’ve been using REPORT instead of STOP THIS BLOCK, you should
migrate.
2014-11-14 12:49:01 +01:00
Michael Ball dbf2e6665b Improvements to Split block for whitespace and lines:
* Split by whitespace now uses the built-in definition of whitespace \s
  This catches all characters definted as whitespace, see below:
  https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp
* Split a line by all unicode compliant line breaks. The biggest impact here is
  that OSX and Windows files will now split the same way.
The cr option is still around, but ther's no longer a need for it, IMO.
2014-10-18 23:00:11 -07:00
Manuel Menezes de Sequeira dda2d48f16 add localization to unknown variable error 2014-10-14 17:58:57 +01:00
jmoenig c6815c11d4 workaround for some REPORT / STOP BLOCK issues
enables reporting and stopping a bock from within a C-shaped slot in a
custom block, but not (yet) out of nested C-shaped custom blocks (but
that’s coming up, too)
2014-10-01 09:50:56 +02:00
jmoenig 8b5fa7f23c fixed #591
fully copy local variables for sprite duplicates and (Scratch-like)
clones
2014-09-29 09:50:16 +02:00
jmoenig 5695dd141b fixed #174, eliminate UpvarReferences in evaluator
replace UpvarReferences with references to Variable objects, fixes
upvar scope issues
2014-09-18 14:26:28 +02:00
jmoenig 04168220bd Refactor variables handling
introducing Variable objects, all functionality stays the same at this
time
2014-09-17 14:40:39 +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 c0b91b5fa2 enable “JS function” block to create custom control structures and HOFs 2014-07-28 14:41:15 +02:00
jmoenig e362730a0c JS function tweak, thank, @nathan! 2014-07-27 15:06:50 +02:00
jmoenig 3aae7c3ce4 new “JavaScript function” primitive
Go figure…
2014-07-25 14:35:36 +02:00
jmoenig 54fec68d78 Display “empty” Contexts as empty rings
(e.g. continuations). Brian was complaining about empty continuations
“sucking” up the watchers and value bubbles.
2014-07-24 12:24:19 +02:00
jmoenig df25b4dc73 fixed #521
deleting variable watchers by dropping them on the palette resulted in
wrong ones to be created when showing them again
2014-07-22 12:33:26 +02:00
jmoenig 15a751ad85 fixed #518 2014-07-21 08:23:14 +02:00
jmoenig f09a717719 rename "character" to "letter" in delimiter list
of “split” block
2014-07-18 15:36:56 +02:00
Michael Ball 80d1e25bee Lint: fix missing semicolon 2014-07-17 12:08:30 -07: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 37d82524f9 fixed #506, thanks @haritop!
thanks @haritop, for both the report and for also providing the fix for
it!!
2014-07-11 12:54:02 +02:00
jmoenig cd416bc9a9 revert changes made for JSLint’s sake
after the issue was fixed in JSLint
2014-07-08 17:04:15 +02:00
jmoenig e0289f8c41 show error messages for custom blocks (sorta)
(propagating to the script’s top block)
Also adjust to Doug Crockford’s latest infuriating nitpickings
(“unexpected ‘[‘) in JSLint
2014-07-08 13:12:45 +02:00
jmoenig 9f690fbfa3 initialize new variables with zero (instead of null) 2014-06-05 17:16:27 +02:00
jmoenig 295de115a3 Threads: new Variable data structure
for refactoring upvar references, not yet used anywhere
2014-05-20 09:34:37 +02:00
jmoenig f9989ad7cf checkpoint - release 2014-05-02 11:08:30 +02:00
jmoenig 5ab8b7e563 checkpoint 2014-04-30 12:52:54 +02:00
Michael Ball 826eb102c8 style fix for bool 2014-04-27 12:46:57 -07:00
Michael Ball 9dad5314df fix set turbo mode block 2014-04-22 17:05:14 -07:00
Michael Ball 407dbda43f jslint style fixes 2014-02-10 10:51:22 -08:00
Michael Ball 5fd102c8a9 use inputOption for dateblock update file date 2014-02-10 10:32:07 -08:00
Michael Ball 817f4c5420 resolve merge conflicts; date problems only 2014-02-04 11:59:45 -08:00
jmoenig 3fede790e4 Fixed #313
“Block OF sprite” now works for interpolated (“timed”) blocks and for
reporters (i.e. SAY FOR, THINK FOR, GLIDE, ASK etc.)
2014-02-03 17:11:46 +01:00
Michael Ball ccce2c9ac7 adjust block to no longer use strings, and remove unneeded code 2014-01-26 04:25:36 -08:00
Michael Ball ede60eec56 date block work 2014-01-22 20:05:46 -08:00
jmoenig 3c4e27899c Revert pull request #295 (xhr-headers)
breaks existing installations
2014-01-10 11:37:04 +01: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
Jens Mönig 1da3ae32aa Merge pull request #283 from Hardmath123/master
Initial stop others block
2014-01-08 06:49:31 -08:00
Jens Mönig 82c03bae77 Merge pull request #295 from blob8108/xhr-headers
Add useful headers to HTTP block
2014-01-08 06:34:41 -08: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
blob8108 c947a4d5b7 Add useful headers to HTTP block 2014-01-06 11:17:59 +00: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
Hardmath123 d8d1810e43 Initial stop others block 2013-12-22 16:28:11 -08:00
jmoenig f0268d9cd8 accept lists as inputs to the green (text) LENGTH OF reporter 2013-12-11 10:20:40 +01:00
jmoenig 6fd731cd6e fixed literal-to-non-literal zero-value comparison bug 2013-12-05 09:24:35 +01:00
jmoenig 5716582ea2 fixed type error in equality test 2013-12-04 15:26:52 +01:00
jmoenig d9b9c6bad1 fixed #261 (less tolerant null-value-to-number-coercion) 2013-12-04 11:11:07 +01:00
jmoenig 9faa4844d4 handle text comparisons case-insensitive (again) 2013-12-04 09:47:42 +01:00
jmoenig df1d6ca479 Threads: fixed #133 - preserve edge-cased argument types
(empty string, Boolean false)
2013-11-26 13:23:35 +01:00
jmoenig d3c735fade fixed #249 - preserve variable value types with edge cases
(empty string, Boolean false)
2013-11-26 13:09:26 +01:00
jmoenig f10a16e3f6 fixed #175 - Text comparisons are now case sensitive 2013-11-26 12:05:13 +01:00
jmoenig d266b0b0a6 fixed #245 (consistently auto-convert empty strings to zeroes) 2013-11-26 10:40:24 +01:00
jmoenig 2cb904d2bb fixed #207 (stricter comparison of strings vs. numbers)
Some intentional edge cases remain, such as empty string equals zero
and disregarding trailing / leading blanks. Please don’t nitpick and
spare me the fundamentalism, plus discussing whether discussing the
discussing qualifies as fundamentalism :-)
2013-11-26 10:02:38 +01:00
jmoenig 3c209e8421 fixed #213 - Empty else block breaks return to caller
Thanks, Art, for reporting this bug!
2013-10-17 18:56:35 +02:00
jmoenig 24476a644e MAP primitive variant for linked lists 2013-10-09 12:37:50 +02:00
jmoenig 4d5dad807b experimental MAP primitive reporter
in lists category, visible in dev mode for now
2013-10-08 16:59:55 +02:00
jmoenig ec6b46a4c5 Type-check the SPLIT block's input before eval'ing it 2013-10-04 10:34:59 +02:00
jmoenig 72259dcae0 Custom Block Evaluation Scope fix
minor glitch which affected "VEE"
2013-09-16 11:58:19 +02:00
jmoenig fe50029b1c Nestable Sprites Collision Detection & fixes 2013-08-12 13:05:42 +02:00
jmoenig c01a236f95 German translation update
(for Undrop feature)
2013-08-02 12:32:34 +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 4c9150d7e7 experimental text-function primitive
(hidden, shown only in dev mode in the operators category)
2013-07-15 15:45:11 +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 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 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 acc40a6d2a Code mapping
generating text code from blocks, first experimental iteration
2013-06-18 18:43:15 +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 7681525cc2 German translation update
for new "scripts pic..." feature on the scripting area's context menu.

Also pushed up version dates for new beta release, and added
SnapManual.pdf to the help folder
2013-04-19 08:09:35 +02:00
Nathan Dinsmore 8342c06e27 Fixed #47 2013-04-15 21:06:44 -04:00
Nathan Dinsmore f3bd991f07 Switched to UTF-8
This fixes some encoding issues
2013-04-08 22:18:32 -04:00
Nathan Dinsmore ec434a3376 Revert "Fixed an encoding issue"
This reverts commit 4d37845b2e.
2013-04-08 22:13:16 -04:00
Nathan Dinsmore 4d37845b2e Fixed an encoding issue 2013-04-08 22:10:18 -04:00
Nathan Dinsmore 4c9fee58ee Fixed a number of whitespace inconsistencies 2013-04-08 21:49:31 -04:00
jmoenig 0b510366d2 Creation 2013-03-16 09:02:16 +01:00