Commit Graph

988 Commits

Author SHA1 Message Date
Manish Singh db54371de7 version number bump to 1.1.6
* configure.in: version number bump to 1.1.6

* added unsharp plug-in

* app/indicator_area.c
* app/main.c
* app/menus.c
* app/paint_core.c: minor cleanups

* plug-ins/wmf/wmf.c: s/memmove/g_memmove/

* tools/pdbgen/lib.pl: formatting changes, still unfinished

-Yosh
1999-06-05 02:11:16 +00:00
Michael Natterer e5408cac3e app/disp_callbacks.[ch] app/gimpset.c patch from
1999-06-03  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/disp_callbacks.[ch]
	* app/gimpset.c
	* app/interface.c: patch from <Simon.Budig@unix-ag.org>. Cleans up
	the active image implementation. Now the button and key events of
	the whole gdisplay shell are connected to a separate active image
	callback.

	Don't let the arrow button of the gdisplay grab the focus and
	block it's events after any button_press_event, so the canvas
	always owns the keyboard focus and the button never grabs the
	pointer.

	* app/gdisplay.c: correct sensitive setting for the Layers/Stack
	submenu.

	* app/interface.c: make the query boxes insensitive after pressing
	"OK" (may be useful if they're once used for operations which take
	longer than just shrink/grow/...).

	* app/layers_dialog.c: switch to the active image when the "Auto"
	button is activated.

	* app/menus.c: bound the <Image>/Layers/Stack menu to some
	<modifier>+PageUp/Down combinations.

	* app/preferences_dialog.c: pop up with the "Interface" branch
	expanded.
1999-06-03 18:28:39 +00:00
Sven Neumann e5bce5789e Improved the line draw preview a bit. Still needs some work.
Prototyped all functions.


--Sven
1999-06-03 15:02:48 +00:00
Sven Neumann b6c21c4ff9 Channels can now be intersected with the selection.
--Sven
1999-06-03 14:55:43 +00:00
Seth Burgess 800cbad1b9 Added pattern preview and its popup. 1999-06-03 06:54:11 +00:00
Seth Burgess 12b343f652 Added popups to brush indicator. 1999-06-03 04:16:37 +00:00
Manish Singh ff65501a61 remove unused var
* app/docindex.c: remove unused var

* app/gimprc_cmds.c
* tools/pdbgen/pdb/gimprc.pdb: propagate the May 21 change to the pdb file

* tools/pdbgen/pdb/{channel,gimage,layer}.pdb: don't be sloppy in the face of
fickle perls

-Yosh
1999-06-03 00:00:48 +00:00
Tor Lillqvist 6a3010b17f As we open the ppm file in binary mode, we shouldn't assume that the
* app/about_dialog.c (about_dialog_load_logo): As we open the ppm
	file in binary mode, we shouldn't assume that the header lines
	read with fgets end with just a '\n'.
1999-06-02 21:56:36 +00:00
Seth Burgess 46c38c74dc Added a brush indicator to the toolbar. Its a start :) 1999-06-02 05:55:02 +00:00
Michael Natterer e785fa4cda app/disp_callbacks.c app/gimpset.[ch] app/gimpsetP.h applied Simon's
1999-06-02  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/disp_callbacks.c
	* app/gimpset.[ch]
	* app/gimpsetP.h
	* app/layers_dialog.c: applied Simon's <Simon.Budig@unix-ag.org>
	active image patch.
	GimpSet has an "active_changed" signal now. The image_context
	emits it whenever there is a button or key event in the gdisplay
	and the L&C dlg. connects to it for the new auto-update feature.
1999-06-01 23:09:48 +00:00
Michael Natterer 01a045a4c8 app/commands.[ch] app/gdisplay.c for the pleasure of all: a deeper nested
1999-06-01  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/commands.[ch]
	* app/gdisplay.c
	* app/menus.c: for the pleasure of all: a deeper nested	submenu ;)

	New <Image>/Layers/Stack submenu. Used the same top/bottom
	shortcuts as in the layers dialog. Bind them to PageUp/Down and
	you will never touch your mouse again to do this.
	I'm thinking of dropping the current <ctrl>+[FBTU] in favour of
	some <modifier>+PageUp/Down combinations. Test it, Tig !)
1999-06-01 20:19:49 +00:00
Michael Natterer 177aeb9f27 app/app_procs.c renamed init_parse_buffers() to parse_buffers_init().
1999-06-01  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/app_procs.c
	* app/gimprc.c: renamed init_parse_buffers() to
	parse_buffers_init().

	* app/gimprc.[ch] (parse_gimprc_file): return a boolean indicating
	success to find out if sessionrc exists.

	* app/session.c: open L&C and Brushes on first gimp invocation to
	help first-time users.
1999-06-01 16:43:46 +00:00
Michael Natterer 763ae68641 app/info_dialog.c app/rotate_tool.c fixed some very strange grid redraw
1999-05-31  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/info_dialog.c
	* app/rotate_tool.c
	* app/scale_tool.c: fixed some very strange grid redraw bugs which
	were caused by unblocked sizeentry signals. It's generally a bad
	idea to connect to a sizeentry's signal before initialization.
	Removed the workaround for the gdk assert failures about
	"gc != NULL" because the signals were the real reason.

	* app/transform_core.c: originally wanted to fix the bug here but
	ended up with just some function headers made ansii compliant.
1999-05-31 21:46:43 +00:00
Michael Natterer 4a13995205 app/commands.c app/crop.c app/file_new_dialog.c app/info_dialog.[ch]
1999-05-31  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/commands.c
	* app/crop.c
	* app/file_new_dialog.c
	* app/info_dialog.[ch]
	* app/interface.c
	* app/layers_dialog.c
	* app/resize.[ch]
	* app/rotate_tool.c
	* app/scale_tool.c
	* app/shear_tool.c: finished the float->double migration for
	resolution values. Standardized the order of function calls which
	initialize sizeentries. Fixed some off-by-one errors by using
	correct double->int casting. Use the g* counterparts of int and
	double in some places. Various code cleanups.

	* app/preferences_dialog.c: same changes as above plus a cleaner
	implementation of the mem_size_unit stuff. The whole dialog should
	behave like before.
1999-05-31 14:11:10 +00:00
Sven Neumann 49c604f33c Nobody knows if this is a GDK bug or a feature, but all lines with
line_width > 0 seem to have a drawing bug, while line_width == 0 seems to
do The Right Thing(TM).
1999-05-30 03:08:24 +00:00
Manish Singh f2622e5420 configure.in removed tips files, AC_SUBST GIMP_PLUGINS and GIMP_MODULES so
* configure.in
* Makefile.am: removed tips files, AC_SUBST GIMP_PLUGINS and
GIMP_MODULES so you can easily skip those parts of the build

* acinclude.m4
* config.sub
* config.guess
* ltconfig
* ltmain.sh: libtool 1.3.2

* app/fileops.c: shuffle #includes to avoid warning about MIN and
MAX

[ The following is a big i18n patch from David Monniaux
  <david.monniaux@ens.fr> ]

* tips/gimp_conseils.fr.txt
* tips/gimp_tips.txt
* tips/Makefile.am
* configure.in: moved tips to separate dir

* po-plugins: new dir for plug-in translation files

* configure.in: add po-plugins dir and POTFILES processing

* app/boundary.c
* app/brightness_contrast.c
* app/by_color_select.c
* app/color_balance.c
* app/convert.c
* app/curves.c
* app/free_select.c
* app/gdisplay.c
* app/gimpimage.c
* app/gimpunit.c
* app/gradient.c
* app/gradient_select.c
* app/install.c
* app/session.c: various i18n tweaks

* app/tips_dialog.c: localize tips filename

* libgimp/gimpunit.c
* libgimp/gimpunitmenu.c: #include "config.h"

* plug-ins/CEL
* plug-ins/CML_explorer
* plug-ins/Lighting
* plug-ins/apply_lens
* plug-ins/autostretch_hsv
* plug-ins/blur
* plug-ins/bmp
* plug-ins/borderaverage
* plug-ins/bumpmap
* plug-ins/bz2
* plug-ins/checkerboard
* plug-ins/colorify
* plug-ins/compose
* plug-ins/convmatrix
* plug-ins/cubism
* plug-ins/depthmerge
* plug-ins/destripe
* plug-ins/gif
* plug-ins/gifload
* plug-ins/jpeg
* plug-ins/mail
* plug-ins/oilify
* plug-ins/png
* plug-ins/print
* plug-ins/ps
* plug-ins/xbm
* plug-ins/xpm
* plug-ins/xwd: plug-in i18n stuff

-Yosh
1999-05-29 16:35:47 +00:00
Tor Lillqvist 4e886ad428 Check for mmap.
* configure.in: Check for mmap.

	* app/makefile.msc: Depend on gimpi.lib.

	* app/app_procs.c (app_init): Fix gccism: Allocate filenames (an
 	array with non-constant size) dynamically.

	* app/{datafiles,fileops,general,install,module_db,temp_buf}.c:
 	Include glib.h before standard headers, because of certain obscure
 	details related to compiling with gcc on Win32.

	(If you really want to know: glib.h defines he names of POSIXish
	(but non-ANSI) functions as prefixed with underscore, because
 	that's how they are named in the msvcrt runtime C library we want
 	to use. However, defining stat as _stat causes some problems if
 	done after including the mingw32 <sys/stat.h>. So, it's easiest to
 	include <glib.h> early.)

	* app/main.c: Use _stdcall and __argc, __argv with MSC, but
 	__attribute__((stdcall)) and _argc, _argv with gcc. Don't print
 	the "Passed serialization test" message on Win32. (It would open
 	up an otherwise unnecessary console window.)

	* app/paint_funcs.c (gaussian_blur_region): Don't use variable sum
 	until initialized.

	* app/{bezier_select,paths_dialog}.c: Include config.h and define
 	rint() if necessary.

	* app/plug_in.c: Use _spawnv, not spawnv, on Win32 and OS/2.
1999-05-28 17:47:17 +00:00
jaycox 3893b29588 applied fix for the channel_bounds bug from Didier Gautheron
* app/channel.c: applied fix for the channel_bounds bug from
	Didier Gautheron <dgautheron@magic.fr>. (slightly modified)
1999-05-28 05:08:10 +00:00
BST 1999 Andy Thomas 4fb6b4981d app/transform_core.c
Thu May 27 22:00:58 BST 1999 Andy Thomas <alt@gimp.org>

	* app/transform_core.c

	Bezier curve display during transformation works
	with corrective type of transform.
1999-05-27 21:09:02 +00:00
jaycox 4faeeaeb9f new mouse cursor for intersection operations.
* cursors/{mouse1_u,mouse1_umsk}: new mouse cursor for intersection
	operations.

	* app/cursorutil.[ch], app/rect_select.c: use the new cursor.

	* app/gimpimage.c:  Applied layer removal bug fix from
	David Le Corfec, <lecorfec@etudiant.univ-mlv.fr>

	* plug-ins/gdyntext/{font_selection.c, gdyntext.c, gdyntext_ui.c}:
	replaced snprintf with g_snprintf.

	* plug-ins/jpeg/jpeg.c: updated to work with the double precision
	resolutions.
1999-05-27 09:10:10 +00:00
BST 1999 Andy Thomas 8fb9f79459 app/bezier_select.c app/bezier_selectP.h app/paths_dialog.c
Wed May 26 21:14:15 BST 1999 Andy Thomas <alt@gimp.org>

	* app/bezier_select.c
	* app/bezier_selectP.h
	* app/paths_dialog.c
	* app/rotate_tool.c
	* app/scale_tool.c
	* app/transform_core.c
	* app/transform_core.h
	* app/transform_tool.c
	* app/transform_tool.h

	Add option to show currently selected path to be displayed
	during the transform tool operations. (Note if > 1 path locked
	only the last selected path will be shown).

	Reduced flashing of control points during update drawing of paths.

	Fixed problem in transform tool rotate/scale when changing
	layer (used to get many gdk assert failures about "gc != NULL")
1999-05-26 20:36:33 +00:00
BST 1999 Adam D. Moss 983fda1370 Removed bogosity of previous fix and optimized a little. Cleaner, faster
Sun May 23 13:37:53 BST 1999  Adam D. Moss  <adam@gimp.org>

	* app/paint_funcs.c: Removed bogosity of previous fix and
	optimized a little.  Cleaner, faster and hopefully more correct
	now.
1999-05-23 12:51:12 +00:00
BST 1999 Adam D. Moss d15f16deb4 Fixed a preserve-transparency bug w/blend tool and possibly elsewhere.
Sun May 23 02:35:57 BST 1999  Adam D. Moss  <adam@gimp.org>

	* app/paint_funcs.c: Fixed a preserve-transparency
	bug w/blend tool and possibly elsewhere.  Allowed
	the opacity-quickskip rule to be applied more generously.

	Be a bit lazier with row-hint re-evalution (tnx j).
1999-05-23 01:46:08 +00:00
Michael Natterer dcfb450b25 app/[all files with resolution info] libgimp/gimp.h libgimp/gimpimage.c
1999-05-22  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/[all files with resolution info]
	* libgimp/gimp.h
	* libgimp/gimpimage.c
	* libgimp/gimpsizeentry.[ch]
	* libgimp/gimpunit.[ch]
	* plug-ins/newsprint/newsprint.c
	* plug-ins/pgn/png.c
	* plug-ins/tiff/tiff.c: double instead of float for all resolution
	and unit-factor variables.

	* app/commands.c
	* app/crop.c
	* app/interface.c
	* app/layers_dialog.c
	* app/move_tool.c
	* app/resize.c
	* app/rotate_tool.c
	* app/scale_tool.c: pass the image's unit *and* gdisp->dot_for_dot
	to all functions which create sizeentries. Never create a
	sizeentry with UNIT_PIXEL but with the image's unit and set it's
	unit to UNIT_PIXEL after creation if dot_for_dot is on.
	This way the image's unit can always be picked from the menu
	without selecting "More...".

	* app/interface.c: made the query_*_box() functions use the
	ActionArea.

	* plug-ins/gimpunitmenu.c: GTK_WIN_POS_MOUSE for the unit
	selection dialog.
1999-05-22 17:56:35 +00:00
Seth Burgess c79272ac6a Added improved querying for gimprc. Can now return just about anything as
a string, with only a few exceptions.

	ChangeLog app/gimprc.c app/gimprc.h app/gimprc_cmds.c
1999-05-22 03:40:27 +00:00
Austin Donnelly 8218179aa6 Thu May 20 16:38:05 BST 1999 Austin Donnelly <austin@gimp.org
* app/curves.c: colour in the previously greyscale bars to the
	    left and below the curve itself.  Might want to take alpha and
	    value into account, but currently we don't.  Incidentally
	    fixes a few redraw problems I found along the way.  Done in
	    about an hour and a half, to show Wavey Dave what's possible :)
1999-05-20 15:43:56 +00:00
Michael Natterer e494bbd557 store resolution values as doubles, not floats.
1999-05-18  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/app_procs.c (and many of the files below): store resolution
	values as doubles, not floats.

	* app/brush_select.c
	* app/pattern_select.c: hide the "refresh" button in client
	dialogs. Don't know if this is desired but it fixes a SEGV.

	* app/file_new_dialog.c: New ui using code/ideas from Austin,
	Marco and Nick. The "size" frame is still a bit bloated but I
	didn't want to reduce it's functionality right now. It's closer to
	the result of the last discussion but not perfect yet...
	Added a dialog to confirm image sizes larger than the new
	max_new_image_size value.
	The new "reset" button uses the values from gimprc.
	Removed some #include's, added the copyright header.

	* app/gimprc.[ch]: new rc variable max_new_image_size.

	* app/preferences_dialog.c: added the "max image size"
	option. Generalized the mem size unit code.

	* app/resize.c: an additional box lets the offset widget always
	shrink correctly.

	* app/text_tool.c: fixed a minor memory leak.

	* libgimp/Makefile.am: add all widgets to libgimpui.*

	* libgimp/gimpfileselection.c: cosmetic changes.

	* libgimp/gimplimits.h: a maximum image size which should satisfy
	everybody ;)

	* libgimp/gimpsizeentry.c: allow the creation of sizeentries
	without fields. This (finally) enables arbitrary layout of the
	spinbuttons.

	* plug-ins/script-fu/script-fu-scripts.c: use the fileselection
	widget for script parameter SF_FILENAME.
1999-05-18 17:33:39 +00:00
BST 1999 Austin Donnelly 1c7dcda6aa run cleanup code on shutdown in many more cases. The should fix Marc's
Tue May 18 01:14:55 BST 1999  Austin Donnelly  <austin@gimp.org>

	* app/app_procs.c: run cleanup code on shutdown in many more
	    cases.  The should fix Marc's problem of not getting module
	    unload functions called at quit time.

	* app/gimprc.c: internal "module-load-inhibit" variable, listing
	    modules to ignore at start of day.
	* app/module_db.c: new rc file: modulerc.  Keep track of which
	    modules we've got inhibited.  Add button to module browser to
	    edit the settings.  Save new version on gimp exit.
1999-05-18 00:18:45 +00:00
jaycox c7011f18b3 fixed bogus computation of the maximum compressed size of a tile in
* app/xcf.c: fixed bogus computation of the maximum compressed
 	size of a tile in xcf_load_level and xcf_save_level.
1999-05-17 10:06:04 +00:00
BST 1999 Austin Donnelly 04efab712a We weren't initialising refs variable before using it. Hence some stuff
Sun May 16 18:23:12 BST 1999  Austin Donnelly  <austin@gimp.org>

	* app/module_db.c: We weren't initialising refs variable before using
	    it.  Hence some stuff was being prematurely unloaded.  D'oh!

	* app/menus.c: move Module DB browser to the Xtns menu, since it
	    seems to make more sense being there.

	* cursors/droppermsk: slight improvement over current one, but
	    really needs proper artist to look at it.
1999-05-16 17:22:58 +00:00
BST 1999 Adam D. Moss 5fc293e664 Fixed a possible bad composite when mode is REPLACE_MODE.
Sun May 16 17:16:59 BST 1999  Adam D. Moss  <adam@gimp.org>

	* app/paint_funcs.c: Fixed a possible bad composite when
	mode is REPLACE_MODE.
1999-05-16 16:25:20 +00:00
scott 9a7d2ce57b Removed an unnecessary #include from about_dialog.c.
Removed an unnecessary #include from about_dialog.c.

-sg
1999-05-16 01:32:24 +00:00
scott 62c1e2123e Fixed a potential linked list race condition (i.e. accessing freed memory)
* app/crop.c (crop_image): Fixed a potential linked list race
condition (i.e. accessing freed memory) when cropping deletes a
layer.  May fix a bug reported by Sven.

-sg
1999-05-15 21:07:01 +00:00
Sven Neumann 9c4e6f4aca Special case the clone tool.
--Sven
1999-05-15 12:13:43 +00:00
Sven Neumann aa9621e082 Quick fix...
--Sven
1999-05-15 01:17:59 +00:00
Sven Neumann 114718ab36 Much better now....
--Sven
1999-05-15 00:36:42 +00:00
Sven Neumann 5f464b9f5d Show what line you are drawing when using <Shift> on paint-tools.
Needs some work for the clone-tool, since it seems to behave different then
the rest...


--Sven
1999-05-15 00:02:47 +00:00
BST 1999 Andy Thomas a4730edaf3 app/gdisplay.c app/paths_dialog.c app/paths_dialog.h
Sat May 15 00:06:06 BST 1999 Andy Thomas <alt@gimp.org>

	* app/gdisplay.c
	* app/paths_dialog.c
	* app/paths_dialog.h

	Fixed problem where paths preview not resized correctly when
	image was resized.
1999-05-14 23:16:58 +00:00
jaycox 5dd060bd56 use the new color picking feature of paint_core.
* app/pencil.c: use the new color picking feature of paint_core.

* ChangeLog: added the entry that goes with my previous commit *DOH*
1999-05-14 00:37:58 +00:00
BST 1999 Andy Thomas df68aba3a7 Changed:- app/bezier_select.c app/bezier_selectP.h app/cursorutil.c
Thu May 13 22:41:26 BST 1999 Andy Thomas <alt@gimp.org>

	Changed:-
	* app/bezier_select.c
	* app/bezier_selectP.h
	* app/cursorutil.c
	* app/cursorutil.h
	* app/curves.c
	* app/paths_dialog.c

	New:-
	* cursor/mouse1_ap
	* cursor/mouse1_apmsk
	* cursor/mouse1_cp
	* cursor/mouse1_cpmsk
	* cursor/mouse1_mm
	* cursor/mouse1_mmmsk
	* cursor/mouse1_sel
	* cursor/mouse1_selm
	* cursor/mouse1_selmmsk
	* cursor/mouse1_selmsk
	* cursor/mouse1_selp
	* cursor/mouse1_selpmsk

	Paths changes:-
	Implemented multi-part paths.
	(Import the path (RMB in paths dialog brings menu up)
	http://www.picnic.demon.co.uk/tmp/gimp.path
	into a 600x256 (WxH) for an example).

	Can copy/paste paths.
	Fully custom cursors when using the Bezier tool. A number of bug
	fixes re boundary problems also fixed.

	Note that heavy use is made of the modifier keys in the bezier tool.
	MB1 inside a closed curve converts it to a selection. The modifiers
	change how the selection interacts with any current selection (in
	much the same way as the selection tool does).

	MB1 + ALT on control point will move a curve, if shift modifier active
	then single curve is moved.


	Curves:-

	In curves dialog you can now press MB1 + shift will add point to
	curves dialog corresponding to the current position in
	the currently selected channel. MB1 + CNTRL will add the point
	to all channels. (Thanks to Carey Bunks for the initial idea).
1999-05-13 22:53:40 +00:00
jaycox 628e07eb47 set the fg or bg color if ctrl or alt is held. use the new dropper cursor.
* app/paint_core.[ch]: set the fg or bg color if ctrl or alt is
 	held.  use the new dropper cursor.

	* app/cursorutil.[ch], app/gdisplay.[ch], app/rect_select.c: Use
 	GimpCursorType enum values > GDK_CURSOR_LAST instead of seperate
 	functions to choose between cursor types.

	* app/color_picker.c: use the new dropper cursor.

	* app/paintbrush.c, app/airbrush.c, app/paintbrush.c: use the new
 	color picking feature of paint_core.

	* cursors/dropper, cursors/droppermsk: new cursor for the color
 	picker tool. (this cursor is REALLY ugly, someone should fix it)
1999-05-13 11:12:32 +00:00
scott 6b1b43d3b4 fixed variable clobber for thread & MP options added new
* configure.in: fixed variable clobber for thread & MP options
* app/Makefile.am: added new GIMP_MP_{LIBS,FLAGS} to compile &
link flags

The old configure would set the thread libs and then immediately
clobber them unless you enabled MP support.  This meant threads
but no MP would mean a no-compile if your pthread support is in a
separate library (not in libc).

-sg
1999-05-13 03:10:45 +00:00
Sven Neumann eb2b9f2bcf Fixed some cut'n'paste errors and updated slide.scm.
--Sven
1999-05-11 20:36:07 +00:00
Michael Natterer 83a34c3cb7 made the font selection dialog static again, so the selected font is
1999-05-09  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/text_tool.c: made the font selection dialog static again, so
	the selected font is remembered across text tool invocations.
1999-05-09 17:39:07 +00:00
Michael Natterer 5711df6a9d libgimp/Makefile.am new file. Currently contains constants for image size
1999-05-09  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* libgimp/Makefile.am
	* libgimp/gimplimits.h: new file. Currently contains constants for
	image size and resolution.

	* app/file_new_dialog.c
	* app/resize.c: use the new constants.

	* app/layers_dialog.c: use a sizeentry in the "New Layer" query
	box. Folded the "Layer Fill Type" callbacks into one function.

	* app/text_tool.c
	* app/text_tool_cmds.c
	* tools/pdbgen/pdb/text_tool.pdb: did the calculations for
	resolutions < 1.0 right this time.

	* app/gimage_cmds.c
	* tool/pdbgen/pdb/gimage.pdb: fixed a typo.
1999-05-09 16:38:05 +00:00
BST 1999 Adam D. Moss 928dd48af7 app/tile.c app/tile.h app/tile_manager.c app/tile_pvt.h
Sun May  9 16:23:47 BST 1999  Adam D. Moss  <adam@gimp.org>

	* app/tile.c
	* app/tile.h
	* app/tile_manager.c
	* app/tile_pvt.h
	* app/paint_funcs.c:

	Added Tile Row Hinting to the GIMP tile structure.  Tiles
	now have cheap per-row hints indicating whether each row is
	all-transparent, all-opaque, a mixture, or other properties.

	These hints are automatically invalidated when the tile is checked
	in as dirty, and are re-evaluated on demand.

	Currently only the layer compositing routines take advantage
	of these hints, though there is opportunity to use them to
	advantage in numerous other places.

	The whole layer compositing process is typically 2x-4x faster
	now, especially on subsequent renders of data which has already
	had its hints calculated.

	See tile.h for the explicit TileRowHint query/set interface.
	The procedure to re-evaluate tile hints currently resides in
	paint_funcs.c but may be exposed to other parts of the core
	if necessary.

	This is experimental.  Please report mis-rendering problems.
1999-05-09 15:45:37 +00:00
Michael Natterer 2147db9740 app/app_procs.c fill the "last opened" list with the first
1999-05-07  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/app_procs.c
	* app/docindex.[ch]: fill the "last opened" list with
	the first last_opened_size elements of the docindex.

	* app/preferences_dialog.c: fixed the tile_cache_size and
	last_opened_size bugs. Now we can change these values again.
1999-05-07 14:21:38 +00:00
Michael Natterer c0b24ce90b app/channel.[ch] app/commands.c app/gimage_mask.[ch]
1999-05-07  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/channel.[ch]
	* app/commands.c
	* app/gimage_mask.[ch]
	* app/gimage_mask_cmds.c
	* tools/pdbgen/pdb/gimage_mask.pdb
	* app/interface.c: propagated the indepentent x/y values for
	shrink/grow/border to the interface but not yet to the PDB.

	* app/*_select.c
	* app/paint_funcs.[ch]: implemented indep. x/y feather. It seems
	that cut-and-paste was sufficient, but I didn't really understand
	the code. Jay, could you have a look at this please?

	If the feather/shrink/... amount is specified in pixels,
	everything behaves like before.
	I'm not sure how the built-in feather option of the selection
	tools should behave, so it still defaults to 'pixel' mode.
	Moved the static feather/shrink/... values from gimage_mask.c to
	commands.c because they belong to the interface.

	* app/text_tool_cmds.c
	* tools/pdbgen/pdb/text_tool.pdb: prepared for resolution
	support, but didn't enable it yet.

	* app/unit_cmds.c
	* tool/pdbgen/pdb/unit.pdb: fixed a help text.
1999-05-06 23:10:29 +00:00
Asbjørn Pettersen 4154970d27 add new function plug_in_init_shm() 1999-05-06 20:56:07 +00:00
Tor Lillqvist f480c98191 Fix nasty bug, inner block variable "values" shadowed outer one, the inner
* tools/pdbgen/pdb/gradient_select.pdb: Fix nasty bug, inner block
 	variable "values" shadowed outer one, the inner one was assigned
 	to, the outer one returned.

	* app/gradient_select_cmds.c
 	(gradients_get_gradient_data_invoker): Autogenned from above.
1999-05-05 22:34:44 +00:00
Asbjørn Pettersen 391bff79df add sys/types.h 1999-05-05 12:32:24 +00:00
Sven Neumann 961db9efca Moved the cursors into a new directory.
--Sven
1999-05-05 10:46:00 +00:00
jaycox 18835a7657 new bitmap files containing the new mouse cursors.
* pixmaps/mouse1*: new bitmap files containing the new mouse cursors.

	* app/parasitelist.c: use g_str_equal instead of parasite_compare_func.

	* app/paint_core.c: interpret perfectmouse right way round.

	* app/rect_select{P,}.[ch]: set custom cursors when the operation type
 	changes.  Centralize the calculation of op based on the modifier
 	keys being held.

	* app/fuzzy_select.c, app/free_select.c: allow the rect_select
 	functions calculate the operation type.

	* app/ellipse_select.c: use the SelectionOps typedefs.

	* app/edit_selection.c: convert MaskToLayerTranslate into
 	FloatingSelTranslate if there is already a floating selection in
 	init_edit_selection.

	* app/disp_callbacks.c: fixed the calculation of state.

	* app/gdisplay.[ch], app/cursorutil.[ch]: new functions to allow
 	the loading of customized cursors.

	* app/paint_funcs.[ch], app/channel.c: border_region now accepts
 	seperate xradius and yradius arguments.
1999-05-05 09:10:35 +00:00
Manish Singh 4534223b5b use the sinclude bit again, since it works in automake 1.4. Generate the
* configure.in: use the sinclude bit again, since it works in
automake 1.4. Generate the Makefile in the embed dir too

* app/gimp.sym: new file, list the symbols we want export to
modules here

* app/Makefile.am: add -export-symbols to LDFLAGS

* plug-ins/Makefile.am: use make variable expansion instead of
direct substitution for optional plug-in dirs. E.g., now one can
do "make GIMP_PERL=" to skip the perl plug-in dir during build
without rerunning configure

* plug-ins/rcm/Makefile.am: add header files to SOURCES

-Yosh
1999-05-04 22:59:54 +00:00
Manish Singh 28c906aa4b s@gdkprivate@gdk/gdkprivate@
-Yosh
1999-05-04 22:18:13 +00:00
Tor Lillqvist 1dea4958bb Win32 portability changes:
* config.h.win32, README.win32: Small changes.

	* tools/pdbgen/pdb/*.pdb: Include <string.h>.

	* app/*_cmds.c: Autogenerated files reflect above changes.

	* libgimp/makefile.msc app/makefile.msc: Various updates,
 	including new object files. Gtk+ directory now should be called
 	gtk+ (not gtk-plus). Use win32-specific gdk subdir. Glib directory
 	now should be called just glib.

	* libgimp/gimp.def: Updates.

	* libgimp/gimpfeatures.h.win32: Made current with
 	gimpfeatures.h.in.

	* libgimp/gimpfileselection.c: Define S_ISDIR and S_ISREG if
 	necessary.

	* tools/pdbgen/pdb/fileops.pdb: Must have a
 	statement (even an empty one) after a label.

	* app/fileops_cmds.c: Autogenerated file reflects above changes.

	* app/crop.c: Include <string.h>.

	* app/{app_procs,batch,fileops,datafiles,errorconsole,general,
 	plug_in,temp_buf,tile_swap}.c: Test NATIVE_WIN32, not
 	_MSC_VER. (NATIVE_WIN32 means we are using the Microsoft C
 	runtime, even if we might be compiling with gcc.)

	* app/fileops.c: Don't include <process.h> here.

	* app/fileops.h: Do include <process.h> here.

	* app/gimpparasite.c: Include config.h, guard inclusion of
 	<unistd.h>. (Is the inclusion of unistd.h in source files all over
 	the place really necessary?)

	* app/ink.c: MSC doesn't handle conversion from unsigned __int64
 	to double, so cast to signed.

	* app/lut_funcs.c: Include config.h, and define rint() if necessary.

	* app/pixel_processor.c: Include config.h without "..", like in
 	all the other places. Include <string.h>

	* app/text_tool.c: Guard the "POINTS" identifier that clashes with
 	<windows.h>, sigh.
1999-05-04 21:32:17 +00:00
Michael Natterer e7c8de57ae call gdisplays_resize_cursor_label(gimage) after changing the image's
1999-05-02  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/commands.c: call gdisplays_resize_cursor_label(gimage)
	after changing the image's unit.

	* app/gdisplay.c: update the cursor label after resizing it's
	frame, so the old (wrong) value gets overwritten.

	* app/resize.c: it makes more sense to take the image's unit from
	the "print size" frame rather than from "pixel dimensions".
	Set reasonable boundaries to avoid over/underflows with crazy
	resolutions. Code and gui cleanup.
	The constants for min/max image size/resolution should probably go
	to a central place.

	* app/text_tool.c: set the resolution in the X font spec only if
	the size is specified in points (reported by Austin).

	* libgimp/gimpsizeentry.c: fixed a bad bug in the boundary and
	resolution setting code (was not noticable before the new
	resize/scale ui).

	* plug-ins/gdyntext/*: version 1.4.3

	* plug-ins/png/png.c: gcc suggested parentheses.
1999-05-04 17:20:05 +00:00
Manish Singh 2618ad37fe vestigal files
-Yosh
1999-05-04 02:22:29 +00:00
Manish Singh 9b91adf1d3 progress_init takes an int32, not a display...
-Yosh
1999-05-03 22:36:26 +00:00
Manish Singh 2cb3099d30 fix rotten regexp eval
-Yosh
1999-05-03 21:05:17 +00:00
BST 1999 Austin Donnelly 2c0adc456a put up messages telling user about corrupted palette files as we load
Mon May  3 21:44:27 BST 1999  Austin Donnelly  <austin@gimp.org>

	* app/palette.c: put up messages telling user about corrupted
 	    palette files as we load them.  In particular, try and catch
 	    MSDOS format files such as those distributed from Visibone's
 	    website.
1999-05-03 20:44:01 +00:00
Manish Singh 030009d780 tools/pdbgen/plug_in.pdb new files
* tools/pdbgen/plug_in.pdb
* tools/pdbgen/interface.pdb: new files

* tools/pdbgen/app.pl: add no_id_lookup option

* tools/pdbgen/Makefile.am: added new pdb files, plug_in.h

* tools/pdbgen/enums.pl: plug_in.h enums

* app/plug_in.[ch]: removed PDB stuff, exported current_plug_in,
proc_defs, and plug_in_progress_{init,update}

* app/interface_cmds.c
* app/plug_in_cmds.c
* app/internal_procs.c: pdbgenned files

* app/Makefile.am: new files: interface_cmds.c, plug_in_cmds.c

-Yosh
1999-05-03 19:22:58 +00:00
Manish Singh 4e68780710 guide types used to start at 1, so make them start at 1
* app/gimpimage.h: guide types used to start at 1, so make them
start at 1

* tools/pdbgen/enums.pl
* app/guides_cmds.c: autogenned files reflect above change

-Yosh
1999-05-02 21:58:57 +00:00
Michael Natterer 26b9002cd1 app/commands.c app/layers_dialog.c new scale/resize ui: Use size entries
1999-05-02  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/commands.c
	* app/layers_dialog.c
	* app/resize.[ch]: new scale/resize ui:
	Use size entries instead of text entries, chainbuttons instead of
	check buttons. Put the stuff into frames. Added labels for the
	original width and height.
	It's possible to change resolution/unit now, please test if it
	does the right thing.

	* libgimp/gimpsizeentry.c: allow lower == upper when checking
	boundaries.
1999-05-02 14:24:54 +00:00
Manish Singh 26a9e37755 Fixed dumbass save code
-Yosh
1999-05-01 21:48:26 +00:00
BST 1999 Austin Donnelly e789291fa5 app/brush_select.c app/brush_select.h app/pattern_select.c delay the popup
Sat May  1 22:18:55 BST 1999  Austin Donnelly  <austin@gimp.org>

	* app/brush_select.c
	* app/brush_select.h
	* app/pattern_select.c
	* app/pattern_select.h: delay the popup of pattern and brush
 	    preview window by 150 millisecs.  Allows flicker-free
 	    selection of brushes/patterns, and still have fast pattern
 	    preview like we used to.  Ideally, should really factor out
 	    the common code in these two files into one generic picker
 	    widget.

	* app/free_select.c: cosmetic whitespace change.

	* app/draw_core.c: use GDK_CAP_NOT_LAST, not GDK_CAP_BUTT,
 	    otherwise sequential line segments in XOR mode have
 	    single-pixel gaps between them.  Worse, if the segments are
 	    only one pixel long, you don't get _any_ lines.  XFree86 seems
 	    to ignore GDK_CAP_BUTT, which is why this bug hasn't been seen
 	    before.  NCD X servers comply with the spec a little more
 	    pedantically, so need GDK_CAP_NOT_LAST.  OS/2 and Win32 people
 	    should check that (eg) the lasso tool still provides proper
 	    visual feedback.
1999-05-01 21:37:34 +00:00
Manish Singh 0080b4e08c libtool 1.3 upgrade
* Makefile.am: don't install gimprc.5 in our sharedir

-Yosh
1999-05-01 19:17:56 +00:00
Manish Singh 8b11c6c1fc listed tools first in SUBDIRS, so xgettext can grab the autogenned files
* Makefile.am: listed tools first in SUBDIRS, so xgettext can grab
the autogenned files

* acconfig.h: removed unused HAVE_XSHM_H

* tools/pdbgen/app.pl: added proc invoke method, nicer header
formatting

* tools/pdbgen/pdb/layer.pdb: use layer_mask type for return value
for layer_create_mask

* tools/pdbgen/pdb/misc.pdb: added quit proc

* tools/pdbgen/pdb/tools.pdb: added ink proc, but not added to @procs
since it's incomplete

* tools/pdbgen/pdb/fileops.pdb: new file

* app/Makefile.am: added fileops_cmds.c

* app/app_procs.c
* app/fileops.c
* app/ink.c: removed PDB procs (the one in ink.c was incomplete)

* app/fileops.h: exported load_procs, save_procs, and file_proc_find()

* app/plug_in.h: exported enum, #include <sys/types.h>

* app/brushes_cmds.c
* app/fileops_cmds.c
* app/layer_cmds.c
* app/misc_cmds.c
* app/parasite_cmds.c
* app/patterns_cmds.c
* app/procedural_db_cmds.c
* app/text_tool_cmds.c
* app/internal_procs.c: pdbgen updates

* app/paint_funcs.c: the glibc 2.1 docs say using SVID threadsafe
random functions are preferable to rand_r, so use them instead of
a mutex

-Yosh
1999-04-30 21:11:27 +00:00
Asbjørn Pettersen 9b686e105f only OS/2 patches 1999-04-30 15:04:38 +00:00
Michael Natterer f2681a95d1 fixed a cut-and-paste bug: vertical flip iterates over rows, not columns.
1999-04-30  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/flip_tool.c: fixed a cut-and-paste bug: vertical flip
	iterates over rows, not columns.
1999-04-29 22:54:09 +00:00
Michael Natterer 02f6c21be8 app/brush_select.[ch] disabled setting the size of the brushes dialog
1999-04-29  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/brush_select.[ch]
	* app/pattern_select.[ch]: disabled setting the size of the
	brushes dialog again because it still caused SIGFPE's in some rare
	cases. I'm trying to fix that.
	*Minimal* ui spacing changes. Some changes to make the code look
	more similar (I'm a make-them-look-the-same fanatic ;)
1999-04-29 08:50:22 +00:00
Sven Neumann 2ec50a9d93 Some code cleanup, changes to the crop-modifier_key_func and 128n fixes.
--Sven
1999-04-28 18:58:01 +00:00
Asbjørn Pettersen 4e3c804f09 add OS2 rc handling 1999-04-28 14:34:44 +00:00
Asbjørn Pettersen b947ec1fb1 add install for OS2 1999-04-28 14:33:06 +00:00
Manish Singh c78dd295cf configure.in tools/Makefile.am integrated pdbgen into the build system
* configure.in
* tools/Makefile.am
* tools/pdbgen/Makefile.am: integrated pdbgen into the build system

* libgimp/gimp.h
* libgimp/gimpimage.c: renamed gimp_image_findnext_guide to
gimp_image_find_next_guide, so change pdb wrapper

* plug-ins/guillotine/guillotine.c: reflect api change

-Yosh
1999-04-28 07:03:35 +00:00
Sven Neumann d342563d60 Moved from toggle_key_func to modifier_key_func.
--Sven
1999-04-27 21:06:00 +00:00
Asbjørn Pettersen 0355c5aa10 close swap file before unlink 1999-04-27 18:59:53 +00:00
Manish Singh 80de6ea79c app/gimage_cmds.c pdbgenned files
* app/gimage_cmds.c
* app/guides_cmds.c: pdbgenned files

* app/parasite_cmds.c: added image parasite cmds

* app/gimpimage.h: capitalized ChannelType and MergeType enums,
made HORIZONTAL_GUIDE and VERTICAL_GUIDE an enum

* app/layer.h: made APPLY and DISCARD an enum

* app/internal_procs.[ch]: finally pdbgenned

* app/channels_dialog.c
* app/fileops.c
* app/gimpimage.c
* app/layers_dialog.c: ChannelType, MergeType enum changes

* app/commands.c: remove gimage_cmds.h #include

* app/cursorutil.h: #include <gdk/gdktypes.h>

* app/paint_funcs.h: cosmetic change for PDB help

* app/brush_select_cmds.c
* app/brushes_cmds.c
* app/layer_cmds.c
* app/tools_cmds.c: pdbgen updates

* app/Makefile.am: removed gimage_cmds.h, added guides_cmds.c

* plug-ins/Lighting/lighting_main.c
* plug-ins/MapObject/mapobject_main.c
* plug-ins/rcm/rcm.c
* plug-ins/xbm/xbm.c: removed trailing ";" from MAIN ()

-Yosh
1999-04-27 04:57:59 +00:00
Sven Neumann 83802561bb Quick fix.
--Sven
1999-04-27 02:19:27 +00:00
Sven Neumann 8b46a4f9f5 Toggable tools!
I hope I haven't broken too much ;-)


--Sven
1999-04-27 02:09:03 +00:00
Michael Natterer 84e028ae76 added resolution support if the tool is used from the interface. Can't do
1999-04-25  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/text_tool.c: added resolution support if the tool is used
	from the interface. Can't do this for the PDB because the text has
	to be rendered in the size "text_get_extents" (which currently has
	no access to resolution information) returns.
1999-04-25 15:53:30 +00:00
Manish Singh 4a580e2707 pdbgenned, use header file
* app/gimage_mask_cmds.[ch]: pdbgenned, use header file

* app/internal_procs.c: use pdbgen register for gimage mask funcs

* app/Makefile.am: remove gimage_mask_cmds.h

-Yosh
1999-04-25 01:41:57 +00:00
BST 1999 Adam D. Moss e247b49e5f Finished the opaque-move stuff... hopefully. Float and selection-mask
Sat Apr 24 21:50:58 BST 1999 Adam D. Moss <adam@gimp.org>

	* app/edit_selection.c: Finished the opaque-move stuff...
	hopefully.  Float and selection-mask movement behaviour
	repaired, etc.
1999-04-24 20:58:55 +00:00
Manish Singh 107038e5dc pdbgened, header file removed
* app/layer_cmds.[ch]: pdbgened, header file removed

* app/internal_procs.c: use pdbgen register for layer funcs

* app/*_cmds.c: various pdbgen formatting fixes

* app/Makefile.am: removed layer_cmds.h

* app/layer.c
* app/layerF.h: changed AddMaskType enum to capitals

-Yosh
1999-04-24 20:33:31 +00:00
Asbjørn Pettersen be58493784 add OS2 pipe patches 1999-04-24 19:12:12 +00:00
Michael Natterer f2546516fe added a "BG Color Fill" radio button. Toggling FG/BG with <shift> works in
1999-04-24  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/bucket_fill.c: added a "BG Color Fill" radio button.
	Toggling FG/BG with <shift> works in both color fill modes now.

	* app/brush_select.c: session management sets the size of the
	dialog again (depending on the current paint options mode because
	bad things happen if the brush preview's size is reduced beyond
	it's minimum).
1999-04-23 23:28:49 +00:00
Manish Singh b8c19394dc gave parasite undo a MISC_UNDO class for now so it compiles
* app/gimpdrawable.c: gave parasite undo a MISC_UNDO class for now
so it compiles

* app/tools_cmds.c: fix crop invoker to give correct args to
crop_image

* app/color_cmds.c: s/GRAY/GRAY_LUT/g;

* app/brush_select.[ch]: removed PDB procs, export brush_active_dialogs,
brush_select_dialog, s/active_dialogs/brush_active_dialogs/

* app/gimage_cmds.[ch]
* app/channel_ops.[ch]: removed channel ops PDB procs, moved duplicate
function from gimage_cmds to channel_ops, export offset and duplicate

* app/gimpbrushlist.[ch]: removed PDB procs

* app/gradient.[ch]: removed PDB procs,

* app/gradient_header.h: exported G_SAMPLE, GradSelect, num_gradients,
grad_active_dialogs, gradient_select_dialog

* app/gradient_select.c: removed PDB procs,
s/active_dialogs/grad_active_dialogs/

* app/patterns.[ch]: removed PDB procs

* app/pattern_select.[ch]: removed PDB procs,
s/active_dialogs/pattern_active_dialogs/

* app/procedural_db.c: removed PDB procs and supporting functions

* app/procedrual_db.h: fiddled with enums

* app/channel_cmds.[ch]
* app/drawable_cmds.[ch]
* app/parasite_cmds.[ch]: pdbgenned now, removed header files

* app/gimpparasite.c: minor cleanup

* app/internal_procs.c: use pdbgen stuff

* app/tools_cmds.c
* app/text_tool_cmds.c: updated from pdbgen

* app/brushes_cmds.c
* app/brush_select_cmds.c
* app/gradient_cmds.c
* app/gradient_select_cmds.c
* app/patterns_cmds.c
* app/pattern_select_cmds.c
* app/procedural_db_cmds.c: new pdbgen files

* app/Makefile.am: file shuffle (see above)

-Yosh
1999-04-23 20:54:02 +00:00
Asbjørn Pettersen 020a39a9a5 add <sys/types.h> 1999-04-23 15:20:10 +00:00
Michael Natterer f3c85b0175 app/brush_select.[ch] made the previews change their size in sync with
1999-04-23  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/brush_select.[ch]
	* app/pattern_select.[ch]: made the previews change their size in
	sync with resizing the dialog. The previews auto-resize with their
	parent frame now. Connect to the preview's "size_allocate" signal,
	not to the frame's, don't "signal_connect_after". Get the size of
	the preview from it's allocation and not from it's requisition.
	There's no need to remember width, height and the frame in the
	structures anymore, so I kicked them out. Tweaked the code to look
	more similar.
1999-04-23 14:47:50 +00:00
Asbjørn Pettersen 7499e231b3 sys/types.h before sys/stat.h 1999-04-23 09:39:51 +00:00
jaycox d996031ab0 removed some nonfunctional code.
* app/edit_selection.c: removed some nonfunctional code.

	* app/paint_core.c: remove the alt toggles perfectmouse behaviour.

	* app/paintbrush.c: when ctl (or alt) is held set the fg (or bg) color.

	* app/gimpparasite.[ch]: made char *name parameters const.

	* app/parasitelist.c: removed unused static variable.

	* app/gimpdrawable.c, app/gimpimage.c, app/undo.[ch]: added
 	support for undoing parasite changes.

	* libgimp/gimp.h, libgimp/gimpimage.c: added
 	gimp_undo_push_group_start and gimp_undo_push_group_end

	* libgimp/parasite.[ch]: added undoable flag.

	* plug-ins/gdyntext/font_selection.c: fixed c++ style comment.

	* plug-ins/gdyntext/gdyntext.c: use the new undoable parasites.

	* plug-ins/rcm/rcm_misc.c: arctg can't be inline because it is
 	used in other .c files

	* plug-ins/waterselect/waterselect.c,
	* plug-ins/rotators/rotators.c, app/tips_dialog.c, app/plug_in.c:
 	fixed some warnings
1999-04-23 06:07:09 +00:00
Sven Neumann 174e1a0fab Small buglet fixed in the autocrop algorithm.
--Sven
1999-04-22 23:34:58 +00:00
Michael Natterer ca2cbd3257 First version of per-tool paint options. No PDB interface yet. The tool
1999-04-22  Michael Natterer  <mitschel@cs.tu-berlin.de>

	First version of per-tool paint options. No PDB interface yet.
	The tool options dialog got rather big when in per-tool mode, so
	it will probably have to become a notebook.

	It's not yet 100% consistent. If switched off, everything should
	behave exactly like before.

	* app/Makefile.am
	* app/paint_options.h: new file

	* app/tool_options.c: PaintOptions gui. Maintain a list of all
	paint tools' ToolOptions to enable switching between global and
	per-tool paint options.

	* app/brush_select.[ch]: changed packing boxes, tables, ...
	The paint options in the brush selection can be hidden now.
	Moved create_paint_mode_menu() to paint_options.h and
	tool_options.c and renamed it to paint_mode_menu_new().

	* app/gimage_mask.c
	* app/gimpbrush.[ch]
	* app/gimpbrushlist.[ch]
	* app/paint_core.c: moved gimp_brush_[set|get]_spacing() from
	gimpbrushlist.[ch] to gimpbrush.[ch].
	Moved gimp_brush_[get|set]_[opacity|paint_mode]() to
	paint_options.h and tool_options.c and renamed them to
	paint_options_*_*().  They are "global paint options" now.

	* app/airbrush.c
	* app/blend.c
	* app/bucket_fill.c
	* app/clone.c
	* app/convolve.c
	* app/eraser.c
	* app/ink.c
	* app/paintbrush.c
	* app/pencil.c: all paint tools' options are derived from
	"PaintOptions" now. Opacity and paint mode are obtained through
	macros which take into account the current paint options mode.

	* app/buildmenu.h: #include <gtk/gtk.h>

	* app/color_picker.c
	* app/text_tool.c: changed spacings.

	* app/gimprc.[ch]: new gimprc option "global-paint-options"

	* app/preferences_dialog.c: Added a "Tool Options" page. Code
	cleanup. Some work on the convenience constructors test site.

	* app/tools.c: fixed "unused variable" warning.
1999-04-22 14:34:00 +00:00
Manish Singh 993089b8cb moved a bunch of PDB stuff here
* app/color_cmds.c: moved a bunch of PDB stuff here

* app/color_balance.[ch]: removed PDB proc, exported TransferMode
enum, ColorBalanceDialog, color_balance_create_lookup_tables, and
color_balance

* app/curves.[ch]: removed PDB procs, exported SMOOTH and GFREE
#defines, CurvesDialog, curves_lut_func and curves_calculate_curve

* app/desaturate.[ch]: removed PDB proc, exported desaturate

* app/equalize.[ch]: removed PDB proc, exported equalize

* app/histogram_tool.[ch]: removed PDB proc, exported HISTOGRAM_WIDTH
and HISTOGRAM_HEIGHT #defines, HistogramToolDialog,
histogram_tool_histogram_range

* app/hue_saturation.[ch]: removed PDB proc, exported HueRange enum,
HueSaturationDialog, hue_saturation_calculate_transfers,
hue_saturation

* app/invert.[ch]: remove PDB proc, export invert

* app/threshold.[ch]: remove PDB proc, export ThresholdDialog and
threshold_2

* internal_procs.c: changes for pdbgen

* app/gimprc.c: removed leftover declaration

* app/image_map.h: add #include "gimpdrawableF.h"

* app/lut_funcs.h: add ALPHA_LUT to ChannelLutType

-Yosh
1999-04-21 05:39:57 +00:00
Austin Donnelly 08d2c8f361 Oops- left in some debugging code. 1999-04-20 23:36:59 +00:00
Sven Neumann 1490712141 The autocrop algorithm is about 4 times faster now.
--Sven
1999-04-20 23:23:40 +00:00
BST 1999 Austin Donnelly 5026bd5015 add the new args to gimp-paintbrush PDB calls.
Tue Apr 20 23:38:26 BST 1999  Austin Donnelly  <austin@gimp.org>

	* app/bezier_select.c: add the new args to gimp-paintbrush PDB
	    calls.

	* app/blend.c
	* app/bucket_fill.c
	* app/invert.c: check return from procedural_db_run_proc() rather
	    than dereferencing NULL.

	* app/paintbrush.c: plumb the non-gui fade_out option into the
	    functions that actually do the work, rather than using
	    an uninitialised value.

	* app/procedural_db.c: better error messages on PDB typecheck fail
	    in procedural_db_run_proc.  Also now valid to
	    procedural_db_destroy_args() on a NULL pointer.
	* app/procedural_db.h: pdb_type_name() function added, plus
	    comment urging people to keep the enum and strings in step.

	* tools/pdbgen/README: added paragraph on how to run pdbgen.pl

	* tools/pdbgen/pdb/tools.pdb: fade_out parameter is valid to be 0
	* app/tools_cmds.c: new version of generated file
1999-04-20 23:03:31 +00:00
Sven Neumann ff2c915a40 More cosmetic stuff. Getting used to the new tool_options ... ;-)
--Sven
1999-04-20 19:23:38 +00:00
Manish Singh 63a37c32fc doh, I'm dumb. s/rotate_invoker/rotate/g
-Yosh
1999-04-20 17:09:01 +00:00
Sven Neumann b1d55510ca Cosmetic stuff...
--Sven
1999-04-20 11:13:33 +00:00
Manish Singh ccac10a4b0 new file, containes the PDB stuff for most of the tools
* app/tools_cmds.c: new file, containes the PDB stuff for most
of the tools

* app/gimprc_cmds.c: new file, PDB interface stuff for gimprc
access

* app/Makefile.am: added tools_cmds.c and gimprc_cmds.c

* app/airbrush.[ch]
* app/blend.[ch]
* app/bucket_fill.[ch]
* app/by_color_select.[ch]
* app/clone.[ch]
* app/color_picker.[ch]
* app/convolve.[ch]
* app/crop.[ch]
* app/ellipse_select.[ch]
* app/eraser.[ch]
* app/flip_tool.[ch]
* app/free_select.[ch]
* app/fuzzy_select.[ch]
* app/gimprc.[ch]
* app/paintbrush.[ch]
* app/pencil.[ch]
* app/perspective_tool.[ch]
* app/rect_select.c app/rect_select.h
* app/rotate_tool.[ch]
* app/scale_tool.[ch]
* app/shear_tool.[ch]: bye bye PDB stuff (exported necessary enums
functions, vars, etc.)

* app/internal_procs.c: use register_foo functions

* app/blend.[ch]: GradientType enum case changed

* app/bucket_fill.[ch]: s/FillMode/BucketFillMode/, made the enum
more consistent

* app/clone.[ch]: capitalized the CloneType enum

* app/color_picker.[ch]: changed get_color to pick_color so we don't
conflict with colormaps.c get_color

* app/convolve.[ch]: capitalized the ConvolveType enum

* app/paint_core.h: made a GradientPaintMode enum

* app/transform_core.h: BoundingBox enum

* app/scale_tool.c: use the generic bounding box enum for X1, Y1, etc.

* app/shear_tool.[ch]: turned HORZ and VERT into a ShearType enum

-Yosh
1999-04-18 21:22:41 +00:00
Seth Burgess c710b7b142 Added a function to save arbitrary strings in the users gimprc, and gave a
PDB function for it.

Modified Files:
 	ChangeLog app/internal_procs.c app/gimprc.h app/gimprc.c
1999-04-18 20:18:50 +00:00
Michael Natterer 9e1879d964 fixed a sensitive setting bug I introduced with the last change.
1999-04-18  Michael Natterer  <mitschel@cs.tu-berlin.de>

        * app/paintbrush.c: fixed a sensitive setting bug I introduced
        with the last change.

        * app/text_tool.c: added a toggle button which enables calling
        gDynText.

        * app/tool_options.c: the toggle callback does some more sensitive
        settings.
1999-04-18 18:55:49 +00:00
Michael Natterer 2d54cc6406 app/bucket_fill.c app/clone.c app/convolve.c app/flip_tool.c app/ink.c
1999-04-18  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/bucket_fill.c
	* app/clone.c
	* app/convolve.c
	* app/flip_tool.c
	* app/ink.c
	* app/paintbrush.c
	* app/transform_tool.c: remember all radio buttons in the
	ToolOptions structures. This enables arbitrary default values and
	gui feedback for the "toggle key" feature.
1999-04-17 23:18:43 +00:00
Manish Singh 283fdacbfe doh, decipoints not decipixels
-Yosh
1999-04-17 18:17:48 +00:00
BST 1999 Andy Thomas 8f187e241a Changed:-
Thu Apr 15 23:04:17 BST 1999 Andy Thomas <alt@gimp.org>

	Changed:-

	* app/color_picker.c

	Must account for layer offsets.
1999-04-15 22:24:27 +00:00
BST 1999 Andy Thomas 3477483c06 Changed:-
Thu Apr 15 21:20:45 BST 1999 Andy Thomas <alt@gimp.org>

	Changed:-

	* app/color_picker.c

	Added UI feedback to the tool when using the sample average
	option.
	Fixed the scale of the sample area to be integral (is this right?).
1999-04-15 20:52:36 +00:00
Sven Neumann 712b38cdd2 Small error fixed, renamed the tool.
--Sven
1999-04-15 10:20:27 +00:00
Sven Neumann 83bfd05c71 Ooops, put the crop.c into the wrong directory. Here it comes...
--Sven
1999-04-14 23:39:12 +00:00
Marc Lehmann fc1de7b4ea *** empty log message *** 1999-04-14 19:51:49 +00:00
BST 1999 Andy Thomas d5fad959c1 Changed:-
Tue Apr 13 22:17:23 BST 1999 Andy Thomas <alt@gimp.org>

	Changed:-

	* app/bezier_select.c
	* app/bezier_select.h
	* app/pathsP.h
	* app/paths_dialog.c
	* app/transform_core.c
	* app/transform_core.h
	* app/undo.c

	New:-

	* pixmap/locked.xpm

	New image. (Your welcome to improve upon it...)

	Paths can now be locked down for transformations. Click next to the
	paths preview and a icon will appear. This path will "locked" during
	transformations (via the transforms tool). Undo for these path
	transformations is also available.

	Fixed bug when creating a path for the first time when no paths dialog
	visible.
1999-04-13 21:50:28 +00:00
Manish Singh a11b5b6880 added GIMP_CHECK_VERSION macro and a features #define for 1.1.5
* libgimp/gimpfeatures.h.in: added GIMP_CHECK_VERSION macro and
a features #define for 1.1.5

* app/misc_cmds.c: added a gimp_version PDB function that
returns the current version (new file)

* app/internal_procs.c: register gimp_version PDB function

-Yosh
1999-04-13 07:09:33 +00:00
Manish Singh 4151b821c7 code cleanup
* app/boundary.c: code cleanup

* app/levels.c: applied gimp-lecorfec-990314-0, added spin buttons
to the levels dialog

* plug-ins/script-fu/scripts/font-map.scm: changes for updated
gimp_text interface
1999-04-13 04:59:07 +00:00
Marc Lehmann d4f1cf4eec *** empty log message *** 1999-04-13 00:46:11 +00:00
Sven Neumann 001b192215 Some more funky crop stuff.
--Sven
1999-04-12 21:53:41 +00:00
Michael Natterer c79944a449 Checked in wrong version before. 1999-04-12 18:09:55 +00:00
Michael Natterer 8dbd5f9b65 app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c
1999-04-12  Michael Natterer  <mitschel@cs.tu-berlin.de>

        * app/airbrush.c
        * app/bezier_select.c
        * app/blend.c
        * app/brightness_contrast.c
        * app/bucket_fill.c
        * app/by_color_select.c
        * app/clone.c
        * app/color_balance.c
        * app/color_picker.c
        * app/convolve.c
        * app/crop.c
        * app/curves.c
        * app/ellipse_select.c
        * app/eraser.c
        * app/flip_tool.c
        * app/free_select.c
        * app/fuzzy_select.c
        * app/histogram_tool.c
        * app/hue_saturation.c
        * app/ink.c
        * app/iscissors.c
        * app/levels.c
        * app/magnify.c
        * app/move.c
        * app/paintbrush.c
        * app/pencil.c
        * app/posterize.c
        * app/rect_select.[ch]
        * app/text_tool.c
        * app/threshold.c
        * app/transform_tool.c

        * app/tools.[ch]
        * app/toolsF.h: again: all tools :(

        * app/Makefile.am
        * app/tool_options.[ch]
        * app/selection_options.h
        * app/tool_options_ui.h: new files.

        Ok, this time it's general enough for future extensions:

        - The tool options structures are organized like the gtk object
          system to allow derived tool options.
        - Renamed all create and reset functions to *_options_new() and
          *_options_reset() to reflect this.
        - Changed tools_register() again. Now it takes just a pointer to a
          ToolOptions structure.
        - Moved almost the entire tool options gui code to tool_options.c.
        - Visually separated the common selection options from the
          tool-specific ones. I'd like to do the same with opacity/paint
          mode in all paint tool options but I think this needs some more
          discussion.

        * app/histogram_tool.c: changed packing boxes, label alignments.

        * app/paintbrush.c: some more sensitive settings. The gradient
        feature can now be toggled with a button. Hopefully didn't break
        anything.
1999-04-12 17:55:06 +00:00
Marc Lehmann add9089f98 *** empty log message *** 1999-04-11 22:28:51 +00:00
Manish Singh c881d7bf02 added a sample average feature (requested by Xach) that picks a color from
* app/color_picker.c: added a sample average feature (requested
by Xach) that picks a color from the average of all the pixels
from the source point within a given radius

-Yosh
1999-04-11 06:35:28 +00:00
Manish Singh c555988860 doh, XLFD stuff is in decipoints
* app/text_tool_cmds.c: doh, XLFD stuff is in decipoints

* app/color_cmds.h: removed

* app/color_cmds.c: pdbgened file now

* app/lut_funcs.h: export ChannelLutType enum

* app/internal_procs.c: register pdbgened color procs

* app/menus.c: reverted keyboard underlines since they need more discussion

-Yosh
1999-04-10 21:51:25 +00:00
BST 1999 Adam D. Moss 784ecce7bf Velocity-sensitivity added to ink tool.
Sat Apr 10 15:48:46 BST 1999 Adam D. Moss <adam@gimp.org>

        * app/ink.c: Velocity-sensitivity added to ink tool.
1999-04-10 14:55:17 +00:00
Manish Singh d6116b8d2c new file (from pdbgen)
* text_tool_cmds.c: new file (from pdbgen)

* Makefile.am: add new file, use AM_CPPFLAGS instead of CPPFLAGS

* internal_procs.c: register pdbgened text_tool procs

* text_tool.c: remove PDB stuff, export text_render and
text_get_extents and SizeType and SUPERSAMPLE symbols

* text_tool.c: remove PDB stuff

* blend.[ch]
* bucket_fill.[ch]
* clone.[ch]
* convolve.[ch]: export some enums

* channel.h
* paint_core.h: #define->enum

* channel.c
* gimpparasite.c
* parasitelist.c
* pixel_processor.c: warning cleanup

* convert_cmds.c
* paths_cmds.c: slight pdbgen changes

-Yosh
1999-04-10 04:54:34 +00:00
Manish Singh 583ecaade8 Make reality reflect the ChangeLog (#include "gimphistogramF.h")
-Yosh
1999-04-10 04:41:41 +00:00
jaycox 3ece2f7e4e new file containing typedef for GimpHistogram.
* app/gimphistogramF.h: new file containing typedef for
 	GimpHistogram.

	* app/gimphistogram.h: moved GimpHistogram typedef to
 	gimphistogramF.h

	* app/lut_funcs.h: include gimphistogramF.h again now that the
 	file actually exists.
1999-04-10 04:13:42 +00:00
Raph Levien 284f2d379d Fixed an include file in lut_funcs.h so it compiles. 1999-04-10 01:57:53 +00:00
jaycox dde3603123 build color_cmds, lut_funcs, and pixel_processor feedback in the splash
* app/Makefile.am: build color_cmds, lut_funcs, and pixel_processor
	* app/app_procs.c: feedback in the splash screen when loading
 	parasites.
	* app/boundary.c: Optimized find_empty_segs.

	* app/brightness_contrast.[ch]
	* app/levels.[ch]
	* app/posterize.[ch]:
 	moved pdb and lut calculation code.  These files now contain only
	GUI functions.

	* app/channel.c: Optimized channel_bounds (fewer compares, better
 	use of registers).  Use color_region instead of channel_*_segment
 	in channel_combine_rect.  Optimized channel_combine_ellipse by
 	skipping pixels inside of the ellipse.  Use
 	pixel_region_process_parallel in channel_combine_mask.  Use a
 	GimpLut in channel_invert, and channel_sharpen.

	* app/invert.c
	* app/equalize.c: moved the lut functions to lut_funcs.c

	* app/gimpdrawable.c, app/gimpdrawableP.h
	* app/gimpimage.c, app/gimpimageP.h: removed unused gimpmatrix
	variables/includes.

	* app/gimplut.[ch]: added new function gimp_lut_process_inline
 	that operates on a single PixelRegion.

	* app/gimpparasite.[ch]: new functions to save/load parasiterc

	* app/parasitelist.[ch]: new functions to save/load ParasiteLists
 	in/from files.

	* libgimp/parasite.[ch]: new functions to load/save parasites.

	* app/internal_procs.c: get some procs from new location in
	color_cmds.h.

	* app/pixel_region.[ch]: moved pixel_regions_process_parallel
 	related functions to a new file.

	* app/color_cmds.[ch]: new files for PDB
 	definitions/implementations of color correction functions.

	* app/lut_funcs.[ch]: new files to hold lut creation functions.

	* app/pixel_processor.[ch]: new files that contain the
 	pixel_regions_process_parallel routines.  Added some new
 	capabilities that are currently unused.
1999-04-09 06:00:11 +00:00
Michael Natterer f1b0a8835c app/airbrush.c app/bezier_select.c app/blend.c app/brightness_contrast.c
1999-04-08  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/airbrush.c
	* app/bezier_select.c
	* app/blend.c
	* app/brightness_contrast.c
	* app/bucket_fill.c
	* app/by_color_select.c
	* app/clone.c
	* app/color_balance.c
	* app/color_picker.c
	* app/convolve.c
	* app/crop.[ch]
	* app/curves.c
	* app/ellipse_select.c
	* app/eraser.c
	* app/flip_tool.c
	* app/free_select.c
	* app/fuzzy_select.c
	* app/histogram_tool.c
	* app/hue_saturation.c
	* app/ink.c
	* app/iscissors.c
	* app/levels.c
	* app/magnify.c
	* app/move.c
	* app/paintbrush.c
	* app/pencil.c
	* app/posterize.c
	* app/rect_select.[ch]
	* app/text_tool.[ch]
	* app/threshold.c
	* app/transform_tool.c

	* app/tools.[ch]
	* app/toolsF.h: in other words: all tools

	Implemented the "reset tool options" feature.
	- All tools register with a title string and a reset function now.
	- The tool options' variables have two related <var>_d (default)
	  and <var>_w (widget) variables to restore the default values.

	"Standardized" the tool options UI:
	- Put the stuff info a frame to give a hint that the dialog's
	  contents will change.
	- table layout, sensitive setting, spacings, borders, ...

	As I had them all in my emacs simultaneously, I couldn't resist to
	standardize the tools' *.c files declaration parts ;) Ansi stuff.
1999-04-08 22:25:54 +00:00
BST 1999 Andy Thomas 7739ffb38a Changed:-
Thu Apr  8 21:19:05 BST 1999 Andy Thomas <alt@gimp.org>

	Changed:-

	* app/image_map.c

	Fixed boundary problem in new function image_map_get_color_at().
1999-04-08 20:27:00 +00:00
Sven Neumann 4dca1d5640 Total crop-tool massacre.
--Sven
1999-04-08 05:20:37 +00:00
BST 1999 Andy Thomas 9a4edab746 Changed:-
Wed Apr  7 23:53:22 BST 1999 Andy Thomas <alt@gimp.org>

	Changed:-

	* app/curves.c

	Just noticed a bug that has been around for ages. The preview
	update does not work in the curves dialog when free curve
	mode is selected. Fixed it.
1999-04-07 22:58:44 +00:00
BST 1999 Andy Thomas 4bdf25daf2 Changed:-
Wed Apr  7 22:44:02 BST 1999 Andy Thomas <alt@gimp.org>

	Changed:-

	* app/curves.c
	* app/image_map.c
	* app/image_map.h

	Curves dialog now has "interactive feedback". Press and drag the
	mouse button in the image window and a marker will appear in the
	curves dialog showing the channel value at that point.
1999-04-07 22:02:26 +00:00
Sven Neumann 393b1fd545 When using fixed_size selections create the
selection into the direction the user moved the mouse.


--Sven
1999-04-06 22:53:10 +00:00
Michael Natterer d499a819fd oops, didn't commit this one.
1999-04-06  Michael Natterer  <mitschel@cs.tu-berlin.de>

        * app/rect_select.h: oops, didn't commit this one.
1999-04-06 12:51:57 +00:00
Michael Natterer 16e7aadaf3 app/gimpunit.c libgimp/gimpunit.[ch] libgimp/gimpunitmenu.c enabled
1999-04-06  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/gimpunit.c
	* libgimp/gimpunit.[ch]
	* libgimp/gimpunitmenu.c
	* libgimp/gimpsizeentry.[ch]: enabled "percent" pseudo-unit.
	New function gimp_size_entry_set_size() to set the values which
	will be treated as 0% and 100%.

	* app/crop.c
	* app/rotate_tool.c
	* app/scale_tool.c: enable "percent".

	* app/rect_select.c fixed size selections can be made in units and
	percent now, table layout, label adjustment.
1999-04-06 12:13:54 +00:00
BST 1999 Andy Thomas 67dbf49bf2 Changed:-
Mon Apr  5 22:24:30 BST 1999 Andy Thomas <alt@gimp.org>

	Changed:-

	* app/bezier_select.c
	* app/bezier_selectP.h
	* app/paths_cmds.c
	* app/pathsP.h
	* app/paths_dialog.c
	* app/xcf.c
	* tools/pdbgen/pdb/paths.pdb

	New PDB functions.
	  gimp_path_get_point_at_dist (gets the x,y of a point a given distance
	                          along the curve & the normal at the point).
	  gimp_path_get_tattoo
	  gimp_get_path_by_tattoo


       	Paths now have tattoos (similar to the layer and image tattoos).

	* app/move.c
	* app/scroll.c

	Try to fix the problem where mouse events from the rulers get
	mixed up with those from the canvas causing guides & image dragging
	to "jump" around when the mouse enters the ruler areas.
1999-04-05 23:33:50 +00:00
Sven Neumann 7f74800d26 Stupid Raph!
--Sven
1999-04-05 22:01:07 +00:00
Michael Natterer 24ffa60f1b #include <gtk/gtk.h>.
1999-04-05  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/action_area.h: #include <gtk/gtk.h>.

	* app/devices.c: made the "Input Devices" dialog follow the action
	area conventions. Grab pointer in the pattern/brush preview popups.

	* app/errorconsole.c: use the actionarea functions.

	* app/gimpunit.c: had the wrong copyright header.

	* app/info_dialog.c: correctly set the spinbuttons' digits.

	* app/perspectice_tool.c: removed #include <stdio.h> again but
	didn't forget to s/sprintf/g_snprintf/ this time.

	* app/preferences_dialog.c: unified order of varible definitions,
	removed some unused variables.

	* app/crop.c
	* app/file_new_dialog.c
	* app/info_dialog.[ch]
	* app/interface.c
	* app/preferences_dialog.c
	* app/rotate_tool.c
	* app/scale_tool.c
	* libgimp/gimpsizeentry.[ch]
	* libgimp/gimpunitmenu.[ch]: prepared for "percent" in size
	entries.
1999-04-05 12:48:48 +00:00
Manish Singh 395cdc5b53 #include <gtk/gtk.h>
* tools.h: #include <gtk/gtk.h>

* toolsF.h: #include <gdk/gdk.h>

* perspective_tool.c: #include <stdio.h>

* gimphistogram.c: #ifdefed a var for threads

* gimpimage.h: added chop hint to GimpImageType enum

* paint_funcs.h: made layer mode #defines an enum

* palette.c
* gimpunit.c: removed PDB stuff

* gimpunit_cmds.h: removed

* convert_cmds.c
* paths_cmds.c: pdbgen updates

* palette_cmds.c
* unit_cmds.c: new files

* app/internal_procs.c: use the pdbgen register_foo functions

* app/Makefile.am: changes for the above

-Yosh
1999-04-04 07:12:22 +00:00
Asbjørn Pettersen 323fa245f0 don't use c++ comments 1999-04-03 18:46:11 +00:00
Michael Natterer 01c74039ec forgot this file. Should compile again now, sorry :(
1999-04-03  Michael Natterer  <mitschel@cs.tu-berlin.de>

        * app/shear_tool.c: forgot this file. Should compile again now,
        sorry :(
1999-04-02 22:27:05 +00:00
Michael Natterer f70fc7d307 made function headers ansi compliant.
1999-04-02  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* app/gimage_mask.[ch]: made function headers ansi compliant.

	* app/file_new_dialog.c
	* app/preferences_dialog.c: minor GUI and signal handling
	changes. Added a WM hint pixmap to the prefs dialog but commented
	it out because it looked ugly. If someone has a nice pixmap,
	please try it and tell me ;)

	* app/color_picker.c
	* app/crop.c
	* app/info_window.c
	* app/perspective_tool.c
	* app/rotate_tool.c
	* app/scale_tool.c
	* app/info_dialog.[ch]: the info_dialog allows scales, spinbuttons
	and sizeentries now. Made some dialogs use these widgets and
	added unit support. Sprinkled some g_snprintf's, removed
	#include's, ansi issues, ...

	* app/session.c: don't call a NULL callback.

	* libgimp/gimpsizeentry.[ch]: new function
	gimp_size_entry_add_field() which allows a more flexible GUI
	layout. More intelligent signal handling.
1999-04-02 19:46:59 +00:00
BST 1999 Adam D. Moss 303976487f Thumbnails save with checkerboard-alpha. Saved thumbnail comments include
Tue Mar 30 22:17:43 BST 1999  Adam D. Moss  <adam@gimp.org>

	* app/fileops.c: Thumbnails save with checkerboard-alpha.
	Saved thumbnail comments include the file size.
1999-03-30 21:24:50 +00:00
Pavel Machek 60c9e73db5 underline letters so keyboard is bit more usable
* app/menus.c (toolbox_entries): underline letters so keyboard is
        bit more usable
1999-03-29 13:23:02 +00:00
Adrian Likins a129fc0d20 ooops, forgot to commit this. Just changed the order of some enums in
ooops, forgot to commit this. Just changed the order of some enums
in paint_core.c

-adrian
1999-03-28 08:34:47 +00:00
Manish Singh 5131a0111b #include <glib.h>
* app/procedural_db.h: #include <glib.h>

* app/channel_ops.[ch]: exported OFFSET_BACKGROUND and
OFFSET_TRANSPARENT as an enum

* app/convert.[ch]: exported MACNUMCOLORS, theCustomPalette,
convert_image, removed PDB procs

* app/text_tool.[ch]: exported PIXELS and POINTS as an enum

* app/convert_cmds.c
* app/edit_cmds.c
* app/floating_sel_cmds.c
* app/gdisplay_cmds.c
* app/paths_cmds.c
* app/undo_cmds.c: pdbgen autogenerated files now

* app/internal_procs.c: use the pdbgen register_foo functions

* app/edit_cmds.h
* app/floating_sel_cmds.h
* app/gdisplay_cmds.h
* app/paths_cmds.h
* app/undo_cmds.h: removed

* app/Makefile.am: reflect above changes

* Makefile.am: paths.xbm->path.xbm, fix typo in EXTRA_DIST

-Yosh
1999-03-28 06:55:29 +00:00
EST 1999 Adrian Likins 21b5cd4467 added the ability to select the gradient repeat mode from the gui. Made
Sun Mar 28 00:28:57 EST 1999 Adrian Likins <adrian@gimp.org>

        * app/paintbrush.c: added the ability to select the
        gradient repeat mode from the gui. Made the gradient
        length slider hopefully a bit more useful (ie, a
        more useful range)

-adrian
1999-03-28 05:27:34 +00:00
Michael Natterer fc2018d235 oops, forgot this file a minute ago ;) 1999-03-27 18:19:43 +00:00
Michael Natterer 2f34216a2a app/brush_select.c app/channels_dialog.c app/color_select.c app/devices.c
1999-03-27  Michael Natterer  <mitschel@cs.tu-berlin.de>

        * app/brush_select.c
        * app/channels_dialog.c
        * app/color_select.c
        * app/devices.c
        * app/file_new_dialog.c
        * app/gradient_select.c
        * app/palette_select.c
        * app/pattern_select.c: applied a patch from Marco Lamberto
        <lm@geocities.com> which unifies actionareas ("Cancel" rightmost
        and default). Did the same in some more dialogs.

        * libgimp/gimpfileselection.c
        * libgimp/gimppatheditor.c
        * app/preferences_dialog.[ch]: completely reworked the preferences
        dialog:

        - select the notebook's pages with a tree.
        - reordered the categories. Please give me feedback, this really
          needs to be intuitive.
        - removed lots of unused #include's.
        - turned the prefs. dialog into a test site for new convenience
          constructors. These changes are however not visible. Flame me
          until they're perfect ;) When finished, this stuff can save
          *many* lines of gtk+ code.

        * modules/colorsel_gtk.c: made it circular.
1999-03-27 18:16:30 +00:00
Michael Natterer 737aa1a0de corrected a typo
1999-03-25  Michael Natterer  <mitschel@cs.tu-berlin.de>

	* unitrc: corrected a typo

	* app/commands.c
	* app/global_edit.c
	* app/gradient.c
	* app/interface.[ch]
	* app/palette.c
	* app/paths_dialog.c: the query_[string|..]_boxes connect their
	close callback to a user provided signal now.

	* libgimp/gimpimage.c: gimp_image_get_unit() doesn't need a
	g_return_if_fail()

	* libgimp/gimpunitmenu.c: memory leak & compiler warning

	* configure.in
	* gimprc.in
	* user_install
	* user_install.bat
	* plug-ins/Makefile.am
	* plug-ins/FractalExplorer/*: added the FractalExplorer plugin.

	* app/install.c: ditto and made the install help text more
	editable by moving it to an array.
1999-03-25 23:14:36 +00:00
jaycox 452d35091f Added an edge_lock parameter to thin_region. Split the radius parameter
* app/paint_funcs.[ch]: Added an edge_lock parameter to
 	thin_region.  Split the radius parameter into xradius and yradius
 	in thin_region and fatten_region.

	* app/channel.c: fixed a bug in channel_bounds that I introduced
 	last time I tried to fix a bug in channel_bounds.  Minor
 	modifications to work with the improved thin/fatten region
 	functions.
1999-03-25 08:58:30 +00:00