2001-01-25 Sven Neumann * app/libgimp_glue.[ch]: cleanup * app/pdb/channel_cmds.c * app/pdb/palette_cmds.c * app/pdb/tools_cmds.c * tools/pdbgen/app.pl * tools/pdbgen/lib.pl * tools/pdbgen/pdb.pl * tools/pdbgen/pdb/channel.pdb * tools/pdbgen/pdb/palette.pdb * tools/pdbgen/pdb/tools.pdb: fixed pdbgen code for color type. Seems to actually work now. * TODO.xml: updated * plug-ins/Makefile.am: disabled build of gimp-perl until it has catched up with the API changes in libgimp 2001-01-25 Sven Neumann * libgimpwidgets/gimpwidgets.c (gimp_mem_size_entry_new): merged fix from gimp-1-2 branch 2001-01-25 Sven Neumann * tools/pdbgen/lib.pl * tools/pdbgen/pdb.pl * tools/pdbgen/pdb/channel.pdb * tools/pdbgen/pdb/palette.pdb * tools/pdbgen/pdb/tools.pdb: changed these with the help of Yosh. PDB functions take GimpRGB as color type now. * app/plug_in.c * app/pdb/channel_cmds.c * app/pdb/internal_procs.c * app/pdb/palette_cmds.c * app/pdb/procedural_db.[ch] * app/pdb/tools_cmds.c * libgimp/gimp.[ch] * libgimp/gimpchannel.[ch] * libgimp/gimpchannel_pdb.[ch] * libgimp/gimppalette_pdb.[ch] * libgimp/gimpprotocol.[ch] * libgimp/gimptools_pdb.[ch]: incremented Gimp protocol version and changed color type from array of chars to GimpRGB. * libgimp/Makefile.am * libgimp/gimppalette.[ch]: removed these files again * app/libgimp_glue.[ch] * libgimpwidgets/gimpcolorbutton.c * plug-ins/Lighting/lighting_main.c * plug-ins/Lighting/lighting_preview.c * plug-ins/MapObject/mapobject_image.c * plug-ins/MapObject/mapobject_main.c * plug-ins/MapObject/mapobject_preview.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/colorify.c * plug-ins/common/colortoalpha.c * plug-ins/common/cubism.c * plug-ins/common/exchange.c * plug-ins/common/film.c * plug-ins/common/gif.c * plug-ins/common/grid.c * plug-ins/common/mapcolor.c * plug-ins/common/mblur.c * plug-ins/common/nova.c * plug-ins/common/papertile.c * plug-ins/common/png.c * plug-ins/common/polar.c * plug-ins/common/psd.c * plug-ins/common/semiflatten.c * plug-ins/common/sinus.c * plug-ins/common/sparkle.c * plug-ins/common/tiff.c * plug-ins/common/vpropagate.c * plug-ins/common/warp.c * plug-ins/common/whirlpinch.c * plug-ins/gap/gap_filter_iterators.c * plug-ins/gap/gap_mov_dialog.c * plug-ins/gdyntext/gdyntext.c * plug-ins/gfig/gfig.c * plug-ins/gfli/gfli.c * plug-ins/ifscompose/ifscompose.c * plug-ins/maze/handy.c * plug-ins/mosaic/mosaic.c * plug-ins/pagecurl/pagecurl.c * plug-ins/script-fu/script-fu-scripts.c * plug-ins/script-fu/script-fu.c * plug-ins/xjt/xjt.c: changed accordingly. A few plug-ins need to be looked at more closely after this change. I tried to put FIXME comments into those. 2001-01-24 Michael Natterer * Makefile.am * configure.in * gimptool.in: added the new library below. * libgimpwidgets/Makefile.am * libgimpwidgets/gimpchainbutton.[ch] * libgimpwidgets/gimpcolorarea.[ch] * libgimpwidgets/gimpcolorbutton.[ch] * libgimpwidgets/gimpdialog.[ch] * libgimpwidgets/gimpfileselection.[ch] * libgimpwidgets/gimphelpui.[ch] * libgimpwidgets/gimppatheditor.[ch] * libgimpwidgets/gimppixmap.[ch] * libgimpwidgets/gimpquerybox.[ch] * libgimpwidgets/gimpsizeentry.[ch] * libgimpwidgets/gimpunitmenu.[ch] * libgimpwidgets/gimpwidgets.[ch] * libgimpwidgets/gimpwidgets.def * libgimpwidgets/gimpwidgetstypes.h: new shared library. Currently there are some ugly dependencies into libgimp. These will be removed and go to a "libgimpglue" library which will be a library for functions which share a common interface between plug-ins and the app but have different implementations. Include "libgimp/gimpunit.h" from "libgimpwidgets/gimpwidgetstypes.h" to simulate this upcoming separation. * libgimp/Makefile.am * libgimp/gimpchainbutton.[ch] * libgimp/gimpcolorarea.[ch] * libgimp/gimpcolorbutton.[ch] * libgimp/gimpdialog.[ch] * libgimp/gimpfileselection.[ch] * libgimp/gimphelpui.[ch] * libgimp/gimppatheditor.[ch] * libgimp/gimppixmap.[ch] * libgimp/gimpquerybox.[ch] * libgimp/gimpsizeentry.[ch] * libgimp/gimpunitmenu.[ch] * libgimp/gimpwidgets.[ch]: removed from here. * libgimp/gimpui.h * libgimp/gimpuitypes.h * libgimp/makefile.mingw.in * libgimp/makefile.msc: changed accordingly. * app/[all ui files] * app/pdb/palette_cmds.c * app/pdb/tools_cmds.c * tools/pdbgen/pdb/palette.pdb * tools/pdbgen/pdb/tools.pdb: #include "libgimpwidgets/gimpwidgets.h" and removed useless includes. * app/apptypes.h: #include "libgimpwidgets/gimpwidgetstypes.h" * app/Makefile.am * plug-ins/[all makefiles which link against libgimpui]: link against libgimpwidgets.la * po-libgimp/POTFILES.in: changed file locations. 2001-01-24 Simon Budig * plug-ins/common/colortoalpha.c: wrapped some actions in a gimp_undo_push_group_start/end, so you dont have to undo two steps when the plugin adds an alpha channel. 2001-01-24 Michael Natterer * libgimpwidgets/.cvsignore * libgimpwidgets/Makefile.am * libgimpwidgets/makefile.mingw.in * libgimpwidgets/makefile.msc: library stub. Please ignore for now :) 2001-01-24 Sven Neumann * app/paint_funcs.c: brought the array used for optimization back in sync with the LayerModeEffects enum. This was causing really strange rendering errors. Started to clean up the file up and removed the unused layer_mode names. * app/tile.[ch] * plug-ins/common/colortoalpha.c: small cleanups * po/POTFILES.in: removed app/paint_funcs.c 2001-01-24 Sven Neumann * app/tools/airbrush.c * app/tools/by_color_select.c * app/tools/color_picker.c: include gimpcolor/gimpcolor.h * libgimpcolor/gimprgb.c: optimized compositing functions. * plug-ins/Lighting/lighting_preview.c * plug-ins/MapObject/mapobject_preview.c: use gimp_rgb_composite functions instead of doing the blending manually * plug-ins/MapObject/map_object_shade.c: fixed a rendering bug when transparent_background == FALSE 2001-01-24 Michael Natterer * Makefile.am * configure.in * gimptool.in: added stuff for the new library below. * libgimpmath/.cvsignore * libgimpmath/Makefile.am * libgimpmath/gimpmath.def * libgimpmath/gimpmath.h * libgimpmath/gimpmathtypes.h * libgimpmath/gimpmatrix.c * libgimpmath/gimpmatrix.h * libgimpmath/gimpvector.c * libgimpmath/gimpvector.h * libgimpmath/makefile.mingw.in * libgimpmath/makefile.msc: new shared library. Depends on glib only. * libgimp/Makefile.am * libgimp/gimp.def * libgimp/gimp.h: removed the math stuff. * libgimp/gimpmath.h * libgimp/gimpmatrix.[ch] * libgimp/gimpvector.[ch]: removed. * app/Makefile.am * plug-ins/Lighting/Makefile.am * plug-ins/MapObject/Makefile.am * plug-ins/pagecurl/Makefile.am: link against libgimpmath.la * app/[many files] * libgimpcolor/gimpcolorspace.c * libgimpcolor/gimprgb.c * libgimp/gimpadaptivesupersample.c * libgimp/gimpbilinear.c * libgimp/gimpwidgets.c * modules/colorsel_gtk.c * modules/colorsel_triangle.c * modules/colorsel_water.c * plug-ins/libgck/gck/gckcolor.c * tools/pdbgen/pdb/channel.pdb * tools/pdbgen/pdb/image.pdb: include "libgimpmath/gimpmath.h", removed the remaining includes of the old color stuff. 2001-01-23 Michael Natterer * Makefile.am * configure.in * gimptool.in: added stuff for the new library below. * libgimpcolor/.cvsignore * libgimpcolor/Makefile.am * libgimpcolor/gimpcolor.h * libgimpcolor/gimpcolorspace.c * libgimpcolor/gimpcolorspace.h * libgimpcolor/gimpcolortypes.h * libgimpcolor/gimphsv.c * libgimpcolor/gimphsv.h * libgimpcolor/gimprgb.c * libgimpcolor/gimprgb.h: new shared library which both the app and plug-ins link against. The library depends only on glib. * libgimpcolor/gimpcolor.def * libgimpcolor/makefile.mingw.in * libgimpcolor/makefile.msc: added Win32 build files which definitely don't work. * libgimp/Makefile.am * libgimp/gimpcolor.[ch] * libgimp/gimpcolorspace.[ch]: removed. * libgimp/gimp.h * libgimp/gimpadaptivesupersample.c * libgimp/gimpbilinear.c * libgimp/gimppalette.c * libgimp/gimptypes.h: include the stuff from libgimpcolor. Plug-Ins don't need to include explicitely. LibGimp depends on libgimpcolor and thus also includes it's headers. * libgimp/gimp.def * libgimp/makefile.mingw.in: fiddled around with Win32 stuff... * app/Makefile.am: link against libgimpcolor.la * app/apptypes.h: include "libgimpcolor/gimpcolortypes.h" * app/asupsample.c * app/channels_dialog.c * app/colormap_dialog.c * app/commands.c * app/convert.c * app/devices.c * app/disp_callbacks.c * app/drawable.c * app/gimpcontext.c * app/gimpdnd.c * app/gimpimage.c * app/gimppalette.c * app/gimprc.c * app/gradient.c * app/libgimp_glue.c * app/palette.c * app/palette_import.c * app/qmask.c * app/xcf.c * app/tools/paint_core.c * app/tools/paintbrush.c * app/tools/pencil.c: include "libgimpcolor/gimpcolor.h" before all gimp includes because it's a standalone library. * plug-ins/FractalExplorer/Makefile.am * plug-ins/Lighting/Makefile.am * plug-ins/MapObject/Makefile.am * plug-ins/bmp/Makefile.am * plug-ins/common/Makefile.am * plug-ins/common/mkgen.pl * plug-ins/dbbrowser/Makefile.am * plug-ins/faxg3/Makefile.am * plug-ins/fits/Makefile.am * plug-ins/flame/Makefile.am * plug-ins/fp/Makefile.am * plug-ins/gap/Makefile.am * plug-ins/gdyntext/Makefile.am * plug-ins/gfig/Makefile.am * plug-ins/gflare/Makefile.am * plug-ins/gfli/Makefile.am * plug-ins/gimpressionist/Makefile.am * plug-ins/helpbrowser/Makefile.am * plug-ins/ifscompose/Makefile.am * plug-ins/imagemap/Makefile.am * plug-ins/maze/Makefile.am * plug-ins/mosaic/Makefile.am * plug-ins/pagecurl/Makefile.am * plug-ins/print/Makefile.am * plug-ins/rcm/Makefile.am * plug-ins/script-fu/Makefile.am * plug-ins/sel2path/Makefile.am * plug-ins/sgi/Makefile.am * plug-ins/webbrowser/Makefile.am * plug-ins/xjt/Makefile.am: add libgimpcolor.la to LDADD. * INSTALL: don't recommend to --disable-shared for development. * TODO.xml: increased some percentages, added plug-in help stuff. 2001-01-23 Michael Natterer * app/Makefile.am * app/libgimp_glue.[ch]: new files containing stuff needed for linking libgimp stuff against the app. This file is not needed at all for the app itself and should never be included. * app/gimpcontext.[ch]: removed from here. * libgimp/Makefile.am * libgimp/gimp.h * libgimp/gimppalette.[ch]: new files for the PDB wrapping gimp_palette_*_rgb() stuff. * libgimp/gimpcolor.[ch]: removed the PDB dependency from here. 2001-01-23 Sven Neumann * app/paint_funcs.c * app/pixel_processor.c * app/tile.c * app/tile_cache.c * app/tile_manager.c * app/tile_pvt.h * app/tile_swap.[ch]: cleanups, indentation 2001-01-23 Sven Neumann * app/convert.c * app/floating_sel.c * app/gimage_mask.c * app/gimpimage.c * app/global_edit.c * app/image_map.c * app/image_new.c * app/layer.c * app/paint_funcs.c * app/pixel_region.c * app/tile_manager.c * app/tile_manager.h * app/tile_manager_pvt.h * app/undo.c * app/xcf.c * app/pdb/tools_cmds.c * app/tools/flip_tool.c * app/tools/perspective_tool.c * app/tools/rotate_tool.c * app/tools/scale_tool.c * app/tools/shear_tool.c * app/tools/text_tool.c * app/tools/transform_core.c * tools/pdbgen/pdb/tools.pdb: made all files execpt xcf.c use the TileManager accessor functions instead of accessing the TileManager struct directly. 2001-01-23 Sven Neumann * TODO.xml: updated, added sections about libgck and script-fu 2001-01-23 Michael Natterer * app/Makefile.am * app/edit_selection.[ch]: removed. * app/tools/Makefile.am * app/tools/edit_selection.[ch]: added. * po/POTFILES.in: changed. 2001-01-23 Michael Natterer * libgimp/Makefile.am * libgimp/gimp.h * libgimp/gimpadaptivesupersample.[ch] * libgimp/gimpbilinear.[ch]: new files cut out of LibGCK. * plug-ins/libgck/gck/gck.h * plug-ins/libgck/gck/gckcolor.c: removed the bilinear and supersample code. * app/apptypes.h * app/asupsample.[ch] * app/tools/blend.c: made the adaptive_supersample interface the same as in libgimp but don't use the libgimp function yet. The libgimp function takes total transparancy into account when weighting the 4 resulting RGBA values, the app function always weights them equally. Please have a look at the code. * plug-ins/Lighting/lighting_image.c * plug-ins/MapObject/mapobject_apply.c * plug-ins/MapObject/mapobject_image.[ch]: changed accordingly. * app/disp_callbacks.c: paranoia cleanups. 2001-01-22 Sven Neumann * app/gdisplay.c * app/gdisplay_ops.c * app/info_window.c * app/layer.c * app/menus.c * app/nav_window.c * app/path.c * app/scroll.[ch]: removed inclusion of superfluous headers and cleaned up the source a little. 2001-01-22 Michael Natterer * app/tools/Makefile.am * app/tools/tool_options_dialog.[ch]: new files for the tool options dialog. * app/tools/tools.[ch]: removed from here. * app/app_procs.c * app/commands.c * app/toolbox.c * po/POTFILES.in: adjusted. 2001-01-22 Michael Natterer * app/Makefile.am * app/selection_options.h: removed. * app/tools/Makefile.am * app/tools/selection_options.h: added. * app/tools/selection_options.c * app/tools/paint_options.c: new files cut out of tool_options.c * app/tools/tool_options.c: removed the paint & selection options code. * app/tools/tool_options.h * app/tools/paint_options.h: cleanup. * po/POTFILES.in: added selection_options.c and paint_options.c 2001-01-22 Michael Natterer * app/Makefile.am * app/toolbox.[ch]: new files containing most of the code from app/interface.[ch] * app/interface.[ch]: only contains create_display_shell() now. Needs to be somehow merged with other arbitrarily named display files around. * app/app_procs.c * app/menus.c * po/POTFILES.in: changed accordingly. * app/asupsample.c * app/gradient.c * app/tile.c: cleanup. 2001-01-22 Sven Neumann * configure.in * app/Makefile.am * app/tools/Makefile.am: moved all tool sources to app/tools * app/app_procs.c * app/brush_select.c * app/commands.c * app/context_manager.c * app/convert.c * app/cursorutil.c * app/devices.c * app/disp_callbacks.c * app/edit_selection.c * app/gdisplay.c * app/gimage.c * app/gimage_mask.c * app/gimpbrush.c * app/gimpbrushgenerated.c * app/gimpbrushpipe.c * app/gimpdnd.c * app/gimprc.c * app/global_edit.c * app/info_window.c * app/interface.c * app/menus.c * app/path.c * app/paths_dialog.c * app/paths_dialogP.h * app/scale.c * app/scroll.c * app/undo.c * app/pdb/color_cmds.c * app/pdb/text_tool_cmds.c * app/pdb/tools_cmds.c * po/POTFILES.in * tools/kernelgen.c * tools/pdbgen/Makefile.am * tools/pdbgen/enums.pl * tools/pdbgen/pdb/color.pdb * tools/pdbgen/pdb/text_tool.pdb * tools/pdbgen/pdb/tools.pdb: changed accordingly 2001-01-22 Daniel Egger * libgimp/gimpcolor.c: #include "gimppalette_pdb.h" to shut up the compiler. Sun Jan 21 15:23:27 PST 2001 Manish Singh * tools/pdbgen/enumgen.pl: handle subdirs 2001-01-21 Simon Budig * app/pdb/README: Added another warning about autogenerated files 2001-01-21 Sven Neumann * tools/pdbgen/app.pl: changed destdir for app-side PDB wrappers to app/pdb * app/Makefile.am: don't create libgimpim.a in app. * configure.in * app/pdb/Makefile.am * app/pdb/internal_procs.[ch] * app/pdb/procedural_db.[ch] * app/pdb/*_cmds.c: moved PDB functions into their own subdirectory. * app/internal_procs.[ch] * app/procedural_db.[ch] * app/*_cmds.c: removed here * app/app_procs.c * app/batch.c * app/bezier_select.c * app/brush_select.c * app/bucket_fill.c * app/colormap_dialog.c * app/fileops.c * app/gimage.c * app/gimage_mask.c * app/gimphelp.c * app/gradient_select.c * app/info_window.c * app/invert.c * app/lc_dialog.c * app/menus.c * app/nav_window.c * app/palette_import.c * app/paths_dialog.c * app/pattern_select.c * app/plug_in.h * app/text_tool.c * app/xcf.c * po/POTFILES.in: changed accordingly 2001-01-21 Michael Natterer * app/Makefile.am * app/palette_import.[ch]: moved the palette_import dialog to it's own file. * app/gimage.c * app/palette.[ch] * app/paletteP.h: changed accordingly. 2001-01-21 Simon Budig * modules/colorsel_triangle.c: Fixed the "disappearing triangle" bug. The triangle happens to be more triangular now too... :-) 2001-01-21 Sven Neumann * plug-ins/script-fu/Makefile.am: removed interp_md5.[ch] from the build because it was not used at all. * plug-ins/script-fu/script-fu-console.c * plug-ins/script-fu/script-fu-scripts.c * plug-ins/script-fu/script-fu-server.c * plug-ins/script-fu/script-fu.c: even more pedantic indentation 2001-01-21 Michael Natterer * app/palette_entries.h: removed. * app/gimppalette.[ch]: new object derived from GimpObject. Just used as a container at the moment (no signals or stuff used). * app/palette.[ch]: changed almost every line except in the import_dialog part. * app/Makefile.am * app/apptypes.h * app/convert.[ch] * app/gimpdnd.h * app/paletteP.h * app/palette_select.[ch] * app/convert_cmds.c * tools/pdbgen/pdb/convert.pdb: changed accordingly. * app/gimpdrawable.c: set klass->removed to NULL. 2001-01-21 Michael Natterer * app/color_notebook.[ch]: added a "title" parameter to the constructor. Pass a pointer to the ColorNotebook to the callback. Added a _get_color() function. * app/color_panel.[ch]: added a "title" parameter which is used for the notebook. * app/channels_dialog.c * app/color_area.c * app/colormap_dialog.c * app/convert.c * app/palette_select.c * app/qmask.c: changed the calls to color_notebook_new(), color_panel_new() and the ColorNotebook callbacks. * app/gradient.c: use a ColorNotebook instead of GtkColorSelection. * app/palette.c * app/palette_entries.h: use GimpRGB to store the color in the PaletteEntry. * po/POTFILES.in: added app/color_area.c 2001-01-20 Michael Natterer * app/gradient.[ch]: made gradient_get_color_at() use GimpRGB. * app/airbrush.c * app/blend.c * app/gimpcontextpreview.c * app/gradient_select.c * app/paint_core.[ch] * app/paintbrush.c * app/palette.c * app/pencil.c * app/gradients_cmds.c * app/gradient_select_cmds.c * tools/pdbgen/pdb/gradient_select.pdb * tools/pdbgen/pdb/gradients.pdb: changed accordingly. 2001-01-20 Michael Natterer * app/color_notebook.[ch] * app/gimpcontext.[ch] * app/gimpdnd.h: made the _set_color() and _drop_color() functions take a "const GimpRGB *" parameter. * app/by_color_select.c * app/channels_dialog.c * app/color_area.c * app/color_panel.c * app/color_picker.c * app/color_select.c * app/colormap_dialog.c * app/disp_callbacks.[ch] * app/gimpimage.h * app/palette.c: changed accordingly. * app/gradient.c * app/gradientP.h * app/gradient_header.h: use GimpRGB internally. 2001-01-20 Michael Natterer * app/gimpdrawable.[ch]: made gimp_drawable_fill() use GimpRGB, added some "const", delete unused function, reordered some functions. * app/drawable.c * app/qmask.c: follow the change. 2001-01-19 Michael Natterer * 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. 2001-01-18 Sven Neumann * plug-ins/common/gqbist.c: fixed typo, adjusted coding style 2001-01-17 Daniel Egger * PLUGIN_MAINTAINERS: Entered Jens Christian Restemeier as maintainer as wished. * plug-ins/common/gqbist.c: Applied a patch by Jens Christian Restemeier which fixes a calculus bug, adds antialiasing and beautifies the code quite a bit. 2001-01-17 Sven Neumann * INSTALL: adjusted version numbers, updated, added warning * configure.in: changed .gimp to .gimp-1.3 2001-01-17 Michael Natterer * app/gimprc.c: factored the color parsing code out to the new function parse_color() and made it parse RGB, RGBA, HSV and HSVA colors. * app/color_notebook.c * app/devices.c * app/session.c: changed accordingly. 2001-01-16 Sven Neumann * app/color_notebook.c: fixed my last change * libgimp/gimpcolorarea.c: swapped opaque and transparent areas 2001-01-16 Sven Neumann * libgimp/gimpcolorspace.c: fixed RGB to HSV routine * app/color_notebook.c: tweaked dialog layout a little, disabled toggle_buttons if the colorselector does not implement the set_channel method. * modules/colorsel_gtk.c * modules/colorsel_triangle.c * modules/colorsel_water.c: removed empty set_channel methods 2001-01-16 Sven Neumann * app/devices.c: don't show the alpha value of fore/background colors 2001-01-16 Michael Natterer * app/color_area.c * app/color_notebook.[ch] * app/color_panel.c * app/gimprc.c * app/session.c: store the color history in sessionrc. * app/channels_dialog.c: tweaked the "new channel" and "channel atributes" dialogs a bit. Mon Jan 15 17:22:30 PST 2001 Manish Singh * app/fileops.c: correct spelling of "lose" in revert dialog 2001-01-16 Michael Natterer * app/color_notebook.c: added a global color history of 16 colors. The "Add" button uses neither LRU nor pure right-shift order but something in between. The history is scheduled to go to sessionrc. 2001-01-15 Sven Neumann * app/devices.c: use a GimpColorArea for the foreground color in the Device Status dialog and added a background color 2001-01-15 Sven Neumann * 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. 2001-01-15 Michael Natterer * app/devices.c * app/gimprc.c: save the foreground and background color as array of RGBA doubles in "devicerc". 2001-01-15 Sven Neumann * app/color_notebook.c: make use of GimpColorAreas. Added two buttons to set the color to black or white. 2001-01-15 Michael Natterer * 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. 2001-01-15 Michael Natterer * 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). 2001-01-15 Michael Natterer * 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 ;-) 2001-01-15 Sven Neumann * plug-ins/gdyntext/gdyntext.[ch] * plug-ins/gdyntext/gdyntext_ui.c * plug-ins/gdyntext/gdyntextcompat.[ch]: use GimpRGB 2001-01-15 Sven Neumann * 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 2001-01-15 Sven Neumann * 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 2001-01-15 Michael Natterer * 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. 2001-01-15 Michael Natterer * 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. 2001-01-15 Simon Budig * app/apptypes.h I broke the Toolbox. Now it works again. The ToolType-enum *must* match the order in the tool_info-Array. 2001-01-15 Sven Neumann * 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. 2001-01-14 Simon Budig * 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... 2001-01-14 Michael Natterer * 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. 2001-01-14 Sven Neumann * 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 2001-01-14 Michael Natterer * app/channel.[ch] * app/gimpdrawable.[ch] * app/layer.[ch]: moved the "removed" signal from GimpChannel and GimpLayer to GimpDrawable. * app/gimpimage.[ch]: changed accordingly. 2001-01-14 Michael Natterer * 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 "". 2001-01-14 Sven Neumann 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 that fixes a longstanding bug in the sharpen filter which sometimes got the last line wrong. Fixes bug #34155. 2001-01-14 Michael Natterer * 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. 2001-01-12 Sven Neumann * TODO.xml: updated status * app/gimpcontext.c: added temporary functions to make it compile * app/pixel_processor.c: include tile.h when ENABLE_MP is defined * libgimp/gimpcolor.[ch]: added more GimpRGB functions * plug-ins/common/aa.c: merged fix from gimp-1-2 * 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: use GimpRGB whereever possible. Still work in progress. 2001-01-11 Sven Neumann * libgimp/gimpcolorarea.c: added antialiasing 2001-01-11 Sven Neumann * libgimp/gimpcolorbutton.[ch]: allow width/height of the color_area to be set to negative values so the GimpColorButton can be set up resizeable. 2001-01-11 Sven Neumann * README: changed for gimp-1.3 2001-01-11 Valek Filippov * plug-ins/script-fu.c: changed INIT_I18N() to INIT_I18N_UI(). 2001-01-10 Sven Neumann * 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 2001-01-10 Michael Natterer * 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. 2001-01-10 Michael Natterer * app/gimpbrushlist.c * app/gimpdrawable.c: forgot to remove #include "gimpsignal.h" * app/gimpobject.[ch]: added a "name" argument (not used yet). 2001-01-10 Michael Natterer * 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. 2001-01-09 Sven Neumann 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. 2001-01-09 Michael Natterer * app/color_notebook.c: Show the "Alpha" scale only when needed. * libgimp/gimpcolorarea.[ch]: fixed typos. 2001-01-09 Sven Neumann * TODO.xml: add more stuff 2001-01-09 Sven Neumann * 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 Lavery that adds new blending modes (Dodge/Burn/Hardlight). Please play with these new modes and check if they are useful and well-implemented. 2001-01-09 Sven Neumann * HACKING: added notice about autogenerated files. 2001-01-09 Sven Neumann * 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 2001-01-09 Michael Natterer * 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... 2001-01-08 Michael Natterer * app/color_notebook.[ch] * app/color_select.c: moved the "old" and "new" color areas from the notebook to the action_area. * TODO.xml: updated. * app/color_area.c * app/color_panel.c * app/colormap_dialog.c * app/palette.c * libgimp/gimpcolorselector.h * modules/colorsel_gtk.c * modules/colorsel_triangle.c * modules/colorsel_water.c: removed the "set_current" parameter all over the place because it was always TRUE and not used in the modules at all. 2001-01-08 Michael Natterer * app/color_notebook.c * app/color_select.c * libgimp/gimpcolorselector.h: more cleanup before chopping it up. 2001-01-08 Michael Natterer Removed GCG: * app/colormap_dialog.gc * app/colormap_dialog.i.[ch] * app/colormap_dialog.p.h * app/colormap_dialog.t.h * app/gimp.gh * tools/gcg/*: removed. * app/colormap_dialog.[ch]: moved all the colormap_dialog stuff here and cleaned up the autogenerated code. * autogen.sh * configure.in * app/Makefile.am * app/app_procs.c * app/apptypes.h * app/color_notebook.h * app/commands.c * app/gimpset.h * app/interface.c * po/POTFILES.in * tools/Makefile.am: changed accordingly, cleanup. * libgimp/gimpunitmenu.c: s/class/klass/ 2001-01-07 Michael Natterer * app/by_color_select.c * app/channels_dialog.c * app/color_area.c * app/color_notebook.[ch] * app/color_panel.[ch] * app/color_picker.c * app/color_select.c * app/colormap_dialog.i.c * app/devices.c * app/disp_callbacks.[ch] * app/gimpdnd.[ch] * app/palette.c * app/qmask.c * libgimp/gimpcolorselector.h * modules/colorsel_gtk.c * modules/colorsel_triangle.c * modules/colorsel_water.c: made the color_notebook, the color_area and DND speak in terms of RGBA instead of RGB. The alpha value is not used yet, only the API changed. Everything should work exactly as before. 2001-01-07 Michael Natterer * TODO.xml: add "Cleanup GIMP's color selectors". 2001-01-07 Michael Natterer * app/bezier_select.c * app/bezier_selectP.h: removed the obscure unused "extend" variable from the Bezier Tool structure. 2001-01-07 Michael Natterer * TODO.xml: added an item to optionally change the image window's background. * app/preferences_dialog.c: "Disable Tearoff Menus" was not saved to disk. 2001-01-04 Asbjorn Pettersen * modules/gimpmodregister.h: add #include * plug-ins/common/bz2.c (load_image): fix bug loading bz2 files (OS/2) 2001-01-04 Sven Neumann * plug-ins/script-fu/scripts/title-header.scm: merged fix from 1.2 2001-01-03 Michael Natterer * app/levels.c: reverted the behaviour of the "Reset" button back to resetting the current channel only. Resetting all channels was broken and IMHO cannot work the way it was implemented. 2001-01-03 Michael Natterer * app/plug_in_cmds.c * app/procedural_db_cmds.c * tools/pdbgen/pdb/plug_in.pdb * tools/pdbgen/pdb/procedural_db.pdb * tools/pdbgen/app.pl: conditionally include or "regexrepl.h", depending on HAVE_GLIBC_REGEX. 2001-01-03 Daniel Egger * app/plug_in_cmds.c: * app/procedural_db_cmds.c: * plug-ins/script-fu/Makefile.am: * plug-ins/script-fu/interp_regex.c: * plug-ins/script-fu/regexrepl.c: Conditionally compile regex if not available in glibc. * plug-ins/script-fu/regex.c: * plug-ins/script-fu/regex.h: Renamed files to regexrepl.[ch]. 2001-01-03 Daniel Egger * configure.in: Extended the glibc regexp check and enabled substitution for Makefiles. * app/Makefile.am: Compile regexp only if not in glibc. * app/plug_in_cmds.c: * app/procedural_db_cmds.c: * app/regexrepl.c: Include the correct local headerfile if no new glibc with regexp is available. * app/regex.c: * app/regex.h: Moved into regexprepl.[ch] to avoid nameclashes. 2001-01-02 Daniel Egger * acconfig.h: * configure.in: Added a check for a glibc compliant regex implementation. 2001-01-02 Simon Budig * app/paint_core.c: use floor() before casting to gint when calculating the current brush coordinates. Fixes the jagged brush stroke when stroking a path that leaves the image at the top or left edge (bug #6043). 2001-01-02 Daniel Egger * app/clone.c: * app/gimpimage.c: * app/temp_buf.c: Use the new _clear function and more cleanups. 2001-01-02 Michael Natterer * app/temp_buf.[ch]: temp_buf_data_clear(): the temp_buf's size is (width * height * bytes). Cleanups. * app/fileops.c: removed a debugging g_print(). 2001-01-02 Daniel Egger * app/temp_buf.c: * app/temp_buf.h: Add a new function "temp_buf_data_clear" to get a nulled chunk of memory. * app/iscissors.c: Use it here instead of two expensive for loops. Clean up the source a little. 2001-01-02 Michael Natterer * app/bezier_select.c * app/bezier_selectP.h * app/selection_options.h: moved the integer "extend" variable from SelectionOptions to the BezierSelect structure because it does not have a UI widget. Also initialize it with "0" (was used uninitialized before). I have no idea what it does. 2001-01-02 Michael Natterer * app/selection_options.h * app/tool_options.c: made a correct tool toption out of "Interactive" (added a default value and the "Reset" function, set unused pointers to NULL). * app/iscissors.c: fixed indentation and spacing. 2001-01-02 Daniel Egger * app/iscissors.c: * app/selection_options.h: * app/tool_options.c: Applied patch by laramieleavitt@onetel.net.uk to add an interactive update to the iscissors tool. 2001-01-02 Michael Natterer * app/gimphelp.c (gimp_idle_help): s/welcome.html/introduction.html/. 2001-01-02 Michael Natterer * app/gimprc.[ch] * app/menus.[ch] * app/preferences_dialog.c: added a preferences option to disable tearoff menus. Cleanup in preferences. * TODO.xml: done. 2001-01-02 Michael Natterer * app/commands.c: some nicer prototypes. * app/fileops.c: oops, forgot to gtk_widget_show() the open_options. 2001-01-02 Michael Natterer * app/commands.[ch] * app/fileops.[ch] * app/gdisplay.c * app/menus.c: Implemented "Save a Copy as..." which saves the image without changing it's filename. * app/layers_dialogP.h: export layers_dialog_layer_merge_query() here instead of defining it in commands.c * TODO.xml: mark this entry as done :) 2001-01-01 Michael Natterer * TODO.xml: added a TODO item for "Save a Copy..." 2001-01-01 Michael Natterer * plug-ins/libgck/gck/gck.h * plug-ins/libgck/gck/gckcolor.c: removed the GckRGB color type and all it's functions. * libgimp/Makefile.am * libgimp/gimpcolor.[ch]: new files containing the new GimpRGB color type and assorted functions. * libgimp/gimpcolorspace.[ch]: colorspace conversion routines for the new GimpRGB type. Also taken from LibGCK. * libgimp/gimp.h * libgimp/gimptypes.h: #include "gimpcolor.h". It's ugly to include it in both files but unavoidable to follow our new "*.c" file include policy. This will go away as libgimp will be chopped up into pieces anyway. * app/apptypes.h * app/asupsample.[ch] * app/blend.c * app/color_transfer.h * app/gradient_header.h: removed "color_t" and use GimpRGB instead. * plug-ins/Lighting/lighting_apply.c * plug-ins/Lighting/lighting_image.c * plug-ins/Lighting/lighting_image.h * plug-ins/Lighting/lighting_main.c * plug-ins/Lighting/lighting_main.h * plug-ins/Lighting/lighting_preview.c * plug-ins/Lighting/lighting_shade.c * plug-ins/Lighting/lighting_shade.h * plug-ins/MapObject/mapobject_apply.c * plug-ins/MapObject/mapobject_image.c * plug-ins/MapObject/mapobject_image.h * plug-ins/MapObject/mapobject_main.c * plug-ins/MapObject/mapobject_main.h * plug-ins/MapObject/mapobject_preview.c * plug-ins/MapObject/mapobject_shade.c * plug-ins/MapObject/mapobject_shade.h * modules/colorsel_triangle.c: s/GckRGB/GimpRGB/g * plug-ins/gdyntext/gdyntextcompat.h: check also for GIMP's minor version when deciding if to add a missing PDB wrapper. (All this compat cruft including libgimp/gimpcompat.h should go away ASAP) 2000-12-31 Michael Natterer More preparation for LibGCK removal: * libgimp/gimpcolorspace.[ch]: added a "_int" suffix to all functions operating on 3 gint pointers, just like the gdouble functions have a "_double" suffix. * app/color_balance.c * app/hue_saturation.c * app/paint_funcs.c * modules/colorsel_triangle.c * plug-ins/common/CML_explorer.c * plug-ins/common/scatter_hsv.c * plug-ins/common/sparkle.c * plug-ins/common/vinvert.c * plug-ins/gflare/gflare.c: changed accordingly. 2000-12-31 Sven Neumann Simon Budig * app/gimpbrush.c * plug-ins/common/gih.c: explicitely cast offset to (off_t) when seeking back. Should fix the problems reading grayscale BrushPipes on IRIX. 2000-12-31 Michael Natterer * app/apptypes.h: cleaned up a bit. * app/asupsample.[ch] * app/blend.[ch] * app/channel.h * app/gimpprogress.[ch] * app/layer.h * app/perspective_tool.c * app/plug_in.h * app/rotate_tool.c * app/scale_tool.c * app/shear_tool.c * app/transform_core.[ch]: s/gimp_progress/GimpProgress/g and some changes related to the apptypes.h cleanup. 2000-12-31 Michael Natterer * app/airbrush.[ch] * app/bezier_select.c * app/bezier_selectP.h * app/blend.[ch] * app/boundary.h * app/brightness_contrast.[ch] * app/bucket_fill.c * app/by_color_select.c * app/clone.[ch] * app/color_balance.c * app/color_picker.c * app/commands.c * app/convolve.[ch] * app/crop.c * app/crop.h * app/curves.c * app/dodgeburn.[ch] * app/edit_selection.[ch] * app/ellipse_select.c * app/eraser.[ch] * app/flip_tool.[ch] * app/free_select.[ch] * app/fuzzy_select.[ch] * app/gdisplay.c * app/gimage.c * app/histogram_tool.[ch] * app/hue_saturation.[ch] * app/image_map.[ch] * app/ink.[ch] * app/iscissors.c * app/levels.c * app/magnify.[ch] * app/move.c * app/nav_window.[ch] * app/paint_core.[ch] * app/paintbrush.[ch] * app/path_bezier.[ch] * app/path_tool.c * app/pencil.[ch] * app/perspective_tool.[ch] * app/posterize.c * app/rect_select.[ch] * app/rotate_tool.[ch] * app/scale_tool.[ch] * app/selection.[ch] * app/shear_tool.[ch] * app/smudge.[ch] * app/text_tool.[ch] * app/threshold.c * app/tools.[ch] * app/transform_core.[ch]: removed the "gdisp_ptr" madness and useless casts all over the place. Introduced a "PaintState" enum instead of #define's. Various cleanups. 2000-12-30 Michael Natterer One more 17C3 commit ... * plug-ins/libgck/gck/gck.h * plug-ins/libgck/gck/gckcolor.c: removed unused stuff. * plug-ins/Lighting/lighting_apply.c * plug-ins/Lighting/lighting_image.[ch] * plug-ins/Lighting/lighting_main.c * plug-ins/Lighting/lighting_preview.[ch] * plug-ins/Lighting/lighting_shade.c * plug-ins/Lighting/lighting_ui.c * plug-ins/MapObject/mapobject_apply.c * plug-ins/MapObject/mapobject_image.[ch] * plug-ins/MapObject/mapobject_main.c * plug-ins/MapObject/mapobject_preview.c * plug-ins/MapObject/mapobject_shade.[ch] * plug-ins/MapObject/mapobject_ui.c: cleanups in preparation for removal of LibGCK. 2000-12-30 Michael Natterer * app/gimage.[ch]: removed all the "typedef gimage_function gimp_image_function" stuff so we can clearly see what is really a GImage function. Removed gimage_get_ID(). Use pdb_id_to_image() instead. * app/airbrush.c * app/desaturate.c * app/disp_callbacks.c * app/equalize.c * app/fileops.c * app/floating_sel.c * app/gdisplay_ops.c * app/gimpdrawable.c * app/global_edit.c * app/image_map.c * app/invert.c * app/lc_dialog.c * app/paths_dialog.c * app/plug_in.c * app/xcf.c * app/color_cmds.c * app/convert_cmds.c * app/image_cmds.c * tools/pdbgen/pdb/color.pdb * tools/pdbgen/pdb/convert.pdb * tools/pdbgen/pdb/image.pdb: changed accordingly. 2000-12-29 Sven Neumann * TODO.xml: more things to do 2000-12-29 Michael Natterer * app/Makefile.am * app/channel_pvt.h * app/drawable_pvt.h * app/gdisplayF.h * app/gimpdrawableP.h * app/gimpimageP.h * app/layer_pvt.h * app/toolsF.h: removed these files. * app/apptypes.h * tools/pdbgen/enums.pl: added tons of opaque typedefs and enums. * tools/pdbgen/pdb/brush_select.pdb * tools/pdbgen/pdb/brushes.pdb * tools/pdbgen/pdb/channel.pdb * tools/pdbgen/pdb/color.pdb * tools/pdbgen/pdb/convert.pdb * tools/pdbgen/pdb/display.pdb * tools/pdbgen/pdb/drawable.pdb * tools/pdbgen/pdb/fileops.pdb * tools/pdbgen/pdb/gradient_select.pdb * tools/pdbgen/pdb/gradients.pdb * tools/pdbgen/pdb/help.pdb * tools/pdbgen/pdb/image.pdb * tools/pdbgen/pdb/layer.pdb * tools/pdbgen/pdb/pattern_select.pdb * tools/pdbgen/pdb/patterns.pdb * tools/pdbgen/pdb/selection.pdb * tools/pdbgen/pdb/tools.pdb * app/*: chainsaw #include cleanup: - Never (never!!) include stuff in header files except where we need access to structures' contents (like derived objects). - Added prototypes and proper formating in many files. - The #include order in *all* *.c files is as follows: #include "config.h" #include #include #include "apptypes.h" #include "gimp stuff" #include "libgimp stuff" #include "libgimp/gimpintl.h" By following this scheme we can easily see a file's dependencies from it's #include's and can grep for the inclusion to find out where a file is used. * tools/pdbgen/app.pl: changed to follow the include scheme above. * libgimp/Makefile.am * libgimp/gimpuitypes.h: new file, included from libgimp/gimpui.h and from app/apptypes.h. * libgimp/gimpcolorbutton.[ch] * libgimp/gimpdialog.[ch] * libgimp/gimphelpui.[ch] * libgimp/gimpparasite.[ch] * libgimp/gimppatheditor.[ch] * libgimp/gimpprotocol.c * libgimp/gimpquerybox.[ch] * libgimp/gimpsizeentry.[ch] * libgimp/gimptypes.h * libgimp/gimpui.h * libgimp/gimpunit.h * libgimp/gimpunitmenu.[ch] * libgimp/gimpwidgets.[ch]: changed accordingly. * plug-ins/FractalExplorer/Dialogs.c * plug-ins/gdyntext/message_window.c * plug-ins/imagemap/imap_default_dialog.c * plug-ins/imagemap/imap_file.c: these files used to include "libgimp/gimpui.h" without including "libgimp/gimp.h". This is no longer possible because the libgimpui headers don't include "libgimp/gimpunit.h" any more. 2000-12-29 Asbjorn Pettersen * app/module_db.c: OS/2 fix. remove gimp_color_display_register(),, 2000-12-29 Simon Budig * modules/colorsel_triangle.c Fixed the same 16->8bit conversion bug as in gimp-1-2 and removed duplicated code. 2000-12-28 Simon Budig * gimp_splash.ppm A new splash... * gimp1_2_splash.ppm A new file for the old splash * modules/colorsel_triangle.c Fixed a warning. 2000-12-28 Simon Budig * modules/colorsel_triangle.c Cleanup, indentation madness, first steps towards a one-click color-selector. 2000-12-28 Sven Neumann * app/channel.c * app/layer.c: use gtk_object_sink() instead of gtk_object_unref() when deleting a layer or channel since only floating objects should be destroyed this way. A layer or channel that has been attached to an image shall never be deleted. * app/layer_cmds.c * libgimp/gimplayer_pdb.c * tools/pdbgen/pdb/layer.pdb: reenabled the gimp_layer_delete() PDB function since it might be useful under rare circumstances. 2000-12-28 Sven Neumann * app/commands.c * app/layer_select.[ch]: small new feature: display a layer preview popup when switching the active layer using PageUp/PageDown. Could need a little tweaking... 2000-12-28 Michael Natterer * app/channel.[ch] * app/drawable.h * app/gimpdrawable.[ch] * app/gimpdrawableP.h * app/gimpimage.[ch] * app/gimpimageP.h * app/layer.[ch] * app/layer_pvt.h: started a major cleanup of all image/drawable files. Added tons of "const GimpImage *" declarations and properly formated the headers. * app/bezier_select.c * app/channels_dialog.c * app/crop.c * app/fileops.[ch] * app/fuzzy_select.c * app/gdisplay.c * app/layers_dialog.c * app/move.c * app/paint_funcs.[ch] * app/qmask.c * app/undo.c: changed accordingly plus the usual portion of coding style paranoia. This is not finished but Sven promised to buy me a beer if I commit now ;) 2000-12-28 Sven Neumann * app/boundaryF.h * app/gdisplayP.h * app/gimplistP.h * app/gimplutP.h * app/gimpsetP.h * app/parasitelistP.h * app/pixel_regionP.h: removed these files * app/Makefile.am * app/apptypes.h * app/boundary.[ch] * app/floating_sel.h * app/gdisplay.c * app/gimplist.h * app/gimplut.[ch] * app/gimpset.[ch] * app/parasitelist.[ch] * app/pixel_processor.c * app/pixel_region.[ch]: moved structure definitions into the normal headers, various cleanups 2000-12-28 Sven Neumann * app/channel_cmds.c * app/layer_cmds.c * libgimp/gimpchannel_pdb.c * libgimp/gimplayer_pdb.c * plug-ins/common/warp.c * plug-ins/gap/gap_exchange_image.c * plug-ins/gap/gap_range_ops.c * plug-ins/perl/examples/bricks * plug-ins/perl/examples/glowing_steel * tools/pdbgen/pdb/channel.pdb * tools/pdbgen/pdb/layer.pdb: Two of the gimp-perl scripts used to call gimp_layer_delete() after gimp_image_remove_layer(). This will fail since the layer is already scheduled for destruction by removing it from the associated image or by deleting that image. It is thus dangerous and superfluous to export this feature through the PDB. The gimp_layer_delete() is hereby obsolete and does nothing any longer. I have removed the code calling it from all over the place (it was commented out in almost all places). The PDB help for gimp_channel_delete() now explicetly tells the user about the proper usage of the procedure. 2000-12-28 Michael Natterer * app/bezier_select.[ch] * app/bezier_selectP.h: massive cleanup (prototypes, indentation, ...) 2000-12-28 Michael Natterer * app/measure.c: cleanup, proper prototypes, ... 2000-12-27 Michael Natterer * plug-ins/common/csource.c: the size of the string holding the image data was one byte too short (we forgot the trailing '\0'). Reported by 2000-12-27 Sven Neumann * TODO.xml * docs/make-todo: new files. TODO.xml is a first start on a roadmap towards gimp-1.4. All new features and major changes need to be defined here to be accepted into the gimp-1.3 branch. 2000-12-27 Michael Natterer * app/gimpimage.c: gimp_image_merge_layers(): apply the layer mask only if layer->apply_mask is TRUE, cleanup. 2000-12-27 Simon Budig * plug-ins/mosaic/mosaic.c * plug-ins/script-fu/scripts/textured-logo.scm Implemented a toggle to ask the user, if he wants to allow some tiles to be split in two pieces. This enables perfect hexagonal/ squared/octagonal tiles. Changed the PDB-Interface and changed the script using this plug-in. 2000-12-27 Michael Natterer * app/gimage.h * app/gimpimage.[ch]: implemented gimp_image_get_layer_by_index(), small cleanups. * app/commands.c * app/layers_dialog.c: use the new function instead of accessing the layer list directly. 2000-12-27 Michael Natterer * app/layers_dialog.c: layers_dialog_scroll_index(): don't fiddle around with magic numbers when calculating the layer widget's height but simply ask one of them for it's allocation. Fixes positioning when the preview is smaller than the layer widget list item. 2000-12-27 Tomas Ogren * plug-ins/ifscompose/ifscompose_storage.c: Remove the last comma in an enum, xlc barfs Tue Dec 26 11:10:23 PST 2000 Manish Singh * app/patterns.c: fix fd leak on loading Sun Dec 24 23:18:32 PST 2000 Manish Singh * Made 1.2.0 release