1. 13 May, 2006 2 commits
    • Michael Natterer's avatar
      Added some new text layer actions and menu items (bug #316299). · 875af9c5
      Michael Natterer authored
      2006-05-13  Michael Natterer  <mitch@gimp.org>
      
      	Added some new text layer actions and menu items (bug #316299).
      
      	* app/actions/layers-actions.c: added actions for "Text to Path",
      	"Text along Path" and "Text to Selection" (use the alpha to
      	selection callback for text to selection)
      
      	* app/actions/layers-commands.[ch]: added
      	layers_text_to_vectors_cmd_callback() and
      	layers_text_along_vectors_cmd_callback().
      
      	* app/widgets/gimphelp-ids.h: help IDs for the new actions.
      
      	* menus/image-menu.xml.in
      	* menus/layers-menu.xml: added them to the layers menus in the
      	image window and the layers dialog.
      875af9c5
    • Hans Breuer's avatar
      updated dont include "config/gimpbaseconfig.c", it gives an redefinition · 429d71e5
      Hans Breuer authored
      2006-05-13  Hans Breuer  <hans@breuer.org>
      
      	* **/makefile.msc app/gimpcore.def : updated
      	* app/core/gimp-util.c : dont include "config/gimpbaseconfig.c", it
      	gives an redefinition error with msvc. Instead include
      	config/gimpbaseconfig.h and libgimpconfig/gimpconfig-path.h
      
      	* plug-ins/common/psd_save.c : fix c99isms (declarations only at the
      	start of a block)
      429d71e5
  2. 12 May, 2006 4 commits
    • Michael Natterer's avatar
      save 20 bytes per instance by using single bits instead of 6 gbooleans. · 5e24dcf2
      Michael Natterer authored
      2006-05-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpview.h: save 20 bytes per instance by using
      	single bits instead of 6 gbooleans.
      
      	* app/widgets/gimpview.c: some code cleanup.
      
      	* app/widgets/gimpviewrendererbrush.c: don't #include "gimpbrush.h".
      
      	* app/widgets/gimpviewrendererbuffer.c: #include "gimpviewable.h"
      	instead of "gimpbuffer.h".
      
      	* app/widgets/gimpviewrenderergradient.c
      	* app/widgets/gimpviewrendererimagefile.c
      	* app/widgets/gimpviewrendererimagefile.h: micro cosmetics.
      5e24dcf2
    • Michael Natterer's avatar
      save 20 bytes per instance by using single bits instead of 6 gbooleans. · 401b865e
      Michael Natterer authored
      2006-05-12  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpview.h: save 20 bytes per instance by using
      	single bits instead of 6 gbooleans.
      
      	* app/widgets/gimpview.c: some code cleanup.
      
      	* app/widgets/gimpviewrendererbrush.c: don't #include "gimpbrush.h".
      
      	* app/widgets/gimpviewrendererbuffer.c: don't #include "gimpbuffer.h".
      
      	* app/widgets/gimpviewrenderergradient.c
      	* app/widgets/gimpviewrendererimagefile.c
      	* app/widgets/gimpviewrendererimagefile.h: micro cosmetics.
      401b865e
    • Michael Natterer's avatar
      fix warning about unused return value of g_list_append(). · 67f9321b
      Michael Natterer authored
      2006-05-12  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/imagemap/imap_csim.y: fix warning about unused return
      	value of g_list_append().
      
      	* plug-ins/imagemap/imap_csim_parse.[ch]: regenerated (using
      	bison 2.1 instead of 2.0, lots of things changed, please test).
      67f9321b
    • Michael Natterer's avatar
      check for gmodule-no-export-2.0, not for gmodule-2.0. Also removed · f94ec804
      Michael Natterer authored
      2006-05-12  Michael Natterer  <mitch@gimp.org>
      
      	* configure.in: check for gmodule-no-export-2.0, not for
      	gmodule-2.0. Also removed gobject-2.0 from the gmodule check, i
      	have no idea why it was there.
      
      	* libgimpmodule/Makefile.am: s/GMODULE/GMODULE_NO_EXPORT/ because
      	we only want to import modules here, not export our own symbols.
      
      	(note that this change is actually useless, because libgimpmodule
      	 exports its symbols anyway, but it's more correct this way).
      f94ec804
  3. 11 May, 2006 7 commits
  4. 10 May, 2006 3 commits
  5. 09 May, 2006 3 commits
    • Simon Budig's avatar
      New icon to reflect the corrected triangular color selector. · a469d08e
      Simon Budig authored
      2006-05-09  Simon Budig  <simon@gimp.org>
      
      	* themes/Default/images/stock-color-triangle-16.png: New icon
      	to reflect the corrected triangular color selector.
      a469d08e
    • Michael Natterer's avatar
      app/core/gimpimage.c (gimp_image_new) app/core/gimpitem.c · 1f61feee
      Michael Natterer authored
      2006-05-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.c (gimp_image_new)
      	* app/core/gimpitem.c (gimp_item_configure)
      	* app/display/gimpdisplay.c (gimp_display_new): make sure IDs wrap
      	correctly at G_MAXINT and skip IDs which are currently in use.
      
      	It makes no sense to treat gimp->image_table and gimp->images
      	differently, since they keep the same set of images. And it makes
      	no sense to treat gimp->displays and gimp->images differently.
      	Moved all container adding into the objects' constructors:
      
      	* app/core/gimp.c (gimp_create_image): don't add the new image
      	to gimp->images here...
      
      	* app/core/gimpimage.c (gimp_image_constructor): ...but here.
      
      	* app/core/gimp-gui.c (gimp_create_display): don't add the new
      	display to gimp->displays here...
      
      	* app/display/gimpdisplay.c (gimp_display_new): ...but here.
      1f61feee
    • Michael Natterer's avatar
      don't #include "pdb/gimppluginprocedure.h". · b436bf2e
      Michael Natterer authored
      2006-05-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/gui-vtable.c: don't #include "pdb/gimppluginprocedure.h".
      b436bf2e
  6. 08 May, 2006 8 commits
  7. 07 May, 2006 1 commit
    • Simon Budig's avatar
      Make the hue angle behave mathematically correct. Fixes bug #141922 · e6c52afb
      Simon Budig authored
      2006-05-07  Simon Budig  <simon@gimp.org>
      
      	* modules/colorsel_triangle.c: Make the hue angle behave
      	mathematically correct. Fixes bug #141922
      
      	* plug-ins/script-fu/scripts/circuit.scm: Fix multi line description.
      
      	* docs/Wilber.svg: Add xmlns attribute to the svg element, so
      	firefox renders it when reading it from disk.
      e6c52afb
  8. 06 May, 2006 6 commits
    • Michael Natterer's avatar
      return early if the shell is already at the requested zoom level. · ab1153cb
      Michael Natterer authored
      2006-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/gimpdisplayshell-scale.c (gimp_display_shell_scale):
      	return early if the shell is already at the requested zoom level.
      	(paranoia addition for bug #165032, which was already fixed by the
      	fix for bug #164281):
      ab1153cb
    • Michael Natterer's avatar
      hide the button bar, which is useless for the brush editor. Fixes user · bc06f94e
      Michael Natterer authored
      2006-05-07  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpbrusheditor.c: hide the button bar, which is
      	useless for the brush editor. Fixes user confusion (bug #306704).
      bc06f94e
    • Michael Natterer's avatar
      connect to the context's "brush-changed" signal and update the brush · c2061e29
      Michael Natterer authored
      2006-05-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/tools/gimppainttool.c: connect to the context's
      	"brush-changed" signal and update the brush core's brush
      	accordingly. Fixes inconsistent brush preview when not moving
      	the mouse while the brush changes (bug #323404).
      c2061e29
    • Michael Natterer's avatar
      added "gboolean none_ok" members to GimpParamSpecImageID, · 549df3a0
      Michael Natterer authored
      2006-05-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpparamspecs.[ch]: added "gboolean none_ok" members
      	to GimpParamSpecImageID, GimpParamSpecItemID and
      	GimpParamSpecDisplayID.  If none_ok is set, allow '0' and '-1' as
      	valid IDs. Added "none_ok" parameter to all ID param spec
      	constructors.
      
      	* app/xcf/xcf.c: require real image IDs, but allow images without
      	active drawable.
      
      	* app/pdb/gimp-pdb-compat.c: set none_ok to TRUE in all compat
      	param specs, so only IDs that are really random garbage don't pass
      	validation. Fixes validation errors with 0 and -1 IDs.
      
      	* tools/pdbgen/app.pl: set none_ok to FALSE by default. Added
      	support for $arg->{none_ok} to control it.
      
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/progress.pdb
      	* tools/pdbgen/pdb/text_tool.pdb: use none_ok instead of
      	no_success (which disables validation entirely).
      
      	* app/pdb/[many]_cmds.c: regenerated.
      549df3a0
    • Michael Natterer's avatar
      added "gboolean none_ok" members to GimpParamSpecImageID, · 66a66b32
      Michael Natterer authored
      2006-05-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpparamspecs.[ch]: added "gboolean none_ok" members
      	to GimpParamSpecImageID, GimpParamSpecItemID and
      	GimpParamSpecDisplayID.  If none_ok is set, allow '0' and '-1' as
      	valid IDs. Added "none_ok" parameter to all ID param spec
      	constructors.
      
      	* app/pdb/gimp-pdb-compat.c: set none_ok to TRUE in all compat
      	param specs, so only IDs that are really random garbage don't pass
      	validation. Fixes validation errors with 0 and -1 IDs.
      
      	* tools/pdbgen/app.pl: set none_ok to FALSE by default. Added
      	support for $arg->{none_ok} to control it.
      
      	* tools/pdbgen/pdb/image.pdb
      	* tools/pdbgen/pdb/progress.pdb
      	* tools/pdbgen/pdb/text_tool.pdb: use none_ok instead of
      	no_success (which disables validation entirely).
      
      	* app/pdb/[many]_cmds.c: regenerated.
      66a66b32
    • Manish Singh's avatar
      Revert back to unsigned chars for the buffer, and only cast to gchar if we · 70eeb8ce
      Manish Singh authored
      2006-05-05  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/common/gifload.c (DoExtension): Revert back to unsigned
              chars for the buffer, and only cast to gchar if we know we're dealing
              with a comment. Fixes bug #339865.
      70eeb8ce
  9. 05 May, 2006 2 commits
    • Žygimantas Beručka's avatar
      Updated Lithuanian translation. · 2499c091
      Žygimantas Beručka authored
      2006-05-05  Žygimantas Beručka  <zygis@gnome.org>
      
              * lt.po: Updated Lithuanian translation.
      2499c091
    • Michael Natterer's avatar
      changed parameter "gint display_ID" to "GimpObject *display". · 5a586ba6
      Michael Natterer authored
      2006-05-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/gimppluginmanager-call.[ch]
      	(gimp_plug_in_manager_call_run): changed parameter "gint display_ID"
      	to "GimpObject *display".
      
      	* app/pdb/gimpprocedure.[ch]
      	* app/pdb/gimppluginprocedure.c
      	* app/pdb/gimptemporaryprocedure.c: changed
      	GimpProcedure::execute_async() the same way.
      
      	* app/plug-in/gimppluginmanager.c
      	* app/actions/plug-in-commands.c
      	* app/actions/vectors-commands.c
      	* app/widgets/gimphelp.c: changed accordingly.
      5a586ba6
  10. 04 May, 2006 4 commits
    • Michael Natterer's avatar
      added signals "plug-in-opened" and "plug-in-closed". Added functions · 808b65cd
      Michael Natterer authored
      2006-05-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/gimppluginmanager.[ch]: added signals
      	"plug-in-opened" and "plug-in-closed". Added functions
      	gimp_plug_in_manager_add_open_plug_in() and _remove_open_plugin()
      	which maintain the list of open plug-ins and emit the signals.
      
      	* app/plug-in/gimpplugin.c (gimp_plug_in_open)
      	(gimp_plug_in_close): don't touch manager->open_plug_ins and don't
      	ref/unref the plug-in. Call above new functions instead. Don't
      	call gimp_pdb_dialogs_check().
      
      	* app/core/gimp-gui.[ch]
      	* app/gui/gui-vtable.c: removed gimp_pdb_dialogs_check().
      
      	* app/widgets/gimppdbdialog.[ch]: removed
      	gimp_pdb_dialogs_check_callback() and connect to the
      	plug-in-manager's "plug-in-closed" signal instead.
      808b65cd
    • Michael Natterer's avatar
      cleaned up a bit. · d033ddda
      Michael Natterer authored
      2006-05-04  Michael Natterer  <mitch@gimp.org>
      
      	* app/plug-in/gimppluginshm.c: cleaned up a bit.
      
      	(gimp_plug_in_shm_new): return NULL if anything goes wrong,
      	instead of a GimpPlugInShm structure that contains no shm (we
      	don't need multiple cases of "there is no shm"),
      
      	* app/plug-in/gimppluginmanager.[ch]
      	(gimp_plug_in_manager_get_shm_ID)
      	(gimp_plug_in_manager_get_shm_addr): removed these functions.
      
      	* app/plug-in/gimppluginmanager-call.c (gimp_plug_in_manager_call_run)
      	* app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_tile_req):
      	get the shm ID and addr directly from manager->shm if it exists,
      	use -1 and NULL otherwise.
      
      	Unrelated:
      
      	* app/plug-in/gimppluginmanager.c: move most stuff from
      	gimp_plug_in_manager_exit() to gimp_plug_in_manager_finalize().
      	Simplify plug-in killing in _exit().
      d033ddda
    • Sven Neumann's avatar
      added a "verbose" parameter. · c1576daf
      Sven Neumann authored
      2006-05-04  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp-user-install.[ch]: added a "verbose" parameter.
      c1576daf
    • Sven Neumann's avatar
      added a "verbose" parameter. · 25aaf8d9
      Sven Neumann authored
      2006-05-04  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimp-user-install.[ch]: added a "verbose" parameter.
      
      	* app/app_procs.c (app_run): abort if the user installation fails.
      25aaf8d9