1. 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
  2. 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
  3. 01 Nov, 2001 4 commits
  4. 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
  5. 30 Oct, 2001 4 commits
  6. 29 Oct, 2001 3 commits
    • Sven Neumann's avatar
      rewrote so gcc-3.0 doesn't complain. · de5af18f
      Sven Neumann authored
      2001-10-29  Sven Neumann  <sven@gimp.org>
      
      	* app/base/temp-buf.c (temp_buf_to_gray): rewrote so gcc-3.0 doesn't
      	complain.
      
      	* app/widgets/gimpfontselection-dialog.c: use g_ascii_strcasecmp().
      
      	* libgimp/gimpintl.h
      	* libgimp/stdplugins-intl.h
      	* plug-ins/script-fu/script-fu-intl.h: don't call gtk_set_locale()
      	since gtk_init() does it for us now. Don't set LC_NUMERIC to "C".
      	INIT_I18N_UI() is the same as INIT_I18N_UI() now.
      
      	* app/devices.c
      	* app/gimprc.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpgradient.c
      	* app/gui/color-notebook.c
      	* app/gui/gradients-commands.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gimpressionist/presets.c
      	* plug-ins/ifscompose/ifscompose_storage.c: use g_ascii_formatd() and
      	g_ascii_strtod() to serialize and deserialize floats. These functions
      	are locale-independent. There are probably more places that need to be
      	fixed in this fashion.
      
      	* plug-ins/script-fu/script-fu-console.c
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/script-fu-server.c
      	* plug-ins/script-fu/script-fu.c: s/INIT_I18N_UI/INIT_I18N/
      
      	* tools/gimp-remote.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/paint-funcs/paint-funcs-indexeda.c
      	* app/paint-funcs/paint-funcs.c
      	* app/tools/gimppathtool.c
      	* app/tools/path_tool.c
      	* modules/colorsel_triangle.c
      	* plug-ins/common/mpeg.c
      	* plug-ins/imagemap/imap_csim_parse.c: cleanups
      de5af18f
    • Michael Natterer's avatar
      Cleanup weekend... · 05e15eb1
      Michael Natterer authored
      2001-10-29  Michael Natterer  <mitch@gimp.org>
      
      	Cleanup weekend...
      
      	* app/app_procs.c: pass "no_interface" to gimp_new().
      
      	* app/core/gimp.[ch]: added "gboolean no_interface" and the
      	load_procs and save_procs GSLists.
      
      	* app/core/gimptoolinfo.[ch]: added a "Gimp" pointer to the
      	GimpToolInfo object so more functions find their context without
      	accessing the global "the_gimp" variable.
      
      	* app/display/display-types.h: removed the GDisplay -> GimpDisplay
      	typedef.
      
      	* app/display/gimpdisplay.c: look at gimp->no_interface, don't
      	include "appenv.h".
      
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]: don't use "the_gimp" any more. Instead,
      	pass around lots of "Gimp" pointers. Removed the global load_procs
      	and save_procs variables here. Use access() to find out whether a
      	file is readable/writable, removed the manual voodoo and it's
      	Win32 wrappers. Added an optional (can be NULL) "PlunInProcDef"
      	parameter to file_save(), removed file_save_with_proc().
      
      	* app/gui/menus.c: Use the unused "gpointer data" parameter of the
      	GtkItemFactory callbacks to pass a "Gimp" pointer to all of them.
      	This reduces the usage of the global "the_gimp" hack to zero
      	in app/gui/... yeah.
      
      	* app/gui/channels-commands.c
      	* app/gui/edit-commands.c
      	* app/gui/file-commands.c
      	* app/gui/image-commands.c
      	* app/gui/layers-commands.c
      	* app/gui/palettes-commands.c
      	* app/gui/select-commands.c
      	* app/gui/test-commands.c
      	* app/gui/tools-commands.c
      	* app/gui/view-commands.c: use the passed "Gimp" pointer.
      
      	* app/gui/color-area.[ch]
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-new-dialog.[ch]
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.[ch]
      	* app/gui/gui.c
      	* app/gui/info-window.[ch]
      	* app/gui/module-browser.[ch]
      	* app/gui/palette-editor.c
      	* app/gui/palette-import-dialog.[ch]
      	* app/gui/paths-dialog.c
      	* app/gui/preferences-dialog.[ch]
      	* app/gui/resize-dialog.[ch]
      	* app/gui/tool-options-dialog.[ch]
      	* app/gui/toolbox.c: pass around lots more "Gimp" and
      	"GimpContext" pointers and don't use "the_gimp" any more.
      
      	* app/tools/gimptool.h: added a pointer to the corresponding
      	GimpToolInfo object (which in turn has a pointer to a Gimp).
      
      	* app/tools/tool_manager.[ch]: set the pointer after creating the
      	tool object. Removed tool_manager_get_info_by_tool() as there is a
      	tool->tool_info pointer now.
      
      	* app/tools/gimpbezierselecttool.c
      	* app/tools/gimpblendtool.c
      	* app/tools/gimpbrightnesscontrasttool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpcolorbalancetool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpdrawtool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimpellipseselecttool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimpfliptool.c
      	* app/tools/gimphistogramtool.c
      	* app/tools/gimphuesaturationtool.c
      	* app/tools/gimpinktool.c
      	* app/tools/gimplevelstool.c
      	* app/tools/gimpmagnifytool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimpmovetool.c
      	* app/tools/gimppainttool.c
      	* app/tools/gimppathtool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimpposterizetool.c
      	* app/tools/gimprectselecttool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c
      	* app/tools/gimptexttool.c
      	* app/tools/gimpthresholdtool.c
      	* app/tools/path_tool.c
      	* app/tools/xinput_airbrush.c: s/GDisplay/GimpDisplay/g.
      	Use tool->tool_info and tool_info->gimp in some places to get
      	rid of using "the_gimp".
      
      	Removing the remaining ones involves changing the tool options
      	system and is scheduled next...
      
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c: pass a "Gimp" pointer to all
      	file_open_*() functions.
      
      	* app/gdisplay_color.[ch]
      	* app/gdisplay_color_ui.[ch]
      	* app/image_map.[ch]
      	* app/nav_window.[ch]
      	* app/path.c
      	* app/path_bezier.c
      	* app/path_transform.h
      	* app/qmask.[ch]: s/GDisplay/GimpDisplay/g
      
      	* tools/pdbgen/pdb/fileops.pdb: load_procs and save_procs are
      	members of the "Gimp" object now.
      
      	* tools/pdbgen/pdb/plug_in.pdb: use gimp->no_interface, don't
      	include "appenv.h".
      
      	* app/pdb/fileops_cmds.c
      	* app/pdb/plug_in_cmds.c: regenerated.
      05e15eb1
    • Sven Neumann's avatar
      updated links · 5e9fc1d8
      Sven Neumann authored
      2001-10-29  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/webbrowser/web-browser.scm: updated links
      
      	* tools/pdbgen/lib.pl: cosmetic change (if (!x) -> unless (x)).
      5e9fc1d8
  7. 28 Oct, 2001 7 commits
    • Hans Breuer's avatar
      define HAVE_DIRENT_H, it's from build/win32/dirent · 39dbecb7
      Hans Breuer authored
      2001-10-28  Hans Breuer  <hans@breuer.org>
      
      	* config.h.win32 : define HAVE_DIRENT_H, it's from build/win32/dirent
      
      	* app/*/makefile.msc : updated
      	* app/file/makefile.msc app/display/makefile.msc : new files
      
      	* app/user_install.c : make the G_OS_WIN32 part compile again (fn -> filename)
      
      	* app/core/gimptoolinfo.c (gimp_tool_info_init) : cosmetic change,
      	make implementation signature static like the local prototype
      
      	* app/pdb/gradients_cmds.c app/pdb/palette_cmds.c : include <string.h>
      	for strlen () / strcmp () by ...
      	* tools/pdbgen/pdb/gradients.pdb tools/pdbgen/pdb/palette.pdb :
      	... changing the perl source here
      
      	* app/widgets/gimpdocumentview.c : #include <string.h>
      
      	* libgimp/makefile.msc :
      	* libgimpwidgets/gimpwidgets.def : updated
      
      	* plug-ins/makefile.msc : reflect the fact that DIRENT functions
      	are removed from glib. Also define the questionable GETTEXT_PACKAGE
      	and LOCALEDIR which are required to compile, not adapted to NLS
      	support for win32 yet
      39dbecb7
    • Sven Neumann's avatar
      plug-ins/common/nlfilt.c plug-ins/gap/gap_mov_dialog.c removed code that · 6d4e0509
      Sven Neumann authored
      2001-10-28  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/nlfilt.c
      	* plug-ins/gap/gap_mov_dialog.c
      	* plug-ins/gap/gap_navigator_dialog.c: removed code that sets the
      	colormap and gamma value of a GtkPreview. We don't need to do this
      	since GtkPreview uses GdkRGB.
      6d4e0509
    • Sven Neumann's avatar
      require GLib-1.3.10, GTK+-1.3.10 and Pango-0.21 · 294e7a1b
      Sven Neumann authored
      2001-10-28  Sven Neumann  <sven@gimp.org>
      
              * configure.in: require GLib-1.3.10, GTK+-1.3.10 and Pango-0.21
      
              * RELEASE-TO-CVS.patch
              * libgimpbase/gimpparasiteio.c
              * libgimpwidgets/gimpstock.c
              * plug-ins/ifscompose/ifscompose_storage.c: applied the patch and
              emptied the patch file.
      
              * libgimp/gimpgradientmenu.c: corrected order of parameters in call
              to gimp_gradients_get_gradient_data().
      
              * tools/pdbgen/pdb/palette.pdb: I think this is how Nathan wanted it
              to be.
      
              * app/pdb/palette_cmds.c
              * libgimp/gimppalette_pdb.[ch]: regenerated.
      294e7a1b
    • Nate Summers's avatar
      the autogenerated code for gimp_palette_get_entry won't compile. Temporary · e64b8c8c
      Nate Summers authored
              * gimppalette_pdb.c: the autogenerated code for
              gimp_palette_get_entry won't compile.  Temporary kludge so that it
              will compile and work correctly.
      e64b8c8c
    • Nate Summers's avatar
      the autogenerated code for gimp_palette_get_entry won't compile. Temporary · 54ca4347
      Nate Summers authored
      
       	* gimppalette_pdb.c: the autogenerated code for
       	gimp_palette_get_entry won't compile.  Temporary kludge so that it
       	will compile and work correctly.
      54ca4347
    • Nate Summers's avatar
      *** empty log message *** · bab6fb86
      Nate Summers authored
      bab6fb86
    • Nate Summers's avatar
      app/plug_in.c libgimp/gimp.c libgimpbase/gimpbasetypes.h · 6ffaf731
      Nate Summers authored
      
       	* app/plug_in.c
       	* libgimp/gimp.c
      	* libgimpbase/gimpbasetypes.h
       	* libgimpbase/gimpprotocol.c
       	* libgimpbase/gimpprotocol.h
       	* tools/pdbgen/pdb/palette.pdb: added preliminary pdb support to
       	manipulate palettes.  Incremented plugin interface version number.
      
       	* app/pdb/internal_procs.c
       	* app/pdb/palette_cmds.c
       	* app/pdb/procedural_db.c
      	* app/pdb/procedural_db_cmds.c
      	* libgimp/gimppalette_pdb.c
      	* libgimp/gimppalette_pdb.h
       	* plug-ins/script-fu/script-fu-constants.c
       	* tools/pdbgen/enums.pl: regenerated
      6ffaf731
  8. 27 Oct, 2001 1 commit
  9. 26 Oct, 2001 2 commits
  10. 25 Oct, 2001 5 commits
    • Michael Natterer's avatar
      app/core/gimpbrushgenerated.h app/core/gimpbrushpipe.h · 6eeec175
      Michael Natterer authored
      2001-10-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpbrushgenerated.h
      	* app/core/gimpbrushpipe.h
      	* app/core/gimpbuffer.h
      	* app/core/gimpdatafactory.h
      	* app/core/gimpdrawable.h
      	* app/core/gimpgradient.h
      	* app/core/gimpimage.h: added some missing FOO_GET_CLASS() macros.
      6eeec175
    • Michael Natterer's avatar
      forgot one dir again... · 106ef352
      Michael Natterer authored
      106ef352
    • Michael Natterer's avatar
      removed gradients_get_gradient_data() here... · 552e2671
      Michael Natterer authored
      2001-10-26  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/gradient_select.pdb: removed
      	gradients_get_gradient_data() here...
      
      	* tools/pdbgen/pdb/gradients.pdb: ...and added it here.
      
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/internal_procs.c
      	* libgimp/gimpgradients_pdb.[ch]
      	* libgimp/gimpgradientselect_pdb.[ch]: regenerated.
      
      	* app/core/gimpgradient.h: added GIMP_GRADIENT_DEFAULT_SAMPLE_SIZE
      	here...
      
      	* app/gui/gradient-select.h: ...removed it here.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpgradientselect.[ch]: removed. We don't wrap
      	_gradients_get_gradient_data() with gradients_get_gradient_data()
      	any more but call the PDB wrapper directly.
      
      	API CHANGE: Arguments 2 and 3 are swapped now!
      
      	* plug-ins/FractalExplorer/Dialogs.c: changed accordingly.
      552e2671
    • Michael Natterer's avatar
      oops... · 057ce3f4
      Michael Natterer authored
      057ce3f4
    • Michael Natterer's avatar
      generate app/file/Makefile · 8b5b8df8
      Michael Natterer authored
      2001-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: generate app/file/Makefile
      
      	* app/Makefile.am
      	* app/file-open.[ch]
      	* app/file-save.[ch]
      	* app/file-utils.[ch]: removed...
      
      	* app/file/Makefile.am
      	* app/file/file-open.[ch]
      	* app/file/file-save.[ch]
      	* app/file/file-utils.[ch]: ...and added here.
      
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* tools/pdbgen/pdb/fileops.pdb: changed includes accordingly.
      
      	* app/app_procs.[ch]: removed app_exit_finish() and
      	app_exit_finish_done() from the public API, call gtk_main() here,
      	pass "no_data" to gimp_new() and "restore_session" to
      	gui_restore().
      
      	* app/main.c: removed global variable "double_speed", don't
      	call gtk_main() in main.c. Added some missing log domains.
      
      	* app/appenv.h: removed "double_speed".
      
      	* app/core/gimp.[ch]: added "gboolean no_data" property which
      	must be passed to gimp_new().
      
      	* app/display/gimpdisplay-foreach.[ch]: added gdisplays_set_busy()
      	and gdisplays_unset_busy().
      
      	* app/gui/about-dialog.c: don't include "appenv.h", declare
      	"double_speed" extern.
      
      	* app/gui/brush-select.[ch]
      	* app/gui/gradient-select.[ch]
      	* app/gui/palette-select.[ch]
      	* app/gui/pattern-select.[ch]: made the list of dialogs and the
      	global selection dialogs private. Added functions which get a
      	dialog by PDB callback_name. Pass a "Gimp" and the callback_name
      	to the constructors. Don't include "app_procs.h" for "the_gimp"
      	and "appenv.h" for "no_data" any more. Use the passed "Gimp"
      	instead and look at gimp->no_data.
      
      	* app/gui/toolbox.[ch]: pass a "Gimp" to the constructor.
      
      	* app/gui/gui.[ch]: use the new gdisplays_[un]set_busy() functions,
      	use the passed "Gimp" all over the place, don't include
      	"appenv.h" and "app_procs.h". gui_really_quit_dialog() takes
      	a "quit_func" callback now and calls it instead of calling
      	app_exit_finish() (which is now private) directly.
      
      	* app/gui/convert-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/palette-import-dialog.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: changed accordingly.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/fileops_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/pattern_select_cmds.c: regenerated.
      
      2001-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: app/file-*.c -> app/file/file-*.c
      8b5b8df8
  11. 24 Oct, 2001 5 commits
    • Sven Neumann's avatar
      merged Raphaels patch for bug #56598 from the stable branch. · 21cc5af7
      Sven Neumann authored
      2001-10-24  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/perl/examples/glowing_steel: merged Raphaels patch for
      	bug #56598 from the stable branch.
      21cc5af7
    • Sven Neumann's avatar
      merged Raphaels patch for bug #51114 from the stable branch. · 9ce63151
      Sven Neumann authored
      2001-10-24  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpexport.c: merged Raphaels patch for bug #51114 from the
      	stable branch.
      
      	* plug-ins/common/grid.c: merged the fix for indexed images from the
      	stable branch.
      9ce63151
    • Michael Natterer's avatar
      f531d3af
    • Michael Natterer's avatar
      app/file-open.c app/file-utils.c app/gimprc.c app/plug_in.c · 840a9700
      Michael Natterer authored
      2001-10-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/file-open.c
      	* app/file-utils.c
      	* app/gimprc.c
      	* app/plug_in.c
      	* app/user_install.c
      	* app/base/base.c
      	* app/base/temp-buf.c
      	* app/core/gimpdata.c
      	* app/core/gimpdatafiles.c
      	* app/core/gimpimagefile.c
      	* app/gui/about-dialog.c
      	* app/gui/file-open-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/gui/gui.c
      	* app/gui/menus.c
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimplevelstool.c
      	* libgimpbase/gimpenv.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* tools/pdbgen/pdb/fileops.pdb: use g_build_filename() all over
      	the place instead of g_strconcat() and friends together with
      	G_DIR_SEPARATOR_S. Also removed all attempts to manually detect
      	double dir separators. LibGimpBase's searchpath utility functions
      	don't append a G_DIR_SEPARATOR_S to all paths any more.
      
      	* app/pdb/fileops_cmds.c: regenerated.
      840a9700
    • Michael Natterer's avatar
      added gimp_button_extended_clicked() which emits the resp. signal. · f766956e
      Michael Natterer authored
      2001-10-24  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpbutton.[ch]: added
      	gimp_button_extended_clicked() which emits the resp. signal.
      
      	* app/gui/menus.[ch]: added new item factories "<Buffers>" and
      	"<Documents>".
      
      	* app/gui/Makefile.am
      	* app/gui/buffers-commands.[ch]
      	* app/gui/documents-commands.[ch]: new files for the callbacks.
      
      	* app/gui/dialogs-constructors.c: use them.
      
      	* app/gui/file-open-dialog.c: set the title to "Open Image",
      	not "Load Image".
      f766956e
  12. 23 Oct, 2001 2 commits
    • Michael Natterer's avatar
      updated. · 1261ba7b
      Michael Natterer authored
      2001-10-23  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: updated.
      1261ba7b
    • Michael Natterer's avatar
      pass a "Gimp" to gui_libs_init(), initialize the GUI before initializing · 0da978b8
      Michael Natterer authored
      2001-10-23  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c: pass a "Gimp" to gui_libs_init(), initialize
      	the GUI before initializing the plug-ins.
      
      	* app/gui/menus.[ch]: removed menus_last_opened_add() and connect
      	to gimp->documents' "add", "remove" and "reorder" signals to
      	auto-update the "last opened" menu entries. Moved all public
      	functions to the top of the file. Removed global variable
      	"last_opened_raw_filenames".
      
      	* app/gui/gui.[ch]: removed "last opened" fiddling here, moved
      	menu init functions which need to be called after plug-in query
      	to gui_restore().
      
      	* app/gui/session.[ch]: added "Gimp" parameters to all public
      	functions.
      
      	* app/file-save.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c: changed accordingly.
      0da978b8