- 12 Dec, 2001 1 commit
-
-
Michael Natterer authored
2001-12-12 Michael Natterer <mitch@gimp.org> * app/core/Makefile.am * app/core/gimpimage-pick-color.[ch]: new files. gimp_image_pick_color() doesn't set the FG or BG color and doesn't touch the current palettte. * app/tools/gimpcolorpickertool.[ch]: removed the actual picking code, set the user_context's FG or BG color here. * app/gui/palette-editor.[ch]: s/palette_set_active_color/palette_editor_update_color/, don't set the FG and BG color here. The function is still #if 0'ed. * app/gui/toolbox.c: fixed WM resize hints in toolbox_style_set(), code cleanup. * app/tools/gimppainttool.[ch]: some cleanup before chopping. * app/tools/gimpsmudgetool.c: changed accordingly. * tools/pdbgen/pdb/misc_tools.pdb: removed the possibility to set the FG or BG color or add the picked color to the active palette bacause it doesn't belong here. Palette PDB wrappers are on the TODO anyway. * app/pdb/misc_tools_cmds.c * libgimp/gimpmisctools_pdb.[ch]: regenerated. * plug-ins/perl/examples/image_tile * plug-ins/perl/examples/logulator * plug-ins/script-fu/scripts/hsv-graph.scm * plug-ins/script-fu/scripts/title-header.scm: changed accordingly.
-
- 11 Dec, 2001 5 commits
-
-
Michael Natterer authored
2001-12-12 Michael Natterer <mitch@gimp.org> * docs/Wilber_Construction_Kit.xcf.gz: new version with additional layers by Ville Ptsi (drc).
-
Sven Neumann authored
2001-12-12 Sven Neumann <sven@gimp.org> * app/config/gimpconfig-deserialize.c * app/config/gimpconfig-serialize.c * app/config/gimpconfig-substitute.c: plugged a memleak and applied some optimizations.
-
Sven Neumann authored
2001-12-11 Sven Neumann <sven@gimp.org> * app/core/core-enums.h * app/core/core-types.h: moved gradient enums to core-enums.h and namespaceified them. * app/core/gimpdrawable-blend.[ch] * app/core/gimpgradient.c * app/gui/gradient-editor-commands.c * app/pdb/misc_tools_cmds.c * app/tools/gimpblendtool.c * tools/pdbgen/pdb/misc_tools.pdb: changed accordingly. * libgimp/gimpenums.h * plug-ins/script-fu/script-fu-constants.c * tools/pdbgen/enums.pl: regenerated.
-
Sven Neumann authored
2001-12-11 Sven Neumann <sven@gimp.org> * app/base/base-enums.h * app/base/base-types.h: moved all remaining enums to base-enums.h * app/core/core-enums.h * app/core/core-types.h: moved GimpImageType to core-enums.h and changed the values from RGB_GIMAGE to GIMP_RGB_IMAGE and the like. * app/core/gimpchannel.c * app/core/gimpdrawable-preview.c * app/core/gimpdrawable-transform.c * app/core/gimpdrawable.c * app/core/gimpimage-contiguous-region.c * app/core/gimpimage-convert.c * app/core/gimpimage-mask.c * app/core/gimpimage-merge.c * app/core/gimpimage-new.c * app/core/gimpimage-projection.c * app/core/gimpimage.[ch] * app/core/gimplayer.c * app/core/gimplayermask.c * app/core/gimppalette-import.c * app/display/gimpdisplayshell-dnd.c * app/display/gimpdisplayshell-render.c * app/gui/file-save-dialog.c * app/gui/toolbox.c * app/plug-in/plug-in.c * app/tools/gimpblendtool.c * app/tools/gimpcolorpickertool.c * app/tools/gimpdodgeburntool.c: changed accordingly. * tools/pdbgen/Makefile.am: no need to parse app/base/base-types.h any longer. * app/pdb/color_cmds.c * app/pdb/drawable_cmds.c * app/pdb/layer_cmds.c * app/pdb/paint_tools_cmds.c * tools/pdbgen/enums.pl: regenerated.
-
Sven Neumann authored
2001-12-11 Sven Neumann <sven@gimp.org> * app/core/core-types.h: removed GimpImageBaseType enum ... * app/core/core-enums.h: and added it here with proper namespace (enum values prefixed with GIMP_). * app/gimprc.c * app/core/gimpcoreconfig.c * app/core/gimpdrawable-bucket-fill.c * app/core/gimpdrawable-preview.c * app/core/gimpdrawable.c * app/core/gimpedit.c * app/core/gimpimage-convert.c * app/core/gimpimage-duplicate.c * app/core/gimpimage-mask.c * app/core/gimpimage-merge.c * app/core/gimpimage-new.c * app/core/gimpimage-projection.c * app/core/gimpimage.c * app/core/gimplayer.c * app/core/gimppalette-import.c * app/display/gimpdisplay-handlers.c * app/display/gimpdisplayshell-dnd.c * app/display/gimpdisplayshell.c * app/file/file-utils.c * app/gui/colormap-dialog.c * app/gui/convert-dialog.c * app/gui/info-window.c * app/gui/layers-commands.c * app/gui/palette-import-dialog.c * app/gui/preferences-dialog.c * app/gui/toolbox.c * app/tools/gimpclonetool.c * app/tools/gimppainttool.c * app/widgets/gimpchannellistview.c * tools/pdbgen/Makefile.am * tools/pdbgen/pdb/convert.pdb * tools/pdbgen/pdb/image.pdb: changed accordingly. * tools/pdbgen/enums.pl * app/pdb/convert_cmds.c * app/pdb/image_cmds.c * libgimp/gimpconvert_pdb.c * libgimp/gimpimage_pdb.c: regenerated. * app/config/Makefile.am * app/config/gimpconfig-params.h * app/config/gimpconfig-serialize.c * app/config/gimpcoreconfig.[ch]: added more stuff to GimpCoreConfig.
-
- 10 Dec, 2001 8 commits
-
-
Sven Neumann authored
2001-12-10 Sven Neumann <sven@gimp.org> * libgimpbase/Makefile.am * libgimpbase/gimpenv.[ch]: added new function gimp_plug_in_directory() to retrieve the compile_time defined plug_in directory. Declared some functions G_GNUC_CONST and simplified code by introducing a helper function. * app/config/Makefile.am * app/config/gimpcoreconfig.[ch]: started to implement GimpCoreConfig derived from GimpBaseConfig. * app/config/gimpbaseconfig.[ch]: misc small changes. * app/config/gimpconfig-deserialize.c (gimp_config_deserialize_properties): return quietly if there are no properties. * app/config/gimpconfig-substitute.c: more special cases. * app/config/test-config.c: test GimpCoreConfig.
-
Sven Neumann authored
-
Sven Neumann authored
2001-12-10 Sven Neumann <sven@gimp.org> * app/config/Makefile.am * app/config/gimpconfig-substitute.[ch]: new files with code to do substitution magic on path strings. Similar to the code in gimprc.c but UTF8 safe. * app/config/gimpconfig-params.h * app/config/gimpbaseconfig.c: added a bunch of convenience macros to register config properties and use them for GimpBaseConfig. * app/config/gimpconfig-types.h: added missing GIMP_VALUE_HOLDS_FOO() macros. * app/config/gimpconfig-deserialize.c: UTF8-validate all strings. * app/config/gimpconfig-serialize.c: some code reorganisation.
-
Michael Natterer authored
2001-12-10 Michael Natterer <mitch@gimp.org> * plug-ins/common/screenshot.c: removed deprecated use of "user_data" together with libgimpwidgets standard callbacks. Reported by Carambide on #gimp.
-
-
Michael Natterer authored
2001-12-10 Michael Natterer <mitch@gimp.org> * tools/pdbgen/pdb/tools.pdb: removed, chopped... * tools/pdbgen/pdb/misc_tools.pdb * tools/pdbgen/pdb/paint_tools.pdb: ...and added here. * app/pdb/tools_cmds.c * libgimp/gimptools_pdb.[ch]: removed. * app/pdb/internal_procs.c * app/pdb/misc_tools_cmds.c * app/pdb/paint_tools_cmds.c * libgimp/gimpmisctools_pdb.[ch] * libgimp/gimppainttools_pdb.[ch]: generated files. * app/pdb/Makefile.am * libgimp/Makefile.am * libgimp/gimp_pdb.h * tools/pdbgen/Makefile.am * tools/pdbgen/groups.pl: changed accordingly. * tools/pdbgen/pdb/selection_tools.pdb * tools/pdbgen/pdb/transform_tools.pdb: cosmetic comment changes.
-
Sven Neumann authored
2001-12-10 Sven Neumann <sven@gimp.org> * app/base/Makefile.am * app/core/Makefile.am: use GLIB_GENMARSHAL and GLIB_MKENUMS variables declared by AM_PATH_GLIB_2_0 instead of calling the binaries directly.
-
Sven Neumann authored
2001-12-10 Sven Neumann <sven@gimp.org> * app/config/gimpconfig-deserialize.c * app/config/gimpconfig.c: stricter parsing. * app/config/test-config.c: more output.
-
- 09 Dec, 2001 4 commits
-
-
Sven Neumann authored
-
Sven Neumann authored
2001-12-09 Sven Neumann <sven@gimp.org> * autogen.sh: check for pkg.m4. * configure.in: removed logic to extract GLIB CFLAGS and LDFLAGS from the GTK CFLAGS and LDFLAGS. Use AM_PATH_GLIB_2_0() instead. This change will break things on awfully misconfigured systems. Simplified the checks and moved version numbers to the top to ease maintainance. Check if gtk-doc is suffiently new. * app/main.c: removed the GimpConfig test code. * app/config/Makefile.am * app/config/test-config.c: added a (yet very small) standalone test suite for GimpConfig. * app/config/gimpconfig.[ch] * app/config/gimpconfig-deserialize.[ch]: allow to specify if unknown tokens should be stored or should cause a parser error. Changed code to store unknown tokens to use a list since a hash table seems to be overkill here.
-
Sven Neumann authored
2001-12-09 Sven Neumann <sven@gimp.org> * app/config/gimpconfig-params.[ch] * app/config/gimpconfig-types.[ch]: added new param_spec GIMP_PARAM_PATH with value_type GIMP_PATH_TYPE. * app/config/gimpconfig.[ch]: added code to store and lookup unknown tokens. * app/config/gimpconfig-deserialize.c: improved logic, prepared for special handling of GIMP_PATH_TYPE; still work in progress... * app/config/gimpbaseconfig.c: register temp-path and swap-path as GIMP_PARAM_PATH properties.
-
Sven Neumann authored
2001-12-08 Sven Neumann <sven@gimp.org> * tools/pdbgen/enumgen.pl: introduced new trigraph keyword /*< pdb-skip >*/ used to skip enums for inclusion in libgimp when parsing headers. The keyword /*< skip >*/ is still used to skip enum values. This change is necessary since glib-mkenums also uses /*< skip >*/. * app/base/base-types.h * app/base/base-enums.h: moved GimpCheckType and GimpCheckSize to base-enums.h so they get registered with the type system, marked them as /*< pdb-skip >*/. * app/core/core-types.h * app/display/display-types.h * app/paint-funcs/paint-funcs-types.h * app/tools/gimppainttool.h * app/tools/tools-types.h: changed /*< skip >*/ to /*< pdb-skip >*/.
-
- 08 Dec, 2001 6 commits
-
-
Sven Neumann authored
2001-12-08 Sven Neumann <sven@gimp.org> * app/core/Makefile.am * app/core/core-enums.h: new file that holds enums that are registered with the type system and is used to generate core-enums.c. * app/core/core-types.h: include core-enums.h * app/base/base-types.h: namespace cleanup. Prefix all enumeration types with Gimp and their values with GIMP. Moved GimpLayerModeEffects enum ... * app/base/base-enums.h: ... here. * app/image_map.c * app/base/temp-buf.c * app/core/gimpcontext.[ch] * app/core/gimpdrawable-transform.c * app/core/gimpdrawable.c * app/core/gimpedit.c * app/core/gimpimage-mask.c * app/core/gimpimage-merge.c * app/core/gimpimage-new.c * app/core/gimpimage-projection.c * app/core/gimpimage.[ch] * app/core/gimplayer.[ch] * app/display/gimpdisplayshell-dnd.c * app/display/gimpdisplayshell-render.c * app/gui/brush-select.c * app/gui/layers-commands.c * app/gui/preferences-dialog.c * app/gui/toolbox.c * app/paint-funcs/paint-funcs.[ch] * app/tools/gimpconvolvetool.c * app/tools/gimperasertool.c * app/tools/gimpiscissorstool.c * app/tools/gimppainttool.[ch] * app/tools/gimptexttool.c * app/tools/paint_options.c * app/widgets/gimplayerlistview.c * app/widgets/gimpwidgets-constructors.[ch] * app/xcf/xcf-load.c * tools/pdbgen/pdb/brush_select.pdb * tools/pdbgen/pdb/brushes.pdb * tools/pdbgen/pdb/color.pdb * tools/pdbgen/pdb/layer.pdb * tools/pdbgen/pdb/tools.pdb: changed accordingly. * libgimpbase/gimpbasetypes.h: no need to chop GIMP prefix off the enums any longer. * app/pdb/brush_select_cmds.c * app/pdb/brushes_cmds.c * app/pdb/color_cmds.c * app/pdb/layer_cmds.c * app/pdb/message_cmds.c * app/pdb/procedural_db_cmds.c * app/pdb/tools_cmds.c * libgimp/gimpenums.h * plug-ins/script-fu/script-fu-constants.c * tools/pdbgen/enums.pl: regenerated. * app/gimprc.c: removed code to parse for "plug_in" keyword which was left over from some very early gimp days. * app/plug-in/plug-in.[ch]: removed now unused function plug_in_add().
-
Sven Neumann authored
2001-12-08 Sven Neumann <sven@gimp.org> * app/core/Makefile.am: fixed build rules for gimpmarshal.[ch].
-
Sven Neumann authored
2001-12-08 Sven Neumann <sven@gimp.org> * app/config/gimpconfig-deserialize.c: improved code readability by splitting deserialize_property into smaller functions. * app/config/gimpconfig.[ch]: added gimp_config_debug_notify_callback() for debugging purposes. * app/main.c: use gimp_config_debug_notify_callback().
-
Sven Neumann authored
2001-12-08 Sven Neumann <sven@gimp.org> * app/config/Makefile.am * app/config/gimpconfig-params.[ch] * app/config/gimpconfig-types.[ch]: new files implementing special GParamSpecs and GValueTypes needed for GimpConfig. * app/config/gimpbaseconfig.c: register tile-cache-size property with GimpParamSpecMemsize. * app/config/gimpconfig-deserialize.[ch] * app/config/gimpconfig-serialize.[ch]: enable serialization and deserialization of non-fundamental types.
-
-
-
- 07 Dec, 2001 2 commits
-
-
Michael Natterer authored
2001-12-07 Michael Natterer <mitch@gimp.org> * app/Makefile.am * app/devices.[ch]: removed, chopped... * app/widgets/Makefile.am * app/widgets/widgets-types.h * app/gui/Makefile.am * app/widgets/gimpdeviceinfo.[ch] * app/widgets/gimpdevices.[ch] * app/gui/device-status-dialog.[ch] * app/gui/input-dialog.[ch]: ...and added here. Made GimpToolInfo a GimpContext subclass. Create a GimpDeviceManager struct in gimpdevices.c and attach it to the Gimp instance. * app/core/gimp.[ch]: removed gimp_create_context(). It was a bad idea in the first place beause it prevented GimpContext subclasses from being be properly registered with their Gimp instance. * app/core/gimpcontext.c: moved the stuff which used to be in gimp_create_context() back here. Added a "gimp" property which must be set on construction. Added a "dispose" implementation which removes the context from it's Gimp's context_list. * app/gimprc.c * app/core/gimptoolinfo.[ch] * app/display/gimpdisplayshell-callbacks.c * app/gui/brush-select.c * app/gui/dialogs-constructors.c * app/gui/gradient-editor.c * app/gui/gradient-select.c * app/gui/gui.c * app/gui/menus.c * app/gui/palette-editor.c * app/gui/palette-select.c * app/gui/pattern-select.c * app/gui/toolbox.c * app/tools/gimppainttool.c * app/tools/tool_manager.c * app/widgets/gimpimagedock.c: changed accordingly. * app/gui/tools-commands.[ch]: made all callback signatures the same. * app/gui/preferences-dialog.c: cleaned up the display_format_string GtkCombo code.
-
Sven Neumann authored
2001-12-07 Sven Neumann <sven@gimp.org> * app/core/gimpmarshal.[ch]: removed from CVS, they are generated. * app/base/Makefile.am * app/base/base-enums.h: new file defining enums that are to be registered. Used to build app/base/base-enums.c. * app/base/base-types.h: include base-enums.h. * tools/pdbgen/Makefile.am * tools/pdbgen/enumcode.pl * tools/pdbgen/enums.pl: parse the new base-enums.h file and modified the perl voodoo so it doesn't prefix enums with GIMP_ that are already properly namespaced. * app/core/core-types.h: don't need to chop GIMP from enum. * app/pdb/color_cmds.c * app/pdb/tools_cmds.c * libgimp/gimpenums.h * plug-ins/script-fu/script-fu-constants.c: regenerated. * app/config/gimpconfig-deserialize.[ch] * app/config/gimpconfig-serialize.[ch] * app/config/gimpconfig.[ch]: made GimpConfig an interface including a reasonable default implementation that works on object properties. * app/config/Makefile.am * app/config/gimpbaseconfig.[ch]: new GimpBaseConfig using the GimpConfig interface. Yet only used for testing from app/main.c. * app/main.c: test the new GimpBaseConfig object. * app/gimprc.c * app/base/base-config.h * app/base/*.c * app/core/gimpdatafiles.c * app/core/gimpdrawable-transform.c * app/core/gimppreviewcache.c * app/gui/preferences-dialog.c * app/paint-funcs/paint-funcs.c * app/xcf/xcf-seek.c: need to include glib-object.h since base-config contains registered enums now. Follow name change of InterpolationType to GimpInterpolationType.
-
- 06 Dec, 2001 5 commits
-
-
David Neary authored
2001-12-06 David Neary <bolsh@gimp.org> * plug-ins/common/vpropagate.c: Create Erode and Dilate filter menu entries with reasonable defaults for this plug-in.
-
Sven Neumann authored
2001-12-06 Sven Neumann <sven@gimp.org> * app/gui/offset-dialog.c: some GUI fiddling.
-
Rebecca Walter authored
2001-12-06 Rebecca Walter <bex@gimp.org> * app/gui/module-browser.c * app/gui/offset-dialog.c: More of my proofing.
-
David Odin authored
removing a bunch of unuseful static variables. Changed some g_malloc to g_new while I was on it.
-
David Odin authored
removing a bunch of unuseful static variables. Changed some g_malloc to g_new while I was on it.11
-
- 05 Dec, 2001 1 commit
-
-
Marc Lehmann authored
-
- 03 Dec, 2001 5 commits
-
-
Michael Natterer authored
-
Michael Natterer authored
2001-12-03 Michael Natterer <mitch@gimp.org> * app/devices.c: use the passed Gimp pointer instead of using "the_gimp". * app/base/temp-buf.c: indentation. * app/gui/preferences-dialog.c: prefs_toggle_callback(): fixed segfault when trying to find the prefs_dlg widget from a menu item callback (Fixes #65757). * app/gui/offset-dialog.[ch]: fixed public prototype, include the header in the .c file. * app/gui/menus.c: some menu cleanup: moved all functions which operate on the active layer/drawable to <Image>/Layer. Renamed "Layers" to "Layer". * app/display/gimpdisplayshell.c: changed menu update function accordingly. * app/gui/image-commands.[ch] * app/gui/layers-commands.[ch]: moved stuff from image-commands.* to layers-commads.*- * app/tools/gimpblendtool.c * app/tools/gimpbrightnesscontrasttool.c * app/tools/gimpcolorbalancetool.c * app/tools/gimpcurvestool.c * app/tools/gimphistogramtool.c * app/tools/gimphuesaturationtool.c * app/tools/gimplevelstool.c * app/tools/gimpposterizetool.c * app/tools/gimpthresholdtool.c * app/tools/paint_options.c * app/tools/transform_options.c * plug-ins/common/align_layers.c * plug-ins/common/autocrop.c * plug-ins/common/autostretch_hsv.c * plug-ins/common/c_astretch.c * plug-ins/common/color_enhance.c * plug-ins/common/guillotine.c * plug-ins/common/normalize.c * plug-ins/common/rotate.c * plug-ins/common/threshold_alpha.c * plug-ins/common/zealouscrop.c * plug-ins/rcm/rcm.c * plug-ins/fp/fp.c: register under <Image>/Layer, some cosmetic fixes.
-
Sven Neumann authored
2001-12-03 Sven Neumann <sven@gimp.org> Michael Natterer <mitch@gimp.org> * app/paint-funcs/paint-funcs-mmx.h: removed redefiniton of HAS_ALPHA macro. * app/core/gimp.c: reverted Daniel's change; it doesn't make the code simpler, only more error-prone. * app/gui/info-dialog.h * app/gui/resize-dialog.h * app/core/gimp.h * app/core/gimpbrushgenerated.h * app/core/gimpbrushpipe.h * app/core/gimpchannel.[ch] * app/core/gimpcontainer.h * app/core/gimpcoreconfig.h * app/core/gimpdata.h * app/core/gimpdatafactory.[ch] * app/core/gimpdrawable-blend.c * app/core/gimpdrawable.[ch] * app/core/gimpimage.h * app/core/gimpimagefile.h * app/core/gimplayer.h * app/core/gimplayermask.h * app/core/gimpmoduleinfo.h * app/core/gimppalette.h * app/core/gimpundo.h * app/widgets/gimpbrushfactoryview.h * app/widgets/gimpconstrainedhwrapbox.h * app/widgets/gimpcontainermenu.h * app/widgets/gimpcontainerview.h * app/widgets/gimpdialogfactory.h * app/widgets/gimpimagedock.h * app/widgets/gimplistitem.h * app/widgets/gimpmenuitem.h * app/widgets/gimpnavigationpreview.h * app/widgets/gimppreview.h * app/gimprc.h * app/pathP.h * app/tools/gimpbezierselecttool.h * app/tools/gimpcolorbalancetool.h * app/tools/gimpcurvestool.h * app/tools/gimpdodgeburntool.c * app/tools/gimpfreeselecttool.h * app/tools/gimphuesaturationtool.h * app/tools/gimpinktool-blob.h * app/tools/gimpinktool.h * app/tools/gimpiscissorstool.h * app/tools/gimpmagnifytool.h * app/tools/gimpmeasuretool.h * app/tools/gimppainttool.h * app/tools/gimppathtool.h * app/tools/gimprectselecttool.h * app/tools/gimpthresholdtool.h * app/tools/gimptool.h * app/tools/gimptransformtool.h * app/base/base-config.h * app/base/gimplut.[ch] * app/base/pixel-region.h * app/base/pixel-surround.[ch] * app/base/temp-buf.[ch] * app/base/tile-manager-private.h * app/base/tile-manager.[ch] * app/base/tile-private.h * app/base/tile.[ch] * app/display/gimpdisplay.h * app/display/gimpdisplayshell-selection.h * app/display/gimpdisplayshell.h * app/gui/brush-select.h * app/gui/gradient-editor.h * app/gui/gradient-select.h: reverted most of Daniel's changes. There's no reason to use unsigned integers here and in lots of places it is even wrong. Then it's way too early to convert gbooleans into bitfields. This change may make sense in a few places but can happen later when the API has settled and the code is more stable. * app/gimprc.c: reverted Daniel's change. This is a GCC-ism and this code is about to die soon anyway.
-
Christian Rose authored
2001-12-03 Christian Rose <menthos@menthos.com> * sv.po: Updated Swedish translation.
-
Daniel Egger authored
2001-12-03 Daniel Egger <degger@fhm.edu> * app/core/gimp.c: Simplified logic thanks to bitfields.
-
- 02 Dec, 2001 2 commits
-
-
Sven Neumann authored
2001-12-02 Sven Neumann <sven@gimp.org> * app/plug-in/plug-in.c: use g_tree_foreach() instead of deprecated g_tree_traverse(). * app/undo_history.c * app/display/gimpdisplayshell-selection.c * app/display/gimpdisplayshell.c * app/gui/about-dialog.c * app/gui/color-area.c * app/gui/color-select.c * app/gui/gradient-editor.c * app/gui/gui.c * app/gui/paths-dialog.c * app/gui/user-install-dialog.c * app/tools/gimpcurvestool.c * app/tools/gimpinktool.c * app/widgets/gimpcursor.c * app/widgets/gimpnavigationpreview.c * libgimpwidgets/gimpchainbutton.c * libgimpwidgets/gimppixmap.c * plug-ins/common/animationplay.c * plug-ins/common/uniteditor.c * plug-ins/ifscompose/ifscompose.c: s/gdk_gc_unref/g_object_unref/, s/gdk_drawable_unref/g_object_unref/
-
Daniel Egger authored
2001-12-02 Daniel Egger <degger@fhm.edu> * app/gimprc.c: Convert ugly comments into named structure fields. Much cleaner and less errorprone though may cause troubles on older compilers and then needs to be reverted. Please report! * app/base/base-types.h: Add FIXME reminder. * app/base/gimplut.c: Use CLAMP macro instead of if-cascade. * app/base/temp-buf.c: Remove duplicated calculations and simplify checks. * app/base/tile-manager.c: - (tile_manager_get_tile_num): Return success and take an additional pointer for the tilenumber. - Simplify logic in the rest of the file as a result. - Remove rotten debugging cruft. * app/core/gimpbrushgenerated.c: Fix two stylistic nits. * app/app_procs.c: Include <stdlib.h> for exit () prototype. * app/core/gimpdrawable-blend.c: Include <stdlib.h> for abs () prototype. * app/display/gimpdisplay.c: Include <string.h> for memcpy () prototype. * app/core/gimpimage-convert.c: (HIST_RGB): First parameter is not const. Fixes a gcc warning for a wrong return value. * libgimpwidgets/gimpunitmenu.c * app/core/gimpunit.c: Add suggested (by gcc 3.1 cvs) parentheses to group correct logic tests together. * app/paint-funcs/paint-funcs-generic.h: Fix my HAS_ALPHA macro to avoid gcc 3.1 cvs warning. * app/gimprc.h * pathP.h * base-config.h * app/base/boundary.h * app/base/gimplut.[ch] * app/base/pixel-region.h * app/base/pixel-surround.[ch] * app/base/temp-buf.[ch] * app/base/tile-manager-private.h * app/base/tile-manager.c * app/base/tile-private.h * app/base/tile.[ch] * app/core/gimp.h * app/core/gimpbrushgenerated.h * app/core/gimpbrushpipe.h * app/core/gimpchannel.[ch] * app/core/gimpcontainer.h * app/core/gimpcoreconfig.h * app/core/gimpdata.h * app/core/gimpdatafactory.[ch] * app/core/gimpdrawable-blend.c * app/core/gimpdrawable.[ch] * app/core/gimpimage.h * app/core/gimpimagefile.h * app/core/gimplayer.h * app/core/gimplayermask.h * app/core/gimpmoduleinfo.h * app/core/gimppalette.h * app/core/gimpundo.h * app/display/gimpdisplay.h * app/display/gimpdisplayshell-selection.h * app/display/gimpdisplayshell.h * app/gui/brush-select.h * app/gui/gradient-editor.h * app/gui/gradient-select.h * app/gui/info-dialog.h * app/gui/resize-dialog.h * app/tools/gimpbezierselecttool.h * app/tools/gimpcolorbalancetool.h * app/tools/gimpcolorpickertool.h * app/tools/gimpcurvestool.h * app/tools/gimpdodgeburntool.c * app/tools/gimpfreeselecttool.h * app/tools/gimpfuzzyselecttool.h * app/tools/gimphuesaturationtool.h * app/tools/gimpinktool-blob.h * app/tools/gimpinktool.h * app/tools/gimpiscissorstool.h * app/tools/gimpmagnifytool.h * app/tools/gimpmeasuretool.h * app/tools/gimppainttool.h * app/tools/gimppathtool.h * app/tools/gimprectselecttool.h * app/tools/gimpthresholdtool.h * app/tools/gimptool.h * app/tools/gimptransformtool.h * app/tools/path_toolP.h * app/widgets/gimpbrushfactoryview.h * app/widgets/gimpconstrainedhwrapbox.h * app/widgets/gimpcontainermenu.h * app/widgets/gimpcontainerview.h * app/widgets/gimpdialogfactory.h * app/widgets/gimpimagedock.h * app/widgets/gimplistitem.h * app/widgets/gimpmenuitem.h * app/widgets/gimpnavigationpreview.h * app/widgets/gimppreview.h: Unsignify lots of variables and parameters and use bitfields in structs where possible. First part of a huge cleanup all over the code...
-
- 01 Dec, 2001 1 commit
-
-
Michael Natterer authored
2001-12-01 Michael Natterer <mitch@gimp.org> * app/errors.c: forgot a "return". * app/gui/error-console-dialog.c: the menu item signals were connected "swapped", which is wrong. * app/tools/gimperasertool.c: added a cursor_update_func(), update the "toggled" state there and chain up. Fixes wrong cursor updating. Made brush_pipe slection work again, removed the #warnings: * app/core/gimpbrush.[ch] * app/core/gimpbrushpipe.c: changed brush_class->select_brush() and brush_class->want_null_motion() to be proper virtual functions. Pass last_coords and cur_coords to them. * app/tools/gimppainttool.c: call the functions again.
-