summaryrefslogtreecommitdiff
path: root/wasp
AgeCommit message (Collapse)Author
2020-04-10wasp: draw565: Fix colors when burst filling a line.Daniel Thompson
2020-04-10Merge branch 'master' of https://github.com/daniel-thompson/wasp-osDaniel Thompson
2020-04-10Merge pull request #7 from salcedo/masterDaniel Thompson
wasp: pinetime: Release SPI NOR from deep power-down
2020-04-08wasp: draw565: Optimize the 2-bit RLE drawing functionsDaniel Thompson
There's a bunch of different changes here but there are only really three big wins. The biggest win comes from restructuring the 2-bit RLE decode loop to avoid the inner function (~20%) but the switch to 16-bit writes in _fill() and adoption of quick_write (e.g. no CS toggling) are also note worthy (and about 5% each).
2020-04-06wasp: testapp: Add RLE drawing benchmarks.Daniel Thompson
2020-04-06wasp: launcher: Experimental launcher implementationDaniel Thompson
It is not really the launcher itself that is immature. Rather that the framework and UI concepts to move between applications isn't complete yet.
2020-04-06wasp: simulator: Optimize the drawing processDaniel Thompson
This makes per-pixel access more than double the performnace of a regular pixelview (but at the expense of requiring numpy).
2020-04-06wasp: draw565: Add 2-bit RLE decoderDaniel Thompson
2020-04-06wasp: widgets: Add a scrolling indicatorDaniel Thompson
As we enrich the navigation options we will increasinly need to visualize between apps where up/down will switch us between rings and there up/down is needed to scroll through content.
2020-04-06wasp: testapp: Add an option to force an exceptionDaniel Thompson
We will shortly be adding machinary to handle application errors more gracefully. This is a useful way to force an application error!
2020-04-06wasp: manager: make sleep() and background() callbacks optionalDaniel Thompson
Making callbacks optional reduces pointless boilerplate in applications.
2020-04-06wasp: vibrator: Better default for pulseDaniel Thompson
These defaults are good for giving quick UI feedback.
2020-04-06wasp: Manager: Parameterize the keep awake timerDaniel Thompson
This might be a reasonable preference for the setings but, more importantly, we can also set blank_after to very high values to ensure the watch doesn't sleep during the voice over in videos!
2020-04-06wasp: Rename Debounce to PinHandlerDaniel Thompson
Debounce was a lousy name...
2020-04-06wasp: simulator: Swap up/down and left/rightDaniel Thompson
This gives the simulator a more natural feel since the "swipe left" action usually means "more a screen to the right". This will probably make testing games impossible but makes it much easier to navigate the menus.
2020-04-06wasp: draw565: Allow the drawing context to be resetDaniel Thompson
The main reason to reset the drawing context is so that it can be reset before we call foreground() on an application.
2020-04-06wasp: Add button presses to the event system.Daniel Thompson
Here the biggest changes are in the test application because we refactor a number of the tests to make better use of the button. Although applications may consume button events it does have a default behavior which is to switch to the default application (usually the clock).
2020-04-06apps: Remove unused support for effect animationDaniel Thompson
After a bit of testing I have not yet come up with a fast, visually acceptable horizontal animated effect. Instead we simply reply on screen blanking during the redraw... meaning there is no need for an effect hint.
2020-04-06wasp: Get the terminology straightDaniel Thompson
As it turned out Direction was only a Direction because there were things missing from the enumeration!
2020-04-06wasp: Factor out the sleep/wake codeDaniel Thompson
Pulling this out into a method allows it to be called by an application.
2020-03-26wasp: Add support for brightness caching and keep-awake signallingDaniel Thompson
2020-03-26wasp: Major documentation string improvements.Daniel Thompson
2020-03-26wasp: Move the constants into seperate container classesDaniel Thompson
2020-03-22Add licensing information for all wasp-os files.Daniel Thompson
2020-03-22Rename manager.py and expose its interfaces to all applicationsDaniel Thompson
This is a big change that break compatiblity with existing applications *and* with existing installed versions of main.py. When upgrading it is import to update main.py: ./tools/wasptool --upload wasp/main.py
2020-03-15wasp: pinetime: Release SPI NOR from deep power-downBrian Salcedo
2020-03-13wasp: Rotate the swipe UI by 90 degreesDaniel Thompson
This is something of an experiment but now the app roll is traversed using horizontal swipes and applications should primarily use vertical swipes to navigate internally. This is mostly because if "feels" better but it also leaves the vertical scrolling hardware available for use by the app.
2020-03-09fonts: sans24: Minor refactor to reduce memory allocationDaniel Thompson
This is a useful but modest optimization (maybe 3% in string rendering.
2020-03-09drivers: st7789: Automatically park ready for the next call to write dataDaniel Thompson
This makes line-by-line drawing more efficient because don't have to handle the dc line. The optimization targets font rendering and if good for slightly less than 10% rendering improvement.
2020-03-09draw565: Optimize the font renderingDaniel Thompson
This is a big one... more than 4x increase in font rendering performance!
2020-03-09wasp: draw565: Refactor to allow apps to focus on the drawable.Daniel Thompson
2020-03-08wasp: Re-factor how Draw565 is used.Daniel Thompson
Moving it from applications into the watch is useful for two reasons. Firstly it means applications don't need to know as much about the display color depth and secondly it makes it easier to replace the drawing routines with wasptool.
2020-03-08testapp: Smoother transitions between testsDaniel Thompson
2020-03-08testapp: Show the render time for the string testDaniel Thompson
2020-03-08wasp: testapp: Extend with a string render testDaniel Thompson
2020-03-08wasp: manager: Blankt the display during app transitionsDaniel Thompson
2020-03-08drivers: cst816s: Minor tweaks to the generated documentation.Daniel Thompson
2020-03-08docs: Increase the scope of the documentationDaniel Thompson
We now generate documentation for everything included in the PineTime manifest (although, at this stage, not everything in the manifest has all the required docstrings).
2020-03-08wasp: Move the apps into their own directory.Daniel Thompson
2020-03-08wasp: Integrate the touch driverDaniel Thompson
At this point we are starting to bring an event model for applications but there's still a long way to go!
2020-03-07wasp: manager: Start refining the application interfaceDaniel Thompson
This is the first step in starting to formalize the seperation of applications from the system manager.
2020-03-07wasp: simulator: Add CST816S simulationDaniel Thompson
2020-03-07drivers: nrf_rtc: Add a higher res monotonic timerDaniel Thompson
2020-03-07wasp: pinetime: Enable the cst816s by defaultDaniel Thompson
2020-03-07drivers: cst816s: Decouple from the watch moduleDaniel Thompson
2020-03-06wasp: cst816s: Initial PoC driverDaniel Thompson
2020-02-23wasp: draw565: Add some docstringsDaniel Thompson
2020-02-23wasp: clock: Add some docstringsDaniel Thompson
2020-02-23docs: Fix some errors in the sphinx boardDaniel Thompson
2020-02-23clock: Reduce the update rate of the battery meterDaniel Thompson
In addition to the fix (which is simple) we also modify the button handling of the simulator because, rather by acident, it relies on the bugs in the battery meter redraw to ensure the simulator stays active.