Commit graph

219 commits

Author SHA1 Message Date
Donald
2da2fad26c Fix Runtime Issues:
ScratchJr.m: runtime: UI API called from background thread: -[UIView removeFromSuperview] must be used from main thread only
IO.m: runtime: UI API called from background thread: -[UIWebView stringByEvaluatingJavaScriptFromString:] must be used from main thread only
2018-09-11 09:32:02 +08:00
chrisgarrity
6f59d224e7
Merge pull request #176 from apple502j/patch-1
Change 日本語 to にほんご
2018-08-14 12:15:35 -04:00
apple502j
8ab8fefb55
Change 日本語 to にほんご 2018-08-05 20:46:48 +09:00
Andrew Sliwinski
3622608970
Update TRADEMARK 2018-06-18 13:19:00 -04:00
chrisgarrity
d19d63dc73
Merge pull request #170 from chrisgarrity/issue/gh137-paint-calibration
Don’t adjust paintEditor point on Android
2018-05-03 09:30:17 -04:00
chrisgarrity
a4737a4399 Don’t adjust paintEditor point on Android
Fixes the issue where the editor doesn’t draw where the finger is touching on Android.
2018-05-02 15:01:45 -04:00
Andrew Sliwinski
fdd930ee50 Merge pull request #150 from VutonDesign/develop
Markdown files clean-up
2017-09-25 09:26:40 -04:00
Vuton Design
6a1fdc962c Clean-Up 2017-09-25 14:24:31 +01:00
Vuton Design
ec0e28bbda Clean-Up 2017-09-25 12:29:09 +01:00
Vuton Design
8fa91d05a0 Clean-Up 2017-09-25 12:24:45 +01:00
chrisgarrity
827d8b1508 Merge pull request #148 from chrisgarrity/feature/add-languages
Add languages
2017-09-19 11:42:45 -04:00
chrisgarrity
9336953985 Add languages
Added:
- German
- Japanese
- Portuguese
- Swedish
- Chinese (China)

Needed to modify Localization utilities to handle China locale in additional to language.
2017-09-16 14:33:28 -04:00
chrisgarrity
8d1d3069b0 Merge pull request #144 from chrisgarrity/bug/speech-balloon
Revert balloon SVG to fix speech balloon bug
2017-08-25 11:17:49 -04:00
chrisgarrity
24ee71d95e Revert balloon SVG to fix speech balloon bug 2017-08-24 16:31:30 -04:00
chrisgarrity
40392040fa Merge pull request #142 from chrisgarrity/usage-splash
Usage splash
2017-08-23 14:55:11 -04:00
chrisgarrity
0f2c31bfc9 Add documentation for AppUsage
Also make ternary operators easier to read.
2017-08-23 11:53:13 -04:00
chrisgarrity
7a530be88b Update to xcode recommended settings
Set minimum iOS version to 8.0
2017-08-14 16:27:07 -04:00
chrisgarrity
1862c41394 Revise cookie 2017-08-14 15:58:57 -04:00
chrisgarrity
e5d1e2ab10 Optimize SVGs
Ran svgo on all the UI SVGs to minify them. Library svgs are converted to pngs as part of the build process, so they are not optimized (it breaks the current conversion script)
2017-08-14 10:26:49 -04:00
chrisgarrity
b6a36dbf32 Handle official catface and logo
Hide all the usage elements, and re-show the logo/catface if coming from the usage page.
2017-08-11 09:13:52 -04:00
chrisgarrity
952ce54b52 Don’t reload index
Instead of reloading the page, just load Start and have Start hide the usage parts.
2017-08-10 17:03:30 -04:00
chrisgarrity
852df3edbb Add splash page for usage tracking
* Adds a usage cookie
* Only asks for usage on first launch
* will need checking with the official version to make sure the right elements are showing/hiding.
2017-08-10 10:00:22 -04:00
chrisgarrity
3143ec01d4 Merge pull request #139 from chrisgarrity/develop
Bring develop up to date with master
2017-07-18 09:06:59 -04:00
chrisgarrity
5c2cd3ce23 Merge pull request #138 from chrisgarrity/reduce-sound-sizes
Limit size of sounds
2017-07-17 16:01:33 -04:00
chrisgarrity
16e4b7ce27 Limit size of sounds
We know that projects with lots of (large) sounds tend to crash ScratchJr. Hopefully reducing the size of the sounds will help to reduce the number of crashes.
2017-07-17 11:25:59 -04:00
chrisgarrity
f6c75c3019 Merge pull request #133 from chrisgarrity/email-text-typo
Fix typo in SHARING_EMAIL_TEXT
2017-05-24 12:23:56 -04:00
chrisgarrity
6626ba6cea Fix typo in SHARING_EMAIL_TEXT
missing space
2017-05-05 11:49:21 -04:00
chrisgarrity
02fc0fd26a Update README.md 2017-05-05 11:39:07 -04:00
chrisgarrity
d4a6b2885d Merge pull request #121 from chrisgarrity/bug/iOS-sound
Rewrite iOS sound management to use native audio instead of webaudio. Quirks are consistent with Android which was already doing native audio.
2017-03-14 21:56:59 -04:00
chrisgarrity
7e4f6682d6 Fun with sound timers
If the same sound gets triggered while it’s playing, the sound restarts and both sound blocks will be highlighted until the sound completes - this matches what happens on Android.

Also more formatting changes.
2017-03-14 18:09:43 -04:00
chrisgarrity
f752ff5760 Fix formatting and restart bug
In the current system you can’t have the same sound playing more than once at the same time - this is how it was implemented on Android, so we used the same restriction on iOS.

However in the previous version if you interrupted the sound to play it again, it continued from where it was instead of starting over. So it didn’t appear to do anything. Added resetting the current time to 0.0 on play to restart sounds.
2017-03-14 14:31:18 -04:00
chrisgarrity
bd21989830 Merge pull request #122 from chrisgarrity/bug/downsample-sounds
Reduced sound effects to 16-bit for Android compatibility
2017-03-13 14:15:47 -04:00
chrisgarrity
46f77164d8 Reduced sound effects to 16-bit for Android compatibility
- down sampled all the .wav files
- updated plist for free edition to include new required keys for iOS10
2017-03-13 13:56:02 -04:00
chrisgarrity
e9d0d0d7be Change iOS to use native sound.
This is after the coding session with Paula - mostly just clean up of obsolete code and leftover debugging output.
2017-03-08 11:16:31 -05:00
chrisgarrity
6a6d92e06b [WIP] new audio engine
Post coding session with Paula
2017-02-21 17:17:35 -05:00
chrisgarrity
57114ed678 Merge pull request #113 from chrisgarrity/feature-addlanguages
Adding 5 more languages to ScratchJr:
Catalan
French
Italian
Dutch
Thai (as a non-latin character set test)
2016-09-20 11:21:21 -04:00
chrisgarrity
07ff36a1ae Pull latest translations from transifex 2016-09-20 09:54:39 -04:00
chrisgarrity
72b807726b iOS: show unescaped filename in email
Displayed name in the email was using the escaped filename rather than the filename passed as the name parameter.
2016-09-19 17:10:10 -04:00
chrisgarrity
e035b0f86e Sanitize filename
Allow non-latin characters, but remove anything that could be problematic
2016-09-19 15:17:13 -04:00
chrisgarrity
9923c34e76 Add new languages to ScratchJr
Needed slight adjustment to css for settings
added new language codes to settings.json and Localizations.js
2016-09-06 17:33:17 -04:00
chrisgarrity
940a08998c Merge pull request #107 from chrisgarrity/uses-sdk
add default uses-sdk
2016-08-13 13:38:58 -04:00
chrisgarrity
ef04f2e1e2 add default uses-sdk
PBS Kids has automated testing that looks for uses-sdk with a minimum targetSDK of 23. Even though this gets overridden in the build.gradle settings, adding a line with default values to get through their testing.
2016-08-12 10:48:49 -04:00
chrisgarrity
576bf9d0e7 Merge pull request #104 from chrisgarrity/bug/gh102
Localize sample project name
2016-06-23 15:37:22 -04:00
chrisgarrity
6e46696d2c Localize sample project name 2016-06-22 11:58:48 -04:00
chrisgarrity
f3181a1757 Merge pull request #100 from chrisgarrity/master
Add settings to index page topbar
2016-06-15 08:40:00 -04:00
Andrew Sliwinski
c2da808405 Do not throw exception when app moves to background during audio recording. Resolves GH-91 2016-05-31 15:50:50 -04:00
Andrew Sliwinski
6de70fd6ba Merge pull request #94 from thisandagain/bugfix/91
Do not throw exception when backgrounding app during audio recording
2016-05-31 09:02:32 -04:00
chrisgarrity
3d6e015a6b Add settings to index page topbar
Add the settings button to the topbar - used in the PBS Kids version.
2016-05-26 14:00:21 -04:00
Andrew Sliwinski
693db43729 Do not throw exception when app moves to background during audio recording. Resolves GH-91 2016-05-19 20:19:27 -07:00
chrisgarrity
c2071f8168 Merge pull request #87 from thisandagain/bugfix/473
Finalize license and trademark information
2016-05-18 09:21:35 -04:00