2003-03-05 Stanislav Brabec <sbrabec@suse.cz>
* gtk/gtkrc.c: Fixed altering of glibc private locale area
(#107634). Makes it usable with glibc-3.2 again, but the code is
still not mature.
Fri Dec 13 23:10:21 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclist.c: Fix a problem with the focus row
ending up off the list when rows were deleted
(#94812, Christian Reis, Jon Nelson).
Tue May 14 18:13:10 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdnd.c (gdk_window_cache_filter): Fix
prepending at the start of the list. (#56349,
Thomas Leonard.)
Tue Feb 5 19:34:31 2002 Owen Taylor <otaylor@redhat.com>
* gdk/gdkdnd.c (gdk_window_cache_filter): Fix ordering
on ConfigureNotify (#56349, Thomas Leonard)
Hasbullah Bin Pit (sebol)<sebol@ikhlas.com>
Tag: gtk-1-2
* configure.in (ALL_LINGUAS): Add "ms" to the language list.
* po/ms.po: Added Malay Translation.
Sun Aug 5 09:48:08 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtklist.c (gtk_list_clear_items): Fix
problem with selecting a new focus child.
* gtk/gtklist.c (gtk_list_clear_items): Clear
list->undo/list_focus_child after unparenting
child, since unparenting the child can result
in list->last_focus_child being set. (#58024)
Tue Jul 24 16:41:12 2001 Owen Taylor <otaylor@redhat.com>
* configure.in po/ta.po (ALL_LINGUAS): Remove dummy ta po - Tamil
translation doesn't really make sense for GTK+-1.2 anyways,
so lets not worry about the fact that it is missing
in this branch.
2001-06-01 Alex Larsson <alexl@redhat.com>
* gdk/gdkevents.c (expose_predicate):
Allow expose event compression past configure notify events for
other toplevel window. This fixes performance when dragging a
window of an application over another window of the same
application. In this case there will be interleaved exposure
and configure events.
Thu May 31 12:43:57 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkoptionmenu.c: Account for the fact that the border
width is _outside_ the allocation. (Fixes#54585)
2001-04-19 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkwindow.c (gtk_window_focus_filter): Only consider
crossing events if the parent of the window is the root window.
This is so that GtkPlugs will not do funny things when they think
they should get the focus.
Sun Apr 1 23:01:31 2001 Owen Taylor <otaylor@redhat.com>
* Released 1.2.10.
Sun Apr 1 22:22:47 2001 Owen Taylor <otaylor@redhat.com>
[ Addition of safety checks to try to avoid segfaulting
on broken setups always. ]
* gdk/gdkfont.c (_gdk_font_wc_to_glyphs): Add a boolean
return value to deal with failure of conversion of
wide characters to glyphs.
* gtk/gtkentry.c gtk/gtklabel.c: Handle failure of
mbstowcs/wcstombs a bit better.
* gdk/gdkfont.c gdk/gdkdraw.c: Deal with failure of
_gdk_font_wc_to_glyphs() gracefully
* gdk/gdkim.c (_gdk_wcstombs_len): quietly return NULL on
failure instead of g_return_if_fail().
Wed Mar 28 16:05:29 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkfontsel.c (gtk_font_selection_select_size): Fix
problem where fractional sizes caused infinite loop.
(bugzilla.redhat.com #33081)
Wed Mar 28 14:52:08 2001 Owen Taylor <otaylor@redhat.com>
* docs/Makefile.am: Remove excess rules breaking
distcheck.
Wed Mar 28 12:33:20 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkdnd.c: Fix problem where dropping into
internal child widgets (such as GtkCList tab labels)
(#52457, reported by Daniel Erat). Can't use
gtk_container_children(), so provide a substitute
which uses gtk_container_forall().
Thu Mar 15 15:23:11 2001 Owen Taylor <otaylor@redhat.com>
* NEWS: Updated
* configure.in (GTK_BINARY_AGE): Up micro => 10,
binary => 10, interface => 1.
* INSTALL.in: Add some discouraging words about
--with-xinput=gxi.
* configure.in (x_ldflags): Make --with-xinput be
--with-xinput=xfree, and warn for --with-xinput=gxi.
Thu Mar 15 14:29:47 2001 Owen Taylor <otaylor@redhat.com>
* gdk/gdkselection.c (sanitize_ctext): Handle
extended segments, which can contain arbitrary octets,
properly. (Fixes problems with cut-and-paste and,
e.g., KOI8-R.)
* gtk/gtktext.c gtk/gtkeditable.c: Patch from
Vlad Harchev to avoid using gdk_draw_text_wc()
on text that is really chars, not wchars. (Cannot
convert between chars and wide chars with assignment!)
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)
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.
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.
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)
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.
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.
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)
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.
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.
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.
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)
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
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.
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)