Commit Graph

708 Commits

Author SHA1 Message Date
Manish Singh 05d166cd4e Removed -lc from all Makefiles, since it causes weird problems on DU4
-Yosh
1998-08-31 02:08:15 +00:00
Owen Taylor fb1e132b90 Instead of calling gtk_widget_draw() (which was happening before the
Sun Aug 30 16:45:05 1998  Owen Taylor  <otaylor@gtk.org>

	* app/app_procs.c (app_init_update_status): Instead
	of calling gtk_widget_draw() (which was happening before
	the labels got re-size-allocated), just update the
	event loop so the idle resize/redraw gets run.
1998-08-30 20:44:25 +00:00
Manish Singh 3e6b1c6875 libgimp/gimp.c quell warning to g_set_message_handler
* libgimp/gimp.c
* app/main.c: quell warning to g_set_message_handler

* app/about_dialog.c: fix off-by-one error for space for the about text

-Yosh
1998-08-29 22:33:57 +00:00
Manish Singh 5c107a279e acconfig.h configure.in added check for putenv and #ifdefed it's usage
* acconfig.h
* configure.in
* app/main.c: added check for putenv and #ifdefed it's usage since NeXTStep is
lame

* libgimp/gimp.c
* app/main.c
* app/plug_in.c: conditionally compile shared mem stuff so platforms without
it can still work

* plug-ins/CEL/CEL.c
* plug-ins/palette/palette.c
* plug-ins/print/print-escp2.c
* plug-ins/print/print-pcl.c
* plug-ins/print/print-ps.c: s/strdup/g_strdup/ for portability

-Yosh
1998-08-28 23:01:46 +00:00
Raph Levien eaba60b1a9 Turned on dithering in the gradient editor. 1998-08-26 23:32:03 +00:00
Manish Singh 1dd8f668f2 use LDFLAGS and LIBS for building too
-Yosh
1998-08-25 21:59:11 +00:00
CDT 1998 Larry Ewing 8474c4e220 move the mru and docindex calls to before the call to
Mon Aug 24 13:41:49 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/fileops.c (file_save): move the mru and docindex calls to
	before the call to gimp_image_set_filename so that they are still
	accessing valid memory.  Fixes the filename corruption seen in
	these interfaces.
	* app/gimpimage.c: added a warning about the side effect that
	caused the above bug.
1998-08-24 18:48:06 +00:00
Manish Singh 2ada61e007 plug-ins/depthmerge.c plug-ins/fli.[ch] updates from the registry
* plug-ins/depthmerge.c
* plug-ins/fli.[ch]
* plug-ins/gfli.c: updates from the registry

* plug-ins/pnm/pnm.c: fix for non-interactive mode

* plug-ins/fractaltrace/fractaltrace.c: minor code cleanups

-Yosh
1998-08-24 16:36:18 +00:00
CDT 1998 Larry Ewing 64aa182a4d fixed a lingering bug that occured from the removal of the id system. This
Fri Aug 21 17:25:34 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/fileops.c: fixed a lingering bug that occured from the
	removal of the id system.  This should fix tigert's save problems.
1998-08-21 22:40:17 +00:00
Chris Lahey ee7d041eb0 Got rid of the menu bar in the document index. 1998-08-21 05:48:37 +00:00
Raph Levien 65ae5245d0 This is the integration of GdkRgb into Gimp. 1998-08-20 06:46:07 +00:00
People doing a 16 bpc version of gimp d4936d20a4 this commit is intentional :-)
this commit is intentional :-)

ray lehtiniemi <rayl@netrover.com>
1998-08-20 01:29:36 +00:00
Manish Singh 2124379b6e kludged around the use of the disappearing gtk private functions (through the
magic of cut and paste ;)

-Yosh
1998-08-18 22:44:49 +00:00
CDT 1998 Larry Ewing 8a6503a734 Make sure we check that ink_set_paint_area found a valid canvas_buf.
Sun Aug 16 18:48:17 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/ink.c (ink_paste): Make sure we check that
	ink_set_paint_area found a valid canvas_buf.
1998-08-16 23:54:51 +00:00
Chris Lahey 25b4d7ee9e Small fixes to the document index. 1998-08-16 09:04:03 +00:00
CDT 1998 Larry Ewing 764cc9c811 Make sure we check the return value from gimp_image_active_drawable.
Sat Aug 15 22:53:36 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/gdisplay.c (gdisplay_update_cursor): Make sure we check the
	return value from gimp_image_active_drawable.
1998-08-16 04:07:02 +00:00
scott fe6720432b Header file tweaks. Now changing tile.h doesn't force about_dialog to
recompile! :)
1998-08-16 00:34:20 +00:00
CDT 1998 Larry Ewing ae49b4f259 added a debug warning to a case that previously caused a segfault. This
Sat Aug 15 16:53:45 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/airbrush.c: added a debug warning to a case that previously
	caused a segfault.  This appears to be an xinput related problem
	where more than one button press can occur before a button release,
	so if you see a warning that tells you to contact me, please do.
1998-08-15 22:03:32 +00:00
scott 01e6a823ad Fixed a merge error. --sg 1998-08-15 20:03:04 +00:00
scott 85393964a0 Another tile tweak. This one eliminates tile levels (which add
bookkeeping without being used).  Made copy_region more intelligent on
when to use tile sharing; some changes made to pixel_regions to
facilitate this.  Fixed a refcount problem with xcf load and probably
a few other bugs that I've forgotten about.  Added a sanity check in
set_undo_tiles to help with a problem larry is reporting with airbrush
and xinput.  --sg
1998-08-15 19:17:36 +00:00
Sven Neumann 1ad565a287 Updated a few things in the TODO file.
--Sven
1998-08-15 14:13:51 +00:00
Sven Neumann 14394b2e6b We have entries in the info dialog now that allow to enter exact values
for the transformations and crop.

Changed "Clip perspective" to "Clip result" in the ransform tool options
and made it available for all transformations.

Minor cosmetic changes to rect_select and ink option dialogs.


--Sven
1998-08-15 13:34:54 +00:00
EDT 1998 Adrian Likins e6568759d8 wave two of the changes
Fri Aug 14 19:58:13 EDT 1998 Adrian Likins <adrian@gimp.org>

        * plugins/script-fu/scripts/select_to_brush.scm,
        selection-round.scm,slide.scm,sota-chrome-logo.scm,
        spinning_globe.scm,starburst-logo.scm,starscape-logo.scm,
        swirltile.scm, swirly-pattern.scm, t-o-p-logo.scm,
        textured-logo.scm: wave two of the changes

-adrian
1998-08-15 01:13:41 +00:00
Sven Neumann e9363dbcac A few fixes to the new transform tool UI.
--Sven
1998-08-14 14:46:24 +00:00
EDT 1998 Adrian Likins abdd2e566c tileblur.scm, title-header.scm, trochoid.scm,truchet.scm,
Thu Aug 13 23:00:39 EDT 1998 Adrian Likins <adrian@gimp.org>

        * plug-ins/script-fu/scripts: tileblur.scm, title-header.scm,
        trochoid.scm,truchet.scm, unsharp-mask.scm, waves-anim.scm,
        weave.scm,xach-effect.scm: first wave of scripts to
        use some of the new script-fu options

-adrian
1998-08-14 04:19:20 +00:00
Sven Neumann dbac5e9ef6 Minor cosmetic changes to the transform tool options dialog.
Made "Traditional" the default behaviour.


--Sven
1998-08-13 20:22:13 +00:00
Sven Neumann 844a3481ee Applied the transform tool UI patch from Tor Lillqvist <tml@iki.fi>.
It still has a few problems, but I guess there are easier to solve, if the
patch is applied.


--Sven
1998-08-13 20:19:09 +00:00
Sven Neumann fb8a4ebeed A few fixes here and there...
--Sven
1998-08-13 18:53:12 +00:00
Sven Neumann 794931f037 applied gimp-alt-980812-0.patch
--Sven
1998-08-13 15:25:41 +00:00
Seth Burgess d27db074bc Made flip tool work normally again. -- Seth Burgess <sjburges@gimp.org> 1998-08-12 04:23:48 +00:00
Sven Neumann 007d7f0adb Fixed the progressbar warnings and the image id in layers&channels.
--Sven
1998-08-11 20:45:57 +00:00
Sven Neumann af24ad3806 Added an about dialog.
--Sven
1998-08-11 19:17:23 +00:00
scott 0ffabfe95b Bunch of tile-related stuff. 1998-08-11 17:35:34 +00:00
Manish Singh 79f4910c9f corrected 2 annoyances: that stupid hash table == NULL warning and the
* app/gdisplay.c: corrected 2 annoyances: that stupid hash table == NULL
warning and the pointer in the title bar instead of the ID

* app/internal_procs.c: we're registering more procs, so make update the total
proc count

-Yosh
1998-08-10 21:56:50 +00:00
Sven Neumann 7422ae2e03 Finally a font-selector.
--Sven
1998-08-10 15:06:58 +00:00
Sven Neumann 0c686e0288 The scripf-fu dialog now remembers your last settings and has a
"Reset to Defaults" button. Still no font-selector though, might be the
next thing I add ...


--Sven
1998-08-09 12:17:51 +00:00
Raja R Harinath 99d563c738 List $(top_srcdir) before $(GTK_CFLAGS).
* plug-ins/script-fu/Makefile.am (INCLUDES):
List $(top_srcdir) before $(GTK_CFLAGS).
1998-08-07 22:58:04 +00:00
Manish Singh 3bfa6e9d21 for people without the gettext macros don't explicitly link files ad
* acinclude.m4: for people without the gettext macros
* configure.in: don't explicitly link files
* app/Makefile.am: ad INTLLIBS to the link line

-Yosh
1998-08-06 22:15:24 +00:00
Sven Neumann 921aeb82c0 New ScriptFu argument type SF-ADJUSTMENT: You can have sliders and
spin-buttons in the dialog. Documented in the new script (test-sphere.scm)


--Sven
1998-08-06 14:58:39 +00:00
Manish Singh ecfa2b8362 initial merge of the internationalization stuff. It's still broken in a
* initial merge of the internationalization stuff. It's still broken in a
couple places, so you're probably better off running configure with
--disable-nls (gimp-mgomulin-980727-0)

-Yosh
1998-08-05 23:46:04 +00:00
Sven Neumann ec78557f11 Changed most of the scripts to make use of the new argument type SF-STRING .
--Sven
1998-08-05 21:36:11 +00:00
Sven Neumann 7f6178b405 New ScriptFu argument type SF-STRING: Never have to add those damned quotes
again...


--Sven
1998-08-05 19:58:10 +00:00
Sven Neumann 6805b3be8f The statusbar can now be switched off just like the rulers.
--Sven
1998-08-05 12:38:11 +00:00
Federico Mena Quintero 18123a6ec6 Fixed typo (sinuosidal -> sinusoidal).
1998-08-03  Federico Mena Quintero  <federico@nuclecu.unam.mx>

	* app/gradient.c: Fixed typo (sinuosidal -> sinusoidal).
1998-08-03 15:56:20 +00:00
Sven Neumann 11c45becec Tweaked and applied a patch from Daniel Egger (gimp-egger-980704).
Update the statusbar when converting the image to another basetype.


--Sven
1998-08-02 20:36:34 +00:00
Sven Neumann 5ebfaaae74 Applied a patch from Simon.Budig@unix-ag.org (gimp-simon-220598-0).
Cosmetic changes to the script-fu dialog.

Added session-managment to the error-console.


--Sven
1998-08-02 19:05:02 +00:00
scott 3de98de2c4 I am an idiot. Always balance your brackets. --sg 1998-08-02 11:03:36 +00:00
scott 42185929c3 Added an assertion check in tile_manager.c to catch inappropriate sharing
attempts.  --sg
1998-08-02 01:52:43 +00:00
Manish Singh 81a6cba140 applied gimp-alt-980729-0 and gimp-alt-980730-0, brush and pattern popups in
the devices dialog

-Yosh
1998-07-31 22:44:26 +00:00
Adam D. Moss 5b6e6cd6f0 On all gimp-core fopen()s changed "[rw]"->"[rw]b" to appease OS/2 folk.
* app/[lots of files].c: On all gimp-core fopen()s
        changed "[rw]"->"[rw]b" to appease OS/2 folk.
1998-07-31 18:34:05 +00:00
Adam D. Moss 9e4d86333a Removed an ancient kludge that was seriously confusing the layer-mode
* app/layers_dialog.c: Removed an ancient kludge that was
	seriously confusing the layer-mode menu.

	* plug-ins/psd/psd.c: Support OVERLAY_MODE where available
1998-07-31 17:54:33 +00:00
Adam D. Moss 8712a72d0f Worked around some buggy PSD savers (suspect PS4 on Mac) - ugh. + Fixed a
* plug-ins/psd/psd.c: Worked around some buggy PSD savers
	(suspect PS4 on Mac) - ugh.  + Fixed a bug when loading layer
	masks of certain dimensions.
1998-07-31 12:58:01 +00:00
scott fb8fdecc5e Hm. I seem to have forgotten this. -sg 1998-07-30 20:20:27 +00:00
EDT 1998 Adrian Likins 2f0efbca32 added a text entry to GUMP, so you can now compose real messages.
Tue Jul 28 17:07:41 EDT 1998 Adrian Likins <adrian@gimp.org>

        * plug-ins/mail/mail.c: added a text entry to GUMP,
        so you can now compose real messages. Newsreader
        and 3D flight simulator to follow tomorow.

-adrian
1998-07-28 22:22:56 +00:00
CDT 1998 Larry Ewing 8540bdc54d Changed the libgimp GFillType enums to match the core enums in value, the
Tue Jul 28 15:42:39 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/drawable_cmds.c (drawable_fill_invoker):
	* libgimp/gimpenums.h: Changed the libgimp GFillType
	enums to match the core enums in value, the names still
	differ.

	* plug-ins/script-fu/script-fu.c: changed the fill setvars to use
	the GFillType enums.
1998-07-28 22:08:56 +00:00
Manish Singh 3635728000 app/Makefile.am app/errors.c app/errorconsole.[ch] app/app_procs.c
* app/Makefile.am
* app/errors.c
* app/errorconsole.[ch]
* app/app_procs.c
* app/appenv.h
* app/menus.c: error console implementation from Nuke <nuke@bayside.net>
Hooks to g_message

* app/fileops.c: honor message_handler while still setting filesel widget
sensitivity properly

-Yosh
1998-07-28 21:11:47 +00:00
CDT 1998 Larry Ewing ef3e0fa7ba reordered the GimpFillType enum, unfortunately this will cause a lot of
Tue Jul 28 15:04:39 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/gimpdrawable.h: reordered the GimpFillType enum,
	unfortunately this will cause a lot of recompilation for the
	rest of you.
1998-07-28 20:04:11 +00:00
CDT 1998 Larry Ewing 46df3df747 added a case for FOREGROUND_FILL. Fixes the layer new dialog so that it
Tue Jul 28 14:14:43 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/drawable.c (drawable_fill): added a case for
	FOREGROUND_FILL.  Fixes the layer new dialog so that it actually
	works with foreground fill selected.
1998-07-28 19:26:36 +00:00
Tuomas Kuosmanen bea11fc670 fixed the order of the fill-mode radio buttons in 'new image' and 'new layer'
dialogs - Foreground and Background modes are now besides each other which
makes more sense.

Tigert
1998-07-28 19:24:23 +00:00
Adam D. Moss 5184a59cc0 plug-ins/gee/gee.c Fixes for gdkrgb output on pseudocolour displays.
* plug-ins/gee/gee.c
	* plug-ins/animationplay/animationplay.c: Fixes for
	gdkrgb output on pseudocolour displays.
1998-07-28 19:01:10 +00:00
scott c9eb69855f Fixed a bug with the xcf loader being a little too overzealous in
sharing tiles. --sg
1998-07-27 19:34:10 +00:00
Manish Singh c30442d26c Sane PDB entry for Filter Pack
-Yosh
1998-07-27 19:29:14 +00:00
Sven Neumann 426322f47b More statusbar stuff.
--Sven
1998-07-26 21:49:42 +00:00
jaycox 8ac24a56d9 ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/pixel_region.c
	Optimized pixel_region_{get,set}_{row,col}
 ----------------------------------------------------------------------
1998-07-25 11:24:09 +00:00
Adam D. Moss d95ac866e6 Convert-to-indexed now remembers the last invocation's settings. Also,
* app/convert.c: Convert-to-indexed now remembers the last
        invocation's settings.  Also, GRAY->INDEXED more flexible.
1998-07-25 10:28:22 +00:00
jaycox 1f3857c9b5 ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/gimpbrushgenerated.c app/gimpbrushlist.c
	 gimpbrushgenerated now supports the stingy_memory_use flag.
	 fixed a bug in select_brush() related to stingy_memory_use.
 ----------------------------------------------------------------------
1998-07-25 10:20:07 +00:00
Manish Singh 5007176bba applied gimp-tml-980724-1 for new transform tool ui. It's still a little
rough, needs fixes

-Yosh
1998-07-24 21:05:02 +00:00
CDT 1998 Larry Ewing e6c92b1b22 moved gtk_widget_show (lc_shell) so that the layers show up in the dialog
Fri Jul 24 14:40:55 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/layers_dialog.c (lc_dialog_create): moved
	gtk_widget_show (lc_shell) so that the layers show up in the
	dialog again.  I've told Owen about this problem, we'll see what
	comes up.
1998-07-24 19:41:23 +00:00
Adam D. Moss 814a4285c6 Attempt to speed-up and/or sanitize MAX/MIN/CLAMP macro usage throughout
* app/appenv.h app/brightness_contrast.c app/color_balance.c
	app/curves.c app/gdisplay.h app/gdisplay_ops.c
	app/hue_saturation.c app/paint_core.c app/paint_funcs.c
	app/undo.c: Attempt to speed-up and/or sanitize
	MAX/MIN/CLAMP macro usage throughout gimp-core.
1998-07-24 18:52:03 +00:00
CDT 1998 Larry Ewing d982011311 Fixed a string allocation problem that failed to account for the trailing
Fri Jul 24 12:01:31 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/gdisplay.c (gdisplay_update_cursor): Fixed a string
	allocation problem that failed to account for the trailing \0
	(removed time sensitve calculation/malloc in the process).
1998-07-24 17:14:26 +00:00
jaycox 69d922412a ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/Makefile.am app/brush_select.c app/gimpbrush.c
 	app/gimpbrush.h app/gimpbrushgenerated.c app/gimpbrushlist.c
 	app/gimplist.c app/paint_core.c app/paint_core.h
    added axis to brushes.  paint_core now references a brush instead
    of a mask.  cleaned up some [brush]list removal stuff.


 Added Files:
 	app/vector2d.c app/vector2d.h
    very basic vector math struct/functions.
----------------------------------------------------------------------
1998-07-24 08:56:18 +00:00
scott cb8a1d0231 Fixed a problem with losing tile data in certain situations. -sg 1998-07-24 03:58:16 +00:00
CDT 1998 Shawn T. Amundson 78d8af84e1 usize statusbar to 1 width
Thu Jul 23 21:57:25 CDT 1998 Shawn T. Amundson <amundson@gimp.org>

        * app/interface.c: usize statusbar to 1 width
1998-07-24 03:20:54 +00:00
Sven Neumann 1f73342df7 Display the move offset in the statusbar and some code cleanup in
rect_select.c. Sorry for committing so much half-done stuff in the last
time. I'll do more testing in the future...


--Sven
1998-07-23 18:33:01 +00:00
Manish Singh 1e365c6a0d tell the PDB that gimp_register_magic_load_handler takes 4 args
-Yosh
1998-07-23 17:32:32 +00:00
Sven Neumann 6b01e79246 Display the selection-mode in the statusbar.
Restoring saved sessions works again.


--Sven
1998-07-22 23:55:43 +00:00
Sven Neumann 7934b3e065 Updated the Quick Reference Sheet to the much better version created
by Sven Anders <anderss@fmi.uni-passau.de>.


--Sven
1998-07-22 21:43:47 +00:00
scott 1e9108c41d Squashed a deadlock. I hope. --sg 1998-07-21 23:34:28 +00:00
Sven Neumann 72577b161b Added session-managment support to the device-status-dialog.
The restore-function is still not working, will have a look at it tomorrow...


--Sven
1998-07-21 00:15:24 +00:00
Adam D. Moss ae796a2b55 UI tweaks.
*  plug-ins/animationplay/animationplay.c: UI tweaks.
1998-07-20 20:47:37 +00:00
Sven Neumann 5d2753c2ff The new "Fixed Size" option now works with
ellipse_select too. Made the entries use spinbuttons. Minor change
to the selection_size indicator in the status-bar.

Made fopen() use "rb" and "wb" instead if "r" and "w" since the OS/2
port needs it.


--Sven
1998-07-20 18:19:20 +00:00
EDT 1998 Matthew Wilson bdfc4efe14 app/app_procs.c Changed progressbar updaters to work with new API. THIS
Mon Jul 20 11:07:32 EDT 1998  Matthew Wilson  <msw@gimp.org>

	* app/app_procs.c
	* app/interface.c: Changed progressbar updaters to work with
	new API.  THIS WILL NOT WORK WITH OLDER GTK+.  SOMEONE NEEDS
	TO MAKE AN ENTRY IN gtkfeatures.h SO WE CAN #ifdef THIS.
	(I suppose I should... but what can I say - I'm lazy)
--Matt
1998-07-20 15:07:13 +00:00
jaycox 2f93825eb2 ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/brush_select.c
 	app/gimpbrush.c app/gimpbrush.h app/gimpbrushgenerated.c
 	app/gimpbrushlist.c app/gimpbrushlist.h
     removed the index field from GimpBrush.  tweaked the brush renaming
     code

	app/edit_selection.c:
     look ahead in the event queue and process as many arrow keys as we
     can.
 ----------------------------------------------------------------------
1998-07-20 14:05:33 +00:00
jaycox 33cc34dda2 ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/brush_select.c app/gimpbrush.c app/gimpbrush.h
 	app/gimpbrushlist.c
      made the scrollbars recalc in brush_select when a brush is
      added/removed.
      GimpBrushLists now force brush names to be unique.
 ----------------------------------------------------------------------
1998-07-19 22:32:35 +00:00
Adam D. Moss e624645c95 Another speedup for some types of shaped animation.
* plug-ins/animationplay/animationplay.c: Another
	speedup for some types of shaped animation.
1998-07-19 20:08:36 +00:00
jaycox f0426ac257 ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/paint_funcs.c
     speed up to color_pixels (4-7X on a mips r4000)
 ----------------------------------------------------------------------
1998-07-19 17:37:14 +00:00
Adam D. Moss 56a2e76f73 Adapted to use GDKRGB when available - results in improved speed and
* plug-ins/animationplay/animationplay.c: Adapted
	to use GDKRGB when available - results in improved
	speed and stability.

	* app/session.c
	* app/session.h: GIMP compiles again with the latest
	GTK.  Sven will have to look at this fix, but it seems
	to work.
1998-07-19 12:02:29 +00:00
Adam D. Moss 719ce23e4a About eight times faster with new GTKs, a little faster without. Less
* plug-ins/gee/gee.c: About eight times faster with
	new GTKs, a little faster without.  Less bugs.  PH34R.
1998-07-18 19:29:25 +00:00
Sven Neumann 0f00346973 Show the selection size in the statusbar.
--Sven
1998-07-18 19:24:57 +00:00
Adam D. Moss 4d50fdb98d app/gimprc.c app/gimprc.h app/ink.c app/paint_core.c Now the
* app/gimprc.c
	* app/gimprc.h
	* app/ink.c
	* app/paint_core.c
	* app/preferences_dialog.c: Now the perfect-mouse-tracking
	normally enabled by pressing MOD1 is a preferences option,
	and MOD1 inverts the affect.

	* app/ink.c: Mildly tweaked the default brush size/range for
	my own twisted sense of esthetics.  Forgive me.
1998-07-18 17:39:23 +00:00
Sven Neumann 707a0c006e Cosmetic change to the Script-Fu dialog.
I tried to use the gtk_statusbar for this, but it seems that the label
redrawing in gtk+ is still buggy.


--Sven
1998-07-18 17:31:31 +00:00
Adam D. Moss 964b6f504d Fixed my idiotic comment syntax Less wussy default/max rate
* app/fileops.c: Fixed my idiotic comment syntax
	* app/airbrush.c: Less wussy default/max rate
1998-07-18 15:49:22 +00:00
Adam D. Moss 9017e83021 Added the ability to make multiple selections from GIMP's
* app/fileops.c: Added the ability to make multiple
	selections from GIMP's load-file-selector.  It's
	adequate but not perfect without the ability to get
	the filesel's idea of its cwd via clean GTK coding.

	* app/convert.c: Minor textual changes.
1998-07-18 15:25:52 +00:00
Manish Singh 5b6c995136 Made usage printout more verbose, added --quiet and -n options
* gimptool.in: Made usage printout more verbose, added --quiet and -n options

* gimp.m4: set NOUI stuff if available

-Yosh
1998-07-17 08:32:02 +00:00
Manish Singh 9ed940918b Added --cflags-noui and --libs-noui flags and appropriate sed junk to
* gimptool.in: Added --cflags-noui and --libs-noui flags and
appropriate sed junk to craft it. Don't call gtk-config unless
GTK_CONFIG is set; hard code the info. Strip out redundant
stuff from the output

* libgimp/gimp.h
* libgimp/gimpimage.c: make gimp_image_flatten return a value
to be consistent with the PDB

-Yosh
1998-07-17 02:19:56 +00:00
Manish Singh d13cd99de3 MapObject update
-Yosh
1998-07-16 20:14:54 +00:00
jaycox b2f1e85cf3 ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/brush_edit.c app/brush_edit.h app/brush_select.c
 	app/gimpbrush.c app/gimpbrushgenerated.c
 	app/gimpbrushgenerated.h app/gimpbrushlist.c
      added support for loading generated brushes and updated the
      brush_edit a bit.
 Added Files:
 	data/brushes/round1.vbr
   A sample generated brush.
1998-07-16 11:44:56 +00:00
CDT 1998 Shawn T. Amundson bb7a8b4802 Cursor location in statusbar Fixed resize of window progressbar is smaller
Wed Jul 15 22:06:32 CDT 1998 Shawn T. Amundson <amundson@gimp.org>

        * Cursor location in statusbar
	* Fixed resize of window
	* progressbar is smaller now
1998-07-16 03:23:14 +00:00
Sven Neumann b5b15171ca Updated MapObject plug-in.
--Sven
1998-07-16 00:45:41 +00:00
jaycox a528c42a2e ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/brush_edit.c app/brush_select.c
	app/gimpbrushgenerated.c app/gimpbrushgenerated.h
 	app/interface.c
     Added freeze/thaw to gimpbrushgenerated.
     added a close button and a preview to the brush_edit dialog.
 ----------------------------------------------------------------------
1998-07-15 12:15:24 +00:00
Manish Singh 30adcab214 added features header
-Yosh
1998-07-15 02:28:31 +00:00
Manish Singh fdb4b50f58 check for inline by ourselves if it's not defined in glibconfig.h. So
* configure.in: check for inline by ourselves if it's not
defined in glibconfig.h. So inline works if glib is compiled
with a different compiler than gimp. The plug-ins that use
inline #include "config.h" now (blur, destripe, emboss,
gfli, nlfilt, ps, randomize, sinus, and zealouscrop)

* app/main.c: applied gimp-kc-980707-0; fixes command line
parsing

* plug-ins/dbbrowser/dbbrowser_utils.c: searching by name does
- <-> _ translation

* Added filter pack plugin

-Yosh
1998-07-14 06:15:10 +00:00
EDT 1998 Adrian Likins be6d4825df argh, s/snprintf/g_snprintf
Mon Jul 13 22:00:31 EDT 1998 Adrian Likins <adrian@gimp.org>

        * app/rect_select.c : argh, s/snprintf/g_snprintf

-adrian
1998-07-14 03:12:31 +00:00
EDT 1998 Adrian Likins a827cd6101 applied gimp-kc-980707-1 from Kevin Cozens <kcozens@interlog.com>
Mon Jul 13 19:07:43 EDT 1998  Adrian Likins <adrian@gimp.org>

        * app/drawable.c app/commands.c app/gimpimage.h
          app/layers_dialog.c: applied gimp-kc-980707-1 from
          Kevin Cozens <kcozens@interlog.com>

        * Dialog boxes for creating a new image or a new layer now include
          as a fill type option.

-adrian
1998-07-14 00:29:08 +00:00
EDT 1998 Adrian Likins 4dcc23d529 updated these scripts to return the display they open, mainly so i can use
Mon Jul 13 18:08:35 EDT 1998 Adrian Likins <adrian@gimp.org>

        * plug-ins/script-fu/scripts/3dTruchet.scm
         plug-ins/script-fu/scripts/flatland.scm
         plug-ins/script-fu/scripts/truchet.scm:
        updated these scripts to return the display they open,
        mainly so i can use them in another script

-adrian
1998-07-13 23:21:43 +00:00
EDT 1998 Adrian Likins 649815a8c9 applied gimp-chap-980709-0 from Chap Lovejoy (chap@cc.gatech.edu)
Mon Jul 13 17:48:21 EDT 1998 Adrian Likins <adrian@gimp.org>

        * app/rect_select.[ch]: applied gimp-chap-980709-0
        from  Chap Lovejoy  (chap@cc.gatech.edu)

        From the README:

        Adds fixed size and fixed ratio rectangular selections to the
        gimp.

        Fixed size is enabled by filling in the height and width boxes in
        the rectangular selection tool options box and checking the
        "fixed size" checkbox.

        Fixed ratio is enabled by enabling fixed size (set the height and
        width to the desired ratio values) and holding shift after
        starting the selection (holding shift while starting the selection
        will change the selection operation to add).

-adrian
1998-07-13 23:08:00 +00:00
Sven Neumann 443bf8b2b4 Fixed a few bugs in the new MRU list.
I'm not very happy with this new feature as it doubles functionality and
code with the new docindex. Probably the two should be merged somehow. The
user interface should stay as it is, but the MRU functions should be
provided by the docindex code.


--Sven
1998-07-13 22:31:45 +00:00
jaycox 5d0a6dfee0 ----------------------------------------------------------------------
----------------------------------------------------------------------
 Modified Files:
 	ChangeLog app/brush_select.c app/gimpbrushgenerated.c
 	app/gimpbrushlist.c
      fixed brush ref counting.
 ----------------------------------------------------------------------
1998-07-13 10:04:42 +00:00
Adam D. Moss f4b772a90e July 6th's patch from Yasuhiro SHIRASAKI for constraining custom-palette
* app/convert.c: July 6th's patch from Yasuhiro SHIRASAKI for
	constraining custom-palette choices to <=256 colours broke
	the automatic defaulting of 'Web' palette.  Fixed.
1998-07-13 07:12:01 +00:00
scott b61c1b31a3 Hid some of mkj's tile preswapin stuff because it doesn't like the rest of us. 1998-07-13 04:58:27 +00:00
EDT 1998 Michael K. Johnson d2e6afe08c app/tile_swap.c app/tile_swap.h app/tile_manager.c app/tile_manager.h
Sun Jul 12 19:00:15 EDT 1998 Michael K. Johnson <johnsonm@redhat.com>

* app/tile_swap.c
* app/tile_swap.h
* app/tile_manager.c
* app/tile_manager.h
* app/pixel_region.c
* app/pixel_region.h: asynchronous swapin on systems with pthreads.
This version is not at all tuned, and the only interface which makes use
of it now is pixel_region_{g,s}et_{row,col}.  Other functions which know
ahead of time the area that they will be needing can request that it be
asynchronously swapped in via the pixel_region_get_async() function.

Compiles and survives basic testing.
1998-07-12 23:01:33 +00:00
scott a178be4922 Tile preswapper tweaking. --sg 1998-07-12 22:35:01 +00:00
Adam D. Moss 0d268dc3b1 app/gdisplay.h app/interface.c Added the ability to cancel a running
* app/gdisplay.h
        * app/interface.c
        * app/plug_in.c: Added the ability to cancel a running
        plugin when the progress-bar has been sucked into the image
        window.

        * plug-ins/psd/psd.c: Turned debugging on again, since we
        are in a development cycle...
1998-07-12 15:18:07 +00:00
jaycox ed2e3ee66f ----------------------------------------------------------------------
----------------------------------------------------------------------
Modified Files:
	ChangeLog app/Makefile.am app/brush_select.c
	app/gimpbrushlist.c app/gimpbrushlist.h app/gimpsetF.h
	added sorting on the brush_list, fixed some encapulation issues.

	app/paint_funcs.c
	minor speed tweak to border_region
Added Files:
	app/gimpbrushlistF.h app/gimpbrushlistP.h app/gimplist.c
	app/gimplist.h app/gimplistF.h app/gimplistP.h
        Split gimpbrushlist.h into 3 files.  New class "GimpList"
----------------------------------------------------------------------
1998-07-12 11:40:43 +00:00
Manish Singh 999b2781f4 added MRU file list (patch from nuke@bayside.net) Moved document index menu
item into the dialogs submenu

-Yosh
1998-07-12 05:18:17 +00:00
Owen Taylor 1cba88aacc Free last_blob when destroying tool.
Sat Jul 11 23:57:09 1998  Owen Taylor  <otaylor@gtk.org>

	* app/ink.c (tools_free_ink): Free last_blob when destroying
	  tool.

	* app/blob.c: Fix off-by-one error when searhing for gaps.
1998-07-12 03:59:23 +00:00
scott 7ee6ae529c Reduced the aggressiveness of the tile preswapper. 1998-07-12 00:59:37 +00:00
Sven Neumann 28f61dfd5a Disabled setting the size of the dialogs since
lewing pointed out that you can't make them smaller any more :-(
Bah, the whole geometry stuff needs to be reworked in gtk+ !!


--Sven
1998-07-11 22:47:15 +00:00
Sven Neumann 329e2072d8 More session-managment functionality. Opened dialogs are saved and eventually
reopened. Try to use the --restore-session command-line option.


--Sven
1998-07-11 22:23:23 +00:00
scott 32058a457f More tile-related stuff.
--sg
1998-07-11 17:23:03 +00:00
Adam D. Moss ab8133467d Shaved about 25% off the time spent in
* app/paint_funcs.c: Shaved about 25% off the time spent in
        combine_inten_[a_]and_inten_a_pixels() - yay.

        * app/xcf.c: Removed 'M' and '.' debugging spew
        * app/tile_manager.c: Removed #include <stdio.h>
1998-07-11 16:25:52 +00:00
scott df2b147050 Fixed a really dumb bug in tile management in paint_core. --sg 1998-07-11 14:00:55 +00:00
Seth Burgess da9a38ce62 Added System-wide gimprc. Fixed bug with previous user gimprc. 1998-07-11 07:06:39 +00:00
Seth Burgess 8773306e22 Added --gimprc command line option. 1998-07-11 02:00:19 +00:00
Chris Lahey 8365562507 Forgot to commit the ChangeLog. 1998-07-10 22:38:18 +00:00
Adam D. Moss e86a3876c6 Fixed copy-on-write path of copy_region which was sometimes crashing with
* app/paint_funcs.c:
	Fixed copy-on-write path of copy_region which was sometimes
	crashing with Scott's new tile scheme.

	* app/tile_manager.c:
	Added some sanity warnings.

	* app/xcf.c:
	Fixed copy-on-write tile loading which was causing crashes
	with Scott's new tile scheme.  Ref balance count seems funny
	still.
1998-07-10 22:26:22 +00:00
Chris Lahey 88618c25bd Document index adds documents even if it's not opened. 1998-07-10 20:35:57 +00:00
jaycox 8fca3091fe Modified Files: ChangeLog app/brush_select.c app/brush_select.h
Modified Files:
 	ChangeLog app/brush_select.c app/brush_select.h
 	app/gimpbrushgenerated.c app/gimpbrushlist.c
 	app/gimpbrushlist.h app/paint_core.c app/paint_core.h
       Signalified the brushes and cleaned up a few things.

 	app/paint_funcs.c: Minor speed tweak
 ----------------------------------------------------------------------
1998-07-10 08:59:55 +00:00
scott 83963c3697 A few tile tweaks (stuff I messed up on the frist commit) --sg 1998-07-10 04:33:21 +00:00
scott 9ccef4a648 Tile overhaul. Mostly minor changes, except for tile*.*, which are
barely recognizable.
1998-07-10 02:43:12 +00:00
EDT 1998 Michael K. Johnson 1f1c9e1684 clone_motion: silently ignore cloning if the clone source hasn't been
Thu Jul  9 22:04:04 EDT 1998  Michael K. Johnson <johnsonm@redhat.com>

       * app/clone.c: clone_motion: silently ignore cloning if the
         clone source hasn't been selected or no longer exists.

Slightly modified last commit to be less noisy.
1998-07-10 02:17:20 +00:00
EDT 1998 Michael K. Johnson 42270eb6dc clone_motion: error message instead of segv if the clone source hasn't
Thu Jul  9 22:04:04 EDT 1998  Michael K. Johnson <johnsonm@redhat.com>

        * app/clone.c: clone_motion: error message instead of segv
          if the clone source hasn't been selected or no longer exists.
1998-07-10 01:59:40 +00:00
jaycox b7d8e6ea91 Modified Files: ChangeLog app/Makefile.am app/airbrush.c app/app_procs.c
Modified Files:
 	ChangeLog app/Makefile.am app/airbrush.c app/app_procs.c
 	app/brush_select.c app/brush_select.h app/clone.c
 	app/colormaps.c app/commands.c app/convolve.c app/devices.c
 	app/eraser.c app/gimage_mask.c app/gimpobject.h app/ink.c
 	app/internal_procs.c app/paint_core.c app/paint_core.h
 	app/paintbrush.c app/pencil.c app/preferences_dialog.c
      Minor modifications to support new brush functionality

 Added Files:
 	app/brush_edit.c app/brush_edit.h app/gimpbrush.c
 	app/gimpbrush.h app/gimpbrushgenerated.c
 	app/gimpbrushgenerated.h app/gimpbrushlist.c
 	app/gimpbrushlist.h
      new files to support vector generated brushes and
      reorganization/objectification of the brush class

 Removed Files:
 	app/brushes.c app/brushes.h
    Obsoleted by gimpbrush.? and gimpbrushlist.?

 ----------------------------------------------------------------------
1998-07-09 05:31:06 +00:00
CDT 1998 Larry Ewing 354d726481 raise the color select when the color area is clicked.
Wed Jul  8 22:36:12 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/color_area.c (color_area_edit): raise the color select when
	the color area is clicked.
1998-07-09 03:35:39 +00:00
CDT 1998 Larry Ewing 1a1393983b fixed a small typo that prevented the composite image from being updated
Wed Jul  8 21:08:03 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/gimpimage.c (gimp_image_raise_layer): fixed a small typo
	that prevented the composite image from being updated properly


CV: ----------------------------------------------------------------------
1998-07-09 02:07:37 +00:00
CDT 1998 Larry Ewing 57abc91fd9 replaced old invalidate calls with an iteration over gimages.
Wed Jul  8 10:47:51 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/preferences_dialog.c: replaced old invalidate calls
	with an iteration over gimages.

	* app/layer.c: added an assert to check for gimage != NULL.
1998-07-08 15:47:38 +00:00
Chris Lahey 99bbc38a1c Just a few quick bug fixes for the document index. 1998-07-08 10:29:09 +00:00
Chris Lahey 3f81a90182 Added a document index. 1998-07-08 09:04:33 +00:00
scott 217b494f52 Makefile.am blend.c boundary.c by_color_select.c channel.c color_picker.c
* Makefile.am blend.c boundary.c by_color_select.c channel.c
* color_picker.c drawable_cmds.c fuzzy_select.c gimpimage.c
* image_render.c ink.c layer.c main.c paint_core.c paint_funcs.c
* pixel_region.c plug_in.c tile.c tile.h tile_cache.c tile_manager.c
* tile_swap.c transform_core.c undo.c xcf.c: split off tile_pvt.h
from tile.h so changes in the tile implementation don't force a
complete recompile.
--sg
1998-07-08 06:41:58 +00:00
Lauri Alanko 2d028e9070 Unregister pdb procs _before_ destroying pdb. 1998-07-07 22:42:35 +00:00
scott 192256a01b app/gimage_mask.c (gimage_mask_boundary): fixed crash when you delete
the last layer of an image.
--sg
1998-07-07 01:39:31 +00:00
Seth Burgess dbb2be8ea6 Added Version 1 support for gbr plug-in 1998-07-06 22:19:56 +00:00
Manish Singh 83956626cc Check for > 256 colors palettes when indexing, since the code doesn't handle it
(From Yasuhiro SHIRASAKI)

-Yosh
1998-07-06 19:06:02 +00:00
scott 3423aeff07 splits pixmaps up into two headers fixed a doublelock deadlock --sg
* pixmaps.h pixmaps2.h tools.c: splits pixmaps up into two headers
* tile.c: fixed a doublelock deadlock
--sg
1998-07-06 18:20:28 +00:00
EDT 1998 Adrian Likins 4ab8de98f7 applied a patch from Adam D. Moss <adam@gimp.org> Sucked the warning about
Sun Jul  5 15:49:02 EDT 1998  Adrian Likins <adrian@gimp.org>

        * applied a patch from Adam D. Moss <adam@gimp.org>
        * app/convert.c:  Sucked the warning about
        quantizing to too many colours into a text
        widget embedded in the dialog, improved intelligence of
        dialog to default 'custom palette' selection to 'Web'
        if available, and in this case not bother to present
        the native WWW-palette radio button. [Adam]

-adrian
1998-07-05 21:01:21 +00:00
Manish Singh be67d7269c corrected progress display caption
-Yosh
1998-07-05 06:02:56 +00:00
Manish Singh edf4ef1e55 made the g_message errors a little smarter instead of popping up a ton of
* app/tile_swap.c: made the g_message errors a little smarter instead
of popping up a ton of dialogs

* app/layer.c
* app/channel.c
* app/gdisplay.c
* app/gimprc.c: some code cleanups

-Yosh
1998-07-05 00:03:06 +00:00
scott 27e90260db Incorporated Adam's copy-on-write patches. Seems to not break anything,
Incorporated Adam's copy-on-write patches.  Seems to not break
anything, but I'm sure they do somewhere. --sg
1998-07-02 23:29:44 +00:00
Manish Singh ddc557c297 Updated blur, randomize, and exchange plugins (not sure if they should go
into stable, they break PDB interfaces)

-Yosh
1998-07-02 18:06:30 +00:00
Lauri Alanko 6a02cda396 Started gimpset, a generic class for handling collections of
objects. (And to automatically manage their signals, not implemented
yet)

Moved drawable_apply_image to drawable.c

Created a global context object (image_context) to handle the
collection of images that the app manages.
1998-07-01 23:06:49 +00:00