1. 29 Nov, 2001 1 commit
    • Kelly Martin's avatar
      Fixed another use of array of gpointer in place of a proper struct, this · 56f849d9
      Kelly Martin authored
      	* app/undo.c: Fixed another use of array of gpointer in place of a
      	proper struct, this time in undo_(push|pop)_channel_mod.
      
      	* base/base-types.h
      	* base/tile-manager.h
      	* base/tile-manager-private.h
      	* base/tile-manager.c: added PixelDataHandle as an abstraction
      	on top of tiles.  PixelDataHandles either return a pointer into
      	the tile data, or create a temporary buffer so the calling
      	function can access data from disparate tiles using a single
      	buffer.  This is a step in reducing the dependence of core
      	image functions being aware of tiles as well as a step toward
      	having a single abstraction for pixel data.
      
      	* app/image_map.c: changed to use read_pixel_data_1
      	* app/pixel-region.c: changed to use the read_pixel_data and
      	write_pixel_data where practical.
      56f849d9
  2. 28 Nov, 2001 5 commits
    • Michael Natterer's avatar
      s/gimage_mask/gimp_image_mask/g · f7bbdc3e
      Michael Natterer authored
      2001-11-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage-mask.[ch]: s/gimage_mask/gimp_image_mask/g
      
      	* app/floating_sel.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/core/gimpchannel.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-transform.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpedit.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimpimage-mask-select.c
      	* app/core/gimpimage-resize.c
      	* app/core/gimpimage-scale.c
      	* app/core/gimpimage.c
      	* app/display/gimpdisplayshell-qmask.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/channels-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/select-commands.c
      	* app/tools/gimpbucketfilltool.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.c
      	* app/widgets/gimpchannellistview.c
      	* app/xcf/xcf-save.c
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/selection.pdb: changed accordingly.
      
      	* app/pdb/edit_cmds.c
      	* app/pdb/selection_cmds.c: regenerated.
      f7bbdc3e
    • Michael Natterer's avatar
      include the new "paint-funcs/paint-funcs-types.h". · 6cf34005
      Michael Natterer authored
      2001-11-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/base/base-types.h: include the new
      	"paint-funcs/paint-funcs-types.h".
      
      	* app/paint-funcs/Makefile.am
      	* app/paint-funcs/paint-funcs-types.h: new file. Includes
      	"base/base-types.h".
      
      	* app/paint-funcs/paint-funcs.[ch]: removed the enums here,
      	include "paint-funcs-types.h".
      
      	* app/widgets/widgets-types.h: include "display/display-types.h"
      
      	* app/display/display-types.h: include "widgets/widgets-types.h".
      
      	* app/tools/tools-types.h: include "display/display-types.h"
      
      	* app/gui/gui-types.h: include "tools/tools-types.h".
      
      	The order of namespaces/dependencies should be (but is not):
      
      	(base, paint-funcs) -> (core, file, xcf, pdb) ->
      	(widgets, display) -> tools -> gui
      
      	* app/path.c: include "tools/tools-types.h".
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-guides.[ch]
      	* app/core/gimpimage-merge.[ch]
      	* app/core/gimpimage-resize.[ch]
      	* app/core/gimpimage-scale.[ch]: new files.
      
      	* app/core/gimpimage.[ch]: removed the stuff which is in the new
      	files. Reordered all functions in both the .h and .c files,
      	commented the groups of functions.
      
      	* app/core/gimpcontainer.c: create the handler_id using a counter,
      	not the address of a pointer, because the address *may* be the
      	same twice, added debugging output.
      
      	* app/core/gimpviewable.[ch]: added primitive support for getting
      	a preview GdkPixbuf.
      
      	* app/nav_window.c
      	* app/undo.c
      	* app/undo_history.c
      	* app/core/gimpimage-duplicate.c
      	* app/core/gimpimage-mask.[ch]
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-dnd.c
      	* app/display/gimpdisplayshell-render.c
      	* app/display/gimpdisplayshell-scale.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/layers-commands.c
      	* app/gui/palette-import-dialog.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/widgets/gimpcontainerview-utils.c
      	* app/xcf/xcf-load.c: changed accordingly, some cleanup.
      
      	* tools/pdbgen/pdb/guides.pdb
      	* tools/pdbgen/pdb/image.pdb: changed accordingly, reordered functions.
      
      	* app/plug_in.c: set the labels of the "Repeat" and "Re-Show" menu
      	items to the name of the last plug-in (Fixes #50986).
      
      	* app/display/gimpdisplayshell.[ch]: set the labels of "Undo" and
      	"Redo" to the resp. undo names. Much simplified the WM icon stuff
      	by removing most code and using gimp_viewable_get_new_preview_pixbuf().
      
      	* app/widgets/gimpbrushfactoryview.c: forgot to assign the GQuark
      	returned by gimp_container_add_handler().
      
      	* app/pdb/guides_cmds.c
      	* app/pdb/image_cmds.c
      	* libgimp/gimpimage_pdb.[ch]: regenerated.
      6cf34005
    • Kelly Martin's avatar
      Fixed evil<tm> double casting of enum to glong to gpointer for layer_mod · 36efb12b
      Kelly Martin authored
      	* app/undo.c: Fixed evil<tm> double casting of enum to glong to
      	gpointer for layer_mod undo by using a struct instead of an array
      	of gpointer (!!!) for storing layer_mod undo data.  Also moved
      	layer offset undo information out of the undo tile manager.
      	* app/image_map.c: Moved layer offset undo information out of the
      	undo tile manager.
      
      	Above changes may break image_map and layer_mod undos, please test
      	as I haven't. :)
      36efb12b
    • Michael Natterer's avatar
      app/core/Makefile.am new files. Changed function names to be consistent. · 9bac8faf
      Michael Natterer authored
      2001-11-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-projection.[ch]: new files. Changed function
      	names to be consistent.
      
      	* app/core/gimpimage.[ch]: removed the projection stuff
      	here. Removed the gimp_image_composite_blah() functions becauee
      	they were just calling the resp. gimp_image_projection ones.
      
      	* app/core/gimpimage-contiguous-region.c
      	* app/core/gimpimage-convert.c
      	* app/core/gimpimage-crop.c
      	* app/core/gimppalette-import.c
      	* app/undo.c
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-render.c
      	* app/gui/info-window.c
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpiscissorstool.c: changed accordingly.
      9bac8faf
    • Michael Natterer's avatar
      themes/Default/images/Makefile.am · e9c3bb45
      Michael Natterer authored
      2001-11-28  Michael Natterer  <mitch@gimp.org>
      
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-wilber-16x16.png
      	* themes/Default/images/stock-wilber-32x32.png
      	* themes/Default/images/stock-wilber-48x48.png
      	* themes/Default/images/stock-wilber-64x64.png: new files.
      
      	* themes/Default/Makefile.am: create gimp-wilber-pixbufs.h
      
      	* libgimpwidgets/gimpdialog.[ch]: removed gimp_dialog_set_icon().
      
      	* libgimpwidgets/gimpwidgets.[ch]: added gimp_widgets_init() which
      	calls gimp_stock_init() and calls gtk_window_set_default_icon_list()
      	with the above set of inlined pixbufs.
      
      	* libgimp/gimpui.c
      	* app/gui/gui.c: call gimp_widgets_init().
      
      	* app/display/gimpdisplayshell.c: removed the fallback icon stuff.
      
      	* app/gui/splash.c
      	* app/gui/user-install-dialog.c
      	* app/widgets/gimpdock.c
      	* app/widgets/gimpitemfactory.c
      	* libgimpwidgets/gimphelpui.c
      	* plug-ins/imagemap/imap_default_dialog.c
      	* plug-ins/imagemap/imap_file.c: don't call gimp_dialog_set_icon().
      
      	* plug-ins/common/uniteditor.c: wanted to start hacking here...
      	Nothing really changed.
      e9c3bb45
  3. 27 Nov, 2001 5 commits
    • Michael Natterer's avatar
      libgimpwidgets/gimpbutton.c libgimpwidgets/gimpcolorarea.c · ae06cd2d
      Michael Natterer authored
      2001-11-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpbutton.c
      	* libgimpwidgets/gimpcolorarea.c
      	* libgimpwidgets/gimpcolorbutton.c
      	* libgimpwidgets/gimpoffsetarea.c: fixed button_press event handling,
      	removed double g_return_if_fail()s, misc. cleanup.
      
      	* app/display/gimpdisplayshell.c: removed the SET_COLOR() stuff
      	here...
      
      	* app/gui/menus.c: ...and added it here so it actually works.
      
      	* app/widgets/gimpcolorpanel.c: add color previews to the
      	item_factory.
      
      	* app/widgets/gimpdockbook.c: use the item_factory functions now
      	that they are in widgets/.
      
      	* app/widgets/gimpitemfactory.[ch]: nothing, we just want to keep
      	the RCS hirtory.
      ae06cd2d
    • Daniel Egger's avatar
      app/paint-funcs/paint-funcs-generic.h app/paint-funcs/paint-funcs.c · 79337647
      Daniel Egger authored
      2001-11-27  Daniel Egger  <degger@fhm.edu>
      
      	* app/paint-funcs/paint-funcs-generic.h
      	* app/paint-funcs/paint-funcs.c
      	* app/paint-funcs/paint-funcs.h: Unsignified lots of arguments
      	and misc cleanups.
      79337647
    • Michael Natterer's avatar
      app/widgets/Makefile.am put the whole generic stuff from gui/menus.[ch] · 653f6999
      Michael Natterer authored
      2001-11-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpitemfactory.[ch]: put the whole generic stuff
      	from gui/menus.[ch] here (where generic == less_evil because it at
      	least does not depend on particular menu entries).
      
      	* app/gui/menus.[ch]: removed the stuff here. Only the global menu
      	definitions and bad hacks to adjust them to our needs left.
      	Removed all menus_get_foobar_factory() functions because we can
      	use gtk_item_factory_from_path("<FooBar>") all over the place.
      
      	* app/plug_in.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/brushes-commands.c
      	* app/gui/buffers-commands.c
      	* app/gui/channels-commands.c
      	* app/gui/dialogs.c
      	* app/gui/documents-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor-commands.c
      	* app/gui/gradients-commands.c
      	* app/gui/gui.c
      	* app/gui/layers-commands.c
      	* app/gui/palettes-commands.c
      	* app/gui/paths-dialog.c
      	* app/gui/patterns-commands.c
      	* app/gui/toolbox.c: changed accordingly. None of these files
      	except gui/gui.c includes gui/menus.h any more.
      653f6999
    • 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
  4. 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
  5. 25 Nov, 2001 4 commits
    • Simon Budig's avatar
      app/tools/gimperasertool.c app/tools/gimperasertool.h Removed the · 477c5ca3
      Simon Budig authored
      2001-11-25  Simon Budig  <simon@gimp.org>
      
              * app/tools/gimperasertool.c
              * app/tools/gimperasertool.h
              * tools/pdbgen/pdb/tools.pdb: Removed the color_erase option of
              the eraser.
      
              * app/pdb/tools_cmds.c: regenerated.
      477c5ca3
    • Simon Budig's avatar
      ANTI_ERASE had wrong layer mode information (according to the comments). · 8a69782e
      Simon Budig authored
      2001-11-25  Simon Budig  <simon@gimp.org>
      
              * app/paint-funcs/paint-funcs.c: ANTI_ERASE had wrong
              layer mode information (according to the comments).
              Changed it to something sane. I did test it and no
              errors occurred. I wonder why they did not happen earlier...
      8a69782e
    • Sven Neumann's avatar
      app/paint-funcs/Makefile.am made 'make dist' happy. · 4512bdf4
      Sven Neumann authored
      2001-11-25  Sven Neumann  <sven@gimp.org>
      
      	* app/paint-funcs/Makefile.am
      	* data/misc/Makefile.am: made 'make dist' happy.
      4512bdf4
    • Sven Neumann's avatar
      Makefile.am configure.in gimp-1.3.pc.in added pkg-config files for · 871f6a8a
      Sven Neumann authored
      2001-11-25  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am
      	* configure.in
      	* gimp-1.3.pc.in
      	* gimpui-1.3.pc.in: added pkg-config files for gimp-1.3.
      
      	* gimptool-1.4.in: renamed to gimptool-1.3.in
      
      	* docs/Makefile.am
      	* docs/gimptool-1.4.1.in renamed to docs/gimptool-1.3.1.in.
      	Disabled installation of man-pages; they need to be updated and
      	should probably be renamed.
      
      	* app/Makefile.am: generate binary called gimp-1.3 sp we don't clash
      	with older gimp installations.
      
      	* gimp-1.3.pc.in
      	* gimpui-1.3.pc.in: added pkg-config files for gimp-1.3.
      
      	* INSTALL
      	* NEWS: updated
      871f6a8a
  6. 24 Nov, 2001 4 commits
    • Sven Neumann's avatar
      Clean up after Marc Lehmann who changed tools/pdbgen/pdb/color.pdb and · 0d8cccd0
      Sven Neumann authored
      2001-11-24  Sven Neumann  <sven@gimp.org>
      
      	Clean up after Marc Lehmann who changed tools/pdbgen/pdb/color.pdb
      	and tools/pdbgen/pdb/image.pdb without writing a ChangeLog entry and
      	without regenerating the respective files :-(
      
      	* tools/pdbgen/pdb/color.pdb: another typo fix similar to the one
      	Marc spotted.
      
      	* app/pdb/color_cmds.c
      	* app/pdb/image_cmds.c
      	* libgimp/gimpcolor_pdb.c
      	* libgimp/gimpimage_pdb.c: regenerated.
      0d8cccd0
    • Sven Neumann's avatar
      app/gimprc.c app/plug_in.[ch] app/pdb/plug_in_cmds.c started to clean · 1dc4b14f
      Sven Neumann authored
      2001-11-24  Sven Neumann  <sven@gimp.org>
      
      	* app/gimprc.c
      	* app/plug_in.[ch]
      	* app/pdb/plug_in_cmds.c
      	* tools/pdbgen/pdb/plug_in.pdb: started to clean plug_in code a little.
      	Still a long way to go...
      
      	* app/gui/splash.c: simplified
      1dc4b14f
    • Simon Budig's avatar
      app/base/base-types.h app/paint-funcs/paint-funcs-generic.h · 8533a2d3
      Simon Budig authored
      2001-11-24  Simon Budig  <simon@gimp.org>
      
              * app/base/base-types.h
              * app/paint-funcs/paint-funcs-generic.h
              * app/paint-funcs/paint-funcs.c
              * app/paint-funcs/paint-funcs.h
              * app/widgets/gimpwidgets-constructors.c:
      
              implemented "Color Erase" paint mode, the hack in the
              eraser tool will be removed.
      
              * app/pdb/brush_select_cmds.c
              * app/pdb/brushes_cmds.c
              * app/pdb/layer_cmds.c
              * app/pdb/tools_cmds.c
              * libgimp/gimpenums.h
              * plug-ins/script-fu/script-fu-constants.c
              * tools/pdbgen/enums.pl: regenerated
      8533a2d3
    • Rebecca Walter's avatar
      app/gui/about-dialog.c app/gui/brush-select.c app/gui/color-notebook.c · bb8a6b62
      Rebecca Walter authored
      2001-11-24  Rebecca Walter  <rjp@mail.tele.dk>
      
      	* app/gui/about-dialog.c
      	* app/gui/brush-select.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c: miscellaneous proofreading.
      bb8a6b62
  7. 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
  8. 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
  9. 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
  10. 20 Nov, 2001 4 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