Commit Graph

103 Commits (70a3a50a01a291dfee31e9808f11d3cbb9080a8f)

Author SHA1 Message Date
Gordon Williams 33f75cbe93 Fix #2174 2022-10-12 09:06:25 +01:00
Richard de Boer e072fe23a1
apploader.js: add -b1 param to upload to Bangle.js 1 2022-09-09 15:10:06 +02:00
Richard de Boer 0a7f3abb08
apploader.js: don't hide errors while loading 'noble'
Loading the module can also fail when e.g. compiled against a different
Node.js version, don't hide those errors.
2022-09-09 15:01:46 +02:00
Gordon Williams 23eb487024 quick update to make initial error easier to find if noble not installed 2022-09-09 09:41:00 +01:00
Gordon Williams faf879c59c Fix app loader after previous core changes 2022-09-09 09:38:52 +01:00
Gordon Williams 425930f2ec add line numbers for loadWidgets error message, and provide a way to ignore messages we know about 2022-09-05 13:38:34 +01:00
Gordon Williams 84819f5cae Add sanity check for clocks calling loadWidgets before setUI 2022-09-05 11:03:41 +01:00
ash 5a6b37f3cc Use /usr/bin/env as shebang everywhere
It's not guaranteed that bash will be available at /bin/bash; it's even
less likely that node will always be installed at /usr/bin/node{,js}.
Always indirecting through /usr/bin/env means that there is only one
such path that needs to be available.
2022-08-17 23:03:21 +01:00
Gordon Williams 91728c147f Big refactor to attempt to merge all the waypoints code into one place. At least 3 apps had basically identical interface.html files, and yet wpmoto had a great map-based editor. 2022-07-26 16:14:04 +01:00
Gordon Williams 66fa53b809 Add check for files expected in certain app types - remove warnings about `textinput` 2022-07-26 14:54:34 +01:00
BartS23 bf2613c440
Output app name, reset lcd and intervals
flow app sets LCDMode to 120x120 wich will break image export (TypeError: FUNCTION_TABLE[(HEAPU8[(($0 + 52) | 0)] | (HEAPU8[(($0 + 53) | 0)] << 8) | ((HEAPU8[(($0 + 54) | 0)] << 16) | (HEAPU8[(($0 + 55) | 0)] << 24)))] is not a function)

Some applications use a very short timeout, which also break the export.
2022-07-13 21:23:33 +02:00
BartS23 5f4db2e78c
Don't treat "Uncaught Storage Updated!" as error 2022-07-12 14:14:49 +02:00
BartS23 b580fa2f84
Require espruinotools as Espruino
To avoid the error below:

ReferenceError: Espruino is not defined
    at parseJS (eval at <anonymous> (/home/romek/Bangle/BangleApps/bin/thumbnailer.js:43:1), <anonymous>:95:5)
    at eval (eval at <anonymous> (/home/romek/Bangle/BangleApps/bin/thumbnailer.js:43:1), <anonymous>:166:37)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Promise.all (index 0)
2022-07-12 13:46:25 +02:00
Gordon Williams b6f501b6bf check for badly named changelogs, fix some more (ref #2024) 2022-07-06 09:30:44 +01:00
Gordon Williams 44905c795e include sched in installed apps - bin/firmwaremaker_c.js 2022-07-01 08:10:29 +01:00
Gordon Williams fe707c335e Add (hopefully!) github actions compatible error messages so we get files marked 2022-06-28 11:51:25 +01:00
Martin Boonk 834b606f63 apploader - Ignore empty folder instead of creating invalid json 2022-06-19 19:29:40 +02:00
Gordon Williams e1cc59ec4f bootloader CRC 2022-06-09 17:06:52 +01:00
Gordon Williams 3a3a01136b mylocation 0.07: Move mylocation app into 'Settings -> Apps' 2022-05-26 12:50:44 +01:00
Gordon Williams 9d758075da Add extra checks for app type and dependencies, document available types, and fix invalid app types 2022-04-29 09:29:02 +01:00
Gordon Williams 1e09140515 check icons is a bit more resilient 2022-04-19 10:03:46 +01:00
Eskild Hustvedt c10bd83c9f Autogenerate apps.json if needed 2022-04-10 16:04:31 +02:00
Eskild Hustvedt aaefe390b0 Added basic command-line parameter handling 2022-04-10 12:17:14 +02:00
Eskild Hustvedt adb053ef1c Let language_scan optionally add stubbed translations
This lets it refresh existing languages with the latest strings, without using
the auto-translate feature. The strings will all simply be the English
equivalent.
2022-04-08 16:50:41 +02:00
copoer 187821bf49 Removed auto /*LANG*/, Added more languages 2022-02-10 09:30:00 -04:00
copoer d54fdaa9e8 Fixed settings files 2022-02-09 21:12:55 -04:00
copoer 4ce761dab9 Updated script to add more accurate string finding and auto translation 2022-02-09 19:52:49 -04:00
Alessandro Cocco 6676b32f9a Improve language_scan tool 2022-02-07 22:28:02 +01:00
Alessandro Cocco 2190926242 use the correct key to check for translations 2022-01-30 22:27:49 +01:00
Gordon Williams 1a92cc2557 fix broken scripts after metadata.json update 2022-01-27 16:36:45 +00:00
Gordon Williams a0e631a9dd fix script 2022-01-27 14:34:39 +00:00
Richard de Boer 46fbccf711
tell git to ignore modified `apps.json` when running create_apps.json.sh
Only if no arguments given: `create_apps_json.sh apps.json` will leave
it alone if someone really wants to overwrite+commit apps.json.
2022-01-20 20:41:30 +01:00
Richard de Boer e75a828fce
always use shell script to generate apps.json, remove js version
Gets rid of duplicated functionality, but allows passing a filename
argument to write to a different file instead of `apps.json`.
2022-01-20 20:41:30 +01:00
Richard de Boer a3b49a0d82
Support for localhost appstore
- Adds a script to generate `apps.local.json` from all metadata
- Makes the loader use `apps.local.json` when serving from localhost
- Adds npm `local` script to watch for changed metadata, while serving
  from localhost
2022-01-20 20:41:29 +01:00
Gordon Williams e997ad59ed more compatible app loader 2022-01-20 17:08:31 +00:00
Adam Schmalhofer 38170905ca Port firmwaremake*.js to metadata.json 2022-01-19 18:24:49 +01:00
Gordon Williams 752f8f6b29 oops - remove debug code 2022-01-19 16:48:38 +00:00
Gordon Williams 2a813e221a Updated docs! 2022-01-19 16:21:07 +00:00
Gordon Williams 020e575ec7 Tweaks after 5e5d23c921 2022-01-19 15:56:33 +00:00
Adam Schmalhofer d3af80efc9 Merge branch 'master' into jekyll-apps.json 2022-01-19 15:21:50 +01:00
Gordon Williams bb8c291755 making language scan pop up more useful info 2022-01-19 11:30:18 +00:00
Gordon Williams 1b266f7279 Better support for translation, added some more common translations to German translation 2022-01-19 11:09:12 +00:00
Gordon Williams 85be6af02e Add menu option for language translations (fix #136) 2022-01-18 16:21:30 +00:00
Adam Schmalhofer 3de7692e2c Merge branch 'master' into jekyll-apps.json 2022-01-13 21:41:39 +01:00
Gordon Williams fc8e089fbe improve sanity checking - no false warnings for apps files with `supports` field 2022-01-12 11:05:27 +00:00
Adam Schmalhofer 6f9cd73425 Port sanitychess.js to metadata.json 2022-01-07 01:14:18 +01:00
Gordon Williams 36a8623810 check for duplicate apps 2022-01-04 09:37:59 +00:00
Gordon Williams a8ccc840b7 allow slightly lower than 48px icons before erroring 2021-12-17 14:16:35 +00:00
Ben Whittaker 0944f73281 sanitycheck: error for newly added mis-sized icons 2021-12-16 22:16:29 -05:00
Ben Whittaker a588280af7 sanitycheck: Warn about incorrectly sized js icons 2021-12-16 21:52:48 -05:00