Commit Graph

1707 Commits

Author SHA1 Message Date
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
Marc Lehmann ecd5ff9343 see plug-ins/perl/Changes 1999-05-27 19:35:26 +00:00
Asbjørn Pettersen da55446e48 use g_strncasecmp() 1999-05-27 19:12:04 +00:00
Sven Neumann 9d4d35247a bugfix as provided by Wolfgang
--Sven
1999-05-27 10:12:47 +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
Marc Lehmann 65e5597a71 see plug-ins/perl/Changes 1999-05-26 20:23:32 +00:00
Asbjørn Pettersen 2e0fea536a add include <sys/types.h> 1999-05-25 18:03:45 +00:00
Asbjørn Pettersen 942728ab90 Add include <sys/types.h> for OS/2 1999-05-24 19:18:03 +00:00
BST 1999 Adam D. Moss 0c627c00be Added support for greyscale drawables (why not?)
Sun May 23 14:13:03 BST 1999  Adam D. Moss  <adam@gimp.org>

	* plug-ins/threshold_alpha/threshold_alpha.c: Added
	support for greyscale drawables (why not?)
1999-05-23 13:21:49 +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
Michael Natterer 1ece1e8e0d gimpunitmenu.c lives in libgimp, not plug-ins 1999-05-23 11:36:27 +00:00
Marc Lehmann ee365bb510 see plug-ins/perl/Changes 1999-05-23 11:23:19 +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
Marc Lehmann 05fd826e46 see plug-ins/perl/Changes 1999-05-21 12:25:51 +00:00
Marc Lehmann edda8d6b98 see plug-ins/perl/Changes 1999-05-20 23:52:41 +00:00
Marc Lehmann 0731cd0f08 see plug-ins/perl/Changes 1999-05-20 23:47:02 +00:00
Marc Lehmann 26eb474362 see plug-ins/perl/Changes 1999-05-20 22:14:38 +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
Marc Lehmann 47b4c72356 see plug-ins/perl/Changes 1999-05-20 03:25:21 +00:00
Marc Lehmann 5aa638392c see plug-ins/perl/Changes 1999-05-19 21:47:05 +00:00
Marc Lehmann 0a4686ed96 see plug-ins/perl/Changes 1999-05-19 21:42:31 +00:00
Tor Lillqvist 997a53b50a Distribute getopt.c and makefile.msc.
* Makefile.am: Distribute getopt.c and makefile.msc.

	* getopt.c makefile.msc: New files.

	* gcg.c lexer.l: Portability improvements for Win32.
1999-05-19 20:53:37 +00:00
Asbjørn Pettersen 4689f3c4d4 OS2 patches 1999-05-19 18:02:24 +00:00
Asbjørn Pettersen 3a9e48cf77 OS/2 patches. spawnl() 1999-05-19 17:49:07 +00:00
Manish Singh 2856d6a8c5 conflict leftover
-Yosh
1999-05-19 03:18:49 +00:00
Sven Neumann 6c8be248fe Bug fixes for the gap plug-in as provided by the author.
--Sven
1999-05-18 23:08:18 +00:00
Marc Lehmann cfce0c2be9 *** empty log message *** 1999-05-18 22:41:21 +00:00
Marc Lehmann 711e1c2279 see plug-ins/perl/Changes 1999-05-18 21:06:12 +00:00
Sven Neumann 05b59059d7 Dialog layout change.
--Sven
1999-05-18 20:54:33 +00:00
Asbjørn Pettersen 3c12b89ad2 os2 parches spawnl() 1999-05-18 18:30:16 +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
Raja R Harinath 978ada7246 Dummy rule, redirected to `gimpfeatures.h'. This should prevent building
* libgimp/Makefile.am (../libgimp/gimpfeatures.h): Dummy rule,
redirected to `gimpfeatures.h'.  This should prevent building
stuff twice when `gimpfeatures.h' changes.

Note: I've tested this lightly, but it seem the right thing to do.
Yosh & others -- do keep me posted if this causes problems.
1999-05-17 23:09:56 +00:00
Asbjørn Pettersen a0dba18433 os2 patches, popen and spawnlp 1999-05-17 12:27:10 +00:00
jaycox 5fa5aa706f ChangeLog: made previus changelog entry understandable.
ChangeLog: made previus changelog entry understandable.
1999-05-17 10:10:18 +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
Marc Lehmann a2d3aa603d see plug-ins/perl/Changes 1999-05-17 01:24:16 +00:00
Marc Lehmann d139fc9fc0 see plug-ins/perl/Changes 1999-05-17 00:45:25 +00:00
Marc Lehmann 713384cb2d see plug-ins/perl/Changes 1999-05-17 00:34:25 +00:00
Marc Lehmann 48f10148e2 *** empty log message *** 1999-05-16 23:41:05 +00:00
scott a128f7b369 Fixed a dumb typo reported on gimp-developer by Claes G. Lindblad.
* plug-ins/displace/displace.c (run): Fixed a dumb typo reported
on gimp-developer by Claes G. Lindblad.

-sg
1999-05-16 21:44:54 +00:00
Asbjørn Pettersen e409e57f31 add OS2 patches 1999-05-16 20:55:38 +00:00
Marc Lehmann e84bd1cfd3 *** empty log message *** 1999-05-16 20:22:33 +00:00
Marc Lehmann f032ea1c9e see plug-ins/perl/Changes 1999-05-16 20:01:15 +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