Commit Graph

22 Commits

Author SHA1 Message Date
Jehan e8bbf42eba Issue #3841: double mnemonics.
I kept the 'i' as 'f' was already used for another widget.
2019-08-23 01:26:53 +02:00
Jehan e0d50aa121 plug-ins: keep building all plug-ins with old API.
Build existing plug-ins with -DGIMP_DEPRECATED_REPLACE_NEW_API.
We will port the plug-ins one at a time to the new GimpImage API.
2019-08-22 15:54:36 +02:00
Michael Natterer de121374ef Change the "handles uri" flag of file procedures to "handle remote"
And always pass URIs to all file procedures, the ones what didn't
register as "handles remove" will only ever get local file:// URIs.

Change all file plug-ins (also legacy ones) to expect URIs instead
of filenames, and convert to local paths in the plug-in.

The wire protocol should now be almost 100% clean of non-UTF-8 strings.
2019-08-19 12:05:12 +02:00
luz.paz c1585d609b Misc typo fixes in plug-ins/ 2019-08-13 11:50:51 -04:00
Øyvind Kolås 1661aab620 plug-ins: link dds plugins against libm 2019-08-04 14:22:09 +02:00
Michael Natterer 8e809160f0 plug-ins: port file-dds to GtkGrid 2019-07-22 01:37:11 +02:00
Michael Natterer 618fbc6b17 plug-ins: clean up the file-dds GUI, remove the "Advanced" expander
(cherry picked from commit d578aa67f5)
2019-07-22 01:14:00 +02:00
Michael Natterer 2a48a5f868 plug-ins: big formatting and indentation cleanup in file-dds
Also change the license to GPL 3 or later, like all other files.
2019-05-23 14:34:00 +02:00
Sabri Ünal d7a4d5c6a8 Issue #3140 - Export as DDS dialog does not have an Export button 2019-05-10 14:23:25 +00:00
Ell 8954d1f386 libgimpwidgets, app, plug-ins: use GimpSpinButton everywhere
Replace all direct uses of GtkSpinButton with GimpSpinButton, so
that its modified behavior extends to all our spin buttons.
2019-03-09 07:28:52 -05:00
Ell b5a34c3190 plug-ins: in file-dds, rename endian.h to endian_rw.h ...
... to avoid clashing with the system <endian.h>

Thanks Andrea!
2019-02-17 13:35:16 -05:00
Michael Natterer 0fa98d4849 plug-ins: add .gitignore file to file-dds 2019-01-30 18:48:28 +01:00
Jehan ff2d22d915 plug-ins: a lot of coding style cleanup in file-dds.
Still a lot more to do but pushing WIP to not have it wasted if more
commits come in from others.
Also got rid of some global variables.
2019-01-02 21:41:19 +01:00
Jehan d1de204dbc plug-ins: "Export as DDS" is translatable.
Thanks to Piotr Drąg for raising my overlooking this.
2019-01-02 20:40:50 +01:00
Jehan 948608e658 plug-ins: get rid of "Show this dialog" checkbox in file-dds.
None of our load plug-ins have such a checkbox, so this is not
consistent. Moreover one you uncheck it, you just can't get back the
dialog until next GIMP restart. That's very bad usability.
2019-01-02 19:34:40 +01:00
Jehan 7e68aa37c1 plug-ins: s/Save as DDS/Export as DDS/
Let's make the GUI title consistent with our naming.
2019-01-02 19:14:30 +01:00
Jehan 8f49fad3da plug-ins: fix a few more warnings.
There are still a bunch of warnings, especially regarding usage of
GtkTable, GtkMisc and some unused functions.
2019-01-02 18:33:46 +01:00
Jehan 67a80c8667 plug-ins: make the file-dds plug-in load correctly.
This commit fixes the following error:

> attempted to install a procedure with a full menu path as menu label,
> this is not supported any longer.

Instead, if we want new items in menu, we should use
gimp_plugin_menu_register(). I add the calls, yet comment them out,
since I don't think we want these various conversion calls into the
provided filters. The proper way for data conversion should be through
babl/GEGL.
2019-01-02 18:33:46 +01:00
Jehan df8a20956b plug-ins: make file-dds compile.
This is still very broken and it doesn't load well. But at least it
compiles!
All build errors (and a few warnings though not all) fixed.
2019-01-02 18:33:46 +01:00
Alexandre Prokoudine 2f3504e06a file-dds: mark some user-vsible messages for translation, expose them to PO files
Unfortunately, no items of comboboxes are currently translatble
due to the way the code is written.
2019-01-02 18:33:46 +01:00
Massimo Valentini d25348ca24 file-dds: support for DXT2/DXT4, initial build and GEGL-related fixes 2019-01-02 18:33:46 +01:00
Alexandre Prokoudine 79bc2dc1ef file-dds: add original source code of the DDS plug-in
This is the code from the 'gimp-2.9' branch of the plug-in,
integrated into GIMP's build system.
2019-01-02 18:33:46 +01:00