Commit graph

19634 commits

Author SHA1 Message Date
Michael Natterer 11a43d6a50 app/core/Makefile.am app/core/core-types.h new undo class which handles
2007-01-28  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpimageundo.[ch]: new undo class which handles
	GIMP_UNDO_IMAGE_TYPE, GIMP_UNDO_IMAGE_SIZE and
	GIMP_UNDO_IMAGE_RESOLUTION.

	* app/core/gimpimage-undo-push.c: use the new undo class and
	remove the resp. code here.

	* app/core/gimpimage-undo.h: changed include guards to not
	conflict with gimpimageundo.h


svn path=/trunk/; revision=21789
2007-01-28 18:21:39 +00:00
Sven Neumann 50bbab0ec7 fixed spelling of "auto-generated".
2007-01-28  Sven Neumann  <sven@gimp.org>

	* app/dialogs/authors.xsl: fixed spelling of "auto-generated".

	* app/tools/gimprectangletool.c: removed unused declaration.


svn path=/trunk/; revision=21788
2007-01-28 17:47:46 +00:00
Michael Natterer 3003ca1b5c add the passed TileManager's size to undo->size.
2007-01-28  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawableundo.c (gimp_drawable_undo_constructor):
	add the passed TileManager's size to undo->size.

	* app/core/gimpimage-undo-push.c (gimp_image_undo_push_drawable):
	no need to get and pass the TileManager's size here.


svn path=/trunk/; revision=21787
2007-01-28 15:06:23 +00:00
Michael Natterer 14fa7e3a41 app/core/Makefile.am app/core/core-types.h new GimpItemUndo subclass which
2007-01-28  Michael Natterer  <mitch@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpchannelundo.[ch]: new GimpItemUndo subclass which
	handles all the channel undo stuff itself.

	* app/core/gimpimage-undo-push.c: removed all channel undo code
	here and simply create a GimpChannelUndo instance.


svn path=/trunk/; revision=21786
2007-01-28 14:58:17 +00:00
Tor Lillqvist 32d58bf209 Fix #398311 in GIMP until corresponding abstraction has been added to
2007-01-26  Tor Lillqvist  <tml@novell.com>

	Fix #398311 in GIMP until corresponding abstraction has been added
	to GLib:

	* app/base/tile-private.h: Use gint64 instead of off_t. (I assume
	the configury makes sure GIMP is always compiled as
	large-file-aware on Unix with an off_t of at least 64 bits?)

	Introduce wrapper macros LARGE_SEEK() and LARGE_TRUNCATE(). On
	Win32 LARGE_SEEK() calls _lseeki64() in the Microsoft C library,
	and LARGE_TRUNCATE calls a new internal function
	gimp_win32_large_truncate(). On Unix they call lseek() and
	ftruncate().

	* app/base/tile-swap.c: Use gint64 instead of off_t. Use
	LARGE_SEEK() and LARGE_TRUNCATE() instead of lseek() and
	ftruncate().
	(gimp_win32_large_truncate): New function. Calls LARGE_SEEK() and
	SetEndOfFile().

	* app/xcf/xcf-load.c (xcf_swap_func): Use LARGE_SEEK() instead of
	lseek().


svn path=/trunk/; revision=21785
2007-01-27 01:49:01 +00:00
Sven Neumann 0ddd3db4f8 applied patch from Joao S. O. Bueno Calligaris that fixes rectangle
2007-01-26  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c: applied patch from Joao
	S. O. Bueno Calligaris that fixes rectangle resizing (bug 
#400283).


svn path=/trunk/; revision=21784
2007-01-26 22:21:20 +00:00
Tor Lillqvist 2f6ed7f688 Use wide character version of SetConsoleTitle().
2007-01-26  Tor Lillqvist  <tml@novell.com>

	* app/main.c: Use wide character version of SetConsoleTitle().


svn path=/trunk/; revision=21782
2007-01-26 21:22:07 +00:00
Tor Lillqvist 92cdceed77 Make the handling of console output make more sense Win32. Should mostly
2007-01-26  Tor Lillqvist  <tml@novell.com>

	Make the handling of console output make more sense Win32. Should
	mostly fix #400927.
	    
	* app/app_procs.c (app_exit): Drop the Win32 "This console window
	will close in ten seconds" message from here.
	(app_run): Drop the call to FreeConsole() from here. GIMP is built
	as a GUI executable on Windows, and in case we do open a fresh
	console window in main() (see below), we shouldn't then
	immediately close it here.

	* app/errors.c (errors_init): Drop printing the "You can mimize
	this window, but don't close it" message on Win32 from here.

	* app/main.c (gimp_open_console_window): New Win32-only
	function. If either stdout or stderr are unconnected, open a new
	console window and connect stdout and/or stderr to it as
	needed. Set the console title to "GIMP output. You can minimize
	this window, but don't close it." Register an atexit function that
	waits for the user to close the console window.
	(wait_console_window): New Win32-only function. Registered as an
	atexit function when GIMP has opened a new console window. Prompts
	the user to type any character to close the window.
	(main, gimp_show_version): Always call gimp_open_console_window()
	in the unstable version. As the "This is a development version of
	GIMP. Debug messages may appear here" message says, one point of
	the unstable version is that debug messages should be visible, so
	I think it makes sense to always see them in an unstable
	version. In stable versions, call gimp_open_console_window() only
	if options that cause output that the user wants to see were
	given, like --help and --version.


svn path=/trunk/; revision=21781
2007-01-26 20:47:36 +00:00
Josep Puigdemont i Casamajó 9b15c84cef Updated Catalan translation by Joaquim Perez.
svn path=/trunk/; revision=21780
2007-01-25 21:37:16 +00:00
Tor Lillqvist 30d07eb162 On Win32 prevent plug-in from inheriting GIMP's ends of the pipes. Fixes
2007-01-25  Tor Lillqvist  <tml@novell.com>

	* app/plug-in/gimpplugin.c (gimp_plug_in_open): On Win32 prevent
	plug-in from inheriting GIMP's ends of the pipes. Fixes #363501.


svn path=/trunk/; revision=21779
2007-01-25 11:38:04 +00:00
Sven Neumann 4cbb01c0f2 applied patch from Tim Mooney (bug #400389).
2007-01-24  Sven Neumann  <sven@gimp.org>

	* plug-ins/pygimp/plug-ins/palette-offset.py: applied patch from
	Tim Mooney (bug #400389).


svn path=/trunk/; revision=21778
2007-01-24 22:37:27 +00:00
Sven Neumann f68ff9a9c4 implement keyboard navigation as in the spec but without pointer warping.
2007-01-24  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c: implement keyboard navigation 
as
	in the spec but without pointer warping. Basically works but 
needs
	further tuning.


svn path=/trunk/; revision=21777
2007-01-24 08:40:24 +00:00
Sven Neumann d8983fcc8d don't emit signals by name if we know the signal ID.
2007-01-24  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c: don't emit signals by name if 
we
	know the signal ID.


svn path=/trunk/; revision=21776
2007-01-24 07:47:58 +00:00
Sven Neumann 33b382698f reverted previous change. Keyboard navigation for the rectangle tools has
2007-01-24  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c: reverted previous change.
	Keyboard navigation for the rectangle tools has been speced out
	differently and changes to the spec should be discussed 
beforehand.


svn path=/trunk/; revision=21775
2007-01-24 07:12:42 +00:00
David Lodge 7759bbb0cf Updated (British) English docs translation
svn path=/trunk/; revision=21774
2007-01-24 07:10:04 +00:00
Kevin Cozens 01aeb7faba Applied patch from Joao S. O. Bueno Calligaris that allows size of
2007-01-24  Kevin Cozens  <kcozens@cvs.gnome.org>

	* app/tools/gimprectangletool.c: Applied patch from Joao S. O. Bueno
	Calligaris that allows size of rectangle selection to be changed via
	the keyboard arrow keys. Ctrl + arrow increases size of selection in
	the direction of the arrow. Ctrl + Shift + arrow decreases size of
	selection.

svn path=/trunk/; revision=21773
2007-01-24 05:27:33 +00:00
Kevin Cozens 94328208b0 app/actions/context-actions.c s/minumum/minimum/ typo spotted by Joao S.
2007-01-23  Kevin Cozens  <kcozens@cvs.gnome.org>

	* app/actions/context-actions.c
	* app/actions/tools-actions.c: s/minumum/minimum/ typo
	spotted by Joao S. O. Bueno Calligaris.

svn path=/trunk/; revision=21772
2007-01-24 03:19:44 +00:00
Marco Ciampa 79f2313bbf Italian updated
svn path=/trunk/; revision=21771
2007-01-23 19:12:53 +00:00
Sven Neumann 4529ad15bd bumped version to 2.3.15.
2007-01-23  Sven Neumann  <sven@gimp.org>

	* configure.in: bumped version to 2.3.15.


svn path=/trunk/; revision=21770
2007-01-23 13:15:50 +00:00
Sven Neumann c90ba0ff2c Made 2.3.14 development release.
2007-01-23  Sven Neumann  <sven@gimp.org>

        * Made 2.3.14 development release.


svn path=/trunk/; revision=21768
2007-01-23 11:55:26 +00:00
Sven Neumann aa9004528e added gimp_get_default_unit().
2007-01-12  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt: added gimp_get_default_unit().

	* libgimp/tmpl/gimpgimprc.sgml: regenerated.


svn path=/trunk/; revision=21767
2007-01-23 10:58:23 +00:00
Jakub Friedl 1e864cacb5 updated Czech translation
2007-01-23  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: updated Czech translation


svn path=/trunk/; revision=21766
2007-01-23 10:29:06 +00:00
Sven Neumann 0564013cc5 updated for 2.3.14
svn path=/trunk/; revision=21765
2007-01-23 10:16:08 +00:00
Sven Neumann 3b3252c0e3 code cleanup.
2007-01-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c (type_combo_callback): code cleanup.


svn path=/trunk/; revision=21764
2007-01-23 08:18:13 +00:00
Sven Neumann 509351d069 improved output.
2007-01-23  Sven Neumann  <sven@gimp.org>

	* app/main.c: improved output.


svn path=/trunk/; revision=21763
2007-01-23 07:52:13 +00:00
Sven Neumann b59eb9255f docs/gimp.1.in document the new behaviour and command-line parameter.
2007-01-23  Sven Neumann  <sven@gimp.org>

	* docs/gimp.1.in
	* docs/gimp-remote.1.in: document the new behaviour and
	command-line parameter.


svn path=/trunk/; revision=21762
2007-01-23 07:36:02 +00:00
Sven Neumann 4c5cfb61d3 added Activate method.
2007-01-23  Sven Neumann  <sven@gimp.org>

        * app/widgets/dbus-service.xml: added Activate method.

        * app/widgets/gimpdbusservice.[ch]: raise the toolbox from the
        Activate method. Do nothing when no URIs are passed

        * app/main.c: try the Activate method on the org.gimp.GIMP 
service
        when being called without any filenames on the command-lines.


svn path=/trunk/; revision=21761
2007-01-22 23:25:37 +00:00
Sven Neumann 569e1b35fd simplified handling of d-bus errors.
2007-01-22  Sven Neumann  <sven@gimp.org>

	* app/main.c: simplified handling of d-bus errors.


svn path=/trunk/; revision=21760
2007-01-22 21:45:13 +00:00
Sven Neumann 6414b2ea5d added utility function that handles opening files passed on the
2007-01-22  Sven Neumann  <sven@gimp.org>

	* app/file/file-open.[ch]: added utility function that handles
	opening files passed on the command-line.

	* app/app_procs.c
	* app/widgets/gimpdbusservice.c: use the new function instead of
	duplicating the code.


svn path=/trunk/; revision=21759
2007-01-22 21:39:57 +00:00
Sven Neumann 98b060eb18 free the thumbnail data that used to be leaked for grayscale thumbnails.
2007-01-22  Sven Neumann  <sven@gimp.org>

	* libgimp/gimppixbuf.c (gimp_pixbuf_from_data): free the 
thumbnail
	data that used to be leaked for grayscale thumbnails.


svn path=/trunk/; revision=21758
2007-01-22 21:20:04 +00:00
Sven Neumann 19f836a49b no need to construct (and leak) command-line arguments when initializing
2007-01-22  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpui.c (gimp_ui_init): no need to construct (and 
leak)
	command-line arguments when initializing GTK+.


svn path=/trunk/; revision=21757
2007-01-22 20:56:13 +00:00
Sven Neumann 125c3d9632 added some comments.
2007-01-22  Sven Neumann  <sven@gimp.org>

	* app/paint/gimppaintbrush.c: added some comments.

	* app/paint/gimppaintcore.c: sprinkled with const qualifiers.


svn path=/trunk/; revision=21756
2007-01-22 17:24:17 +00:00
Sven Neumann 0e55a7f5f7 don't add the open-as-image button to all data factory views.
2007-01-22  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdatafactoryview.c: don't add the open-as-image
	button to all data factory views.

	* app/widgets/gimppatternfactoryview.c: but do it here for the
	Pattern dialog.


svn path=/trunk/; revision=21755
2007-01-22 16:55:39 +00:00
Jakub Friedl f44e3986db Updated Czech translation.
2007-01-22  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.


svn path=/trunk/; revision=21754
2007-01-22 14:24:27 +00:00
Jakub Friedl 211c98e05a updated Czech translation
2007-01-22  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: updated Czech translation


svn path=/trunk/; revision=21752
2007-01-22 10:19:58 +00:00
Michael Schumacher 8fdf10dbb2 replaced license statement according to bug #119667.
2007-01-22  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/script-fu/scripts/guides-new-percent.scm: replaced
	license statement according to bug #119667.

svn path=/trunk/; revision=21750
2007-01-21 23:45:16 +00:00
Michael Natterer 8398ed8735 maintain an is_drawn boolean which indicates whether the drawn stuff is
2007-01-21  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpdrawtool.[ch]: maintain an is_drawn boolean which
	indicates whether the drawn stuff is currently visible. Added
	gimp_draw_tool_is_drawn() to obtain it.

	* app/tools/gimpbrushtool.c (gimp_brush_tool_draw): don't create
	the brush outline segments for the purpose of undrawing (if we
	don't have the segments, we can hardly have drawn them before).
	Fixes artifacts when the brush is being scaled or changed.

	* app/core/gimpbrush.c: don't call brush_scale_mask() and
	brush_scale_pixmap() with zero width or height. Fixes warnings
	from these functions.


svn path=/trunk/; revision=21749
2007-01-21 19:54:57 +00:00
Tor Lillqvist 37661ec884 Add AC_MSG_RESULT([no]) to the fail branch of PKG_CHECK_MODULES tests to
2007-01-21  Tor Lillqvist  <tml@novell.com>

	* configure.in: Add AC_MSG_RESULT([no]) to the fail branch of
	PKG_CHECK_MODULES tests to make the output from configure
	cleaner. Add proper quotes around $have_gnomevfs in a test to
	avoid "test: too many arguments" warning. Add fail branch to the
	test for dbus-glib so that it isn't a hard requirement.


svn path=/trunk/; revision=21748
2007-01-21 17:13:19 +00:00
Michael Natterer 8ea53c48ca set the name of the alsa client to "GIMP" and the name of the port to
2007-01-21  Michael Natterer  <mitch@gimp.org>

	* modules/controller_midi.c (midi_set_device): set the name
	of the alsa client to "GIMP" and the name of the port to 
	"GIMP MIDI Input Controller". Provides reasonable strings in
	apps which display "client::port" as well as in apps which
	display only "port".


svn path=/trunk/; revision=21747
2007-01-21 16:42:15 +00:00
Sven Neumann d7eb0b7b78 reworded Monitor Resolution section as suggested in bug #398851.
2007-01-21  Sven Neumann  <sven@gimp.org>

	* app/dialogs/preferences-dialog.c: reworded Monitor Resolution
	section as suggested in bug #398851.


svn path=/trunk/; revision=21746
2007-01-21 13:17:04 +00:00
Raphael Quinet 65950be141 app/display/gimpstatusbar.[ch] add optional help text at the end of the
2007-01-21  Raphael Quinet  <raphael@gimp.org>

	* app/display/gimpstatusbar.[ch]
	* app/tools/gimptool.[ch]: add optional help text at the end of
	the messages generated by gimp_statusbar_push_coords() and
	gimp_statusbar_push_length().

	* app/tools/gimpcolortool.c
	* app/tools/gimpeditselectiontool.c 
	* app/tools/gimpmovetool.c
	* app/tools/gimprectangletool.c: use the updated functions.

	* app/tools/gimpblendtool.c
	* app/tools/gimpcolorpickertool.c: added status bar messages.

svn path=/trunk/; revision=21745
2007-01-21 01:24:51 +00:00
Raphael Quinet 4292db181f pop the status bar message when the tool is halted. This fixes a bug that
2007-01-20  Raphael Quinet  <raphael@gimp.org>

	* app/tools/gimppainttool.c (gimp_paint_tool_control): pop the
	status bar message when the tool is halted.  This fixes a bug that
	was leaving messages in the status bar if the mouse pointer was in
	the image and the user switched to another tool with the keyboard.

svn path=/trunk/; revision=21744
2007-01-20 22:16:09 +00:00
Michael Natterer a4863593ec Close the display after "Save as" when invoked via the "Close Without
2007-01-20  Michael Natterer  <mitch@gimp.org>

	Close the display after "Save as" when invoked via the "Close
	Without Saving" dialog. Fixes bug #383700.

	* app/actions/actions-types.h: added enum GimpSaveMode { SAVE,
	SAVE_AS, SAVE_A_COPY, SAVE_AND_CLOSE }.

	* app/actions/file-actions.c: changed the 4 save actions into
	GimpEnumActions with above enum as values.

	* app/actions/file-commands.[ch]: merged the save callbacks into
	one and pass a "close_after_saving" boolean to
	file_save_dialog_show().

	* app/widgets/gimpfiledialog.[ch]: added "gboolean
	close_after_saving" parameter to gimp_file_dialog_set_image() and
	to the GimpFileDialog struct.

	* app/dialogs/file-save-dialog.c: if the file was saved
	successfully and close_after_saving is TRUE, close the display if
	the image has not become dirty again in the meantime.


svn path=/trunk/; revision=21743
2007-01-20 19:38:09 +00:00
Sven Neumann 5b45b7321f removed obsolete paragraph about authorsgen.
2007-01-20  Sven Neumann  <sven@gimp.org>

	* HACKING: removed obsolete paragraph about authorsgen.


svn path=/trunk/; revision=21742
2007-01-20 17:50:44 +00:00
Mukund Sivaraman 1a380bb917 Lowered required dbus-glib version from 0.71 to 0.70 to make it build with
2007-01-20  Mukund Sivaraman <muks@mukund.org>

        * configure.in: Lowered required dbus-glib version from 0.71 to
          0.70 to make it build with stock FC6 (tested to work properly).   


svn path=/trunk/; revision=21741
2007-01-20 11:15:55 +00:00
Mukund Sivaraman 6412fc8d8a autogen.sh Updated with Subversion instructions.
2007-01-20  Mukund Sivaraman <muks@mukund.org>

        * autogen.sh
        * README.i18n: Updated with Subversion instructions.


svn path=/trunk/; revision=21740
2007-01-20 07:38:52 +00:00
Mukund Sivaraman a28d39473c Updated with Subversion instructions.
2007-01-20  Mukund Sivaraman <muks@mukund.org>

        * HACKING: Updated with Subversion instructions.


svn path=/trunk/; revision=21739
2007-01-20 07:18:09 +00:00
Sven Neumann 8b405077c8 call gdk_notify_startup_complete() when we have delegated the work to
2007-01-19  Sven Neumann  <sven@gimp.org>

	* app/main.c: call gdk_notify_startup_complete() when we have
	delegated the work to another GIMP instance and are about to 
quit.


svn path=/trunk/; revision=21738
2007-01-19 19:21:18 +00:00
Sven Neumann bfd1dd5f07 INSTALL check for D-Bus GLib bindings.
2007-01-19  Sven Neumann  <sven@gimp.org>

	* INSTALL
	* configure.in: check for D-Bus GLib bindings.

	* app/Makefile.am
	* app/main.c: check if an interactive GIMP instance proposes
	itself on the D-Bus and delegate to it. Allow this behaviour to be
	overridden by using the --new-instance command-line option.

	* app/widgets/Makefile.am
	* app/widgets/gimpdbusservice.[ch]
	* app/widgets/dbus-service.xml: added an object that offers a
	D-Bus service.

	* app/gui/Makefile.am
	* app/gui/gui.c: connect to the D-Bus and export the GimpDBusService.


svn path=/trunk/; revision=21737
2007-01-19 14:50:13 +00:00
Sven Neumann 20b331da7f let the filename -> uri functions take a Gimp parameter instead of the
2007-01-19  Sven Neumann  <sven@gimp.org>

	* app/file/file-utils.[ch]: let the filename -> uri functions take
	a Gimp parameter instead of the list of load procedures.

	* app/core/gimpimage.c
	* app/app_procs.c
	* app/dialogs/file-open-location-dialog.c
	* tools/pdbgen/pdb/fileops.pdb: changed accordingly.

	* app/pdb/fileops_cmds.c: regenerated.

svn path=/trunk/; revision=21736
2007-01-19 11:48:48 +00:00