1. 11 Jul, 2018 1 commit
  2. 24 Jun, 2010 1 commit
  3. 23 Jun, 2010 1 commit
  4. 31 Aug, 2009 1 commit
  5. 29 Aug, 2009 1 commit
    • Martin Nordholts's avatar
      app: Always use gimp_object_get_name() · 957cf2cf
      Martin Nordholts authored
      Begin to consider GimpObject::name as private and always use
      gimp_object_get_name(). Change gimp_object_get_name() to take an
      untyped pointer so we don't have to do so awfully many casts. There is
      a runtime check for the type inside the function anyway.
      957cf2cf
  6. 17 Jan, 2009 1 commit
    • Michael Natterer's avatar
      Change licence to GPLv3 (and to LGPLv3 for libgimp). · d9b5207a
      Michael Natterer authored
      2009-01-17  Michael Natterer  <mitch@gimp.org>
      
      	* all files with a GPL header and all COPYING files:
      
      	Change licence to GPLv3 (and to LGPLv3 for libgimp).
      
      	Cleaned up some copyright headers and regenerated the parsers in
      	the ImageMap plugin.
      
      
      svn path=/trunk/; revision=27913
      d9b5207a
  7. 09 Dec, 2006 1 commit
  8. 07 Apr, 2006 2 commits
    • Michael Natterer's avatar
      added "guint disconnected : 1", we have enough space for flags now. · a5bc7b08
      Michael Natterer authored
      2006-04-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpobject.h: added "guint disconnected : 1", we
      	have enough space for flags now.
      
      	* app/core/gimpobject.c (gimp_object_dispose): use the new
      	object->disconnected flag instead of attaching that boolean to the
      	object.
      a5bc7b08
    • Michael Natterer's avatar
      added flag "guint static_name : 1" and new APIs · c03c336c
      Michael Natterer authored
      2006-04-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpobject.[ch]: added flag "guint static_name : 1" and
      	new APIs gimp_object_set_static_name() and _take_name().
      
      	* app/pdb/gimpprocedure.[ch]: removed member "name". Use
      	GimpObject's name instead.
      
      	* app/actions/plug-in-actions.c
      	* app/file/file-open.c
      	* app/file/file-save.c
      	* app/menus/plug-in-menus.c
      	* app/pdb/gimp-pdb-query.c
      	* app/pdb/gimp-pdb.c
      	* app/pdb/gimppluginprocedure.c
      	* app/plug-in/plug-in-message.c
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-ins-query.c
      	* app/plug-in/plug-ins.c
      	* app/xcf/xcf.c
      	* tools/pdbgen/app.pl
      	* tools/pdbgen/pdb/fileops.pdb: use GimpObject API to set/get
      	a procedure's name.
      
      	* app/pdb/*_cmds.c: regenerated.
      c03c336c
  9. 25 Nov, 2003 1 commit
    • Michael Natterer's avatar
      removed gimp_g_object_get_memsize()... · 80fbda05
      Michael Natterer authored
      2003-11-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpobject.[ch]: removed gimp_g_object_get_memsize()...
      
      	* app/core/gimp-utils.[ch]: ...and added it here along with
      	some other memsize utilities for GHashTables and G(S)Lists.
      
      	* app/core/gimp.c
      	* app/core/gimpimage.c
      	* app/core/gimpparasitelist.c
      	* app/core/gimpviewable.c
      	* app/vectors/gimpstroke.c (GimpObject::get_memsize): use the new
      	functions.
      80fbda05
  10. 16 Nov, 2003 2 commits
    • Sven Neumann's avatar
      app/config/gimpbaseconfig.h use gint64 for all memsize properties. · fd30d5c9
      Sven Neumann authored
      2003-11-16  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpbaseconfig.h
      	* app/config/gimpcoreconfig.h: use gint64 for all memsize properties.
      
      	* app/base/tile-manager.[ch] (tile_manager_get_memsize): since
      	tiles can be swapped out, a tilemanager can be larger than gsize
      	(on 32bit platforms). Use a gint64 to avoid an overflow.
      
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpchannel.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdata.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-undo-push.c
      	* app/core/gimpimage-undo.[ch]
      	* app/core/gimpimage.c
      	* app/core/gimpitem.c
      	* app/core/gimpitemundo.[ch]
      	* app/core/gimplayer.c
      	* app/core/gimplist.c
      	* app/core/gimpobject.[ch]
      	* app/core/gimppalette.c
      	* app/core/gimpparasitelist.c
      	* app/core/gimppattern.c
      	* app/core/gimpundo.[ch]
      	* app/core/gimpundostack.c
      	* app/core/gimpviewable.c
      	* app/text/gimptext.c
      	* app/text/gimptextlayer.c
      	* app/vectors/gimpstroke.c
      	* app/vectors/gimpvectors.c: use gint64 for gimp_object_get_memsize()
      	and all its implementations.
      
      	* app/display/gimpdisplayshell-title.c
      	* app/gui/info-window.c: changed accordingly.
      fd30d5c9
    • Sven Neumann's avatar
      exposed gimp_object_name_free() and added documentation. · c902248b
      Sven Neumann authored
      2003-11-16  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpobject.[ch]: exposed gimp_object_name_free() and
      	added documentation.
      
      	* app/core/gimplist.[ch] (gimp_list_uniquefy_name): use
      	gimp_object_name_free() when changing the object name silently.
      	Renamed "use_set_name" parameter to "notify" and documented the
      	function.
      c902248b
  11. 09 Oct, 2003 1 commit
    • Sven Neumann's avatar
      added new function gimp_object_name_collate() which compares two object · f0f3ea36
      Sven Neumann authored
      2003-10-09  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpobject.[ch]: added new function
      	gimp_object_name_collate() which compares two object names for
      	ordering using the linguistically correct rules for the current
      	locale and does some caching to speed up subsequent calls.
      
      	* app/core/gimpdatalist.c (gimp_data_list_data_compare_func): use
      	gimp_object_name_collate() from here.
      
      	* app/core/gimplist.[ch]: added convenience function
      	gimp_list_sort_by_name.
      
      	* app/text/gimpfontlist.c (gimp_font_list_restore): use
      	gimp_list_sort_by_name() instead of g_utf8_collate.
      f0f3ea36
  12. 25 Aug, 2003 1 commit
    • Michael Natterer's avatar
      changed GimpObject::get_memsize() to return a second value named · 24f3da16
      Michael Natterer authored
      2003-08-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpobject.[ch]: changed GimpObject::get_memsize() to
      	return a second value named "gui_size", where the primary return
      	value is the "constant" actual size (as long as no operation is
      	performed on the object), and the second "gui_size" return value
      	is the size of temporary stuff like preview caches or boundary
      	segments (which may change asynchronously, even if the object is
      	on the undo stack).
      
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpchannel.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdata.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage-undo.c
      	* app/core/gimpimage.c
      	* app/core/gimpitem.c
      	* app/core/gimplayer.c
      	* app/core/gimplist.c
      	* app/core/gimppalette.c
      	* app/core/gimpparasitelist.c
      	* app/core/gimppattern.c
      	* app/core/gimpundo.c
      	* app/core/gimpundostack.c
      	* app/core/gimpviewable.c
      	* app/text/gimptextlayer.c
      	* app/vectors/gimpstroke.c
      	* app/vectors/gimpvectors.c: changed get_memsize() implementations
      	accordingly.
      
      	* app/display/gimpdisplayshell-title.c
      	* app/gui/debug-commands.c
      	* app/widgets/gimppreview.c: changed callers accordingly.
      
      	* app/core/gimpimage-undo-push.c: changed layer, channel, vectors
      	and layer_mask undo steps to add/subtract the size of the
      	resp. objects whenever they take/drop ownership of them. Ignore
      	the objects' "gui_size" to get identical sizes on
      	adding/subtracting. Fixes bug #120429.
      24f3da16
  13. 05 Feb, 2003 1 commit
    • Sven Neumann's avatar
      app/core/gimpobject.[ch] improved the code that trims the text before · 366beeb2
      Sven Neumann authored
      2003-02-05  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpobject.[ch]
      	* app/text/gimptextlayer.c: improved the code that trims the text
      	before setting it as layer name and moved it to GimpObject as
      	gimp_object_set_name_safe().
      
      	* app/text/gimptext.[ch]: removed fixed_height and gravity again.
      
      	* app/text/gimptextlayout.c: much simpler positioning that has the
      	advantage that it actually works.
      
      	* libgimpproxy/gimpobject.[ch]: this crap was regenerated.
      366beeb2
  14. 23 Oct, 2002 1 commit
    • Michael Natterer's avatar
      Moved generic datafile loading to LibGimpBase: · c7ac6aff
      Michael Natterer authored
      2002-10-23  Michael Natterer  <mitch@gimp.org>
      
      	Moved generic datafile loading to LibGimpBase:
      
      	* app/core/gimpdatafiles.[ch]: removed...
      
      	* libgimpbase/gimpdatafiles.[ch]: ...and add here with a changed
      	API which requires no more global variables.
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimpbasetypes.h
      	* app/core/Makefile.am
      	* app/core/core-types.h
      	* app/core/gimpdatafactory.c
      	* app/gui/gui.c
      	* app/plug-in/plug-in.c
      	* app/plug-in/plug-ins.c
      	* app/tools/tools.c: changed accordingly.
      
      	Moved module loading to LibGimpModule:
      
      	* app/core/gimpmodules.c: removed lots of code...
      
      	* libgimpmodule/gimpmoduledb.[ch]: ...and added it here as
      	GimpModuleDB object.
      
      	* libgimpmodule/Makefile.am
      	* libgimpmodule/gimpmoduletypes.h: changed accordingly.
      
      	* app/core/gimp.[ch]: replaced gimp->modules by gimp->module_db.
      
      	* libgimpmodule/gimpmodule.[ch]: added
      	gimp_module_query(). Internal cleanup. Stuff...
      
      	* app/gui/module-browser.c: changed accordingly. Unfinished...
      
      	* app/core/gimpcontainer.c
      	* app/core/gimplist.c: reverted the HACKS introduced recently.
      
      	* app/core/gimpobject.[ch]: added gimp_g_object_get_memsize()
      	utility function.
      
      	* libgimpproxy/gimpobject.[ch]: regenerated.
      
      	Changed display filter configuration stuff:
      
      	* libgimpwidgets/gimpcolordisplay.[ch]: made the virtual
      	configure() function return a GtkWidget instead of opening a
      	dialog. Changed configure_cancel() to configure_reset(). Added
      	"changed" signal.
      
      	* app/display/gimpdisplayshell-filter-dialog.c: embed the filters'
      	config GUI in the dialog. Connect to "changed" and added a "Reset"
      	button which resets the filter.
      
      	* modules/cdisplay_gamma.c
      	* modules/cdisplay_highcontrast.c: changed accordingly.
      
      	* modules/colorsel_triangle.c
      	* modules/colorsel_water.c: minor fixes.
      
      2002-10-23  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/libgimpbase-docs.sgml
      	* libgimpbase/libgimpbase-sections.txt
      	* libgimpbase/tmpl/gimpbasetypes.sgml
      	* libgimpbase/tmpl/gimpdatafiles.sgml: added GimpDatafiles
      
      	* libgimpmodule/libgimpmodule-docs.sgml
      	* libgimpmodule/libgimpmodule-sections.txt
      	* libgimpmodule/tmpl/gimpmoduledb.sgml: added GimpModuleDB.
      
      	* libgimpwidgets/libgimpwidgets.types: added gimp_dialog_get_type
      
      	* libgimpmodule/tmpl/gimpmodule.sgml
      	* libgimpwidgets/tmpl/gimpcolordisplay.sgml
      	* libgimpwidgets/tmpl/gimpdialog.sgml: updated.
      c7ac6aff
  15. 30 Jan, 2002 1 commit
    • Michael Natterer's avatar
      pass a GdkGC to gdk_draw_rgb_image(), fixed dither offsets. · be87dfb5
      Michael Natterer authored
      2002-01-30  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpwidgets/gimpcolorarea.c: pass a GdkGC to
      	gdk_draw_rgb_image(), fixed dither offsets.
      
      	* app/core/gimpobject.[ch]: new virtual function
      	gimp_object_get_memsize().
      
      	* app/base/temp-buf.[ch]
      	* app/base/tile-manager.[ch]: added *_get_memsize() methods.
      
      	* app/core/gimp.c
      	* app/core/gimpbrush.c
      	* app/core/gimpbrushpipe.c
      	* app/core/gimpbuffer.c
      	* app/core/gimpchannel.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdata.c
      	* app/core/gimpdatafactory.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpgradient.c
      	* app/core/gimpimage.c
      	* app/core/gimplayer.c
      	* app/core/gimplist.c
      	* app/core/gimpmoduleinfo.c
      	* app/core/gimppalette.c
      	* app/core/gimpparasitelist.c
      	* app/core/gimppattern.c
      	* app/core/gimppreviewcache.[ch]
      	* app/core/gimpundo.[ch]
      	* app/core/gimpundostack.c
      	* app/core/gimpviewable.c: added get_memsize() implementations.
      
      	* app/widgets/gimppreview.c
      	* app/core/gimpobject.[ch]: some #ifdef DEBUG_MEMSIZE code to
      	test the new memsize stuff (middle click any preview to get
      	it's viewable's memory footprint).
      be87dfb5
  16. 22 Nov, 2001 2 commits
    • Sven Neumann's avatar
      bumped version number to 1.3.1. Require Glib/GTK+-1.3.11 and Pango-0.22. · 757017a8
      Sven Neumann authored
      2001-11-23  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped version number to 1.3.1.
      	Require Glib/GTK+-1.3.11 and Pango-0.22. Removed GDK_DISABLE_COMPAT_H
      	and GTK_DISABLE_COMPAT_H from our default CFLAGS since they don't
      	exist any longer.
      
      	* RELEASE-TO-CVS.patch: removed since the glib/gtk+ API is supposed to
      	be frozen now.
      
      	* HACKING: removed reference to RELEASE-TO-CVS.patch
      
      	* app/gui/menus.c
      	* app/tools/gimptexttool.c: applied RELEASE-TO-CVS.patch to conform
      	to the new GTK+/Pango API.
      
      	* app/core/Makefile.am: generate marshallers with gimp_marshal prefix.
      
      	* app/core/gimpmarshal.list: added all marshallers we use.
      
      	* app/core/gimpmarshal.[ch]: regenerated.
      
      	* app/[lots of .c files]: use gimp_marshal_* for all marshallers.
      
      	* data/images/
      	* app/app_procs.c
      	* app/gui/splash.c:
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimputils.[ch]: removed since they are no longer needed.
      
      	* app/gimprc.c
      	* plug-ins/common/ps.c
      	* plug-ins/gdyntext/gdyntext.c
      	* plug-ins/gdyntext/gdyntextcompat.c
      	* plug-ins/gfig/gfig.c
      	* plug-ins/gflare/gflare.c
      	* plug-ins/script-fu/script-fu-scripts.c: use glib functions instead
      	of gimp_strescape() and gimpstrcompress().
      
      	* cleaned up all header files: use G_BEGIN_DECLS/G_END_DECLS, declared
      	all _get_type function as G_GNUC_CONST.
      
      	* tools/pdbgen/enumcode.pl
      	* tools/pdbgen/lib.pl: make them generate header files using
      	G_BEGIN_DECLS/G_END_DECLS.
      
      	* pixmaps/Makefile.am
      	* pixmaps/wilber3.xpm: removed ...
      	* data/images/tips_wilber.png: ... and added here as PNG
      
      	* app/gui/tips-dialog.c: load the Wilber on demand using GdkPixbuf.
      
      	* data/images/gimp_splash.ppm: removed ...
      	* data/images/gimp_splash.png: ... and added as PNG
      
      	* app/app_procs.c
      	* app/gui/splash.[ch]: load the splash image using GdkPixbuf.
      
      	* app/gui/about-dialog.c: sink the GtkPreview.
      757017a8
    • Michael Natterer's avatar
      made device_status_update() static as declared. · c3c42962
      Michael Natterer authored
      2001-11-22  Michael Natterer  <mitch@gimp.org>
      
      	* app/devices.c: made device_status_update() static as declared.
      
      	* app/core/gimpobject.h: don't include <gobject/gobject.h> as this
      	is forbidden now (doesn't hurt as we need to include glib or gtk+
      	before gimp headers in .c files anyway).
      
      	* app/widgets/gimpcontainerlistview.c: better handling of
      	"button_press" of list items: don't let a selected item being
      	deselected, fixed context menu popup.
      c3c42962
  17. 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
  18. 11 Aug, 2001 1 commit
    • Michael Natterer's avatar
      fsck^^^ -- lovely autofoo wants "changequote([,])dnl" · 5e74fa37
      Michael Natterer authored
      2001-08-11  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: fsck^^^ -- lovely autofoo wants "changequote([,])dnl"
      
      	* app/core/gimpcontext.[ch]: lots of GObject porting.
      
      	* app/core/gimpobject.[ch]: added a "disconnect" signal, which
      	like gtk's "destroy" is emitted in dispose(). This is ugly but
      	I don't see another "clean" way to implement weak containers.
      
      	* app/core/gimpcontainer.c: connect to the "disconnect" signal of
      	the children of weak containes.
      
      	* app/core/gimpimage.[ch]: replaced the "destroy" implementation
      	with "dispose" + "finalize". Removed gimage->undo_history.
      
      	* app/devices.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/tools-commands.c
      	* app/tools/tool_manager.c
      	* app/widgets/gimpimagedock.c: changed accordingly.
      5e74fa37
  19. 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
  20. 07 Feb, 2001 2 commits
  21. 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
  22. 10 Jan, 2001 2 commits
    • Michael Natterer's avatar
      app/gimpbrushlist.c forgot to remove #include "gimpsignal.h" · 65543971
      Michael Natterer authored
      2001-01-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/gimpbrushlist.c
      	* app/gimpdrawable.c: forgot to remove #include "gimpsignal.h"
      
      	* app/gimpobject.[ch]: added a "name" argument (not used yet).
      65543971
    • Michael Natterer's avatar
      app/Makefile.am removed. added. · 92c45a90
      Michael Natterer authored
      2001-01-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/Makefile.am
      	* app/gimpsignal.[ch]: removed.
      	* app/gimpmarshal.[ch]: added.
      
      	* app/channel.[ch]
      	* app/gimpbrush.[ch]
      	* app/gimpbrushgenerated.c
      	* app/gimpbrushlist.[ch]
      	* app/gimpbrushpipe.[ch]
      	* app/gimpcontext.c
      	* app/gimpdrawable.c
      	* app/gimpimage.c
      	* app/gimplist.[ch]
      	* app/gimpobject.[ch]
      	* app/gimpset.[ch]
      	* app/layer.c
      	* app/layers_dialog.c
      	* app/module_db.c
      	* app/parasitelist.[ch]: removed gimp_signal_new() and
      	GIMP_TYPE_INIT(). Fixed lots of object related uglyness.
      92c45a90
  23. 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
  24. 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
  25. 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
  26. 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
  27. 09 Jul, 1998 1 commit
    • jaycox's avatar
      Modified Files: ChangeLog app/Makefile.am app/airbrush.c app/app_procs.c · b7d8e6ea
      jaycox authored
      
       Modified Files:
       	ChangeLog app/Makefile.am app/airbrush.c app/app_procs.c
       	app/brush_select.c app/brush_select.h app/clone.c
       	app/colormaps.c app/commands.c app/convolve.c app/devices.c
       	app/eraser.c app/gimage_mask.c app/gimpobject.h app/ink.c
       	app/internal_procs.c app/paint_core.c app/paint_core.h
       	app/paintbrush.c app/pencil.c app/preferences_dialog.c
            Minor modifications to support new brush functionality
      
       Added Files:
       	app/brush_edit.c app/brush_edit.h app/gimpbrush.c
       	app/gimpbrush.h app/gimpbrushgenerated.c
       	app/gimpbrushgenerated.h app/gimpbrushlist.c
       	app/gimpbrushlist.h
            new files to support vector generated brushes and
            reorganization/objectification of the brush class
      
       Removed Files:
       	app/brushes.c app/brushes.h
          Obsoleted by gimpbrush.? and gimpbrushlist.?
      
       ----------------------------------------------------------------------
      b7d8e6ea
  28. 30 Jun, 1998 2 commits
  29. 29 Jun, 1998 1 commit
  30. 28 Jun, 1998 1 commit