Commit Graph

138 Commits (c8b25dd6ec2986f556f06a88079492474122d095)

Author SHA1 Message Date
Spence Churchill 4a2d8212c1
optimize for precision over accuracy
correctly classifying when the watch is on is more important than classifying classifying when the watch is off
2022-09-09 17:54:08 -07:00
Spence Churchill dc8319d97a
use 10-minute acceleration and charging
removes temperature due to weather situations
2022-09-09 10:38:37 -07:00
Gordon Williams 1f3695efff Allow clock 'info screens' to be defined - as per https://github.com/espruino/BangleApps/pull/2114#issuecomment-1240836007 2022-09-08 16:01:48 +01:00
Gordon Williams ff9a5c4c20 Add wear de4tect library based on http://forum.espruino.com/conversations/379538/ and https://github.com/espruino/Espruino/pull/2264 2022-09-08 10:40:03 +01:00
Gordon Williams 43b2a0b55c
Merge pull request #2046 from rigrig/clockface-powersave
Clockface: powersaving
2022-07-15 08:16:38 +01:00
Gordon Williams 828f9821ad Fix issue caused by minification (moving the declaration of 'var btnList/a' into an 'if' statement). Now we can use 'let' and the minifier doesn't try and do stupid things with that 2022-06-29 09:16:45 +01:00
Gordon Williams 6ad485c628 Fix issue with >1 layout button on Bangle.js 2: http://forum.espruino.com/conversations/377235/#comment16576403 2022-06-28 13:39:46 +01:00
Richard de Boer fed49792de
ClockFace: make `tick` a "ram" function
Should allow clocks to update without waking flash storage if their
`update` runs in "ram" as well.
2022-06-25 23:58:34 +02:00
Richard de Boer ba58178ab3
ClockFace_menu: add "powerSave" menu option 2022-06-25 23:58:33 +02:00
Richard de Boer 9fb3fccb32
ClockFace: minor cleanup
No idea how that `true` got there, but it does nothing.
2022-06-19 20:00:54 +02:00
Richard de Boer 6090b453c3
ClockFace: don't erase widgets when using `draw`
If a clock specifies `draw` but not `update`, we create our own
`update`, but it should only erase the clock area, not the whole screen.
2022-06-19 20:00:18 +02:00
Gordon Williams 0cc0a40356 fix layout minification issue 2022-06-10 09:19:53 +01:00
Gordon Williams d07580cc90 Add minified layout library, which should improve layout speed a lot. 2022-06-09 10:41:03 +01:00
Richard de Boer 5ffb6117e6
ClockFace_menu: addSettingsFile with included Storage code 2022-06-07 21:43:00 +02:00
Richard de Boer aded08293f
ClockFace_menu: remove old options exports 2022-06-07 21:29:18 +02:00
Richard de Boer 66bf7f3b12
ClockFace_menu: use addItems for settings 2022-06-07 21:23:12 +02:00
Gordon Williams 0c3a7dfe9e exstats: Add altitude (GPS and barometer)
Ensure speed(and alt) updates from GPS even when a run isn't started
2022-06-07 16:47:45 +01:00
Gordon Williams 6bcd41eac3
Merge pull request #1899 from alessandrococco/time-utils-patch
[time_utils] Update formatDuration
2022-06-06 11:34:27 +01:00
Gordon Williams 1a2d7a6e25
Merge pull request #1893 from rigrig/clockface-settings
ClockFace: add settings support
2022-06-06 11:30:29 +01:00
Gordon Williams a4f79367ba constant decl in function saves RAM 2022-06-06 11:16:41 +01:00
Alessandro Cocco 091006e9c5 [buzz] Add support for ',' and ';' 2022-06-03 17:29:57 +02:00
Alessandro Cocco 019f635ad4 [buzz] Add support for ':' and '=' 2022-06-03 17:29:57 +02:00
Alessandro Cocco 889de43d26 [time_utils] Add compact mode to formatDuration 2022-05-28 21:30:50 +02:00
Alessandro Cocco dc0157cf1f [time_utils] Fix typo 2022-05-28 21:30:30 +02:00
Richard de Boer ecd5868821
ClockFace: add settings support 2022-05-27 17:08:50 +02:00
Alessandro Cocco f0e2627571 Move Layout docs to a separate file 2022-05-25 12:38:45 +02:00
Gordon Williams 43a3d70571 run 0.14: Fix Bangle.js 1 issue where after the 'overwrite track' menu, the start/stop button stopped working
Add 'setUI' to Layout
2022-05-23 11:53:25 +01:00
Gordon Williams 778432e945 comment 2022-05-23 10:25:31 +01:00
Richard de Boer 365b3859b3
ClockFace: set Bangle.CLOCK=1 before loading widgets 2022-05-22 19:59:17 +02:00
Alessandro Cocco 9b195adc95 [time_utils] Add support for days and seconds, improve formatDuration 2022-05-18 23:52:12 +02:00
Richard de Boer f7efc338f1
ClockFace: add `is12Hour` property, document `paused` 2022-05-16 20:21:24 +02:00
Gordon Williams a2ff4b9b21
Merge pull request #1822 from alessandrococco/refactor-alarms
[Alarms & Timers] New UI
2022-05-16 14:54:16 +01:00
Richard de Boer 12f84357ca
add ClockFace module 2022-05-15 18:27:35 +02:00
Alessandro Cocco 94690a81ee Add new time_utils module and move some functions from sched module to it 2022-05-13 15:25:28 +02:00
Gordon Williams 0a36095dc1 Merge branch 'messages-back' 2022-05-11 09:10:32 +01:00
Gordon Williams 537744bcf7
Merge pull request #1788 from sir-indy/master
[layout & smpltmr] New interface for Simple Timer, and changes to layout to make it work.
2022-05-04 11:16:38 +01:00
sir-indy c94b8be629
Update Layout.js
Removed as per https://github.com/espruino/BangleApps/pull/1788#discussion_r863924717
2022-05-04 10:18:48 +01:00
Alessandro Cocco ce06879fe4 [date_utils] Refactor functions, documentation
- Use the same names used in locale module (so dow instead of getDOW, month instead of getMonth, etc.)
- Add documentation
2022-05-03 23:22:50 +02:00
sir-indy 0a93ea7c00
Update Layout.js
Remove text scale option, as scale can be set in font, as per #1699
2022-05-03 10:06:10 +01:00
sir-indy baa242e92b
Update Layout.js 2022-04-29 11:28:58 +01:00
sir-indy fc1bd36ec2
Update Layout.js 2022-04-29 11:16:48 +01:00
sir-indy 5e42476f29
Merge branch 'espruino:master' into master 2022-04-29 10:26:55 +01:00
sir-indy 1e4486861a
Update Layout.js 2022-04-29 10:26:44 +01:00
sir-indy 826bc29738
Update Layout.js 2022-04-29 10:16:42 +01:00
sir-indy 7f2af3c892
Update Layout.js 2022-04-29 09:55:31 +01:00
Gordon Williams e6eb8b0cb4 Fix typo that meant that watches on buttons from E.showMenu/etc weren't removed like they should be 2022-04-27 09:28:16 +01:00
Gordon Williams 2e2275c262 Add date_utils lib (https://github.com/espruino/BangleApps/pull/1753) 2022-04-26 10:27:23 +01:00
Gordon Williams cb9c0100ea
Merge pull request #1687 from rigrig/buzz-demonstrate
buzz_menu: give a demonstration after selecting a pattern
2022-04-19 10:39:42 +01:00
Richard de Boer 0b9d8b16a6
buzz_menu: give a demonstration after selecting a pattern 2022-04-10 17:01:28 +02:00
Richard de Boer 44810118b4
buzz_menu: fix duplicate "Off" option 2022-04-10 16:41:19 +02:00