Commit graph malamar/src/config.h
Author SHA1 Message Date
Ash Logan
ea71879bb1 chore: Introduce common directory to deduplicate shared code 2024-11-21 13:19:06 +11:00
Daniel López Guimaraes
68bc066c7b feat: Add translation for module not found errors 2024-11-21 12:50:38 +11:00
Daniel López Guimaraes
7958373394 feat: Improvements in module exports
Add new `Inkay_GetStatus` which can be used for retrieving the status of
the module. Also add better handling of module initialization, and show
a notification from the plugin if the module can't be found.
2024-11-21 12:50:23 +11:00
Daniel López Guimaraes
f4aeee8034 feat!: Split Inkay into a module and a plugin
This is necessary for a future Aroma feature. This also makes more clear
the immutability of the patches that Pretendo requires, since they
cannot be reverted easily.

All patching code is now managed inside the module, which the plugin
triggers by calling an exported function from it. The WWP reset code
remains within the plugin as it isn't strictly tied to the patches.
2024-11-21 12:49:16 +11:00
Ash Logan
cc967126fe feat(p2p): Show p2p port in the config menu
with love to my weblate people
2024-11-17 23:59:26 +11:00
Ash Logan
1d1e094257 feat(i18n): Move NN/PN messages to main config_strings struct 2024-10-02 23:46:35 +10:00
Ash Logan
aedd02b0d1 chore(config): Switch to string_view for translated strings
Elides about 100 strlen calls by allowing the length to be calculated at compile time

ofc the WUPS backend doesn't USE this info but, y'know.
2024-08-04 18:15:26 +10:00
Ash Logan
695a077ebd chore: Run code formatter across project
this is the CLion formatter since I haven't set up clang-format for Inkay yet
2024-05-28 16:36:39 +10:00
TraceEntertains
b02db3f20b
feat!: Support for newer Aroma releases (#28)
* Fix aroma beta 17 incompatibilities (no network notification, no unregister boss tasks), and fix debug logger

* Update Dockerfile

* Fix logger.h

* Simplify notifcations

* Init nn::boss::Task

* Small fixes for the storage/config API usage

* Do a bunch of stuff, wish I knew what I did but I honestly forgot most of it (this is not considered a 100% functional commit

* Remove remnants of has_displayed_popup variables (not needed anymore)

* More notifications stuff

* Even more notifications stuff

* Fix notifications (yay) (thanks maschell)

* Disable debug by default

* Fix compiler warnings

* Update some stuff, cant test have to go

---------

Co-authored-by: Maschell <Maschell@gmx.de>
2024-05-13 15:45:43 +10:00
EpicUsername12
96f9caa5c9 Add new configuation for BOSS tasks 2023-06-13 06:47:08 +02:00
Ash Logan
38e9322e0a Merge PR #6
plus some fixes

commit f1e715336f3f7bccbe01b2fb3883fd965f75ee76
Author: Ash Logan <ash@heyquark.com>
Date:   Sat Dec 10 14:00:43 2022 +1100

    config: move to own file

    get it outta here! I don't wanna see it!

commit 386874e1c468db44f378a3269ca79dde9cc86883
Author: scatterbrain <119330240+kurbus@users.noreply.github.com>
Date:   Fri Dec 9 21:19:28 2022 -0500

    skipPatches to connect_to_network (#6)

    * baseline for fix

    Make config more readable

    * change skip patches to connect to network

    for clarity. Nice C code, by the way.

    * scratch that

    number 15, diarrhea
2022-12-10 14:01:54 +11:00