1. 05 Dec, 2003 1 commit
    • Michael Natterer's avatar
      libgimp/gimp.h libgimp/gimpbrushmenu.h libgimp/gimpbrushselect.[ch] · 7efa81d1
      Michael Natterer authored
      2003-12-05  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimp.h
      	* libgimp/gimpbrushmenu.h
      	* libgimp/gimpbrushselect.[ch]
      	* libgimp/gimpfontmenu.[ch]
      	* libgimp/gimpfontselect.[ch]
      	* libgimp/gimpgradientmenu.h
      	* libgimp/gimpgradientselect.[ch]
      	* libgimp/gimpmenu.h
      	* libgimp/gimpmisc.[ch]
      	* libgimp/gimpmiscui.[ch]
      	* libgimp/gimppatternmenu.h
      	* libgimp/gimppatternselect.[ch]
      	* libgimp/gimppixelrgn.[ch]
      	* libgimp/gimpproceduraldb.c
      	* libgimp/gimpselection.c
      	* libgimp/gimptile.h
      	* libgimp/gimptypes.h
      	* libgimp/gimpui.h
      	* libgimp/gimpuitypes.h
      	* libgimp/libgimp-intl.h
      	* libgimp/stdplugins-intl.h
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimpdatafiles.c
      	* libgimpbase/gimpenv.c
      	* libgimpbase/gimpparasite.[ch]
      	* libgimpbase/gimpparasiteio.[ch]
      	* libgimpbase/gimpsignal.[ch]
      	* libgimpbase/gimputils.c
      	* libgimpcolor/gimpadaptivesupersample.[ch]
      	* libgimpcolor/gimpbilinear.[ch]
      	* libgimpmath/gimpmath.h
      	* libgimpmath/gimpmathtypes.h
      	* libgimpwidgets/gimpbutton.[ch]
      	* libgimpwidgets/gimpchainbutton.h
      	* libgimpwidgets/gimpcolorarea.[ch]
      	* libgimpwidgets/gimpcolornotebook.h
      	* libgimpwidgets/gimpcolorscale.[ch]
      	* libgimpwidgets/gimpcolorscales.h
      	* libgimpwidgets/gimpcolorselect.h
      	* libgimpwidgets/gimpoffsetarea.h
      	* libgimpwidgets/gimppixmap.[ch]: removed trailing whitespace.
      7efa81d1
  2. 02 Jan, 2002 1 commit
    • Michael Natterer's avatar
      made a warning more verbose. · 3fe3da1c
      Michael Natterer authored
      2002-01-02  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimppixmap.c: made a warning more verbose.
      
      	* libgimpwidgets/gimppixmap.h: no need to fiddle around with evil
      	#defines now that it's ported to GtkImage.
      3fe3da1c
  3. 31 Dec, 2001 1 commit
    • Manish Singh's avatar
      add a shadow to the scrolled window, so it looks nicer · f4d59f28
      Manish Singh authored
      2001-12-30  Manish Singh  <yosh@gimp.org>
      
              * app/gui/module-browser.c: add a shadow to the scrolled window, so
              it looks nicer
      
              * libgimpwidgets/gimpbutton.c: try to restore gtk_widget_draw behavior
      
              * libgimpwidgets/gimpoffsetarea.c
              * libgimpwidgets/gimppixmap.[ch]: compile with GTK_DISABLE_DEPRECATED
      
      -Yosh
      f4d59f28
  4. 02 Dec, 2001 1 commit
    • Sven Neumann's avatar
      use g_tree_foreach() instead of deprecated g_tree_traverse(). · 83468fca
      Sven Neumann authored
      2001-12-02  Sven Neumann  <sven@gimp.org>
      
      	* app/plug-in/plug-in.c: use g_tree_foreach() instead of deprecated
      	g_tree_traverse().
      
      	* app/undo_history.c
      	* app/display/gimpdisplayshell-selection.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/about-dialog.c
      	* app/gui/color-area.c
      	* app/gui/color-select.c
      	* app/gui/gradient-editor.c
      	* app/gui/gui.c
      	* app/gui/paths-dialog.c
      	* app/gui/user-install-dialog.c
      	* app/tools/gimpcurvestool.c
      	* app/tools/gimpinktool.c
      	* app/widgets/gimpcursor.c
      	* app/widgets/gimpnavigationpreview.c
      	* libgimpwidgets/gimpchainbutton.c
      	* libgimpwidgets/gimppixmap.c
      	* plug-ins/common/animationplay.c
      	* plug-ins/common/uniteditor.c
      	* plug-ins/ifscompose/ifscompose.c: s/gdk_gc_unref/g_object_unref/,
      	s/gdk_drawable_unref/g_object_unref/
      83468fca
  5. 21 Sep, 2001 1 commit
    • Michael Natterer's avatar
      made a real object (GtkDialog subclass) out of it. The API will change · cb474a08
      Michael Natterer authored
      2001-09-20  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpdialog.[ch]: made a real object (GtkDialog
      	subclass) out of it. The API will change soon too.
      
      	* libgimpwidgets/gimpwidgetstypes.h: added GimpDialog typedef.
      
      	* libgimpwidgets/gimpbutton.[ch]
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimpcolorarea.[ch]
      	* libgimpwidgets/gimpcolorbutton.[ch]
      	* libgimpwidgets/gimpfileselection.[ch]
      	* libgimpwidgets/gimpoffsetarea.[ch]
      	* libgimpwidgets/gimppatheditor.[ch]
      	* libgimpwidgets/gimppixmap.c
      	* libgimpwidgets/gimpsizeentry.c
      	* libgimpwidgets/gimpunitmenu.c: removed GtkType stuff and use
      	GType in all get_type() functions. Some random GObject porting.
      
      	* app/gui/info-dialog.c
      	* app/gui/info-window.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpcroptool.c
      	* app/tools/gimpmeasuretool.c
      	* app/tools/gimptransformtool.c: changed accordingly.
      cb474a08
  6. 10 Aug, 2001 1 commit
    • Michael Natterer's avatar
      fix compiler warning. · 2353c5d3
      Michael Natterer authored
      2001-08-10  Michael Natterer  <mitch@convergence.de>
      
      	* app/nav_window.c: fix compiler warning.
      
      	* app/core/gimp.[ch]: added gimp->documents which will be an MRU
      	list of GimpImagefile objects.
      
      	* app/core/gimpcontainer.c: added some g_return_if_fail().
      
      	* app/gui/palette-editor.c: use GtkImage instead of GtkPixmap,
      	s/gtk_signal_*/g_signal_*/.
      
      	* app/widgets/gimppreview.c: render the checkerboard only for
      	channel == -1. In particular, don't render it for channel
      	previews.
      
      	* app/module_db.c
      	* app/core/*.c
      	* app/gui/colormap-dialog.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/tool_manager.c
      	* app/widgets/*.c
      	* libgimpwidgets/*.c: s/gtk_type_new/g_object_new/
      2353c5d3
  7. 03 Aug, 2001 1 commit
  8. 31 Jul, 2001 1 commit
  9. 24 Jul, 2001 1 commit
    • Michael Natterer's avatar
      Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) · 06b16890
      Michael Natterer authored
      2001-07-24  Michael Natterer  <mitch@gimp.org>
      
      	Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
      
      	* configure.in: require glib/gtk+ >= 1.3.7, commented out the
      	gtkxmhtml stuff.
      
      	From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
      	to hack or use GIMP HEAD.
      
      	Beware, it crashes randomly :)
      
      	* app/core/Makefile.am
      	* app/core/gimpmarshal.list: new file plus rules to generate
      	gimpmarshal.[ch] from it.
      
      	* app/core/*
      	* app/tools/*
      	* app/widgets/*
      	* libgimpwidgets/*: started to use the glib object system. All
      	core/ objects are still gtk objects however. All signals are
      	created using g_signal_new(). There are many gtk+ artefacts left.
      	Finally, we will _not_ use the gtk_signal_foo() wrappers and
      	friends any more.
      
      	* app/colormaps.c
      	* app/devices.[ch]
      	* app/disp_callbacks.c
      	* app/errorconsole.c
      	* app/file-save.[ch]
      	* app/interface.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/ops_buttons.c
      	* app/scroll.c
      	* app/user_install.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradients-commands.c
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.[ch]
      	* app/gui/layer-select.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.[ch]
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimpui.c
      	* libgimpbase/gimpenv.c: tons and tons of changes like "const
      	gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
      	and currently disables), lots of s/gtk_signal/g_signal/,
      	removal/replacement of deprecated stuff,
      	s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
      	while I was on it, zillions of warnings left...
      
      	* modules/Makefile.am: disabled the water color selector
      	temporarily (XInput issues).
      
      	* plug-ins/Makefile.am
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
      	which did not build (including Script-Fu). They are trivial to
      	fix.
      06b16890
  10. 06 May, 2001 2 commits
    • Sven Neumann's avatar
      libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgets.h · 163b18cd
      Sven Neumann authored
      2001-05-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetstypes.h
      	* libgimpwidgets/gimpoffsetarea.c
      	* libgimpwidgets/gimpoffsetarea.h: new widget GimpOffsetArea cut
      	of the resize dialog, allows to interactively specify offsets when
      	resizing images or drawables.
      
      	* libgimpwidgets/gimppixmap.c: removed empty destroy method.
      
      	* app/resize.c: use new GimpOffsetArea.
      163b18cd
    • Michael Natterer's avatar
      libgimpwidgets/Makefile.am new widget derived from GtkButton. It adds an · 10afaf8d
      Michael Natterer authored
      2001-05-06  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpbutton.[ch]: new widget derived from
      	GtkButton.  It adds an "extended_clicked" signal which is emitted
      	instead of "clicked" if a modifier was pressed.
      
      	* libgimpwidgets/gimpchainbutton.[ch]
      	* libgimpwidgets/gimppixmap.[ch]: removed the opaque typedefs.
      
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetstypes.h: and added them here. Added
      	GimpButton.
      
      	* app/widgets/gimpdrawablelistview.c: use GimpButtons for "Raise"
      	and "Lower" and raise/lower to top/bottom on shift-click.
      10afaf8d
  11. 04 Mar, 2001 1 commit
    • Chyla Zbigniew's avatar
      libgimpwidgets/gimppixmap.c (gimp_color_button_destroy): Move variable · 5d0edd70
      Chyla Zbigniew authored
      
      * app/commands.c (image_scale_callback),
      libgimpwidgets/gimpchainbutton.c (gimp_chain_button_destroy),
      libgimpwidgets/gimpcolorbutton.c (gimp_color_button_destroy):
      libgimpwidgets/gimppixmap.c (gimp_color_button_destroy):
      Move variable assignments out of assertions to allow compilation
      with "G_DISABLE_ASSERT" defined.
      5d0edd70
  12. 18 Nov, 2000 1 commit
    • Michael Natterer's avatar
      app/fileops.c Make sure that we don't try to destroy query_boxes twice or · cdd0a514
      Michael Natterer authored
      2000-11-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/fileops.c
      	* libgimp/gimpquerybox.[ch]: Make sure that we don't try to destroy
      	query_boxes twice or try to disconnect not-any-more connected
      	handlers.
      
      	* app/color_notebook.c
      	* app/gimpcontext.[ch]
      	* app/gimphelp.[ch]
      	* app/lc_dialog.[ch]
      	* app/menus.h
      	* app/preferences_dialog.c
      	* app/tools.[ch]
      	* libgimp/gimpcolorbutton.[ch]
      	* libgimp/gimpdialog.[ch]
      	* libgimp/gimpexport.[ch]
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimphelpui.[ch]
      	* libgimp/gimppatheditor.[ch]
      	* libgimp/gimppixmap.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpui.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: in a coding attack, changed help_data
      	and many other strings passed to UI functions to (const gchar *).
      	As a consequence, I had to fix lots of warnings ;)
      
      	* plug-ins/common/tga.c
      	* plug-ins/imagemap/imap_main.c: fixed warnings.
      
      	Code cleanup and indentation all over the place.
      cdd0a514
  13. 09 Aug, 2000 1 commit
    • Michael Natterer's avatar
      make_initialization_status_window(): reverse logic for if(!no_interface && · 84e80a7f
      Michael Natterer authored
      2000-08-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c: make_initialization_status_window(): reverse
      	logic for if(!no_interface && !no_splash)
      
      	* app/palette.[ch]: removed declarations of the two removed
      	functions. One more s/gint/gboolean/.
      
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimppixmap.[ch]: some consistency fixes (mostly fanatic :)
      
      	* libgimp/gimpproceduraldb.c: fixed a compiler warning.
      84e80a7f
  14. 30 May, 2000 1 commit
  15. 26 Feb, 2000 1 commit
  16. 22 Feb, 2000 1 commit
    • Michael Natterer's avatar
      app/color_area.[ch] pass masks for the "default" and "swap" pixmaps to the · a4f6d59a
      Michael Natterer authored
      2000-02-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_area.[ch]
      	* app/interface.c: pass masks for the "default" and "swap" pixmaps
      	to the color_area constructor and use them to create a clip mask
      	in color_area_draw().
      
      	* app/datafiles.[ch]: some harmless cleanups.
      
      	* libgimp/gimppixmap.c: use gtk_pixmap_set_build_insensitive()
      	instead of accessing the field directly.
      a4f6d59a
  17. 21 Feb, 2000 2 commits
    • Michael Natterer's avatar
      fixed a gtk-doc comment. · ed071953
      Michael Natterer authored
      2000-02-21  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimppixmap.c: fixed a gtk-doc comment.
      
      	* libgimp/gimpenv.[ch]: new functions:
      
      	- gimp_path_parse(): Creates a GList of strings from a searchpath
      	  string and performs sanity checks.
      	- gimp_path_to_str(): Creates a searchpath string from the list
      	  returned by gimp_path_parse().
      	- gimp_path_free(): Frees the list returned by gimp_path_parse().
      	- gimp_path_get_user_writable_dir(): Returns the first dir in a
      	  path where the user has write access. With this function the
      	  "Save" dialogs of some plugins always show the plugin's
      	  subdirectory of the user's gimp_dir instead of the read-only
      	  global one.
      
      	* app/datafiles.[ch]
      	* app/gimpbrushlist.c: use the new functions and
      	s/datafile_loader_t/GimpDataFileLoaderFunc/.
      
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/FractalExplorer/FractalExplorer.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gimpressionist/gimpressionist.c: use the new functions.
      ed071953
    • Michael Natterer's avatar
      app/perspective_tool.c app/rotate_tool.c app/scale_tool.c app/shear_tool.c · 0a5fadee
      Michael Natterer authored
      2000-02-21  Michael Natterer  <mitch@gimp.org>
      
      	* app/perspective_tool.c
      	* app/rotate_tool.c
      	* app/scale_tool.c
      	* app/shear_tool.c
      	* plug-ins/common/gauss_iir.c
      	* plug-ins/common/gauss_rle.c: fix Solaris compilation problems
      	reported by Ludovic Poitou <ludovic.poitou@france.sun.com>.
      
      	* libgimp/gimppixmap.[ch]: new function gimp_pixmap_set().
      
      	* plug-ins/gfig/gfig.c: hacked the ui to use the libgimp widgets &
      	constructors and slightly reorganized it to use fewer screen
      	space (not yet perfect). Did a general namespace & code cleanup.
      
      	* plug-ins/FractalExplorer/FractalExplorer.c: use a GimpPathEditor
      	widget.
      0a5fadee
  18. 19 Feb, 2000 1 commit
    • Michael Natterer's avatar
      gimp_pixmap_new(): set the widget's requisition so it can be properly · 5d57b999
      Michael Natterer authored
      2000-02-19  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimppixmap.c: gimp_pixmap_new(): set the widget's
      	requisition so it can be properly packed before it's realized.
      
      	* libgimp/gimpwidgets.[ch]: added a "text" parameter to
      	gimp_pixmap_button_new().
      
      	* app/undo_history.c: use gimp_pixmap_buttons.
      
      	* app/gradient.c
      	* app/nav_window.c
      	* app/palette.c
      	* libgimp/gimppatheditor.c
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c: changed calls to
      	gimp_pixmap_button_new().
      
      	* plug-ins/MapObject/mapobject_main.c: INIT_I18N() was missing in
      	query().
      
      	* plug-ins/pagecurl/pagecurl.c: use GimpVector2 functions instead
      	of reinventing the wheel.
      
      	* plug-ins/helpbrowser/helpbrowser.c: use gimp_pixmap_buttons.
      
      	* plug-ins/helpbrowser/back.xpm
      	* plug-ins/helpbrowser/forward.xpm: cropped.
      5d57b999
  19. 18 Feb, 2000 1 commit
    • Michael Natterer's avatar
      libgimp/Makefile.am simple widget which creates a pixmap from XPM data · f9f4411f
      Michael Natterer authored
      2000-02-18  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/Makefile.am
      	* libgimp/gimppixmap.[ch]: simple widget which creates a pixmap
      	from XPM data without the need to worry about it's parent's
      	"realized" state and other stuff.
      
      	* libgimp/gimpcolorbutton.c: removed a gtk-doc comment from an
      	internal function.
      
      	* libgimp/gimpwidgets.[ch]: new function gimp_pixmap_button_new().
      
      	* app/gimpui.h
      	* libgimp/gimpui.h: include gimppixmap.h.
      
      	* app/gradient.c
      	* app/nav_window.c
      	* app/palette.c
      	* libgimp/gimpfileselection.[ch]
      	* libgimp/gimppatheditor.c
      	* libgimp/gimpquerybox.c
      	* plug-ins/FractalExplorer/FractalExplorer.c: use GimpPixmaps.
      
      	* plug-ins/Lighting/*
      	* plug-ins/MapObject/*: some more cleanups: reduced # of includes,
      	made private functions static, use GimpPixmaps.
      
      	* plug-ins/libgck/Makefile.am
      	* plug-ins/libgck/NEWS
      	* plug-ins/libgck/README
      	* plug-ins/libgck/TODO
      	* plug-ins/libgck/docs/html/gck.html
      	* plug-ins/libgck/docs/html/gck_application_window.html
      	* plug-ins/libgck/docs/html/gck_dialog_window.html
      	* plug-ins/libgck/docs/html/gckmath.html
      	* plug-ins/libgck/docs/html/gckui.html
      	* plug-ins/libgck/docs/html/gckvector.html: removed because they
      	documented files which don't exist any more.
      f9f4411f