1
0
Commit Graph

222 Commits

Author SHA1 Message Date
Patrick Gaskin
8ada23e16d Implemented experimental:menu_main_15505_label option (closes #88) (#91) 2020-08-28 14:26:12 -04:00
Patrick Gaskin
851ac584b2 Implemented experimental options (closes #87) (#90) 2020-08-28 12:44:15 -04:00
Patrick Gaskin
2e44140f61 Removed deprecated nickel_open:library:library2 action (closes #81) (#89) 2020-08-28 12:40:49 -04:00
Patrick Gaskin
9f49a292c0 Cleaned up some headers 2020-08-27 12:37:21 -04:00
Patrick Gaskin
8fc69ad965 Refactored menu locations to use macros the same way as action/generators 2020-08-27 02:15:47 -04:00
Patrick Gaskin
d654aa2af4 Refactored menu types into separate header 2020-08-27 02:13:34 -04:00
Patrick Gaskin
04aa20bf9b Updated last tested version in docs 2020-08-27 01:58:23 -04:00
Patrick Gaskin
eca12f0b2c Improved comments for some functions loaded from libnickel 2020-08-12 18:18:18 -04:00
Patrick Gaskin
6a23d1c12e Added hook to add a main menu button to the bottom tab bar in 4.23.15505+ (closes #78) (#85) 2020-08-11 20:14:34 -04:00
Patrick Gaskin
a70d09dd9e Updated actions for compatibility with 4.23.15505 (closes #79) (#83)
- Updated documentation for nickel_orientation action.
- Updated documentation for nickel_browser action.
- Updated nickel_open:library:* action.
- Updated nickel_misc:home action.
- Updated symbol tests for 4.23.15505.
2020-08-11 19:57:12 -04:00
Patrick Gaskin
da4b55e4e1 Made nickel_open:library:library identical to library2 (#79) (#81) (#82)
Also removed library2 from docs.
2020-08-11 19:04:20 -04:00
Patrick Gaskin
e988f02fd3 Fixed symbol test upper version limit 2020-08-11 14:03:59 -04:00
Patrick Gaskin
d34ba44af9 Added 4.22.15268 to symbol tests 2020-08-11 14:03:59 -04:00
Patrick Gaskin
1ac3706ac4 Fixed parsing browser and library locations for generators (fixes #80)
8fb56eacdd (#74)
141333c402 (#75)
2020-08-11 14:03:40 -04:00
Patrick Gaskin
92e5813a77 Removed outdated info from documentation
"You will need to reboot to see any changes." is irrelevant since afa1012cf7.
2020-08-10 18:02:05 -04:00
Patrick Gaskin
39b19654fc Implemented auto_usb_gadget for nickel_setting (closes #76) (#77) 2020-08-09 21:26:39 -04:00
Patrick Gaskin
65fbea2c49 Updated version in docs 2020-08-05 21:20:43 -04:00
Patrick Gaskin
300f11ddad Implemented nickel_orientation action (closes #67) (#70) 2020-08-05 19:31:39 -04:00
Patrick Gaskin
6ee67452a2 Updated NickelHook
pgaskin/NickelHook@0ae9d9f9f7 Implemented safer file deletion helpers
2020-08-05 01:36:57 -04:00
Patrick Gaskin
afa1012cf7 Moved nickel_misc:rescan_books_full example to the library menu 2020-08-05 01:27:38 -04:00
Patrick Gaskin
141333c402 Implemented library menu location (closes #72) (#75) 2020-08-05 01:25:51 -04:00
Patrick Gaskin
c8ce8462a5 Fixed unreleased regression in 8fb56eacdd 2020-08-05 01:12:52 -04:00
Patrick Gaskin
6afc98d5c7 Added some examples for the browser menu 2020-08-05 01:01:27 -04:00
Patrick Gaskin
8fb56eacdd Implemented browser menu location (closes #71) (#74) 2020-08-05 00:54:35 -04:00
Patrick Gaskin
397964e761 Fixed an inconsequential macro argument typo for vtable_ptr 2020-08-04 23:56:44 -04:00
Patrick Gaskin
f813e90767 Updated NickelHook
pgaskin/NickelHook@4ec422125c Defined variables for more tools from NickelTC
2020-08-04 15:31:36 -04:00
Patrick Gaskin
d25dbc8d6f Fixed typo in nickel_setting documentation 2020-08-04 14:48:13 -04:00
Patrick Gaskin
1d61ddf16b Implemented power:sleep action (closes #69) 2020-08-04 11:36:02 -04:00
Patrick Gaskin
e7646a6502 Added information about using NM with other software (#65) 2020-08-03 16:21:02 -04:00
Patrick Gaskin
905c1bcd18 Added note about the documentation file being replaced (#65) 2020-08-03 16:03:32 -04:00
Patrick Gaskin
7a372616bf Added NM_CONFIG_DIR option to the Makefile (closes #68)
This should not be used in most cases, as it will break compatibility with
existing mods which depend on adding a config to NM. This option is meant as a
better option than find/replace for people who do private builds of NM for
themselves and want to change the config dir.

It will also affect the path used for installing the documentation and shown in
the default menu item.
2020-08-03 15:59:28 -04:00
Patrick Gaskin
667208e8d5 Cleaned up unused includes 2020-07-27 21:33:49 -04:00
Patrick Gaskin
52a4333eb2 Changed strerror to %m in format specifiers 2020-07-27 21:29:30 -04:00
Patrick Gaskin
80409bf294 Added note about embedding NM to the docs 2020-07-27 11:29:22 -04:00
Patrick Gaskin
b4b86fbb37 Refactored common hook code into new NickelHook library (#64) 2020-07-27 11:11:58 -04:00
Patrick Gaskin
2cfb51ac0d Fixed minor memory regression in #62
The line was being freed before the error is set.

Fixes 6329328daf.
2020-07-21 18:33:55 -04:00
Patrick Gaskin
6329328daf Refactored error handling (#62)
Instead of using and checking malloc'd error strings formatted with asprintf and passed through a pointer in function arguments, use a global thread-local statically allocated error buffer with functions to set and get it.

This is more efficient, less error-prone, and easier to use than the old method, especially now that NM is larger (meaning that errors are returned through multiple layers) and parts of it are re-used in other things.
2020-07-21 17:47:22 -04:00
Patrick Gaskin
5a6ae2b462 Removed support for loading using LD_PRELOAD (#63)
It hasn't been used except for before the initial release, and it's more likely
to cause odd issues when parts of NM are reused by other mods.
2020-07-20 18:39:13 -04:00
Patrick Gaskin
fb080e031f Updated build instructions in README 2020-07-18 20:35:20 -04:00
Patrick Gaskin
57df60b72d Updated GitHub username 2020-07-14 16:24:19 -04:00
Patrick Gaskin
a9ad448a35 Updated tested firmware versions in docs 2020-07-08 14:40:28 -04:00
Patrick Gaskin
d530970ba6 Improved wording of documentation 2020-07-03 13:44:46 -04:00
Patrick Gaskin
13e9485e31 Fixed incorrect setting name in setting change toast (fixes #61)
This is a regression in v0.2.0 from cb2caff551.
2020-07-03 13:42:13 -04:00
Patrick Gaskin
ec8c685e1f Fixed outdated example in docs 2020-07-02 14:13:18 -04:00
Patrick Gaskin
cb2caff551 Improved extensibility of nickel_setting, split browser stuff into nickel_browser action (closes #59) (#60)
* Split browser actions from nickel_extra into nickel_browser

* Improved extensibility of nickel_setting action

Instead of nickel_setting:<setting> for toggling a setting and
nickel_setting:<setting>:<bool> for setting it explicitly, use
nickel_setting:<action>:<setting>.
2020-07-02 00:25:00 -04:00
Patrick Gaskin
7019745ff7 Fixed minor formatting issue in action.c 2020-06-29 07:58:21 -04:00
Patrick Gaskin
e89eb83869 Fixed reloaded config only propagating to new menus or the first existing one (fixes #57) (#58)
Instead of returning a bool from `nm_global_config_update` indicating whether
the menu items were modified, return an int indicating the current config
revision which can then be compared against one stored as a property of the
menu.

This issue was found by @jackiew1. See #56 for more details.

This fixes an issue in ee0eb7ccf7 (#47).
2020-06-26 09:26:44 -04:00
Patrick Gaskin
ea1c43b6a1 Implemented generator updates (closes #54) (#55) 2020-06-23 17:05:22 -04:00
Patrick Gaskin
40f27b37aa Updated symbol tests for 4.22.15190 2020-06-23 15:25:26 -04:00
NiLuJe
d0d169769b Hide (nearly) all symbols by default (#40)
https://github.com/geek1011/kobo-plugin-experiments/issues/9#issuecomment-642324579
2020-06-23 03:37:00 -04:00