Bill Ferguson
fe48d7498c
lib/dtutils/file - replaced os.execute and io.popen with wrapper functions
...
to sanitize windows calls
2024-06-04 23:41:07 -04:00
Bill Ferguson
2f330ea9cc
lib/dtutils/system - added wrapper functions io_popen and os_execute
...
to wrap io.popen and os.execute system calls
respectively. These wrapper functions provide
the necessary quoting on windows to get handle
strings with spaces and special characters.
2024-06-04 23:16:19 -04:00
Bill Ferguson
81b0f1fb48
contrib/dbmaint - remove database records for missing film rolls and images.
2024-06-03 18:08:30 -04:00
Bill Ferguson
9088bc9144
tools/script_manager - make the constants <const> to ensure they
...
stay that way
2024-06-03 14:48:44 -04:00
wpferguson
c3ce8d532d
Merge pull request #467 from koto/open_in_file_explorer_osx
...
Support selecting multiple files in MacOS in OpenInExplorer.
2024-05-30 13:36:47 -04:00
Krzysztof Kotowicz
f1d8ad7fce
Fix quoting.
2024-05-27 18:26:35 +02:00
Krzysztof Kotowicz
a3b295112f
Update OpenInExplorer.lua
...
In OpenInExplorer, use AppleScript instead of `open -R` for OSX.
That way multiple files can be selected.
2024-05-27 13:03:00 +02:00
wpferguson
c36618f5fb
Merge pull request #466 from wpferguson/more_string_doc_updates
...
lib/dtutils/string - more embedded doc updates
2024-05-20 23:45:07 -04:00
Bill Ferguson
fecbb39347
lib/dtutils/string - more embedded doc updates
2024-05-20 23:43:47 -04:00
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
Bill Ferguson
bf138abeb2
tools/script_manager - removed debugging statement
2024-05-15 21:36:15 -04:00
Bill Ferguson
284c0f9714
tools/script_manager - fixed metadata decoding to get rid of spurious
...
commas
2024-05-15 21:33:29 -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
f6916c3a15
tools/script_manager - lower cased mixed case buttons and headings
2024-05-15 14:51:14 -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
Bill Ferguson
b1b3392b92
tools/script_manager removed color interface check button. Color can
...
be specified in the CSS using the tags that are
present if desired.
Cleaned up formatting of configuration items.
Added a few debugging messages.
2024-04-09 21:41:42 -04: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
Bill Ferguson
ddf0c89402
tools/script_manager - cleaned up layout of panels and added some
...
spacing so what is being operated on is more
appearent
2024-04-06 21:28:58 -04:00
Bill Ferguson
3b0ff3475a
tools/script_manager added blank lines to improve code readability
2024-04-05 21:12:45 -04:00
Bill Ferguson
401509cfe4
tools/script_manager added parser for script_data.metadata blocks in
...
scripts. Parsed data block is used as the tooltip.
Fallback is the comment block at the top of the
script.
2024-04-05 20:38:10 -04:00
Bill Ferguson
9c4e906033
data/icons - added 20px icons
2024-04-05 20:37:34 -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
a11726889d
tools/script_manager - add support for "local" libraries by adding
...
entries in the package.path search path if
required
2024-04-02 19:09:31 -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
Bill Ferguson
86ee8adbce
tools/script_manager - changed category/categories to folder/folders to
...
accurately refrect reality and to open the possibility
of actually categorizing scripts.
2024-04-01 18:26:41 -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