Commit Graph

1791 Commits

Author SHA1 Message Date
Michael Natterer 5948e2ab51 app/fileops.c return silently from save/save_as and grey out the menu
2000-05-08  Michael Natterer  <mitch@gimp.org>

	* app/fileops.c
	* app/gdisplay.c: return silently from save/save_as and grey out
	the menu entries if there is no active drawable. Fixes #10239.
2000-05-08 00:40:10 +00:00
Michael Natterer f034d23e0e put the ops_buttons box into the action_area. Makes the dialog smaller.
2000-05-08  Michael Natterer  <mitch@gimp.org>

	* app/docindex.c (open_idea_window): put the ops_buttons box
	into the action_area. Makes the dialog smaller.
2000-05-07 23:42:23 +00:00
Sven Neumann dc5da262a3 in Image/Filters move all entries that are not submenus to the top of the
* app/menus.c: in Image/Filters move all entries that are not
  submenus to the top of the menu.

* app/plug_in.c: order all plugin menu-entries alphabetically
  (in the current locale) before sending them to menus.c.

* plug-ins/script-fu/script-fu-scripts.c: order all script-fu
  menu-entries alphabetically (in the current locale) before
  registering them.

* plug-ins/script-fu/script-fu.c: minor cleanups

* plug-ins/bmp/bmpread.c
* plug-ins/bmp/bmpwrite.c
* plug-ins/xjt/xjt.c: strings used with g_message do not need
  a trailing newline


--Sven
2000-05-07 22:04:51 +00:00
Michael Natterer 031e3dea86 app/app_procs.c named all public functions document_index_*(). Don't
2000-05-07  Michael Natterer  <mitch@gimp.org>

	* app/app_procs.c
	* app/docindex.[ch]: named all public functions document_index_*().
	Don't loop/segfault when opening an old "ideas" file but silently
	skip the first line.

	* app/fileops.[ch]: do some file access sanity checks before
	actually calling the load/save proc. Show the full file name
	in all error messages. Use a query_boolean_box for the overwrite
	warning. Made file_save() static.
	Also copied some Win32 #define's from libgimp/gimpenv.c for the
	file access stuff. Tor, could you have a look at them please?
2000-05-07 17:47:24 +00:00
Sven Neumann a907871937 gimprc.in gimprc.win32 set default image size back to 256x256, default to
* gimprc.in
* gimprc.win32
* app/gimprc.c: set default image size back to 256x256, default
to local paint options and info-window-follows-mouse.

* app/brightness_contrast.c
* app/docindex.c
* app/hue_saturation.c: picky changes on some labels.

* app/tips_dialog.c: applied (sort of) gimp-quinet-20000504-0,
which replaces the message "Show tip next time" in the
Tip Of The Day dialog with "Show tip next time GIMP starts".


--Sven
2000-05-07 10:06:27 +00:00
Michael Natterer b3b571117f no need to reorder <Image>/Script-Fu twice.
2000-05-06  Michael Natterer  <mitch@gimp.org>

	* app/menus.c (menus_reorder_plugins): no need to reorder
	<Image>/Script-Fu twice.

	* app/docindex.c: replaced the toolbar by an ops_buttons box.
	Also default to opening the file instead of rising an already
	open display.
2000-05-06 19:25:53 +00:00
Michael Natterer dfbbe8a925 new public function gimp_dnd_file_dest_set(). Moved the file/url dnd stuff
2000-05-06  Michael Natterer  <mitch@gimp.org>

	* app/gimpdnd.[ch]: new public function gimp_dnd_file_dest_set().
	Moved the file/url dnd stuff from interface.c to gimpdnd.c.

	* app/docindex.c
	* app/interface.c: use the function from gimpdnd.
2000-05-06 17:03:44 +00:00
Michael Natterer 000090ee2f po/POTFILES.in app/Makefile.am removed because it was not doing core/ui
2000-05-06  Michael Natterer  <mitch@gimp.org>

	* po/POTFILES.in
	* app/Makefile.am
	* app/docindexif.[ch]: removed because it was not doing core/ui
	separation at all. UI functions were randomly scattered across
	both files.

	* app/app_procs.c
	* app/docindex.[ch]: swallow all functions from docindex.c,
	removed functions which were called just once, replaced the
	tree by a list. Actually raise displays of already open images.
	When opening a file which is already in the list, move it's entry
	to the top; this way the toolbox' last_opened list finally works
	as expected.
2000-05-06 16:35:21 +00:00
Michael Natterer 9bad5d7482 the "delete_event" callback should always do the same as the "Close"
2000-05-05  Michael Natterer  <mitch@gimp.org>

	* app/docindex.c: the "delete_event" callback should always do
	the same as the "Close" callback.
2000-05-05 15:21:56 +00:00
Michael Natterer c53bbcab1b Made the document index a bit more like the rest of the dialogs:
2000-05-05  Michael Natterer  <mitch@gimp.org>

	Made the document index a bit more like the rest of the dialogs:

	* app/commands.[ch]
	* app/menus.c: added a cmd_callback instead of calling a function
	in docindex.c directly.

	* app/gimprc.c
	* app/session.[ch]: added proper session management.

	* app/app_procs.c
	* app/docindex.[ch]
	* app/docindexif.[ch]: removed another bunch of useless variables
	and functions. Removed the status bar because it was not telling
	very useful stuff. Removed the window position/size from the
	"ideas" file.

	Note: you have to either remove your ~/.gimp-1.1/ideas file or
	remove it's first line or experience a nice endless loop :)
2000-05-05 14:53:38 +00:00
Michael Natterer 53238ebc28 app/docindex.[ch] call dialog_[un]register(). Fixes #10284. Also removed
2000-05-05  Michael Natterer  <mitch@gimp.org>

	* app/docindex.[ch]
	* app/docindexif.[ch]: call dialog_[un]register(). Fixes #10284.
	Also removed some useless stuff.

	* app/gdisplay_color_ui.c
	* modules/cdisplay_gamma.c
	* modules/cdisplay_highcontrast.c: call dialog_[un]register().
2000-05-05 13:29:46 +00:00
Jay Cox 9f1ec1a13d try to minimize the overhead of multiprocessor support. This should fix
2000-05-05  Jay Cox  <jaycox@earthlink.net>

	* app/pixel_processor.c: try to minimize the overhead of
	multiprocessor support.  This should fix bug #9296
	but it has not been tested on a dual processor machine.
2000-05-05 01:15:39 +00:00
Michael Natterer 4517b8746d removed layers_dialog_idle_set_layer_focus() because Wolfgang pointed out
2000-05-03  Michael Natterer  <mitch@gimp.org>

	* app/layers_dialog.c: removed layers_dialog_idle_set_layer_focus()
	because Wolfgang pointed out that it caused bad segfaults. This
	fixes #10139 and #9844. OTOH this brings back the bug that the
	active layers is sometimes not the selected one in the layers
	dialog, grmpf.

	* plug-ins/script-fu/script-fu-scripts.c: small cleanups.

	* plug-ins/gap/README
	* plug-ins/gap/gap_exchange_image.c
	* plug-ins/gap/gap_lib.[ch]
	* plug-ins/gap/gap_main.c
	* plug-ins/gap/gap_mov_dialog.[ch]
	* plug-ins/gap/gap_mov_exec.[ch]
	* plug-ins/gap/gap_navigator_dialog.c: applied a patch from
	Wolfgang Hofer <hof@hotbot.com>.
2000-05-03 13:14:32 +00:00
Michael Natterer 268902c6b5 app/main.c as noticed by Garry, Tim, Raphael and probably many others, my
2000-05-02  Michael Natterer  <mitch@gimp.org>

	* app/main.c
	* libgimp/gimp.c: as noticed by Garry, Tim, Raphael and probably
	many others, my latest signal change introduced a Linuxism
	which doesn't compile on any other UNIX system, eek.
	s/SA_NOMASK/SA_NODEFER/ makes it compile and is hopefully
	the last chapter in this saga.
2000-05-02 17:18:27 +00:00
Manish Singh e35436426b applied gimp-quinet-000427-0, draw the straight line preview in the center
* app/paint_core.c: applied gimp-quinet-000427-0, draw the straight
line preview in the center of the start and end pixels at high zoom
levels.

-Yosh
2000-05-01 18:10:20 +00:00
Michael Natterer 1c1c182074 app/main.c again... _do_ use gimp_signal_private() but force it to behave
2000-05-01  Michael Natterer  <mitch@gimp.org>

	* app/main.c
	* libgimp/gimp.c: again... _do_ use gimp_signal_private() but
	force it to behave like signal(). While on Linux it seems to
	be ok to use both signal() and sigaction() (because signal() is
	built on top of sigaction()), doing the same on other systems
	is totally broken code. Thanks to Garry for pointing out this
	portability issue.

	* app/errors.c: s/vprintf/g_strdup_vprintf/

	* libgimp/gimpsignal.[ch]: code formating paranoia.
2000-05-01 14:57:54 +00:00
Michael Natterer ef751a454d gimprc.in replaced "color-cube" by "min-colors".
2000-04-30  Michael Natterer  <mitch@gimp.org>

	* gimprc.in
	* app/gimprc.[ch]: replaced "color-cube" by "min-colors".

	* app/app_procs.c: read unitrc/gimprc before displaying the splash.

	* app/colormaps.c: set min_colors and install_cmap before
	initializing GdkRGB.

	* app/gimprc.[ch]
	* app/gimpunit.c: don't call the splash's progress_update function.

	* app/plug_in.c: pass min_colors instead of color_cube to plugins.

	* app/preferences_dialog.c: widget for min_colors.

	* libgimp/gimp.[ch]: s/color_cube/min_colors/ but left
	gimp_color_cube() there for source level compatibility.

	* libgimp/gimpprotocol.[ch]: changed the GPConfig message
	accordinly and increased the gimp protocol version number because
	the change breaks binary compatibility. Also actually pass the
	use_xshm variable over the wire (was only in the GPConfig struct
	before).

	Was it the right thing to do to increase the version number??

	* libgimp/gimpui.c (gimp_ui_init): use the same code as the app
	for initializing GdkRGB. Never explicitly activate Gdk's SHM
	usage (only switch it off).

	* app/main.c
	* libgimp/gimp.c: reverted the handling of all signals except
	SIGCHLD back to plain old signal() because those signals are
	fatal anyway and sigaction() as used by gimp_signal_*() made
	debugging (stacktrace) impossible.

	* plug-ins/AlienMap/AlienMap.c
	* plug-ins/AlienMap2/AlienMap2.c
	* plug-ins/FractalExplorer/Dialogs.c
	* plug-ins/bmp/bmp.c
	* plug-ins/borderaverage/borderaverage.c
	* plug-ins/dbbrowser/dbbrowser.c
	* plug-ins/faxg3/faxg3.c
	* plug-ins/fits/fits.c
	* plug-ins/flame/flame.c
	* plug-ins/fp/fp.c
	* plug-ins/fp/fp_gtk.c
	* plug-ins/gdyntext/Makefile.am
	* plug-ins/gdyntext/gdyntext_ui.c
	* plug-ins/gfig/gfig.c
	* plug-ins/gflare/gflare.c
	* plug-ins/gfli/gfli.c
	* plug-ins/gimpressionist/gimpressionist.c
	* plug-ins/helpbrowser/helpbrowser.c
	* plug-ins/ifscompose/ifscompose.c
	* plug-ins/imagemap/Makefile.am
	* plug-ins/imagemap/imap_main.c
	* plug-ins/maze/maze_face.c
	* plug-ins/mosaic/mosaic.c
	* plug-ins/pagecurl/pagecurl.c
	* plug-ins/print/print.c
	* plug-ins/rcm/rcm_dialog.c
	* plug-ins/script-fu/script-fu-console.c
	* plug-ins/script-fu/script-fu-scripts.c
	* plug-ins/script-fu/script-fu-server.c
	* plug-ins/sel2path/Makefile.am
	* plug-ins/sel2path/sel2path.c
	* plug-ins/sgi/sgi.c
	* plug-ins/sinus/sinus.c
	* plug-ins/struc/struc.c
	* plug-ins/webbrowser/webbrowser.c
	* plug-ins/winsnap/winsnap.c
	* plug-ins/xjt/xjt.c: use gimp_ui_init().

	* plug-ins/Lighting/lighting_ui.c
	* plug-ins/MapObject/mapobject_ui.c: only switch Gdk SHM usage off,
	never on. Don't use gimp_ui_init() here because of libgck.
2000-04-30 18:17:55 +00:00
Garry R. Osgood ab4e420026 app/main.c libgimp/gimpsignal.c [Documentation only] Patches arising from
2000-04-30 Garry R. Osgood <gosgood@idt.net>
* app/main.c
* libgimp/gimpsignal.c [Documentation only]
Patches arising from Tim Mooney to fix #2742
which should (hopefully) die at this point.
removes on_sig_chld() from app/main() which
offers no meaningful functionality in light
of SA_NOCHLDSTOP.
2000-04-30 17:47:32 +00:00
Sven Neumann c1d23aa596 moved the OS/2 define for finite into libgimp/gimpmath.h
--Sven
2000-04-30 13:37:28 +00:00
jaycox 2ba5ae4c24 Fix the end of group check in gimage_mask_stroke. This fixes bug #8699
* app/gimage_mask.c: Fix the end of group check in
	gimage_mask_stroke.  This fixes bug #8699
2000-04-29 22:00:27 +00:00
Asbjørn Pettersen 71809d8a21 os2 finite patch 2000-04-29 19:50:08 +00:00
jaycox ce4234b2a6 Correctly initialize the max arrays in thin_region. Fixes bug #8351 return
* app/paint_funcs.c: Correctly initialize the max arrays in
        thin_region. Fixes bug #8351
        * app/scale.c: return from the channel_scale function if we
        tried to zoom in/out too far.  This prevents some
        unnecessary display redraws.
2000-04-28 23:59:40 +00:00
Michael Natterer c73b233f8a app/color_select.c app/colormaps.[ch] removed unused global variables
2000-04-26  Michael Natterer  <mitch@gimp.org>

	* app/color_select.c
	* app/colormaps.[ch]
	* app/context_manager.c: removed unused global variables
	[foreground|background]_pixel and [old|new]_color_pixel.

	Initialize the colormap and visual stuff with GdkRGB instead of
	GtkPreview functions (which are deprecated).

	* app/[62 files]: removed #include's (started with colormaps.h and
	couldn't stop). Also ordered them consistently and did some small
	unrelated cleanups.
	Removed variuos <stdlib.h> et.al. but checked the files carefully
	before doing so. If I was too radical and you get warnings on your
	platform, please flame me or just put them back :)
2000-04-27 17:27:28 +00:00
Michael Natterer 4c24479a58 app/gdisplay.[ch] made the warning_dialog a per-display variable. The old
2000-04-26  Michael Natterer  <mitch@gimp.org>

	* app/gdisplay.[ch]
	* app/gdisplay_ops.c: made the warning_dialog a per-display
	variable. The old behaviour of having only one global variable
	can easily result in loss of work and should IMHO be considered
	a bug.
2000-04-26 21:04:35 +00:00
Michael Natterer f084945e77 when reading PROP_UNIT, check it's value against the number of built-in
2000-04-26  Michael Natterer  <mitch@gimp.org>

	* app/xcf.c (xcf_load_image_props): when reading PROP_UNIT, check
	it's value against the number of built-in units, not against the
	number of defined units.
2000-04-26 19:30:37 +00:00
Michael Natterer ba7c2c8a3d removed C++ comments (#9444).
2000-04-26  Michael Natterer  <mitch@gimp.org>

	* app/paint_funcs.c: removed C++ comments (#9444).
2000-04-26 00:20:52 +00:00
Michael Natterer 3ed7073f9a fill empty "default" with a "break" (#9431). g_path_is_absolute wants a
2000-04-26  Michael Natterer  <mitch@gimp.org>

	* app/free_select.c: fill empty "default" with a "break" (#9431).
	* libgimp/gimpenv.c: g_path_is_absolute wants a parameter (#9400).
2000-04-26 00:17:54 +00:00
Sven Neumann 32f37d07f4 (hopefully) fixed a buffer overflow pointed
out by Oleg V. Andrjushenko <oandr@itec.cn.ua>


--Sven
2000-04-25 12:32:10 +00:00
Michael Natterer 8018d99e22 fixed the "Resize Canvas" segfault.
2000-04-24  Michael Natterer  <mitch@gimp.org>

	* app/commands.c: fixed the "Resize Canvas" segfault.
2000-04-24 18:40:40 +00:00
Michael Natterer 0a12a522a8 Happy Easter!
--Mitch
2000-04-24 18:32:42 +00:00
Sven Neumann f2c3ad960c added transform_2d PDB procedure as suggested
by David Hodson <hodsond@ozemail.com.au>


--Sven
2000-04-24 15:22:57 +00:00
Tor Lillqvist 2041747fc6 Add gimp_ui_init.
2000-04-23  Tor Lillqvist  <tml@iki.fi>

* libgimp/gimpui.def: Add gimp_ui_init.

* libgimp/makefile.{cygwin,msc} (gimpui_OBJECTS): Add gimpui.

* app/makefile.{cygwin,msc}
* plug-ins/makefile.{cygwin,msc}: New installation directory.

* app/datafiles.c (is_script): Must not g_free() value returned by
g_getenv().

* plug-ins/gdyntext/font_selection.c: Don't include gdkx.h with
GTk+ 1.3.
2000-04-23 20:27:41 +00:00
Sven Neumann 763e495d06 cleaned up the messy spanish translation someone added
fixed compiler warnings, changed some gints to gbooleans

cleaned up namespace and documentation

updated libgimp documentation



--Sven
2000-04-22 19:46:23 +00:00
Garry R. Osgood 0b0742afdc app/bezier_select.c Closes the most recent bezier segfault report; about
2000-04-22 Garry R. Osgood <gosgood@idt.net>
* app/bezier_select.c
Closes the most recent bezier segfault report;
about plotting anchor points on- and off-image.
unable to cite because bugs.gnome.org is not
well. Andrew Thomas handled the only other
buglet I'm aware of at this time.
2000-04-22 18:48:51 +00:00
BST 2000 dfb76fdb64 app/bezier_select.c
Sat Apr 22 14:01:06 BST 2000 <alt@gimp.org>

	* app/bezier_select.c

	Fixed problem pointed out by Garry R. Osgood (manipulating
	control points where curve is closed). Thanks
	again Garry for pointing it out.
2000-04-22 13:09:44 +00:00
Sven Neumann 22a86c79d0 cleaned up the messy spanish translation someone added
fixed compiler warnings, changed some gints to gbooleans

cleaned up namespace and documentation

updated libgimp documentation



--Sven
2000-04-21 16:42:11 +00:00
Garry R. Osgood e079a173fc app/main.c libgimp/Makefile.am libgimp/gimp.c libgimp/gimpsignal.c (New )
2000-04-21 Garry R. Osgood <gosgood@idt.net>
* app/main.c
* libgimp/Makefile.am
* libgimp/gimp.c
* libgimp/gimpsignal.c (New )
* libgimp/gimpsignal.h (New )
Patch by Austin Donnelly <austin@gimp.org> to
address #2742. (I took the liberty of moving it to
libgimp for general consumption, & fixed a typo)
Thanks due to Tim Mooney
<mooney@dogbert.cc.ndsu.nodak.edu> for testing
this on various flavors of OSF/1 boxes where
#2742 seemed especially common.
2000-04-21 16:42:11 +00:00
Michael Natterer f622c86817 gimprc.in default to restore_session == TRUE so first time users really
2000-04-20  Michael Natterer  <mitch@gimp.org>

	* gimprc.in
	* app/gimprc.c: default to restore_session == TRUE so first time
	users really see the automatically opened dialogs.

	* app/session.[ch]: also open "Tool Options" if no sessionrc
	exists. Moved the harcoded initial positions away from the top and
	left edges of the screen to avoid dialogs which appear underneath
	panels. Also arranged the four default dialogs non-overlapping.
2000-04-20 17:09:41 +00:00
Michael Natterer 63dc6ed333 app/fuzzy_select.c app/selection_options.h moved the "Threshold" scale
2000-04-20  Michael Natterer  <mitch@gimp.org>

	* app/fuzzy_select.c
	* app/selection_options.h
	* app/tool_options.c: moved the "Threshold" scale from the fuzzy
	select options to the selection options structure, so none of the
	selection tools needs it's own tools options structure.

	* app/bucket_fill.c: moved "Threshold" after "Sample Merged" as in
	the fuzzy select options.
2000-04-20 15:57:13 +00:00
Michael Natterer 236e4856c0 app/bucket_fill.c app/by_color_select.c app/fuzzy_select.c made the
2000-04-19  Michael Natterer  <mitch@gimp.org>

	* app/bucket_fill.c
	* app/by_color_select.c
	* app/fuzzy_select.c
	* app/preferences_dialog.c: made the "default_threshold" gimprc
	variable work as advertized:

	- initialize the thresholds with it.
	- use it for "Reset".
	- added a widget to the "Tool Options" preferences page.
	- noticed that the "Reset" button of "By Color Select" doesn't
	  behave like all the other "Reset" buttons and changed it to
	  reset the ui, not the selection.
	  (There is now a "None" button and because it was so trivial, I
	  couldn't resist to add "All" and "Invert" buttons, too)

	* libgimp/Makefile.am
	* libgimp/gimpui.c: new file.
	* libgimp/gimpui.h: new function gimp_ui_init() which will be
	called by all plugins which have a ui (not only by those with a
	preview because plugins should always follow gimp's colormap
	installation policy).

	Could someone please check if the FIXME stuff in the function
	is the right thing to do (TM). Does GdkRGB allocate the correct
	colors for the widgets in all cases or do we have to find another
	way to ensure this across processes (gtk instances)?
2000-04-19 14:02:05 +00:00
Michael Natterer d03906ed9e Creating the user's gimp directory may take some time on NFS, so users may
2000-04-18  Michael Natterer  <mitch@gimp.org>

        * app/user_install.c: Creating the user's gimp directory may take
        some time on NFS, so users may be tempted to press the "Continue"
        button again.
        Inform the user that this step may take some time and set the
        "Continue" and "Cancel" buttons insensitive until finished.
2000-04-18 15:04:30 +00:00
Michael Natterer 085f9b6e55 block all canvas events while resizing the display so the standard canvas
2000-04-16  Michael Natterer  <mitch@gimp.org>

	* app/gdisplay_ops.c (gdisplay_shrink_wrap): block all canvas
	events while resizing the display so the standard canvas "expose"
	and "configure" handlers are not called.
	This optimization is valid because shrink_wrap's caller has to do
	a full recalculation and expose of the gdisplay anyway.
	For the same reason, I removed the calls to gdisplay_expose_full()
	and bounds_checking() from shrink_wrap.

	This should also fix the double exposes Austin reported some time
	ago. I hope it does not re-break yesterday's fix :)

	* app/gdisplay_ops.[ch]: removed unused function
	gdisplay_resize_image().

	* app/scale.c (resize_display): do a full expose if one of the
	"resize_display" or "redisplay" parameters is TRUE.
2000-04-16 12:38:44 +00:00
jtl 5c816c6b38 *** empty log message *** 2000-04-16 12:10:24 +00:00
Michael Natterer 89d3e0d8ef after resizing the display, check if the window manager placed it
2000-04-15  Michael Natterer  <mitch@gimp.org>

	* app/gdisplay_ops.c (gdisplay_shrink_wrap): after resizing the
	display, check if the window manager placed it offscreen and
	center it in that case.
2000-04-15 20:08:04 +00:00
Michael Natterer 554b9a344e s/0/FALSE/
2000-04-15  Michael Natterer  <mitch@gimp.org>

	* app/disp_callbacks.c: s/0/FALSE/

	* app/gdisplay_ops.c (gdisplay_shrink_wrap): removed all the
	gtk_drawing_area_size(), show/hide and gtk_main_iteration() stuff
	and don't touch the drawing area at all.

	Instead, use brute force on gdisp->shell:
	1. gtk_widget_size_allocate(gdisp->shell)
	2. gdk_window_resize(gdisp->shell->window)

	(tested with Sawmill, Enlightenment and twm)
2000-04-15 16:00:19 +00:00
Michael Natterer 1226dc6c13 when re-drawing a dirty brush, clear it's preview area first.
2000-04-14  Michael Natterer  <mitch@gimp.org>

	* app/brush_select.c: when re-drawing a dirty brush, clear it's
	preview area first.
2000-04-14 16:33:47 +00:00
Michael Natterer 74156c69bd one more fix... 2000-04-13 00:38:04 +00:00
Michael Natterer b88a1ff1ff push an undo group when adding horizontal and vertical guides with
2000-04-13  Michael Natterer  <mitch@gimp.org>

	* app/measure.c: push an undo group when adding horizontal and
	vertical guides with Ctrl+Alt.
2000-04-13 00:23:10 +00:00
Sven Neumann 9a55c77635 use GIMP_HAVE_PARASITES instead of _PARASITES_H, which wasn't defined
* plug-ins/common/gif.c: use GIMP_HAVE_PARASITES instead of
_PARASITES_H, which wasn't defined anymore. Makes comment
parasites work with GIFs again.

* app/measure.c: pressing ALT anywhere outside the handles allows
to move the measure lines.


--Sven
2000-04-12 21:21:36 +00:00
Tor Lillqvist cfab7a9aa3 The stat() function in the Win32 C runtime doesn't like if directory names
2000-04-11  Tor Lillqvist  <tml@iki.fi>

* libgimp/gimpenv.c (gimp_path_get_user_writable_dir): The stat()
function in the Win32 C runtime doesn't like if directory names
have an extra G_DIR_SEPARATOR suffixed. Remove such before calling
stat(). Those extra (back)slashes are added by for instance
gimp_path_parse(). Document that feature of gimp_path_parse().

* libgimp/gimputils.c (gimp_strescape): Correct documentation for
gimp_strescape(). The semantics of the exceptions parameter was
documented backwards. Clarify what the function does.

* plug-ins/gfig/gfig.c (plug_in_parse_gfig_path)
* plug-ins/FractalExplorer/FractalExplorer.c
(plug_in_parse_fractalexplorer_path)
* plug-ins/gflare/gflare.c (plug_in_parse_gflare_path,
gflare_save): Use painstakingly correct platform-specific
directory and search path separators, and escaped with
gimp_strescape when displayed as part of a gimprc entry.

* app/gimphelp.c: No debug messages on Win32, thanks.
2000-04-11 18:39:31 +00:00