Commit graph

24857 commits

Author SHA1 Message Date
Takeshi AIHANA dad20777e4 Updated Japanese translation by Kiyotaka Nishibori.
2009-01-04  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation by
                 Kiyotaka Nishibori.

svn path=/trunk/; revision=27887
2009-01-04 10:56:17 +00:00
Takeshi AIHANA 5ae7812c3a Updated Japanese translation by Kiyotaka Nishibori.
2009-01-04  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation by
                 Kiyotaka Nishibori.

svn path=/trunk/; revision=27886
2009-01-04 10:55:02 +00:00
Takeshi AIHANA 2dc9d42c6b Updated Japanese translation by Kiyotaka Nishibori.
2009-01-04  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation by
                 Kiyotaka Nishibori.

svn path=/trunk/; revision=27885
2009-01-04 10:53:41 +00:00
Takeshi AIHANA af334fd43e Updated Japanese translation by Kiyotaka Nishibori.
2009-01-04  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation by
                 Kiyotaka Nishibori.

svn path=/trunk/; revision=27884
2009-01-04 10:52:14 +00:00
Takeshi AIHANA 367a2c7e15 Updated Japanese translation by Kiyotaka Nishibori.
2009-01-04  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation by
                 Kiyotaka Nishibori.

svn path=/trunk/; revision=27883
2009-01-04 10:50:51 +00:00
Martin Nordholts 254ce98ae8 formating
svn path=/trunk/; revision=27882
2009-01-04 10:32:38 +00:00
Martin Nordholts 7c96452329 Make instance members private.
* app/widgets/gimpdock.[ch]: Make instance members private.

(gimp_dock_get_context)
(gimp_dock_get_dialog_factory)
(gimp_dock_get_dockbooks)
(gimp_dock_get_main_vbox)
(gimp_dock_get_vbox)
(gimp_dock_get_id): New getters.

* app/actions/actions.c
* app/actions/dockable-actions.c
* app/actions/dockable-commands.c
* app/actions/windows-actions.c
* app/menus/windows-menu.c
* app/widgets/gimpdialogfactory.c
* app/widgets/gimpdock.c
* app/widgets/gimpdock.h
* app/widgets/gimpdockable.c
* app/widgets/gimpdockbook.c
* app/widgets/gimpdockseparator.c
* app/widgets/gimpimagedock.c
* app/widgets/gimpmenudock.c
* app/widgets/gimpsessioninfo-book.c
* app/widgets/gimpsessioninfo-dock.c
* app/widgets/gimpsessioninfo-dockable.c
* app/widgets/gimptoolbox-color-area.c
* app/widgets/gimptoolbox-dnd.c
* app/widgets/gimptoolbox-image-area.c
* app/widgets/gimptoolbox-indicator-area.c
* app/widgets/gimptoolbox.c: Use new getters.

svn path=/trunk/; revision=27881
2009-01-04 10:28:31 +00:00
Martin Nordholts dff24a3d98 Format static function prototypes.
* app/widgets/gimpcontainertreeview.c: Format static function
prototypes.

svn path=/trunk/; revision=27880
2009-01-03 22:27:30 +00:00
Priit Laes cb429bcb2e Translation updated by Mattias Põldaru
2009-01-03  Priit Laes  <plaes at svn dot gnome dot org>

	* et.po: Translation updated by Mattias Põldaru

svn path=/trunk/; revision=27879
2009-01-03 12:43:58 +00:00
Sven Neumann 6ee74726a2 removed unused include.
2009-01-01  Sven Neumann  <sven@gimp.org>

	* app/tools/gimptexttool.c: removed unused include.


svn path=/trunk/; revision=27873
2009-01-01 17:00:39 +00:00
Sven Neumann f8b964bf2d Bug 565112 – code duplication in app/core/gimpimage-snap.c
2009-01-01  Sven Neumann  <sven@gimp.org>

	Bug 565112 – code duplication in app/core/gimpimage-snap.c

	* app/core/gimpimage-snap.c: based on a patch from Daniel 
Hornung,
	add the utility function gimp_image_snap_distance().


svn path=/trunk/; revision=27869
2009-01-01 14:34:21 +00:00
Sven Neumann b024d2314b Happy New Year!
2009-01-01  Sven Neumann  <sven@gimp.org>

	* app/about.h (GIMP_COPYRIGHT): Happy New Year!


svn path=/trunk/; revision=27868
2009-01-01 14:02:11 +00:00
Sven Neumann 45387a3900 Bug 565223 – Perspective transformation jagged edges / comb effect
2009-01-01  Sven Neumann  <sven@gimp.org>

	Bug 565223 – Perspective transformation jagged edges / comb effect

	* app/core/gimp-transform-region.c: reverted the code change, but
	not the cleanups, from commit r26786.


svn path=/trunk/; revision=27866
2009-01-01 13:56:37 +00:00
Sven Neumann 2d2aec81b9 another small formatting cleanup
svn path=/trunk/; revision=27863
2008-12-31 00:25:20 +00:00
Sven Neumann 92c3a41e44 updated German translation.
2008-12-31  Sven Neumann  <sven@gimp.org>

	* de.po: updated German translation.


svn path=/trunk/; revision=27862
2008-12-31 00:03:36 +00:00
Sven Neumann d9d657ca19 added GimpTagEntryMode.
2008-12-31  Sven Neumann  <sven@gimp.org>

	* app/widgets/widgets-enums.[ch]: added GimpTagEntryMode.

	* app/widgets/gimptagentry.[ch]: removed it here. Also did some
	code cleanup, mostly formatting.

	* app/widgets/gimpcombotagentry.[ch]
	* app/widgets/gimptagpopup.[ch]: some code cleanup, mostly
	formatting.


svn path=/trunk/; revision=27861
2008-12-31 00:01:24 +00:00
Sven Neumann cf0aee5adb deleted trailing whitespace.
2008-12-30  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpitemtreeview.h: deleted trailing whitespace.


svn path=/trunk/; revision=27860
2008-12-30 23:25:07 +00:00
Sven Neumann 8ae65ad5a3 plug-ins/print/print.[ch] plug-ins/print/print-draw-page.c
2008-12-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print.[ch]
	* plug-ins/print/print-draw-page.c
	* plug-ins/print/print-page-layout.c
	* plug-ins/print/print-settings.c: optionally draw crop-marks.


svn path=/trunk/; revision=27859
2008-12-30 21:36:04 +00:00
Sven Neumann 012b46e427 cleanup
svn path=/trunk/; revision=27857
2008-12-30 11:37:45 +00:00
Marco Ciampa b5d03b3948 app/actions/error-console-actions.c updated italian translation and small
2008-12-30  Marco Ciampa  <ciampix@libero.it>

	* app/actions/error-console-actions.c
	* po/it.po: updated italian translation and small typo fix.


svn path=/trunk/; revision=27856
2008-12-30 11:23:30 +00:00
Alexandre Prokoudine 2578a3d87f updated Russian translation
svn path=/trunk/; revision=27853
2008-12-28 23:10:00 +00:00
Duarte Loreto 057a94f5bf Updated Portuguese translation by Bruno Queiros
2008-12-28  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation by Bruno Queiros
	<brunoqueiros@portugalmail.com>.

svn path=/trunk/; revision=27850
2008-12-28 17:18:04 +00:00
Duarte Loreto 28f8a72512 Updated Portuguese translation by Bruno Queiros
2008-12-28  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation by Bruno Queiros
	<brunoqueiros@portugalmail.com>.

svn path=/trunk/; revision=27849
2008-12-28 17:10:33 +00:00
Martin Nordholts de38a9887b New offset getters for inline use.
* app/core/gimpitem.c
(gimp_item_get_offset_x)
(gimp_item_get_offset_y): New offset getters for inline use.

* app/core/gimpchannel.c
* app/core/gimpdrawable.c
* app/core/gimpimage-merge.c
* app/core/gimpimage-resize.c
* app/tools/gimptexttool.c: Don't access GimpItem offset members
directly, use gimp_item_set_offset() and
gimp_item_get_offset_[xy]() instead.

svn path=/trunk/; revision=27848
2008-12-28 12:43:07 +00:00
Sven Neumann 28237630eb Bug 563985 – jpg save dialog: "cancel" is treated like "commit" for
2008-12-28  Sven Neumann  <sven@gimp.org>

	Bug 563985 – jpg save dialog: "cancel" is treated like "commit"
	for settings

	* plug-ins/file-jpeg/jpeg.c (run): only attach the comment and
	settings to the image if the save was successful.


svn path=/trunk/; revision=27843
2008-12-28 02:10:32 +00:00
Sven Neumann 4ce9631b46 Bug 565362 – the previously opened file is not suggested if gimp was
2008-12-28  Sven Neumann  <sven@gimp.org>

	Bug 565362 – the previously opened file is not suggested if gimp
	was started from command line

	* app/file/file-open.c (file_open_from_command_line): remember 
the
	opened image just as if it was opened using the file-open 
dialog.


svn path=/trunk/; revision=27842
2008-12-28 01:43:52 +00:00
Martin Nordholts a7646e06c7 And ChangeLog...
svn path=/trunk/; revision=27841
2008-12-28 00:09:59 +00:00
Martin Nordholts d37193fe18 Use gimp_item_set/get_image() instead of accessing the instance
member directly.

* app/core/gimpchannel.c
* app/core/gimpdrawable-brightness-contrast.c
* app/core/gimpdrawable-color-balance.c
* app/core/gimpdrawable-colorize.c
* app/core/gimpdrawable-curves.c
* app/core/gimpdrawable-desaturate.c
* app/core/gimpdrawable-hue-saturation.c
* app/core/gimpdrawable-invert.c
* app/core/gimpdrawable-levels.c
* app/core/gimpdrawable-posterize.c
* app/core/gimpdrawable-threshold.c
* app/core/gimplayer.c
* app/core/gimplayermask.c
* app/core/gimpselection.c
* app/dialogs/layer-add-mask-dialog.c
* app/text/gimptextlayer-xcf.c
* app/tools/gimprectangletool.c
* app/tools/gimptexttool.c
* app/tools/gimpvectortool.c
* app/vectors/gimpvectors-preview.c
* app/vectors/gimpvectors.c
* tools/pdbgen/pdb/layer.pdb

* app/pdb/layer-cmds.c: Regenerated.

svn path=/trunk/; revision=27840
2008-12-28 00:09:33 +00:00
Sven Neumann 19f72e4471 use the canonical spelling for the 'stock-id' property.
2008-12-28  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpintcombobox.c (gimp_int_combo_box_init): 
use
	the canonical spelling for the 'stock-id' property.


svn path=/trunk/; revision=27839
2008-12-28 00:08:20 +00:00
Sven Neumann f1c78b1df0 copy-on-write from the projection is not any longer broken, so use it
2008-12-27  Sven Neumann  <sven@gimp.org>

	* app/paint/gimppaintcore.c
	(gimp_paint_core_validate_saved_proj_tiles): copy-on-write from
	the projection is not any longer broken, so use it here.


svn path=/trunk/; revision=27837
2008-12-27 16:11:54 +00:00
Sven Neumann a4daf7f210 Bug 564087 – Using clone tool on a layer with a part out of canvas
2008-12-27  Sven Neumann  <sven@gimp.org>

        Bug 564087 – Using clone tool on a layer with a part out of 
canvas
        causes crashes

        * app/paint/gimppaintcore.c (gimp_paint_core_paste): intersect 
the
        rectangle with the extents of the saved projection.


svn path=/trunk/; revision=27835
2008-12-27 16:04:43 +00:00
Sven Neumann c03759344b formatting.
2008-12-27  Sven Neumann  <sven@gimp.org>

	* app/base/pixel-surround.c (struct _PixelSurround): formatting.


svn path=/trunk/; revision=27834
2008-12-27 15:21:46 +00:00
Sven Neumann 4409f3853d Bug 564593 – crash when the drawable is changed while a color tools is
2008-12-27  Sven Neumann  <sven@gimp.org>

	Bug 564593 – crash when the drawable is changed while a color
	tools is active

	* app/core/gimpdrawable-shadow.c 
(gimp_drawable_merge_shadow_tiles):
	keep a reference to the shadow tiles because it might otherwise 
be
	free'd under our feet.


svn path=/trunk/; revision=27832
2008-12-27 15:14:48 +00:00
Sven Neumann d86d085601 let the save procedure also accept a grayscale layer with alpha channel,
2008-12-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/file-gbr.c: let the save procedure also accept 
a
	grayscale layer with alpha channel, as we do in the GIH save
	procedure.

	* plug-ins/common/file-gih.c: when loading a brush mask pipe,
	create grayscale layers without an alpha channel. Changed the 
save
	procedure to also accept layers without alpha channel.


svn path=/trunk/; revision=27831
2008-12-26 22:07:53 +00:00
Martin Nordholts 6f9ccc51f5 Make instance members private (they were not accessed from the outside).
* app/widgets/gimplayertreeview.[ch]: Make instance members
private (they were not accessed from the outside).

svn path=/trunk/; revision=27830
2008-12-25 12:12:33 +00:00
Martin Nordholts 2e1653ca8b Make instance members private (they were not accessed from the outside).
* app/widgets/gimpchanneltreeview.[ch]: Make instance members
private (they were not accessed from the outside).

svn path=/trunk/; revision=27829
2008-12-25 12:00:18 +00:00
Martin Nordholts 0c3cc7f562 ChangeLog formating...
svn path=/trunk/; revision=27828
2008-12-25 11:33:24 +00:00
Martin Nordholts 571ce865bd Make instance member private and add getter that didn't already exist.
* app/widgets/gimpitemtreeview.[ch]: Make instance member private
and add getter that didn't already exist.

(gimp_item_tree_view_get_new_button)
(gimp_item_tree_view_get_edit_button): New getters.

* app/actions/actions.c
* app/widgets/gimpvectorstreeview.c
* app/widgets/gimplayertreeview.c
* app/widgets/gimpdrawabletreeview.c
* app/widgets/gimpchanneltreeview.c: Use new getters.

svn path=/trunk/; revision=27827
2008-12-25 11:31:51 +00:00
Sven Neumann c7dfb8bd55 if supported, add -Wformat-security and -Wformat-non-literal to the
2008-12-23  Sven Neumann  <sven@gimp.org>

	* configure.in: if supported, add -Wformat-security and
	-Wformat-non-literal to the compiler flags.


svn path=/trunk/; revision=27826
2008-12-23 12:24:44 +00:00
Sven Neumann a7798936f0 declared function calling exit() as G_GNUC_NORETURN.
2008-12-23  Sven Neumann  <sven@gimp.org>

	* app/batch.c: declared function calling exit() as G_GNUC_NORETURN.


svn path=/trunk/; revision=27825
2008-12-23 12:08:18 +00:00
Sven Neumann d54686d200 declared function usage() as G_GNUC_NORETURN.
2008-12-23  Sven Neumann  <sven@gimp.org>

	* tools/gimptool.c: declared function usage() as 
G_GNUC_NORETURN.


svn path=/trunk/; revision=27824
2008-12-23 11:36:09 +00:00
Goran Rakic 07ce4ea704 Updated Serbian Translation (by Milos Popovic)
svn path=/trunk/; revision=27823
2008-12-22 18:38:23 +00:00
Aurimas Juška 3093ef28ce fixed handling of tags which contain non-ASCII characters.
* app/widgets/gimptagentry.c: fixed handling of tags which contain
non-ASCII characters.

svn path=/trunk/; revision=27822
2008-12-21 16:41:09 +00:00
Sven Neumann 6b74d79844 Bug 564869 – GIMP crashes on selecting Tools->GEGL operation
2008-12-21  Sven Neumann  <sven@gimp.org>

	Bug 564869 – GIMP crashes on selecting Tools->GEGL operation

	* app/tools/gimptool.c (gimp_tool_initialize): check if the tool
	has set an error.


svn path=/trunk/; revision=27819
2008-12-21 15:49:12 +00:00
Sven Neumann 5700bd6003 Bug 565138 – python-fu-foggify does not check if image is in rgb mode
2008-12-21  Sven Neumann  <sven@gimp.org>

	Bug 565138 – python-fu-foggify does not check if image is in rgb 
mode

	* plug-ins/pygimp/plug-ins/foggify.py (foggify): fixed handling 
of
	grayscale images.


svn path=/trunk/; revision=27817
2008-12-21 15:33:07 +00:00
Martin Nordholts 4255e43681 Bug 555954 – Merge Tagging of Gimp Resources GSoC Project
Merge the rest of the tagging code developed on the tagging branch
by Aurimas Juška. Development will now continue in trunk.

* app/core/gimptag.[ch]: New files (not strictly true but almost)
implementing the represention of a tag.

* app/core/gimptagcache.[ch]: New files implementing functionality
for loading and saving tags to tags.xml, and assigning loaded tags
to tagged objects.

* app/core/gimpfilteredcontainer.[ch]: New files implementing a
tag filtered GimpContainer.

* app/widgets/gimptagentry.[ch]: New files implementing a
GtkEntry-like widget for entering tags.

* app/widgets/gimpcombotagentry.[ch]: New files implementing a
combobox-like widget for selecting tags.

* app/widgets/gimptagpopup.[ch]: New files implementing a popup of
all available tags that can be selected and combined in a
checkbox-like way.

* app/core/gimp.[ch]: Add a GimpTagCache member and manage tag
assignment and saving and loading to/from tags.xml.

* app/widgets/gimpdatafactoryview.c: Add the tag query and tag
assignment widgets to the UI and show the tag filtered items
instead of all items.

* app/core/Makefile.am
* app/widgets/Makefile.am: Add new files.

* app/core/core-types.h
* app/widgets/widgets-types.h: Add new types.

svn path=/trunk/; revision=27816
2008-12-20 14:46:54 +00:00
Martin Nordholts 9c912cf0bb Bug 555954 – Merge Tagging of Gimp Resources GSoC Project
Partial merge of code from Aurimas Juška.

* app/widgets/gimpbrushfactoryview.c: Use the same method for
getting the GimpContainer both when adding and when removing the
spacing-changed handler. It was just a coincidence that the
previously different methods retured the same GimpContainer.

svn path=/trunk/; revision=27815
2008-12-20 13:21:03 +00:00
Martin Nordholts a4b0297b4b New helper functions to lesser level of indirection in client code.
* app/widgets/gimpdatafactoryview.[ch]
(gimp_data_factory_view_have)
(gimp_data_factory_view_get_children_type)
(gimp_data_factory_view_has_data_new_func): New helper functions
to lesser level of indirection in client code.

* app/actions/data-commands.c: Use them.

svn path=/trunk/; revision=27814
2008-12-20 12:27:52 +00:00
Martin Nordholts 7f733cee43 Make instance members private and add getters for accessed members.
* app/widgets/gimpdatafactoryview.[ch]: Make instance members
private and add getters for accessed members.

(gimp_data_factory_view_get_edit_button)
(gimp_data_factory_view_get_duplicate_button)
(gimp_data_factory_view_get_data_factory): New getters.

* app/actions/data-commands.c
* app/widgets/gimppatternfactoryview.c: Use new getters.

svn path=/trunk/; revision=27813
2008-12-20 12:08:28 +00:00
Martin Nordholts 4981816c0b Make instance members private and add getters for required members.
* app/core/gimpdatafactory.[ch]: Make instance members private and
add getters for required members.

(gimp_data_factory_get_container)
(gimp_data_factory_get_gimp)
(gimp_data_factory_has_data_new_func): The new getters.

* app/actions/context-commands.c
* app/actions/data-commands.c
* app/core/gimp-gradients.c
* app/core/gimp.c
* app/core/gimpcontext.c
* app/core/gimpdatafactory.c
* app/core/gimpdatafactory.h
* app/dialogs/convert-dialog.c
* app/dialogs/palette-import-dialog.c
* app/pdb/gimppdb-utils.c
* app/widgets/gimpbrushfactoryview.c
* app/widgets/gimpdataeditor.c
* app/widgets/gimpdatafactoryview.c
* app/widgets/gimpselectiondata.c
* app/widgets/gimpviewablebox.c
* tools/pdbgen/pdb/brush_select.pdb
* tools/pdbgen/pdb/brushes.pdb
* tools/pdbgen/pdb/gradient_select.pdb
* tools/pdbgen/pdb/gradients.pdb
* tools/pdbgen/pdb/palette_select.pdb
* tools/pdbgen/pdb/palettes.pdb
* tools/pdbgen/pdb/pattern_select.pdb
* tools/pdbgen/pdb/patterns.pdb: Use the getters.


* app/pdb/brush-select-cmds.c
* app/pdb/brushes-cmds.c
* app/pdb/gradient-select-cmds.c
* app/pdb/gradients-cmds.c
* app/pdb/palette-select-cmds.c
* app/pdb/palettes-cmds.c
* app/pdb/pattern-select-cmds.c
* app/pdb/patterns-cmds.c: Regenerated.

svn path=/trunk/; revision=27812
2008-12-19 21:58:17 +00:00