Commit Graph

26 Commits

Author SHA1 Message Date
Bill Ferguson
14d5a79db2 Added script_data.show to script_data blocks 2023-07-16 13:04:00 -04:00
Bill Ferguson
c4df81bdef [contrib/geoToolbox] changed atan2 call to atan for lua 5.4 compatibility 2021-08-05 18:53:05 -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
4b63240ab9 Reverted register_event calls back to API 6.1.0 2021-06-11 21:44:38 -04:00
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
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
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
432b6b5dd7 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:21:17 -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
supertobi
a40d8b8bc5 added {5,0,0} to the check_version 2017-09-26 10:34:16 +02:00
supertobi
2f7da8356f Update geoToolbox.lua
Label changed: select non-geo images
2017-04-29 20:46:38 +02:00
supertobi
ef46cd9b45 Update geoToolbox.lua
reverse geocodeing start
2017-04-27 20:20:29 +02:00
supertobi
39ae92a0fa Update geoToolbox.lua
fix open with gnome-maps
2017-04-18 22:31:49 +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
99e1141446 dt.database -> dt.collection
select only images in the collection, not in the database
2017-01-12 13:27:29 +01:00
supertobi
3bd76b4fb5 added a progress bar
added a progress bar to elect_without_gps() and select_with_gps()
2017-01-12 13:16:59 +01:00
supertobi
3fb4ef34f4 past -> paste 2017-01-12 12:58:17 +01:00
supertobi
f7c2abdcd7 dt.gui.action_images -> dt.gui.selection() 2017-01-12 12:56:41 +01:00
supertobi
cc6006e226 removed "the" from "Past the GPS data" 2017-01-12 12:32:42 +01:00
supertobi
2816c2bcf5 changed label to lower case 2017-01-12 12:30:45 +01:00
supertobi
abc8061cd7 Update geoToolbox.lua
gettext translations
2017-01-09 14:00:14 +01:00
supertobi
a30c4d6be5 Update geoToolbox.lua
changed camel case to "_"
2017-01-09 13:53:23 +01:00
supertobi
71e7269927 geo toolbox
this script replaces:
calcDistance.lua
geo_uri.lua 
gps_select.lua
2017-01-08 20:54:12 +01:00