Bill Ferguson
46e729b40e
fixed translatable strings for inclusion into darktable
2024-08-08 19:43:33 -04:00
Bill Ferguson
cc11c1c3b8
tools/script_manager - set log level to warn instead of debug
2024-07-18 12:42:12 -04:00
Bill Ferguson
1b272be5f5
various scripts - reverted the calls to io_popen and os_execute back
...
to the respective lua calls.
2024-07-13 12:48:37 -04:00
Bill Ferguson
88e4ac1a64
tools/script_manager - changed API check from hard (crash) to soft
...
which allows script_manager to fix tthe problem
by checking out the correct version of the
scripts for the API version.
2024-06-18 00:29:27 -04:00
Bill Ferguson
3efc1805ca
tools/script_manager - new user interface for darktable 4.8
...
wrappers added for io.popen and os.execute
to handle windows special characters and
spaces
2024-06-09 17:33:06 -04:00
wpferguson
bbe9109fca
Merge pull request #469 from wpferguson/win_sanitize
...
Sanitize windows command interactions
2024-06-06 13:01:55 -04:00
Bill Ferguson
3e032616a0
tools/executable_manager - fix position not visible on windows
2024-06-05 14:49:06 -04:00
Bill Ferguson
2abb83b485
tools/get_lib_manpages - more code cleanup
2024-06-05 00:09:18 -04:00
Bill Ferguson
32e966f8d9
tools/git_lib_manpages code cleanup
2024-06-05 00:01:47 -04:00
Bill Ferguson
038418b89f
contrib/autostyle replaced io.popen functions with wrapper
...
contrib/color_profile_manager to properly quote windows commands so
contrib/fujifilm_dynamic_range that they are sanitized for special
contrib/fujifilm_ratings characters and spaces
contrib/geoJSON_export
contrib/geoToolbox
contrib/image_stack
contrib/image_time
contrib/kml_export
official/enfuse
tools/executable_manager
tools/get_lib_manpages
tools/get_libdoc
2024-06-04 23:43:21 -04:00
Bill Ferguson
5c3b2777f0
tools/script_manager - fixed gettext.bindtextdomain
2024-05-16 11:44:35 -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
63d5aad465
tools/script_manager reimplemented ensure_lib_in_path with a windows
...
aware path specification
2024-04-08 23:30:30 -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
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
1fd2ca20ab
changed translatable strings to lower case
2024-03-29 12:55:08 -04: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
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
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
Bill Ferguson
13f02c95ea
tools/script_manager - fixed quote with a " instead of s
2023-10-17 16:02:27 -04:00
Bill Ferguson
34b9831472
tools/script_manager.lua - wrapped the scipt_dir in quotes to handle
...
the space in username problem on windows.
2023-10-16 22:41:12 -04:00
Bill Ferguson
bf17dccd69
tools/script_manager.lua - Explicitly set non running scriopts to FALSE
...
instead of relying on no value being intrepreted
as false.
2023-09-20 13:48:18 -04:00
Bill Ferguson
191aecacdf
tools - Moved script_manager to bottom of lower left panel and
...
moved executable_manager to middle of lower left panel
to work around windows GTK window placement error.
2023-08-18 12:23:24 -04:00
wpferguson
875734d455
Merge pull request #422 from wpferguson/fix_script_data_show
...
Fix script data show
2023-07-16 13:08:05 -04:00
Bill Ferguson
14d5a79db2
Added script_data.show to script_data blocks
2023-07-16 13:04:00 -04:00
Bill Ferguson
68ae9326bf
tools/script_manager.lua - added translation to preference setting
2023-07-12 12:37:14 -04:00
Bill Ferguson
2fc8ed78e4
tools/script_manager.lua - added check to ensure script_data.show() runction
...
was passed as part of the script_data table
before trying to use it. Fixes #418 .
2023-07-03 23:44:13 -04:00
Bill Ferguson
236b25a235
tools/script_manager.lua - clean up formatting and documentation
2023-07-03 23:42:47 -04:00
Bill Ferguson
a4f6af73ec
tools/script_manager.lua - enabled log levels in callback routines
2023-06-24 19:56:51 -04:00
Bill Ferguson
fad74d6438
tools/script_manager.lua - cleaned up deactivate comments
2023-06-23 19:09:57 -04:00
Bill Ferguson
3e2d4c956d
tools/script_manager.lua - Documented more fields for the sm.scripts table
...
Removed extra declaration of check_update preference
2023-06-22 16:04:26 -04:00
wpferguson
75a19e74a0
Merge branch 'master' into script_manager_running_script
2023-03-25 13:03:55 -04:00
Bill Ferguson
21d7e72b0c
tools/script_manager - resolved conflicts
2023-03-25 13:01:40 -04:00
Bill Ferguson
05d555eae5
tools/script_manager - let the shortcut system know that script_manager
...
widgets belong to script_manager
2023-03-25 12:46:59 -04:00
Bill Ferguson
3f6a3e25f1
added global variable script+_manager_running_script to convey the script name to the darktable shortcut system
2023-03-16 20:59:10 -04:00
Bill Ferguson
574f6a976f
script_manager.lua - added a preference allowing the user to disable
...
automatic checking for updated scripts.
2023-03-06 22:56:55 -05:00
Maurizio Paglia
da6bddcd77
Clear button now can be translated
2022-07-14 18:44:42 +02:00
Bill Ferguson
4cbb7724f2
[script_manager] updated register_event syntax to API 7.0.0
2021-07-14 11:44:27 -04:00
wpferguson
8f6c2c82d3
Merge pull request #345 from wpferguson/sm_git_branch_pattern_matching
...
Solution to pattern matching current git directory
2021-07-06 00:49:04 -04:00
Bill Ferguson
a6d5001e84
[script_manager] set logging to error
2021-07-06 00:46:21 -04:00
Bill Ferguson
6af180a313
[script_manager] after numerous attempts to solve this with just pattern
...
matching I realized the lack of conditionals made it
impossible to solve in that manner, so I resorted to
splitting the output into lines and testing each line.
2021-07-06 00:42:55 -04:00
Bill Ferguson
c1fbfd80d4
[script_manager] fix current branch not detected
2021-07-05 23:24:19 -04:00
Bill Ferguson
2bc23a1446
[script_manager] fixed log message and reset log level for production
2021-07-05 23:01:30 -04:00
Bill Ferguson
97f4c911ed
[script_manager] modified dirty repo test
2021-07-05 22:55:30 -04:00
Bill Ferguson
53d9a42a1a
[script_manager] modified git interface to not rely on locale
2021-07-05 22:49:39 -04:00
Bill Ferguson
9a3eb7bc3e
[script_manager] added check for nil current branch and dumped repo_data
2021-07-05 15:13:56 -04:00
Bill Ferguson
422fdbe2cf
[script_manager] make sure we have branches before comparing
2021-07-02 21:33:50 -04:00
Bill Ferguson
887bc03f32
bug
2021-07-02 21:29:36 -04:00