Commit graph

15839 commits

Author SHA1 Message Date
Manish Singh 703125db20 create the layer combo with the right type.
2005-06-03  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpdrawablecombobox.c: create the layer combo with the
        right type.
2005-06-04 01:44:52 +00:00
Manish Singh f346159e6a tools/pdbgen/Makefile.am removed, unneeded now.
2005-06-03  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/Makefile.am
        * tools/pdbgen/enumcode-py.pl: removed, unneeded now.
2005-06-04 01:10:58 +00:00
Sven Neumann b9186b8378 added property for "mode", fixed some implementation issues.
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcolorframe.[ch]: added property for "mode",
	fixed some implementation issues.

	* app/widgets/gimpsamplepointeditor.c: create the color frames
	using g_object_new().
2005-06-04 00:56:00 +00:00
Manish Singh e8c7a7a497 plug-ins/pygimp/pygimp-api.h export our API to other modules in a saner
2005-06-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-api.h
        * plug-ins/pygimp/gimpmodule.c: export our API to other modules
        in a saner fashion. Also add checks_get_shades method.

        * plug-ins/pygimp/procbrowser.c: Use new export API.

        * plug-ins/pygimp/pygimp-drawable.c (drw_mask_intersect):
        use Py_BuildValue to build the tuple.

        * plug-ins/pygimp/pygimp-image.c (img_repr): capitalization fix.

        * plug-ins/pygimp/pygimp-rgb.c
        * plug-ins/pygimp/pygimpcolor.h
        * plug-ins/pygimp/gimpcolormodule.c: beginnings of a wrapper to
        libgimpcolor.

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/gimpenums.py
        * plug-ins/pygimp/gimpenumsmodule.c: use gimp enum API to find out
        our enums.

        * plug-ins/pygimp/Makefile.am: hook in all of the above.
2005-06-04 00:17:06 +00:00
Manish Singh 5c160d196c build pygimp by default.
2005-06-03  Manish Singh  <yosh@gimp.org>

        * configure.in: build pygimp by default.
2005-06-03 23:58:49 +00:00
William Skaggs 48845d0a05 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimpcolorframe.[ch]: add "has-color-area" property,
	FALSE by default.

	* app/widgets/gimpsamplepointeditor.c: explicitly add a color
	area to the color frames.
2005-06-03 23:57:02 +00:00
Sven Neumann 33131e6a82 show the viewable's name in the drag icon.
2005-06-04  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_get_viewable_icon): show the
	viewable's name in the drag icon.
2005-06-03 23:55:05 +00:00
Michael Natterer 5dd7b6443b bail out early if the view has no container (instead of crashing).
2005-06-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainertreeview-dnd.c
	(gimp_container_tree_view_drop_status): bail out early if the view
	has no container (instead of crashing).
2005-06-03 23:53:48 +00:00
Manish Singh 24b3e080f6 whitespace fix.
2005-06-03  Manish Singh  <yosh@gimp.org>

        * libgimpcolor/gimprgb.h: whitespace fix.

        * libgimpwidgets/gimpchainbutton.h
        * libgimpwidgets/gimpwidgetsenums.[ch]: move GimpChainPosition
        to a registered enum, and register GimpSizeEntryUpdatePolicy as
        as well.

        * libgimp/gimpuitypes.h
        * libgimp/gimpdrawablecombobox.[ch]: turn these into GObjects
        with their own types.

        * libgimp/gimpimagecombobox.c: use G_DEFINE_TYPE.
2005-06-03 23:38:45 +00:00
Manish Singh b77ca997a7 make _gimp_enums_init public, so language bindings can do early enum
2005-06-03  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/enumcode.pl: make _gimp_enums_init public, so
        language bindings can do early enum registration if needed.

        * libgimp/gimpenums.h
        * libgimp/gimpenums.c.tail: regenerated

        * gimp.c: call gimp_enums_init instead of _gimp_enums_init.

        * gimp.def: add newly exported function.
2005-06-03 23:25:44 +00:00
Manish Singh 93490ae76b require python 2.2.1, so True and False are always there. Check for pygtk
2005-06-03  Manish Singh  <yosh@gimp.org>

        * configure.in: require python 2.2.1, so True and False are always
        there. Check for pygtk codegen stuff, we'll be using that in the
        future.

        * plug-ins/pygimp/plug-ins/*.py: Use True and False instead of
        TRUE and FALSE.
2005-06-03 23:15:23 +00:00
William Skaggs cfed1f28ea Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpitem-align.c
	* app/core/gimpitem-align.h (gimp_item_align): remove push_undo
	arg, useless as pointed out by mitch.

	* app/tools/gimpaligntool.c: changed correspondingly.
2005-06-03 22:46:58 +00:00
Michael Natterer 39a8c9685a added API to show a number in front of the color area.
2005-06-04  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolorframe.[ch]: added API to show a number in
	front of the color area.

	* app/widgets/gimpsamplepointeditor.c: use the new API to put the
	sample points' numbers there.
2005-06-03 22:34:28 +00:00
William Skaggs 643e2257f5 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpitem-align.[ch]: newly created to
	hold code for gimp_item_align().

	* app/core/Makefile.am: add new files

	* app/core/gimpitem.[ch]: remove code from here.

	* app/tools/gimpaligntool.c: fix includes and remove
	unneeded includes.
2005-06-03 21:52:39 +00:00
Michael Natterer 635795cc50 pack the color area and the labels into different vboxes to make the
2005-06-03  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcolorframe.c (gimp_color_frame_init): pack the
	color area and the labels into different vboxes to make the widget
	compact again.
2005-06-03 21:36:29 +00:00
William Skaggs 7250297297 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* gimp/app/tools/Makefile.am
	* gimp/app/tools/gimp-tools.c
	* gimp/app/tools/gimpalignoptions.c
	* gimp/app/tools/gimpalignoptions.h
	* gimp/app/tools/gimpaligntool.c
	* gimp/app/tools/gimpaligntool.h: Add new tool for
	aligning layers etc, as described in bug #147437.

	* gimp/app/core/gimpitem.c
	* gimp/app/core/gimpitem.h (gimp_item_align): add
	function required by new tool.

	* gimp/app/core/core-enums.c
	* gimp/app/core/core-enums.h: add enum for alignment
	types.

	* gimp/themes/Default/images/stock-hcenter-24.png
	* gimp/themes/Default/images/stock-vcenter-24.png
	* gimp/libgimpwidgets/gimpstock.c
	* gimp/libgimpwidgets/gimpstock.h
	* gimp/themes/Default/images/Makefile.am
	* gimp/themes/Default/images/makefile.msc: add two
	stock symbols, modeled on the gravity symbols.
2005-06-03 17:05:01 +00:00
William Skaggs b91651fe8f Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangletool.c (gimp_rectangle_tool_motion):
	Don't change function before creating new rectangle;
	cause of problem identified by Karine Delvare.
2005-06-02 22:48:43 +00:00
William Skaggs c635b2be13 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/common/screenshot.c: trap errors when running
	XGrabKey, to prevent bail-out on BadAccess error as
	reported by Jean-Luc Coulon on developers list; solution
	suggested by Simon Budig.
2005-06-02 18:03:50 +00:00
Raphael Quinet 8114272551 New splash. A twist on the original PixelPusher concept by jimmac.
2005-06-02  Raphael Quinet  <raphael@gimp.org>

	* data/images/gimp-splash.png: New splash.  A twist on the
	original PixelPusher concept by jimmac.
2005-06-02 13:06:16 +00:00
Hendrik Brandt 7506112a24 Updated German translation.
2005-06-02  Hendrik Brandt <heb@gnome-de.org>

        * po*/de.po: Updated German translation.
2005-06-01 22:35:16 +00:00
Kevin Cozens 0e2db63c8d Use 'gimp-image-set-colormap' instead of deprecated call
2005-06-01  Kevin Cozens  <kcozens@cvs.gimp.org>

	* scripts/tiny-fu-set-cmap.sct: Use 'gimp-image-set-colormap' instead
	of deprecated call 'gimp-image-set-cmap'. Spotted by Joao S. O. Bueno.
2005-06-01 21:22:49 +00:00
William Skaggs b2465d29f7 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimpcolorframe.[ch]: add a color area, to make
	sample points dialog show a swatch of color for each point.
2005-06-01 20:10:39 +00:00
Simon Budig 41b549a7b0 cosmetic change: Make the stroke IDs start from 1.
2005-06-01  Simon Budig  <simon@gimp.org>

	* app/vectors/gimpvectors.c: cosmetic change: Make the stroke IDs
	start from 1.

	* tools/pdbgen/pdb/vectors.pdb: Two more wrappers:
	vectors_stroke_remove and vectors_stroke_interpolate. Undo still
	unsolved.

	* app/pdb/internal_procs.c
	* app/pdb/vectors_cmds.c
	* libgimp/gimpvectors_pdb.[ch]: regenerated.
2005-06-01 16:20:46 +00:00
Adam Weinberger e70f5dcd07 Updated Canadian English translation.
2005-06-01  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-06-01 08:49:52 +00:00
William Skaggs 5a5651ec58 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimpbrightnesscontrasttool.[ch]: Allow tool to be
	operating by clicking and dragging inside the image, as
	described in bug #165330.
2005-05-31 19:33:14 +00:00
Maurits Rijk 2bc4ca796d plug-ins/common/CEL.c plug-ins/common/gbr.c plug-ins/common/gee.c
2005-05-31  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/common/CEL.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gee.c
	* plug-ins/common/hot.c
	* plug-ins/common/pat.c
	* plug-ins/common/pcx.c
	* plug-ins/common/spheredesigner.c
	* plug-ins/common/tiler.c
	* plug-ins/common/zealouscrop.c: GPL license added for plug-ins
	without any license. If any of the authors objects we will
	probably have to remove the plug-in.
2005-05-31 19:10:46 +00:00
Maurits Rijk bde8c0d4c2 Forgotten during previous commit. 2005-05-31 18:18:15 +00:00
Maurits Rijk ccfcaee1dc plug memory leak: Fixes #305990
2005-05-31  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/gfig/gfig-dobject.c: plug memory leak: Fixes #305990
2005-05-31 18:17:02 +00:00
Maurits Rijk 2fc3ba5e7a plug memory leak. Fixes #305995.
2005-05-31  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_selection.c: plug memory leak. Fixes #305995.
2005-05-31 18:05:10 +00:00
Sven Neumann 8cd1ab2e28 minor tweak to the dialog layout 2005-05-31 16:02:27 +00:00
Sven Neumann 006db0f6f0 don't leak the keys array 2005-05-31 15:39:17 +00:00
Sven Neumann 315061ca00 use XGrabKey() to grab the Escape key instead of doing a full keyboard
2005-05-31  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c (select_window_x11): use XGrabKey()
	to grab the Escape key instead of doing a full keyboard grab.
2005-05-31 15:35:51 +00:00
Sven Neumann 07d6c60432 added missing cast.
2005-05-31  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpaction.c (gimp_action_set_proxy): added missing
	cast.
2005-05-31 14:51:13 +00:00
Sven Neumann 5f52d2d515 code cleanup.
2005-05-31  Sven Neumann  <sven@gimp.org>

	* app/core/gimpprojection-construct.c: code cleanup.
2005-05-31 14:49:01 +00:00
Michael Natterer 228762e1f2 enable ellipsation on the progressbar. Fixes initial display width
2005-05-31  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpstatusbar.c (gimp_statusbar_init): enable
	ellipsation on the progressbar. Fixes initial display width
	calculation for long statusbar strings.
2005-05-31 13:59:48 +00:00
Michael Natterer 82d1b13b5c re-enabled tooltips on the "Open Recent" menu items, using an evil but
2005-05-31  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpaction.c (gimp_action_set_proxy): re-enabled
	tooltips on the "Open Recent" menu items, using an evil but
	documented heuristic.
2005-05-31 13:56:46 +00:00
Sven Neumann 2840d26518 don't leak the return value of gtk_container_get_children (bug #305994,
2005-05-31  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpenumwidgets.c
	(gimp_enum_stock_box_set_child_padding): don't leak the return
	value of gtk_container_get_children (bug #305994, spotted by Ted
	Kremenek).

	* app/config/gimprc-serialize.c (gimp_rc_serialize_properties_diff):
	don't leak the GList in the unlikely case of an error (bug #305992,
	spotted by Ted Kremenek).
2005-05-31 10:47:09 +00:00
Sven Neumann d9b5c44c3c applied patch from Joao S. O. Bueno Calligaris that adds support for
2005-05-31  Sven Neumann  <sven@gimp.org>

	* app/core/gimppalette-import.c: applied patch from Joao
	S. O. Bueno Calligaris that adds support for loading PSP color
	palette files (bug #305956).
2005-05-31 10:34:36 +00:00
Sven Neumann 50c61cc2e6 capitalization and mnemonics.
2005-05-30  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/screenshot.c: capitalization and mnemonics.
2005-05-30 09:10:29 +00:00
Sven Neumann 101c5a2dc9 pass GIMP_COLOR_AREA_CHECKS_SMALL instead of TRUE for the type of the
2005-05-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpdnd.c (gimp_dnd_get_color_icon): pass
	GIMP_COLOR_AREA_CHECKS_SMALL instead of TRUE for the type of the
	GimpColorArea.

	* app/widgets/gimpcoloreditor.c: added a "context" property.

	* libgimpwidgets/gimpcolorarea.c (gimp_color_area_set_color):
	always use gimp_rgba_distance(), regardless of the area's type.
2005-05-29 13:48:03 +00:00
Sven Neumann e905e899bc libgimp/libgimp-docs.sgml libgimp/libgimp-sections.txt
2005-05-29  Sven Neumann  <sven@gimp.org>

	* libgimp/libgimp-docs.sgml
	* libgimp/libgimp-sections.txt
	* libgimp/libgimp.types
	* libgimp/tmpl/gimpimagecombobox.sgml
	* libgimp/tmpl/gimpvectors.sgml: updated.
2005-05-29 13:24:12 +00:00
Manish Singh e495900309 plug-ins/pygimp/gimpmodule.c use DL_EXPORT for the init functions, maybe
2005-05-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/procbrowser.c: use DL_EXPORT for the init functions,
        maybe this will help Win32 builds. Also some minor cleanups.
2005-05-28 23:56:07 +00:00
Manish Singh 2ce8e34c0a libgimp/gimpuitypes.h turn this into a GObject with its own type.
2005-05-28  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpuitypes.h
        * libgimp/gimpimagecombobox.[ch]: turn this into a GObject with its
        own type.
2005-05-28 23:08:07 +00:00
Maurits Rijk 3ee2a3a0aa use gtk_about_dialog instead of home-brewn stuff.
2005-05-28  Maurits Rijk  <m.rijk@chello.nl>

	* plug-ins/imagemap/imap_about.c: use gtk_about_dialog instead of
	home-brewn stuff.

	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_menu.c: minor clean-up.
2005-05-28 18:13:18 +00:00
Manish Singh 4b10d69d66 We're going back... TO THE FUTURE 2005-05-28 08:21:37 +00:00
Sven Neumann 3dcd00c127 Use the canonical form for signal names.
2005-05-27  Sven Neumann  <sven@gimp.org>

	* (lots of files): Use the canonical form for signal names.
2005-05-28 00:21:58 +00:00
Sven Neumann 93eab43eef Use the canonical form for signal names.
2005-05-27  Sven Neumann  <sven@gimp.org>

	* (lots of files): Use the canonical form for signal names.
2005-05-27 16:51:39 +00:00
Sven Neumann 3ca90a182e Use the canonical form for signal names in lots of places (but by far not
2005-05-27  Sven Neumann  <sven@gimp.org>

	* (lots of files): Use the canonical form for signal names in lots
	of places (but by far not all).
2005-05-27 13:05:26 +00:00
Sven Neumann 9a5cd29c69 connect to "name-changed" of the active drawable and change the name
2005-05-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphistogrameditor.[ch]: connect to "name-changed"
	of the active drawable and change the name displayed in the editor.
2005-05-27 11:48:50 +00:00
Sven Neumann 684591f81c added a name label (with properties to show/hide and to set it).
2005-05-27  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpeditor.[ch]: added a name label (with properties
	to show/hide and to set it).

	* app/widgets/gimpcontainergridview.[ch]
	* app/widgets/gimphistogrameditor.[ch]: removed the label here and
	use the functionality now provided by GimpEditor instead.

	* app/widgets/gimpcontainerpopup.c: changed accordingly.
2005-05-27 11:40:06 +00:00