Patrick Gaskin
edb551182a
Simplified symbol loading for actions
2020-12-30 20:03:57 -05:00
Patrick Gaskin
ac9f49d20f
Made strtrim static
2020-12-30 19:37:46 -05:00
Patrick Gaskin
1ee3645166
Improved config parser code formatting
2020-12-30 19:37:11 -05:00
Patrick Gaskin
ed39aed175
Fix error handling regressions in the config parser ( fixes #99 ) ( #100 )
...
This fixes a regression in ee0eb7c (#47 ) which caused vague error messages to be
returned instead of specific error messages from nm_config_parse__line_*. These
functions should have returned true on error, but were returning NULL (i.e.
false) instead, causing nm_config_parse to treat it as an unknown line type
instead of returning the specific issue with the line. This regression does not
cause any issues other than vague error messages being returned for certain
errors during config parsing.
In addition, this fixes another regression discovered by @NiLuJe where
configuration errors would persist in rare situations due to nm_config_files not
clearing existing errors as expected. This issue does not happen if the config
error menu item is pressed to see the error message since nm_menu_item_do clears
errors.
2020-12-03 22:12:25 -05:00
NiLuJe
59daa28dcf
Added TLFi example for selection menu substitution
...
Co-authored-by: Patrick Gaskin <patrick@pgaskin.net >
2020-12-03 13:21:37 -05:00
Patrick Gaskin
df652ee98a
Implemented selection menu location for 4.20.14622+ ( closes #93 ) ( #94 )
...
* New selection and selection_search menu locations.
* Argument transformation for selection menu items.
2020-12-03 13:18:51 -05:00
Patrick Gaskin
1f39f64a1f
Updated GitHub token for releases
2020-11-17 01:57:18 -05:00
Patrick Gaskin
666aed3c02
Switched to GitHub Container Registry for NickelTC image
2020-11-15 14:14:23 -05:00
Patrick Gaskin
a25a821e75
Fixed cmd_output newlines not being displayed ( fixes #92 ) ( #95 )
...
ConfirmationDialog uses Qt::RichText for the body text, which causes line
breaks to be collapsed since the text is rendered as HTML. This can be fixed by
using Qt::convertFromPlainText with Qt::WhiteSpacePre.
2020-11-15 12:16:46 -05:00
Patrick Gaskin
437e248c47
Decode result messages as utf-8 instead of latin-1 ( closes #96 ) ( #97 )
...
This change is fully backwards-compatible.
2020-11-14 22:23:27 -05:00
Patrick Gaskin
59ae0cc897
Added 4.25.15875 to symbol tests
2020-11-10 21:02:38 -05:00
Patrick Gaskin
91dbf2a713
Tested on 4.25.15875
2020-11-10 21:02:25 -05:00
Patrick Gaskin
85cd558715
Updated README
2020-10-02 11:31:28 -04:00
Patrick Gaskin
9c087f7a9d
Added 4.24.15676 to symbol tests
2020-10-02 11:29:04 -04:00
Patrick Gaskin
23e4cca6bf
Tested on 4.24.15676
2020-10-02 11:27:59 -04:00
Patrick Gaskin
3580ab4f30
Added 4.24.15672 to symbol tests
2020-09-24 18:42:21 -04:00
Patrick Gaskin
4207cd5995
Tested on 4.24.15672
2020-09-24 18:42:06 -04:00
Patrick Gaskin
c2d26181b9
Added link to new website in documentation
2020-09-04 00:25:54 -04:00
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