1. 20 Jan, 2001 1 commit
  2. 19 Jan, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/appenums.h moved all enums from apptypes.h to the new · 19b9a604
      Michael Natterer authored
      2001-01-19  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/appenums.h
      	* app/apptypes.h: moved all enums from apptypes.h to the new file
      	appenums.h
      
      	* tools/pdbgen/Makefile.am
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/enums.pl: changed accordingly. Removed some files
      	from the list of files to scan for enums.
      
      	* TODO.xml: added two minor UI issues.
      19b9a604
  3. 18 Jan, 2001 1 commit
  4. 17 Jan, 2001 4 commits
  5. 16 Jan, 2001 6 commits
  6. 15 Jan, 2001 14 commits
    • Sven Neumann's avatar
      use a GimpColorArea for the foreground color in the Device Status dialog · 19543e4f
      Sven Neumann authored
      2001-01-15  Sven Neumann  <sven@gimp.org>
      
      	* app/devices.c: use a GimpColorArea for the foreground color in
      	the Device Status dialog and added a background color
      19543e4f
    • Sven Neumann's avatar
      enable drags from and disable drops to the ColorArea in the color_info · 7e4c2980
      Sven Neumann authored
      2001-01-15  Sven Neumann  <sven@gimp.org>
      
              * app/color_picker.c: enable drags from and disable drops to
              the ColorArea in the color_info dialog. Changed the cursor_update
              function so it only displays the bad cursor when outside the image.
      7e4c2980
    • Michael Natterer's avatar
      app/devices.c save the foreground and background color as array of RGBA · 0ab27c8b
      Michael Natterer authored
      2001-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/devices.c
      	* app/gimprc.c: save the foreground and background color as array
      	of RGBA doubles in "devicerc".
      0ab27c8b
    • Sven Neumann's avatar
      make use of GimpColorAreas. Added two buttons to set the color to black or · e1cb5869
      Sven Neumann authored
      2001-01-15  Sven Neumann  <sven@gimp.org>
      
      	* app/color_notebook.c: make use of GimpColorAreas. Added two
      	buttons to set the color to black or white.
      e1cb5869
    • Michael Natterer's avatar
      the bottom position of the scale represents the minimal pressure now. Also · b526c601
      Michael Natterer authored
      2001-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* modules/colorsel_water.c: the bottom position of the scale
      	represents the minimal pressure now. Also removed the pressure
      	value display because it's rather a matter of "more" or "less"
      	than of an exact value.
      b526c601
    • Michael Natterer's avatar
      app/color_notebook.c modules/colorsel_gtk.c tweaked dialog layout a bit. · ebaa274c
      Michael Natterer authored
      2001-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.c
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c: tweaked dialog layout a bit.
      
      	* modules/colorsel_water.c: removed all widgets except the color
      	selector itself (the history and the "Reset" button will go
      	to the ColorNotebook).
      ebaa274c
    • Michael Natterer's avatar
      app/color_notebook.[ch] app/color_select.c libgimp/gimpcolorselector.h · 368d0efe
      Michael Natterer authored
      2001-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.[ch]
      	* app/color_select.c
      	* libgimp/gimpcolorselector.h
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: use GimpRGB and GimpHSV.
      
      	* libgimp/gimpcolor.c
      	* libgimp/gimpcolorspace.[ch]: All rgb_to_hsv functions:
      
      	if r == g == b the difference between the max and min value
      	is 0 and we should avoid to divide by it ;-)
      368d0efe
    • Sven Neumann's avatar
      plug-ins/gdyntext/gdyntext.[ch] plug-ins/gdyntext/gdyntext_ui.c use · 4c1f53a9
      Sven Neumann authored
      2001-01-15  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/gdyntext/gdyntext.[ch]
      	* plug-ins/gdyntext/gdyntext_ui.c
      	* plug-ins/gdyntext/gdyntextcompat.[ch]: use GimpRGB
      4c1f53a9
    • Sven Neumann's avatar
      app/color_panel.c libgimp/gimpcolorbutton.c · ca3bf4f1
      Sven Neumann authored
      2001-01-15  Sven Neumann  <sven@gimp.org>
      
      	* app/color_panel.c
      	* libgimp/gimpcolorbutton.c
      	* plug-ins/common/borderaverage.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/polar.c
      	* plug-ins/common/whirlpinch.c: cleaned up after myself
      ca3bf4f1
    • Sven Neumann's avatar
      rewritten as proper widget derived from GimpColorButton · 94384767
      Sven Neumann authored
      2001-01-15  Sven Neumann  <sven@gimp.org>
      
      	* app/color_panel.[ch]: rewritten as proper widget derived from
      	GimpColorButton
      
      	* app/channels_dialog.c
      	* app/color_picker.c
      	* app/qmask.c: use new GimpColorPanel widget
      
      	* libgimp/gimpcolorarea.[ch]
      	* libgimp/gimpcolorbutton.[ch]: some changes needed to derive from
      	GimpColorButton
      
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_ui.c
      	* plug-ins/common/colorify.c
      	* plug-ins/common/colortoalpha.c
      	* plug-ins/common/exchange.c
      	* plug-ins/common/film.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/mapcolor.c
      	* plug-ins/common/nova.c
      	* plug-ins/common/papertile.c
      	* plug-ins/common/sinus.c
      	* plug-ins/gdyntext/gdyntext_ui.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/script-fu/script-fu-scripts.c: follow API changes of
      	GimpColorButton and GimpColorArea
      94384767
    • Michael Natterer's avatar
      app/channel.[ch] app/gimpimage.[ch] use GimpRGB for the Channel's, the · d8228390
      Michael Natterer authored
      2001-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/channel.[ch]
      	* app/gimpimage.[ch]
      	* app/layer.[ch]: use GimpRGB for the Channel's, the QuickMask's
      	and the LayerMask's color.
      
      	* app/channel_cmds.c
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/qmask.c
      	* app/xcf.c
      	* tools/pdbgen/pdb/channel.pdb: changed accordingly.
      d8228390
    • Michael Natterer's avatar
      app/color_notebook.[ch] app/color_panel.[ch] app/gimpcontext.[ch] use · dc9cf1a2
      Michael Natterer authored
      2001-01-15  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.[ch]
      	* app/color_panel.[ch]
      	* app/gimpcontext.[ch]
      	* app/gimpdnd.[ch]: use GimpRGB instead of a random selection out of
      	guchar, gint, guchar[], blah...
      
      	* app/blend.c
      	* app/by_color_select.c
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/color_area.c
      	* app/color_picker.c
      	* app/color_select.c
      	* app/colormap_dialog.c
      	* app/commands.c
      	* app/devices.[ch]
      	* app/disp_callbacks.[ch]
      	* app/drawable.c
      	* app/gimpimage.c
      	* app/gimprc.c
      	* app/gradient.c
      	* app/paint_core.c
      	* app/palette.c
      	* app/palette_cmds.c
      	* app/qmask.c
      	* tools/pdbgen/pdb/palette.pdb: changed accordingly.
      dc9cf1a2
    • Simon Budig's avatar
      app/apptypes.h I broke the Toolbox. Now it works again. The ToolType-enum · 5130a8b2
      Simon Budig authored
      2001-01-15  Simon Budig  <simon@gimp.org>
      
              * app/apptypes.h
              I broke the Toolbox. Now it works again. The ToolType-enum *must*
              match the order in the tool_info-Array.
      5130a8b2
    • Sven Neumann's avatar
      added function gimp_rgb_intensity_uchar() · 77718ca7
      Sven Neumann authored
      2001-01-15  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpcolor.[ch]: added function gimp_rgb_intensity_uchar()
      
      	* libgimp/gimpcolorbutton.c
      	* plug-ins/common/apply_lens.c
      	* plug-ins/common/blinds.c
      	* plug-ins/common/borderaverage.c
      	* plug-ins/common/checkerboard.c
      	* plug-ins/common/cubism.c
      	* plug-ins/common/gif.c
      	* plug-ins/common/grid.c
      	* plug-ins/common/mblur.c
      	* plug-ins/common/papertile.c
      	* plug-ins/common/png.c
      	* plug-ins/common/polar.c
      	* plug-ins/common/semiflatten.c
      	* plug-ins/common/sparkle.c
      	* plug-ins/common/vpropagate.c
      	* plug-ins/common/warp.c
      	* plug-ins/common/whirlpinch.c
      	* plug-ins/gap/gap_mov_dialog.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/maze/handy.c
      	* plug-ins/mosaic/mosaic.c
      	* plug-ins/pagecurl/pagecurl.c: replaced all occurences of
      	gimp_palette_[get|set]_[back|fore]ground() with the respective
      	gimp_palette_[get|set]_[back|fore]ground_rgb() functions.
      77718ca7
  7. 14 Jan, 2001 7 commits
    • Simon Budig's avatar
      Reordered some tools. It is IMHO more logical to group the "paint-style" · 84bb0a5a
      Simon Budig authored
      2001-01-14  Simon Budig  <simon@gimp.org>
      
              * app/tools.c:
              Reordered some tools. It is IMHO more logical to group the
              "paint-style" and the "blur/smudge"-Tools together.
              The Ordering up to now was a "historical" ordering: Not good...
      
              I am thinking about grouping the "Non-image modifying"-tools
              (Magnify, Colorpicker, Measure tool) together...
      84bb0a5a
    • Michael Natterer's avatar
      app/channel.[ch] app/drawable.[ch] app/gdisplay.[ch] app/gimpdrawable.[ch] · 3220f9ec
      Michael Natterer authored
      2001-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/channel.[ch]
      	* app/drawable.[ch]
      	* app/gdisplay.[ch]
      	* app/gimpdrawable.[ch]
      	* app/layer.[ch]:
      
      	- Removed all "typedef drawable_function gimp_drawable_function".
      	- Renamed all *_get_ID() functions to *_get_by_ID().
      	- For symmetry reasons, renamed drawable_ID() to gimp_drawable_get_ID().
      	- Removed the *_get_ID() functions of GimpLayer, GimpLayerMask
      	  and GimpChannel.
      
      	* app/airbrush.c
      	* app/bezier_select.c
      	* app/blend.c
      	* app/brightness_contrast.c
      	* app/bucket_fill.c
      	* app/by_color_select.c
      	* app/clone.c
      	* app/color_balance.c
      	* app/color_picker.c
      	* app/convert.c
      	* app/convolve.c
      	* app/crop.c
      	* app/curves.c
      	* app/desaturate.c
      	* app/dodgeburn.c
      	* app/edit_selection.c
      	* app/eraser.c
      	* app/fileops.c
      	* app/flip_tool.c
      	* app/floating_sel.c
      	* app/fuzzy_select.c
      	* app/gimage.c
      	* app/gimage_mask.c
      	* app/gimphistogram.c
      	* app/gimpimage.c
      	* app/global_edit.c
      	* app/histogram_tool.c
      	* app/hue_saturation.c
      	* app/image_map.c
      	* app/ink.c
      	* app/invert.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/levels.c
      	* app/paint_core.c
      	* app/paintbrush.c
      	* app/pencil.c
      	* app/plug_in.c
      	* app/posterize.c
      	* app/scan_convert.c
      	* app/smudge.c
      	* app/text_tool.c
      	* app/threshold.c
      	* app/transform_core.c
      	* app/undo.c
      	* app/undo_history.c
      
      	* app/channel_cmds.c
      	* app/channel_ops_cmds.c
      	* app/color_cmds.c
      	* app/display_cmds.c
      	* app/drawable_cmds.c
      	* app/edit_cmds.c
      	* app/floating_sel_cmds.c
      	* app/image_cmds.c
      	* app/layer_cmds.c
      	* app/parasite_cmds.c
      	* app/selection_cmds.c
      	* app/text_tool_cmds.c
      	* app/tools_cmds.c
      	* libgimp/gimpdrawable_pdb.c
      	* tools/pdbgen/pdb.pl
      	* tools/pdbgen/pdb/channel_ops.pdb
      	* tools/pdbgen/pdb/color.pdb
      	* tools/pdbgen/pdb/drawable.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/selection.pdb
      	* tools/pdbgen/pdb/tools.pdb: changed accordingly.
      3220f9ec
    • Sven Neumann's avatar
      added GimpHSV type and functions and gimp_rgb_composite functions · 70c1ecfd
      Sven Neumann authored
      2001-01-14  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpcolor.[ch]: added GimpHSV type and functions and
      	gimp_rgb_composite functions
      
      	* libgimp/gimpcolorbutton.c: indentation
      
      	* libgimp/gimpcolorspace.[ch]: added GimpRGB <-> GimpHSV conversion
      	routines
      
      	* libgimp/gimpwidgets.[ch]: removed gimp_color_update_uchar function
      
      	* plug-ins/Lighting/lighting_main.[ch]
      	* plug-ins/Lighting/lighting_preview.c
      	* plug-ins/Lighting/lighting_shade.c
      	* plug-ins/MapObject/mapobject_image.c
      	* plug-ins/MapObject/mapobject_main.[ch]
      	* plug-ins/MapObject/mapobject_shade.c
      	* plug-ins/common/mapcolor.c
      	* plug-ins/common/nova.c
      	* plug-ins/common/papertile.c
      	* plug-ins/common/sinus.c
      	* plug-ins/ifscompose/ifscompose.c
      	* plug-ins/script-fu/script-fu-scripts.c: use GimpRGB and GimpHSV
      70c1ecfd
    • Michael Natterer's avatar
      app/channel.[ch] app/gimpdrawable.[ch] moved the "removed" signal from · f504187d
      Michael Natterer authored
      2001-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/channel.[ch]
      	* app/gimpdrawable.[ch]
      	* app/layer.[ch]: moved the "removed" signal from GimpChannel and
      	GimpLayer to GimpDrawable.
      
      	* app/gimpimage.[ch]: changed accordingly.
      f504187d
    • Michael Natterer's avatar
      app/docindex.c app/fileops.c app/gdisplay.c · 83757a67
      Michael Natterer authored
      2001-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/docindex.c
      	* app/fileops.c
      	* app/gdisplay.c
      	* app/gimpimage.[ch]:
      
      	Removed the "has_filename" boolean from GimpImage:
      
      	- to get the filename, ask for GimpObjects's name.
      	- gimp_image_filename() returns the *display* filename (and will be
      	  renamed to gimp_image_display_name() soon), i.e. returns
      	  "Unnamed" if object->name == NULL.
      	- no need any more to check if the filename is the "" string because
      	  GimpImage overrides GimpObject's "name_changed" method and
      	  sets the name to NULL if it was "".
      83757a67
    • Sven Neumann's avatar
      Merged fixes from gimp-1-2: · c3d53e1f
      Sven Neumann authored
      2001-01-14  Sven Neumann  <sven@gimp.org>
      
      	Merged fixes from gimp-1-2:
      
      	* app/menus.c
      	* app/plug-in.c: added some sanity checks for passed string pointers
      	to various public functions in an attempt to fix bug #37622.
      
      	* plug-ins/common/sharpen.c: applied a patch from Jerome Zago
              <jzago@ifhamy.insa-lyon.fr> that fixes a longstanding bug in the
              sharpen filter which sometimes got the last line wrong.
      	Fixes bug #34155.
      c3d53e1f
    • Michael Natterer's avatar
      app/apptypes.h app/brush_edit.c app/brush_select.c app/brushes_cmds.c · cac3f7cb
      Michael Natterer authored
      2001-01-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/apptypes.h
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/brushes_cmds.c
      	* app/channel.h
      	* app/colormap_dialog.c
      	* app/datafiles.[ch]
      	* app/devices.c
      	* app/docindex.c
      	* app/fileops.c
      	* app/gdisplay.c
      	* app/gimage.c
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpcontext.[ch]
      	* app/gimpcontextpreview.c
      	* app/gimpdnd.c
      	* app/gimpdrawable.h
      	* app/gimpimage.[ch]
      	* app/gimplist.h
      	* app/gimpobject.h
      	* app/gimpset.[ch]
      	* app/gradient.c
      	* app/info_window.c
      	* app/layer.[ch]
      	* app/module_db.c
      	* app/palette.[ch]
      	* app/patterns.[ch]
      	* app/plug_in.[ch]
      	* app/undo_history.c
      	* app/xcf.c
      	* tools/pdbgen/pdb/brushes.pdb
      
      	- Removed the "name" argument from all objects and use
      	  GimpObject's name.
      	- Use the same code in all "uniquefy name" functions (this
      	  functionality will be a method of the "GimpContainer" class).
      	- Renamed the parent instances of all objects to "parent instance".
      	- Added missing instance and class cast macros.
      	- Changed some "gchar *" to "const gchar *" parameters.
      cac3f7cb
  8. 11 Jan, 2001 5 commits
  9. 10 Jan, 2001 1 commit