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.
Bill Ferguson
2016-10-21 13:22:25 -04:00
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.
Bill Ferguson
2016-10-20 01:19:54 -04:00
e51f1e0a82
copy_attach_detach_tags small updates on german translation
chrik5
2016-10-18 15:37:54 +02:00
b4b82906ea
copy_attach_detach_tags make script translateable and added german translation by Holger Klemm
chrik5
2016-10-18 15:30:45 +02:00
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.
Bill Ferguson
2016-10-15 01:47:43 -04:00
ae8727ad96
Mark module quicktag as add API 3 compatible
chrik5
2016-10-09 14:44:44 +02:00
de823f0430
quicktag module make tag entries dynamic
chrik5
2016-10-06 11:02:00 +02:00
c6ced0b1ea
first version of a quicktag modul
chrik5
2016-10-05 16:33:13 +02:00
3dd415697a
Removed extra end statement
Bill Ferguson
2016-09-05 13:56:22 -04:00
f7ce368b28
Reverted contrib/geo_uri.lua to previous version so that I can add it in it's own pull request.
Bill Ferguson
2016-09-05 13:49:47 -04:00
168236780d
Incorporated supertobi's correction to the translations
Bill Ferguson
2016-09-04 11:42:27 -04:00
549e9ccd0b
Changed fileMove per discussion to use os.rename first, os.execute(mv... second, and a lua solution third. The lua solution includes fileCopy with attempts os.execute(cp... first, then does a pure lua copy if that doesn't succeed
Bill Ferguson
2016-08-31 20:18:29 -04:00
21f31b403b
Recoded fileMove to use os.execute and the system mv command. Removed fileCopy as it was no longer needed.
Bill Ferguson
2016-08-25 22:49:59 -04:00
3b42503bd3
Removed extra end statement
Bill Ferguson
2016-08-23 21:14:39 -04:00
95e15fc40c
Changed poorly translated message to that suggested by supertobi, and took care of spacing issue.
Bill Ferguson
2016-08-23 21:13:11 -04:00
74e546c2ce
Added fileCopy and fileMove functions to replace os.rename which doesn't work across filesystems. Added an error message if the move isn't accomplished so that the user knows what happened. Updated translations to reflect changes.
Bill Ferguson
2016-08-23 00:09:27 -04:00
2325d24d6f
Comments added for import-filters fix.
Christian Mandel
2016-04-28 10:27:25 +02:00
4397e07d7f
Fix accidentally deleted first image during import. Lua is very picky about sparse table handling.
Christian Mandel
2016-04-27 17:18:41 +02:00
f5a624cfb2
Remove exported image if it has no GPS data
elman
2016-04-27 19:35:44 +02:00
d2762fae73
Fixed issue with exporting RAW images
elman
2016-04-27 19:25:03 +02:00
457731700c
gimp doesn't like filenames with spaces in them, so added sanitize_filename to escape them. Updated gimp.po to reflect the changed line numbers.
Bill Ferguson
2016-04-16 21:44:24 -04:00
3dcb08cca3
Replaced checkIfFileExists with supertobi's fix and capitalized GIMP in gimp.po where I missed it.
Bill Ferguson
2016-04-16 21:10:58 -04:00
e3f1ff7d70
Strip accents from the filename, because GoogleEarth can't open them
supertobi
2016-04-16 23:36:58 +02:00
623b506691
Added check to see if the export would overwrite an existing file. If it would, the filename was incremented with _XX where XX was an increment starting at 01 and ending at 99. gimp.po line numbers adjusted to reflect the changes in code.
Bill Ferguson
2016-04-15 23:58:33 -04:00
6e5dbc0b83
Incorporated supertobi's suggestions. Replaced file and path splitting code with a regular expression (thanks Tobias Jakobs) to ensure filenames were handled correctly. Used the image data in the image table pairs instead of darktable.gui.action_images to ensure there were no mismatches as well as clean up the code nicely. Updated gimp.po to reflect the line number changes due to code refactoring.
Bill Ferguson
2016-04-15 00:38:00 -04:00
9c40a22c50
Removed gimp.lua from the top level
Bill Ferguson
2016-04-14 22:21:32 -04:00
9dbd1d9bda
Incorporated supertobi's comments. Changed os.execute to os.rename to handle spaces and special characters. Capitalized GIMP in all print strings. Added de_DE translation.
Bill Ferguson
2016-04-14 16:34:37 -04:00
9693b017c4
Changed back to string.format in show_status but coded it correctly this time.
Bill Ferguson
2016-04-10 16:27:49 -04:00
670915ab36
fixed typo: will will -> will
supertobi
2016-04-10 00:05:34 +02:00
8224913b01
replaced string.format in show_status with the string and concatenation since string.format was having problems with the arguments.
Bill Ferguson
2016-04-09 01:37:54 -04:00
2b577f9755
improved the entry and file_chooser_button examples
supertobi
2016-04-07 23:29:08 +02:00
4556c9a055
Incorporated comments from supertobi, marking string for translation on line 128 and expanding variable names for lines 157-165
Bill Ferguson
2016-04-07 11:59:41 -04:00
679ce8b6ab
Created gimp.lua to export an image to gimp for editing, then return the result and group it with the original image
Bill Ferguson
2016-04-06 22:21:13 -04:00
59eeb60594
Merge remote-tracking branch 'upstream/master'
Bill Ferguson
2016-04-06 22:16:11 -04:00
6c4f9b2c03
Add script to copy & paste metadata between images
Tobias Ellinghaus
2016-03-29 20:11:19 +02:00