Commit Graph

1111 Commits

Author SHA1 Message Date
Ell 4fefa44574 devel-docs: in performance-logs.md, fix markers-page section number 2019-01-23 16:36:04 -05:00
Ell dafb63fd66 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.
2019-01-23 16:33:25 -05:00
Ell 17270bb3aa devel-docs: fix performance-log profile-view function-column description 2019-01-23 16:33:24 -05:00
Ell b74c33db5c 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.
2019-01-16 03:58:44 -05:00
Ell ed7ea51fb7 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.
2018-12-27 11:44:25 -05:00
Jehan 3e967ed02c devel-docs: 0 at end of layer and channel pointer list is a pointer too. 2018-12-11 12:52:37 +01:00
Ell 2168d91cf7 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.
2018-12-04 12:09:49 -05:00
Jehan b9de1076ed devel-docs: small update for GEGL buffer leak debugging. 2018-11-14 13:37:42 +01:00
Ell 7ab9ee2686 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.
2018-11-10 06:48:56 -05:00
Ell 662636041c devel-docs: another typo fix in performance-logs.md TOC
:P
2018-11-08 11:00:05 -05:00
Ell 5a077649f9 devel-docs: fix typo in performance-logs.md TOC 2018-11-08 10:17:53 -05:00
Ell 49375a3def devel-docs: fix typo in performance-issue screenshot
Gah :)
2018-11-08 05:49:42 -05:00
Ell baa8aadc83 devel-docs: fix typo in performance-logs/Makefile.am 2018-11-08 04:24:48 -05:00
Ell fa9161e4f2 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.
2018-11-08 03:40:53 -05:00
Ell 026fe766cd devel-docs: add "step" blending function to GGR format spec 2018-10-30 11:03:34 -04:00
Jehan dc9a30446b 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.
2018-09-15 09:23:09 +02:00
Jehan 96dc7da000 devel-docs: document new debugging option --enable-win32-debug-console. 2018-08-20 17:29:04 +02:00
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