1. 31 Aug, 2003 14 commits
  2. 30 Aug, 2003 4 commits
    • Michael Natterer's avatar
      Removed libgck from the public libgimp API: · bd5bbf7a
      Michael Natterer authored
      2003-08-31  Michael Natterer  <mitch@gimp.org>
      
      	Removed libgck from the public libgimp API:
      
      	* plug-ins/libgck/gck/Makefile.am: don't build and install a
      	shared library and any header files. Instead, build a
      	noinst_LIBRARY.
      
      	* plug-ins/Lighting/Makefile.am
      	* plug-ins/MapObject/Makefile.am: link against the uninstalled
      	libgck.a convenience lib.
      bd5bbf7a
    • Michael Natterer's avatar
      made "tool-info" a G_PARAM_CONSTRUCT_ONLY property. · c049f82e
      Michael Natterer authored
      2003-08-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimptool.c: made "tool-info" a G_PARAM_CONSTRUCT_ONLY
      	property.
      
      	* app/tools/tool_manager.c (tool_manager_tool_changed): pass it to
      	g_object_new() instead of setting it after tool creation.
      
      	* app/tools/gimppainttool.[ch]
      	* app/tools/gimptransformtool.[ch]: removed ugly
      	"gboolean notify_connected" hacks and connect to the signals in
      	GObject::constructor().
      
      	* app/tools/gimppainttool.c (gimp_paint_tool_contstructor): create
      	paint_tool->core here from tool->tool_info->paint_info->paint_type.
      
      	* app/tools/gimpairbrushtool.c
      	* app/tools/gimpclonetool.c
      	* app/tools/gimpconvolvetool.c
      	* app/tools/gimpdodgeburntool.c
      	* app/tools/gimperasertool.c
      	* app/tools/gimppaintbrushtool.c
      	* app/tools/gimppenciltool.c
      	* app/tools/gimpsmudgetool.c: changed accordingly. Removed lots of
      	useless class_init functions. Converted tabs to spaces. Cleanup.
      c049f82e
    • Michael Natterer's avatar
      app/core/gimpchannel.[ch] (gimp_channel_boundary) · 2da93d69
      Michael Natterer authored
      2003-08-30  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpchannel.[ch] (gimp_channel_boundary)
      	* app/core/gimpimage-mask.[ch] (gimp_image_mask_boundary)
      	* app/core/gimplayer-floating-sel.[ch] (floating_sel_boundary):
      	return const BoundSeg arrays because they are cached and not newly
      	allocated.
      
      	* app/base/boundary.[ch] (sort_boundary)
      	* app/tools/gimpdrawtool.[ch] (gimp_draw_tool_draw_boundary):
      	take const BoundSeg arrays.
      
      	* app/core/gimpimage-mask.c (gimp_image_mask_stroke)
      	* app/display/gimpdisplayshell-selection.c
      	* app/tools/gimpeditselectiontool.c (init_edit_selection):
      	changed accordingly.
      2da93d69
    • Michael Natterer's avatar
      Fixed & cleaned up paint function registration to work without GUI. · c42641fe
      Michael Natterer authored
      2003-08-30  Michael Natterer  <mitch@gimp.org>
      
      	Fixed & cleaned up paint function registration to work without
      	GUI. Finishes core/GUI separation for the paint tools:
      
      	* app/core/gimppaintinfo.[ch]: removed "gchar *pdb_string" all over
      	the place since we don't stroke using the PDB any more.
      	(gimp_paint_info_new): create paint_info->paint_options here so
      	the paint system is fully initialized when there is no GUI.
      
      	* app/paint/paint.c: removed pdb_string stuff here, too.
      
      	* app/core/gimptoolinfo.[ch]: create tool_info->tool_options
      	only if tool_info->tool_options_type is not the same type
      	as paint_info->paint_options_type (if we are no paint tool).
      
      	* app/core/gimptooloptions.c: removed G_PARAM_CONSTRUCT_ONLY from
      	the "tool-info" property. Instead, changed
      	gimp_tool_options_set_property to ensure that it is only set once.
      
      	* app/core/gimp.c (gimp_initialize): moved paint_init() after
      	data_factory creation (was in gimp_init()), since GimpPaintInfo
      	now creates the GimpPaintOptions, which are GimpContexts, which
      	need gimp->*_factory to be constructed.
      
      	* app/tools/tool_manager.c: don't create tool_info->tool_options
      	here (it's not the job of the tool_manager to set up the core
      	paint system correctly, it must be already initialized before any
      	tool_manager function is called).
      
      	Made "Stroke Selection" and "Stroke Path" work the same way:
      
      	* app/paint/gimppaintcore-stroke.[ch]: added new function
      	gimp_paint_core_stroke_boundary() which strokes without using
      	the PDB.
      
      	* app/core/gimpimage-mask.c (gimp_image_mask_stroke): use it
      	instead of using the PDB. Enables all available paint options for
      	stroke operations. Fixes bug #119411.
      
      	* app/gui/vectors-commands.c (vectors_stroke_vectors)
      	* app/core/gimpimage-mask.c (gimp_image_mask_stroke): removed all
      	code which tries to figure how to stroke and simply look at the
      	active tool's tool_info->paint_info, since it is always set up
      	correctly now.
      c42641fe
  3. 29 Aug, 2003 9 commits
  4. 28 Aug, 2003 13 commits
    • Manish Singh's avatar
      cleanups. sizeof() isn't valid in preprocessor land. Use GDK_WINDOWING_* · 56ff6be3
      Manish Singh authored
      2003-08-28  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/common/screenshot.c: cleanups. sizeof() isn't valid
              in preprocessor land. Use GDK_WINDOWING_* instead of G_OS_WIN32.
              XFreeCursor when we're done with it.
      56ff6be3
    • Manish Singh's avatar
      app/core/gimpbrush.c app/core/gimpbrushgenerated.c · f9c41aa8
      Manish Singh authored
      2003-08-28  Manish Singh  <yosh@gimp.org>
      
              * app/core/gimpbrush.c
              * app/core/gimpbrushgenerated.c
              * app/core/gimpbrushpipe.c
              * app/core/gimpbuffer.c
              * app/core/gimpimage-snap.c
              * app/core/gimppattern.c
              * app/core/gimpundostack.c
              * app/display/gimpdisplayshell.c
              * app/gui/grid-dialog.c
              * plug-ins/common/CML_explorer.c: cleanup, remove unnecessary casts.
      f9c41aa8
    • Sven Neumann's avatar
      bumped version number to 1.3.20. · d332a470
      Sven Neumann authored
      2003-08-28  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped version number to 1.3.20.
      d332a470
    • Dave Neary's avatar
      Updated the NEWS file. · dbdbeb53
      Dave Neary authored
      
      
      2003-08-28  Dave Neary <bolsh@gimp.org>
      
              * NEWS: Updated the NEWS file.
      dbdbeb53
    • Sven Neumann's avatar
      removed, it's a generated file. · 8a0a75ee
      Sven Neumann authored
      2003-08-28  Sven Neumann  <sven@gimp.org>
      
      	* app/app.interfaces: removed, it's a generated file.
      8a0a75ee
    • Henrik Brix Andersen's avatar
      rewrote a large part of the screenshot plug-in. The plug-in now no longer · f33c7af7
      Henrik Brix Andersen authored
      2003-08-28 Henrik Brix Andersen <brix@gimp.org>
      
      * plug-ins/common/screenshot.c: rewrote a large part of the
      screenshot plug-in. The plug-in now no longer depends on the xwd
      utility, but uses Xlib/GDK functionality to obtain the screen shot.
      
      The window to shoot is now selected prior to the time out. This
      fixes bug #103852.
      
      The ability to obtain a screen shot of a window without
      decorations has had to go since this can not be done using plain
      Xlib/GDK (one would have to depend on libXmu to do this).
      
      The source is prepared for G_OS_WIN32 but the win32 specific code
      is yet to be written.
      
      * tools/pdbgen/pdb/plug_in.pdb (gimp_progress_update): improved the
      inline documentation
      
      * app/pdb/plug_in_cmds.c
      * libgimp/gimpplugin_pdb.c: regenerated
      f33c7af7
    • Sven Neumann's avatar
      free the colormap and set colormap size to 0 after converting from · edf64d16
      Sven Neumann authored
      2003-08-28  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage-convert.c (gimp_image_convert): free the
      	colormap and set colormap size to 0 after converting from indexed.
      	Should make gimp_image_get_cmap() behave as advertized again.
      
      	* tools/pdbgen/pdb/image.pdb: use gimp_image_get_colormap_size()
      	instead of accessing gimage->num_cols directly.
      
      	* app/pdb/image_cmds.c: regenerated.
      edf64d16
    • Maurits Rijk's avatar
      Major clean-up of xjt. · e4e1f51c
      Maurits Rijk authored
      e4e1f51c
    • Michael Natterer's avatar
      libgimp/tmpl/gimphelp.sgml regenerated. · 28920aa7
      Michael Natterer authored
      2003-08-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/tmpl/gimphelp.sgml
      	* libgimp/tmpl/gimpplugin.sgml: regenerated.
      28920aa7
    • Michael Natterer's avatar
      Completed the new help infrastructure. Needs some polishing but basically · 1f2c75e5
      Michael Natterer authored
      2003-08-28  Michael Natterer  <mitch@gimp.org>
      
      	Completed the new help infrastructure. Needs some polishing but
      	basically works as proposed:
      
      	* tools/pdbgen/pdb/plug_in.pdb: changed gimp_plugin_help_register()
      	to take a "domain_name" (which is the XML namespace) and a
      	"domain_uri" (which is the root of the plug-in's help pages).
      
      	* tools/pdbgen/pdb/help.pdb: changed gimp_help() to take help_id
      	instead of a non-UTF-8 help_path.
      
      	* app/plug-in/plug-in-def.[ch]
      	* app/plug-in/plug-in-proc.[ch]
      	* app/plug-in/plug-in-rc.c
      	* app/plug-in/plug-ins.[ch]: remember the plug-ins' help_domain
      	and help_uri instead of just help_path. Changed all plug-in APIs
      	to reflect this change.
      
      	* app/widgets/gimphelp.[ch]: on helpbrowser startup, pass it the
      	whole list of help domains. The actual help request is now made
      	using the browser's temporary procedure.
      
      	* app/core/gimp.h
      	* app/gui/file-open-menu.c
      	* app/gui/file-save-menu.c
      	* app/gui/plug-in-menus.[ch]
      	* app/widgets/gimpitemfactory.c: changed accordingly.
      
      	* app/pdb/help_cmds.c
      	* app/pdb/plug_in_cmds.c
      	* libgimp/gimphelp_pdb.[ch]
      	* libgimp/gimpplugin_pdb.[ch]: regenerated.
      
      	Changed the help broser to load the pages according to the
      	new system:
      
      	- moved the browser window stuff to dialog.[ch]
      	- moved help domain handling to domain.[ch]
      	- added gimp-help.xml parsing to domain.c
      	- tons of cleanup
      
      	* plug-ins/helpbrowser/Makefile.am
      	* plug-ins/helpbrowser/dialog.[ch]
      	* plug-ins/helpbrowser/domain.[ch]: new files.
      	* plug-ins/helpbrowser/helpbrowser.c: chopped.
      1f2c75e5
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · 4d70bc73
      Pablo Gonzalo del Campo authored
      2003-08-28  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>
      
              * es.po: Updated Spanish translation.
      4d70bc73
    • Simon Budig's avatar
      app/core/gimpimage-mask-select.c Fixed two crashes when a path with a · f4b390a4
      Simon Budig authored
      2003-08-28  Simon Budig  <simon@gimp.org>
      
      	* app/core/gimpimage-mask-select.c
      	* app/vectors/gimpbezierstroke.c: Fixed two crashes when a path
      	with a single node in a stroke got converted to a selection or got
      	stroked.
      f4b390a4
    • Sven Neumann's avatar
      keep the context colors always opaque. Fixes bug #120912. · 6bcd478d
      Sven Neumann authored
      2003-08-28  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpcontext.c (gimp_context_real_set_foreground)
      	(gimp_context_real_set_background): keep the context colors always
      	opaque. Fixes bug #120912.
      6bcd478d