X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=ChangeLog.pre-2-8;h=dad0e8e98f11dcb443526be9001236c1b8d621c0;hb=fcffe5a1abb031909e85a8b5b2f1adbe587389ed;hp=ec11e20035ac7ae445e3952738f39f57eb841882;hpb=6006834d46434a2659f5f2b95643afe331baaa16;p=~andy%2Fgtk diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index ec11e2003..dad0e8e98 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,6 +1,434 @@ +2003-06-17 Matthias Clasen + + * acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New + macros to check for XML catalog contents and path, borrowed from + gtk-doc. + * configure.in: New option --enable-man to enable regeneration of + man pages from Docbook, if the necessary tools are found. + +2003-06-15 Matthias Clasen + + * gtk/gtkcalendar.c (gtk_calendar_class_init): + * gtk/gtknotebook.c (gtk_notebook_class_init): + * gtk/gtkalignment.c (gtk_alignment_class_init): + * gtk/gtkpaned.c (gtk_paned_class_init): Document new properties + as 2.4 additions. + + * gtk/gtkwidget.c (gtk_widget_class_init): Move inline signal docs + to the proper place, immediately before the g_signal_new() call. + + * gtk/gtktextiter.h: Make the flags-nature of GtkTextSearchFlags + more obvious. (#115122, Jeff Franks) + +2003-06-12 Anders Carlsson + + * gtk/gtkwidget.c: (event_window_is_still_viewable): + Special case pixmaps. (#114880) + +2003-06-12 Matthias Clasen + + * gtk/gtkwidget.c: Document child-notify and drag-data-received + signals. Owen, we need to figure out where the best place for + these comments in the source is. I currently put them in front of + the signals enum. + +2003-06-11 Matthias Clasen + + * gtk/gtkdnd.c (gtk_drag_check_threshold): s/threshhold/threshold/. + +Thu Jan 12 01:01:19 2003 Kristian Rietveld + + * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): + silly typo fix. s/seperator/separator/. This gets rid of the + assert spam when using TreeView. + +Tue Jun 10 11:23:48 2003 Hidetoshi Tajima + + * modules/input/gtkimcontextxim.c (xim_instantiate_callback): New + function for XIM instantiate callback. + * modules/input/gtkimcontextxim.c (xim_info_try_im): New function + where call to XOpenIM() or XRegisterIMInstantiateCallback() is + actually made. + * modules/input/gtkimcontextxim.c (xim_destroy_callback): New function + for XIM's destroy callback. + * modules/input/gtkimcontextxim.c (get_im): add a check if info->im + is set or not - if it's not set, call xim_info_try_im() to try to + initiaize it. + * modules/input/gtkimcontextxim.c (reinitialize_ic): reset + filter_key_release flag of the context. + * modules/input/gtkimcontextxim.c (get_ic_real): removed + * modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic): move + code from the removed get_ic_real(). + + For XIM instantiation, destruction and re-instantiation. With + this, Gtk+ apps will be able to connect or reconnect to the XIM, + when it starts after the apps, or when the XIM gets lost and recover. + (#113099, #107782). + +Mon Jun 10 01:12:31 2003 Kristian Rietveld + + Merged from stable. + + * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size): + check if width is !null, not *width. Doh. + +Tue Jun 10 01:09:33 2003 Kristian Rietveld + + Merged from stable. + + * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): + Remove the weird dx logic, get all cell_area and background_area + calculations right. Not sure what was up with it before. (Fixes + #110989, testcase from Vasco Alexandre da Silva Costa). + +Tue Jun 10 00:58:23 2003 Soeren Sandmann + + * tests/testgtk.c: Make it compile with C89 compilers + +2003-06-10 Matthias Clasen + + * gtk/gtktextview.c (gtk_text_view_class_init): Install boolean + property "overwrite". + (gtk_text_view_[gs]et_property): Handle "overwrite". + * gtk/gtktextview.[hc] (gtk_text_view_[gs]et_overwrite): Getter + and setter for "overwrite" property. (#110241, Jeroen Zwartepoorte) + +2003-06-09 Matthias Clasen + + * gtk/gtkpaned.c (gtk_paned_class_init): Install boolean child + properties "resize" and "shrink". + (gtk_paned_[gs]et_child_property): Implementations of + GtkContainer::[gs]et_child_property. + * tests/testgtk.c (toggle_resize, toggle_shrink): Use the new + paned child properties instead of remove/add hacks. (#114667, + Soeren Sandmann) + +Mon Jun 9 16:18:11 2003 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_button_press): Back + out event->window test - it wasn't needed because + of the call to get_widget_coordinates(). + + * gtk/gtknotebook.c (gtk_notebook_button_press): Remove + call to gtk_widget_grab_focus() when not clicking on + any tabs. (Real fix for #114534) + +Sun Jun 8 22:03:09 2003 Owen Taylor + + * tests/testdnd.c: Use application/x-rootwindow-drop for + root window drops. (#108670, Alex Larsson) + + * gdk/x11/gdkdnd-x11.c (gdk_drag_motion) gtk/gtkdnd.c (gtk_drag_drop): + Accept either application/x-rootwin-drop (what GTK+ has always used) + or application/x-rootwindow-drop (what the XDND standard specifies). + +Fri Jun 6 11:07:33 2003 Owen Taylor + + * gtk/gtkwidget.c (event_window_still_viewable): + Before delivering an event to a widget, check that + (if relevant), the event's window is still viewable. + (#105642, Dennis Björklund) + + * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): + NULL out private->parent, since after destruction + it might not be valid any more. + + * gdk/gdkwindow.c (gdk_window_is_viewable): Fix some + accesses before g_return_val_if_fail(). Treat + DESTROYED windows as unmapped. + +Thu Jun 5 09:28:03 2003 Owen Taylor + + * gtk/gtkentry.c: Recompute unconditionally in + gtk_entry_style_set, and in a new gtk_label_screen_changed(). + Protect the guts of recompute_idle_func() with + gtk_widget_has_screen(). (#114040, Morten Welinder) + Fix FALSE/0 confusion. + +Sun Jun 8 18:27:14 2003 Soeren Sandmann + + * gdk/gdkpixbuf-drawable.c (G8fromRGB565): swap G and B. + Fixes (#114669) + +Sun Jun 8 11:27:29 2003 Owen Taylor + + * gtk/gtkviewport.c (viewport_set_adjustment): Fix bug with + set_adjustment (viewport, NULL); + +2003-06-07 Matthias Clasen + + * gtk/gtkiconfactory.c (get_default_icons): + * gtk/stock-icons/stock_{undo,redo,undelete,revert}_rtl_{16,24}.png: + * gtk/stock-icons/Makefile.am: Add rtl variants of undo, redo, + undelete and revert. (#96633) + +Fri Jun 6 16:25:44 2003 Owen Taylor + + * gtk/gtkviewport.c: Many fixes, along with extensive cleanups and + refactoring of code to reduce duplication; fixes include: + + - gtk_viewport_realize(): Position the window correct from adjustment + values. (#110737, Michael Natterer) + + - Remove some division-by-zero checks in places where there is no + longer division. (#110737) + + - gtk_viewport_class_init: Make the hadjustment/vadjustment properties + G_PARAM_CONSTRUCT, so that there will always be adjustments, even + if gtk_viewport_new isn't used (#101135, Thomas Leonard). + + - Switch over to encapsulated lazy-creation for hadjustment/ + vadjustment; even with the CONSTRUCT property, we need this after + destroy. + + - When updating the adjustment, immediate set their values to + match the the current range of the viewport, and update the + viewport position to match the value of the new adjustments. + (Part of #1165) + +2003-06-06 Tor Lillqvist + + * gdk/win32/gdkprivate-win32.h: Fix typo. + + * gdk/win32/gdkgc-win32.c (_gdk_win32_gc_new): Set + graphics_exposures and subwindow_mode, too, even if they aren't + currently used. + +Fri Jun 6 23:38:23 2003 Kristian Rietveld + + Merged from stable. + + * gtk/gtktreeview.c (do_expand_collapse), + (expand_collapse_timeout), (cancel_arrow_animation): made + expand_collapse_timeout a wrapper with locks around + do_expand_collapse, made cancel_arrow_animation use + do_expand_collapse. Fixes threadlock. (Fixes #111286, patch from + Peter Bloomfield). + +Fri Jun 6 11:05:45 2003 Hidetoshi Tajima + + * modules/input/gtkimcontextxim.h (struct _GtkIMContextXIM): + * modules/input/gtkimcontextxim.c (preedit_start_callback, + preedit_draw_callback, preedit_done_callback): Add a 'finalizing' flag + to keep preedit-[start,changed,end] signals from being called during + finalization (#111861). + +2003-06-05 Noah Levitt + + * gtk/gtknotebook.c (gtk_notebook_button_press): Ignore button + presses that are not on the tab (#114534). + +Thu Jun 5 20:35:40 2003 Owen Taylor + + * demos/Makefile.am: Conditionalize dependencies for + gdk-pixbuf-csource on cross-compilation (#112391, J. Ali Harlowe). + Buildtest-inline-pixbufs.h in srcdir. Don't try to build + test-inline-pixbufs.h if we don't have libpng. + + * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): + Add a dependency on gdk-pixbuf.loaders when not + cross-compiling, remove the dependency on gdk-pixbuf-csource + when not cross compiling. + +Thu Jun 5 20:12:51 2003 Owen Taylor + + * gtk/gtkwindow.c (gtk_window_get_default_size): Handle + gtk_window_get_geometry_info() returning NULL. + (#107311, John Finlay) + +Thu Jun 5 19:24:33 2003 Owen Taylor + + * gtk/gtktoolbar.c (gtk_toolbar_expose): Subtract off + twice the border width from the width/height, not + 1x the border width. (#106336, Rodney Dawes) + +Thu Jun 5 15:33:38 2003 Owen Taylor + + * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line): + If at the end of the buffer, move to the end iter - + parallels behavior of move_iter_to_previous_line. + (#81960, Padraig O'Briain) + +Thu Jun 5 16:12:54 2003 Owen Taylor + + #80023, Yao Zhang, TOKUNAGA Hiroyuki + + * gtk/gtktextlayout.c (gtk_text_layout_get_cursor_locations): + Account for the preedit cursor offset if the iter passed + in is at the same place as the insertion cursor. + + * gtk/gtktextview.c (gtk_text_view_get_cursor_location): + Encapsulate getting the insertion cursor location. + + * gtk/gtktextview.c (gtk_text_view_update_im_spot_location): + Pass the real y/height to the IM context. Take + text_view->x/yoffset into account. + +Thu Jun 5 16:52:54 2003 Owen Taylor + + * gtk/gtktextview.[ch]: Never scroll on focus in + (#81893, Patch from Paolo Maggi) + + * gtk/gtktextview.c (gtk_text_view_scroll_[h]pages): + Scroll to the current cursor location before handling + the action, in case the user just tabbed in + and the cursor is offscreen. + +Thu Jun 5 17:20:40 2003 Owen Taylor + + #107883, Gustavo Giráldez + + * gtk/gtktextlayout.c (gtk_text_layout_emit_changed): + Split out the case where we know we changed, and + already dealt with our cached line being invalidated + from external calls to gtk_text_layout_changed. + + * gtk/gtktextlayout.c (gtk_text_layout_changed): + Check if the invalidate yrange intersects our + cached line, and clear it if necessary. + +2003-06-05 Tor Lillqvist + + * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle global + filters. + +2003-06-05 Matthias Clasen + + * gtk/gtktextview.c: Fix for #84668, reported by Torbjörn Andersson: + (gtk_text_view_grab_notify): + (gtk_text_view_state_changed): Implement these + to unobscure cursor when grab shadowed or insensitised. + (gtk_text_view_unobscure_mouse_cursor): New function to undo the + effect of gtk_text_view_obscure_mouse_cursor(). Code lifted from + gtk_text_view_motion_event(). + (gtk_text_view_motion_event): Use gtk_text_view_obscure_mouse_cursor(). + + * gtk/gtktextview.c (select_all): New keybinding signal for + (un)selecting the whole buffer. Bound to C-a/C-\. (see #107889) + + * gtk/gtkcalendar.c (calendar_timer): + (stop_spinning): Replace deprecated gtk_timeout_* functions by + their GLib counterparts. (#114429) + + * gtk/gtktreestore.c (gtk_tree_store_new): + * gtk/gtkliststore.c (gtk_list_store_new): Document restriction on + types. + +Wed Jun 4 19:42:17 2003 Owen Taylor + + * gdk/gdkpango.c (gdk_draw_layout_line_with_colors): + When drawing underlines, join up adjacent runs + where possible, so we don't get changes in + shaper/font/etc. breaking underlines. (#103662, + Kang Jeong-Hee) + +Wed Jun 4 19:22:58 2003 Jonathan Blandford + + * gtk/gtktreemodelsort.c (gtk_tree_model_sort_level_find_insert): + Slightly modified patch from Owen Taylor to + improve the speed of inserting rows into an already sorted list, + #109292 + +Wed Jun 4 19:24:28 2003 Owen Taylor + + * gdk/x11/gdkgc-x11.c gdk/x11/gdkprivate-x11.h: Keep + track of when we have a clip mask set for the GC, + and when we unset it, or switch to a clip region, + immediately call XSetClipMask (..., None) to avoid + Xlib caching stale data. (#111806) + + * gtk/gtktextdisplay.c: Don't set a clip mask + when drawing alpha pixmaps; it isn't necessary any more. + (#111806) + +Wed Jun 4 18:27:44 2003 Owen Taylor + + * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): + gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): + Use GTK_WIDGET_IS_SENSITIVE(), not GTK_WIDGET_SENSITIVE + (#92548, Tim Evans) + + * gtk/gtkcheckmenuitem.c (gtk_real_check_menu_item_draw_indicator) + gtk/gtkradiomenuitem.c (gtk_radio_menu_item_draw_indicator): If + Use state_type = STATE_INSENSITIVE for insensitive menu items. + +Wed Jun 4 21:25:35 2003 Kristian Rietveld + + Merged from stable. + + * gtk/gtktreeview.c (gtk_tree_view_drag_begin): use a silent + assert for get_info. (reported by Michael Natterer), + (gtk_tree_view_expand_all_emission_helper), + (gtk_tree_view_expand_all_helper): emit row_expanded for all + expanded rows during an _expand_all operation. (Fixes #111280, + reported by Benjamin Bayart). + +Tue Jun 3 18:32:30 2003 Owen Taylor + + * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't + respond to pings on a root window; prevents infinite + loops if we are selecting for SubstructureNotify on the + root window. (#111945, Sergey V. Udaltsov) + +Tue Jun 3 17:39:16 2003 Owen Taylor + + #71597, reported by Morten Welinder + + * gdk/gdkpixbuf-drawable.c (rgb888amsb): Fix and simplify + (Patch from Christian Petig) + + * gdk/gdkpixbuf-drawable.c (rgb{555,565}{a,}{msb,lsb}): + Major rewrite of 555 and 565 conversion routines: + + - Move all the bit shifting into a small block of macros, + eliminating much duplication of complicated arithmetic. + - Get rid of 2-pixels at a time code, which was buggy, + hard to maintain, caused unaligned accesses, and + probably didn't actually perform any better. + - Simplify cases where different data types were + used for the little and big endian cases, use + GUINT16_SWAP_LE_BE() where appropriate. + +Tue Jun 3 15:05:47 2003 Owen Taylor + + * gdk/x11/gdkdrawable-x11.c (convert_to_format): Remove + bad optimization for src_rowstride == dest_stride. + (Didn't consider the case where we were copying only + partial widths of a wider source buffer) + (#113034, reported by Hans Petter Jansson) + +2003-06-03 Michael Natterer + + * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events): + reenabled button_release events for xinput devices. (#113948) + +2003-06-03 Christian Rose + + * configure.in: Added "li" to ALL_LINGUAS. + +Mon Jun 2 18:58:54 2003 Owen Taylor + + * gtk/gtknotebook.c (gtk_notebook_size_allocate): Don't + map the event window if the notebook isn't mapped. (#113980, + Richard Reich) + +2003-06-02 Sven Neumann + + * gtk/gtkprogress.c (gtk_progress_changed): added a missing cast. + + * gdk/gdkrgb.c (gdk_rgb_try_colormap): removed an unused variable. + +2003-06-01 Matthias Clasen + + * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add + Since: 2.4 to the docs. + + * gtk/gtkwindow.c (gtk_window_parse_geometry): Add some hints and + an example to the docs. (#98427) + 2003-05-30 Murray Cumming - - * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with + + * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with gtk_alignment_get_padding() and gtk_aligment_set_padding(). This uses the new private data system - see g_type_class_add_private() in gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE(). @@ -566,6 +994,9 @@ Mon Apr 7 19:43:15 2003 Owen Taylor * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_at_pointer): Use gdk_x11_display_grab/ungrab. + + * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize + use_xshm to TRUE so SHM gets used when present. 2003-04-07 Matthias Clasen