- 20 Sep, 2009 9 commits
-
-
Martin Nordholts authored
-
Martin Nordholts authored
Make GimpSessionInfo members private but put them in a shared header file so gimpsessioninfo-dock.c can access them too.
-
Martin Nordholts authored
-
Martin Nordholts authored
Rename gimp_session_info_set_geometry() to gimp_session_info_apply_geometry() and gimp_session_info_get_geometry to gimp_session_info_read_geometry(). The old functions were not getters and setters and thus the names were misleading.
-
Martin Nordholts authored
Simplify the code a bit by replacing the 'toplevel_entry' and 'dockable_entry' members in GimpSessionInfo with a single 'factory_entry'. We compensate for this by adding a 'dockable' gboolean to GimpDialogFactoryEntry.
-
Martin Nordholts authored
Add GimpSessionInfo getters for a bunch of dialog factory entry fields. This moves much of the GimpDock special casing to a common place and also reduces direct access to session info fields.
-
Martin Nordholts authored
Increase scope of 'info' in gimp_dialog_factory_add_dialog() so we can use it at the end of the function.
-
Martin Nordholts authored
-
Martin Nordholts authored
Collect common error checking in a new helper function gimp_dialog_factory_dialog_sane().
-
- 19 Sep, 2009 7 commits
-
-
Martin Nordholts authored
Clarify session_init() by adding comments and using gimp_config_deserialize() and g_str_equal() in sessionrc parsing.
-
Martin Nordholts authored
-
Martin Nordholts authored
Also allow GIMP_DEBUG as debug environment variable since that is what you would guess the name is if you used e.g. the GDK_DEBUG environment variable before.
-
Michael Natterer authored
-
Michael Natterer authored
-
Martin Nordholts authored
Add dockrc to session regression testing and do some general cleanups and generalizations in the test.
-
Khaled Hosny authored
-
- 16 Sep, 2009 12 commits
-
-
Martin Nordholts authored
Add a regression test for sessionrc parsing, handing and writing. The test work in the following way: GIMP starts so that sessionrc is deserialized and stored internally, the UI is shown, and then the internal data structure about windows is serialized to a new sessionrc. The test makes sure that a new sessionrc actually has been created, and then that the content of the new file is identical to the old one.
-
Martin Nordholts authored
The WM tests mess up the GIMP dir, in particular any sessionrc if it exists, due to the interface never being shown. Make the WM test use a tmp dir to avoid that.
-
Martin Nordholts authored
Don't blindly increment last-tip-shown so that the sessionrc is not modified between each GIMP run. The change is to make it easier to write regression tests for sessionrc. Eventually we might want some proper fix.
-
Martin Nordholts authored
Add gimp_test_run_temp_mainloop() which is a helper function for tests that wants to run a main loop for a while. Useful when you want GIMP's state to settle before doing tests.
-
Martin Nordholts authored
Add show_gui parameter to gimp_init_for_gui_testing() so that we can have tests that shows the the actual GIMP interface.
-
Martin Nordholts authored
Add GIMPDIR for tests, both to get rid of warning about missing tags.xml and for future usage.
-
Martin Nordholts authored
-
Julien Hardlin authored
-
Michael Natterer authored
-
Michael Natterer authored
That version contains a GtkTreeView fix essential to group layers.
-
Michael Natterer authored
Implement GimpContainerView::insert_item_after() and select the newly inserted item if it is the active item in the image.
-
Michael Natterer authored
The new function is called after the item is inserted. This is a much smaller change than turning all vfuncs into signals just to be able connect_after to one of them.
-
- 15 Sep, 2009 5 commits
-
-
Sven Neumann authored
-
Michael Natterer authored
-
Claude Paroz authored
Contributed by Julien Hardelin and Claude Paroz
-
Martin Nordholts authored
In preparation for making GimpDock inherit from a non-window, stop casting GimpDocks to GimpDockWindows. Instead look up the toplevel widget for a dock and get the dock window that way.
-
Martin Nordholts authored
-
- 14 Sep, 2009 7 commits
-
-
Martin Nordholts authored
-
Martin Nordholts authored
Update export filename priorities according to changes in spec. Also consistently use GIMP_FILE_EXPORT_URI_KEY instead of GIMP_FILE_EXPORT_TO_URI_KEY. They have the same value.
-
Michael Natterer authored
Tons of doc updates, it's almost up-to-date now. Also fixes the build.
-
Michael Natterer authored
-
Michael Natterer authored
-
Michael Natterer authored
-
Michael Natterer authored
There is no need to keep these specific structs hidden and gtk-doc likes it better that way.
-