Commit Graph

3600 Commits

Author SHA1 Message Date
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
Kjartan Maraas 6d98023b8e Updated Norwegian translation.
2000-03-08  Kjartan Maraas  <kmaraas@online.no>

	* no.po: Updated Norwegian translation.
2000-03-08 19:35:55 +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
Tor Lillqvist 187f5812d2 Remove a bogus fuzzy indicator.
2000-03-08  Tor Lillqvist  <tml@iki.fi>

* fi.po: Remove a bogus fuzzy indicator.
2000-03-08 17:45:53 +00:00
Stanislav Brabec e8f7e40d8a czech translation update 2000-03-08 16:41:22 +00:00
SHIRASAKI Yasuhiro a8b4d3e51d updated and added japanese translation tables.
-- yasuhiro
2000-03-08 16:18:52 +00:00
Sven Neumann 241c472a34 updated german translation
--Sven
2000-03-08 14:37:55 +00:00
Sven Neumann 68b8ef2bbb various minor i18n fixes and a patch from Wolfgang Hofer
--Sven
2000-03-08 13:53:54 +00:00
GMT 2000 Adam D. Moss 1d0f24149b Type of written array should be unsigned, as that's the type of data we're
Wed Mar  8 12:40:53 GMT 2000  Adam D. Moss <adam@gimp.org>

        * plug-ins/common/xbm.c: Type of written array should
        be unsigned, as that's the type of data we're initializing
        it with.  Cast back to signed for passing to XCreateBitmapFromData()
        etc.
2000-03-08 12:51:00 +00:00
Michael Natterer 2124d1fb7f typo 2000-03-07 20:30:40 +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
SHIRASAKI Yasuhiro bb694f9ce9 added missing $(MAILER) to CPPFLAGS for mail plugin.
* plug-ins/common/Makefile.am: added missing $(MAILER)
        to CPPFLAGS for mail plugin.

-- yasuhiro
2000-03-07 04:21:51 +00:00
Stanislav Brabec 12b1375c54 czech translation update 2000-03-06 21:37:01 +00:00
David Monniaux 1f04f5f976 Completed translation. 2000-03-06 16:51:35 +00:00
David Monniaux 8e02e02112 Completed. 2000-03-06 16:26:04 +00:00
David Monniaux 1b57d3757a Some fuzzy translation is not fuzzy at all. 2000-03-06 16:05:47 +00:00
David Monniaux 8f31a7c044 Bugfix. 2000-03-06 15:54:07 +00:00
David Monniaux d788ca1a81 IFS Compose 2000-03-06 15:48:50 +00:00
David Monniaux 68c5d27df6 Clearer with Zoom + / -. 2000-03-06 15:29:23 +00:00
David Monniaux a9bdbcdcef Completed French translation. 2000-03-06 15:26:07 +00:00
Michael Natterer ecaea6bd07 namespace consistency: s/private_tip/help_data/
2000-03-06  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpwidgets.[ch]:
	namespace consistency: s/private_tip/help_data/
2000-03-06 13:04:15 +00:00
Sven Neumann 6a94f77b56 a whole bunch of i18n
--Sven
2000-03-06 09:39:41 +00:00
Manish Singh 73128a4edd need GPlugInInfo struct for the link test too (patch by Robert Krawitz
* gimp.m4: need GPlugInInfo struct for the link test too (patch by Robert
Krawitz <rlk@alum.mit.edu>)

-Yosh
2000-03-05 21:21:43 +00:00
David Monniaux 5501ceb84c Again and again... 2000-03-05 18:16:51 +00:00
David Monniaux 42b72e6729 Fixed some incorrect fuzzy translations. 2000-03-05 16:19:26 +00:00
David Monniaux a986944309 Gimpressionnist 2000-03-05 10:47:42 +00:00
Marc Lehmann 1d2b1fe87d *** empty log message *** 2000-03-05 02:29:55 +00:00
Marc Lehmann 269fb049ad see plug-ins/perl/Changes 2000-03-05 02:27:37 +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
Marc Lehmann 62f41ebf05 see plug-ins/perl/Changes 2000-03-04 22:54:29 +00:00
David Monniaux 61a6b7d1fc Gimpressionnist... 2000-03-04 21:29:16 +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
Tor Lillqvist 5c4c51d24c Updates.
2000-03-04  Tor Lillqvist  <tml@iki.fi>

* fi.po: Updates.
2000-03-03 23:35:36 +00:00
Manish Singh ffe712e6ee 1.1.18 stuff
-Yosh
2000-03-03 23:18:02 +00:00
Michael Natterer 024b0d0597 fixed a memleak: free the message's name before freeing the message
2000-03-03  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpprotocol.c (_gp_proc_return_destroy): fixed a
	memleak: free the message's name before freeing the message itself.
2000-03-03 13:37:23 +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
Marc Lehmann 83e8cf3609 *** empty log message *** 2000-03-02 22:29:29 +00:00
Marc Lehmann 3cb889f33d see plug-ins/perl/Changes 2000-03-02 22:25:25 +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
Stanislav Brabec 04acd67f8b czech translation update 2000-03-02 21:04:25 +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
Stanislav Brabec 2b1a1cf9bb czech translation update 2000-03-02 09:06:24 +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