Commit Graph

385 Commits

Author SHA1 Message Date
Manish Singh bd6b3ae4b9 app/brush_select.c get rid of unused variable warnings
* app/brush_select.c
* app/iscissors.c: get rid of unused variable warnings

* app/fileops.c: refresh the filesel better

* app/plug_in.c: make sure everything gets initialized to something in the
plug-in struct

-Yosh
1998-03-31 06:08:08 +00:00
Matt Wilson 80c68dc1e2 Oops. I missed this file... script pays attention to bg-color now 1998-03-31 01:02:48 +00:00
Adrian Likins e47ab4cd65 updated png.c so non-interactive mode works now
-adrian
1998-03-30 19:05:47 +00:00
Sven Neumann 83ef9d15b3 By-color-select now checks if the image it is working on still exists.
This fixes the crashes when closing an image with the by-color-select-dialog
associated to it still open and pressing "Reset" or clicking into the preview.

The checks produce some warnings like
** WARNING **: invalid class type (unknown)' in cast to impDrawable'
when failing, but I consider this less evil than a crash.

There is still a problem: Sometimes the by-color-select-dialog is closed
when the image is closed and can't be opened anymore. Anyone?


--Sven
1998-03-30 12:10:54 +00:00
Manish Singh eb2a8f6708 fixed improper use of types; sparkle actually works now
-Yosh
1998-03-29 22:32:54 +00:00
Adrian Likins 512998c79e fixed gimp-brushes-refresh. I broke it with the no-data patch.
a  s/TRUE/FALSE change. select_to_brush.scm works now.

-adrian
1998-03-29 16:55:38 +00:00
Owen Taylor 424049739e Removed duplicate saving of CFLAGS Add GTK_CFLAGS to CPPFLAGS for library
Sat Mar 28 22:42:49 1998  Owen Taylor  <owt1@cornell.edu>

	* configure.in: Removed duplicate saving of CFLAGS
	Add GTK_CFLAGS to CPPFLAGS for library tests,
	instead of to CFLAGS.
1998-03-29 03:46:42 +00:00
Ben Gertzfield 6537125716 Removed *.files; artifacts of build process. Updated changelog for 0.99.23. 1998-03-28 19:11:36 +00:00
EST 1998 Matthew Wilson 6daf14262c Always update the drawable when converting a floating selection to a layer
Fri Mar 27 13:41:55 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/floating_sel.c: Always update the drawable when converting
	a floating selection to a layer

--Matt
1998-03-27 21:21:57 +00:00
Adrian Likins 792728eb13 heh, ooops...
add palette save plugin...

-adrian
1998-03-27 17:12:21 +00:00
Adrian Likins 9a807cb0bb added save palette plugin
-adrian
1998-03-27 16:51:10 +00:00
Sven Neumann 8dec2758b7 Small changes to satisfy the native SGI IRIX-6.4 compiler. There are still
lots of warnings, but it seems to compile out of the box now (using GNU
make).


--Sven
1998-03-27 13:33:38 +00:00
Sven Neumann a5c103b53b Changed a C++-style comment to the traditional C-style /* ... */, to satisfy
the IRIX cc.
I'm sure I have done this change before. Adrian, did you run cvs update
before committing your changes to dbbrowser_utils.c ??


--Sven
1998-03-27 13:20:10 +00:00
Manish Singh 640d4644b7 Made 0.99.23 release.
-Yosh
1998-03-27 08:20:30 +00:00
EST 1998 Matthew Wilson 57c8796d53 Offset brush buffer when painting on edges of the canvas. Set window to
Fri Mar 26 03:13:15 EST 1998 Matthew Wilson <msw@gimp.org>
	* app/paint_core.c: Offset brush buffer when painting on edges
	of the canvas.
	* app/text_tool.c: Set window to auto_shrink = FALSE

-Matt
1998-03-27 08:13:45 +00:00
EST 1998 Matthew Wilson 2bdb815447 app/iscissors.c Change to select the bezier tool properly when converting
Fri Mar 26 01:30:45 EST 1998 Matthew Wilson <msw@gimp.org>
	* app/iscissors.c
	* app/bezier_select.c: Change to select the bezier tool properly
	when converting from iscissors to bezier

-Matt
1998-03-27 06:29:39 +00:00
Nate Summers 1d3eb2375d No more sigsegv lalalalalalalala 1998-03-27 00:42:56 +00:00
Nate Summers 4f901c84da fix a typo (i where a j should be)
* app/iscissors.c: fix a typo (i where a j should be)
1998-03-26 23:32:55 +00:00
Nate Summers bf0a1c431c This version works much better. outstanding bugs <VERY IMPORTANT>:
* app/iscissors.c: This version works much better.
        outstanding bugs <VERY IMPORTANT>:

        1. the edgemap does not seem to be constructed quite right
        (construct_edge_map) -- uncomment #define
        ISCISSORS_STILL_DOES_NOT_WORK and take a look at the edgemap -- it
        will be saved to the file "dump"

        2. sigsegvs if the layer offset isn't 0,0.  dunno why.

        3. convert to bezier still does not work!  Any tools experts wanna
        help me with it?  (it converts to bezier fine, it just doesn't set
        the active tool to bezier currectly.)
1998-03-26 22:37:08 +00:00
Nate Summers cdd1e67305 fixes the display artifact where the preview outline of the selected area
* app/iscissors.c: fixes the display artifact where the preview
outline of the selected area would not appear or would appear in
the wrong place or have the wrong shape
1998-03-26 19:17:42 +00:00
Nate Summers 0b9cf33499 This should hopefully fix most of the UMRs (uninitialized memory reads)
* iscissors.c: This should hopefully fix most of the UMRs
(uninitialized memory reads) found with Purify.  No noticable
change in iscissors's behavior, unfortunately.
1998-03-26 19:03:10 +00:00
Adrian Likins 380deeb2d8 Fixed up --no-data so that the various *_init() routines always get
* app/app_procs.c app/brush_select.c app/brushes.c
        app/brushes.h app/convert.c app/gradient.c app/gradient.h
        app/palette.c app/palette.h app/pattern_select.c app/patterns.c
        app/patterns.h:   Fixed up --no-data so that the various *_init()
        routines always get called, and so that when in interactive mode
        the data can be loaded by the user even when started with --no-data.
        Fixes the blend bug too...

	yeah, sven scooped me... but i think this is still a needed patch...

-adrian
1998-03-26 18:24:42 +00:00
Sven Neumann b1a30ca8a0 Gimp crashed when the Blend Tool was used with a gradient and gimp was
started with the --no-data option. This is fixed now. grad_get_color_at()
now returns a totally transparent black when no gradient is present.

Additionally the gradient editor now behaves better when the window is
resized. The resize code is still an ugly hack though.


--Sven
1998-03-26 17:55:54 +00:00
Nate Summers 66706be84b *** empty log message *** 1998-03-26 05:53:19 +00:00
Manish Singh 4119ff4245 Fix speeling error.
-Yosh
1998-03-26 05:49:30 +00:00
Nate Summers 49f2e5601c iscissors.c: fix a problem of using uninitialize variables 1998-03-26 05:42:33 +00:00
Manish Singh 39a2761783 Support for parsing env vars in gimprc
-Yosh
1998-03-26 03:33:45 +00:00
Manish Singh 8b717a0ade applied gimp-quinet-980122-0 and tweaked the tests a bit, this makes the
* applied gimp-quinet-980122-0 and tweaked the tests a bit, this makes the
optional library tests in configure.

* applied gimp-jbuhler-980321-0, fixes more warnings in plug-ins

-Yosh
1998-03-26 02:08:31 +00:00
Federico Mena Quintero fbc97774c8 Removed Sopwith's "speed optimizations", as they introduced bugs (exposed
1998-03-25  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* app/asupsample.c (adaptive_supersample_area): Removed Sopwith's
	"speed optimizations", as they introduced bugs (exposed by using a
	high threshold value for supersampling).  They weren't much of a
	speed improvement, anyway (memcpy on very small regions, etc.).
	Also, assuming that all-bytes-zero is a floating-point 0 value is
	not portable.
1998-03-26 00:51:19 +00:00
EST 1998 Matthew Wilson 64d26eddbe now prints messages when starting up --no-splash
Wed Mar 25 16:22:00 EST 1998 Matthew Wilson <msw@gimp.org>

	* app/app_procs.c: now prints messages when starting up --no-splash

	* app/gimprc.c: now prints messages when starting up --no-splash

	* app/plug-in.c: does not print messages when starting up with
	splash screen
1998-03-25 21:36:59 +00:00
Manish Singh 011f2c333a refresh the open/save as dialogs upon open
* app/fileops.c: refresh the open/save as dialogs upon open

* applied gimp-quinet-980323-0, fixing more M_PI madness

* applied gimp-quinet-980323-1 which fixes redundant inline checks

* plug-ins/gfig/gfig.c: changed stipple to type unsigned char to quell warnings

-Yosh
1998-03-25 04:34:43 +00:00
Manish Singh 3d7379ba0e SunOS portability kludge (bleh)
-Yosh
1998-03-25 02:41:09 +00:00
Manish Singh c26040d182 corrected test for libXmu for some systems; added test for difftime
* configure.in: corrected test for libXmu for some systems; added test for
difftime

* app/main.c: use glib ATEXIT macro

* app/text_tool.c: applied gimp-stric-980321-0 (text preview refresh)

* plug-ins/script-fu/script-fu-console.c: don't need to init gtkpreview stuff,
since we don't use them

* plug-ins/script-fu/*: many portability fixes

* plug-ins/pnm/pnm.c: sprintf portability patch

* plug-ins now #define RAND_MAX if needed

* plug-ins/sparkle/sparkle.c: applied gimp-joke-980322-1

-Yosh
1998-03-25 02:17:42 +00:00
Manish Singh 59b0f6e534 Fix to convert.c from Adam for fencepost error.
-Yosh
1998-03-24 12:33:54 +00:00
Ben Gertzfield 09fe669c6c Added debian/ directory for ease in automated CVS package building. 1998-03-24 03:52:41 +00:00
Manish Singh 09a5fde1ce app/gimage_mask.c applied patch from Ben Jackson to fix fractional pixel
* app/gimage_mask.c
* app/paint_core.c: applied patch from Ben Jackson to fix fractional pixel
errors and reverted the old fix.

* app/paint_funcs.h: changed the #defines for ERASE_MODE and REPLACE_MODE to
correctly match layer_modes[]

-Yosh
1998-03-24 02:18:58 +00:00
Owen Taylor a705770e83 Added some documentation about why the configuration for GTK could be
Mon Mar 23 20:51:53 1998  Owen Taylor  <owt1@cornell.edu>

	* INSTALL configure.in: Added some documentation
	about why the configuration for GTK could be failing,
	and pointed to it in the failure message.
1998-03-24 01:54:02 +00:00
Elliot Lee 1f1f251a7f undo goof(s) 1998-03-23 19:19:19 +00:00
Adrian Likins 0e7f4859c8 fix from matt wilson to check for the "save image with no layers bug"
-adrian
1998-03-22 23:52:03 +00:00
Adrian Likins 8048ce274b applied a patch from Matt Wilson to fix dbbrowser bug with crashing on
script-fu scripts.

-adrian
1998-03-22 23:36:35 +00:00
Adrian Likins 1bfe515fe1 gimp-joke-980321
* app/iscissors.c, app/tips_dialog.c, app/gradient.c,
        libgimp/gimp.c, plug-ins/AlienMap/AlienMap.c,
        plug-ins/bmp/bmp.c, plug-ins/fits/fitsrw.h,
        plug-ins/fits/fitsrw.c, plug-ins/flarefx/flarefx.c,
        plug-ins/gfig/gfig.c, plug-ins/gfli/gfli.c,
        plug-ins/gicon/gicon.c, plug-ins/gqbist/gqbist.c,
        plug-ins/gtm/gtm.c, plug-ins/hot/hot.c,
        plug-ins/ifscompose/ifscompose.c,
        plug-ins/ifscompose/ifscompose_utils.c
        plug-ins/max_rgb/max_rgb.c, plug-ins/nlfilt/nlfilt.c,
        plug-ins/pat/pat.c, plug-ins/pcx/pcx.c, plug-ins/rotate/rotate.c,
        plug-ins/script-fu/script-fu-server.c, plug-ins/snoise/snoise.c,
        plug-ins/threshold_alpha/threshold_alpha.c,
        plug-ins/zealouscrop/zealouscrop.c :gimp-joke-980321

        plug-ins/CML_explorer, plug-ins/autocrop,
        plug-ins/align_layers, plug-ins/blinds,
        plug-ins/bmp, plug-ins/megawidget: gimp-joke-980322

        Applied gimp-joke-980322-0.patch and gimp-joke-980321-0.patch
        from Yasuhiro SHIRASAKI <joke@awa.tohoku.ac.jp>. Mostly
        portability for DEC osf1's cc. Lots of MAIN();'s, trailing
        commas in enums, and guchar/gchar madness.

	Gimp now sends mail, cleans vinyl records,
	removes stubborn stains, julien fries, and more!

-adrian
1998-03-22 20:44:39 +00:00
Sven Neumann 4ef2e384fc Changed a C++-style comment to the classic /* ... */
There is still a major bug somewhere in there. Try to choose a
script-fu-procedure from the dbbrowser, it crashes.


--Sven
1998-03-22 14:58:26 +00:00
Manish Singh 9649ce2de9 ChangeLog too...
-Yosh
1998-03-22 10:08:17 +00:00
Manish Singh 479e39f6af autoconfed for random/lrand48/rand madness dbbrowser uses clist now,
* autoconfed for random/lrand48/rand madness
* dbbrowser uses clist now, thanks to msw
* gfig.c: minor fix for buggy compilers
* plasma.c, snoise.c: applied gimp-kmt-980321-[0,1]
* tiff.c: minor fix

-Yosh
1998-03-22 10:03:12 +00:00
Sven Neumann cbae3b5c21 Oops, seems I hadn't used the right parameters for tar when creating the
tar.gz. Here comes the gzip-ed version.


--Sven
1998-03-21 17:55:02 +00:00
Sven Neumann 775c5e28a1 Added a note to the README that explains why xdvi can't handle the resulting
DVI file when rebuilding the reference sheet from the tex source.


-- Sven
1998-03-21 17:44:44 +00:00
Sven Neumann a59a1d11c8 Fixed ripply-anim.scm and put it back into the distribution. I wonder how
this script has ever worked before...


--Sven
1998-03-21 17:37:38 +00:00
Sven Neumann 5ec602da8a Small changes to reflect the fact that a gfig directory is created in
the users gimp-directory.


--Sven
1998-03-21 15:30:38 +00:00
Sven Neumann e5ab9ffece Removed auto-save from preferences and marked it as not yet implemented
in gimprc. The code is still there for later reuse.

Changed the WMCLASS on the image close confirmation dialog to 'really_close'.


--Sven
1998-03-21 14:54:37 +00:00
Sven Neumann 57d58e985b Changes to the reference sheet. The tex source is now in
gimp_quick_reference.tar.gz together with a README and EPS versions of the
icons.


--Sven
1998-03-21 13:46:44 +00:00