1. 15 Jan, 2001 4 commits
    • 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
  2. 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
  3. 12 Jan, 2001 1 commit
  4. 11 Jan, 2001 8 commits
  5. 10 Jan, 2001 6 commits
    • Sven Neumann's avatar
    • Sven Neumann's avatar
      finished new GimpColorArea widget which uses GimpRGB and handles DND and · 45c4a41f
      Sven Neumann authored
      2001-01-10  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpcolorarea.[ch]: finished new GimpColorArea widget which
      	uses GimpRGB and handles DND and alpha channel.
      
      	* libgimp/gimpcolorbutton.[ch]: use GimpColorArea. The API of the
      	GimpColorButton has changed!
      
      	* libgimp/gimpwidgets.[ch]: added temporary function
      	gimp_color_update_uchar() to ease migration of plug-ins to GimpRGB.
      	This function will go away.
      
      	* plug-ins/Lighting/lighting_main.h
      	* plug-ins/Lighting/lighting_ui.c
      	* plug-ins/MapObject/mapobject_main.h
      	* 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.[ch]
      	* plug-ins/ifscompose/ifscompose_storage.c
      	* plug-ins/ifscompose/ifscompose_utils.c
      	* plug-ins/script-fu/script-fu-scripts.c: use new GimpColorArea and
      	GimpColorButton. Started to introduce GimpRGB color type. This change
      	might have broken some of these plug-ins. This is work in progress.
      
      	* libgimp/Makefile.am: added GimpColorArea and GimpColorButton to
      	libgimpi.
      
      	* app/gimpcontext.[ch]: added gimp_palette_get_[fore|back]ground()
      	functions so the app can link against libgimp/gimpcolorbutton.o.
      	These functions will go away.
      
      	* app/gimpdnd.c: use a GimpColorArea for DND
      45c4a41f
    • Szabolcs Ban's avatar
      Typo fix s/Treshold/Threshold/ · a16b8d20
      Szabolcs Ban authored
      a16b8d20
    • Michael Natterer's avatar
      removed the "name" parameter and use GimpObject's name instead. · 6642bc2c
      Michael Natterer authored
      2001-01-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpdrawable.[ch]: removed the "name" parameter and use
      	GimpObject's name instead.
      
      	* app/channel.c
      	* app/channel_ops.c
      	* app/channels_dialog.c
      	* app/drawable.h
      	* app/gimpimage.c
      	* app/interface.c
      	* app/layer.c
      	* app/layer_select.c
      	* app/layers_dialog.c
      	* app/qmask.c
      	* app/undo.c
      	* app/xcf.c: changed accordingly, cleanup.
      6642bc2c
    • Michael Natterer's avatar
      app/gimpbrushlist.c forgot to remove #include "gimpsignal.h" · 65543971
      Michael Natterer authored
      2001-01-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpbrushlist.c
      	* app/gimpdrawable.c: forgot to remove #include "gimpsignal.h"
      
      	* app/gimpobject.[ch]: added a "name" argument (not used yet).
      65543971
    • Michael Natterer's avatar
      app/Makefile.am removed. added. · 92c45a90
      Michael Natterer authored
      2001-01-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpsignal.[ch]: removed.
      	* app/gimpmarshal.[ch]: added.
      
      	* app/channel.[ch]
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.c
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpcontext.c
      	* app/gimpdrawable.c
      	* app/gimpimage.c
      	* app/gimplist.[ch]
      	* app/gimpobject.[ch]
      	* app/gimpset.[ch]
      	* app/layer.c
      	* app/layers_dialog.c
      	* app/module_db.c
      	* app/parasitelist.[ch]: removed gimp_signal_new() and
      	GIMP_TYPE_INIT(). Fixed lots of object related uglyness.
      92c45a90
  6. 09 Jan, 2001 11 commits
    • Sven Neumann's avatar
      Merged fix from gimp-1-2: · c935ec83
      Sven Neumann authored
      2001-01-09  Sven Neumann  <sven@gimp.org>
      
      	Merged fix from gimp-1-2:
      
      	* app/gimpbrushlist.c
      	* app/gradient.c
      	* app/palette.c
      	* app/patterns.c: check for NULL pointers before doing strcmp on
      	default names. The default names for brushes, patterns, ... can
      	be NULL if they were not set in a readable gimprc file.
      
      	* app/gimprc.c: warn the user if the systemwide gimprc couldn't be
      	read.
      c935ec83
    • Valek Frob's avatar
      Updated russian translation. · d52c61a7
      Valek Frob authored
      d52c61a7
    • Yuri Syrota's avatar
      Updated Ukrainian translation · 712c2f0c
      Yuri Syrota authored
      712c2f0c
    • Yuri Syrota's avatar
      Updated Ukrainian translation · 85c3234c
      Yuri Syrota authored
      85c3234c
    • Christian Rose's avatar
      Updated Swedish translation. · 638d74a8
      Christian Rose authored
      638d74a8
    • Michael Natterer's avatar
      Show the "Alpha" scale only when needed. · e8f7363b
      Michael Natterer authored
      2001-01-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.c: Show the "Alpha" scale only when needed.
      
      	* libgimp/gimpcolorarea.[ch]: fixed typos.
      e8f7363b
    • Sven Neumann's avatar
      add more stuff TODO · e5e8e26f
      Sven Neumann authored
      e5e8e26f
    • Sven Neumann's avatar
      app/apptypes.h app/brush_select_cmds.c app/brushes_cmds.c app/layer_cmds.c · 99e80ca5
      Sven Neumann authored
      2001-01-09  Sven Neumann  <sven@gimp.org>
      
      	* app/apptypes.h
      	* app/brush_select_cmds.c
      	* app/brushes_cmds.c
      	* app/layer_cmds.c
      	* app/layers_dialog.c
      	* app/paint_funcs.c
      	* app/tool_options.c
      	* app/tools_cmds.c
      	* libgimp/gimpenums.h
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: applied patch from <oliver@zeroknowledge.com>
      	that adds new blending modes (Dodge/Burn/Hardlight). Please play with
      	these new modes and check if they are useful and well-implemented.
      99e80ca5
    • Sven Neumann's avatar
      added notice about autogenerated files. · d701e442
      Sven Neumann authored
      2001-01-09  Sven Neumann  <sven@gimp.org>
      
      	* HACKING: added notice about autogenerated files.
      d701e442
    • Sven Neumann's avatar
      added a new simple widget which provides a color preview area capable of · aa9931f8
      Sven Neumann authored
      2001-01-09  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpcolorarea.[ch]: added a new simple widget which
      	provides a color preview area capable of DND. It will be used
      	in the GimpColorButton and in the color_selectors.
      
      	* libgimp/Makefile.am
      	* libgimp/gimpui.h
      	* libgimp/gimpuitypes.h: include the new files
      
      	* libgimp/gimpcolor.[ch]: use proper names instead of abbreviations
      
      	* app/asupsample.c
      	* plug-ins/Lighting/lighting_preview.c
      	* plug-ins/Lighting/lighting_shade.c
      	* plug-ins/MapObject/mapobject_preview.c
      	* plug-ins/MapObject/mapobject_shade.c
      	* plug-ins/libgck/gck/gckcolor.c: changed accordingly
      aa9931f8
    • Michael Natterer's avatar
      app/color_notebook.[ch] moved the scales and the toggle butttons out of · 37fe1a88
      Michael Natterer authored
      2001-01-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/color_notebook.[ch]
      	* app/color_select.c: moved the scales and the toggle butttons out
      	of the notebook. Added an "Aplha" scale (the opacity is not yet
      	shown in the color area). Removed the ColorNotebook structure from
      	the header.
      
      	* app/color_area.c: the ColorNotebook struct is no longer public.
      
      	* libgimp/gimpcolorselector.h
      	* modules/colorsel_gtk.c
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: changed the ColorSelector module
      	interface again: Pass H, S, V, R, G, B and A in all functions
      	and callbacks. Added a "set_channel" method because the channel
      	toggles are outside the notebook now. This needs more work...
      37fe1a88
  7. 08 Jan, 2001 3 commits