1. 01 Sep, 2003 7 commits
    • Michael Natterer's avatar
      We really don't need that global variable overkill from appenv.h just to · b8b7985b
      Michael Natterer authored
      2003-09-01  Michael Natterer  <mitch@gimp.org>
      
      	We really don't need that global variable overkill from appenv.h
      	just to pass these values from main() to app_init():
      
      	* app/app_procs.[ch] (app_init): added tons of parameters that
      	used to be global variables before.
      	Replaced app_init_update_status() by two functions, one which
      	actually updates the splash, and one which does nothing, so we
      	don't need global variables in the status callback.
      
      	* app/appenv.h: removed vraiable declarations here. Some are still
      	left, will get rid of this entire file soon...
      
      	* app/main.c: added them as local variables to main() and
      	pass them to app_init().
      
      	* app/batch.c: removed the global "batch_cmds", they are passed
      	the same way as the stuff above now.
      b8b7985b
    • Simon Budig's avatar
      added simplistic undo, needs polishing. · a6647f2d
      Simon Budig authored
      2003-09-01  Simon Budig  <simon@gimp.org>
      
      	* app/tools/gimpvectortool.c: added simplistic undo, needs polishing.
      a6647f2d
    • Michael Natterer's avatar
      app/gui/channels-menu.c app/gui/layers-menu.c removed accelerators from · 6f102877
      Michael Natterer authored
      2003-09-01  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/channels-menu.c
      	* app/gui/layers-menu.c
      	* app/gui/vectors-menu.c: removed accelerators from popup menus.
      	The HIG says nono and we will use the global <Image> accelerator
      	table all over the place soon. First part of fix for bug #119878.
      6f102877
    • Michael Natterer's avatar
      fixed check for the number of arguments (don't always fail). Fixes bug · 2004c05d
      Michael Natterer authored
      2003-09-01  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/common/edge.c (run): fixed check for the number of
      	arguments (don't always fail). Fixes bug #121176.
      2004c05d
    • Manish Singh's avatar
      inlined rotate_pointers, made it specific to gulongs (made more sense to · 1a2a0b5b
      Manish Singh authored
      2003-08-31  Manish Singh  <yosh@gimp.org>
      
              * app/paint/gimppaintcore.c: inlined rotate_pointers, made it specific
              to gulongs (made more sense to me than adding casts)
      1a2a0b5b
    • Simon Budig's avatar
      Introduced function to compare two gimpcoords · f09f3657
      Simon Budig authored
      2003-09-01  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpcoordmath.[ch]: Introduced function to compare
      	two gimpcoords
      
      	* app/vectors/gimpstroke.[ch]: virtualized gimp_stroke_close.
      
      	* app/vectors/gimpbezierstroke.c: made the _close function check,
      	if there is an unneeded segment (CCA-Sequence with all the same
      	coordinates) at the gap to be closed. If so, remove it.
      f09f3657
    • Tor Lillqvist's avatar
      Update. · cd31cdd7
      Tor Lillqvist authored
      2003-09-01  Tor Lillqvist  <tml@iki.fi>
      
      	* README.win32: Update.
      
      	* app/composite/gimp-composite-mmx.c: For some reason the gcc&gas
      	combination used on Win32 wants identifiers prefixed with
      	underscores in the asm sequences.
      
      	* plug-ins/common/ps.c (ps_open): [Win32] Don't write the gs
      	executable name into the indirect command line file. Do write the
      	quoted form of the filename to it.
      	(my_shell_quote): New funcion. Use instead of g_shell_quote() on
      	Windows, as g_shell_quote() always uses single quotes, which don't
      	mean anything to the Windows shell (or C runtime startup
      	code). (This might be argued to be a bug in GLib, maybe
      	g_shell_quote should behave differently accoring to platform.)
      
      	* etc/gimprc.win32: Remove, generate with gimpconfig-dump.
      
      	* */makefile.mingw.in: Remove, unmaintained.
      cd31cdd7
  2. 31 Aug, 2003 25 commits
  3. 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
  4. 29 Aug, 2003 4 commits
    • Simon Budig's avatar
      fixed stupid int vs. float error that caused rounding errors when moving · d401ae3b
      Simon Budig authored
      2003-08-30  Simon Budig  <simon@gimp.org>
      
      	* app/tools/gimpvectortool.[ch]: fixed stupid int vs. float
      	error that caused rounding errors when moving in a zoomed view.
      	Fixed drawing artefact when connecting strokes did not succeed.
      d401ae3b
    • Simon Budig's avatar
      further modifier changes. Mail to gimp-devel will follow. · df8ab68d
      Simon Budig authored
      2003-08-29  Simon Budig  <simon@gimp.org>
      
      	* app/tools/gimpvectortool.[ch]: further modifier changes.
      	Mail to gimp-devel will follow.
      df8ab68d
    • Simon Budig's avatar
      Do not modify the selection state of the anchors. When extending · e7d0cfad
      Simon Budig authored
      2003-08-29  Simon Budig  <simon@gimp.org>
      
      	* app/vectors/gimpbezierstroke.c: Do not modify the selection
      	state of the anchors. When extending EXTEND_EDITABLE return
      	the anchor created (not the handle at the end of the list)
      
      	* app/tools/tools-enums.h: Added new mode-enum for the vector tool.
      	* app/tools/tools-enums.c: regenerated
      
      	* app/tools/gimpvectortool.[ch]: Implemented moving (Shortcuts
      	ALT and ALT+CTRL. The whole assignment of modifiers right now
      	gets revised. Right now you have to use the Tool options to
      	switch between the modes of operation. Connecting strokes now
      	works in Insert/Delete mode by clicking on startpoint and
      	dragging to target endpoint.
      
      	I will write a mail to gimp-devel when the shortcuts are
      	setteled a bit more. Sorry for the inconvenience.
      e7d0cfad
    • Sven Neumann's avatar
      move the mnemonic from the old font selection widget to the new one. The · 417221b6
      Sven Neumann authored
      2003-08-29  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimptextoptions.c (gimp_text_options_gui): move the
      	mnemonic from the old font selection widget to the new one. The
      	old one will die soon. Fixes bug #120963.
      417221b6