- Status Closed
- Percent Complete
- Task Type Patches
- Category
- Assigned To No-one
- Operating System
- Severity Low
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#1535 - Minor plugin changes
A couple of minor changes to the plugin code:
1. Changed plugin_test() to allow plugins that were
created with an older version of the api. So long as we
are only adding new functions and these functions are
added at the end of the api structure, the plugin code is
backwards compatible. To handle the case where
backwards compatibility breaks (e.g. if the existing APIs
change), added the PLUGIN_MIN_API_VERSION define.
2. Added the plugin_get_buffer() function which can be
called by both plugins and built-in modules and returns a
pointer to the portion of the plugin buffer not already
used by a plugin (returns entire buffer if no plugin
loaded). Modified text viewer plugin to use this function
(~30k vs. 1k of buffer space).
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
I say we add both these ones.
Regarding the 1, we need to make a huge comment in the code
about how to add new functions to the struct.