1. 28 Jul, 2004 1 commit
    • Michael Natterer's avatar
      libgimp/gimpbrushselect.c libgimp/gimpfontselect.c · 80a40f0b
      Michael Natterer authored
      2004-07-28  Michael Natterer  <mitch@gimp.org>
      
      	* libgimp/gimpbrushselect.c
      	* libgimp/gimpfontselect.c
      	* libgimp/gimpgradientselect.c
      	* libgimp/gimppalettemenu.c
      	* libgimp/gimppaletteselect.c
      	* libgimp/gimppatternselect.c (gimp_*_select_destroy): don't
      	leak the selected object's name and its data (brush mask etc).
      
      	* libgimp/gimpfontmenu.c: moved the icon to the left side of the
      	button.
      
      	* libgimp/gimppalettemenu.c: ditto. Added "Since: GIMP 2.2" to
      	API docs.
      80a40f0b
  2. 27 Jul, 2004 17 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
    • Sven Neumann's avatar
      show extensions in the filters menu. · a1ac37ed
      Sven Neumann authored
      2004-07-27  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/gimpfiledialog.c (gimp_file_dialog_add_filters):
      	show extensions in the filters menu.
      a1ac37ed
  3. 26 Jul, 2004 22 commits
    • Sven Neumann's avatar
      libgimp/gimpbrushmenu.c attempt to make the brush and pattern selectors · ca1d3bc2
      Sven Neumann authored
      2004-07-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimp/gimpbrushmenu.c
      	* libgimp/gimppatternmenu.c: attempt to make the brush and pattern
      	selectors look less like buttons (supposed to fix bug #147777).
      ca1d3bc2
    • Sven Neumann's avatar
      updated NEWS · b7120104
      Sven Neumann authored
      b7120104
    • Sven Neumann's avatar
      also accept the short hexadecimal notation (3 hex digits). · 095a0d0e
      Sven Neumann authored
      2004-07-27  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpcolorhexentry.c (gimp_color_hex_entry_events):
      	also accept the short hexadecimal notation (3 hex digits).
      095a0d0e
    • Sven Neumann's avatar
      added app/actions/plug-in-commands.c. · 2fbf203a
      Sven Neumann authored
      2004-07-26  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: added app/actions/plug-in-commands.c.
      2fbf203a
    • Sven Neumann's avatar
      added new files. · e33a7697
      Sven Neumann authored
      2004-07-26  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/Makefile.am (libgimpwidgetsinclude_HEADERS):
      	added new files.
      e33a7697
    • Sven Neumann's avatar
      added gimpcellrenderertoggle.xml · 2a34330b
      Sven Neumann authored
      2a34330b
    • Sven Neumann's avatar
      app/widgets/Makefile.am moved to libgimpwidgets. · 744bebc8
      Sven Neumann authored
      2004-07-26  Sven Neumann  <sven@gimp.org>
      
      	* app/widgets/Makefile.am
      	* app/widgets/gimpcellrenderertoggle.[ch]: moved to libgimpwidgets.
      
      	* app/widgets/gimpcomponenteditor.c
      	* app/widgets/gimpcontainertreeview.c
      	* app/widgets/gimpitemtreeview.c
      	* app/widgets/gimplayertreeview.c
      	* app/widgets/gimptoolview.c
      	* app/widgets/widgets-types.h
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetsmarshal.list
      	* libgimpwidgets/gimpwidgetstypes.h
      	* libgimpwidgets/gimpcellrenderertoggle.[ch]: custom toggle cell
      	renderer moved here from app/widgets.
      
      	* libgimpwidgets/gimpcellrenderercolor.[ch]: unified code with the
      	new toggle cell renderer.
      744bebc8
    • Michael Natterer's avatar
      new function which clears the whole list of data set by plug-ins. · a2b85a62
      Michael Natterer authored
      2004-07-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/pdb/procedural_db.[ch] (procedural_db_free_data): new
      	function which clears the whole list of data set by plug-ins.
      
      	(procedural_db_free): use it.
      
      	* app/actions/plug-in-actions.c
      	* app/actions/plug-in-commands.[ch]: added action, callback and
      	confirmation dialog for "Reset all filters to default values".
      	Somehow addresses bug #81015.
      
      	* app/widgets/gimphelp-ids.h: added a help ID for the new action.
      
      	* menus/image-menu.xml.in: added it to the "Filters" submenu.
      a2b85a62
    • Sven Neumann's avatar
      fine-tuning. · 408634a1
      Sven Neumann authored
      2004-07-26  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/gimpcellrenderercolor.c
      	(gimp_cell_renderer_color_get_size): fine-tuning.
      408634a1
    • Michael Natterer's avatar
      removed GIMP_TYPE_COLOR. · caabe7f3
      Michael Natterer authored
      2004-07-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/config/gimpconfig-types.h: removed GIMP_TYPE_COLOR.
      
      	* app/config/gimpconfig-params.[ch]: renamed GimpParamSpecColor
      	to GimpParamSpecRGB.
      
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-dump.c
      	* app/config/gimpconfig-serialize.c
      	* app/config/gimpscanner.c
      	* app/core/gimp-utils.c
      	* app/core/gimpcontext.c
      	* app/core/gimpgrid.c
      	* app/display/gimpdisplayoptions.c
      	* app/text/gimptext.c
      	* app/tools/gimpcolortool.c
      	* app/widgets/gimpaction.c
      	* app/widgets/gimpcolorbar.c
      	* app/widgets/gimppropwidgets.c: changed accordingly.
      caabe7f3
    • Shlomi Fish's avatar
      added a de-allocation to the PPM's allocated by the size map dialog. · bfa52ab7
      Shlomi Fish authored
      * plug-ins/gimpressionist/: added a de-allocation to the PPM's
      allocated by the size map dialog.
      bfa52ab7
    • Sven Neumann's avatar
      load all linear gradients from an SVG file, not only the first one. · 8eec57e3
      Sven Neumann authored
      2004-07-26  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpgradient-load.c: load all linear gradients from an
      	SVG file, not only the first one.
      8eec57e3
    • Michael Natterer's avatar
      added "gboolean writable" to the GimpDataFactoryLoaderEntry struct. Return · 638f2b3a
      Michael Natterer authored
      2004-07-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdatafactory.h: added "gboolean writable" to the
      	GimpDataFactoryLoaderEntry struct. Return a GList* instead of
      	GimpData* from GimpDataLoadFunc so it's possible to load more than
      	one data object from one file.
      
      	* app/core/gimpdatafactory.c (gimp_data_factory_load_data):
      	changed accordingly: add all items of the returned lists to the
      	data factory. Make the data object writable only if it's in the
      	writable path *and* its loader entry says it's a writable format
      	*and* the returned list contains exactly one element.
      
      	* app/core/gimp.c (gimp_real_initialize): declare all loader
      	entries as writable where we have code to read and write exactly
      	one object per file; all others are not writable.
      
      	* app/core/gimpbrush.[ch]
      	* app/core/gimpbrushgenerated.[ch]
      	* app/core/gimpbrushpipe.[ch]
      	* app/core/gimpgradient-load.[ch]
      	* app/core/gimppalette.[ch]
      	* app/core/gimppattern.[ch] (all load functions): return a list
      	containing the loaded object instead of the object itself.
      638f2b3a
    • Sven Neumann's avatar
      documentation · 74a98a66
      Sven Neumann authored
      74a98a66
    • Sven Neumann's avatar
      libgimpwidgets/Makefile.am libgimpwidgets/gimpwidgets.def · 763bbcd4
      Sven Neumann authored
      2004-07-26  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.def
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetstypes.h
      	* libgimpwidgets/gimpcellrenderercolor.[ch]: added a GimpRGB cell
      	renderer.
      
      	* libgimpwidgets/gimpcolorarea.[ch]: exported the function that
      	renders the color to a buffer for internal use in libgimpwidgets.
      
      	* libgimpwidgets/gimpcolorhexentry.c: use the new cell renderer
      	for the completion popup.
      763bbcd4
    • Sven Neumann's avatar
      libgimpcolor/gimpcolor.def added new symbols. · 89995843
      Sven Neumann authored
      2004-07-26  Sven Neumann  <sven@gimp.org>
      
      	* libgimpcolor/gimpcolor.def
      	* libgimpwidgets/gimpwidgets.def: added new symbols.
      89995843
    • Sven Neumann's avatar
      register GimpRGB as a boxed type. · c03a5b83
      Sven Neumann authored
      2004-07-26  Sven Neumann  <sven@gimp.org>
      
      	* libgimpcolor/gimprgb.[ch]: register GimpRGB as a boxed type.
      
      	* libgimpcolor/gimpadaptivesupersample.c
      	* libgimpcolor/gimpcolorspace.c
      	* libgimpcolor/gimprgb-parse.c
      	* libgimp/gimp.h: include <glib-object.h> instead of <glib.h>.
      c03a5b83
    • Shlomi Fish's avatar
      9774728d
    • Shlomi Fish's avatar
      placed all the orientation map-related public functions in orientmap.h. · 482d4034
      Shlomi Fish authored
      * plug-ins/gimpressionist/: placed all the orientation map-related
      public functions in orientmap.h. Now we're freeing the PPM's that it
      is allocating by a call to orientation_map_free_resources().
      482d4034
    • Michael Natterer's avatar
      removed unused typedef GimpDataObjectLoaderFunc. · 3632f62b
      Michael Natterer authored
      2004-07-26  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-types.h: removed unused typedef
      	GimpDataObjectLoaderFunc.
      3632f62b
    • Sven Neumann's avatar
      libgimpcolor/gimprgb-parse.c added new function gimp_rgb_list_names() that · e0b48991
      Sven Neumann authored
      2004-07-26  Sven Neumann  <sven@gimp.org>
      
      	* libgimpcolor/gimprgb-parse.c
      	* libgimpcolor/gimprgb.h: added new function gimp_rgb_list_names()
      	that gives access to the list of SVG color keywords.
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/gimpwidgets.h
      	* libgimpwidgets/gimpwidgetstypes.h
      	* libgimpwidgets/gimpcolorhexentry.[ch]: added new widget that
      	allows to enter colors in hex notation or by using color names.
      
      	* libgimpwidgets/gimpcolorscales.c: use a GimpColorHexEntry.
      e0b48991
    • Shlomi Fish's avatar
      placed all the orientation map-related public functions in orientmap.h. · 7e4db68e
      Shlomi Fish authored
      * plug-ins/gimpressionist/: placed all the orientation map-related
      public functions in orientmap.h. Now we're freeing the PPM's that it
      is allocating by a call to orientation_map_free_resources().
      7e4db68e