Commit Graph

11 Commits

Author SHA1 Message Date
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
10c1eff1b6 Update generate_image_txt.lua
added {5,0,0} to the check_version
2018-01-02 11:33:40 +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
Tobias Ellinghaus
fc7a25ca4d Mark most official scripts as compatible with dt2 2016-01-07 11:23:34 +01:00
Jérémy Rosen
7ab97934ab official/generate_image_txt : use coroutine.yield now that it's fixed 2014-12-13 18:58:40 +01:00
Jérémy Rosen
2bbd71a327 official/generate_image_text : rework header 2014-12-13 11:58:21 +01:00
Tobias Ellinghaus
dab444ac65 Make a variable local 2014-12-11 11:03:05 +01:00
Tobias Ellinghaus
d1271ddb4e Add a script that generates txt files for images 2014-12-11 00:04:18 +01:00