1. 24 Feb, 2000 2 commits
    • Michael Natterer's avatar
      app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] · 8f4adbad
      Michael Natterer authored
      2000-02-24  Michael Natterer  <mitch@gimp.org>
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushlistP.h
      	* app/gimpbrushpipe.[ch]
      	* app/gimpbrushpipeP.h: did a brushes code-review: indentation,
      	removed some includes, didn't find a bug :-)
      	* app/gradient.c
      	* app/palette.c: we were leaking all gradient and palette preview
      	pixmaps as well as all lists of palette colors on each refresh.
      	* libgimp/gimpenv.c: updated documentation.
    • Michael Natterer's avatar
      fixed a memleak. · 868888fe
      Michael Natterer authored
      2000-02-24  Michael Natterer  <mitch@gimp.org>
      	* app/datafiles.c: fixed a memleak.
      	* app/gimpbrushlist.c
      	* app/gradient.c
      	* app/palette.c: use the gimp_path_* functions, cleanups.
      	* app/gimpbrushpipe.c: call the "destroy" function of the parent
      	class, not of the object class. Fixes a huge memleak on each
      	* app/gimpbrushpipeP.h
      	* app/gimplist.c
      	* app/gimpbrush.c: did some cleanups while searching the brush
      	* libgimp/gimpenv.c: gimp_path_get_user_writable_dir(): return a
      	copy of the string.
      	* plug-ins/FractalExplorer/Dialogs.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c: g_free() the string returned by
  2. 23 Feb, 2000 1 commit
  3. 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.
  4. 20 Feb, 2000 1 commit
  5. 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
      	* 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
      	* plug-ins/MapObject/mapobject_main.c: INIT_I18N() was missing in
      	* 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.
  6. 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.
  7. 16 Feb, 2000 1 commit
    • Sven Neumann's avatar
      Moved some functions out of paths_dialog.c into the new file · 1cde0279
      Sven Neumann authored
      paths.c and did a general namespace cleanup:
      s/PATHP/Path*/  s/PATHIMAGELISTP/PathList/ and friends.
      Paths are now copied on image duplicate (fixes bug #5726).
      Removed Path Tool and XInput Airbrush from the build and
      renamed "Layers & Channels" to "Layers, Channels & Paths".
      Applied patch from Wolfgang Hofer to xjt.c that enables loading
      and saving of paths based on Andy's change explained below.
  8. 13 Feb, 2000 3 commits
  9. 12 Feb, 2000 4 commits
    • Sven Neumann's avatar
      something went wrong with that last commit · 78680b3e
      Sven Neumann authored
    • Michael Natterer's avatar
      fix a warning. · a4572c8f
      Michael Natterer authored
      2000-02-12  Michael Natterer  <mitch@gimp.org>
      	* app/app_procs.c: fix a warning.
      	* app/menus.c: don't allow the help menu item accelerators to be
      	changed. Move all ordinary menu items under "<Toolbox>/Xtns"
      	before the separator without explicitly naming them.
      	* app/session.[ch]: minor cleanups without changing any logic.
    • Michael Natterer's avatar
      app/gdisplay_ops.c app/gradient.c app/palette.c removed the "eek" wilber · 9f92453c
      Michael Natterer authored
      2000-02-12  Michael Natterer  <mitschel@cs.tu-berlin.de>
      	* app/gdisplay_ops.c
      	* app/gradient.c
      	* app/palette.c
      	* plug-ins/gflare/gflare.c: removed the "eek" wilber from all
      	query boxes except the "Quit the GIMP?" warning.
      	* libgimp/gimpfileselection.c
      	* libgimp/gimpunitmenu.c: be a bit more clever with widget signals
      	(destroy, unmap) which affect the widget's sub-dialogs.
      	* libgimp/gimphelpui.c: pass a GtkWindow, not a GtkWidget to
      	* libgimp/gimpquerybox.[ch]: added documentation.
    • Nick Lamb /GIMP's avatar
  10. 11 Feb, 2000 2 commits
  11. 10 Feb, 2000 4 commits
    • Michael Natterer's avatar
      as all boolean query boxes are confirmations for deleting/closing · a90cc52d
      Michael Natterer authored
      2000-02-10  Michael Natterer  <mitch@gimp.org>
      	* libgimp/gimpquerybox.[ch]: as all boolean query boxes are
      	confirmations for deleting/closing something, I added the "eek"
      	wilber (you can still disable the pixmap by passing FALSE to the
      	constructor's "eek" parameter).
      	* app/app_procs.c
      	* app/gdisplay_ops.c
      	* app/gradient.c
      	* app/palette.c
      	* plug-ins/gflare/gflare.c: pass eek==TRUE to the boolean query
      	box constructor.
    • Michael Natterer's avatar
      removed the query boxes. · 9ffed655
      Michael Natterer authored
      2000-02-10  Michael Natterer  <mitch@gimp.org>
      	* app/gimpui.[ch]: removed the query boxes.
      	* po-libgimp/POTFILES.in
      	* libgimp/Makefile.am
      	* libgimp/gimpui.h
      	* libgimp/gimpquerybox.[ch]: new files. Added a boolean query box
      	to get rid of all those handmade "yes/no" query dialogs. Changed
      	the query box callback prototypes to return the entered value
      	instead of a pointer to it.
      	* app/commands.c
      	* app/display_ops.c
      	* app/gradient.c
      	* app/palette.c
      	* app/paths_dialog.c: correctly call the new query box functions
      	and use the boolean query box instead of inventing this wheel over
      	and over again.
      	* app/global_edit.[ch]: same as above and cleaned up the public
    • Sven Neumann's avatar
      i18n fixes · f10909b8
      Sven Neumann authored
    • Michael Natterer's avatar
      Makefile.am new file. · 9cb95b19
      Michael Natterer authored
      2000-02-10  Michael Natterer  <mitch@gimp.org>
      	* Makefile.am
      	* pixmaps/wilber.xpm: new file.
      	* libgimp/gimpdialog.[ch]: uncommented some lines. Depending on
      	your window manager, you'll figure out what it does without having
      	to look at the sources...
      	* app/app_procs.c
      	* app/gradient.c
      	* app/menus.c: minor changes to bring the goodie above to all
      	places. Did dome cleanups.
      	* app/commands.c: I18N fix.
      	* app/channels_dialog.c: removed an unused declaration.
  12. 09 Feb, 2000 1 commit
  13. 08 Feb, 2000 3 commits
  14. 07 Feb, 2000 4 commits
    • Michael Natterer's avatar
      app/* libgimp/* plug-ins/* did a global s/GUnit/GimpUnit/ and · ef178669
      Michael Natterer authored
      2000-02-07  Michael Natterer  <mitch@gimp.org>
      	* app/*
      	* libgimp/*
      	* plug-ins/*
      	* tools/pdbgen/*: did a global s/GUnit/GimpUnit/ and
      	* libgimp/gimpcolorspace.c: renamed the parameter names to match
      	the names in the header.
      	* libgimp/gimphelpui.h
      	* libgimp/gimpimage.c
      	* libgimp/gimpmatrix.h
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpsizeentry.[ch]
      	* libgimp/gimpunit.[ch]
      	* libgimp/gimpunitmenu.[ch]
      	* libgimp/gimpwidgets.[ch]: added documentation and use g* types
      	all over the place (enables cross-referencing with the glib and
      	gtk+ html documentation).
      	* plug-ins/common/exchange.c
      	* plug-ins/common/max_rgb.c: small cleanups.
      	* plug-ins/common/mapcolor.c: the color buttons were attached in
      	the wrong order.
    • Sven Neumann's avatar
      fixed bug #6006 · 743aaa7d
      Sven Neumann authored
      applied GAP patches
    • Kelly Lynn Martin's avatar
      restructured toolbox to use a single gtk_hwrap_box with the added "forced · 77c44b21
      Kelly Lynn Martin authored
      2000-02-07  Kelly Lynn Martin  <kelly@poverty.bloomington.in.us>
      	* app/interface.c: restructured toolbox to use a single
      	gtk_hwrap_box with the added "forced break" functionality to make
      	the selector boxes not run in with the rest of the tool buttons.
      	The toolbox should now not cut things off, although if the user
      	selects a really small toolbox the buttons or selectors may be,
      	um, difficult to use...
      	* app/gtkwrapbox.h:
      	* app/gtkwrapbox.c:
      	* app/gtkvwrapbox.c (reverse_list_col_children):
      	* app/gtkhwrapbox.c (reverse_list_row_children): support for
      	"forced break" functionality needed for toolbox -- will forward
      	patches to Tim Janik as well
    • Tim Janik's avatar
      pulled new sources from gle (containing a fix for kelly's justify==FILL · 827e9dda
      Tim Janik authored
      Mon Feb  7 05:04:28 2000  Tim Janik  <timj@gtk.org>
              * app/gtkhwrapbox.c:
              * app/gtkvwrapbox.c: pulled new sources from gle (containing
              a fix for kelly's justify==FILL bug).
  15. 03 Feb, 2000 1 commit
  16. 02 Feb, 2000 2 commits
  17. 31 Jan, 2000 4 commits
  18. 29 Jan, 2000 1 commit
    • Sven Neumann's avatar
      app/brush_select.c create the dialog at mouse position if not the main · c69e85c8
      Sven Neumann authored
      * app/brush_select.c
      * app/gradient_select.c: create the dialog at mouse position if not
        the main dialog (which is session-managed)
      * app/convert.c: small UI changes
      * app/gradient.c: don't include session.h
      * app/session.c: the gradient_select dialog is not the gradient_editor
  19. 25 Jan, 2000 2 commits
    • Michael Natterer's avatar
      removed BOUNDS, MINIMUM and MAXIMUM. No need to include both <glib.h> and · 49230471
      Michael Natterer authored
      2000-01-25  Michael Natterer  <mitch@gimp.org>
      	* app/appenv.h: removed BOUNDS, MINIMUM and MAXIMUM. No need to
      	include both <glib.h> and <gtk/gtk.h>.
      	* app/*
      	* tools/pdbgen/pdb/text_tool.pdb: s/BOUNDS/CLAMP/,
      	same for MIN and MAX.
      	* app/preferences_dialog.c: the "Check Size" widget was connected
      	to the transparency_type variable.
      	* plug-ins/common/sobel.c: removed definitions of MIN and ROUND.
      	* libgimp/gimp.h: #include "gimplimits.h" and "gimpcolorspace.h".
      	* plug-ins/*: don't include the two files.
    • Michael Natterer's avatar
      configure.in po-plug-ins/POTFILES.in plug-ins/common/Makefile.am · fa30ba04
      Michael Natterer authored
      2000-01-25  Michael Natterer  <mitch@gimp.org>
      	* configure.in
      	* po-plug-ins/POTFILES.in
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl
      	* plug-ins/megawidget/*: removed. (There were only 3 functions
      	left which were used by ~5 plugins, so I moved the resp. functions
      	to the plugins). More preview stuff to come...
      	* app/airbrush_blob.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: use G_PI instead of M_PI.
      	* app/procedural_db.h
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: new PDB return value STATUS_CANCEL which
      	indicates that "Cancel" was pressed in a plugin dialog. (Useful
      	only for file load/save plugins).
      	* app/fileops.[ch]
      	* app/menus.c: changes to handle STATUS_CANCEL correctly. Did some
      	code cleanup in fileops.[ch]. Pop up a warning if File->Save
      	* app/plug_in.c: return_val[0] is of type PDB_STATUS, not
      	* libgimp/gimpmath.h: new constant G_MAXRAND which equals to
      	RAND_MAX if it exists or to G_MAXINT otherwise.
      	* libgimp/gimpwidgets.[ch]: new function gimp_random_seed_new()
      	which creates a spinbutton and a "Time" toggle.
      	Call the function which does the "set_sensitive" magic from the
      	radio button callback.
      	* plug-ins/[75 plugins]:
      	- Return STATUS_CANCEL in all file load/save dialogs if "Cancel"
      	  was pressed.
      	- Standardized the file plugins' "run" functions.
      	- Use G_PI and G_MAXRAND everywhere.
      	- Added tons of scales and spinbuttons instead of text entries.
      	- Applied uniform packing/spacings all over the place.
      	- Reorganized some UIs (stuff like moving the preview to the top
      	  left corner of the dialog).
      	- Removed many ui helper functions and callbacks and use the stuff
      	  from libgimp instead.
      	- I tried not to restrict the range of possible values when I
      	  replaced entries with spinbuttons/scales but may have failed,
      	  though in some cases. Please test ;-)
      	- #include <libgimp/gimpmath.h> where appropriate and use it's
      	- Indentation, s/int/gint/ et.al., code cleanup.
      	RFC: The plugins are definitely not useable with GIMP 1.0 any
      	     more, so shouldn't we remove all the remaining compatibility
      	     stuff ??? (like "#ifdef GIMP_HAVE_PARASITES")
  20. 24 Jan, 2000 1 commit