Commit Graph

10054 Commits

Author SHA1 Message Date
Sven Neumann 4c695c22bb some minor code cleanup.
2003-10-17  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c: some minor code cleanup.

	* libgimpcolor/gimpcolorspace.c: removed trailing whitespace.
2003-10-16 22:03:20 +00:00
Sven Neumann 2d1bb81d13 libgimpcolor/libgimpcolor-sections.txt updated.
2003-10-16  Sven Neumann  <sven@gimp.org>

	* libgimpcolor/libgimpcolor-sections.txt
	* libgimpcolor/tmpl/gimpcolorspace.sgml: updated.
2003-10-16 21:30:51 +00:00
Dave Neary e53325b500 Corrected mistake - two definitions of gimp_hsl_value (both static). I
2003-10-16  Dave Neary  <bolsh@gimp.org>

        * libgimpcolor/gimpcolorspace.c: Corrected mistake - two
        definitions of gimp_hsl_value (both static). I changed the
        latter to gimp_hsl_value_int.
2003-10-16 20:32:48 +00:00
Dave Neary fb471dabe0 app/base/color-balance.c app/base/hue-saturation.c
2003-10-16  Dave Neary  <bolsh@gimp.org>

        * app/base/color-balance.c
        * app/base/hue-saturation.c
        * app/composite/gimp-composite-generic.c
        * app/paint-funcs/paint-funcs-generic.h
        * app/tools/gimphuesaturationtool.c
        * libgimpcolor/gimpcolorspace.[ch]: Changed all occurrences of
        gimp_rgb_to_hls_int and gimp_hls_to_rgb_int to
        gimp_rgb_to_hsl_int and gimp_hsl_to_rgb_int respectively. This
        closes bug #124661.
2003-10-16 19:17:08 +00:00
Sven Neumann 264f5b0acf actually commit the change 2003-10-16 16:58:57 +00:00
Sven Neumann ab3abfff4e added gimp_any_to_utf8.
2003-10-16  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimpbase.def: added gimp_any_to_utf8.

	* app/gui/info-window.c
	* app/widgets/gimpcolorframe.c: use "n/a" instead of "N/A".
2003-10-16 16:55:16 +00:00
Michael Natterer 02c570c2c9 fixed my last ChangeLog entry. 2003-10-16 14:33:02 +00:00
Sven Neumann 2215341d98 check the return value of XpmReadFileToXpmImage(). Fixes bug #124766.
2003-10-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/xpm.c (load_image): check the return value of
	XpmReadFileToXpmImage(). Fixes bug #124766.
2003-10-16 13:14:57 +00:00
Sven Neumann 6f1589005a replaced lots of old school constants with their new names.
2003-10-16  Sven Neumann  <sven@gimp.org>

	* plug/ins/script-fu/scripts/*.scm: replaced lots of old school
	constants with their new names.
2003-10-16 12:47:33 +00:00
Michael Natterer e18793056f new function which takes any string and returns UTF-8 (it returns
2003-10-16  Michael Natterer  <mitch@gimp.org>

	* libgimpbase/gimputils.[ch]: new function which takes any string
	and returns UTF-8 (it returns "(invalid UTF-8 string)" if all
	conversion attempts fail).

	* app/core/gimpbrush.c
	* app/core/gimpgradient.c
	* app/core/gimppalette.c
	* app/core/gimppattern.c
	* app/xcf/xcf-read.c: use it. Fixes bug #79897.
2003-10-16 12:24:58 +00:00
Michael Natterer 5dc57411a9 added "realize" and "size_allocate" callbacks and cleaned up calling of
2003-10-16  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppaletteeditor.c: added "realize" and
	"size_allocate" callbacks and cleaned up calling of
	palette_editor_redraw(). Fixes bug #110356 without a complete
	re-write.

	Added GimpDockedInterface::set_aux_info() and get_aux_info()
	implementations and rememeber the zoom_factor in sessionrc (mainly
	for testing yesterday's fix for interface upchaining).
2003-10-16 09:44:11 +00:00
Sven Neumann d872565a6d increased default undo-size to 4 MB.
2003-10-16  Sven Neumann  <sven@gimp.org>

	* app/config/gimpcoreconfig.c: increased default undo-size to 4 MB.

	* app/config/gimprc-blurbs.h (UNDO_SIZE_BLURB): attempt to improve
	the description of the undo-size setting.

	* app/gui/image-menu.c (image_menu_entries): changed the default
	shortcut for Redo from the unergonmic Shift-Ctrl-Z to Ctrl-Y.
2003-10-16 00:08:05 +00:00
Michael Natterer a351c16b1e changed labels of the "Tool Toggle" toggles to document that guides can't
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpmoveoptions.c (gimp_move_options_gui): changed
	labels of the "Tool Toggle" toggles to document that guides can't
	be moved in "Move Current Layer or Path" mode. Fixes bug #124693.
2003-10-15 20:49:15 +00:00
Michael Natterer a01d7afe07 s/gimp-grid.c/gimpgrid.c/. Fixes bug #124709.
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: s/gimp-grid.c/gimpgrid.c/. Fixes bug #124709.
2003-10-15 20:18:10 +00:00
Michael Natterer ba4844ec9b hide the "Tab Style" submenu when there is no tab visible (when there is
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* app/gui/dialogs-menu.c (dialogs_menu_update): hide the
	"Tab Style" submenu when there is no tab visible (when there is
	only one page in the notebook). Fixes bug #124697.
2003-10-15 20:11:13 +00:00
Michael Natterer b09cadf033 app/widgets/gimpdocked.c (gimp_docked_iface_base_init) they are base_init,
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdocked.c (gimp_docked_iface_base_init)
	* app/config/gimpconfig.c (gimp_config_iface_base_init): they are
	base_init, not just init functions. Changed implementations to not
	overwrite the parent class' vtable entries with the default
	implementations. Fixes derived interface methods and brings
	back all dockable menus.
2003-10-15 20:05:23 +00:00
Michael Natterer f80e52fbf0 eek. should actually commit what i claimed below...
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* app/gui/info-window.c: eek. should actually commit what i
	claimed below...
2003-10-15 17:59:40 +00:00
Sven Neumann 77e69b7b91 fixed comment.
2003-10-15  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-utils.c (gimp_config_sync): fixed comment.
2003-10-15 17:54:42 +00:00
Marco Ciampa 3ad58e9de4 Updated italian translation. 2003-10-15 17:11:45 +00:00
Sven Neumann bfc4ac1148 sync from the given template to the dialog template, not the other way
2003-10-15  Sven Neumann  <sven@gimp.org>

	* app/gui/file-new-dialog.c (file_new_dialog_set): sync from the
	given template to the dialog template, not the other way around.

	* app/widgets/gimptemplateeditor.c (gimp_template_editor_constructor):
	shouldn't have to call the notify callback from here.
2003-10-15 17:10:22 +00:00
Michael Natterer 3c14d9db81 app/app.types app/app-docs.sgml added GimpColorFrame stuff, updates.
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* app/app.types
	* app/app-docs.sgml
	* app/app-sections.txt: added GimpColorFrame stuff, updates.
2003-10-15 16:15:57 +00:00
Michael Natterer 3dd12b44a8 made the "GimpRGB *color" param const.
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolorframe.[ch] (gimp_color_frame_set_color):
	made the "GimpRGB *color" param const.

	Added API docs for all public functions.
2003-10-15 16:15:19 +00:00
Michael Natterer 8f48a8a2c3 app/app-docs.sgml added GimpColorFrame stuff, updates.
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt: added GimpColorFrame stuff, updates.
2003-10-15 15:35:03 +00:00
Sven Neumann 1e0816fa93 minor cleanup.
2003-10-15  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-utils.c (gimp_config_diff_internal): minor
	cleanup.

	* app/core/gimptemplate.[ch]: added a comment property.

	* app/config/gimpcoreconfig.[ch]
	* app/config/gimprc-blurbs.h: removed "default_comment" property
	and set the default comment on the default image template.

	* app/widgets/gimptemplateeditor.c: added a comment editor widget.

	* app/core/gimp.c
	* app/gui/file-new-dialog.c
	* app/gui/preferences-dialog.c
	* app/pdb/gimprc_cmds.c
	* tools/pdbgen/pdb/gimprc.pdb: changed accordingly.

	* libgimpwidgets/gimpmemsizeentry.c (gimp_memsize_entry_init):
	increased spacing between the spinbutton and the menu.
2003-10-15 15:30:11 +00:00
Michael Natterer e78c87b228 new enum GimpColorFrameMode.
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* app/widgets/widgets-enums.[ch]: new enum GimpColorFrameMode.

	* app/widgets/Makefile.am
	* app/widgets/gimpcolorframe.[ch]: new widget GimpColorFrame which
	shows a picked color in an optionmenu-selectable color space.
	Helps getting rid in InfoDialog.

	* app/gui/info-window.c: use it for the "extended" page. Cleaned
	up that page a lot so it can be made dockable in the next step.

	* app/tools/gimpcolorpickertool.[ch]: use it here too. Don't use
	InfoDialog any more (and do not depend on gui/ any more).
2003-10-15 15:16:50 +00:00
Michael Natterer 762b709a5e create tab widgets without border for both the tools and templates views.
2003-10-15  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerview.c
	(gimp_container_view_get_preview): create tab widgets without
	border for both the tools and templates views.

	* app/widgets/gimpviewablebutton.c: removed trailing whitespace.
2003-10-15 15:10:20 +00:00
Jakub Steiner 4bae069c26 eek 2003-10-15 14:33:16 +00:00
Jakub Steiner d47a8fa1a7 nothing fancy doable here
2003-10-15  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/preferences/default-grid.png: nothing fancy doable
  here
2003-10-15 14:31:32 +00:00
Jakub Steiner b55d8e67ec got fooled by brix' changelog entry 2003-10-15 14:30:52 +00:00
Jakub Steiner a20f08bab4 nothing fancy doable here
2003-10-15  Jakub Steiner <jimmac@ximian.com>

* themes/Default/images/default-grid.png: nothing fancy doable
  here
2003-10-15 14:29:30 +00:00
Sven Neumann d86e56e4d7 added new function gimp_size_entry_get_help_widget() to make it possible
2003-10-15  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpsizeentry.[ch]: added new function
	gimp_size_entry_get_help_widget() to make it possible to set
	tooltips on a GimpSizeEntry.
2003-10-15 11:57:36 +00:00
Sven Neumann 2806c6b2d5 added new function gimp_size_entry_get_help_widget() to make it possible
2003-10-15  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpsizeentry.[ch]: added new function
	gimp_size_entry_get_help_widget() to make it possible to set
	tooltips on a GimpSizeEntry.

	* app/widgets/gimppropwidgets.c (gimp_prop_size_entry_new)
	(gimp_prop_coordinates_connect): set tooltips from property blurbs.

	* app/core/gimpgrid.c
	* app/core/gimptemplate.c
	* app/gui/preferences-dialog.c: minor string changes.
2003-10-15 11:04:31 +00:00
Sven Neumann 981e947e64 added a hbox to align the landscape/portrait buttons so they don't move
2003-10-15  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptemplateeditor.c: added a hbox to align the
	landscape/portrait buttons so they don't move with the label below.
2003-10-15 01:06:30 +00:00
Sven Neumann 16417771ba mark string as translatable (bug #124600).
2003-10-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/Lighting/lighting_ui.c: mark string as translatable
	(bug #124600).
2003-10-15 00:43:51 +00:00
Sven Neumann db705daae0 added app/core/gimpgrid.c.
2003-10-15  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added app/core/gimpgrid.c.
2003-10-14 23:46:08 +00:00
Sven Neumann 76db85da52 some fine-tuning.
2003-10-15  Sven Neumann  <sven@gimp.org>

	* app/gui/preferences-dialog.c: some fine-tuning.
2003-10-14 23:41:58 +00:00
Sven Neumann cff08b64ae app/config/gimpconfig-utils.c (gimp_config_diff) (gimp_config_sync)
2003-10-15  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-utils.c (gimp_config_diff) (gimp_config_sync)
	* app/config/gimpconfig.c (gimp_config_iface_equal): compare and sync
	aggregate objects recursively.

	* app/core/gimptemplate.c (gimp_template_finalize): don't leak the
	filename.

	* app/display/gimpdisplayshell-title.c
	* app/config/gimpconfig-dump.c: added %L format identifier for
	verbose layer count. Renamed former %L to %n (layer name).

	* app/config/gimpdisplayconfig.c: changed default image title and
	image status format strings.

	* app/gui/dialogs-constructors.c: added a blurb for Templates
	dockables.

	* app/display/gimpdisplayshell.h: fixed typo.
2003-10-14 23:00:16 +00:00
Dave Neary 4cfb8d3dcd Some more gtkdocs.
2003-10-14  Dave Neary  <bolsh@gimp.org>

        * libgimpcolor/gimpcolorspace.c: Some more gtkdocs.
2003-10-14 21:54:42 +00:00
Sven Neumann 0eb7e92a15 don't use gtk-doc style comments here.
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/composite/gimp-composite.h: don't use gtk-doc style comments
	here.
2003-10-14 17:34:05 +00:00
Sven Neumann bf2abc080c app/app-docs.sgml updated.
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt: updated.
2003-10-14 17:28:53 +00:00
Michael Natterer 9782629f02 fixed warning (missing GIMP_TEMPLATE() cast).
2003-10-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimptemplateeditor.c (gimp_template_editor_new):
	fixed warning (missing GIMP_TEMPLATE() cast).
2003-10-14 17:05:26 +00:00
Sven Neumann 7759f7ea1a added blurbs for most properties.
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimptemplate.c (gimp_template_class_init): added blurbs
	for most properties.

	* app/config/gimprc-blurbs.h: removed an unused blurb.
2003-10-14 17:02:11 +00:00
Sven Neumann 459bebba07 made "perfect-mouse" the default and changed defaults for image title and
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/config/gimpdisplayconfig.c: made "perfect-mouse" the default
	and changed defaults for image title and image statusbar.
2003-10-14 16:47:43 +00:00
Michael Natterer e8508ded68 add the new context to gimp->context_list in gimp_context_constructor(),
2003-10-14  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpcontext.c: add the new context to gimp->context_list
	in gimp_context_constructor(), not in set_property(). Cleanup.

	* app/tools/gimptextoptions.c: added finalizer so we don't leak
	the options' GtkTextBuffer and GimpText objects. Cleanup.
2003-10-14 16:40:02 +00:00
Sven Neumann d9e5024a5c set the initial stock icon on the viewable-button.
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptemplateeditor.c (gimp_template_editor_new):
	set the initial stock icon on the viewable-button.
2003-10-14 16:29:33 +00:00
Helvetix Victorinox 487324b39a app/composite/gimp-composite-generic.c Tweaked a few more documentation
* app/composite/gimp-composite-generic.c
* app/composite/gimp-composite.c:
  Tweaked a few more documentation comments.
2003-10-14 16:00:19 +00:00
Sven Neumann 3ac7d14d19 app/core/gimpimage-grid.c app/core/gimpimage.[ch] removed the
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-grid.c
	* app/core/gimpimage.[ch]
	* app/gui/grid-dialog.c: removed the "grid_changed" signal from
	GimpImage.

	* app/display/gimpdisplayshell-handlers.c: connect to
	notifications from the image grid instead.
2003-10-14 15:37:21 +00:00
Sven Neumann 737da42437 removed gimp_config_copy_properties() and added the more intelligent
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/config/gimpconfig-utils.[ch]: removed
	gimp_config_copy_properties() and added the more intelligent
	gimp_config_sync() instead.

	* app/config/Makefile.am
	* app/config/config-types.h
	* app/config/gimpcoreconfig.[ch]
	* app/config/gimprc-blurbs.h: replaced default image properties
	with a single GimpTemplate object property. Changed the
	set_property function to not replace aggregate objects but call
	gimp_config_sync() instead.

	* app/tools/gimptextoptions.c (gimp_text_options_set_property):
	same change here.

	* app/config/gimpconfig.[ch]: changed return value of
	gimp_config_duplicate() to gpointer to avoid some casts that only
	made the code harder to read.

	* app/widgets/gimptemplateeditor.[ch]: don't keep an internal copy
	here but edit the GimpTemplate passed when the editor was
	constructed.

	* app/gui/preferences-dialog.c: use a GimpTemplateEditor to allow
	editing of the default image paramaters.

	* app/config/gimprc.c
	* app/core/core-types.h
	* app/core/gimp.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-grid.c
	* app/core/gimpimage-new.c
	* app/core/gimpimage-undo-push.c
	* app/core/gimpimage.c
	* app/core/gimptemplate.[ch]
	* app/gui/file-new-dialog.c
	* app/gui/grid-dialog.c
	* app/gui/info-window.c
	* app/gui/resize-dialog.c
	* app/gui/templates-commands.[ch]
	* app/gui/tool-options-commands.c
	* app/text/gimptextlayer.c
	* app/text/gimptextlayer.c
	* app/tools/gimptexttool.c
	* app/widgets/gimptemplateview.c
	* app/xcf/xcf-load.c: changed accordingly.
2003-10-14 15:20:59 +00:00
Sven Neumann f0e8517eb5 removed "grid_changed" signal. The user of GimpGridEditor can connect to
2003-10-14  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpgrideditor.[ch]: removed "grid_changed" signal.
	The user of GimpGridEditor can connect to notifications of the
	grid that is being edited. There is no need for a proxy signal.

	* app/core/gimpimage-grid.c (gimp_image_set_grid): don't exchange
	the image's grid object, it is part of the image. Copy all grid
	properties instead.

	* app/core/gimpimage-undo-push.c
	* app/gui/grid-dialog.c: changed accordingly.
2003-10-14 12:23:23 +00:00
Simon Budig 93f2394f49 Fixed a few incarnations of drc's name in the Changelog
2003-10-14  Simon Budig  <simon@gimp.org>

	Fixed a few incarnations of drc's name in the Changelog
2003-10-14 12:18:26 +00:00