1. 27 Nov, 2001 2 commits
    • Michael Natterer's avatar
      GType is a pointer now, not a guint. · 09a51f21
      Michael Natterer authored
      2001-11-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontainer.c: GType is a pointer now, not a guint.
      
      	* app/widgets/gimpdock.c: chain up in widget_class->style_set().
      
      	Gradient Editor chopping plus merging of bex' proofreading:
      	(fixes #62278).
      
      	* app/core/core-types.h: moved the gradient related enums here.
      
      	* app/core/gimpgradient.[ch]: removed the enums, added gradient
      	segment utility functions from the gradient_editor.
      
      	* app/gui/gui-types.h: added the GradientEditor typedef here.
      
      	* app/gui/Makefile.am
      	* app/gui/gradient-editor-commands.[ch]: new files implementing
      	callbacks and menu_update stuff for the new gradient_editor
      	item factory.
      
      	* app/gui/gradient-editor.[ch]: removed tons of code, namespace
      	cleanup, stuff...
      
      	* app/gui/menus.[ch]: added the gradient_editor menu stuff here.
      	Added menus_set_color() which creates & updates a color menu item
      	(will soon be used in other places too). Renamed menus_set_state()
      	to menus_set_active().
      
      	The editor's menu code is ugly as before, only different and evil
      	the same way as the rest of the menu stuff, so it's at least
      	consistent :)
      
      	* app/display/gimpdisplayshell.c: changed accordingly.
      
      	* app/gui/test-commands.c: don't include "gradient-editor.h".
      09a51f21
    • Sven Neumann's avatar
      configure.in app/Makefile.am app/config/gimpconfig.[ch] · 19e1acbc
      Sven Neumann authored
      2001-11-27  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* app/Makefile.am
      	* app/config/gimpconfig.[ch]
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig-deserialize.[ch]: added new base class
      	GimpConfig that knows how to serialize and deserialize it's properties
      	in sexp format. Contains two example properties that will go into
      	derived classes once this is really used.
      
      	* app/main.c: deserialize and serialize the test GimpConfig object to
      	~/.gimp-1.3/foorc (only for debugging).
      
      	* app/widgets/widgets-types.h
      	* app/core/core-types.h: moved GimpPreviewSize enum to core-types.
      
      	* app/core/core-types.h: don't include gdk-pixbuf.h.
      
      	* app/core/gimptoolinfo.h
      	* app/core/gimpimagefile.c: include gdk-pixbuf.h.
      
      	* app/core/gimpimage.[ch]: made construct_flag a gboolean.
      
      	* app/core/gimpdrawable-invert.c
      	* app/core/gimpunit.c
      
      	* tools/pdbgen/pdb/plug_in.pdb
      	* app/pdb/plug_in_cmds.c: removed unused variables.
      
      	* app/display/Makefile.am: removed .PHONY and files cruft
      
      	* app/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpwidgets/Makefile.am
      	* plug-ins/Makefile.am: removed commented out makefile.mingw rules.
      	If we ever need them again, they can easily be resurrected from CVS.
      19e1acbc
  2. 26 Nov, 2001 4 commits
    • Kelly Martin's avatar
      app/Makefile.am libgimp/Makefile.am libgimpbase/Makefile.am · 0cc4c54c
      Kelly Martin authored
      2001-11-26  Kelly Martin  <kmartin@pyrzqxgl.org>
      
      	* app/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpwidgets/Makefile.am
      	* plug-ins/Makefile.am:
      	Commented out makefile.mingw rules in Makefile.am.  These conflict
      	with the default rules generated by automake and generate annoying
      	warnings.  tml doesn't think they're needed anymore.  If it turns
      	out they are, they can be added back.
      0cc4c54c
    • Rebecca Walter's avatar
      app/gui/convert-dialog.c app/gui/dialogs-constructors.c · 5fcd04f0
      Rebecca Walter authored
      2001-11-26  Rebecca Walter  <rjp@mail.tele.dk>
      
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/error-console-dialog.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c: More of my extensive proofing.
      	Someone needs to check bex comments and do some hacking.
      5fcd04f0
    • Michael Natterer's avatar
      gimp_image_construct_layers/channels(): actually free the reverse_list · a2759810
      Michael Natterer authored
      2001-11-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.c: gimp_image_construct_layers/channels():
      	actually free the reverse_list after projecting the drawables.
      	(Spotted by Kelly Martin).
      a2759810
    • Michael Natterer's avatar
      added Rebecca Walter (bex). · 54c1b2d1
      Michael Natterer authored
      2001-11-26  Michael Natterer  <mitch@gimp.org>
      
      	* tools/authorsgen/contributors: added Rebecca Walter (bex).
      
      	* AUTHORS
      	* app/gui/authors.h: regenerated.
      
      	* app/widgets/widgets-types.h: added GimpPreviewSize enum.
      
      	* app/gimprc.c
      	* app/gui/menus.c
      	* app/gui/preferences-dialog.c
      	* app/widgets/gimpdockbook.c: use the new enum.
      
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpmagnifytool.c: added "(<Ctrl>)" and "(<Alt>)" to
      	some tool options strings.
      
      	* app/tools/gimpmovetool.c: some more widgets for hidden tool
      	options (#51108).
      
      	* app/tools/transform_options.c: renamed to "Tool Paradigm" stuff
      	to something more understandable.
      
      	* app/widgets/gimpdock.c: added a style property for the height
      	of the separator.
      
      	* themes/Default/gtkrc: show how to use the new property.
      
      	* app/widgets/gimpcontainerview.c
      	* app/widgets/gimpdockable.c
      	* app/widgets/gimplayerlistview.c: waste less lines when calling
      	gtk_widget_style_get().
      54c1b2d1
  3. 25 Nov, 2001 6 commits
  4. 24 Nov, 2001 7 commits
  5. 23 Nov, 2001 4 commits
    • Sven Neumann's avatar
      don't draw resize_grip in status bar (patch from Guillermo S. Romero). · d3047f57
      Sven Neumann authored
      2001-11-23  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell.c: don't draw resize_grip in status bar
      	(patch from Guillermo S. Romero).
      
      	* app/devices.c
      	* app/display/gimpdisplayshell-filter-dialog.c
      	* app/display/gimpdisplayshell-qmask.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/channels-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/convert-dialog.c
      	* app/gui/error-console-dialog.c
      	* app/gui/file-new-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/layers-commands.c
      	* app/gui/module-browser.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-import-dialog.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.c
      	* app/gui/resolution-calibrate-dialog.c
      	* app/gui/user-install-dialog.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimpthresholdtool.c
      	* app/widgets/gimpfontselection-dialog.c
      	* libgimpwidgets/gimpquerybox.c
      	* libgimpwidgets/gimpunitmenu.c
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c: changed button order to follow the
      	new GTK+ style: confirmative is right-most (for LTR rendering).
      d3047f57
    • Michael Natterer's avatar
      removed a useless g_return_if_fail(). · d463a5ef
      Michael Natterer authored
      2001-11-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpcontainer.c: removed a useless g_return_if_fail().
      
      	* app/widgets/gimpcontainereditor.h: removed GimpViewType enum.
      
      	* app/widgets/widgets-types.h: added it here.
      
      	* app/widgets/gimpcontainerview-utils.[ch]: added a utility function
      	which gets the GimpContainerView out of a GimpDockable.
      
      	* app/widgets/gimpdialogfactory.[ch]: added support for saving and
      	loading of each GimpDockable's preview size. Store the dialog's
      	default preview size in the GimpDialogFactoryEntry.  Pass the
      	preview_size to each created dialog.
      
      	* app/gui/menus.c: added menu items for setting the preview_size
      	and switching between list and grid view. Removed the item
      	overkill in the "Add Tab" submenu.
      
      	* app/gui/dialogs-commands.[ch]: added callbacks for the new items.
      
      	* app/widgets/gimpdockbook.c: set the item's state before showing
      	the menu.
      
      	* app/errors.c
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c
      	* app/gui/edit-commands.c
      	* app/gui/gui.c
      	* app/gui/indicator-area.c
      	* app/gui/toolbox.c: changed accordingly.
      
      	* app/tools/selection_options.[ch]: cleaned up the selection
      	options and added some tooltips. Much more to do...
      d463a5ef
    • Rebecca Walter's avatar
      Proofing. only minor changes. · 5edb473a
      Rebecca Walter authored
      2001-11-23  Rebecca Walter  <rjp@mail.tele.dk>
      
      	* app/file/*.c: Proofing. only minor changes.
      5edb473a
    • Sven Neumann's avatar
      don't include gimputils.h, it's gone. · d07558e6
      Sven Neumann authored
      2001-11-23  Sven Neumann  <sven@gimp.org>
      
      	* app/gimprc.c: don't include gimputils.h, it's gone.
      
      	* libgimpbase/Makefile.am: removed stale reference to gimputils.h.
      
      	* libgimpwidgets/gimpcolorbutton.h: wanted to type G_END_DECLS here.
      d07558e6
  6. 22 Nov, 2001 8 commits
    • Sven Neumann's avatar
      bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. · 757017a8
      Sven Neumann authored
      2001-11-23  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped version number to 1.3.1.
      	Require Glib/GTK+-1.3.11 and Pango-0.22. Removed GDK_DISABLE_COMPAT_H
      	and GTK_DISABLE_COMPAT_H from our default CFLAGS since they don't
      	exist any longer.
      
      	* RELEASE-TO-CVS.patch: removed since the glib/gtk+ API is supposed to
      	be frozen now.
      
      	* HACKING: removed reference to RELEASE-TO-CVS.patch
      
      	* app/gui/menus.c
      	* app/tools/gimptexttool.c: applied RELEASE-TO-CVS.patch to conform
      	to the new GTK+/Pango API.
      
      	* app/core/Makefile.am: generate marshallers with gimp_marshal prefix.
      
      	* app/core/gimpmarshal.list: added all marshallers we use.
      
      	* app/core/gimpmarshal.[ch]: regenerated.
      
      	* app/[lots of .c files]: use gimp_marshal_* for all marshallers.
      
      	* data/images/
      	* app/app_procs.c
      	* app/gui/splash.c:
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimputils.[ch]: removed since they are no longer needed.
      
      	* app/gimprc.c
      	* plug-ins/common/ps.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/gdyntext/gdyntextcompat.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/script-fu/script-fu-scripts.c: use glib functions instead
      	of gimp_strescape() and gimpstrcompress().
      
      	* cleaned up all header files: use G_BEGIN_DECLS/G_END_DECLS, declared
      	all _get_type function as G_GNUC_CONST.
      
      	* tools/pdbgen/enumcode.pl
      	* tools/pdbgen/lib.pl: make them generate header files using
      	G_BEGIN_DECLS/G_END_DECLS.
      
      	* pixmaps/Makefile.am
      	* pixmaps/wilber3.xpm: removed ...
      	* data/images/tips_wilber.png: ... and added here as PNG
      
      	* app/gui/tips-dialog.c: load the Wilber on demand using GdkPixbuf.
      
      	* data/images/gimp_splash.ppm: removed ...
      	* data/images/gimp_splash.png: ... and added as PNG
      
      	* app/app_procs.c
      	* app/gui/splash.[ch]: load the splash image using GdkPixbuf.
      
      	* app/gui/about-dialog.c: sink the GtkPreview.
      757017a8
    • Michael Natterer's avatar
      made device_status_update() static as declared. · c3c42962
      Michael Natterer authored
      2001-11-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/devices.c: made device_status_update() static as declared.
      
      	* app/core/gimpobject.h: don't include <gobject/gobject.h> as this
      	is forbidden now (doesn't hurt as we need to include glib or gtk+
      	before gimp headers in .c files anyway).
      
      	* app/widgets/gimpcontainerlistview.c: better handling of
      	"button_press" of list items: don't let a selected item being
      	deselected, fixed context menu popup.
      c3c42962
    • Tor Lillqvist's avatar
      ab438bf6
    • Michael Natterer's avatar
      app/tools/gimpclonetool.c app/tools/gimpconvolvetool.c · 19af93ac
      Michael Natterer authored
      2001-11-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/paint_options.c
      	* app/tools/transform_options.c: removed the remaining cases of
      	we-rely-on-the-radio-buttons-being-in-the-same-order-as-the-enum
      	and use gimp_radio_group_set_active() instead.
      	Use GINT_TO_POINTER(gint) instead of (gpointer)gint all over
      	the place.
      19af93ac
    • Simon Budig's avatar
      reverted one message. · 535f35d4
      Simon Budig authored
      2001-11-23  Simon Budig  <simon@gimp.org>
      
              * de.po: reverted one message.
      535f35d4
    • Michael Natterer's avatar
      added stock *items* (not only icons) for all tools so they can be used as · 80492e66
      Michael Natterer authored
      2001-11-22  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpstock.c: added stock *items* (not only icons)
      	for all tools so they can be used as action buttons.
      
      	* app/tools/gimptransformtool.[ch]: added
      	transform_tool->use_center so subclasses can switch on/off center
      	detection/cursor_update . Added an oper_update() implementation
      	and figure the current handle out there. Reordered button_press()
      	so we don't need to call it recursively.
      
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c: use the new stock items instead of
      	_("Rotate") etc.
      
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpscaletool.c: allow the whole thing being dragged
      	around by handling the center separately.
      
      	* app/tools/gimpdrawtool.c: gimp_draw_tool_on_handle(): need to
      	use the radius, not the diameter to check if being over a
      	GIMP_HANDLE_CIRCLE handle.
      80492e66
    • Michael Natterer's avatar
      use "gimp-item-data" instead of "user_data" as data key when attaching · a08f3ac0
      Michael Natterer authored
      2001-11-22  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpwidgets.[ch]: use "gimp-item-data" instead of
      	"user_data" as data key when attaching values to radio buttons or
      	menu items. (For backward compat, attach "user_data" additionally,
      	but don't use it to _get_data()).
      	Added gimp_radio_group_set_active() which works like
      	gimp_options_menu_set_history() and sets the active item by
      	attached "gimp-item-data" value.
      
      	* app/gui/brush-select.c
      	* app/gui/file-new-dialog.c
      	* app/gui/info-window.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resolution-calibrate-dialog.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/paint_options.c
      	* app/tools/selection_options.c
      	* app/widgets/gimplayerlistview.c: removed all kinds of
      	"user_data" stuff and evil hacks to find a radio button by the
      	value it represents (simply call gimp_radio_group_set_active()).
      
      	* app/tools/gimpdrawtool.c: added a g_return_if_fail().
      
      	* app/tools/gimpfliptool.c: don't set draw_tool_class->draw to NULL,
      
      	* app/tools/gimptransformtool.[ch]: fixed some stuff i broke when
      	removing the old "interactive" boolean (there is no
      	non-interactive transform tool any more).  Put the info_dialog
      	pointer and the old_trans_info array into the GimpTransformTool
      	instance. Added gimp_transform_tool_info_dialog_connect(). Don't
      	include any subclasses any more.
      
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c: use
      	gimp_transform_tool_info_dialog_connect() to create and connect
      	the info dialogs' action_area.
      a08f3ac0
    • Simon Budig's avatar
      updated german translation. · 2a33106b
      Simon Budig authored
      2001-11-22  Simon Budig  <simon@gimp.org>
      
              * de.po: updated german translation.
      2a33106b
  7. 21 Nov, 2001 8 commits
    • Marc Lehmann's avatar
      *** empty log message *** · 1432d7b0
      Marc Lehmann authored
      1432d7b0
    • Sven Neumann's avatar
      sink the GtkPreview created for the splash. · aa1d3355
      Sven Neumann authored
      2001-11-21  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/splash.c: sink the GtkPreview created for the splash.
      
      	* libgimpwidgets/gimphelpui.c: ref and sink the tooltips on creation.
      aa1d3355
    • Sven Neumann's avatar
      set the window title for file selection dialogs as we do for directory · d2f566a9
      Sven Neumann authored
      2001-11-21  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpfileselection.c: set the window title for file
      	selection dialogs as we do for directory selection dialogs. Provide
      	fallbacks if gimp_file_selection_new() is called with a NULL title.
      
      	* plug-ins/script-fu/script-fu-enums.h
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/siod-wrapper.c: applied a modified version of a
      	patch from Matteo Nastasi <nastasi@tiscalinet.it> that adds the new
      	Script-Fu parameter type SF-DIRNAME.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: use SF-DIRNAME.
      d2f566a9
    • Michael Natterer's avatar
      regenerated with the stuff below included. · c8a68096
      Michael Natterer authored
      2001-11-21  Michael Natterer  <mitch@gimp.org>
      
      	* RELEASE-TO-CVS.patch: regenerated with the stuff below included.
      c8a68096
    • Michael Natterer's avatar
      seems I've comitted something which should only be in · d9d34b10
      Michael Natterer authored
      2001-11-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptexttool.c: seems I've comitted something which
      	should only be in RELEASE-TO-CVS.patch. Sorry...
      d9d34b10
    • Michael Natterer's avatar
      key press and release events were sent swapped to tools. · 958071b0
      Michael Natterer authored
      2001-11-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c: key press and release
      	events were sent swapped to tools.
      
      	* app/tools/selection_options.[ch]: added radio buttons for the
      	selection operation (REPLACE, ADD, ...). Partly fixes #51108.
      
      	* app/tools/gimpselectiontool.[ch]: honor the new tool options
      	stuff. Do evil things in gimp_selection_tool_modifier_key().
      
      	* app/tools/gimpbycolorselecttool.[ch]: removed most of the
      	widgets from the by_color_select window because they are all in
      	the selection_options now.
      
      	* libgimpwidgets/gimpstock.[ch]: added new stock items for the
      	buttons.
      
      	* themes/Default/Makefile.am
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-button-selection-add.png
      	* themes/Default/images/stock-button-selection-intersect.png
      	* themes/Default/images/stock-button-selection-replace.png
      	* themes/Default/images/stock-button-selection-subtract.png: new
      	stock images.
      958071b0
    • Michael Natterer's avatar
      added "reset" code for the new auto_shrink tool options. · b3e5046e
      Michael Natterer authored
      2001-11-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/selection_options.c: added "reset" code for the new
      	auto_shrink tool options.
      b3e5046e
    • Marc Lehmann's avatar
      *** empty log message *** · 7662431c
      Marc Lehmann authored
      7662431c
  8. 20 Nov, 2001 1 commit
    • Michael Natterer's avatar
      pixmaps/Makefile.am pixmaps/anchor.xpm pixmaps/edit.xpm pixmaps/eye.xpm · d204064f
      Michael Natterer authored
      2001-11-21  Michael Natterer  <mitch@gimp.org>
      
      	* pixmaps/Makefile.am
      	* pixmaps/anchor.xpm
      	* pixmaps/edit.xpm
      	* pixmaps/eye.xpm
      	* pixmaps/linked.xpm
      	* pixmaps/paste-as-new.xpm
      	* pixmaps/paste-into.xpm
      	* pixmaps/refresh.xpm: felt like i had to remove some cruft, so
      	these unused pixmaps had to go to the Attic.
      d204064f