1
0
Fork 0
Commit graph

711 commits

Author SHA1 Message Date
Francesco Gazzetta
bf07f0cf55 tools/nix: fix wasptool
Fixes "ImportError: cannot import name GLib, introspection typelib not found"

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2024-09-30 09:26:53 +01:00
Francesco Gazzetta
6e1c422ff9 ci: update more github actions
Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2024-09-30 09:26:16 +01:00
Francesco Gazzetta
faa18b7129 tools/pynus: Update to latest version
Includes NixOS fix

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2024-09-30 09:25:38 +01:00
Francesco Gazzetta
6ca5d75ffa Add some missing files to make clean
Mitigates #506. Now a `make clean && make` will update any modified app.

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2024-09-30 09:25:00 +01:00
Francesco Gazzetta
10692602f5 CI: update upload-artifact
https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2024-09-25 19:26:45 +01:00
Gary Myers
24dcb62fdb
docs: fix simulator main.py path (#482)
Signed-off-by: GaryM0101 <gary@geekslounge.com>
2024-08-07 14:48:18 +00:00
Gary Myers
7d156cdc05
docs: Document installation via Gadgetbridge (#480)
Signed-off-by: GaryM0101 <gary@geekslounge.com>
2024-08-05 20:34:56 +00:00
Gary Myers
ce1a2634f0
docs: document how to save RAM by disabling apps (#471)
Signed-off-by: GaryM0101 <gary@geekslounge.com>
2024-08-05 20:34:36 +00:00
Francesco Gazzetta
fbf00957dd Fix build up to GCC 13
The errors cannot be disabled individually because the
-Wno-error=some-gcc13-error flags are not recognized by older compilers.

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2024-06-28 09:37:46 +01:00
Francesco Gazzetta
1798bc6eea bma42x-upy: update submodule
The remote of its submodule disappeared. Update it to a fork under
the wasp-os organization.

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2024-06-28 09:30:14 +01:00
Francesco Gazzetta
749fe3432f Pin GCC 11 in nix shell
Some checks failed
wasp-os binary distribution / build (push) Has been cancelled
wasp-os simulator tests / build (push) Has been cancelled
Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2024-04-22 12:34:34 +01:00
Daniel Thompson
089cb04f25 README.rst: Reorganize the IM material in the community section
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2024-01-28 10:56:17 +00:00
jfekete1
89be0be23c added send notification feature
Signed-off-by: jfekete1 <fekete.jozsef@protonmail.com>
2023-10-31 17:12:20 +00:00
Francesco Gazzetta
8b7c707ffe docs: fix rendering of app lifecycle graph
Fixes #477

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2023-10-30 15:19:54 +00:00
Francesco Gazzetta
396d03d036 Add recommonmark to docs requirements
Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2023-10-30 15:19:54 +00:00
Tony Robinson
a2e352229a Missed a comment update
Signed-off-by: Tony Robinson <tony@tonyRobinson.com>
2023-10-07 09:43:54 +01:00
Tony Robinson
f80cbf4d75 Adding a Resistor Colour code watch face.
Signed-off-by: Tony Robinson <tony@tonyRobinson.com>
2023-10-07 09:43:54 +01:00
Tony Robinson
b6a359a6b8 Fixing the typos mentioned in https://github.com/wasp-os/wasp-os/pull/451#pullrequestreview-1643503275
Signed-off-by: Tony Robinson <tony@tonyRobinson.com>
2023-10-07 09:43:30 +01:00
Tony Robinson
0299ba6689 Adding a Four In A Row app (08Sep23)
This replaces #446 which was FUBAR

Signed-off-by: Tony Robinson <tony@tonyRobinson.com>
2023-10-07 09:43:30 +01:00
Tony Robinson
ae4230a6d7 Small change to fill() to exit early if there is nothing to do.
This avoids running unnessary code and avoids a bug in set_window().

Signed-off-by: Tony Robinson <tony@tonyRobinson.com>
2023-10-07 09:04:51 +01:00
Francesco Gazzetta
b32787e5ea docs: contributing: use --force-with-lease instead of --force
It's a little less destructive

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2023-10-03 15:29:30 +01:00
Daniel Thompson
a5a1537e38 docs: contributing: Add a --force to the DCO update guidance
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2023-10-03 11:38:53 +01:00
Francesco Gazzetta
b7d772db8e Add .readthedocs.yaml
It is now mandatory
https://blog.readthedocs.com/migrate-configuration-v2/

Also fixes empty app library in rtd.

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2023-09-27 15:52:59 +01:00
thiswillbeyourgithub
43eb3f3980 Update tools/wasptool
Co-authored-by: Francesco Gazzetta <fgaz@fgaz.me>
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com>
2023-09-27 13:07:21 +01:00
olivier-cornelis
ee257d6ade new: allow to specify local name of file when using wasptool pull with argument 'as'
Signed-off-by: olivier-cornelis <klduycea@mailer.me>
2023-09-27 13:07:21 +01:00
thiswillbeyourgithub
6a67d9bf9f new: disable ppg light by default on startup
Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.com>
2023-09-27 13:05:53 +01:00
thiswillbeyourgithub
a7c3e68f25 fix: simulator was missing some time functions
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com>
2023-09-26 10:13:55 +01:00
Kyle Evans
9486899f4e wasp: Allow for clearing a tick request
There currently appears to be no way to remove a tick request,
and calling this func without args gives:

    self.tick_expiry = watch.rtc.get_uptime_ms() + period_ms
                       ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'

Signed-off-by: Kyle Evans <kvans32@gmail.com>
2023-08-26 12:44:18 +01:00
Eloi Torrents
410b9da55f Simplify send_cmd in gadgetbridge.py
Signed-off-by: Eloi Torrents <eloitor@disroot.org>
2023-08-26 12:41:51 +01:00
Eloi Torrents
92ffa7cd1c Add 15 Puzzle app
Signed-off-by: Eloi Torrents <eloitor@disroot.org>
2023-08-24 21:19:16 +01:00
thiswillbeyourgithub
f50d03e529 minor: pep8
Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.com>
2023-08-24 10:18:59 +01:00
thiswillbeyourgithub
81e38a85b0 fix: remove any alarm given an action
Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.com>
2023-08-24 10:18:59 +01:00
Tom Chiverton
1ad2ee1d66 draw565: Correct arguments order in polar() docs
Signed-off-by: Tom Chiverton <tomchiverton@users.noreply.github.com>
2023-08-24 10:17:10 +01:00
Francesco Gazzetta
0424efd304 Add nix development shell
Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2023-08-24 10:16:11 +01:00
Francesco Gazzetta
a0a36e9225 Use python -m to run pytest
Not every distro calls it `pytest-3`.
By using `$(PYTHON) -m` we ensure it's coherent with the python install

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2023-06-21 19:14:46 +01:00
thiswillbeyourgithub
f288f441c7
new: add pomodoro app (third trial) (#418)
Add a pomodoro timer

* added pomodoro.py
* added icon
* mention pomodoro in the readme
* updated docstring
* make compatible with lack of get/set attribute
* fix wrong offset when swiping up
* added screenshot* added pomodoro.py

Icon design by Plan5. Thanks!
Co-Authored-By: Plan5

Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.com>
2023-05-16 15:18:49 +01:00
thiswillbeyourgithub
03c16d6c99 feat: remove any alarm given an action
Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.com>
2023-05-16 15:10:14 +01:00
Ayke van Laethem
4ca3a4ef20 docs: fix last PNVRAM address
Signed-off-by: Ayke van Laethem <aykevanlaethem@gmail.com>
2023-05-16 15:09:18 +01:00
Michiel Beijen
41102f3ed4 docs: update link to repo in install documentation
Fixes issue mentioned in https://github.com/wasp-os/wasp-os/issues/415

Signed-off-by: Michiel Beijen <mb@x14.nl>
2023-05-16 15:08:23 +01:00
Francesco Gazzetta
4aeebb4071 Makefile: use CURDIR instead of PWD
https://stackoverflow.com/questions/52437728/bash-what-is-the-difference-between-pwd-and-curdir

Signed-off-by: Francesco Gazzetta <fgaz@fgaz.me>
2023-03-23 08:34:00 +00:00
Adam Blair
e494eab608 Wasp A La carte
Configure wasp using a central toml file

Signed-off-by: Adam Blair <adampblair@protonmail.com>
2023-03-19 15:17:18 +00:00
Adam Blair
b84276b456 Doc update: how to autoload apps in flash
Signed-off-by: Adam Blair adampblair@protonmail.com
2023-03-10 17:41:39 +00:00
Adam Blair
fd030eeff8 Phone finder app
* Added phone finder app that works with Gadgetbridge
* Fixed bug in ToggleButton
* Moved send_cmd from music player to gadgetbridge.py for all apps to use

Signed-off-by: Adam Blair adampblair@protonmail.com
2023-03-10 17:39:51 +00:00
Daniel Thompson
99272f482f tools/pynus: Update to latest version
* Use a more compatible shebang

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2023-01-15 18:16:55 +00:00
Daniel Thompson
8ad72f1fb5
Merge pull request #387 from thiswillbeyourgithub/battery_smoothing
fix: battery level is not reset when charging without rebooting
2023-01-15 14:27:03 +00:00
thiswillbeyourgithub
32da478760 fix: battery smoothing was not reset before rebooting
Signed-off-by: thiswillbeyourgithub <github@32mail.33mail.com>
2023-01-15 15:21:07 +01:00
Daniel Thompson
9b8380433c docs: Update all the github links after the move
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2023-01-10 21:50:02 +00:00
Daniel Thompson
06a21b5e9e gitmodules: Update after migrating the repos to a new org
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2023-01-10 21:45:06 +00:00
Daniel Thompson
d9b9234aa1 contributing: Improve documentation for make check
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2022-10-02 11:08:05 +01:00
Daniel Thompson
c43d9b1a70 simulator: test_qa: Add explicit image size tests
Ensure screenshots are standard sized and that their usage in both
the README and the class docstrings are scaled appropriately.

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2022-10-02 10:49:48 +01:00