1. 13 Nov, 2001 6 commits
    • Sven Neumann's avatar
      updates · d3383477
      Sven Neumann authored
      d3383477
    • Michael Natterer's avatar
      fixed some action_area uglyness which occured after the switch to · ad1b2d57
      Michael Natterer authored
      2001-11-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/user-installed-dialog.c: fixed some action_area uglyness
      	which occured after the switch to GtkDialog.
      ad1b2d57
    • Sven Neumann's avatar
      added some safety checks. · bc5011e4
      Sven Neumann authored
      2001-11-13  Sven Neumann  <sven@gimp.org>
      
      	* app/base/temp-buf.c: added some safety checks.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpimagefilepreview.[ch]: a new class implementing
      	special	GimpPreview methods for GimpImagefile.
      
      	* app/core/gimpimagefile.c: added code to load thumbnails according
      	to the proposed Thumbnail Managing Standard
      	(see http://triq.net/~pearl/thumbnail-spec/). Pretty much untested.
      
      	* app/widgets/gimpcontainerview-utils.c: plugged a memleak.
      
      	* app/widgets/gimpimagepreview.c: simplified.
      
      	* app/widgets/gimppreview.c: tell it about GimpImagefilePreview.
      bc5011e4
    • Michael Natterer's avatar
      need to spell EXTRA_DIST correctly now that the "files" hack is gone. · d247c068
      Michael Natterer authored
      2001-11-13  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/Makefile.am: need to spell EXTRA_DIST correctly now
      	that the "files" hack is gone.
      d247c068
    • Michael Natterer's avatar
      commented out generation of some files in plug-ins/ so config.status · 4e8a772b
      Michael Natterer authored
      2001-11-13  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: commented out generation of some files in
      	plug-ins/ so config.status doesn't warn about non-existing
      	directories.
      4e8a772b
    • Michael Natterer's avatar
      small fix. · 3413a9ef
      Michael Natterer authored
      2001-11-12  Michael Natterer  <mitch@gimp.org>
      
      	* HACKING: small fix.
      
      	* configure.in: changed --disable-perl to --enable-perl because
      	it doesn't build properly at the moment.
      
      	* pixmaps/Makefile.am: removed stuff which is no longer there
      	from EXTRA_DIST.
      
      	* plug-ins/Makefile.am: put back the $(GIMP_PERL) line in SUBDIRS.
      
      	* app/widgets/gimpmenuitem.c. include "libgimpwidgets/gimpwidgets.h".
      
      	* data/Makefile.am
      	* data/brushes/Makefile.am
      	* data/gradients/Makefile.am
      	* data/palettes/Makefile.am
      	* data/patterns/Makefile.am: removed the old "files" hack and put
      	the stuff to EXTRA_DIST.
      
      	* app/Makefile.am
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/file/Makefile.am
      	* app/gui/Makefile.am
      	* app/paint-funcs/Makefile.am
      	* app/pdb/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* app/widgets/gimpmenuitem.c
      	* app/xcf/Makefile.am
      	* cursors/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpwidgets/Makefile.am
      	* m4macros/Makefile.am
      	* themes/Makefile.am
      	* themes/Default/Makefile.am
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/tools/Makefile.am: removed "files" target.
      3413a9ef
  2. 12 Nov, 2001 6 commits
    • Sven Neumann's avatar
      *** empty log message *** · a38c2635
      Sven Neumann authored
      a38c2635
    • Sven Neumann's avatar
      po/Makefile.in.in po-libgimp/Makefile.in.in po-plug-ins/Makefile.in.in · 29781dad
      Sven Neumann authored
      2001-11-12  Sven Neumann  <sven@gimp.org>
      
      	* po/Makefile.in.in
      	* po-libgimp/Makefile.in.in
      	* po-plug-ins/Makefile.in.in
      	* po-script-fu/Makefile.in.in: fixed distdir.
      29781dad
    • Sven Neumann's avatar
      I checked in a wrong version by accident. This one should work better. · 4fed85e7
      Sven Neumann authored
      2001-11-12  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.in.in: I checked in a wrong version by accident. This one
      	should work better.
      4fed85e7
    • Michael Natterer's avatar
      changed GimpItemGetNameFunc signature to return a tooltip in a passed · f97a9249
      Michael Natterer authored
      2001-11-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/widgets-types.h: changed GimpItemGetNameFunc
      	signature to return a tooltip in a passed gchar* pointer location.
      
      	* app/widgets/gimpcomponentlistitem.c
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerview-utils.c
      	* app/widgets/gimplistitem.c
      	* app/widgets/gimpmenuitem.c: changed all get_name_funcs and their
      	callers accordingly (passing the "gchar **tooltip" pointer is
      	optional).
      f97a9249
    • Michael Natterer's avatar
      implemented a feature request: · a9ba89c2
      Michael Natterer authored
      2001-11-12  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/pixelize.c: implemented a feature request:
      
      	Made the pixel size configurable independently in x and y
      	direction. Added new PDB function. Use a GimpCoordinates widget
      	for the dialog.
      a9ba89c2
    • Michael Natterer's avatar
      use gimp_display_shell_[install|remove]_override_cursor() to set the · 242b9041
      Michael Natterer authored
      2001-11-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c: use
      	gimp_display_shell_[install|remove]_override_cursor() to set the
      	middle mouse button move cursor so we get the original cursor back
      	after scrolling.
      
      	* app/tools/gimpdrawtool.[ch]: added lots of drawing functions
      	(gimp_draw_tool_draw_rectangle() etc.) which work in image (or
      	active drawable) coordinates.
      
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimpfreeselecttool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimptransformtool.[ch]
      	* app/tools/path_tool.[ch]: use the new functions. Removed tons of
      	gdk_draw_foo() and gdisplay_transform_foo() calls. Most drawing
      	functions look *much* nicer now. Ported some tools to detect
      	handle clicks in display coordinates while I was on it, misc
      	fixes.
      
      	* app/tools/gimpmovetool.[ch]: derive from GimpDrawTool instead
      	of drawing manually.
      242b9041
  3. 11 Nov, 2001 2 commits
    • Michael Natterer's avatar
      oops, this should have been checked in with my last commit. · 8cf9426f
      Michael Natterer authored
      2001-11-11  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb.pl: oops, this should have been checked in
      	with my last commit.
      8cf9426f
    • Manish Singh's avatar
      configure.in app/Makefile.am app/plug-in/Makefile.am plug-ins/Makefile.am · 7117483f
      Manish Singh authored
      2001-11-11  Manish Singh  <yosh@gimp.org>
      
              * configure.in
              * app/Makefile.am
              * app/plug-in/Makefile.am
              * plug-ins/Makefile.am
              * modules/Makefile.am: fixes to build with automake 1.5 (just hacks
              to get it to work, real fixes to come later)
      
              * app/gui/preferences-dialog.c: unset GValue from tree model when
              we're done with it.
      
              * libgimpwidgets/gimpcolorarea.c
              * libgimpwidgets/gimpcolorbutton.c
              * libgimpwidgets/gimpsizeentry.[ch]
              * libgimpwidgets/gimpwidgets.[ch]
              * plug-ins/common/animationplay.c
              * plug-ins/common/colorify.c
              * plug-ins/common/curve_bend.c
              * plug-ins/common/diffraction.c
              * plug-ins/common/film.c
              * plug-ins/common/gbr.c
              * plug-ins/common/gee.c
              * plug-ins/common/gee_zoom.c
              * plug-ins/common/gicon.c
              * plug-ins/common/gih.c
              * plug-ins/common/gtm.c
              * plug-ins/common/jpeg.c
              * plug-ins/common/mail.c
              * plug-ins/common/pat.c
              * plug-ins/common/plugindetails.c
              * plug-ins/common/png.c
              * plug-ins/common/ps.c
              * plug-ins/common/sample_colorize.c
              * plug-ins/common/sinus.c
              * plug-ins/common/spheredesigner.c
              * plug-ins/common/tileit.c
              * plug-ins/common/uniteditor.c
              * plug-ins/common/xbm.c: gtk_widget_set_usize is deprecated. Use
              gtk_widget_set_size_request instead.
      
              * libgimpwidgets/gimpunitmenu.[ch]: changed to use GtkTreeView.
      7117483f
  4. 10 Nov, 2001 4 commits
    • Michael Natterer's avatar
      app/display/gimpdisplay-marching-ants.h removed... · 8dac8949
      Michael Natterer authored
      2001-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplay-marching-ants.h
      	* app/display/gimpdisplay-selection.[ch]: removed...
      
      	* app/display/gimpdisplayshell-marching-ants.h
      	* app/display/gimpdisplayshell-selection.[ch]: ...new names.
      
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell.[ch]: moved the Selection stuff
      	from GimpDisplay to GimpDisplayShell.
      
      	Renamed all functions which will stay in GimpDisplay from
      	gdisplay_foo() to gimp_display_foo(). Added gimp_display_get_ID(),
      	cleaned up the idle renderer.
      
      	* app/image_map.c
      	* app/plug_in.c
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-foreach.[ch]
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell-handlers.c
      	* app/display/gimpdisplayshell-scroll.c
      	* app/gui/gui.c
      	* app/gui/view-commands.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* tools/pdbgen/pdb.pl: changed accordingly, cleanup.
      
      	* app/pdb/display_cmds.c: regenerated.
      8dac8949
    • Michael Natterer's avatar
      Makefile.am removed... · cfeab8bc
      Michael Natterer authored
      2001-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* Makefile.am
      	* user_install.[ch]: removed...
      
      	* gui/Makefile.am
      	* gui/user-install-dialog.[ch]: ...added here.
      
      	* gui/file-open-dialog.[ch]: removed file_open_with_display() and
      	file_open_with_proc_and_display() here...
      
      	* file/file-open.[ch]: ...and added them here.
      
      	* app_procs.c
      	* widgets/gimpdnd.c
      	* widgets/gimpdocumentview.c: changed accordingly.
      cfeab8bc
    • Michael Natterer's avatar
      app/Makefile.am removed. · 360f8321
      Michael Natterer authored
      2001-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/qmask.[ch]: removed.
      
      	* app/core/gimpimage.[ch]: added "qmask_changed" signal and
      	gimp_image_[set|get]_qmask_state().
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-qmask.[ch]: put the stuff here.
      
      	* app/display/gimpdisplayshell-handlers.[ch]: new files: handlers
      	for GimpImage signals handled by GimpDisplayShell.
      
      	* app/display/gimpdisplay-handlers.c: removed some of them here.
      	Don't include any GimpDisplayShell stuff any more.
      
      	* app/display/gimpdisplay.c: no need to update the qmask buttons
      	in gimp_display_flush_whenever().
      
      	* app/display/gimpdisplayshell.c: call gimp_display_shell_connect()
      	and disconnect().
      360f8321
    • Michael Natterer's avatar
      fixed qmask callbacks to check if the toggle is active before performing · 7125fdbc
      Michael Natterer authored
      2001-11-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/qmask.c: fixed qmask callbacks to check if the toggle is
      	active before performing any action.
      
      	* app/core/core-types.h: added the GimpCoords type here because it
      	will be used by core functions as soon as the painting stuff is
      	separated from the painting tools.
      
      	* app/core/gimpdrawable-bucket-fill.c: fixed g_return_if_fail()s
      	to not disable any useful operation :-) Still didn't figure out
      	how I broke display color and pattern dropping :-(
      
      	* app/display/gimpdisplayshell.[ch]: added
      	gimp_display_shell_[un]transform_coords() which work on two
      	GimpCoords pointers.
      
      	* app/display/gimpdisplayshell-callbacks.c: use the new functions
      	instead of the gdisplay_* ones.
      
      	* app/gui/image-commands.c: GimpImage emits "disconnect", not
      	"destroy".
      
      	* app/tools/tools-types.h
      	* app/tools/gimptool.h: removed GimpCoords here.
      
      	* app/tools/gimpconvolvetool.c: fixed modifier_key() implementation.
      
      	* app/tools/gimpcroptool.c: cleanup.
      
      	* app/tools/paint_options.c: don't need a separator in the ink
      	tool options.
      
      	* app/tools/gimprectselecttool.c
      	* app/tools/selection_options.[ch]: implemented wish #50352:
      
      	Added "Auto Shrink Selection" and "Sample Merged" toggles to
      	the rect_select and ellipse_select tools. Put the "Fixed size"
      	widgets in a frame. Removed the separators after the common
      	selection tool options because I didn't like them any more
      	(feel free to comment ;)
      7125fdbc
  5. 09 Nov, 2001 6 commits
    • Michael Natterer's avatar
      added a "Center" button to the "Offset" frame (#51599). · b70ac761
      Michael Natterer authored
      2001-11-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/resize-dialog.c: added a "Center" button to the "Offset"
      	frame (#51599).
      b70ac761
    • Tor Lillqvist's avatar
      19c899f7
    • Michael Natterer's avatar
      removed the "palette" PDB type again. Incremented protocol version. · a109f0ff
      Michael Natterer authored
      2001-11-09  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpprotocol.[ch]: removed the "palette" PDB type
      	again. Incremented protocol version.
      
      	* app/plug_in.c
      	* app/pdb/procedural_db.c
      	* libgimp/gimp.c
      	* libgimpbase/gimpbasetypes.h: changed accordingly.
      
      	* app/pdb/procedural_db_cmds.c
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      a109f0ff
    • Michael Natterer's avatar
      should set the fs.backing_store TileManager pointer to NULL after deleting · 4fa25532
      Michael Natterer authored
      2001-11-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/undo.c: should set the fs.backing_store TileManager pointer
      	to NULL after deleting it. Why the heck didn't this crash
      	before...?
      
      	* app/core/Makefile.am
      	* app/core/gimpdrawable-blend.[ch]: the blend stuff taken from
      	the blend tool.
      
      	* app/core/core-types.h: added the blend enums.
      
      	* app/tools/gimpblendtool.[ch]: removed the stuff here.
      
      	* tools/pdbgen/pdb/tools.pdb: changed blend wrapper accordingly.
      
      	* app/pdb/tools_cmds.c: regenerated.
      
      	* tools/pdbgen/Makefile.am: don't scan tools/gimpblendtool.c.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/tools/gimpbucketfilltool.c: fixed crash caused by my last
      	change.
      
      	* app/display/gimpdisplay.c
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.c: removed lots of uglyness by
      	using GtkImages for the qmask and navigation buttons. Don't realize
      	anything before the shell is shown. Connect the realize
      	callback and do stuff there. Don't call the realize callback
      	from gimp_display_shell_canvas_events() any more.
      
      	* pixmaps/navbutton.xpm
      	* pixmaps/qmasknosel.xpm
      	* pixmaps/qmasksel.xpm: removed.
      
      	* themes/Default/Makefile.am
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-menu-navigation.png
      	* themes/Default/images/stock-menu-qmask-off.png
      	* themes/Default/images/stock-menu-qmask-on.png: new PNGs instead.
      
      	* libgimpwidgets/gimpstock.[ch]: register them as stock icons.
      4fa25532
    • Sven Neumann's avatar
      merged fix for bug #63880 from stable branch and fixed a wrong signal · 9dc96ce7
      Sven Neumann authored
      2001-11-09  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/file-open-dialog.c: merged fix for bug #63880 from stable
      	branch and fixed a wrong signal callback signature.
      
      	* plug-ins/imagemap/imap_main.c: merged fix for bug #64075 from stable
      	branch.
      
      	* plug-ins/common/gauss_iir.c
      	* plug-ins/common/gauss_rle.c: merged fix for bug #57853 from stable
      	branch.
      
      	* plug-ins/Lighting/lighting_ui.c: s/gdk_image_unref/g_object_unref/
      9dc96ce7
    • Tor Lillqvist's avatar
  6. 08 Nov, 2001 2 commits
    • Michael Natterer's avatar
      build display/ before tools/. · 02fde14c
      Michael Natterer authored
      2001-11-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am: build display/ before tools/.
      
      	* app/devices.c: devices_check_change(): added all events
      	which have a GdkDevice pointer.
      
      	* app/gimpprogress.c: include "display-types.h" instead of
      	"core-types.h".
      
      	* app/core/Makefile.am
      	* app/core/gimpdrawable-bucket-fill.[ch]: new files: the bucket_fill
      	stuff taken from tools/gimpbucketfilltool.[ch].
      
      	* app/core/core-types.h: added "BucketFillMode".
      
      	* app/core/gimpimage-mask-select.[ch]: cleanup.
      
      	* app/core/gimpmarshal.list: added more marshallers for GimpTool's
      	new signal signatures.
      
      	* app/core/gimpmarshal.[ch]: regenerated.
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-dnd.[ch]
      	* app/display/gimpdisplayshell-layer-select.[ch]: new files: the
      	canvas drop callbacks from gimpdisplayshell-callbacks.[ch] and
      	the stuff formerly knows as gui/layer-select.[ch].
      
      	* app/display/gimpdisplay.h: don't include "gui/gui-types.h".
      
      	* app/display/gximage.c: include "display-types.h".
      
      	* app/display/gimpdisplay-foreach.c
      	* app/display/gimpdisplayshell.[ch]: call gdsplay_delete(), don't
      	destroy the shell widget.
      
      	* app/gui/Makefile.am
      	* app/gui/layer-select.[ch]: removed.
      
      	* app/gui/gradients-commands.c: fixed "Save as POV" fprintf()s.
      
      	* app/gui/preferences-dialog.c: removed the layer_select stuff
      	because it is useless with the new preview system.
      
      	* app/gui/tool-options-dialog.c: send the correct data to the
      	close_callback.
      
      	* app/gui/tools-commands.c: changed to follow the new
      	gimp_tool_initialize() semantics (see below).
      
      	Tool & canvas event handling chainsawing:
      
      	* app/tools/tools-types.h: new struct GimpCoords which contains
      	x, y, pressure, tilt etc.
      
      	* app/display/gimpdisplayshell-callbacks.[ch]: added utility
      	functions which transparently retreive the current event's
      	GimpCoords or take it from the device directly if the event has
      	none. Pass GimpCoords _in_image_coordinates_ to all tool
      	functions.
      
      	Most important: don't pass GdkEvents and display coordinates to
      	tools any more.
      
      	* app/tools/gimptool.[ch]: changed virtual functions to take
      	GimpCoords, time and state separately instead of GdkEvents.
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbucketfilltool.[ch]
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.[ch]
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.[ch]
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpfreeselecttool.[ch]
      	* app/tools/gimpfuzzyselecttool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimpiscissorstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.[ch]
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpselectiontool.[ch]
      	* app/tools/gimpsmudgetool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptransformtool.[ch]
      	* app/tools/path_tool.[ch]
      	* app/tools/selection_options.c: tons and tons of changes:
      
      	- changed to use the new virtual function parameters.
      	- removed zillions of gdisplay_untransform_coords().
      	- get the active drawable's offsets manually in many cases.
      	  (questionable, but IMHO ok because it's obvious and not simply a
      	  "TRUE" passed to some function)
      	- reordered some functions to be consistent across tools.
      	- some tools had to be changed to work on image coords, not
      	  display ones (esp. crop).
      	- fixed strange rotate tool behaviour which should be backported
      	  to stable.
      	- some stuff i came across.
      	- indentation and other paranoia.
      	- rounding of coordinated may be broken in some tools.
      	- new bugs guaranteed.
      
      	* app/tools/tool_manager.[ch]: new semantic of
      	tool_manager_initialize_active() (looked at the places where it
      	was used from and put common code together). Should be a bit
      	better now :)
      
      	* app/tools/gimpblendtool.c
      	* app/tools/transform_options.c: use the new GTK+ feature that a
      	widget (toggle button) can be a frame's title for this tools' tool
      	options.
      
      	* app/widgets/widgets-types.h: stuff.
      
      	* themes/Default/gtkrc: s/GtkDialog/GimpDialog/.
      
      	* tools/pdbgen/Makefile.am: don't scan tools/gimpbucketfilltool.h
      	any more.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* tools/pdbgen/pdb/tools.pdb: changed bucket_fill wrapper.
      
      	* app/pdb/tools_cmds.c: regenerated.
      02fde14c
    • Wang Jian's avatar
      *** empty log message *** · 6337e6f3
      Wang Jian authored
      6337e6f3
  7. 05 Nov, 2001 1 commit
    • Sven Neumann's avatar
      ported fixes from stable branch (mostly missing includes of config.h), · 022d73e2
      Sven Neumann authored
      2001-11-05  Sven Neumann  <sven@gimp.org>
      
              * plug-ins/imagemap/*.c: ported fixes from stable branch (mostly
              missing includes of config.h),
      
              * plug-ins/gimpressionist/orientmap.c: removed commented out code
              that continued to show up when grepping for deprecated GTK+ code.
      
              * tools/pdbgen/pdb/procedural_db.pdb: removed unneeded inclusion
              of config.h (it gets added automatically).
      022d73e2
  8. 02 Nov, 2001 2 commits
    • Michael Natterer's avatar
      stop synthesizing expose events but use gdk_window_invalidate_rect() and · 7c2b5595
      Michael Natterer authored
      2001-11-02  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-scroll.c: stop synthesizing expose
      	events but use gdk_window_invalidate_rect() and
      	gdk_window_process_updates() (both with "update_children == FALSE"
      	because the canvas has no children).
      
      	* app/tools/gimpmagnifytool.c: nothing.
      7c2b5595
    • Michael Natterer's avatar
      app/display/Makefile.am app/display/gimpdisplay-callbacks.[ch] · d162376d
      Michael Natterer authored
      2001-11-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-callbacks.[ch]
      	* app/display/gimpdisplay-render.[ch]
      	* app/display/gimpdisplay-scale.[ch]
      	* app/display/gimpdisplay-scroll.[ch]: removed and added as
      	gimpdisplayshell-foo.[ch] because they are all methods of the
      	shell.
      
      	* app/display/gimpdisplay.[ch]
      	* app/display/gimpdisplayshell.[ch]: moved the "offset" and "size"
      	variables from GimpDisplay to GimpDisplayShell. GimpDisplay
      	should know nothing about screen coordinates.
      
      	The gdisplay_[un]transform_foo() methods are still part of
      	GimpDisplay but will be moved to GimpDisplayShell as soon as the
      	tools' vitrual functions speak in image coordinates instead of
      	GdkEvents.
      
      	* app/display/gimpdisplayshell-callbacks.[ch]: prefixed all
      	functions with gimp_display_shell_*. Moved some stuff to a
      	"realize" callback File still has to be renamed.
      
      	* app/display/gimpdisplay-foreach.[ch]: removed
      	gdisplays_shrink_wrap().
      
      	* app/gui/menus.c
      	* app/gui/view-commands.[ch]
      	* app/display/gimpdisplayshell-scale.[ch]: implemented "Zoom to
      	Fit Window" function (#57670).
      
      	* app/nav_window.c
      	* app/display/gimpdisplay-handlers.c
      	* app/display/gimpdisplayshell-render.[ch]
      	* app/display/gimpdisplayshell-scale.[ch]
      	* app/display/gimpdisplayshell-scroll.[ch]
      	* app/gui/colormap-dialog.c
      	* app/gui/gui.c
      	* app/gui/preferences-dialog.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmovetool.c
      	* app/widgets/gimppreview.c: changed according to variable
      	and filename changes.
      
      	* app/tools/tool_manager.c: tool_manager_select_tool(): send the
      	active tool a "HALT" command before selecting the new one. Fixes
      	stale tool dialogs which were there because some other hack was
      	removed (This is IMHO the right place to shut down the active
      	tool).
      
      	* app/tools/gimpcroptool.c: don't shrink wrap after cropping but
      	let gimprc.allow_resize_windows decide.
      
      	* app/tools/gimpselectiontool.c: gimage_mask_value() takes image,
      	not screen coordinates. A good example of how braindead it is to
      	pass GdkEvents to tools :-) Fixes incorrect cursor and oper
      	update of the selection tools.
      
      	* app/tools/gimptransformtool.c
      	* app/undo.c: removed (#if 0 for now) some strange code which did
      	manual exposing of GimpDisplayShell areas. This was definitely a
      	hack and should not be there given the image emits correct
      	"update" signals.
      d162376d
  9. 01 Nov, 2001 4 commits
  10. 31 Oct, 2001 4 commits
    • Michael Natterer's avatar
      argh. · 96fdb355
      Michael Natterer authored
      96fdb355
    • Michael Natterer's avatar
      fscking broken pipe... · cbce3390
      Michael Natterer authored
      cbce3390
    • Michael Natterer's avatar
      Chopped up the display stuff (beware: unfinished)... · 5f63e079
      Michael Natterer authored
      2001-10-31  Michael Natterer  <mitch@gimp.org>
      
      	Chopped up the display stuff (beware: unfinished)...
      
      	The plan is that GimpDisplay is the object which collects
      	updates from the image, compresses them and waits for the GIMP
      	to be idle to actually paint them. It should be a non-GUI object
      	which is the model for the actual widget to connect to.
      
      	GimpDisplayShell has all the widgets and handles painting and
      	exposing of the result. Nobody should actually be required to
      	update ot look at it as it should be a view on the GimpDisplay
      	object.
      
      	Much stuff is still in the wrong place and the functions don't
      	follow their files' filename namespace any more. More to come...
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplay-ops.[ch]: removed. It's functions didn't
      	belong together anyway.
      
      	* app/display/gimpdisplay-area.[ch]: new files: the GimpArea
      	functions.
      
      	* app/display/gimpdisplay-handlers.[ch]: new files: signal
      	handlers for GimpImage signals. Mostly from app/gui.c.
      
      	* app/display/gimpdisplay.[ch]: removed all widgets and other
      	GUI stuff. There is still much undecided here...
      
      	* app/display/gimpdisplayshell.[ch]: actually use the object and
      	filled it with all the stuff from GimpDisplay.
      
      	* app/display/gimpdisplay-callbacks.[ch]
      	* app/display/gimpdisplay-foreach.[ch]
      	* app/display/gimpdisplay-render.c
      	* app/display/gimpdisplay-scale.[ch]
      	* app/display/gimpdisplay-scroll.[ch]
      	* app/display/gimpdisplay-selection.c: changed accordingly.
      
      	* app/core/gimp.[ch]: return a GimpObject from
      	gimp_create_display() so it can be used as single GUI independent
      	point to create displays, require the initial scale as parameter.
      
      	* app/core/gimpcontext.c: changed the ugly EEKWrapper according to
      	the GimpDisplay structure changes. Bugfix: set the image to NULL
      	in gimp_context_display_destroyed().
      
      	* app/core/gimpedit.c
      	* app/core/gimpimage-new.c: changed gimp_create_display() calls
      	accordingly.
      
      	* app/core/gimpimage-convert.c: invalidate the layer & image
      	previews here, not in the caller.
      
      	* app/core/gimpimage-crop.c: update the whole image after cropping.
      
      	* app/core/gimpimage.[ch]: added gimp_image_find_guide(),
      	gimp_image_snap_point() and gimp_image_snap_rectangle(). Added
      	"resolution_changed" and "unit_changed" signals and corresp.
      	public convenience functions to emit them.
      
      	* app/core/gimplayer.c: emit the image's "alpha_changed" signal
      	when adding alpha to the bottom (and only) layer of the image.
      
      	* app/gimpprogress.c
      	* app/image_map.c
      	* app/nav_window.c
      	* app/qmask.c
      	* app/undo.c
      	* app/user_install.c: changed accordingly.
      
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/image-commands.c
      	* app/gui/info-window.c
      	* app/gui/preferences-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/view-commands.c: ditto.
      
      	* app/gui/gui.[ch]: removed most gimp->images handlers as the
      	displays connect to them themselves now. chaged gui_display_new()
      	according to the gimp_create_display() changes.
      	Added gui_get_screen_resolution().
      
      	* app/tools/gimpbezierselecttool.c
      	* 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/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpfliptool.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/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimpselectiontool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimptool.c
      	* app/tools/gimptransformtool.c
      	* app/tools/xinput_airbrush.c: lots of changes because GimpDisplay
      	has become two objects. Lots of gdisp->shell casting uglyness
      	added. This is fine because exactly these parts will have to go
      	away.
      
      	(GimpDisplay will provide methods for XOR drawing upon the display
      	in image coordinates without the need to transform coordinates all
      	the time. Also the tools shouldn't see GdkEvents but get more
      	useful virtual functions which speak in image coordinates too).
      
      	* app/widgets/gimpcomponentlistitem.c: removed a now useless image
      	update.
      
      	* tools/pdbgen/pdb/display.pdb: use gimp_create_display().
      
      	* app/pdb/display_cmds.c: regenerated.
      5f63e079
    • Christian Rose's avatar
      Updated the Swedish translation some. · 4158715b
      Christian Rose authored
      2001-10-31  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated the Swedish translation some.
      4158715b
  11. 30 Oct, 2001 3 commits
    • Simon Budig's avatar
      Oops - forgot to remove a #warning. · 8c6aa9f2
      Simon Budig authored
      2001-10-30  Simon Budig   <simon@gimp.org>
      
      	* app/tools/gimperasertool.c: Oops - forgot to remove a #warning.
      8c6aa9f2
    • Simon Budig's avatar
      app/pdb/tools_cmds.c app/tools/gimperasertool.c app/tools/gimperasertool.h · 39545263
      Simon Budig authored
      2001-10-30  Simon Budig   <simon@gimp.org>
      
              * app/pdb/tools_cmds.c
              * app/tools/gimperasertool.c
              * app/tools/gimperasertool.h
              * tools/pdbgen/pdb/tools.pdb
      
              Added a "color erase" feature to the eraser. This is ported from
              the colortoalpha plugin and is utterly cool.
      
              The "Color Erase" Option should be disabled when the drawable
              has no alpha channel, however, I have no idea how to do this.
      39545263
    • Christian Rose's avatar
      Updated Swedish translation. · 008742c2
      Christian Rose authored
      2001-10-30  Christian Rose  <menthos@menthos.com>
      
      	* sv.po: Updated Swedish translation.
      008742c2