Commit Graph

1706 Commits

Author SHA1 Message Date
Sven Neumann e02eaeffce fixed a few PDB help strings and included a missing header file
--Sven
2000-03-25 19:18:07 +00:00
Sven Neumann 3a24f6d9b0 fixed bug 7744 and cleaned up libgimp
--Sven
2000-03-25 18:49:05 +00:00
Michael Natterer e85517dff8 found some typos
--Mitch
2000-03-25 18:19:40 +00:00
Michael Natterer 3e64ff6a1b new global variable "gimp_busy" which gets set/unset whenever busy cursors
2000-03-25  Michael Natterer  <mitch@gimp.org>

	* app/cursorutil.[ch]: new global variable "gimp_busy" which gets
	set/unset whenever busy cursors are added/removed.

	* app/info_dialog.c: register the info dialogs with the dialog
	handler.

	* app/fuzzy_select.[ch]: cleanups.

	Here starts the ugly workaround which simulates something like
	locking. If it works, it will close lots of bugs, if not, it's
	easy to remove again.

	So far, I didn't find strange side effects but Gimp is told to be
	a complex program :-) Please test this.

	* app/context_manager.c: don't allow tool changes if gimp_busy
	is TRUE.

	* app/disp_callbacks.c: don't allow mouse and key events in the
	display_canvas if gimp_busy is TRUE.
	(except if the current tool is FUZZY_SELECT and it is ACTIVE,
	 which is very ugly)
	Also block other stuff like dropping colors/patterns etc.

	* app/gdisplay_ops.c: don't close any display while Gimp is
	busy. This is not really what we want but at least it prevents
	crashes.
2000-03-25 18:17:01 +00:00
Stanislav Brabec b08f5860df i18n fix 2000-03-25 13:12:01 +00:00
Sven Neumann 8663dfbf4f chnanged color in install_dialog and applied gimp-simon-20000324-0 which fixes
bugs #3320 and #7069.


--Sven
2000-03-25 00:20:11 +00:00
Sven Neumann 5e069e7d7b clamp windows to screen and cascade multiple windows of the same type
--Sven
2000-03-24 22:10:28 +00:00
Michael Natterer de5268781e Makefile.am added removed
2000-03-24  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* gimp1_0_splash.ppm: added
	* gimp1_1_splash.ppm: removed

	* gimp_splash.ppm: the image formerly known as gimp1_1_splash.ppm

	* app/app_procs.c: load gimp_splash.ppm

	The idea if shearing the data_dir between Gimp versions has
	vanished, so this seems like the right thing to do (TM).

	Keep the 1.0 splash around for sentimental reasons but don't
	install it anymore.

	* plug-ins/common/autocrop.c: indentation paranoia.
2000-03-24 21:57:32 +00:00
Michael Natterer e1e5850745 pass FALSE to plug_in_proc_def_destroy() so the proc_def structure gets
2000-03-24  Michael Natterer  <mitch@gimp.org>

	* app/plug_in.c (plug_in_proc_def_remove): pass FALSE to
	plug_in_proc_def_destroy() so the proc_def structure gets actually
	freed.
2000-03-24 21:07:12 +00:00
Sven Neumann 99f85a4626 applied gimp-quinet-000308-0, gimp-quinet-000310-0 and gimp-quinet-000322-0
--Sven
2000-03-24 14:54:59 +00:00
Seth Burgess d9ea59d584 Another try at fixing shrink wrap for everybody...
Applied Thomas Koester's patch.  See #6947
2000-03-23 00:39:00 +00:00
Michael Natterer 919958e6b8 really cleaning up this time
--Mitch
2000-03-21 17:47:32 +00:00
Sven Neumann c6b6cd9d7a app/fileops.c when reverting an image, reconnect all affected views to the
* app/fileops.c
* app/gdisplay.[ch]: when reverting an image, reconnect all
  affected views to the reverted version. This fixes one of the
  bugs Tigert pointed out at GUADEC.

* app/gimage_mask.[ch]
* app/flip_tool.c: cleanups


--Sven & Mitch
2000-03-21 03:19:11 +00:00
Stanislav Brabec f10c926ff5 typo fix 2000-03-20 18:17:18 +00:00
jaycox 6735a7b613 Make sure we don't divide by zero in scale_region. Fixes bugs #4783 and
* app/paint_funcs.c:  Make sure we don't divide by zero in
 	scale_region.  Fixes bugs #4783 and #6907.
2000-03-18 02:44:35 +00:00
SHIRASAKI Yasuhiro 22634f1990 added missing argument for error message.
* app/text_tool.c: added missing argument for error message.

-- yasuhiro
2000-03-16 10:03:01 +00:00
Sven Neumann 10437eae05 Install dialog now works with themes and offers
interactive monitor calibration


--Sven & Mitch
2000-03-15 16:00:24 +00:00
Sven Neumann f1c203126b increased gimp_tile_cache to 32MB
minor fixes in install.c

sneaked a few changes into the po-files


--Sven & Mitch
2000-03-15 01:38:14 +00:00
Sven Neumann 4d20d8296b an eye_candy for new users
--Sven & Mitch
2000-03-14 23:06:21 +00:00
Sven Neumann 864fb49354 fixed bugs #7078 and #2291
--Sven
2000-03-12 01:34:45 +00:00
Sven Neumann 6feb0330a6 provided gimp_strescape() which is the glib-1.3 g_strescape function
added a default_comment which gets attached to all new images


--Sven
2000-03-12 00:17:30 +00:00
Sven Neumann 9912cf4bf2 translate branches in the gimp domain
--Sven
2000-03-11 13:49:16 +00:00
Sven Neumann 24bbdbef07 applied a bunch of patches:
Simon Budigs patch sent to the list Sun, 20 Feb 2000
gimp-kirchgessner-000217-0
gimp-cosmin-20000212
gimp-mattias-000227-0


--Sven
2000-03-10 17:27:25 +00:00
Sven Neumann c104ee5fda renamed "Custom from Editor" to "Custom Gradient" and added the
possibility to drop gradients onto the blend tooloptions to set
the blend mode and the gradient in one move.


--Sven
2000-03-10 01:57:10 +00:00
Andy Thomas a78e51c4fa Thu Mar 9 22:29:14 GMT 2000
* app/gimpimage.c

	An Images tattoos state can equal the highest tattoo in the image.
2000-03-09 22:41:19 +00:00
Sven Neumann d05156aa2a Ok, Undo History actually makes more sense in the Dialogs menu.
--Sven
2000-03-09 19:58:23 +00:00
Sven Neumann 5fc0b8a9c0 moved Undo History into the Edit menu next to Undo and Redo
--Sven
2000-03-09 19:45:52 +00:00
Sven Neumann 79757c8248 for indexed images set Index in the info_window to N/A if sample_merged or
* app/color_picker.c: for indexed images set Index in the info_window
  to N/A if sample_merged or sample_average is active.


--Sven
2000-03-09 13:02:11 +00:00
Sven Neumann ad55aef27e gimp_drawable_get_color_at() now silently returns NULL again if the
* app/gimpdrawable.c: gimp_drawable_get_color_at() now silently
returns NULL again if the coordinates are out of range. A lot of
code using this function relies on this feature and correctly
checks the return value. No need to emit critical warnings here.

The GTK_CHECK_TYPE macro test for obj != NULL, no need to do this
check twice. Removed lots of unnecessary calls to g_return_if_fail().

* app/color_picker.c: with the old behaviour of
gimp_drawable_get_color_at() the code is a bit simpler.

* app/fuzzy_select.c: fuzzy_select relied on drawable_offsets()
returning off_x = off_y = 0 if drawable == NULL. Decided to change
this here, fixes bug #7077.

* app/gimpimage.[ch]: Even though we made bad experiences with the
changes in gimpdrawable.c, I have introduced similar argument checks
here.

* app/image_map.c: indentation


--Sven
2000-03-09 11:58:03 +00:00
Sven Neumann ccfca2e1b5 fix it properly
--Sven
2000-03-08 22:53:20 +00:00
Sven Neumann dcb5c1f625 ooops, my latest commit broke LANG=C
--Sven
2000-03-08 22:39:14 +00:00
Sven Neumann 7a263f3f89 applied and heavily modified a patch from Daniel Egger.
* app/menus.c: applied and heavily modified a patch from Daniel Egger.

 There's not any more the need to declare menu branches unless we
 want to create empty submenus (to be filled in by plug-ins). Removes
 a bunch of messages from the catalogs.
 We do not longer put a seperator after submenus if the menu contains
 nothing but submenus.


--Sven
2000-03-08 20:57:49 +00:00
Tor Lillqvist 85f0393bae app/cursorutil.c (gtkutil_compress_motion) Guard against gdk_event_get
2000-03-08  Tor Lillqvist  <tml@iki.fi>

* app/cursorutil.c (gtkutil_compress_motion)
* app/edit_selection.c (process_event_queue_keys): Guard against
gdk_event_get returning NULL (which can happen at least on Win32).

* libgimp/gimp.def: Add a couple of new entry points.

* plug-ins/makefile.{cygwin,msc}: Update according to the source
file changes. Fix some typos in the .msc file.

Fixes by Hans Breuer:

* app/resize.c: Add some more includes.

* libgimp/gimpenv.c
* plug-ins/gflare/gflare.c: Win32 header lossage fixup.
2000-03-08 18:32:31 +00:00
Michael Natterer dd3b826942 show GIMP_BAD_CURSOR if we have no layers.
2000-03-07  Michael Natterer  <mitch@gimp.org>

	* app/disp_callbacks.C: show GIMP_BAD_CURSOR if we have no layers.

	Moved the closing bracket out of the GTK_HAVE_SIX_VALUATORS ifdefs
	(just to force emacs to do correct indentation).
2000-03-07 20:27:41 +00:00
Michael Natterer 5759a5fff6 immediate cursor_update feedback on modifier events.
2000-03-07  Michael Natterer  <mitch@gimp.org>

	* app/by_color_select.c: immediate cursor_update feedback on
	modifier events.

	* libgimp/gimpwidgets.c: one more s/private_tip/help_data/
2000-03-07 20:00:07 +00:00
Marc Lehmann 1d2b1fe87d *** empty log message *** 2000-03-05 02:29:55 +00:00
Michael Natterer 21e95fdf43 Makefile.am cursors/selection_move.xbm cursors/selection_move_mask.xbm new
2000-03-04  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* cursors/selection_move.xbm
	* cursors/selection_move_mask.xbm
	* app/cursorutil.[ch]: new cursor for moving the selection
	mask. Looks imho nicer than the ugly GDK_DIAMOND_CROSS.

	* app/move.c
	* app/rect_select.c: use the new cursor.

	* app/paint_core.c: check for the statusbar's context_id in the
	cursor_update function. Fixes gdk_criticals with the line preview
	(which doesn't need a mouse click). Minor cleanups.

	* app/tool_options.c: put the paint_pressure options in a
	GtkHWrapBox instead of a GtkHBox. Makes the size of the dialog a
	bit less locale-dependent.

	* plug-ins/common/xbm.c: use accessor functions instead of using
	the parasite's fields directly.
2000-03-05 00:06:11 +00:00
Manish Singh da1069cac2 I lied. Real 1.1.18 stuff
-Yosh
2000-03-04 03:39:19 +00:00
Michael Natterer 83bb5a38b8 s/"Only"/"only"/
2000-03-03  Michael Natterer  <mitch@gimp.org>

	* app/crop.c: s/"Only"/"only"/

	* app/iscissors.c: one more cursor_update fix. This time I don't
	claim that it's _really_ correct.

	* app/tool_options.c: don't add a separator after
	opacity/paint_mode if a paint pressure options box follows.

	* cursors/bad.xbm
	* cursors/bad_mask.xbm: made it FAT (no need to use thin lines
	which show as much as possible of the image below because the
	cursor indicates that no operation is possible).

	* libgimp/gimpprotocol.[ch]: s/int/gboolean/ where appopriate,
	indentation paranoia.

	_gp_*_read(): free the already allocated parts of the message if
	reading a subsequent part fails. These cleanups will probably occur
	shortly before the process crashes, but at least they make the
	search for real leaks easier.

	* plug-ins/common/uniteditor.c: some more tooltips.

	* plug-ins/common/xbm.c: store the image comment in the
	"gimp-comment" parasite and the hot spot in the new "hot-spot"
	parasite. Added ui for entering the hot spot.

	* docs/parasites.txt: documented the new "hot-spot" parasite.
2000-03-04 00:24:39 +00:00
Michael Natterer f4917054a9 this time cursor_update feedback is _really_ correct: for closed curves,
2000-03-03  Michael Natterer  <mitch@gimp.org>

	* app/iscissors.c: this time cursor_update feedback is _really_
	correct: for closed curves, show the "point" cursor if a mouse
	click will modify the curve and the "bad" cursor if a mouse click
	will do nothing. Seems it was not too hard to understand how it
	works...

	* plug-ins/common/uniteditor.c: for consistency, did a
	s/"Delete","Undelete"/"Don't Save","Save"/.
2000-03-03 13:01:49 +00:00
GMT 2000 Andy Thomas 26dac2d0c1 gimp/app/nav_window.c
Thu Mar  2 21:45:17 GMT 2000 Andy Thomas <alt@gimp.org>

        * gimp/app/nav_window.c

	The "follow display" nav window is now hidden when the
        last window is closed.
2000-03-02 22:06:27 +00:00
Michael Natterer 6e48bd16b7 Iscissors was using rect_select_cursor_update which is totally wrong since
2000-03-02  Michael Natterer  <mitch@gimp.org>

	* app/iscissors.c: Iscissors was using rect_select_cursor_update
	which is totally wrong since the oper_update_func tool method was
	introduced (in fact it didn't even give correct feedback before).

	Added oper_update_func, modifier_key_func, cursor_update_func for
	Iscissors which give correct cursor_update feedback now. The only
	remaining inconsistency occurs when a curve is closed: There's no
	way to find out if the mouse is over a control point/line or
	outside (without touching the Iscissors engine, which I didn't
	want to do because I don't understand how it works ;-).
2000-03-02 20:09:12 +00:00
Michael Natterer 6be08358fb s/"Fill Options"/"Fill Type"/
2000-03-02  Michael Natterer  <mitch@gimp.org>

	* app/channel_ops.c: s/"Fill Options"/"Fill Type"/

	* app/gimpparasite.c: removed _() around the parasiterc header.
2000-03-02 02:23:26 +00:00
Sven Neumann ea39b49cc8 fixed my latest "fix"
--Sven
2000-03-02 00:03:28 +00:00
Michael Natterer 9004346179 added a modifier_key_func which gives immediate cursor_update feedback on
2000-03-02  Michael Natterer  <mitch@gimp.org>

	* app/rect_select.[ch]: added a modifier_key_func which gives
	immediate cursor_update feedback on modifier key events.

	* app/ellipse_select.c
	* app/free_select.c
	* app/fuzzy_select.c
	* app/rect_selectP.h: call the new function.
	Added current_[x|y] fields to the tools' structures which get
	updated from the "motion" functions. They have to appear in the
	same order in all structures because the modifier_key_func treats
	them all as rectangular selection tools.
	This is ugly and cries for a object hierarchy of tools.
2000-03-01 23:22:43 +00:00
Michael Natterer a48c1d7065 gimp_drawable_get_color_at(): put the check below back but only require a
2000-03-01  Michael Natterer  <mitch@gimp.org>

	* app/gimpdrawable.c: gimp_drawable_get_color_at(): put the check
	below back but only require a non-indexed drawable if the drawable
	doesn't have an image.
	(The function may call gimp_image_get_color() with gimage == NULL
	for RGB and GRAY colors because we don't need a colormap to
	transform them to RGB space).
	This was the obscure special case (TM).
2000-03-01 22:05:22 +00:00
Michael Natterer c52aec7129 gimp_drawable_get_color_at(): don't g_return_val_if_fail(!indexed, NULL)
2000-03-01  Michael Natterer  <mitch@gimp.org>

	* app/gimpdrawable.c: gimp_drawable_get_color_at(): don't
	g_return_val_if_fail(!indexed, NULL) because the function seems to
	work fine for all kinds of drawables. Fixes #6756. Or is this
	check needed for some obscure special case?
2000-03-01 21:42:57 +00:00
Michael Natterer 723662a460 Makefile.am a proper naming scheme for all cursor files. Added zoom_in and
2000-03-01  Michael Natterer  <mitch@gimp.org>

	* Makefile.am
	* cursors/*: a proper naming scheme for all cursor files. Added
	zoom_in and zoom_out cursors.

	* app/bezier_select.c
	* app/by_color_select.c
	* app/cursorutil.[ch]
	* app/rect_select.c
	* app/scale.[ch]: changed according to the new cursor names. Some
	minor fixes.

	* app/magnify.[ch]: made the zoom_in/zoom_out toggle a proper
	tool_toggle and show cursors for the two modes.

	* plug-ins/print/print-util.c: patch from Robert Kravitz which
	fixes printing layers with alpha.
2000-03-01 19:32:41 +00:00
Sven Neumann ea6b48aaf6 removed ellipses from menu entries
--Sven
2000-02-29 23:49:43 +00:00
Michael Natterer 990a071c4b set <Image>/File/Revert... insensitive if the image has no filename.
2000-03-01  Michael Natterer  <mitch@gimp.org>

	* app/gdisplay.c: set <Image>/File/Revert... insensitive if the
	image has no filename.

	* plug-ins/common/uniteditor.c: minor fix.

2000-03-01  Michael Natterer  <mitch@gimp.org>

	* C/dialogs/layers/Makefile.am
	* C/dialogs/layers/index.html
	* C/dialogs/layers/apply_mask.html: removed.

	* C/layers/Makefile.am
	* C/layers/index.html
	* C/layers/apply_mask.html
	* C/layers/delete_mask.html: new files.
2000-02-29 23:32:39 +00:00