Commit Graph

39042 Commits

Author SHA1 Message Date
Alexandre Prokoudine f9504140ae Mention Free Select changes in NEWS 2017-07-29 20:40:48 +03:00
Alexandre Prokoudine f25e78b6e1 Update NEWS 2017-07-29 20:40:48 +03:00
Alexandre Prokoudine 1a09a5b75d Update Russian translation 2017-07-29 18:37:38 +03:00
Mario Blättermann 28407e9f47 Update German translation 2017-07-29 14:16:28 +00:00
Alexandre Prokoudine 47d7f191d9 Fix typo and make the label consistent with the other one 2017-07-29 10:29:51 +03:00
Jehan 5ea831b99d plug-ins: add minimum version information for RawTherapee and Darktable.
Otherwise people will install older versions and won't understand why
the plug-ins won't work. It's just a little annoying that these version
strings have to be hardcoded this way. We could add macros in a header,
but that would be only half a solution. Ideally we'd rather have some
discovery logics at some point.
2017-07-29 01:41:13 +02:00
Alberto Griggio 87bbba5cea plug-ins: fix the RawTherapee version test. 2017-07-29 01:26:01 +02:00
Jehan b3eb876069 plug-ins: add some MacOS support to find RawTherapee.
Hopefully it works, since that's untested (I have no MacOS access). This
is mostly code from file-darktable.c, made generic and factorized into
file-raw-utils.[ch]. At least it still builds and work fine on Linux.
I used the CFBundleIdentifier from `tools/osx/Info.plist.in` in
RawTherapee code. I didn't add a Win32 registry key base though, since I
couldn't find any relevant data for this in RawTherapee code.
2017-07-29 01:26:01 +02:00
Jehan 7f85244bcc plug-ins: some alignment cleaning. 2017-07-29 01:26:01 +02:00
Alexandre Prokoudine e4902e24ad Distinguish between plug-ins and filters in NEWS 2017-07-29 01:18:55 +03:00
Alexandre Prokoudine a39a48892b Update NEWS 2017-07-29 01:13:08 +03:00
Michael Natterer 1acaa4444b app: make number-of-threads default value calculation less obfuscated 2017-07-29 00:08:59 +02:00
Ell eef09abf3a app, menus: add gegl:spiral to the menus 2017-07-28 17:48:03 -04:00
Jehan 1ec2bccc8a app, docs: s/in order do/in order to/. 2017-07-28 23:11:48 +02:00
Jehan 1941e5139e app: minor s/placeolder/placeholder/ 2017-07-28 22:57:09 +02:00
Ell 8121769dc9 app: don't propagate NULL error when saving XCFs
xcf_save_foo() can fail without setting the error object, in which
case trying to propagate it emits a CRITICAL.
2017-07-28 16:51:08 -04:00
Ell 6b84293078 app: limit allowable tile data size in XCFs
When loading tiles from an XCF, reject tiles whose on-disk size is
greater than 1.5 times the size of an uncompressed tile -- a limit
that is already present for the last tile in the buffer.  This
should allow for the possibility of negative compression, while
restricting placing a realistic limit.

Currently, no limit is placed on the on-disk tile data size.  When
loading RLE- and zlib-compressed tiles, a buffer large enough to
hold the entire on-disk tile data, up to 2GB, is allocated on the
stack, and the data is read into it.  If the file is smaller than
the reported tile data size, the area of the buffer past the end
of the file is not touched.  This allows a malicious XCF to write
up to 2GB of arbitrary data, at an arbitrary offset, up to 2GB,
below the stack.

Note that a similar issue had existed for earlier versions of GIMP
(see commit d7a9e6079d), however,
since prior to 2.9 the tile data buffer was allocated on the heap,
the potential risk is far smaller.
2017-07-28 16:51:08 -04:00
Michael Natterer 7a10afca39 app: turn magic matching debug output into GIMP_LOG() 2017-07-28 22:35:13 +02:00
Michael Natterer d227a0d71f app: disable gimp_display_shell_profile_update() debug output 2017-07-28 22:34:41 +02:00
Michael Natterer bb93e3401f Bug 785427 - GIMP crashes after applying any GEGL filter
Need to access GimpSettings' "time" property using gint64 variables
now.
2017-07-27 22:20:09 +02:00
Jordi Mas 17c9f7cbd7 Update Catalan translation 2017-07-27 14:39:15 +02:00
Michael Natterer 2a7a53b384 Bug 785240 - Naming the first color in a new palette is hard
Use the proper API to select a newly added palette color, so all
internal states are updated and the entry becomes editable.
2017-07-25 22:50:15 +02:00
Michael Natterer 82e34fb557 docs, etc: regenerated default gimprc and its manpage 2017-07-25 08:13:23 +02:00
Piotr Drąg 1a46a76a46 Update POTFILES.skip 2017-07-24 23:29:33 +02:00
Michael Natterer 713995e27d Bug 784261 - Have some nice error message for formats known to work...
...with known plugins

Add new plug-in file-raw-placeholder.c that registers itself for
loading all RAW formats from file-raw/file-formats.h, but does nothing
except returning an error message pointing to darktable and
RawTherapee.

When no real RAW loader is installed, this plug-in is selected
automatically as RAW loader, otherwise the first installed RAW loader
is used. Selecting another in prefs still works as before.
2017-07-24 22:19:53 +02:00
Michael Natterer 287cfb1413 app: some more g_clear_pointer() in gimp_plug_in_manager_finalize() 2017-07-24 22:18:54 +02:00
Michael Natterer b6f5bd2f25 plug-ins: update .gitignore in file-raw/ 2017-07-24 20:59:28 +02:00
Michael Natterer 87438c885a plug-ins: merge file-rawtherapee/ into file-raw/
and use the same file-formats.h
2017-07-24 20:58:25 +02:00
Michael Natterer 0369ac9b9f plug-ins: remove all TIFF extensions and magics from file-raw/file-formats.h 2017-07-24 20:44:22 +02:00
Michael Natterer 59558f8778 plug-ins: replace file-raw/file-formats.h's "darktable" strings by "%s"
and assemble the actual strings dynamically, substituting "draktable".
2017-07-24 20:41:41 +02:00
Michael Natterer fea66e027c plug-ins: prefix file-darktable's .lua files with "file-darktable-"
and change their install directory to "file-raw".
2017-07-24 20:32:02 +02:00
Michael Natterer a653a477d1 plug-ins: rename file-darktable/ to file-raw/
It will soon host all raw loader plug-ins.
2017-07-24 20:26:18 +02:00
Alberto Griggio 38be044bba plug-ins: check that the installed RawTherapee is at least version 5.2 2017-07-24 19:12:35 +02:00
draekko 619a05a688 Bug 785265 - Patch for localization for combotext in metadata editor
Mark string constants in arrays with N_() and call gettext() on them.
2017-07-24 12:28:02 +02:00
Alexandre Prokoudine 88304944bb Update Russian translation 2017-07-24 00:43:02 +03:00
Piotr Drąg 17478b0ef4 Update Polish translation 2017-07-23 16:46:18 +02:00
Michael Natterer 0b9dd1d800 configure.ac: require gexiv2 >= 0.10.6 2017-07-23 15:58:28 +02:00
Michael Natterer 7d5f1e44f2 app: change GimpSettings to store its time as gint64
and use GDateTime for handling it.
2017-07-23 15:18:55 +02:00
Michael Natterer 4a5b740828 libgimpconfig: add GIMP_CONFIG_PROP_INT64() and GIMP_CONFIG_PROP_UINT64()
While all serialize and deserialize code is supporting 64-bit ints for
quite a while, we didn't have convenience macros to install properties.
2017-07-23 15:17:12 +02:00
Michael Natterer bcda53ee7b Bug 785001 - Enhanced smudge tool: Smudge with painting
Apply patches from shark0r that alow to mix in both constant and
gradient color while smudging; and clean up the patches.
2017-07-23 14:44:22 +02:00
Jordi Mas 5928e3b8d1 Update Catalan translation 2017-07-20 21:27:25 +02:00
Dimitris Spingos (Δημήτρης Σπίγγος) 46847023a4 Update Greek translation 2017-07-20 04:25:00 +03:00
Jehan 894d85f64a app: GIMP_MAX_NUM_THREADS should follow max value of GeglConfig's...
... "threads" property.
Actually there is no need of having a public GEGL_MAX_THREADS as written
in the previous commit. We can just retrieve the max for a GObject
property.
2017-07-18 16:41:32 +02:00
Jehan 32ffabcba4 Bug 784226 - Maximum of processing threads hard-coded to 16.
Raise GIMP_MAX_NUM_THREADS to 64, following the changes in GEGL (see
GEGL commits 6d128ac and f26acbb). This is still considered unstable and
to be used at one's own risk (cf. GIMP commit 1f5739d) but at least, it
could allow discovering and fixing bugs.
It would be nice if GEGL_MAX_THREADS could be public so that to not have
to edit this by hand at each change.
2017-07-18 16:07:15 +02:00
Jehan 24c2bdf61c Bug 784890 - Being able to take a screenshot of a single window and...
... include mouse pointer.
This is working find and tested under GNOME which already had the code
for it (was only missing the GUI). I added the feature in OSX and X11,
though it is untested. Windows does not seem to have the capability (at
least according to screenshot_win32_get_capabilities() in our code).
2017-07-18 15:04:09 +02:00
Jehan 3fa2127854 app: fixes for previously contributed commit.
- trailing whitespaces cleaned out;
- vectors are called "path" in all visible strings;
- do not check for floating selection and active channel: oppositely to
  layers, a vector can be selected in the same time as a channel, and
  while there is a floating selection.
2017-07-18 13:35:02 +02:00
Lionel N 2de6beaea8 Bug 585607 - Vectors select (next, previous, top & bottom)
Now possible to have keybindings for previous/next/top/bottom vector
2017-07-18 13:27:29 +02:00
SimaMoto,RyōTa 7da262d86f Bug 784836 - Context conflict on "Lower" in po-plug-ins. 2017-07-18 12:56:32 +02:00
Michael Natterer 04a53dbce3 app: consistently name the filter tool presets "Presets" in the GUI 2017-07-18 00:30:55 +02:00
Michael Natterer bef155ef30 app: prepend "Last used: " to the names of the automatic filter presets
and add a tooltip about renaming them in order to save them
permanently.
2017-07-18 00:29:45 +02:00