1. 23 Nov, 2001 3 commits
    • 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
  2. 22 Nov, 2001 5 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
    • 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
    • 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
  3. 21 Nov, 2001 4 commits
    • 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
    • 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
  4. 20 Nov, 2001 6 commits
    • Michael Natterer's avatar
      added GimpToolRegisterFunc, GimpToolRegisterCallback and · a75c675d
      Michael Natterer authored
      2001-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tools-types.h: added GimpToolRegisterFunc,
      	GimpToolRegisterCallback and GimpToolOptionsNewFunc typedefs
      	which are used to register tools.
      
      	* app/tools/tools.c: put the register funcs in an array of
      	GimpToolRegisterFuncs. Pass a Gimp pointer *plus* a
      	GimpToolRegisterCallback (which is tool_manager_register_tool())
      	to the tools' register functions.
      
      	* app/tools/tool_manager.[ch]: added a GimpToolOptionsNewFunc to
      	the parameters of tool_manager_register_tool(). Create the tool
      	options here, not in each tool.
      
      	* app/tools/paint_options.[ch]
      	* app/tools/selection_options.[ch]
      	* app/tools/tool_options.[ch]
      	* app/tools/transform_options.[ch]: all _init() and _new()
      	functions take a GimpToolInfo pointer now. The _reset() func needs
      	to be set manually now.
      
      	* app/tools/[all_tools].[ch]: changed accordingly:
      
      	- pass GimpToolOptionsNewFuncs to the register callback.
      	- don't create the tool options in the tools' _init() function.
      	- removed all static tool options variables.
      	- get the options from the tool system in the cases i missed
      	  in my last commit.
      	- added minor hacks to get rid of the static options pointer
      	  in some pathological cases :) (i.e. the ink tool).
      a75c675d
    • David Neary's avatar
      Included errno,h · 82f6bb6b
      David Neary authored
      
      2001-11-20  David Neary <dneary@eircom.net>
      
              * app/core/gimppalette.c: Included errno,h
      82f6bb6b
    • Rebecca Walter's avatar
      app/core/gimpedit.c app/core/gimpimagefile.c app/core/gimpmoduleinfo.c · 57c23b69
      Rebecca Walter authored
      2001-11-20  Rebecca Walter <rjp@mail.tele.dk>
      
      	* app/core/gimpedit.c
      	* app/core/gimpimagefile.c
      	* app/core/gimpmoduleinfo.c
      	* app/core/gimpmodules.c
      	* app/core/gimppalette.c
      	* app/core/gimppattern.c: More of the extensive proofing. Fun fun fun!
      57c23b69
    • Sven Neumann's avatar
      app/gui/preferences-dialog.c plug-ins/common/gif.c plug-ins/common/jpeg.c · a2627ec9
      Sven Neumann authored
      2001-11-20  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/preferences-dialog.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/jpeg.c
      	* plug-ins/common/mail.c: don't strip last character off when
      	retrieving text from a GtkTextBuffer. There used to be a bug in GTK+
      	that made this necessary. It has been fixed in the meantime.
      
      	* plug-ins/gimpressionist/size.c: merged string fix from stable branch.
      a2627ec9
    • Michael Natterer's avatar
      app/tools/gimpdrawtool.[ch] app/tools/gimppainttool.[ch] · 9ceb205c
      Michael Natterer authored
      2001-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpdrawtool.[ch]
      	* app/tools/gimppainttool.[ch]
      	* app/tools/gimprectselecttool.[ch]
      	* app/tools/gimptool.[ch]
      	* app/tools/gimptransformtool.[ch]: use simple virtual functions
      	instead of signals for all tools because they are much faster and
      	don't need to be signals at all.
      9ceb205c
    • Michael Natterer's avatar
      put a g_object_ref() on a different line. · 625b5c71
      Michael Natterer authored
      2001-11-20  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp.c: put a g_object_ref() on a different line.
      
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpmodules.c: ne need to #include "core/..." here.
      
      	* app/display/gimpdisplay-handlers.c: added debugging output
      	because we have an image refcounting problem :(
      
      	* app/display/gimpdisplayshell-handlers.c: fixed a signal
      	disconnection.
      
      	* app/tools/gimpbezierselecttool.[ch]
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimpsmudgetool.c: get the tool's options via
      	tool->tool_info->tool_options, not from the local statis pointer.
      	Some minor cleanups & function reordering.
      
      	* app/widgets/gimpdockbook.c: return TRUE from the notebook tabs'
      	"button_press" handler, connect DND before cnnecting to
      	"button_press" because we now stop it's emission.
      625b5c71
  5. 19 Nov, 2001 8 commits
    • Daniel Egger's avatar
      Added magic comment to prevent enums from being exported. · 145494c7
      Daniel Egger authored
      2001-11-19  Daniel Egger  <degger@fhm.edu>
      
      	* app/paint-funcs/paint-funcs.h: Added magic comment to prevent
      	enums from being exported.
      145494c7
    • Daniel Egger's avatar
      app/paint-funcs/paint-funcs-mmx.h Fixed typoes and brought the code back · 08053a30
      Daniel Egger authored
      2001-11-19  Daniel Egger  <degger@fhm.edu>
      
      	* app/paint-funcs/paint-funcs-mmx.h
      	* app/paint-funcs/paint-funcs.c: Fixed typoes and brought the
      	code back to compileland.
      
      	Now the code IS tested. :)
      08053a30
    • Michael Natterer's avatar
      Some moving of unused files so they don't clutter app/... · 6f2533b1
      Michael Natterer authored
      2001-11-19  Michael Natterer  <mitch@gimp.org>
      
      	Some moving of unused files so they don't clutter app/...
      
      	* app/gdisplay_color.[ch]
      	* app/gdisplay_color_ui.[ch]: removed...
      
      	* app/display/gimpdisplayshell-filter.[ch]
      	* app/display/gimpdisplayshell-filter-dialog.[ch]: ...added here.
      6f2533b1
    • Michael Natterer's avatar
      oops, forgot this dorectory... · 2e21005a
      Michael Natterer authored
      2e21005a
    • Michael Natterer's avatar
      forgot to commit last time. · 57044c2f
      Michael Natterer authored
      2001-11-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplay-foreach.c: forgot to commit last time.
      
      	Transform stuff cleanup:
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpdrawable-transform.[ch]: new files implementing
      	the actual transform functions cut from tools/gimptransformtool.*.
      
      	* app/core/gimpdrawable-transform-utils.[ch]: new files implementing
      	transform matrix assembly utility functions.
      
      	* app/tools/gimptransformtool.[ch]: removed the stuff here. cleanup.
      
      	* app/tools/transform_options.[ch]: removed all stuff which does
      	not belong here, e.g. the transform_tool_* functions and the
      	global "transform_options" variable. Works like all other tool
      	options now.
      
      	* app/tools/gimpfliptool.[ch]
      	* app/tools/gimpperspectivetool.[ch]
      	* app/tools/gimprotatetool.[ch]
      	* app/tools/gimpscaletool.[ch]
      	* app/tools/gimpsheartool.[ch]: massive code removal because
      	we can use core/gimpdrawable-fransform* functions now. cleanup.
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/groups.pl: added new PDB group "transform_tools".
      
      	* tools/pdbgen/pdb/tools.pdb: removed the transform stuff here...
      
      	* tools/pdbgen/pdb/transform_tools.pdb: and added *much*
      	simplified versions which use the new core/gimpdrawable-transform*
      	utilities.
      
      	* app/pdb/Makefile.am
      	* app/pdb/transform_tools_cmds.c: new file.
      
      	* app/pdb/internal_procs.c
      	* app/pdb/tools_cmds.c: regenerated.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp_pdb.h
      	* libgimp/gimptransformtools_pdb.[ch]: new files.
      
      	* libgimp/gimptools_pdb.[ch]: regenerated.
      57044c2f
    • Daniel Egger's avatar
      app/paint-funcs/paint-funcs.c app/paint-funcs/paint-funcs-generic.h · 70cec445
      Daniel Egger authored
      2001-11-19  Daniel Egger  <degger@fhm.edu>
      
      	* app/paint-funcs/paint-funcs.c
      	* app/paint-funcs/paint-funcs-generic.h
      	* app/paint-funcs/paint-funcs.h:
      	- Statified a few functions so they can be inlined.
      	- Simplified function calls.
      	- Unsignified variables and parameters where possible.
      	- Reduced lookuptable size for add_pixels from 256*256*4 bytes
      	  to 2*256-1 bytes and O(n*n) function in paint_funcs_setup
      	  to O(n). Should reduce memory consumption by almost 1/4 Mb.
      
      	This needs much more cleanup....
      70cec445
    • Daniel Egger's avatar
      New file. Added glue code for the assembly MMX functions. · 0a28fa8c
      Daniel Egger authored
      
      2001-11-19  Daniel Egger  <degger@fhm.edu>
      
      	* app/paint-funcs/paint-funcs-mmx.h: New file. Added glue code
      	for the assembly MMX functions.
      
      	* app/paint-funcs/paint-funcs-generic.h: Moved MMX code from here ...
      	* app/paint-funcs/paint-funcs-mmx.h: ... to here. Cleaned up a bit
      	and don't check for use_mmx on every single call but ...
      	* app/paint-funcs/paint-funcs.c: (paint_funcs_setup): ... here and
      	register MMX functions if CPU has those capabilities.
      
      	Code is untested for the MMX case due no available Intel-Machine
      	right now but should't be to far away from a working state.
      0a28fa8c
    • Daniel Egger's avatar
      app/paint-funcs/paint-funcs.c Split generic (read: C) code for · 16bbbaec
      Daniel Egger authored
      2001-11-19  Daniel Egger  <degger@fhm.edu>
      
      	* app/paint-funcs/paint-funcs.c
      	* app/paint-funcs/paint-funcs-generic.h: Split generic (read: C)
      	code for pixelmanipulation and most of the code that belongs to it
      	into new file.
      	(apply_layer_funcs): Gone. The correct layer function is now
      	dispatched from the layer_mode_funcs table and the table is
      	per default initialised with the generic functions. Arguments
      	will be passed by a struct apply_layer_mode_struct instead
      	of directly per stack to avoid parameter typying madness.
      
      	It's now cleanly possible to check for availabilty of
      	MMX/AltiVec/(insert your favourite brew here) in
      	paint_funcs_setup () and change the table to use faster routines.
      	The old MMX cruft which is temporaribly in paint-funcs-generic.h
      	will soon be gone but I'm to tired now.
      
      	* app/paint-funcs/paint-funcs.c: Braind dead code for temporary
      	buffer (which never shrunk only grew) gone and replaced by
      	straightforward code.
      
      	* app/paint-funcs/paint-funcs-generic.h: Applied a bunch of obvious
      	optimisations to reduce code size and avoid parameter madness.
      
      	* paint-funcs-[gray|graya|indexed|rga|rgba].[c|h]: Gone. I lost
      	several days of work on these files and came to the conclusion
      	that there has to be an easier way anyway. :)
      
      	Everything well tested on PPC and producing exactly the same results
      	as the code before so this has good odds to be the first major
      	change that won't break GIMP. :)
      16bbbaec
  6. 18 Nov, 2001 1 commit
    • Michael Natterer's avatar
      fixed a comment. · b2409679
      Michael Natterer authored
      2001-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplay-foreach.c: fixed a comment.
      
      	* app/gui/file-open-dialog.c: no need to declare
      	"extern GSList *display_list;".
      
      	* app/gui/brush-select.c
      	* tools/pdbgen/pdb/brush_select.pdb: pass opacity as [0.0..100.0]
      	through the PDB and as [0.0..1.0] to the app.
      
      	* app/pdb/brush_select_cmds.c: regenerated.
      
      	* plug-ins/gfig/gfig.c: full opacity is 100.0, not 1.0.
      
      	(GFig and script-fu may still be broken after this change).
      b2409679
  7. 17 Nov, 2001 1 commit
    • Michael Natterer's avatar
      Made --no-interface not calling gtk_init() (and thus not contacting the X · 14098dc0
      Michael Natterer authored
      2001-11-17  Michael Natterer  <mitch@gimp.org>
      
      	Made --no-interface not calling gtk_init() (and thus not
      	contacting the X server) any more. (Fixes #58961).
      
      	* app/core/gimp.[ch]: added two new function pointers
      	"gui_main_loop_func" and "gui_main_loop_quit_func" and an own
      	stack of GMainLoops which is used if they are not set.
      
      	* app/gui/gui.[ch]: added main loop functions here and set them as
      	pointers in the Gimp instance. Separated gui_libs_init() from
      	gui_themes_init() so it can be used as replacement for gtk_init()
      	and be called before command line parsing.
      
      	* app/main.c: check for "--no-interface" before initializing
      	anything. Added a "--g-fatal-warnings" option (cut'n'paste from
      	gtkmain.c). Added a check for "--" (end of options).
      
      	* app/app_procs.c: call the new gimp_main_loop() functions,
      	call gui_themes_init().
      
      	* app/devices.[ch]: reduce usage of "the_gimp" by passing "Gimp"
      	pointers to some functions.
      
      	* app/plug_in.c: some ugly checks for the_gimp->no_interface which
      	will go away once this file is core/ui chopped. Call
      	gimp_main_loop() stuff instead of gtk_main().
      
      	* app/core/gimptoolinfo.c: allow passing a NUL GdkPixbuf pointer.
      14098dc0
  8. 16 Nov, 2001 5 commits
    • Daniel Egger's avatar
      Prevent from crash if swap_path == NULL. · 7d1a55eb
      Daniel Egger authored
      2001-11-17  Daniel Egger  <egger@fhm.edu>
      
      	* app/base/base.c: Prevent from crash if swap_path == NULL.
      7d1a55eb
    • Michael Natterer's avatar
      Wishlist item #57812: · 51687bba
      Michael Natterer authored
      2001-11-16  Michael Natterer  <mitch@gimp.org>
      
      	Wishlist item #57812:
      
      	* app/core/gimpimage.[ch]: added a progress_callback to
      	gimp_image_scale().
      
      	* app/gui/gui.c
      	* app/gui/image-commands.c
      	* app/gui/resize-dialog.h
      	* tools/pdbgen/pdb/image.pdb: changed accordingly.
      
      	* app/core/gimp.[ch]: found that gimp->busy needs to be a counter,
      	not a boolean, so nested calls work.
      
      	* app/pdb/image_cmds.c: regenerated.
      51687bba
    • Michael Natterer's avatar
      Wishlist item #57669: · 4403d58a
      Michael Natterer authored
      2001-11-16  Michael Natterer  <mitch@gimp.org>
      
      	Wishlist item #57669:
      
      	* app/gimprc.[ch]: replaced gimprc option "allow-resize-windows"
      	by "resize-windows-on-zoom" and "resize-windows-on-resize".
      
      	* app/gui/preferences-dialog.c: added a toggle for
      	"resize-windows-on-resize".
      
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/tools/gimpmagnifytool.c
      	* docs/gimprc.5.in
      	* etc/gimprc.in
      	* etc/gimprc.win32: changed accordingly.
      
      	* app/display/gimpdisplay-area.[ch]: added gimp_area_new().
      
      	* app/display/gimpdisplay.c: cleanup usage of GimpArea.
      
      	* app/display/gimpdisplayshell.[ch]: added configurable canvas
      	padding color and a small color_panel to change it in the upper
      	right corner of the window.
      
      	* app/display/gimpdisplayshell-callbacks.[ch]: added a callback
      	for the color_panel, initialize the color in the "realize"
      	callback.
      
      	Wishlist item #51548.
      
      	* app/display/gimpdisplayshell-selection.[ch]
      	* app/gui/menus.c
      	* app/gui/view-commands.[ch]: made the layer boundary toggleable
      	separately from the selection.
      
      	* app/gui/color-notebook.c: #if 0'ed a debugging g_print().
      4403d58a
    • Sven Neumann's avatar
      s/G_GNUC_PRETTY_FUNC/G_GNUC_PRETTY_FUNCTION/ · edcccae5
      Sven Neumann authored
      2001-11-16  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage.c: s/G_GNUC_PRETTY_FUNC/G_GNUC_PRETTY_FUNCTION/
      edcccae5
    • Rebecca Walter's avatar
      app/core/gimpcontext.c app/core/gimpdatafactory.c · 46b7fdb8
      Rebecca Walter authored
      2001-11-16  Rebecca Walter  <rjp@mail.tele.dk>
      
              * app/core/gimpcontext.c
              * app/core/gimpdatafactory.c
              * app/core/gimpdrawable-bucket-fill.c
              * app/core/gimpdrawable.c
              * app/core/gimpgradient.c
              * app/core/gimpimage-convert.c
              * app/core/gimpimage-mask.c
              * app/core/gimpimage.c: Extensive proofreading of messages and
              warnings.  Improved standardization of string format and content.
      46b7fdb8
  9. 15 Nov, 2001 6 commits
    • Michael Natterer's avatar
      Gimp's opacity values are a pain... the core actually *should* only accept · d7b3fbe5
      Michael Natterer authored
      2001-11-15  Michael Natterer  <mitch@gimp.org>
      
      	Gimp's opacity values are a pain... the core actually *should*
      	only accept and expose values in a [0.0..1.0] range.
      
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c: take 0.0 <= opacity <= 1.0,
      	*not* 0.0 < opacity <= 100.0.
      
      	* app/tools/gimpblendtool.c: don't (opacity * 100.0) before passing.
      
      	* tools/pdbgen/pdb/tools.pdb: (opacity / 100.0) before passing.
      
      	* app/display/gimpdisplayshell-dnd.c: paint_mode and opacity were
      	swapped in the call to gimp_drawable_bucket_fill_full().
      
      	* app/pdb/tools_cmds.c: regenerated.
      d7b3fbe5
    • Michael Natterer's avatar
      fixed the layers dialog's "New Layer" button by checking for a floating · a39ba058
      Michael Natterer authored
      2001-11-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/layers-commands.c: fixed the layers dialog's "New Layer"
      	button by checking for a floating selection in
      	layers_new_layer_query() instead of
      	layers_new_layer_cmd_callback().
      a39ba058
    • Michael Natterer's avatar
      restructured the new draw utility functions and added · f901b46d
      Michael Natterer authored
      2001-11-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimpdrawtool.[ch]: restructured the new draw utility
      	functions and added gimp_draw_tool_draw_handle() and
      	gimp_draw_tool_on_handle().
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpcroptool.[ch]
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimptransformtool.c: use the new functions all over
      	the place so handle drawing and mouse_over detection work the same
      	for all tools.
      f901b46d
    • Michael Natterer's avatar
      removed antique Makefile targets, including the "files" hack (which was · 2377f709
      Michael Natterer authored
      2001-11-15  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am: removed antique Makefile targets, including the
      	"files" hack (which was some automatic EXTRA_DIST voodoo), added
      	missing stuff to EXTRA_DIST.
      
      	* app/plug-in/Makefile.am
      	* devel-docs/Makefile.am
      	* docs/Makefile.am
      	* plug-ins/Makefile.am
      	* plug-ins/FractalExplorer/Makefile.am
      	* plug-ins/FractalExplorer/fractalexplorer-examples/Makefile.am
      	* plug-ins/Lighting/Makefile.am
      	* plug-ins/MapObject/Makefile.am
      	* plug-ins/bmp/Makefile.am
      	* plug-ins/dbbrowser/Makefile.am
      	* plug-ins/faxg3/Makefile.am
      	* plug-ins/fits/Makefile.am
      	* plug-ins/flame/Makefile.am
      	* plug-ins/gap/Makefile.am
      	* plug-ins/gdyntext/Makefile.am
      	* plug-ins/gflare/Makefile.am
      	* plug-ins/gflare/gflares/Makefile.am
      	* plug-ins/gfli/Makefile.am
      	* plug-ins/gimpressionist/Makefile.am
      	* plug-ins/gimpressionist/Brushes/Makefile.am
      	* plug-ins/gimpressionist/Paper/Makefile.am
      	* plug-ins/gimpressionist/Presets/Makefile.am
      	* plug-ins/ifscompose/Makefile.am
      	* plug-ins/imagemap/Makefile.am
      	* plug-ins/libgck/Makefile.am
      	* plug-ins/libgck/gck/Makefile.am
      	* plug-ins/maze/Makefile.am
      	* plug-ins/mosaic/Makefile.am
      	* plug-ins/pagecurl/Makefile.am
      	* plug-ins/plugin-helper/Makefile.am
      	* plug-ins/print/Makefile.am
      	* plug-ins/rcm/Makefile.am
      	* plug-ins/script-fu/Makefile.am
      	* plug-ins/script-fu/scripts/Makefile.am
      	* plug-ins/sel2path/Makefile.am
      	* plug-ins/sgi/Makefile.am
      	* plug-ins/webbrowser/Makefile.am
      	* plug-ins/xjt/Makefile.am
      	* tips/Makefile.am: removed "files" too, some minor cleanups.
      2377f709
    • Rebecca Walter's avatar
      app/core/gimpbrush.c app/core/gimpbrushpipe.c Proofreading to strings, · c6bc58fb
      Rebecca Walter authored
      2001-11-15  Rebecca Walter <rjp@mail.tele.dk>
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpchannel.c:  Proofreading to strings, approved by Sven
      c6bc58fb
    • Manish Singh's avatar
      gtk_item_factory_parse_rc->gtk_accel_map_load, · 1c27bdcc
      Manish Singh authored
      2001-11-14  Manish Singh  <yosh@gimp.org>
      
              * RELEASE-TO-CVS.patch: gtk_item_factory_parse_rc->gtk_accel_map_load,
              gtk_item_factory_dump_rc->gtk_accel_map_save
      
              * configure.in: fixes for newer autoconf, AC_INIT with etc/gimprc.in
              now
      
              * app/core/gimpcontainer.c: g_type_instance_is_a is private (and
              got renamed recently), use G_TYPE_CHECK_INSTANCE_TYPE instead
      
              * app/gui/gradient-editor.c: use gtk_accel_label_set_accel_widget
              instead of gtk_accel_label_set_accel_object
      
              * app/gui/module-browser.c: replaced CList with a TreeView
      1c27bdcc
  10. 14 Nov, 2001 1 commit
    • Michael Natterer's avatar
      new directories etc/, data/images/ and data/misc/. · 9a1a607b
      Michael Natterer authored
      2001-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: new directories etc/, data/images/ and data/misc/.
      
      	* Makefile.am
      	* data/Makefile.am: added new SUBDIRs.
      
      	* data/images/Makefile.am
      	* data/misc/Makefile.am
      	* etc/Makefile.am: new Makefiles
      
      	* gimp1_0_splash.ppm
      	* gimp1_2_splash.ppm
      	* gimp_logo.ppm
      	* gimp_splash.ppm: removed, now in data/images/
      
      	* rmshm
      	* user_install
      	* user_install.bat: removed, now in data/misc/
      
      	* gimprc.in
      	* gimprc.win32
      	* gimprc_user.in
      	* gtkrc_user
      	* ps-menurc
      	* unitrc: removed, now in etc/
      
      	* app/gui/about-dialog.c
      	* app/gui/splash.c
      	* app/gui/user-install-dialog.c: changed image and script file
      	paths accordingly.
      9a1a607b