Commit graph

16559 commits

Author SHA1 Message Date
Michael Natterer dd1d749870 don't let named cut/copy affect the global buffer. Fixes bug #315225. Also
2005-09-05  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-edit.c: don't let named cut/copy affect the global
	buffer. Fixes bug #315225. Also make "Global Buffer" translatable.
2005-09-05 18:21:51 +00:00
Marco Ciampa ab3c6373f8 Updated italian trasnlation 2005-09-05 14:08:01 +00:00
Sven Neumann 4f8e69cf5d app/core/gimp.[ch] removed the confusing and redundant feature of having
2005-09-05  Sven Neumann  <sven@gimp.org>

        * app/core/gimp.[ch]
        * app/core/gimpimage-new.c: removed the confusing and redundant
        feature of having the New Image dialog default to the size of the
        global buffer. Please use Paste as New instead. Fixes bug #315106.
2005-09-05 10:52:48 +00:00
Sven Neumann 92f5a8b428 terminate variable argument list. Fixes bug #315255.
2005-09-05  Sven Neumann  <sven@gimp.org>

	* app/tools/gimprectangletool.c: terminate variable argument list.
	Fixes bug #315255.
2005-09-05 10:11:19 +00:00
Ankitkumar Rameshchandra Patel 70a691bddc Added Gujarati Translations 2005-09-05 04:16:30 +00:00
Michael Natterer a56d72c17e app/actions/edit-actions.c app/actions/edit-commands.[ch] applied modified
2005-09-05  Michael Natterer  <mitch@gimp.org>

	* app/actions/edit-actions.c
	* app/actions/edit-commands.[ch]
	* menus/image-menu.xml.in: applied modified patch from David
	Gowers which adds an "edit-named-copy-visible" actions and its
	menu item. Addresses bug #315130.
2005-09-05 00:37:25 +00:00
Karine Delvare 2ae7b62d70 evil => GIMP_MAX_IMAGE_SIZE.
2005-09-04  Karine Delvare  <kdelvare@nerim.net>

  * app/tools/gimprectangleoptions.c: evil => GIMP_MAX_IMAGE_SIZE.
2005-09-04 21:00:17 +00:00
Priit Laes 9c3d073d6d Translation updated by "Last-Translator: Olle Niit\n".
2005-09-04  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by "Last-Translator: Olle Niit\n".
2005-09-04 20:42:19 +00:00
Priit Laes a7cc2b8193 Translation updated by "Last-Translator: Olle Niit olle@paalalinn.com\n".
2005-09-04  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by "Last-Translator: Olle Niit olle@paalalinn.com\n".
2005-09-04 20:41:40 +00:00
Priit Laes 3e219f28cd Translation updated by Olle Niit.
2005-09-04  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Olle Niit.
2005-09-04 20:40:58 +00:00
Francisco Javier F. Serrador 1ca396802a Added Spanish translation.
2005-09-04  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Added Spanish translation.
2005-09-04 16:22:42 +00:00
Karine Delvare 0cd174e13b stay within image boundaries.
2005-09-04  Karine Delvare  <kdelvare@nerim.net>

  * app/tools/gimprectangletool.c: stay within image boundaries.
2005-09-04 14:52:40 +00:00
Michael Natterer dc5bfc3f60 added app/core/gimp-contexts.c
2005-09-04  Michael Natterer  <mitch@gimp.org>

	* POTFILES.in: added app/core/gimp-contexts.c
2005-09-04 10:45:31 +00:00
Michael Natterer 37354a9248 Cleaned up and fixed the order in which default tool options and user
2005-09-04  Michael Natterer  <mitch@gimp.org>

	Cleaned up and fixed the order in which default tool options and
	user context values are initialized, and added loading / saving of
	the global user context.  Fixes bug #165078.

	* app/core/Makefile.am
	* app/core/gimp-contexts.[ch]: new files which manage the global
	contexts. Contains gimp_contexts_init/exit/load/save/clear().

	* app/core/gimp.c: use the new init/exit functions instead of
	implementing the stuff here.

	* app/tools/gimp-tools.c: load/save/clear the user context from
	here so it follows the same logic as the tool options. Reset all
	tool options before loading the user context and copy the user
	context's property to all tool options before loading tool
	options.

	* app/core/gimptoolinfo.c (gimp_tool_info_new): don't initialize
	the tool options with the users context's properties. It's way too
	early here and they will be overwritten later.

	* app/widgets/gimpdevices.c (gimp_devices_restore): initialize all
	device contexts with the user context's properties before loading
	the devices and copying the active one back to the user context.
2005-09-04 10:44:04 +00:00
Sven Neumann 2a1805b3b4 plug-ins/script-fu/scripts/coffee.scm
2005-09-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/coffee.scm
	* plug-ins/script-fu/scripts/fade-outline.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/select-to-pattern.scm: string fixes as
	pointed out in bug #315211.
2005-09-04 10:22:58 +00:00
Ignacio Casal Quinteiro e1a738be37 *** empty log message *** 2005-09-04 09:09:31 +00:00
Clytie Siddall d83dbbeaed vi.po: Updated Vietnamese translation. 2005-09-04 08:57:27 +00:00
Michael Natterer 874c832a8c do new_size calculation only when needed.
2005-09-03  Michael Natterer  <mitch@gimp.org>

	* app/base/temp-buf.c (temp_buf_resize): do new_size calculation
	only when needed.
2005-09-03 21:56:07 +00:00
Michael Natterer 8dcebeaa7a replaced manual calculation of the offset of a pixel in a tile (marked as
2005-09-03  Michael Natterer  <mitch@gimp.org>

	* app/paint/gimppaintcore.c (gimp_paint_core_get_orig_image)
	(gimp_paint_core_get_orig_proj): replaced manual calculation of
	the offset of a pixel in a tile (marked as /* dubious... */ for a
	reason) by simply using the offset parameters of tile_data_pointer().
2005-09-03 20:39:17 +00:00
Karine Delvare b94ecff556 app/tools/gimprectangletool.[ch] code cleanup, replace virtualization
2005-09-03  Karine Delvare  <kdelvare@nerim.net>

  * app/tools/gimprectangletool.[ch]
  * app/tools/gimprectangleoptions.[ch]: code cleanup, replace
  virtualization functions with interface properties.

  * app/tools/gimpcroptool.[ch]
  * app/tools/gimpnewrectselecttool.[ch]
  * app/tools/gimpcropoptions.[ch]
  * app/tools/gimpnewrectselectoptions.[ch]: code cleanup, use said
  interface properties.
2005-09-03 19:48:22 +00:00
Michael Natterer 34975e19b2 s/row_stride/rowstride/g.
2005-09-03  Michael Natterer  <mitch@gimp.org>

	* app/base/pixel-surround.c: s/row_stride/rowstride/g.
2005-09-03 19:03:53 +00:00
Michael Natterer 09454fb2a4 some general cleanup.
2005-09-03  Michael Natterer  <mitch@gimp.org>

	* app/base/pixel-region.[ch]: some general cleanup.

	(pixel_region_init_temp_buf)
	(pixel_region_init_data): new functions which initialize pixel
	regions on TempBufs and on raw contiguous arrays of pixel data.

	(pixel_region_configure): fixed a bug that has probably been there
	forever: when processing contiguous (non-tiled) data, interpret
	the original x and y coordinates of the region as offsets into
	the data. Before this fix, the initial x and y were simply ignored
	(by using them in a broken way), thus always forcing the upper
	left corner of the region being the beginning of the passed data.

	Lots of code was working around this problem by setting the
	pixel_region's data pointer to the proper starting pixel of the
	region in the middle the buffer.

	* libgimp/gimppixelrgn.c: some general cleanup.

	(gimp_pixel_rgn_configure): same fix as above. Fortunately, nobody
	seems to know that libgimp pixel regions can be used on arrays of
	data, just as core ones. Only two plug-ins were using this
	feature, and they are antique and written by spencer and federico,
	respectively. They both don't use offsets into the buffers and are
	not affected by this change. It's highly unlikely that anybody out
	there knows/uses this feature, so it can IMHO be safely changed.

	* app/base/temp-buf.c
	* app/core/gimpbuffer.c
	* app/core/gimpdrawable-combine.c
	* app/core/gimpdrawable-preview.c
	* app/core/gimpimage-preview.c
	* app/core/gimplayer.c
	* app/paint/gimpbrushcore.c
	* app/paint/gimpclone.c
	* app/paint/gimpconvolve.c
	* app/paint/gimpdodgeburn.c
	* app/paint/gimppaintcore.c
	* app/paint/gimpsmudge.c
	* app/tools/gimpiscissorstool.c
	* app/tools/gimppainttool.c: use the pixel_region_init_foo()
	functions instead of initializing regions of TempBufs and raw data
	manually. Removed lots of workarounds for the broken offset
	handling. The changed places of code are much more readable now.
2005-09-03 17:16:58 +00:00
Sven Neumann 760a2eca2d app/tools/gimpcolorbalancetool.c app/tools/gimphuesaturationtool.c minor
2005-09-03  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcolorbalancetool.c
	* app/tools/gimphuesaturationtool.c
	* app/tools/gimptextoptions.c: minor strings changes.
2005-09-03 16:01:15 +00:00
Seth Burgess c8c6145509 Make color correction tools more responsive. 2005-09-03 15:45:04 +00:00
Sven Neumann bf6ed418b6 added new functions.
2005-09-03  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-sections.txt: added new functions.

	* libgimp/tmpl/gimpedit.sgml: regenerated.
2005-09-03 14:13:58 +00:00
Michael Natterer 89bb3fffa1 don't create a display here.
2005-09-03  Michael Natterer  <mitch@gimp.org>

	* app/core/gimp-edit.[ch] (gimp_edit_paste_as_new): don't create a
	display here.

	(gimp_edit_named_cut)
	(gimp_edit_named_copy)
	(gimp_edit_named_copy_visible): new functions containing named
	buffer wrappers around the functions affecting the global buffer
	only.

	* app/actions/edit-commands.c: use the new functions instead of
	implementing them here, create a display for the image returned
	by paste as new.

	* app/actions/buffers-commands.c
	* app/widgets/gimptoolbox-dnd.c: create displays here too.

	* tools/pdbgen/pdb/edit.pdb: added wrappers for paste as new and
	wrappers for all the cut/copy/paste named stuff.
	Fixes bug #315130. Cleaned up and de-obfuscated.

	* libgimp/gimp.def: changed accordingly.

	* app/pdb/edit_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpedit_pdb.[ch]: regenerated.
2005-09-02 22:50:06 +00:00
Sven Neumann 5f2904f9c5 app/widgets/gimpcontainergridview.c allow to popup menus on empty
2005-09-02  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainergridview.c
	* app/widgets/gimpcontainertreeview.c: allow to popup menus on
	empty container views using the standard Shift-F10 keybinding.
2005-09-02 21:56:20 +00:00
Sven Neumann b1feae9099 applied patch that fixes a build issue on Cygwin (bug #314893).
2005-09-02  Sven Neumann  <sven@gimp.org>

	* modules/Makefile.am: applied patch that fixes a build issue on
	Cygwin (bug #314893).
2005-09-02 19:57:44 +00:00
Sven Neumann 32d5c88977 app/tools/gimptextoptions.c dropped the labels from text tool options that
2005-09-02  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptextoptions.c
	* app/widgets/gimpwidgets-utils.[ch]: dropped the labels from text
	tool options that have icons. Reduces visual clutter.
2005-09-02 17:22:29 +00:00
Sven Neumann c482da6774 draw guides over the grid.
2005-09-02  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_canvas_expose): draw guides over the grid.
2005-09-02 16:26:56 +00:00
Michael Natterer 93c5843f00 don't quit the main loop after transferring the data to GTK, it needs a
2005-09-02  Michael Natterer  <mitch@gimp.org>

	* tools/test-clipboard.c (test_clipboard_copy_callback): don't
	quit the main loop after transferring the data to GTK, it needs a
	running main loop to get the chunks tranferred to X.
2005-09-02 14:04:38 +00:00
Sven Neumann b98c560f7a app/dialogs/convert-dialog.c app/dialogs/image-merge-layers-dialog.c
2005-09-02  Sven Neumann  <sven@gimp.org>

	* app/dialogs/convert-dialog.c
	* app/dialogs/image-merge-layers-dialog.c
	* app/dialogs/layer-add-mask-dialog.c
	* app/dialogs/offset-dialog.c: use verbs instead of "OK" in the
	confirmative dialog button.
2005-09-02 12:09:32 +00:00
Sven Neumann 2fb4aa2603 AUTHORS regenerated.
2005-09-02  Sven Neumann  <sven@gimp.org>

	* AUTHORS
	* app/dialogs/authors.h: regenerated.
2005-09-02 11:14:40 +00:00
Sven Neumann 1a7beee00c plug-ins/bmp/bmpwrite.c plug-ins/common/aa.c plug-ins/common/csource.c
2005-09-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpwrite.c
	* plug-ins/common/aa.c
	* plug-ins/common/csource.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gif.c
	* plug-ins/common/gih.c
	* plug-ins/common/gtm.c
	* plug-ins/common/mail.c
	* plug-ins/common/mng.c
	* plug-ins/common/pat.c
	* plug-ins/common/png.c
	* plug-ins/common/pnm.c
	* plug-ins/common/postscript.c
	* plug-ins/common/psp.c
	* plug-ins/common/raw.c
	* plug-ins/common/sunras.c
	* plug-ins/common/svg.c
	* plug-ins/common/tga.c
	* plug-ins/common/tiff.c
	* plug-ins/common/xbm.c
	* plug-ins/common/xpm.c
	* plug-ins/fits/fits.c
	* plug-ins/gfli/gfli.c
	* plug-ins/jpeg/jpeg-save.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/sgi/sgi.c
	* plug-ins/winicon/icodialog.c
	* plug-ins/xjt/xjt.c: use verbs instead of "OK" in the
	confirmative dialog button.
2005-09-02 11:09:03 +00:00
Tor Lillqvist 9f50501307 Mark people as documenter or artist, based on ChangeLogs and other
2005-09-02  Tor Lillqvist  <tml@novell.com>

	* authors.xml: Mark people as documenter or artist, based on
	ChangeLogs and other information. Remove translator names, they
	are in the respective .po files.
2005-09-02 11:01:51 +00:00
Sven Neumann c0de2b7668 plug-ins/jpeg/jpeg-load.c (load_image) removed tile cache again, it
2005-09-02  Sven Neumann  <sven@gimp.org>

	* plug-ins/jpeg/jpeg-load.c (load_image)
	* plug-ins/jpeg/jpeg-save.c (save_image): removed tile cache again,
	it doesn't help for the way the plug-in accesses the pixels.
2005-09-02 10:06:38 +00:00
Sven Neumann f4e2ea30d8 reverted, it duplicates existing functionality.
2005-09-01  Sven Neumann  <neumann@jpk.com>

	* app/core/gimppalette.[ch]: reverted, it duplicates existing
	functionality.

	* app/core/gimppalette-import.c
	(gimp_palette_import_from_indexed_image): name the colors using
	their index in the colormap.
2005-09-01 18:06:21 +00:00
Sven Neumann cf538a33c2 added gimp_palette_new_from_colormap().
2005-09-01  Sven Neumann  <sven@gimp.org>

	* app/core/gimppalette.[ch]: added gimp_palette_new_from_colormap().
2005-09-01 17:18:26 +00:00
Sven Neumann 0b1a148b9c app/dialogs/quit-dialog.c use ngettext() for plural forms (bug #314764).
2005-09-01  Sven Neumann  <sven@gimp.org>

	* app/dialogs/quit-dialog.c
	* libgimp/gimpprocbrowserdialog.c: use ngettext() for plural forms
	(bug #314764).
2005-09-01 16:35:49 +00:00
Clytie Siddall b6b5adac45 vi.po: Updated Vietnamese translation. 2005-09-01 05:28:10 +00:00
Adam Weinberger cb20509c3e Updated Canadian English translation.
2005-08-31  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-08-31 21:24:35 +00:00
Clytie Siddall 3e4c084371 vi.po: Updated Vietnamese translation. 2005-08-31 12:36:23 +00:00
Sven Neumann 449c40733e improved documentation.
2005-08-31  Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.c (gimp_run_procedure2, gimp_run_procedure):
	improved documentation.
2005-08-31 10:57:23 +00:00
Michael Natterer 6ff738eccf added optional size group parameter and add the icon to the group.
2005-08-31  Michael Natterer  <mitch@gimp.org>

	* app/dialogs/preferences-dialog.c
	(prefs_check_button_add_with_icon): added optional size group
	parameter and add the icon to the group.

	(prefs_dialog_new): align the icons on the tool options and
	toolbox pages.
2005-08-30 23:54:17 +00:00
Clytie Siddall bf29e3bb4a vi.po: Updated Vietnamese translation. 2005-08-30 08:16:11 +00:00
Michael Natterer c32827a786 The previous commit added tons of code just to completely break clone
2005-08-29  Michael Natterer  <mitch@gimp.org>

	The previous commit added tons of code just to completely break
	clone align behavior. Reverted lots of the changes and do the
	sample-merged stuff at the innermost place (gimp_clone_motion).
	This change also enables changing sample-merged between paint
	strokes.

	* app/paint/gimpclone.[ch] (struct GimpClone): changed member
	"src_pickable" back to "src_drawable".

	(gimp_clone_paint): completely reverted.

	(gimp_clone_motion): do the drawable/projection -> pickable
	stuff and drawable offset handling here.

	Fixed signal handling to connect to the drawable's "removed"
	signal (not "disconnect", eek). Disconnect from the signal once
	the drawable has been removed.

	* app/tools/gimpclonetool.c: changed accordingly.
2005-08-29 20:48:26 +00:00
Michael Natterer 3426f7a90b added toggles which allow to always use the frame delay and disposal
2005-08-29  Michael Natterer  <mitch@gimp.org>

	* plug-ins/common/gif.c: added toggles which allow to always use
	the frame delay and disposal entered in the dialog, overriding the
	ones specified in the layer names. Fixes bug #314726. Also fixed
	missing and non-working mnemonics.
2005-08-29 18:45:02 +00:00
Karine Delvare 0df9d1cdd1 fix canceling the tool.
2005-08-29  Karine Delvare  <kdelvare@nerim.net>

  * app/tools/gimprectangletool.c: fix canceling the tool.
2005-08-29 17:49:16 +00:00
Sven Neumann ad8929028e retitled dialog to "Import from PDF" and changed the confirmative button
2005-08-29  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/poppler.c: retitled dialog to "Import from PDF"
	and changed the confirmative button label to "Import".
2005-08-29 08:16:25 +00:00
Michael Natterer 700c111695 Correction in last entry. 2005-08-28 21:49:32 +00:00