]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-10
Implement the functions that until now just were non-functional stubs. For
[~andy/gtk] / ChangeLog.pre-2-10
index 054850cdff615abca4733f7bb4a6c8575138ca83..1eb0248bf83259a9f41397e402d9fe4ee10f1443 100644 (file)
@@ -1,3 +1,139 @@
+2002-02-26  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkkeys-win32.c: Implement the functions that until
+       now just were non-functional stubs. For "hardware keycodes", we
+       use Windows virtual keycodes. Not scancodes, although that at
+       first might seem more low-level and a better match to X11
+       keycodes. 
+
+       The Windows API is really mixed up and confused with respect to
+       scancodes and virtual keycodes. (Surprised?) Some scancodes are
+       generated by two keys on the keyboard (!), and although the
+       keyboard messages do have a flag to indicate which key the user
+       pressed, other API that take a scan code as input don't let you
+       specify which actual key you mean.
+
+       (update_keymap): Function to build a X11-like representation of
+       the keyboard. Each key has four keysyms: two levels (nonshifted
+       and shifted) and two groups (normal and with AltGr).
+
+       (gdk_keymap_get_direction): Use the codepage corresponding to the
+       thread's input locale, not the system codepage.
+
+       * gdk/win32/gdkglobals.h
+       * gdk/win32/gdkmain-win32.c
+       * gdk/win32/gdkprivate-win32.h
+       * gdk/win32/gdkwindow-win32.h
+       * gdk/win32/gdkwindow-win32.c: Remove the input_locale and
+       charset_info fields from GdkWindowImplWin32. Input locale is
+       per-thread in Windows, and as GDK on Windows really only works
+       when the GDI interaction all happens in just one thread anyway,
+       this state can be global. Use globals _gdk_input_locale and
+       _gdk_input_codepage instead. Set these based on the thread's input
+       locale (keyboard layout, or which IME is active).
+
+       * gdk/win32/gdkevents-win32.c: Set the group and hardware_keycode
+       fields in GDK key events. On input locale change messages, set
+       the global state variables, and inform update_keymap() that it
+       has to rebuild the keymap.
+       
+2002-02-25  Matthias Clasen  <maclas@gmx.de>
+
+       * docs/tutorial/gtk-tut.sgml: Fix typos in pkg-config 
+       invokations.  (#72476) 
+
+Mon Feb 25 18:59:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktooltips.c (start_keyboard_mode): Set the keyboard-mode
+       flag before popping up the tooltip so that pop it up
+       in the right place. (#71917, Narayani Pattipati)
+
+Mon Feb 25 22:11:34 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_visible): call
+       _gtk_tree_view_column_cell_set_dirty when visible, so this column
+       gets some space allocated. (#70996)
+
+       * gtk/gtkliststore.c (gtk_list_store_get_path): add simple
+       optimization for the tail case
+       (gtk_list_store_real_set_value): remove unneeded _get_path calls
+
+Mon Feb 25 12:47:25 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): 
+       Fix precendence problem. (Sven Neumann)
+
+Sun Feb 24 23:23:28 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testselection.c (main): Convert over to using
+       an GtkInvisible - selections don't work properly
+       with now NO_WINDOW GtkToggleButton. (Example really
+       should be using GtkClipboard.)
+
+       * gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
+       Fix  problems if sizeof(GdkAtom) != sizeof(Atom). (Unlikely)
+
+       * gdk/x11/gdkproperty-x11.c (gdk_property_get): Set 
+       actual_length when converting atoms as well.
+       (Gregory Merchan, #72074)
+
+2002-02-24  Havoc Pennington  <hp@pobox.com>
+       
+       * gtk/gtktextview.c (gtk_text_view_value_changed): add dx/dy to
+       child allocation, don't subtract them. Also, copy code from CList
+       to recursively adjust the child allocation, instead of just 
+       adjusting immediate children. #69115
+
+2002-02-24  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtkstyle.c (_gtk_draw_insertion_cursor): change to pass in
+       the cursor direction always, not just when we need an arrow, so we
+       can flip the cursor around its axis for RTL. Resolves #72372
+
+       * gtk/gtkentry.c (gtk_entry_draw_cursor): update for
+       draw_insertion_cursor change
+       
+       * gtk/gtklabel.c (gtk_label_draw_cursor): ditto
+
+       * gtk/gtktextdisplay.c (gtk_text_layout_draw): ditto
+       
+2002-02-24  Alexander Larsson  <alla@lysator.liu.se>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_set_background):
+       Always NULL out bg_pixmap, even when it used to be None
+       or parent relative.
+
+2002-02-24  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtktextbuffer.c (parent_class): parent_class variable was
+       GtkObjectClass instead of GObjectClass
+
+       * gtk/gtktextview.c (widget_to_buffer): fix this the way 
+       buffer_to_widget was fixed, to avoid duplicating 
+       the code that computes text_window->allocation.x/y
+
+Sun Feb 24 21:18:20 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtksocket.c (gtk_socket_end_embedding): Fix
+       off-by-one error. (Pointed out by Anders Carlsson)
+
+2002-02-25  Matthias Clasen  <maclas@gmx.de>
+
+       * docs/tutorial/gtk-tut.sgml, docs/tutorial/images/*, examples/*: More
+        GTK+ 2.0 updates.
+
+       * docs/tutorial/Makefile.am: build and dist the new tutorial, not
+       the old Linuxdoc one.
+
+Mon Feb 25 01:14:26 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktextlayout.c (find_display_line_above): free iter before
+       going to done
+
+       * gtk/gtktreeview.c (validate_visible_area): free above_path,
+       (set_destination_row): free path before returning,
+       (gtk_tree_view_set_drag_dest_row): free current_dest
+
 Sun Feb 24 14:15:45 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtktextview.c (widget_to_buffer): Take border