1. 26 Oct, 2004 2 commits
  2. 25 Oct, 2004 26 commits
    • Michael Natterer's avatar
      my last change removed the sanity check for array_length >= 0. Put it · dfcdaedb
      Michael Natterer authored
      2004-10-26  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
      	my last change removed the sanity check for array_length >= 0.
      	Put it back.
      dfcdaedb
    • Michael Natterer's avatar
      updated. · 0e824910
      Michael Natterer authored
      2004-10-26  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpbase.def: updated.
      0e824910
    • David Odin's avatar
      added this new plug-in. Addresses bug #135594 · 5e1581d8
      David Odin authored
      * plug-ins/common/retinex.c: added this new plug-in.
        Addresses bug #135594
      
      * plug-ins/common/plugin-defs.pl: modified accordingly.
      
      * plug-ins/common/.cvsignore
      * plug-ins/common/Makefile.am: regenerated.
      
      * plug-ins/gfig/gfig-arc.c
      * plug-ins/gfig/gfig-arc.h
      * plug-ins/gfig/gfig-circle.c
      * plug-ins/gfig/gfig-circle.h
      * plug-ins/gfig/gfig-dialog.c: smallish style cleanups
      5e1581d8
    • Michael Natterer's avatar
      fix paste accident. · 3260bf13
      Michael Natterer authored
      3260bf13
    • Sven Neumann's avatar
      don't include the app directory. · c2bc3377
      Sven Neumann authored
      2004-10-25  Sven Neumann  <sven@gimp.org>
      
      	* devel-docs/Makefile.am (EXTRA_DIST): don't include the app
      	directory.
      c2bc3377
    • Michael Natterer's avatar
      silently accept arrays which are longer than specified. Nothing bad can · 0bff7780
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/siod-wrapper.c (marshall_proc_db_call):
      	silently accept arrays which are longer than specified. Nothing
      	bad can happen and it's common practice to resize arrays in fixed
      	size chunks so avoid frequent resizing. Fixes bug #155359.
      0bff7780
    • Michael Natterer's avatar
      removed debugging output i forgot. · 286eb015
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* plug-ins/script-fu/siod-wrapper.c (init_constants): removed
      	debugging output i forgot.
      286eb015
    • Sven Neumann's avatar
      change the action button's label to "Quit" if there are no images with · 46bdfd8b
      Sven Neumann authored
      2004-10-25  Sven Neumann  <sven@gimp.org>
      
      	* app/dialogs/quit-dialog.c: change the action button's label to
      	"Quit" if there are no images with unsaved changes.
      46bdfd8b
    • Michael Natterer's avatar
      register some missing enums. · b0305309
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* libgimpbase/gimpbaseenums.[ch]: register some missing enums.
      
      	* tools/pdbgen/enumcode.pl: removed code to generate
      	plug-ins/script-fu/script-fu-constants.c, generate code to
      	explicitely initialize and query all of libgimp*'s enums
      	and write it to libgimp/gimpenums.c.tail
      
      	* libgimp/gimpenums.h: regenerated.
      
      	* libgimp/Makefile.am: append gimpenums.c.tail to gimpenums.c
      
      	* libgimp/gimp.c (gimp_main): call g_type_init() and
      	_gimp_enums_init().
      
      	* libgimp/gimp.def: added gimp_enums_get_type_names().
      
      	* plug-ins/script-fu/Makefile.am
      	* plug-ins/script-fu/script-fu-constants.[ch]: removed these files.
      
      	* plug-ins/script-fu/siod-wrapper.c: dynamically register all
      	constants using gimp_enums_get_type_names() and introspection.
      	Also register the built-in unit types.
      
      	* plug-ins/script-fu/script-fu.c: changed accordingly.
      b0305309
    • Sven Neumann's avatar
      regenerated · 76d874e2
      Sven Neumann authored
      76d874e2
    • Michael Natterer's avatar
      Don't store human readable and translatable enum/flag strings in · 67116466
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	Don't store human readable and translatable enum/flag strings in
      	GEnumValue's and GTypeValue's fields but attach them to their
      	GType using separate structs and utility functions:
      
      	* tools/gimp-mkenums: added params and perl voodoo to support
      	generating a second array of values, which is used by the
      	Makefiles below to create and register arrays of value
      	descriptions.
      
      	* libgimpbase/gimpbasetypes.[ch]: added API to attach/retreive
      	arrays of translatable strings to/from enum and flags types. Added
      	structs GimpEnumDesc and GimpFlagsDesc for that purpose.
      
      	* libgimpbase/gimputils.[ch]: changed existing enum utility
      	functions, added new ones and added a symmetric API for flags.
      
      	* app/base/Makefile.am
      	* app/core/Makefile.am
      	* app/display/Makefile.am
      	* app/paint/Makefile.am
      	* app/text/Makefile.am
      	* app/tools/Makefile.am
      	* app/widgets/Makefile.am
      	* libgimp/Makefile.am
      	* libgimpbase/Makefile.am: changed *-enums.c generation rules
      	accordingly.
      
      	* app/base/base-enums.c
      	* app/core/core-enums.c
      	* app/display/display-enums.c
      	* app/paint/paint-enums.c
      	* app/text/text-enums.c
      	* app/tools/tools-enums.c
      	* app/widgets/widgets-enums.c
      	* libgimpbase/gimpbaseenums.c: regenerated.
      
      	* app/widgets/gimpenumstore.c
      	* app/widgets/gimpenumwidgets.c
      	* app/widgets/gimptemplateeditor.c
      	* libgimpwidgets/gimppreviewarea.c: follow the enum utility
      	function API changes.
      67116466
    • Adam Weinberger's avatar
      Updated Canadian English translation. · 14b1e0c2
      Adam Weinberger authored
      
      	* en_CA.po: Updated Canadian English translation.
      14b1e0c2
    • Kevin Cozens's avatar
      Changed gimp-data-dir to gimp-data-directory. · b20396f7
      Kevin Cozens authored
      2004-10-25 Kevin Cozens <kcozens@cvs.gimp.org>
      
      	* scripts/tiny-fu.init: Changed gimp-data-dir to gimp-data-directory.
      b20396f7
    • Sven Neumann's avatar
      skip types for registered enums. · 66ba9eca
      Sven Neumann authored
      2004-10-25  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/libgimp-sections.txt: skip types for registered enums.
      66ba9eca
    • Sven Neumann's avatar
      plug-ins/imagemap/imap_cmd_gimp_guides.c · 4762ab0a
      Sven Neumann authored
      2004-10-25  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/imagemap/imap_cmd_gimp_guides.c
      	* plug-ins/imagemap/imap_edit_area_info.c
      	* plug-ins/imagemap/imap_main.c
      	* plug-ins/imagemap/imap_menu.[ch]
      	* plug-ins/imagemap/imap_menu_funcs.[ch]
      	* plug-ins/imagemap/imap_misc.c
      	* plug-ins/imagemap/imap_settings.c
      	* plug-ins/imagemap/imap_source.c: added a menu entry for Help.
      	Did more minor layout adjustments for HIG compliance.
      4762ab0a
    • Kevin Cozens's avatar
      Applied patch from Dimitrios Souflis which fixes error when parsing two or · 865f4d8b
      Kevin Cozens authored
      2004-10-25 Kevin Cozens <kcozens@cvs.gimp.org>
      
      	* tinyscheme/scheme.c: Applied patch from Dimitrios Souflis which
      	fixes error when parsing two or more consecutive comment lines.
      865f4d8b
    • Michael Natterer's avatar
      #include "libgimpbase/gimpbase.h", not just gimputils.h · a61ed834
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpobject.c: #include "libgimpbase/gimpbase.h", not
      	just gimputils.h
      a61ed834
    • Michael Natterer's avatar
      commented out the "Debug" submenu. Should do this via an xsltproc --param · 7989cbb7
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* menus/toolbox-menu.xml.in: commented out the "Debug" submenu.
      	Should do this via an xsltproc --param actually...
      7989cbb7
    • Hendrik Brandt's avatar
      Updated German translation. · 3f20d813
      Hendrik Brandt authored
      2004-10-25  Hendrik Brandt  <hebra@cvs.gnome.org>
      
      	* po{,-libgimp,-plug-ins,-script-fu}/de.po: Updated German translation.
      3f20d813
    • David Odin's avatar
      removed debugging g_print and remove my memory fix, since it was buggy and · af42b253
      David Odin authored
      * plug-ins/common/newsprint.c: removed debugging g_print and
        remove my memory fix, since it was buggy and shouldn't be done.
        My fix just broke this plug-in (reported by Joao S. O. Bueno
        Calligaris)
      af42b253
    • Simon Budig's avatar
      Switch to design mode when Escape gets pressed. Untabbified. · fdd150e3
      Simon Budig authored
      2004-10-25  Simon Budig  <simon@gimp.org>
      
      	* app/tools/gimpvectortool.c: Switch to design mode when
      	Escape gets pressed. Untabbified.
      fdd150e3
    • Michael Natterer's avatar
      app/actions/gradient-editor-commands.c irrelevant coding style and spacing · e88a6636
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/actions/gradient-editor-commands.c
      	* app/display/gimpdisplayshell-preview.c: irrelevant coding style
      	and spacing cleanups.
      
      	* app/widgets/gimpimageeditor.c: removed utility function
      	gimp_image_editor_context_changed() and connect
      	gimp_image_editor_set_image() directly using
      	g_signal_connect_swapped().
      e88a6636
    • Sven Neumann's avatar
      plug-ins/imagemap/imap_circle.c plug-ins/imagemap/imap_cmd_gimp_guides.c · 537890aa
      Sven Neumann authored
      2004-10-25  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/imagemap/imap_circle.c
      	* plug-ins/imagemap/imap_cmd_gimp_guides.c
      	* plug-ins/imagemap/imap_cmd_guides.c
      	* plug-ins/imagemap/imap_default_dialog.[ch]
      	* plug-ins/imagemap/imap_edit_area_info.c
      	* plug-ins/imagemap/imap_grid.c
      	* plug-ins/imagemap/imap_main.c
      	* plug-ins/imagemap/imap_misc.c
      	* plug-ins/imagemap/imap_polygon.c
      	* plug-ins/imagemap/imap_preferences.c
      	* plug-ins/imagemap/imap_rectangle.c
      	* plug-ins/imagemap/imap_selection.c
      	* plug-ins/imagemap/imap_source.c
      	* plug-ins/imagemap/imap_toolbar.c
      	* plug-ins/imagemap/imap_tools.c: reviewed for HIG
      	compliance. Various other minor fixes. Closes bug #150004.
      537890aa
    • Kevin Cozens's avatar
      Added parameter missing from argument list. · 1cea4942
      Kevin Cozens authored
      2004-10-25 Kevin Cozens <kcozens@cvs.gimp.org>
      
      	* plug-ins/script-fu/scripts/test-sphere.scm: Added parameter
      	missing from argument list.
      1cea4942
    • Michael Natterer's avatar
      tools/pdbgen/enumcode.pl register all enums in libgimp/gimenums.h with the · 5be33c97
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/enumcode.pl
      	* libgimp/Makefile.am: register all enums in libgimp/gimenums.h
      	with the type system.
      
      	* libgimp/gimpenums.h: regenerated.
      
      	* libgimp/gimp.def: updated.
      5be33c97
    • Michael Natterer's avatar
      tools/pdbgen/enumcode.pl register all enums in libgimp/gimenums.h with the · a3eef872
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/enumcode.pl
      	* libgimp/Makefile.am: register all enums in libgimp/gimenums.h
      	with the type system.
      
      	* libgimp/gimpenums.h: regenerated.
      a3eef872
  3. 24 Oct, 2004 12 commits
    • Vincent van Adrighem's avatar
      Translation updated by Tino Meinen. · e11bcb15
      Vincent van Adrighem authored
      2004-10-25  Vincent van Adrighem  <adrighem@gnome.org>
      
      	* nl.po: Translation updated by Tino Meinen.
      e11bcb15
    • Sven Neumann's avatar
      gimp_user_version should be 2.2. · 6ce9ad7f
      Sven Neumann authored
      2004-10-25  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: gimp_user_version should be 2.2.
      
      	* libgimpmodule/Makefile.am (AM_CPPFLAGS): cleanup.
      6ce9ad7f
    • Sven Neumann's avatar
      fixed ChangeLog entry · 21d634e7
      Sven Neumann authored
      21d634e7
    • Sven Neumann's avatar
      configure.in app/Makefile.am bumped version to 2.2.0-pre1, set app version · 6108dc02
      Sven Neumann authored
      2004-10-25  Sven Neumann  <sven@gimp.org>
      
      	* configure.in
      	* app/Makefile.am
      	* tools/Makefile.am: bumped version to 2.2.0-pre1, set app version
      	to 2.2, reset other versions to 2.0. Changed library versioning so
      	we install with the same soname as gimp-2.0 again.
      6108dc02
    • Sven Neumann's avatar
      say "Click to create preview" if no preview is available. · 726821fe
      Sven Neumann authored
      2004-10-25  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimagefile.c (gimp_imagefile_get_desc_string): say
      	"Click to create preview" if no preview is available.
      726821fe
    • Michael Natterer's avatar
      added added app/actions/error-console-commands.c · 2e94997d
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: added added app/actions/error-console-commands.c
      2e94997d
    • Michael Natterer's avatar
      added gimp_text_buffer_save() which saves a GtkTextBuffer's contents to a · df343547
      Michael Natterer authored
      2004-10-25  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpwidgets-utils.[ch]: added gimp_text_buffer_save()
      	which saves a GtkTextBuffer's contents to a file.
      
      	* app/widgets/gimperrorconsole.c: use
      	gimp_editor_add_action_button() and removed all "clicked"
      	callbacks, including all file saving code.
      
      	* app/actions/error-console-actions.c
      	* app/actions/error-console-commands.[ch]: added the code removed
      	above to the action callbacks. Use gimp_text_buffer_save().
      df343547
    • Michael Natterer's avatar
      app/widgets/gimpgradienteditor.[ch] added public APIs for zooming the · 714771d4
      Michael Natterer authored
      2004-10-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpgradienteditor.[ch]
      	* app/widgets/gimppaletteeditor.[ch]: added public APIs for
      	zooming the editors. Use gimp_editor_add_action_button() to create
      	all buttons. Removed all button callbacks and all duplicated
      	button sensitivity logic.
      
      	* app/widgets/gimpdataeditor.c (gimp_data_editor_set_data): update
      	the editor's UI manager if it exists.
      
      	* app/actions/gradient-editor-actions.c
      	* app/actions/gradient-editor-commands.[ch]: added zoom actions
      	and callback and call gimp_gradient_editor_zoom(). Fixed
      	gradient_editor_actions_update() to actually set all items'
      	sensitivity (it was possible to modify read-only gradients and
      	even to crash GIMP).
      
      	* app/actions/palette-editor-actions.c
      	* app/actions/palette-editor-commands.[ch]: changed "new" and
      	"zoom" actions to actually do their job instead of calling
      	gtk_button_clicked(editor->foo_button).
      714771d4
    • Francisco Javier F. Serrador's avatar
      Updated Spanish translation. · e64a292d
      Francisco Javier F. Serrador authored
      2004-10-24  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>
      
      	* es.po: Updated Spanish translation.
      e64a292d
    • Michael Natterer's avatar
      added app/actions/colormap-editor-commands.c and · d9f681b4
      Michael Natterer authored
      2004-10-24  Michael Natterer  <mitch@gimp.org>
      
      	* POTFILES.in: added app/actions/colormap-editor-commands.c
      	and app/actions/palette-editor-commands.c
      d9f681b4
    • Michael Natterer's avatar
      removed the "Edit Color" dialog callbacks and use · 8afbb733
      Michael Natterer authored
      2004-10-24  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcolormapeditor.c: removed the "Edit Color"
      	dialog callbacks and use gimp_editor_add_action_button() for
      	the edit button. Removed button sensitivity logic. Hide the
      	color dialog when the image's mode changes.
      
      	* app/actions/colormap-editor-actions.c: added missing tooltip
      	for the edit action.
      
      	* app/actions/colormap-editor-commands.c: implement the dialog
      	here.
      8afbb733
    • David Odin's avatar
      only return early if there's nothing to desaturate. · bcfbc61e
      David Odin authored
      * app/core/gimpdrawable-desaturate.c: only return early if there's nothing
        to desaturate.
      bcfbc61e