Commit graph

15182 commits

Author SHA1 Message Date
Sven Neumann 73bfd57273 app/widgets/gimpcontainerview.c app/widgets/gimpimagedock.c
2005-03-09  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontainerview.c
	* app/widgets/gimpimagedock.c
	* app/widgets/gimptoolbox.c
	* app/widgets/gtkwrapbox.c
	* libgimpwidgets/gimpcellrenderercolor.c
	* libgimpwidgets/gimpcellrenderertoggle.c
	* libgimpwidgets/gimpframe.c: use canonical names when registering
	param specs.
2005-03-09 17:02:35 +00:00
William Skaggs 07fa3011f3 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/vectors/gimpvectors-warp.c
	* app/vectors/gimpvectors-warp.h: new files implmenting
	"path along a path" functionality.

	* app/vectors/Makefile.am: new stuff added

	* gimp/app/vectors/gimpvectors.[ch]: actually implement
	gimp_vectors_real_stroke_get_length().

	* app/tools/gimptexttool.c
	* app/tools/gimptextoptions.c: first pass at "text
	along a path", using new functions.  See bug #169616.
2005-03-09 16:58:54 +00:00
Sven Neumann 3285ee6ef5 renamed again, to gimp_palette_[gs]et_columns this time.
2005-03-09  Sven Neumann  <sven@gimp.org>

	* app/core/gimppalette.[ch]: renamed again, to
	gimp_palette_[gs]et_columns this time.

	* app/dialogs/palette-import-dialog.c
	* app/widgets/gimppaletteeditor.c: changed accordingly.

	* tools/pdbgen/pdb/palette.pdb: renamed newly added PDB function.
	Also added a getter for the columns.

	* app/pdb/internal_procs.c
	* app/pdb/palette_cmds.c
	* libgimp/gimppalette_pdb.[ch]: regenerated.

	* libgimp/gimp.def: updated.
2005-03-09 00:50:09 +00:00
Michael Natterer f41e059067 More sample point stuff. Addresses bug #137776.
2005-03-09  Michael Natterer  <mitch@gimp.org>

	More sample point stuff. Addresses bug #137776.

	* app/core/gimpimage-sample-points.c
	* app/core/gimpimage-undo-push.c: append, not prepend the sample
	paints to the image's list because their index matters. Update
	sample points when their index changes.

	* app/display/gimpcanvas.[ch]: added own sytles for the sample
	points.  Added gimp_canvas_draw_text() which uses a PangoLayout
	which is cached in the canvas.

	* app/display/gimpdisplayshell-draw.c
	(gimp_display_shell_draw_sample_point): draw the sample points
	more distinct from guides using the new canvas APIs above.

	* app/display/gimpdisplayshell-callbacks.c
	(gimp_display_shell_[hv]ruler_button_press): factored out all
	code to

	(gimp_display_shell_ruler_burron_press): which takes a boolean
	"horizontal" variable and allows to add sample points with
	<control>+drag.

	* app/tools/gimpcolortool.[ch]: implement adding, moving and
	removing of sample points in the same way as the move tool moves
	guides.

	* app/tools/gimpcolorpickertool.c
	(gimp_color_picker_tool_oper_update): chain up.
2005-03-09 00:23:19 +00:00
William Skaggs bc7c2a13ba Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/metadata/interface.c: fix spelling error
	noted in bug #169656.
2005-03-08 23:24:14 +00:00
William Skaggs 855809e1aa Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimprectangletool.[ch]
	* app/tools/gimprectangleoptions.[ch]: add size entry in
	options to control dimensions.  Still work in progress.
2005-03-08 23:17:19 +00:00
Sven Neumann 40139ff74c added gimp_display_shell_get_unit(), for completeness.
2005-03-09  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.[ch]: added
	gimp_display_shell_get_unit(), for completeness.
2005-03-08 23:05:58 +00:00
Sven Neumann da9547a8cd fixed brokeness introduced I when eliminating gradient->last_visited.
2005-03-08  Sven Neumann  <sven@gimp.org>

	* app/core/gimpgradient.c (gimp_gradient_segment_split_uniform):
	fixed brokeness introduced I when eliminating gradient->last_visited.
2005-03-08 22:26:12 +00:00
Adam Weinberger b439b144ec Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2005-03-08 21:46:27 +00:00
William Skaggs 37e5bdd2e6 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimpviewrenderergradient.c: revert previous
	change.  Didn't read the code carefully enough.
2005-03-08 18:28:09 +00:00
William Skaggs 0f8c9df9db Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/widgets/gimpviewrenderergradient.c:
	(gimp_view_renderer_gradient_render): Make sure specified
	point lies within specified gradient segment; should
	fix bug #167604.
2005-03-08 18:14:58 +00:00
Sven Neumann c2a6b89ede open images interactively. Fixes bug #168936.
2005-03-08  Sven Neumann  <sven@gimp.org>

	* app/file/file-open.c (file_open_layer): open images interactively.
	Fixes bug #168936.
2005-03-08 16:39:20 +00:00
Sven Neumann 856961cbec app/tools/gimppaintoptions-gui.c (fade_options_gui) (gradient_options_gui)
2005-03-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimppaintoptions-gui.c (fade_options_gui)
	(gradient_options_gui)
	* app/tools/gimpselectionoptions.c (gimp_selection_options_gui):
	call gimp_unit_menu_set_pixel_digits() after connecting up the
	spinbuttons and the unitmenu. Fixes initial display (bug #169066).
2005-03-08 15:46:34 +00:00
Sven Neumann 243cdf5306 renamed gimp_palette_[gs]et_n_columns to
2005-03-08  Sven Neumann  <sven@gimp.org>

	* app/core/gimppalette.[ch]: renamed gimp_palette_[gs]et_n_columns
	to gimp_palette_[gs]et_num_columns().

	* app/dialogs/palette-import-dialog.c
	* app/widgets/gimppaletteeditor.c: changed accordingly.

	* tools/pdbgen/pdb/palette.pdb: added new PDB function to control
	the number of columns used when displaying a palette (bug #169370).

	* app/pdb/internal_procs.c
	* app/pdb/palette_cmds.c
	* libgimp/gimppalette_pdb.[ch]: regenerated.

	* libgimp/gimp.def: updated.
2005-03-08 14:44:29 +00:00
Sven Neumann 3c36e2b894 app/tools/gimpcurvestool.c (gimp_curves_tool_dialog) added mnemonics for
2005-03-08  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpcurvestool.c (gimp_curves_tool_dialog)
	* app/tools/gimplevelstool.c (gimp_levels_tool_dialog): added
	mnemonics for the Channels menu.
2005-03-08 12:37:30 +00:00
Manish Singh ded51eedfa plug-ins/metadata/interface.c fix some gssize confusion.
2005-03-07  Manish Singh  <yosh@gimp.org>

        * plug-ins/metadata/interface.c
        * plug-ins/metadata/xmp-model.c: fix some gssize confusion.
2005-03-07 22:25:31 +00:00
Sven Neumann aa0f5fa634 app/tools/gimpellipseselecttool.c applied a patch by Nils Bjorklund that
2005-03-07  Sven Neumann  <sven@gimp.org>

	* app/tools/gimpellipseselecttool.c
	* app/tools/gimprectselecttool.[ch]: applied a patch by Nils
	Bjorklund that should fix bug #143887 (selection rectangle "moves"
	when starting at the top-right corner).
2005-03-07 21:31:22 +00:00
Kevin Cozens 05f49ffc63 Reverting previous change as I was mixing up two different versions of
2005-03-07  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/perspective-shadow.scm: Reverting previous
	change as I was mixing up two different versions of GIMP at the time.
2005-03-07 20:47:26 +00:00
Kevin Cozens a4f7011c01 Fixed the options for SF-ENUM in the register block which were changed
2005-03-07  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/perspective-shadow.scm: Fixed the options
	for SF-ENUM in the register block which were changed (read broken) when
	the entry was changed from SF-OPTION.
2005-03-07 20:04:11 +00:00
Sven Neumann 0d3edf1a02 added new metadata plug-in.
2005-03-07  Sven Neumann  <sven@gimp.org>

	* POTFILES.in: added new metadata plug-in.
2005-03-07 20:03:01 +00:00
Raphael Quinet 609543bf85 configure.in Enable build of metadata plug-in.
2005-03-07  Raphael Quinet  <raphael@gimp.org>

	* configure.in
	* plug-ins/Makefile.am (SUBDIRS): Enable build of metadata plug-in.

	* plug-ins/metadata/xmp-gen.c
	* plug-ins/metadata/xmp-gen.h
	* plug-ins/metadata/xmp-encode.c
	* plug-ins/metadata/xmp-encode.h: Renamed xmp-gen.[ch] to
	xmp-encode.[ch].

	* plug-ins/metadata/Makefile.am
	* plug-ins/metadata/metadata.c
	* plug-ins/metadata/interface.c: Updated accordingly + minor fixes.
2005-03-07 19:40:51 +00:00
Michael Natterer 804bdfafd8 converted tabs to spaces, stylistic cleanups.
2005-03-07  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpcolortool.c: converted tabs to spaces, stylistic
	cleanups.
2005-03-07 11:37:03 +00:00
Manish Singh c47f05563e Oops 2005-03-06 11:17:17 +00:00
Manish Singh ec558dfac2 contort it to compile with Apple's weirdo gcc.
2003-03-06  Manish Singh  <yosh@gimp.org>

        * app/composite/gimp-composite-altivec.c: contort it to compile with
        Apple's weirdo gcc.

        * app/composite/gimp-composite-altivec.h: honor USE_ALTIVEC.
2005-03-06 11:16:22 +00:00
Manish Singh b9d039d57a Missed a spot 2005-03-06 10:35:21 +00:00
Manish Singh 62cb10e256 rework AltiVec tests some.
2003-03-06  Manish Singh  <yosh@gimp.org>

        * configure.in: rework AltiVec tests some.
2005-03-06 10:30:21 +00:00
Manish Singh 7846ed68db app/composite/gimp-composite-altivec-installer.c regenerated so the new
2003-03-06  Manish Singh  <yosh@gimp.org>

        * app/composite/gimp-composite-altivec-installer.c
        * app/composite/gimp-composite-altivec-test.c: regenerated so the new
        implementation is actually used.
2005-03-06 09:11:46 +00:00
Manish Singh 9a263bb917 revised tests for AltiVec. Define ALTIVEC_EXTRA_CFLAGS for the extra
2003-03-06  Manish Singh  <yosh@gimp.org>

        * configure.in: revised tests for AltiVec. Define ALTIVEC_EXTRA_CFLAGS
        for the extra compiler options needed. Also, support runtime checking
        for AltiVec through the sysctl on Mac OS X, instead of SIGILL assembly
        instruction checking, which needs GNU as.

        * app/base/cpu_accel.c: use the sysctl if available.

        * app/composite/Makefile.am: use ALTIVEC_EXTRA_CFLAGS.

        * app/composite/gimp-composite-altivec.c: conditionally #include
        altivec.h
2005-03-06 08:43:25 +00:00
Helvetix Victorinox ef6c61fb5e app/composite/gimp-composite-altivec.[ch]
* app/composite/gimp-composite-altivec.[ch]
* app/composite/gimp-composite-altivec-installer.c
* app/composite/gimp-composite-altivec-test.c:
Added updates from starox-gimp@starox.org
(Frederic Leroy) to implement Altivec instruction optimisations.

Regenerated sources.

* app/composite/gimp-composite-mmx.c: Replaced a pesky movntq
instruction with a movq.  Movntq is an SSE instruction, not an MMX
instruction.
2005-03-06 05:57:10 +00:00
Kevin Cozens 3f9ff82f1b Removed some debug statements left in by mistake. 2005-03-06 03:09:41 +00:00
Kevin Cozens d1e56109b9 Oops...one 'case tc_string:' was lost while fixing handling of string
2005-03-05  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/siod/sliba.c: Oops...one 'case tc_string:' was
	lost while fixing handling of string arrays.
2005-03-06 03:06:18 +00:00
Adam Weinberger fd0d7fb0a5 Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2005-03-06 01:06:12 +00:00
Francisco Javier F. Serrador 6e3b3678d8 Updated Spanish translation
2005-03-05  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation
2005-03-05 21:17:00 +00:00
Sven Neumann 2b5f9b6398 Fix for bug #169274:
2005-03-05  Sven Neumann  <sven@gimp.org>

        Fix for bug #169274:

        * configure.in: updated definition of localedir.
2005-03-05 17:30:15 +00:00
Helvetix Victorinox 35d83c2758 app/composite/gimp-composite-generic.c app/composite/gimp-composite-mmx.c
* app/composite/gimp-composite-generic.c
* app/composite/gimp-composite-mmx.c
* app/composite/gimp-composite-sse.c
Incorporated a very clean patch from starox-gimp@starox.org
(Frederic Leroy) which improves the generic performance of the
burn compositing function.  Speed is improved at a cost of a 64k
look-up table which is probably manageable for 8bpp images, but at
larger bpp images (which currently are not supported by the GIMP)
this is unlikely to be tolerable.

The generic C implementation of the burn function uses this
look-up table, the mmx/sse implementations have been commented out.
2005-03-05 17:29:21 +00:00
Manish Singh 6288eee1a4 commit forgotten entry 2005-03-05 17:24:34 +00:00
Sven Neumann 8c4237cd10 Fix for bug #169274:
2005-03-05  Sven Neumann  <sven@gimp.org>

	Fix for bug #169274:

	* configure.in: updated definition of localedir.

	* po/Makefile.in.in: updated.

	* po-libgimp/Makefile.in.in
	* po-plug-ins/Makefile.in.in
	* po-script-fu/Makefile.in.in: synchronized with po/Makefile.in.in.
2005-03-05 16:45:03 +00:00
Manish Singh ca0fcce171 Update or add missing copyright and GPL comments.
2005-03-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/*: Update or add missing copyright and GPL comments.
2005-03-05 08:48:45 +00:00
Manish Singh 6344fe823b default args for layer constructor.
2005-03-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-drawable.c: default args for layer
        constructor.
2005-03-05 08:05:23 +00:00
Manish Singh 553e840768 include Parasite flag values.
2005-03-04  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/enumcode-py.pl: include Parasite flag values.

        * plug-ins/pygimp/gimpenums.py: regenerated.

        * plug-ins/pygimp/pygimp-drawable.c: minor change for type
        consistency.

        * plug-ins/pygimp/pygimp-image.c: add keyword args, is_dirty getter.
2005-03-05 07:59:15 +00:00
Manish Singh ebe37283ed wrap fonts_refresh and fonts_get_list, clean up some of the other resource
2005-03-04  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c: wrap fonts_refresh and fonts_get_list,
        clean up some of the other resource list plugins.

        * plug-ins/pygimp/pygimp-drawable.c: more keyword args and better
        exception messages.

        * plug-ins/pygimp/pygimp-parasite.c: support keyword args for
        parasite constructor.
2005-03-05 06:17:23 +00:00
Manish Singh 838cf193d7 fix documentation of edit_mask accessors.
2005-03-04  Manish Singh  <yosh@gimp.org>

        * tools/pdbgen/pdb/layer.pdb: fix documentation of edit_mask
        accessors.

        * libgimp/gimplayer_pdb.c
        * app/pdb/layer_cmds.c: regenerated.
2005-03-05 06:12:47 +00:00
Sven Neumann 87ae847598 specify alternative button order for the new dialogs.
2005-03-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/metadata/interface.c: specify alternative button order
	for the new dialogs.
2005-03-05 00:40:56 +00:00
Manish Singh a56d6b41ad no need to export PLUG_IN_INFO symbol.
2005-03-04  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/Makefile.am: no need to export PLUG_IN_INFO symbol.

        * plug-ins/pygimp/pygimp-image.c: more descriptive exception for
        Image constructor.

        * plug-ins/pygimp/pygimp-pdb.c: cosmetic changes.

        * plug-ins/pygimp/pygimp-drawable.c: wrap transform API, add keyword
        arguments to several drawable methods, wrap
        layer_resize_to_image_size.
2005-03-05 00:30:29 +00:00
Michael Natterer be6a9d2a8b app/actions/view-actions.c app/actions/view-commands.[ch]
2005-03-05  Michael Natterer  <mitch@gimp.org>

	* app/actions/view-actions.c
	* app/actions/view-commands.[ch]
	* app/config/gimprc-blurbs.h
	* app/core/core-enums.[ch]
	* app/core/gimp.c
	* app/core/gimpimage-crop.c
	* app/core/gimpimage-undo-push.[ch]
	* app/core/gimpimage.c
	* app/display/gimpdisplayoptions.[ch]
	* app/display/gimpdisplayshell-appearance.[ch]
	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-draw.[ch]
	* app/widgets/gimphelp-ids.h
	* menus/image-menu.xml.in: reordered stuff to be in guides, grid,
	sample points order. Some cleanup and indentation.
2005-03-05 00:10:40 +00:00
Raphael Quinet 9df474c666 test program that tries to extract XMP metadata from files (image files,
2005-03-04  Raphael Quinet  <raphael@gimp.org>

	* plug-ins/metadata/xmpdump.c: test program that tries to extract
	XMP metadata from files (image files, AI files, PDF documents...)
2005-03-04 23:04:05 +00:00
Raphael Quinet 0d58035627 Added placeholder for file properties.
2005-03-04  Raphael Quinet  <raphael@gimp.org>

	* menus/image-menu.xml.in: Added placeholder for file properties.

	* plug-ins/metadata/.cvsignore
	* plug-ins/metadata/Makefile.am
	* plug-ins/metadata/README
	* plug-ins/metadata/interface.c
	* plug-ins/metadata/interface.h
	* plug-ins/metadata/metadata.c
	* plug-ins/metadata/xmp-model.c
	* plug-ins/metadata/xmp-model.h
	* plug-ins/metadata/xmp-parse.c
	* plug-ins/metadata/xmp-parse.h
	* plug-ins/metadata/xmp-gen.c
	* plug-ins/metadata/xmp-gen.h: First import of metadata editor.
	Currently, it cannot read metadata (except for XMP), it cannot
	edit metadata and it cannot save metadata (just export).  But this
	might improve later...  The README file contains some info.
2005-03-04 23:01:48 +00:00
Sven Neumann cc4e204b83 eeek, that g_open() call had the correct number of arguments _before_
I "fixed" it...
2005-03-04 21:02:10 +00:00
Sven Neumann 74002a72e1 app/dialogs/user-install-dialog.c app/file/gimprecentlist.c
2005-03-04  Sven Neumann  <sven@gimp.org>

	* app/dialogs/user-install-dialog.c
	* app/file/gimprecentlist.c
	* app/widgets/gimpwidgets-utils.c
	* modules/controller_linux_input.c
	* modules/controller_midi.c
	* plug-ins/common/compressor.c
	* plug-ins/common/mail.c
	* plug-ins/common/psp.c
	* plug-ins/common/raw.c
	* plug-ins/helpbrowser/dialog.c
	* plug-ins/imagemap/imap_cern.y
	* plug-ins/imagemap/imap_cern_parse.[ch]
	* plug-ins/imagemap/imap_csim.y
	* plug-ins/imagemap/imap_csim_parse.[ch]
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_ncsa.y
	* plug-ins/imagemap/imap_ncsa_parse.[ch]
	* plug-ins/uri/uri.c
	* plug-ins/xjt/xjt.c: ported the remaining functions to gstdio.
2005-03-04 19:13:21 +00:00
Michael Natterer 1870b5d5c9 in the spirit of the fix for bug #165618 below, allow tools to specify up
2005-03-04  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptoolcontrol.[ch]: in the spirit of the fix for bug
	#165618 below, allow tools to specify up to two "object actions"
	(actions which select brushes, patterns, ...).

	* app/tools/gimpblendtool.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpclonetool.c
	* app/tools/gimppainttool.c
	* app/tools/gimptexttool.c: set actions where appropriate.

	* app/actions/actions.c (action_select_object): allow objects to
	be selected by index.

	* app/actions/context-actions.c: added actions which select
	objects by index. Not really used but the same actions can be used
	to generically pass any GimpActionSelectType enum value to the
	action callbacks.

	* app/actions/tools-actions.c
	* app/actions/tools-commands.[ch]: added actions and callbacks
	for the new generic tool objects.

	Also fixed and cleaned up the new generic tool value code.
2005-03-04 19:05:40 +00:00