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 inlcude "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