This release is the second major feature update for NickelMenu.
- Breaking change: For simplicity,
nickel_extras:web_browser
has been renamed to nickel_browser. Note that if you aren't providing any additional arguments, you still need to include a:
(likemenu_item:main:Web Browser:nickel_browser:
). - Breaking change: To improve future-proofing so breaking changes won't need to be made in the future and to make the new option for explicit values simpler, the arguments for
nickel_setting
have changed. Instead of only specifying the setting name to toggle, you specify the action (toggle, enable, disable), and then the setting name. For example, instead of usingnickel_setting:invert
, you need to usenickel_setting:toggle:invert
. This will make it easier to deal with non-boolean settings in the future, or to add additional setting-related functionality. - NickelMenu now supports reloading configuration files without a reboot.
- Automatic reloading for generators are also supported.
- The configuration parser has been rewritten and is now cleaner and more efficient (this change shouldn't be noticeable in general).
- Explicit values for nickel_setting are now supported. You can now do things like
nickel_setting:enable:force_wifi
andnickel_setting:disable:force_wifi
. - Custom URLs for
nickel_browser
are now supported. - There is a new
modal
option fornickel_browser
to open it as a pop-up window. This works from any screen, including the web browser itself. - You can now add custom CSS stylesheets to all web pages with the
nickel_browser
action.
NiLuJe (@NiLuJe)
991b3e7 Actually catch allocation failures in handle_list_reply
d0d1697 Hide (nearly) all symbols by default (#40)
Patrick Gaskin (@geek1011)
50c7374 Reworked menu item injection (closes #43) (#45)
7de21b8 Switched to new method for nickel_extras:web_browser and implemented url/css options (closes #49) (#50)
af95f64 Implemented option to set values for nickel_setting:* explicitly (closes #51) (#52)
9d58df7 Fixed use-after-free in nm_action_result_free
ee0eb7c Implemented config file reloading and improved the config parser (closes #42) (closes #48) (#47)
ff434c9 Fixed freeing old config after updates
40f27b3 Updated symbol tests for 4.22.15190
ea1c43b Implemented generator updates (closes #54) (#55)
e89eb83 Fixed reloaded config only propagating to new menus or the first existing one (fixes #57) (#58)
7019745 Fixed minor formatting issue in action.c
cb2caff Improved extensibility of nickel_setting, split browser stuff into nickel_browser action (closes #59) (#60)
ec8c685 Fixed outdated example in docs
Thanks to @jackiew1 for testing this release.