X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=ChangeLog.pre-2-2;h=1eb0248bf83259a9f41397e402d9fe4ee10f1443;hb=c410128c7f4c1b0c49d9a38fb666c74799f9e492;hp=f5cc9e7840c9ae888ecc73bef5000b8475bea887;hpb=55b46cc8d42e1c85901ec3ea6eb0190f8d873bc1;p=~andy%2Fgtk diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index f5cc9e784..1eb0248bf 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,568 @@ +2002-02-26 Tor Lillqvist + + * 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 + + * docs/tutorial/gtk-tut.sgml: Fix typos in pkg-config + invokations. (#72476) + +Mon Feb 25 18:59:27 2002 Owen Taylor + + * 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 + + * 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 + + * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): + Fix precendence problem. (Sven Neumann) + +Sun Feb 24 23:23:28 2002 Owen Taylor + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * gtk/gtksocket.c (gtk_socket_end_embedding): Fix + off-by-one error. (Pointed out by Anders Carlsson) + +2002-02-25 Matthias Clasen + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * gtk/gtkfilesel.c: Move inclusion of before inclusion + of , 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 + + * 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 + + * 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 + + * gtk/gtktreeview.c (validate_visible_area): Didn't refind node + when it was NULL. Bug found by Tor Lillqvist. + +2002-02-24 Tor Lillqvist + + * 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 + + * 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 + + * gtk/gtkentry.c: Patch from Matthias Clasen to remove some + excessive ::changed signals for GtkEntry. (#53130) + +2002-02-23 Tor Lillqvist + + * gtk-zip.sh.in: Include the gtkrc files for themes. + +2002-02-23 Anders Carlsson + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * configure.in (ALL_LINGUAS): Add "cy" to the language list. + +2002-02-23 Jody Goldberg + + * 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 + + * gtk/gtktreeviecolumn.c: Documented undocumented functions. + + * gtk/gtktreemodel.c: Documented undocumented functions. + +Sat Feb 23 03:10:20 2002 Kristian Rietveld + + * 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 + + 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 + + Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann, + #72182. + + * demos/gtk-demo/main.c gtk/gtktreeview.c gtk/gtktoolbar.c + gtk/gtkpaned.c gtk/gtkobject.c gtk/gtkcontainer.c + gtk/gtkcolorsel.c gtk/gtkcellrender.c gdk/x11/xsettings-client.h: + Squash trailing commas on enumerations. + + * gdk/gdktypes.h: Drop GDK_RELEASE_MASK to 1 << 30 instead + of 1 << 31 to work around AIX compiler problem. (C standard + seems to imply that compiler is required to use an unsigned + type for the enum value in this case.) + + * gdk/gdkpixbuf-drawable.c: Fix lvalue casts. + + * gtk/gtkwindow.h: Fix use of enum types for bitfields ... + compilers may choose to use a signed type for bitfields. + +Sat Feb 23 00:34:01 2002 Kristian Rietveld + + * gtk/gtktreeview.c (validate_rows_handler): leave threads before + returning (#72045) + +2002-02-22 Anders Carlsson + + * gtk/stock-icons/*: Rename icons. + + * gtk/stock-icons/Makefile.am: Update for new icon names. + + * gtk/gtkiconfactory.c (init_icon_sizes): Set the + GTK_ICON_SIZE_BUTTON size to be 20x20. + (get_default_icons): Change stock names. + +Fri Feb 22 22:39:59 2002 Kristian Rietveld + + * gtk/gtktreeprivate.h: add last_single_clicked and + last_single_clicked_2 rowrefs and add disable_popdown to the + bitfield + + * gtk/gtktreeview.c (gtk_tree_view_destroy): add destroy stuff + for two new rowrefs + (gtk_tree_view_button_press): add some 'advanced' button handling, + so double click is being handled right (double click madness was + discovered by Anders Carlsson) + + * gtk/gtktreeview.c (gtk_tree_view_set_property): add missing + break + (gtk_tree_view_class_init): default value of headers_visible + should be TRUE (both pointed out by Damon Chaplin, #71986) + + * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): + connect to populate_popup, + (gtk_tree_view_search_disable_popdown): new function, + (gtk_tree_view_real_search_enable_popdown): ditto, + (gtk_tree_view_search_enable_popdown): ditto, + (gtk_tree_view_search_dialog_destroy): check for + gtk-tree-view-popdown-disabled (#71868) + + * gtk/gtktreeview.c (gtk_tree_view_set_reorderable): move + ->priv->reorderable assignment to bottom. (#72122) + +2002-02-22 Havoc Pennington + + * gtk/gtkstyle.c (_gtk_draw_insertion_cursor): subtract 1 from + line endpoint, to avoid cursor dirt in the text widget. + zero-width lines appear to draw the endpoint always. #67999 + +2002-02-22 Havoc Pennington + + * gtk/gtktextview.c (buffer_to_widget): implement more cleanly by + using text_window->allocation.x/y instead of recomputing it. + Fixes a bug caused by leaving out the border width here. + +2002-02-22 Havoc Pennington + + * gtk/gtktextview.c (changed_handler): call + gtk_size_group_queue_resize to avoid invalidating the widget every + time its requisition changes. Instead we use the btree invalid + lines to know what to redraw. Fixes #71429 + +Fri Feb 22 14:08:38 2002 Soeren Sandmann + + * gtk/gtkradiobutton.c, gtk/gtkcheckbutton.c, gtkbutton.h, + gtktogglebutton.c: feedback when check and radio buttons are + depressed. + +2002-02-22 Matthias Clasen + + * gtk/gtktreeview.c (gtk_tree_view_set_reorderable): + s/columns/rows/ in docs. (#70199) + + * gtk/gtktreestore.c (gtk_tree_store_insert): s/before/after/ in + docs. (#71852, #68405) + + * gtk/gtkcalendar.c (gtk_calendar_select_day): Correct a comment. + +Thu Feb 21 23:02:29 2002 Kristian Rietveld + + * gtk/gtktreeview.[ch]: add keynav handling for unselect all, + focus column header, change focus with arrow keys in column headers, + column reordering, column resizing, small try to fix page up/down + (this fixes #70889, and fixes a great deal of #53580) + +Thu Feb 21 16:51:17 2002 Owen Taylor + + * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Add + GDK_ISO_Next_Group/Prev_Group/Level3_Shift/ + First_Group/Last_Group to list of invalid accelerators. + (A lot more that should be added, but probably would + want a range mechanism. These are the ones found in + the standard XFree86 config files.) + + * gtk/gtkbindings.c (gtk_bindings_activate): Fix problem + that broke bindings for menus. + + * gtk/gtkwindow.[ch]: Export _gtk_window_activate_key() + privately. + + * gtk/gtkmenushell.c (gtk_menu_shell_key_press): Use + _gtk_window_activate_key(), gtk_bindings_activate_event(). + +Thu Feb 21 12:24:22 2002 Owen Taylor + + * gtk/gtkctree.c (gtk_ctree_class_init): Remove some workarounds + for +/= and shift key handling. + +Wed Feb 20 14:26:47 2002 Owen Taylor + + * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups; + allow matches on key and level but not group. Also, implement + ignoring "consumed modifiers correctly." + + * gtk/gtkaccelgroup.c gtk/gtkbindings.c: Convert to using + GtkKeyHash. + + * gtk/gtkdebug.h gtk/gtkmain.c: Support GTK_DEBUG=keybindings + + * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fill in + the group for key release events as well as key press events. + + * gdk/gdkkeys.h gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): + Rename unused_modifiers to consumed_modifiers, make the docs and + non-Xkb implementation match the Xkb implementation. + + * gdk/linux-fb/gdkkeyboard-fb.c gdk/win32/gdkkeys-win32.c: Propagate + doc and parameter name changes. + + * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): + XkbTranslateKeyCode doesn't handle LockMask, we need to handle + it ourselves. + + * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Force + Tab to give GDK_ISO_Left_Tab, since we need consistency + to allow dealing with ISO_Left_Tab. + + * gtk/gtkwindow.c gtk/gtktextview.c gtk/gtkscrolledwindow.c + gtk/gtkpaned.c gtk/gtkcombo.c gtk/gtknotebook.c: + Remove inappropriate uses of GDK_ISO_Left_Tab. (GDK_ISO_Left_Tab + or Tab both are equivalent as a binding specifier.) + + * gtk/gtkbutton.c (gtk_button_class_init): Make ::activate + GTK_RUN_ACTION, so you can bind an accelerator to it. + + * gtk/gtklabel.c (gtk_label_set_uline_text_internal): Call + gdk_unicode_to_keyval on the mnemonic character. + + * tests/testgtk.c: Add a test for the new fuzzy key binding matching. + +2002-02-21 jacob berkman + + * gtk/theme-bits/Makefile.am (EXTRA_DIST): inconsitent files are + .pngs too + +Wed Feb 20 21:52:13 2002 Owen Taylor + + * gtk/gtkselection.c (gtk_selection_request): Set the property + as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.) + + * gdk/x11/gdk{property,selecton}-x11.c: Auto-convert properties + of type ATOM_PAIR as well as properties of type ATOM. + +2002-02-21 Matthias Clasen + + * docs/tutorial/images/*.png: screenshots of examples. + + * docs/tutorial/gtk-tut.sgml: remove deprecated widgets, add + screenshots, fix chapters 1-4 for GTK+ 2.0. + + * demos/gtk-demo/Makefile.am (INCLUDES): add -DGDK_PIXBUF_DISABLE_DEPRECATED. + +Thu Feb 21 00:31:41 2002 Soeren Sandmann + + * gtk/gtkspinbutton.c: Many cleanups and fixes. Draw exclusively + in expose handler. Feedback when buttons are depressed. + + * gtk/gtkstyle.c: update for changes in gtkspinbutton.c. Fix + spinbuttons for RTL langauges. + +Wed Feb 20 23:00:08 2002 Soeren Sandmann + + * gtk/gtkstyle.c: new radio buttons. handle inconsistent state for + check- and radiobuttons. + + * gtk/theme-bits/check-13-inconsistent.png, + gtk/theme-bits/radio-13-inconsistent.png: new files + + * gtk/theme-bits/radio-13.png: new radio buttons + + * gtk/theme-bits/Makefile.am (EXTRA_DIST): add new + -inconsistent.png files + +Wed Feb 20 16:19:49 2002 Owen Taylor + + * gdk/x11/gdkevents-x11.c: Add a XSETTING mapping for + gtk-can-change-accels. (#70218, Thomas Leonard.) + 2002-02-20 Sven Neumann * gtk/gtkcolorsel.c (gtk_color_selection_finalize): check