Commit Graph

10149 Commits

Author SHA1 Message Date
Sven Neumann c3ffc1f25d flatten the splash (bug #124062).
2003-10-08  Sven Neumann  <sven@gimp.org>

	* data/images/gimp_splash.png: flatten the splash (bug #124062).
2003-10-07 22:30:46 +00:00
Jan Morén 3f07a21d1c Updated Swedish translation.
2003-10-07  Jan Morén  <jan.moren@lucs.lu.se>

         * sv.po: Updated Swedish translation.
2003-10-07 15:32:27 +00:00
Sven Neumann 2a0abbd9fb libgimp/libgimp-sections.txt libgimp/tmpl/gimplayer.sgml updated.
2003-10-07  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimplayer.sgml
	* libgimp/tmpl/gimppaths.sgml: updated.
2003-10-07 15:22:32 +00:00
Sven Neumann f3ed46058b configure.in require librsvg >= 2.2.0 for the SVG plug-in. Fixes bug
2003-10-07  Sven Neumann  <sven@gimp.org>

	* configure.in
	* gimp.spec.in: require librsvg >= 2.2.0 for the SVG plug-in.
	Fixes bug #123966.
2003-10-07 15:14:41 +00:00
Marco Ciampa 2034865555 Updated italian translation. 2003-10-07 14:50:10 +00:00
Michael Natterer f65a7acbab new function. Need to include ugly stuff for proper GimpImageDock setup.
2003-10-07  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpdockable.[ch] (gimp_dockable_detach): new
	function.  Need to include ugly stuff for proper GimpImageDock
	setup.

	* app/widgets/gimpdockbook.c (gimp_dockbook_menu_end): use
	gimp_dockable_detach() and removed the evil includes.

	* app/gui/dialogs-commands.c (dialogs_detach_tab_cmd_callback):
	implement it using gimp_dockable_detach().
2003-10-07 12:24:01 +00:00
Dmitry Mastrukov 2b3583f7fb ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>. 2003-10-07 04:28:18 +00:00
Simon Budig 0dc3d60885 Debugged winding rule issue, removed redundant paths, added IDs.
2003-10-07 Simon Budig  <simon@gimp.org>

	* docs/Wilber.svg: Debugged winding rule issue,
	removed redundant paths, added IDs. Indentation madness.
2003-10-07 00:30:20 +00:00
Sven Neumann 6dd668f90a really check for CPU_ACCEL_X86_SSE.
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.
2003-10-06 23:56:43 +00:00
Sven Neumann 7ff0b3b80d bumped version number to 1.3.22.
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.
2003-10-06 22:08:01 +00:00
Manish Singh a6b009016b typo 2003-10-06 21:28:46 +00:00
Manish Singh f64ad067d7 app/gui/image-menu.c app/gui/layers-menu.c "Imagesize" isn't a real word.
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.
2003-10-06 21:22:09 +00:00
Michael Natterer fdbbfff852 one more fix for bug #107949: don't take the selection into account if we
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.
2003-10-06 18:26:06 +00:00
Michael Natterer 5989f5bf32 app/app-docs.sgml updated.
2003-10-06  Michael Natterer  <mitch@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt: updated.
2003-10-06 17:58:13 +00:00
Michael Natterer 6a8e112921 added new local variables to hold the drawable's offsets instead of
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.
2003-10-06 17:13:57 +00:00
Michael Natterer d734595991 create a channel which the size of the layer, not of the image...
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.
2003-10-06 16:43:05 +00:00
Sven Neumann 8c4dd58bfe updated after file moves.
2003-10-06  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: updated after file moves.
2003-10-06 15:11:04 +00:00
Michael Natterer bf37012875 fixed starting with --no-splash.
2003-10-06  Michael Natterer  <mitch@gimp.org>

	* app/app_procs.c (app_init): fixed starting with --no-splash.
2003-10-06 14:52:05 +00:00
Michael Natterer a20e04bdaf added new virtual functions GimpDrawable::get_active_components(),
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.
2003-10-06 14:40:12 +00:00
Michael Natterer f0372cad0f Treat changes to the selection like changes to any other drawable:
2003-10-06  Michael Natterer  <mitch@gimp.org>

	Treat changes to the selection like changes to any other drawable:

	* app/core/gimpchannel.c
	* app/core/gimpchannel-combine.c: call gimp_drawable_update() after
	changing the channel.

	* app/core/gimpimage.[ch]: added struct GimpImageFlushAccumulator
	with one member "gboolean mask_changed". Connect to "update" of
	the selection and set accum.mask_changed to TRUE in the callback.
	Added default implementation for GimpImage::flush() and emit
	"mask_changed" there.

	Unrelated:
	* app/core/gimpimage.h: removed GimpGuide struct...
	* app/core/gimpimage-guides.h: ...and added it here.

	* app/core/gimpimage-undo-push.c (undo_pop_mask)
	(undo_pop_channel_mod): don't distinguish between selection and
	non-selection channels and just call gimp_drawable_update().

	* app/core/gimpundo.h
	* app/core/gimpimage-undo.c: removed "gboolean mask_changed" from
	the GimpUndoAccumulator struct since we don't have to care about
	that signal explicitly any more.

	* app/display/gimpdisplay-foreach.[ch]: removed gimp_displays_flush().

	* tools/pdbgen/pdb/display.pdb (displays_flush_invoker): call
	gimp_image_flush() on all images so the flush accumulator is
	honored.

	This generalization enables the removal of more special purpose
	code which was needed to treat the selection different:

	* app/core/gimpimage-mask-select.[ch]: removed...

	* app/core/gimpchannel-select.[ch]: ...and added under a new name
	because it's not selection specific any more.

	* app/core/gimpimage-mask.[ch]: removed...

	* app/core/gimpselection.[ch]: ...added the two remaining
	functions here. Removed all calls to gimp_image_mask_changed().

	* app/core/Makefile.am
	* app/core/gimp-edit.c
	* app/core/gimpdrawable-transform.c
	* app/core/gimpimage-scale.c
	* app/core/gimpimage-snap.c
	* app/display/gimpdisplayshell.c
	* app/gui/channels-commands.c
	* app/gui/layers-commands.c
	* app/gui/select-commands.c
	* app/gui/vectors-commands.c
	* app/tools/gimpbycolorselecttool.c
	* app/tools/gimpeditselectiontool.c
	* app/tools/gimpellipseselecttool.c
	* app/tools/gimpfreeselecttool.c
	* app/tools/gimpfuzzyselecttool.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimprectselecttool.c
	* app/tools/gimptransformtool.c
	* app/widgets/gimpchanneltreeview.c
	* app/widgets/gimpselectioneditor.c
	* app/widgets/gimpvectorstreeview.c
	* app/xcf/xcf-save.c
	* tools/pdbgen/pdb/paths.pdb
	* tools/pdbgen/pdb/selection.pdb
	* tools/pdbgen/pdb/selection_tools.pdb: changed accordingly.

	* app/core/gimpdrawable-bucket-fill.c
	* app/core/gimpimage-colormap.c
	* app/core/gimplayer-floating-sel.c
	* app/core/gimplayer.c
	* app/gui/image-menu.c
	* app/paint/gimppaintcore.c
	* app/tools/gimpcroptool.c
	* app/tools/gimpinkoptions.c
	* app/tools/gimpvectortool.c: removed useless and/or obsolete
	#includes.

	* app/pdb/display_cmds.c
	* app/pdb/paths_cmds.c
	* app/pdb/selection_cmds.c
	* app/pdb/selection_tools_cmds.c: regenerated.
2003-10-06 12:17:11 +00:00
Sven Neumann 3ee37d4099 typo 2003-10-06 12:02:44 +00:00
Sven Neumann 6fd1d5e77d app/app-docs.sgml updated.
2003-10-06  Sven Neumann  <sven@gimp.org>

	* app/app-docs.sgml
	* app-sections.txt: updated.
2003-10-06 12:01:46 +00:00
Michael Natterer 10760d3cb1 guard callbacks against being invoked during display destruction. Fixes
2003-10-06  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c: guard callbacks
	against being invoked during display destruction. Fixes crashes
	when closing/opening images. Also fixes the crash reported by
	Pedro Gimeno in the comment to bug #117884, but doesn't fix
	#117884 since it's a different issue.
2003-10-06 11:25:59 +00:00
Michael Natterer afc58a660c HALT the tool with the right display. Fixes some random tool crashes.
2003-10-06  Michael Natterer  <mitch@gimp.org>

	* app/tools/tool_manager.c (tool_manager_image_undo_start): HALT
	the tool with the right display. Fixes some random tool crashes.
2003-10-06 11:07:10 +00:00
Marco Ciampa 035d1e6506 Updated italian translation. 2003-10-06 10:45:32 +00:00
Sven Neumann 98a038d8fb check for NULL pointers in the GimpDndDataDef array before using them.
2003-10-06  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_data_drop_handle): check for
	NULL pointers in the GimpDndDataDef array before using them.
	Might happen with the changed dockable DND code :(
2003-10-06 10:35:40 +00:00
Helvetix Victorinox 7752bf9eef migrated to new (trimmer) code and removed dead code. Some beautification
* app/composite/make-install.py: migrated to new (trimmer) code and
  removed dead code.  Some beautification for generated code.

* app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis,generic}.{c,h}:
  All init() functions are also a run-time check and now expected to
  return TRUE/FALSE if the particular set of compositing functions can
  be used.

* app/composite/gimp-composite.c: No longer has to determine if
  the particular set of compositing functions can be used.

* app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-{install,test}.c:
  Regenerated

* app/composite/test-composite.c: Deprecated, removed.  All tests are automatically
  generated and the code is in app/composite/gimp-composite-{mmx,sse,sse2,3dnow,altivec,vis}-test.c:

* app/composite/Makefile.am: removed unused references to test-composite.c
2003-10-06 02:46:15 +00:00
Sven Neumann 9d2332176d Made 1.3.21 release.
2003-10-06  Sven Neumann  <sven@gimp.org>

        * Made 1.3.21 release.
2003-10-05 23:00:36 +00:00
Sven Neumann 1f17bf8767 handle dockable drops where the drag source is a GimpDockable itself.
2003-10-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdock.c (gimp_dock_separator_drag_drop): handle
	dockable drops where the drag source is a GimpDockable itself.

	* etc/sessionrc: try a new default dialog setup.
2003-10-05 22:09:58 +00:00
Marco Ciampa 73e9b1aafc Updated italian translation. 2003-10-05 21:39:32 +00:00
Sven Neumann ee770239ff removed unused variables.
2003-10-05  Sven Neumann  <sven@gimp.org>

	* app/gui/tool-options-menu.c (tool_options_menu_update): removed
	unused variables.
2003-10-05 21:06:43 +00:00
Sven Neumann 1c2aea628c set the screen resolution before setting the initial scale; update it in
2003-10-05  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c: set the screen resolution before
	setting the initial scale; update it in GtkWidget::screen_changed.
2003-10-05 20:34:48 +00:00
Sven Neumann 81e190dc3d added missing file.
2003-10-05  Sven Neumann  <sven@gimp.org>

	* app/composite/Makefile.am: added missing file.
2003-10-05 19:42:59 +00:00
Sven Neumann 82bc2a60b4 some smaller updates 2003-10-05 17:27:59 +00:00
Sven Neumann 914a29efd8 app/widgets/gimpdockbook.[ch] hide the GimpDockbook tabs when it holds
2003-10-05  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdockbook.[ch]
	* app/widgets/gimpdockable.[ch]: hide the GimpDockbook tabs when
	it holds only a single dockable. Made the title area a drag source
	and let the whole GimpDockable accept drops of dockables.
2003-10-05 17:26:21 +00:00
Pedro Gimeno 68ad180d22 Use gint instead of guint. Fixes Debian bug report #205889.
2003-10-05  Pedro Gimeno  <pggimeno@wanadoo.es>

        * app/paint-funcs/paint-funcs.c (shrink_line): Use gint instead
        of guint. Fixes Debian bug report #205889.
2003-10-05 17:00:59 +00:00
Sven Neumann 36632fdf48 include bug number for reference 2003-10-05 12:15:17 +00:00
Sven Neumann 9cbbaed85c applied a patch from Morten Eriksen that fixes loading of monochrome
2003-10-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd.c (load_image): applied a patch from Morten
	Eriksen that fixes loading of monochrome images.
2003-10-05 12:13:51 +00:00
Dave Neary 12bdbc33a6 Removed explicit initialisation to GIMP_ALL_HUES, this is set by default
2003-10-04  Dave Neary  <bolsh@gimp.org>

        * app/tools/gimphuesaturationtool.c
        (gimp_hue_saturation_tool_initialize): Removed explicit
        initialisation to GIMP_ALL_HUES, this is set by default the
        first time the tool is opened, and shouldn't be set successive
        times. Fix suggested by edg1@freegates.be in Bugzilla. Fixes
        bug #123731.
2003-10-04 13:45:31 +00:00
Danilo Šegan 576d7a68d8 Updated Serbian translation.
2003-10-04  Danilo Šegan  <dsegan@gmx.net>

	* po/sr.po, po/sr@Latn.po, po-plug-ins/sr.po,
          po-plug-ins/sr@Latn.po, po-script-fu/sr.po,
          po-script-fu/sr@Latn.po: Updated Serbian translation.
2003-10-04 12:01:48 +00:00
Sven Neumann 1db2ada311 enabled the call to exit() again.
2003-10-02  Sven Neumann  <sven@gimp.org>

	* app/app_procs.c (app_exit_after_callback): enabled the call to
	exit() again.
2003-10-02 16:38:23 +00:00
Marco Ciampa 33b5e0aa94 Updated italian translation. 2003-10-02 16:31:42 +00:00
Sven Neumann edc370646a unset the image filename.
2003-10-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/carved-logo.scm: unset the image
	filename.
2003-10-02 11:59:54 +00:00
Michael Natterer 86411380c6 set the item's new image *after* converting it because we need the old
2003-10-02  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpitem.c (gimp_item_convert,gimp_item_real_convert):
	set the item's new image *after* converting it because we need the
	old image's colormap for conversions from and to INDEXED.
	Fixes bug #123625.
2003-10-02 11:42:43 +00:00
Michael Natterer 89d936f3aa Cleaned up the app init and exit stuff even more. Also reduces the number
2003-10-02  Michael Natterer  <mitch@gimp.org>

	Cleaned up the app init and exit stuff even more. Also reduces the
	number of missing symbols for gimp-console. Added init and exit
	debugging output (only for --verbose).

	* app/core/gimpmarshal.list
	* app/core/gimp.[ch]: added new signals "initialize" and
	"restore".  Moved plug_ins_init() to Gimp::restore()'s default
	implementation and plug_ins_exit() to Gimp::exit()'s default
	implementation. Renamed gimp_set_config() to gimp_load_config()
	and load GimpRC here. Moved base_init() and base_exit() to this
	file, too.

	* app/gui/Makefile.am
	* app/gui/gui-vtable.[ch]: new files split out of gui.c. It was
	simply too large.

	* app/gui/gui.[ch]: renamed gui_themes_init() to gui_init(),
	connect to Gimp's "initialize" and "restore" signals and create
	the GUI stuff in the callbacks. Removed most other public
	functions since they don't need to be called explicitly any more.
	Moved the whole tool initialization/shutdown code to this file.

	* app/gui/user-install-dialog.[ch]: changed
	user_install_dialog_create() to user_install_dialog_run() and
	added a gtk_main() at the end, so the install dialog's gtk_main()
	and gtk_main_quit() live in the same file.

	* app/app_procs.c: removed lots of stuff. app_init() is much
	simpler now.
2003-10-02 11:26:26 +00:00
Michael Natterer a3ab230fdc remember the name of the saved options and set it again after
2003-10-02  Michael Natterer  <mitch@gimp.org>

	* app/gui/tool-options-commands.c
	(tool_options_save_to_cmd_callback): remember the name of the
	saved options and set it again after gimp_config_copy_properties().
	Fixes bug #123660.
2003-10-02 10:16:02 +00:00
Sven Neumann c2b8ffb12a app/app-docs.sgml updated.
2003-10-02  Sven Neumann  <sven@gimp.org>

	* app/app-docs.sgml
	* app/app-sections.txt: updated.
2003-10-02 01:27:12 +00:00
Sven Neumann 8996d18ff5 added back ellipsis to Display Filters and Configure Grid.
2003-10-02  Sven Neumann  <sven@gimp.org>

	* app/gui/image-menu.c: added back ellipsis to Display Filters and
	Configure Grid.

2003-10-02  Sven Neumann  <sven@gimp.org>

	* de.po: updated german translation (reviewing my menu changes).
2003-10-02 00:55:52 +00:00
Sven Neumann 7aa4179956 configure.in plug-ins/Makefile.am removed mosaic plug-in here...
2003-10-02  Sven Neumann  <sven@gimp.org>

	* configure.in
	* plug-ins/Makefile.am
	* plug-ins/mosaic/*: removed mosaic plug-in here...

	* plug-ins/common/Makefile.am
	* plug-ins/common/mosaic.c
	* plug-ins/common/plugin-defs.pl: ...and added it in plug-ins/common.
2003-10-01 23:27:49 +00:00
Sven Neumann f8ef900a15 plug-ins/common/plugindetails.c plug-ins/common/unsharp.c
2003-10-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/plugindetails.c
	* plug-ins/common/unsharp.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/scripts/swirly-pattern.scm: tweaked menu items.
2003-10-01 22:52:27 +00:00