Commit Graph

7 Commits

Author SHA1 Message Date
414a9a7f49 plug-ins: mask the 3 "Converts *" procedure from file-dds plug-in.
See equivalent commit ccc8224aa9 in master
(couldn't cherry-pick as code changed too much with new API obviously).

Let's also hide these procs even in gimp-2-10, because that's how much
these don't really make sense for a core plug-in IMO.
2019-09-16 11:13:15 +02:00
9501d63b20 plug-ins: big formatting and indentation cleanup in file-dds
Also change the license to GPL 3 or later, like all other files.

(cherry picked from commit 2a48a5f868)
2019-05-23 14:35:44 +02:00
d75a4615bd 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.

(cherry picked from commit ff2d22d915)
2019-01-02 21:49:34 +01:00
c8b663e1b3 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.

(cherry picked from commit 948608e658)
2019-01-02 19:37:59 +01:00
a6385fa096 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.

(cherry picked from commit 67a80c8667)
2019-01-02 18:55:23 +01:00
4c8f8f45c0 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.

(cherry picked from commit df8a20956b)
2019-01-02 18:55:23 +01:00
369884cf9c 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.

(cherry picked from commit 79bc2dc1ef)
2019-01-02 18:54:52 +01:00