Commit Graph

30101 Commits

Author SHA1 Message Date
Martin Nordholts 06a16afa7d app: Add GimpTileBackendTileManagerPrivate
Also do some minor cleanup.
2011-09-30 12:00:40 +02:00
Michael Natterer 93a0d51d16 devel-docs: use gtk_box_new() 2011-09-30 11:41:43 +02:00
Michael Natterer 3e336199b9 app: use gtk_box_new() 2011-09-30 11:29:11 +02:00
Michael Natterer 4373dccdc1 modules: use gtk_box_new() 2011-09-30 11:00:22 +02:00
Martin Srebotnjak 31fccf8272 Updated Slovenian translation 2011-09-30 10:57:50 +02:00
Michael Natterer 72b0ef397f libgimp: use gtk_box_new() 2011-09-30 10:53:32 +02:00
Michael Natterer 83eb6fdc9e libgimpwidgets: use gtk_box_new() 2011-09-30 10:50:50 +02:00
Michael Natterer 030413b9f6 libgimpwidgets: add gimp3migration.[ch] to help the gtk3-port branch
This is such a hack, but entirely safe when linking against GTK+ 2.x.
Please ignore the uglyness.
2011-09-30 10:45:00 +02:00
Martin Nordholts 2b2ecd1af1 app/tests: Remove static Gimp *gimp
Say no to evilness.
2011-09-30 07:56:47 +02:00
Nils Philippsen a324206a3e script-fu: link libtinyscheme with libm if necessary
The tinyscheme static library uses math functions, ensure that libm is
linked where necessary (#659586, original patch by Vincent Untz,
modified)

cherry-picked from commit 7df2cb45b3 in
the gimp-2-6 branch.
2011-09-30 06:59:25 +05:30
Nils Philippsen b6310f88cf script-fu: explicitly specify library dependencies
cherry-pick commit d1e0f540e5 from the
gimp-2-6 branch.
2011-09-30 06:55:24 +05:30
Alexia Death ac6d4e4536 app: Add folder variants of the dynamics icon 2011-09-29 21:09:12 +03:00
Alexia Death cd2a1a92fc app: Add configurable path for tool presets in preferences 2011-09-29 20:29:49 +03:00
Michael Natterer d34bbaec2d app: #undef G_DISABLE_DEPRECATED where GStaticMutex is used
because it's deprecated in GLib 2.30.
2011-09-28 23:27:49 +02:00
Alexandre Prokoudine 7401cc38d1 Updated Russian translation 2011-09-28 02:46:33 +04:00
Mukund Sivaraman 5769acd3db file-png: Add comments about the struct checks 2011-09-27 19:22:50 +05:30
Michael Natterer 3b6ab5a48c Bug 660067 - GIMP crashes after Wacom tablet's hot unplug
Don't call gimp_input_device_store_lookup() with a NULL name. Unplug
seems broken because we always get name == NULL, I need to fix this
but at least it doesn't crash any longer (and the fix is generally
correct and not a workaround).
2011-09-26 22:35:45 +02:00
Marco Ciampa 7aebf7ee65 Updated italian translation 2011-09-26 08:25:22 +02:00
Massimo Valentini 0f03ed9e05 Bug 616416: hidden layer groups appear again after an image change
Introduced two virtual functions to a GimpViewable

'set_expanded' and 'get_expanded'

and a PROP_GROUP_ITEM_FLAGS to load/save the expanded state
of layer_groups and use them.
2011-09-25 21:57:20 +02:00
Massimo Valentini a67bb11cf5 Revert "Bug 616416: hidden layer groups appear again after an image change"
This reverts commit 359c9c22d9.
2011-09-25 21:49:36 +02:00
Massimo Valentini 359c9c22d9 Bug 616416: hidden layer groups appear again after an image change 2011-09-25 21:38:50 +02:00
Martin Srebotnjak a1a32282ed Updated Slovenian translation 2011-09-25 20:30:43 +02:00
Martin Srebotnjak 075d7f0de7 Updated Slovenian translation 2011-09-25 20:29:14 +02:00
Michael Natterer e071bfa3b6 Bug 656716 - Have a procedure to get a layer from its name
Add gimp_image_get_[layer|channel|vectors]_by_name().
2011-09-24 16:35:59 +02:00
Michael Natterer 624e99041b app: remove unused variable in gimp_image_map_tool_initialize() 2011-09-24 16:20:50 +02:00
Michael Natterer c3c40fd45f Bug 545910 - crash when selecting a font after a search
Add an explicit search entry, so the treeview's automatic search
popup doesn't break our grab and closes the dialog in the middle
of setting up the serach popup.
2011-09-24 10:58:48 +02:00
Kevin Cozens 23978ecec3 Optimized append to make it an O(n) operation (See Sourceforge bug #3400290)
From a patch by Doug Currie. Also some minor whitespace changes.
2011-09-23 19:10:17 -04:00
Kevin Cozens fc811f3708 Applied changes from SVN version 87 of official version of TinyScheme
Can't call round_per_R5RS() in is_integer() as it is not available if USE_MATH
is not defined. It is simpler and faster to compare ivalue() and rvalue() of
an inexact number. No need to round integers in OP_ROUND. Minor optimization
for is_nonneg().
2011-09-23 19:10:17 -04:00
Kevin Cozens 599f6e8390 Fixing formatting of files and removed tabs. 2011-09-23 19:10:16 -04:00
Kevin Cozens b61b8782d0 R5RS compatability fix for expt. (See SourceForge bug #3399332)
Based on the patch from Doug Currie.
2011-09-23 19:10:16 -04:00
Michael Natterer 69f55d0fb0 Bug 152259 - Revert button in GimpDataEditor is not implemented
Hide the button instead of only setting it insensitive.
2011-09-24 00:55:37 +02:00
Mikael Magnusson fdb69d20d5 Revert accidental usage of gtk_box 2011-09-24 00:44:14 +02:00
Michael Natterer 9ec15d898d NEWS: updated 2011-09-23 23:51:56 +02:00
Michael Natterer 4e3c308931 Bug 658902 - Show different icon for visible layer group members of...
Set the "eye" renderer to inconsistent state if the item is visible,
but not effectively viewable because one of its parents is invisible.
2011-09-23 23:45:10 +02:00
Michael Natterer d995fefb7c app: add gimp_item_is_visible()
which returns TRUE if an item is effectively visible (it is visible
and all its parents are visible).
2011-09-23 23:43:42 +02:00
Michael Natterer bc4fa9a8c4 libgimpwidgets: support GtkCellRendererToggle's "inconsistent" state
and strike out GimpCellRendererToggle's icon in the inconsistent case.
2011-09-23 23:42:09 +02:00
Michael Natterer 0e1d07d129 Bug 659446 - Missing plural handling for...
Use ngettext() instead of simply _().
2011-09-23 23:09:26 +02:00
Michael Natterer 989ac15a97 Bug 659348 - Provide a translation comment for "Empty" 2011-09-23 22:45:32 +02:00
Michael Natterer 944f6a529d Bug 656512 - Moving a floating selection - objects disappear
Fix typo in gimp_drawable_fs_update(): use the drawable's x and y
offsets to calculate the intersection with the fs' update area, and
not the y offset for both axes.
2011-09-23 22:34:25 +02:00
Michael Natterer 578e6402b8 app: don't detach the floating selection if it's not attached
Fix the commit two down in the log: a layer can be a floating
selection even if it's not attached to anything (when it is on the
undo stack).  Don't detach it if it is not the underlying drawable's
current fs.
2011-09-23 22:24:23 +02:00
Michael Natterer 208fedd7ea app: don't add GimpLayer's source node to two different parents
When the layer is a floating selection, its source node is being
hijacked by the underlying drawable to be composited on top of it.
This can happen before the layer's own layer node is being created; in
this case we must not add the source node to the layer node. Detaching
the floating selection in any way will fix up things later.
2011-09-23 21:58:00 +02:00
Michael Natterer e8f64664c9 app: properly detach floating selection in dispose()
We crash when closing an image that has a floating selection and the
GEGL projection is being used. Detach the floating selection when
either the FS or the drawable it's attached to are disposed. This fix
only makes it crash later, but makes sense as separate commit.
2011-09-23 19:55:24 +02:00
Michael Natterer 5c8ded8960 app: let the drawable keep around a pointer to its floating selection
Instead of getting the floating selection from the image. Change
gimp_drawable_has_floating_sel() to get_floating_sel() and remove the
"floating_sel" parameter from gimp_drawable_deatch_floating_sel().
This cleanup is one more step towards sanitizing floating selections,
and makes the crash fix in the next commit much much simpler.
2011-09-23 19:31:50 +02:00
Michael Natterer 00c446fc6e plug-ins: remove NONINTERACTIVE from print's PDB docs, it's not supported 2011-09-22 21:05:11 +02:00
Massimo Valentini 281c4cebb2 Bug 659804: wrong tooltips in the Align tool options 2011-09-22 18:13:10 +02:00
Martin Srebotnjak 91c25e1477 Updated Slovenian translation 2011-09-22 18:10:46 +02:00
Mukund Sivaraman ff2b9ee727 file-png: Return correct type of error value 2011-09-21 17:16:54 +05:30
Mukund Sivaraman 1ac6c7b85c file-png: Check that PNG structs are created properly
If there's a version mismatch between compiled version (header) and
installed shared libpng library, structs are not created and NULL is
returned.
2011-09-21 17:08:56 +05:30
Alexandre Prokoudine 3145c80aba Updates and fixes to Russian translation 2011-09-21 08:47:34 +04:00
Massimo Valentini b300e389d2 Bug 659052: stroke path with a pattern always uses the Pine pattern 2011-09-20 14:01:35 +02:00