Commit Graph

1111 Commits

Author SHA1 Message Date
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
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
5092a68b1c devel-docs: update XCF docs about 64-bit pointers for XCF 11 and over. 2018-05-18 18:37:32 +02:00
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
7bad32cf33 devel-docs: add info about "precision" field in XCF header. 2018-05-18 04:33:00 +02:00
cdfb7fdddd devel-docs: update the list of layer mode in XCF docs. 2018-05-18 03:39:13 +02:00
99decb674b devel-docs: update xcf docs with zlib compression info. 2018-05-18 02:47:19 +02:00
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
26c67cf7d2 devel-docs: more s/2.9/2.10/ 2018-04-27 11:02:38 +02:00
ae509749d4 devel-docs: more s/2.9/2.10/ 2018-04-26 16:12:28 +02:00
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
7caa339855 devel-docs: some updates to GIMP3-API-Changes.txt 2018-04-18 22:50:56 +02:00
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
e02a03a63d devel-docs: add missing stuff to libgimpbase-sections.txt 2018-04-17 13:19:16 +02:00
4bcc1183e5 devel-docs: add new libgimp functions 2018-04-16 21:45:21 +02:00
64bab848c3 NEWS, devel-docs: next release is RC2 + some fixes in release howto. 2018-04-16 09:13:37 +02:00