]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-2
Implement the functions that until now just were non-functional stubs. For
[~andy/gtk] / ChangeLog.pre-2-2
index a65d0bc23576156727a124c9a2847eb087c159f1..1eb0248bf83259a9f41397e402d9fe4ee10f1443 100644 (file)
@@ -1,3 +1,350 @@
+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
+       width into account.
+
+       * gtk/gtklabel.c (get_label_wrap_width): Don't use GdkFont
+       to compute wrap width ... GdkFont will pull in X11 core
+       fonts.
+
+Sun Feb 24 00:06:58 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * Released 1.3.15.
+
+       * configure.in: Version 1.3.15, binary, interface age 0.
+
+       * NEWS: Updates
+
+       * configure.in: Update version requirements.
+
+Sat Feb 23 22:37:23 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkstyle.c (gtk_style_init): Sanity check default
+       font family name and size.
+
+       * gtk/gtkwindow.c (gtk_window_set_default_size): Remove
+       incorrect comment about the geometry widget.
+
+       * gtk/gtkwindow.c (gtk_window_move_resize): Unset the
+       gtk_window_resize)() information once we've set the size
+       once, to avoid it coming back next time we queue a resize.
+       (#72359)
+
+       * gtk/gtkwindow.c (gtk_window_move_resize): Remove
+       sething of ->need_default_position from here, Havoc
+       says that it should correspond more or less exactly
+       to GTK_WIDGET_MAPPED (window).
+
+Sat Feb 23 23:00:48 2002  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreemodel.h: add () to function macros as per owen's
+       request.
+
+       * gtk/gtkfontsel.c: (gtk_font_selection_select_best_style),
+       (gtk_font_selection_show_available_sizes),
+       (gtk_font_selection_set_font_name):
+       * gtk/gtktreemodel.c: (gtk_tree_model_get_iter_first),
+       (gtk_tree_model_foreach):
+       * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_sort_level),
+       (gtk_tree_model_sort_build_level):
+       * gtk/gtktreeselection.c: (gtk_tree_selection_selected_foreach):
+       * gtk/gtktreeview.c: (validate_visible_area),
+       (gtk_tree_view_focus_to_cursor), (gtk_tree_view_set_model),
+       (gtk_tree_view_map_expanded_rows), (gtk_tree_view_search_move),
+       (gtk_tree_view_search_init):
+       * tests/testtreeview.c: (run_automated_tests): change iter_root
+       to iter_first
+
+Sat Feb 23 22:10:52 2002  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreemodel.c (gtk_tree_path_new_first): change new_root to
+       new_first to avoid confusion.
+       (gtk_tree_model_get_iter_first): ditto.
+
+Sat Feb 23 20:59:05 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkstyle.c gtk/gtkrc.[ch]: gtk/gtksettings.c gtk/gtkstyle.c:
+       Patch from Richard Hestilow to add a gtk-font-name GtkSetting.
+
+       * gdk/x11/gdkevents-x11.c: Add Gtk/FontName XSETTING.
+
+2002-02-24  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk/gtkfilesel.c: Move inclusion of <windows.h> before inclusion
+       of <winsock.h>, to actually get STRICT prototypes for Win32
+       API. Include glib.h early to get G_OS_WIN32 and G_WITH_CYGWIN.
+       Don't declare static functions that aren't defined if !HAVE_PWD_H
+       or if G_OS_WIN32.
+       (win32_gtk_add_drives_to_dir_list): Remove #if 0 code, reindent.
+       (gtk_file_selection_get_selections): Don't crash if nothing has
+       been selected.
+
+Sat Feb 23 20:33:29 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkplug.[ch] gtk/gtksocket.[ch] gtk/xembed.h: Implement 
+       accelerator propagation using a custom XEMBED_GTK_KEY_GRAB
+       XEMBED_GTK_KEY_UNGRAB pair of messages.
+
+       * gtk/gtkwindow.[ch]: private export _gtk_window_keys_foreach().
+
+       * gtk/gtkplug.c (gtk_plug_set_is_child): Clear focus and default
+       widgets.
+
+2002-02-23  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextbuffer.c (save_range): change gravity of start/end
+       marks so that text added at either end of the range doesn't end up
+       inside the range.
+       (gtk_text_buffer_real_insert_range): fix to handle pasting a range
+       into itself. #71412
+       
+Sat Feb 23 19:05:34 2002  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeview.c (validate_visible_area): Didn't refind node
+       when it was NULL.  Bug found by Tor Lillqvist.
+
+2002-02-24  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkevents-win32.c (build_keypress_event,
+       build_keyrelease_event, gdk_event_translate): Set also group in
+       the key press/release events, always to zero for now.
+
+2002-02-24  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/stock-icons/stock_dialog_error_48.png: 
+       * gtk/stock-icons/stock_sort_ascending_16.png:
+       * gtk/stock-icons/stock_undelete_24.png: 
+       * gtk/stock-icons/stock_sort_descending_16.png: 
+       Alpha-pad icons so they get the correct size.
+       
+Sat Feb 23 16:52:38 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkentry.c: Patch from Matthias Clasen to remove some
+       excessive ::changed signals for GtkEntry. (#53130)
+
+2002-02-23  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk-zip.sh.in: Include the gtkrc files for themes.
+
+2002-02-23  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkiconfactory.c (get_default_icons): Register 16x16 
+       versions of most icons.
+
+       * gtk/stock-icons: Add 16x16 versions
+       of most icons.
+
+Wed Feb 20 16:44:05 2002  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): delay
+       scrolling until we try to draw the window.
+
+       * gtk/gtktreeview.c (validate_visible_area): Implement
+       scroll_to_cell.
+
+2002-02-23  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk/gtk.def: Add missing gtk_file_selection_get_select_multiple.
+       Remove gtk_tree_view_column_cell_* entry points that were made
+       private.
+
+Sat Feb 23 15:43:46 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktogglebutton.c: Make button draw depressed whenever
+       the user clicks / activates it, whether it's off/on/inconsistent.
+
+Sat Feb 23 11:54:12 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/*.h gdk/*.h: Massive padding addition to class structures.
+
+       * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
+
+Fri Feb 22 20:28:18 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkrange.c: Applied patch from Thomas Leonard to make
+       stepper click to scroll take effect immediately, rather than after
+       a delay (#67649).
+
+       * gtk/gtkrange.c: Remove right-click == step in trough since it
+       isn't a useful binding and it's a large area to hit accidentally.
+       (Leave it on the steppers since its more useful there and less
+       likely to do accidentally.)
+
+2002-02-23  Pablo Saratxaga  <pablo@mandrakesoft.com>
+
+       * configure.in (ALL_LINGUAS): Add "cy" to the language list.
+
+2002-02-23  Jody Goldberg <jody@gnome.org>
+
+       * gtk/gtkaccelgroup.c (gtk_accel_group_connect) : lower case the
+         key_val.
+       (gtk_accel_group_connect_by_path) : ditto.
+       (gtk_accel_group_disconnect_key) : ditto.
+
+       * gtk/gtkwidget.c (gtk_widget_real_key_release_event) : simplify.
+       (gtk_widget_real_key_press_event) : ditto.
+
+Sat Feb 23 00:28:47 2002  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeviecolumn.c: Documented undocumented functions.
+
+       * gtk/gtktreemodel.c: Documented undocumented functions.
+
+Sat Feb 23 03:10:20 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_key_press): honor min_width and
+       max_width while resizing columns (pointed out by Jorn Baayen)
+
+Fri Feb 22 19:17:46 2002  Owen Taylor  <otaylor@redhat.com>
+
+       Patch from Matthias Clasen (#54488)
+
+       * gtk/gtkwindow.c: Set/unset HAS_FOCUS flags here,
+       and do ::has-focus notifications.
+
+       * gtk/gtkclist.c gtk/gtkentry.c gtk/gtksocket.c
+       gtk/gtktext.c gtk/gtktextview.c gtk/gtkwidget.c:
+       Remove unecessary focus_in/out handles and unecessary
+       flag setting.
+
+       * gtk/gtkwidget.c: Adda missing notification on ::parent.
+
 Fri Feb 22 18:36:45 2002  Owen Taylor  <otaylor@redhat.com>
 
        Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann,