7747 Commits

Author SHA1 Message Date
Gordon Williams
4acac94c03 js for https://github.com/espruino/Espruino/pull/2199 2022-05-24 09:38:37 +01:00
Gordon Williams
d01c3fde1a
Merge pull request #2199 from storm64/setUI_clockcustom
[Bangle.setUI] Add "clockcustom" mode
2022-05-24 09:37:54 +01:00
storm64
1fee1b2045 [Bangle.setUI] Change to clock property
Feature added to Bangle.setUI reference.
@gfwilliams please update the .min.js-files,
2022-05-24 07:39:06 +02:00
storm64
f06ddf4e19
Merge branch 'master' into setUI_clockcustom 2022-05-24 07:34:52 +02:00
Gordon Williams
e0187f16ce Bangle.js2: 6x15 font tweaks for better ISO8859-1 support 2022-05-23 14:05:19 +01:00
storm64
531c08e64c [Bangle.setUI] Default btnWatches on clockcustom
While thinking about this new mode, I would suggest the default btn behavior should represent the "clock" mode.

The .min.js need to be regenerated...
2022-05-21 12:59:31 +02:00
storm64
b5c79079f0 [Bangle.setUI] Add "clockcustom" mode
Think this might be useful for more complex clocks.
For now it would be necessary to set `Bangle.CLOCK = 1` manually after a custom setUI to show other apps that a clock is used.
2022-05-21 12:44:38 +02:00
Gordon Williams
2d9b62458f Fix recent class method regression (24247e4ec9) (fix #2197) 2022-05-17 14:01:51 +01:00
Gordon Williams
486c6cd0c5 fix linux build with fixed size vars 2022-05-16 15:04:13 +01:00
Gordon Williams
d9f23f46b3 Really fix recent regression with submenus - fix #2192 2022-05-16 15:03:52 +01:00
Gordon Williams
b75a36a6da Merge branch 'JIT' 2022-05-12 13:49:26 +01:00
Gordon Williams
829178904e Merge branch 'master' of github.com:espruino/Espruino 2022-05-12 13:49:12 +01:00
Gordon Williams
2914db84f0 doc tweaks - ready for merge 2022-05-12 13:49:01 +01:00
Gordon Williams
3eac039cea Merge branch 'master' into JIT 2022-05-12 13:43:31 +01:00
Gordon Williams
abee6df8cc i++ / i-- work 2022-05-12 13:20:46 +01:00
Gordon Williams
fc003afe47 tweaks 2022-05-12 12:40:32 +01:00
Gordon Williams
b3fec3e083 IF statement works, *almost* working FOR 2022-05-12 11:41:36 +01:00
Gordon Williams
f5b3a9b2e7 Assignments working 2022-05-11 17:03:39 +01:00
Gordon Williams
893be4b00d better JIT error handling - if JIT fails print an error but parse the function as normal JS 2022-05-11 16:48:02 +01:00
Gordon Williams
240b7e1db6 fix linux build 2022-05-11 16:28:46 +01:00
Gordon Williams
ae24408b69 debug flags 2022-05-11 16:28:29 +01:00
Gordon Williams
7895d34b2d update test - now fails 2022-05-11 15:54:23 +01:00
Gordon Williams
90e442e9d6 improve docs, make debug info more readable 2022-05-09 12:05:33 +01:00
Gordon Williams
83223650f0 >1 arg 2022-05-09 11:46:45 +01:00
Gordon Williams
677a5f91c5 more examples 2022-05-09 11:22:36 +01:00
Gordon Williams
24247e4ec9 Function calls and returns seem to work ok now 2022-05-09 11:21:19 +01:00
Gordon Williams
becfacddc2 more work on calls 2022-05-09 10:34:40 +01:00
Gordon Williams
7661f49403
Merge pull request #2193 from rigrig/b2-menu-fix
Bangle.js2: fix E.showMenu redraw
2022-05-09 09:32:55 +01:00
Richard de Boer
2cece5275d
Bangle.js2: fix E.showMenu redraw
2cd16032c37a0004f92be8d817502e198c0ebde5 missed updating a `s` to `l.scroller`
2022-05-08 15:21:53 +02:00
Gordon Williams
53ea1089b2 first run on pi - works at least when running under GDB 2022-05-07 16:36:18 +01:00
Gordon Williams
9ab449a5d9 first (broken) stab at function execution 2022-05-07 16:18:09 +01:00
Gordon Williams
c2d1acdcd4 Support for functions defined with the 'jit' keyword 2022-05-06 11:13:18 +01:00
Gordon Williams
088e6f26a2 Support for strings and variable lookups 2022-05-06 10:29:01 +01:00
Gordon Williams
2cd16032c3 Bangle.js2: E.showMenu now returns 'scroller', format is called with a second argument, font in popup is scaled to fit (fix #2190) 2022-05-06 08:52:47 +01:00
Gordon Williams
eea77082d8 1+2+3+4-5 actually works, and returns a usable JsVar
Long way to go but this actually proves things can work
2022-05-05 22:00:28 +01:00
Gordon Williams
30080af8af Merge branch 'master' into JIT 2022-05-05 16:42:08 +01:00
Gordon Williams
0480d93a89 fix build regressions 2022-05-05 13:45:54 +01:00
Gordon Williams
478b28d080 nRF5x: Allow 'high speed' watches via 'hispeed' argument to setWatch. Higher power consumption but detects fast (<25us) pulses. 2022-05-05 12:01:19 +01:00
Gordon Williams
79286897b4 Graphics: Fix drawString with combination of g.setClipRect and g.setRotation 2022-05-03 14:23:37 +01:00
Gordon Williams
f772bd5106 Graphics: g.setClipRect now uses rotated coordinates
Graphics: g.draw/fillCircle now works with rotated coordinates
            Bangle.js2: Touch/drag coordinates now obey g.setRotation
2022-05-03 13:14:25 +01:00
Gordon Williams
1fe4c9c6fd tweaks to #2188 2022-04-29 11:20:52 +01:00
Gordon Williams
ffe27a59c0
Merge pull request #2188 from storm64/E_showMenu_Q3-addBack
[E_showMenu_Q3] Add "Back" on submenus
2022-04-29 11:19:58 +01:00
storm64
16fcc94436 [E_showMenu_Q3] Add "Back" on boxed submenu
1. Add "Back"-Button on boxed selection submenu inside E_showMenu
2. Regenerated E_showMenu_Q3.min.js via IDE with "Closure  Simple Optimizations"
3. Alter ChangeLog entry
2022-04-29 11:53:32 +02:00
storm64
7070a4cc3e [E_showMenu_Q3] Add "Back" on list submenu
1. Add "Back"-Button on list selection submenu inside E_showMenu
2. Regenerated E_showMenu_Q3.min.js via IDE with "Closure  Simple Optimizations"
3. Add ChangeLog entry
4. Readd ChangeLog entry for #2186
2022-04-29 11:40:56 +02:00
Gordon Williams
7c15a764a9 Add #2186 tweak to Bangle.js 1 2022-04-29 09:57:46 +01:00
Gordon Williams
ebd91718a1
Merge pull request #2186 from storm64/master
[E_showMenu_Q3.js] Add option to prevent scroller
2022-04-29 09:55:32 +01:00
Gordon Williams
d6b8295a0a changelog for Bangle.js: built-in locale now doesn't depend on argument being an instance of Date (#2187) 2022-04-29 09:54:29 +01:00
Gordon Williams
c2b7260a25
Merge pull request #2187 from alessandrococco/locale-patch-1
[locale] Fix default dow and month functions
2022-04-29 09:53:18 +01:00
Gordon Williams
4300404395 changelog for https://github.com/espruino/Espruino/pull/2184 2022-04-29 09:51:19 +01:00
Gordon Williams
cfb952f84b
Merge pull request #2184 from rigrig/b1-submenu
Bangle.js1: add submenu to E.subMenu
2022-04-29 09:50:18 +01:00