[Github-comments] [geany/geany-plugins] GeanyLua: Enable running scripts for all signals (#1112)

xiota notifications at xxxxx
Wed Oct 6 05:02:02 UTC 2021


@elextr @Skif-off

Force push was because of rebase to current master.  I made the following changes:

* Each callback function now keeps track of its own script, rather than storing the filenames in a struct.
* The old event scripts will be used if a new one doesn't exist.  A deprecation warning will be sent to the status window.
* Each callback function disables itself if the associated scripts don't exist.  This reduces overhead to the function call plus a few boolean checks.
* Each callback function keeps a copy of its script in memory.  To clear the cache currently requires restarting Geany.  (Unloading/reloading plugins seems to have some general issues.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1112#issuecomment-935460012
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211005/21563d19/attachment.htm>


More information about the Github-comments mailing list