Michael "Z" Goddard
66a9607bc7
require text-encoding only if it is needed
2019-02-06 10:32:12 -05:00
Xu Jing
42baacf688
fix(Typo): change 'dserver' to 'server'
2019-02-05 11:53:10 -05:00
Karishma Chadha
fcf0f4e31d
Merge pull request #4465 from LLK/paulkaplan-patch-2
...
Make uploaded sprites not draggable
2019-02-05 11:00:27 -05:00
Paul Kaplan
55461a07a7
Merge pull request #4438 from apple502j/download-assets
...
Export costumes and sounds!
2019-02-01 14:04:47 -05:00
Paul Kaplan
f41c5764ff
Use more generic download-url and remove older download-text utility
2019-02-01 13:17:43 -05:00
Paul Kaplan
704b52c944
Make uploaded sprites not draggable
2019-01-31 14:45:40 -05:00
Paul Kaplan
9264f30198
Make the toolbox xml reflect the costume, sound and backdrop name
...
This invalidates the toolbox XML when switching back to the code tab after e.g. renaming a costume, making the code tab
2019-01-30 09:39:18 -05:00
apple502j
2a36f49d7c
Export costumes and sounds
2019-01-27 19:21:15 +09:00
Paul Kaplan
a37ea67512
Use fontInliner instead of entire SVGRenderer for showing costume tiles.
...
The fontInliner from the scratch-svg-renderer was changed recently to work entirely on strings, so we can use that instead of parsing/loading/possibly drawing/stringifying the entire SVG.
This does not address the size-1 cache issue where the cache is invalidated any time there is more than 1 sprite. But that can be handled later.
Using the 4x CPU slowdown in chrome dev tools, on a simple costume that just has a single text element the getCostumeUrl time goes from 10ms to 1ms, very important for updating in a timely way.
2019-01-24 08:49:17 -05:00
Paul Kaplan
655a179cb8
Merge pull request #4417 from paulkaplan/throttle-costume-updates
...
Throttle costume and watermark updates
2019-01-23 16:24:01 -05:00
Paul Kaplan
d9c5ad6aa4
Use curried style for HOC configuration
2019-01-23 15:56:23 -05:00
Paul Kaplan
0bc6de1362
Throttle updates to assets on sprite selector item via HOC
...
Adds unit tests for this HOC.
2019-01-23 14:30:41 -05:00
Paul Kaplan
6713c7ad0f
Fix issue where dragPayload was being invalidated for sprites
...
Use PureComponent instead since it is a simple shouldComponentUpdate check now.
2019-01-23 13:58:42 -05:00
Paul Kaplan
8e22161a7d
Merge pull request #4407 from paulkaplan/no-updates-while-recording
...
Disable target updates while sound recording
2019-01-23 12:12:33 -05:00
Paul Kaplan
d3511f6020
Disable target updates while sound recording
2019-01-22 14:26:16 -05:00
Eric Rosenbaum
da2f290d7f
Update WeDo 2.0 extension name
2019-01-22 11:38:20 -05:00
Eric Rosenbaum
ff473e8fb0
Merge pull request #3922 from evhan55/extensions/disconnect-errors
...
Peripheral disconnect status using new runtime/vm event
2019-01-18 16:59:22 -05:00
Paul Kaplan
1146689f42
Fix sound reorder bug.
...
We were emitting drops when getMouseOverIndex was null, which could happen either when the drop is outside the container, or there were zero boxes to check for ordering. Treat these two cases separately, and continue to not emit drops when outside the container.
2019-01-18 15:14:06 -05:00
Paul Kaplan
5e2055fc84
Revert "Merge pull request #4354 from paulkaplan/fix-backpack-sprite"
...
This reverts commit 97f8eb63b4 , reversing
changes made to 2e017f060f .
2019-01-18 15:09:12 -05:00
Evelyn Eastmond
c1ad2b51b6
Changes to event names to clarify them.
2019-01-16 20:48:49 -05:00
Karishma Chadha
97f8eb63b4
Merge pull request #4354 from paulkaplan/fix-backpack-sprite
...
Fix issue where you couldn't add sprites from backpack when there are no sprites
2019-01-16 15:39:13 -05:00
Paul Kaplan
16994e35f8
Allow drop event in sortableHOC even when there are no items to sort.
...
This is used because the sortable drop is also used for general dropping as well as sorting drop, so you need to be able to drop into a sortable list that does not contain any items.
Make the corresponding reorder code be more careful to check if there is a newIndex.
2019-01-15 12:42:34 -05:00
Paul Kaplan
4d136c727b
Merge pull request #4339 from paulkaplan/prevent-large-sounds
...
Prevent creating sounds that are too big in the sound editor
2019-01-15 12:25:00 -05:00
Paul Kaplan
50a9541999
Merge pull request #4338 from paulkaplan/fix-sound-recorder-issues
...
Fix sound recorder issues
2019-01-15 12:24:47 -05:00
Paul Kaplan
2e30f1d426
Limit the size of sounds coming from effects.
2019-01-14 13:10:55 -05:00
Paul Kaplan
f3c15c402f
Prevent auto-trim from producing invalid start and stop points
2019-01-14 12:17:52 -05:00
Karishma Chadha
214393f060
Merge pull request #4315 from kchadha/fix-backpack-mp3
...
Allow putting mp3 sounds in the backpack.
2019-01-14 12:05:51 -05:00
Ben Wheeler
95b11a7b7d
resolve function name conflict by renaming onProjectLoaded in project-fetcher-hoc
...
https://github.com/LLK/scratch-gui/pull/4312 had a function name conflict with the existing code. This change fixes that by renaming the conflicting function, and removes redundant code.
2019-01-10 17:28:40 -05:00
Karishma Chadha
40de587b0d
Allow putting mp3 sounds in the backpack.
2019-01-10 14:55:33 -05:00
chrisgarrity
cf5183a3ee
Revise how unsupported browsers are handled
...
Browsers other than IE will be allowed to load the GUI.
However, if there is an error, the error boundary will display an unsupported browser message recommending they update to the latest version of a supported browser.
For the purposes of this PR, ‘supported’ means you can load the gui (anything other than IE), and recommended is just the browsers that meet our minimum requirements for Chrome, Firefox, Edge and Safari.
2019-01-09 12:24:01 -05:00
Paul Kaplan
d3608ead52
Revert "Check for minimum versions of recommended browsers"
2019-01-08 16:08:06 -05:00
Paul Kaplan
4af0e92465
Merge pull request #4287 from chrisgarrity/issue/unsupported-versions
...
Check for minimum versions of recommended browsers
2019-01-08 14:02:36 -05:00
chrisgarrity
b129c1e1bb
Check for minimum versions of recommended browsers
2019-01-08 09:14:07 -05:00
Karishma Chadha
933bdd7c05
Save project state before storing assets instead of after.
2019-01-07 17:14:51 -05:00
Andrew Sliwinski
8de8c02f6b
Merge pull request #4196 from Cqoicebordel/Cqoicebordel-patch-1
...
Remove Vivaldi block
2019-01-04 09:18:32 -05:00
picklesrus
97b9f5cf30
Stop waiting for non scratch fonts to load.
2019-01-03 15:32:21 -05:00
adroitwhiz
e23e29b027
whitespace tweak
2019-01-02 20:54:52 -05:00
adroitwhiz
50b7d3ad53
Round off getStageDimensions()
2019-01-02 20:54:36 -05:00
picklesrus
9cd41199c5
Fix #4203 by checking whether a target exists before asking whether it has an variables
2018-12-26 16:26:34 -05:00
Cqoicebordel
8e69ea7cf1
Remove Vivaldi block
2018-12-26 15:41:22 +01:00
Paul Kaplan
3c53bac17b
Revert "Make remixing/saving faster by marking all assets as clean to start."
2018-12-21 11:22:16 -05:00
Chris Willis-Ford
744076babf
Merge pull request #4162 from cwillisf/telemetry-opt-in
...
Add telemetry opt-in/opt-out dialog
2018-12-20 18:44:13 -08:00
Andrew Sliwinski
3ba85ebd74
Merge pull request #4172 from ericrosenbaum/bugfix/another-library-update
...
More library updates
2018-12-20 17:37:59 -05:00
Eric Rosenbaum
fb6da98bfd
More library updates
2018-12-20 17:23:25 -05:00
Christopher Willis-Ford
ee80e07ade
Add telemetry opt-in/opt-out dialog
...
The playground now displays this on startup when in Scratch Desktop
simulation mode.
2018-12-20 13:50:36 -08:00
Paul Kaplan
57e841b19b
Merge pull request #4146 from paulkaplan/list-import
...
Implement list import and export from files
2018-12-20 13:35:54 -05:00
Paul Kaplan
54eea42e15
Remove most of the analytics.pageview events, keeping the search queries
2018-12-20 13:19:24 -05:00
Paul Kaplan
50a917280a
Use new sentry API provided by www, and use analytics ID from www
2018-12-20 12:53:33 -05:00
Benjamin Wheeler
19f5b196bd
Merge pull request #4160 from benjiwheeler/load-fonts-in-redux
...
refactored font loading state to be in redux
2018-12-20 10:00:37 -05:00
Paul Kaplan
fc28a7256d
Add txt import so file can be imported/exported from symmetrically
2018-12-20 08:43:07 -05:00