summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-10
Commit message (Collapse)AuthorAgeFilesLines
* === Released 2.2.2 ===GTK_2_2_2Owen Taylor2003-06-091-0/+6
| | | | | | | | Mon Jun 9 16:29:51 2003 Owen Taylor <otaylor@redhat.com> * === Released 2.2.2 === * demos/gtk-demo/Makefile.am (demos.h): srcdir != builddir fix.
* Back out event->window test - it wasn't needed because of the call toOwen Taylor2003-06-091-0/+13
| | | | | | | | | | | | Mon Jun 9 16:18:11 2003 Owen Taylor <otaylor@redhat.com> * 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)
* check if width is !null, not *width. Doh.Kristian Rietveld2003-06-091-0/+5
| | | | | | | Mon Jun 9 21:25:13 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size): check if width is !null, not *width. Doh.
* Remove the weird dx logic, get all cell_area and background_areaKristian Rietveld2003-06-091-0/+9
| | | | | | | | | | | Mon Jun 9 21:01:16 2003 Kristian Rietveld <kris@gtk.org> * 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). * NEWS: Updated for this bug.
* Updated.Owen Taylor2003-06-091-3/+12
| | | | | | | | Sun Jun 8 23:43:47 2003 Owen Taylor <otaylor@redhat.com> * NEWS: Updated. * configure.in: Version to 2.2.2, interface age 2.
* Use application/x-rootwindow-drop for root window drops. (#108670, AlexOwen Taylor2003-06-091-0/+9
| | | | | | | | | | | Sun Jun 8 22:03:09 2003 Owen Taylor <otaylor@redhat.com> * 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).
* Before delivering an event to a widget, check that (if relevant), theOwen Taylor2003-06-091-1/+16
| | | | | | | | | | | | | | | | | Fri Jun 6 11:07:33 2003 Owen Taylor <otaylor@redhat.com> * 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.
* swap G and B. Fixes (#114669)Soeren Sandmann2003-06-081-0/+5
| | | | | | | Sun Jun 8 18:59:01 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gdk/gdkpixbuf-drawable.c (G8fromRGB565): swap G and B. Fixes (#114669)
* Recompute unconditionally in gtk_entry_style_set, and in a newOwen Taylor2003-06-081-0/+8
| | | | | | | | | | Thu Jun 5 09:28:03 2003 Owen Taylor <otaylor@redhat.com> * 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.
* Fix bug with set_adjustment (viewport, NULL);Owen Taylor2003-06-081-0/+5
| | | | | | | Sun Jun 8 11:27:29 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkviewport.c (viewport_set_adjustment): Fix bug with set_adjustment (viewport, NULL);
* Many fixes, along with extensive cleanups and refactoring of code toOwen Taylor2003-06-061-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | Fri Jun 6 16:25:44 2003 Owen Taylor <otaylor@redhat.com> * 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)
* Fix typo.Tor Lillqvist2003-06-061-0/+2
| | | | | | 2003-06-06 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkprivate-win32.h: Fix typo.
* Set graphics_exposures and subwindow_mode, too, even if they aren'tTor Lillqvist2003-06-061-0/+6
| | | | | | | | 2003-06-06 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkgc-win32.c (_gdk_win32_gc_new): Set graphics_exposures and subwindow_mode, too, even if they aren't currently used.
* made expand_collapse_timeout a wrapper with locks aroundKristian Rietveld2003-06-061-0/+9
| | | | | | | | | | | Fri Jun 6 23:38:23 2003 Kristian Rietveld <kris@gtk.org> * 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).
* Add a 'finalizing' flag to keep preedit-[start,changed,end] signals fromHidetoshi Tajima2003-06-061-0/+8
| | | | | | | | | | Fri Jun 6 11:05:45 2003 Hidetoshi Tajima <hidetoshi.tajima@sun.com> * 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).
* Ignore button presses that are not on the tab (#114534).Noah Levitt2003-06-061-0/+5
| | | | | | | 2003-06-05 Noah Levitt <nlevitt@columbia.edu> * gtk/gtknotebook.c (gtk_notebook_button_press): Ignore button presses that are not on the tab (#114534).
* Conditionalize deendencies for gdk-pixbuf-csource on cross-compilationOwen Taylor2003-06-061-0/+5
| | | | | | | Thu Jun 5 20:35:40 2003 Owen Taylor <otaylor@redhat.com> * demos/Makefile.am: Conditionalize deendencies for gdk-pixbuf-csource on cross-compilation (#112391, J. Ali Harlowe).
* Handle gtk_window_get_geometry_info() returning NULL. (#107311, JohnOwen Taylor2003-06-061-0/+6
| | | | | | | | Thu Jun 5 20:12:51 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkwindow.c (gtk_window_get_default_size): Handle gtk_window_get_geometry_info() returning NULL. (#107311, John Finlay)
* Subtract off twice the border width from the width/height, not 1x theOwen Taylor2003-06-051-0/+6
| | | | | | | | Thu Jun 5 19:24:33 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtktoolbar.c (gtk_toolbar_expose): Subtract off twice the border width from the width/height, not 1x the border width. (#106336, Rodney Dawes)
* If at the end of the buffer, move to the end iter - parallels behavior ofOwen Taylor2003-06-051-0/+7
| | | | | | | | | Thu Jun 5 15:33:38 2003 Owen Taylor <otaylor@redhat.com> * 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)
* #80023, Yao Zhang, TOKUNAGA HiroyukiOwen Taylor2003-06-051-0/+15
| | | | | | | | | | | | | | | | | Thu Jun 5 16:12:54 2003 Owen Taylor <otaylor@redhat.com> #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.
* Never scroll on focus in (#81893, Patch from Paolo Maggi)Owen Taylor2003-06-051-0/+10
| | | | | | | | | | | | Thu Jun 5 16:52:54 2003 Owen Taylor <otaylor@redhat.com> * 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.
* #107883, Gustavo GiráldezOwen Taylor2003-06-051-0/+13
| | | | | | | | | | | | | | | Thu Jun 5 17:20:40 2003 Owen Taylor <otaylor@redhat.com> #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.
* Handle global filters.Tor Lillqvist2003-06-051-0/+5
| | | | | | | 2003-06-05 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle global filters.
* Fix for #84668, reported by Torbjörn Andersson:Matthias Clasen2003-06-051-1/+10
| | | | | | | | | | | | | 2003-06-05 Matthias Clasen <maclas@gmx.de> * 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().
* New keybinding signal for (un)selecting the whole buffer. Bound toMatthias Clasen2003-06-051-0/+3
| | | | | | | 2003-06-05 Matthias Clasen <maclas@gmx.de> * gtk/gtktextview.c (select_all): New keybinding signal for (un)selecting the whole buffer. Bound to C-a/C-\. (see #107889)
* Document restriction on types.Matthias Clasen2003-06-041-0/+6
| | | | | | | | 2003-06-05 Matthias Clasen <maclas@gmx.de> * gtk/gtktreestore.c (gtk_tree_store_new): * gtk/gtkliststore.c (gtk_list_store_new): Document restriction on types.
* When drawing underlines, join up adjacent runs where possible, so we don'tOwen Taylor2003-06-041-0/+8
| | | | | | | | | | Wed Jun 4 19:42:17 2003 Owen Taylor <otaylor@redhat.com> * 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)
* Slightly modified patch from Owen Taylor <otaylor@redhat.com> to improveJonathan Blandford2003-06-041-0/+7
| | | | | | | | | Wed Jun 4 19:22:58 2003 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_level_find_insert): Slightly modified patch from Owen Taylor <otaylor@redhat.com> to improve the speed of inserting rows into an already sorted list, #109292
* Keep track of when we have a clip mask set for the GC, and when we unsetOwen Taylor2003-06-041-0/+12
| | | | | | | | | | | | | | Wed Jun 4 19:24:28 2003 Owen Taylor <otaylor@redhat.com> * 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)
* gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): UseOwen Taylor2003-06-041-0/+11
| | | | | | | | | | | | | Wed Jun 4 18:27:44 2003 Owen Taylor <otaylor@redhat.com> * 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.
* use a silent assert for get_info. (reported by Michael Natterer),Kristian Rietveld2003-06-041-0/+9
| | | | | | | | | | | Wed Jun 4 21:18:55 2003 Kristian Rietveld <kris@gtk.org> * 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).
* Don't respond to pings on a root window; prevents infinite loops if we areOwen Taylor2003-06-031-0/+7
| | | | | | | | | Tue Jun 3 18:32:30 2003 Owen Taylor <otaylor@redhat.com> * 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)
* #71597, reported by Morten WelinderOwen Taylor2003-06-031-0/+19
| | | | | | | | | | | | | | | | | | | | | Tue Jun 3 17:39:16 2003 Owen Taylor <otaylor@redhat.com> #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.
* Remove bad optimization for src_rowstride == dest_stride. (Didn't considerOwen Taylor2003-06-031-0/+8
| | | | | | | | | | Tue Jun 3 15:05:47 2003 Owen Taylor <otaylor@redhat.com> * 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)
* reenabled button_release events for xinput devices. (#113948)Michael Natterer2003-06-031-0/+5
| | | | | | | 2003-06-03 Michael Natterer <mitch@gimp.org> * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events): reenabled button_release events for xinput devices. (#113948)
* Don't map the event window if the notebook isn't mapped. (#113980, RichardOwen Taylor2003-06-021-0/+6
| | | | | | | | Mon Jun 2 18:58:54 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtknotebook.c (gtk_notebook_size_allocate): Don't map the event window if the notebook isn't mapped. (#113980, Richard Reich)
* added a missing cast.Sven Neumann2003-06-021-0/+6
| | | | | | | | 2003-06-02 Sven Neumann <sven@gimp.org> * gtk/gtkprogress.c (gtk_progress_changed): added a missing cast. * gdk/gdkrgb.c (gdk_rgb_try_colormap): removed an unused variable.
* Add some hints and an example to the docs. (#98427)Matthias Clasen2003-05-311-0/+5
| | | | | | | 2003-06-01 Matthias Clasen <maclas@gmx.de> * gtk/gtkwindow.c (gtk_window_parse_geometry): Add some hints and an example to the docs. (#98427)
* Rework debug_default handling to work with autoconf-2.5x. (#106348)Owen Taylor2003-05-301-0/+5
| | | | | | | Fri May 30 15:58:33 2003 Owen Taylor <otaylor@redhat.com> * configure.in: Rework debug_default handling to work with autoconf-2.5x. (#106348)
* Add a missing nameOwen Taylor2003-05-301-1/+1
|
* Committing for kenneth:Kristian Rietveld2003-05-301-0/+6
| | | | | | | | Fri May 30 20:24:11 2003 Kristian Rietveld <kris@gtk.org> * configure.in: added "li" to ALL_LINGUAS * po/li.po: added Limburgish translation from Mathieu van Woerkom <mathieu@brabants.org>
* use GETTEXT_PACKAGE to get a translation for "ipa"(#113850).Hidetoshi Tajima2003-05-301-0/+5
| | | | | | | Thu May 29 18:30:55 2003 Hidetoshi Tajima <hidetoshi.tajima@sun.com> * modules/input/imipa.c: use GETTEXT_PACKAGE to get a translation for "ipa"(#113850).
* use GETTEXT_PACKAGE to get a translation for "Default"(#113850).Hidetoshi Tajima2003-05-301-0/+5
| | | | | | | Thu May 29 18:09:57 2003 Hidetoshi Tajima <hidetoshi.tajima@sun.com> * gtk/gtkimmodule.c (_gtk_im_module_list): use GETTEXT_PACKAGE to get a translation for "Default"(#113850).
* make "Default" label of default input method localizable. use translationsHidetoshi Tajima2003-05-301-0/+13
| | | | | | | | | | | | | | | Thu May 29 09:34:05 2003 Hidetoshi Tajima <hidetoshi.tajima@sun.com> * gtk/gtkimmodule.c (_gtk_im_module_list): make "Default" label of default input method localizable. * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): use translations of input method context names * modules/input/imam-et.c, modules/input/imcyrillic-translit.c, modules/input/iminuktitut.c, modules/input/imthai-broken.c, modules/input/imti-er.c, modules/input/imti-et.c modules/input/imviqr.c, modules/input/imxim.c use GETTEXT_PACKAGE instead of "gtk+" for domain name. (#113850).
* put the focus grab separate, the user might clear the tree in the focus-inKristian Rietveld2003-05-291-0/+6
| | | | | | | | Thu May 29 18:23:01 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_button_press): put the focus grab separate, the user might clear the tree in the focus-in callback. (Fixes #113086, testcase from Felipe Heidrich).
* reset a bunch of row reference when we unset the model. Also reset dy andKristian Rietveld2003-05-291-0/+6
| | | | | | | | Thu May 29 18:06:26 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_model_set_model): reset a bunch of row reference when we unset the model. Also reset dy and top_row_dy. (Fixes #109289, patch from Owen Taylor).
* cancel the current editing, if it exists. (Fixes #108956, reported byKristian Rietveld2003-05-291-0/+6
| | | | | | | | Thu May 29 17:12:19 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): cancel the current editing, if it exists. (Fixes #108956, reported by Michael Natterer).
* new function, (gtk_tree_view_row_deleted): traverse the tree from theKristian Rietveld2003-05-291-0/+7
| | | | | | | | | Thu May 29 17:06:09 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (check_selection_helper): new function, (gtk_tree_view_row_deleted): traverse the tree from the deleted node to see whether the selection changed, instead of just checking this node. (Fixes #107400, reported by 'Duncan').
* set the DnD icon in _drag_begin instead of _maybe_begin_dragging_row, soKristian Rietveld2003-05-291-0/+7
| | | | | | | | | Thu May 29 16:31:34 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row), (gtk_tree_view_drag_begin): set the DnD icon in _drag_begin instead of _maybe_begin_dragging_row, so the icon can be overridden by apps. (Fixes #104374, patch from Daniel Elstner).