Commit Graph

188 Commits

Author SHA1 Message Date
Manish Singh 7ef0073577 When using a separate dir for images, actually prepend the dir to the img
2004-04-11  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/py-slice.py: When using a separate dir for
        images, actually prepend the dir to the img srcs in the html. Allow
        only horizontal or vertical guides in an image, do not require both.
        A bit smarter path handling. Addresses most of bug #138714.
2004-04-11 17:00:39 +00:00
Manish Singh 960735fba3 don't pass extra parameters to undo group functions. Fixes #136524.
2004-03-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/shadow_bevel.py: don't pass extra
        parameters to undo group functions. Fixes #136524.
2004-03-08 08:12:11 +00:00
Manish Singh db856068bb Disable PF_*ARRAY for now. Addresses #122049.
2004-03-02  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: Disable PF_*ARRAY for now. Addresses
        #122049.
2004-03-02 18:25:29 +00:00
Manish Singh d34136153f Moved to the Test menu, to clarify its station in life.
2004-02-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/pygimp/plug-ins/sphere.py: Moved to the Test menu,
        to clarify its station in life.
2004-02-20 08:55:10 +00:00
Manish Singh 843e4a30ba Do some simple validation on the GUI input. Arrays are still kinda hokey
2004-02-20  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/pygimp/gimpfu.py: Do some simple validation on the
        GUI input. Arrays are still kinda hokey though. Based on Dave Neary's
        patch, addresses bug #122049.

        * plug-ins/common/pygimp/plug-ins/sphere.py: Make sure radius is at
        least 1. Thanks to Florian Traverse for noticing. (Also in #122049)
2004-02-20 08:41:00 +00:00
Manish Singh 11410ff7f0 Translate None to NULL when passing strings.
2004-02-05  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-pdb.c (pygimp_param_from_tuple): Translate
        None to NULL when passing strings.
2004-02-05 09:17:19 +00:00
Manish Singh 9db6153f09 modernized, made a lot of things m4 macros, and made versioning a lot more
2004-01-21  Manish Singh  <yosh@gimp.org>

        * configure.in: modernized, made a lot of things m4 macros, and made
        versioning a lot more finegrained, in anticipation for post-2.0.

        * autogen.sh: bumped up libtool and glib minimum requirements to match
        reality.

        * gimp-2.0.pc.in
        * gimpthumb-2.0.pc.in
        * gimpui-2.0.pc.in: adapted to new versioning variables, and bring
        in RT_LIBS when needed.

        * */*/Makefile.am: adapted to new versioning variables.
2004-01-22 03:51:46 +00:00
David Odin 31c507c288 Show the description of params in dialog boxes, rather than the internal
* plug-ins/pygimp/gimpfu.py: Show the description of params in dialog
	boxes, rather than the internal variable name.  This is more
	consistent with script-fu.  (reported by Florian Traverse)
2004-01-17 14:05:40 +00:00
Michael Natterer 8394e9e0f1 removed GimpChannelLutType enum and export GimpHistogramChannel to the
2004-01-13  Michael Natterer  <mitch@gimp.org>

	* app/base/base-enums.h: removed GimpChannelLutType enum and
	export GimpHistogramChannel to the PDB. The removed enum was just
	there for libgimp compatibility.

	* tools/pdbgen/pdb/color.pdb: changed accordingly.

	* libgimp/gimpcompat.h
	* plug-ins/script-fu/siod-wrapper.c: added compat cruft.

	* app/pdb/color_cmds.c
	* libgimp/gimpcolor_pdb.[ch]
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2004-01-13 16:19:50 +00:00
Henrik Brix Andersen c633a419ea use gimp_edit_bucket_fill() and gimp_edit_blend() instead of deprecated
2004-01-06 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/pygimp/plug-ins/sphere.py (python_sphere): use
gimp_edit_bucket_fill() and gimp_edit_blend() instead of
deprecated functions.
2004-01-06 16:16:30 +00:00
Michael Natterer dec20d8214 Enabled skipping enum values for either the PDB or GType registration
2004-01-06  Michael Natterer  <mitch@gimp.org>

	Enabled skipping enum values for either the PDB or GType
	registration (don't always skip both targets):

	* tools/gimp-mkenums: skip enum values only if there is a literal
	"skip" (don't match "pdb-skip").

	* tools/pdbgen/enumgen.pl: skip only "pdb-skip" values, not "skip"
	ones.

	* app/base/base-enums.h
	* app/core/core-enums.h
	* app/paint/paint-enums.h
	* libgimpbase/gimpbaseenums.h: use the right "pdb-skip"/"skip"
	combination to skip enum values. Changed comments accordingly.

	Cleaned up the fill functions:

	* app/core/core-enums.[ch]: added GIMP_PATTERN_FILL enum value to
	the GimpFillType enum. Don't export GIMP_NO_FILL to the PDB
	because it's completely useless to export a NOP.

	* app/core/gimp-edit.c (gimp_edit_fill, gimp_edit_fill_internal):
	handle pattern fill requests.

	* app/core/gimpdrawable.[ch] (gimp_drawable_fill): added GimpPattern
	parameter and fill with it if it's non-NULL.

	(gimp_drawable_fill_by_type): handle pattern fill and pass the
	current pattern to gimp_drawable_fill().

	* app/text/gimptextlayer.c: changed accordingly.

	* app/gui/edit-commands.c
	* app/gui/image-menu.c: use gimp_edit_fill() instead of
	gimp_drawable_bucket_fill() for FG, BG and pattern filling.

	* libgimp/gimpcompat.h
	* plug-ins/script-fu/siod-wrapper.c: removed NO_IMAGE_FILL compat
	enum value. It should have never been exported to the PDB.

	* app/pdb/drawable_cmds.c
	* app/pdb/edit_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2004-01-06 14:02:08 +00:00
Manish Singh e211f6f73b check for shm_open in libc too, and define RT_LIBS accordingly.
2004-01-03  Manish Singh  <yosh@gimp.org>

        * configure.in: check for shm_open in libc too, and define RT_LIBS
        accordingly.

        * gimptool-1.3.in
        * app/Makefile.am
        * libgimp/Makefile.am
        * plug-ins/*/Makefile.am
        * plug-ins/common/mkgen.pl: use RT_LIBS.
2004-01-03 22:41:09 +00:00
Manish Singh 270c8d9c33 add undo_group_{start,end} methods.
2003-12-24  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-image.c: add undo_group_{start,end} methods.

        * plug-ins/pygimp/foggify.py
        * plug-ins/pygimp/shadow_bevel.py: and use them here, instead of
        deprecated PDB functions.
2003-12-25 06:14:15 +00:00
Manish Singh 9fe4d3bbc3 remove add/remove_layer_mask methods...
2003-12-23  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-image.c: remove add/remove_layer_mask
        methods...

        * plug-ins/pygimp/pygimp-drawable.c: ... and put them here, as methods
        of the layer object.

        * plug-ins/pygimp/plug-ins/foggify.py: update for the above new API.
2003-12-24 00:41:12 +00:00
Manish Singh 2f78ef6d1f use get_name for the repr instead of get_filename, to be more consistent.
2003-12-14  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-image.c: use get_name for the repr instead
        of get_filename, to be more consistent.
2003-12-14 22:29:03 +00:00
Hans Breuer 1baa2d4581 [ I've postponed my reservations against pangoft2/fontconfig/freetype2
2003-12-12  Hans Breuer  <hans@breuer.org>

	[
	 I've postponed my reservations against pangoft2/fontconfig/freetype2
	 usage, so The Gimp should now build with msvc without patching it.
	]

	* app/makefile.msc app/text/makefile.msc : use $(PANGOFT2_CFLAGS) etc.

	* libgimpthumb/makefile.msc : (new file)
	* makefile.msc : added libgimpthumb

	* libgimpthumb/gimpthumbnail.c : include gimpwin32-io.h
	* libgimpthumb/gimpthumb-utils.c : don't compare size pointer
	with GIMP_THUMB_SIZE_FAIL but *size

	* plug-ins/makefile.msc : handle libgimpoldpreview

	* plug-ins/common/decompose.c : define cbrt() if not __GLIBC__

	* plug-ins/common/winclipboard.c : make it compile without gimpcompat.h

	* plug-ins/imagemap/imagemap_csim_lex.c : its a generated file
	but still win32/msvc has no unistd.h

	* plug-ins/pygimp/makefile.msc : (new file) to use the binary you
	need to patch glib, see bug #98737

	* plug-ins/libgimpoldpreview.c : use <libgimp/gimp.h> instead of "gimp.h"

	* **/Makefile.am : added makefile.msc to EXTRA_DIST
2003-12-13 01:35:19 +00:00
Michael Natterer e009182a1e export enum GimpRotationType to libgimp.
2003-12-09  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.h: export enum GimpRotationType to libgimp.

	* tools/pdbgen/pdb/image.pdb: added gimp_image_rotate() PDB wrapper.

	* app/pdb/image_cmds.c
	* app/pdb/internal_procs.c
	* libgimp/gimpenums.h
	* libgimp/gimpimage_pdb.[ch]
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.

2003-12-09  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpenums.sgml
	* libgimp/tmpl/gimpimage.sgml: added gimp_image_rotate().
2003-12-09 09:03:52 +00:00
Michael Natterer c6de971122 marked gimp_image_add_layer_mask() and gimp_image_remove_layer_mask() as
2003-12-08  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/image.pdb: marked gimp_image_add_layer_mask()
	and gimp_image_remove_layer_mask() as deprecated. Didnn't remove
	them from the PDB because the new functions' signature differs and
	they are used very often in scripts, but removed them from the
	libgimp C wrappers.

	* tools/pdbgen/pdb/layer.pdb: added gimp_layer_add_mask() and
	gimp_layer_remove_mask().

	* libgimp/gimpcompat.h: added compat cruft.

	* app/pdb/image_cmds.c
	* app/pdb/internal_procs.c
	* app/pdb/layer_cmds.c
	* libgimp/gimpimage_pdb.[ch]
	* libgimp/gimplayer_pdb.[ch]: regenerated.

	* libgimp/gimpexport.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/psd.c
	* plug-ins/pygimp/pygimp-image.c
	* plug-ins/script-fu/scripts/3d-outline.scm
	* plug-ins/script-fu/scripts/alien-neon-logo.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/burn-in-anim.scm
	* plug-ins/script-fu/scripts/carve-it.scm
	* plug-ins/script-fu/scripts/carved-logo.scm
	* plug-ins/script-fu/scripts/chrome-it.scm
	* plug-ins/script-fu/scripts/chrome-logo.scm
	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/crystal-logo.scm
	* plug-ins/script-fu/scripts/fade-outline.scm
	* plug-ins/script-fu/scripts/frosty-logo.scm
	* plug-ins/script-fu/scripts/image-structure.scm
	* plug-ins/script-fu/scripts/news-text.scm
	* plug-ins/script-fu/scripts/rendermap.scm
	* plug-ins/script-fu/scripts/slide.scm
	* plug-ins/script-fu/scripts/sota-chrome-logo.scm
	* plug-ins/script-fu/scripts/speed-text.scm
	* plug-ins/script-fu/scripts/starburst-logo.scm
	* plug-ins/script-fu/scripts/textured-logo.scm
	* plug-ins/script-fu/scripts/weave.scm
	* plug-ins/script-fu/scripts/xach-effect.scm
	* plug-ins/xjt/xjt.c: changed accordingly.

2003-12-08  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpimage.sgml
	* libgimp/tmpl/gimplayer.sgml: follow layer mask API change.
2003-12-08 22:33:17 +00:00
Michael Natterer a046969687 renamed PDB function gimp_image_active_drawable() to
2003-12-08  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/image.pdb: renamed PDB function
	gimp_image_active_drawable() to gimp_image_get_active_drawable()
	so it's consistent with all other drawable getters.

	* app/pdb/procedural_db.c
	* libgimp/gimpcompat.h: added compat stuff.

	* app/pdb/image_cmds.c
	* libgimp/gimpimage_pdb.[ch]: regenerated.

	* plug-ins/pygimp/pygimp-image.c
	* plug-ins/script-fu/scripts/add-bevel.scm
	* plug-ins/script-fu/scripts/carved-logo.scm
	* plug-ins/script-fu/scripts/chrome-it.scm
	* plug-ins/script-fu/scripts/crystal-logo.scm
	* plug-ins/script-fu/scripts/round-corners.scm
	* plug-ins/script-fu/scripts/slide.scm
	* plug-ins/script-fu/scripts/sota-chrome-logo.scm: changed accordingly.

2003-12-08  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpimage.sgml: updated.
2003-12-08 18:30:54 +00:00
Michael Natterer 3ad199d5b3 Name all PDB procedures which deal with floating selections consistently:
2003-12-05  Michael Natterer  <mitch@gimp.org>

	Name all PDB procedures which deal with floating selections
	consistently:

	* tools/pdbgen/pdb/image.pdb: renamed
	gimp_image_floating_selection() to gimp_image_get_floating_sel().

	* libgimp/gimplayer.h: removed gimp_layer_is_floating_selection #define.

	* libgimp/gimpcompat.h
	* app/pdb/procedural_db.c: added compat stuff.

	* app/pdb/image_cmds.c
	* libgimp/gimpimage_pdb.[ch]: regenerated.

	* plug-ins/common/curve_bend.c
	* plug-ins/common/film.c
	* plug-ins/common/rotate.c
	* plug-ins/pygimp/pygimp-image.c
	* plug-ins/xjt/xjt.c: changed accordingly.

2003-12-05  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpimage.sgml
	* libgimp/tmpl/gimplayer.sgml: follow floating_sel cleanup.
2003-12-05 16:30:01 +00:00
Manish Singh 24ef6784bb made linked an attribute of GimpDrawable.
2003-12-04  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-drawable.c: made linked an attribute of
        GimpDrawable.
2003-12-04 19:12:41 +00:00
Michael Natterer a90e63ca9b renamed gimp_layer_mask() to gimp_layer_get_mask().
2003-12-04  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/layer.pdb: renamed gimp_layer_mask() to
	gimp_layer_get_mask().

	* libgimp/gimplayer.h: removed gimp_layer_get_mask_id #define.

	* libgimp/gimpcompat.h: added old stuff.

	* app/pdb/layer_cmds.c
	* libgimp/gimplayer_pdb.[ch]: regenerated.

	* libgimp/gimpexport.c
	* plug-ins/common/curve_bend.c
	* plug-ins/pygimp/pygimp-drawable.c
	* plug-ins/script-fu/scripts/image-structure.scm
	* plug-ins/xjt/xjt.c: changed accordingly.

2003-12-04  Michael Natterer  <mitch@gimp>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimplayer.sgml: fllow gimp_layer_get_mask() change.
2003-12-04 14:05:17 +00:00
Michael Natterer 78def81895 renamed gimp_drawable_image() to gimp_drawable_get_image() for symmetry
2003-12-04  Michael Natterer  <mitch@gimp.org>

	* tools/pdbgen/pdb/drawable.pdb: renamed gimp_drawable_image() to
	gimp_drawable_get_image() for symmetry with
	gimp_drawable_set_image().

	* libgimp/gimpchannel.h: removed gimp_channel_get_image_id #define.
	* libgimp/gimpdrawable.h: removed gimp_drawable_image_id #define.
	* libgimp/gimplayer.h:: removed gimp_layer_get_image_id #define.

	* libgimp/gimpcompat.h: added the old stuff here.

	* app/pdb/drawable_cmds.c
	* libgimp/gimpdrawable_pdb.[ch]: regenerated.

	* libgimp/gimpmiscui.c
	* plug-ins/Lighting/lighting_main.c
	* plug-ins/MapObject/mapobject_main.c
	* plug-ins/common/curve_bend.c
	* plug-ins/common/film.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/pixelize.c
	* plug-ins/common/ps.c
	* plug-ins/common/sample_colorize.c
	* plug-ins/common/smooth_palette.c
	* plug-ins/common/warp.c
	* plug-ins/imagemap/imap_cmd_gimp_guides.c
	* plug-ins/imagemap/imap_main.c
	* plug-ins/imagemap/imap_preview.c
	* plug-ins/maze/maze.c
	* plug-ins/pygimp/pygimp-drawable.c
	* plug-ins/rcm/rcm_misc.c
	* plug-ins/script-fu/scripts/addborder.scm
	* plug-ins/script-fu/scripts/carve-it.scm
	* plug-ins/script-fu/scripts/weave.scm: changed accordingly.

	* plug-ins/maze/maze.c: completely reindented.

	* plug-ins/script-fu/siod/trace.c: removed trailing whitespace.

2003-12-04  Michael Natterer  <mitch@gimp.org>

	* libgimp/libgimp-sections.txt
	* libgimp/tmpl/gimpchannel.sgml
	* libgimp/tmpl/gimpdrawable.sgml
	* libgimp/tmpl/gimplayer.sgml: updated after
	gimp_drawable_get_image() cleanup.
2003-12-04 13:21:27 +00:00
Michael Natterer a62e834b95 made it compile again.
2003-12-04  Michael Natterer  <mitch@gimp.org>

	* plug-ins/pygimp/pygimp-drawable.c (lay_set_linked): made it
	compile again.
2003-12-04 11:13:39 +00:00
Manish Singh 0518761f23 plug-ins/pygimp/gimpmodule.c plug-ins/pygimp/pygimp-drawable.c
2003-12-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp-drawable.c
        * plug-ins/pygimp/pygimp-image.c
        * plug-ins/pygimp/pygimp-pdb.c
        * plug-ins/pygimp/pygimp-tile.c: some cosmetic changes to error
        messages.

        * plug-ins/pygimp/pygimp-drawable.c: accessors for name, tattoo, and
        visible live in the drawable class now, so layer and channel objects
        inherit it.
2003-12-03 21:52:09 +00:00
Michael Natterer 04ddf1edc6 follow change below.
2003-12-03  Michael Natterer  <mitch@gimp.org>

	* plug-ins/pygimp/gimpmodule.c (pygimp_delete): follow change below.
2003-12-03 17:53:21 +00:00
Manish Singh ce07d9eaa4 plug-ins/pygimp/pygimp-drawable.c quick fix to make it build with the
2003-12-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/pygimp-drawable.c
        * plug-ins/pygimp/pygimp-tile.c: quick fix to make it build with the
        below. Real fix later.
2003-12-03 17:41:36 +00:00
Manish Singh 590204d122 plug-ins/pygimp/plug-ins/Makefile.am Added py-slice, a python version of
2003-11-28  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/Makefile.am
        * plug-ins/pygimp/plug-ins/py-slice.py: Added py-slice, a python
        version of perlotine.
2003-11-29 02:05:02 +00:00
Michael Natterer c97d090d13 eek, it should be GIMP_ADD_ALPHA_TRANSFER_MASK, not
2003-11-26  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]: eek, it should be
	GIMP_ADD_ALPHA_TRANSFER_MASK, not GIMP_ADD_ALPHA_MASK_TRANSFER.

	* app/core/gimplayer.c (gimp_layer_create_mask): changed accordingly.

	* app/pdb/layer_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2003-11-26 16:00:14 +00:00
Michael Natterer e0e8a34f31 added enum values GIMP_ADD_ALPHA_MASK_TRANSFER and
2003-11-26  Michael Natterer  <mitch@gimp.org>

	* app/core/core-enums.[ch]: added enum values
	GIMP_ADD_ALPHA_MASK_TRANSFER and GIMP_UNDO_GROUP_LAYER_ADD_MASK.

	* app/core/gimplayer.c (gimp_layer_create_mask): applied patch
	from Pedro Gimeno which implements the new ADD_MASK type and
	added undo. Fixes bug #127930.

	* app/gui/layers-commands.c: push an undo group around layer mask
	creation & adding since the creation may change the layer now.

	* app/pdb/layer_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2003-11-26 15:48:50 +00:00
Sven Neumann 85adefe7ba app/core/Makefile.am app/core/core-types.h added filter functionality for
2003-09-04  Sven Neumann  <sven@gimp.org>

	* app/core/Makefile.am
	* app/core/core-types.h
	* app/core/gimpcontainer-filter.[ch]: added filter functionality
	for GimpContainers.

	* tools/pdbgen/pdb/brushes.pdb
	* tools/pdbgen/pdb/fonts.pdb
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/palettes.pdb
	* tools/pdbgen/pdb/patterns.pdb: made the gimp_foo_get_list()
	PDB function somewhat useful by adding a filter parameter that
	allows to specify a regular expression to be used on the list.

	* app/pdb/Makefile.am: had to uglify the ugly hack even more :(

	* app/pdb/brushes_cmds.c
	* app/pdb/fonts_cmds.c
	* app/pdb/gradients_cmds.c
	* app/pdb/palettes_cmds.c
	* app/pdb/patterns_cmds.c
	* libgimp/gimpbrushes_pdb.[ch]
	* libgimp/gimpfonts_pdb.[ch]
	* libgimp/gimpgradients_pdb.[ch]
	* libgimp/gimppalettes_pdb.[ch]
	* libgimp/gimppatterns_pdb.[ch]: regenerated.

	* plug-ins/gflare/gflare.c
	* plug-ins/pygimp/gimpmodule.c: changed accordingly.

	* plug-ins/script-fu/scripts/font-map.scm: replaced the font list
	parameter with a more useful regexp filter on the available fonts.
2003-09-04 17:04:36 +00:00
Manish Singh 8caca0bf68 added a prominent comment for translators to make sure they have all 4 po
2003-08-31  Manish Singh  <yosh@gimp.org>

        * configure.in: added a prominent comment for translators to make
        sure they have all 4 po files before adding to ALL_LINGUAS.

        * app/gui/plug-in-menus.c: remove redudant #include of gimpenv.h

        * tools/pdbgen/pdb/plug_in.pdb: gimp_strip_uline menu_path before
        passing it up.

        * app/pdb/plug_in_cmds.c: regenerated.

        * plug-ins/common/mng.c
        * plug-ins/common/psd_save.c
        * plug-ins/common/psp.c: use G_N_ELEMENTS

        * plug-ins/common/screenshot.c: use GDK_WINDOWING_* for #includes
        too. GDK cursor enums are ok to pass to XCreateFontCursor.

        * plug-ins/dbbrowser/dbbrowser_utils.c: minor cleanups, also use
        gtk_cell_renderer_text_set_fixed_height_from_font as an optimization.

        * plug-ins/libgck/gck/gckcolor.c: #undef GDK_DISABLE_DEPRECATED and
        add warning.

        * plug-ins/pygimp/gimpfu.py: remove some redundant import gtk's
2003-08-31 17:23:01 +00:00
Sven Neumann ee6dad2eb5 use GIMP_GRADIENT as prefix for the GimpGradientType enum.
2003-08-26  Sven Neumann  <sven@gimp.org>

	* app/core/core-enums.h: use GIMP_GRADIENT as prefix for the
	GimpGradientType enum.

	* app/core/core-enums.c
	* app/pdb/misc_tools_cmds.c
	* libgimp/gimpenums.h
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.

	* app/core/gimpdrawable-blend.c
	* app/tools/gimpblendoptions.c
	* plug-ins/pygimp/plug-ins/sphere.py
	* plug-ins/script-fu/scripts: changed accordingly.

	* libgimp/gimpcompat.h
	* plug-ins/script-fu/siod-wrapper.c: added compatibility defines
	for the old enum values.
2003-08-26 18:12:42 +00:00
Manish Singh a28b83ae11 updated for new gradient sample API, "reverse" is an optional parameter
2003-08-18  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpmodule.c: updated for new gradient sample API,
        "reverse" is an optional parameter which defaults to FALSE.
2003-08-18 22:29:13 +00:00
Manish Singh 690db96f73 slight include file ordering tweak
2003-08-13  Manish Singh  <yosh@gimp.org>

        * pygimp/Makefile.am: slight include file ordering tweak

        * plug-ins/pygimp/plug-ins/colorhtml.py: add a sanity check

        * plug-ins/pygimp/plug-ins/sphere.py
        * plug-ins/pygimp/plug-ins/whirlpinch.py: minor cleanups for
        Python 2.3

        * plug-ins/webbrowser/web-browser.scm: change script to reflect
        new pdb name of the web-browser.
2003-08-13 19:34:55 +00:00
Henrik Brix Andersen f36a63f68c removed function gimp_menu_path_strip_uline() ...
2003-08-09 Henrik Brix Andersen <brix@gimp.org>

* gimp/app/widgets/gimpwidgets-utils.[ch]: removed function
gimp_menu_path_strip_uline() ...

* gimp/libgimpbase/gimputils.[ch]: ... and added it here under the
name gimp_strip_uline()

* gimp/devel-docs/libgimpbase/libgimpbase-sections.txt: added
gimp_strip_uline to gimputils section

* gimp/app/plug-in/plug-in.c
* gimp/app/widgets/gimpitemfactory.c
* gimp/app/widgets/gimptoolbox.
* gimp/app/gui/plug-in-menus.c: changed accordingly

* gimp/plug-ins/script-fu/script-fu-scripts.c
(script_fu_interface): use gimp_strip_uline() to strip mnemonics
from script-fu menu paths

* gimp/app/gui/vectors-menu.c
* gimp/app/gui/templates-menu.c
* gimp/app/gui/qmask-menu.c
* gimp/app/gui/palettes-menu.c
* gimp/app/gui/palette-editor-menu.c
* gimp/app/gui/images-menu.c
* gimp/app/gui/gradients-menu.c
* gimp/app/gui/gradient-editor-menu.c
* gimp/app/gui/documents-menu.c
* gimp/app/gui/dialogs-menu.c
* gimp/app/gui/colormap-editor-menu.c
* gimp/app/gui/channels-menu.c
* gimp/app/gui/buffers-menu.c
* gimp/app/gui/brushes-menu.c
* gimp/app/gui/layers-menu.c
* gimp/plug-ins/pygimp/plug-ins/clothify.py
* gimp/plug-ins/pygimp/plug-ins/shadow_bevel.py
* gimp/plug-ins/pygimp/plug-ins/whirlpinch.py
* gimp/plug-ins/pygimp/plug-ins/foggify.py
* gimp/plug-ins/script-fu/scripts/*.scm
* gimp/plug-ins/script-fu/script-fu.c: added mnemonics fixing more
of bug #106991

* gimp/app/gui/error-console-menu.c (error_console_menu_update):
updated menu item names, added mnemonics

* gimp/plug-ins/common/animoptimize.c *
gimp/plug-ins/common/animationplay.c: don't prepend every menu
entry with "Animation"
2003-08-11 17:14:32 +00:00
Henrik Brix Andersen 33e315dd70 plug-ins/pygimp/plug-ins/sphere.py plug-ins/pygimp/plug-ins/pdbbrowse.py
2003-08-04 Henrik Brix Andersen <brix@gimp.org>

* plug-ins/pygimp/plug-ins/sphere.py
* plug-ins/pygimp/plug-ins/pdbbrowse.py
* plug-ins/pygimp/plug-ins/gimpcons.py
* plug-ins/maze/maze.c
* plug-ins/ifscompose/ifscompose.c
* plug-ins/gfig/gfig.c
* plug-ins/FractalExplorer/FractalExplorer.c
* plug-ins/flame/flame.c
* plug-ins/dbbrowser/dbbrowser.c
* plug-ins/common/CML_explorer.c
* app/gui/image-menu.c: added even more mnemonics to fix more of
bug #106991. Still more to follow...
2003-08-04 18:33:25 +00:00
Manish Singh 4c3671b29f slight fix for arg handling, shouldn't have any functional difference.
2003-07-25  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpfu.py: slight fix for arg handling, shouldn't
        have any functional difference. This code should be redone at some
        point.

        * plug-ins/pygimp/gimpmodule.c
        * plug-ins/pygimp/pygimp.h
        * plug-ins/pygimp/pygimp-pdb.c: constify

        * plug-ins/pygimp/plug-ins/sphere.py: use new blend pdb interface
2003-07-25 23:46:40 +00:00
Michael Natterer 075195d16b added "gboolean reverse" to gimp_gradient_get_color_at() so all gradients
2003-07-22  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpgradient.[ch]: added "gboolean reverse" to
	gimp_gradient_get_color_at() so all gradients can be used
	reversed.

	* app/core/gimpdrawable-blend.[ch] (gimp_drawable_blend)
	* app/core/gimppalette-import.[ch] (gimp_palette_import_from_gradient):
	added "gboolean reverse".

	* app/paint/paint-enums.[ch]: removed enum GimpGradientRepeatMode
	since it is identical to GimpRepeatMode, except for the now
	obsolete ONCE_BACKWARD value.

	* app/paint/gimppaintcore.[ch]: removed
	gimp_paint_core_get_color_from_gradient()...

	* app/paint/gimppaintoptions.[ch]: ...and added
	gimp_paint_options_get_gradient_color(), which is much more
	general. Added a "reverse" property to GimpGradientOptions and
	changed the type of the "repeat" property to GimpRepeatMode.

	* app/paint/gimppaintbrush.c: use
	gimp_paint_options_get_gradient_color().

	* app/tools/gimpblendoptions.[ch]: removed the "repeat" property
	since it is in the parent class now.

	* app/gui/gradient-select.c
	* app/gui/palette-import-dialog.c
	* app/widgets/gimpgradienteditor.c
	* app/tools/gimpblendtool.c
	* tools/pdbgen/pdb/gradients.pdb
	* tools/pdbgen/pdb/misc_tools.pdb: changed accordingly.

	* app/tools/gimppaintoptions-gui.c: added a "Reverse" toggle right
	of the gradient preview.

	* app/widgets/gimppreviewrenderergradient.[ch]: added "gboolean
	reverse" member and gimp_preview_renderer_gradient_set_reverse()
	API.

	* tools/pdbgen/pdb/paint_tools.pdb: fixed the paintbrush invoker
	to set GimpPaintOption's "use-fade" and "use-gradient" properties
	correctly.

	* app/pdb/gradients_cmds.c
	* app/pdb/misc_tools_cmds.c
	* app/pdb/paint_tools_cmds.c
	* libgimp/gimpenums.h
	* libgimp/gimpmisctools_pdb.[ch]
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.

	* libgimp/gimpcompat.h
	* plug-ins/script-fu/siod-wrapper.c: removed GimpGradientPaintMode
	here too since it was only exported accidentially (it's not used
	by any external API).

	* plug-ins/script-fu/scripts/3dTruchet.scm
	* plug-ins/script-fu/scripts/alien-glow-arrow.scm
	* plug-ins/script-fu/scripts/alien-glow-bar.scm
	* plug-ins/script-fu/scripts/alien-glow-bullet.scm
	* plug-ins/script-fu/scripts/alien-glow-button.scm
	* plug-ins/script-fu/scripts/alien-glow-logo.scm
	* plug-ins/script-fu/scripts/basic1-logo.scm
	* plug-ins/script-fu/scripts/basic2-logo.scm
	* plug-ins/script-fu/scripts/beveled-button.scm
	* plug-ins/script-fu/scripts/blended-logo.scm
	* plug-ins/script-fu/scripts/burn-in-anim.scm
	* plug-ins/script-fu/scripts/coffee.scm
	* plug-ins/script-fu/scripts/comic-logo.scm
	* plug-ins/script-fu/scripts/coolmetal-logo.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/gradient-bevel-logo.scm
	* plug-ins/script-fu/scripts/gradient-example.scm
	* plug-ins/script-fu/scripts/pupi-button.scm
	* plug-ins/script-fu/scripts/rendermap.scm
	* plug-ins/script-fu/scripts/sphere.scm
	* plug-ins/script-fu/scripts/starscape-logo.scm
	* plug-ins/script-fu/scripts/test-sphere.scm
	* plug-ins/script-fu/scripts/textured-logo.scm
	* plug-ins/script-fu/scripts/title-header.scm
	* plug-ins/script-fu/scripts/weave.scm: pass "reverse" to
	gimp_blend(). Pass FALSE in most cases and added script
	parameters were it makes sense.
2003-07-22 14:24:11 +00:00
Manish Singh 4b266f3240 don't do anything if run standalone and given a -gimp command line option.
2003-07-09  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/plug-ins/gtkcons.py: don't do anything if run
        standalone and given a -gimp command line option. (Sanity against
        #117074)
2003-07-09 21:19:16 +00:00
Manish Singh 122c006564 fix spelling of "quality" in comment
2003-07-03  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/jpeg.c: fix spelling of "quality" in comment

        * tools/pdbgen/*.pl: update copyright strings to 2003

        * libgimp/gimpenums.h
        * libgimp/*_pdb.[ch]
        * app/pdb/*_cmds.[ch]
        * app/pdb/internal_procs.[ch]
        * plug-ins/pygimp/gimpenums.py
        * plug-ins/script-fu/script-fu-constants.c: regenerated
2003-07-03 00:47:26 +00:00
Manish Singh c1e165d32d Missing self. reference. Fixes #115714.
2003-06-26  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/gimpui.py: Missing self. reference. Fixes #115714.

        * plug-ins/pygimp/gimpui.py: Move item.show() in Selector so that all
        items are shown. Fixes bug #115715. Thanks to Dave Corrie for catching
        both these.

        * plug-ins/pygimp/gimpfu.py: Always register as type PLUGIN, to
        reflect the recent changes in semantics.

        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py: s/extension/plug_in/ to
        reflect above, for consistency.

        * plug-ins/pygimp/gimpfu.py: Add a fail method which uses
        gimp.message and then raises an error.

        * plug-ins/pygimp/gimpmodule.c: remove declarations for
        gimp_extension_ack and gimp_extension_process, they are in gimp.h.

        * plug-ins/pygimp/gimpfu.py
        * plug-ins/pygimp/gimpui.py
        * plug-ins/pygimp/plug-ins/gimpcons.py
        * plug-ins/pygimp/plug-ins/pdbbrowse.py: Added pygtk.require('2.0').
        Fixes bug #115545.
2003-06-28 00:06:58 +00:00
Manish Singh f6fb0ffff8 gimp_main now takes a GimpPlugInInfo *, and PLUG_IN_INFO is now a static
2003-05-23  Manish Singh  <yosh@gimp.org>

        * libgimp/gimp.[ch]: gimp_main now takes a GimpPlugInInfo *,
        and PLUG_IN_INFO is now a static variable set from that. This
        removes all the special casing for the Win32 and OS/2 ports around
        this. Also added a debugging hook for quit procs.

        * plug-ins/common/mng.c: moved MAIN() to the end so PLUG_IN_INFO is
        declared.

        * plug-ins/gimpressionist/gimpressionist.c: pass &PLUG_IN_INFO
        to gimp_main.

        * plug-ins/pygimp/gimpmodule.c: Here too. Also add a message
        function.
2003-05-23 23:34:13 +00:00
Sven Neumann 5e11bae69b fixed parasite serialization that I broke yesterday.
2003-03-06  Sven Neumann  <sven@gimp.org>

	* app/core/gimpparasitelist.c: fixed parasite serialization that
	I broke yesterday.

	* app/widgets/gimpenummenu.c: added support for mnemonics.

	* app/core/core-enums.h: removed the inverted variants from the
	GimpAddMaskType enum. Registered the enum with the type system.

	* app/core/gimplayer.c: changed accordingly.

	* app/gui/layers-commands.c (layers_add_mask_query): use an enum
	frame and added a check button that allows to invert the inital
	layer mask.

	* tools/pdbgen/pdb/layer.pdb: updated documentation for the
	gimp-layer-create-mask PDB function.

	* plug-ins/script-fu/siod-wrapper.c: removed new enum values from
	the compatibility defines.

	* app/core/core-enums.c
	* app/pdb/layer_cmds.c
	* libgimp/gimpenums.h
	* libgimp/gimplayer_pdb.c
	* plug-ins/pygimp/gimpenums.py
	* plug-ins/script-fu/script-fu-constants.c
	* tools/pdbgen/enums.pl: regenerated.
2003-03-06 13:22:11 +00:00
Manish Singh e7809f046a make clean shouldn't clean disted files
2003-02-27  Manish Singh  <yosh@gimp.org>

        * plug-ins/pygimp/doc/Makefile.am: make clean shouldn't clean disted
        files
2003-02-28 01:21:27 +00:00
Michael Natterer 933e52adbd changed GimpOrientationType from GIMP_HORIZONTAL to
2003-02-09  Michael Natterer  <mitch@convergence.de>

	* app/core/core-enums.[ch]: changed GimpOrientationType from
	GIMP_HORIZONTAL to GIMP_ORIENTATION_HORIZONTAL etc.

	* tools/pdbgen/pdb/guides.pdb: changed accordingly. Don't subtract
	1 from guide->orientation because InternalOrientationType no
	longer exists.

	* tools/pdbgen/stddefs.pl: chop the whole GIMP_ORIENTATION_UNKNOWN
	value from the enum, not just UNKNOWN.

	* app/pdb/guides_cmds.c
	* app/pdb/transform_tools_cmds.c
	* libgimp/gimpenums.h
	* libgimp/gimpguides_pdb.c
	* plug-ins/script-fu/script-fu-constants.c
	* plug-ins/pygimp/gimpenums.py
	* tools/pdbgen/enums.pl: regenerated.

	* libgimp/gimpcompat.h
	* plug-ins/script-fu/siod-wrapper.c: added compat enums.

	* plug-ins/imagemap/imap_cmd_gimp_guides.c
	* plug-ins/xjt/xjt.c
	* plug-ins/xjt/xpdb_calls.c
	* plug-ins/common/gih.c
	* plug-ins/common/guillotine.c
	* plug-ins/common/rotate.c: changed accordingly.
2003-02-09 21:03:36 +00:00
Manish Singh f8861444f9 use dialog.run() for sub dialogs, since the main dialog is also doing
2003-02-08  Manish Singh  <yosh@gimp.org>

        * gimpui.py: use dialog.run() for sub dialogs, since the main dialog
        is also doing that. This does break consistency with the rest of
        gimp, but will do for now. I wish there was a similar API that didn't
        set the dialog modal. Fixed brush and pattern list to use the new
        PDB names. Also make the filesel really have a title of "Files"

        * gimpshelf.py: minor clean up, use cStringIO if available

        * gimpfu.py: add support for Load/Save plug-ins. Use GtkImage
        instead of deprecated GtkPixmap.

        * gimpenums.py: regenerated

        * plug-ins/Makefile.am
        * plug-ins/colorhtml.py: the return of colorhtml to 1.3
2003-02-08 19:36:00 +00:00
Manish Singh 6423b26881 import gtkcons only when we're about to use it. This and below allows
2003-01-08  Manish Singh  <yosh@gimp.org>

        * plug-ins/gimpcons.py: import gtkcons only when we're about to use
        it. This and below allows plug-in query to work even without an
        interface.

        * plug-ins/pdbbrowse.py: define BrowseWin (which needs gtk) only
        when we need it and are guaranteed a gui setup.
2003-01-08 23:44:08 +00:00
Manish Singh 01dbd2c339 cleanup, removed unecessary G_OBJECT() casts.
2003-01-06  Manish Singh  <yosh@gimp.org>

        * lots of files in plug-ins: cleanup, removed unecessary
        G_OBJECT() casts.
2003-01-07 06:16:02 +00:00
Manish Singh 2bb5acc246 added some rudimentary support to prepend values to existing environment
2002-12-17  Manish Singh  <yosh@gimp.org>

        * app/core/gimpenvirontable.[ch]: added some rudimentary support
        to prepend values to existing environment variables. You can do
        "separator name=value" now. API change to gimp_environ_table_add
        for it too. Also added some error checking.

        * app/gui/gui.c: change to new above API

        * plug-ins/pygimp/Makefile.am: write ": PYTHONPATH=" out to env
        file

        * po/POTFILES.in: add gimpenvirontable.c
2002-12-18 02:47:39 +00:00
Manish Singh 2eef2afbc1 don't say "Now type 'make'" if configure failed.
2002-11-11  Manish Singh  <yosh@gimp.org>

        * autogen.sh: don't say "Now type 'make'" if configure failed.

        * app/core/Makefile.am
        * app/core/core-types.h
        * app/core/gimpenvirontable.[ch]: Implemented GimpEnvironTable,
        keeps an envp array built from system environment and *.env files.

        * app/core/gimp.[ch]: keep a GimpEnvironTable around.

        * app/gimprc.c
        * app/config/gimpcoreconfig.[ch]
        * app/core/gimpcoreconfig.h
        * app/gui/preferences-dialog.c
        * app/gui/user-install-dialog.c: environ-path config stuff

        * themes/Default/images/preferences/Makefile.am
        * themes/Default/images/preferences/folder-environ.png: just copied
        folder.png here, need a better one.

        * app/plug-in/plug-in.c: quick hack to use the envp in the
        GimpEnvironTable. Only on unix now, should really port the
        code to use g_spawn_*.

        * data/misc/user_install
        * etc/gimprc.in: add environ-path stuff

        * data/environ/Makefile: creates system environ directory.

        * data/environ/default.env: sample env file info.

        * data/Makefile.am
        * configure.in: added data/environ dir

        * plug-ins/pygimp/Makefile.am: python module files get put in
        $(gimpplugindir)/python now, install pygimp.env to point to it.

        * plug-ins/pygimp/doc/Makefile.am: minor clean up.
2002-11-12 03:34:11 +00:00
Sven Neumann 2368c1f38e added missing file (#98034).
2002-11-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/Makefile.am (EXTRA_DIST): added missing file (#98034).
2002-11-08 17:06:45 +00:00
James Henstridge ed2dac22b5 (_interact): swap order of buttons to match other dialogs. 2002-08-31 01:47:22 +00:00
James Henstridge 77934d6804 oops. forgot to save last change to gimpfu.py before committing ... 2002-08-30 17:10:34 +00:00
James Henstridge d6b394e1de add PF_RADIO support to gimpfu based on Yosh's patch.
2002-08-31  James Henstridge  <james@daa.com.au>

    * gimpfu.py (RadioEntry): add PF_RADIO support to gimpfu based on
    Yosh's patch.
2002-08-30 17:09:13 +00:00
James Henstridge fe65e90a5f some plugin fixes. 2002-08-30 15:25:51 +00:00
James Henstridge e7d1c4fa91 update to list all methods. Convert no arg functions to METH_NOARG (slight
2002-08-30  James Henstridge  <james@daa.com.au>

    * pygimp-*.c: update to list all methods.  Convert no arg
    functions to METH_NOARG (slight code size reduction).
2002-08-30 15:00:00 +00:00
James Henstridge 29aa6f5037 add getsets for common drawable attributes. (PyGimpLayer_Type): convert
2002-08-30  James Henstridge  <james@daa.com.au>

    * pygimp-drawable.c (PyGimpDrawable_Type): add getsets for common
    drawable attributes.
    (PyGimpLayer_Type): convert getattr and setattr to getsets.
    (PyGimpChannel_Type): convert to getsets.

    * gimpmodule.c (new_parasite): remove.  Superceded by
    gimp.Parasite constructor.
    (pygimp_image_list): rename to match actual API.

    * pygimp-parasite.c (PyGimpParasite_Type): switch to getsets.
    (para_init): add constructor.
2002-08-30 12:46:27 +00:00
James Henstridge 430a9f5d55 convert to use getsets. (PyGimpTile_Type): convert to use getsets.
2002-08-30  James Henstridge  <james@daa.com.au>

    * pygimp-tile.c (PyGimpPixelRgn_Type): convert to use getsets.
    (PyGimpTile_Type): convert to use getsets.

    * pygimp-image.c (PyGimpImage_Type): convert getattr and setattr
    routines into getsets.
2002-08-30 03:01:35 +00:00
James Henstridge 1a9de76944 check if gimp_image_get_filename() returns NULL.
2002-08-29  James Henstridge  <james@daa.com.au>

    * pygimp-image.c (img_repr): check if gimp_image_get_filename()
    returns NULL.
2002-08-29 13:40:48 +00:00
James Henstridge cbcdadb1e5 fix up cvsignore file (we don't have a checked in Makefile.in file anymore) 2002-08-29 11:35:42 +00:00
James Henstridge 8c39c19a11 fix up plugin, so that I can test the rest of pygimp.
2002-08-29  James Henstridge  <james@daa.com.au>

    * plug-ins/gimpcons.py: fix up plugin, so that I can test the rest
    of pygimp.
2002-08-29 11:26:07 +00:00
James Henstridge 581a5e6d48 some more plugin updates. 2002-08-29 03:01:30 +00:00
James Henstridge 47f86d9f89 many updates to Python code to work with new PyGTK. I can start a plug in
2002-08-29  James Henstridge  <james@daa.com.au>

    * *.py, plug-ins/*.py: many updates to Python code to work with
    new PyGTK.  I can start a plug in now.
2002-08-29 01:53:26 +00:00
James Henstridge 698bd613cc some more updates 2002-08-28 16:18:18 +00:00
James Henstridge dc70b17ac0 split module into multiple files, and convert types to Python 2.2 style
2002-08-28  James Henstridge  <james@daa.com.au>

    * *.c, pygimp.h: split module into multiple files, and convert
    types to Python 2.2 style types.  Still need to fix some of the
    getattr routines.
2002-08-28 15:17:29 +00:00
James Henstridge 42956acb7e forgot to add the Makefile.am back 2002-08-28 03:31:28 +00:00
James Henstridge 47d24dded1 various updates to get it to compile with latest gimp. Still need to merge
2002-08-28  James Henstridge  <james@daa.com.au>

    * gimpmodule.c: various updates to get it to compile with latest
    gimp.  Still need to merge in changes to toplevel configure.in.
2002-08-28 03:30:25 +00:00
Michael Natterer 1cd6fcc19c libgimp/.cvsignore libgimp/Makefile.am libgimp/gimp.h removed
2001-05-22  Michael Natterer  <mitch@gimp.org>

	* libgimp/.cvsignore
	* libgimp/Makefile.am
	* libgimp/gimp.h
	* libgimp/gimpfeatures.h.in: removed gimpfeatures.h

	* libgimpbase/.cvsignore
	* libgimpbase/Makefile.am
	* libgimpbase/gimpbase.h
	* libgimpbase/gimpbasetypes.h
	* libgimpbase/gimpversion.h.in: and added it as gimpversion.h

	* configure.in: changed accordingly.

	* app/app_procs.c
	* app/main.c
	* app/gui/about-dialog.c
	* app/gui/splash.c
	* app/pdb/misc_cmds.c
	* tools/pdbgen/pdb/misc.pdb: fixed includes.

	* plug-ins/bmp/bmpread.c
	* plug-ins/bmp/bmpwrite.c
	* plug-ins/common/gif.c
	* plug-ins/common/gifload.c
	* plug-ins/common/jpeg.c
	* plug-ins/common/newsprint.c
	* plug-ins/common/ps.c
	* plug-ins/common/tiff.c
	* plug-ins/gdyntext/gdyntextcompat.h
	* plug-ins/gimpressionist/gimpressionist.c
	* plug-ins/perl/Gimp.xs
	* plug-ins/perl/Gimp/Lib.xs
	* plug-ins/pygimp/gimpmodule.c
	* tools/gimp-remote.c: removed all #ifdef GIMP_HAVE_BLAH
	conditionals as they are broken anyway since we changed all
	plug-ins with perl scripts shortly before 1.2. Also, refering to
	intermediate unstable releases is evil.
2001-05-22 00:36:38 +00:00
Kevin Turner ecddfcb9c7 use correct type for enums.
* plug-ins/pygimp/gimpmodule.c (newpfobject): use correct type for
  enums.

* plug-ins/pygimp/plug-ins/gtkcons.py (Console.run): set _ after
  evaluating a statement, so _ may be used as it is in the python
  interpreter.

If I keep this up, I may actually learn Python.
2000-09-24 00:52:29 +00:00
Kevin Turner 7493742149 Oops. When we did s/PARAM_/PDB_/, we forgot to do s/6/4/ (the length of
* plug-ins/pdbbrowse.py (pars): Oops.  When we did
s/PARAM_/PDB_/, we forgot to do s/6/4/ (the length
of the prefix changed).

* gimpmodule.c: Filter this through remove_cruft,
finishing the libgimp renaming (and further ensuring
that it won't work with older libgimps).
2000-09-20 21:19:35 +00:00
Kevin Turner 1eba6e7b72 This file now autogenerated by tools/pdbgen/enumcode.pl
2000-08-10  Kevin Turner  <acapnotic@users.sourceforge.net>

	* plug-ins/pygimp/gimpenums.py: This file now autogenerated by
	tools/pdbgen/enumcode.pl

	* plug-ins/pygimp/gimpfu.py:
	* plug-ins/pygimp/gimpmodule.c: renaming fixes for libgimp 1.2

	* plug-ins/pygimp/plug-ins/pdbbrowse.py (pars): s/PARAM_/PDB_/
2000-08-10 20:17:21 +00:00
Kevin Turner 4c33487b46 This file now autogenerated by tools/pdbgen/enumcode.pl
* gimpenums.py: This file now autogenerated by
	tools/pdbgen/enumcode.pl

	* gimpfu.py:
	* gimpmodule.c: renaming fixes for libgimp 1.2

	* plug-ins/pdbbrowse.py (pars): s/PARAM_/PDB_/
2000-08-10 20:14:55 +00:00
Kevin Turner 1161b7fd43 under "layer", remove the call to gimp_channel_get_layer_id() as this
2000-08-09  Kevin Turner  <acapnotic@users.sourceforge.net>

	* plug-ins/pygimp/gimpmodule.c (chn_getattr): under "layer",
	remove the call to gimp_channel_get_layer_id() as this function
	does not exist.  It would be well for someone who knows pygimp
	better than I to review this change, but it keeps pygimp from
	being *completely* broken.
2000-08-10 05:13:35 +00:00
Kevin Turner 47d742cce9 under "layer", remove the call to gimp_channel_get_layer_id() as this
* gimpmodule.c (chn_getattr): under "layer", remove the call to
	gimp_channel_get_layer_id() as this function does not exist.  It
	would be well for someone who knows pygimp better than I to review
	this change, but it keeps pygimp from being *completely* broken.
2000-08-10 05:07:17 +00:00
Michael Natterer 95ccd16f0c forgot to commit this last weekend :)
2000-08-04  Michael Natterer  <mitch@gimp.org>
	    Sven Neumann  <sven@gimp.org>

	* libgimp/gimp.h
	* libgimp/gimpcompat.h
	* plug-ins/common/curve_bend.c
	* plug-ins/common/plugindetails.c
	* plug-ins/dbbrowser/dbbrowser_utils.c
	* plug-ins/gap/gap_dbbrowser_utils.c
	* plug-ins/gap/gap_filter_codegen.c
	* plug-ins/gap/gap_filter_pdb.c
	* plug-ins/gap/gap_pdb_calls.c
	* plug-ins/maze/maze_face.c
	* plug-ins/pygimp/gimpmodule.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu.c
	* plug-ins/xjt/xpdb_calls.c: removed COMPAT_CRUFT
2000-08-07 21:30:35 +00:00
Michael Natterer 1590cecfe1 s/gimp_plugin_help_func/gimp_standard_help_func/
2000-05-22  Michael Natterer  <mitch@gimp.org>

	* plug-ins/*: s/gimp_plugin_help_func/gimp_standard_help_func/

	Coincidentially, my script also removed empty lines from the end
	of _all_ *.c file (not only from those which contained
	gimp_plugin_help_func).
2000-05-22 17:10:28 +00:00
Sven Neumann f0643302c6 applied a patch from Simon which adapts the pygimp scripts to the new
gimp_edit_fill() interface


--Sven
2000-03-25 01:02:00 +00:00
Sven Neumann 24bbdbef07 applied a bunch of patches:
Simon Budigs patch sent to the list Sun, 20 Feb 2000
gimp-kirchgessner-000217-0
gimp-cosmin-20000212
gimp-mattias-000227-0


--Sven
2000-03-10 17:27:25 +00:00
Tor Lillqvist e8914730c6 Add build setup for modules like Gimp-Python.
* plug-ins/makefile.{cygwin,msc}: Add build setup for modules like
Gimp-Python.

* plug-ins/pygimp/gimpmodule.c: Change NATIVE_WIN32 to G_OS_WIN32.
2000-01-04 18:09:51 +00:00
James Henstridge 36fb075f99 updated documentation.
1999-11-11  James Henstridge  <james@daa.com.au>

	* doc/pygimp.sgml: updated documentation.

	* gimpmodule.c: applied patches from Hans Breuer to fix portability
	problems and also win32 compatibility.

	(lay_getattr): take is_rgb as a synonym for is_color/is_colour.
	(drw_parasite_attach):
	(drw_parasite_detach): change to new naming scheme.
	(img_parasite_attach):
	(img_parasite_detach): same here.
	(gimp_Parasite_find):
	(gimp_Parasite_attach):
	(gimp_Parasite_detach): same here.
	(chn_getattr): added is_rgb as a synonym for is_colour, and
	is_layer_mask as a synonym for layer_mask.
1999-11-11 14:21:23 +00:00
Marc Lehmann b2773c790e pdb renames 1999-10-27 20:23:04 +00:00
Marc Lehmann 88e0cc3155 api change #2, fix #1 1999-10-24 20:49:09 +00:00
Marc Lehmann ec40ac728b API PATCH #2 or so 1999-10-17 00:07:55 +00:00
Olof S Kylander/GIMP 267633fa89 fix of enum error in pygimp
fix of enum error in pygimp
1999-09-11 15:01:02 +00:00
Manish Singh 09ffd828c9 1.1.9 stuff
-Yosh
1999-09-10 05:16:23 +00:00
James Henstridge 6b5f967d0c conditionally compile pygimp.
1999-09-06  James Henstridge  <james@daa.com.au>

	* plug-ins/Makefile.am: conditionally compile pygimp.

	* configure.in: added in macros for pygimp.  You must pass
	--enable-python to configure for it to even consider checking for
	python at the moment.

	* acinclude.m4: added python detection macros.
1999-09-06 03:45:34 +00:00
James Henstridge 910e7cb689 added pygimp to tree, as organised with Marc Lehmann. I have not hooked it
1999-09-05  James Henstridge  <james@daa.com.au>

	* plug-ins/pygimp/*: added pygimp to tree, as organised with Marc
	Lehmann.  I have not hooked it into the main makefile yet.  That
	should not be difficult though.
1999-09-05 15:46:57 +00:00