Commit Graph

44316 Commits

Author SHA1 Message Date
Michael Natterer c940ca8f8a plug-ins: port file-mng to GimpPlugIn and libgmp objects
All file plug-ins ported \o/
2019-08-27 15:22:52 +02:00
Jehan 7963462429 libgimp: clean up some warnings when building with MSYS 64bit.
See #3852.
Fixes:
> warning: 'n_return_vals' may be used uninitialized in this function
> warning: 'n_args' may be used uninitialized in this function
2019-08-27 15:02:21 +02:00
Michael Natterer 2599d79292 libgimp: remove gimp_register_magic_load_handler() 2019-08-27 14:48:08 +02:00
Michael Natterer 10b798c198 plug-ins: port file-dds to GimpPlugIn and libgimp objects
This is such a monster, I'm sure I broke something here...
2019-08-27 14:43:38 +02:00
Michael Natterer 3d7c044181 plug-ins: port file-pdf-save to GimpPlugIn and libgmp objects 2019-08-27 14:12:50 +02:00
Michael Natterer 2adfa90cc4 plug-ins: somehow killed file-aa's attribution, put it back 2019-08-27 13:34:31 +02:00
Michael Natterer 0b3e02be10 libgimp: again, redo all APIs returning list of images, items, children
We now have both variants, one returning a GList, and another
returning an array. Turns out that while a list is often nicer,
sometimes a random-access array really keeps the code much simpler.

Adapt all plug-ins, and clean up a bit (like use g_list_reverse() once
instead of iterating the list reversed).
2019-08-27 13:26:27 +02:00
Jehan 6391b2bcff Issue #3263: fix critical error on bucket fill tool.
Fixes the error:
> Critical error: gimp_line_art_thaw: assertion 'line_art->priv->frozen'

This may happen in cases when we didn't actually freeze the line art at
pointer click, because we were in an invalid case (for instance,
clicking out of selection), hence we must not thaw the line art either
at button release.
2019-08-27 12:41:49 +02:00
Martin Srebotnjak 72d865daa0 Updated Slovenian translation 2019-08-26 22:24:44 +02:00
Martin Srebotnjak 8b7a2c5012 Updated Slovenian translation 2019-08-26 22:24:10 +02:00
Martin Srebotnjak 087b4ca9c2 Updated Slovenian translation 2019-08-26 22:23:34 +02:00
Martin Srebotnjak f0ef00b23b Updated Slovenian translation 2019-08-26 22:22:56 +02:00
Martin Srebotnjak d37fa2d576 Updated Slovenian translation 2019-08-26 22:19:47 +02:00
Jehan bf79896db1 plug-ins: port (hopefully) missing Win32 screenshot code.
Seems I missed this part. Hopefully this is good now. This is untested,
not even a build test.
2019-08-26 16:50:25 +02:00
Zander Brown 18edd41319 Update British English translation
(cherry picked from commit ad542450ea)
2019-08-26 09:12:07 +00:00
Jordi Mas 7402d5e514 Update Catalan translation 2019-08-26 09:43:47 +02:00
Michael Natterer 6e96490012 plug-ins: port file-aa to GimpPlugIn and libgimp objects 2019-08-25 19:53:02 +02:00
Michael Natterer 0ee329bd44 plug-ins: port file-gegl to GimpPlugIn and libgimp objects 2019-08-25 18:15:04 +02:00
Michael Natterer 5dd8add77a plug-ins: port file-fli to GimpPlugIn and libgimp objects 2019-08-25 16:05:41 +02:00
Michael Natterer bc1e611bf0 plug-ins: port file-sunras to GimpPlugIn and libgimp objects 2019-08-25 15:12:48 +02:00
Jehan 24af759483 pdb: update a bunch of docs where s/-1/%NULL/
Also add a none_ok on gimp_text_fontname() outarg since it is clearly
noted as being able to return no layer with invalid parameters.
2019-08-25 12:01:41 +02:00
Jehan 13ea5caec2 plug-ins: port file-openraster to Python 3 + new API.
Apart from porting, only code logics change is the whole
encode()/decode() code because it created a string vs bytes mess and the
zipfile API apparently didn't like to deal with bytes, even though the
docs say otherwise.
It's hard to test on my UTF-8 system, so please anyone working with
non-UTF-8 paths, we welcome reports if ORA load/save does not work
properly.

Other than this, load, save and load_thumb were all tested and working
properly so far.
2019-08-25 12:01:41 +02:00
Jehan ac1c0ae3ce libgimp, pdb: annotate arguments with none_ok as (nullable).
Same for returned value though it seems we have no function with none_ok
as return value. At least we have the rule in the generation script for
when this will happen.
2019-08-25 12:01:41 +02:00
Balázs Úr 74143024a8 Update Hungarian translation 2019-08-24 21:51:49 +00:00
Jehan b194ce1e07 Issue #3840: Arch added a mypaint-brushes1 package.
This is the base system for our CI, and the former mypaint-brushes
package got bumped to v2, which broke the build. Instead of rolling
back, they added a mypaint-brushes1 package. Let's rely on it instead of
installing it ourselves now.
2019-08-24 19:20:56 +00:00
Michael Natterer 7bc4e6eb6b plug-ins: port file-jp2-load to GimpPlugIn and libgimp objects 2019-08-24 20:55:54 +02:00
Martin Srebotnjak a9481d2e43 Updated Slovenian translation 2019-08-24 20:36:35 +02:00
Martin Srebotnjak 8cd5c76cef Updated Slovenian translation 2019-08-24 20:36:04 +02:00
Martin Srebotnjak b04c96afb3 Updated Slovenian translation 2019-08-24 20:26:58 +02:00
Michael Natterer 72df7883ef plug-ins: port file-dicom to GimpPlugIn and libgimp objects 2019-08-24 20:15:35 +02:00
Michael Natterer 8265cb8f9d plug-ins: port file-psp to GimpPlugIn and libgimp objects, untested 2019-08-24 19:52:36 +02:00
Michael Natterer cd4fbb6213 plug-ins: port file-pcx to GimpPlunIn and libgimp objects 2019-08-24 19:27:46 +02:00
Michael Natterer 7f65383ad4 plug-ins: port file-xpm to GimpPlugIn and to libgimp objects 2019-08-24 18:56:03 +02:00
Michael Natterer 0ae833b0e0 plug-ins: port file-tga to GimpPlugIn and libgimp objects 2019-08-24 18:34:53 +02:00
Michael Natterer 9847072978 plug-ins: port file-faxg3 to GimpPlugIn and libgimp objects
No idea if this works, I didn't find an example image.
2019-08-24 18:08:31 +02:00
Michael Natterer e6322e319c plug-ins: port file-fits to GimpPlugIn and libgimp objects 2019-08-24 17:49:58 +02:00
Michael Natterer 71d56d8e6f plug-ins: port file-bmp to GimpPlugIn and libgimp objects 2019-08-24 17:26:00 +02:00
Michael Natterer 16abb690fd libgimp: remove gimp_register_file_handler_remote() 2019-08-24 17:07:19 +02:00
Michael Natterer 2fd17029f4 plug-ins: port file-cel to GimpPlugIn and libgimp objects 2019-08-24 17:04:38 +02:00
Michael Natterer 44ebcee901 plug-ins: port file-xwd to GimpPlugIn and libgimp objects 2019-08-24 16:46:40 +02:00
Michael Natterer d7fb408267 plug-ins: port file-gif-save to GimpPlugIn and libgimp objects 2019-08-24 15:57:54 +02:00
Michael Natterer 33d7faf064 libgimp: don't iterate NULL hash tables in gimp_plug_in_pop_procedure() 2019-08-24 15:45:07 +02:00
Michael Natterer cb01f15f8c libgimp: gimpexport.c: must not unref proxy objects 2019-08-24 15:43:23 +02:00
Michael Natterer ed041bff39 plug-ins: port file-html-table to GimpPlugIn and libgimp objects 2019-08-24 13:53:16 +02:00
Michael Natterer 5428cc60b0 plug-ins: port file-header to GimpPlugIn and libgmp objects 2019-08-24 13:41:48 +02:00
Michael Natterer 037e8a6e49 plug-ins: port file-csource to GimpPlugIn and libgimp objects 2019-08-24 13:33:54 +02:00
Michael Natterer 55049488dc plug-ins: port file-pnm to GimpPlugIn and libgimp objects 2019-08-24 13:18:49 +02:00
Michael Natterer 56c8735f6f libgimp: remove gimp_register_load_handler() 2019-08-24 12:36:56 +02:00
Michael Natterer ee5a93f368 plug-ins: port file-raw-data to GimpPlugIn and libgmp objects 2019-08-24 12:33:18 +02:00
Michael Natterer 3636541b42 plug-ins: port file-webp to GimpPlugIn and libgimp objects 2019-08-24 11:45:01 +02:00