Commit Graph

10626 Commits

Author SHA1 Message Date
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
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
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 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 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 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
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 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 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
Manish Singh fa041c2043 #include gstdio.h
2003-03-04  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/gqbist.c: #include gstdio.h
2005-03-04 18:35:46 +00:00
Sven Neumann 793f96f6b1 plug-ins/common/CEL.c plug-ins/common/gbr.c plug-ins/common/gih.c
2005-03-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/CEL.c
	* plug-ins/common/gbr.c
	* plug-ins/common/gih.c
	* plug-ins/common/gqbist.c
	* plug-ins/common/pat.c
	* plug-ins/common/pnm.c
	* plug-ins/common/postscript.c
	* plug-ins/common/raw.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/faxg3/faxg3.c
	* plug-ins/imagemap/imap_preferences.c
	* plug-ins/print/print.c: added missing parameter to g_open() calls,
	ported some functions I missed earlier.
2005-03-04 18:31:43 +00:00
William Skaggs c991c48788 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpimage.c
	* app/display/gimpdisplayoptions.c: re-order code so
	sample-point stuff comes directly after guide stuff.
2005-03-04 18:16:29 +00:00
Sven Neumann 318bc7a31e ported to g_stdio. Also disabled code that attempts to load scripts from
2005-03-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/siod/slib.c (vload) (fopen_c): ported to
	g_stdio. Also disabled code that attempts to load scripts from
	SIOD_LIB.
2005-03-04 18:10:50 +00:00
Sven Neumann 6804e92cc4 handle g_get_home_dir() returning NULL and enable it for the Win32
2005-03-04  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-path.c (gimp_config_path_expand_only):
	handle g_get_home_dir() returning NULL and enable it for the Win32
	platform as well.
2005-03-04 17:54:22 +00:00
Sven Neumann b193a98da3 plug-ins/FractalExplorer/Dialogs.c plug-ins/Lighting/lighting_ui.c
2005-03-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/gfig/gfig-dialog.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gimpressionist/utils.c: same fix for path encoding as
	done in Script-Fu (see bug #165002).
2005-03-04 17:07:34 +00:00
William Skaggs ea267753f6 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/core/gimpimage-sample-points.c
	* app/core/gimpimage-sample-points.h: new files

	* app/actions/view-actions.c
	* app/actions/view-commands.c
	* app/actions/view-commands.h
	* app/config/gimprc-blurbs.h
	* app/core/Makefile.am
	* app/core/core-enums.c
	* app/core/core-enums.h
	* app/core/core-types.h
	* app/core/gimp.c
	* app/core/gimp.h
	* app/core/gimpimage-crop.c
	* app/core/gimpimage-duplicate.c
	* app/core/gimpimage-flip.c
	* app/core/gimpimage-rotate.c
	* app/core/gimpimage-scale.c
	* app/core/gimpimage-undo-push.c
	* app/core/gimpimage-undo-push.h
	* app/core/gimpimage.c
	* app/core/gimpimage.h
	* app/display/gimpdisplayoptions.c
	* app/display/gimpdisplayoptions.h
	* app/display/gimpdisplayshell-appearance.c
	* app/display/gimpdisplayshell-appearance.h
	* app/display/gimpdisplayshell-callbacks.c
	* app/display/gimpdisplayshell-draw.c
	* app/display/gimpdisplayshell-draw.h
	* app/display/gimpdisplayshell-handlers.c
	* app/display/gimpdisplayshell.c
	* app/display/gimpdisplayshell.h
	* app/widgets/gimphelp-ids.h
	* menus/image-menu.xml.in: add support for a list of "sample
	points" in each image, coded and handled very similarly to
	guides, for use mainly in color correction.  See bug #137776.
2005-03-04 16:34:59 +00:00
Sven Neumann 8312bf270b need to convert script-fu-path to filesystem encoding. Should fix bug
2005-03-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/script-fu-scripts.c (script_fu_find_scripts):
	need to convert script-fu-path to filesystem encoding. Should fix
	bug #165002.
2005-03-04 16:27:59 +00:00
Sven Neumann 86681c8d53 ported to gstdio, removed unnecessary includes.
2005-03-04  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/*: ported to gstdio, removed unnecessary includes.
2005-03-04 15:12:29 +00:00
Sven Neumann 56d285db91 also commit these unsaved files 2005-03-04 13:27:55 +00:00
Michael Natterer a303b44c62 Fixed bug #165618:
2005-03-04  Michael Natterer  <mitch@gimp.org>

	Fixed bug #165618:

	* app/tools/gimptoolcontrol.[ch]: added new functions
	gimp_tool_control_set/get_action_value_1/2/3/4() which allow tools
	to specify their primary, secondary etc. "values" using
	action-identifying strings like "context/context-brush-radius-set".

	* app/tools/gimpblendtool.c
	* app/tools/gimpbucketfilltool.c
	* app/tools/gimpcolortool.c
	* app/tools/gimpinktool.c
	* app/tools/gimppainttool.c: set actions where appropriate. Still
	needs some way to document the mapping in a user-visible way.

	* app/tools/gimpblendtool.c
	* app/tools/gimpbucketfilltool.c: tab removal and minor cleanups.

	* app/actions/actions.[ch]: added utility function
	action_select_property().

	* app/actions/tools-actions.c
	* app/actions/tools-commands.[ch]: added actions and callbacks for
	setting the ink blob size, aspect and angle. Also added actions
	and callbacks for the new generic tool values.
2005-03-04 11:42:46 +00:00
Helvetix Victorinox e6d4e36906 Applied patch from starox-gimp@starox.org (Frederic Leroy) which fixed the
* app/composite/make-installer.py:Applied patch from
starox-gimp@starox.org (Frederic Leroy) which fixed the parser of
the nm programme output to understand the output on 64bit
machines.  Fixes bug #168529

* app/composite/ns.py:
Applied patch from starox-gimp@starox.org (Frederic Leroy) which
fixed a bug that would appear when only one compositing function
was implemented.  Fixes bug #168529

										Regenerated app/composite function tables.
2005-03-04 07:39:47 +00:00
Sven Neumann 911d267dce added a sanity check for bogus frame dimensions. Fixes bug #169113.
2005-03-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/gifload.c (ReadImage): added a sanity check for
	bogus frame dimensions. Fixes bug #169113.
2005-03-03 17:50:41 +00:00
Sven Neumann 6fa94dd8d2 allocate tile-cache size more intelligently.
2005-03-03  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/autocrop.c: allocate tile-cache size more
	intelligently.
2005-03-03 17:00:44 +00:00