Commit Graph

21 Commits

Author SHA1 Message Date
Bill Ferguson
55e68f8cd0 Added metadata fields to scripts that script_manager can access and
display as a tooltip.

Added script_manager integration to those scripts that didn't have it.
2024-05-15 21:23:13 -04:00
Bill Ferguson
14d5a79db2 Added script_data.show to script_data blocks 2023-07-16 13:04:00 -04:00
Bill Ferguson
5da64a7da0 [API 7.0.0 compatibility] Made changes to take advantage of the latest API changes
including the ability to start and stop most scripts.
2021-06-19 23:34:14 -04:00
wpferguson
f272aeb9fe Merge pull request #335 from wpferguson/revert-dt35-api-changes
Revert API 6.1+ compatibility changes.  Partially fixes #334
2021-06-19 16:38:36 -04:00
Bill Ferguson
2041fb34c9 [image_path_in_ui] changed case of module title to respect darktable
UI.
2021-06-19 13:57:39 -04:00
Bill Ferguson
4b63240ab9 Reverted register_event calls back to API 6.1.0 2021-06-11 21:44:38 -04:00
wpferguson
b1498aa664 inline if didn't work. Added intermediate register_event function in transition library 2021-02-10 00:18:48 -05:00
wpferguson
ade7008127 Added compatibility for lua events API change 6.2.1. 2021-02-01 18:27:20 -05:00
Bill Ferguson
509c7da384 changed darktable.current_view().name to darktable.current_view().id for view check because name is translated and id is not. 2020-08-16 13:18:27 -04:00
Bill Ferguson
cc4f1d7251 Added check to ensure we are in lighttable view prior to callling darktable.register_lib. If darktable was invoked in single image (darkroom) mode, then an event handler is registered to detect the change from darkroom mode to lighttable mode so that we can then call darktable.register_lib. 2020-08-08 23:11:33 -04:00
Bill Ferguson
8b714edb67 Changed check_min_api_version() to print error messages and throw an error if the minimum api is not satisfied. Updated the scripts to reflect the changed check_min_api_version(). 2019-02-20 00:22:05 -05:00
Bill Ferguson
451c7fb956 Added check_min_api_function to dtutils.lua to check the minimum version of the lua API required for a script to run. This is intended to replace the API check done with darktable.configuration.check_version(), which requires changing each time the API version changes. check_min_api_version should work for all API version changes unless backward compatibility is broken. All the scripts using darktable.configuration.check_version() were changed to use check_min_api_version(). 2019-02-18 19:46:11 -05:00
supertobi
2c77712ab4 Update image_path_in_ui.lua
added {5,0,0} to the check_version
2018-01-02 11:34:41 +01:00
Bill Ferguson
93e30a8542 Verified API 4.0.0 compatibility and made the necessary changes 2016-11-07 22:53:52 -05:00
Tobias Ellinghaus
fc7a25ca4d Mark most official scripts as compatible with dt2 2016-01-07 11:23:34 +01:00
Jérémy Rosen
ff1f076536 Revert "disable image_path_in_ui since it relies on a disabled feature"
This reverts commit 1dc1f5f9ef.
2015-12-23 15:21:38 +01:00
Jérémy Rosen
1dc1f5f9ef disable image_path_in_ui since it relies on a disabled feature 2015-12-23 15:20:24 +01:00
Tobias Ellinghaus
f4f96d7158 Ellipsize a label with image path
Otherwise it will make the side panel too wide, breaking the whole gui.
2015-12-16 11:52:35 +01:00
Jérémy Rosen
6bfabc0445 image_path_in_ui : remove stray \n 2015-06-10 14:42:55 +02:00
Jérémy Rosen
21e624bd3c synchronize with change of api in master in b4abae8 2015-06-10 13:31:25 +02:00
Jérémy Rosen
c0f3b50b0b new script : add image path to the ui 2015-05-21 14:54:48 +02:00