1. 02 Dec, 2001 1 commit
    • Daniel Egger's avatar
      Convert ugly comments into named structure fields. Much cleaner and less · 1ed91801
      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...
      1ed91801
  2. 29 Oct, 2001 1 commit
    • Sven Neumann's avatar
      rewrote so gcc-3.0 doesn't complain. · de5af18f
      Sven Neumann authored
      2001-10-29  Sven Neumann  <sven@gimp.org>
      
      	* app/base/temp-buf.c (temp_buf_to_gray): rewrote so gcc-3.0 doesn't
      	complain.
      
      	* app/widgets/gimpfontselection-dialog.c: use g_ascii_strcasecmp().
      
      	* libgimp/gimpintl.h
      	* libgimp/stdplugins-intl.h
      	* plug-ins/script-fu/script-fu-intl.h: don't call gtk_set_locale()
      	since gtk_init() does it for us now. Don't set LC_NUMERIC to "C".
      	INIT_I18N_UI() is the same as INIT_I18N_UI() now.
      
      	* app/devices.c
      	* app/gimprc.c
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpgradient.c
      	* app/gui/color-notebook.c
      	* app/gui/gradients-commands.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/gimpressionist/presets.c
      	* plug-ins/ifscompose/ifscompose_storage.c: use g_ascii_formatd() and
      	g_ascii_strtod() to serialize and deserialize floats. These functions
      	are locale-independent. There are probably more places that need to be
      	fixed in this fashion.
      
      	* 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: s/INIT_I18N_UI/INIT_I18N/
      
      	* tools/gimp-remote.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/core/gimpimage-contiguous-region.c
      	* app/paint-funcs/paint-funcs-indexeda.c
      	* app/paint-funcs/paint-funcs.c
      	* app/tools/gimppathtool.c
      	* app/tools/path_tool.c
      	* modules/colorsel_triangle.c
      	* plug-ins/common/mpeg.c
      	* plug-ins/imagemap/imap_csim_parse.c: cleanups
      de5af18f
  3. 14 Aug, 2001 1 commit
    • Michael Natterer's avatar
      an evil temp_hack which lets GimpContext managing the active display · e2daae31
      Michael Natterer authored
      2001-08-14  Michael Natterer  <mitch@gimp.org>
      
      	* app/gdisplay.h: an evil temp_hack which lets GimpContext managing
      	the active display withoug including "gdisplay.h". Will go away as
      	soon ad context properties are registered dynamically.
      
      	* app/module_db.c: cleaned up the object code in preparation of
      	moving it to core/.
      
      	* app/path.c: connect to GimpImage's
      
      	* app/core/gimpobject.[ch]: derive it from GObject, not from
      	GtkObject any more (yeah :-)
      
      	* app/core/*.c: #include <glib-object.h> instead of <gtk/gtk.h>,
      	removed some remaining GtkObject-isms.
      
      	(left in a few #include <gtk/gtk.h> where bigger changes are needed
      	to get rid of the UI dependency).
      
      	* app/core/core-types.h: #include <gdk-pixbuf/gdk-pixbuf.h> here
      	temporarily.
      
      	* app/core/gimp.c (gimp_create_display): unref the image after
      	creating it's first display.
      
      	* app/core/gimpbrush.[ch]: disabled the parts of the code which
      	depend on GimpPaintTool.
      
      	* app/core/gimpbrushgenerated.c
      	* app/core/gimpbrushpipe.c: changed accordingly.
      
      	* app/core/gimpcontext.[ch]: evil hack (see above) to manage the
      	active display without including "gdisplay.h"
      
      	* app/core/gimpimage-mask.[ch]: pass a context to
      	gimage_mask_stroke() and get the current tool's PDB string from
      	there.
      
      	* app/core/gimpedit.c: changed accordingly.
      
      	* app/core/gimpimage.c: use gimp_image_update() instead of
      	gdisplays_update_full().
      
      	* app/gui/color-area.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/edit-commands.c
      	* app/gui/image-commands.c
      	* app/gui/toolbox.c: changed accordingly (don't use Gtk methods on
      	GObjects).
      
      	* app/gui/menus.c: fix some const warnings by explicit casting.
      
      	* app/tools/*.[ch]: ported all tools to GObject, some minor
      	cleanup while i was on it.
      
      	* app/widgets/gimpdialogfactory.[ch]: ported to GObject.
      
      	* app/widgets/gimplayerlistview.h: added FOO_GET_CLASS() macro.
      
      	* tools/pdbgen/app.pl: added a "widgets_eek" hack like "tools_eek"
      	which inserts #include "widgets/widgets-types.h" before ordinary
      	includes.
      
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/edit.pdb
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/edit_cmds.c: changed according to the stuff above.
      e2daae31
  4. 11 Aug, 2001 1 commit
    • Michael Natterer's avatar
      added a TODO entry about additional image/file info. · 357f463d
      Michael Natterer authored
      2001-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* TODO.xml: added a TODO entry about additional image/file info.
      
      	* app/file-save.c: #include "core/gimpdocuments.h"
      
      	* app/core/gimpcontainer.[ch]: made virtual functions out of some
      	signals.
      
      	* app/core/*.[ch]: more GObject stuff: ported all
      	gimp_foo_get_type() functions and replaced almost all "destroy"
      	implementations with either "finalize" or "dispose" functions.
      357f463d
  5. 10 Aug, 2001 1 commit
    • Michael Natterer's avatar
      fix compiler warning. · 2353c5d3
      Michael Natterer authored
      2001-08-10  Michael Natterer  <mitch@convergence.de>
      
      	* app/nav_window.c: fix compiler warning.
      
      	* app/core/gimp.[ch]: added gimp->documents which will be an MRU
      	list of GimpImagefile objects.
      
      	* app/core/gimpcontainer.c: added some g_return_if_fail().
      
      	* app/gui/palette-editor.c: use GtkImage instead of GtkPixmap,
      	s/gtk_signal_*/g_signal_*/.
      
      	* app/widgets/gimppreview.c: render the checkerboard only for
      	channel == -1. In particular, don't render it for channel
      	previews.
      
      	* app/module_db.c
      	* app/core/*.c
      	* app/gui/colormap-dialog.c
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimpeditselectiontool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpsmudgetool.c
      	* app/tools/tool_manager.c
      	* app/widgets/*.c
      	* libgimpwidgets/*.c: s/gtk_type_new/g_object_new/
      2353c5d3
  6. 24 Jul, 2001 1 commit
    • Michael Natterer's avatar
      Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning) · 06b16890
      Michael Natterer authored
      2001-07-24  Michael Natterer  <mitch@gimp.org>
      
      	Port to glib/gtk+ 2.0 episode I (every segfault has it's beginning)
      
      	* configure.in: require glib/gtk+ >= 1.3.7, commented out the
      	gtkxmhtml stuff.
      
      	From now on, you will need glib, pango, atk and gtk+ HEAD from CVS
      	to hack or use GIMP HEAD.
      
      	Beware, it crashes randomly :)
      
      	* app/core/Makefile.am
      	* app/core/gimpmarshal.list: new file plus rules to generate
      	gimpmarshal.[ch] from it.
      
      	* app/core/*
      	* app/tools/*
      	* app/widgets/*
      	* libgimpwidgets/*: started to use the glib object system. All
      	core/ objects are still gtk objects however. All signals are
      	created using g_signal_new(). There are many gtk+ artefacts left.
      	Finally, we will _not_ use the gtk_signal_foo() wrappers and
      	friends any more.
      
      	* app/colormaps.c
      	* app/devices.[ch]
      	* app/disp_callbacks.c
      	* app/errorconsole.c
      	* app/file-save.[ch]
      	* app/interface.c
      	* app/module_db.c
      	* app/nav_window.c
      	* app/ops_buttons.c
      	* app/scroll.c
      	* app/user_install.c
      	* app/gui/about-dialog.c
      	* app/gui/brush-editor.c
      	* app/gui/brushes-commands.c
      	* app/gui/color-notebook.c
      	* app/gui/colormap-dialog.c
      	* app/gui/dialogs-commands.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/file-commands.c
      	* app/gui/file-dialog-utils.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-open-dialog.[ch]
      	* app/gui/file-save-dialog.c
      	* app/gui/gradient-editor.c
      	* app/gui/gradients-commands.c
      	* app/gui/image-commands.c
      	* app/gui/info-dialog.[ch]
      	* app/gui/layer-select.c
      	* app/gui/layers-commands.c
      	* app/gui/menus.c
      	* app/gui/offset-dialog.c
      	* app/gui/palette-editor.c
      	* app/gui/palettes-commands.c
      	* app/gui/patterns-commands.c
      	* app/gui/preferences-dialog.c
      	* app/gui/resize-dialog.[ch]
      	* app/gui/splash.c
      	* app/gui/tips-dialog.c
      	* app/gui/tool-options-dialog.c
      	* app/gui/toolbox.c
      	* app/gui/tools-commands.c
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimpmenu.c
      	* libgimp/gimppatternmenu.c
      	* libgimp/gimpui.c
      	* libgimpbase/gimpenv.c: tons and tons of changes like "const
      	gchar*", switch from GdkDeviceInfo to GdkDevice (very incomplete
      	and currently disables), lots of s/gtk_signal/g_signal/,
      	removal/replacement of deprecated stuff,
      	s/GtkSignalFunc/GCallback/ and lots of small changes and fixes
      	while I was on it, zillions of warnings left...
      
      	* modules/Makefile.am: disabled the water color selector
      	temporarily (XInput issues).
      
      	* plug-ins/Makefile.am
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl: simply excluded all plug-ins
      	which did not build (including Script-Fu). They are trivial to
      	fix.
      06b16890
  7. 15 May, 2001 1 commit
    • Michael Natterer's avatar
      new directory app/base/ · d240f623
      Michael Natterer authored
      2001-05-15  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: new directory app/base/
      
      	* app/Makefile.am
      	* app/boundary.[ch]
      	* app/brush_scale.[ch]
      	* app/gimpchecks.h
      	* app/gimplut.[ch]
      	* app/pixel_processor.[ch]
      	* app/pixel_region.[ch]
      	* app/pixel_surround.[ch]
      	* app/temp_buf.[ch]
      	* app/tile.[ch]
      	* app/tile_cache.[ch]
      	* app/tile_manager.[ch]
      	* app/tile_manager_pvt.h
      	* app/tile_pvt.h
      	* app/tile_swap.[ch]: moved to base/
      
      	* app/base/Makefile.am
      	* app/base/base-types.h
      	* app/base/*: new directory for the sub-object pixel maniplation
      	and storage stuff. Does not include Gtk+ or anything outside
      	base/. Did some cleanup in all files.
      
      	* app/appenums.h
      	* app/apptypes.h
      	* app/core/gimpimage.h: removed types which are now in
      	base/base-types.h.
      
      	* app/base/base-config.[ch]
      	* app/gimprc.[ch]: put the config variables for base/ to their own
      	file so base/ doesn not have to include gimprc.h (does not yet
      	work, i.e. the variables are un-configurable right now)
      
      	* app/main.c: set a log handler for "Gimp-Base".
      
      	* app/paint-funcs/Makefile.am
      	* app/paint-funcs/paint-funcs.[ch]: removed the color hash which
      	maps RGB to color indices because it's a totally standalone system
      	which has nothing to do with the paint-funcs and introduced a
      	GimpImage dependency.
      
      	paint-funcs/ should be considered on the same sub-object
      	(glib-only) level as base/, only in a different directory.
      
      	* app/core/Makefile.am
      	* app/core/gimpimage-colorhash.[ch]: put the color hash here.
      
      	* app/gimage.c: don't invalidate the color hash here...
      
      	* app/core/gimpimage.c: ... but in the colormap_changed() default
      	inplementation. Initialize the hash in class_init().
      
      	* tools/pdbgen/Makefile.am: scan app/base/base-types.h for enums.
      
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* app/[lots]
      	* app/core/[of]
      	* app/gui/[files]
      	* app/pdb/[all]
      	* app/tools/[over]
      	* app/widgets/[the]
      	* tools/pdbgen/pdb/[place]: changed #includes accordingly. And use
      	base_config->value instead of the stuff from gimprc.h.
      d240f623
  8. 09 May, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am removed. · d1022c34
      Michael Natterer authored
      2001-05-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/asupsample.[ch]: removed.
      
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/tools/Makefile.am
      	* app/tools/tools-types.h: new files.
      
      	* app/tools/gimptoolinfo.[ch]: removed.
      	* app/core/gimptoolinfo.[ch]: added here.
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpadaptivesupersample.[ch]
      	* libgimp/gimpbilinear.[ch]: removed here...
      
      	* libgimpcolor/Makefile.am
      	* libgimpcolor/gimpcolortypes.h
      	* libgimpcolor/gimpadaptivesupersample.[ch]
      	* libgimpcolor/gimpbilinear.[ch]: ..and added here.
      
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/paths.pdb
      
      	* app/*.c: changed tons of #include's
      d1022c34
  9. 27 Feb, 2001 1 commit
  10. 18 Feb, 2001 1 commit
    • Michael Natterer's avatar
      added DND source functions which work by GtkType. · a80dd4d0
      Michael Natterer authored
      2001-02-18  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpdnd.[ch]: added DND source functions which work by
      	GtkType.
      
      	* app/commands.c
      	* app/brush_select.c
      	* app/gradient_select.[ch]
      	* app/pattern_select.c: removed the DND code here because it's all
      	done by the GimpContainerView now.
      
      	* app/gimpbrushpreview.c
      	* app/gimpgradientpreview.c
      	* app/gimppalettepreview.c
      	* app/gimppatternpreview.c: use the DND by-type connect functions.
      
      	* app/gimpbrushgenerated.c: implemented "duplicate", cleanup.
      
      	* app/gimpcontainergridview.c
      	* app/gimpcontainerlistview.c
      	* app/gimpcontainerview.[ch]: added a "activate_item" signal
      	method which is emitted by the subclasses to indicate double click.
      
      	* app/gimpdatafactoryview.c: connect to "activate_item" and show
      	the editor.
      
      	* app/convert.c
      	* app/gimppalette.[ch]
      	* app/palette.c
      	* app/paletteP.h
      	* app/palette_import.c
      	* app/palette_select.[ch]: major cleanup: Behaves like the other
      	datatypes now: DND, context stuff, GimpContainerListViews in
      	the dialogs etc. Mostly just removal of code.
      
      	* app/gradient_editor.c: fixed signal blocking/unblocking.
      
      	* plug-ins/script-fu/scripts/Makefile.am: install the "Test Sphere"
      	script again.
      a80dd4d0
  11. 14 Feb, 2001 1 commit
    • Michael Natterer's avatar
      added a note about apptype.h and about not including headers in headers. · 22371de3
      Michael Natterer authored
      2001-02-14  Michael Natterer  <mitch@gimp.org>
      
      	* HACKING: added a note about apptype.h and about not including
      	headers in headers.
      
      	* app/apptypes.h: added GimpTool and BitmapCursor.
      
      	* app/cursorutil.h
      	* app/devices.h
      	* app/draw_core.h
      	* app/tools/color_picker.h
      	* app/tools/tool.h
      	* app/tools/tool_options.h
      	* app/gimpcontext.h: removed includes of "tools/tool.h"
      
      	* app/gimprc.[ch]: indentadion cleanup, added
      	"module_db_load_inhibit".
      
      	* app/module_db.c: removed the above variable here.
      
      	* app/gimpdata.[ch]: added a vitrual "duplicate" method.
      
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpgradient.[ch]
      	* app/gimppalette.[ch]
      	* app/gimppattern.[ch]: all "load", "new" and "get_standard"
      	functions return a GimpData pointer now.
      
      	* app/gimpdatafactory.[ch]: made some stuff const.
      
      	* app/gimpdatafactoryview.c: activate the "duplicate" button and
      	set the initial button sensitivity correctly.
      
      	* app/brush_select.c
      	* app/gradient_select.c
      	* app/pattern_select.c: use the new GimpDataFactoryView.
      
      	* libgimp/Makefile.am: grouped the file to sort out what _may_
      	go to subdirs or separate libs.
      
      	* libgimp/gimpenv.[ch]: added many "const".
      
      	* app/app_procs.c
      	* app/brush_edit.c
      	* app/gimpcontext.c
      	* app/gimpdnd.c
      	* app/gradient_editor.c
      	* app/palette.c
      	* app/palette_import.c
      	* app/user_install.c: many related changes.
      
      	* libgimpmath/gimpmathtypes.h
      	* libgimpmath/gimpvector.[ch]: minor cleanups.
      
      	* plug-ins/script-fu/script-fu.c: gimp_data_directory() is const now.
      22371de3
  12. 13 Feb, 2001 1 commit
    • Michael Natterer's avatar
      gimprc.in user_install user_install.bat app/gimprc.[ch] removed the · b5d8536f
      Michael Natterer authored
      2001-02-13  Michael Natterer  <mitch@gimp.org>
      
      	* gimprc.in
      	* user_install
      	* user_install.bat
      	* app/gimprc.[ch]
      	* app/preferences_dialog.c: removed the "brush_vbr_path" variable,
      	because all data types will be editable and saveable soon.
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/gimpdatafactory.[ch]: new object which holds a data list and
      	knows how to create, edit, duplicate etc. the items in it. Will
      	completely replace the brushes.[ch], patterns.[ch], ... files soon.
      
      	* po/POTFILES.in
      	* app/gimpdatacontainerview.[ch]: removed.
      	* app/gimpdatafactoryview.[ch]: added.
      
      	A view on the GimpDataFactory with a GUI for creating, editing,
      	deleting etc. items (mostly unimplemented).
      
      	* app/context_manager.[ch]: replaced the global data lists by global
      	data factories.
      
      	* app/brush_select.c
      	* app/brushes.[ch]
      	* app/commands.c
      	* app/convert.c
      	* app/devices.c
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.c
      	* app/gimpcontext.c
      	* app/gimpdata.[ch]
      	* app/gimpdatalist.[ch]
      	* app/gimpdnd.c
      	* app/gimpgradient.[ch]
      	* app/gimppalette.[ch]
      	* app/gimppattern.[ch]
      	* app/gradient_editor.c
      	* app/gradient_select.c
      	* app/gradients.[ch]
      	* app/indicator_area.c
      	* app/palette.c
      	* app/palette_import.c
      	* app/palette_select.c
      	* app/palettes.[ch]
      	* app/pattern_select.c
      	* app/patterns.[ch]
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/convert_cmds.c
      	* app/pdb/gradient_select_cmds.c
      	* app/pdb/gradients_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/convert.pdb
      	* tools/pdbgen/pdb/gradient_select.pdb
      	* tools/pdbgen/pdb/gradients.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb: changed accordingly.
      b5d8536f
  13. 11 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/apptypes.h new abstract base class for everything · e4bb2f93
      Michael Natterer authored
      2001-02-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/apptypes.h
      	* app/gimpdata.[ch]: new abstract base class for everything
      	(except images) which has a filename and can become dirty and must
      	be saved.
      
      	* app/gimpbrush.[ch]
      	* app/gimpgradient.[ch]
      	* app/gimppattern.[ch]: all derived from GimpData now.
      
      	* app/gimpbrushgenerated.[ch]
      	* app/brush_select.c
      	* app/brushes.c
      	* app/gimpbrushpipe.c
      	* app/gradient_editor.c
      	* app/gradients.c
      	* app/patterns.c: removed lots of code duplication due to common
      	file save magic.
      
      	The gradient file format has changed: it now contains the
      	gradient's name (no more ugly underscores). The files have the
      	extension ".ggr".
      
      	* app/gimpgradient.[ch]: save new gradients, load new and old
      	gradients.
      
      	* data/gradients/*: removed all old gradients and added the new
      	ones.
      e4bb2f93
  14. 07 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/gimpbrush.[ch] moved the scale and pipe indicator rendering code from · 3675004e
      Michael Natterer authored
      2001-02-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpbrush.[ch]
      	* app/gimpbrushpreview.c: moved the scale and pipe indicator
      	rendering code from GimpBrush to GimpBrushPreview.
      	Removed the "dirty" signal from GimpBrush and use
      	"invalidate_preview" of the GimpViewable class.
      
      	* app/brush_edit.c
      	* app/brush_select.c
      	* app/gimpbrushgenerated.c
      	* app/gimpcontext.c
      	* app/gimpcontextpreview.c
      	* app/tools/paint_core.c: changed accordingly.
      3675004e
  15. 04 Feb, 2001 1 commit
    • Michael Natterer's avatar
      app/Makefile.am new object. · 78a8bb4c
      Michael Natterer authored
      2001-02-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimppattern.[ch]: new object.
      
      	* app/apptypes.h: added GimpPattern, removed GPattern.
      
      	* app/patterns.[ch]: contains only the "patterns_()" functions for
      	the global pattern list, s/pattern_list/global_pattern_list/g
      
      	* app/brushes.[ch]: s/brush_list/global_brush_list/g
      
      	* app/pattern_select.[ch]
      	* app/gimpcontext.[ch]: connect to the Patterns' and the pattern
      	list's signals.
      
      	* app/brush_select.[ch]
      	* app/devices.c
      	* app/disp_callbacks.[ch]
      	* app/gimpbrush.c
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpcontextpreview.[ch]
      	* app/gimpdnd.[ch]
      	* app/indicator_area.c
      	* app/pdb/brush_select_cmds.c
      	* app/pdb/brushes_cmds.c
      	* app/pdb/pattern_select_cmds.c
      	* app/pdb/patterns_cmds.c
      	* app/tools/bucket_fill.c
      	* app/tools/clone.c
      	* tools/pdbgen/pdb/brush_select.pdb
      	* tools/pdbgen/pdb/brushes.pdb
      	* tools/pdbgen/pdb/pattern_select.pdb
      	* tools/pdbgen/pdb/patterns.pdb
      	* po/POTFILES.in: changed accordingly.
      78a8bb4c
  16. 23 Jan, 2001 1 commit
    • Michael Natterer's avatar
      Makefile.am configure.in added stuff for the new library below. · cb166972
      Michael Natterer authored
      2001-01-24  Michael Natterer  <mitch@gimp.org>
      
      	* 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.
      cb166972
  17. 22 Jan, 2001 1 commit
    • Sven Neumann's avatar
      configure.in app/Makefile.am moved all tool sources to app/tools · fafae590
      Sven Neumann authored
      2001-01-22  Sven Neumann  <sven@gimp.org>
      
              * 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
      fafae590
  18. 14 Jan, 2001 1 commit
    • 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
  19. 10 Jan, 2001 1 commit
    • 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
  20. 29 Dec, 2000 1 commit
    • Michael Natterer's avatar
      app/Makefile.am app/channel_pvt.h app/drawable_pvt.h app/gdisplayF.h · 8d6c335f
      Michael Natterer authored
      2000-12-29  Michael Natterer  <mitch@gimp.org>
      
      	* 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 <system stuff>
      
      	#include <gtk/gtk.h>
      
      	#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.
      8d6c335f
  21. 18 Dec, 2000 1 commit
    • Sven Neumann's avatar
      Jens Lautenbacher <jtl@gimp.org> · 3cff8419
      Sven Neumann authored
      2000-12-18  Sven Neumann  <sven@gimp.org>
      	    Jens Lautenbacher <jtl@gimp.org>
      
      	* app/Makefile.am
      
      	* app/gimpbrushlistP.h
      	* app/gimpbrushpipeP.h
      	* app/gimpobjectP.h: removed these three files
      
      	* app/parasitelistP.h
      	* app/channels_dialog.c
      	* app/docindex.c
      	* app/gimpdrawable.c
      	* app/gimpdrawableP.h
      	* app/gimpimage.c
      	* app/gimpimageP.h
      	* app/gimplist.[ch]
      	* app/gimpobject.c
      	* app/gimpobject.h
      	* app/gimpsetP.h: changed according to header removal
      
      	* app/airbrush.c
      	* app/brush_select.[ch]
      	* app/brushes_cmds.c
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpcontextpreview.c
      	* app/paint_core.c
      	* app/paintbrush.c
      	* app/pencil.c
      	* tools/pdbgen/pdb/brushes.pdb: Big Brushes Cleanup.
      
      	The GimpBrush* object hierarchy and the file formats were broken by
      	"design". This made it overly difficult to read and write pixmap
      	brushes and brush pipes, leading to the situation that The GIMP was
      	not able to read it's very own file formats. Since the GimpBrush
      	format did support arbitrary color depths, the introduction of a
      	file format for pixmap brushes was unnecessary.
      
      	The GimpBrushPixmap object is dead. GimpBrush has an additional
      	pixmap temp_buf and handles pixmap brushes transparently. The file
      	format of pixmap brushes is not any longer a grayscale brush plus
      	a pattern, but a simple brush with RGBA data. The old brushes can
      	still be loaded, but the .gpb format is deprecated.
      
      	GimpBrushPipe derives from GimpBrush. The fileformat is still a text
      	header, followed by a number of brushes, but those brushes are stored
      	in the new GimpBrush format (no pattern anymore). The pipe does not
      	care about the depth of the contained GimpBrushes, so we get
      	grayscale BrushPipes for free. Since the brush loader still loads the
      	old format, old .gih files can also still be loaded.
      
      	Since the brushes in the GimpBrushPipe do not any longer contain a
      	pointer to the pipe object, we do only temporarily switch brushes
      	in the paint_core routines. This is not very elegant, but the best
      	we can do without a major redesign.
      
      	* app/patterns.[ch]: changed the loader to work with a filedescriptor
      	instead of a filehandle to make it work with the new brush loading
      	code.
      
      	* plug-ins/common/.cvsignore
      	* plug-ins/common/Makefile.am
      	* plug-ins/common/plugin-defs.pl
      	* plug-ins/common/gih.c: new plug-in that saves GIH files in the
      	new format (loader will follow soon)
      
      	* plug-ins/common/gpb.c: removed since Pixmap Brushes are no longer
      	supported as a special file format.
      
      	* plug-ins/common/gbr.c: load and save brushes in the new brush format
      	which allows RGBA brushes too.
      
      	* plug-ins/common/pat.c: load and save grayscale patterns too
      3cff8419
  22. 16 Dec, 2000 1 commit
    • Sven Neumann's avatar
      Last-minute cleanup: · dfa2bed5
      Sven Neumann authored
      2000-12-16  Sven Neumann  <sven@gimp.org>
      
      	Last-minute cleanup:
      
      	* app/gimpdrawableF.h
      	* app/gimphistogramF.h
      	* app/gimpimageF.h
      	* app/gimplistF.h
      	* app/gimplutF.h
      	* app/gimpobjectF.h
      	* app/gimpsetF.h
      	* app/layerF.h
      	* app/parasitelistF.h: removed these files
      
      	* app/Makefile.am
      	* tools/pdbgen/Makefile.am: changed accordingly
      
      	* app/[almost every file]: include cleanup
      dfa2bed5
  23. 29 Sep, 2000 1 commit
    • Michael Natterer's avatar
      app/brush_edit.[ch] app/brush_header.h app/gimpbrush.[ch] · f38cdf12
      Michael Natterer authored
      2000-09-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/brush_edit.[ch]
      	* app/brush_header.h
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpcontext.h
      	* app/gimplist.[ch]
      	* app/gimpobject.[ch]
      	* app/gimpset.[ch]
      	* app/gimpsignal.[ch]
      	* app/parasitelist.h: Lotsa fixes in the brush referencing code
      	and cleanups in many GtkObjects:
      
      	- Reference brushes correctly (call gtk_object_sink() after adding
      	  them to the brush list). Don't crash when renaming a brush
      	  multiple times.
      	- Replaced all gtk_object_destroy() with gtk_object_unref|sink().
      	- Removed the "Fake Gimp object system" (gimp_object_destroy() et.al.)
      	  all over the place (while it's a good idea to have a common Gimp
      	  base object, it's totally useless to try to imitate Gtk's object
      	  system).
      	- s/sz_BrushHeader/sizeof(BrushHeader)/g
      	- And of course various indentation and coding style paranoia changes
      	  in all files I visited.
      f38cdf12
  24. 27 Sep, 2000 1 commit
  25. 24 Feb, 2000 1 commit
    • Michael Natterer's avatar
      app/gimpbrush.[ch] app/gimpbrushgenerated.[ch] app/gimpbrushlist.[ch] · 8f4adbad
      Michael Natterer authored
      2000-02-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.[ch]
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushlistP.h
      	* app/gimpbrushpipe.[ch]
      	* app/gimpbrushpipeP.h: did a brushes code-review: indentation,
      	removed some includes, didn't find a bug :-)
      
      	* app/gradient.c
      	* app/palette.c: we were leaking all gradient and palette preview
      	pixmaps as well as all lists of palette colors on each refresh.
      
      	* libgimp/gimpenv.c: updated documentation.
      8f4adbad
  26. 18 Feb, 2000 1 commit
  27. 25 Jan, 2000 1 commit
    • Michael Natterer's avatar
      removed BOUNDS, MINIMUM and MAXIMUM. No need to include both <glib.h> and · 49230471
      Michael Natterer authored
      2000-01-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/appenv.h: removed BOUNDS, MINIMUM and MAXIMUM. No need to
      	include both <glib.h> and <gtk/gtk.h>.
      
      	* app/*
      	* tools/pdbgen/pdb/text_tool.pdb: s/BOUNDS/CLAMP/,
      	same for MIN and MAX.
      
      	* app/preferences_dialog.c: the "Check Size" widget was connected
      	to the transparency_type variable.
      
      	* plug-ins/common/sobel.c: removed definitions of MIN and ROUND.
      
      	* libgimp/gimp.h: #include "gimplimits.h" and "gimpcolorspace.h".
      
      	* plug-ins/*: don't include the two files.
      49230471
  28. 26 Oct, 1999 1 commit
  29. 02 Sep, 1999 1 commit
    • jaycox's avatar
      free the brush dialog before freeing the brushes. · 2b5130f0
      jaycox authored
      
      	* app/app_procs.c: free the brush dialog before freeing the brushes.
      
      	* app/blend.c, app/bucket_fill.c: don't include brush_select.h
      
      	* app/brush_select.[ch]: add the ability to delete generated brushes.
      
      	* app/gimpbrushgenerated.c: save the brush parameters on seperate lines.
      
      	* app/gimpbrushlist.c: make sure we don't overwrite other brush
      	files when saving newly created brushes.
      2b5130f0
  30. 01 Sep, 1999 1 commit
    • Tor Lillqvist's avatar
      app/appenv.h New file. Includes <math.h>. Move G_PI, RINT(), ROUND() etc · 6ef23d98
      Tor Lillqvist authored
      1999-09-01  Tor Lillqvist  <tml@iki.fi>
      
      * app/appenv.h
      * libgimp/gimpmath.h: New file. Includes <math.h>. Move G_PI,
      RINT(), ROUND() etc from app/appenv.h here, so plug-ins can
      use them, too. Remove some commented-out old stuff in appenv.h.
      
      * libgimp/gimp.h: Include gimpmath.h.
      
      * libgimp/gimp.c (gimp_main): Win32: Don't install signal
      handlers, we can't do anything useful in the handler ourselves
      anyway (it would be nice to print out a backtrace, but that seems
      pretty hard to do, even if not impossible). Let Windows inform the
      user about the crash. If the plug-in was compiled with MSVC, and
      the user also has it, she is offered a chance to start the
      debugger automatically anyway.
      
      * app/*several*.c: Include gimpmath.h for G_PI etc. Don't include
      <math.h>, as gimpmath.h includes it.
      
      * plug-ins/*/*many*.c: Include config.h. Don't include <math.h>.
      Remove all the duplicated definitions of G_PI and rint(). Use
      RINT() instead of rint().
      
      * app/app_procs.[ch]: app_exit() takes a gboolean.
      
      * app/batch.c
      * app/commands.c
      * app/interface.c: Call app_exit() with FALSE or TRUE.
      
      * app/main.c (on_error): Call gimp_fatal_error. (main): Don't
      install any signal handler on Win32 here, either.
      
      * app/errors.c (gimp_fatal_error, gimp_terminate): Win32: Format
      the message and call MessageBox with it.  g_on_error_query doesn't
      do anything useful on Win32, and printf'ing a message to stdout or
      stderr doesn't do anything, either, in a windowing application.
      6ef23d98
  31. 30 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Save the name on a line of its own as it can contain spaces. Print spaces · c2ef7d78
      Tor Lillqvist authored
      1999-08-30  Tor Lillqvist  <tml@iki.fi>
      
      * app/gimpbrushgenerated.c (gimp_brush_generated_save): Save the
      name on a line of its own as it can contain spaces. Print spaces
      between the floating-point values. (gimp_brush_generated_load)
      Corrspondingly, read the name from a line of its own.
      
      * app/gimpbrushlist.c (brushes_free): Portability fixes. Use
      g_strconcat. Free allocated strings.
      c2ef7d78
  32. 17 Aug, 1999 1 commit
  33. 04 Aug, 1999 1 commit
    • Tor Lillqvist's avatar
      Define ROUND(), RINT(), SQR(), G_PI and G_PI_4. The latter two will · 933b8661
      Tor Lillqvist authored
      	* app/appenv.h: Define ROUND(), RINT(), SQR(), G_PI and
      	G_PI_4. The latter two will presumably eventually be in
      	GLib. RINT() calls rint() if we have it, otherwise adds 0.5 and
      	calls floor().
      
      	* app/*.c: Remove the multiple identical definitions of M_PI. Use
      	G_PI instead of M_PI. Remove ROUND() and rint() definitions. Use
      	RINT() instead of rint().
      933b8661
  34. 20 Feb, 1999 1 commit
  35. 15 Sep, 1998 1 commit
  36. 31 Jul, 1998 1 commit
  37. 25 Jul, 1998 1 commit
    • jaycox's avatar
      ---------------------------------------------------------------------- · 1f3857c9
      jaycox authored
      
       ----------------------------------------------------------------------
       Modified Files:
       	ChangeLog app/gimpbrushgenerated.c app/gimpbrushlist.c
      	 gimpbrushgenerated now supports the stingy_memory_use flag.
      	 fixed a bug in select_brush() related to stingy_memory_use.
       ----------------------------------------------------------------------
      1f3857c9
  38. 24 Jul, 1998 1 commit
    • jaycox's avatar
      ---------------------------------------------------------------------- · 69d92241
      jaycox authored
      ```-------------------------------------------------------------------
       Modified Files:
       	ChangeLog app/Makefile.am app/brush_select.c app/gimpbrush.c
       	app/gimpbrush.h app/gimpbrushgenerated.c app/gimpbrushlist.c
       	app/gimplist.c app/paint_core.c app/paint_core.h
          added axis to brushes.  paint_core now references a brush instead
          of a mask.  cleaned up some [brush]list removal stuff.
      
      
       Added Files:
       	app/vector2d.c app/vector2d.h
          very basic vector math struct/functions.
      ```
      
      -------------------------------------------------------------------
      69d92241
  39. 20 Jul, 1998 1 commit
    • jaycox's avatar
      ---------------------------------------------------------------------- · 2f93825e
      jaycox authored
      
       ----------------------------------------------------------------------
       Modified Files:
       	ChangeLog app/brush_select.c
       	app/gimpbrush.c app/gimpbrush.h app/gimpbrushgenerated.c
       	app/gimpbrushlist.c app/gimpbrushlist.h
           removed the index field from GimpBrush.  tweaked the brush renaming
           code
      
      	app/edit_selection.c:
           look ahead in the event queue and process as many arrow keys as we
           can.
       ----------------------------------------------------------------------
      2f93825e
  40. 16 Jul, 1998 1 commit
    • jaycox's avatar
      ---------------------------------------------------------------------- · b2f1e85c
      jaycox authored
      
       ----------------------------------------------------------------------
       Modified Files:
       	ChangeLog app/brush_edit.c app/brush_edit.h app/brush_select.c
       	app/gimpbrush.c app/gimpbrushgenerated.c
       	app/gimpbrushgenerated.h app/gimpbrushlist.c
            added support for loading generated brushes and updated the
            brush_edit a bit.
       Added Files:
       	data/brushes/round1.vbr
         A sample generated brush.
      b2f1e85c