Michael Natterer
41c92af49b
app: add gimp_gegl_node_set_color() and use it in GimpChannel
2013-10-19 17:31:56 +02:00
Michael Natterer
e0c64a817d
Bug 701232 - Painting tools still slow when used in Quick Mask mode
...
Set the format of GimpChannel's gegl:color node depending on whether
the buffer is linear or gamma-corrected.
2013-10-18 01:01:26 +02:00
Jehan
fe481275e2
Bug 675554 - fix overriden language environment variables on Windows.
...
If any of the locale environment variables used for UI language is set
(LANGUAGE, LC_ALL, LC_MESSAGES and LANG), do not let Windows' default UI
language override these.
Language set in GIMP preferences still have higher priority.
2013-10-16 00:33:17 +13:00
Michael Natterer
697572ccc0
app,libgimp*: fix includes to follow our include policy
...
- don't include <gdk-pixbuf/gdk-pixbuf.h> in headers in app/
- instead, include it in many .c files instead of <glib-object.h>,
finally acknowledging the fact that app/ depends on gdk-pixbuf almost
globally
- fix up includes as if libgimpbase depended in GIO, which it soon will
2013-10-15 01:58:39 +02:00
Jehan
f4d676c8bb
tests: sessionrc-expected* updated with new (tabs-position) settings.
...
3 tests were failing on a `make distcheck` because of this.
2013-10-13 22:22:21 +13:00
Michael Natterer
96f5254324
Bug 709398 - All layer compositing treated as "Normal" on load or undo
...
gimp_filter_stack_reorder(): really fix setting of "is-last-node".
2013-10-12 00:07:53 +02:00
Michael Natterer
72227435d5
app: use "on the $side" not "to the $side" in the tab position actions
2013-10-11 23:54:29 +02:00
Michael Natterer
47ec9e2e1a
app: handle an index of -1 generically in GimpContainer::reorder()
...
by turning the -1 into n_children - 1 directly in gimp_container_reorder()
instead of having all subclasses deal with the -1 separately. Remove -1
handling from gimp_list_reorder().
Also, optimize reordering to the same index away without increasing
the function's cost (it was doing a gimp_container_have() before, now
it doees gimp_container_get_child_index(), which both have the same
cost).
2013-10-11 23:09:30 +02:00
Jehan
c15f9799c1
app: tabs position saved in sessionrc and only 1 HELP-ID is enough.
...
The settings was saved both in sessionrc and gimprc!
2013-10-12 04:30:30 +13:00
Jehan
b2e40c4ca7
Bug 667169 - Single window mode: allow tabs position setting.
2013-10-11 23:16:29 +13:00
Jehan
6ee77e5635
Bug 709878 - test-session-* skipped when xvfb-run is unavailable.
...
Also add a GIMP_EXIT_TEST_SKIPPED #define, to return the SKIP exit value
documented by automake.
2013-10-11 21:57:42 +13:00
Téo Mazars
f3d40dceec
plug-ins,pdb: Add a compatibility wrapper for lens-distortion
...
... and remove the old plug-in
2013-10-11 08:48:09 +02:00
Téo Mazars
786b21ee10
app,pdb: Sort compatibility wrappers in alphabetical order
2013-10-11 08:03:51 +02:00
Alexandre Prokoudine
7be0e1c747
Fix syntaxis in user-visible messages
...
Phrases starting with "When enabled" should have a comma.
2013-10-11 06:32:04 +04:00
Michael Natterer
3617e4fde9
app: port all URI comparisons in test-save-and-export.c to g_file_equal()
...
so they keep succeeding when code gets ported to GFile/GIO which
canonicalizes URIs.
2013-10-09 21:35:23 +02:00
Michael Natterer
cd7322fd87
app: port XCF loading/saving to GIO
...
but for now restrict it to local files (see bug #709432 ).
Thanks to Jehan and Sven for testing.
2013-10-08 21:22:14 +02:00
Jehan
1351226c80
pdb: gimp-image-new's doc updated.
...
Add the precision that indexed images must be set a colormap after
creation, otherwise colors won't be right.
2013-10-05 01:47:05 +13:00
Michael Natterer
7e536e4465
app: remove unused variables and some cleanup in sanity_check_gegl_ops()
2013-10-04 14:43:18 +02:00
Jehan
3e082b356c
Bug 681709 - GimpContainer continuously scrolls on dnd failure on Windows.
...
The scroll timeout is looping forever if the drag ends by a failure
event. For instance when hitting the Esc button during scrolling.
2013-10-02 21:18:10 +13:00
Téo Mazars
e1fe2e35cb
plug-ins,pdb: Add a compatibility wrapper for edge-laplace
...
... and remove the old plug-in
2013-10-01 17:10:31 +02:00
Jehan
cca6772714
Bug 709048 - improvement of gimp-layer-add-mask procedure's doc.
...
The documentation was missing information about GIMP_ADD_CHANNEL_MASK
mask type, also about possible failure cases, and had an unclosed
bracket typo.
Also make nicer output and list formatting with the new pdb paragraph
feature.
2013-10-01 01:02:49 +13:00
Michael Natterer
462f61794e
app: fix drawing of the empty canvas wilber
2013-09-28 18:00:31 +02:00
Jehan
9563a614f2
Bug 708033 - Add paragraph support for the long description in pdbgen
...
Single newlines in procedure descriptions are still considered normal
spaces. But 2 newlines are transformed into 1 newline. 3 newlines into
2 newlines. And so on.
This allows for a start of nicer output in the procedure browser or C
file comments (and consequently in generated html doc).
2013-09-27 18:39:21 +02:00
Téo Mazars
8e25b5407d
plug-ins,pdb: Add a compatibility wrapper for noise-hsv
...
... and remove the old plugin
2013-09-26 19:31:13 +02:00
Michael Natterer
665e7d9a7d
app: some whitespace and indentation in gimppalette-load.c
2013-09-24 22:14:10 +02:00
Marco Ciampa
d9db3cc0cf
app: only one mnemonic letter per filter
2013-09-23 16:25:01 +02:00
Téo Mazars
26b2b177a9
app: add a mnemonic letter to mosaic
2013-09-23 16:12:45 +02:00
Téo Mazars
5063aada1d
plug-ins,pdb: Add compatibility wrappers for mosaic
...
and remove the old plug-in
2013-09-23 15:52:08 +02:00
Téo Mazars
68feec5dcf
app: add gegl:mosaic to Filters -> Distorts
2013-09-21 19:02:10 +02:00
Jehan
ac0ac60ca9
Bug 708521 - Getting rid of cage_complete property on GimpCageTool, redundant with tool_state.
2013-09-22 02:28:30 +12:00
Jehan
2294b8da26
Bug 708519 - Fix using Backspace to delete a closed cage tool's points.
2013-09-22 02:17:22 +12:00
Jehan
5e331e1d25
Bug 708517: Assertion on cage tool commit with ENTER + fix cage completion with ENTER.
...
The key press handler must return TRUE on successfully processing the key,
otherwise the handler ends up being run several times.
2013-09-21 22:42:41 +12:00
Jehan
951393b34e
app: disallow a theoretical infinite loop if we run out of ids.
...
In practice, that's likely impossible to ever happen. This was just
itching my perfectionist self, who enjoys flawless design.
2013-09-20 02:42:40 +12:00
Michael Henning
d02dd9f0da
app: Rename the pallete loading functions from last commit.
2013-09-17 19:39:12 -04:00
Warren Turkal
198f2514ab
app: Refactor palette loaders.
...
I specifically moved the file opening/closing logic to the common
code. This makes the code easier to understand for me since there
is less duplication. In fact, this commit removes more lines than
it adds.
2013-09-17 17:54:54 -04:00
Michael Natterer
74c54464c3
app: add a label to GimpOperationTool's aux input button
...
and don't pack it expanding.
2013-09-17 20:06:37 +02:00
Michael Natterer
fe7a08e7c7
app: fix warning and indentation in windows_menu_display_reorder()
2013-09-17 12:20:39 +02:00
Michael Natterer
86b13ae8c4
app: handle changing buffers in GimpPickableButton
...
by emitting "notify::pickable" when the pickable's buffer changes, or
setting the pickable to NULL when its buffer disappears.
2013-09-15 20:03:31 +02:00
Jehan
ed1b7f4697
app: minor typo spotted on gimp:grow operation. s/diection/direction/
2013-09-16 00:43:44 +12:00
Michael Natterer
52fe319fcb
app: use a GimpPickableButton for GimpOperationTool's aux input
...
also WIP and currently looks like shit.
2013-09-15 00:37:42 +02:00
Michael Natterer
4e2868986a
app: add new widget GimpPickableButton
...
Totally WIP and later supposed to give simple access to all sorts of
things that can provide a GeglBuffer via the GimpPickable
interface. Currently only dropping of drawables and images is
supported.
2013-09-15 00:30:14 +02:00
Jehan
c7aa623a55
app: clean out a big bunch of leading tabs.
...
For some unknown reason, most calls to gimp_message_literal() were
indented with tabs.
2013-09-15 04:59:20 +12:00
Michael Natterer
125cf2a2a3
app: use the image instead of the projection for accessing a pickable
2013-09-13 23:29:06 +02:00
Michael Natterer
4d01e21104
app: implement the GimpPickable interface for GimpImage
...
by delegating to the image's projection.
2013-09-13 23:25:30 +02:00
Jehan
8fe1f65374
pdb: clean out \n from procedure descriptions in previous commit a7f1129
.
...
If we want better output for long description, this will have to be implemented
in the pdbgen.
2013-09-14 02:58:39 +12:00
Jehan
a7f11290a4
pdb: update several channel creation function's descriptions.
...
More informative, detailed description or better wording.
Also adds some newlines for better rendering.
2013-09-14 02:19:46 +12:00
Jehan
ee8827d645
pdb: minor glitch in gimp-image-set-active-channel's description.
...
s/previous active channel or channel/previous active channel or layer/
2013-09-13 22:21:55 +12:00
Michael Natterer
3582625ce0
app: remove the over from the plug_in_plasma() compat wrapper
...
because gimp_drawable_apply_operation() supports src ops now.
2013-09-13 09:43:19 +02:00
Michael Natterer
b5ff4fbab4
app: support src ops in gimp_gegl_apply_operation()
2013-09-13 09:42:53 +02:00
Daniel Sabo
34c50b0fea
app, plug-ins: Don't modify iter->length
...
The new by-row iteration doesn't re-write the length
value for each row. In general it is not safe to modify
the iterator data because the internal logic depends
on the public data, but this specific case is new.
2013-09-12 17:43:54 -07:00