Wykres commitów

257 Commity (cbf8d384fc88f8ca38c7f3f5f092dc1d9628d856)

Autor SHA1 Wiadomość Data
Jens Mönig ee803ad747 fixed #1254 2016-06-19 21:48:59 -04:00
Jens Mönig 364155dc89 clear pen trails when toggling between retina and non-retina mode 2016-06-18 07:17:34 -04:00
Jens Mönig 0c1ecf2b9a fixed localization on startup 2016-06-01 07:57:57 +02:00
Jens Mönig 8a8d55c3e9 localize "Stage" and "Sprite" on startup 2016-05-30 17:36:12 +02:00
Jens Mönig 5e79f4cedc credit YCR's HARC in supporters tab 2016-05-13 09:01:16 +02:00
Jens Mönig 5dbb6ad8a1 Retina display support tweaks - IN PROGRESS -
* fixes the FILL block on retina screens
* fixes turning pentrails into costumes on retina screens
* adds an option to the settings menu letting the user switch between
non-retina and retina resolutions on devices and in browsers that
support it
* Morphic documentation update for retina support

Again, folks, this is IN PROGRESS and not yet ready to be released. But
it’s getting closer to being testable :-)
2016-05-11 18:03:49 +02:00
Jens Mönig 179d93f103 support for retina displays, integrates #1063 - IN PROGRESS
This has bee designed and written by the amazing Bartosz Leper
(@bl-nero). Since I totally suck at Git and find myself incompetent to
resolve merge conflicts, I’ve decided to manually copy Bartosz’s
changes mostly verbatim over, tweaking them only ever so slightly in
ways that don’t alter their functionality, except for introducing a
tiny test so current Safari still loads Snap, albeit not in retina
mode. THIS IT NOT READY FOR RELEASE YET, IT’S WORK IN PROGRESS. Get it?
Thanks!
2016-05-10 20:33:44 +02:00
Jens Mönig 711b9a431f tweak media import dialog
* make dialog resizable
* enable double-click on icons
* prevent error if no icon is selected
* prevent error if icon is dragged
* prevent error if icon is right-clicked / ctrl-clicked
* adjust background color
* adjust icon layout
2016-05-09 18:34:40 +02:00
Jens Mönig b98e7323f6 Merge pull request #1213 from ubertao/costumes
media import dialog with thumbnails
2016-05-09 14:04:53 +02:00
Jens Mönig 3299878c15 fixed #1212 - Null continuation doesn't escape from calling context 2016-05-09 13:11:09 +02:00
ubertao 39a8a7f36f media import dialog with thumbnails 2016-05-09 16:52:45 +08:00
Jens Mönig 71333021d4 cloning speedup
significantly speed up sprite cloning through partial shallow-copying
of scripts and costumes instead of deep-duplication
2016-05-04 16:37:46 +02:00
Jens Mönig 46ba633bf2 Merge pull request #1185 from brollb/1184-getURL-silent-fail
Retrieved message from error. Fixes #1184
2016-05-02 13:06:05 +02:00
Jens Mönig 01648b3b4e Merge pull request #1193 from cycomachead/fix-blob-images
Fix #1191; Fix #1174 Comment out `Canvas.toBlob()`
2016-05-02 12:58:29 +02:00
Jens Mönig ed3b56a610 first-class sprites 2016-05-02 12:53:08 +02:00
Brian Broll 26ccb415bd Retrieved message from error. Fixes #1184
WIP #1184. Changed .message to .toString()
2016-04-29 10:35:10 -05:00
Michael Ball 4a2583fde7 Fix #1191; Fix #1174 Comment out `Canvas.toBlob()`
This was removed due to instability on the part of browser vendors.
`Canvas.toBlob()` _should_ be the preferred way of exporting a canvas
as an image. Blob URIs are shorter and don't cause Chrome crashes like
the `data:` URI scheme does. They are also faster to encode images, and
don't clog up browser history.

**However**, there are currently issues in browser support which make
it hard to save images generated by blob URIs. Chrome and Firefox both
have different mechanisms of exporting blob images to disk. (In Chrome
you must right click the image, whereas in Firefox you must use the Save Page As command.)

The current solution is this:
* When a script pic is generated, create a large `data:` URI/
* Check if the browser is Chrome and if the length is a problem
* If so, convert the URI to a blob manually.
* Use the `a[download]` attribute to force the browser to save to disk.

Note that the conversion to a manual blob is _much_ slower than a
native method, but as this is an exporting operation it shouldn't cause
too much of a headache for users since it should be a fairly low
occurrence that users hit that code path.
2016-04-28 10:03:41 -07:00
Jens Mönig b35bc9907a prepare repo for v4.0.7 2016-04-27 10:39:27 +02:00
Jens Mönig bbb5106879 towards v4.0.6
* fixed #99 (saving linked lists)
* fixed #1163
* added web api / https reporter library
* new “transient variable” feature
* German translation update
2016-03-16 13:00:31 +01:00
Jens Mönig 582feb206b Merge pull request #1146 from cycomachead/url-calls
Support Loading More Resources from the `resourceURL` method
2016-02-24 12:40:01 +01:00
Michael Ball 292fe5a4de Make the resourceURL function more generic
now you just pass in directories as arguments, which is much cleaner--
especially when loading things like `tools.xml` with no parent folder.
2016-02-24 03:03:34 -08:00
Jens Mönig df0269f5cc support for viewing 2D lists as tables 2016-02-24 11:35:18 +01:00
Michael Ball e197471d08 Support loading lang* files from resourceURL path 2016-02-21 17:43:23 -08:00
Michael Ball 80a516ed7e Use ide.resourceURL to load the logo and tools XML
This makes it easier to support using snap when loaded in a variety of websites.
(Theres no outward change for users, just for those embedding Snap!)
2016-02-18 23:41:26 -08:00
Jens Mönig a0307a240f updated version history 2016-01-08 16:23:23 +01:00
Michael Ball 18716f4c0f Fix #1099, bug was introduced in #983 2016-01-06 11:21:32 -08:00
Jens Mönig f50c6fc2d3 updated version history 2015-12-22 08:18:00 +01:00
Michael Ball 2c49bea5d4 open dialog: Dont show cloud projects if user has since switch panes 2015-12-21 16:06:48 -08:00
Michael Ball df54bfb00e Use case insensitive sorting for localstorage and cloud projects. Tag #899 2015-12-21 15:06:36 -08:00
Jens Mönig e27db7d960 updated version history 2015-12-21 16:17:42 +01:00
Michael Ball de42fc0f99 Make logoURL be a property of IDE
This makes it easier to embed Snap! in another site where the JS code
and the html file are in different directories.
2015-12-17 04:20:26 -08:00
Jens Mönig c56f5f6d0d little tweaks 2015-12-15 13:07:47 +01:00
Michael Ball e27a7f245e Resolve merge with 4.0.4 2015-12-15 03:46:27 -08:00
Michael Ball 7e42e8f785 fix a minor spacing issue 2015-12-15 03:41:49 -08:00
Michael Ball ff1aab7d1f Cleanup help text and add exporting in new tab
* Minor: Fix the help text for downloading a project to the downloads
folder to be correct
* Add back the ability to export a project to a new tab by
shift-clicking on the File menu.

New string to be translated:
'save project data as XML\nto your downloads folder
2015-12-15 03:38:39 -08:00
Jens Mönig 632bdec030 Merge pull request #1046 from cycomachead/autofill
Fix isAutoFill to allow false values
2015-12-15 10:35:53 +01:00
Jens Mönig f24b65f673 towards v4.0.4 - under construction -
* Show result bubble when the user clicks on a command script that uses
REPORT (You can now click on REPORT and it actually does something)
* New generic “When” hat block, enhances red stop button behavior
* New block (instance) variables feature (experimental)
* evaluator performance optimizations
* Morphic grab-threshold fix for scroll frames
* fixed several block rendering glitches
* List category LENGTH reporter now also works on text
* Changed “any” to “random” (in English only)
* new FILL primitive in the Pen category
* switched to animation frame scheduling, please use TURBO for music
* Updated German translation
2015-12-15 10:14:56 +01:00
Michael Ball 8050b5b8cb Merge branch 'master' into blob-api
* master:
  add Brian's help panes for "for each item of list" block
  optimize cloud communication
  fixed linked lists identity loss when showing watchers
  Add LABEL to the tools library; fix #1009
  fixed a zebra-coloring glitch for BooleanSlotMorph
2015-12-08 03:49:08 -08:00
Michael Ball ab2fc67857 Fix isAutoFill to allow false values
currently the expression isAutoFill || true will always evaluate
to true! :O

(That makes the argument somewhat useless though.) So, this fixes things...
2015-12-05 04:09:39 -08:00
Jens Mönig be32d755b5 optimize cloud communication
support double the number of web slices, support avoiding encoding
projects on the backend side
2015-12-04 15:55:33 +01:00
Michael Ball e241ff6795 Cleanup log statement; minor try/catch refactoring 2015-12-01 03:14:16 -08:00
Michael Ball 7603d4746a Minor refactoring in try/catch blocks 2015-12-01 03:11:40 -08:00
Michael Ball 2ef9a8f720 Fix #966 - declaring this done
Final commit removes Save to Disk for XMLs
2015-12-01 02:54:07 -08:00
Michael Ball d004543a32 Fix some bugs in exporting a variable to a file. 2015-12-01 02:16:34 -08:00
Michael Ball 9490b65270 Cleanup filenames and references to `ide` 2015-12-01 01:45:58 -08:00
Michael Ball 888b0b97eb Uglier code that properly opens BlobURIs in new windows. 2015-11-17 18:05:15 -08:00
Michael Ball 35d0ea5629 Cleanup bad polyfill in saveCanvasAs 2015-11-17 17:43:35 -08:00
Michael Ball 396be20b18 Some code cleanup and variable name fix 2015-11-17 02:42:17 -08:00
Michael Ball fa1a24a4bd Fix syntax error, and accessing IDE bug exporting blocks 2015-11-16 18:41:54 -08:00
Michael Ball 6f03f121ad Fix some file names in exporting content 2015-11-16 18:31:19 -08:00