Commit Graph

721 Commits

Author SHA1 Message Date
Sven Neumann b593a1592f Use a proper size for the coordinates display in the statusbar.
I still don't know why those statusbar is sometimes not updated. The labels
are definitely set, but are sometimes not drawn. I guess this is a GTK
problem.


--Sven
1998-11-19 20:20:46 +00:00
Sven Neumann 8ff9045448 Finally the splash-screen shouldn't resize even with LARGE fonts.
--Sven
1998-11-18 16:38:55 +00:00
Sven Neumann 86d0a76695 New GTK feature greys out buttons automatically. Finally got rid of my dirty
workaround.


--Sven
1998-11-18 15:48:11 +00:00
Raph Levien 056691c594 Some minor ui polishing. 1998-11-18 01:35:02 +00:00
Austin Donnelly a6026d29cd app/edit_cmds.c fix warnings about using uninitialized gimage args + one
Mon Nov 16 21:46:39 1998  Austin Donnelly  <austin@greenend.org.uk>

	* app/edit_cmds.c
	* app/gimage_mask_cmds.c: fix warnings about using uninitialized
	gimage args + one real uninited variable bug.
1998-11-16 22:10:35 +00:00
Sven Neumann 44b1e35036 Another change for the GAP plug-in.
--Sven
1998-11-16 18:07:34 +00:00
Sven Neumann 00873eadcc Export floating-selection functions to the PDB (needed for the XJT-plug-in
by Wolfgang Hofer).


--Sven
1998-11-15 18:41:53 +00:00
Sven Neumann 63e3d52df8 Cosmetic fixes in waves-anim.scm and app/app_procs.c.
First set of changes to integrate GAP (Gimp Animation Plugin written
by Michael Hofer)
New functions:  gimp_layer_[get|set]_linked
		gimp_image_raise_layer_to_top
		gimp_image_lower_layer_to_bottom


--Sven
1998-11-15 17:02:59 +00:00
Sven Neumann ee6c165b98 Appearently I committed the wrong version of interface.c last time, sorry.
--Sven
1998-11-15 14:09:16 +00:00
Tuomas Kuosmanen 55c8f8b396 Finished the wilbur -> wilber name hassle, everything should be ok now /tigert 1998-11-15 13:58:31 +00:00
Marc Lehmann 971bc712b1 allow the use of DIVIDE_MODE.
* app/blend.c: allow the use of DIVIDE_MODE.
1998-11-15 12:58:37 +00:00
GMT 1998 Austin Donnelly 9dd1c38b7f app/gimpimage.h app/gimpimageP.h app/gimpimage.c app/gimage_cmds.c
Sat Nov 14 23:16:55 GMT 1998  Austin Donnelly  <austin@greenend.org.uk>

	* app/gimpimage.h
	* app/gimpimageP.h
	* app/gimpimage.c
	* app/gimage_cmds.c
	* app/file_new_dialog.c
	* app/info_window.c
	* libgimp/gimp.h
	* libgimp/gimpimage.c
	* plug-ins/newsprint/newsprint.c
	* plug-ins/tiff/tiff.c: gimp_image_{get,set}_resolution() calls
	now get and set both X and Y resolutions.  Gimp image struct now
	has two resolution fields, one for each direction.  I've updated
	the two plugins which used the info (TIFF and newsprint).
1998-11-14 23:28:47 +00:00
Marc Lehmann b8b5d7834d removed the image argument from functions that no longer need it.
* plug-ins/script-fu/scripts/*: removed the image
        argument from functions that no longer need it.
1998-11-14 20:46:25 +00:00
GMT 1998 Austin Donnelly 3fa6583ed7 deal with zero-size selections correctly (ie, select the whole image but
Sat Nov 14 20:02:31 GMT 1998  Austin Donnelly  <austin@greenend.org.uk>

	* app/rect_select.c: deal with zero-size selections correctly (ie,
	select the whole image but don't show marching ants).

	* app/app_procs.c: sort out colourmap before creating splash
	window, so if we need to install a private cmap then everything
	will use it.

	* plug-ins/newsprint/newsprint.c: delete spurious debugging printf.
1998-11-14 20:06:30 +00:00
Sven Neumann bb0ea5a46d applied the patch from Kevin Cozens <kcozens@interlog.com>:
size of area displaying cursor position is now adjusted to fit
maximum possible cursor values

--Sven
1998-11-13 22:11:37 +00:00
Marc Lehmann 42e2c63ce5 API-mega-break-it-all patch part one: removed the unnecessary PDB_IMAGE
* airbrush.c, blend.c, brightness_contrast.c, bucket_fill.c
        by_color_select.c, channel_ops.c, clone.c, color_balance.c
        color_picker.c, convolve.c, curves.c, desaturate.c, edit_cmds.c
        equalize.c, eraser.c, flip_tool.c, fuzzy_select.c,
        gimage_mask_cmds.c histogram_tool.c, hue_saturation.c, invert.c,
        levels.c, pencil.c paintbrush.c, perspective_tool.c, posterize.c,
        rotate_tool.c scale_tool.c, shear_tool.c, text_tool.c, threshold.c:

        API-mega-break-it-all patch part one: removed the unnecessary
        PDB_IMAGE argument from many functions.

Affected functions:
gimp_airbrush gimp_blend gimp_brightness_contrast gimp_bucket_fill
gimp_by_color_select gimp_channel_ops_offset gimp_clone gimp_color_balance
gimp_color_picker gimp_convolve gimp_curves_explicit gimp_curves_spline
gimp_desaturate gimp_edit_clear gimp_edit_copy gimp_edit_cut gimp_edit_fill
gimp_edit_paste gimp_edit_stroke gimp_equalize gimp_eraser
gimp_eraser_extended gimp_flip gimp_fuzzy_select gimp_histogram
gimp_hue_saturation gimp_invert gimp_levels gimp_paintbrush
gimp_paintbrush_extended gimp_pencil gimp_perspective gimp_posterize
gimp_rotate gimp_scale gimp_selection_float gimp_selection_layer_alpha
gimp_selection_load gimp_shear gimp_threshold
1998-11-13 20:40:00 +00:00
jaycox 5267f6014f app/drawable_cmds.c, app/gimage_cmds.c app/parasite_cmds.c,
* app/drawable_cmds.c, app/gimage_cmds.c
	* app/parasite_cmds.c, libgimp/parasite.[ch],
	* libgimp/gimp.c, libgimp/gimpprotocol.c
	* tiff.c, gif.c, script-fu.c: removed all references to
 	parasite_error() and parasite_is_error().  Enable the
	passing of null parasites in the pdb.  Return a copy of the
	parasite instead of the orginal in all pdb functions.
1998-11-13 04:00:54 +00:00
Manish Singh 476d930069 fix buglet with making GLIB_LIBS (shouldn't have been tripped, but bug
* configure.in: fix buglet with making GLIB_LIBS (shouldn't have
        been tripped, but bug nevertheless)

-Yosh
1998-11-11 12:19:57 +00:00
Marc Lehmann 68f7fee7e8 fixed a memory leak, (gimp_destroy_paramdefs) new function. added header.
* libgimp/gimp.c (gimp_run_procedure2): fixed a memory leak,
        (gimp_destroy_paramdefs) new function.
        * libgimp/gimp.h (gimp_destroy_paramdefs): added header.
        * libgimp/gimpfeatures.h.in (GIMP_HAVE_DESTROY_PARAMDEFS): new macro.
        * plug-ins/script-fu/script-fu.c (init_procedures): fixed a
        big memory leak (this also applied to perl!)
1998-11-11 02:20:29 +00:00
Sven Neumann e3c27c9751 Minimal speedup by avoiding to do a inverse->inverse matrix calculation.
Use transform_core_do() for scaling too. This gives a consistent behaviour
regarding the corrective transform and seems to be faster too...


--Sven
1998-11-10 22:50:34 +00:00
Sven Neumann 7f0ea3f587 Use gdk_window_get_root_origin to get the window positions for session
managment.

A few cosmetic fixes to the script-fu dialog.


--Sven
1998-11-09 15:23:29 +00:00
Manish Singh 0771da2452 Makefile.am new file, explains i18n stuff
* Makefile.am
        * README.i18n: new file, explains i18n stuff

        * plug-ins/script-fu/scripts/(lots of files): applied
        gimp-ruth-981108-0, use nice SF-FONT and SF-FILENAME stuff

        * plug-ins/png/png.c: applied gimp-ruth-981108-1, fixes loader for
        some indexed pngs. Also default to level 6 compression, level 9
        compression is cpu hungry and isn't much of a win compared to 6.

        * plug-ins/tiff/tiff.c: applied gimp-ruth-981108-2, major tiff
        rework

-Yosh
1998-11-09 02:05:24 +00:00
Raja R Harinath f3fe31a693 Prefer /usr/sbin/sendmail to /usr/lib/sendmail.
* configure.in (sendmail_path): Prefer /usr/sbin/sendmail to
/usr/lib/sendmail.
1998-11-09 01:18:19 +00:00
Jay Cox de2c3f4813 export the tattoo functions to the plug-ins
1998-11-07  Jay Cox  <jaycox@earthlink.net>

	* libgimp/{gimp.h, gimpchannel.c, gimpdrawable.c, gimplayer.c}:
	export the tattoo functions to the plug-ins

	* libimp/gserialize.c, libimp/gserialize.h: new files for
	serializing structures

	* main.c: test the gserialize functions

	* gimpsignal.h: declare gimp_sigtype_* as extern
1998-11-07 23:02:14 +00:00
Manish Singh 8575718342 added MAINTAINERS to EXTRA_DIST
* Makefile.am: added MAINTAINERS to EXTRA_DIST

* configure.in: nicer -Wall, -ansi, etc. adding for CFLAGS with gcc

* libgimp/parasite*.h
* libgimp/gimpintl.h
* app/Makefile.am
* po/Makefile.in.in
* configure.in: portablity, locale patch (gimp-joke-981028-0)

* configure.in
* plug-ins/Makefile.am: added lic, mapcolor, and xbm plug-ins

* app/app_procs.c
* app/menus.c: cosmetic message fixes

* libgimp/parasite.c: use %p to print pointers

* plug-ins/dbbrowser/dbbrowser_utils.[ch]: changes for new clist stuff

* plug-ins/script-fu/script-fu-enums.h
* plug-ins/script-fu/script-fu-scripts.c
* plug-ins/script-fu/script-fu.c
* 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/neon-logo.scm
* plug-ins/script-fu/scripts/sota-chrome-logo.scm: applied gimp-ruth-981103-0,
adds a filesel to script-fu and SF-FILENAME param type. Make some scripts use
this.

-Yosh
1998-11-06 00:51:39 +00:00
GMT 1998 Andy Thomas 66cd5c1678 app/gradient.c app/gradient_select.c
Thu Nov  5 21:55:46 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>

	* app/gradient.c
	* app/gradient_select.c

	Changes due to gtk+ updates. Clist have been changed recently
	in gtk which required changes to source code. These changes
	have only been tested with the gtk version that introduced these
	changes. (so lets get all those updates going...)
1998-11-05 23:10:31 +00:00
EST 1998 Adrian Likins 088ff5d4e4 added a list of current maintainers and developers and what they work on.
Wed Nov  4 11:24:55 EST 1998   Adrian Likins <adrian@gimp.org>

        * MAINTAINERS: added a list of current maintainers
          and developers and what they work on.

If you should be here, add your name.
If you dont have cvs commit access, email me. But then, your
probabaly not reading this.

-adrian
1998-11-05 01:30:34 +00:00
GMT 1998 Andy Thomas 08000c86de app/gradient.c app/Makefile.am
Wed Nov  4 22:23:18 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>

	* app/gradient.c
	* app/Makefile.am

	New files

	* app/gradient_select.c
	* app/gradient_header.h

	Split gradient selector dialog out of the main gradient code.
	New gradient headerfile that contains the key gradient structures
	and #defines.
1998-11-04 23:30:18 +00:00
GMT 1998 Andy Thomas e6a88085c1 plug-ins/script-fu/scripts/comic-logo.scm
Tue Nov  3 21:47:53 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>

	* plug-ins/script-fu/scripts/comic-logo.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/land.scm
	* plug-ins/script-fu/scripts/lava.scm
	* plug-ins/script-fu/scripts/rendermap.scm

	Updated these scripts to use the new SF-GRADIENT Script-fu type.
1998-11-03 23:19:00 +00:00
EST 1998 Adrian Likins b41811e6b2 ooops, I accidently committed a broken file again. Found by Nick Lamb.
Tue Nov  3 04:39:40 EST 1998  Adrian Likins <adrian@gimp.org>

        * plug-ins/script-fu/scripts/swirl-tile.scm: ooops, I accidently
        committed a broken file again. Found by Nick Lamb.

dont ya hate it when you commit broken stuff by accident?


-adrian
1998-11-03 19:56:18 +00:00
Austin Donnelly 71776d3edc new feature: GIMP_HAVE_RESOLUTION_INFO updated to version 0.50: - use
Sun Nov  1 21:20:04 1998  Austin Donnelly  <austin@greenend.org.uk>

	* libgimp/gimpfeatures.h.in: new feature: GIMP_HAVE_RESOLUTION_INFO
	* plug-ins/newsprint/newsprint.c: updated to version 0.50:
	 - use resolution info from images to set initial value of "Input
	   SPI" slider.
	 - Sliders now locked togther correctly.
	 - Got rid of timing message.
	 - Fixed compile warnings on Alphas.
	 - Option menu to select the channel to edit to save screen real
 	   estate (tickles a cosmetic bug in gtk, get the latest version).
	 - Moved from <Image>/Filter/Misc to .../Render
1998-11-01 21:28:59 +00:00
GMT 1998 Andy Thomas 8475a4f894 app/gradient.c
Sat Oct 31 21:47:14 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>

	* app/gradient.c

	Fixed for problems with renaming + fix for interactions between editor
	and gradient selection popups.
1998-10-31 22:50:25 +00:00
GMT 1998 Andy Thomas d4ccd85afd app/gradient.c app/gradient.h app/internal_procs.c app/plug_in.c
Sat Oct 31 14:57:40 GMT 1998 Andy Thomas <alt@picnic.demon.co.uk>

	* app/gradient.c
	* app/gradient.h
	* app/internal_procs.c
	* app/plug_in.c
	* app/session.c
	* app/session.h
	* libgimp/Makefile.am
	* libgimp/gimpmenu.h
	* libgimp/app/gimprc.c
	* libgimp/libgimpmenu.c
	* plug-ins/script-fu/scripts/test-sphere.scm
	* plug-ins/script-fu/script-fu-enums.h
	* plug-ins/script-fu/script-fu.c
	* plug-ins/script-fu/script-fu-scripts.c

	New file:-

	* libgimp/gimpgradientmenu.c

	New gradient selector widget (smaller than the editor). This can now
	be controlled via the PDB.

	New widget which gives easy way to do gradient selections. This
	new widget is used by script-fu (see the test->sphere script).

	gradient.c needs to be split up (source is almost already split
	I will complete this RSN).
1998-10-31 16:22:37 +00:00
Marc Lehmann 064e081cd8 make perl use the GLIB_CFLAGS/LIBS vars properly. corrected documentation
* configure.in: make perl use the GLIB_CFLAGS/LIBS vars properly.
        * app/drawable_cmds.c: corrected documentation for gimp_drawable_fill.
1998-10-31 00:46:33 +00:00
jaycox 682b1f3c65 Modified Files: ChangeLog app/Makefile.am app/app_procs.c app/channel.c
Modified Files:
 	ChangeLog app/Makefile.am app/app_procs.c app/channel.c
	app/channel.h app/file_new_dialog.c app/gimage_cmds.c
 	app/gimage_cmds.h app/gimpdrawable.c app/gimpdrawable.h
 	app/gimpdrawableP.h app/gimpimage.c app/gimpimage.h
 	app/gimpimageF.h app/gimpimageP.h app/internal_procs.c
 	app/layer.c app/layer.h app/parasite_cmds.c
 	app/parasite_cmds.h app/plug_in.c app/preferences_dialog.c
 	libgimp/Makefile.am libgimp/gimp.h libgimp/gimpdrawable.c
 	libgimp/gimpfeatures.h.in libgimp/gimpimage.c
 	libgimp/gimpmatrix.h libgimp/parasite.c libgimp/parasite.h
 	plug-ins/script-fu/script-fu-console.c
 	plug-ins/script-fu/script-fu.c
 Added Files:
 	app/gimpparasite.c app/gimpparasite.h app/parasitelist.c
 	app/parasitelist.h app/parasitelistF.h app/parasitelistP.h
 	libgimp/gimpparasite.c

lots of parasite related changes.
1998-10-30 10:21:33 +00:00
Manish Singh fc491e5fa6 applied gimp-ruth-981025-0, cosmetic fix for indexed palette dialog
* app/indexed_palette.c: applied gimp-ruth-981025-0, cosmetic fix for
indexed palette dialog

* app/fileops.[ch]
* app/gimage.h
* app/gimpimage.[ch]
* app/gimpimageP.h: applied gimp-ruth-981025-1, remember LAST_VALS for
image save

-Yosh
1998-10-27 09:26:38 +00:00
Marc Lehmann d86fa542a6 changed order in library search path for the perl plug-in.
* configure.in: changed order in library search path
        for the perl plug-in.
1998-10-27 01:31:16 +00:00
Manish Singh 0963a109c3 applied gimp-joke-981006-0, portability patch
-Yosh
1998-10-25 05:55:36 +00:00
Manish Singh 79589009bd sinclude by hand to work around automake 1.3 bug
-Yosh
1998-10-25 05:07:09 +00:00
EDT 1998 Adrian Likins d40e962505 fix from Tor Lillqvist <tml@iki.fi> to make scriptfu work again (argc = 1;
Sat Oct 24 14:53:19 EDT 1998  Adrian Likins <adrian@gimp.org>

        * app/plug_in.c: fix from Tor Lillqvist <tml@iki.fi>
        to make scriptfu work again (argc = 1; line 2281)

-adrian
1998-10-24 20:11:17 +00:00
CEST 1998 Marc Lehmann 6d2832f88d got rid of the ugly but harmless autoconf warning in line 117.
Fri Oct 23 00:58:37 CEST 1998 Marc Lehmann <pcg@goof.com>

        * configure.in: got rid of the ugly but harmless autoconf warning
        in line 117.
1998-10-22 23:17:30 +00:00
Manish Singh 8ca3cca5dc fixed a buglet that caused an FP exception in PsychoBilly mode
* plug-ins/checkerboard/checkerboard.c: fixed a buglet that
caused an FP exception in PsychoBilly mode

* added borderaverage, wind, jigsaw, and newsprint plug-ins

-Yosh
1998-10-22 11:39:32 +00:00
Manish Singh 76d4ba7101 libgimp/Makefile.am fix --disable-static compilation
* libgimp/Makefile.am
* configure.in: fix --disable-static compilation

* gimptool.in: use the right dir for scripts. Strip out path
from the compiled bin

* app/colormaps.c: comment out unused gamma_correct function

* app/layer.c: #include "libgimp/parasite.h"

* app/paint_funcs.c: convert icky C++ comments

* plug-ins/mosaic/mosaic.c
* plug-ins/cubism/cubism.c: cleanups

* plug-ins/libgck/gck/gckcolor.c: fix adaptive supersampling bug

-Yosh
1998-10-22 09:49:46 +00:00
BST 1998 Andy Thomas 80c62daae7 Fixed a problem in gradient.c where if a gradient was selected via the PDB
Wed Oct 21 23:37:01 BST 1998 Andy Thomas <alt@picnic.demon.co.uk>

	Fixed a problem in gradient.c where if a gradient was selected
	via the PDB and the editor has not been displayed on the screen
	gimp would crash.
1998-10-21 22:47:06 +00:00
BST 1998 Andy Thomas e1c61471b0 plug-ins/script-fu/scripts/beveled-pattern-arrow.scm
Wed Oct 21 22:38:07 BST 1998 Andy Thomas <alt@picnic.demon.co.uk>

	* plug-ins/script-fu/scripts/beveled-pattern-arrow.scm
	* plug-ins/script-fu/scripts/beveled-pattern-bullet.scm
	* plug-ins/script-fu/scripts/beveled-pattern-button.scm
	* plug-ins/script-fu/scripts/beveled-pattern-heading.scm
	* plug-ins/script-fu/scripts/beveled-pattern-hrule.scm
	* plug-ins/script-fu/scripts/chip-away.scm
	* plug-ins/script-fu/scripts/glossy.scm
	* plug-ins/script-fu/scripts/test-sphere.scm
	* plug-ins/script-fu/scripts/textured-logo.scm

	These scripts use new script-fu type

	* plug-ins/gfig/gfig.c

	Redid yosh fix since I broken backwards compat. in
	gimp_interactive_selection_brush().
1998-10-21 21:54:40 +00:00
Marc Lehmann adeae228ee Removed the conflict identifier I left in... 1998-10-21 19:15:52 +00:00
CEST 1998 Marc Lehmann 511f7c8046 Added an "argc" parameter to plug_in_run and changed all callers so that
Wed Oct 21 20:15:14 CEST 1998 Marc Lehmann <pcg@goof.com>

        * app/plug_in.h, app/plug_in.c, app/procedural_db.c: Added an "argc"
        parameter to plug_in_run and changed all callers so that they only
        pass as much arguments as necessary (should be done for
        procedural_db_execute as well).
1998-10-21 19:10:14 +00:00
Manish Singh 379eccec3b make it compile. Does it work? Mr. Tootums knows!
-Yosh
1998-10-21 01:37:50 +00:00
BST 1998 Andy Thomas af5cdfbd58 app/brush_select.h app/brush_select.c app/internal_procs.c
Tue Oct 20 23:20:40 BST 1998 Andy Thomas <alt@picnic.demon.co.uk>


	* app/brush_select.h
	* app/brush_select.c
	* app/internal_procs.c
	* app/gimpbrushlist.c
	* libgimp/Makefile.am
	* libgimp/gimpmenu.h
	* libgimp/gimpmenu.c
	* plug-ins/script-fu/scripts/3d-outline.scm
	* plug-ins/script-fu/scripts/test-sphere.scm
	* plug-ins/script-fu/scripts/trochoid.scm
	* plug-ins/script-fu/script-fu-enums.h
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu.c

	New file libgimp/gimpbrushmneu.c.

	Brush dialog can now be fully controlled via the PDB. New widget (not
	true widget) type added to libgimpui (gimp_brush_select_widget()).
	Plugins should easily be able to control & select brushes. Script-fu
	updated to use new widget. See the test script for example.

	Started to change some of the scripts to use the new widget types.
1998-10-20 22:36:52 +00:00
Chris Lahey 30ffe1bcbc Fixed Drag & Drop. 1998-10-19 22:36:01 +00:00