Commit Graph

32519 Commits

Author SHA1 Message Date
4a5a6ef914 Bug 684330 - Rectangle tool's "fixed size" option is off-by-one
ROUND() is consistent only on positive values, and bad rounding
creates an offset when negative values are involved. Introduce
SIGNED_ROUND() and use it in gimprectangletool.c. It should probably
be used in much more places.
2013-02-13 00:08:39 +01:00
a907741d8a Bug 692900 - Dragging left canvas border doesn't respect dock borders
Don't allow the single window's docks to shrink smaller than their
requisition, because that's horribly broken.
2013-02-06 23:27:37 +01:00
0bbc2b6231 libgimpwidgets: set a min size of 8 chars on GimpColorHexEntry
because GtkEntry's default min size is way too large for this use
case.
2013-02-06 23:23:14 +01:00
1c00c2e4f8 app: fix re-initializing fontconfig in gimp_fonts_reset()
Calling FcConfigSetCurrent() with NULL is just broken, it almost
immediately dereferences the passed pointer. Apparently this line
is executed seldom, otherwise we'd see way more crashes in this place.
Just use FcInitReinitialize() which exists for the very purpose of
reinitializing the fontconfig library.
2013-02-05 13:54:36 +01:00
03044c5bc2 authors.xml: add Michael Henning 2013-02-04 18:05:00 -05:00
1317c0e930 Updated Greek translation 2013-02-04 10:33:22 +02:00
b8e96c7141 app: rename gimpdisplay-transport.[ch] to gimpdisplayxfer.[ch]
so it matches the name of the stuff it implements.
2013-02-03 13:26:32 +01:00
d0a5879f28 app: some GIMP-style cleanup to the last commit 2013-02-02 17:07:03 +01:00
4a81849e36 app: Use SHM transport for data transfer for display
Recent Cairo uses SHM transports when available, and exposes the ability
for its users to manage images shared between it and the display.
This allows us to eliminate copies, and if the architecture supports it
even to upload directly into GPU addressable memory without any copies
(all in normal system memory so we suffer no performance penalty when
applying the filters). The caveat is that we need to be aware of the
synchronize requirements, the cairo_surface_flush and
cairo_surface_mark_dirty, around access to the transport image. To
reduce the frequency of these barriers, we can subdivide the transport
image into small chunks as to satisfy individual updates and delay the
synchronisation barrier until we are forced to reuse earlier pixels.

Note this bumps the required Cairo version to 1.12, and please be aware
that the XSHM transport requires bug fixes from cairo.git (will be
1.12.12)

v2: After further reflections with Mitch, we realized we can share the
transport surface between all canvases by attaching it to the common
screen.

v3: Fix a couple of typos in insert_node() introduced when switching
variables names.

v4: Encapsulating within an image surface rather than a subsurface was
hiding the backing SHM segment from cairo, causing it to allocate
further SHM resources to stream the upload. We should be able to use a
sub-surface here, but it is more convenient to wrap the pixels in an
image surface for rendering the filters (and conveniently masking the
callee flushes from invalidating our parent transport surface).

Cc: Michael Natterer <mitch@gimp.org>
2013-02-02 13:59:59 +01:00
e68f56be19 Updated Greek translation 2013-01-31 17:37:02 +02:00
78f8b981b1 Bug 692646 - Finnish spelling fixes (by Ville Skyttä) 2013-01-29 10:36:31 +02:00
8dcbcfec9e libgimpbase: use g_win32_get_package_installation_directory_of_module()
instead of reimplementing it.
2013-01-27 22:38:35 +01:00
b7361669e8 libgimpbase: clean up the linux relocation code
by removing all but the toplevel prefix getter from gimpreloc.c It was
1) confusing 2) sometimes trying to subsitute the runtime prefix twice
and 3) sometimes ignoring configure-given directories within the
configure-prefix. This should all be fixed now, and done in one less
place.
2013-01-27 22:26:29 +01:00
4c90c51009 m4macros: remove gimpprint.m4, it's unused 2013-01-27 19:12:02 +01:00
6b0d1038cc Bug 692641 - Various spelling fixes 2013-01-27 18:59:02 +01:00
94a404ed24 Bug 639920: Gaussian blur can't work on specified selection
In presence of a selection extend the area processed
2013-01-27 17:04:04 +01:00
79be7de82e Bug 692625 - Use image/x-pcx for PCX in desktop entry
Desktop entry: Use image/x-pcx as PCX MIME type to sync with
shared-mime-info.
2013-01-27 14:26:13 +01:00
518e396ff4 Bug 692570 - GIMP fails to migrate binary files
Update the migration function so that it does not apply any restriction
on files where no explicit migration rules are set (for instance binary
files where no proper migration rules by regexp is possible).
2013-01-26 22:05:46 +09:00
057d5be970 Bug 688316 - get_special_folder reverted to exact same implementation as glib.
I used SHGetFolderLocation, deprecated, which I thought was a better idea than
SHGetSpecialFolderLocation, deprecated as well, but also unsupported. But it
apparently won't compile on XP. Reverts back to glib exact copy.
2013-01-24 01:09:32 +09:00
1043216424 Windows: #588015 - Make sure that GIMP is Terminal-Server-aware
(cherry picked from commit 4b9af78336)
2013-01-22 23:13:49 +01:00
9fa112f6b3 Bug 690728: file-gif-save plug-in crops the actual image the user is working on.
Destructive behavior fixed by duplicating the image first, then deleting
the duplicate at the end.
2013-01-20 16:17:55 +09:00
5d07d8052c file-fits: more cleanup 2013-01-20 00:51:48 +01:00
9cff6a663c file-fits: change data types to CamelCase and constants to CAPS 2013-01-20 00:34:32 +01:00
95d7edf72b Bug 675069 - "Value" in po-plug-ins/ja.po is conflicted
Add a translation context to "Value" in the metadata plug-in.
2013-01-19 22:48:31 +01:00
2eae4c42e8 metadata: indentation in interface.c 2013-01-19 22:46:14 +01:00
cfe5dd8bd4 file-xwd: support 32bit (ARGB) xwd import
No saving for now...
2013-01-19 22:03:06 +01:00
293bf27346 Updated Slovenian translation 2013-01-19 21:42:27 +01:00
a22e1846de Updated Slovenian translation 2013-01-19 21:39:43 +01:00
b87b8d3070 Updated Slovenian translation 2013-01-19 21:37:53 +01:00
28835e5a5f Updated Slovenian translation 2013-01-19 21:37:53 +01:00
dfabfb9664 Bug 572997 - gih description alter when re-saving
Undeprecate, clean up and apply patch from Eric Lamarque which adds a
"gimp-brush-pipe-name" parasite to remember the description.
2013-01-19 20:54:08 +01:00
d93d2e71c3 Bug 670226 - pbm image non-interactive different from interactive
Properly set the "pbm" flag in non-interactive mode, also add a
missing "break" so non-interactive actually behaves like
non-interactive.
2013-01-19 18:46:53 +01:00
5379a2377e Bug 675510 - tw_func.h contains windows-specific types
Put the stuff in #ifdef G_OS_WIN32
2013-01-19 18:39:15 +01:00
2999e30901 plug-ins: fix memory leak in file-html-table
Found using clang's scan-build.
2013-01-18 23:12:15 -05:00
2491a3a088 app: add (disabled) support for rendering the image at high resolution
for what Apple calls "Retina". Disabled because the GDK API to figure
the scale factor doesn't exist yet.
2013-01-18 16:36:22 +01:00
0357f83658 plug-ins: fix memory leak in file-mng
Found using clang's scan-build.
2013-01-17 19:23:51 -05:00
c262fee244 Bug 689523 - GIMP crashes (segfault) when loading a context with a font...
Make gimp_context_get|set_font_name() actually deal with
context->font_name, so the context can do its job of keeping the name
of an unavailable object around.
2013-01-18 01:02:31 +01:00
0a37a0490f app: fix indentation in GimpContext 2013-01-18 00:50:12 +01:00
3c006d0a4f modules: make all get_type() functions static 2013-01-17 20:57:50 +01:00
9f610ef3cf modules: use G_DEFINE_DYNAMIC_TYPE() in color-selector-cmyk-lcms 2013-01-17 20:56:58 +01:00
7e273bc6d0 Bug 686929 - Newly created toolbox is too tall and too narrow
Set the dock window's geometry hints after the tool palette's style is
known, not after the toolbox' style is known, so we get the right tool
button dimensions for minimum size and size increments.
2013-01-17 19:37:03 +01:00
a9b014c3dd plug-ins: fix memory leak in file-xbm
Found using clang's scan-build.
2013-01-16 18:49:09 -05:00
5d1c8726a3 imagemap: Don't use fixed size buffer to print statusbar messages (#691386) 2013-01-16 17:23:52 +05:30
0e54de7f1e Updated Brazilian Portuguese translation 2013-01-15 21:01:17 -02:00
0f6044ef2b plug-ins: fix memory leak in psd-save
Found using clang's scan-build.
2013-01-15 17:10:33 -05:00
0e748fe55a Updated Spanish translation 2013-01-15 16:00:22 +01:00
c44c33f667 plug-ins: forgot gegl_init() in file-pdf-save 2013-01-15 14:25:15 +01:00
14bb38da3f plug-ins: fix a memory leak in file-png
Found using clang's scan-build.
2013-01-14 17:36:43 -05:00
f4bf93dac9 plug-ins: fix memory leak in file-tiff-save
Found using clang's scan-build.
2013-01-13 21:38:12 -05:00
2fc0c768f1 app: don't leak references in gimp_session_info_restore_docks()
This should fix quite a bunch of memory leaks.
2013-01-14 01:36:08 +01:00