Commit Graph

648 Commits

Author SHA1 Message Date
BST 1998 Adam D. Moss 0499488635 The paint and ink tools are synchronous.
Sun Oct  4 21:07:07 BST 1998 Adam D. Moss <adam@gimp.org>

	* app/ink.c app/paint_core.c: The paint and ink tools
	are synchronous.
1998-10-04 20:16:17 +00:00
BST 1998 Adam D. Moss c3d66ee292 Resizing image canvases should be less horrible to look at. I've removed
Sat Oct  3 21:01:34 BST 1998 Adam D. Moss <adam@gimp.org>

	* app/channel.c app/channel_ops.c app/disp_callbacks.c
	app/floating_sel.c app/gdisplay.c app/gdisplay.h
	app/gdisplay_ops.c app/gimpimage.c app/image_map.c
	app/interface.c app/layers_dialog.c app/plug_in.c app/undo.c
	app/xcf.c:

	Resizing image canvases should be less horrible to look at.
	I've removed the implicit clear of the whole area when a
	window is resized by the user, and clear the exposed area around
	the image manually when appropriate.

	Dialogs which want synchronous updates for previews and
	such use displays_update_now().

	Removed some old debugging nonsense which I don't want any more.
1998-10-03 20:14:00 +00:00
BST 1998 Andy Thomas e99f37ab19 app/patterns.c app/pattern_select.c app/internal_procs.c app/patterns.h
Thu Oct  1 22:39:14 BST 1998 Andy Thomas <alt@picnic.demon.co.uk>

	* app/patterns.c app/pattern_select.c app/internal_procs.c
	* app/patterns.h app/pattern_select.h app/plug_in.c
	* libgimp/gimpmenu.h libgimp/gimpmenu.c libgimp/Makefile.am
	* plug-ins/gfig/gfig.c plug-ins/script-fu/scripts/test-sphere.scm
	* plug-ins/script-fu/script-fu.c plug-ins/script-fu/script-fu-enums.h
	* plug-ins/script-fu/script-fu-scripts.c

	* New libgimp/gimppatternmenu.c

	Pattern dialog can now be controlled via the PDB. New widget (not true
	widget) type added to libgimpui (gimp_pattern_select_widget()). Plugins
	should easily be able to control & select patterns. Script-fu
	updated to use new widget. See the test script for example.
1998-10-01 22:09:01 +00:00
BST 1998 Adam D. Moss c615f15e73 Okay, that didn't take quite as long as expected. This is the first cut at
Thu Oct  1 17:10:32 BST 1998 Adam D. Moss <adam@gimp.org>

	* app/gdisplay.c app/gdisplay.h: Okay, that didn't
	take quite as long as expected.  This is the first cut at
	a gimp-wide IdleRender in place of the previously synchronous
	displays_update().  A synchronous displays_update_now() is
	implemented for stuff like brushes, but it isn't used right
	now.  (Seems to go pretty well without.)

	I need feedback and (previously nonexistant!) bug reports...
	please. =)
1998-10-01 16:22:28 +00:00
BST 1998 Adam D. Moss 769bfa6ecd Temporarily disabled IdleRender code whilst working on a more centralised
Thu Oct  1 12:44:19 BST 1998 Adam D. Moss <adam@gimp.org>

	* app/floating_sel.c app/gdisplay.c app/gdisplay.h
	app/gimpimage.c app/layers_dialog.c app/undo.c:
	Temporarily disabled IdleRender code whilst working
	on a more centralised approach.
1998-10-01 11:53:20 +00:00
Seth Burgess 7ecb8b4587 Fixed up typos in the tips file. 1998-09-30 16:31:17 +00:00
Nam SungHyun f601947361 New file with Korean translations (some). Added 'ko'
* po/ko.po: New file with Korean translations (some).
* configure.in (ALL_LINGUAS): Added 'ko'
1998-09-29 11:36:04 +00:00
BST 1998 Adam D. Moss 6f9fed4789 Fixed an uninitialized variable bug which was making TigerT's gifs blow
Mon Sep 28 18:08:14 BST 1998  Adam D. Moss <adam@gimp.org>

	* plug-ins/gif.c: Fixed an uninitialized variable bug
	which was making TigerT's gifs blow up.  Sigh!
1998-09-28 17:14:29 +00:00
BST 1998 Adam D. Moss 2d5e991cb1 Fixed a bug in color_only_pixels(), fixed a possible bug in
Sun Sep 27 13:53:03 BST 1998  Adam D. Moss <adam@gimp.org>

	* app/paint_funcs.c: Fixed a bug in color_only_pixels(),
	fixed a possible bug in border_region().
1998-09-27 12:59:44 +00:00
BST 1998 Adam D. Moss d1d3697c9d Moved the idlerender stuff into gdisplay.c. Implemented idlerender when
Sat Sep 26 20:46:18 BST 1998  Adam D. Moss <adam@gimp.org>

	* app/channel.c app/channel_ops.c app/drawable.c
	app/floating_sel.c app/gdisplay.c app/gdisplay.h
	app/gimpimage.c app/layers_dialog.c app/undo.c:

	Moved the idlerender stuff into gdisplay.c.  Implemented
	idlerender when doing floating_sel->layer, and undoing/redoing
	layer deletion.

	idlerender would be useful in many other places for improving
	interactivity, if it weren't for the following problems:

		* By definition, idlerender doesn't wait for a
		gdisplays_update() call	before starting work - it just
		runs in idle time, which due to CPU contention with
		plugins may not	be genuinely available idle time when
		things are 'noninteractive'.

		* Most GIMP functions don't know whether they're
		being run interactively or not.  idlerender only
		makes sense for interactive work.  This is why
		it is currently only applied to those functions which
		would normally only be activated manually.

		* Mixing idlerender and drawable_update() /
		gdisplays_update_area() calls can lead to a region
		being rerendered twice.

	Hence, some slogwork is needed before idlerender can be
	applied in the more general case.
1998-09-26 20:07:46 +00:00
EDT 1998 Adrian Likins d1d516c2a8 *gimptool.1: minor update to add info about -strip build options.
Sat Sep 26 00:54:14 EDT 1998   Adrian Likins <adrian@gimp.org>

        *gimptool.1: minor update to add info about -strip
	        build options.

-adrian
1998-09-26 06:09:30 +00:00
BST 1998 Adam D. Moss 9989aa304c Tied up some loose ends.
Fri Sep 25 18:05:39 BST 1998  Adam D. Moss <adam@gimp.org>

	* app/layers_dialog.c: Tied up some loose ends.
1998-09-25 18:12:48 +00:00
BST 1998 Adam D. Moss 0bcb1a1dda #include <string.h> for memset
Thu Sep 24 12:39:27 BST 1998  Adam D. Moss <adam@gimp.org>

	* app/brush_edit.c: #include <string.h> for memset

	* app/layers_dialog.c:

	Display re-rendering is now handled in an interruptible
	asynchronous idle-threaded, uh, paradigm shift.

	The upshot of this is that fiddling about with layers
	in the layers dialog is now a shipload faster for some
	common operations.

	Still needs to be ratified w.r.t. multiple gimages, but
	it's there.
1998-09-24 12:05:49 +00:00
jaycox 0fb97ecb8e app/channel.[ch] app/channel_cmds.c app/drawable.h app/channels_dialog.c
* app/channel.[ch]
	* app/channel_cmds.c
	* app/drawable.h
	* app/channels_dialog.c
	* app/gimage_cmds.c
	* app/gimpdrawable.[ch]
	* app/gimpimage.c
	* app/layer.[ch]
	* app/layer_cmds.c
	* app/layer_select.c
	* app/layers_dialog.c: enforce unique names for layers and
	channels.  New functions {channel,gimp_drawable,layer}_{get,set}_name
1998-09-24 01:19:57 +00:00
Manish Singh 34d938f582 correct test for restoring old foundry in callback (from Trent Piepho)
* app/text_tool.c: correct test for restoring old foundry in
callback (from Trent Piepho)

* plug-ins/gauss_iir/gauss_iir.c
* plug-ins/gauss_rle/gauss_rle.c: better test for bad values,
put fix in gauss_rle too

-Yosh
1998-09-21 09:08:54 +00:00
Manish Singh ab0f6afcfa Upgraded to libtool 1.2b
* Upgraded to libtool 1.2b

* Reversioned libgimp to use gtk-style without a funky soname

* configure.in: craft GLIB_CFLAGS and GLIB_LIBS

* Makefile.am (pretty much all of em): changed to use new library
naming scheme. Only link libgimpui and libgtk et al to the plugins
that actually need them.

* app/gimage_cmds.c: corrected typo that resulted in corrupt PDB
record

* libgimp/gimp.h
* libgimp/gimpwire.h
* libgimp/gimpmenu.[ch]: clean up the callback code

* Removed unecessary inclusion of gtk headers for plugins that
don't use em

* plug-ins/zealouscrop/zealouscrop.c: use gint8 instead of gboolean,
save some mem

* plugged some warnings in animationplay, flame, fp, gee, gfig

* gimptool.in: changes for library reversioning, added --nogimpui
option for not linking in libgimpui

* configure.in: added finnish translation

-Yosh
1998-09-20 23:04:33 +00:00
Seth Burgess c7b9f71d4e Quick bug fix for gauss_iir 1998-09-20 18:00:13 +00:00
BST 1998 Andy Thomas dbb801e2d6 app/blend.c app/brush_select.c app/brush_select.h app/bucket_fill.c
Sat Sep 19 01:19:18 BST 1998 Andy Thomas <alt@picnic.demon.co.uk>

	* app/blend.c app/brush_select.c app/brush_select.h app/bucket_fill.c
	app/gimpbrushlist.c app/internal_procs.c app/plug_in.c libgimp/gimp.c
	libgimp/gimp.h libgimp/gimpmenu.c libgimp/gimptile.c
	plug-ins/gfig/gfig.c

	Infrastructure to allow gimp dialogs to be controlled from plugins.
	Brush dialog can now be invoked multiple times. Dialogs invoked
	via plugins do not control the active brush (dialog only used for
	selections).
	New gimp_interactive_selection_brush() function to popup dialog
	Example of usage in the gfig plugin.
	Other dialogs should be able to use this method of invocation.
1998-09-19 00:40:27 +00:00
BST 1998 Adam D. Moss 31088f3c96 The facility to specify the background colour of a transparent/animated
Tue Sep 15 21:27:10 BST 1998  Adam D. Moss <adam@gimp.org>

	* plug-ins/gif.c:
	The facility to specify the background colour of
	a transparent/animated GIF for non-transparent
	viewers now works very much more consistantly.
	The only situations in which it will fail to work
	as expected now are those where file size can be reduced
	(abeit not by much, as the plugin is sometimes more pessimistic
	than it need be) by re-using an existing unused colour
	index rather than using another bit per pixel in the
	encoded file.  That will never be an issue with an image
	which was freshly converted from RGB to INDEXED with the
	Quantize option, as that option removes any unused colours
	from the image.

	Let me know if you find the consistancy/size tradeoff more
	annoying than helpful and I can adjust it.  IMHO it is too
	arcane a feature to present to any user as a runtime option.

	* app/ink.c: #include <string.h> for a memset
1998-09-15 20:34:30 +00:00
jaycox f0b060c2d3 Modified Files: ChangeLog app/gimpbrushgenerated.c
Modified Files:
 	ChangeLog app/gimpbrushgenerated.c app/gimpbrushgenerated.h
 	app/paint_funcs.c app/paint_funcs.h

  Constification
1998-09-15 01:53:40 +00:00
EDT 1998 Adrian Likins 70e52e34f8 fixed a typo that wouldnt let you create images smaller than 1 unit
Fri Sep 11 11:15:17 EDT 1998 Adrian Likins <adrian@gimp.org>

        * app/file_new_dialog.c: fixed a typo that wouldnt let
	        you create images smaller than 1 unit

-adrian
1998-09-11 16:34:23 +00:00
Tristan Tarrant 546b225e9e Italian texts (some of them) are here.
Tristan
1998-09-11 15:15:16 +00:00
Manish Singh c54c73e2ca added a preliminary Japanese translation from Yasuhiro SHIRASAKI
<joke@awa.tohoku.ac.jp>

-Yosh
1998-09-10 20:36:21 +00:00
Manish Singh e5ef178966 plug-ins/script-fu/script-fu.c added an eval PDB interface for running
* plug-ins/script-fu/script-fu.c
* plug-ins/script-fu/script-fu-console.[ch]: added an eval
PDB interface for running arbitrary scheme code

* app/batch.c: redid batch mode to use script-fu-eval

* app/main.c: fixed command line parsing for batch mode and
image loading

-Yosh
1998-09-10 19:03:20 +00:00
Manish Singh bdc82fb50a added -std1 check for DU4
* configure.in: added -std1 check for DU4

* gimptool.in: added strip options

* plug-ins/hrz/hrz.c: #ifndef'd NeXT out munmap call

* plug-ins/maze/maze.c: commented out some debug code differently
so NeXT compiler won't barf.

* configure.in
* po/sv.po: added a preliminary Swedish translation from
Tomas Ogren <stric@ing.umu.se>

-Yosh
1998-09-09 10:07:21 +00:00
jaycox 21c343913a more carefull when the active brush changes white_space() was ungetch'ing
* app/brush_generated.c: more carefull when the active brush
	  changes
	* app/docindexif.c: white_space() was ungetch'ing the eof
	  marker which can clear the eof flag on some systems.
	* app/docindex.c: check for ferror()s
	* app/brush_select[ch]: sensitize the edit button iff the
	  active brush is a generated brush.
1998-09-09 01:35:35 +00:00
Manish Singh 6825ca8bd9 s/ATEXIT/g_atexit/ to sync with gtk changes
-Yosh
1998-09-08 05:31:51 +00:00
Manish Singh eb61677a98 see if CC needs -posix (for NeXTStep)
* configure.in: see if CC needs -posix (for NeXTStep)

* app/channels_dialog.c: added clarifying {}'s around if block

* app/gimpbrushlist.c: #if 0'd out some dead code

* plug-ins/script-fu/script-fu-server.c: removed unused variable declaration

-Yosh
1998-09-06 20:05:06 +00:00
Adam D. Moss dbb8cd213f Added the ability to load Guides info from PSD files.
* plug-ins/psd/psd.c: Added the ability to load
	Guides info from PSD files.

	* app/gimage_cmds.c: Don't allow careless callers
	to add Guides outside of the image boundaries.
1998-09-04 17:55:16 +00:00
EDT 1998 Adrian Likins fa56c5b76b minor updates to the gimptool man page to cover more of the kitchen sink.
Tue Sep  1 18:32:39 EDT 1998 Adrian Likins <adrian@gimp.org>

        * gimptool.1: minor updates to the gimptool
        man page to cover more of the kitchen sink.


-adrian
1998-09-01 23:46:57 +00:00
Adam D. Moss 09e6e30a77 New plugin to slice an image up along its Guides.
* plug-ins/guillotine/Makefile.am configure.in
	plug-ins/guillotine/guillotine.c plug-ins/Makefile.am:
	New plugin to slice an image up along its Guides.

	* app/gimage_cmds.c: Fixes.
1998-09-01 22:12:45 +00:00
Adam D. Moss 976f803c44 Moved the guide PDB functions into a more sensible place, made them
* app/gimage_cmds.c app/gimage_cmds.h app/gimpimage.c
	app/gimpimage.h libgimp/gimp.h libgimp/gimpenums.h
	libgimp/gimpimage.c: Moved the guide PDB functions into
	a more sensible place, made them accessible to plugins
	through libgimp.
1998-09-01 18:26:41 +00:00
CDT 1998 Larry Ewing 5f1dbcb079 added this function to translate layer modes to correct menu positions,
Tue Sep  1 01:15:06 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/layers_dialog.c (paint_mode_menu_get_position): added this
	function to translate layer modes to correct menu positions, this
	is ugly but important until someone rewrites the layers_dialog.
1998-09-01 06:19:47 +00:00
CDT 1998 Larry Ewing 1bf9f943eb add back a call to gdisplays_flush that seems to have been lost in the
Mon Aug 31 23:32:40 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/gimpimage.c (gimp_image_remove_layer_mask): add back a call to
	gdisplays_flush that seems to have been lost in the
	objectification.

Nether if this was intentional then we need to work out some way of notifing the
layers dialog directly that the mask is now gone.

--Larry
1998-09-01 04:32:47 +00:00
Raph Levien fe6c43af7c Fixed up loose ends with the GdkRgb integration. Color selection areas are
dithered now, and dither patterns align correctly when scrolling.
1998-08-31 22:22:23 +00:00
CDT 1998 Larry Ewing 401df1a726 included in merge down changes
Mon Aug 31 16:51:35 CDT 1998  Larry Ewing  <lewing@gimp.org>

	* app/internal_procs.c: included in merge down changes

I'm not sure what happened to the last commit, it aborted, but it seems some
bits went through, so see the Changelog for what I think is an accurate record
of the changes.
1998-08-31 21:52:37 +00:00
CDT 1998 Larry Ewing 3c7bb378d7 app/gimpimage.[ch] app/gimage_cmds.[ch] Added merge down procedure, I'm
Mon Aug 31 16:33:11 CDT 1998  Larry Ewing  <lewing@gimp.org>

 	* app/gimpimage.[ch]
	* app/gimage_cmds.[ch]
	* app/layers_dialog.c: Added merge down procedure, I'm not really
	sure if this behaves the way people expect it to, so please send
	me any comments on what it actually should do.  It also needs a
	little testing, especially the pdb call.

	* app/gimpimage.c: cleaned up Seth's merge commit a little. Also
	changed the mode of a merged layer to normal, as this seems to be
	the proper thing.  Discussion is welcome here as well.
1998-08-31 21:41:43 +00:00
Adam D. Moss eeca444ba3 I'm pleased to say that lewing doesn't want to kill me any more. Hooray!
* app/gimpimage.c: I'm pleased to say that lewing doesn't
	want to kill me any more.  Hooray!
1998-08-31 18:20:56 +00:00
Adam D. Moss b164ee7947 Guide creation/deletion/query is now available as PDB procedures. Not yet
* app/gimage.h app/gimpimage.c app/gimpimage.h
	app/internal_procs.c app/layer.c app/xcf.c:
	Guide creation/deletion/query is now available as
	PDB procedures.  Not yet directly exported to libgimp,
	and needs to be moved into gimage_cmds.c, but it
	works.
1998-08-31 17:31:19 +00:00
Seth Burgess 1f325983b7 Folding in Zach Beane's layer opacity on merge changes. 1998-08-31 16:40:58 +00:00
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