Commit Graph

19592 Commits

Author SHA1 Message Date
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
Sven Neumann d4249a1038 app/app_procs.c moved code from app_procs.c to file-utils.
2007-01-19  Sven Neumann  <sven@gimp.org>

	* app/app_procs.c
	* app/file/file-utils.[ch]: moved code from app_procs.c to file-utils.


svn path=/trunk/; revision=21735
2007-01-19 11:33:45 +00:00
Raphael Quinet ed5a568581 app/tools/gimpiscissorstool.h Added some status bar messages. Use
2007-01-19  Raphael Quinet  <raphael@gimp.org>

	* app/tools/gimpiscissorstool.h
	* app/tools/gimpiscissorstool.c: Added some status bar messages.
	Use ISCISSORS_OP_CONNECT to let the user know when the cursor is
	above the first point and the user can connect and close the
	curve.  Allow the user to press Enter or Escape to confirm the
	selection or cancel the tool.  Fixes bug #398309.

svn path=/trunk/; revision=21734
2007-01-19 09:32:35 +00:00
Michael Natterer 6c2ae95423 minor updates.
2007-01-18  Michael Natterer  <mitch@gimp.org>

	* de.po: minor updates.


svn path=/trunk/; revision=21733
2007-01-18 22:32:56 +00:00
Michael Natterer b2c47361ec regenerated.
2007-01-18  Michael Natterer  <mitch@gimp.org>

	* app/pdb/color_cmds.c: regenerated.


svn path=/trunk/; revision=21732
2007-01-18 22:10:27 +00:00
Kevin Cozens ede636557a allow low value to be equal to the high value for PDB call to
2007-01-18  Kevin Cozens  <kcozens@cvs.gnome.org>

	* tools/pdbgen/pdb/color.pdb: allow low value to be equal to the high
	value for PDB call to gimp-threshold. From a patch by Dave Gowers.
	Fixes bug #397903.

svn path=/trunk/; revision=21731
2007-01-18 19:35:49 +00:00
Ilkka Tuohela fbe2466dc7 Updated Finnish translation
svn path=/trunk/; revision=21730
2007-01-18 15:31:35 +00:00
Sven Neumann 3dfb169691 check data before accessing it to avoid crashing while the dialog is being
2007-01-17  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c (bender_type_callback): check data
	before accessing it to avoid crashing while the dialog is being
	constructed. Fixes bug #395798.


svn path=/trunk/; revision=21729
2007-01-17 11:35:56 +00:00
Marco Ciampa f1e1b177c9 Updated italian translation
svn path=/trunk/; revision=21728
2007-01-17 09:15:45 +00:00
Marco Ciampa 4655314dfa Small fix in it.po
svn path=/trunk/; revision=21727
2007-01-17 08:51:56 +00:00
Marco Ciampa a4aa188d77 Small fix in italian translation of it.po
svn path=/trunk/; revision=21726
2007-01-16 22:31:55 +00:00
Hendrik Richter 36340ee8f8 Updated German translation, fix #392051.
2007-01-16  Hendrik Richter  <hendrikr@gnome.org>

	* de.po: Updated German translation, fix #392051.

svn path=/trunk/; revision=21725
2007-01-16 20:42:25 +00:00
Sven Neumann 2702869799 use the toplevel widget as transient parent.
2007-01-16  Sven Neumann  <sven@gimp.org>

	* app/actions/file-commands.c (file_open_dialog_show): use the
	toplevel widget as transient parent.


svn path=/trunk/; revision=21724
2007-01-16 12:55:00 +00:00
Sven Neumann 7570bf60ee use GTK_RESPONSE_ACCEPT to make it work properly with
2007-01-16  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpprofilechooserdialog.c: use GTK_RESPONSE_ACCEPT
	to make it work properly with GtkFileChooserButton.


svn path=/trunk/; revision=21723
2007-01-16 10:21:00 +00:00
Sven Neumann 7f7d4366a0 include *.icm files in the filter. Add a shortcut to the systemwide color
2007-01-16  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpprofilechooserdialog.c: include *.icm files in
	the filter. Add a shortcut to the systemwide color profile 
folder.


svn path=/trunk/; revision=21722
2007-01-16 08:02:30 +00:00
Michael Natterer e0a86bdf05 fixed comment.
2007-01-16  Michael Natterer  <mitch@gimp.org>

	* app/plug-in/gimpplugin-message.c (gimp_plug_in_handle_proc_run):
	fixed comment.


svn path=/trunk/; revision=21721
2007-01-15 23:01:55 +00:00
Michael Natterer 3fb0096e62 add support for non-tiled regions.
2007-01-15  Michael Natterer  <mitch@gimp.org>

	* app/base/pixel-region.c (pixel_region_set,get_row): add support
	for non-tiled regions.

	* app/paint/gimpperspectiveclone.[ch]: replace handmade
	transformation code by a call to gimp_transform_region(). Fix
	getting the original pixels for src_pickable != dest_drawable
	(bug #394610). Various small fixes and cleanups.


svn path=/trunk/; revision=21720
2007-01-15 21:54:51 +00:00
Hans Breuer 74813d3f5a define YY_NO_UNISTD_H to compile imagemap (from bison 2.3) with msvc/win32
2007-01-15  Hans Breuer  <hans@breuer.org>

	* plug-ins/makefile.msc : define YY_NO_UNISTD_H to compile
	imagemap (from bison 2.3) with msvc/win32


svn path=/trunk/; revision=21719
2007-01-15 21:24:28 +00:00
Sven Neumann b256ea88f7 removed pointless call to gimp_help_set_help_data()
svn path=/trunk/; revision=21718
2007-01-15 20:48:12 +00:00
Sven Neumann eecf688e74 ellipsize the image name displayed below the thumbnail.
2007-01-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-exif.c (jpeg_exif_rotate_query): ellipsize
	the image name displayed below the thumbnail.


svn path=/trunk/; revision=21717
2007-01-15 20:11:50 +00:00
Sven Neumann 00268bb37a app/actions/file-commands.[ch] app/actions/file-actions.c removed
2007-01-15  Sven Neumann  <sven@gimp.org>

	* app/actions/file-commands.[ch]
	* app/actions/file-actions.c
	* menus/image-menu.xml.in: removed "file-open-from-image" action
	and simply use "file-open-image" from both File menus. Makes the
	behavior more predictable and removes unneeded complexity.


svn path=/trunk/; revision=21716
2007-01-15 19:48:36 +00:00
Sven Neumann c91cd3235c updated
svn path=/trunk/; revision=21715
2007-01-15 15:37:01 +00:00
Sven Neumann 87bbb162f9 round up to full hours for time periods over two hours.
2007-01-15  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-close.c (gimp_time_since): round up
	to full hours for time periods over two hours.


svn path=/trunk/; revision=21714
2007-01-15 13:34:36 +00:00
Jakub Friedl a5a99d055c Updated Czech translation.
2007-01-15  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Updated Czech translation.



svn path=/trunk/; revision=21713
2007-01-15 11:02:16 +00:00
Jakub Friedl 7e4f28e899 updated Czech translation
2007-01-15  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: updated Czech translation


svn path=/trunk/; revision=21712
2007-01-15 10:44:55 +00:00
Sven Neumann a168e833f2 cleaned up sanity checks and handling of undo groups. Fixes bug #395798.
2007-01-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c: cleaned up sanity checks and
	handling of undo groups. Fixes bug #395798.


svn path=/trunk/; revision=21711
2007-01-15 10:35:58 +00:00
Sven Neumann ac2ee350d3 plug-ins/imagemap/imap_csim_lex.c plug-ins/imagemap/imap_ncsa_parse.[ch]
2007-01-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/imagemap/imap_csim_lex.c
	* plug-ins/imagemap/imap_ncsa_parse.[ch]
	* plug-ins/imagemap/imap_ncsa_lex.c
	* plug-ins/imagemap/imap_cern_lex.c
	* plug-ins/imagemap/imap_csim_parse.[ch]
	* plug-ins/imagemap/imap_cern_parse.[ch]: regenerated using GNU
	Bison 2.3.  Should fix bug #396261.


svn path=/trunk/; revision=21710
2007-01-15 10:09:42 +00:00
Sven Neumann 6a6d5e2cf7 use ngettext() for the close dialog. Fixes bug #396513.
2007-01-15  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-close.c: use ngettext() for the
	close dialog. Fixes bug #396513.


svn path=/trunk/; revision=21709
2007-01-15 10:03:18 +00:00
Ole Laursen 56db462ee7 Partially updated Danish translation.
2007-01-14  Ole Laursen  <olau@hardworking.dk>

	* da.po: Partially updated Danish translation.


svn path=/trunk/; revision=21708
2007-01-14 17:24:13 +00:00
Hans Breuer b2ebab0b29 to make it compile with msvc redefine stricmp after including <string.h>
2007-01-14  Hans Breuer  <hans@breuer.org>

        * plug-ins/script-fu/tinyscheme/scheme.[ch] : to make it compile with
        msvc redefine stricmp after including <string.h> and protect gccism
        #warning with #ifdef __GNUC__, also some more exports
	* plug-ins/script-fu/scheme-wrapper.c : simple 'extern' does not work
	to get variables across modules boundaries for msvc, use SCHEME_EXPORT
	Together fixes bug #396268


svn path=/trunk/; revision=21707
2007-01-14 13:57:59 +00:00
Ole Laursen 74e189e9c7 Partially updated Danish translation.
2007-01-14  Ole Laursen  <olau@hardworking.dk>

	* da.po: Partially updated Danish translation.


svn path=/trunk/; revision=21706
2007-01-14 12:12:10 +00:00
Hans Breuer f8d14112c4 updated #include "file/file-utils.h" for file_utils_uri_display_name
2007-01-13  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc app/gimpcore.def : updated
	* app/display/gimpdisplay-handlers.c : #include "file/file-utils.h"
	for file_utils_uri_display_name
	* plug-ins/imagemap/imap_statusbar.c : g_snprintf instead of snprintf


svn path=/trunk/; revision=21705
2007-01-13 22:41:21 +00:00
Žygimantas Beručka cf2b29b212 Updated Lithuanian translation.
svn path=/trunk/; revision=21704
2007-01-13 21:08:57 +00:00
Sven Neumann 64510e99bc plug-ins/common/displace.c plug-ins/common/tileit.c fixed typos (bug
2007-01-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/displace.c
	* plug-ins/common/tileit.c
	* plug-ins/script-fu/scripts/news-text.scm: fixed typos (bug 
#396169).


svn path=/trunk/; revision=21703
2007-01-13 17:29:54 +00:00
Sven Neumann 50103f6ee3 implement GimpPreview's transform() and untransform() methods.
2007-01-13  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpaspectpreview.c: implement GimpPreview's 
transform()
	and untransform() methods.


svn path=/trunk/; revision=21702
2007-01-13 17:25:49 +00:00
Sven Neumann fa8e72ba1d app/widgets/gimpfiledialog.c save some string copies by changing
2007-01-13  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpfiledialog.c
	* app/widgets/gimpthumbbox.[ch]: save some string copies by
	changing gimp_thumb_box_set_uri() to gimp_thumb_box_take_uri().


svn path=/trunk/; revision=21701
2007-01-13 16:56:30 +00:00
Sven Neumann 0130da6786 plug-ins/common/compose.c applied patch from Robert Krawitz that adds HSL
2007-01-12  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/compose.c
	* plug-ins/common/decompose.c: applied patch from Robert Krawitz
	that adds HSL support (bug #395928).


svn path=/trunk/; revision=21700
2007-01-12 22:53:20 +00:00
Michael Natterer 55b0c9abf0 renamed gimp_anchor_duplicate() to gimp_anchor_copy().
2007-01-12  Michael Natterer  <mitch@gimp.org>

	* app/vectors/gimpanchor.[ch]: renamed gimp_anchor_duplicate()
	to gimp_anchor_copy().

	* app/vectors/gimpstroke.c (gimp_stroke_real_duplicate): changed
	accordingly.


svn path=/trunk/; revision=21699
2007-01-12 20:31:27 +00:00
Michael Natterer 09f47a0aec register GIMP_TYPE_DASH_PATTERN as boxed type. Added "new" to function
2007-01-12  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdashpattern.[ch]: register GIMP_TYPE_DASH_PATTERN
	as boxed type. Added "new" to function names which create dash
	patterns. Changed and renamed GValue functions to functions which
	convert the dash pattern between GArray and GValueArray.

	* app/core/gimpstrokeoptions.c
	* app/widgets/gimpcellrendererdashes.c
	* app/widgets/gimpstrokeeditor.c: changed accordingly.

	* app/widgets/gimpdasheditor.c: ditto. Get rid of the recently
	added manual memory management. The list store manages boxed types
	all by itself.


svn path=/trunk/; revision=21698
2007-01-12 20:27:40 +00:00
Sven Neumann 517b0c35ab tools/pdbgen/pdb/display.pdb tools/pdbgen/pdb/drawable.pdb
2007-01-12  Sven Neumann  <sven@gimp.org>

	* tools/pdbgen/pdb/display.pdb
	* tools/pdbgen/pdb/drawable.pdb
	* tools/pdbgen/pdb/image.pdb
	* tools/pdbgen/pdb/vectors.pdb: added PDB functions to validate
	display, drawable, image and vectors IDs.

	* app/pdb/image_cmds.c
	* app/pdb/vectors_cmds.c
	* app/pdb/display_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/drawable_cmds.c
	* libgimp/gimpimage_pdb.[ch]
	* libgimp/gimpdisplay_pdb.[ch]
	* libgimp/gimpdrawable_pdb.[ch]
	* libgimp/gimpvectors_pdb.[ch]: regenerated.

	* libgimp/gimp.def: updated.


svn path=/trunk/; revision=21697
2007-01-12 19:59:36 +00:00
Sven Neumann 1018f0b02f removed the private data and the constructor method
svn path=/trunk/; revision=21696
2007-01-12 15:30:49 +00:00
Sven Neumann 40d044766b added a construct-only property to specify the enum-type.
2007-01-12  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpenumstore.c: added a construct-only property
	to specify the enum-type.


svn path=/trunk/; revision=21695
2007-01-12 15:15:42 +00:00
Sven Neumann c1ffb83357 updated copyright.
2007-01-12  Sven Neumann  <sven@gimp.org>

	* app/about.h (GIMP_COPYRIGHT): updated copyright.

	* app/main.c: use application name as summary in the help output.


svn path=/trunk/; revision=21694
2007-01-12 14:46:30 +00:00