Commit Graph

31 Commits

Author SHA1 Message Date
Bill Ferguson
a0cbe8efd5 [contrib/quicktag] changed is_password to false on entry so user can
see what they typed.
2021-08-04 11:28:12 -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
Bill Ferguson
15de64dcf5 [contrib/quicktag] changed new entry field is_password setting to false
so that the user can see what they are typing.
2021-06-02 23:41:02 -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
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
994b9c6472 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-08 23:28:50 -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
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
Pascal Obry
0be268c01f Remove trailing whitespaces. 2017-02-28 16:38:50 +01:00
Pascal Obry
1831db530d Make the label smaller to fit on screen.
As we are on the quicktag module it seems quite obvious that we are
handling quicktag. So let's just use "tag" instead of "quicktag", this
is a bit smaller and it saves spaces on the widget. This ensure that
the whole module is visible in most cases (panel size, font size...).
2017-02-28 16:36:32 +01:00
chrik5
81c5bb4d52 [quicktag] update copyright 2017-02-20 18:00:59 +01:00
chrik5
93796bf4a8 [quicktag] fix German translation and remove print output 2017-02-20 17:57:53 +01:00
chrik5
4c34113f78 [quicktag] use string.format in messages for better translation 2017-02-20 15:42:48 +01:00
chrik5
e4b189a06e [quicktag] update TODO list 2017-02-20 12:11:52 +01:00
chrik5
b4658ddf76 [quicktag] abbrevate tag button labels to a configurable length 2017-02-20 12:00:45 +01:00
chrik5
5021e512b9 [quicktag] make script tranlateable 2017-02-17 16:21:23 +01:00
chrik5
6d927540c8 [quicktag] remove dead code 2017-02-17 13:40:39 +01:00
chrik5
5af200a29d [quicktag] don't allow to set empty tags 2017-02-17 10:32:06 +01:00
chrik5
8b333c1ab5 [quicktag] update and fix description 2017-02-17 10:25:06 +01:00
chrik5
d1f34ec136 [quicktag] fix and update some comments 2017-02-16 16:32:50 +01:00
chrik5
c887a0d2b5 [quicktag] remove tag list from preferences dialog, because the tags can be set from the modul now 2017-02-16 16:13:55 +01:00
chrik5
e389420f07 quicktag - make API 5.0.0 compatible 2017-01-24 21:02:53 +01:00
chrik5
0590beb876 quicktag - add tags if they not exist in the taglist of darktable 2017-01-24 20:56:07 +01:00
chrik5
91c62e208b quicktag: rework of modul layout and behaviour
* long tags are stil a problem
* maybe two colums of tag buttons saves high, if someone wants to have many tags
* option to create non existing tags will be nice I guess
2016-12-28 12:32:12 +01:00
chrik5
1e0424a83f quicktag module: place entry field and buttons side-by-side, button labels are now the quicktags 2016-12-27 15:28:43 +01:00
chrik5
ae8727ad96 Mark module quicktag as add API 3 compatible 2016-10-09 14:44:44 +02:00
chrik5
de823f0430 quicktag module make tag entries dynamic 2016-10-06 11:02:00 +02:00
chrik5
c6ced0b1ea first version of a quicktag modul 2016-10-05 16:33:13 +02:00