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
chrisaga
dfe589e843
script_manager.lua function clear_button must reset tooltip too
2020-12-28 19:18:35 +01:00
chrisaga
2be12e5b37
script_manager.lua localization proposal (including minor changes in the script)
2020-12-28 10:42:15 +01:00
wpferguson
37b523f989
[script_manager] rewrite of script_manager for a better fit with
...
darktable 3.4 and the new scripts_installer. Changed
interface to paged instead of scrolled so that less
screen space is required. Added capability to
install/update external repositories and seamlessly
integrate with script_manager.
2020-12-23 19:54:16 -05:00
Bill Ferguson
4ab20d8088
Removed official/yield.lua since it was only required for lua API 3.x and less (darktable 2.0 and before). Removed require from scripts that had included it.
2020-11-21 18:33:26 -05:00
Bill Ferguson
650325257b
made button a local variable
2020-08-16 15:57:41 -04:00
Bill Ferguson
a0a8a61d56
Enabled latest dev changes in lua API so that script_manager responds better to panel resizing
2020-08-16 15:52:57 -04: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
912ae93d10
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-09 01:56:48 -04:00
Bill Ferguson
d1e330eee0
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:01:58 -04:00
Bill Ferguson
57a9a8495c
made newly added strings translatable
2020-07-19 15:38:08 -04:00
Bill Ferguson
53bb95e6fd
Added entry widget to display the current setting, or a placeholder specifying what would or should happen depending on operating system to provide visual feedback.
2020-07-19 13:13:24 -04:00
Bill Ferguson
1c9042c496
Added a sanitize_lua function to the string library for sanitizing
...
strings of lua "magic" characters before using the string in a string
function that involves matching.
script_manager needs the path to the lua directory sanitized of lua
"magic" characters to prevent failure to extract the category and script
names.
2020-06-09 20:22:02 -04:00
Bill Ferguson
4a81b560f9
Changed position of script manager to the center section of the left
...
panel at the bottom of the section. This takes care of the problem
of darktable exceeding the vertical screen size and not being
scrollable.
2020-05-23 16:54:24 -04:00
Bill Ferguson
eacfc4b623
Removed symlink for plugin_manager development
2019-06-19 11:23:11 -04:00
Bill Ferguson
bf6e180291
Fixed bug that caused the lua executale path to not split correctly on windows. Preferences are stored internally with forward slashes, not O/S specific path separators.
2019-03-28 20:13:08 -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
wpferguson
19542c1640
Merge pull request #148 from wpferguson/translation_tool
...
Translation tool
2019-01-14 23:33:52 -05:00
Bill Ferguson
68b5acc154
Updated comments to reflect name change
2019-01-12 22:27:06 -05:00
Bill Ferguson
5c2c9e2a8f
Changed name to gen_18n_mo to further clarify what the program does.
2019-01-12 22:21:48 -05:00
Bill Ferguson
0550f4e28a
Fixed bug where the wrong script could be activated, because the script to activate was found by string matching. Replaced string match with value of category selector and script name to avoid any ambiguity.
2018-11-21 21:24:28 -05:00
Bill Ferguson
80e7eca064
Added tool to compile source translation files and place the results in the correct locale directory
2018-09-26 23:59:42 -04:00
Bill Ferguson
e7adf8cfb2
string.match on a filename with a - resulted in a failed match. Added a check for the dash and escaped it.
2018-08-26 00:39:58 -04:00
Bill Ferguson
f724335b91
fixed buy on windows where preferences wee not getting saved
2018-08-23 12:50:50 -04:00
Bill Ferguson
0858a19138
reverted change from nested if statements to a multiple and statement because it didn't work
2018-08-20 23:47:30 -04:00
Bill Ferguson
8d746427a6
fixed typo in preferences
2018-08-20 23:24:30 -04:00
wpferguson
3c9b2b90d4
Merge pull request #139 from wpferguson/script_manager
...
darktable script management interface
2018-08-20 21:29:32 -04:00
Bill Ferguson
abc959a814
enabled link to lua-scripts version
2018-08-20 21:28:54 -04:00
Bill Ferguson
02bb942abd
Cleaned up the code and incorporated Tobias Jakob's comments
2018-08-20 21:12:07 -04:00
Bill Ferguson
a37c33ec36
Fixed enable preference not saved
2018-08-19 12:30:45 -04:00
Bill Ferguson
0e4926426f
Added error feedback when script doesn't load
2018-08-19 01:11:54 -04:00
Bill Ferguson
a309db8739
Created tools/script_manager.lua to provide an interface from darktable for managing the lua scripts. Updated README.md to reflect the added script.
2018-08-18 15:04:43 -04:00
Bill Ferguson
1a998581ef
Created tools/executable_manager.lua for managing external executables used by the lua scripts. Updated the README to reflect the new script.
2018-08-17 19:30:43 -04:00
Bill Ferguson
664496b430
Updated to api 5.0.0 and tested. include_all.lua changed to load official/yield and ignore the lib and tools directories.
2018-01-02 19:51:14 -05:00
Bill Ferguson
4fccfbf51d
Added checks for binaries used to generate the pdf man pages
2016-10-24 12:09:04 -04:00
Bill Ferguson
564fd20f23
Moved lib/libLog.lua to lib/dtutils/log.lua. Rewrote most of it to make it more configurable and easier to use. Updated doc format to a fixed list of fields. Did away with the comment blocks and just relying on the libdoc comments. Update doc tools to use new formats. Moved dtutils/extensions.lua to dtutils/string.lua. Pulled dtutils/processor.lua back for now since there is no context for it. Removed unneeded functions and cleaned up others.
2016-10-20 01:19:54 -04:00
Bill Ferguson
a254ac87f7
Created libraries from commonly used functions. Moved official/debug-helpers.lua into lib/dtutils/debug.lua. Created a logging library to provide various levels of logging. Documented all libraries and functions. Created tools to extract documentation in text, man page, and pdf formats.
2016-10-15 01:47:43 -04:00