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
39bf4cadbe
added tools to library browser
...
mainly so other forks of Snap! (especially Beetleblocks) can use blocks
like FOR
2017-05-09 10:51:28 +02:00
Jens Mönig
cb9296cd03
synch libraries version from master branch
2017-05-09 10:47:21 +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
c8491c00ce
fixed #1707 (new Chrome blitting issue)
2017-04-10 11:04:47 +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
Brian Harvey
16bbf4283e
Jens's bugfix to Leap library
2017-03-17 18:51:51 -07:00
Jens Mönig
50a86060f9
allow sprites’ rotation centers to be adjusted onstage
2017-03-07 03:00:44 -08:00
Jens Mönig
4db428b65c
roll-back double-pointer container cache for methods
2017-03-01 10:11:47 +01:00
Jens Mönig
ab03c81423
experiment with new dynamic method (cache) updating
...
OOP under construction. Possibly to be reverted again, so don’t rely on
this
2017-03-01 08:11:04 +01:00
Jens Mönig
d2dee38b34
experiment with new “methods” attribute
...
… but already planning to perhaps revert this mechanism again…
2017-02-27 08:18:53 +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
114425b421
disable (comment out) experimental block inheritance for now
2017-02-14 14:29:20 +01:00
Jens Mönig
176936a211
remove experimental list methods for object-use
2017-02-14 13:39:44 +01:00
Brian Harvey
3f23cc9fce
bignumbers.xml: Fix handling of 0/0 and nonzero/0
...
Also add a SCHEME NUMBER [ v] OF ( ) block with all the predicates (real? etc), exact, inexact, numerator, etc.
2017-02-12 22:07:13 -08:00
Brian Harvey
6df73f7892
workaround in CATCH for tail-position run/cc bug
2017-02-10 19:57:54 -08:00
Jens Mönig
6bfc2e0d3d
fixed #1406
2017-02-10 09:27:11 -08: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
a19823ef36
prevent Snap from “hanging” in visible stepping mode
2017-02-09 18:49:22 -08:00
Brian Harvey
10550850a6
Bignums: change abs to use fn.magnitude
...
so that you can take abs of a complex number. (Not exactly a bug fix, more a misfeature fix.)
2017-02-08 21:39:11 -08:00
Brian Harvey
ddc89a9b3b
Add bignum library
2017-02-08 21:08:01 -08:00
Jens Mönig
bcf1c39782
catch block label part issues, prevent palette from not showing
2017-02-07 06:15:08 -08:00
Brian Harvey
23e8e018bd
fix typo in httpBlocks.xml
...
"Current blocks" was spelled "curent." Thanks Kartik for catching this.
2017-02-05 12:11:54 -08:00
Jens Mönig
8e33ab39c4
fixed #1650
2017-02-02 12:06:05 +01:00
Jens Mönig
00e68ade1a
Custom block inheritance, highly experimental and under construction
2017-02-02 12:00:47 +01:00
Brian Harvey
c00c9267b0
Oops, penTrails again, this time for sure
...
I lost one of the blocks by doing delete unused blocks. :-(
2017-02-01 17:49:01 -05:00
Brian Harvey
6c97a347ce
Add BUTTON block to penTrails library
...
This is in response to a Piazza request. Uses pen trail to make a button-shaped costume with given text.
2017-02-01 17:19:00 -05:00
Jens Mönig
88b0fe1052
let costume icons indicate svg costumes
2017-02-01 09:59:45 +01:00
Jens Mönig
9cc293431a
experimental list methods for use as objects (hierarchical dictionaries)
2017-01-31 10:08:46 +01:00
Jens Mönig
0808d08ba6
fixed #1645
2017-01-30 08:24:02 +01:00
Jens Mönig
c8c36ae18f
added support for codification of String, Number and Boolean value types
2017-01-27 19:05:50 +01:00
Jens Mönig
ab5bbb9b56
new experimental feature: duplicate block definition
...
Currently hidden in shift-click context menu of custom blocks
2017-01-24 08:46:38 +01:00
Jens Mönig
1c1cda9969
German translation update
2017-01-24 08:07:45 +01:00
Jens Mönig
11600f80ba
changed “new line” symbol to $nl
2017-01-24 08:00:33 +01:00
Brian Harvey
c018c98538
Don't use vector Alonzo
...
because the curriculum says to flip the costume, and we don't have a vector editor yet.
2017-01-23 10:46:13 -08:00
Jens Mönig
d556a0aacf
German translation update
2017-01-23 15:20:55 +01:00
Jens Mönig
292cc749da
allow project-setting “Ternary Boolean slots” to be switched off
...
default is “on”. That way Boolean input slots can always be toggled
through “true”, “false” and “empty”. If this setting is switched off
Boolean input slots only toggle between “true” and “false” unless
inside a a ring (for implicit parameters)
2017-01-23 15:03:47 +01:00
Jens Mönig
55e13caab4
added support for default values in custom block Boolean slots
2017-01-23 13:05:34 +01:00
Jens Mönig
143aecff83
tweaked Boolean slot animation for binary situations
2017-01-20 16:58:45 +01:00
Jens Mönig
b370e9a337
fixed a glitch for the "line break" option in the symbols menu
2017-01-20 13:51:57 +01:00
Jens Mönig
d00f091f6f
limit Boolean input slots to “true/false” unless inside a ring or in the palett
2017-01-20 13:40:36 +01:00
Jens Mönig
dad77eb25a
support user-forced line-breaks in custom block labels
...
Creating a custom block label-fragment named “$br” forces a new line in
all block instances. You can also select “line break” from the
label-fragment’s context menu, same as selecting a symbol.
This is really ugly, I know, I know.
But I need it to play with the micro:bit and the calliope boards.
2017-01-20 13:03:51 +01:00
Jens Mönig
40150ddb78
updated history
2017-01-20 11:11:32 +01:00
Jens Mönig
e604992676
Merge pull request #1628 from cycomachead/cashed-typo
...
fix typo in cachedInputs
2017-01-20 11:06:02 +01:00
Jens Mönig
190211578d
Merge pull request #1627 from cycomachead/library-ok
...
Set action for LibraryImportDialog for enter to map to import
2017-01-20 11:05:38 +01:00
Jens Mönig
de09c45a39
Merge pull request #1625 from cycomachead/library-message
...
Improve library loading message
2017-01-20 11:05:14 +01:00
Jens Mönig
e9cc801207
improved inspectability of local variables
2017-01-20 07:54:17 +01:00
Jens Mönig
54decac720
fixed #1631
2017-01-19 19:54:31 +01:00