Commit Graph

27962 Commits

Author SHA1 Message Date
Alexia Death aee148a486 Merge branch 'master' into soc-2010-cage-2 2010-08-26 21:50:55 +03:00
Michael Natterer d745ab3871 app: move the GIMP_CURSOR_SIZE define to a single place in the right header 2010-08-26 19:13:49 +02:00
Martin Nordholts fa6eb03fb2 app/tests: Add 'paintbrush_is_standard_tool' regression test
Add 'paintbrush_is_standard_tool' regression test to prevent bug
624177 from happening again.
2010-08-26 19:05:57 +02:00
Michael Natterer 98ee5e14a2 app: forgot to remove some disabled code 2010-08-26 18:21:04 +02:00
Michael Natterer 58db8a3ef0 app: port GimpDisplayShell selection drawing to cairo
but keep the old code around because it's much faster. The new code is
enabled by defining the CAIRO_SELECTION environment variable.
2010-08-26 18:09:33 +02:00
Sven Neumann f1d89f712d Bug 626446 - segfaults when started with -i argument
We don't need a standard tool-preset object, so just remove the
code that was copied and pasted from other GimpData objects.
Fixes the crash on startup in non-interactive mode.
2010-08-25 21:47:22 +02:00
Michael Natterer cd192adf09 app: undo some of the previous refactorings and keep using GdkSegment
It's not going to be deprecated, so there is no harm in using it; get
rid of all the added _old() functions too.
2010-08-25 21:21:16 +02:00
Michael Natterer d73f088408 app: move the calls to cairo_translate() out of gimpdisplayshell-style.c
and keep them next to the drawing code so it becomes clear why we use
pixel centers in these cases.
2010-08-25 13:01:12 +02:00
Michael Natterer 3f6bb75129 app: pass transformed segments to gimp_display_shell_draw_layer_boundary()
and duplicate quite some code in the spirit of the previous commit
(rename stuff using GdkSegment to _old() and add new functions that
return arrays of BoundSegs, for the lack of a nicer struct). This is
all very ugly and will change.
2010-08-25 01:58:00 +02:00
Michael Natterer 3127d36216 app: rename gimp_display_shell_transform_segments()
to gimp_display_shell_transform_segments_old() as step one
of porting selection drawing to cairo.
2010-08-25 01:37:19 +02:00
Alexandre Prokoudine e7f6350c2f Updated Russian translations 2010-08-25 03:02:58 +04:00
Michael Natterer 4e0925a67c app: port GimpDisplayShell layer boundary drawing to cairo
The boundary is temporarily kept around as both BoundSeg and
GdkSegment arrays now, but this uglyness will go away once porting to
cairo is complete.
2010-08-24 18:07:31 +02:00
Michael Natterer b5e49426df app: forgot to remove debug output in xcf_save_choose_format() 2010-08-24 18:04:49 +02:00
Michael Natterer 0d39da7ce8 app: s/num_segs/n_segs/ 2010-08-24 17:36:42 +02:00
Michael Natterer bb40aef9bf Bug 626492 - XCF version not increased when new layers are in layer group
Set the XCF version to 3 when saving an image with layer groups and
add a version 3 loader entry.
2010-08-24 14:04:31 +02:00
Michael Natterer 8fc5fd6c99 app: whitespace and formatting cleanup 2010-08-24 13:43:31 +02:00
Michael Natterer ea5acef4a5 app: remove redundant call to gimp_display_shell_scroll_get_render_start_offset() 2010-08-23 22:18:03 +02:00
Michael Natterer 18d3882c5c app: port GimpDisplayShell pen drawing to cairo 2010-08-23 21:59:27 +02:00
Michael Natterer 3a1ba90507 app: port GimpDisplayShell cursor drawing to cairo
Also add code to invalidate the new cursor location in
gimp_display_shell_update_cursor(), which is needed with
the new manual double buffering code.
2010-08-23 20:39:22 +02:00
Barak Itkin 6411f5e327 app: Add a better tooltip to "Save a Copy" (see Bug 588097) 2010-08-23 16:10:39 +03:00
Sven Neumann 3d6eff1d49 app: minor formatting changes and some const qualifiers 2010-08-22 21:50:18 +02:00
Massimo Valentini 9bde117b05 Bug 623169 - Memory leaks in GIMP
Fix an oversight that was committed with the last patch.
2010-08-22 21:37:24 +02:00
Martin Nordholts 8d0be04e51 app/base: Add gtk-doc to pixel_region_init() 2010-08-21 12:28:24 +02:00
Martin Nordholts 3a447213a9 app/tests: Add layer group regression testing for XCF write and read 2010-08-21 11:14:20 +02:00
David Gowers 1d7dd157e2 Bug 367388 - Small/percentage adjustment actions for tool-value and tip-sizes
Implement actions for relative adjustment of tool values and brush
sizes.
2010-08-20 21:11:16 +02:00
Martin Nordholts ac6722929a libgimp: Make GimpPixelRgn members signed
To avoid problems in statements like

  y = CLAMP (y, 0, pixel_rgn->h - 1);

when y = -1 for example, make GimpPixelRgn members signed. Hopefully
this is a working solution to 573542 and other bugs with statements
like above.
2010-08-20 18:39:33 +02:00
Martin Nordholts 4f14da5391 Bug 625307 - Make gtk-doc-less git builds work again
configure.ac: Check for GTK_DOC_CHECK avaiability before
invoking. Should be enough to allow gtk-doc-less builds.
2010-08-20 08:26:36 +02:00
Martin Nordholts e8cbb1ef2c devel-docs/app: Fix build 2010-08-18 07:20:44 +02:00
Martin Nordholts 92d0b22653 app: Fix translation, "region_select" => "selection" 2010-08-17 19:08:33 +02:00
Martin Nordholts 9bd423994d app: Make Alt-Click on layer thumbnail in Layers dockable discoverable
Make Alt-Click on layer thumbnail in Layers dockable discoverable, at
least in theory, by adding this info to the menu item tooltips.
2010-08-17 18:59:04 +02:00
Martin Nordholts a0dc12a0f3 Remove "Text to Selection" actions
Remove "Text to Selection" actions. They were added to make the
feature more discoverable. But we should make the original "Alpha to
selection" feature more discoverable, not treating text layers in a
special way where it's not needed.
2010-08-17 18:59:04 +02:00
Martin Nordholts fa441e8d5f app: Refer to splash screen as splash screen, not startup window 2010-08-17 18:59:04 +02:00
Michael Schumacher 74f39616a0 Bug 627009 - Image type filter doesn't include .rgba SGI files
Added the rgba file extension to the load and save handler
registration of the SGI file plug-in.
2010-08-16 22:42:52 +02:00
Martin Nordholts 876e99fdd0 app: Rectangle tool: Allow 'size' separators in 'aspect' and vice versa
In the Rectangle tool options, allow 'Fixed: Size' separators in
'Fixed: Aspect ratio' and vice versa, no point in being strict.
2010-08-16 22:00:06 +02:00
Martin Nordholts 30693304bc libgimp: Update gimp.def 2010-08-16 21:58:14 +02:00
Martin Nordholts 410d4426e8 Update gimprc 2010-08-16 21:58:14 +02:00
Martin Nordholts 270ba46eba Bug 623186 - GIF save plugin chokes on layers larger than canvas
GIMP_RUN_WITH_LAST_VALS must have the UI initialized too, for example
when doing File -> Export <file>.
2010-08-16 21:58:14 +02:00
Martin Nordholts 693a76a336 Remove old and unused ChangeLogs 2010-08-16 21:41:02 +02:00
Michael Muré 37d38f596e gimpcageconfig: solve segfault when adding 25th cage handle 2010-08-15 14:53:13 +02:00
Michael Muré f44dcf26b3 fill the original cage position with a plain color + UI 2010-08-15 14:20:47 +02:00
Michael Muré e2a7ef2e32 gimpcageconfig: displace the cage by a small delta to avoid having pixel exactly on edges 2010-08-15 12:59:49 +02:00
Michael Muré 537c72b0cf gimpcageconfig: add missing normal computing, which caused wrong first preview 2010-08-15 02:09:41 +02:00
Alexia Death 28cfa9d3df tools: Fix some warnings I introduced into cage tool earlyer 2010-08-15 02:58:31 +03:00
Alexia Death f037300658 tools: Many cage tool fixes.
Adds idle function to update the projection while imagemap is rendering.
2010-08-15 02:32:31 +03:00
Alexia Death c06ed13a14 core: Add function to test if image map is busy 2010-08-15 02:32:31 +03:00
Michael Muré f92b01d233 gimpoperationcagetransform: optimization 2010-08-15 01:00:21 +02:00
Michael Muré 02a14315f4 gimpoperationcagepreview: transform only pixel inside the cage 2010-08-14 23:53:23 +02:00
Michael Muré b7c2b26def precompute edge normal 2010-08-14 23:52:41 +02:00
Michael Muré c4a196d87a gimpoperationcagepreview: make the preview more visible 2010-08-14 21:37:17 +02:00
Michael Muré 2dfb79ec74 gimpoperationcagecoefcalc: correct coef calculation. Now deform works as expected. 2010-08-14 21:26:19 +02:00