1. 11 Mar, 2003 7 commits
    • Michael Natterer's avatar
      app/display/Makefile.am new files implementing canvas padding, fullscreen · b36590e6
      Michael Natterer authored
      2003-03-11  Michael Natterer  <mitch@gimp.org>
      
      	* app/display/Makefile.am
      	* app/display/gimpdisplayshell-appearance.[ch]: new files
      	implementing canvas padding, fullscreen toggling and utility
      	functions to show/hide GimpDisplayShell components (menubar,
      	statusbar, ...) Added the possibility to show/hide the scrollbars.
      
      	* app/display/gimpdisplayshell.[ch]: added struct
      	GimpDisplayShellVisibility which stores the GUI components'
      	visibility. Added two such structs to the GimpDisplayShell struct:
      	one for normal mode and one for fullscreen mode. Default to
      	"everything invisible" for fullscreen.  Fixes bug #74383.
      
      	* app/display/gimpdisplayshell-callbacks.c: fiddle with the
      	two visibility structs when toggling fullscreen.
      
      	* app/display/gimpdisplayshell-handlers.c: #include
      	"gimpdisplayshell-appearance.h"
      
      	* app/gui/image-menu.c
      	* app/gui/view-commands.[ch]: added a "Show Scrollbars" menu entry,
      	use the new widget show/hide utility functions.
      b36590e6
    • Sven Neumann's avatar
      367e0646
    • Sven Neumann's avatar
      set the default dither algorithm as a fallback in case no algorithm · 010551c0
      Sven Neumann authored
      2003-03-11  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/print/gimp_color_window.c (gimp_dither_algo_callback):
      	set the default dither algorithm as a fallback in case no
      	algorithm matched. Seems to fix bug #102457.
      
      	* plug-ins/print/gimp_main_window.c: fixed wrong display of paper
      	border that was introduced by my latest changes to the preview code.
      010551c0
    • Sven Neumann's avatar
      made gimp_image_get_active_components() a static function and changed its · c65a2dd1
      Sven Neumann authored
      2003-03-11  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpimage.[ch]: made gimp_image_get_active_components()
      	a static function and changed its behaviour so that the image's
      	active components are only used for layers, not for channels.
      	Fixes bug #108083.
      c65a2dd1
    • Sven Neumann's avatar
      improved error handling. · a87da0ea
      Sven Neumann authored
      2003-03-11  Sven Neumann  <sven@gimp.org>
      
      	* app/gui/session.c (session_info_deserialize): improved error
      	handling.
      a87da0ea
    • Sven Neumann's avatar
      app/display/gimpdisplayshell-callbacks.c app/display/gimpdisplayshell.[ch] · 2553b3ca
      Sven Neumann authored
      2003-03-11  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/gui/image-menu.c
      	* app/gui/view-commands.c: rewrote the fullscreen mode
      	implementation so that it doesn't loop infinitely.
      2553b3ca
    • Sven Neumann's avatar
      app/display/gimpdisplayshell-callbacks.c app/display/gimpdisplayshell.[ch] · 632b7f8a
      Sven Neumann authored
      2003-03-11  Sven Neumann  <sven@gimp.org>
      
      	* app/display/gimpdisplayshell-callbacks.c
      	* app/display/gimpdisplayshell.[ch]
      	* app/gui/image-menu.c
      	* app/gui/view-commands.[ch]: added a fullscreen mode for the
      	image display by means of gtk_window_fullscreen/unfullscreen.
      	Depends on the window manager implementing _NET_WM_STATE_FULLSCREEN.
      
      	* app/tools/gimpcroptool.c: made gimp_crop_tool_draw() static.
      
      	* app/tools/gimptexttool.[ch]: derive from GimpDrawTool, no real
      	changes yet.
      632b7f8a
  2. 10 Mar, 2003 8 commits
    • Sven Neumann's avatar
      don't add a transparent color entry for images that don't have an alpha · c21f8924
      Sven Neumann authored
      2003-03-10  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/xpm.c: don't add a transparent color entry for
      	images that don't have an alpha channel (fixes bug #108034).
      c21f8924
    • Ole Laursen's avatar
      Updated Danish translation. · 6df51ccc
      Ole Laursen authored
      2003-03-10  Ole Laursen  <olau@hardworking.dk>
      
      	* da.po: Updated Danish translation.
      6df51ccc
    • Sven Neumann's avatar
      removed gimp_scanner_parse_string_list() since the format it read wasn't · 3ab2e648
      Sven Neumann authored
      2003-03-10  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpscanner.[ch]: removed gimp_scanner_parse_string_list()
      	since the format it read wasn't proper s-expressions syntax.
      
      	* app/config/gimpconfigwriter.c: a couple of minor cleanups.
      
      	* app/gui/color-history.[ch]
      	* app/gui/session.c
      	* app/widgets/gimpdialogfactory.[ch]: use GimpConfigWriter to
      	write the sessionrc. Had to do some minor changes to the file
      	format.
      3ab2e648
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation by Francisco Vila <fravd@wanadoo.es> · a85179e7
      Pablo Gonzalo del Campo authored
      2003-03-10  Pablo Gonzalo del Campo <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation by
                       Francisco Vila <fravd@wanadoo.es>
      a85179e7
    • Michael Natterer's avatar
      added GimpData::duplicate() implementation so read-only palettes can be · a00a565c
      Michael Natterer authored
      2003-03-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimppalette.[ch]: added GimpData::duplicate()
      	implementation so read-only palettes can be edited again by
      	duplicating them first.
      
      	* app/gui/dialogs-constructors.c: pass the <Palettes>, not the
      	<Gradients> menu identifier to the palette grid and tree view
      	constructors (spotted by Tigert).
      a00a565c
    • Sven Neumann's avatar
      fixed creation of config file, added new function · 6f3f9556
      Sven Neumann authored
      2003-03-10  Sven Neumann  <sven@gimp.org>
      
      	* app/config/gimpconfigwriter.[ch]: fixed creation of config file,
      	added new function gimp_config_writer_string() and improved
      	gimp_config_writer_linefeed().
      
      	* app/config/gimpconfig-serialize.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdocumentlist.c: use gimp_config_writer_string()
      	instead of escaping the string manually.
      
      	* app/core/gimpunits.c (gimp_unitrc_save): use a GimpConfigWriter.
      
      	* app/plug-in/plug-in-rc.[ch] (plug_in_rc_write)
      	* app/plug-in/plug-ins.c: use a GimpConfigWriter.
      6f3f9556
    • Michael Natterer's avatar
      added "gboolean data_editable" which gets set in · 1522b841
      Michael Natterer authored
      2003-03-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdataeditor.[ch]: added "gboolean data_editable"
      	which gets set in gimp_data_editor_real_set_data(). Set the name
      	entry insensitive if the data is not editable.
      
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimppaletteeditor.c
      	* app/widgets/gimpgradienteditor.c: look at editor->data_editable
      	instead of duplicating the logic in all subclasses.
      
      	* app/widgets/gimppreview.[ch]: added "gboolean expand" and
      	gimp_preview_set_expand() like in GtkPreview bacause smooth auto
      	resizing can only be done by the widget itself, not via external
      	callbacks.
      
      	* app/display/gimpnavigationview.c
      	* app/widgets/gimpbrusheditor.c
      	* app/widgets/gimpgradienteditor.c
      	* app/widgets/gimpselectioneditor.c: set expand == TRUE. Removed
      	"size_allocate" callbacks. They resize *much* smoother now.
      	Various cleanups.
      
      	* app/widgets/gimpnavigationpreview.c: recalculate the preview
      	coordinates when the size changes.
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimppreviewrenderer-utils.c
      	* app/widgets/gimppreviewrenderergradient.[ch]: new renderer which
      	is much faster because it projects the gradient without creating
      	intermediate buffers. Rendering can be restricted to an interval
      	from [left...right].
      
      	* app/widgets/gimpgradienteditor.[ch]: undeprecated by using
      	GimpPreview instead of GtkPreview. Cleanup.
      
      	* app/gui/gradient-editor-commands.c: changed accordingly.
      1522b841
    • Sven Neumann's avatar
      app/tools/gimpbycolorselecttool.c app/tools/gimpcolorpickertool.c resolved · 3f588521
      Sven Neumann authored
      2003-03-10  Sven Neumann  <sven@gimp.org>
      
      	* app/tools/gimpbycolorselecttool.c
      	* app/tools/gimpcolorpickertool.c
      	* app/tools/gimpconvolvetool.c: resolved conflicts in tool
      	keybindings (bug #107975).
      3f588521
  3. 09 Mar, 2003 1 commit
  4. 07 Mar, 2003 7 commits
  5. 06 Mar, 2003 9 commits
    • Sven Neumann's avatar
      more updates for more new stock icons · 06aeae86
      Sven Neumann authored
      06aeae86
    • Michael Natterer's avatar
      themes/Default/images/stock-delete-16.png · 3c33140f
      Michael Natterer authored
      2003-03-06  Michael Natterer  <mitch@gimp.org>
      
      	* themes/Default/images/stock-delete-16.png
      	* themes/Default/images/stock-lower-16.png
      	* themes/Default/images/stock-new-16.png
      	* themes/Default/images/stock-paste-16.png
      	* themes/Default/images/stock-raise-16.png
      	* themes/Default/images/stock-refresh-16.png: removed these files
      	since we use the icons provided by GTK+ now.
      
      	* themes/Default/gtkrc
      	* themes/Default/images/Makefile.am: removed them here hoo.
      
      	* libgimpwidgets/gimpstock.[ch]: reordered stuff to be consistent
      	in the header and the .c file. Added GIMP_STOCK_ERROR and
      	GIMP_STOCK_QUESTION which are available in all sizes (unlike
      	GTK_STOCK_DIALOG_ERROR and GTK_STOCK_DIALOG_QUESTION).
      
      	* app/core/gimpviewable.c
      	* app/display/gimpdisplayshell.c
      	* app/gui/file-commands.c
      	* app/gui/file-new-dialog.c
      	* app/gui/file-save-dialog.c
      	* app/widgets/gimpwidgets-utils.c
      	* app/widgets/gimpdatafactoryview.c: use the new stock IDs.
      
      	* app/config/gimpcoreconfig.[ch]: renamed "preview_size" to
      	"layer_preview_size" and added "gboolean layer_previews" which
      	switches layer previews on/off independent of their size.
      
      	* app/config/gimprc-blurbs.h: added/changed their blurbs.
      
      	* app/core/core-enums.[ch]: removed GIMP_PREVIEW_SIZE_NONE.
      
      	* app/core/gimpdrawable-preview.c
      	* app/core/gimpdrawable.c
      	* app/core/gimpimage.c: return NULL previews if
      	core_config->layer_previews is FALSE. Invalidate all layer/channel
      	previews whenever "layer_previews" changes.
      
      	* app/widgets/gimppreviewrendererdrawable.c
      	* app/widgets/gimppreviewrendererimage.c: render the stock_id
      	if the drawable/image returns a NULL preview. Fixes bug #107242.
      
      	* app/display/gimpdisplayshell-handlers.c: don't set the
      	sensitivity of the navigation button because it can no longer be
      	disabled.
      
      	* app/display/gimpdisplayshell-layer-select.c
      	* app/gui/dialogs-constructors.c
      	* app/gui/dialogs.c
      	* app/gui/paths-dialog.c: changed accordingly.
      
      	* app/gui/preferences-dialog.c: added a toggle button for the new
      	"layer_previews" boolean.
      
      	* app/widgets/gimpcontainergridview.c
      	* app/widgets/gimpcontainerlistview.c: chain up unconditionally
      	in GimpContainerView::clear_items().
      
      	* app/widgets/gimpcontainertreeview.c: ditto. Made the reorder()
      	implementation lengthy and eeky (but working) again... Stop signal
      	emission on double clicks so GtkTreeView doesn't re-select the
      	item we are about change.
      
      	* app/widgets/gimpcontainerview.c
      	(gimp_container_view_real_clear_items): need to use
      	g_hash_table_new_full() here too or everything will b0rk.
      
      	* app/widgets/gimppreviewrenderer.c
      	(gimp_preview_renderer_default_render_stock): use
      	gtk_widget_render_icon() instead of gtk_icon_set_render_icon().
      
      	* tools/pdbgen/enums.pl: this file wanted to be regenerated...
      3c33140f
    • Sven Neumann's avatar
      ChangeLog cosmetics. · 04770f68
      Sven Neumann authored
      04770f68
    • Sven Neumann's avatar
      POTFILES.in updated. · c104f85b
      Sven Neumann authored
      2003-03-06  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in
      	* de.po: updated.
      c104f85b
    • Sven Neumann's avatar
      fixed parasite serialization that I broke yesterday. · 5e11bae6
      Sven Neumann authored
      2003-03-06  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpparasitelist.c: fixed parasite serialization that
      	I broke yesterday.
      
      	* app/widgets/gimpenummenu.c: added support for mnemonics.
      
      	* app/core/core-enums.h: removed the inverted variants from the
      	GimpAddMaskType enum. Registered the enum with the type system.
      
      	* app/core/gimplayer.c: changed accordingly.
      
      	* app/gui/layers-commands.c (layers_add_mask_query): use an enum
      	frame and added a check button that allows to invert the inital
      	layer mask.
      
      	* tools/pdbgen/pdb/layer.pdb: updated documentation for the
      	gimp-layer-create-mask PDB function.
      
      	* plug-ins/script-fu/siod-wrapper.c: removed new enum values from
      	the compatibility defines.
      
      	* app/core/core-enums.c
      	* app/pdb/layer_cmds.c
      	* libgimp/gimpenums.h
      	* libgimp/gimplayer_pdb.c
      	* plug-ins/pygimp/gimpenums.py
      	* plug-ins/script-fu/script-fu-constants.c
      	* tools/pdbgen/enums.pl: regenerated.
      5e11bae6
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · 906c2fa5
      Pablo Gonzalo del Campo authored
      2003-03-06  Pablo Gonzalo del Campo  <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      906c2fa5
    • Pablo Gonzalo del Campo's avatar
      Updated Spanish translation. · bddce9a3
      Pablo Gonzalo del Campo authored
      2003-03-06  Pablo Gonzalo del Campo <pablodc@bigfoot.com>
      
      	* es.po: Updated Spanish translation.
      bddce9a3
    • Sven Neumann's avatar
      libgimpwidgets/Makefile.am libgimpwidgets/libgimpwidgets-sections.txt · 5d162ab6
      Sven Neumann authored
      2003-03-06  Sven Neumann  <sven@gimp.org>
      
      	* libgimpwidgets/Makefile.am
      	* libgimpwidgets/libgimpwidgets-sections.txt
      	* libgimpwidgets/tmpl/gimpstock.sgml: updated for new stock icons.
      5d162ab6
    • Sven Neumann's avatar
      HACKING updated for GTK+ 2.2. · 5bd481a6
      Sven Neumann authored
      2003-03-06  Sven Neumann  <sven@gimp.org>
      
      	* HACKING
      	* INSTALL: updated for GTK+ 2.2.
      5bd481a6
  6. 05 Mar, 2003 7 commits
    • Manish Singh's avatar
      require GTK+ 2.2. The 2.0.x series is no longer maintained, and there are · d395daa7
      Manish Singh authored
      2003-03-05  Manish Singh  <yosh@gimp.org>
      
              * configure.in: require GTK+ 2.2. The 2.0.x series is no longer
              maintained, and there are some very real bugs that won't go away.
      
              * app/gui/about-dialog.c
              * app/widgets/gimppreviewrenderer.c
              * app/widgets/gimptoolbox-color-area.c
              * plug-ins/common/uniteditor.c: remove special casing for GTK+ 2.0
              vs. 2.2
      
              * app/widgets/gtkwrapbox.[ch]
              * app/widgets/gtkhwrapbox.[ch]
              * app/widgets/gtkvwrapbox.[ch]: remove deprecated functions
      
              * app/gui/gui.c: free return value of gdk_get_display ()
      
              * app/widgets/gimpcontainertreeview.c: use gtk_list_store_move_before ()        for reordering.
      d395daa7
    • Sven Neumann's avatar
      app/config/Makefile.am new files featuring a simple config file writer. · d457b9eb
      Sven Neumann authored
      2003-03-05  Sven Neumann  <sven@gimp.org>
      
      	* app/config/Makefile.am
      	* app/config/gimpconfigwriter.[ch]: new files featuring a simple
      	config file writer.
      
      	* app/config/gimpconfig-serialize.[ch]
      	* app/config/gimpconfig.[ch]: changed the serialize routines to
      	use a GimpConfigWriter instead of passing around a file descriptor
      	and the indentation level.
      
      	* app/config/config-types.h
      	* app/config/gimpconfig-deserialize.c
      	* app/config/gimpconfig-dump.c
      	* app/config/gimpconfig-utils.c
      	* app/config/gimprc.c
      	* app/config/gimpscanner.c
      	* app/config/test-config.c
      	* app/core/gimp-documents.c
      	* app/core/gimp-parasites.c
      	* app/core/gimpcontainer.c
      	* app/core/gimpcontext.c
      	* app/core/gimpdocumentlist.c
      	* app/core/gimpparasitelist.c
      	* app/gui/test-commands.c
      	* app/tools/tool_options.c
      	* app/widgets/gimpdevices.c: changed accordingly.
      
      	* libgimpwidgets/gimpwidgets.c: documentation updates.
      
      	* app/core/gimpitem.c: removed a redundant type-check.
      d457b9eb
    • Michael Natterer's avatar
      themes/Default/images/stock-channels-16.png · 614ff006
      Michael Natterer authored
      2003-03-05  Michael Natterer  <mitch@gimp.org>
      
      	* themes/Default/images/stock-channels-16.png
      	* themes/Default/images/stock-device-status-16.png
      	* themes/Default/images/stock-images-16.png
      	* themes/Default/images/stock-layers-16.png
      	* themes/Default/images/stock-paths-16.png: new icons from Jimmac.
      
      	* themes/Default/imagerc
      	* themes/Default/images/Makefile.am
      	* libgimpwidgets/gimpstock.[ch]: add them to the stock system.
      
      	* app/gui/dialogs-menu.c
      	* app/gui/image-menu.c
      	* app/gui/toolbox-menu.c: use them.
      614ff006
    • Michael Natterer's avatar
      undeprecated and simplified a lot by using GimpPreview instead of handmade · c5603d81
      Michael Natterer authored
      2003-03-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpbrusheditor.[ch]: undeprecated and simplified a
      	lot by using GimpPreview instead of handmade preview stuff.
      c5603d81
    • Michael Natterer's avatar
      added GError reporting, removed g_message() stuff. · d404068c
      Michael Natterer authored
      2003-03-05  Michael Natterer  <mitch@gimp.org>
      
      	* app/file/file-save.[ch]: added GError reporting, removed
      	g_message() stuff.
      
      	* app/gui/file-commands.c
      	* app/gui/file-save-dialog.c: g_message() here if file_save_*()
      	returns an error.
      
      	* app/file/file-open.c: use the G_FILE_ERROR quark and the
      	GFileError enum for reporting errors. Removed g_message() if the
      	passed in GError** pointer is NULL (passing NULL as error return
      	location should never mean "show the error message yourself").
      
      	* app/app_procs.c
      	* app/gui/file-commands.c
      	* app/gui/file-open-dialog.c
      	* app/widgets/gimpdnd.c
      	* app/widgets/gimpdocumentview.c: g_message() here if file_open_*()
      	returns an error.
      d404068c
    • Duarte Loreto's avatar
      Updated Portuguese translation. · dc7b24ef
      Duarte Loreto authored
      2003-03-05  Duarte Loreto <happyguy_pt@hotmail.com>
      
              * pt.po: Updated Portuguese translation.
      dc7b24ef
    • Duarte Loreto's avatar
      Updated Portuguese translation. · 085c71e1
      Duarte Loreto authored
      2003-03-05  Duarte Loreto <happyguy_pt@hotmail.com>
      
              * pt.po: Updated Portuguese translation.
      085c71e1
  7. 04 Mar, 2003 1 commit
    • Sven Neumann's avatar
      plug-ins/common/compose.c plug-ins/common/decompose.c plug-ins/fp/fp.c · 2935a320
      Sven Neumann authored
      2003-03-05  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/compose.c
      	* plug-ins/common/decompose.c
      	* plug-ins/fp/fp.c
      	* plug-ins/rcm/rcm.c: moved these plug-ins to the Filters menu
      	(fixes bug #107587).
      
      	* app/gui/image-menu.c (image_menu_entries): removed a menu
      	separator which is not needed any longer.
      2935a320