X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=ChangeLog.pre-2-0;h=6765f7278f070fa7ad00df4083194ac995b2adf1;hb=HEAD;hp=bd33c02399b32e7a12bfcecc8a2f15a32c8e142a;hpb=f27c2d5e95629c3987cad8b655a454c798802b42;p=~andy%2Fgtk diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index bd33c0239..6765f7278 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,1581 @@ +Fri Mar 8 14:45:00 2002 Owen Taylor + + * ======== Released GTK+-2.0 ======== + +Fri Mar 8 20:41:51 2002 Kristian Rietveld + + * gtk/gtktreestore.c (gtk_tree_store_drag_data_received): handle + gtk-tree-model-drop-append like the ListStore, includes some + tweaks to work right with trees + +Fri Mar 8 14:22:43 2002 Owen Taylor + + * gtk/gtkfilesel.c (gtk_file_selection_init): Some packing + tweaks. + + * configure.in: Include GLIB_LIBS when checking + for bind_textdomain_codeset, to catch the case where + it is in -lintl. + +Thu Mar 7 16:46:58 2002 Jonathan Blandford + + * gtk/gtktreeview.c (validate_visible_area): get rid of really + bad focus loop. + (gtk_tree_view_clamp_node_visible): only clamp the node when + realized. Need to replace this with scroll_to_cell sometime. + (gtk_tree_view_header_focus): clickable or reorderable columns are + focusable, #73656 + + * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_get_widget): fix + docs to reflect behaviour change, #73682 + +Fri Mar 8 11:12:32 2002 Owen Taylor + + * NEWS: Fix version numbers. (Johan Dahlin.) + + * INSTALL.in: Update, just refer to gtk-building.html + rather than duplicating information. + + * README.in: Add release specific notes. + + * Makefile.am (EXTRA_DIST): Remove TODO and TODO.xml + from the distribution. + +Thu Mar 7 23:29:35 2002 Owen Taylor + + * NEWS: Final updates for 2.0.0 + + * README.in: Updates. + +2002-03-08 Tor Lillqvist + + * gdk/Makefile.am (LDFLAGS): Add missing .la suffix for libgdk_pixbuf. + +Thu Mar 7 21:32:01 2002 Kristian Rietveld + + * gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): increase + value of new_location by one if cmp_a > 0 and we hit the end of + the list. + +Thu Mar 7 10:31:57 2002 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_timer): Fix problem where + there were two copies of the "do an arrow step" code, + one correct for rotated notebooks, one not. (#73855, + Thomas Leonard.) + +Wed Mar 6 23:20:51 2002 Jonathan Blandford +and Kristian Rietveld + + Finishing touch for 2.0.0 release, fixes #70782, #72729, the + 'stealth' bug and other last-minute minor issues. + + * gtk/gtktreeview.c (gtk_tree_view_bin_expose): set dnd dest line + drawing right. We can't draw the line at the position of the next + row, because that one still has to be drawn. So draw everthing at + a -1 offset. + (validate_visible_area): add check for invalid descendants and + NULL scroll_to_path path, get scrolling right. Also, fix the + area_above value. Pretty amazing I got it wrong. + (get_logical_dest_row): add gtk-tree-model-drop-append magic, so + dragging a row to the end of the model works right. + (gtk_tree_view_get_dest_row_at_pos): minor floating point fix + (gtk_tree_view_start_editing): add call to validate_row + (gtk_tree_view_tree_to_widget_coords): Never subtract + HEADER_HEIGHT from y values anymore!!! + (gtk_tree_view_widget_coords_to_tree): ditto. + (gtk_tree_view_scroll_to_point): allow -1 as values for the + scroll_to coords + (gtk_tree_view_move_cursor_page_up_down): Don't need scroll_to_y + as clamp_node_visible will make it work. + + * gtk/gtktreestore.c (gtk_tree_store_drag_data_received): also check + path depth, as we can't get iters from empty paths + + * gtk/gtkliststore.c (gtk_list_store_drag_data_received): handle + gtk-tree-model-drop-append + + * gtk/gtktreednd.c (gtk_tree_set_row_drag_data): free path_str + + * tests/testtreeflow.c (main): select path where we are scrolling to + +2002-03-06 Darin Adler + + * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_insert_value): + Update offsets before finding where to insert the new value. + + * gtk/gtktreeview.c: (validate_visible_area): Make sure we redraw when + we scroll, instead of just updating the scroll position variables. + +2002-03-06 Manish Singh + + * gdk/Makefile.am + * gtk/Makefile.am: rework so that only things that really need to be + done post install are in the hook + +2002-03-06 Anders Carlsson + + * gtk/gtkiconfactory.c (get_default_icons): Register 16x16 version + of properties stock icon. + + * gtk/stock-icons/Makefile.am: Add stock_properties_16.png + +Wed Mar 6 00:38:29 2002 Owen Taylor + + * gtk/gtkentry.c (gtk_entry_real_insert_text): Fix various problems + when truncating the inserted text to fit into the GtkEntry + size limit of 65kb. (#73119) + +Wed Mar 6 00:20:59 2002 Jonathan Blandford + + * gtk/gtktreeviewcolumn.c + (gtk_tree_view_column_cell_process_action): move event handling to + the process_action function so we can have the event go to + individual cells. + +Tue Mar 5 22:16:58 2002 Owen Taylor + + * GTK+-2.0.0 rc1 + + * docs/tutorial,faq/Makefile.am: Deal with the html directory + already being there. + + * docs/faq/Makefile.am (EXTRA_DIST): Add gtk-faq.sgml to EXTRA_DIST. + +2002-03-05 Manish Singh + + * gdk/Makefile.am + * gtk/Makefile.am: use install-foo-hook instead of install-foo-local, + since foo-local is run before the their respective builtin targets + in automake 1.5 + +2002-03-05 jacob berkman + + * configure.in: change an == to = + +2002-03-06 Tor Lillqvist + + * gdk-pixbuf/gdk_pixbuf.rc.in + * gdk/win32/rc/gdk.rc.in + * gtk/gtk-win32.rc.in: Use GTK_API_VERSION. + +2002-03-05 Manish Singh + + * configure.in: Fix up the freetype checking logic. Suppress + suprious "no" with --disable-modules. + +2002-03-06 Tor Lillqvist + + * gdk/win32/gdkevents-win32.c (gdk_pointer_grab, + gdk_pointer_ungrab): Bypass calls to the grab/ungrab functions in + gdkinput-win32.c, as they don't effectively do anything anyway. + (build_key_event_state): Set MOD2 bit if key is in AltGr group. + (gdk_event_translate): Call _gdk_windowing_window_get_offsets() + each time the offsets are used, on the window they refer to, + instead of once in the beginning. The window in question might + change due to event propagation. + (gdk_event_translate): Set key event group to 0 for non-AltGr + keys. Do set the SHIFT bit in the key event state also for + ISO_Left_Tab. Now backtabbing finally works again. + + * gdk/win32/gdkunput-win32.c: Minor debugging output change. + + * gdk/win32/gdkkeys-win32.c (update_keymap): Set VK_TAB mapping to + Gdk_Tab and GDK_ISO_Left_Tab, like on X11. + (gdk_keymap_translate_keyboard_state): Add similar code as in the + non-XKB case on X11 to generate a more correct + consumed_modifiers. Add debugging output. + (gdk_keyval_name): Use the U+xxxx format for UCS characters + encoded as keyvals. Never return NULL, but hex number + representation if keyval not in table. + + * gdk/win32/gdkwindow-win32.c (gdk_window_focus): Call + SetFocus(). Doesn't seem to have any harmful effect, and probably + is close to what this function is supposed to do. But it didn't + fix GtkCombo as I had hoped. + (gdk_window_set_type_hint): Don't intern the _NET_WM_* atoms that + weren't used and wouldn't have any meaning on Win32 anyway. + +Tue Mar 5 19:19:19 2002 Owen Taylor + + * gtk/gtkwindow.c (gtk_window_set_focus): When setting + the focus to NULL, clear the existing focus chain so + that when we focus into the window again, we start + at the beginning. (Pointed out by Tim Janik.) + +2002-03-06 James Henstridge + + * configure.in: libpango is now called libpango-1.0 + +Tue Mar 5 18:17:31 2002 Jonathan Blandford + + * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width): + remove sizing == AUTOSIZE check. Update docs. + +Tue Mar 5 17:43:43 2002 Owen Taylor + + * gtk/gtkfontsel.c (gtk_font_selection_init): Don't + create ->font_entry, ->font_style_entry at all rather + than just not showing them to avoid the problem of + them popping up if gtk_widget_show_all() is done + on the dialog. (#72913, Charles Kerr.) + +Tue Mar 5 18:06:49 2002 Jonathan Blandford + + * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_resizable): + doc fix proposed by tvv@sparc.spb.su (Vitaly Tishkov), #73567. + +2002-03-05 Matthias Clasen + + * gtk/gtktreemodel.c (gtk_tree_row_reference_deleted): Fix docs. + + * gtk/gtkwindow.c (gtk_window_remove_mnemonic): + (gtk_window_add_mnemonic): + (gtk_window_mnemonic_activate): Add docs. + + * gtk/gtktreeview.c (gtk_tree_view_get_search_equal_func): Fix + typo in docs. + +Tue Mar 5 17:02:59 2002 Owen Taylor + + * docs/tutorial/gtk-tut.sgml: s/menu_new/menu_item_new/. + (#69199, Akira Tagoh.) + +Tue Mar 5 16:53:05 2002 Owen Taylor + + * docs/faq/Makefile.am: Build the docbook version, not + the old linuxdoc version. + +Tue Mar 5 15:47:54 2002 Owen Taylor + + * configure.in test/makefile.msc **.pc.in **/*.am: + Update version to 2.0.0 + + * gtk/Makefile.am (MAINTAINERCLEANFILES): Add stamp + files. + + * configure.in (GDK_PIXBUF_VERSION): Require GLib 2.0.0, + Pango, Atk, 1.0.0. + + * m4macros/gtk-2.0.m4: Default to 2.0.0 as the minimum + version. + +2002-03-05 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_size_allocate): don't assign + yoffset here, just let it get updated in response to the + value_changed. Fixes #72479 + +Tue Mar 5 10:29:09 2002 Owen Taylor + + * gtk/gtktreeview.c (do_presize_handler) + gtk/gtktreeview.c (do_validate_rows): Don't use this + same functions as idle callbacks and directly, to avoid + threading deadlocks. (#72392, Scott Guilbeaux) + + * gtk/gtktable.c (gtk_table_size_request_init): Fix + row/column confusion from recent patch. (#73505, + Vitaly Tishkov.) + +2002-03-04 Matthias Clasen + + * docs/tutorial/gtk-tut.sgml: Make color selection and selection + examples work. + + * tests/testselection.c (selection_toggled, selection_clear): + Use selection_widget as selection owner - otherwise clearing the + selection doesn't work. + +Mon Mar 4 12:43:48 2002 Owen Taylor + + Fixes for non XKB operation. (#73103) + + * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): + Fix problem where GDK_Tab was converted to GDK_ISO_Left_Tab + always, not just if Shift was pressed. + + * gdk/x11/gdkkeys-x11.c gdk/x11/gdkprivate-x11.c + gdk/x11/gdkevents-x11.c: Move determination of group + to _gdk_x11_get_group_for_state(), fix to handle non-XKB. + + * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Only + add in SHIFT_MASK | LOCK_MASK to consumed_modifiers if the shifted + and unshifted keysyms are different. Only add in group_switch_mask + if the group-switched and non-group-switched keysyms are diferent. + + * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): + When calling XKeycodeToKeysym, use group * keysyms_per_keycode / 2 + not group * keysyms_per_keycode. (Tor Lillqvist) + + * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): + Remove the hack to fudge the return value for GDK_Tab + Shift + since that didn't work -- it didn't affect the reverse mapping. + Instead fudge the non-XKB keymap instead. + +Mon Mar 4 11:02:18 2002 Owen Taylor + + * gtk/gtkfilesel.c (gtk_file_selection_get_selections): Fix + memory leak. (#73370, Paolo Maggi). + +Mon Mar 4 10:35:28 2002 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_set_current_page): Fix docs + in terms of what out of range @page_num does. (#73371, + Vitaly Tishkov.) + +2002-03-02 Havoc Pennington + + * demos/gtk-demo/editable_cells.c (cell_edited): const fix + +Sun Mar 3 18:47:13 2002 Owen Taylor + + * gtk/gtkwindow.c (gtk_window_parse_geometry): Fix + to properly take the default window into account by + setting a flag and in gtk_window_compute_configure_request_size () + multiplying by the increments and adding in the base + size. (#72393) + + * tests/testgtk.c (create_gridded_geometry): Add a + test for gridded geometry and for gtk_window_parse_geometry(). + +2002-03-04 Hans Breuer + + * gtk/makefile.msc.in : don't build gtk.defs anymore + +2002-03-04 Tor Lillqvist + + * gtk/gtkrc.h: Remove obsolete Win32-only declaration of + gtk_win32_get_installation_directory(). + +Sun Mar 3 17:03:30 2002 Owen Taylor + + * gtk/gtkmenushell.c gtk/gtkmenubar.[ch]: Back out + changes to propagate keys to parent menu shells, since + that broke stuff; rather implement ::cycle-focus as + a key binding on GtkMenuShell rather than on GtkMenuBar. + + * gtk/gtkmenushell.c (gtk_menu_shell_class_init): Add + add bindings for ::cycle-focus. (In gtkmenubar.c, were + mistakently bound to ::move-focus.) + +2002-03-03 Tor Lillqvist + + * README.win32: Minor edits. + + * config.h.win32.in: Update to match a recent configure-generated + config.h + +Sun Mar 3 15:16:07 2002 Owen Taylor + + * gtk/gtktable.c: When increasing the row or column + requisitions to make them sufficient for spanning widgets, + favor rows or columns with expandable children in them. + (#1261, Jonathan Blandford.) + +Sun Mar 3 14:26:33 2002 Owen Taylor + + * gtk/gtkstyle.[ch] (_gtk_get_insertion_cursor_gc): + Centralize lookup and caching of cursor GC's here. + + * gtk/gtkentry.[ch] gtk/gtktextview.[ch] gtk/gtktextdisplay.c + gtk/gtklabel.c: Move to using _gtk_get_insertion_cursor_gc(). + + * gtk/gtkentry.c (gtk_entry_expose): Draw cursors + under the text, not over the text. + + * gtk/gtkwidget.c (gtk_widget_class_init): add + a secondary-cursor-color property. + + * gtk/gtkwidget.c (gtk_widget_class_init): Decrease + the default aspect ratio to 1/25 (0.04). + + * tests/testgtkrc (bell_duration): Comment out + cursor color setting. + +Sun Mar 3 20:48:12 2002 Soeren Sandmann + + * gtk/gtkmenu.c (gtk_menu_set_submenu_navigation_region): change + offset of cursor corner of navigation region from (-2, 2) to + (-2, 0). + +2002-03-03 jacob berkman + + * Makefile.am (EXTRA_DIST): add sanitize-la.sh + +2002-03-03 Anders Carlsson + + * gdk/x11/gdkwindow-x11.c (gdk_window_move_resize): Fix tyop + in docs. + +Sat Mar 2 03:49:31 2002 Kristian Rietveld + + * gtk/gtktreeview.c (gtk_tree_view_button_press): move edit + ifs above _set_cursor code, don't collapse/expand row on double + click, only activate (#63269) + (validate_visible_area): add two missing lines (#73161, #73162) + +Sun Mar 3 12:13:56 2002 Owen Taylor + + * configure.in: Fix typo where pangoxft was being + required instead of pangox. (Reported by Miles + Lane) + +Sun Mar 3 11:12:16 2002 Owen Taylor + + * gtk/gtktextlayout.c (add_cursor): When in split cursor + mode, always add the cursor as both strong and weak + so that it is drawn with the correct non-split color. + +Sun Mar 3 11:05:13 2002 Owen Taylor + + * modules/input/Makefile.am (moduledir): Fix + install location. + +Sun Mar 3 10:28:32 2002 Owen Taylor + + * gtk/Makefile.am: add missing dependency of objects on + gtkmarshalers.h. + + * gtk/Makefile.am gtk/gtk-boxed.defs: Remove completely + out of date and unused gtk-boxed.defs and the accompanying + Makefile rule to generate the complete gtk.defs. + +2002-03-03 Hans Breuer + + * gtk/gtkmain.c : make rewrite_event_for_window() static + * gtk/gtkrc.c : gtk_rc_clear_realized_style() static + + * gtk/makefile.msc.in : adapt to makeenums build changes + + * gtk.def : sorted alphabetical again + +2002-03-03 Sven Neumann + + * m4macros/gtk-2.0.m4: lowercase configure --help output. + +Sun Mar 3 06:39:19 2002 Tim Janik + + * gtk/gtkfilesel.c: added compile time switch to put the tree views + into a hpaned for owen to play with. + + * gtk/gtktreedatalist.c (_gtk_tree_data_list_header_free): + * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data_func), + (gtk_tree_view_column_finalize): + * gtk/gtktreestore.c (gtk_tree_store_set_default_sort_func), + (gtk_tree_store_set_sort_func), (gtk_tree_store_finalize): + * gtk/gtktreeselection.c (gtk_tree_selection_finalize): + * gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func), + (gtk_tree_model_sort_set_default_sort_func), + (gtk_tree_model_sort_set_sort_func): + * gtk/gtkliststore.c (gtk_list_store_set_default_sort_func), + (gtk_list_store_set_default_sort_func), + (gtk_list_store_set_sort_func), (gtk_list_store_finalize): + add reentrancy protection around destroy() function invocation. + + * gtk/gtktreeselection.c (gtk_tree_selection_set_select_function): fix + destroy function invocation (which was missing). + +Sat Mar 2 23:08:23 2002 Owen Taylor + + Fixes for uninstalled operation with module suffixes + other than .so and in general for platforms like AIX where + the module suffix isn't predictable. (#72185, problems + reported by Miroslaw Dobrzanski-Neumann) + + * modules/input/Makefile.am (gtk.immodules): Query .la + files rather than shared objects in .libs when creating the + uninstalled gtk.immodules file. + + * gtk/gtkmain.c (_gtk_find_module): Look for .la files + after looking for the normal soname extension to handle + cases where the soname extension isn't predictable, + like AIX. + + * gtk/gtkthemes.c (gtk_theme_engine_load): Don't + call g_module_build_path... leave that to + gtk_rc_find_module_in_path. + + * demos/gtk-demo/main.c (main) demos/pixbuf-init.c (pixbuf_init): + tests/testgtk.c (test_init): tests/testtext.c (test_init) + tests/testdnd.c (test_init): Point gdk-pixbuf to .la + files rather than poking in .libs for .so files. + + * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): Remove + .libs from GDK_PIXBUF_MODULEDIR. + +Sat Mar 2 20:58:30 2002 Owen Taylor + + * gtk/gtkwidget.c (gtk_widget_reparent): Handle NO_WINDOW + widgets with windows that are children of widget->window. + (#50279) + + * tests/testgtk.c: Add eventboxes to the example so that + we are reparenting between different GdkWindows. + +Sat Mar 2 20:39:38 2002 Owen Taylor + + * gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_from_stock): + Add a note to the docs about how to use this in the + context of changeable accelerators. (#72382, Mark Patton) + +Sat Mar 2 19:48:10 2002 Owen Taylor + + * configure.in: Fix missing -lX11 into x_libs with pangoxft. + +Fri Mar 1 00:46:49 2002 Owen Taylor + + * configure.in: Add a --enable-explicit-deps option to control + whether dependency libraries are written into .la files and .pc + files. Default is auto: if static libraries are off and shlib + dependencies are found, don't write deps. + + * gdk/Makefile.am gtk/Makefile.am sanitize-la.sh: Shell script + used to strip dependencies out of .la files. + + * Makefile.am: Add a slightly modified distcheck rule that passes + --enable-gtk-doc to the configure inside. + (So that 'make dist' succeeds inside.) + + * configure.in: If pango was compiled with + --disable-explicit-deps, then repeat the checks for X and + freetype ourselves so we don't depend on linking to libraries + that pango doesn't reveal in the link line. Add some more paranoia + for whether what we detect ourselves matches what Pango backends + we found. + +2002-03-03 Tor Lillqvist + + * configure.in: Output gdk-pixbuf/gdk_pixbuf.rc. + + * gdk/gdk.def + * gdk/win32/gdkevents-win32.c: Add and (trivially) implement + gdk_pointer_grab_info_libgtk_only() and + gdk_keyboard_grab_info_libgtk_only(). + +2002-03-02 Tor Lillqvist + + * gdk/win32/gdkevents-win32.c (build_keypress_event): Reorder + code, keyval should get a value in all cases now. + (build_keyrelease_event): Set GDK_CONTROL_MASK here, too, if it + was a control character produced with Alt+keypad digits. + (gdk_event_translate): Minor cleanups to keyboard input + handling. Still need more major work. + +Sat Mar 2 16:12:03 2002 Owen Taylor + + * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't + do special focus handling if draw_indicator is not set. + (#64723, Damon Chaplin.) + +Sat Mar 2 15:48:04 2002 Owen Taylor + + * gtk/gtkentry.c (gtk_entry_new_with_max_length, + gtk_entry_set_max_length): Clamp @max parameter passed in to + [0, MAX_SIZE], improve docs. Fix default and range + for ::max-length property, range for ::ncursor_position, + ::selection_bound properties. (#55916, Vitaly Tishkov) + + * gtk/gtkmain.c (rewrite_event_for_grabs): Fix typo + +Fri Mar 1 18:39:44 2002 Owen Taylor + + * gdk/x11/{gdkevents-x11.c,gdkmain-x11.c,gdkprivate-x11.h, + gdkwindow-x11.c}: Robustify tracking of pointer grab window. + + * gdk/x11/gdkmain-x11.c: Keep track of current keyboard + grab window. + + * gdk/x11/gdkmain-x11.c (gdk_pointer_grab_info_libgtk_only, + gdk_keyboard_grab_info_libgtk_only): Private libgtk => libgtk + API for finding out current grab information. + + * gtk/gtkmain.c (rewrite_event_for_grabs): Rewrite events + so that the effective behavior of owner_events = TRUE is changed + to "deliver events to same window group normally" instead + of "deliver events to same application normally. #69934 + + * gtk/gtkrange.c: Use an explicit gtk_grab_add() so that + it works within the GtkList combo, where there is a + owner_events = FALSE gdk_pointer_grab() already in effect. + (#65006, reported by Damon Chaplin) + +Sat Mar 2 14:32:50 2002 Owen Taylor + + * configure.in: Default to --disable-gtk-doc (avoid Jade + breakage) and --disable-static (static linking causes + problems with Xft changes.) + + * autogen.sh: Add --enable-gtk-doc by default. + + * Makefile.am: Add a 'mydistcheck' rule that passes + --enable-gtk-doc to the configure since that is needed + for 'make dist'. + + * docs/tutorial/Makefile.am (dist-hook): Don't distribute + the PDF file. (Rule doesn't work on my system, plus it's + big.) + + * gtk/Makefile.am: 'make dist' fixes. + +Sat Mar 2 13:26:58 2002 Owen Taylor + + * gtk/Makefile.am: Switch style of stamp file usage. + + * gtk/Makefile.am gtk/typeutils.[ch]: Switch all the exported + enumeration/fags TYPE variables over to macros for get_type() functions, + for lazy definition and to get rid of expensive relocations. + + * gtk/gtkiconfactory.[ch] gtk/gtkselection.[ch] gtk/gtkstyle.[ch] + gtk/gtktextiter.[ch] gtk/gtktexttag.[ch] gtk/gtktreemodel.[ch] + gtk/gtktypeutils.[ch] gtk/gtkwidget.[ch]: Switch boxed type + definitions over manually coded get_type() functions. + + * gtk/gtk.def: Updates for above + + * gtk/{genmarshal.pl,makeenums.awk,makeenums.h,maketypes.awk}: + Remove from CVS, no longer used. + + * configure.in: Remove checks for awk. + +Sat Mar 2 04:44:10 2002 Tim Janik + + * gtk/gtkaccelgroup.c (gtk_accel_group_connect_by_path): fix typo. + +Fri Mar 1 23:59:35 2002 Kristian Rietveld + + * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size): set + first_cell to FALSE after first iteration + + * gtk/gtktreeview.c (validate_visible_area): reduce usage of + GTK_RBNODE_GET_HEIGHT, check for node != NULL, + (gtk_tree_view_top_row_to_dy): remove call to gtk_adjustment_changed + (gtk_tree_view_search_iter): select iter after scrolling + +2002-03-02 Tor Lillqvist + + * gtk/gtkitemfactory.c: Remove unneeded Win32 stuff inside #ifdef + G_OS_WIN32. (Leftover from when gtkitemfactory.c handled files.) + +2002-03-01 Tor Lillqvist + + * gdk/gdkkeys.c (gdk_keyval_convert_case) + * gdk/x11/gdkkeys-x11.c (gdk_keyval_convert_case): If the keyval + to be converted is one of those that consist of a Unicode + character plus our special flag bit, use the + g_unichar_to{lower,upper} functions (Bug#73112). + + * gdk/gdkkeys.c (gdk_keyval_convert_case): Drop the #ifdefs for + the GDK keysym symbols. As we include gdkkeysyms.h, we know they + are there. And if GDK keysyms some day are added/removed, this + function needs changes, too, anyway. + +Fri Mar 1 17:00:28 2002 Owen Taylor + + * gdk/gdkpolyreg-generic.c: Fix some reported (but not significant) + UMR's from purify. (#73160, Morten Welinder) + +Fri Mar 1 16:48:19 2002 Owen Taylor + + * gtk/gtkscrolledwindow.c: Initialize the scrollbar spacing + variable in the class to -1, and then take that to mean + "default" (3) rather than putting 3 in the class directly. + This gives us some wiggle room to make it a per-instance + rather than a per-class property later. + +2002-03-01 jacob berkman + + * Makefile.am (install-data-hook): + (dist-hook): replace uses of test -e with more portable test -f + +Fri Mar 1 14:49:35 2002 Owen Taylor + + * gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete + forward across line boundaries when in overwrite mode. + (#73145, reported by Ettore Perazzoli) + +Fri Mar 1 14:47:39 2002 Owen Taylor + + * gtk/gtktextview.c (gtk_text_view_commit_text): Don't + join up lines. + +Fri Mar 1 10:31:14 2002 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_reorder_child): + Fix signed-unsigned error that was accidentally causing + negative values to append, do it intentionally. Fix docs + to say that negative values append. (Alexey A. Malyshev, + #73108) + +2002-03-01 Alexey Malyshev + + * gtk+/gtk/gtkitemfactory.c + fixed a little type in docs for gtk_notebook_set_show_border() + +Fri Mar 1 09:05:19 2002 Owen Taylor + + * gtk/gtkitemfactory.c (gtk_item_factory_delete_entries): + Really make it work for paths with underline accelerators. (#69247) + +2002-02-28 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_finalize): free the tab array + for custom tabs, reported by Paolo Maggi #72980 + +Thu Feb 28 19:55:01 2002 Owen Taylor + + * gdk/gdkkeys.c: include gdkkeysysms.h if + compiling gdk_keyval_convert_case. + + * gtk/gtkmenubar.c (gtk_menu_bar_cycle_focus): Implement + Tab Tab to cycle between + all menu bars in a toplevel once one is up. + + * tests/testgtk.c: Add a second menubar, this + example is already full of crack anyways. + + * gtk/gtkmenushell.c (gtk_menu_shell_key_press): Padd + unhandled events up to the parent menu shell. + + * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): Only + pop up the menu if the parent menu shell is still active. + + * gtk/gtkcontainer.[ch] (_gtk_container_focus_sort): Add a + old_focus argument, export privately. + +2002-02-28 Darin Adler + + * gtk/gtkfilesel.c: (open_new_dir): Add missing NULL check. + +2002-03-01 Tor Lillqvist + + * gdk/win32/gdkwindow-win32.h (struct _GdkWindowImplWin32): Remove + the event_mask, it is now in GdkWindowObject. + + * gdk/win32/gdkwindow-win32.c: Change accordingly. Set the + GDK_STRUCTURE_MASK in gdk_window_set_events(), as it is always set + in gdk_window_new(), too. (Bug#72921) + + * gdk/win32/gdkevents-win32.c: Change accordingly here, too. + (vk_from_char): New function, calculates the virtual keycode + corresponding to the char in a WM_CHAR message. + (build_keypress_event, build_keyrelease_event): Use it. + (build_keypress_event): Call ImmReleaseContext() after using the + input context. This might plug a memory or resource leak. + (build_key_event_state): Remove #if 0 code. + (gdk_event_translate): Actually, it would be preferrable to always + handle just the WM_KEYDOWN and WM_KEYUP messages, not WM_CHAR at + all, and thus drop the contorted logic with ignore_wm_char etc. + + * gdk/win32/gdkkeys-win32.c: (gdk_keymap_get_entries_for_keyval): + Debugging output. + (gdk_keymap_translate_keyboard_state): Return correct value. (But + _gtk_key_hash_lookup() doesn't check the return value...) + +Thu Feb 28 14:49:08 2002 Owen Taylor + + * gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new): Initialize + private->event_mask from attributes we retrieved for + the window. + +2002-02-22 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. + +2002-02-28 Sven Neumann + + * configure.in: beautified configure --help output. + +2002-02-28 Tor Lillqvist + + * gdk/win32/Makefile.am: Move bdfcursor.c from + libgdk_win32_la_SOURCES to EXTRA_DIST. + + * gdk/win32/gdkgc-win32.c (gdk_win32_colormap_color_pack): In the + bitmap case, use just the LSB of the pixel value. Does this match + X11 semantics? Or should it be pixel!=0? + +Wed Feb 27 19:16:50 2002 Owen Taylor + + * gdk/x11/gdkwindow-x11.c (gdk_window_new): + * gdk/x11/gdkwindow-x11.c (gdk_window_get_events): + * gdk/x11/gdkwindow-x11.c (gdk_window_set_events): + * gdk/win32/gdkwindow-win32.c (gdk_window_set_events): + * gdk/win32/gdkwindow-win32.c (gdk_window_new): + * gdk/gdkwindow.h (struct _GdkWindowObject): + * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_events): + Save the window's event mask in window->event_mask. + + * gdk/gdkwindow.c (gdk_window_process_updates_internal): Only + generate expose events if GDK_EXPOSE_MASK is included + window->event_mask. (#54506) + +Wed Feb 27 18:50:29 2002 Owen Taylor + + * gtk/gtkwidget.c (gtk_widget_event): Allow focus-change + events to be sent to unrealized widgets; they aren't + really normal events in that they have anything to + do with widget->window. (#72914, Andreas J. Guelzow) + +Wed Feb 27 18:39:25 2002 Owen Taylor + + * gtk/stock-icons/Makefile.am: Split big VARIABLES variable + that was causing overlong lines into 6 variables with 20 + in each one. + +Wed Feb 27 18:01:03 2002 Owen Taylor + + * gtk/gtkaccellabel.c (gtk_accelerator_name) po/POTFILES.in: + Mark Ctrl, Shift, Alt for translation. + (#60590) + + * gtk/gtkfontsel.c: Mark PREVIEW_TEXT for translation. + (Vlad Harchev, #53223) + +Wed Feb 27 17:32:09 2002 Owen Taylor + + * gtk/gtkrange.c (gtk_range_get_props): if CAN_FOCUS + reserve focus_line_width + focus_line_pad extra + space and draw the focus in that space. #72027. + +Wed Feb 27 23:02:55 2002 Soeren Sandmann + + * gtk/gtkhandlebox.c (gtk_handle_box_realize): minor code cleanup + +Wed Feb 27 14:58:12 2002 Owen Taylor + + * gtk/gtkmenubar.c (gtk_menu_bar_size_request/allocate): + Don't reserve space for border when the shadow type + for the menubar is "none". (#61843) + + * gtk/gtkmenubar.c (gtk_menu_bar_size_allocate): Fix + offset for right-justified menu items. + +Wed Feb 27 14:45:21 2002 Owen Taylor + + * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Go + back to old style of drawing children over the bevel. + (#58615) + +Wed Feb 27 14:08:26 2002 Owen Taylor + + * modules/input/imxim.c: Add ko and zh to the locales + where this is the default. + +Wed Feb 27 12:34:21 2002 Owen Taylor + + * gtk/gtkiconfactory.c: Register all stock icons + "unscaled" so that we don't have icons only available + at some sizes. (#68896) + +Wed Feb 27 11:59:05 2002 Owen Taylor + + Some ASCII vs. locale fixes from Darin Adler (#55837) + + * gtk/gtkcombo.c (gtk_combo_find): Implement real + case-insensitive comparison using g_utf8_casefold(). + + * gtk/gtkaccellabel.c (gtk_accel_label_refetch): Fix + assignment of gunichar to char by replacing g_unichar_totitle + with g_ascii_toupper ... the contents would only be ascii + here anyways. + + * gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale) + * gtk/gtkfontsel.c (gtk_font_selection_show_available_fonts): + Replace a calls to g_strcasecmp() with g_ascii_strcasecmp(). + +2002-02-27 Hans Breuer + + * demos/gtk-demo/makefile.msc.in : new file + + * gdk-pixbuf/gtk-pixbuf.rc.in : new file to include + version resource + * gdk-pixbuf/makefile.msc : create and use gdk-pixbuf.res + + * gdk/win32/gdkkeys-win32.c : handle undefined LANG_URDU, + (gdk_keyval_name) : fix endless looping + + * gtk/gtkfilesel.c : translate_win32_path() static + * gtk/queryimmodules : print_escaped(), query_module() static + + * gtk/makefile.msc.in : added gtkkeyhash, build gtk-win32.res + + * gtk/stock-icons/makefile.msc : regenerated from directory + listing (almost all filenames changed) + +Wed Feb 27 10:34:46 2002 Owen Taylor + + * gtk/gtkrange.c (gtk_range_set_range): After computing + the clamped value, actually set it. (#62639, Sergey Kuzminov) + +Tue Feb 26 22:22:37 2002 Owen Taylor + + * gtk/gtkbox.c (gtk_box_reorder_child): Clean up + the code so < 0 == end wasn't just a side effect, + remove most of the manual linked list manipulation + code in favor of g_list_* functions. + +Tue Feb 26 21:44:01 2002 Owen Taylor + + * config.status config.guess: Remove these files + from CVS so we more-or-less current versions from + automake --add-missing. (Reported by Finlay Dobbie, + #60342) + + * gdk/gdkkeyuni.c: Shouldn't map KP_Enter to '\n', + or KP_Tab to \t' since we don't map the corresponding + main keyboard characters in that way. (#61561, + Padraig O'Briain) + +Tue Feb 26 19:45:29 2002 Owen Taylor + + * gtk/gtkcombo.c (gtk_combo_set_popdown_strings): + Call gtk_combo_set_popdown_strings() in case + the combo is up currently. (#63535, Skip Montaro) + +Tue Feb 26 19:38:14 2002 Owen Taylor + + * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): + Switch control-home/end and home/end with + the idea that scrolled windows more typically contain + vertical sets of controls and to correspond to the bindings + in GtkTreeView. + +Tue Feb 26 19:32:42 2002 Owen Taylor + + * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain + up before drawing the scale values so that the number + is drawn in the right place instead of one step + back. (#61743, patch from Satyajit Kanungo) + +Tue Feb 26 19:16:28 2002 Owen Taylor + + * gdk/win32/gdkkeys-win32.c (gdk_keyval_name): + * gdk/x11/gdkkeys-x11.c (gdk_keyval_name): + Make sure Page_Up, Page_Down get those names, not Prior, + Next. + +Tue Feb 26 18:58:49 2002 Owen Taylor + + * gtk/gtkaccelgroup.c (gtk_accelerator_set_default_mod_mask): + OR in the three default modifiers to any value passed + in by the caller, so that the caller won't break the + the default bindings. (#70142, Jody Goldberg, though he + wasn't in favor of this particular way of solving it.) + +Tue Feb 26 18:47:44 2002 Owen Taylor + + * gtk/gtkwindow.c (gtk_window_add_mnemonic): Append + mnemonics rather than prepending them so that the + order is typically forward rather than typically + backward. (Partial fix for #52395) + +Wed Feb 27 00:45:39 2002 Soeren Sandmann + + * gtk/gtkarrow.c, gtk/gtkmenuitem.c, gtk/gtkrange.c + gtk/gtkspinbutton.c gtk/gtkstyle.c: Draw arrows better (without + extra baseline) + +Tue Feb 26 18:38:17 2002 Owen Taylor + + * gtk/gtkaccellabel.c (gtk_accel_label_refetch): + Display any "g_unicode_isgraph()" char literally, + not just latin1. (#65679) + +Tue Feb 26 18:01:10 2002 Owen Taylor + + * gtk/gtkwidget.c (gtk_widget_grab_focus): Don't + focus insensitive widgets. (#68203) + + * gtk/gtkentry.c (gtk_entry_state_changed): Clear any + current selection if we become insensitive. (#68203) + + * gtk/gtkentry.c (gtk_entry_grab_focus): Don't + select the text if the entry isn't editable. (#67203) + + * gtk/gtkentry.c: Activate keybindings when not editable, + but supress keybindings that change the text. (#65848, #68203) + + * gtk/gtkentry.c (gtk_entry_set_property): Reset the + IM context for the entry when it is made not editable. + +Tue Feb 26 17:04:44 2002 Owen Taylor + + * gtk/gtkcolorsel.c (update_color): Emit ::color_changed + every time we notify current_color. (Brute force + fix for #72470, Matthias Clasen). Some fixes to improve + reentrancy. + +Tue Feb 26 15:04:33 2002 Owen Taylor + + * gtk/gtkentry.c (gtk_entry_enter_text): use + the cursor position _after_ deleting the text + as the position to insert at. (#72717, Jan Mynarik) + +2002-02-26 Vitaly Tishkov + + * gtk/gtktreemodel.c + misprints in documentation for gtk_tree_row_reference_inserted() + and gtk_tree_path_new () are fixed + +Tue Feb 26 19:47:16 2002 Kristian Rietveld + + * gtk/gtktreeview.c (validate_visible_area): take into account + that a path from a rowref can be NULL. (#72623 and #72650) + + * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_render_or_focus): + let focus_rectangle be the same as cell_area for empty cells (#69900) + +Tue Feb 26 11:51:56 2002 Owen Taylor + + * gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry): Fix + double free. + +Tue Feb 26 10:38:14 2002 Owen Taylor + + * gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval): Handle + a keyval of 0, by returning an empty list. (#72617, + Kevin Breit) + +2002-02-26 Richard Hult + + * gtk/gtktreeview.c (gtk_tree_view_expand_all): Fix + #72586. Silently accept empty tree. + (gtk_tree_view_collapse_all): Likewise. + +2002-02-26 Tor Lillqvist + + * gtk/gtk.def: A couple of name changes. + +Mon Feb 25 22:10:47 2002 Owen Taylor + + * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): Fix + double set of bindings for page-up/down. (#72605, Tor Lillqvist) + + * gtk/gtkmenu.c (gtk_menu_key_press): Remove consumed modiifers + when setting up accelerator to make accelerators look prettier. + (#65416, Guillermo S. Romero) + +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 @@ -15530,7 +17108,7 @@ Tue Jan 16 13:13:13 GMT 2001 Tony Gale Use fb_mem, fb_stride, fb_width, fb_height. Added recompute_rowstride to reset the rowstride of all windows. Added gdk_fb_recompute_all() which recomputes rootwindow size, - window abs positions and window rowstrides. Usefull when the + window abs positions and window rowstrides. Useful when the rotation has changed. Thu Jan 11 13:16:50 GMT 2001 Tony Gale