Commit graph

1350 commits

Author SHA1 Message Date
Michael Natterer
0052803313 devel-docs: REVERT THIS once module.actions get removed automatically
Add the newly generated .actions files to CLEANFILES manually.
2020-10-25 20:18:52 +01:00
Michael Natterer
4e79aaf20c devel-docs: add the newly generated module.actions files to .gitignore 2020-10-25 19:57:30 +01:00
Niels De Graef
43d0f0fbd2 gimppdb: Allow more easy bindable API
Plug-ins that work from different bindings probably want to use their
own list-type to specify arguments, rather than working with a more
cumbersome `GimpValueArray`.

This new API should make it less verbose. For example:

```
args = Gimp.ValueArray.new(5)
args.insert(0, GObject.Value(Gimp.RunMode, Gimp.RunMode.NONINTERACTIVE))
args.insert(1, GObject.Value(Gimp.Image, image))
args.insert(2, GObject.Value(Gimp.Drawable, mask))
args.insert(3, GObject.Value(GObject.TYPE_INT, int(time.time())))
args.insert(4, GObject.Value(GObject.TYPE_DOUBLE, turbulence))
Gimp.get_pdb().run_procedure('plug-in-plasma', args)
```

becomes

```
Gimp.get_pdb().run_procedure('plug-in-plasma', [
    GObject.Value(Gimp.RunMode, Gimp.RunMode.NONINTERACTIVE),
    GObject.Value(Gimp.Image, image),
    GObject.Value(Gimp.Drawable, mask),
    GObject.Value(GObject.TYPE_INT, int(time.time())),
    GObject.Value(GObject.TYPE_DOUBLE, turbulence),
])
```
2020-09-20 11:36:01 +00:00
Niels De Graef
5d3ca7d714 propwidget: Add gimp_prop_switch_new()
Allow developers to add a `GtkSwitch` based on a property. Also start
using it in the first preferences page.
2020-08-22 23:53:49 +00:00
Ell
d7de0781ab devel-docs: document new "Messages" performance-log parameter 2020-08-02 11:02:01 +03:00
Ell
0fae46133c devel-docs: use actual em-dashes in performance-logs documentation 2020-07-30 18:27:48 +03:00
Ell
ca6f577413 devel-docs: remove old performance-logs-parameters section 2020-07-30 18:19:50 +03:00
Ell
1d70fee1fd devel-docs: fix image URL in performance-logs documentation 2020-07-30 18:17:59 +03:00
Ell
d72e6b3aed devel-docs: update documentation of performance-log parameters 2020-07-30 18:15:32 +03:00
Jehan
b5af88a563 devel-docs: add some debugging tricks for Flatpak.
The `info line` in particular was given by Ell and will make trace
handling a lot easier as it means we may not have to ask for traces with
debug symbols or gdb with Flatpak. We can indeed get these infos back
ourselves since we are guaranted to use the exact same binaries.

This together with the change in verbose version output I did 2 weeks
ago (commit bc5f6371e9), allowing us to check the exact Flatpak hash
commit used by a reporter, Flatpak debugging should be a lot easier with
just the simpler stack trace format.
2020-07-30 16:55:46 +02:00
Jehan
6449dd7c14 devel-docs: add a tip for testing an older GIMP version with flatpak.
Flatpak repositories can store successive builds (up to 20 in the
Flathub repository in particular), even though by default it installs
only the last build.
I added in `debugging-tips.txt` the commands to search for and
explicitly install an older build of our official GIMP build. This can
be useful to compare some behaviorial changes as reported by users,
without having to re-compile old commits just for a quick test.
2020-06-01 17:21:29 +02:00
Jehan
7e0adbc282 devel-docs: update XCF docs with XCF 14 changes. 2020-05-17 18:32:16 +02:00
Niels De Graef
ec7db847d0 docs: libgimp3: Add missing GimpProgressVtable*Func
We added these entries for the GObject introspection annotations, but
forgot to add them to the gtk-doc sections.
2020-05-12 22:55:19 +02:00
Niels De Graef
7a8a300adc gimpconfig-iface: Use G_DECLARE_INTERFACE 2020-05-10 14:45:19 +00:00
Niels De Graef
65b12c108d libgimpwidgets: UnitStore: Fix conflicting names
`gimp_unit_store_get_value()` clashes with the `get_value()` method of
its parent class GtkTreeStore. This means trouble for bindings, as seen
here in some pseudocode:

```vala
var unit_store = new Gimp.UnitStore();
// Which function are we referencing here, the one from GtkTreeStore or
// the one from GimpUnitStore? Worse, they both have different arguments
unit_store.get_value( ... )
```
2020-05-10 12:06:33 +00:00
Jehan
29b1d91b76 devel-docs: update debugging-tips with GEGL's meson option names. 2020-05-05 18:42:26 +02:00
Niels De Graef
cf41d1fdf8 colorselector: Rename signal emitters
The GIR parser is giving warnings because both e.g. a signal, a
corresponding vfunc and a method emitting it are named
"channel_changed", which can and will give issues in some bindings.

The easiest option is to follow the general convention of starting the
signal emitters with `emit_`, which also makes clear the intention of
the method.
2020-05-03 23:23:44 +02:00
Niels De Graef
878804fb01 Cleanup GObject signal marshallers
* Don't generate our own marshallers if they are available in GLib
  already
* Don't set the c_marshaller parameter in `g_signal_new()` if it's a
  default marshaller provided by GLib. See commit message of commit
  39e4aa3c57 on why this is the case.
2020-04-01 21:20:01 +00:00
Tobias Ellinghaus
9908c14fbf
devel-docs: Fix id of PROP_BLEND_SPACE 2020-03-30 11:04:59 +02:00
luz.paz
a928452eba 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`
2020-03-17 12:30:45 +00:00
Ell
bb8d933033 devel-docs: add missing functions to libgimpfoo-sections.txt 2020-02-16 02:28:00 +02:00
Oleksii Samorukov
6b5d1a0d46 Fix reference from gimp_param_spec_duplicate to gimp_config_param_spec_duplicate 2020-01-17 11:17:03 +01:00
Ell
006f300fff libgimpmath: add gimp_matrix3_equal()
... which compares two matrices.
2020-01-16 00:23:55 +02:00
Ell
0271f4c861 libgimpmath: add version annotations to new matrix functions 2020-01-15 18:24:20 +02:00
Ell
e3bc877a42 libgimpmath: add various GimpMatrix4 functions
Add gimp_matrix4_{identity,mult,transform_point}().
2020-01-06 21:49:57 +02:00
Ell
edfc837e7d libgimpmath: add various GimpMatrix2 functions
Add gimp_matrix2_{determinant,invert,transform_point}().
2020-01-06 21:49:57 +02:00
Jehan
89ed6ae8ee devel-docs: update the stats script.
Look up commit stats for meson build system and Gitlab CI, and small fix
on icon stats.
2020-01-01 23:27:43 +01:00
Michael Natterer
1be4ec2100 libgimpbase: remove enum GimpBlendMode, it's not used any longer 2019-11-19 21:13:31 +01:00
Michael Natterer
876199a03f devel-docs, libgimp: update some .gitignore files 2019-11-19 20:40:22 +01:00
Jehan
5f2a6940e3 app, devel-docs: remove dangling DBUS_GLIB_* variables.
dbus-glib is no more a dependency since commit c4460e84, i.e. already
since 2013!
2019-11-16 19:19:02 +01:00
Jehan
672b77dedb devel-docs: update the XCF docs.
Various texts were still assuming 8-bit per component.
2019-10-31 16:49:53 +01:00
Michael Natterer
288b4097b5 devel-docs: fix and update the libgimp docs 2019-10-28 12:07:57 +01:00
Michael Natterer
0b3c496968 devel-docs: updates and fixes 2019-10-10 00:25:59 +02:00
Jehan
35f55ef07a 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.
2019-10-02 01:13:23 +02:00
Jehan
80e2e0a508 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.
2019-09-27 01:15:56 +02:00
luzpaz
44d10e458c Fix various typos
Found via `codespell` (v1.17.0.dev0)
2019-09-21 17:10:46 +00:00
Michael Natterer
d52316741f devel-docs: remove duplicate </SECTION> that broke quite some stuff 2019-09-20 00:34:42 +02:00
Michael Natterer
8cdab31393 app, libgimpconfig: move gimp_param_spec_duplicate() to libgimpconfig 2019-09-14 17:35:32 +02:00
Michael Natterer
81ff4941a0 libgimpmodule: clean up GimpModule and GimpModuleDB
- make all struct members private
- add accessors
- rename functions
- remove unused API
2019-09-13 13:11:23 +02:00
Michael Natterer
25f6198cc8 devel-docs: update the libgimp docs 2019-09-12 09:26:27 +02:00
Félix Piédallu
65eff6f150 Meson port. 2019-09-11 16:42:04 +02:00
Michael Natterer
6115d34fe8 Rename the "fileops" PDB group to just "file" 2019-09-10 21:38:11 +02:00
Michael Natterer
34489d1b13 libgimp: add section docs for GimpPlugIn with general information
and document the members of GimpProcedureClass. Also various
doc fixes.
2019-09-10 11:17:12 +02:00
Michael Natterer
005143a43e libgimp, devel-docs: fix docs for GimpPlugInClass and its members 2019-09-09 20:53:39 +02:00
Félix Piédallu
0792cb65f4 [devel-docs] move version file to deduplicate code 2019-09-09 18:15:13 +00:00
Michael Natterer
90053e477f devel-docs: update libgimp and libgimpbase docs 2019-09-05 21:27:28 +02:00
Michael Natterer
d0f00bb76d devel-docs: update the libgimp and libgimpbase docs 2019-09-04 00:12:03 +02:00
Michael Natterer
a47772bd93 devel-docs: update libgimp docs 2019-08-29 12:05:36 +02:00
Michael Natterer
d62e75a41f Move GimpParamSpecString from libgimp back to app
It's just too weird to be public. Remove its properties from the wire
protocol and from pluginrc. Instead, have all GParamSpecs' flags on
the wire and in pluginrc, so we can use stuff like
GIMP_PARAM_NO_VALIDATE.

Port the remaining few places to GIMP_PROC_ARG_STRING().

I'm sure something is broken now wrt UTF-8 validation,
will add tighter checks in the next commit.
2019-08-19 12:54:52 +02:00
Michael Natterer
b250af33e1 devel-docs: some doc updates 2019-08-18 14:15:24 +02:00
Niels De Graef
284ba5c870 libgimpconfig: Prevent GIR conflicts in GimpConfigWriter
GimpConfigWriter contains several constructors with the convention
`gimp_config_writer_new_* ()`. This will lead to problems however with
languages like Vala, where it cannot disambiguate the following:

```
// calls config_writer_new_string()
Gimp.ConfigWriter w = new ConfigWriter.string("xxx");
// calls config_writer_string()
w.string("xxx")
```

Using `from_` in constructors is general practice in GObject-bsed
libraries because of this.

This also fixes an error when trying to use vapigen on the GIMP .GIR
file.
2019-08-16 10:04:39 +00:00
Michael Natterer
652fd75891 Rename GIMP_TYPE_INT8_ARRAY to GIMP_TYPE_UINT8_ARRAY
and GimpParamSpecInt8Array to GimpParamSpecUInt8Array
2019-08-15 15:04:34 +02:00
Michael Natterer
350abba213 Remove GIMP_TYPE_INT16 and GimpParamSpecInt16
Use gint and GParamSpecInt with the right value range instead.
2019-08-15 14:17:17 +02:00
Michael Natterer
5a09523214 Remove GIMP_TYPE_INT32 and GimpParamSpecInt32
Use gint and GParamSpecInt instead.
2019-08-15 14:04:56 +02:00
Michael Natterer
1bf90ec77f Remove GIMP_TYPE_INT8 and GimpParamSpecInt8
Use guchar and GParamSpecUChar instead.
2019-08-15 13:34:11 +02:00
Michael Natterer
2cc080cf60 libgimp, devel-docs: why bother having docs for gimplegacy.[ch]
It's about to be dumped...
2019-08-14 21:04:18 +02:00
luz.paz
7e99aa59f5 Add other misc. typo fixes 2019-08-13 11:50:51 -04:00
Michael Natterer
78c7d46ad9 devel-docs: update the libgimp docs 2019-08-11 15:38:07 +02:00
Michael Natterer
4bafbeca1b devel-docs: doc updates, more doc modules without any warnings 2019-08-10 12:32:56 +02:00
Michael Natterer
6cb027f402 devel-docs: update the libgimp docs 2019-08-10 11:08:33 +02:00
Michael Natterer
2182efddfb devel-docs: update the libgimpconfig docs 2019-08-10 09:42:28 +02:00
Michael Natterer
b6d39a4f3f devel-docs: update libgimpbase docs 2019-08-10 02:29:32 +02:00
Niels De Graef
1743f474e5 app/widgets: Use G_DECLARE_INTERFACE()
This cuts aways a little of the GObject boilerplate.
2019-08-09 19:48:21 +00:00
Niels De Graef
d3e9e5617d app/core: Use G_DECLARE_INTERFACE()
This cuts aways a little of the GObject boilerplate.
2019-08-09 19:48:21 +00:00
Niels De Graef
a0ba37649d libgimpcolor: colormanaged: Use G_DECLARE_INTERFACE()
This cuts aways a little of the GObject boilerplate.
2019-08-09 19:48:20 +00:00
Niels De Graef
e77382ee75 docs: Fix warnings for annotations
Right now, we get the following warnings when building the docs:

> gtk-doc.xsl: For acronym (nullable) no value found

This is because we're not adding the generated annotation glossary to
the docs sgml (presumably because we didn't need it as we didn't use
GObject-Introspection yet). This commit adds those lines and thus fixes
the warnings.
2019-08-05 07:05:37 +00:00
Niels De Graef
1dda60154c Use "Returns:" to annotate return values
To be able to annotate return values through GObject-introspection, you
need to make sure it is tagged with `Returns:` and not something else.
2019-08-03 07:53:47 +00:00
Michael Natterer
254dee3b11 devel-docs: update the libgimp docs 2019-08-01 16:01:39 +02:00
Michael Natterer
c9d6f93188 devel-docs: update the libgimpbase docs 2019-08-01 16:01:15 +02:00
Michael Natterer
0ec7534607 devel-docs: update the libgimpcolor docs 2019-08-01 12:47:57 +02:00
Michael Natterer
acf36738b6 devel-docs: update the libgimpbase docs 2019-08-01 12:37:32 +02:00
Michael Natterer
8aaf517db4 devel-docs: add screenshots of more widgets 2019-07-25 15:24:59 +02:00
Michael Natterer
572775a60b devel-docs: update the libgimpwidgets docs with new widget shots
Added some more and some minor fixes.
2019-07-24 19:19:04 +02:00
Michael Natterer
dcbd83cafc devel-docs: undeprecate doc-shooter and add a few more widgets
Doesn't use X11 any longer, just plain GTK and cairo.
2019-07-24 19:17:14 +02:00
Michael Natterer
7f39be196a devel-docs: rename to doc titles to "GIMP 3"
so they are different from the GIMP 2 docs.
2019-07-24 10:23:52 +02:00
Michael Natterer
fbee862c50 devel-docs: remove gegl-porting-plan.txt, what was in there is done 2019-07-24 02:17:39 +02:00
Michael Natterer
c2a38f0631 devel-docs: various documentation and build fixes 2019-07-24 01:21:16 +02:00
Michael Natterer
0131c96e1d devel-docs: undeprecate doc-shooterm but just so it builds
it's still horrible.
2019-07-23 19:33:48 +02:00
Michael Natterer
55fc774ca9 devel-docs: fix and update the libgimp docs 2019-07-23 19:33:48 +02:00
Michael Natterer
0155eccbf2 devel-docs: fix and update the libgimpthumb docs 2019-07-23 19:33:48 +02:00
Michael Natterer
d2d9e47390 devel-docs: fix and update the libgimpwidgets docs 2019-07-23 19:33:48 +02:00
Michael Natterer
ff7467f6dd devel-docs: fix and update the libgimpmodule docs 2019-07-23 19:33:48 +02:00
Michael Natterer
29e1d9e7cf devel-docs: fix and update the libgimpmath docs 2019-07-23 19:33:48 +02:00
Michael Natterer
41d1ad26a4 devel-docs: fix and update the libgimpcolor docs 2019-07-23 19:33:48 +02:00
Michael Natterer
79e40b1945 devel-docs: update docs with missing symbols and types
(cherry picked from commit f974cdb5d7)
2019-07-23 15:55:14 +02:00
Michael Natterer
a05205b576 devel-docs: fix the libgimpconfig docs 2019-07-23 15:19:08 +02:00
Michael Natterer
c249ffe3ea devel-docs: change the libgimpbase docs to "libgimpbase3"
and make them build again without any wrong symbols.

This does not enable the devel-docs build yet, I'll fix
module by module before enabling the build again.
2019-07-23 13:47:51 +02:00
Ell
30429e30e2 app: various fixes/cleanups to last commits 2019-06-06 03:08:38 -04:00
Jehan
d878551e60 devel-docs: clarify PROP_ITEM_PATH property. 2019-02-21 15:04:48 +01:00
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
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
Michael Natterer
8d61d585ee devel-docs: update libgimpwidgets docs a bit 2017-12-31 16:21:18 +01:00
Jehan
803917110d devel-docs: add point for <release> appstream data in release-howto. 2017-12-27 23:16:11 +01:00
Jehan
e2664f1d29 devel-docs: add a new file "debugging-tips.txt".
This will be a neat reminder for some of the hidden environment
variables helpful to debug GIMP in some cases, as well as some other
tricks, which we often have to tell people or even which we forget (or
don't even know sometimes) ourselves.
This will be less annoying to just remember to check this file if we
forget the name of some environment variable than to try and grep the
git log or the code.
If someone adds another environment variable which changes some behavior
of the code, please add it here. Also if you know some other helpful
tricks, share with all. Thanks.
2017-12-23 20:44:29 +01:00
Jehan
1477f53312 devel-docs: typo fix s/brach/branch/. 2017-12-12 00:51:24 +01:00
Jehan
819a27564e Bug 734982 - update project information upon release.
I've made the download and home page of gimp-web as generic as possible
so that one will just have to update GIMP_VERSIONS in order to release a
new version. In particular, no boring editing of hardcoded versions in
html pages anymore.
Also adding an item to update the authors page as well (which is
generated so it's just a matter of moving a file).
2017-10-24 01:28:06 +02:00
Michael Natterer
c63d812be8 libgimpcolor: rename gimp_color_profile_get_format() to _get_lcms_format() 2017-09-02 18:47:04 +02:00
Michael Natterer
2df281a219 devel-docs/release-howto.txt: mention to use "cp" not "mv" on the server 2017-08-22 20:07:02 +02:00
Michael Natterer
e8ee5475b7 app: move all propgui files from app/widgets/ to new folder app/propgui/
We are getting more and app/widgets/ is already too large.
2017-07-03 12:29:41 +02:00
Michael Natterer
728aada6bb devel-docs: some fixes in libgimpwidgets-sections.txt 2017-06-06 21:20:11 +02:00
Michael Natterer
d20171d478 devel-docs: add some missing newly added functions 2017-06-03 21:32:33 +02:00
Ell
1176482b4b libgimpwidgets: don't babl_init() in gimp_color_scale_class_init()
Woohoo!  We can actually inject this into the gtk-doc thingy!
2017-05-31 22:14:42 -04:00
Michael Schumacher
34d3ed468c Update release-howto.txt with changes done in the gimp-2-8 branch 2017-05-30 23:20:27 +02:00
Michael Natterer
bf21bc1476 devel-docs: add missing stuff to *-sections.txt files 2017-03-10 23:52:59 +01:00
Michael Natterer
c9a0b5ab7c Bug 778284 - Release howto should mention to close all running...
...instances of GIMP before a make distcheck

Mention it in release-howto.txt.
2017-03-08 20:21:06 +01:00
Michael Natterer
813ae8461c devel-docs: get rid of icons in dialog buttons (use labels not stock IDs) 2017-02-12 16:18:54 +01:00
Alexandre Prokoudine
1ed8f63c94 Sync the release howto to the version from the 'gimp-2-8' branch 2016-10-25 00:57:38 +03:00
Michael Natterer
0d5fa53b0e devel-docs: add new stuff to *-sections.txt, and cleanup 2016-09-21 15:47:02 +02:00
Jehan
c6a570d33e configure, INSTALL, devel-docs: vectorial icons is not proper English.
We should use "vector icons" instead. Thanks to nomis for raising the
question and ankh to confirm the proper English.
2016-09-12 01:58:41 +02:00
Michael Natterer
4df9a1d568 Get rid of gtk_misc_set_alignment(label) and use gtk_label_set_x,yalign() 2016-09-08 19:11:20 +02:00
Jehan
cc02ee1160 devel-docs: c.vim to help contributors enforce our coding style in VIM.
The GNU coding standards rules can be found in:
https://gcc.gnu.org/wiki/FormattingCodeForGCC
I added a few rules, like if the file has existing tabs, we want to show
them as 8 columns. Yet typing tabs automatically expands to 2 spaces.

I also added a rule to highlight (in red) trailing whitespaces, but also
tabs (everywhere, not only trailing) making them easy to spot.
This file can be easily sourced from vimrc for the whole GIMP tree, but
I advise against setting VIM to automatic discover a locale .vimrc,
which is possible but a high security risk since a third-party vimrc
could contain random shell commands.
2016-08-23 17:37:10 +02:00
Jehan
8493711f21 devel-docs: update the icons doc with some of Mitch explanations.
This explains a little better why some systems (i.e. GNOME…) would show
no icons in menus whereas other (i.e. Linux Mint, Windows…) would show
them. GIMP_ICONS_LIKE_A_BOSS environment variable is a developer trick
to show icons in menus anyway to see how things render on such systems.
2016-08-06 02:16:59 +02:00
Jehan
562404f52d devel-docs: information about the icon themes. 2016-08-05 23:43:02 +02:00
Michael Natterer
f7f9174a9c Revert "libgimpwidgets: remove gimp_color_profile_chooser_dialog_new()"
This reverts commit 2bfd0711e8.

Don't ask...
2016-05-07 00:57:40 +02:00
Michael Natterer
2bfd0711e8 libgimpwidgets: remove gimp_color_profile_chooser_dialog_new()
Its API was too limited, and adding parameters for what we need next
would be equally random. It's a rarely used and mostly internal
widget, so simply use g_object_new().
2016-05-06 22:57:32 +02:00
Michael Schumacher
4050f5c628 Theme 'Default' has been renamed to 'Color' 2016-01-12 21:23:48 +01:00
Michael Natterer
0a15b76a9f devel-docs: fix icon locations in the libgimpwidgets docs 2015-12-22 21:26:46 +01:00
Michael Natterer
71894bd787 libgimpwidgets: rename gimpstock.[ch] to gimpicons.[ch]
because stock is on its way out, so we better start renaming and
deprecating stuff sooner than later.
2015-12-12 20:44:46 +01:00
Michael Natterer
09f72fed59 devel-docs: don't use deprecated API in doc-shooter 2015-12-06 23:46:11 +01:00
Michael Natterer
7213c18a1c devel-docs: updated after the latest release experience 2015-11-26 00:24:48 +01:00
Jehan
b17e1b1cfc app: split GimpFileDialog into Gimp(Open|Save|Export)Dialog subclasses.
The code refactoring allows better readability which will allow in turn
to add more complex specific features making good use of the save/export
split concept.
2015-09-02 20:05:01 +02:00
Michael Natterer
3565b33019 libgimpconfig: rename the new GimpColorConfig profile accessor functions
gimp_color_config_get_foo_profile() -> get_foo_color_profile()

because the old names clash with possible future accessors for the raw
filename properties.
2015-06-03 09:57:34 +02:00
Michael Natterer
4910c28957 libgimpcolor: rename the gimp_lcms_*() functions to gimp_color_profile_*()
because it doesn't make sense to call the typedef GimpColorProfile
but the function namespace gimp_lcms_*().
2015-06-03 09:41:23 +02:00
Michael Natterer
5522170d56 devel-docs: remove a template file that should not be in git 2015-06-02 02:48:46 +02:00
Thomas Manni
a7b84ded8e Bug 325564 - Use CIE LCH instead of HSL for layer mode Color
Add Hue, Chroma, Color and Lightness layer modes in LCH color space.
2015-06-02 01:37:26 +02:00
Michael Natterer
bcdc7d6c72 devel-docs: more updates 2015-06-01 00:44:35 +02:00
Michael Natterer
8005eea835 Remove the "GIMP" from all "Since: GIMP 2.x" API doc comments
because it confuses gtk-doc and breaks some links. Also change the
"Index of new symbols in GIMP 2.x" sections to be what seems to be the
modern standard (looked at the GLib and GTK+ docs), and update some
other stuff.
2015-05-31 21:18:09 +02:00
Michael Natterer
3daef677ca devel-docs: API docs updates 2015-05-31 19:34:26 +02:00
Michael Natterer
68942a6307 devel-docs: fix one more libgimpcolor issue 2015-05-31 02:48:51 +02:00
Michael Natterer
00c508e8ea devel-docs: update the libgimpcolor docs 2015-05-31 02:34:38 +02:00
Michael Natterer
c1e0929e61 devel-docs: add "Index of new symbols in GIMP 2.10" 2015-05-30 23:20:00 +02:00
Michael Natterer
04688e9c93 devel-docs: fix icons and widget screenshots in the libgimpwidgets docs
use the largest available named icon as image for the stock item, and
rename widget screenshots in order to avoid name clashes with named
icons.
2015-05-30 22:01:03 +02:00
Michael Natterer
9ecdcf01b6 devel-docs: link app/ docs tools against -lm 2015-05-26 08:12:09 +02:00
Michael Natterer
bc4cf9918f Bug 673501 - Issue with Overlay
GIMP's OVERLAY mode was identical to SOFTLIGHT. This commit fixes the
issue and introduces a NEW_OVERLAY mode and enum value.

- change gimp:overlay-mode to be a real (svg-ish) overlay mode
- when compositing, map OVERLAY to gimp:softlight-mode
- when compisiting, map NEW_OVERLAY to gimp:overlay-mode
- bump the XCF version when NEW_OVERLAY is used
- map OVERLAY to SOFTLIGHT when loading and saving XCF
- map OVERLAY to softlight in all PDB setters
- map OVERLAY to softlight when deserializing a GimpContext
- change all paint mode menus to show an entry for NEW_OVERLAY
  instead of OVERLAY
- change PSP, PSD and OpenRaster to use NEW_OVERLAY

These changes should (redundantly) make sure that no OVERLAY enum
value is used in the core any longer because it gets mapped to
SOFTLIGHT at all entry points, with the downside of introducing a
setter/getter asymmetry when OVERLAY was set in a PDB api.
2015-04-29 13:32:58 -04:00
Sven Claussner
8dae802979 Add Jenkins tutorial 2014-10-26 13:08:36 +01:00