jmoenig
6f762e7a29
animate scrollToPaletteCategory()
2021-07-02 19:37:14 +02:00
jmoenig
b3bb4eb51e
fixed centering of menus, thanks, @brollb!
2021-07-02 17:29:59 +02:00
jmoenig
b82ea9dae5
changed spelling of palette
2021-07-02 17:09:05 +02:00
jmoenig
96bf69b83e
little reformattings, mostly to shut up LINT
2021-07-02 17:04:56 +02:00
Jens Mönig
b958e2fe3a
Merge pull request #2853 from jmoenig/michael/unified-palette
...
add a 'unified palette' option to a scene
2021-07-02 16:15:36 +02:00
jmoenig
e7f410ad3d
Merge branch 'master' into scenes
2021-07-02 14:37:06 +02:00
jmoenig
339474a597
took out web-serial extension prims (not yet ready)
2021-07-02 08:33:16 +02:00
Michael Ball
ca1c20e1e0
Maintain palette scroll position when cancelling searching blocks
2021-07-01 15:15:52 -07:00
Michael Ball
16be129408
Simplify palette scrollto function, update scrollbars
2021-07-01 14:52:37 -07:00
Michael Ball
125eb1b4fa
resolve issues with duplicate blocks in the variables palette
2021-06-30 03:08:14 -07:00
Michael Ball
e5be75bb56
resolve bug with palette rendering polluting the primitiveCache
2021-06-30 02:57:53 -07:00
Michael Ball
772da1fd94
undo spacing from bad merge
2021-06-29 22:25:49 -07:00
Michael Ball
32aac68abd
remove debug arg
2021-06-29 22:23:57 -07:00
Michael Ball
17d7dd6720
tidy up some code, undo some improper git merging
2021-06-29 22:23:06 -07:00
Michael Ball
2a061f57f3
fix cache clearing for primitive hiding
2021-06-29 20:41:22 -07:00
Michael Ball
27c116bee4
Refactor blockTemplates and palette drawing. Extract functions from blockTemplates
2021-06-29 19:59:52 -07:00
Michael Ball
529123f6a9
rename blocksCache primitivesCache for clarity
2021-06-29 17:49:55 -07:00
Michael Ball
363666e3de
WIP loading custom blocks works in unified mode.
2021-06-29 17:48:46 -07:00
Michael Ball
74659ed752
merge scenes updates
2021-06-28 22:13:07 -07:00
Michael Ball
7ac61ea30b
Show custom blocks in the correct spot
2021-06-28 21:58:10 -07:00
jmoenig
7bd733a6d5
commented out web-serial extension prims
...
while thinking about their design
2021-06-25 14:40:53 +02:00
jmoenig
0196d3354b
added first rough experimental version of web-serial extension primitives
2021-06-25 11:52:24 +02:00
jmoenig
d6b33e29bb
Merge branch 'master' into scenes
2021-06-24 18:48:39 +02:00
jmoenig
d38f9d7134
added documentation for adding external JS modules
2021-06-24 18:43:49 +02:00
jmoenig
eb75e8d96a
removed unused code
2021-06-24 16:07:21 +02:00
jmoenig
e20d304bc5
extensions: tweaked loading unlisted script-extensions
2021-06-24 16:00:44 +02:00
jmoenig
4f2aedc93e
Merge branch 'master' into scenes
2021-06-23 19:10:14 +02:00
jmoenig
eaca5400a8
pushed dev version to 6.10
2021-06-23 18:50:51 +02:00
jmoenig
03de7f9dc4
Update extensions.js
2021-06-23 17:44:37 +02:00
jmoenig
097d14accf
tweaked script-loading extension primitive
2021-06-23 15:16:58 +02:00
jmoenig
9515082721
added script-loading extension primitive
2021-06-22 14:09:35 +02:00
jmoenig
6ad9e173f4
Merge branch 'master' into scenes
2021-06-20 10:45:16 +02:00
jmoenig
a82a17711e
updated extensions documentation
2021-06-20 10:25:07 +02:00
jmoenig
e7a981214f
added color hsl getter extension primitive
2021-06-19 18:33:10 +02:00
jmoenig
f9c51742d6
added pen color getter extension primitive
2021-06-19 18:19:46 +02:00
jmoenig
dd17330cb8
fixed search for dynamic extension menus
2021-06-19 11:45:45 +02:00
jmoenig
9c582e785e
added color extension primitives
2021-06-19 11:31:44 +02:00
jmoenig
3ba7e62e7a
dynamic extension dropdown menu support
2021-06-18 23:12:41 +02:00
jmoenig
990911b295
separated extension primitives from extension dropdown menus
2021-06-18 18:41:02 +02:00
jmoenig
a55bd02eeb
added (gargantuan) color library dropdown menu
2021-06-18 15:57:03 +02:00
jmoenig
5be63e57b3
tweaked variable declaration extension primitive
...
commented out palette refresh prim
2021-06-18 08:32:52 +02:00
jmoenig
0d7519c89e
added text extension primitives
2021-06-18 00:02:15 +02:00
jmoenig
0cd55ed659
added variable extension primitives
2021-06-17 20:27:06 +02:00
jmoenig
fe178d9bd3
added APL extension primitives
2021-06-17 11:27:28 +02:00
jmoenig
2132afbe75
Update extensions.js
2021-06-16 23:33:15 +02:00
jmoenig
dd83287b85
added object-naming extension primitive
2021-06-16 23:22:59 +02:00
jmoenig
4d81f4de06
added try-catch extension primitives
2021-06-16 21:18:48 +02:00
jmoenig
3b9f422112
added exception handling primitives for try/catch
2021-06-16 21:16:02 +02:00
jmoenig
e75cb02035
Update extensions.js
2021-06-15 17:19:59 +02:00
jmoenig
b9b48ca464
Update extensions.js
2021-06-15 16:49:39 +02:00
jmoenig
70cca6296f
Update extensions.js
2021-06-15 16:39:22 +02:00
jmoenig
b705fe1b10
changed default world map style to OpenStreetMap
2021-06-15 15:19:28 +02:00
jmoenig
c245de9777
added geolocation extension primitive
2021-06-15 15:05:04 +02:00
jmoenig
35d69b1647
added long-form xhr extension primitive
2021-06-15 14:42:00 +02:00
jmoenig
b42b608cfb
fixed #2850 (occasional invisible error message)
...
thanks, Ken, for the bug report!
2021-06-15 14:26:04 +02:00
jmoenig
5b443a15ff
Update extensions.js
2021-06-15 11:57:11 +02:00
jmoenig
66a0d6803f
added tts to extensions
2021-06-15 11:51:08 +02:00
jmoenig
09bee54486
documented extension primitive function semantics
2021-06-15 10:04:11 +02:00
jmoenig
e56c0b6170
new naming convention for extension primitives
2021-06-15 09:39:58 +02:00
jmoenig
ff62013dc3
tweaked world-map extension primitives
2021-06-15 09:06:36 +02:00
jmoenig
44d0d94ee3
added more world-map extension primitives
2021-06-14 23:18:52 +02:00
jmoenig
4b5e091b39
associate setting with JSF-block rather than the evaluator
2021-06-14 22:53:12 +02:00
jmoenig
02509e157d
added some world-map extension primitives
2021-06-14 17:49:46 +02:00
jmoenig
8e1ac188a2
added new "primitive" blocks to dev palette
2021-06-14 13:15:55 +02:00
jmoenig
975145cede
new safe extensions mechanism
2021-06-14 13:04:25 +02:00
jmoenig
e20517d83f
new dev version
2021-06-14 10:18:01 +02:00
jmoenig
dc4d75c5f7
prepared minor release
2021-06-14 08:02:56 +02:00
jmoenig
a5937b460f
Merge branch 'master' into scenes
2021-06-12 23:35:32 +02:00
jmoenig
2e3c55a5b7
German translation update
2021-06-11 15:06:26 +02:00
jmoenig
318bdb879e
catch JS functions inside custom dropdown definitions
2021-06-11 12:01:04 +02:00
jmoenig
df8956462e
renamed IDE setting to "JavaScript extensions"
2021-06-10 16:26:44 +02:00
jmoenig
419b59f945
tweaks to the JS-extension handling
2021-06-10 16:18:42 +02:00
jmoenig
e3331c370a
automatically logout when the user enablesJavaScript
...
commented out for now
2021-06-09 23:42:36 +02:00
jmoenig
4e6d7b4f22
prevent orphaned loading error messages
2021-06-09 20:04:37 +02:00
jmoenig
5ad05b805c
disabled loading (projects with) JS-functions, unless the user accepts
2021-06-09 18:36:20 +02:00
jmoenig
8fe8d38bec
reinstated JS-function control, disabled JS-functions by default
2021-06-09 18:30:09 +02:00
jmoenig
1c0aa4c2ca
reformatted some code for linting etc.
...
no functional changes (I hope ^^)
2021-06-09 12:42:27 +02:00
Jens Mönig
8c5d981e2a
Merge pull request #2830 from jguille2/langLauncher
...
Fixing 'lang' flag and anchor launcher
2021-06-09 12:28:48 +02:00
Jens Mönig
42d093b3f0
Merge pull request #2835 from Barthdry/master
...
Hindi Translation Completed for Now
2021-06-09 11:42:31 +02:00
jmoenig
e1c8210a42
register unsaved changes when the user edits a comment
...
thanks, @jadga-h for the report
2021-06-09 11:23:09 +02:00
jmoenig
9d6aff80b4
Polish translation update
...
thanks, Witek Kranas!
2021-06-09 11:12:37 +02:00
jmoenig
8f6e6bfaeb
new dev version
2021-06-09 09:58:40 +02:00
Michael Ball
ccc9edf4fc
tidy up spacing in unified palette view
2021-06-07 22:48:08 -10:00
Michael Ball
48e43a30c5
simplify hiding primitives function
2021-06-07 22:27:41 -10:00
Michael Ball
6f8d3fa327
Refactor turning unified palette on and off
2021-06-07 22:18:27 -10:00
Michael Ball
3026bcea35
Refactor loading unified palette
2021-06-04 13:18:12 -10:00
Michael Ball
b3f758243f
unified palette is reflected when switching/loading scenes
2021-06-04 12:18:29 -10:00
Michael Ball
a8393be6b0
Add support for saving and loading unified palette
2021-06-03 07:35:55 -10:00
Michael Ball
132fc0257d
Unified Palette: Clicking Category scrolls palette to the right section
2021-05-25 09:22:50 -10:00
Michael Ball
221b46bd02
resolve merge conflict
2021-05-24 19:09:33 -10:00
jmoenig
e4ca7f2a21
fixed search-blocks for scenesMenu
2021-05-21 23:34:09 +02:00
jmoenig
0c8baa9f7f
corrected a typo-glitch
2021-05-21 17:03:45 +02:00
jmoenig
7caa5f04c6
sceneified unsaved changes management
2021-05-21 16:54:41 +02:00
jmoenig
2846d899e3
some cleanups
2021-05-21 15:51:14 +02:00
jmoenig
0460a4061f
adjusted project thumbnail in "save" dialog
2021-05-21 15:37:03 +02:00
jmoenig
5503ce568d
sceneified project notes
2021-05-21 15:31:23 +02:00
jmoenig
45376a2977
distinguished project name from scene names
...
also removed hidden "export as plain text" option
2021-05-21 14:28:03 +02:00
Michael Ball
58f0a6c918
First Draft: Support a unified palette.
...
* A scene now has a setting for "unified palette"
* hides the category selectors
* shows all blocks in the palette
* tbd how to be use the space.
2021-05-20 12:24:05 -10:00
jmoenig
498c4c8edf
proxied thumbnail, name and notes in project, restored in XML
2021-05-21 00:08:24 +02:00
jmoenig
ae13edd984
marked projectName to be refactored and sceneified
2021-05-20 23:22:12 +02:00
jmoenig
9b35d468de
removed "thumbnail" property from scene xml
2021-05-19 19:49:46 +02:00
jmoenig
2c07601354
removed redundant properties "notes" and "thumbnail" from project
2021-05-19 19:04:18 +02:00
jmoenig
5d58c1e20a
added exporting single scenes
2021-05-19 17:57:48 +02:00
jmoenig
9cc238f8ef
made sure the project scene stays in place
2021-05-19 16:39:46 +02:00
jmoenig
e6a81406ce
disabled dragging the project scene icon
2021-05-19 16:16:59 +02:00
jmoenig
29d4742261
disabled scene icon context menu for project scene
2021-05-19 16:11:57 +02:00
jmoenig
63d4932747
ensured unique scene names
2021-05-18 16:24:09 +02:00
jmoenig
33ff73aebd
fixed cloud file format for multi-scene projects
2021-05-18 15:55:39 +02:00
jmoenig
55d088e174
"projectized" cloud file format for a single scene
2021-05-18 13:04:07 +02:00
jmoenig
5df0a5d72c
fixed cloud file format components
2021-05-18 12:14:02 +02:00
jmoenig
01f82134f3
fixed exporting media only for a single scene
2021-05-18 11:01:33 +02:00
Joan Guillén i Pelegay
fe55a1763b
Fixing #run: anchor launcher
2021-05-14 11:48:28 +02:00
Joan Guillén i Pelegay
2b530f82df
Fixing 'lang' flag and anchor launcher
2021-05-13 16:15:11 +02:00
jmoenig
f1eacce7d2
tweaked scene album rendering
2021-05-11 18:51:44 +02:00
jmoenig
b5217206bd
adjusted scene album rendering
2021-05-11 18:39:01 +02:00
jmoenig
292a8a4436
add multi-scene projects
2021-05-11 15:14:16 +02:00
jmoenig
73aef0c99e
project menu entries for "new scene" and "add scene"
2021-05-10 16:27:36 +02:00
Barthdry
c12760069c
Hindi V0.8 translation released (Barthdry)
...
This is an Early Patch of Hindi for Peoples to have a quick view. I have also changed the locale.js file, Sorry if there is any problem. This is the National Language of India and Many Indian's has been using snap! i hope so
2021-05-08 20:25:20 +04:00
jmoenig
298cd574f2
Merge branch 'master' into scenes
2021-05-04 18:58:16 +02:00
jmoenig
3dddd12cf8
prepared patch
2021-05-04 18:42:18 +02:00
jmoenig
860af47a45
fixed "peeling off" niladic custom block instances from prototype templates
2021-05-04 18:40:05 +02:00
jmoenig
1be757afe4
new dev version
2021-05-04 18:08:35 +02:00
jmoenig
f7b3c52e62
Merge branch 'master' into scenes
2021-05-03 10:55:11 +02:00
jmoenig
e8f4eb002f
prepared minor release
2021-05-03 10:20:09 +02:00
jmoenig
13a30f23de
bumped dev version to v6.8
2021-05-03 10:10:26 +02:00
jmoenig
639871311d
only show scene album if the project has more than a single scene
2021-04-28 14:25:48 +02:00
jmoenig
9844408dfa
Merge branch 'master' into scenes
2021-04-23 17:29:13 +02:00
jmoenig
19e6c062b2
updated history
2021-04-23 17:13:40 +02:00
jmoenig
19473e2a2a
remember last edited scene in a project
2021-04-23 16:17:32 +02:00
jmoenig
1402d8227d
moved sprite-selection attribute from stage to scenes tag
2021-04-23 15:36:11 +02:00
jmoenig
2c18e60f82
sceneified "zoom blocks"
2021-04-23 11:24:59 +02:00
jmoenig
b797189b0c
sceneified toggling dynamic input labels and switching languages
2021-04-23 11:17:52 +02:00
jmoenig
fe455ae7d6
sceneified refreshIDE()
2021-04-23 10:54:39 +02:00
jmoenig
c56e778996
serialize sprite-order from scenes
2021-04-23 08:48:14 +02:00
brianharvey
f8fc66247f
fix negative color effect in objects.js
...
In JS, foo%360 gives a negative remainder if the dividend is negative. This one-line change from developer.mozilla.org computes the correct modulo.
I should have called this branch "color" not "ghost", oops.
2021-04-22 21:55:31 -07:00
jmoenig
80743bff62
removed old stage serialization code
2021-04-22 19:16:47 +02:00
jmoenig
ddfb17aaae
unified exporting projects
2021-04-22 19:15:53 +02:00
jmoenig
bc14b97a7a
replaced openScene() with openProject()
2021-04-22 18:49:21 +02:00
jmoenig
d278a91e7f
migrated "new project" feature
2021-04-22 18:38:26 +02:00
jmoenig
5e5802c469
first pass at deserializing multi-scene projects
2021-04-22 18:23:10 +02:00
jmoenig
a558af4552
more project loading structure refactorings
2021-04-21 18:21:33 +02:00
jmoenig
69f7e99900
refactored project loading structure
2021-04-21 16:59:37 +02:00
jmoenig
3ac1e456a5
enable "peeling off" custom block instances from their prototype templates
2021-04-20 14:18:10 +02:00
jmoenig
23a166316b
tweaked CellMorph shadow rendering
2021-04-20 10:57:14 +02:00
jmoenig
74eecb8186
fixed an occasional rendering glitch when changing the display style of a variable watcher
2021-04-20 09:17:28 +02:00
jmoenig
cc56f710bf
multi-scene project serialization format, first pass
2021-04-20 09:09:03 +02:00
jmoenig
599bd1c8a7
tweaked talk-bubble alignment
2021-04-17 18:54:58 +02:00
jmoenig
72894b60b8
speed-up talk bubble positioning by 5x
2021-04-17 16:38:05 +02:00
jmoenig
5c5c0fd249
worked around a floating point precision glitch in "ray length"
2021-04-17 13:51:17 +02:00
jmoenig
9f87b55272
new dev version
2021-04-17 13:46:20 +02:00
jmoenig
a74779f39b
export multi-scene projects
2021-04-16 12:30:45 +02:00
jmoenig
96974ac086
removed Project class
2021-04-16 09:23:37 +02:00
jmoenig
5816f1fbfe
remember the sprite last edited when saving a project
2021-04-16 08:09:04 +02:00
jmoenig
298f559775
switched to scene-based project serialization
2021-04-14 18:40:42 +02:00
jmoenig
bc6298940e
sceneified project deserialization
2021-04-14 17:42:37 +02:00
jmoenig
8ce858d111
new Project class
2021-04-14 15:27:32 +02:00
jmoenig
9caafba65e
tweaked scene album colors
2021-04-12 19:04:38 +02:00
jmoenig
9a8d0cb6ed
support bulk-file-drop for importing scenes
2021-04-12 18:10:53 +02:00
jmoenig
e8900241e0
new Morphic bulk file-drop events
2021-04-12 17:34:14 +02:00
jmoenig
9de856e7e3
tweaked scene index for removal and ordering
2021-04-12 13:13:39 +02:00
jmoenig
01f3108bdd
new "switch to scene _" command primitive
2021-04-12 10:46:45 +02:00
jmoenig
5441d7d373
Merge branch 'master' into scenes
2021-04-09 15:49:40 +02:00
jmoenig
c18af92845
prepared patch
2021-04-09 09:21:17 +02:00
jmoenig
65a0b050a2
fixed #2821 - "index of" block not found by search
2021-04-09 09:14:50 +02:00
jmoenig
d31a3b8165
scroll selected scene icon into view
2021-04-08 19:07:03 +02:00
jmoenig
a28244a976
made scrollbars in the wardrobe and jukebox more responsive
2021-04-02 11:14:54 +02:00
jmoenig
4544f28efd
Merge branch 'master' into scenes
2021-04-01 12:40:34 +02:00
jmoenig
d79b0a70fa
made scene icons observe the scene's stage versions
2021-04-01 11:49:45 +02:00
jmoenig
5c830680d6
made scene icons selectable
2021-04-01 11:14:16 +02:00
jmoenig
7197d226b0
tweaked scene icons
2021-03-31 17:22:36 +02:00
jmoenig
b3c7b4dc12
moved stage icon to the top of the corral
2021-03-31 11:24:38 +02:00
jmoenig
eb55779b2e
tweaked scene icon settings
2021-03-31 10:29:19 +02:00
jmoenig
85faa08f83
added scene icon thumbnails
2021-03-30 19:56:33 +02:00
jmoenig
7d7b381569
turned scenes into an observable list
2021-03-30 19:29:48 +02:00
jmoenig
8f4025d1c3
added SceneIconMorph and SceneAlbumMorph prototypes
2021-03-30 17:53:46 +02:00
jmoenig
5ff8b1cbb1
added gui documentation
2021-03-30 14:59:31 +02:00
jmoenig
8acfcc3f5b
fixed a resizing edge case bug for the stage prompter (ASK command)
2021-03-28 09:37:19 +02:00
jmoenig
1b4c02d721
new dev version
2021-03-28 09:26:14 +02:00
jmoenig
6cc5d59ba9
first live multi-scene experiment
2021-03-25 17:06:30 +01:00
jmoenig
098cea0fc4
sceneified trash
2021-03-25 13:47:45 +01:00
jmoenig
f4aa21a2a6
capture global settings in scenes
2021-03-19 18:01:46 +01:00
jmoenig
a987b4773b
Merge branch 'master' into scenes
2021-03-19 12:13:15 +01:00
jmoenig
21884348cb
prepared release
2021-03-19 11:49:42 +01:00
jmoenig
4a7cb599e5
hyperized "key _ pressed?" predicate
2021-03-19 11:46:00 +01:00
jmoenig
1230365b41
more scene refactorings
2021-03-18 16:31:47 +01:00
jmoenig
87b8b24713
more scene-refactorings
2021-03-18 12:18:23 +01:00
jmoenig
05e85b1bc7
Merge branch 'master' into scenes
2021-03-17 23:35:58 +01:00
jmoenig
cdd9e21287
new dev version
2021-03-17 23:27:10 +01:00
Stefan Seegerer
cd51ac87c7
add typecheck to doRepeat command, fixes #2809
2021-03-17 23:07:59 +01:00
jmoenig
f4ea4bf25e
de-globalized stage dimensions
2021-03-17 18:28:17 +01:00
jmoenig
6025a62d6d
Merge branch 'master' into scenes
2021-03-15 13:29:21 +01:00
jmoenig
99931381ad
prepared release
2021-03-15 13:26:48 +01:00
jmoenig
d239d4de24
disabled empty-slot implicit parameter in FOREACH
2021-03-15 12:13:13 +01:00
jmoenig
dfb32fcfee
Merge branch 'master' into scenes
2021-03-15 10:54:29 +01:00
jmoenig
0ee3f07bbb
upated change log
2021-03-15 09:21:10 +01:00
Jens Mönig
6a3567ee85
Merge pull request #2806 from jmoenig/fix-strideTranspose
...
fix strideTranspose
2021-03-15 09:17:45 +01:00
jmoenig
0ecc1dc9c9
updated change log
2021-03-15 09:14:08 +01:00
Jens Mönig
dc1f989d81
Merge pull request #2805 from jguille2/cat6.7.1
...
Catalan translation for 6.7.1
2021-03-15 09:09:36 +01:00
jmoenig
b11423a122
restored scenes branch
2021-03-15 08:51:15 +01:00
jmoenig
0822005bf9
new dev version
2021-03-15 08:28:26 +01:00
jmoenig
4c69706332
reverted to v6.7.1
2021-03-15 08:24:17 +01:00
jmoenig
df5a36db23
gui: marked methods for scene refactorings
2021-03-15 08:16:08 +01:00
brianharvey
ecbbfa68a1
fix strideTranspose
2021-03-14 16:04:52 -07:00
Joan Guillén i Pelegay
b2dd37cfb5
Catalan translation for 6.7.1
2021-03-14 19:11:39 +01:00
jmoenig
bca3c3615d
started refactoring for scenes
2021-03-12 16:30:47 +01:00
jmoenig
1bb3b462e3
new Scene class
2021-03-12 11:49:36 +01:00
jmoenig
869d9238cf
renamed "project" to "scene" in certain places
2021-03-11 18:39:39 +01:00
jmoenig
8878ecb71d
renamed scene to project again
2021-03-11 17:40:12 +01:00
jmoenig
f625f86e27
more switchToScene() refactorings
2021-03-11 16:14:07 +01:00
jmoenig
6cc4bf7193
refactor loading a project into the IDE
2021-03-11 15:55:11 +01:00
jmoenig
1e54bcd4e7
new dev version
2021-03-09 17:42:34 +01:00
jmoenig
75d23e1415
prepared patch
2021-03-09 14:11:44 +01:00
jmoenig
d8ce7f7763
fixed ##2798
2021-03-09 14:05:16 +01:00
jmoenig
cbba33bc15
prevent inserting items at non-integer / out-of-bounds indices
2021-03-09 12:15:43 +01:00
jmoenig
9b2d10fbfb
fixed #2797
2021-03-09 10:12:43 +01:00
jmoenig
4f9bb8cafd
new dev version
2021-03-09 09:55:55 +01:00
jmoenig
cf40aaa2f1
prepared minor release
2021-03-08 11:40:57 +01:00
jmoenig
8f5a166f01
rebind (relabel) recursive calls when duplicating a custom block definition
2021-03-05 11:59:22 +01:00
jmoenig
ab09e949c5
updated German translation
2021-03-05 09:06:49 +01:00
jmoenig
428d1b6e0d
changed gui strings for undelete feature
2021-03-05 08:56:38 +01:00
jmoenig
757fa80f07
added "trash is empty" information, commented out for now
2021-03-05 08:45:06 +01:00
jmoenig
492efed0b8
displaying a table containing the stage no longer crashes the page
2021-03-05 08:16:55 +01:00
jmoenig
63064c38a1
animate undeleted sprites to glide back onstage
2021-03-04 16:27:21 +01:00
jmoenig
6a697dced4
accept drops of sprites and sprite-icons in trash button
2021-03-04 15:07:27 +01:00
jmoenig
b50acf91d3
added trash button for undeleting sprites
2021-03-04 09:00:35 +01:00
jmoenig
d99dc49cb6
added "trashFull" symbol
2021-03-03 12:23:34 +01:00
jmoenig
443d809875
added "trash" symbol
2021-03-03 11:18:20 +01:00
jmoenig
9ae90d4e2e
pushed dev version to 6.7
...
because of new documentable features
2021-03-02 17:46:39 +01:00
jmoenig
07aae7b3bc
correct identities when combining the items of an empty list with + / * / min / max
2021-03-02 17:43:17 +01:00
jmoenig
de976a2036
undelete sprites
2021-03-02 17:17:55 +01:00
jmoenig
c43ac46add
optimized special cases for compiled version of COMBINE
2021-03-02 11:11:58 +01:00
jmoenig
cc01cd6733
optimized special cases for COMBINE (sum, product, min, max) by up to 34 x
2021-03-02 10:55:45 +01:00
jmoenig
b8e90ad0b7
changed zebra-coloring for yellow custom block prototypes
...
(in the block editor) so the hat block changes the shade, not the prototype
2021-03-01 20:00:03 +01:00
jmoenig
086f793047
display custom block label parts in the prototype (in the block editor) the same as in block instances
2021-03-01 19:37:47 +01:00
jmoenig
8130e80215
improved layout and rendering of (+) buttons in custom block prototypes
2021-03-01 16:46:16 +01:00
jmoenig
d41dc010d6
removed a redundant unused case for block highlights
2021-02-27 22:33:38 +01:00
jmoenig
0be5a58ae1
arrange variadic ring inputs vertically
...
(e.g. the reporter rings in PIPE)
2021-02-27 22:29:48 +01:00
jmoenig
b5e65e8f8e
new dev version
2021-02-27 18:49:02 +01:00
jmoenig
2fd853586d
prepared minor release
2021-02-25 15:16:44 +01:00
jmoenig
ac19dcc747
commented out experimental slice() primitive
2021-02-23 08:58:13 +01:00
jmoenig
5edd6bd8c7
experimental list slice() primitive, hidden, available via find / relabel
2021-02-20 19:33:41 +01:00
jmoenig
4efac911a6
made list.slice() experimental - removed from production code
2021-02-20 13:40:14 +01:00
jmoenig
54c9d71bb5
reverted list palette reordering
2021-02-16 18:11:35 +01:00
jmoenig
ecb25fe473
support for ranges of indices using zero and negative numbers inside index-lists in "item of"
2021-02-15 17:48:18 +01:00
jmoenig
8df42557c0
German translation update
2021-02-15 12:19:18 +01:00
jmoenig
5c74dc7a0e
took out "transpose" from "length" dropdown
2021-02-15 12:14:13 +01:00
jmoenig
bfa8ebc335
fixed #2784
2021-02-15 11:04:41 +01:00
jmoenig
6c3fe5f568
fixed #2783
2021-02-15 09:41:00 +01:00
jmoenig
ad9fa14628
updated history log
2021-02-14 11:41:27 +01:00
brianharvey
1073828f2c
Update lists.js
2021-02-14 02:35:06 -08:00
jmoenig
f650b8b538
fixed a bug for showing the senders of a message
2021-02-13 23:47:08 +01:00
jmoenig
3407396652
fixed list "columns" selector
2021-02-13 13:35:53 +01:00
jmoenig
d72f8e4a0a
distinguish between "columns" (<3D) and (deep) "transpose"
2021-02-13 13:32:14 +01:00
jmoenig
858fa17599
distinguish between "transpose" (<3D) and "deep transpose"
2021-02-12 17:44:14 +01:00
jmoenig
4eeb2e7567
fixed list.reverse() to return a shallow copy instead of mutating the original
2021-02-11 17:17:22 +01:00
jmoenig
c9f46be70a
rearranged the blocks in the lists category palette (moved commands up)
2021-02-11 10:46:39 +01:00
jmoenig
c3ed62048d
German translation update
2021-02-10 13:08:21 +01:00
jmoenig
bc742e9988
changed error message for "lines" conversion
2021-02-10 10:37:42 +01:00
jmoenig
b8e0dc143d
enabled scientific notation in numeric text fields
2021-02-10 10:32:43 +01:00
jmoenig
17f20ac4bc
added "is _ identical to _ ?" to relabel options of equals
2021-02-10 09:28:36 +01:00
jmoenig
b570798675
added defaults to RESHAPE in palette
2021-02-09 23:28:38 +01:00
jmoenig
b1660b9074
took out "crossproduct" primitive option from the palette
2021-02-09 22:42:33 +01:00
jmoenig
21baffd9a2
limit crash-dangerous matrix-exploding ops to 1 MM elements (reshape, crossproduct)
2021-02-09 22:30:37 +01:00
jmoenig
a7ac936578
enhanced 'reshape' to also handle scalars
2021-02-09 10:32:45 +01:00
jmoenig
8d5153c1bb
enhanced list attributes 'rank', 'shape' and 'ravel' to also handle scalars
2021-02-09 10:11:26 +01:00
jmoenig
30d180280f
enhanced MIN and MAX to also operate on text
2021-02-09 09:53:06 +01:00
jmoenig
05cad6a0cc
fixed internal migration for "transpose" block
2021-02-09 08:43:32 +01:00
jmoenig
1b72285310
refactored list.crossproduct() to avoid JS stack overflows
2021-02-09 00:58:26 +01:00
jmoenig
81ad8de5d7
refactored list.shape() to avoid stack overflows
2021-02-08 18:52:10 +01:00
jmoenig
2bace8aa59
refactored list.rank() to avoid JS stack overflows
2021-02-08 18:37:00 +01:00
jmoenig
b053beb5f9
show 2 numerical inputs in "Reshape"
2021-02-08 17:25:44 +01:00
jmoenig
2576ae12bd
added "cross product" to "append" as dropdown, and "reverse" to "length"
2021-02-08 17:19:50 +01:00
jmoenig
5cd2d58063
added hook for "crossproduct" in threads
2021-02-08 16:37:03 +01:00
jmoenig
c9764aca69
added TRANSPOSE for higher dimensions, thanks, Brian!
2021-02-08 15:56:31 +01:00
jmoenig
0486733aca
added internal naive (recursive) version of CROSSPRODUCT
2021-02-08 11:37:08 +01:00
jmoenig
daf9dd474f
optimized RESHAPE
2021-02-08 11:05:02 +01:00
jmoenig
4a7abe0b7b
new RESHAPE primitive
2021-02-08 08:57:26 +01:00
jmoenig
c9d8ac4b99
changed selectors for list attributes
2021-02-07 11:23:53 +01:00
jmoenig
bca3d632eb
changes "txt" to "lines" in list attributes
2021-02-07 10:59:44 +01:00
jmoenig
0f3ed2b100
changed wordings for list attributes
2021-02-07 10:54:56 +01:00
jmoenig
ed231aad5f
simplified private list.range() method
2021-02-07 10:14:40 +01:00
jmoenig
a9679cb176
added "txt" list conversion
2021-02-05 23:40:40 +01:00
jmoenig
1ec81f618c
added "txt" option to list attribure dropdown - not yet operational
2021-02-05 19:11:26 +01:00
jmoenig
2de1d21a0f
replaced "length of list" primitive with new "attribute of list" reporter
2021-02-05 19:08:39 +01:00
jmoenig
8e0dd119e4
removed "size" option from experimental "attribute of list" dropdown
2021-02-05 16:13:41 +01:00
jmoenig
7e0db6f6f3
added experimental "atribute of list" reporter primitive to dev mode
2021-02-05 15:32:31 +01:00
jmoenig
bf9f5599ae
don't show internal "compile" reporter in search results
2021-02-05 14:13:33 +01:00
jmoenig
32784a7a19
updated version history
2021-02-04 23:21:54 +01:00
Jens Mönig
9c3cc93fdd
Merge pull request #2771 from jmoenig/trim-usernames
...
Trim usernames on signup
2021-02-04 23:19:27 +01:00
jmoenig
f25aad784d
tweaked List >> query()
2021-02-04 23:18:25 +01:00
Michael Ball
d0e72f3f9b
Trim usernames on signup
...
This only applies to signups. We should also do this on the backend too.
2021-02-04 10:43:32 -08:00
jmoenig
4d6bd9a1e8
pushed dev version number
2021-02-04 19:01:49 +01:00
jmoenig
793d059061
changed query semantics for table selectors in ITEM OF to rows, columns, planes, etc.
2021-02-04 18:59:27 +01:00
jmoenig
9466b13816
new dev version
2021-02-03 13:51:27 +01:00
jmoenig
931be32989
prepared patch
2021-02-02 17:47:20 +01:00
jmoenig
2613515d07
refactored hyper list access
2021-02-02 17:33:38 +01:00
jmoenig
1a27241f94
added a few internal - as of now unused - matrix operations
2021-02-02 16:10:36 +01:00
jmoenig
0d60b1fc72
fixed importing exported reporter-scripts (experimental feature)
2021-02-01 17:16:40 +01:00
jmoenig
aea097b865
made identity comparison of texts case-sensitive
2021-02-01 10:30:59 +01:00
jmoenig
4d8fe5b083
refactored some matrix operations
2021-02-01 10:16:06 +01:00
jmoenig
af4662bed1
removed "transpose" from the palette for now
2021-01-30 13:25:48 +01:00
jmoenig
f224e69942
fixed #2768
2021-01-30 12:57:41 +01:00
jmoenig
859011e873
updated German translation for "transpose"
2021-01-30 11:41:39 +01:00
jmoenig
b30861c3e5
added "transpose" to palette for testing
2021-01-30 11:17:23 +01:00
jmoenig
65e3e64d35
enamed experimental "rotate" primitive into "transpose"
2021-01-30 10:49:14 +01:00
jmoenig
dd616d38f3
added more relabelling options for "rotate"
2021-01-29 16:27:35 +01:00
jmoenig
ed0e698ecf
updated German translation
2021-01-29 13:14:16 +01:00
jmoenig
51039241f0
refactored experimental "rotate" primitive
2021-01-29 13:07:50 +01:00
jmoenig
d4b7304d2d
removed previous experimental "column" and "width" primitives again
...
because "rotate" is the more general case
2021-01-29 12:33:11 +01:00
jmoenig
ef8dd4289b
experimental "rotate (list)" primitive relabelling option for "all but first"
2021-01-29 10:07:57 +01:00
jmoenig
b5e210e657
hyperized new experimental "column" primitive
2021-01-27 08:40:26 +01:00
jmoenig
5482bf7474
renamed "Obsolete!" blocks to "Undefined!"
2021-01-26 17:03:55 +01:00
jmoenig
5777e661a8
fixed a glitch in the Turkish translation
...
that broke the "Looks" blocks category
2021-01-26 16:56:56 +01:00
jmoenig
848c3ebf6f
updated German translation
...
with experimental block specs
2021-01-26 16:49:03 +01:00
jmoenig
62a9ea8770
experimental "width of _" reporter relabelling option for "length of _"
2021-01-26 16:40:22 +01:00
jmoenig
9ee7c9287b
experimental "column _ of _" reporter relabelling option for "item _ of _"
2021-01-26 15:56:28 +01:00
jmoenig
33ba6f46e3
handle single values as greyscale when constructing a costume
2021-01-26 08:36:00 +01:00
jmoenig
7fcd947b0f
updated version history
2021-01-25 15:26:23 +01:00
jmoenig
3fd345a9a8
updated API version
2021-01-25 15:22:55 +01:00
Jens Mönig
db04974250
Merge pull request #2766 from bromagosa/fix-2731
...
addresses issue #2731
2021-01-25 15:16:20 +01:00
jmoenig
bff16aa49b
hyperized image attribute reporter primitive (monadic)
2021-01-25 14:34:27 +01:00
Bernat Romagosa
af361ea2cb
addresses issue #2731
2021-01-22 15:47:34 +01:00
jmoenig
f93d95de0d
new dev version
2021-01-21 15:28:19 +01:00
jmoenig
a923b0c098
prepared patch
2021-01-11 11:14:10 +01:00
jmoenig
5681659474
updated version history
2021-01-05 17:44:33 +01:00
jmoenig
bcbf583ee7
experimental (non-hyperized) "not equals" primitive
...
reachable via "relabel"
2021-01-05 16:47:09 +01:00
jmoenig
24cf345b1c
fixed a conversion bug when retrieving a numerical value from an input field
2021-01-05 01:29:53 +01:00
jmoenig
d95c123f66
10% speed-up for reporters, WARP and TURBO
...
optimized frame stepper, reduced frames for input evaluation by taking a shortcut
2021-01-04 18:44:19 +01:00
jmoenig
f3ddeb0a93
new dev version
2021-01-04 18:36:02 +01:00
jmoenig
189e8b867a
updated manual, thanks, Brian!
2020-12-23 00:06:17 +01:00
jmoenig
17a7ca0967
prepared release
2020-12-22 17:42:00 +01:00
jmoenig
a494c660fe
Russian translation update, thanks, Pavel!
2020-12-22 17:38:00 +01:00
jmoenig
7f61527763
record unsaved changes when using the direction dial
2020-12-22 16:42:24 +01:00
jmoenig
c28bebf7f7
record unsaved changes when expanding or collapsing variadic inputs
2020-12-22 16:34:26 +01:00
jmoenig
15a47ace9a
record unsaved changes when toggling a Boolean input slot
2020-12-22 16:18:45 +01:00
jmoenig
36742405f4
record unsaved changes when editing input slots
2020-12-22 16:10:21 +01:00
jmoenig
9245248deb
record unsaved changes when editing project notes
2020-12-22 15:59:52 +01:00
jmoenig
004e1e4c35
record unsaved changes when perpetuating / releasing a clone in the IDE
2020-12-22 15:56:23 +01:00
jmoenig
986def0cff
record unsaved changes for ringify and unringify
2020-12-22 15:45:27 +01:00
jmoenig
c075cff8f0
record unsaved changes when relabelling a block
2020-12-22 15:41:59 +01:00
jmoenig
a2645683f1
record unsaved changes when making / deleting / duplicate custom block definitions
2020-12-22 15:02:33 +01:00
jmoenig
6597d640c7
record unsaved changes when deleting a variable
2020-12-22 14:49:32 +01:00
jmoenig
f2cf853ff9
record unsaved changes when making a new variable
2020-12-22 14:45:39 +01:00
jmoenig
51dd86a8ea
record unsaved changes in keyboard entry mode
2020-12-22 14:31:25 +01:00
jmoenig
2a7b98b7ba
record changes made in the sprite bar
2020-12-22 14:26:53 +01:00
jmoenig
859b604c5f
visual indication of unsaved changes in the IDE's project label
2020-12-22 13:12:02 +01:00
jmoenig
ec2fc7c059
fixed a typo in the api
2020-12-22 12:10:51 +01:00
jmoenig
65efa0e316
added unsavedChanges() method and documentation to the Snap! API
2020-12-22 00:35:29 +01:00
Jens Mönig
222a1aa35f
Merge pull request #2752 from jguille2/Catalan65
...
Updating Catalan translation for 6.5
2020-12-22 00:14:12 +01:00
jmoenig
e25165d32c
speed up "new costume from list" reporter primitive
...
up to 40x for literal inputs
2020-12-22 00:09:58 +01:00
Joan Guillén i Pelegay
24f702d80d
Updating Catalan translation for 6.5
2020-12-21 20:58:00 +01:00
jmoenig
4bd0a990c9
German translation update
2020-12-21 17:43:04 +01:00
jmoenig
c7cc58cab8
tweaked backup / restore some more
2020-12-21 17:28:39 +01:00
jmoenig
a8d617e471
added notice when backup fails
2020-12-21 00:25:42 +01:00
jmoenig
0699b8b76e
tweaked backup / restore
2020-12-21 00:15:02 +01:00
jmoenig
ba4edecaa4
fixed marking restored backups as unsaved
2020-12-20 15:03:22 +01:00
jmoenig
387c96f421
set "unsavedEdits" flag to true when restoring a backup
2020-12-20 14:49:01 +01:00
jmoenig
c43aee639e
warn about unsaved changes
...
and only backup those projects with unsaved changes
2020-12-20 13:44:44 +01:00
jmoenig
5a3be048f5
keep track of unsaved edits
2020-12-20 12:26:14 +01:00
jmoenig
7e9faf1577
added auto-backup when opening a project from the cloud
2020-12-19 19:25:37 +01:00
jmoenig
201aab7e07
fixed initialization of auto-backup
2020-12-19 19:12:28 +01:00
jmoenig
bf2d9a9626
added auto-backup when opening a project from the cloud
2020-12-19 18:51:09 +01:00
jmoenig
587d4f52d8
increment minor version number for dev
...
because of the new "Restore backup" feature
2020-12-19 18:42:30 +01:00
jmoenig
63d8530e88
new auto-backup to localstore feature
2020-12-19 18:40:05 +01:00
jmoenig
0cecfe61fd
added code-documentation for the WARP/timestamp optimization
2020-12-19 13:53:04 +01:00
jmoenig
10d57ea8c2
fixed a typo / bug in hyperDyadic()
2020-12-18 20:26:39 +01:00
jmoenig
3bc7f5270a
optimized scheduler, reduced system calls to Date.now()
...
25 % speed-up for reporters, WARP and TURBO
2020-12-18 18:28:15 +01:00
jmoenig
8052149707
reverted variadic input caching experiment
2020-12-17 17:14:52 +01:00
jmoenig
fbc5da9e9d
refactored blockSequence() non-recursively
2020-12-17 15:26:05 +01:00
jmoenig
fc95262732
added hook for caching variadic inputs
2020-12-17 10:47:58 +01:00
jmoenig
07a1d2abf6
added dev debugging hook for counting yields
2020-12-16 13:13:16 +01:00
jmoenig
1f32ed178d
re-enabled reporter drops in "key _ pressed?" input slot
2020-12-15 10:53:35 +01:00
jmoenig
7daaf29f32
fixed keyboard formula entry for subtraction
2020-12-15 10:48:08 +01:00
jmoenig
5cf7328a5d
new dev version
2020-12-15 10:28:53 +01:00
jmoenig
2c64f53494
prepared patch
2020-12-14 12:12:08 +01:00
jmoenig
2ec3103e54
fixed zebra coloring for imported scripts
2020-12-14 10:51:23 +01:00
jmoenig
72e45d2dad
new dev version
2020-12-14 10:36:11 +01:00
jmoenig
a51dd43bbe
prepared minor release
2020-12-11 17:51:32 +01:00
jmoenig
6b102c1f79
fixed layout issue when importing a sprite in presentation mode
2020-12-11 16:11:49 +01:00
jmoenig
947fc150cc
fixed special drop-downs for keyboard entry
2020-12-11 09:41:37 +01:00
jmoenig
0917ee463b
hyperized OBJECT reporter primitive in sensing
2020-12-09 11:56:43 +01:00
jmoenig
d9839968ea
added hyperdyadic ATAN2 primitive reachable via "relabel"
2020-12-09 11:24:22 +01:00
jmoenig
55e86b60fa
updated version history
2020-12-09 09:22:34 +01:00
jmoenig
cf267df944
reverted multimap
...
let's use a JS-block based custom block to engineer it first
2020-12-07 14:11:40 +01:00
jmoenig
5aece84881
integrated multimap primitive
2020-12-07 13:27:29 +01:00
Jens Mönig
3973983b13
Merge pull request #2742 from jmoenig/multimap
...
compiled multimap
2020-12-07 10:05:19 +01:00
jmoenig
79e6054941
updated version history
2020-12-07 09:56:07 +01:00
brianharvey
35c7560816
compiled multimap
...
This PR makes the compiled version of MAP variadic. The expected use case is that the function input's ring does not have formal parameters, and corresponding items of the input lists fill the empty slots in the ringed expression.
For compatibility, if the ring is given formal parameters, then the first one ("value") is bound to a list of the corresponding items of the input lists.
2020-12-07 00:53:04 -08:00
Jens Mönig
156c85a959
Merge pull request #2739 from jguille2/svgFitting2
...
Fitting new large svgCostumes to the stage dimensions
2020-12-07 09:52:04 +01:00
Joan Guillén i Pelegay
df1bd377ff
Fitting new large svgCostumes to the stage dimensions
2020-12-06 11:56:17 +01:00
jmoenig
57e61b813b
German translation update for "ray length"
2020-12-05 17:48:04 +01:00
jmoenig
32b57bdf6b
alternative collision detection method using the video-cache
...
no noticable speed-up, commented out for reference.
2020-12-05 12:16:40 +01:00
jmoenig
12629d64ec
integrated raycasting into "relation TO object" primitive
2020-12-04 11:04:43 +01:00
jmoenig
84757ba6c2
cleaned up raycasting
2020-12-04 08:45:01 +01:00
jmoenig
9fcaf64300
use video pixel buffer for raycasting
2020-12-03 17:29:16 +01:00
jmoenig
816186f17d
caching raycasting raw data
2020-12-03 17:01:12 +01:00
jmoenig
f3029be0dc
raycasting edge detection support for retina "turtle" costumes
2020-12-03 15:15:09 +01:00
jmoenig
0fdcca4680
raycasting edge detection, first pass
2020-12-03 14:36:55 +01:00
jmoenig
35a3faa6a0
raycasting edge detection, under construction
2020-12-03 09:02:06 +01:00
jmoenig
b50ddc2480
fancy raycasting collision detection, under construction
2020-12-02 18:54:27 +01:00