1. 18 Nov, 2002 3 commits
    • Michael Natterer's avatar
      removed public function gimp_transform_tool_transform_tiles() and made it · c8a98076
      Michael Natterer authored
      2002-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptransformtool.[ch]: removed public function
      	gimp_transform_tool_transform_tiles() and made it the default
      	implementation of the transform() virtual function. Added
      	"const gchar *progress_text" to GimpTransformTool so it is
      	available for the new default implementation. Cleanup.
      
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c: removed transform() implementations
      	and set transform_tool->progress_text accordingly. Even more
      	cleanup.
      c8a98076
    • Michael Natterer's avatar
      removed unneeded #includes. · 80a11562
      Michael Natterer authored
      2002-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/tool_manager.c: removed unneeded #includes.
      80a11562
    • Michael Natterer's avatar
      removed the "feature" of creating dialogs without action area by passing · 009e8349
      Michael Natterer authored
      2002-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpdialog.c: removed the "feature" of creating
      	dialogs without action area by passing "_delete_event_" as button
      	text. Also changed the delete_event() implementation: don't
      	remember a callback and call it manually but gtk_widget_activate()
      	the button for which "connect_delete" was passed as TRUE.
      
      	* app/gui/test-commands.c: added a "Close" button to the multi view.
      
      	* app/gui/brush-select.[ch]
      	* app/gui/gradient-select.[ch]
      	* app/gui/palette-select.[ch]
      	* app/gui/pattern-select.[ch]: ditto. Removed the "context"
      	parameter of the *_select_new() functions. All sorts of cleanups
      	in all dialogs.
      
      	* app/gui/convert-dialog.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/palette_select.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb: changed accordingly.
      
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/palette_select_cmds.c
      	* app/pdb/pattern_select_cmds.c: regenerated.
      009e8349
  2. 17 Nov, 2002 8 commits
  3. 16 Nov, 2002 1 commit
    • Manish Sing's avatar
      use g_spawn_async now. If the OS/2 port is still being maintained, there · 303e5c6a
      Manish Sing authored
      2002-11-16  Manish Sing  <yosh@gimp.org>
      
              * app/plug-in/plug-in.c: use g_spawn_async now. If the OS/2 port
              is still being maintained, there needs to be work done Glib side.
              If not, we should probably drop the other support code.
      
              * app/plug-in/plug-in.h: remove unused Win32 only structure members
      303e5c6a
  4. 14 Nov, 2002 2 commits
    • Michael Natterer's avatar
      Transform tool cleanup: · 7ee99ea3
      Michael Natterer authored
      2002-11-14  Michael Natterer  <mitch@gimp.org>
      
      	Transform tool cleanup:
      
      	* libgimptool/gimptoolenums.[ch]: removed the TransformState enum.
      
      	* app/tools/gimptransformtool.[ch]: don't dispatch everything
      	through the transform() virtual function. Added new vitrual
      	functions dialog(), prepare(), motion() and recalc(). Do only the
      	actual transform in transform(). Moved lots of logic which was
      	duplicated in each subclass' transform() here. Cleanup.
      
      	* app/tools/gimpfliptool.c
      	* app/tools/gimpperspectivetool.c
      	* app/tools/gimprotatetool.c
      	* app/tools/gimpscaletool.c
      	* app/tools/gimpsheartool.c: changed accordingly: moved code from
      	transform() to the other method imlementations. Removed duplicated
      	logic which is now done by our parent class. Makes everything
      	smaller and more readable.
      
      	InfoDialog cleanup:
      
      	* app/gui/info-dialog.c: removed the "delete_event" callback so
      	InfoDialog users can decide themselves what to do.
      
      	* app/gui/info-window.c
      	* app/tools/gimpmeasuretool.c: changed accordingly.
      
      	* app/tools/gimpcolorpickertool.c: ditto. Moved info_dialog
      	creation to a utility function to improve code readbility.
      
      	* app/tools/gimpcroptool.c: ditto. Added a "Cancel" button which
      	really cancels the tool instead of just hiding the dialog.
      
      	* app/tools/gimptransformtool.c: added a "Cancel" button here too.
      7ee99ea3
    • Michael Natterer's avatar
      removed the old hack which sets tool->gdisp. Fixes bug #98056. · 1f3bd288
      Michael Natterer authored
      2002-11-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/tools-commands.c (tools_select_cmd_callback): removed
      	the old hack which sets tool->gdisp. Fixes bug #98056.
      
      	* app/tools/gimpimagemaptool.c (gimp_image_map_tool_initialize):
      	set tool->gdisp here because the hack was there for tools which
      	implement initialize() and show dialogs when selected from the
      	menu. Also fixed wrong paramater to gimp_viewable_dialog_new().
      1f3bd288
  5. 12 Nov, 2002 3 commits
    • Sven Neumann's avatar
      check for NULL masks returned from the brush scaler. Should fix crashes · 26c373c9
      Sven Neumann authored
      2002-11-12  Sven Neumann  <sven@gimp.org>
      
      	* app/paint/gimppaintcore.c: check for NULL masks returned from
      	the brush scaler. Should fix crashes with buggy input devices.
      	Fix suggested by Jim Meyer <jim@dsdd.org> (#91067).
      26c373c9
    • Michael Natterer's avatar
      use GTK_STOCK_REMOVE for "<Dialogs>/Remove Tab". · d932f87c
      Michael Natterer authored
      2002-11-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/menus.c: use GTK_STOCK_REMOVE for "<Dialogs>/Remove Tab".
      d932f87c
    • Manish Singh's avatar
      don't say "Now type 'make'" if configure failed. · 2eef2afb
      Manish Singh authored
      2002-11-11  Manish Singh  <yosh@gimp.org>
      
              * autogen.sh: don't say "Now type 'make'" if configure failed.
      
              * app/core/Makefile.am
              * app/core/core-types.h
              * app/core/gimpenvirontable.[ch]: Implemented GimpEnvironTable,
              keeps an envp array built from system environment and *.env files.
      
              * app/core/gimp.[ch]: keep a GimpEnvironTable around.
      
              * app/gimprc.c
              * app/config/gimpcoreconfig.[ch]
              * app/core/gimpcoreconfig.h
              * app/gui/preferences-dialog.c
              * app/gui/user-install-dialog.c: environ-path config stuff
      
              * themes/Default/images/preferences/Makefile.am
              * themes/Default/images/preferences/folder-environ.png: just copied
              folder.png here, need a better one.
      
              * app/plug-in/plug-in.c: quick hack to use the envp in the
              GimpEnvironTable. Only on unix now, should really port the
              code to use g_spawn_*.
      
              * data/misc/user_install
              * etc/gimprc.in: add environ-path stuff
      
              * data/environ/Makefile: creates system environ directory.
      
              * data/environ/default.env: sample env file info.
      
              * data/Makefile.am
              * configure.in: added data/environ dir
      
              * plug-ins/pygimp/Makefile.am: python module files get put in
              $(gimpplugindir)/python now, install pygimp.env to point to it.
      
              * plug-ins/pygimp/doc/Makefile.am: minor clean up.
      2eef2afb
  6. 09 Nov, 2002 3 commits
  7. 07 Nov, 2002 2 commits
    • Sven Neumann's avatar
      removed mydistcheck hook. · af16c6ee
      Sven Neumann authored
      2002-11-07  Sven Neumann  <sven@gimp.org>
      
      	* Makefile.am: removed mydistcheck hook.
      
      	* app/base/Makefile.am
      	* app/paint-funcs/Makefile.am: removed automake-1.4 and 1.5 specific
      	stuff; made it work correctly for srcdir != builddir.
      
      	* tools/pdbgen/Makefile.am: do not to write into the source tree.
      
      2002-11-07  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am
      	* libgimpcolor/Makefile.am
      	* libgimpmath/Makefile.am
      	* libgimpmodule/Makefile.am
      	* libgimpwidgets/Makefile.am: added uninstall hooks.
      af16c6ee
    • Sven Neumann's avatar
      fixed a bug spotted by Jim Meyer (#97911) and added a missing call to · 5fb6dde5
      Sven Neumann authored
      2002-11-07  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpbrushpreview.c
      	(gimp_brush_preview_render_timeout_func): fixed a bug spotted
      	by Jim Meyer (#97911) and added a missing call to
      	gtk_widget_queue_draw().
      5fb6dde5
  8. 06 Nov, 2002 2 commits
    • Sven Neumann's avatar
      don't say we'd use MMX if it is disabled. · 2ef9706b
      Sven Neumann authored
      2002-11-06  Sven Neumann  <sven@gimp.org>
      
      	* app/base/base.c (base_init): don't say we'd use MMX if it is
      	disabled.
      
      	* libgimpmodule/gimpmodule.[ch]
      	* app/gui/module-browser.c: changed enum values and user-visible
      	strings to saner values.
      
      	* libgimpmodule/gimpmoduledb.c
      	* plug-ins/tools/tool-safe-mode.c: made them less verbose.
      2ef9706b
    • Sven Neumann's avatar
      app/xcf/xcf-save.c save as XCF version 2 if one of the new layer modes is · 8df640e4
      Sven Neumann authored
      2002-11-06  Sven Neumann  <sven@gimp.org>
      
      	* app/xcf/xcf-save.c
      	* app/xcf/xcf.c: save as XCF version 2 if one of the new layer
      	modes is used.
      
      	* plug-ins/gflare/gflare.c: fixed #97766 along with a couple of
      	other GUI issues.
      8df640e4
  9. 05 Nov, 2002 3 commits
    • Sven Neumann's avatar
      fixed stupid bug that caused this plug-in to map to undefined values. · 63fb9cc8
      Sven Neumann authored
      2002-11-05  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/mapcolor.c: fixed stupid bug that caused this
      	plug-in to map to undefined values. Spotted by David Necas (#97780).
      
      	* tools/authorsgen/contributors: added some names.
      
      	* AUTHORS
      	* app/gui/authors.h: regenerated.
      63fb9cc8
    • Sven Neumann's avatar
      app/base/base-enums.h app/paint-funcs/paint-funcs-generic.h · ace7acd3
      Sven Neumann authored
      2002-11-05  Sven Neumann  <sven@gimp.org>
      
      	* app/base/base-enums.h
      	* app/paint-funcs/paint-funcs-generic.h
      	* app/paint-funcs/paint-funcs.c
      	* app/widgets/gimpwidgets-constructors.c: applied a patch from
      	Guillermo S. Romero that adds three new layer modes (Softlight,
      	Grain Extract and Grain Merge, #97686).
      
      	* app/base/base-enums.c
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/layer_cmds.c
      	* app/pdb/misc_tools_cmds.c
      	* app/widgets/gimpwidgets-constructors.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      ace7acd3
    • Michael Natterer's avatar
      added virtual functions set_toggles_visible() and set_toggles_sensitive(). · 2743f9fa
      Michael Natterer authored
      2002-11-05  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolorselector.[ch]: added virtual functions
      	set_toggles_visible() and set_toggles_sensitive(). Added a
      	stock_id. Emit "color_changed" and "channel_changed" on
      	set_color() and set_channel() resp.
      
      	* libgimpwidgets/gimpcolornotebook.[ch]: implement the new
      	methods.  Added gimp_color_notebook_set_has_page() to control
      	which selectors a notebook contains.
      
      	* libgimpwidgets/gimpcolorscales.[ch]: removed the toggle
      	API and implement the new methods.
      
      	* libgimpwidgets/gimpcolorselect.c: added toggle buttons for the
      	channels so the widget doesn't need external ones.
      
      	* app/gui/color-notebook.c: changed accordingly.
      
      	* libgimpwidgets/gimpstock.[ch]
      	* themes/Default/images/Makefile.am
      	* themes/Default/images/stock-color-triangle-16.png: added a
      	(bad) icon for the triangle color selector.
      
      	* modules/colorsel_triangle.c: use the new icon.
      	* modules/colorsel_water.c: use the "Paintbrush" icon for now.
      
      	* app/widgets/gimpcoloreditor.[ch]: new widget for editing the
      	FG/BG color featuring a color notebook, stock buttons for
      	selecting the pages and a GimpPickButton.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h: changed accordingly.
      
      	* app/gui/dialogs-constructors.[ch]
      	* app/gui/dialogs.c: added a dockable wrapper for GimpColorEditor.
      
      	* app/gui/menus.c: added it to the menus. Also added separate
      	Layers, Channels and Paths entries. Bind <ctrl>L to the new
      	callback so it doesn't always create a new layers dialog.
      2743f9fa
  10. 04 Nov, 2002 3 commits
  11. 02 Nov, 2002 1 commit
  12. 01 Nov, 2002 2 commits
    • Michael Natterer's avatar
      added "gimage" and "uri" parameters to file_open_dialog_show(). If an · 94f8431f
      Michael Natterer authored
      2002-11-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/file-open-dialog.[ch]: added "gimage" and "uri"
      	parameters to file_open_dialog_show(). If an image is passed, go
      	to that image's directory, for an uri, preselect the file.
      	Fixes bug #96779.
      
      	* app/gui/menus.c: pass "action" to file_open_cmd_callback() so we
      	can distinguish if it was invoked from the toolbox or an image.
      
      	* app/gui/file-commands.[ch]: if invoked from an image, pass it to
      	file_open_dialog_show().
      
      	* app/widgets/gimpdocumentview.c: pass the selected document's uri
      	to file_open_dialog_show().
      
      	* app/gui/file-save-dialog.c: use gimp_image_get_filename()
      	instead of fiddling with the image's uri manually.
      94f8431f
    • Michael Natterer's avatar
      app/widgets/gimpdataeditor.c changed some debugging output to say "TODO: · 70363efb
      Michael Natterer authored
      2002-11-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdataeditor.c
      	* app/widgets/gimpimageview.c: changed some debugging output to
      	say "TODO: ...".
      70363efb
  13. 31 Oct, 2002 4 commits
  14. 30 Oct, 2002 3 commits