Yuri van der Burg
ea2596ae13
Fixed typo in hugin script - should resolve issue # 570
2025-03-18 20:38:21 +01: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
Bill Ferguson
64840089e9
clean up a few issues with parentheses and missed strings.
2024-10-12 20:28:01 -04:00
Bill Ferguson
842f2fca66
contrib/[g-o]*.lua - clean up translatable strings
2024-09-16 21:16:34 -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
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
66b33d6f48
updated contrib scripts to use darktable translation facilities
2024-01-20 20:22:32 -05:00
Bill Ferguson
14d5a79db2
Added script_data.show to script_data blocks
2023-07-16 13:04:00 -04: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
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
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
8e006cf853
Changed windows path quoting to double quotes instead of single. Changed dt.control.execute to dtsys.external_command to handle the windows quoted arguments.
2018-11-19 15:56:24 -05:00
Bill Ferguson
965d8791d8
single quoted filename arguments to the hugin commands for the supplied image files. Single quoted any filenames derived from the supplied image files in case they contained spaces. Added logging at various levels so that the next time I have to work on this I can figure it out quicker. Normal logging level is log.error which only prints error information. Changing log level to log.info provides much more insight about what is occurring. Fixed gui not returning generated file to film strip.
2018-05-15 01:05:34 -04:00
Andy Chien
44081b772f
fixed version requirement due to updates to darktable.configuration.running_os
2018-03-19 06:51:30 -07:00
Andy Chien
46ba555a20
* updated to work with new dtutils_file
...
* added checkbox to allow user to launch hugin in gui mode
* changed the logic so hugin will write temp files to tmp directory and then move the final result to the directory of original source files. this improves speed when original source files are on network mapped drive
* added some additional error messages
2018-03-05 09:48:30 -08:00
Andy Chien
fe942100a4
hugin plugin improvements
...
* added preference requiring user to specify the paths for hugin, hugin_executor and pto_gen needed for this plguin
* added preference to allow user to choose to launch hugin in GUI mode
* minor fix to the way files are handled; due to some versions of hugin_executor not writing out to the path specified in --prefix, assume we are working in the tmp directory and then move the file afterwards
2018-02-26 07:29:41 -08:00
Andy Chien
4ad9e77a7e
improved a few aspects of the hugin script:
...
* handle stiching all from hugin_executor without the gui
* automatically create the panorama file name based on first selected file plus _pano
* automatically detects if output file exists, if so use an unique name
* delete temporarily exported file
2018-02-22 16:07:28 -08:00
chrisaga
a826c1725b
use dt.gettext after defining dt to avoid fatal error
2017-09-02 14:30:52 +02:00
supertobi
dee7ee1dde
Update hugin.lua
...
use "lib/dtutils.file"
2017-04-27 21:51:29 +02:00
Pascal Obry
efcd48f1d9
Remove trailing whitespaces.
2017-04-10 16:59:35 +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
supertobi
f67755f3b5
Update hugin.lua
...
changed comment
2017-03-07 13:19:04 +01:00
chrik5
eb774d37c6
hugin - fix error message hugin failed...
2017-01-24 12:43:30 +01:00
chrik5
cade6d5e0b
hugin add API version 5.0.0
2017-01-24 12:36:42 +01:00
Bill Ferguson
93e30a8542
Verified API 4.0.0 compatibility and made the necessary changes
2016-11-07 22:53:52 -05:00
Bill Ferguson
f550822943
Added require "official/yield" to scripts that use dt.control.execute() so that they work correctly if you haven't required official/yield somewhere else.
2016-10-21 13:25:40 -04:00
Jérémy Rosen
783194e253
update to newest API change in master
2016-04-17 20:46:32 +02:00
supertobi
5ff73657e1
Update hugin.lua
...
translations
2016-01-31 23:25:49 +01:00
supertobi
a819140c88
Update hugin.lua
...
Tested with darktable 2.0
2016-01-05 22:12:57 +01:00
Tobias Ellinghaus
895ad62757
Fix line endings
2016-01-04 14:49:12 +01:00
Laurent Navet
08151e7e21
Fix some typos
2015-12-30 22:02:18 +01:00
supertobi
d1a9616fc8
Fixed bugs and make it work with hugin 2015.0.0
2015-09-10 19:36:04 +02:00
supertobi
343feb801b
Use dt.configuration.tmp_dir for the pto file
2015-09-10 14:40:52 +02:00
supertobi
91dada71e2
hugin_executor support
...
Hugin 2015.0.0 hugin provides a command line tool to start the assistant
2015-09-10 10:25:27 +02:00
supertobi
cc7ba37eb6
Added checkIfBinExists
...
Added a check to test if hugin is installed.
2015-09-09 10:03:01 +02:00
supertobi
d4a03411eb
Refactoring without new funktion
...
Created two new local functions (show_status, create_panorama) to make the code more readable.
2015-09-09 09:57:25 +02:00
supertobi
3033c52ff4
Three small fixes (komments and avoid having a global variable)
...
- a comment about needing hugin installed
- it's not the lua version that we check, it's the DT API version
- declare "local img_list" here, and avoid having a global variable
2015-09-08 15:21:43 +02:00
chrik5
27ccd76467
Add new storage hugin panorama export
2015-07-31 21:45:21 +02:00