Commit Graph

6160 Commits

Author SHA1 Message Date
Michael Natterer c3c429621e made device_status_update() static as declared.
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.
2001-11-22 23:08:56 +00:00
Tor Lillqvist ab438bf6d4 file accompat.m4 was initially added on branch gimp-1-2. 2001-11-22 21:53:51 +00:00
Michael Natterer 19af93aceb app/tools/gimpclonetool.c app/tools/gimpconvolvetool.c
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.
2001-11-22 17:11:52 +00:00
Simon Budig 535f35d40d reverted one message.
2001-11-23  Simon Budig  <simon@gimp.org>

        * de.po: reverted one message.
2001-11-22 16:31:21 +00:00
Michael Natterer 80492e66ed added stock *items* (not only icons) for all tools so they can be used as
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.
2001-11-22 14:28:39 +00:00
Michael Natterer a08f3ac001 use "gimp-item-data" instead of "user_data" as data key when attaching
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.
2001-11-22 13:01:26 +00:00
Simon Budig 2a33106bd3 updated german translation.
2001-11-22  Simon Budig  <simon@gimp.org>

        * de.po: updated german translation.
2001-11-22 00:21:39 +00:00
Marc Lehmann 1432d7b098 *** empty log message *** 2001-11-21 23:53:37 +00:00
Sven Neumann aa1d33554a sink the GtkPreview created for the splash.
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.
2001-11-21 19:42:51 +00:00
Sven Neumann d2f566a95a set the window title for file selection dialogs as we do for directory
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.
2001-11-21 18:50:50 +00:00
Michael Natterer c8a6809605 regenerated with the stuff below included.
2001-11-21  Michael Natterer  <mitch@gimp.org>

	* RELEASE-TO-CVS.patch: regenerated with the stuff below included.
2001-11-21 17:22:26 +00:00
Michael Natterer d9d34b1055 seems I've comitted something which should only be in
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...
2001-11-21 17:18:43 +00:00
Michael Natterer 958071b0c8 key press and release events were sent swapped to tools.
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.
2001-11-21 03:54:09 +00:00
Michael Natterer b3e5046e9b added "reset" code for the new auto_shrink tool options.
2001-11-21  Michael Natterer  <mitch@gimp.org>

	* app/tools/selection_options.c: added "reset" code for the new
	auto_shrink tool options.
2001-11-21 00:34:12 +00:00
Marc Lehmann 7662431c56 *** empty log message *** 2001-11-21 00:17:44 +00:00
Michael Natterer d204064fce pixmaps/Makefile.am pixmaps/anchor.xpm pixmaps/edit.xpm pixmaps/eye.xpm
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.
2001-11-20 23:44:19 +00:00
Michael Natterer 1b37cb1ca6 regenerated after the text tool changes.
2001-11-21  Michael Natterer  <mitch@gimp.org>

	* RELEASE-TO-CVS.patch: regenerated after the text tool changes.
2001-11-20 23:06:39 +00:00
Michael Natterer a75c675d03 added GimpToolRegisterFunc, GimpToolRegisterCallback and
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).
2001-11-20 23:00:47 +00:00
David Neary 82f6bb6b0f Included errno,h
2001-11-20  David Neary <dneary@eircom.net>

        * app/core/gimppalette.c: Included errno,h
2001-11-20 21:24:33 +00:00
Rebecca Walter 57c23b69e0 app/core/gimpedit.c app/core/gimpimagefile.c app/core/gimpmoduleinfo.c
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!
2001-11-20 15:07:45 +00:00
Sven Neumann c3b545cf86 forgot to commit the ChangeLog 2001-11-20 14:47:21 +00:00
Sven Neumann a2627ec933 app/gui/preferences-dialog.c plug-ins/common/gif.c plug-ins/common/jpeg.c
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.
2001-11-20 14:46:44 +00:00
Michael Natterer 9ceb205cec app/tools/gimpdrawtool.[ch] app/tools/gimppainttool.[ch]
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.
2001-11-20 14:20:17 +00:00
Michael Natterer 625b5c716c put a g_object_ref() on a different line.
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.
2001-11-20 13:53:21 +00:00
Marc Lehmann 8244713a2a *** empty log message *** 2001-11-20 01:05:42 +00:00
Daniel Egger 145494c7ab Added magic comment to prevent enums from being exported.
2001-11-19  Daniel Egger  <degger@fhm.edu>

	* app/paint-funcs/paint-funcs.h: Added magic comment to prevent
	enums from being exported.
2001-11-19 20:18:53 +00:00
Daniel Egger 08053a30a5 app/paint-funcs/paint-funcs-mmx.h Fixed typoes and brought the code back
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. :)
2001-11-19 20:12:11 +00:00
Michael Natterer 6f2533b164 Some moving of unused files so they don't clutter app/...
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.
2001-11-19 19:15:19 +00:00
Michael Natterer 2e21005a38 oops, forgot this dorectory... 2001-11-19 18:54:13 +00:00
Michael Natterer 57044c2f46 forgot to commit last time.
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.
2001-11-19 18:23:43 +00:00
Daniel Egger 70cec44587 app/paint-funcs/paint-funcs.c app/paint-funcs/paint-funcs-generic.h
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....
2001-11-19 17:21:03 +00:00
Daniel Egger 0a28fa8c9c New file. Added glue code for the assembly MMX functions.
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.
2001-11-19 13:46:10 +00:00
Sven Neumann 21479d29b7 changes to the text tool to make it compile with the new PangoFT2 API.
2001-11-19  Sven Neumann  <sven@gimp.org>

	* RELEASE-TO-CVS.patch: changes to the text tool to make it compile
	with the new PangoFT2 API.
2001-11-19 11:03:58 +00:00
Daniel Egger 16bbbaec07 app/paint-funcs/paint-funcs.c Split generic (read: C) code for
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. :)
2001-11-19 03:06:09 +00:00
Michael Natterer b240967903 fixed a comment.
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).
2001-11-18 20:25:43 +00:00
Valek Frob 1c71b7c501 Updated russian translation. 2001-11-18 19:57:38 +00:00
Valek Frob 20cea83fec Updated russian translation/. 2001-11-18 19:52:23 +00:00
Fatih Demir 8af6a66395 file ta.po was initially added on branch gimp-1-2. 2001-11-17 21:38:53 +00:00
Michael Natterer 14098dc0eb Made --no-interface not calling gtk_init() (and thus not contacting the X
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.
2001-11-17 16:32:34 +00:00
Wang Jian b042c682ba *** empty log message *** 2001-11-17 14:53:27 +00:00
Daniel Egger 7d1a55eb09 Prevent from crash if swap_path == NULL.
2001-11-17  Daniel Egger  <egger@fhm.edu>

	* app/base/base.c: Prevent from crash if swap_path == NULL.
2001-11-16 23:31:29 +00:00
Michael Natterer 51687bba7d Wishlist item #57812:
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.
2001-11-16 17:08:41 +00:00
Michael Natterer 4403d58a62 Wishlist item #57669:
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().
2001-11-16 15:08:59 +00:00
Sven Neumann a1439a3cca added Black and White to popup menu. Take widget->allocation into account
2001-11-16  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpcolorbutton.[ch]: added Black and White to popup
	menu. Take widget->allocation into account when calculation popup
	position since GtkButton is a NO_WINDOW widget now.
2001-11-16 14:13:10 +00:00
Sven Neumann edcccae523 s/G_GNUC_PRETTY_FUNC/G_GNUC_PRETTY_FUNCTION/
2001-11-16  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage.c: s/G_GNUC_PRETTY_FUNC/G_GNUC_PRETTY_FUNCTION/
2001-11-16 13:15:10 +00:00
Rebecca Walter 46b7fdb802 app/core/gimpcontext.c app/core/gimpdatafactory.c
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.
2001-11-16 12:23:01 +00:00
Michael Natterer d7b3fbe5a5 Gimp's opacity values are a pain... the core actually *should* only accept
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.
2001-11-15 23:15:52 +00:00
Michael Natterer a39ba058d0 fixed the layers dialog's "New Layer" button by checking for a floating
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().
2001-11-15 21:31:07 +00:00
Michael Natterer f901b46da6 restructured the new draw utility functions and added
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.
2001-11-15 21:17:36 +00:00
Michael Natterer 2377f709e9 removed antique Makefile targets, including the "files" hack (which was
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.
2001-11-15 14:42:29 +00:00