Commit Graph

531 Commits

Author SHA1 Message Date
BST 1998 Andy Thomas 825fdecff0 app/brush_select.[ch] Fixed problem with resizing the brush popup dialogs.
Tue Oct 13 22:01:41 BST 1998  Andy Thomas <alt@picnic.demon.co.uk>

	app/brush_select.[ch] Fixed problem with resizing the brush popup
	dialogs.
1998-10-13 21:10:22 +00:00
BST 1998 Andy Thomas 0ce8428af2 app/gradients.c. Added gradient preview and a couple of buttons.
Tue Oct 13 00:27:21 BST 1998 Andy Thomas <alt@picnic.demon.co.uk>

	app/gradients.c. Added gradient preview and a couple of buttons.
1998-10-12 23:31:08 +00:00
Manish Singh 0c635a62c1 libgimp/gimp.h plug-ins/jpeg.c applied gimp-austin-981010-0, fixes
* libgimp/gimp.h
* plug-ins/jpeg.c
* plug-ins/tiff.c: applied gimp-austin-981010-0, fixes compilation
warnings for jpeg and tiff plugin

* plug-ins/tiff/tiff.c: applied gimp-austin-981011-0, adds comment
parasite support to tiff plugin

* app/color_select.c: applied gimp-austin-981011-1, fixes color
selector redraw bug

* app/layer.c: applied gimp-austin-981011-2, fixes marching ants
weirdness (doesn't move when selection moved)

-Yosh
1998-10-11 22:50:03 +00:00
Manish Singh cd15045088 applied gimp-entity-980929-1, adds write error handling
* app/temp_buf.c: applied gimp-entity-980929-1, adds write error handling

* app/gimprc.c
* app/install.c
* app/tips_dialog.c: allow use of GIMP_DATADIR to override compiled in default

* HACKING
* autogen.sh: we need libtool 1.2b now

-Yosh
1998-10-10 07:49:59 +00:00
Adam D. Moss 10877b4e88 Added support for persistant GIF Comments through the GIMP 1.1 Parasite
* plug-ins/gif/gif.c: Added support for persistant GIF
        Comments through the GIMP 1.1 Parasite mechanism where available.
        Did some user-interface tweaks.  Fixed a bug when trying to save
        a GIF smaller than five pixels high as interlaced.

        * app/convert.c: Minor text amendment

        * docs/parasites.txt: Started a central list of parasite types
        and their creators.
1998-10-09 18:01:35 +00:00
jaycox e2a601d444 Modified Files: ChangeLog app/Makefile.am app/channel.c
Modified Files:
 	ChangeLog app/Makefile.am app/channel.c app/drawable_cmds.c
 	app/drawable_cmds.h app/gimage_cmds.c app/gimage_cmds.h
 	app/gimpdrawable.c app/gimpdrawable.h app/gimpdrawableP.h
 	app/gimpimage.c app/gimpimage.h app/gimpimageP.h
 	app/internal_procs.c app/layer.c app/plug_in.c
 	app/procedural_db.c app/procedural_db.h libgimp/Makefile.am
 	libgimp/gimp.c libgimp/gimp.h libgimp/gimpdrawable.c
 	libgimp/gimpenums.h libgimp/gimpimage.c libgimp/gimpprotocol.c
 	libgimp/gimpprotocol.h plug-ins/dbbrowser/dbbrowser_utils.c
 	plug-ins/script-fu/script-fu.c plug-ins/tiff/tiff.c
 Added Files:
 	app/parasite.c app/parasite.h app/parasiteF.h app/parasiteP.h
 	app/parasite_cmds.c app/parasite_cmds.h libgimp/gimpparasite.c
 	libgimp/gimpparasite.h

   	Allow plug-ins (and scripts) to attach arbitrary data
	(parasites) to images, layers and channels that can be read
	back at a later time.
1998-10-08 08:15:21 +00:00
Manish Singh b23f1a1d2f applied gimp-austin-981007-0, use gtkfontsel for the text tool
* app/text_tool.[ch]: applied gimp-austin-981007-0, use gtkfontsel for the
text tool

* app/about_dialog.c: some nice people ;)

-Yosh
1998-10-07 08:59:11 +00:00
EDT 1998 Matthew Wilson 288415a0c8 fixed assignment in g_return_if_fail pointed out by Ben Jackson
Mon Oct  5 16:18:08 EDT 1998  Matthew Wilson  <msw@gimp.org>

	 * app/channels_dialog.c: fixed assignment in g_return_if_fail
	 pointed out by Ben Jackson
1998-10-05 20:22:52 +00:00
Manish Singh 65ab53a840 applied gimp-bjj-980922-0, makes get_token's EOF report "sticky"
* app/general.c: applied gimp-bjj-980922-0, makes get_token's
EOF report "sticky"

* app/devices.c: applied gimp-bjj-980922-1, sanity check our
saved device info for NULL pointers

* app/file_new_dialog.c
* app/gimage_cmds.[ch]
* app/gimpimage.[ch]
* app/info_window.c
* app/internal_procs.c
* libgimp/gimp.h
* libgimp/gimpimage.c
* plug-ins/tiff/tiff.c: applied gimp-austin-980916-0, adds resolution
info to GimpImage, with accessors, and support in the tiff plug-in

-Yosh
1998-10-05 10:05:29 +00:00
BST 1998 Adam D. Moss 06239a0c04 Had a look at making the window resizable, got scared. Made the palette
Sun Oct  4 22:18:11 BST 1998 Adam D. Moss <adam@gimp.org>

	* app/palette.c: Had a look at making the window resizable,
	got scared.  Made the palette dialog a bit smaller.

	* app/indexed_palette.c: The window is now resizable without
	falling foul to previously existing bugs.  It won't win you
	anything though.
1998-10-04 21:23:57 +00:00
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
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
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
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
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
CDT 1998 Larry Ewing 228d0484f2 Actually add the gdisplays_flush call that an this changelog entry refers to
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.
1998-09-02 04:47:37 +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
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
Michael Johnson 2f6378107f change the disabling defines for pthreads to make it easier for me to debug
make obvious fix to append-to-end-of-list code
1998-08-28 12:03:39 +00:00
Michael Johnson 595549ed26 fixed name agreement typo 1998-08-28 11:24:23 +00:00
Raph Levien eaba60b1a9 Turned on dithering in the gradient editor. 1998-08-26 23:32:03 +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