1. 29 Jul, 2004 5 commits
    • Sven Neumann's avatar
      forgot to add this file · cb1d7109
      Sven Neumann authored
      cb1d7109
    • Sven Neumann's avatar
      removed enums GimpImageType and GimpImageBaseType ... · e10ebe18
      Sven Neumann authored
      2004-07-29  Sven Neumann  <sven@gimp.org>
      
      	* app/core/core-enums.h: removed enums GimpImageType and
      	GimpImageBaseType ...
      
      	* libgimpbase/gimpbaseenums.h: ... and added them here. Also moved
      	all enums from gimpbasetypes.h to this new file.
      
      	* libgimpbase/Makefile.am
      	* tools/pdbgen/Makefile.am: changed accordingly.
      
      	* app/core/core-enums.c
      	* libgimp/gimpenums.h
      	* libgimpbase/gimpbaseenums.c
      	* tools/pdbgen/enums.pl: regenerated.
      
      	* libgimpbase/gimpparasite.c
      	* libgimpbase/gimpprotocol.c
      	* libgimp/gimp.c: include <glib-object.h>
      
      	* libgimpbase/gimpbasetypes.[ch]: added API to set and get a
      	translation domain on a GType. This is used for translatable enum
      	values.
      
      	* libgimpbase/gimputils.[ch]: added API to retrieve the translated
      	name for an enum value.
      
      	* app/widgets/gimpenumstore.c
      	* app/widgets/gimpenumwidgets.c: use the new API in libgimpbase.
      e10ebe18
    • Sven Neumann's avatar
      fixed gtk-doc comments. · a88879f7
      Sven Neumann authored
      2004-07-29  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpdrawable.c: fixed gtk-doc comments.
      a88879f7
    • Dave Neary's avatar
      Stop signed ints overflowing while getting the mean by replacing (a + b) / · 44d9cc70
      Dave Neary authored
      
      
      2004-07-29  Dave Neary  <bolsh@gimp.org>
      
      	* app/core/gimpdrawable-transform.c: Stop signed ints overflowing
      	while getting the mean by replacing (a + b) / 2 with a / 2 + b / 2.
      	Fixes bug #128594 for drawables less than 32K wide.
      44d9cc70
    • Michael Natterer's avatar
      renamed "Cleared saved foobar now" buttons to "Reset saves foobar to · 6d4ae2ee
      Michael Natterer authored
      2004-07-29  Michael Natterer  <mitch@gimp.org>
      
      	* app/gui/preferences-dialog.c: renamed "Cleared saved foobar now"
      	buttons to "Reset saves foobar to default values". Fixes bug #5673.
      	Added mnemonics for all the configure/save/reset buttons.
      6d4ae2ee
  2. 28 Jul, 2004 19 commits
  3. 27 Jul, 2004 16 commits
    • Michael Natterer's avatar
      forgot to strip mnemonics here. · 9a153f6e
      Michael Natterer authored
      2004-07-28  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpactiongroup.c
      	(gimp_action_group_set_action_label): forgot to strip mnemonics
      	here.
      9a153f6e
    • Michael Natterer's avatar
      Enabled disabling all menu mnemonics. Addresses bug #120034: · 210ef45a
      Michael Natterer authored
      2004-07-28  Michael Natterer  <mitch@gimp.org>
      
      	Enabled disabling all menu mnemonics. Addresses bug #120034:
      
      	* app/config/gimpguiconfig.[ch]
      	* app/config/gimprc-blurbs.h: added boolean RESTART property
      	"menu-menonics".
      
      	* app/gui/preferences-dialog.c: added a GUI for it.
      
      	* app/widgets/gimpactiongroup.[ch]: added boolean CONSTRUCT_ONLY
      	property "mnemonics".
      
      	(gimp_action_group_add_*_actions): call gimp_strip_uline() on
      	the actions' labels if mnemonics is FALSE.
      
      	* app/widgets/gimpactionfactory.[ch]
      	* app/actions/actions.c: pass gui_config->menu_menmonics to
      	all action groups.
      210ef45a
    • Sven Neumann's avatar
      commented out "Context" menu now that we have a shortcut editor. · 1bf6319d
      Sven Neumann authored
      2004-07-27  Sven Neumann  <sven@gimp.org>
      
      	* menus/image-menu.xml.in: commented out "Context" menu now that
      	we have a shortcut editor.
      1bf6319d
    • Sven Neumann's avatar
      don't leak empty SVG gradients. · b580628e
      Sven Neumann authored
      2004-07-27  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpgradient-load.c: don't leak empty SVG gradients.
      b580628e
    • Sven Neumann's avatar
      app/app-docs.sgml app/app-sections.txt updated. · cc8df78c
      Sven Neumann authored
      2004-07-27  Sven Neumann  <sven@gimp.org>
      
      	* app/app-docs.sgml
      	* app/app-sections.txt
      	* app/app.types: updated.
      
      	* libgimpbase/libgimpbase-sections.txt
      	* libgimpbase/tmpl/gimpmemsize.sgml
      	* libgimpbase/tmpl/gimpunit.sgml
      	* libgimpcolor/libgimpcolor-sections.txt
      	* libgimpcolor/tmpl/gimprgb.sgml: minor improvements.
      
      	* libgimpwidgets/libgimpwidgets-docs.sgml: moved cell renderers to
      	a separate chapter.
      cc8df78c
    • Sven Neumann's avatar
      added libgimpbase/gimpmemsize.c. · d82a5572
      Sven Neumann authored
      2004-07-27  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: added libgimpbase/gimpmemsize.c.
      d82a5572
    • Sven Neumann's avatar
      include "libgimpbase/gimpbase.h", not an individual header out of · 9b19c74d
      Sven Neumann authored
      2004-07-27  Sven Neumann  <sven@gimp.org>
      
      	* app/actions/image-commands.c: include "libgimpbase/gimpbase.h",
      	not an individual header out of libgimpbase.
      9b19c74d
    • Sven Neumann's avatar
      libgimpbase/Makefile.am libgimpbase/gimpbase.h libgimpbase/gimpbase.def · bd427b2e
      Sven Neumann authored
      2004-07-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimpbase/Makefile.am
      	* libgimpbase/gimpbase.h
      	* libgimpbase/gimpbase.def
      	* libgimpbase/gimpmemsize.[ch]: added new files with memsize
      	related functions (moved here from gimputil.c) and
      	GIMP_TYPE_MEMSIZE (moved here from app/config/gimpconfig-types.[ch]).
      
      	* libgimpbase/gimputils.[ch]: removed gimp_memsize_to_string() here.
      
      	* libgimpbase/gimpunit.[ch]: added GIMP_TYPE_UNIT (moved here from
      	app/config/gimpconfig-types.[ch]).
      
      	* libgimpbase/gimpbase-private.c
      	* libgimp/gimptile.c
      	* libgimp/gimpunitcache.c
      	* plug-ins/help/domain.c
      	* app/xcf/xcf-read.c: need to include glib-object.h.
      
      	* plug-ins/common/uniteditor.c: use GIMP_TYPE_UNIT.
      
      	* app/config/gimpconfig-types.[ch]: removed code that lives in
      	libgimpbase now.
      
      	* app/config/gimpconfig-deserialize.c: changed accordingly.
      
      	* app/config/gimpbaseconfig.c
      	* app/config/gimpdisplayconfig.c
      	* app/core/gimpcontext.c
      	* app/gui/grid-dialog.c
      	* app/tools/gimpcolortool.c
      	* app/widgets/gimpaction.c
      	* app/widgets/gimpunitstore.c: no need to include gimpconfig-types.h
      	any longer.
      bd427b2e
    • Michael Natterer's avatar
      libgimp/tmpl/gimppalettemenu.sgml libgimp/tmpl/gimppaletteselect.sgml · ed3f8fd1
      Michael Natterer authored
      2004-07-27  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/tmpl/gimppalettemenu.sgml
      	* libgimp/tmpl/gimppaletteselect.sgml
      	* libgimp/libgimp-docs.sgml
      	* libgimp/libgimp-sections.txt: added the palette select stuff.
      ed3f8fd1
    • Michael Natterer's avatar
      libgimp/Makefile.am libgimp/gimp.h libgimp/gimpui.h · 820b4d24
      Michael Natterer authored
      2004-07-27  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/Makefile.am
      	* libgimp/gimp.h
      	* libgimp/gimpui.h
      	* libgimp/gimppalettemenu.[ch]
      	* libgimp/gimppaletteselect.[ch]: added palette select wrapper and
      	widget (straight copy & string replace of the font select stuff).
      	Fixes bug #136130.
      
      	* plug-ins/script-fu/script-fu-enums.h
      	* plug-ins/script-fu/script-fu-scripts.c
      	* plug-ins/script-fu/siod-wrapper.c: added SF_PALETTE so it can
      	be used in scripts.
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: added a palette
      	parameter to the test script.
      820b4d24
    • Michael Natterer's avatar
      remove the image from the image hash table and set its "gimp" pointer to · 9b5862e7
      Michael Natterer authored
      2004-07-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpimage.c (gimp_image_finalize): remove the image
      	from the image hash table and set its "gimp" pointer to NULL
      	*after* all layers, channels, vectors and the selection are
      	finalized; otherwise these items have no chance of removing
      	themselves from the item hash table (because image->gimp is
      	already NULL). Spotted by pgimeno and nomis.
      	(should be backported after it got some testing)
      9b5862e7
    • Michael Natterer's avatar
      minor correction. · f36f9188
      Michael Natterer authored
      f36f9188
    • Sven Neumann's avatar
      string change. · 7e3e851c
      Sven Neumann authored
      2004-07-27  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpfiledialog.c (gimp_file_dialog_new): string change.
      7e3e851c
    • Michael Natterer's avatar
      make sure we always set a non-null URI. · a66a3b47
      Michael Natterer authored
      2004-07-27  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpfiledialog.c (gimp_file_dialog_set_uri): make
      	sure we always set a non-null URI.
      a66a3b47
    • Sven Neumann's avatar
      app/widgets/gimphelp-ids.h removed unused help IDs GIMP_HELP_FILE_OPEN_XCF · 67ff4473
      Sven Neumann authored
      2004-07-27  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimphelp-ids.h removed unused help IDs
      	GIMP_HELP_FILE_OPEN_XCF and GIMP_HELP_FILE_SAVE_XCF. The help IDs
      	for these entries are generated from the procedure names.
      67ff4473
    • Sven Neumann's avatar
      print the help-id and help-domain to stdout if gimp was started with the · 228aadc2
      Sven Neumann authored
      2004-07-27  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimphelp.c (gimp_help): print the help-id and
      	help-domain to stdout if gimp was started with the --verbose
      	command-line option.
      228aadc2