Add inter script communication to Lua API#17300
Merged
TurboGit merged 2 commits intodarktable-org:masterfrom Sep 9, 2024
Merged
Add inter script communication to Lua API#17300TurboGit merged 2 commits intodarktable-org:masterfrom
TurboGit merged 2 commits intodarktable-org:masterfrom
Conversation
src/lua/configuration.h - bumped API to 9.4.0
src/lua/init.c - added util module
src/lua/util.c - added inter-script-communication event.
src/lua/util.h Added darktable.util.message() function
to the API for sending messages between
scripts
Member
Author
|
Partial fix for darktable-org/lua-scripts#489 |
This was referenced Aug 31, 2024
Merged
Member
Author
|
@TurboGit can I get this merged please? There are multiple things waiting on this and I'm pretty much at a standstill. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added a new event,
inter-script-communicationBumped API to 9.4.0
Added a new utili module to the API for functions that don't fall into a specific category.
Added darktable.lua.message function for sending messages between scripts.
To test unzip the included test scripts zip file. Start darktable with the -d lua flag. Start both scripts. Assign a keyboard shortcut to
send isc message. Press the shortcut key and observe the messages in the console output.Fixes #17295.
Partial fix for #17296.
test_isc.zip