Commit Graph

1126 Commits

Author SHA1 Message Date
cc2660070c devel-docs: bump official macOS support to 10.12 on stable 2.10…
… series as well (it was already so in the `master` branch).

See discussion:
https://gitlab.gnome.org/GNOME/gimp/-/issues/7515#note_1318891

Basically it's probably possible to backport some changes and still
support an older version, but we clearly lack contributors on macOS so
the current unique one's decision matters most.
2021-11-26 23:43:06 +01:00
Ell
7bac21b6be devel-docs: document new "Messages" performance-log parameter
(cherry picked from commit d7de0781ab)
2020-08-02 11:08:46 +03:00
Ell
7dc9cdf42e devel-docs: use actual em-dashes in performance-logs documentation
(cherry picked from commit 0fae46133c)
2020-07-30 18:27:53 +03:00
Ell
09a3058839 devel-docs: remove old performance-logs-parameters section
(cherry picked from commit ca6f577413)
2020-07-30 18:19:53 +03:00
Ell
5d07a99bdc devel-docs: fix image URL in performance-logs documentation
(cherry picked from commit 1d70fee1fd)
2020-07-30 18:18:04 +03:00
Ell
980d6df67a devel-docs: update documentation of performance-log parameters
(cherry picked from commit d72e6b3aed)
2020-07-30 18:15:42 +03:00
f4ff636dd3 devel-docs: Fix typo 2020-06-16 14:18:01 +00:00
694ce3fd54 devel-docs: update debugging-tips with GEGL's meson option names.
(cherry picked from commit 29b1d91b76)
2020-05-06 19:25:18 +02:00
83da81f308 Fix typos
Found via `codespell -q 3 -S ./ChangeLog*,*.po -L als,ang,ba,chello,daa,doubleclick,foto,hist,iff,inport,klass,mut,nd,ower,paeth,params,pard,pevent,sinc,thru,tim,uint`

(cherry picked from commit a928452eba)
2020-03-17 13:36:59 +01:00
Ell
39ad0319b9 devel-docs: add missing functions to libgimpfoo-sections.txt 2020-02-16 02:31:55 +02:00
Ell
54a95ab75b libgimpmath: add gimp_matrix3_equal()
... which compares two matrices.
2020-01-16 00:35:06 +02:00
Ell
628833426a libgimpmath: add version annotations to new matrix functions 2020-01-15 18:25:06 +02:00
Ell
2412b5fc99 libgimpmath: add various GimpMatrix4 functions
Add gimp_matrix4_{identity,mult,transform_point}().
2020-01-06 23:10:04 +02:00
Ell
d546e3b813 libgimpmath: add various GimpMatrix2 functions
Add gimp_matrix2_{determinant,invert,transform_point}().
2020-01-06 23:10:04 +02:00
b67fe859a7 app, devel-docs: remove dangling DBUS_GLIB_* variables.
dbus-glib is no more a dependency since commit c4460e84, i.e. already
since 2013!

(cherry picked from commit 5f2a6940e3)
2019-11-16 19:32:35 +01:00
7d649189d6 devel-docs: update a reference to 32-bit pointers.
Though the description of the POINTER type clearly tells of the new type
size, it was still refered as 32-bit only in this introductory text.
Let's fix this.

(cherry picked from commit 35f55ef07a)
2019-10-12 17:09:38 +02:00
8a400e304f Issue #3990: make the status of the XCF docs a bit clearer (hopefully).
Though it may have started as an unofficial document, it is clearly now
an official one (which should be obvious since it is in our source
repository, but apparently some people get misled by the historical
"Status" text to think this to be somehow unofficial).
So first of all, change the s/official/unofficial/ mention.

Secondly, add a small paragraph explicitly telling that the document is
complete (and meant to be), to the best of our knowledge. This document
is a detailed, full and exhaustive written "specification" of the XCF
format up to GIMP 2.10.x (even though the normative spec is still the
code itself). Now we are humans, we may have missed something, and if
so, this is just to be considered as any other bug, and reported to us
nicely to be fixed.

(cherry picked from commit 80e2e0a508)
2019-09-27 01:22:34 +02:00
f974cdb5d7 devel-docs: update docs with missing symbols and types 2019-07-23 15:53:38 +02:00
f81d7d2f0b devel-docs: update the libgimpconfig and libgimpbase docs 2019-07-23 15:35:50 +02:00
Ell
175e3ea7d9 app: various fixes/cleanups to last commits
(cherry picked from commit 30429e30e2)
2019-06-06 03:10:03 -04:00
Ell
1bc7d5d01f devel-docs: in performance-logs.md, fix markers-page section number
(cherry picked from commit 4fefa44574)
2019-01-23 16:36:08 -05:00
Ell
34c732df1d tools: in performance-log-viewer.py, add markers view
Add a "markers" page to the performance-log viewer, which lists
the event markers contained in the log, and allows navigating
between them.

Update docs accordingly.

(cherry picked from commit dafb63fd66)
2019-01-23 16:33:33 -05:00
Ell
2052de6c3d devel-docs: fix performance-log profile-view function-column description
(cherry picked from commit 17270bb3aa)
2019-01-23 16:33:32 -05:00
Ell
940cf5f196 tools: in performance-log-viewer.py, allow inverting selection
In the perofmance-log viewer, add header-bar buttons to clear and
invert the selection, and allow inverting the selection by ctrl-
right-clicking on the sample-selection area.

Update the docs.

(cherry picked from commit b74c33db5c)
2019-01-16 03:58:49 -05:00
Ell
23ae869f21 app: remove "Edit -> Fade..."
This commit completely removes the "Edit -> Fade..." feature,
because...

- The main reason is that "fade" requires us to keep two buffers,
  instead of one, for each fadeable undo step, doubling (or worse,
  since the extra buffer might have higher precision than the
  drawable) the space consumed by these steps.  This has notable
  impact when editing large images.  This overhead is incurred even
  when not actually using "fade", and since it seems to be very
  rarely used, this is too wasteful.

- "Fade" is broken in 2.10: when comitting a filter, we copy the
  cached parts of the result into the apply buffer.  However, the
  result cache sits after the mode node, while the apply buffer
  should contain the result of the filter *before* the mode node,
  which can lead to wrong results in the general case.

- The same behavior can be trivially achieved "manually", by
  duplicating the layer, editing the duplicate, and changing its
  opacity/mode.

- If we really want this feature, now that most filters are GEGL
  ops, it makes more sense to just add opacity/mode options to the
  filter tool, instead of having this be a separate step.

(cherry picked from commit ed7ea51fb7)
2018-12-27 11:45:11 -05:00
e645cbb386 devel-docs: 0 at end of layer and channel pointer list is a pointer too.
(cherry picked from commit 3e967ed02c)
2018-12-19 16:22:34 +01:00
6dc959d376 devel-docs: small update for GEGL buffer leak debugging.
(cherry picked from commit b9de1076ed)
2018-12-19 15:20:19 +01:00
Ell
b06ffe4334 Issue #2604 - XCF saving bug in xcf_save_buffer()
The NULL terminator of the tile-offset array of dummy buffer-levels
is erroneously written as an int32, instead of an offset, even in
version-11+ XCFs, in which offsets are 64-bit.

Since the dummy levels aren't actually used by GIMP, we're going to
keep these fields as int32 as an exception, in order to remain
consistent with existing XCFs, and just add a comment in the code,
and update the docs.  If we ever make use of the higher buffer
levels, we should change these fields to offsets, and bump the XCF
version.

(cherry picked from commit 2168d91cf7)
2018-12-04 12:09:55 -05:00
Ell
d928ed7252 libgimpwidgets: add GimpSpinButton
GimpSpinButton is a drop-in replacement for (and a subclass of)
GtkSpinButton.  Unlike GtkSpinButton, it avoids updating the
adjustment value when losing focus, unless the entry text has
changed.  This prevents accidental loss of precision, when the
adjustment value can't be accurately displayed in the entry.

Note that libgimpwidgets already defines a (deprecated)
gimp_spin_button_new() function.  This commit stays compatible with
the old function, by defining GimpSpinButton's _new() function as
gimp_spin_button_new_(), and defining a variadic
gimp_spin_button_new() macro, which expands to either the old or
the new function, based on the number of arguments, so that either
function can be used transparently as gimp_spin_button_new().  This
is all gone in master.
2018-11-10 06:57:54 -05:00
Ell
3b07dc1f57 devel-docs: another typo fix in performance-logs.md TOC
:P

(cherry picked from commit 662636041c)
2018-11-08 11:00:08 -05:00
Ell
f8dda0d8eb devel-docs: fix typo in performance-logs.md TOC
(cherry picked from commit 5a077649f9)
2018-11-08 10:17:58 -05:00
Ell
e23ce84dc0 devel-docs: fix typo in performance-issue screenshot
Gah :)
(cherry picked from commit 49375a3def)
2018-11-08 05:49:46 -05:00
Ell
5c51ecba31 devel-docs: fix typo in performance-logs/Makefile.am
(cherry picked from commit baa8aadc83)
2018-11-08 04:24:53 -05:00
Ell
805c5cc8a8 devel-docs: add performance-logs documentation
Add devel-docs/performance-logs/performance-logs.md, which
describes how to record and view performance logs, and how to
report perofrmance-related issues.

(cherry picked from commit fa9161e4f2)
2018-11-08 03:53:40 -05:00
Ell
ed7f9454c1 devel-docs: add "step" blending function to GGR format spec
(cherry picked from commit 026fe766cd)
2018-10-30 11:03:38 -04:00
eb227b1d0e devel-docs: add the package maintainers in the release-howto.
Nicknames on IRC/gitlab are hard, even more when they change depending
on the media! I realize we are regularly asking them or unsure of who to
contact (for instance here for releases). Let's associate each package
with its current maintainer to make it easy to contact the right person
to prepare our official packages before a release.

(cherry picked from commit dc9a30446b)
2018-09-16 22:55:54 +02:00
70d949eb0d devel-docs: document new debugging option --enable-win32-debug-console.
(cherry picked from commit 96dc7da000)
2018-08-20 17:29:34 +02:00
Ell
c5c0f87310 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.

(cherry picked from commit b4ac956859)
2018-07-17 03:02:57 -04:00
9e71fc0983 Change a bazillion URLs to https://
Including all user-visible link and links called from code, like
the help pages.

(cherry picked from commit bab75b7365)
2018-07-14 14:23:42 +02:00
cf80265411 More bugzilla -> gitlab in various files
(cherry picked from commit 8eb77376c4)
2018-07-11 22:26:53 +02:00
6580fae7b0 devel-docs: update macOS support to OSX 10.10.
As discussed on IRC with Mitch and Samm.
Older versions may work, and Samm says he will build for 10.9 actually,
but we officially only supports for 10.10.
2018-06-27 16:06:04 +02:00
Ell
7f18eb467e pdb: change image freeze/thaw procs to "Since: 2.10.2" 2018-05-29 16:07:48 -04:00
Ell
de1084986c 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:07:48 -04:00
Ell
aa22914568 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:07:48 -04:00
117beee244 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.

(cherry picked from commit 6ebff7b3c5)
2018-05-27 02:34:50 +02:00
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
25c0d79eb8 devel-docs: various clarifications in the first sections. 2018-05-19 00:56:23 +02:00
517b5df70c devel-docs: add all missing properties to XCF docs. 2018-05-19 00:05:53 +02:00
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
93473b0334 devel-docs: add missing functions to libgimpfoo-sections.txt 2018-05-18 19:32:51 +02:00