summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-11-29apps: alarm: Adopt 2-bit RLE for the iconDaniel Thompson
The long term plan is to retire and remove the 1-bit RLE code from wasp-os so we don't want new icons using that encoding. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-29apps: alarm: Add Alarm application based on the new alarm systemSiroj42
Signed-off-by: Joris Warmbier <siroj42@t-online.de>
2020-11-29docs: Makefile: Turn sphinx warnings into errorsDaniel Thompson
Currently patches that break the documentation build are not triggering CI failure. Fix this. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-29sphinx: icons: Get the doc build working againDaniel Thompson
Fixes: 393dfefc86be ("apps: pager: notifications: Added remove all notifications dialog") Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-29apps: pager: notifications: improve swipe handlingDaniel Thompson
Currently the swipe handling added for the confirmation view has a number of prolems: it does not work at all for multi-screen notifications, it interferes with the haptic feedback if we keep swiping down and an up swipe incorrectly dismisses whole notification app. Fix these. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-29apps: pager: notifications: dismiss confirmation view on app exitDaniel Thompson
Currently the confirmation view remains active when we switch away from the notification view. Ensure we dismiss when we background the application. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-29apps: pager: notifications: fix handling of touch messagesDaniel Thompson
Currently there are detailed hit boxes in the confirmation view widget but any inaccurate hit is treated as No anyway by the notification app. Additionally selecting 'No' dismisses the whole notification app rather than just the confirmation view. Fix the event handling so that we ignore touches outside the hit box and only dismiss the whole notification app if we actually clear the notifications. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-29widgets: ConfirmationView: Allow the widget to manage its own visibilityDaniel Thompson
When the buttons are pressed then the widget should be dismissed. There is no reason to make the caller handle that. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-29apps: pager: notifications: Fix typo in clear notification messageDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-29apps: pager: notifications: Added remove all notifications dialogAidan Houlihan
Signed-off-by: Aidan Houlihan <aidandhoulihan@gmail.com> [daniel@redfelineninja.org.uk: Minor changes to .gitignore] Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-26apps: settings: Avoid circular dependancies during app initDaniel Thompson
wasp.system cannot be safely be used from app __init__ methods. Move the initial value settings to the foreground method instead. Fixes: b1326e16092b ("apps: settings: Fix initial slider value") Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-26apps: settings: Fix initial slider valuekozova1
When the Settings app is launched, it shows the "Mid" text (this is correct), but the slider is at the lowest position. After moving the slider it functions correctly, so this fix is mostly cosmetic. Signed-off-by: kozova1 <mug66kk@gmail.com>
2020-11-26Add wget to build dependenciesMaarten de Jong
Signed-off-by: Maarten de Jong <accounts@arteeh.com>
2020-11-26docs: contributing: Add a simple style guideDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-26README: Add links to the official IRC channelDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-22docs: install: Update install requirementsDaniel Thompson
Some of the new reloader features require additonal python modules. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-22widgets: clock: Improve the redraw logicDaniel Thompson
Currently if we wake the watch exactly N hours (where N is integer) after it goes to sleep then the time will not be updated. Fix this the obvious way. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-22docs: Wordsmtithing updates after reviewDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-22apps: music: Add to application indexDaniel Thompson
Additionally we rename the screenshot to conform to the naming convention (app.NAME + 'App.png') used for simulator screenshots. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-14[pinetime,p8,k9]: Show when main.py is runningDaniel Thompson
This is yet another step towards making the role of main.py more obvious. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-14apps: testapp: Add an alarm testDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-14docs: install: Update for newer PineTime devicesDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-14apps: steps: Use the alarm system to reset the step counter at midnightDaniel Thompson
This is way better than zeroing it the first time in the day we use the step counter! Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-14manager: Implement alarm callbacks for applications to useDaniel Thompson
Create a simple time queue where actions (functions or bound methods) can be queued against the real time clock. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-12simulator: Enable the music app in the simulatorDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-12icons: Optimize flash size of the music player iconsDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-12apps: music: Fix double track name bugDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-12apps: Add music player app with GadgetBridge supportCarlosgg
Signed-off-by: Carlos Gil <carlosgilglez@gmail.com> [daniel@redfelineninja.org.uk: fix regressions on simulator, disable by default (for now) on real hardware and remove a couple of whitespace changes to existing files] Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-11hrs3300: Defer initialization until the HRS is usedDaniel Thompson
This means hardware failure won't cause the initial boot to fail. This won't stop the heart rate app from crashing when it starts up but at least it will give a comprehensible crash report. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-11TODO: Minor clarificationDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-11reloader: Rewrite the splash screenDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-11micropython: Update to micropython 1.13Daniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-08TODO: Update to reflect current statusDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-08README: Updated the device listDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-08tools: rle_encode: Add support for rendering 2-bit RLEs to C srcDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-08docs: Add an Application Library chapterDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-08docs: install: Fix error message during documentation generationDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-08docs: refman: Add the fibonacci clock to the reference manualDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-07Update prereqs for mcuboot imgtool.pyDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-07Merge branch 'master' of https://github.com/daniel-thompson/wasp-osDaniel Thompson
2020-11-07reloader: Add support for newer PineTime factory firmwareDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-06docs: update building from source apt dependenciesSergio Schvezov
The softdevice make target requires unzip Signed-off-by: Sergio Schvezov <sergio.schvezov@ubuntu.com>
2020-11-06actions: Replace the matrix buils with the makefile dist ruleDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-06Makefile: Avoid grabbing lots of pointless submodulesDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-06Added GitHub Actions supportPanagiotis Vasilopoulos
- This workflow caches both the Python modules, as well as the arm-none-eabi toolchain itself, in order to save resources and time. - This workflow is meant to imitate the building instructions as closely as possible for every board. After the workflow compiles wasp-os for a specific board, it will package the following in separate archives (per board): - the reloader - the bootloader (both the standalone and the DaFlasher variations) - a copy of MicroPython - a copy of the documentation - the additional tools that are necessary for interacting with devices running on wasp-os Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2020-11-04hex2c.py: Adopt a maximum chunk sizeDaniel Thompson
Large segments will be chunked into 32K blocks to they can be handled seperate. Creating a maximum chunk size allows us to perform a few tricks in the reloader by allowing us to overwrite parts of the reloader whilst it is running! Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-11-04manager: Introduce shared "system bar"Daniel Thompson
Providing a status bar for all apps to use allows us to reduce allocations within the applications. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-25apps: fibonacci clock: Updates to structure like clock appDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-25apps: clock: Simplify and increase commentingDaniel Thompson
The main simplification is to adopt the status bar (with the status bar clock disabled) and to restructure the way draw and redraw are handled. Since the clock application is one of the most popular to customize it has also had extensive commenting added to describe how it works. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2020-10-21apps: steps: Switch over the status bar widgetDaniel Thompson
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>