Commit graph

278 commits

Author SHA1 Message Date
Anders Jonsson
69c32c89eb app, etc: fix presets typo in blurb 2026-03-29 01:03:59 +01:00
Anders Jonsson
e0910337d0 docs, etc: gimprc memsize without suffix is just bytes 2026-03-06 23:29:14 +01:00
Jehan
5b349c7316 etc, meson: new -Dbash-completion feature option.
Let's force having the bash-completion dependency when we want to enable
the feature. Then clearly shows the feature state in the final setup
summary.

Otherwise the risk is that GIMP may not use the correct path on a given
system and a packager who wants this script to be installed may miss
that it is installed in the wrong directory.

(cherry picked from commit 88b4f29ce7)
2026-01-23 23:47:12 +01:00
Jehan
083360fac1 app, etc: do not hide --show-debug-menu.
This is a useful debugging function for developers. It is enough to hide
the menu by default on stable releases, I don't think we also need to
hide the CLI option. Developers don't know all these options by heart,
so we need to make them reasonably discoverable!
2025-12-13 00:10:57 +01:00
Jehan
24a69df9ab etc: make the new bash-completion file work for all variants of our executables.
In particular make it also work with the `gimp-console` and with all
symlink names.

Also rename the bash completion file using the full application version
so that it will be possible to install several such completion files
side by side.
2025-12-07 15:40:13 -03:00
Jehan
c55cfc9fa1 etc: fix unknown meson option.
This fixes:

> […]/gimp/etc/meson.build:31:39: ERROR: dependency.get_variable got unknown keyword arguments "define_variable"

This MR was years-old. Maybe this option got renamed since that time.
2025-12-07 15:40:13 -03:00
Niels De Graef
b15538d2e6 Add a Bash completion file 2025-12-07 15:40:13 -03:00
Jehan
a0ca190ca9 app, etc: fix sessionrc from GIMP 3.0 to 3.2. 2025-07-07 20:10:56 +02:00
Michael Natterer
bf405d3d93 app: vector -> path in gimppathtool.[ch] and some config files 2025-07-07 14:56:41 +02:00
Jehan
73b57a9914 etc: removing singular and plural fields from default unitrc.
We forgot to edit the default unitrc when removing these fields in
commit 2a00a9e60a. It's OK since our code can still read these fields
for backward compatibility anyway, but better clean up the file.
2025-04-23 13:41:43 +02:00
Jehan
c3ef79b3ef Issue #12577: get rid of the gamma hack.
What it was doing was casting the input buffer to another TRC, basically
pretending the data was what it was not. In particular, it was casting
linear input buffers to non-linear and all other TRCs to linear.

As was noted in #1958, this was in fact a useful trick, yet it's still a
trick. Basically when it's needed, it's either:

1. because the operation implementation does not work in the technically
   correct space. Then the operation code should be fixed;
2. or because several work TRC are valid, then an option should be
   proposed by the operation;
3. or for artistic reasons, which people are free to implement as
   plug-ins or third-party filters, but it should not be a core GIMP
   feature.

Therefore for most cases where it felt needed, the real solution will be
to improve the operations' implementations.
2025-01-10 23:26:11 +01:00
nb1
d8c98e74f3 Refreshing the templaterc 2024-04-15 23:46:32 +00:00
Bruno Lopes
874b199e61 build, docs, etc: drop hardcoding of GIMP version
In preparation for GIMP 3.0 and future releases.
2024-01-13 18:15:10 -03:00
Alx Sa
c54a33f0ff config: Clarify color profile policy (@ellestone)
Original patch by @ellestone.
The current tooltip is somewhat confusing for two reasons: It doesn't 
mention the word "ICC", leaving room for doubt as to what a "color 
profile" might be. And as @TheTooleMan suggested, it's easier to read
and understand if the action (opening a file . . .) is in front of the 
modifier (. . . with an embedded ICC profile) instead of vice versa.
2023-10-06 19:08:40 +00:00
Jacob Boerema
18408ce966 app, libgimp, libgimpwidgets, plug-ins, etc: rename behaviour to behavior
We use US English which uses behavior. So we replace all occurrences of
behaviour.

Most notable is File Open behavior in preferences. Besides that several
mentions in function documentation and a few in comments.
2023-07-21 15:35:23 -04:00
Michael Natterer
26dce72d2c Remove autotools 2023-05-27 00:03:52 +02:00
Jehan
817ee1c660 app, docs, etc.: transform menurc in shortcutsrc after an update.
Also get rid of various old references to menurc and don't install it anymore to
etc/ (neither the new shortcutsrc as it doesn't look like it brings much value
to do so).
2023-04-12 22:07:09 +02:00
Jehan
623346a8a7 app, docs, etc: "Default" is (as the name implies) the new default theme. 2022-08-21 01:03:30 +02:00
Jehan
9453f0420c docs, etc: regenerate the default gimprc and its manpage. 2021-10-13 00:51:03 +02:00
Jehan
842689c9d8 docs, etc: regenerate the default gimprc and its manpage. 2021-04-26 12:05:16 +02:00
Jehan
e5aa146f76 docs, etc: regenerate the default gimprc and its manpage. 2020-12-22 20:25:35 +01:00
Michael Natterer
12cf70596d docs, etc: regenerate the default gimprc and its manpage 2020-10-25 19:15:58 +01:00
Jehan
b5298d0673 etc: smaller default position and size of main image window.
Existing default was requesting a window of size 1024×768 at position
(200,100). While it may seem a reasonable default on nowadays displays,
it was not on some intermediate size displays which are considered HiPPI
anyway.

Taking my personal example, my screen is 2560×1440, which is considered
HiPPI by GNOME 3 with a scale ratio of ×2. As a consequence, setting a
size of 1024×768 was actually creating a window of 2048×1536, which is
already higher than the screen. Worse, gtk_window_resize() resize the
window without taking into consideration the title bar, which in my case
added 74 pixels, so GIMP window started at 1610 pixels of height, much
bigger than my screen size, hence unusable (and for some reason, with
the title bar out of the screen so without knowing Super+click shortcut
to move or Super+Up to maximize, people would have a hard time to resize
or close GIMP).

This issue only happens at the first launch of GIMP, when no user
sessionrc exists yet. Once you resize yourself the main window, then
restart GIMP, it is fine (as next times, it will use the user's
sessionrc). Yet it is already a bad first impression.

For temporary workaround, let's use a smaller 800×600 defaults (which
will actually span on 1600×1200 pixels + decoration size on scale ratio
×2).

Still I don't like using arbitrary numbers for window size default.
As we see here, it can end up into all sort of weird result. Even more
with all the scale ratio business which didn't exist back in GTK+2.
Instead, the defaults should have no size, and our code should just
resize to whatever makes the most sense on the current display, which I
believe should likely be maximized. Unfortunately I have a hard time
with gtk_window_maximize() which doesn't seem to do anything at all
(does GNOME ignore _NET_WM_STATE_MAXIMIZE_* hints when requested by
applications maybe?). So until we find the right system, let's go with
this lower window size defaults at least.
2020-09-27 22:06:22 +02:00
Ell
fa53e1433f etc: add a default toolrc file, using tool groups to oragnize the tools
Add a default toolrc file, installed in the sysconf dir, with a
more minimalistic tool layout using groups, inspired by Photoshop
(not identical, though, don't kill me! :)
2020-01-30 02:53:24 +02:00
Jehan
738dab0fce meson: fix relocatable-bundle feature and mypaint-brushes dependency.
It must not be a boolean but a `feature` option, with `auto` by default.
`auto` value mean enabled for macOS and Win32, and disabled for other
cases. This default logics disappeared in the meson build.

Also the mypaint-brushes package is a mandatory dependency, which must
always be checked. Absence is fatale.
Finally properly set the MYPAINT_BRUSHES_DIR macro depending on the
proper relocatable case.
2019-09-21 14:21:00 +02:00
Félix Piédallu
65eff6f150 Meson port. 2019-09-11 16:42:04 +02:00
Michael Natterer
5866e48f8a docs, etc: regenerate system gimprc and its manpage 2018-10-20 11:34:15 +02:00
Michael Natterer
a0805e460a Issue #1521 - First time start: GIMP-Error: Error while parsing templaterc
Don't use deprecated "fill-type" value names in the defailt templaterc.
2018-05-29 00:04:31 +02:00
Michael Natterer
21e51d2c0f port gtkrc files to CSS (incompletely and stuff commented out) 2018-05-20 21:06:28 +02:00
Michael Natterer
dbd9797a13 Switch to version 2.99/3.0 in a lot of places and depend on GTK+ 3.22
and lots of other newer libraries.
2018-05-20 21:06:26 +02:00
Michael Natterer
d568a23aae docs, etc: regenerate the default gimprc and its manpage 2018-05-20 18:45:05 +02:00
Michael Natterer
36586f291a docs, etc: system gimprc and its manpage regenerated 2018-04-27 13:20:59 +02:00
Michael Natterer
93313cd93c docs, etc: system gimprc and manpage regenerated with new setting
(filter-tool-use-last-settings no)
2018-04-17 12:56:39 +02:00
Ville Pätsi
cf21dcbe37 Rework and rename the default Dark theme 2018-04-05 23:59:27 +03:00
Jehan
617d0c4550 etc: add 4K Ultra HD template and fix DCI 4K.
The dimension currently set in DCI 4K were rather ones of common 5K.
2018-04-01 23:44:22 +02:00
Michael Natterer
452b1bd558 Stop leaking properties of the distcheck machine into the tarball
Some gimprc properties' default values depend on the machine where
"make dist" in run. We had an ugly hack in place to force
(num-processors 1) in the installed system gimprc and its manpage, but
were still leaking "tile-cache-size" and "mypaint-brush-path".

The files are generated by the hidden options --dump-gimprc-system
and --dump-gimprc-manpage which exist only for this purpose.

In gimpconfig-dump.c, special case the three properties in
dump_gimprc_system() and dump_gimprc_manpage() to output constant
default values for "num-processors" and "tile-cache-size" and
output @mypaint_brushes_dir@ in "mypaint-brush-path" which can
be replaced at configure time.

Also introduce etc/gimprc.in so @mypaint_brushes_dir@ can actually be
substituted for the installed system gimprc.
2018-03-30 13:19:22 +02:00
Michael Natterer
368c7c0511 docs, etc: default gimprc and its manpage regenerated by distcheck 2018-03-27 01:07:28 +02:00
Alexandre Prokoudine
b84874a798 Fix the 1280x720 document template 2017-12-23 22:25:29 +03:00
Michael Natterer
e2eaf1a02a etc, docs: push changes generated by distcheck 2017-12-12 20:41:01 +01:00
Jehan
cc057bfe20 docs, etc: regenerate default gimprc and its manpage.
These were modified after a `make distcheck`.
Push the changes as per devel-docs/release-howto.txt.
2017-12-12 01:40:30 +01:00
Michael Natterer
d230ca24c6 docs, etc: regenerate default gimprc and its manpage 2017-08-21 20:34:29 +02:00
Michael Natterer
82e34fb557 docs, etc: regenerated default gimprc and its manpage 2017-07-25 08:13:23 +02:00
Alexandre Prokoudine
ceb43bf713 Better typography in template names 2017-06-12 04:46:27 +03:00
Alexandre Prokoudine
1b9fd0315e Remove more obsolete templates 2017-06-12 04:09:48 +03:00
Alexandre Prokoudine
70b389a7b1 Cherry-pick template updates from icons-wip branch by Klaus Staedtler 2017-06-12 03:24:32 +03:00
Jehan
f0bd6e7da3 etc: s/gtk-cdrom/media-optical/ and s/gtk-floppy/media-floppy/
Use Freedesktop standard names in priority when possible.
2016-09-04 02:06:19 +02:00
Michael Natterer
a802bd2a20 docs, etc: regenerated the default gimprc and the gimprc manpage 2016-07-12 21:08:30 +02:00
Michael Natterer
ce741342ce Bug 737570 - Shortcut [some modifier] + Mousewheel for changing pen size
Change the default controllerrc to do some useful things with the
current tool.
2016-03-28 02:01:25 +02:00
Jehan
7fe64b747c app, libgimpwidgets: Dark theme and Symbolic icons as defaults.
These seem the expected theming defaults nowaydays, for a graphics
software, and so GIMP will follow these recommendations.
2016-03-25 20:53:22 +01:00
Jehan
0f67e21c98 themes: rename theme "Default" into "System".
Since we have many themes now, this new name better indicates that it
is meant to follow your desktop theme settings.
Also it will likely not remain the default theme.
2016-03-22 16:37:10 +01:00