Wykres commitów

422 Commity (09adb5f484bcc7067cab958ae944197f9990c8f5)

Autor SHA1 Wiadomość Data
Jens Mönig fd441398f8 enable exporting project summaries in the newest Chrome version
which disables opening tabs on dataURLs. Grump. I hate browser makers.
Hate them.
2017-08-04 23:40:03 +02:00
Jens Mönig 9146cbf884 fixed #1820 2017-08-02 23:40:58 +02:00
Jens Mönig 7cb06faebc changed piano keyboard design credits to Lucas Karahadian 2017-08-02 23:23:09 +02:00
Jens Mönig 64ad2948b9 Updated credits to reflect Michael’s piano keyboard design contribution 2017-08-02 11:38:31 +02:00
Jens Mönig a3936766ec hiding settings 'Keyboard Editing', 'Nested auto-wrapping', "Table support" and "Table lines"
default is “on” for each of them
2017-07-25 23:41:29 +02:00
Jens Mönig 5efc59acab run “When I start as clone” scripts when manually cloning a sprite
only position clone at hand pointer if no such scripts exist
2017-07-07 12:28:14 +02:00
Jens Mönig 7f5a0b8272 enable inheritance by default
also tweak naming of instantiating to “clone”,
2017-07-07 11:15:25 +02:00
Jens Mönig 90c21d49a3 UI for OOP 2017-07-05 17:17:02 +02:00
Jens Mönig de10e558e6 unify Scratch-style clones and Snap-specimens
implement clones as specimens
2017-07-04 13:51:22 +02:00
Michael Ball bdc6c9e1c4 Fix some file naming bugs
The additional text wasnt correctly being appened to project name.
Also, this makes "untitled" lowercase, consistent with other usage.
2017-06-28 00:23:52 -07:00
Jens Mönig ebc08a1f73 support inheritance for sounds 2017-06-26 15:53:58 +02:00
Jens Mönig 7b8602e367 First-Class Sounds 2017-06-26 12:46:05 +02:00
Jens Mönig 9b497c2132 make sure to stop active processes when deleting a block 2017-06-20 08:51:55 +02:00
Jens Mönig 7ec3e16c4f added inheritance support for scripts
partly done, copy-on-write is still missing
2017-05-31 16:08:30 +02:00
Jens Mönig eea1d08c82 let clones share the orginal’s scripts without shallow-copying them 2017-05-30 17:07:09 +02:00
Jens Mönig 1a872934de added inheritance support for the wardrobe
also exposed “costumes” as an attribute
2017-05-12 15:21:12 +02:00
Bernat Romagosa 140d6c3b6f allow to download block stacks as XML 2017-05-12 12:46:56 +02:00
Jens Mönig eb8405c993 updated version number
for another minor maintenance release
2017-04-23 18:22:23 +02:00
Bernat Romagosa c9885ad5b1 webcam dialogs working 2017-04-11 17:51:06 +02:00
Jens Mönig ce23f9f54f v4.1 - dev -
Features:
* polymorphic sprite-local custom blocks
* inheritance of sprite-local custom blocks
* localization support when typing expressions
* support for user-forced line-breaks in custom block labels
* ternary Boolean slot setting: support to limit Boolean input slots to
“true/false” outside of rings and in palette
* support for default values in custom block Boolean slots
* experimental: duplicate block definition (hidden in shift-click
context menu)
* support for codification of String, Number and Boolean value types
* costume icons indicate svg costumes
* sprites’s rotation centers can be adjusted onstage

Fixes:
* changed keyboard shortcut indicator for “find blocks” to “^”
* prevent Snap from “hanging” when encountering certain errors in
visible stepping
* only mark implicit parameters if no formal ones exist
2017-04-10 11:48:55 +02:00
Jens Mönig c8491c00ce fixed #1707 (new Chrome blitting issue) 2017-04-10 11:04:47 +02:00
Jens Mönig 00db1cce3f Revert to 4.0.10
to prepare for newly surfaced bug in the Chrome browser
2017-04-10 10:28:30 +02:00
Jens Mönig 4db428b65c roll-back double-pointer container cache for methods 2017-03-01 10:11:47 +01:00
Joan Guillén i Pelegay 2508274e34 Fixing toggle design bug in non English languages 2017-03-01 09:49:39 +01:00
Jens Mönig ebc29c76d5 turned “definition” property of custom block instances into a double-pointer (Variable) structure
in preparation for OOP (method inheritance). This should not result in
any new behavior or break anything, if it does (at this point), it’s a
bug.
2017-02-16 08:08:30 +01:00
Jens Mönig 88b0fe1052 let costume icons indicate svg costumes 2017-02-01 09:59:45 +01:00
Jens Mönig 292cc749da allow project-setting “Ternary Boolean slots” to be switched off
default is “on”. That way Boolean input slots can always be toggled
through “true”, “false” and “empty”. If this setting is switched off
Boolean input slots only toggle between “true” and “false” unless
inside a a ring (for implicit parameters)
2017-01-23 15:03:47 +01:00
Jens Mönig 40150ddb78 updated history 2017-01-20 11:11:32 +01:00
Jens Mönig 190211578d Merge pull request #1627 from cycomachead/library-ok
Set action for LibraryImportDialog for enter to map to import
2017-01-20 11:05:38 +01:00
Jens Mönig de09c45a39 Merge pull request #1625 from cycomachead/library-message
Improve library loading message
2017-01-20 11:05:14 +01:00
Jens Mönig 54decac720 fixed #1631 2017-01-19 19:54:31 +01:00
Jens Mönig ce60d740af fixed #1630 2017-01-19 15:04:28 +01:00
Michael Ball 77653a61c8 Set action for LibraryImportDialog for enter to map to import 2017-01-18 22:26:48 -08:00
Michael Ball 6e3efb4bd0 Improve library loading message 2017-01-17 23:45:30 -08:00
Jens Mönig 9bee3cd9c2 added "savingPreferences" flag
for bh's "Eisenbergification" library, sigh.
2017-01-13 10:08:02 +01:00
Brian Broll cd0e9bc042 Added 'display:none;' to input. Fixes #1612 2017-01-10 17:15:50 -06:00
Jens Mönig ad2049d776 Revert "Import library" to lowercase
So it works with the existing translations
2017-01-10 11:05:44 +01:00
Jens Mönig af85a01a73 updated credits and version dates
and took care of a few minor formatting nitpicks
2017-01-09 17:36:27 +01:00
Jens Mönig 666f8dbcfe Merge pull request #1591 from cycomachead/michael/lib-preview
Preview Libraries Before Importing
2017-01-09 17:13:59 +01:00
Jens Mönig ef51e5aaec fix and refactor "#run: flags" 2017-01-09 16:25:34 +01:00
brianharvey 1b21d93345 put in latest dev version
Jens has been editing gui.js too, and I'm confused about what's
supposed to be there, so I downloaded the latest dev version and put my
edits there.
2017-01-06 09:16:50 -08:00
brianharvey 3c062b4540 give up on #open:
Works for #run, but #open is too hard (because it can open things other
than projects).
2017-01-06 08:55:57 -08:00
brianharvey f14a7cf3e2 allow &hideControls etc on #run
This is so that EDC can show interactive projects to students as
examples that they will implement themselves.
2017-01-05 22:41:43 -08:00
Michael Ball e88211deb3 Fix typo and center palette loading message 2017-01-04 12:56:24 -08:00
Michael Ball dd914a37bb fix function binding problem that I thought worked... 2017-01-03 15:26:21 -08:00
Michael Ball 40234da3e8 slightly better fixLayout for library import 2017-01-03 12:35:16 -08:00
Michael Ball ecc3182c0e slightly further simplification 2017-01-03 03:41:38 -08:00
Michael Ball ed492f3f6e simplify layout logic for library importing 2017-01-03 03:25:55 -08:00
Michael Ball f327f0d4b1 undo cleverness and show all blocks when importing 2017-01-03 02:00:18 -08:00
Michael Ball d26049680d Merge branch 'master' into michael/lib-preview
* master:
  add pentrails->costume block to penTrails library
  Add reporters to setrgb library
  Update LEAP library to use menus
  Hide setting for “prefer smooth animations”
  Disabled hover-help for custom blocks
2017-01-03 01:55:49 -08:00
Michael Ball ec2a64963c Dont reserialize blocks when importing 2017-01-03 00:36:41 -08:00
Michael Ball bede779d8a cleanup code, fix scrolling in library import 2017-01-03 00:15:46 -08:00
Michael Ball cb865a864f import tools shows block images 2017-01-01 15:05:06 -08:00
Michael Ball ee6ba75388 tweak libraries loading 2016-12-30 01:21:05 -08:00
Michael Ball 9ca2848f33 loading indicator works, some cleanup 2016-12-30 00:38:21 -08:00
jmoenig d24468522c Hide setting for “prefer smooth animations”
(now - mostly - redundant because we’ve switched to animation frames)
2016-12-29 13:07:32 +01:00
Michael Ball cd828736af Merge branch 'master' of git://github.com/jmoenig/Snap--Build-Your-Own-Blocks into michael/lib-preview
* 'master' of git://github.com/jmoenig/Snap--Build-Your-Own-Blocks:
  Update Libraries from s.b.e
  updated locale version data
  updated version date
  Disable JS-Functions to protect users from malicious scripts
  Revert "SNAP! → Snap!"
  Adapting Chinese code langs to ISO Standard
  Fixing minor typo in catalan translation
  Deleting duplicate translation strings
  fix merge comments
  minor typos
  SNAP! → Snap!
  blocks.js fix code alignment
  camelCase expprtResultPic for consistency
  Align comment text
  Morphic: cleanup `nop` calls
  Fix minor help text
2016-12-28 22:43:52 -08:00
Michael Ball ed9f2cd9bc Libraries dialog layout WIP 2016-12-28 22:43:45 -08:00
Michael Ball c4dfe6fef6 improve some alignment issues 2016-12-27 21:11:14 -08:00
Michael Ball 7716500d39 An ugly import dialog works, but the layout is broken 2016-12-27 19:21:47 -08:00
Jens Mönig ce876362bb Merge pull request #1483 from cycomachead/typo-fix
Little Bits of Cleanup
2016-12-27 17:02:35 +01:00
jmoenig 1ecb97a972 Disable JS-Functions to protect users from malicious scripts
commented out for now
2016-12-27 16:08:23 +01:00
Michael Ball a8ccc9e73c A very basic an ugly library import dialog works 2016-12-26 22:31:26 -08:00
jmoenig 81a0d30032 update undrop controls when switching sprites and display modes 2016-12-25 12:13:03 +01:00
Michael Ball 3c8eb522bf Merge branch 'master' of git://github.com/jmoenig/Snap--Build-Your-Own-Blocks into typo-fix
* 'master' of git://github.com/jmoenig/Snap--Build-Your-Own-Blocks: (85 commits)
  updated history
  simplified reporterize>>blockFromAST
  Fixing typo - tab control character hidden
  Fixing ColorSlotMorphs behavior in Visible Stepping
  added Boolean operators to “reporterize”
  fixed a glitch in "reporterize"
  fixed an expression parsing glitch
  tweaked "reporterize"
  reporterize: support '_' as empty slot place holder
  reporterize: support for monads etc.
  moved reporterizing infix expressions to search-blocks field
  [experimental] blockify simple arithmetic expressions inside comments
  new url option switch: &noExitWarning
  updated history
  Adding 26 extra strings
  Adding extra strings from lang-pt.js
  tweaked elastic easings
  added easeOutElastic function
  Updated with lang-de.js
  added a few in-/out- only easing functions for animations
  ...
2016-12-22 12:59:24 -08:00
jmoenig 5dc4874352 new url option switch: &noExitWarning
to better support embedding Snaplets into Moocs
2016-12-19 08:14:01 +01:00
jmoenig fad3cb4263 updated version timestamps
and tweaked code formatting to please pedantic linters :-)
2016-12-09 09:08:44 +01:00
Jens Mönig a09b20b4ad Merge pull request #1546 from jguille2/background
Costumes tab name to Costumes/Backgrounds
2016-12-09 08:58:57 +01:00
jmoenig 08f5ceec7d refresh sound icons in media import dialog when the audio has loaded 2016-12-08 13:38:17 +01:00
jmoenig 6293329eb3 use media dialog for browsing and importing sounds 2016-12-08 12:52:43 +01:00
jmoenig 72c0dcfe76 URI-encode SVG data for Firefox-compatibility 2016-12-07 14:14:43 +01:00
Joan Guillén i Pelegay 6079efcacb adapting 'rename costume' message 2016-12-07 00:00:49 +01:00
jmoenig 3d905d139c Support importing unrasterized SVG_Costumes from the “Costumes” and “Backgrounds” dialog 2016-12-06 17:09:09 +01:00
jmoenig b6c0aa8a4e Switch to asynchronous loading of resources
(costumes, sounds, libraries etc.)
2016-12-06 13:47:21 +01:00
Joan Guillén i Pelegay 665f54b9ec Costumes tab name to Costumes/Backgrounds 2016-12-05 23:34:59 +01:00
jmoenig dd51470239 update scrollbars of the project dialog as the project list is filtered 2016-12-01 12:34:48 +01:00
jmoenig c9af72a665 updated version and history
(and tweaked some semicolons to please static code analysis)
2016-12-01 12:23:15 +01:00
Jens Mönig c3992f5ec5 Merge pull request #1517 from bromagosa/project-filter
Project filter
2016-12-01 12:10:40 +01:00
jmoenig 4ad8160884 fixed #1540 2016-12-01 09:13:54 +01:00
jmoenig cd22b94e0b Enable nested auto-wrapping by default 2016-11-28 17:59:04 +01:00
jmoenig 5b1b4a5e36 use new first-class animations framework 2016-11-25 14:42:20 +01:00
jmoenig dae8e7a7bb tweak "undrop / redrop" animation 2016-11-22 14:23:53 +01:00
jmoenig f37977f320 Block editing improvements - in development
* auto-wrapping for C-shaped slots (around top-level command stacks)
* settings option for auto-wrapping around inner nested stacks
* unlimited “undrop / redrop”, incl. keyboard shortcuts ctrl-z
ctrl-shift-z
* “undrop” also brings back blocks and scripts deleted via context menus
* … or via backspace / delete in keyboard entry mode
* Note: “undrop” is meant to be a temporary solution until
VanderbiltEdu’s synching / undo mechanism is ready for prime time
2016-11-22 10:47:47 +01:00
Bernat Romagosa 37f1e1ba2a Polished filter field 2016-11-18 11:56:18 +01:00
Bernat Romagosa 331e572b42 project filter field, searches by name and notes 2016-11-11 18:39:42 +01:00
jmoenig 3d82132d90 minor code tweaks
to please static code analysis :-)
2016-11-10 10:30:20 +01:00
Jens Mönig 2af3eaacbe Merge pull request #1497 from cycomachead/fix-1495
improvements to export summary
2016-11-10 10:23:09 +01:00
jmoenig 50e94a93ad auto-wrapping
also: treat JS-function blocks the same as variable getters wrt rings,
i.e. auto-remove the ring in a CALL block when dropping a JS-function
block on it
2016-11-10 10:21:52 +01:00
jmoenig 1a6aff47dd updated version number 2016-11-10 09:36:14 +01:00
Michael Ball 1c8cd7c45c improvements to export summary
* fix #1495 - remove duplicate ,
* use HTML5 charset attribute
* add the current Snap! language to the html tag
2016-11-05 14:06:47 -07:00
jmoenig 3d269f1740 fixed a flat-mode glitch, updated Portuguese translation
thanks, Bernat for reporting the bug and Manuel for the translation
update!
2016-10-31 09:39:59 +01:00
jmoenig da51393424 preparing minor release v4.0.9
to be deployed live later tonight
2016-10-28 18:31:18 +02:00
Michael Ball 932ba35ee5 minor typos 2016-10-28 03:34:15 -07:00
jmoenig 9a726654c7 added notice to get in touch if afraid of agpl license 2016-10-26 09:47:14 +02:00
jmoenig 6606ed2ed8 updated credits tab 2016-10-24 17:44:28 +02:00
jmoenig d2d096deff select all on fresh input slot edit 2016-10-24 12:27:02 +02:00
Jens Mönig 9b6449c8f7 Merge pull request #1429 from thomaswp/xml-parse-error-fix
Fixed #1428, an issue with preview the (empty) project placeholder.
2016-10-16 17:30:06 +02:00
jmoenig ff5f9a7601 Visible Stepping, and more
* Visible Stepping with flashing blocks + slider for stepping speed
* user-controlled visible stepping with “step forward” button
* speed-up: removed unnecessary yields when running custom blocks
* you can now force a single yield with “wait 0” block
* tweaked keyboard entry: if inserted block has inputs go to first one
* only autoscroll panes where it makes sense (not the palette etc.)
* populate messages drop-down with all msgs, including ones from custom
block definition
2016-10-15 11:15:01 +02:00
thomaswp 06c7ad89a7 Fixed #1428, an issue with preview the (empty) project placeholder.
The code treats this placeholder the same as any other proejct and attempts to open it, leading to a parse error.
2016-09-26 14:27:44 -04:00
Jens Mönig 21abf24cba v4.0.8.7 2016-08-12 12:05:49 +02:00