Commit Graph

61 Commits

Author SHA1 Message Date
Martin Straeten
1ba488d073 Enhanced x-touch.lua for colorequalizer
just adapted the colorzone stuff for color equalizer.
requires explicitly set the focus via a further switch
2024-12-15 19:08:24 +01:00
Bill Ferguson
21ec2883fe Added translation to module name 2024-10-23 11:42:41 -04:00
Bill Ferguson
d123634679 Changed script names in metadata from filenames to names by
removing underscores, spelling out abbreviations, etc.
2024-10-22 00:13:30 -04:00
wpferguson
0e37a287ca Merge pull request #519 from koto/fix_gui_action
Fix types in examples/gui_action script.  Thanks
2024-10-16 21:21:03 -04:00
Krzysztof Kotowicz
f6cb8091e7 Fix types in examples/gui_action script. 2024-09-20 15:07:37 +02:00
Bill Ferguson
ce7ddfa472 examples/*.lua - cleaned up translatable messages 2024-09-10 21:19:37 -04:00
Bill Ferguson
46e729b40e fixed translatable strings for inclusion into darktable 2024-08-08 19:43:33 -04:00
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
wpferguson
ac945b9843 Merge pull request #455 from wpferguson/prep_translation
Prepare translatable strings, step 1
2024-05-15 15:18:11 -04:00
Bill Ferguson
cd3788f012 all scripts - added bindtextdomain back in because 4.8 isn't ready to
handle the translations yet.  In 5.0 this will be removed
              and darktable will handle translating the strings.
2024-05-14 22:39:22 -04:00
Bill Ferguson
06ab263e74 examples/gui_action.lua - changed nan to NaN 2024-03-29 16:04:07 -04:00
wpferguson
bccc86c70a Merge pull request #362 from dterrahe/lua_action
simple module to call dt_action_process
2024-03-29 16:01:37 -04:00
Bill Ferguson
e47ab34745 changed translatable strings to lower case 2024-03-29 13:10:41 -04:00
Bill Ferguson
c11845cbf9 updated example scripts to use darktable translation facilities 2024-01-19 18:57:18 -05:00
Martin Straeten
f54d449316 increase required api version
… to match darktable 4.6.x
2024-01-15 07:01:43 +01:00
Martin Straeten
5f29211f79 Update x-touch.lua with support for primaries slider
maps knobs to the primaries sliders
requires darktable 4.6.x
2024-01-11 20:42:32 +01:00
Bill Ferguson
14d5a79db2 Added script_data.show to script_data blocks 2023-07-16 13:04:00 -04:00
dterrahe
4726821e7d Fix 8th knob 2023-05-05 23:19:00 +01:00
dterrahe
7ac37ddc1a Probe individual mask sliders 2023-05-03 23:43:01 +01:00
dterrahe
3889742e06 add x-touch mini script documentation 2023-03-25 18:49:55 +00:00
dterrahe
6bf3706455 add x-touch color calibration customisation 2023-03-25 18:14:19 +00:00
dterrahe
8e412c3eb3 example slider mimic script for x-touch mini 2023-03-25 10:59:19 -04:00
Diederik ter Rahe
28ae2ea501 simple module to call dt_action_process 2021-09-12 18:16:09 +02: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
Bill Ferguson
4b63240ab9 Reverted register_event calls back to API 6.1.0 2021-06-11 21:44:38 -04:00
Bill Ferguson
9d59479049 Revert changes to accomadate API changes greater than 6.1 2021-06-11 19:47:43 -04:00
wpferguson
4053ceb9e5 [API 6.2.3] Added changes for API 6.2.3 compatibility 2021-02-17 22:24:02 -05: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
b5b49245fa Needlessly creating the executable path preference for the ufraw-batch executable on linux caused the value to be saved as the startup directory, which in turn caused a crash when trying to extract the embedded jpg. 2020-11-17 18:53:54 -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
2ddd0965cd 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 22:40:54 -04:00
Bill Ferguson
0856858e73 Updated comments to reflect current usage practices. Added/updated links to the online manual for each of the widgets. Added translation. Removed reference to api_major_version 6 2020-05-08 00:15:31 -04:00
Bill Ferguson
7ee140c8c8 created 3 demonstration scripts of the dt3.0 lua API additions 2019-12-19 13:38:25 -05: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
Bill Ferguson
61a55f71f5 Created a cross platform script that calls an external executable. It also performs a service that some users might find useful, extracting the embedded jpeg image from a raw file, then importing and grouping it with the raw. Updated README.md to reflect the new file 2018-08-07 22:08:09 -04:00
supertobi
d74f2eba92 Create printExamples.lua 2017-10-11 11:29:48 +02:00
supertobi
20a31b39e0 Added section_label moduleExample.lua 2017-10-10 20:22:39 +02:00
supertobi
fc252d5e7e New example for the running_os command 2017-10-10 17:27:09 +02:00
supertobi
d3742bb410 added {5,0,0} to the check_version 2017-09-26 14:55:12 +02:00
supertobi
75cb1a5fdd added {5,0,0} to the check_version 2017-09-26 14:55:07 +02:00
supertobi
8436c878e8 added {5,0,0} to the check_version 2017-09-26 14:53:54 +02:00
supertobi
63d3a34f46 added {5,0,0} to the check_version 2017-09-26 10:55:23 +02:00
Pascal Obry
76daa583b3 Move all translation into the main locale directory.
This is for consistency reason as the lib/dtutils/file.lua use this
directory. Also all translation into contrib where not usable as
not checked into this directory which was expected to be just lua.

All in all using locale directory will avoid clutter the main
directory with all possible languages and fixes the current scripts.
2017-04-10 16:56:59 +02:00
Bill Ferguson
93e30a8542 Verified API 4.0.0 compatibility and made the necessary changes 2016-11-07 22:53:52 -05:00
supertobi
2b577f9755 improved the entry and file_chooser_button examples 2016-04-07 23:29:08 +02:00
supertobi
0c9d4a5de4 added tooltip to new_widget("entry") 2016-03-23 10:32:16 +01:00
supertobi
102ea2da7a Added comment
This is an alternative way to the "{}" syntax to set a property
2016-03-13 21:11:04 +01:00
supertobi
e1a2fbfaa6 Copy past error in the copyright line 2016-03-13 21:07:32 +01:00