Commit Graph

635 Commits

Author SHA1 Message Date
Bill Ferguson
5a2af47eda Removed unneeded require for yield, since it now in lib/dtutils.system 2018-08-07 11:00:16 -04:00
sjjh
4acba4d48a corrected "dt" to "darktable" in line 63 of cr2hdr
object "darktable" is defined in line 35; usage of "dt" was probably a typo or left over from a refactoring.
2018-08-04 01:43:38 +02:00
Bill Ferguson
26fce03d0f Removed leftover unused code 2018-07-11 11:49:01 -04:00
Bill Ferguson
1a22bfbcef Added system library to handle running external commands on different operating systems in a transparent manner. Added file and path quoting that is cross platform compatible. Changed gimp.lua to use the new utilities. 2018-07-11 11:32:48 -04:00
BzKevin
050783fc8b enfuse_pro_2 modified per wpferguson
1) Moved check_if_bin installed to run only once, when script first loaded (rather than every time it is called)
2) Changed executable path preferences per Bill's suggestions 
   dt.preferences.register("executable_paths", "align_image_stack",
   dt.preferences.register("executable_paths", "enfuse",
   dt.preferences.register("executable_paths", "exiftool",
3) Replaced custom block of code with df.create_unique_filename
4) Quoted paths in run commands for linux and MacOS (I still experience failures if I quote anything in the run command aside from the .exe path on windows)
5) Changed LUA API compatability check for 5.0.0 only

Tested on Windows and MacOS
2018-07-07 11:40:01 -04:00
Bill Ferguson
4b32c34ebd Removed 'open -W -a' for mac commands from check_if_bin_exists since it only appears to be needed for GUIs. Added 'open -W -a' for macs using GIMP in gimp.lua 2018-07-06 23:04:44 -04:00
BzKevin
927bf12243 Add enfuse_pro_2
Enhanced version of Holger Klemm's enfuse_pro that adds features and X-platform compatibility.
2018-07-01 19:54:15 -04:00
BzKevin
a867791165 Delete enfuse_pro_2.lua 2018-07-01 19:52:47 -04:00
BzKevin
67232094c9 Delete OpenInPS.lua 2018-07-01 19:51:39 -04:00
BzKevin
b5e79abf08 Delete HDRMerge.lua 2018-07-01 19:51:26 -04:00
BzKevin
84c0fd7414 Add 3 new Pulg-Ins
HDRMerge: Add easy access to HDRMerge from within dt
enfuse_pro_2: Updated version of Holger Klemm's popular enfuse plug-in. Adds some features and cross-platform compatability
OpenInPS: add ability to open or export selected file with Photoshop
2018-06-30 14:58:50 -04:00
Jannis_V
ded24e8037 gpx_export.lua: Create a separate <trk> for each source folder 2018-06-24 18:47:33 +02: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
marco44
78f0e367dc Change logging 2018-05-09 17:54:26 +02:00
marco44
aca0224263 Fix autostyle, checkIfBinExists doesn't seem to exist in latest releases anymore 2018-05-05 16:37:27 +02:00
supertobi
1767e8f074 Merge pull request #111 from achienbsi/hugin_plugin_improvements
hugin plugin improvements
2018-03-19 22:32:19 +01: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
Bill Ferguson
2ea4db8e38 Added windows and macOS external executable compatibility. Added functions set_executable_path_preference(), get_executable_path_preference(), and executable_path_widget() to lib/dtutils/file.lua to get, set and retrieve the location of executables on windows and macOS systems. Modified check_if_bin_exists to use the path preferences so executables can be found on windows and macOS systems as well as linux. Modified contrib/gimp.lua to use the new functions, thus making it usable on windows and macOS too. 2018-03-02 14:07:29 -05: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
Tobias Ellinghaus
54572de8d9 Fix LabelsToTags for Lua 5.3
Fixes #106
2018-01-23 11:28:45 +01:00
Elman
f86b16735b Formatted code to follow project settings 2018-01-15 22:54:22 +01:00
Elman
0c1de20a1a Code formatting 2018-01-15 17:56:02 +01:00
Elman
e9d0f706ed Correct handling of duplicates 2018-01-15 17:41:26 +01:00
Elman
d297718358 Path is now sorted by exif_datetime_taken 2018-01-15 17:40:50 +01:00
Elman
b406b36cda Added all Slovak and Czech accents 2018-01-15 17:31:19 +01:00
August Schwerdfeger
92b5507e0e Added 'Labels to Tags' script. 2018-01-07 00:37:41 -06:00
supertobi
73897b8ee7 Merge pull request #103 from jbvoelker/gpx-export
GPX export script
2018-01-03 22:27:46 +01:00
Jannis Völker
2d9cdc5a24 GPX export script which generates a GPX track from all selected images containing geo information 2018-01-03 20:51:35 +01:00
supertobi
befa83bee8 added {5,0,0} to the check_version 2018-01-02 11:10:56 +01:00
supertobi
b4347e5701 added {5,0,0} to the check_version 2018-01-02 11:10:31 +01:00
supertobi
c4ed6c2b97 added {5,0,0} to the check_version 2018-01-02 11:09:42 +01:00
supertobi
6b5f650aac added {5,0,0} to the check_version 2018-01-02 11:08:49 +01:00
supertobi
63b38c1f53 added {5,0,0} to the check_version 2018-01-02 11:08:07 +01:00
supertobi
33b6f0d72e added {5,0,0} to the check_version 2018-01-02 11:07:20 +01:00
GHswitt
8e6552ee9c Added ignore tag and unknown tag, verbose output 2017-12-11 17:43:53 +01:00
GHswitt
024e016df2 Storage plugin for face_recognition 2017-12-11 14:27:36 +01:00
supertobi
97dd8a1257 Merge pull request #80 from GHswitt/master
Add new GUI entry in lighttable for renaming tags
2017-11-15 16:11:33 +01:00
supertobi
83fc339c4b Merge pull request #99 from Sitwon/master
Support for importing the in-camera ratings from Fujifilm cameras
2017-10-14 21:20:16 +02:00
Ben Mendis
693c535428 Improving with feedback from @supertobi 2017-10-14 11:24:14 -04:00
supertobi
d0ec941009 check if exiftool exists in autostyle.lua 2017-10-11 09:32:29 +02:00
Ben Mendis
178528508b Support for importing the in-camera ratings from Fujifilm cameras 2017-10-10 21:10:00 -04:00
supertobi
af4e3884bb check result from io.popen("xdg-user-dir VIDEOS") 2017-09-26 15:02:50 +02:00
supertobi
6cda97c335 check result from io.popen("xdg-user-dir DESKTOP") 2017-09-26 10:39:36 +02:00
supertobi
a40d8b8bc5 added {5,0,0} to the check_version 2017-09-26 10:34:16 +02:00
supertobi
445e882579 check result from io.popen("xdg-user-dir DESKTOP") 2017-09-26 10:24:22 +02:00
Jannis Völker
e4542aa451 Remove require 2017-09-14 11:52:05 +02:00
Jannis Völker
ecc4a29be4 Select all untagged images in the collection. Pictures containg only automatic tags added by darktable are also considered untagged 2017-09-13 17:26:47 +02:00
chrisaga
a826c1725b use dt.gettext after defining dt to avoid fatal error 2017-09-02 14:30:52 +02:00