Commit Graph

29 Commits

Author SHA1 Message Date
Bill Ferguson
0856858e73 Updated comments to reflect current usage practices. Added/updated links to the online manual for each of the widgets. Added translation. Removed reference to api_major_version 6 2020-05-08 00:15:31 -04:00
Bill Ferguson
7ee140c8c8 created 3 demonstration scripts of the dt3.0 lua API additions 2019-12-19 13:38:25 -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
61a55f71f5 Created a cross platform script that calls an external executable. It also performs a service that some users might find useful, extracting the embedded jpeg image from a raw file, then importing and grouping it with the raw. Updated README.md to reflect the new file 2018-08-07 22:08:09 -04:00
supertobi
d74f2eba92 Create printExamples.lua 2017-10-11 11:29:48 +02:00
supertobi
20a31b39e0 Added section_label moduleExample.lua 2017-10-10 20:22:39 +02:00
supertobi
fc252d5e7e New example for the running_os command 2017-10-10 17:27:09 +02:00
supertobi
d3742bb410 added {5,0,0} to the check_version 2017-09-26 14:55:12 +02:00
supertobi
75cb1a5fdd added {5,0,0} to the check_version 2017-09-26 14:55:07 +02:00
supertobi
8436c878e8 added {5,0,0} to the check_version 2017-09-26 14:53:54 +02:00
supertobi
63d3a34f46 added {5,0,0} to the check_version 2017-09-26 10:55:23 +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
Bill Ferguson
93e30a8542 Verified API 4.0.0 compatibility and made the necessary changes 2016-11-07 22:53:52 -05:00
supertobi
2b577f9755 improved the entry and file_chooser_button examples 2016-04-07 23:29:08 +02:00
supertobi
0c9d4a5de4 added tooltip to new_widget("entry") 2016-03-23 10:32:16 +01:00
supertobi
102ea2da7a Added comment
This is an alternative way to the "{}" syntax to set a property
2016-03-13 21:11:04 +01:00
supertobi
e1a2fbfaa6 Copy past error in the copyright line 2016-03-13 21:07:32 +01:00
supertobi
b2754e3036 Create moduleExample.lua
lua_gui_example
2016-03-12 00:09:37 +01:00
supertobi
25d2eade8c Move api_version.lua into examples
As this script is more usable for developers then for 'normal' users I moved it into examples.
2016-02-16 13:09:16 +01:00
supertobi
077a7de605 Update gettextExample.lua
function _(msgid)
2016-01-29 23:01:05 +01:00
supertobi
72a97ecbd6 Update gettextExample.lua 2016-01-29 22:18:54 +01:00
supertobi
87a6ed3e46 Update gettextExample.lua
bindtextdomain changed: ~/
2016-01-29 14:26:31 +01:00
supertobi
95d8e777db Update gettextExample.lua 2016-01-29 14:21:46 +01:00
supertobi
d028ecfc55 Update gettextExample.lua
improved readability
2016-01-26 22:40:36 +01:00
supertobi
ae709a1d9b Rename contrib/de_DE/LC_MESSAGES/gettextExample.po to examples/de_DE/LC_MESSAGES/gettextExample.po 2016-01-22 09:49:22 +01:00
supertobi
0812d96068 Rename contrib/gettextExample.lua to examples/gettextExample.lua 2016-01-22 09:48:23 +01:00
supertobi
86911933db Rename contrib/preferenceExamples.lua to examples/preferenceExamples.lua 2016-01-22 09:47:19 +01:00
supertobi
69d5c139f6 Rename official/hello_world.lua to examples/hello_world.lua 2016-01-22 09:46:39 +01:00