1. 10 Oct, 2003 5 commits
    • Michael Natterer's avatar
      Cleaned up session management and changed the format of sessionrc in a way · 87480880
      Michael Natterer authored
      2003-10-10  Michael Natterer  <mitch@gimp.org>
      
      	Cleaned up session management and changed the format of sessionrc
      	in a way that allows extensions without changing the format during
      	the 2.0 cycle:
      
      	* app/widgets/Makefile.am
      	* app/widgets/widgets-types.h
      	* app/widgets/gimpsessioninfo.[ch]: new files implementing the whole
      	GimpSessionInfo stuff (parsing, saving, restoring, utility functions).
      	Save / parse the position of GimpDock's panes (bug #122964).
      
      	* app/widgets/gimpdialogfactory.[ch]: removed saving, restoring
      	and session related utility functions and use the ones from
      	the new files above.
      
      	* app/gui/session.c: removed parsing and use the new stuff.
      
      	* app/widgets/gimpdock.[ch]: added new virtual functions
      	GimpDock::set_aux_info() and GimpDock::get_aux_info():
      
      	* app/widgets/gimpimagedock.c: implement them and handle the
      	"auto_follow_active" and "show_image_menu" properties.
      
      	* app/widgets/gimpdockable.[ch]: added the same virtual functions
      	to the GimpDockable class. Enables forward-compatible per-dockable
      	session management (bug #122964).
      
      	* app/gui/dialogs-commands.c
      	* app/gui/gui.c: changed accordingly.
      
      	* etc/sessionrc: ditto. Look at this file and update your own
      	sessionrc manually if you don't want to lose it.
      87480880
    • Sven Neumann's avatar
      repaired this script (bug #124207). · c87b6cb4
      Sven Neumann authored
      2003-10-10  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/script-fu/scripts/burn-in-anim.scm: repaired this script
      	(bug #124207).
      c87b6cb4
    • Sven Neumann's avatar
      fixed a typo in the patch for bug #123201 that accidentally already · ac83f97e
      Sven Neumann authored
      2003-10-10  Sven Neumann  <sven@gimp.org>
      
      	* plug-ins/common/png.c (load_image): fixed a typo in the patch
      	for bug #123201 that accidentally already commited earlier.
      ac83f97e
    • Henrik Brix Andersen's avatar
      removed the grid parasite related functions from here ... · 4ac8c825
      Henrik Brix Andersen authored
      2003-10-10 Henrik Brix Andersen <brix@gimp.org>
      
      * app/core/gimpimage-grid.[ch]: removed the grid parasite related
      functions from here ...
      
      * app/core/gimpgrid.[ch]: ... and added them here. While I was at
      it I also changed PROP_TYPE to PROP_STYLE and added blurbs to the
      properties
      
      * app/xcf/xcf-load.c
      * app/display/gimpdisplayshell.c: changed accordingly
      
      * app/widgets/Makefile.am
      * po/POTFILES.in
      * app/widgets/widgets-types.h
      * app/widgets/gimpgrideditor.[ch]: added a new GimpGridEditor
      widget - with a work-around for the fact that
      gimp_prop_coordinated_new() doesn't accept boundaries
      
      * app/gui/grid-dialog.h
      * app/gui/grid-dialog.c (grid_dialog_new): use the new
      GimpGridEditor widget, take a GimpImage as function parameter,
      assume GimpImages always have a GimpGrid. This simplifies the grid
      dialog.
      
      * app/gui/image-commands.c
      (image_configure_grid_cmd_callback): changed accordingly
      
      * app/core/core-types.h: moved typedef GimpGrid from here ...
      
      * app/config/config-types.h: ... to here to be able to use it in
      GimpCoreConfig
      
      * app/config/gimprc-blurbs.h
      * app/config/gimpcoreconfig.[ch]: added default_grid member
      
      * app/widgets/gimphelp-ids.h
      * themes/Default/images/preferences/Makefile.am
      * themes/Default/images/default-grid.png
      * app/gui/preferences-dialog.c: added UI for specifying default
      image grid
      
      * app/core/gimpimage.c (gimp_image_new): create a GimpGrid from
      core_config->default_grid
      
      * app/gui/image-menu.c (image_menu_update): the grid/guide entries
      in <Image>/View/ should always be sensitive ...
      
      * app/display/gimpdisplayshell.c (gimp_display_shell_init):
      ... but the grid entries should be disabled by default
      4ac8c825
    • Sven Neumann's avatar
      app/errors.c (gimp_eek) app/main.c (main) (gimp_text_console_exit) call · 4591aed0
      Sven Neumann authored
      2003-10-10  Sven Neumann  <sven@gimp.org>
      
      	* app/errors.c (gimp_eek)
      	* app/main.c (main) (gimp_text_console_exit)
      	* app/gui/user-install-dialog.c (user_install_cancel_callback):
      	call exit() with EXIT_SUCCESS or EXIT_FAILURE instead of 0 and 1.
      4591aed0
  2. 09 Oct, 2003 10 commits
    • Christophe Merlet's avatar
      Updated French translation. · b2181867
      Christophe Merlet authored
      b2181867
    • Michael Natterer's avatar
      added auto-scrolling when DND-hovering close to the widget's top or bottom · a28bb194
      Michael Natterer authored
      2003-10-10  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpcontainertreeview-dnd.c: added auto-scrolling
      	when DND-hovering close to the widget's top or bottom border.
      	Fixes bug #124231.
      
      	* app/widgets/gimpcontainertreeview.h: added some auto-scroll state
      	to the GimpContainerTreeView struct.
      
      	* app/widgets/gimpcontainertreeview.c: remove the auto-scroll
      	timeout in GtkWidget::unmap().
      a28bb194
    • Tor Lillqvist's avatar
      Remove, unmaintained. · 0b409920
      Tor Lillqvist authored
      2003-10-09  Tor Lillqvist  <tml@iki.fi>
      
      	* po*/makefile.cygwin: Remove, unmaintained.
      0b409920
    • Tor Lillqvist's avatar
      New file, shell script used to build zipfiles for distribution of Windows · 0cda2cd3
      Tor Lillqvist authored
      2003-10-09  Tor Lillqvist  <tml@iki.fi>
      
      	* gimp-zip.in: New file, shell script used to build zipfiles for
      	distribution of Windows runtime and developer packages.
      
      	* Makefile.am
      	* configure.in: Add it, expand it.
      
      	* libgimp*/Makefile.am: On Windows, install and uninstall the .def
      	files.
      
      	* app/config/gimpguiconfig.c: On Windows, don't use the internal
      	help browser by default, as it isn't there. Don't use a fixed
      	guess for Internet Explorer's path on Windows. We don't even need
      	to know the path to the web browser, we can use ShellExecute() in
      	the webbrowser plug-in.
      
      	* plug-ins/common/webbrowser.c: Use ShellExecute() on Windows.
      
      	* po*/makefile.cygwin: Remove, unmaintained.
      0cda2cd3
    • Tor Lillqvist's avatar
      Fix typo. · 7dc4c155
      Tor Lillqvist authored
      2003-10-09  Tor Lillqvist  <tml@iki.fi>
      
      	* libgimpmath/gimpmath.def: Fix typo.
      
      	* libgimp/gimp.def: Add gimp_rgn_iterator_src_dest.
      7dc4c155
    • Sven Neumann's avatar
      updated. · 37120e8b
      Sven Neumann authored
      2003-10-09  Sven Neumann  <sven@gimp.org>
      
      	* app/app-sections.txt: updated.
      37120e8b
    • Sven Neumann's avatar
      added new function gimp_object_name_collate() which compares two object · f0f3ea36
      Sven Neumann authored
      2003-10-09  Sven Neumann  <sven@gimp.org>
      
      	* app/core/gimpobject.[ch]: added new function
      	gimp_object_name_collate() which compares two object names for
      	ordering using the linguistically correct rules for the current
      	locale and does some caching to speed up subsequent calls.
      
      	* app/core/gimpdatalist.c (gimp_data_list_data_compare_func): use
      	gimp_object_name_collate() from here.
      
      	* app/core/gimplist.[ch]: added convenience function
      	gimp_list_sort_by_name.
      
      	* app/text/gimpfontlist.c (gimp_font_list_restore): use
      	gimp_list_sort_by_name() instead of g_utf8_collate.
      f0f3ea36
    • Michael Natterer's avatar
      added GIMP_VIEWABLE_MAX_BUTTON_SIZE GIMP_VIEWABLE_MAX_MENU_SIZE. · 482aa11b
      Michael Natterer authored
      2003-10-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpviewable.h: added GIMP_VIEWABLE_MAX_BUTTON_SIZE
      	GIMP_VIEWABLE_MAX_MENU_SIZE.
      
      	* app/core/gimpviewable.c (gimp_viewable_get_popup_size): smarter
      	popup size limitation: limit each axis to 2 * MAX_POPUP_SIZE
      	and the area to MAX_POPUP_SIZE ^ 2.
      
      	* app/core/gimpbuffer.c
      	* app/core/gimpimage-preview.c
      	* app/core/gimpitem-preview.c
      	* app/text/gimpfont.c (GimpViewable::get_popup_size): removed
      	all limitations.
      
      	* app/widgets/gimpcontainermenu.c
      	* app/widgets/gimpcontainermenuimpl.c
      	* app/widgets/gimpmenuitem.c
      	* app/widgets/gimpviewablebutton.c: use the new button and menu
      	size defines.
      482aa11b
    • Michael Natterer's avatar
      added GimpScanConvert typedef. · da2bd8b9
      Michael Natterer authored
      2003-10-09  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/core-types.h: added GimpScanConvert typedef.
      
      	* app/core/gimpscanconvert.h: removed it here.
      
      	* app/core/gimpchannel-select.[ch]: factored out new
      	function gimp_channel_select_scan_convert().
      
      	(gimp_channel_select_polygon)
      	(gimp_channel_select_vectors): use it.
      
      	(gimp_channel_select_alpha): when called on a layer without alpha,
      	don't fail but fake the effect of a fully opaque alpha channel.
      
      	* app/tools/gimpiscissorstool.c: some cleanup.
      
      	(iscissors_convert): fixed my latest cleanup (don't cast the
      	tool to a GimpGrawable ;). Don't ignore options->antialias.
      da2bd8b9
    • Manish Singh's avatar
      fix SF_ADJUSTMENT handling when crafting the string to call, since it now · 6ac39445
      Manish Singh authored
      2003-10-08  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/script-fu/script-fu-scripts.c: fix SF_ADJUSTMENT handling
              when crafting the string to call, since it now gets a GIMP_PDB_FLOAT.
              (This bug has been there since 1.3.4...)
      6ac39445
  3. 08 Oct, 2003 6 commits
    • Manish Singh's avatar
      fix handling and docs of offs, phys, and time parameters. · 2c795c3d
      Manish Singh authored
      2003-10-08  Manish Singh  <yosh@gimp.org>
      
              * plug-ins/common/png.c: fix handling and docs of offs, phys, and time
              parameters.
      2c795c3d
    • Ville Pätsi's avatar
      Enabled debuginfo packages again. · 2b161223
      Ville Pätsi authored
      * gimp.spec.in: Enabled debuginfo packages again.
      2b161223
    • Michael Natterer's avatar
      new utility function which does everything gimp_edit_clear() and · df108404
      Michael Natterer authored
      2003-10-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimp-edit.c (gimp_edit_fill_internal): new utility
      	function which does everything gimp_edit_clear() and
      	gimp_edit_fill() do but doesn't fail to:
      
      	- fill an indexed drawable with white.
      	- fill a drawable with alpha with transparency.
      
      	(gimp_edit_clear)
      	(gimp_edit_fill): use gimp_edit_fill_internal().
      
      	* app/core/gimpdrawable.c (gimp_drawable_[apply,replace]_region):
      	added more g_return_if_fail(required_parameter != NULL).
      df108404
    • Michael Natterer's avatar
      added new pure virtual function GimpDock::setup() which configures a dock · 181a2c48
      Michael Natterer authored
      2003-10-08  Michael Natterer  <mitch@gimp.org>
      
      	* app/widgets/gimpdock.[ch]: added new pure virtual function
      	GimpDock::setup() which configures a dock like a passed template
      	dock.
      
      	* app/widgets/gimpimagedock.c: implement it and set
      	"show_image_menu" and "auto_follow_active" accordingly.
      
      	* app/widgets/gimpdockable.c (gimp_dockable_detach): call
      	gimp_dock_setup() to configure the new dock like the old one.
      	Removed inclusion if "gimpimagedock.h".
      
      	* app/gui/dialogs-commands.c: minor code cleanups.
      181a2c48
    • Michael Natterer's avatar
      Fixed bug #119423. There was no speed regression with the actual painting, · 96e9f052
      Michael Natterer authored
      2003-10-08  Michael Natterer  <mitch@gimp.org>
      
      	Fixed bug #119423. There was no speed regression with the actual
      	painting, just with the display update (which effectively led to
      	faster painting, it just felt slower).
      
      	* app/display/gimpdisplayshell.c (gimp_display_shell_flush): added
      	"gboolean now" parameter and update the display immediately if
      	it is TRUE.
      
      	* app/display/gimpdisplay.c (gimp_display_flush_whenever): pass
      	the "now" we got passed to the function above, so calling
      	gimp_display_flush_now() really flushes *now* again.
      96e9f052
    • Michael Natterer's avatar
      procedural_db_execute() *must* get the correct number of args, so do like · 0fae4f9c
      Michael Natterer authored
      2003-10-08  Michael Natterer  <mitch@gimp.org>
      
      	* tools/pdbgen/pdb/fileops.pdb (file_load_invoker):
      	procedural_db_execute() *must* get the correct number of args, so
      	do like file_save_invoker and create a full Argument array with
      	the correct number of args and copy our own args into it before
      	calling the actual load procedure. Fixes bug #124059.
      
      	* app/pdb/fileops_cmds.c: regenerated.
      0fae4f9c
  4. 07 Oct, 2003 8 commits
  5. 06 Oct, 2003 11 commits
    • Sven Neumann's avatar
      really check for CPU_ACCEL_X86_SSE. · 6dd668f9
      Sven Neumann authored
      2003-10-07  Sven Neumann  <sven@gimp.org>
      
      	* app/composite/gimp-composite-sse2.c (gimp_composite_sse2_init):
      	really check for CPU_ACCEL_X86_SSE.
      
      	* libgimp/gimp.def: added new symbols.
      6dd668f9
    • Sven Neumann's avatar
      bumped version number to 1.3.22. · 7ff0b3b8
      Sven Neumann authored
      2003-10-07  Sven Neumann  <sven@gimp.org>
      
      	* configure.in: bumped version number to 1.3.22.
      
      	Moved images used from scripts as suggested by Carol:
      
      	* plug-ins/script-fu/scripts/Makefile.am
      	* plug-ins/script-fu/scripts/*.jpg: removed images from scripts
      	directory...
      
      	* configure.in
      	* plug-ins/script-fu/scripts/images/Makefile.am
      	* plug-ins/script-fu/scripts/images/*.jpg: ... and added them here.
      
      	* plug-ins/script-fu/scripts/carved-logo.scm
      	* plug-ins/script-fu/scripts/chrome-it.scm
      	* plug-ins/script-fu/scripts/crystal-logo.scm
      	* plug-ins/script-fu/scripts/sota-chrome-logo.scm
      	* plug-ins/script-fu/scripts/test-sphere.scm: changed accordingly.
      7ff0b3b8
    • Manish Singh's avatar
      typo · a6b00901
      Manish Singh authored
      a6b00901
    • Manish Singh's avatar
      app/gui/image-menu.c app/gui/layers-menu.c "Imagesize" isn't a real word. · f64ad067
      Manish Singh authored
      2003-10-06  Manish Singh  <yosh@gimp.org>
      
              * app/gui/image-menu.c
              * app/gui/layers-menu.c
              * etc/ps-menurc: "Imagesize" isn't a real word. Fix to "Image Size".
      
              * app/paint/gimppaintcore.c: add declaration for rotate_pointers which
              was inadvertently took out.
      
              * tools/pdbgen/pdb/layer.pdb: add gimp_layer_resize_to_image_size.
              Fix failure reporting logic for gimp_layer_delete.
      
              * app/pdb/internal_procs.c
              * app/pdb/layer_cmds.c
              * libgimp/gimplayer_pdb.[ch]: regenerated.
      
              * plug-ins/common/tiff.c: always compare used unsigned chars for 7bit
              ASCII check.
      f64ad067
    • Michael Natterer's avatar
      one more fix for bug #107949: don't take the selection into account if we · fdbbfff8
      Michael Natterer authored
      2003-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.c (gimp_drawable_mask_bounds): one
      	more fix for bug #107949: don't take the selection into
      	account if we are operating on the selection itself.
      
      	Ordered shadow tiles functions together, cleanup.
      fdbbfff8
    • Michael Natterer's avatar
      app/app-docs.sgml updated. · 5989f5bf
      Michael Natterer authored
      2003-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/app-docs.sgml
      	* app/app-sections.txt: updated.
      5989f5bf
    • Michael Natterer's avatar
      added new local variables to hold the drawable's offsets instead of · 6a8e1129
      Michael Natterer authored
      2003-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable-stroke.c
      	(gimp_drawable_stroke_scan_convert): added new local variables to
      	hold the drawable's offsets instead of abusing x2 and y2. Use
      	existing APIs instead of re-implementing stuff. Removed an
      	obsolete call to tile_manager_set_offsets(). Cleanup.
      6a8e1129
    • Michael Natterer's avatar
      create a channel which the size of the layer, not of the image... · d7345959
      Michael Natterer authored
      2003-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpchannel.c (gimp_channel_new_from_alpha): create
      	a channel which the size of the layer, not of the image...
      
      	* app/core/gimpchannel-select.c (gimp_channel_select_alpha):
      	...and take the layer's offsets into account.
      
      	* app/core/gimpscanconvert.[ch] (gimp_scan_convert_render): added
      	off_x and off_y parameters and don't use the passed TileManager's
      	offsets.
      
      	* app/core/gimpchannel-select.c
      	* app/core/gimpdrawable-stroke.c
      	* app/tools/gimpiscissorstool.c: changed accordingly.
      d7345959
    • Sven Neumann's avatar
      updated after file moves. · 8c4dd58b
      Sven Neumann authored
      2003-10-06  Sven Neumann  <sven@gimp.org>
      
      	* POTFILES.in: updated after file moves.
      8c4dd58b
    • Michael Natterer's avatar
      fixed starting with --no-splash. · bf370128
      Michael Natterer authored
      2003-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/app_procs.c (app_init): fixed starting with --no-splash.
      bf370128
    • Michael Natterer's avatar
      added new virtual functions GimpDrawable::get_active_components(), · a20e04bd
      Michael Natterer authored
      2003-10-06  Michael Natterer  <mitch@gimp.org>
      
      	* app/core/gimpdrawable.[ch]: added new virtual functions
      	GimpDrawable::get_active_components(), apply_region() and
      	replace_region().
      
      	* app/core/Makefile.am
      	* app/core/gimpdrawable-combine.[ch]: new files containing
      	apply_region()'s and replace_region()'s default implementation.
      	They are identical to the ones removed from GimpImage except that
      	they don't mask the selection with itself (bug #107949).
      
      	* app/core/gimpchannel.c
      	* app/core/gimplayer.c: implement get_active_components().
      
      	* app/core/gimpchannel.c: implement apply_region() and
      	replace_region() and invalidate the channel's boundary
      	before upchaining (bug #107949).
      
      	* app/core/gimpimage.[ch]: removed gimp_image_apply_image(),
      	gimp_image_replace_image() and gimp_image_get_active_components().
      
      	* app/core/gimpimage-undo-push.c (undo_pop_image): invalidate
      	boundary and bounds if the drawable is a channel (bug #107949).
      
      	(undo_pop_mask)
      	(undo_pop_channel_mod): finish previous commit :)
      
      	* app/core/gimp-edit.c
      	* app/core/gimpdrawable-blend.c
      	* app/core/gimpdrawable-bucket-fill.c
      	* app/core/gimpdrawable-stroke.c
      	* app/core/gimpimagemap.c
      	* app/core/gimplayer-floating-sel.c
      	* app/paint/gimppaintcore.c
      	* app/tools/gimpinktool.c: changed accordingly.
      a20e04bd