Wykres commitów

2418 Commity (83624c2f4e560df02ab8a7eceacab48c4b804562)

Autor SHA1 Wiadomość Data
jmoenig 1d66211c92 Simplify scrollBar size calculations
thanks, @cycomachead !
2019-08-06 13:17:29 +02:00
jmoenig a629388f51 fixed color of scripts scroll frame
so it works better with @cycomachead 's fix to the scrolling system
2019-08-06 12:01:40 +02:00
jmoenig 7cd4a56684 updated version history and morphic credits 2019-08-06 09:39:54 +02:00
Jens Mönig 4921597b1c
Merge pull request #2470 from jmoenig/fix-scrollframe-bars
Accounts for the scrollbars in ScrollFrameMorphs.
2019-08-06 09:24:54 +02:00
jmoenig 53e8e92706 updated version history 2019-08-06 09:09:51 +02:00
jmoenig 7564dca5fc updated version history 2019-08-06 08:59:55 +02:00
Jens Mönig b08ffe7348
Merge pull request #2467 from bromagosa/fix-OGG-firefox
fixes importing OGGs in Firefox
2019-08-06 08:54:10 +02:00
jmoenig a2237b7a53 new experimental "paste on" block in the "pen" category
currently hidden in dev mode
2019-08-06 07:53:56 +02:00
jmoenig 681de687c0 new dev version 2019-08-06 07:42:02 +02:00
Michael Ball b7bf8bab1a Accounts for the scrollbars in ScrollFrameMorphs.
This ensures that the stopping point of the scrollbar is beyond the length of
the contents that it is scrolling, and that when scrolling is calculated, it
will now account for the presence of a scrollbar. This allows
you to scroll a little extra so you can always see all content.

Fixes #2468
Fixes #638
Fixes #804
2019-08-05 01:28:35 -07:00
Bernat Romagosa a73c562b11 fixes importing OGGs in Firefox 2019-07-29 10:19:44 +02:00
jmoenig 140107516b fixed default names for 'script variables' block 2019-07-25 18:49:20 +02:00
jmoenig bbc88b0c14 fixed #2041 - follow up 2019-07-24 12:52:22 +02:00
jmoenig bb59c386a5 prepared maintenance release 2019-07-24 12:23:47 +02:00
jmoenig ab69d1adb4 fixed #2041 2019-07-24 12:19:22 +02:00
jmoenig 421c5dafd5 updated credits 2019-07-23 15:58:01 +02:00
jmoenig 5795f18883 updated credits, prepared maintenance release
mentioning @swiperthefox , @DarDoro and @ToonTalk for their contributions to IME support
2019-07-23 09:17:12 +02:00
jmoenig e652c32162 upated morphic credits
with mentions of @swiperthefox, @DarDoro and @bromagosa
2019-07-23 09:02:49 +02:00
jmoenig 3d3e098103 minor code reformatting for LINTers 2019-07-23 08:00:07 +02:00
jmoenig 159196113e updated version history 2019-07-22 19:08:02 +02:00
Jens Mönig e90ec0fa5d
Merge pull request #2322 from swiperthefox/hidden-textarea-ime
Provide IME support to text editing using hidden textarea
2019-07-22 18:39:39 +02:00
jmoenig 727441e2c8 new dev version 2019-07-22 18:38:36 +02:00
jmoenig 54602a6ef6 prepared maintenance release 2019-07-17 20:15:28 +02:00
jmoenig f553d673bf lemme fix that syntax for ya ;-) 2019-07-17 20:10:24 +02:00
Bernat Romagosa a9d2763482 fixes bug when fetching collection list from community site 2019-07-17 18:00:38 +02:00
jmoenig 8d8ad054d0 prepared maintenance release 2019-07-15 08:18:35 +02:00
jmoenig e74538c8fa updated version history 2019-07-15 08:01:20 +02:00
Jens Mönig 9810b30f54
Merge pull request #2455 from jguille2/messageSpecialOptionMenu
Removing 'any message' from messageSpecialOptionMenu
2019-07-15 07:53:28 +02:00
Jens Mönig 9ae482b8ca
Merge pull request #2454 from jguille2/allMessageNames
allMessageNames function working with the new specialOptionMenus
2019-07-15 07:52:55 +02:00
jmoenig e28bd1ca39 fixed a glitch when running a generic WHEN hat block with a literal Boolean input 2019-07-15 07:38:05 +02:00
Zhenlei Jia e42ccf1b53 resolved conflicts to push to github. 2019-07-11 09:05:49 -04:00
Zhenlei Jia d8e2bc3129 1. The underlying textarea now listens to "input" event, and update the content of target morphic
accordingly.
2. The textarea still listens to "keydown" and "keyup" events, for the following puerpose:
"keydown" event handler will detech some system shortcuts, add will pass it to "the world".
"keyup" event handler is used to capture the change of selection status and cursor position of the
textarea (which is not captured in the above "input" event), and update the target morphic.
2019-07-11 08:38:51 -04:00
Joan Guillén i Pelegay 80efe569e0 Keeping messagesReceivedMenu for backward (5.0.0-5.0.3) support 2019-07-10 23:01:40 +02:00
Joan Guillén i Pelegay 61c7c165a2 Removing 'any message' from messageSpecialOptionMenu 2019-07-10 11:06:09 +02:00
jmoenig e649dd014d prepared maintenance release 2019-07-10 10:40:34 +02:00
Joan Guillén i Pelegay c2173e4036 Updating allMessageNames function so that it also work with the new specialOptionMenus 2019-07-10 10:39:54 +02:00
jmoenig 17fb241d1a enhanced CSV-parsing to auto-detect the most likely delimiter
among comma, semi-colon, pipe and tab based on examining the first line
2019-07-10 10:31:07 +02:00
jmoenig 3d16e1971b prepared maintenance release 2019-07-09 19:03:54 +02:00
jmoenig 9aabc19076 fixed a layout glitch for variadic C-shaped input slots
thanks, @bromagosa for the bug report!
2019-07-09 18:48:01 +02:00
jmoenig 0e9e9a05a7 experimental tolerant color collision detection (in dev mode) 2019-07-08 12:32:29 +02:00
jmoenig 3d6d95d949 new dev version 2019-07-08 12:27:32 +02:00
jmoenig 28fcf7ef1e prepared maintenance release 2019-07-04 19:06:30 +02:00
jmoenig b5e16227a1 show "browser" source option in project dialog when (deprecated) locally stored projects still exist 2019-07-04 13:44:53 +02:00
jmoenig 025c3458a5 eliminated an occasional empty label line when variadic inputs wrap as a whole
thanks, @maryfries , for reporting this bug!
2019-07-03 10:32:27 +02:00
jmoenig 71f3b37f14 optimized collision detection
by only looking at the alpha channel data
2019-07-02 16:50:11 +02:00
jmoenig c5746036b8 added gliding animation when inserting blocks using the keyboard 2019-07-01 19:05:48 +02:00
jmoenig f0c192778c fixed a race condition in Morph.glideTo() 2019-07-01 19:03:11 +02:00
jmoenig 9f11b84413 updated version history 2019-07-01 14:01:29 +02:00
Jens Mönig 64bda84857
Merge pull request #2433 from bromagosa/cloud-collection-size-fix
fixes collection grid page size
2019-07-01 13:58:09 +02:00
jmoenig 2d891b0818 updated version history 2019-07-01 11:26:09 +02:00
Jens Mönig a6d1a2c6ab
Merge pull request #2447 from jmoenig/foreach-bug
fix for each bug
2019-07-01 11:18:33 +02:00
jmoenig 5bff2bafd7 fixed #2446 2019-07-01 11:12:32 +02:00
jmoenig a5770eb000 new dev version 2019-07-01 11:07:57 +02:00
brianharvey b0fe98a9a8 fix for each bug 2019-07-01 00:06:12 -07:00
Bernat Romagosa 32176c8421 fixes collection grid page size 2019-06-29 10:43:08 +02:00
jmoenig 6a9d257cc4 prepared release 2019-06-27 19:21:53 +02:00
jmoenig 9b50de81ee updated version history - changed status to Release Candidate 2019-06-27 16:34:44 +02:00
jmoenig d5742755a8 adjusted French translation to the switched order of inputs for COMBINE 2019-06-25 17:10:09 +02:00
jmoenig d187168aa3 adjusted Catalan translation to the switched order of inputs for COMBINE 2019-06-25 17:06:47 +02:00
jmoenig 65da4cd6ba adjusted Portuguese translation to the switched order of inputs for COMBINE 2019-06-25 17:01:34 +02:00
jmoenig 997a993862 adjusted Spanish translation to the switched order of inputs for COMBINE 2019-06-25 16:48:13 +02:00
jmoenig eff20a0962 adjusted German translation to the switched order of inputs for COMBINE 2019-06-25 16:43:19 +02:00
jmoenig 54b49265cd took out "relabel" options for COMBINE 2019-06-25 16:25:56 +02:00
jmoenig bc908f9608 renamed COMBINE label, switching the inputs 2019-06-25 16:21:42 +02:00
jmoenig ca56432c3a optional formal inputs for rings in MAP, KEEP, FIND, COMBINE
experimental:
#1 - element
#2 - optional | index
#3 - optional | source list
2019-06-25 16:05:28 +02:00
jmoenig 05f7c2da06 adusted French translation to the new HOF label 2019-06-24 09:03:22 +02:00
jmoenig 1468f5cda1 adjusted Spanish translation to the new HOF labels 2019-06-24 09:00:58 +02:00
jmoenig b8942b68fe adusted German translation to new HOF names 2019-06-24 08:57:46 +02:00
jmoenig 763fbde15d removed "such that" from KEEP and FIND block labels 2019-06-24 08:54:08 +02:00
jmoenig 18a37da698 updated version history 2019-06-24 08:49:09 +02:00
Jens Mönig 99e3d79b09
Merge pull request #2412 from MMSequeira/master
Update and correct Portuguese (Portugal) translation
2019-06-24 08:34:40 +02:00
Manuel Menezes de Sequeira ff312c3368 Update Portuguese (Portugal) translation with negative of block 2019-06-18 14:22:49 +01:00
Manuel Menezes de Sequeira 6f4642ac0d Localize context menu for custom block text fragments 2019-06-12 12:58:05 +01:00
Manuel Menezes de Sequeira ad8ad84c92 Localize the "special" input menu item 2019-06-12 11:56:19 +01:00
Manuel Menezes de Sequeira 0c92ec4951 Update and correct Portuguese (Portugal) translation 2019-06-12 00:02:52 +01:00
Joan Guillén i Pelegay e3a643d898 Updating Catalan translation 2019-06-09 00:48:26 +02:00
jmoenig 6aba1fcb16 updated version history
and added some more typecasting checks
2019-06-06 11:32:06 +02:00
Bernat Romagosa 1da0ddef1f added parseFloat to maps module so it properly parses lat and long from strings 2019-06-06 10:39:01 +02:00
jmoenig 09551e33a0 optimized table observation 2019-06-04 07:51:32 +02:00
jmoenig ac2e1969c0 fixed table watcher cell updates for costumes (save / load) 2019-06-04 07:25:00 +02:00
jmoenig 4e25814da2 fixed #682 2019-06-04 00:16:51 +02:00
jmoenig 82c6a653c4 fixed #670 and #1804 2019-06-03 23:03:43 +02:00
jmoenig ae8e1d0d63 fixed #1740 2019-06-03 16:54:31 +02:00
jmoenig 2b93fb1b4c fixed #2249, predicates inside generic WHEN hats can now pass upvars 2019-06-03 12:56:06 +02:00
jmoenig 5cfc67ae1a made watchers immediately react to inheritance changes 2019-06-02 16:09:29 +02:00
jmoenig 13b10457e5 made "pen down?" attribute inheritable 2019-06-02 15:54:28 +02:00
jmoenig ee9eb87977 made "shown?" attribute inheritable 2019-06-02 15:32:28 +02:00
jmoenig 2e3cdac9f5 made "pen down?" and "shown?" attributes watchable onstage 2019-06-02 13:54:52 +02:00
jmoenig a5be0dff9c updated German translation for "shown?" and "pen down?" 2019-06-01 11:57:11 +02:00
jmoenig ccaa3a03b9 added "shown?" predicate to the stage 2019-06-01 11:50:12 +02:00
jmoenig 10b1dd1d4d new "shown?" predicate 2019-06-01 11:41:05 +02:00
jmoenig 073f9ca94e new "pen down?" predicate 2019-06-01 11:31:43 +02:00
jmoenig f6d42037be added support for zxy, zyx and xyz style maps and satellite imagery 2019-05-31 18:36:31 +02:00
jmoenig cf692d0213 allow numbers as sprite names in SET 2019-05-31 11:27:55 +02:00
jmoenig 1f1c8b98a2 German translation update (FINDFIRST, WORD, TEMPORARY?) 2019-05-31 11:20:31 +02:00
jmoenig cecf87f3e2 optimized FOREACH performance for large linked lists 2019-05-31 10:31:21 +02:00
jmoenig 2596fabf11 made the "temporary?" attibute readable
I hate my life even more! This emphasizes totally silly aspects of Snap! at the cost of adding cognitive burden. It's a mirage: It looks loomingly important but has little to no relevance in reality. Only for nitpicks who don't ever make projects.
2019-05-29 13:49:22 +02:00
jmoenig a7abb08220 made "name" attribut programmatically settable
this is a ridiculously annoying and unneccessary feature, I hate my life!
2019-05-29 13:22:07 +02:00
jmoenig 2150bbf8bf renamed "whitespace" option in SPLIT to "word" 2019-05-29 12:14:26 +02:00
jmoenig 137b9b51df added JIT-compiled "blitz" version of FIND 2019-05-29 11:53:21 +02:00
jmoenig 066fa407ae added "Find First" primitive to lists category 2019-05-29 11:34:30 +02:00
jmoenig 774cb29c5c added various different tile hosts for maps 2019-05-28 19:33:47 +02:00
jmoenig 8b68d72bbc added credits and license information to map costumes 2019-05-25 15:08:42 +02:00
jmoenig 4f633a787c fixed horizontal wrapping for World Map 2019-05-24 15:09:28 +02:00
jmoenig a2237ec7a8 oops, didn't intend to commit this :-) 2019-05-24 14:49:39 +02:00
jmoenig 27790c7463 wrap World Map horizontally 2019-05-24 14:39:34 +02:00
jmoenig 715a6f6fcc tweaked maps code 2019-05-24 11:04:57 +02:00
jmoenig 8a066aee01 integrated world map into stage 2019-05-24 09:31:00 +02:00
jmoenig eb18da9efd new experimental Maps module, our own thin slippy maps client for Snap! 2019-05-24 09:14:39 +02:00
jmoenig 767df21e70 let WRITE block print at the rotation center, not the geometric one 2019-05-23 07:27:22 +02:00
jmoenig 9cd6264ab1 corrected a small typo 2019-05-22 16:21:55 +02:00
jmoenig 780d5256d2 use "event.key" to detect (+) and (-) keystrokes across browsers 2019-05-21 23:09:11 +02:00
jmoenig 666f70449b enhanced detecting '+' and '-' keys for Firefox 2019-05-21 18:55:32 +02:00
jmoenig 34d64e5a99 fixed stage-size settings bug 2019-05-21 07:21:45 +02:00
Jens Mönig 739c9c8827
Merge pull request #2396 from jguille2/cat5e
Catalan translation update with video motion blocks
2019-05-20 16:52:19 +02:00
jmoenig f8e9589166 refactored projection layer update 2019-05-20 16:45:04 +02:00
jmoenig 8b94bef04a added plus- and minus- keys to key pressed predicate and hat block 2019-05-20 13:15:13 +02:00
Joan Guillén i Pelegay acb573f089 and updating last changes date info 2019-05-19 10:04:38 +02:00
jmoenig 06fcbc3823 more refactoring to generalize projection extensions 2019-05-16 19:03:59 +02:00
jmoenig 8fec29ca7c still more video projection generalization refactoring 2019-05-15 14:35:40 +02:00
jmoenig ef942dd09f more video / projection refactoring yet 2019-05-15 13:25:52 +02:00
jmoenig 636ee31b0e more video projection refactoring 2019-05-15 13:22:05 +02:00
jmoenig dadf2996e7 refactored video frame capture 2019-05-15 12:58:45 +02:00
jmoenig cf2d94cc51 refactored videoLayer so it can also be used for other extensions (maps, 3d) 2019-05-15 12:41:09 +02:00
jmoenig be5b7b2f0f fixed originalCloneName reference when setting a new parent 2019-05-14 17:08:26 +02:00
jmoenig 9344d7677f fixed costume names and thumbnails for computed costumes 2019-05-13 01:31:23 +02:00
jmoenig 41ceb98f86 German and Catalan translation updates 2019-05-09 19:04:26 +02:00
jmoenig 8e58d965d1 added credits in the "about" dialog for @jferran6 and @jguille2 2019-05-09 18:10:20 +02:00
jmoenig 6e0ba563b0 fixed video still "snap on sprite" for Firefox 2019-05-09 17:46:06 +02:00
jmoenig d9f3c96f89 tweaked new video-snap (still capture) feature 2019-05-09 00:20:33 +02:00
jmoenig 7647811884 new video-snap (still capture) feature 2019-05-08 19:56:24 +02:00
jmoenig abcdecde51 tweaked video initialization 2019-05-08 15:52:23 +02:00
jmoenig 208c1ffd75 arranged video blocks in palette 2019-05-08 15:48:21 +02:00
jmoenig 358296bb11 auto-start video capture when querying, stop video on stop-all 2019-05-08 15:25:29 +02:00
jmoenig 20e2d70723 cleaned up redundant code for video motion sensing 2019-05-08 15:01:47 +02:00
jmoenig f1e49f7cde finalized video ops 2019-05-08 10:40:46 +02:00
jmoenig 03acf231cd added a %self menu 2019-05-08 09:41:31 +02:00
jmoenig 6a65fa7c9c integrated video capture control into global settings prims in Sensing 2019-05-08 00:45:22 +02:00
jmoenig 33e1b858da actually stop the webcam, i.e. all tracks of the media stream when stopping video 2019-05-07 23:27:18 +02:00
jmoenig e63c5e6eb0 optimized video motion detection 2019-05-07 23:10:27 +02:00
jmoenig 792cf22df4 disable video motion detection by default
because it's still under construction
2019-05-07 00:38:24 +02:00
jmoenig b8eaa514a7 moved video motion sensing code into its own file 2019-05-07 00:17:03 +02:00
jmoenig e364074a2b tweaked formatting ect. for Linting 2019-05-06 23:55:22 +02:00
Jens Mönig 190ef80e98
Merge pull request #2393 from jferran6/videomotion
@jferran6's video motion feature
2019-05-06 23:31:31 +02:00
jmoenig a31ed67a51 German translation update 2019-05-03 09:02:55 +02:00
jmoenig a81aafb8c4 fixed a typo 2019-05-03 08:52:09 +02:00
jmoenig af7835b1e4 added relabelling options for HOF-prims 2019-05-03 08:47:36 +02:00
jmoenig 364f780a88 added "compile / un-compile" options to HOF-prims 2019-05-03 08:39:05 +02:00
jmoenig 1ca1fc4634 reverted reordering MY block dropdown
back to similarities
2019-05-03 07:44:09 +02:00
jferran6 b54975f5af Adding video motion sensing features 2019-05-03 00:13:27 +02:00
jferran6 14f54a96a8 Adding video motion sensing features 2019-05-02 23:58:38 +02:00
jmoenig 09bcbf1306 added JIT-Compiler support for new IF/ELSE reporter primitive 2019-05-02 18:27:38 +02:00
jmoenig 85fdd0fd23 expose import "raw data" in variable watcher context menu 2019-05-02 15:10:44 +02:00
jmoenig 242cbd9947 updated German, Catalan, Spanish and French translations for "blitz-HOF" primitives 2019-05-02 14:49:22 +02:00
jmoenig d225da1be6 added hidden "blitz-HOF primitives" for MAP, KEEP and COMBINE 2019-05-02 14:35:06 +02:00
jmoenig b05da1a526 catch an error when sprites are dragged 2019-05-02 12:58:35 +02:00
jmoenig acab6ee8c8 added "width" and "height" to the OF block's dropdown for sprites 2019-05-02 12:51:22 +02:00
jmoenig 2e8b5e9d76 added "width" and "height" to the MY blocks dropdown 2019-05-02 12:32:04 +02:00
jmoenig cbc06cef80 reordered MY block dropdown by data type 2019-05-02 11:50:56 +02:00
jmoenig 15fe5f7984 adjusted costume stretch minimum to 1 pixel 2019-04-30 09:42:41 +02:00
jmoenig 582e163ca6 German translation update 2019-04-30 08:41:40 +02:00
jmoenig cb8bfd25ba added "costume" selector to MY dropdown 2019-04-30 08:37:28 +02:00
jmoenig 5cde6b6040 added "id" to image attributes dropdown 2019-04-30 07:24:49 +02:00
jmoenig 72843f8ee3 stop audio frequency instances when "stop all" is executed 2019-04-29 19:09:56 +02:00
jmoenig 5e9d3ce478 fixed more "hz" typos 2019-04-28 13:35:33 +02:00
jmoenig 7ca082df14 changed "hz" typo to "Hz"
thanks, Brian, for catching this!
2019-04-28 13:16:44 +02:00
jmoenig c9e4c3090c updated German, Catalan, Spanish and French translations for former tools 2019-04-27 11:13:07 +02:00
jmoenig de75cc4a76 removed "tools" library, yay! 2019-04-27 10:34:05 +02:00
jmoenig 959cccd2b8 make sure filtered linked lists end well formed 2019-04-27 10:04:41 +02:00
jmoenig 380474945f accept text representing numbers as inputs to NUMBERS prim 2019-04-27 10:01:40 +02:00
jmoenig 097a3cbc00 renamed context "aggregation" property to "accumulator" 2019-04-27 09:30:09 +02:00
jmoenig 62c3cf11c2 make sure number lists end well formed 2019-04-27 09:07:11 +02:00
jmoenig 6ee0d05968 new "numbers" constructor primitive in List category 2019-04-27 08:59:12 +02:00
jmoenig b570f95a3e new "is empty" predicate primitive in List category 2019-04-27 07:47:33 +02:00
jmoenig 3502fe2da0 added support for single implicit parameter to FOR EACH prim 2019-04-26 15:03:37 +02:00
jmoenig e161a2382d moved "for each" down in the lists pallette towards the imperative blocks 2019-04-26 11:28:35 +02:00
jmoenig 9af72c27c1 updated French translation (for new HOF prims) 2019-04-26 09:08:10 +02:00
jmoenig ca4dcf7eac updated Spanish translation (for new HOF prims) 2019-04-26 09:05:38 +02:00
jmoenig c31b4d8d7c updated Catalan translation (for new HOF prims)
took the translation from the tools library
2019-04-26 00:06:08 +02:00
jmoenig a313993f9f updated version date 2019-04-25 16:20:09 +02:00
Jens Mönig 436f6c190a
Merge pull request #2376 from bromagosa/cloud-js-updates
Fetching a user's public collections now works
2019-04-25 16:16:50 +02:00
Jens Mönig 45c5794fcb
Merge branch 'master' into cat5d 2019-04-25 16:09:03 +02:00
jmoenig d23e3cc17c updated German translation (for new HOF prims) 2019-04-25 15:56:40 +02:00
jmoenig 6c3571a967 new "if then else" reporter primitive in Control category 2019-04-24 13:26:19 +02:00
jmoenig 335519f877 formatting tweaks 2019-04-24 12:04:22 +02:00
jmoenig 8a8439f01a new "for" loop primitive in the Control category 2019-04-24 11:59:15 +02:00
jmoenig a7706a870a added type-assertions for the new HOF prims 2019-04-24 10:26:17 +02:00
jmoenig e5a95685c4 new "combine" primitive in list category 2019-04-24 00:08:05 +02:00
jmoenig bcf757ca9a new "keep" primitive in list category 2019-04-23 18:19:59 +02:00
jmoenig 9156ce2ddb new "map" and "for each" primitives in list category 2019-04-23 16:59:30 +02:00
jmoenig fd7f8f803d fixed JS stack overflow issue for MAP primitive 2019-04-23 16:43:23 +02:00
jmoenig 2ce7caf4f4 turned dictionary key for 'arguments' parameter binding into a Symbol 2019-04-22 17:04:12 +02:00
Bernat Romagosa ad8b78fb72 replace %username at the request level 2019-04-17 20:34:38 +02:00
Bernat Romagosa d3beb9e38c Merge branch 'master' of https://github.com/jmoenig/Snap into cloud-js-updates 2019-04-16 16:29:46 +02:00
Bernat Romagosa 5cd3f3011c minor update to cloud.js 2019-04-16 16:29:43 +02:00
Joan Guillén i Pelegay 4f0eaae18a Updating again Catalan translation for Snap5 release 2019-04-15 13:23:12 +02:00
jmoenig 6f76ba2b8a enabled text-variables as inputs for graphic effects / pen attributes 2019-04-12 14:24:50 +02:00
jmoenig 7e8d13beaf re- renamed minus selector back to "neg" 2019-04-11 15:58:03 +02:00
jmoenig a7677f87c7 German translation update 2019-04-11 15:51:53 +02:00
jmoenig af37164ff2 moved costume-pixels primitives down in the palette towards the graphic effects 2019-04-11 10:36:28 +02:00
jmoenig e05b3a513a renamed monadic selectors: "neg" to "-" and "log2" to "lg", added "2^" 2019-04-11 10:27:35 +02:00
jmoenig 06d3ec1e55 fixed #2373
(limit zoom blocks slider to 5x). Jesus.
2019-04-10 10:53:04 +02:00
jmoenig ed8c9b4575 fixed #2367
(changing project source after exporting to disk)
2019-04-10 10:48:45 +02:00
jmoenig 64037093d3 fixed #2371 2019-04-10 09:23:32 +02:00
jmoenig f55438b4e6 took out MAP and FOREACH primitives gain
(available in dev mode)
2019-04-10 08:48:03 +02:00
jmoenig 3112547f73 made HOF primitives hidable 2019-04-09 19:08:35 +02:00
jmoenig f86c0c7bdd added "map" and "for each" primitives to List category 2019-04-09 18:49:48 +02:00
jmoenig 4e40745485 added "write" command to Pen category (same as "label" from tools 2019-04-09 17:30:58 +02:00
jmoenig ac3e7aeda1 added pen attribute reporter 2019-04-09 16:58:26 +02:00
jmoenig a6891658a4 added reporter for graphic effects 2019-04-09 16:23:19 +02:00
jmoenig 1a45e9d066 deprecated graphic effects: "duplicate", "comic" and "confetti" 2019-04-09 15:57:44 +02:00
jmoenig 7dba7a0576 added "current" to costume input slot dropdown 2019-04-09 15:42:34 +02:00
jmoenig 13a32a9e64 new feature: new costume from list of pixels 2019-04-09 15:08:32 +02:00
jmoenig bfcd4c9027 new "stretch" primitive for costumes, also for flipping 2019-04-09 14:19:18 +02:00
jmoenig 530afb1a60 let "getImageAttribute" deal with null costumes 2019-04-09 10:27:55 +02:00
jmoenig 223e493316 pixel access primitives for bitmap and vector graphics 2019-04-09 10:04:14 +02:00
jmoenig ad96635b2e accept lists and lists of lists as inputs to the "get sound attribute" primitive 2019-04-08 17:22:27 +02:00
jmoenig 38727fa467 accept lists and lists of lists as inputs to all sound playing primitives 2019-04-08 16:43:42 +02:00
jmoenig 5427a7a396 accept a number as input for a sound - interpret as index 2019-04-08 16:04:49 +02:00
jmoenig d1df74c7fc added relabelling information for the new "play sound at sample rate" block 2019-04-08 15:24:00 +02:00
jmoenig 1c9532edc3 new "play sound at sample rate" command primitive 2019-04-08 15:13:55 +02:00
jmoenig 6b874c18f3 new "getSoundAttribute" reporter primitive 2019-04-08 14:21:02 +02:00
jmoenig 4e4d4cb5db updated version 2019-04-07 08:53:53 +02:00
brianharvey a5754d7b24 threads.js fixes #2368 2019-04-06 22:24:42 -07:00
jmoenig fe371f2537 simplified fading curves for click reduction
duh ;-)
2019-04-05 13:08:21 +02:00
jmoenig 4e0a407ecb stop microphone output when the user presses the stop button 2019-04-05 12:12:40 +02:00
jmoenig 6c024bab40 updated German translation for "sample rate" 2019-04-05 12:05:15 +02:00
jmoenig c47da5cbfa added "sample rate" selector to microphone drow-down 2019-04-05 12:00:25 +02:00
jmoenig f4a813bbe8 tweaked oscillator fade-out 2019-04-05 11:47:20 +02:00
jmoenig 1db0ae0bf7 adjusted PianoKeyboard for the new audio engine
click reduction is an ugly business, those time curves can overlap and cause mayhem...
2019-04-05 11:13:03 +02:00
jmoenig aadd556a11 eliminated "clicks" when playing a frequency 2019-04-05 10:25:53 +02:00
jmoenig 091c81b484 eliminated "clicks" when playing music notes
thank you, @bromagosa , for your thoughts and hints about how to accomplish this!
2019-04-05 10:03:53 +02:00
jmoenig 837e95e329 added inheritance support for "balance" 2019-04-04 18:40:13 +02:00
jmoenig 82deaac4f2 added inheritance support for "volume" 2019-04-04 18:22:56 +02:00
jmoenig 12c4a994fa added 'volume' and 'balance' selectors to the OF block 2019-04-04 15:32:36 +02:00
jmoenig 7bf45e0821 moved "stage width" and "stage height" into attribute menu of the OF block for the stage 2019-04-04 15:16:13 +02:00
jmoenig 2958b2d24e updated German translation 2019-04-04 14:58:48 +02:00
jmoenig 336d276784 renamed "pan left/right" to "balance" 2019-04-04 14:51:13 +02:00
jmoenig e17161028c make sure to stop frequencies inside forever loops on stop button 2019-04-04 14:44:47 +02:00
jmoenig 19a8aa0432 tweaked instrument setting 2019-04-04 07:58:31 +02:00
jmoenig 0da085bc59 new "play frequency" commands in the Sounds category 2019-04-04 07:08:40 +02:00
jmoenig 33a48ae873 German translation update for volume and panning blocks 2019-04-03 16:08:04 +02:00
jmoenig 2ee948b505 added relabelling information for the new stereo-panning blocks 2019-04-03 15:12:49 +02:00
jmoenig 13379e8ad2 new feature: audio stereo-panning blocks
individual, persistent, non-inheritable, stereo-panning attribute range -100 to 100 for sprites and the stage, default is 0.
2019-04-03 15:06:08 +02:00
jmoenig 4ebe51fe12 added relabelling information for the new volume blocks 2019-04-03 14:26:54 +02:00
jmoenig b21fea7a32 new feature: volume blocks
individual, persistent, non-inheritable, decibels-based volume attribute for sprites and the stage
2019-04-03 14:18:46 +02:00
jmoenig 01b3c77aab Safari compatibility tweaks (only use StereoPanner if available) 2019-04-03 12:37:35 +02:00
jmoenig 001e90f01a added "log2" function selector to monadic reporter, tweaked "log" 2019-04-02 16:13:50 +02:00
jmoenig b9519e51e1 map volume to a logarithmic gain scale
because that's how acoustics works, to get it right (unlike Scratch3)
2019-04-02 16:02:10 +02:00
jmoenig 53140c9108 added basic stereo-panning support for notes 2019-04-02 12:50:43 +02:00
jmoenig f4a7b59c49 added basic stereo-panning support for sounds
(under construction)
2019-04-02 12:40:00 +02:00
jmoenig 4d9dafcad1 new audio scheme support for the stage 2019-04-02 10:45:41 +02:00
jmoenig 91f4391509 use AudioContext to play recorded sounds 2019-04-02 10:33:34 +02:00
jmoenig 514ec3a1bf lazily initialize volume property 2019-04-02 07:19:44 +02:00
jmoenig 6d2ed9752c added volume support for notes (under construction) 2019-04-01 17:43:45 +02:00
jmoenig da6ae70e7d refactored audio context sharing and lazy initialization 2019-04-01 15:33:45 +02:00
jmoenig bc621b6ca7 took out gain node from Note oscillator
(will be used for "volume" setting)
2019-04-01 15:14:25 +02:00
jmoenig eced999b6c let the Microphone share the Note prototype's AudioContext
make sure all of Snap! uses just a single AudioContext in order to save hardware resources
2019-04-01 13:56:53 +02:00
jmoenig 6ab1965cf7 updated German translation 2019-03-31 13:28:28 +02:00
jmoenig dd59563f00 added "stage width" and "stage height" as gettable attributes to MY 2019-03-31 13:20:39 +02:00
jmoenig b820ccdd5e added JIT-compilation to live-audio scripting 2019-03-30 11:55:29 +01:00
jmoenig 562f31c281 support multi-channel live-audio scripting 2019-03-30 10:49:19 +01:00
jmoenig c39e9eb115 tweaked microphone to keep running while a modifier reporter exists 2019-03-28 17:48:39 +01:00
jmoenig d07b35a2d8 new experimental live audio-scripting support 2019-03-28 17:20:28 +01:00
jmoenig f18f299396 updated French translation 2019-03-26 09:00:12 +01:00
jmoenig bf07a4c450 fixed unintentional pen trails when manually cloning or duplicating a sprite
whose pen is down
2019-03-25 15:26:29 +01:00
jmoenig d8713ad4d5 updated version 2019-03-25 15:08:16 +01:00
Bernat Romagosa b20705c46c fixed getCollections method 2019-03-22 16:38:59 +01:00
jmoenig cf7fb8f64e updated ops for the new microphone dropdown names 2019-03-18 15:36:51 +01:00
Jens Mönig 71f7003529
Merge pull request #2358 from jguille2/cat5c
Another (the last?) Catalan language pack update before Snap5
2019-03-18 15:24:30 +01:00
jmoenig af4238eead updated German translation 2019-03-18 15:19:26 +01:00
jmoenig fb36408553 renamed some items of the microphone dropdown 2019-03-18 15:14:20 +01:00
jmoenig a8607e5326 replaced 'colorBelowSprite' with 'colorAtSprite' 2019-03-18 09:19:35 +01:00
jmoenig 65944c9849 renamed 'colorAtSprite' to 'colorBelowSprite'
(first step to refactoring it altogether)
2019-03-17 19:28:43 +01:00
Joan Guillén i Pelegay dc9d6ff283 Another (the last?) Catalan language pack update before Snap5 2019-03-17 03:56:33 +01:00
jmoenig 4fdbdf3e61 improved microphone pitch detection 2019-03-15 10:28:13 +01:00
jmoenig ab092dc59c optimized microphone volume detection 2019-03-13 17:01:08 +01:00
jmoenig b6ebbce681 made "play frequency" command experimental / only revealed in dev 2019-03-13 08:34:15 +01:00
jmoenig 92cd0d1e13 simplified and optimized pitch detection, made it work on Safari 2019-03-13 08:26:36 +01:00
jmoenig 4a95cbae8a disabled pitch detection for Safari, so at least the other microphone features work 2019-03-12 16:15:48 +01:00
jmoenig 25d4809830 updated relabel-dictionary 2019-03-12 11:26:54 +01:00
jmoenig 94bf8e0402 added "^" reporter (power of) in the Operators category 2019-03-12 11:18:05 +01:00
jmoenig 3686b71a72 updated German translation for "play frequency" primitive 2019-03-12 08:37:47 +01:00
jmoenig 1300b227ea added "play frequency" primitive to "Sound" category 2019-03-12 08:30:45 +01:00
jmoenig 39d19fabe1 changed microphone volume (back) to a scale of 0-100 2019-03-12 07:40:02 +01:00
jmoenig 40aedac22c make sure to localize microphone settings menu 2019-03-11 16:36:27 +01:00
jmoenig 038f55a8e5 updated German translation for microphone settings 2019-03-11 16:33:23 +01:00
jmoenig 5f101d4669 tweaked microphone menu 2019-03-11 16:30:56 +01:00
jmoenig 63b51d6309 added microphone "resolution" settings to GUI 2019-03-11 16:21:10 +01:00
jmoenig 25b5313ca5 fixed a glitch in Microphone >> setResolution 2019-03-11 16:19:13 +01:00
jmoenig af1397d7d3 added microphone "resolution" concept governing "bins" (buffer / bin sizes) 2019-03-11 15:25:23 +01:00
jmoenig a6439559e5 tweaked pitch detection to smoothen low audio signals 2019-03-10 15:04:45 +01:00
jmoenig c566b91f84 updated German translation for pitch-detection 2019-03-10 13:11:03 +01:00
jmoenig 9efc4c582d tweaked note detection to only change when the audio signal is strong enough 2019-03-10 12:58:23 +01:00
jmoenig 8ff79b0d8c added microphone note and pitch detection 2019-03-10 11:33:23 +01:00
jmoenig 01ec1a7448 simplified "globe" symbol 2019-03-07 09:35:45 +01:00
jmoenig 22076c9f52 German translation update (microphone features) 2019-03-07 09:21:38 +01:00
jmoenig 998803a18e AudioComp lib: added block to set the microphone's buffer and fft sizes 2019-03-07 09:09:38 +01:00
jmoenig b5c2a1db0e tweaked microphone synching 2019-03-06 17:26:05 +01:00
jmoenig db0301c8cc let users turn off microphone manually in the settings menu (in the offline version) 2019-03-06 17:08:53 +01:00
jmoenig 63a0f343a6 keep microphone always on when running Snap! locally
otherwise users need to re-allow microphone usage every time the block is eveluated again later
2019-03-06 17:06:49 +01:00
jmoenig ea25dad812 new "microphone" reporter in Sensing for getting volume, signals and frequencies 2019-03-06 16:44:20 +01:00
jmoenig 58151dd3a7 updated version history 2019-03-05 08:59:33 +01:00
jmoenig d95539bfd5 added "globe" icon to language menu item 2019-03-05 08:49:26 +01:00
jmoenig 324a8e5999 updated German translation 2019-03-04 18:47:51 +01:00
jmoenig 0efd49bb42 tweaked project dialog's initial width 2019-03-04 18:33:25 +01:00
jmoenig b6a3039965 changed project dialog's initial & miminum extent 2019-03-04 18:20:09 +01:00
jmoenig e3fcfc0b6e spread project dialog action buttons over 2 rows 2019-03-04 18:12:43 +01:00
jmoenig 670595e4c8 reenabled publish / unpublish buttons in the project dialog 2019-03-04 16:39:58 +01:00
jmoenig 3ad75ed84d deprecated storing projects in localStorage 2019-03-04 15:45:26 +01:00
jmoenig 6f529f0276 replaced "storage" icon in project dialog with "globe" symbol 2019-02-27 12:35:52 +01:00
jmoenig 7d5f903135 new "globe" symbol 2019-02-27 12:27:33 +01:00
jmoenig 0a0a4f228f removed an obsolete comment 2019-02-26 19:11:58 +01:00
Bernat Romagosa 8d15e3c983 kind of a kludge, but it fixes the focus issue with embedded iframes 2019-02-26 10:37:56 +01:00
jmoenig c7a20aca2c another attempt at preventing embedded proects from getting focus 2019-02-26 10:07:26 +01:00
jmoenig c136fc84a3 disabled calls to world.worldCanvas.focus()
in the hope that it prefents projects embedded in iFrames to automaticalls scroll into view
2019-02-26 07:35:01 +01:00
jmoenig 6656cd62b5 made "inheritance support" setting hidden 2019-02-26 07:19:42 +01:00
jmoenig fd009c2d7b don't focus embedded worlds 2019-02-25 16:39:56 +01:00
jmoenig a5018932e4 updated "about Snap" data 2019-02-25 07:32:51 +01:00
Joan Guillén i Pelegay 1b6e89fafe Updating changes date 2019-02-24 03:24:18 +01:00
jmoenig a7aeba8633 updated version dates 2019-02-22 18:10:45 +01:00
Jens Mönig 8c13fddd3a
Merge pull request #2338 from bromagosa/allow-importing-custom-block-scripts
Allow loading downloaded scripts that contain custom blocks
2019-02-22 18:05:58 +01:00
jmoenig 31d18aa4ef tweaked German translation 2019-02-22 17:55:28 +01:00
jmoenig 04eb25cc9b updated version history 2019-02-22 17:50:26 +01:00
jmoenig 4d63273e7f fixed vector editor pipette tool shift-for-fill-color for good 2019-02-22 17:23:42 +01:00
jmoenig 4cc79fe126 reverted redundant changes to paint.js 2019-02-22 17:17:44 +01:00
Jens Mönig af4b8141c9
Merge pull request #2337 from jmoenig/vector-edit
fix pipette bug
2019-02-22 15:03:24 +01:00
Jens Mönig 5a42e2b61c
Merge pull request #2336 from bromagosa/fixes-doPlayUntil-js-error
Removes JS error when clicking on "play sound until done" with no sound selected
2019-02-22 14:57:22 +01:00
Bernat Romagosa b0815159e0 allow loading downloaded scripts that contain custom blocks 2019-02-22 07:29:33 +01:00
Bernat Romagosa dfd9b78f48
Formatting 2019-02-21 07:41:08 +01:00
Brian Harvey 7287a3c2fa
Merge branch 'master' into vector-edit 2019-02-20 22:29:39 -08:00
brianharvey f48f7cae1e fix pipette bug
Shift-click on pipette button makes it work on fill color instead of
edge.  (The shiftness is the click on the button itself, unlike other
buttons, but pipette is different anyway because when you let go it
switches back to the old button selection.)
2019-02-20 22:20:54 -08:00
jmoenig ba347990c1 fixed deleting a single command inside a stack
which somehow got broken when allowing commands inside reporter rings
2019-02-21 01:42:46 +01:00
Bernat Romagosa d05b7becc0 Removes JS error when clicking on "play sound until done" with no sound selected 2019-02-20 09:22:11 +01:00
Bernat Romagosa ab9a62d3df Collection functions in cloud.js (#2334)
* collection functions

* fixed getUserCollections method

* reodered getCollectionProjects params to match other functions

* getUserCollections is safe against null params

* renamed body params in addProjectToCollection

* addProjectToCollection call was missing error string

* added withThumbnail param to getCollectionProjects, plus wrapped at 80 chars

* removed trailing slash from getCollectionProjects query

* added Cloud methods to set collection thumbnail and remove project from collection

* updated removeProjectFromCollection to match API

* add getCollectionMetadata method to cloud.js

* added methods to update collection name and description to cloud.js

* added method to remove a collection

* added methods to share, unshare, publish and unpublish collections

* renamed removeCollection to deleteCollection, to match deleteProject

* fixed which collection methods need credentials and which don't

* getUserCollection needs credentials

* added Cloud >> addEditorToCollection

* added Cloud >> removeEditorFromCollection

* added Cloud >> getCollectionsContainingProject

* reordered getRemixes params

* updated cloud module date
2019-02-20 07:27:57 +01:00
jmoenig c3a687e506 tweaked help for setting Edge/Fill colors in vector editor 2019-02-20 07:16:05 +01:00
jmoenig 94b8b93459 tweaked changes for LINT 2019-02-20 06:54:51 +01:00
Jens Mönig 28f2dfcca6
Merge pull request #2323 from swiperthefox/project-note-editor
Fix a bug of the project note editing dialog
2019-02-20 06:52:03 +01:00
jmoenig dddf1e4fee change back vector editor names
so they fit in the window
2019-02-20 06:46:27 +01:00
Jens Mönig 532c4fbf9d
Merge pull request #2329 from jmoenig/vector-edit
fix vector editor colors
2019-02-20 06:03:09 +01:00
jmoenig bce805d616 Tweaked German translation 2019-02-20 06:01:43 +01:00
jmoenig f1097de256 udated German translation 2019-02-19 22:43:48 +01:00
jmoenig 5bd667fc8e tweaked numerical type check
thanks, @joker314 for the suggestion!
2019-02-19 22:34:57 +01:00
jmoenig 1a3592de7f fixed #2332
I hate it. It's fixes like this that bog Snap! down.
2019-02-19 22:08:30 +01:00
jmoenig b0d4b4fd1b new feature: enable sprite nesting via the context menu 2019-02-18 19:00:25 +01:00
Brian Harvey e7dd0aa8ec
comma 2019-02-17 23:37:54 -08:00
brianharvey b0345f2d44 fix yucky text string
and also relabel Top, etc., to Frontmost, Backmost, Front, Back so they
match sprite layer wording.

Lots of ideas for what to put in the two new button spaces opened up!
:-)
2019-02-16 15:44:29 -08:00
brianharvey 3885ef0cde fix vector editor colors
Reverse edge and fill, rename to edge and fill, fix
left-button/right-button selection, all good things, no bad things.
2019-02-15 14:34:46 -08:00
jmoenig 0565310e52 fixed a glitch in the custom block help mechanism (show only the prototype) 2019-02-15 17:53:11 +01:00
jmoenig cbe0dc6723 removed an obsolete comment 2019-02-15 17:50:49 +01:00
jmoenig 83adb56bd0 tweaked yesterday's fix... 2019-02-15 17:26:11 +01:00
jmoenig 82c6b82960 keep empty numerical input slots in custom blocks empty when relabelling
instead of filling in zeroes
2019-02-14 12:01:16 +01:00
Zhenlei Jia 1c5d6970a9 Fix a bug that a single key stroke will be escalated twice. 2019-02-12 08:17:55 -05:00
Zhenlei Jia e972ae0ccd Set the right cursor position at the start of editing.
I assumed that all editing start with the whold content being selected.
The project note editor shows that this assumption might not be sure.
Added code in initializeTextarea to get the cursor right at the start
of editing.
2019-02-08 20:58:40 -05:00
Zhenlei Jia aabdfeade6 Provide IME support to the text editing in Snap.
1. Design Outline:

Three parties are involved:
- the target: the StringMorph/TextMorph to be edited
- the editor: the hidden textarea
- the manager: the CursorMorph

The manager takes care of the lifecycle of the editor, and provide visual
presentation of the cursor.

The editor holds the content being edited, handles keyboard events, perform
the required editing, then update the target with the result of editing.

The target handles mouse events, which result into changes of cursor position
and selection status, then it will update the editor with these information.

2. Change of WorldMorph.edit(target) method

At the start of the method, added two guards to check:
- if `target` is actually currently being edited, do nothing.
- if another morph is being edited, call stopEditing().
- ... the old codes

This is to fix a bug in mouse event handling. The bug is that shift+click does not
select the text between the clicked position and previous position, instead
all text wiil be selected.

The cause of this bug is the morph that being edited called stopEditing() and then
.edit(), which starts a new editing session, and the previous selection state is lost.
By adding above mentioned guard, the force restart will be avoid.
2019-02-08 10:54:03 -05:00
Zhenlei Jia a5aa6dd4b1 Fix a bug of project note edit dialog
Before fix, accepting the edit by "Shift+Enter" will discard all
editings.

Solution: setup dialog.target, dialog.action and dialog.getInput
properly for DialogBoxMorph's 'accept' method.

Changes are made in src/gui.js, but the 'why' part is at the
DialogBoxMorph.accept method in the file src/widget.js.
2019-02-08 08:14:45 -05:00
jmoenig a19cd29526 enable dropping command blocks into all rings by default. Yeah! 2019-02-07 12:54:45 +01:00
jmoenig ba46761576 adjusted keyboard typing for command blocks inside reporter rings 2019-02-07 12:47:56 +01:00
jmoenig 2a20052349 cleaned up blocks.js 2019-02-07 12:37:20 +01:00
jmoenig 3fef36f614 layout adjustments for dropping command blocks into reporter rings 2019-02-07 12:26:26 +01:00
jmoenig affbe2f437 refactored for optimized parent-by-type detection 2019-02-07 09:54:22 +01:00
jmoenig 22e12c834a simplified and optimized Node>>parentThatIsA / parentThatIsAnyOf 2019-02-07 09:48:17 +01:00
jmoenig d3a01ea1ee improved dropping command blocks into reporter rings 2019-02-07 07:54:23 +01:00
jmoenig 37a8c8d6e6 tweaked spec for settings getter 2019-02-07 07:45:23 +01:00
jmoenig c081eb997f tweaked loading mechanism to enable command blocks inside reporter rings 2019-02-07 07:42:47 +01:00
jmoenig b950976675 enable dropping commands into all rings, experimental, under construction 2019-02-06 20:35:54 +01:00
jmoenig 015bc354c4 adjust bottom of STOP block to reflect the menu selection (show / hide bottom notch) 2019-02-06 14:21:09 +01:00
jmoenig c299d4df60 added indicators for special menu / slot type to input slot editor 2019-02-06 11:43:01 +01:00
jmoenig b2e59006c5 made existence of slot-options and special menus testable 2019-02-06 10:48:06 +01:00
jmoenig 7478efdca9 refactored custom block input slot options / menus
avoid errors in case users edit menus in ways that are not supported
2019-02-06 08:44:07 +01:00
jmoenig 89fb1ac36f radio button symbols for special slot / drop-down menu options 2019-02-05 22:09:55 +01:00
jmoenig 4951f5cb70 enable dial menu to work with textual values representable as numbers 2019-02-04 11:11:43 +01:00
jmoenig aa98ed4d50 enable piano keyboard menu to work with textual values representable as numbers 2019-02-04 11:01:55 +01:00
jmoenig 9acd28bbe4 tweaked editor display of multi-line inputs with defaults 2019-02-04 10:00:19 +01:00
jmoenig 96660cf775 support default values in multi-line input slots inside custom blocks 2019-02-04 09:56:22 +01:00
jmoenig 85c6a1ed38 identify multi-line input slots by the pilcrow symbol in the slot editor 2019-02-04 09:04:58 +01:00
jmoenig d92b37c629 special context-aware drop-downs for custom blocks 2019-02-04 08:25:03 +01:00
jmoenig 39edea8f43 multi-line and monospaced "code" input slots for custom blocks 2019-02-01 17:22:18 +01:00
jmoenig 91009916a2 added "rotation style" selectors to accessor blocks 2019-01-28 18:25:25 +01:00
jmoenig 5b7d215cc9 added "draggable" selector to attributes accessors 2019-01-28 18:01:32 +01:00
jmoenig 6b805a855a added "flat line ends" option to "turbo mode" accessor blocks 2019-01-28 16:54:48 +01:00
jmoenig fc175b844e German translation update 2019-01-28 10:17:10 +01:00
jmoenig c50396fdf7 new "object" reporter in the Sensing category for getting a sprite by its name 2019-01-28 10:10:10 +01:00
jmoenig b9bc9d1446 pushed version to "beta" 2019-01-28 08:07:52 +01:00
jmoenig f40def7316 updated version history 2019-01-28 07:59:48 +01:00
jmoenig 9608bc9b45 added ability to export sounds 2019-01-25 13:38:08 +01:00
jmoenig 19f17e7243 updated version history
and slightly tweaked the code to please lint :-)
2019-01-25 12:17:57 +01:00
Jens Mönig 1601dffddc
Merge pull request #2315 from jmoenig/cloud-enhancements
Updates to cloud.js
2019-01-25 12:04:09 +01:00
jmoenig af6229828f tweaked CSV-parser to handle \r-only record delimiters 2019-01-25 09:31:11 +01:00
jmoenig cfc8750292 Turkish translation update, thanks, Turgut! 2019-01-24 11:57:24 +01:00
Michael Ball 16db64c9d5 oh dear! 2e20 is *not* 2**20...whoops 2019-01-24 02:32:40 -08:00
Michael Ball 19243fa538 cleanup duplicative error handling 2019-01-24 02:10:48 -08:00
Michael Ball b4f12a67bd cleanup logging / comments 2019-01-24 02:07:26 -08:00
Michael Ball a044553767 refactor some cloud project saving. Fix #2169 2019-01-24 02:03:10 -08:00
Michael Ball 1fdded7fe5 Move project saving code to gui.js
Give it a small refactor, fix size checking.
2019-01-23 23:54:33 -08:00
Michael Ball 204f725437 cloud.js tweak to not need morphic as much. 2019-01-23 23:31:00 -08:00
jmoenig ce4d93c036 updated German translation
added translations for the new "background color" blocks
2019-01-23 17:44:38 +01:00
jmoenig 2cc9a17310 save stage's background color in project
also save alpha of pen color and background color
2019-01-23 17:34:51 +01:00
jmoenig 8bf326e934 new blocks for setting and changing the stage's background color 2019-01-23 17:09:54 +01:00
jmoenig 5fa31f0aab tweaked rending of C-shaped slots inside predicates 2019-01-23 07:20:22 +01:00
jmoenig c7f0d9d674 fixed pen hsv-cache invalidation for clones 2019-01-22 13:38:00 +01:00
jmoenig 2f269f062d cleaned up CSV parser 2019-01-22 10:47:00 +01:00
jmoenig 8746a0f95f remove all clones when the Green Flag is clicked 2019-01-22 03:06:43 +01:00
jmoenig d35ea89193 adjust label row below C-Slot to accomodate loop icon, if any 2019-01-22 02:29:15 +01:00
jmoenig 4ec2732a9d updated internal "for reach" primitive block with new arrow symbol. Sigh. 2019-01-21 13:22:20 +01:00
jmoenig 7cf1c56d1d let users make C-shape slots with loop arrow symbols. Sigh. 2019-01-21 13:13:37 +01:00
jmoenig 573ce00e8c updated version of Indonesian translation, thanks, @amuritna! 2019-01-21 09:30:24 +01:00
jmoenig 0695ac2883 fixed "Staatsgalerie bug" - "relabel" did not restore drop-down choice when localized 2019-01-19 23:29:12 +01:00
jmoenig 1697be02d3 updated versions 2019-01-17 13:27:58 +01:00
Bernat Romagosa 91439e8512 minor change because of new user roles 2019-01-16 12:35:40 +01:00
jmoenig 83aa4866e9 suppress 'loop' arrow symbol where label text follow the C-slot in translations 2019-01-16 08:51:45 +01:00
jmoenig 1de1581c22 updated German translation 2019-01-15 07:53:41 +01:00
jmoenig c43eb3ca17 pushed dev version to 5.0 2019-01-14 17:28:01 +01:00
jmoenig 89dcda7418 added 'loop' symbol to primitive loop blocks 2019-01-14 17:21:47 +01:00
jmoenig 190826987a added 'loop' arrow symbol 2019-01-14 12:07:27 +01:00
jmoenig 00be8bd92a another blind shot at addressing Brian's CSV parsing issue 2019-01-12 20:01:25 +01:00
jmoenig a9428974a9 try to identify Brian's problem with parsing a CSV 2019-01-12 09:33:56 +01:00
jmoenig 59eac0faf5 Turkish translation update, thanks, Turgut Guneysu! 2019-01-11 17:49:40 +01:00
jmoenig 9dfaca8e33 updated version dates, pushed dev version to 4.3 2019-01-11 17:36:07 +01:00
Jens Mönig be8b2a5f7e
Merge pull request #2287 from bromagosa/number-sounds
fix: can't play sounds by name if name is a number
2019-01-11 17:07:13 +01:00
Jens Mönig 0020ce17f7
Merge pull request #2292 from bromagosa/remix-changes
Changes needed for the remix functionality in our new social site
2019-01-11 16:38:00 +01:00
Jens Mönig d1b90ad946
Merge pull request #2285 from bromagosa/embed-changes
Tweaked styling for embed mode to match social site
2019-01-11 15:42:19 +01:00
Jens Mönig 4bf84582b0
Merge pull request #2279 from bromagosa/rename-project
added Cloud >> updateProjectName method
2019-01-11 15:38:27 +01:00
jmoenig f9ca6ab23c updated German translation 2019-01-10 16:02:46 +01:00
jmoenig 3df6370a11 import & examine data sets and text files via drag'n'drop or "import" menu 2019-01-10 15:51:02 +01:00
jmoenig 9c9a778c23 updated list documentation, enabled table support by default 2019-01-10 15:42:19 +01:00
jmoenig 6275793507 recognize data sets in dropped text files (csv, json) 2019-01-10 15:28:57 +01:00
jmoenig 8bf2bf88c9 tweaked Boolean filter for CSVs 2019-01-09 18:15:47 +01:00
jmoenig cedbce80d4 prevent Booleans in CSVs 2019-01-09 18:01:17 +01:00
jmoenig 80ea5ab9ba automatically parse json files on import 2019-01-09 17:45:31 +01:00
jmoenig dab03fac5d added "export as JSON" capability 2019-01-09 16:51:36 +01:00
jmoenig 56c5971aae added (Bernat's) JSON parser to SPLIT block 2019-01-09 11:03:43 +01:00
jmoenig 05a8c5bdfc fixed "set pen color (color picker)" to observe, i.e. overwrite transparency 2019-01-09 08:38:44 +01:00
jmoenig 2f268ed3b7 added option to include alpha in color comparison 2019-01-09 08:37:08 +01:00
jmoenig 2f36d49591 tweaked format for serializing atomic data lists 2019-01-09 07:21:57 +01:00
jmoenig f2657fd662 updated German translation 2019-01-08 17:35:12 +01:00
jmoenig 7d877a6244 renamed "color" to "hue" in pen-blocks and in location sensor 2019-01-08 17:28:52 +01:00
jmoenig 600ec731d2 fixed a glitch in the List >> asCSV() encoder 2019-01-08 17:12:24 +01:00
jmoenig 4db5536eff make sure to escape optimized list storage 2019-01-08 16:41:40 +01:00
jmoenig cefb945ec1 optimized serialization of lists with atomic data in project files 2019-01-08 16:20:50 +01:00
jmoenig dfb2907c84 fixed an off-by-one error in List >> becomeLinked() 2019-01-08 16:14:43 +01:00
jmoenig 6c5a0b9c88 automatically parse csv files on import
also: experimental "raw data" and "parse" ops
2019-01-08 07:21:01 +01:00
jmoenig a681880965 directly export and import lists as csv files, under construction 2019-01-07 18:54:19 +01:00
jmoenig 8e7a9a4bef fixed pixel color sensing for stage pen trails 2019-01-04 13:21:13 +01:00
jmoenig ccbda1a4f9 updated German translation 2019-01-04 11:38:09 +01:00
jmoenig b2b3aea8d2 new feature/block: sense colors and sprites anywhere
use sprites to read/write data encoded in colors
2019-01-04 11:20:50 +01:00
jmoenig 9ea9c8c3f5 updated German translation 2019-01-02 15:30:37 +01:00
jmoenig f97ce5c63c tweaked pen color selector to "HSVA" 2019-01-02 14:46:50 +01:00
jmoenig 92d8fa4cb3 pushed dev version to 4.2.3 2019-01-02 14:40:06 +01:00
jmoenig d5dd445eda added third color dimension and transparency to pen 2019-01-02 14:27:04 +01:00
Bernat Romagosa fc7a9cc566
Update cloud.js 2019-01-02 08:46:49 +01:00
jmoenig e8f134fbe3 fixed glitch in WorldMorph >> getGlobalPixelColor 2019-01-01 15:41:51 +01:00
jmoenig 0bb72fbbdb added HSL color conversion support to Morphic
and updated Morphic documentation
2019-01-01 15:25:50 +01:00
jmoenig 1ba15afba7 fixed #2294 2018-12-28 21:11:45 +01:00
jmoenig f77516effe updated German translation 2018-12-28 20:12:25 +01:00
jmoenig f1278fbbaa added "front/back" options to "go to front" layer primitive 2018-12-28 20:00:11 +01:00
jmoenig a7146a804c added 'neg' selector to monad operator 2018-12-28 19:29:15 +01:00
Bernat Romagosa cacda530b2 added getRemixes function to cloud.js 2018-12-18 08:34:31 +01:00
Bernat Romagosa 06ff3478b7 added remixID property to stage at init 2018-12-17 13:07:32 +01:00
Bernat Romagosa 99815dd547 added remix functionality 2018-12-17 12:41:10 +01:00
Bernat Romagosa 1ce6febed0 fixed flag centering in embedMode 2018-12-12 08:20:05 +01:00
Bernat Romagosa f498441a56 fix: can't play sounds by name if name is a number 2018-12-11 11:43:33 +01:00
Bernat Romagosa fddbccf8ee tweaked styling for embed mode to match social site 2018-12-07 14:11:51 +01:00
jmoenig ba62f758f1 fixed #2284
executing "inherit" should not un-hide palette in presentation mode
2018-12-07 09:15:11 +01:00
Bernat Romagosa 8324935dc4 added Cloud >> updateProjectName method 2018-12-04 14:26:34 +01:00
jmoenig 79de77080a fixed offline version (avoid sessionStorage access) 2018-11-29 14:07:50 +01:00
Jens Mönig 2e043428e0
Merge pull request #2272 from bromagosa/fix-non-persistent-login
fixes non persistent login accross page reloads
2018-11-29 13:16:59 +01:00
Bernat Romagosa 020a2266a3 fixes non persistent login accross page reloads 2018-11-29 12:45:04 +01:00
jmoenig a85939cdaf prepared release 2018-11-29 07:52:08 +01:00
jmoenig a0b4aba0cc allow smaller stage extent in embed mode
for social website
2018-11-28 12:42:19 +01:00
jmoenig 8b011ac38f updated cloud version 2018-11-28 10:47:21 +01:00
Bernat Romagosa 85168ece6b
A typo and an error in the domain lookup comment.
The cloud URL is specified in a `location` attribute, not a `domain` one.
2018-11-28 09:29:50 +01:00
jmoenig ac2b8e7745 added special checks to make imporing text-based files into vars easier in Windows 2018-11-28 09:27:03 +01:00
jmoenig 287764bfea added "open anyway?" option to "unable to import" dialog for variables 2018-11-27 15:30:06 +01:00
jmoenig 4c4a676f4f made importing files into variable watchers more lenient wrt to file types 2018-11-27 14:02:10 +01:00
jmoenig c98fdacd4f Cache stage>>penTrailsMorph to optimize collision detection
also fixed a collision detection errror when objects are sub-pixel sized
2018-11-27 08:54:40 +01:00
jmoenig f6b36ed2f2 prepared release 2018-11-21 13:11:38 +01:00
jmoenig 07d3446036 prepared release 2018-11-13 07:50:54 +01:00
jmoenig 9e0015cf18 fixed #2261
(check for selectedBlock before declaring an InputSlotMorph to be "empty")
2018-11-13 00:24:42 +01:00
jmoenig d9370661ec fixed #2260 2018-11-12 19:54:09 +01:00
jmoenig 82543618ee fixed #2251
(sorta, load project anyway even though costumes / sounds are missing)
The cause for this defect is usually prior use of IE when saving a project
2018-11-12 09:32:07 +01:00
jmoenig d161895382 tweaked fix for #2250 2018-11-12 08:20:44 +01:00
jmoenig 9a256b47d1 fixed #2250 2018-11-12 07:59:55 +01:00
jmoenig 8339fb577b updated BYOB's version date 2018-11-12 07:55:00 +01:00
jmoenig 6127b18f70 new dev version 2018-11-12 07:52:19 +01:00
jmoenig b1c3841bfb prepared release 2018-11-07 06:37:42 -05:00
jmoenig 6a6bf29abf updated German translation 2018-11-06 23:36:38 -05:00
jmoenig fe9a2890e1 enabled "duplicate block definition" in the palette 2018-11-06 23:26:05 -05:00
jmoenig 865ac5391a fixed a scope issue introduced in v4.2.2.4 2018-11-06 23:13:35 -05:00
jmoenig 3922cad9a3 prepared minor release 2018-11-02 17:43:48 +01:00
jmoenig 9ba19db366 avoid rendering graphic effects for null-extent canvasses 2018-11-02 17:39:03 +01:00
jmoenig 2e4f52f40a prepare release 2018-10-29 13:10:47 +01:00
jmoenig 5c8108dee7 fixed #2234 (display all reachable local variables in drop-down menu) 2018-10-29 12:34:25 +01:00
jmoenig 779fbeada4 new dev version 2018-10-29 12:31:51 +01:00
jmoenig fddba70d79 prepare release 2018-10-26 11:39:38 +02:00
jmoenig ba76995ab6 tweaked csv-parser to omit the last record if it is empty 2018-10-26 11:23:47 +02:00
jmoenig 386127a7d8 fixed #2235 (help for local custom blocks) 2018-10-26 09:14:24 +02:00
jmoenig 45de9c6120 changed SPLIT "csv" to comply with RFC 4180, took out others options 2018-10-26 08:05:09 +02:00
jmoenig 1d963ab0ca added "csv records" to SPLIT options, renamed "csv" to "csv fields" 2018-10-24 16:14:34 +02:00
jmoenig 6b963671f0 updated history & version 2018-10-23 14:30:09 +02:00
jmoenig ed297096e4 New "reportAtomicGroup" HOF primitive using the JIT compiler 2018-10-23 14:07:30 +02:00
jmoenig e17d5e343b Don't stamp if the canvas is too small (and would throw an error) 2018-10-23 12:00:41 +02:00
jmoenig 7086171c68 prepared release 2018-10-19 12:36:37 +02:00
jmoenig 3a7f26497a fixed #2227 - capture argument reporter's lexical environment in JIT-compiler 2018-10-19 12:22:10 +02:00
jmoenig faf4b51f18 prepare release 2018-10-16 10:21:17 +02:00
jmoenig 6c7c39ccad New Ukrainian translation, thanks, Serhiy Kryzhanovsky! 2018-10-16 10:00:54 +02:00
jmoenig bdc21b3668 prepared release 2018-10-07 12:20:28 +02:00
jmoenig 4e8dcd0924 renamed repo to "Snap!
and adjusted all references in the code
2018-10-07 11:21:44 +02:00
jmoenig 9e8e7d9e70 Fixed #1918 - escape options in block drop downs #2174, thanks, @cycomachead !
for providing the fix
2018-10-05 16:18:13 +02:00
jmoenig 1ff20b30b1 Adjusted pen hue wrapping and took out pen shade wrapping 2018-10-05 09:48:11 +02:00
jmoenig b1388a94b9 tweaked color wrapping
in my next life I promise to learn arithmetic :-)
2018-10-04 23:19:59 +02:00
jmoenig 460940497b made SET PEN COLOR and SET PEN SHADE inputs wrap around 2018-10-04 17:54:40 +02:00
jmoenig f79460ec67 added instructions for using Snap! offline 2018-10-04 16:18:44 +02:00
jmoenig 4d850b0410 improved UX when running Snap! locally without a web server
bypass the cloud and instead import and export everything to local disk
2018-10-04 14:34:59 +02:00
jmoenig f2dacc1faf updated history 2018-10-03 12:11:13 +02:00
Michael Ball b8fcd99793 Coerce input to string before checking length in LETTER OF 2018-10-02 23:19:36 -07:00
jmoenig 536acb224f moved media files (icon, logo, click sound) into "src" subfolder 2018-10-02 16:07:53 +02:00
jmoenig 258e476e5f moved *.js files into subfolder "src"
and edited gui.js to deal with ypr.js
2018-10-02 15:48:42 +02:00