Commit Graph

19718 Commits

Author SHA1 Message Date
Michael Natterer 1da4a19fe7 app/paint/paint-types.h move opaque typedefs of object instances to
2007-02-08  Michael Natterer  <mitch@gimp.org>

	* app/paint/paint-types.h
	* app/paint/*.h: move opaque typedefs of object instances to
	paint-types.h, don't typedef empty class stuctures as their parent
	class (gtk-doc gets confused), cleanups.


svn path=/trunk/; revision=21877
2007-02-08 22:58:22 +00:00
Sven Neumann b76ad2b84e app/tools/gimprectangleoptions.c moved code around.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangleoptions.c
	* app/widgets/gimppropwidgets.[ch]: moved code around.


svn path=/trunk/; revision=21876
2007-02-08 22:49:50 +00:00
Sven Neumann aba50bbc14 code cleanup. Pack the widgets the way we usually do this.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangleoptions.c (gimp_rectangle_options_gui):
	code cleanup. Pack the widgets the way we usually do this.


svn path=/trunk/; revision=21875
2007-02-08 16:59:40 +00:00
Sven Neumann aac28d11ca applied patch from Robert Helgesson. Adds documentation (bug #405760).
2007-02-08  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.c: applied patch from Robert
	Helgesson. Adds documentation (bug #405760).

svn path=/trunk/; revision=21874
2007-02-08 16:40:46 +00:00
Sven Neumann fbc67ff207 reduced default spacing.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpenumwidgets.c
	(gimp_enum_stock_box_new_with_range): reduced default spacing.

	* app/tools/gimpcurvestool.c (gimp_curves_tool_dialog): don't
	increase the box's spacing.

	* app/tools/gimprectangleoptions.c: added portrait/landscape
	buttons.

	* app/widgets/gimppropwidgets.c (gimp_prop_aspect_ratio_new):
	reduced default width of entry.  Swap width and height when the
	aspect changes and fixed-aspect is chosen.

svn path=/trunk/; revision=21873
2007-02-08 16:36:23 +00:00
Sven Neumann 938b316dae app/tools/gimprectangleoptions.c cleaned out some cruft. Still work in
2007-02-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangleoptions.c
	* app/widgets/gimppropwidgets.[ch]: cleaned out some cruft. Still
	work in progress.

svn path=/trunk/; revision=21872
2007-02-08 15:35:49 +00:00
Sven Neumann 2b30f1b488 updated.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/libgimpwidgets-sections.txt: updated.

	* libgimpwidgets/tmpl/gimpratioentry.sgml: regenerated.


svn path=/trunk/; revision=21871
2007-02-08 12:59:54 +00:00
Sven Neumann f102294ad0 use inline completion
svn path=/trunk/; revision=21870
2007-02-08 12:11:19 +00:00
Sven Neumann daf24a906b emit property change notifications.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpratioentry.c (gimp_ratio_entry_set_fraction):
	emit property change notifications.

svn path=/trunk/; revision=21869
2007-02-08 12:07:46 +00:00
Sven Neumann 2b2e9ab623 use GTK_RELIEF_NONE for the buttons.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpenumwidgets.c
	(gimp_enum_stock_box_new_with_range): use GTK_RELIEF_NONE for the
	buttons.

svn path=/trunk/; revision=21868
2007-02-08 11:33:30 +00:00
Sven Neumann 525b8bd6b5 app/widgets/widgets-enums.c moved enum GimpAspectType to libgimpwidgets.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* app/widgets/widgets-enums.c
	* libgimpwidgets/gimpwidgetsenums.[ch]: moved enum GimpAspectType
	to libgimpwidgets.

	* libgimpwidgets/gimpratioentry.[ch]: added property "aspect" with
	getters and setters.

	* libgimpwidgets/gimpwidgets.def: updated.


svn path=/trunk/; revision=21867
2007-02-08 10:56:17 +00:00
Michael Natterer f7bfea19d9 Unbreak rectangle select tool undo handling a bit:
2007-02-08  Michael Natterer  <mitch@gimp.org>

	Unbreak rectangle select tool undo handling a bit:

	* app/tools/gimprectangleselecttool.c (gimp_rect_select_tool_select):
	add boolean return value indicating if something was actually selected.

	(gimp_rect_select_tool_rectangle_changed): peek the newly pushed
	undo only if we selected something.


svn path=/trunk/; revision=21866
2007-02-08 09:54:09 +00:00
Sven Neumann 50a39fb96e added history and completion. This will need more work.
2007-02-08  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpratioentry.[ch]: added history and 
completion.
	This will need more work.


svn path=/trunk/; revision=21865
2007-02-08 06:43:20 +00:00
Sven Neumann be3165f47b eliminated another redundant article.
2007-02-07  Sven Neumann  <sven@gimp.org>

	* README: eliminated another redundant article.


svn path=/trunk/; revision=21864
2007-02-07 21:42:13 +00:00
Michael Natterer fc761f6ed5 remove enum GimpColorPickMode...
2007-02-07  Michael Natterer  <mitch@gimp.org>

	* app/tools/tools-enums.[ch]: remove enum GimpColorPickMode...

	* app/widgets/widgets-enums.[ch]: ...and add it here.

	* app/widgets/gimpgradienteditor.c: merge separate functions for
	picking FG and BG colors and update the new color area from the
	merged function.


svn path=/trunk/; revision=21863
2007-02-07 17:53:16 +00:00
Sven Neumann ab406a1b07 app/dialogs/preferences-dialog.c slightly increased the height of color
2007-02-07  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c
	* app/widgets/gimpgrideditor.c: slightly increased the height of
	color buttons.

svn path=/trunk/; revision=21862
2007-02-07 17:24:09 +00:00
Sven Neumann 3702e82dfd app-docs.sgml minor updates.
* app-docs.sgml
	* app-sections.txt: minor updates.

svn path=/trunk/; revision=21861
2007-02-07 16:59:52 +00:00
Sven Neumann e2e379e533 added new undo classes. minor update.
* app.types: added new undo classes.
	* app-sections.txt: minor update.

svn path=/trunk/; revision=21860
2007-02-07 16:27:26 +00:00
Sven Neumann f7f66d5db1 fixed linking of app-scan.
2007-02-07  Sven Neumann  <sven@gimp.org>

	* app/Makefile.am (GTKDOC_LIBS): fixed linking of app-scan.


svn path=/trunk/; revision=21859
2007-02-07 16:19:40 +00:00
Michael Natterer d6ee118027 applied patch from Joao S. O. Bueno Calligaris which adds a preview for
2007-02-07  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpgradienteditor.[ch]: applied patch from Joao
	S. O. Bueno Calligaris which adds a preview for the color the
	cursor is currently hovering and reduces excess precision when
	displaying color components and gradient positions (bug #400907).


svn path=/trunk/; revision=21858
2007-02-07 13:50:08 +00:00
Sven Neumann 6e134e6d1c don't compare floating point numbers for equality.
2007-02-07  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-scale.c: don't compare floating
	point numbers for equality.


svn path=/trunk/; revision=21857
2007-02-07 09:12:55 +00:00
Sven Neumann f389d32a5d #define DBUS_API_SUBJECT_TO_CHANGE to fix compilation with outdated
2007-02-07  Sven Neumann  <sven@gimp.org>

	* app/gui/gui.c: #define DBUS_API_SUBJECT_TO_CHANGE to fix
	compilation with outdated versions of D-Bus.


svn path=/trunk/; revision=21856
2007-02-07 08:27:36 +00:00
Sven Neumann ea4ed72e88 app/actions/view-actions.c app/actions/view-commands.[ch]
2007-02-07  Sven Neumann  <sven@gimp.org>

	* app/actions/view-actions.c
	* app/actions/view-commands.[ch]
	* app/display/gimpdisplayshell.[ch]
	* app/display/gimpdisplayshell-scale.[ch]
	* app/widgets/gimphelp-ids.h
	* menus/image-menu.xml.in: applied patch from Robert Helgesson 
that
	adds "Revert Zoom" functionality (bug #338168).


svn path=/trunk/; revision=21855
2007-02-07 08:13:44 +00:00
Sven Neumann 4bb1692f2d made time a property and added utility functions to work the undo's age.
2007-02-06  Sven Neumann  <sven@gimp.org>

	* app/core/gimpundo.[ch]: made time a property and added utility
	functions to work the undo's age.
	
	* app/tools/gimptexttool.c: use the utility functions.


svn path=/trunk/; revision=21854
2007-02-06 09:05:04 +00:00
David Lodge 2e914e6f1a Updated en_GB, fixed bug 402715
svn path=/trunk/; revision=21853
2007-02-05 22:17:32 +00:00
Sven Neumann 9e1202f025 let the return value indicate whether the file has been saved.
2007-02-05  Sven Neumann  <sven@gimp.org>

	* app/dialogs/file-save-dialog.c (file_save_dialog_save_image):
	let the return value indicate whether the file has been saved.
	(file_save_dialog_response): only hide the dialog after the 
image
	has been saved.


svn path=/trunk/; revision=21852
2007-02-05 20:07:42 +00:00
Sven Neumann ad2ec0b52d require gimp-2.0 >= $GIMP_APP_VERSION.
2007-02-05  Sven Neumann  <sven@gimp.org>

	* gimpui.pc.in (Requires): require gimp-2.0 >= 
$GIMP_APP_VERSION.


svn path=/trunk/; revision=21850
2007-02-05 18:56:41 +00:00
Sven Neumann 143ab1cb98 gimp.pc.in (Requires) substitute minimum required versions of glib and
2007-02-05  Sven Neumann  <sven@gimp.org>

	* gimp.pc.in (Requires)
	* gimpui.pc.in (Requires): substitute minimum required versions of
	glib and gtk+ instead of hardcoding them.


svn path=/trunk/; revision=21849
2007-02-05 17:58:14 +00:00
Ole Laursen 24675953c2 Updated Danish translation.
2007-02-04  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.


svn path=/trunk/; revision=21847
2007-02-04 21:38:05 +00:00
Stéphane Raimbault 896531ea18 Updated French translation by Raymond Ostertag and Jonathan Ernst.
2007-02-02  Stéphane Raimbault  <stephane.raimbault@gmail.com>

	* fr.po: Updated French translation by Raymond Ostertag and
	Jonathan Ernst.

svn path=/trunk/; revision=21846
2007-02-04 17:47:32 +00:00
Michael Natterer bdc91d6c52 Remove support for the old undo pop and free cruft:
2007-02-03  Michael Natterer  <mitch@gimp.org>

	Remove support for the old undo pop and free cruft:

	* app/core/core-types.h: remove typedefs GimpUndoPopFunc and
	GimpUndoFreeFunc.

	* app/core/gimpundo.[ch]: remove members and properties size,
	data, pop_func and free_func.

	* app/core/gimpimage-undo.[ch] (gimp_image_undo_push): remove
	parameters size, struct_size, pop_func and free_func.

	* app/core/gimpimage-undo-push.c
	* app/tools/gimptransformtool.c
	* app/paint/gimpink.c
	* app/paint/gimppaintcore.c: change calls to above function
	accordingly.


svn path=/trunk/; revision=21845
2007-02-03 22:25:32 +00:00
Michael Natterer a95bbc5daf implement GIMP_UNDO_FS_TO_LAYER.
2007-02-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpfloatingselundo.[ch]: implement GIMP_UNDO_FS_TO_LAYER.

	* app/core/gimpimage-undo-push.c: use it. Also changed
	gimp_image_undo_push_cantundo() to not pass a pop function to
	gimp_image_undo_push().


svn path=/trunk/; revision=21844
2007-02-03 21:58:12 +00:00
Michael Natterer 426020da7b app/tools/gimpforegroundselecttool-undo.[ch] removed...
2007-02-03  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpforegroundselecttool-undo.[ch]
	* app/tools/gimptransformtool-undo.[ch]: removed...

	* app/tools/Makefile.am
	* app/tools/tools-types.h
	* app/tools/gimpforegroundselecttoolundo.[ch]
	* app/tools/gimptransformtoolundo.[ch]: ...and added a proper undo
	classes.

	* app/tools/gimptransformtool.c: push undos using the new class.


svn path=/trunk/; revision=21843
2007-02-03 21:22:37 +00:00
Michael Natterer 792ba89818 app/paint/gimppaintcore-undo.[ch] removed...
2007-02-03  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintcore-undo.[ch]
	* app/paint/gimpink-undo.[ch]: removed...

	* app/paint/Makefile.am
	* app/paint/paint-types.h
	* app/paint/gimppaintcoreundo.[ch]
	* app/paint/gimpinkundo.[ch]: ...and added as proper undo classes.

	* app/paint/gimppaintcore.[ch]
	* app/paint/gimpink.c: push undos using the new classes.


svn path=/trunk/; revision=21842
2007-02-03 18:48:00 +00:00
Ilkka Tuohela f6902727b8 Updated Finnish translation
svn path=/trunk/; revision=21841
2007-02-03 14:31:45 +00:00
Mukund Sivaraman 2ea9ad84ef plug-ins/common/psd.c Made fseek() and ftell() use glong for offsets
2007-02-03  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/psd.c
        * plug-ins/common/psd_save.c: Made fseek() and ftell() use glong    
        for offsets instead of gint32  


svn path=/trunk/; revision=21840
2007-02-03 06:57:38 +00:00
Sven Neumann 766d27da9d renamed to app/app.[ch].
2007-02-02  Sven Neumann  <sven@gimp.org>

	* app/app_procs.[ch]: renamed to app/app.[ch].

	* app/Makefile.am
	* app/main.c: changed accordingly.


svn path=/trunk/; revision=21838
2007-02-02 14:27:16 +00:00
Sven Neumann 85bf9a7b16 fixed problem pointed out in bug #403580.
2007-02-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/mosaic.c (find_gradients): fixed problem pointed
	out in bug #403580.


svn path=/trunk/; revision=21837
2007-02-02 13:59:09 +00:00
Sven Neumann 06f2e093bc changed function signature according to changes in internal undo API.
2007-02-02  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpitemtreeview.c (gimp_item_tree_view_toggle_clicked):
	changed function signature according to changes in internal undo API.


svn path=/trunk/; revision=21836
2007-02-02 10:57:16 +00:00
Michael Natterer 3c6912c52c app/core/gimpimageundo.[ch] implement image and item parasite attach and
2007-02-02  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimageundo.[ch]
	* app/core/gimpitempropundo.[ch]: implement image and item
	parasite attach and remove undos. They are image/item properties
	after all.

	* app/core/gimpimage-undo-push.[ch]: use them here and move the
	undo functions to the resp. image and item property sections.


svn path=/trunk/; revision=21835
2007-02-02 10:55:38 +00:00
Sven Neumann 71fc3e7b00 removed code that became obsolet by my last change
svn path=/trunk/; revision=21834
2007-02-02 09:03:02 +00:00
Sven Neumann d055b8f77a plug-ins/FractalExplorer/Dialogs.c plug-ins/Lighting/lighting_ui.c
2007-02-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/common/CML_explorer.c
	* plug-ins/common/channel_mixer.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/flame/flame.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gimpressionist/brush.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/imap_file.c
	* plug-ins/metadata/interface.c
	* plug-ins/script-fu/script-fu-console.c: set
	do-overwrite-confirmation on file save dialogs and removed custom
	confirmation dialogs where present.


svn path=/trunk/; revision=21833
2007-02-02 08:57:15 +00:00
Sven Neumann aae05d4eaf app/actions/error-console-commands.c app/actions/gradients-commands.c
2007-02-02  Sven Neumann  <sven@gimp.org>

	* app/actions/error-console-commands.c
	* app/actions/gradients-commands.c
	* app/actions/text-editor-commands.c
	* app/dialogs/vectors-export-dialog.c
	* app/dialogs/vectors-import-dialog.c
	* app/tools/gimpimagemaptool.c 
(gimp_image_map_tool_settings_dialog):
	set default response and do-overwrite-confirmation on the file
	chooser dialogs. Fixes bug #403449 for all core dialogs.


svn path=/trunk/; revision=21832
2007-02-02 07:50:36 +00:00
Sven Neumann 18a07d427b ellipsize progress label.
2007-02-01  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpprogressbox.c: ellipsize progress label.

	* app/widgets/gimpprogressdialog.c: set a fixed width for progress
	dialogs.

	* libgimp/gimpprogressbar.c: ellipsize progress label.


svn path=/trunk/; revision=21831
2007-02-01 12:06:21 +00:00
Sven Neumann fb6db20b65 app/config/gimpdisplayconfig.c changed the default monitor resolution to
2007-02-01  Sven Neumann  <sven@gimp.org>

	* app/config/gimpdisplayconfig.c
	* app/widgets/gimpwidgets-utils.c (gimp_get_screen_resolution):
	changed the default monitor resolution to 96 dpi and also use that
	as a fallback value.


svn path=/trunk/; revision=21830
2007-02-01 10:44:01 +00:00
Michael Natterer 6072f873b8 require "name" being non-NULL.
2007-01-31  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.c (gimp_item_parasite_detach): require "name"
	being non-NULL.

	* app/core/gimpimage-undo-push.c (undo_pop_parasite): removed dead
	code which handled parasites of the Gimp itself, don't include
	"gimp-parasites.h".

	Require "parasite" and "name" being non-NULL in all public
	parasite undo functions.


svn path=/trunk/; revision=21829
2007-01-31 22:58:06 +00:00
Michael Natterer d0df7dae38 app/core/gimpmaskundo.c implement GimpObject::get_memsize() instead of
2007-01-31  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpmaskundo.c
	* app/core/gimpitempropundo.c: implement GimpObject::get_memsize()
	instead of fiddling with undo->size.


svn path=/trunk/; revision=21828
2007-01-31 22:06:01 +00:00
Michael Natterer ff997b36c0 removed "drawable" parameter because it's always the drawable the floating
2007-01-31  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-undo-push.[ch]
	(gimp_image_undo_push_fs_to_layer): removed "drawable" parameter
	because it's always the drawable the floating selection is
	attached to.

	* app/core/gimplayer-floating-sel.c (floating_sel_to_layer):
	changed accordingly.


svn path=/trunk/; revision=21827
2007-01-31 21:54:17 +00:00
Michael Natterer 89ee6f4d1a app/core/Makefile.am app/core/core-types.h new undo class for
2007-01-31  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpfloatingselundo.[ch]: new undo class for
	GIMP_UNDO_FS_RIGOR and GIMP_UNDO_FS_RELAX.

	* app/core/gimpimage-undo-push.c: use it here.

	* app/core/gimpimageundo.c
	* app/core/gimpdrawableundo.c: implement GimpObject::get_memsize()
	instead of fiddling with undo->size.


svn path=/trunk/; revision=21826
2007-01-31 21:05:43 +00:00
Michael Natterer 6c01c0db6b app/vectors/Makefile.am app/vectors/vectors-types.h new undo class for
2007-01-31  Michael Natterer  <mitch@gimp.org>

	* app/vectors/Makefile.am
	* app/vectors/vectors-types.h
	* app/vectors/gimpvectorsmodundo.[ch]: new undo class for
	GIMP_UNDO_VECTORS_MOD.

	* app/core/gimpimage-undo-push.c: use it here.

	* app/core/gimpdrawablemodundo.h: fix typo in include guard.


svn path=/trunk/; revision=21825
2007-01-31 19:56:41 +00:00