Wykres commitów

1088 Commity (e197471d08e600faf78b80e79f995b2b14d621e2)

Autor SHA1 Wiadomość Data
Michael Ball e47dcb0ebf Improve saveAs refactoring (WIP across all Snap!)
- added TODO comments to all functions that need updating (byob, blocks)
- separate out the code into 3 new functions for readability:
  - `saveFileAs` is a generic method
  - `saveCanvasAs` and `saveXMLAs` are wrappers which aid in exporting images and all XML files which together cover almost all export cases.
  - In other cases, you can call `saveFileAs` directly with some additional input.
- `saveCanvasAs` in particular uses a new `Canvas.toBlob()` option when it is available (FF and IE currently) that should greatly reduce memory.
(Chrome and Safari both have open bugs and may at somepoint implement this function.)
- I have added in code to detect bugs in chrome, including when a new window is being opened. If a new window cannot be opened, the a (to be written) warning message will appear.
- a few functions (namely those in morphic.js) have not touched. However, these are functions which should only occur in a small subset of cases and are behind hidden features.
2015-11-09 15:14:23 -08:00
Cristian Macarascu ecfcd3dacf Create lang-ro.js
Added Romanian translation
2015-11-03 19:19:14 +02:00
Ivan Savov 5ef8a1aa19 Bulgarian translation of strings lang-bg.js
- Used lang-ru.js as starting point, and translated all, but still some strings appear in English
  - Did my best to use Bulgarian words, but left certain terms like "thread safe" in English
  - Tested with my friend's 8 year old and he seems to understand, so count that as limited successful user testing
2015-11-02 13:52:05 +02:00
Michael Ball b9303422ca Delete baseURL code b/c it is not needed
By making all loads relative to snap.html we eliminated the need for
such a function.
2015-10-27 03:10:30 -07:00
Michael Ball 35c1826be3 Fixed the URI encoding partially and re-ordered the canvas processing 2015-10-27 00:57:30 -07:00
Michael Ball fbd11917b9 Exporting Projects works, encoding URI not needed. 2015-10-27 00:36:55 -07:00
Michael Ball e633d7b96a Save the FileSaver library 2015-10-26 22:54:30 -07:00
Michael Ball d7badee61a Save the FileSaver library 2015-10-26 22:54:15 -07:00
Bartosz Leper 81fd181260 Fix backspace & tab keys in IE
Fixes #569
2015-10-18 22:29:10 +02:00
Michael Ball 5b7b51078e index.html: preserve URL # on redirects 2015-10-09 12:27:57 -07:00
Michael Ball cce37d8172 Use resourceURL() for items in help/ 2015-10-07 23:32:52 -07:00
Michael Ball 5452c2bfa7 DRY out creation of Costumes/Sounds/etc submenus 2015-10-07 23:21:20 -07:00
Michael Ball f9d62c1b7f Refactor loading Example projects to be consistent. 2015-10-07 04:49:05 -07:00
Jens Mönig 72bf4cfb8c New feature: Remove Unused Global Blocks
* BYOB, Objects, GUI: New “Remove Unused Global Blocks” Feature
* GUI, Lists: “Export Project Summary” improvements:
  - show variable values as watcher pics
  - expand list watcher pics to show their complete contents (1. level)
  - url for shared projects
  - table of contents
  - basic support for sprite nesting and inheritance
  - make the summary “browsable” instead of editable
  - outline around sprite / stage snapshots
  - experimental hidden (shift-click) “drop-shadows” option
* GUI: Rearrange project menu, only show global blocks-related ops if
there are any
* GUI: Remove URL location.hash information when loading a new project
* Store: Fix deserialization support for projects using inheritance
* German translation update
2015-10-07 13:38:19 +02:00
Michael Ball c6b43bee12 Fix #867; All media has an index file that is being used to load files 2015-10-07 04:23:30 -07:00
Michael Ball 7b0fc4a17f Add data lists for media!
The display names are now much more readable, and will be translatable if wanted!
2015-10-07 03:41:36 -07:00
Michael Ball b2c6b43192 Cleanup LIBRARIES; Load Libraries using refactored code 2015-10-07 03:27:55 -07:00
Michael Ball 2b69b91a4a Delete the getURLsSbeOrRelative(url) function
This function was only used for tools.xml, and didnt even do its job...
As of this writing, it simply prepended the `baseURL` variable, which is
determined by the Snap! server, not s.b.e.

If we want to have s.b.e as a permanent fallback source we should re-implement
this in a way that is used for all Snap! media.
2015-10-07 02:21:35 -07:00
Michael Ball 36e0dae11d Start Refactoring of Resource Loading; Fix Typo in LIBRARIES
This fixes a small typo in the LIBRARIES file, so that the leap motion lib will
load correctly.

This renames the getCostumesList() method to getMediaList() because its used for
Costumes, Backgrounds, Sounds, and soon libraries.
2015-10-07 02:16:52 -07:00
Brian Harvey ba5d5e9357 Merge pull request #949 from cycomachead/word-list
Update tools file
2015-10-02 06:58:35 -07:00
Jens Mönig cada9be942 revert #956 - restore smoothing in the paint editor 2015-10-02 13:32:34 +02:00
Jens Mönig ee19e66ea9 formatting tweaks 2015-10-02 13:04:38 +02:00
Jens Mönig 61a68a37ae Merge pull request #956 from Hardmath123/antialias
Prevent anti-aliasing when merging canvases in paint editor
2015-10-02 12:58:01 +02:00
Jens Mönig 2172084dae New feature: Export Project Summary
* opens a new browser tab on an editable HTML document containing an
overview of the current project which can be further processed (saved,
edited, printed, turned into a PDF) to create a project report.

* now, when you export script pics attached comments get included.

* also new: Support to detect and react to “any” keystroke (hat and
sensing blocks)
2015-10-02 12:39:41 +02:00
Hardmath123 eac1571146 Prevent anti-aliasing when merging canvases in paint editor 2015-09-28 18:11:07 -07:00
Michael Ball e66206c03e Update tools file
This makes the following fixes.
* removes the duplicate `ask` and `tell` blocks
* adds `list → word %list` to be consistent since there's list/sentence
and a word → list but not a list to word, which has been confusing for a
while. :P
2015-09-24 18:35:46 -07:00
Jens Mönig cd7f99534b updated version date 2015-09-23 12:17:41 +02:00
Jens Mönig f4b02ddd2e updated German translation
… and version history
2015-09-23 12:12:52 +02:00
Jens Mönig 32d4d1ef08 Merge pull request #944 from jan-tomsa/master
Improved Czech translation
2015-09-23 11:51:20 +02:00
Jens Mönig 96f6b0aeef Merge pull request #938 from bl-nero/stop-translations
Improve Polish translations of the "stop..." blocks
2015-09-23 11:50:40 +02:00
Jens Mönig 7f58305e5b Merge pull request #934 from bromagosa/contrib
updated Catalan translation
2015-09-23 11:50:26 +02:00
Jens Mönig 858094dd16 Merge pull request #909 from cycomachead/ceiling
Add a Ceiling to the monadic math-block-thing
2015-09-23 11:50:02 +02:00
Jens Mönig 43d68b94c1 Merge pull request #928 from brollb/master
Fixed minor typo
2015-09-23 11:49:05 +02:00
Jens Mönig 42254bd644 Improve display precision (stop rounding display coordinates) 2015-09-23 11:41:21 +02:00
Jan Tomsa b73de42742 Improved Czech translation 2015-09-23 00:19:43 +02:00
Brian Harvey 0b28a95a60 Merge pull request #941 from bl-nero/manual-chapters2-3
Chapters 2 and 3 of the LaTeX version of the manual
2015-09-20 11:03:46 -07:00
Bartosz Leper ecdf40099b Merge branch 'master' into manual-chapter2 2015-09-20 17:42:50 +02:00
Brian Harvey e138a6d305 Merge pull request #878 from bl-nero/manual-2
Complete Chapter I of the LaTeX version of the manual.
2015-09-19 13:41:20 -07:00
Bartosz Leper 8e671c480d Manual section III.B finished 2015-09-19 20:53:02 +02:00
Bartosz Leper a560a5981f Improve Polish translations of the "stop..." blocks 2015-09-19 18:53:56 +02:00
Bernat Romagosa 9ad23b0c9c updated Catalan translation 2015-09-17 13:16:20 +02:00
Jens Mönig 88fb358170 fixed #925 2015-09-15 18:18:40 +02:00
Jens Mönig 91318135a5 Croatian Translation, contributed by Zeljko Hrvoj 2015-09-15 13:22:41 +02:00
Brian Broll 170092a6b0 Fixed minor typo 2015-09-11 12:38:42 -05:00
Brian Harvey e95ac86c32 dunno why the repo tools.xml is different from mine... 2015-09-11 08:11:59 -07:00
Brian Harvey 646955c2e4 Merge pull request #921 from cycomachead/i-suck-so-fix-sharing-again
Fix #915 so that share URLs actually work.
2015-09-09 06:28:46 -07:00
Michael Ball 0e84b360e1 Fix #915 so that share URLs actually work. 2015-09-07 19:49:48 -07:00
Bartosz Leper c24d8e2af4 Manual section III.A finished 2015-08-27 22:42:29 +02:00
Bartosz Leper a31e17276c Unify dpi resolutions on svg and png images 2015-08-26 16:21:02 +02:00
Sjoerd Dirk Meijer d04564ce60 Merge pull request #2 from jmoenig/master
Update
2015-08-22 17:20:22 +02:00