1
0
Fork 0
Commit Graph

652 Commits (jebbatime)

Author SHA1 Message Date
ml server 0c1d959b28 flash with build 2021-06-12 15:50:30 -06:00
ml server 7dc9995465 dev flash uses build image, not release 2021-06-12 15:31:29 -06:00
jebbatime build server a493df75a1 deps script, build dir... 2021-06-12 15:26:47 -06:00
ml server acbb2820a8 right console 2021-06-12 15:19:17 -06:00
ml server f359a42955 console scriptlets 2021-06-12 15:17:07 -06:00
jebbatime build server 41e0475c93 Set time scriptlets 2021-06-12 15:14:59 -06:00
jebba e89f23efe3 ntpdate 2021-06-12 15:03:33 -06:00
jebbatime build server 9b0e9c8308 reset scriptlets 2021-06-12 15:02:40 -06:00
jebbatime build server a312638fe9 brightness scriptlets 2021-06-12 15:01:10 -06:00
jebbatime build server 82297534dc battery scriptlets 2021-06-12 14:58:49 -06:00
jebbatime build server 05f00659f1 checktime scriptlets 2021-06-12 14:57:35 -06:00
jebbatime build server 32e1b8b5fd disconnect scriptlets 2021-06-12 14:55:26 -06:00
jebbatime build server d2001dc84b connect scriptlets 2021-06-12 14:53:40 -06:00
jebba 5e2a513b02 bluez 2021-06-12 14:51:55 -06:00
jebba e5ae058bca Merge branch 'jebbatime' of spacecruft.org:jebbatime/jebbatime into jebbatime 2021-06-12 14:51:31 -06:00
jebba 1cc4505f06 bluez 2021-06-12 14:51:08 -06:00
jebbatime build server e7e7dd4f9d build scriptlet 2021-06-12 14:49:08 -06:00
jebba 24147b141c 5min 2021-06-12 14:47:20 -06:00
ml server c6963b2ced git root 2021-06-12 14:42:19 -06:00
ml server 886f4d9b37 add flasher script 2021-06-12 14:38:58 -06:00
ml server 01762ca9dd Flash dev watch script 2021-06-12 14:30:25 -06:00
ml server 3e78d5baa4 config 2021-06-12 14:09:49 -06:00
jebba 2d2b7e005a use config 2021-06-12 14:08:19 -06:00
jebbatime build server 735df86e75 sample config 2021-06-12 14:07:10 -06:00
jebbatime build server aa56655de1 jebbatime 2021-06-12 13:49:52 -06:00
jebbatime build server 40655b78ac lobstertwobold64 2021-06-12 13:42:09 -06:00
jebbatime build server 6d3c3c2b5f lobstertwobold to python 2021-06-12 13:37:36 -06:00
jebba c3a73d198a Font mini-howto 2021-06-12 13:36:33 -06:00
jebba 84bca0a5ec python3-ecdsa dep 2021-06-12 13:32:54 -06:00
jebba 41ac6ac144 compile 2021-06-12 13:21:25 -06:00
jebba d648c79667 deps 2021-06-12 13:11:44 -06:00
jebba 9cd0ea8630 setup, deps 2021-06-12 12:51:15 -06:00
jebba 36076a129a use spacecruft mirrors for git submodules 2021-06-12 12:05:56 -06:00
jebba 968c0da215 readme stub 2021-06-12 11:53:48 -06:00
Daniel Thompson fb18705b9b manager/rtc: Experimental power saving technique
Currently the time is calculated 8 times per second from (relatively) slow
python code. Optimize the power consumed by reducing the number of times
we check for wall time updates to only once-per-second and use native
code generation to reduce VM overhead when executing this critical code.

At the time of writing the difference is battery life has not yet been
measured (but we know the current master branch is worse than v0.4 and,
in theory at least, this should close the gap).

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-06-04 10:49:33 +01:00
Daniel Thompson 4ad8273902 draw565: Fix bounding box calculations
wasp-os uses an drawing optimization technique to automatically place
a single pixel line on the right of glyphs when rendering them. This
results in a change to the bounding box for a rendered string (by adding
a single pixel on the right of the final character). Fix the bounding box
calculations accordingly. Among other things this eliminates graphical
artifacts when rendering labels in 2048.

Fixes: #203
Fixes: 58b5c0378e ("draw565: Optimize the string drawing")
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-06-04 10:46:25 +01:00
Tait Berlette 1115ac2fff MemoryError exception now shows custom message instead of CrashApp.
Signed-off-by: Tait Berlette <54515877+taitberlette@users.noreply.github.com>
2021-06-03 21:45:24 +01:00
Tait Berlette 9ded8e28a6 Added weather application.
Signed-off-by: Tait Berlette <54515877+taitberlette@users.noreply.github.com>
2021-06-03 21:43:38 +01:00
Daniel Thompson e76a4afd85 manager: Improve application registration
When an application is registered using a string that gives the class
name (e.g.  "apps.chrono.ChronoApp") when we automatically delete
the module from a couple of namespaces. This ensures the garbage
collector can do a deeper clean when the application is unregistered.

We also provide a means to directly register watch faces (e.g. to
replace the default clock).

Fixes: #214
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-06-03 19:57:09 +01:00
Daniel Thompson 0d385b8dc5 Makefile: Create .zip distributions as well as a tarball
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-06-03 19:56:28 +01:00
Daniel Thompson 06e3f05ef9 reloader: Update to newer factory firmware for pinetime
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-06-03 17:09:32 +01:00
Daniel Thompson 92812e5ad2 apps: heart: Implement a debug mode to copy out raw data
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-05-05 21:06:39 +01:00
Daniel Thompson 3bbd808115 wasptool: Fix progress bar numbering
Currently direct callers of draw_pbar() can have 20 or more digits after
the decimal place. Fix this by moving the rounding function.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-05-05 21:02:16 +01:00
Daniel Thompson 69a989b97e apps: testapp: Force characters to render with a not-black background
This helps pick up any problems with the glpyh rendering.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-03-29 22:17:27 +01:00
Daniel Thompson 58b5c0378e draw565: Optimize the string drawing
Currently there is a redundant fill operation issued for every character
drawn. This was added to draw the background colours correctly but the
change did not account for the optimized character rendering in
_draw_glyph().

This results in ~15% performance improvement for character rendering

Fixes: cc34c5d46d ("draw565: Fix wrong background color of strings")
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-03-29 22:16:43 +01:00
thefenriswolf ed3f1c1e71 fonts: add 18pt font
Signed-off-by: thefenriswolf <stefan.rohrbacher97@gmail.com>
[daniel@redfelineninja.org.uk: fixed up the manifest]
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-03-28 08:59:25 +01:00
Benoît HERVIER 7aa2ceb05b apps: Add DualClock app.
Signed-off-by: Benoît HERVIER <b@rvier.fr>
[daniel@redfelineninja.org.uk: Removed unused dual clock fonts from
clock_dual.py, fixed up the manifest]
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-03-27 09:41:54 +00:00
Tait Berlette 79744770b0 apps: music: Change SWIPE_LEFTRIGHT to SWIPE_UPDOWN.
The music player volume control uses up and down events, but in the
foreground function the app requests left and right events.

Signed-off-by: Tait Berlette <54515877+taitberlette@users.noreply.github.com>
2021-03-27 09:08:36 +00:00
thefenriswolf d966c960c1 wasptool: add --battery to check battery level
Signed-off-by: thefenriswolf <stefan.rohrbacher97@gmail.com>
2021-03-27 09:03:14 +00:00
Daniel Thompson 402801c538 draw565: Avoid over-long lines when handling space
Currently, if the line wrapper attempts to break a line on a space and
that space character is outside the bounding box, then we generate an
over-long line.

Fix this by handling line break generation *after* we have checked the
length of the current line.

Fixes: #193
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-03-22 08:29:06 +00:00