Commit Graph

2280 Commits

Author SHA1 Message Date
Pablo Saratxaga
832178099c fixed chars 2001-03-15 10:49:58 +00:00
Pablo Saratxaga
e7b447e89d updated Azeri file 2001-03-15 09:12:56 +00:00
Owen Taylor
296abc67a4 Make somewhat more safe on broken libcs, also add a g_return_if_fail() to
Thu Mar 15 01:31:07 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkim.c (_gdk_wcstombs_len): Make somewhat more
	safe on broken libcs, also add a g_return_if_fail()
	to make the failure case when we somehow get a
	string of invalid wide characters more clear.
	(#51644, Sergey Vlasov)
2001-03-15 06:54:43 +00:00
Owen Taylor
c6351975cd Fix problem in testing the result of g_get_home_dir(), and test the result
Thu Mar 15 01:05:49 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c (gtk_rc_add_initial_default_files): Fix
	problem in testing the result of g_get_home_dir(),
	and test the result of g_get_home_dir() in another
	place for consistency. (#51833). Also fix off-by-one
	error in check against GTK_RC_MAX_MODULE_PATHS.
2001-03-15 06:25:54 +00:00
Owen Taylor
560b7a063d head -n 7 ChangeLog 2001-03-15 05:45:28 +00:00
Owen Taylor
f1fd0af53b Fix missed equal_pos => option for --with-xinput=gxi. (Which is broken
Wed Mar 14 23:38:23 2001  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdk.c (gdk_init_check): Fix missed equal_pos => option
        for --with-xinput=gxi. (Which is broken anyways, but
        oh well...) (#51973)

        * gtk/gtkeditable.c (gtk_editable_get_event_time): Fix excess free
        in case where there is no current event. (#51889)

        * gtk/gtkwindow.[ch]: Handle focus for the case of
        PointerRoot (no window manager) by using algorithm taken
        from xterm.
2001-03-15 04:39:32 +00:00
Valek Frob
1b5b657065 Small fix. 2001-03-14 14:26:40 +00:00
Pablo Saratxaga
047ccde819 added Vietnamese file 2001-03-13 01:49:17 +00:00
Andraz Tori
2af348b786 Updated Slovenian translation 2001-03-11 22:10:48 +00:00
Pablo Saratxaga
c38487ceaa Updated Serbian files 2001-03-10 14:26:44 +00:00
Pablo Saratxaga
957ce8e00f converted az.po to 8bit encoding 2001-03-09 16:22:21 +00:00
Christian Meyer
4dd7cd5b52 Revised German translation. 2001-03-08 03:53:09 +00:00
Owen Taylor
4390744d27 Only check the ignore_enter flag for the menu shell that the item is
Mon Mar  5 16:38:15 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): Only
	check the ignore_enter flag for the menu shell that
	the item is actually a child of, not for attached
	submenus. (#51536)
2001-03-05 21:52:22 +00:00
Owen Taylor
91df70d81b Release 1.2.9
Fri Mar  2 12:35:40 2001  Owen Taylor  <otaylor@redhat.com>

	* Release 1.2.9

        * NEWS: Final update for 1.2.9

	* INSTALL INSTALL.in: Add note about the movement of
	the include files.
GTK_1_2_9
2001-03-02 20:01:07 +00:00
Fatih Demir
063048efbf Hmm 2001-03-02 18:40:45 +00:00
Fatih Demir
288466d601 Added tr ... 2001-03-02 18:36:42 +00:00
Fatih Demir
5452736fea Added Turkish translation 2001-03-02 18:32:24 +00:00
Andraz Tori
5c168016eb Updated Slovenian translation 2001-03-01 23:03:13 +00:00
Christian Rose
1d95034b88 Updated Swedish translation. 2001-03-01 10:51:56 +00:00
Owen Taylor
97e83dbccb Never make harmless warning fixes! :-(
Thu Mar  1 04:35:51 2001  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwidget.c (gtk_widget_class_init): Never make harmless
        warning fixes! :-(
2001-03-01 09:40:38 +00:00
Christophe Merlet
30e80df2f7 Updated French translation. 2001-03-01 09:09:01 +00:00
Owen Taylor
ea0c710884 Fix the .in files, add note about --with-native-locale.
Wed Feb 28 21:14:08 2001  Owen Taylor  <otaylor@redhat.com>

	* README.in INSTALL.in: Fix the .in files, add note
	about --with-native-locale.

	* */po/*: Line-number-creepage.
GTK_1_2_9PRE3
2001-03-01 02:19:26 +00:00
Owen Taylor
0654fc6064 Patch from ChiDeok Hwang to move call to sync_selection() up a few lines
Wed Feb 28 19:10:43 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkclist.c (real_remove_row): Patch from ChiDeok
	Hwang to move call to sync_selection() up a few lines
	to before the row list is modified, to fix crash when
	removing rows in the undo_selection list.

	(Test case provided by Daniel Elstner:

        http://mail.gnome.org/archives/gtk-list/2001-February/msg00359.html)

Wed Feb 28 15:40:27 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcalender.c gtk/gtkdnd.c gtk/gtkitemfactory.c gtk/gtklayout.c
	  gtk/gtkplug.c gtk/gtksocket.c gtk/gtktypeutils.c
	  gtk/gtkwidget.c genmarshal.pl: Fix implicit casts
	between void * and function pointers.

	* gtk/gtklayout.c: Remove cruft after #endif

	* gtk/gtkdnd.c: Include stdlib.h for abs.
2001-03-01 00:18:22 +00:00
Owen Taylor
51454e8ac6 Redo the focus stuff once more. Keep track of the focus status via an
Tue Feb 27 18:38:27 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_map): Redo the focus stuff
	once more. Keep track of the focus status via an event
	filter, so we can keep track of whether the window
	or any child has the focus; something that requires
	fields from the XEvent not in the GdkEvent.

	Install this event filter in gtk_window_map() before mapping
	the window, on the guess that this is unlikely to be overriden
	without the overrider chaining up. (fingers crossed)
2001-02-27 23:41:09 +00:00
Owen Taylor
9cad1a8a54 fix messed up commit message from earlier 2001-02-27 09:42:41 +00:00
Owen Taylor
f9c3cfe49f Remove left-over debug-printf.
Tue Feb 27 04:14:21 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c (gtk_propagate_event): Remove
	left-over debug-printf.

	* gtk/gtkdnd.c (gtk_drag_find_widget): Don't use
	new_allocation.x/new_allocation.y for coordinate,
	translation since they are clip, use the
	x_offset/y_offset variables we keep for the purpose instead.
2001-02-27 09:19:21 +00:00
Owen Taylor
ce06d6d635 When recursing, get the list of children and ref them all before walking
Tue Feb 27 02:29:20 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_find_widget): When recursing,
	get the list of children and ref them all before walking
	through the list, to prevent problems when the widget
	hierarchy changes in ::drag_motion/drop handlers.

	* gtk/gtkmain.c (gtk_propagate_event): Only activate
	special key-press grab handling for widgets within
	GtkWindows. Otherwise, fall through to normal case.

	This prevents key events being sent twice to GtkInvisible
	widgets, which can cause all sorts of mischief.
2001-02-27 07:36:18 +00:00
Owen Taylor
b501a17c8b Add a configuration option --with-native-locale, that greatly speeds up
Tue Feb 27 01:29:34 2001  Owen Taylor  <otaylor@redhat.com>

	* configure.in acconfig.h gdk/gdkfont.c gdk/gdkim.c INSTALL: Add a
	configuration option --with-native-locale, that greatly speeds up
	wide-character/multibyte conversions by dropping the indirection
	through Xlib's property-conversion functions. Off by default due
	to lack of testing for portability, but it should, in general be a
	more correct way of doing things, and should also remove much of
	the speed hit that the recent change to the handling of 8-bit
	fonts may have introduced.
2001-02-27 06:46:08 +00:00
Owen Taylor
8875974d18 Update to describe submitting patches and bug reports to
Mon Feb 26 16:34:33 2001  Owen Taylor  <otaylor@redhat.com>

	* README: Update to describe submitting patches
	and bug reports to bugzilla.gnome.org.

Tue Feb 20 23:48:16 2001  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkim.c,gdk/gdkprivate.h: Add private function
         _gdk_wcstombs_len() which takes a length.

	* gdk/gdkfont.c,gdk/gdkprivate.h,gdk/gdkdraw.c:
        Consistently handle calls to _wc() font for GDK_FONT_FONT
	routines by:

          a) for 8-bit fonts, converting to chars via wcstombs
              (Will make GtkLabel handle using GDK_FONT_FONT for
             non-iso-8859-1 a wee bit better, though GDK_FONT_FONTSET
             is still the only supported way to get correct i18n.
             #50834)

          b) for 16-bit fonts, assuming each wchar is a glyph
             index. (Broken, but no more broken than anything else)
2001-02-27 04:30:56 +00:00
Owen Taylor
46e0b468ed We can't maintain a flag in gtk_window_focus_in/out, because GtkPlug and
Mon Feb 26 21:36:11 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.[ch] (gtk_window_focus_in/out_event): We can't
	maintain a flag in gtk_window_focus_in/out, because
	GtkPlug and cut-and-pastes of GtkPlug override these
	methods and don't chain up. So back out recent change
	adding such a flag, and instead recycle the hack
	GtkPlug uses of making GTK_WIDGET_HAS_FOCUS on the
	top level represent this information
2001-02-27 02:39:28 +00:00
Owen Taylor
a3cf1957cb Do the setting of tree->root_tree in parent_set rather than _map(), fixing
Fri Feb 23 15:06:48 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktree.c (gtk_tree_class_init): Do the setting
	of tree->root_tree in parent_set rather than _map(),
	fixing #50892 in a bit better manner.
2001-02-26 19:37:29 +00:00
Stano Visnovsky
f10c733cb9 Fixed spelling 2001-02-23 18:00:23 +00:00
Owen Taylor
90a565d677 Change to parent implementation instead of cut-and-paste that was out of
Thu Feb 22 20:50:08 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkplug.c (gtk_plug_set_focus): Change to parent
	implementation instead of cut-and-paste that was
	out of sync.

	* gtk/gtkwindow.[ch] (gtk_window_set_focus): Only send
	::focus_in_event when the toplevel window actually
	has focus on it. (Fixes #50857, Akira Higuchi)
2001-02-23 02:01:18 +00:00
Owen Taylor
d7a68f63be Grab on a offscreen GtkInvisible so that we can move handle boxes whose
Thu Feb 22 19:53:55 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkhandlebox.c (gtk_handle_box_button_changed): Grab
	on a offscreen GtkInvisible so that we can move handle boxes
	whose parents are iconified or on another desktop. Also,
	make sure we don't reattach to such parents. (#1923)
2001-02-23 00:55:46 +00:00
Owen Taylor
478449f6cd Don't flip cursor. (#50934)
Thu Feb 22 17:07:58 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_popup): Don't flip cursor. (#50934)
2001-02-22 22:50:53 +00:00
Owen Taylor
de78784eb1 Update the current font from the contents of the entry. (#3123)
Thu Feb 22 16:45:17 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkfontsel.c (gtk_font_selection_get_font[_name]):
	Update the current font from the contents of the entry.
	(#3123)
2001-02-22 22:02:24 +00:00
Jody Goldberg
abba4bdf73 Remove duplicate fwd decl for gtk_default_draw_shadow.
Tue Feb  2 11:22:33 2001  Jody Goldberg <jgoldberg@home.com>

	* gtk/gtkstyle.c : Remove duplicate fwd decl for
	gtk_default_draw_shadow.

Tue Feb 20 11:40:58 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkimage.c (gdk_image_new): Remove excess
	warning, make warnings more verbose, treat a error
	in shmat as permanent, and don't try again.
	(#51163, Ed Randall.)

Mon Feb 19 20:46:21 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.c (gtk_entry_key_press): Take key presses
	of GDK_Left/GDK_Right when there is a selection to mean
	"move the cursor to the start/end of the selection".
	(Inspired by #50492, Jay Cox, though the implementation
	is different for GTK+-1.2.)

Mon Feb 19 20:15:28 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrange.c (gtk_range_timer_1st_time): Add an initial
	delay for the first click before starting to scroll.
	(based on #51026, gtk-enf-990512-0.patch, Eric Fisher)

	* gtk/gtktext.c: GtkText should have I-beam cursor.
	(based on gtk-enf-990513-1.patch, Eric Fisher.)

Mon Feb 19 18:39:21 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkselection.c (gdk_string_to_compound_text,gdk_text_property_to_text_list):
	Robustify by stripping control characters not allowed in COMPOUND_TEXT
	out before passing to XmbTextpropertyToTextList(), and from the
	result of XmbTextListToTextProperty(). This is in the spirit
	of "Be lenient in what you receive, strict in what you generate."
	(Fixes #1704)
2001-02-22 20:38:15 +00:00
Andraz Tori
5a22518969 Updated sl translation 2001-02-20 23:57:39 +00:00
Owen Taylor
635105d142 Fix incorrect mask. (#51039, fix from Martin Maierhofer)
Mon Feb 19 14:20:36 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkrgb.c (gdk_rgb_convert_555_br): Fix incorrect
	mask. (#51039, fix from Martin Maierhofer)

Fri Feb 16 20:09:42 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkctree.c (gtk_ctree_class_init): Add bindings
	for unshifted + and shifted = for non-us keyboards.
	Make <Control>+ and <Control>- work as well as
	<Control>KP_Plus, <Control>KP_Minus for recursive
	open/close.  (#2682, Ren Seindal)
2001-02-19 21:31:43 +00:00
Owen Taylor
5e6a0c969d Updated (applied gtk-pauls-990307-0.patch)
Sun Feb 18 18:06:11 2001  Owen Taylor  <otaylor@redhat.com>

	* nl.po:	Updated (applied gtk-pauls-990307-0.patch)
2001-02-18 23:06:54 +00:00
Andraz Tori
3883f5a879 Updated Slovenian translation 2001-02-17 14:50:31 +00:00
Owen Taylor
eea850a7c0 Unset the active menu item before deactivating the menu, so
Fri Feb 16 18:50:59 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmenushell.c (gtk_real_menu_shell_cancel): Unset
	the active menu item before deactivating the menu,
	so gtk_menu_popdown doesn't change the history. (#50964)
2001-02-17 00:10:31 +00:00
Owen Taylor
f8709339b5 draw lines with text_gc rather than black_gc. (Patch from Vlad Harchev
Fri Feb 16 15:55:22 2001  Owen Taylor  <otaylor@redhat.com>

	       * gtk/gtktreeitem.c (gtk_tree_item_draw_lines):
	       draw lines with text_gc rather than black_gc.
	(Patch from Vlad Harchev <hvv hippo ru>, #50926)
2001-02-16 23:35:04 +00:00
Owen Taylor
92b5545801 1.2.9pre1
Tue Feb 13 15:39:28 2001  Owen Taylor  <otaylor@redhat.com>

        * 1.2.9pre1

	* NEWS: Update.

        * docs/Makefile.am: Remove building of HTML for
	gdk.texi gtk.texi since it doesn't work.
GTK_1_2_9PRE1
2001-02-16 04:37:42 +00:00
Christopher R. Gabriel
9a0f08fd30 Updated italian translation 2001-02-15 05:11:15 +00:00
Stano Visnovsky
dd5f18bfba Updated Slovak translation 2001-02-14 11:41:18 +00:00
Simos Xenitellis
e75267a55d Minor fixes to Greek translation 2001-02-13 23:13:59 +00:00
Owen Taylor
8c9ce83511 Fix problems with characters < 256 in wide character locales. (Patch from
Tue Feb 13 13:56:58 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.c (find_char_width): Fix problems with
	characters < 256 in wide character locales. (Patch
	from Yoichi Imai.)
2001-02-13 19:58:35 +00:00
Owen Taylor
ec7e8f971e Properly handle passive buttons at button creation time (#50686).
Tue Feb 13 00:58:49 2001  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkclist.c: Properly handle passive buttons at
	button creation time (#50686).
2001-02-13 15:33:25 +00:00
Owen Taylor
91383ef28e Call gdk_colormap_sync() - fixes #50678.
Mon Feb 12 20:37:32 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkrgb.c (gdk_rgb_try_colormap): Call gdk_colormap_sync() -
	fixes #50678.

	* gdk/gdk.h: Add missing prototype for gdk_colormap_sync().
2001-02-13 01:53:28 +00:00