Commit Graph

1094 Commits

Author SHA1 Message Date
Ell b4ac956859 app, pdb: add gimp-register-file-handler-priority procedure
Add a gimp-register-file-handler-priority procedure, which can be
used to set the priority of a file-handler procedure.  When more
than one file-handler procedure matches a file, the procedure with
the lowest priority is used; if more than one procedure has the
lowest priority, it is unspecified which one of them is used.  The
default priority of file-handler procedures is 0.

Add the necessary plumbing (plus some fixes) to the plug-in manager
to handle file-handler priorities.  In particular, use two
different lists for each type of file-handler procedures: one meant
for searching, and is sorted according to priority, and one meant
for display, and is sorted alphabetically.
2018-07-17 02:56:18 -04:00
Michael Natterer bab75b7365 Change a bazillion URLs to https://
Including all user-visible link and links called from code, like
the help pages.
2018-07-14 14:19:27 +02:00
Michael Natterer 8eb77376c4 More bugzilla -> gitlab in various files 2018-07-11 22:24:02 +02:00
Jehan a89c4738cc devel-docs: update macOS support to OSX 10.12 on master.
We diverge from the gimp-2-10 branch by setting a higher minimum
support for the GTK+3 port, as discussed with Mitch and Samm.
2018-06-27 16:10:49 +02:00
Ell da27632c11 pdb: change image freeze/thaw procs to "Since: 2.10.2" 2018-05-29 16:04:28 -04:00
Ell 97925de8eb libgimpbase, libgimp, app: pass icon theme dir to plug-ins through config
Pass the current icon theme directory to plug-ins through the
config message, and add a gimp_icon_theme_dir() libgimp function
for retrieving it.  Note that we already have a similar
gimp_icon_get_theme_dir() PDB function, which we keep around, since
it can be used to dynamically query for the current icon dir,
unlike the former, and since it returns a dynamically-allocated
string, while the rest of the config-related functions return
statically allocated strings.

Use the new function, instead of gimp_get_icon_theme_dir(), in
gimp_ui_init().  This allows gimp_ui_init() to run without making
any PDB calls.  Consequently, this allows us to start plug-ins that
call gimp_ui_init() without entering the main loop in the main app.
We're going to add a plug-in that displays an interactive dialog
while the main app is blocking waiting for an operation to
complete, and we need to be able to start the plug-in without
entering the main loop, to avoid the possibility of arbitrary code
being executed during the wait.

Bump the protocol version.
2018-05-29 16:04:28 -04:00
Ell 000fd8e69b libgimpwidgets: add GimpBusyBox
GimpBusyBox is used to show a message indicating an operation is in
progress.  It's basically just a spinner and a label, with some
styling.

We're going to use it both in app/ and in a plug-in.
2018-05-29 16:04:28 -04:00
Jehan 67ae36f28e devel-docs: howto test high density. 2018-05-26 22:41:54 +02:00
Jehan 6ebff7b3c5 configure, desktop: update the bug report URL.
Also make so that the metadata URL is taken from the one of the package
set with configure.
2018-05-25 15:05:47 +02:00
Jehan 2101810c23 devel-docs: update devel-docs on how to start GtkInspector. 2018-05-21 22:31:40 +02:00
Simon Budig 6d6d92d88e devel-docs: blindly port the tool to GtkGrid... 2018-05-20 21:06:35 +02:00
Simon Budig 25c033b263 some odds and ends regarding GtkTable removal... 2018-05-20 21:06:35 +02:00
Michael Natterer 7fb0316d0a devel-docs: make the shooter tool at least build again (untested) 2018-05-20 21:06:29 +02:00
Michael Natterer 92c59316e1 devel-docs: release-howto.txt: it's org.gimp.GIMP.appdata.xml.in.in
not just org.gimp.GIMP.appdata.xml.in
2018-05-20 18:32:21 +02:00
Jehan 25c0d79eb8 devel-docs: various clarifications in the first sections. 2018-05-19 00:56:23 +02:00
Jehan 517b5df70c devel-docs: add all missing properties to XCF docs. 2018-05-19 00:05:53 +02:00
Jehan 01176c8ce6 devel-docs: add intro to XCF docs and use "pointer" data type.
Explaining in the intro that the reference is the code, and where to
find it.
Rather than writing uint32/64 for every offset, use "pointer" as a
proper and well defined basic data type, whose detailed description is
in the "BASIC CONCEPTS" section at the start of the file.
2018-05-18 21:37:03 +02:00
Michael Natterer 93473b0334 devel-docs: add missing functions to libgimpfoo-sections.txt 2018-05-18 19:32:51 +02:00
Jehan c48cbd1c16 devel-docs: adding some links on how to find implementation details...
... for layer modes.
KDE developers asked me where the code was so that they could reproduce
actual algorithms in their XCF reader. This is obviously interesting
information to have around in our docs.
2018-05-18 18:55:01 +02:00
Jehan 5092a68b1c devel-docs: update XCF docs about 64-bit pointers for XCF 11 and over. 2018-05-18 18:37:32 +02:00
Jehan 6cf1341c90 devel-docs: update the XCF docs.
Add some info about endianness (and the bug we had between version 7 and
11) and layer masks being attachable to layer groups now.
2018-05-18 17:42:34 +02:00
Jehan 7bad32cf33 devel-docs: add info about "precision" field in XCF header. 2018-05-18 04:33:00 +02:00
Jehan cdfb7fdddd devel-docs: update the list of layer mode in XCF docs. 2018-05-18 03:39:13 +02:00
Jehan 99decb674b devel-docs: update xcf docs with zlib compression info. 2018-05-18 02:47:19 +02:00
Jehan 31f5d7dc04 Bug 795720 - Change MD5 sums to SHA512 ones.
We should stop using MD5 sums altogether and push forward SHA256/SHA512
hash sums instead. The website is also being updated to display these in
favor of the deprecated MD5 sums.
We are most likely not going to remove previously computed MD5 sums, or
recompute SHA* hashes for older binaries, but at least we should stop
doing MD5 sums of any future binary.
2018-05-06 01:20:09 +02:00
Michael Natterer 26c67cf7d2 devel-docs: more s/2.9/2.10/ 2018-04-27 11:02:38 +02:00
Michael Natterer ae509749d4 devel-docs: more s/2.9/2.10/ 2018-04-26 16:12:28 +02:00
luz.paz 4a77ff2d3d Bug 795557 - Misc. typo fixes in source, comments and doxygen (pt3)
Found via `codespell` and grep.
2018-04-25 23:49:06 +02:00
Michael Natterer 7caa339855 devel-docs: some updates to GIMP3-API-Changes.txt 2018-04-18 22:50:56 +02:00
luz.paz 147c09f19e Bug 795161 - Misc. typo fixes in source comments and doxygen
Found via `codespell`
Follow-up to  commit 7fdb963e01
2018-04-18 21:06:57 +02:00
Michael Natterer e02a03a63d devel-docs: add missing stuff to libgimpbase-sections.txt 2018-04-17 13:19:16 +02:00
Michael Natterer 4bcc1183e5 devel-docs: add new libgimp functions 2018-04-16 21:45:21 +02:00
Jehan 64bab848c3 NEWS, devel-docs: next release is RC2 + some fixes in release howto. 2018-04-16 09:13:37 +02:00
Michael Natterer 50536e1c38 Bug 795230 - Rename Blend tool and provide PDB compatibility
Add new PDB group "drawable_edit" which has all procedures from the
"edit" group which are not cut/copy/paste.

The new group's procedures don't have opacity, paint_mode
etc. arguments but take them from the context instead. Unlike the old
gimp-edit-fill, gimp-drawable-edit-fill now uses the context's opacity
and paint_mode.

The new gimp-drawable-edit-gradient-fill procedure uses even more
context properties which are also newly added with this commit
(gradient_color_space, gradient_repeat_mode, gradient_reverse).

And some cleanup in context.pdb.

This is still WIP, nothing in the edit group is depcreated yet.
2018-04-15 15:28:50 +02:00
Jehan 309d118f65 app, devel-docs: improve position of loading text on splash image.
The upper text will be centered on the top quarter of the bottom quarter
of the splash image, whereas the bottom text will be centered on the
bottom quarter of the bottom quarter of the splash (unless the splash is
too small, in which case the double of the layout pixel extents will be
used). Basically don't use absolute pixel values anymore for
positionning. This should all be done relatively since there are
nowadays all kind of display size (and positionning the text 6 pixels to
the bottom, as it was done, may be ok on low density displays, yet will
look ugly on high density screens).

Also write this down in the splash requirements in the release howto so
that splash designers are aware that the bottom quarter of their image
will have to be adapted for printing text.
2018-04-15 02:32:30 +02:00
Michael Natterer ebb9d83d63 Bug 795230 - Rename Blend tool and provide PDB compatibility
Step 1: rename the icon to GIMP_ICON_TOOL_GRADIENT (gimp-tool-gradient)
2018-04-13 23:07:08 +02:00
Jehan 6bcb30e1ee devel-docs: update debugging-tips.txt regarding --stack-trace-mode...
... for plug-in debugging as well.
2018-04-04 04:13:28 +02:00
Jehan 5d83c7697e devel-docs: minor typo. 2018-03-29 17:26:23 +02:00
Jehan 7409c98893 devel-docs: add OS support specific information.
I create this file so that we can refer to it to know whether we can use
a OS-specific API, or if we want to know if we can safely bump a
dependency, etc.
2018-03-26 23:32:38 +02:00
Jehan 20fc93fde0 devel-docs: update the release procedure regarding appdata contents. 2018-03-26 01:41:32 +02:00
Jehan 923ffb7e53 devel-docs: adding new splash requirements.
Current splash is not right within these requirements. But that's all
right for this RC.
These requirements are meant to be followed from next release.
2018-03-25 18:19:24 +02:00
Jehan 3dff485d57 devel-docs: update the debugging-tips file. 2018-02-12 18:22:15 +01:00
Jehan ffb94967fa devel-docs: add some generic statistics on all changed files. 2018-02-11 04:28:25 +01:00
Jehan 458e313000 Rename gimp.appdata.xml.in to org.gimp.GIMP.appdata.xml.in.in.
I completely forgot to rename the appstream file according to the new
ID. While doing so, I also make it a .in.in file, with initial
processing by the autotools. Indeed I need @GIMP_COMMAND@ to be replaced
by AC_CONFIG_FILES().
Finally I fix a badly closed XML tag (which reminds me I should always
test a commit, even when it's a simple non-C 1-liner change!).
2018-01-14 03:54:17 +01:00
Jehan 9019c7e0f7 devel-docs: don't forget flatpak as an official GIMP binary!
Please don't forget to notify me too of an upcoming release. I need to
update the manifest (for stable releases at Flathub at least, since we
have not set the dev release process yet) and trigger a new build of our
flatpak.
2018-01-12 02:47:32 +01:00
Jehan 9df67e2134 devel-docs: improve the statistics script.
- Fix language count.
- Update the commit message parsing for language name.
- Add more files to be counted as "documentation".
2018-01-11 23:48:01 +01:00
Jehan 5b80852c2a devel-docs: add some statistics on C file changes. 2018-01-11 23:43:34 +01:00
Jehan 794ca251be devel-docs: add some stats on icons. 2018-01-11 23:43:34 +01:00
Jehan 19741310db devel-docs: add a release-stats.sh
Trying to manually read commits to acknowledge translators, designers,
developers, etc. is just ridiculous. Let's try to have a script doing
the work for us.
You use it like this:
- GIMP 2.9.8 stats: devel-docs/release-stats.sh GIMP_2_9_6 GIMP_2_9_8
- GIMP 2.10 stats: devel-docs/release-stats.sh GIMP_2_8_0
2018-01-11 23:43:34 +01:00
Michael Natterer 4eb27f3d45 Bug 778285 - Release howto should contain notice to maintainers...
...of official binaries

Add this point right after "Announce on the GNOME I18N mailing list."

Also remove the "wait for mirrors" thing at the end, in a subsection
of that point we say "as fast as possible" and that contradicts each
other.

Move the "properly chilled beverage" to the end where i belongs
(or perhaps it belongs where the build starts...)
2018-01-01 22:09:25 +01:00