Michael Natterer
d596695afc
app: run dispose explicitely on the paint_options before unrefing them
2010-06-26 23:22:53 +02:00
Michael Natterer
324fa432b6
app: free the tag_ref_counts hash table in dispose()
2010-06-26 18:25:44 +02:00
Michael Natterer
e24c2d2249
app: add a local "container" variable to make the code more readable
2010-06-26 15:49:10 +02:00
Marco Ciampa
ceda85f318
Updated italian translation.
2010-06-25 00:14:50 +02:00
Martin Nordholts
b55c545359
app: Kill UI configurer gracefully
...
Kill UI configurer gracefully so it's easier to find real leaks.
2010-06-24 22:59:37 +02:00
Michael Natterer
990c49b359
app: include the config objects in the instance debugging
...
And indeed, we fail to get rid of them upon exit...
2010-06-24 22:47:42 +02:00
Martin Nordholts
ed630a1852
app: Remove unused variables and dead code
2010-06-24 22:46:20 +02:00
Michael Natterer
e0d5bab077
app: remove the static variables for the "standard_foo" fallback members
...
Instead, call gimp_foo_get_standard() when a fallback object is
needed (keeping them around as static variables was a silly
micro-optimization).
2010-06-24 22:33:33 +02:00
Michael Natterer
991210c0f9
Bug 622608 - GIMP crashes when clicking any scroll bar from combo boxes
...
Don't cancel the popup in grab_notify() if the popup's grab was
shadowed by one of the widgets in the popup, like the scrollbar.
2010-06-24 21:56:41 +02:00
Michael Natterer
4d205e03ff
app: actually add the new files, sorry
2010-06-24 21:33:50 +02:00
Michael Natterer
b2b1cb135b
app: move the instance debug facility to the new file app/gimp-debug.c
...
Build it unconditionally but enable it via GIMP_DEBUG=instances
2010-06-24 19:11:56 +02:00
Michael Natterer
c448cc7d25
app: really really destroy the tool options widgets this time
2010-06-24 18:38:19 +02:00
Michael Natterer
44e6acbef8
app: the name of the standard paint is "gimp-paintbrush" not "GimpPaintbrush"
2010-06-24 18:38:19 +02:00
Michael Natterer
39c7405954
app: disconnect from the dialog factory in dispose() instead of finalize()
2010-06-24 18:38:18 +02:00
Michael Natterer
a83b3250e4
app: set non-NULL names on the default image and the default grid
2010-06-24 18:38:18 +02:00
Michael Natterer
67590c04d1
app: unref tool options and presets in dispose() instead of finalize()
2010-06-24 18:38:18 +02:00
Michael Natterer
bfbdf1cfb8
app: unref the paint options in dispose() instead of finalize()
2010-06-24 18:38:18 +02:00
Michael Natterer
5db9d31498
app: drop all object references in dispose() insatead of finalize()
2010-06-24 18:38:18 +02:00
Michael Natterer
06bf098fa9
app: run dispose on the tool infos before unrefing their container
...
because they contain reference cycles with the tool options
2010-06-24 18:38:18 +02:00
Michael Natterer
cf98aed702
app: run dispose on the paint infos before unrefing their container
...
because they contain reference cycles with the paint options
2010-06-24 18:38:17 +02:00
Michael Natterer
a5b6544b6e
app: unref options->tool_info in dispose() instead of finalize()
2010-06-24 18:38:17 +02:00
Michael Natterer
69e7e411f8
app: unref options->paint_info in dispose() instead of finalize()
2010-06-24 18:38:17 +02:00
Michael Natterer
c47edb5016
app: improve the g_warning() about undestroyed dialogs
2010-06-24 18:38:17 +02:00
Michael Natterer
e7b16c8634
app: run dispose manually on the dialog factory before unrefing it
...
Because some of the dialogs the factory creates add a reference to
it, creating a cycle; so simply unrefing it doesn't do anything.
2010-06-24 18:38:17 +02:00
Michael Natterer
403908829a
app: add comment about why we can't use GimpContainerView API in init()
2010-06-24 18:38:17 +02:00
Michael Natterer
3c565a1736
app: unref context, dialog_factory and ui_manager in GObject::dispose()
...
The were not unrefed at all before
2010-06-24 18:38:16 +02:00
Michael Natterer
ad83462570
app: unref the filtered container in GObject::dispose()
...
It was simply never destroyed at all before.
2010-06-24 18:38:16 +02:00
Michael Natterer
c9bde335f0
app: don't additionally ref the standard data objects
...
Instead, set their statically remembered pointer as a weak pointer so
it's nullified automatically if they are ever finalized. Doesn't
actually get rid of them upon exit yet, this is just a preparation.
2010-06-24 18:38:16 +02:00
Barak Itkin
5da440f1a5
Update Hebrew translation.
2010-06-24 14:40:50 +03:00
Nelson A. de Oliveira
c4588f1209
Bug 575911 - Add 'Rule of fifths' crop guide overlay
...
Implement a rule of fifths guideline for GIMP. See
http://markhancock.blogspot.com/2006/03/address-basic-composition.html
for more info.
2010-06-24 08:37:09 +02:00
Michael Natterer
b43be361ff
app: add a forgotten g_object_unref()
...
so all dockables are destroyed when a dock is destroyed.
2010-06-23 22:50:45 +02:00
Michael Natterer
bbd4038e98
app: make sure all tool options widgets are properly destroyed
...
...and with them all references their widgets keep (which are a lot).
Take ownership of the widget after creating it, so it can be reliably
unrefed upon exit.
2010-06-23 22:48:53 +02:00
Michael Natterer
e44d81bd4b
app: add a debug facility that keeps track of allocated GimpObjects
2010-06-23 22:32:14 +02:00
Martin Nordholts
f6781d15c4
Bug 565459 - newly opened images are put into the background
...
When we are going to open new image windows, unset the transient
window. We don't need it since we will use gdk_window_raise() to
keep the dialog on top. And if we don't do it, then the dialog
will pull the image window it was invoked from on top of all the
new opened image windows, and we don't want that to happen.
Patch heavily inspiried by hack from Massimo Valentini.
Also add a manual test case for the fix. (I don't think there is GTK+
API to automate it).
2010-06-23 20:17:44 +02:00
Martin Nordholts
2431740492
app: Explain gdk_window_raise() in file-open-dialog.c
2010-06-23 19:58:01 +02:00
SimaMoto,RyōTa
66bd26b208
Bug 618143 - Clarify labels in 'Size' tab in GIMPressionist
...
The "Size" and "Sizes" labels in the GIMPressionist plugin can be more
descriptive, change them to "Size variants" and "Size depends on"
respectively.
2010-06-23 18:45:37 +02:00
Martin Nordholts
e54a93f649
devel-docs: Update development schedule
...
Update development schedule. A bunch of things had to be postponed,
and I adjusted some time estimates.
New ETA: 2010-12-29.
2010-06-23 18:23:16 +02:00
Michael Natterer
ea050b267e
app: don't leak all cached GtkTreeIters in container views
...
This is evil: the hash table of "insert_data" is created on demand
when GimpContainerView API is used, using a value_free_func that is
set in the interface_init functions of its implementors. Therefore, no
GimpContainerView API must be called from any init() function, because
the interface_init() function of a subclass that sets the right
value_free_func might not have been called yet, leaving the
insert_data hash table without memory management.
Call GimpContainerView API from GObject::constructed() instead, which
runs after everything is set up correctly.
2010-06-23 00:20:21 +02:00
Michael Natterer
a60463cd8e
app: free one more list returned by gtk_container_get_children()
2010-06-23 00:19:44 +02:00
Michael Natterer
46e1410213
app: free the list returned by gtk_container_get_children()
2010-06-22 23:06:35 +02:00
Michael Natterer
865a1f4896
app: free the string returned by gimp_dock_window_get_description()
2010-06-22 23:06:35 +02:00
Michael Natterer
94e757df51
app: don't leak options->language; add finalize() to free it
2010-06-22 23:06:35 +02:00
Michael Natterer
cf1cc6dc6f
app: private->shells might be a list with one element upon destroy; free it
2010-06-22 23:06:35 +02:00
Michael Natterer
5df1d477b7
app: free shell->zoom_focus_pointer_queue in destroy()
2010-06-22 23:06:35 +02:00
Michael Natterer
09ebdcb06b
app: don't leak each transformed brush mask
2010-06-22 23:06:35 +02:00
Martin Nordholts
2b050c78cd
devel-docs: Remove release commit from release-howto.txt
2010-06-22 21:37:00 +02:00
Michael Natterer
2a984ef51f
Bug 612618 - Font selection remains visible
...
Connect to "grab-notify" and "grab-broken-event" and close the popup
when the grab is lost.
2010-06-22 20:09:52 +02:00
Martin Nordholts
ff1da59f33
Bug 574018 - Add a manifest to executables
...
Patch from Jernej Simončič.
2010-06-22 19:35:16 +02:00
Kevin Cozens
75941beaca
Added SIOD compatability routines string-downcase and string-upcase.
2010-06-21 23:56:40 -04:00
Martin Nordholts
f0e90007f7
app/tests: Remove gimp_ui_synthesize_plus_key_event() crack
...
Make gimp_ui_synthesize_plus_key_event() generic and implement it with
gdk_test_simulate_key(). We can't use gtk_test_widget_send_key()
because its input window logic doesn't seem to work very well.
2010-06-21 21:19:15 +02:00