wpferguson
cbe2c5329a
Merge pull request #412 from wpferguson/add_substitution_to_string_lib
...
Add substitution to string lib
2024-05-20 22:18:01 -04:00
Bill Ferguson
dcbe575e9c
lib/dtutils/string - updated embedded documentation
2024-05-20 22:13:29 -04:00
Bill Ferguson
417c165d16
lib/dtutils/string - updated documentation
2024-05-20 18:18:46 -04:00
Bill Ferguson
232baab86b
lib/dtutils/string - removed debugging statements
2024-05-20 10:07:13 -04:00
Bill Ferguson
3ed4219e6c
lib/dtutils/string - added [] to sanitize_lua().
...
added 4.8 syntax to CATEGORY
added 4.8 SEQUENCE changes (syntax, start, width)
2024-05-20 00:56:01 -04:00
Bill Ferguson
97e33672ea
lib/dtutils/string - fixed default formatting of sequence
2024-05-19 23:04:01 -04:00
Bill Ferguson
7b2018412a
lib/dtutils/string - Cleaned up code to make it more readable.
...
Fixed VERSION_IF_MULTI. Added safety check
in category to make sure we don't try and
read a tag field that doesn't exist.
2024-05-18 22:01:10 -04:00
Bill Ferguson
3e2afffed8
lib/dtutils/string - Added categories to substitution functionality.
...
This makes it feature complete. Some substitutions
aren't implemented since the current use case for
this is creating export directories. The results
from the not implemented substitutions wouldn't
work well in path/file names (such as comma
separated lists or newlines).
2024-05-18 21:59:11 -04:00
wpferguson
1399e8a4b4
Merge pull request #465 from wpferguson/fix_script_manager
...
Fix script_manager crash
2024-05-16 11:47:29 -04:00
Bill Ferguson
5c3b2777f0
tools/script_manager - fixed gettext.bindtextdomain
2024-05-16 11:44:35 -04:00
wpferguson
e41029d3f4
Merge pull request #464 from wpferguson/implement_script_metadata
...
Implement script metadata
2024-05-15 21:27:54 -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
wpferguson
ebd2cd7bf7
Merge pull request #462 from menschmaschine/master
...
Cropping guide for German passport and ID card photos.
2024-05-11 20:09:45 -04:00
Christian Sueltrop
52b4508e08
Added LUA script "passport_guide_germany.lua", which implements a cropping guide for passport photos according to the standards for German passport and ID card photos.
2024-05-06 21:53:46 +02:00
wpferguson
19fdbc14c5
Merge pull request #461 from wpferguson/reimplement_ensure_lib_in_path
...
reimplemented ensure_lib_in_path with a windows aware path specification
2024-04-08 23:33:12 -04:00
Bill Ferguson
63d5aad465
tools/script_manager reimplemented ensure_lib_in_path with a windows
...
aware path specification
2024-04-08 23:30:30 -04:00
wpferguson
9d6ff85893
Merge pull request #458 from wpferguson/revert_ensure_lib_in_path
...
revert ensure_lib_in_path
2024-04-06 21:51:26 -04:00
Bill Ferguson
125af63bda
tools/script_manager - revert ensure_lib_in_path because of windows problems.
2024-04-06 21:48:51 -04:00
wpferguson
65c22e475a
Merge pull request #457 from wpferguson/script_manager_lib_search_path
...
script_manager - support libraries in "local" directories
2024-04-03 13:54:46 -04:00
Bill Ferguson
e78e718769
tools/script_manager - allow for inclusion of directory/package specific
...
libraries by adding "local" libraries to the search
path to ensure they are found when needed.
2024-04-02 17:54:10 -04:00
wpferguson
40949b3855
Merge pull request #456 from wpferguson/fix_NaN
...
examples/gui_action.lua - changed nan to NaN
2024-03-29 16:05: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
231e9b352b
changed translatable strings to lower case
2024-03-29 14:17:19 -04:00
Bill Ferguson
e47ab34745
changed translatable strings to lower case
2024-03-29 13:10:41 -04:00
Bill Ferguson
1fd2ca20ab
changed translatable strings to lower case
2024-03-29 12:55:08 -04:00
Bill Ferguson
05a73d8810
changed translatable strings to lower case
2024-03-29 12:45:28 -04:00
wpferguson
12640c7d29
Merge pull request #454 from mime01/script_manager
...
tools/script_manager - fixed crash
2024-01-28 12:40:44 -05:00
Michael Meister
febc3b1659
tools/script_manager - fixed crash
...
The script manager crashes if a LUA script was not copied to a
subfolder but directly into the LUA directory. The reason is that
the regular expression, which among other things extracts the
category of the script from its file path, does not match and thus
the category is null. To prevent this, a null check has been added.
2024-01-27 12:27:40 +01:00
wpferguson
9fdd69556c
Merge pull request #453 from wpferguson/452_fix
...
don't set lib visibility unless we are in lighttable view
2024-01-24 13:18:59 -05:00
Bill Ferguson
4735be470a
tools/script_manager - don't set lib visibility unless we are in
...
lighttable view
2024-01-24 13:16:42 -05:00
Bill Ferguson
66b33d6f48
updated contrib scripts to use darktable translation facilities
2024-01-20 20:22:32 -05:00
Bill Ferguson
37dba718a2
updated official scripts to use darktable translation facilities
2024-01-20 15:25:16 -05:00
Bill Ferguson
c11845cbf9
updated example scripts to use darktable translation facilities
2024-01-19 18:57:18 -05:00
Bill Ferguson
f9fe33f930
updated script_manager and executable_manager to use darktable
...
translation facilities. Changed translatable messages with
arguments to use string.format for one complete string versus snippets.
Removed gen_i18n_mo since we will be using darktable's translation
facilities and there's no need to generate lua specific mo files.
2024-01-19 15:24:56 -05:00
wpferguson
3b8e802e42
Merge pull request #444 from MStraeten/patch-1
...
Update x-touch.lua with support for primaries slider
2024-01-15 11:11:47 -05:00
Martin Straeten
f54d449316
increase required api version
...
… to match darktable 4.6.x
2024-01-15 07:01:43 +01:00
wpferguson
1b0fe4d7b9
Merge pull request #449 from wpferguson/cycle_group_leader
...
cycle group leader
2024-01-14 22:33:13 -05:00
Bill Ferguson
cf1dca9e1a
contrib/cycle_group_leader.lus - adds shortcut to change the group
...
leader to the next image in a group
wrapping around when the end of the
group is reached.
2024-01-14 22:29:27 -05:00
wpferguson
45d54ef4e8
Merge pull request #448 from darktable-org/revert-447-change_group_leader
...
Revert "Change group leader"
2024-01-14 22:14:03 -05:00
wpferguson
8bfab0325b
Revert "Change group leader"
2024-01-14 22:13:38 -05:00
wpferguson
4b99d00ab5
Merge pull request #447 from wpferguson/change_group_leader
...
Change group leader
2024-01-14 21:25:00 -05:00
Bill Ferguson
a5961eb066
contrib/change_group_leader.lua - adds a shortcut to cycle through
...
the images in a group making the
next on the new group leader.
When the end of the group is reached
the first image in the group is
selected.
2024-01-14 21:19:09 -05:00
wpferguson
95e19ef163
Merge pull request #446 from wpferguson/hif_group_leader
...
Make hif image group leader for raw + hif pairs
2024-01-14 17:31:07 -05:00
wpferguson
d4eb6577bf
Merge pull request #445 from wpferguson/jpg_group_leader
...
Make jpg group leader for raw + jpg pairs
2024-01-14 17:30:52 -05:00
Bill Ferguson
294b693905
contrib/hif_group_leader.lua - make the hif image the group leader
...
for raw + hif image pairs. Works
on import, selection, and collection.
2024-01-14 17:15:28 -05:00
Bill Ferguson
23835edc1f
contrib/jpg_group_leader.lua - New script to make jpg images the
...
group leader for raw + jpg image
combinations.
2024-01-14 17:10:43 -05: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