]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-2
fix compiler warnings
[~andy/gtk] / ChangeLog.pre-2-2
index bef423b065a3c07a12c3c093619417227968bc5a..358f4c9aa52769315d124bd11d9cfc51af9c23e7 100644 (file)
@@ -1,3 +1,467 @@
+2002-10-17  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkwindow.c (gtk_window_compute_configure_request): fix
+       compiler warnings
+
+Thu Oct 17 22:37:57 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtkwindow.c (get_center_monitor_of_window): fix typo to make
+       it compile
+       
+2002-10-16  Havoc Pennington  <hp@redhat.com>
+
+       * gdk/x11/gdkscreen-x11.c (gdk_screen_get_monitor_geometry): add
+       g_return_if_fail for monitor number <= 0
+
+       * gtk/gtkmenu.c (gtk_menu_position): handle case where pointer 
+       is outside the screen.
+
+       * gtk/gtkwindow.c (get_monitor_center): factor out 
+       the code to position a window in center
+       (gtk_window_compute_configure_request): use here
+       (gtk_window_constrain_position): use here, the 
+       code here wasn't multihead-aware
+
+       * gdk/x11/gdkevents-x11.c (get_real_window): function to
+       return the window the event describes, rather than the window
+       that received the event.
+       (gdk_event_translate): use result of that function for 
+       filling in GdkEvent::window, which only matters for 
+       MapNotify/UnmapNotify and ConfigureNotify, in practice.
+
+       Unbreaks various things using SubstructureNotifyMask.
+
+Thu Oct 17 16:13:28 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkcheckbutton.c gtk/gtkradiobutton.c: Make
+       the widgets work reasonably when they don't have
+       children -- draw the focus around the indicator, 
+       and position the indicator symmetrically.
+       (#74830, Dave Camp)
+
+       * tests/testgtk.c: Add no-child portions to check and radio 
+       button tests.
+
+Thu Oct 17 22:09:05 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtkmenu.c (gtk_menu_scroll_to): Take arrows into
+       account when clamping the offset. Fixes #95758.
+
+Wed Oct 16 15:19:44 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkkeys-x11.c: Fix from Phil Blundell for
+       compiling without Xkb. (#95909)
+
+Wed Oct 16 14:32:43 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkpixmap.c 
+       gdk/gdkwindow.c gdk/x11/gdkdrawable-x11.c
+       gdk/win32/gdkdrawable-win32.c gdk/linux-fb/gdkdrawable-fb2.c
+       gdk/linux-fb/gdkprivate-fb.h:
+       Make 'filled' arguments for draw_arc/polygon/rectangle
+       gboolean not gint. (#94976)
+       
+Wed Oct 16 17:11:46 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_paint): Make
+       tear-off menuitems obey the "selected_shadow_type" style property.
+
+Tue Oct 15 17:25:47 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * modules/input/gtkimcontextxim.c (get_im): Don't use 
+       connect_swapped() when the function being connected
+       has a non-swapped signature.
+
+Tue Oct 15 09:54:54 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * modules/input/gtkimcontextxim.c (get_im): Initialize
+       info->ics to NULL. (Hidetoshi Tajima.)  
+
+       * modules/input/gtkimcontextxim.c (status_window_get): 
+       Call set_resizable on the window, not on the structure.
+
+Mon Oct 14 19:17:34 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * === Released 2.1.1 ===
+
+Mon Oct 14 18:50:59 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Version 2.1.1, interface age 0, binary age 101.
+
+       * NEWS: Updates
+
+Tue Oct 15 00:53:14 2002  Kristian Rietveld  <kris@gtk.org>
+
+       Behaviour change, apply changes if the entry of the editable gets
+       a focus out event (#82405).
+
+       * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
+       new function,
+       (gtk_cell_renderer_text_start_editing): stop editing and apply
+       changes on focus-out.
+
+Tue Oct 15 00:47:35 2002  Kristian Rietveld  <kris@gtk.org>
+
+       Fixes an *evil* GtkTreeModelSort bug, #93629.
+
+       * gtk/gtktreemodel.c (release_row_references): return if the
+       refs->list is NULL.
+
+       * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed): if we
+       are swapping two rows (re-insertion on row_changed), also *emit*
+       a rows_reordered signal. oops.
+
+Tue Oct 15 00:45:03 2002  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtkliststore.c (gtk_list_store_remove_silently): free
+       the actual link after the node has been removed (#92014).
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_column_finalize):
+       free the cell_list and the child if the exists (#92014).
+
+Tue Oct 15 00:40:25 2002  Kristian Rietveld  <kris@gtk.org>
+
+       Don't accept drops if the model has been sorted, #93758)
+
+       * gtk/gtkliststore.c (gtk_list_store_row_drop_possible): return
+       FALSE if the list has been sorted.
+
+       * gtk/gtktreestore.c (gtk_tree_store_row_drop_possible): check
+       if drag_dest is a TreeStore, return FALSE if the tree has been
+       sorted.
+
+Tue Oct 15 00:33:59 2002  Kristian Rietveld  <kris@gtk.org>
+
+       Compiler warning fixage, (#85858, #85859, #85860, #85872)
+
+       * gtk/gtkcellrendererpixbuf (gtk_cell_renderer_pixbuf_render):
+       s/guint/GtkCellRendererState/.
+       
+       * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
+       ditto.
+
+       * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render),
+       (gtk_cell_renderer_toggle_activate): ditto.
+
+       * gtk/gtkliststore.c (gtk_list_store_get_flags): a
+       s/guint/GtkTreeModelFlags/ on the return type.
+
+Mon Oct 14 15:10:34 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * modules/input/gtkimcontextxim.c:
+       - Make GtkXIMInfo structures per-screen (they were
+         a mix between per-display and per-context before)
+       - Make signal connections info->settings one-per-info
+         - Handle a GdkDisplay being closed, by destroying
+         all XIC, calling XCloseIM on the XIM. (#87482)
+Sun Oct 13 16:55:49 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkdnd.c gtk/gtkradiobutton.[ch]: Deprecation cleanup
+
+       * gtk/Makefile.am: Added disable deprecation flags
+
+       * demos/pixbuf-init.c demos/gtk-demo/changedisplay.c: minor clean up
+
+Sun Oct 13 16:20:41 2002  Manish Singh  <yosh@gimp.org>
+
+       * tests/pixbuf-randomly-modified.c tests/prop-editor.c
+       tests/testcalendar.c tests/testdnd.c tests/testgtk.c tests/testinput.c
+       tests/testmultidisplay.c tests/testmultiscreen.c tests/testrgb.c
+       tests/testselection.c tests/testsocket.c tests/testsocket_common.c
+       tests/testtext.c tests/testtextbuffer.c tests/testtreecolumns.c
+       tests/testtreeedit.c tests/testtreeflow.c tests/testtreefocus.c
+       tests/testtreesort.c tests/testtreeview.c tests/testxinerama.c
+       tests/treestoretest.c: Deprecation cleanup
+
+       * tests/Makefile.am: Added disable deprecation flags
+
+Sun Oct 13 13:43:16 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkcurve.[ch] gtk/gtkgamma.[ch] gtk/gtklayout.[ch]
+       gtk/gtkwidget.[ch] modules/input/gtkimcontextxim.c
+       modules/input/imam-et.c modules/input/imcyrillic-translit.c
+       modules/input/imhangul.c modules/input/iminuktitut.c
+       modules/input/imipa.c modules/input/imthai-broken.c
+       modules/input/imti-er.c modules/input/imti-et.c
+       modules/input/imviqr.c: Deprecation cleanup
+
+       * modules/input/Makefile.am: Added disable deprecation flags
+
+Sun Oct 13 12:29:15 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkcolorsel.[ch] gtk/gtkcombo.[ch] gtk/gtkplug.[ch]
+       gtk/gtksocket.[ch] gtk/gtktreeview.[ch] gtk/gtktreeviewcolumn.[ch]:
+       Deprecation cleanup
+
+       * gtk/gtkcolorseldialog.c: make window not resizable (lost
+       accidently in the previous cleanup)
+
+Sun Oct 13 20:20:51 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtktooltips.c (gtk_tooltips_force_window): Make tooltip
+       window not resizable. Fixes #95675.
+
+Sun Oct 13 18:50:14 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtkmenu.c, gtkmenu.sgml, gtkitemfactory.c, gdkwindow.c,
+       gtkwindow.c, gtkpaned.sgml, gtkdialog.c, gtkbox.h, gtkbutton.sgml,
+       gtktreemodel.sgml,gtktable.sgml, gtktable.c:
+
+       Documentation fixes.
+
+       #85719, #90759, #95169, Owen Taylor;
+       #89221, Yao Zhang, Matthias Clasen;
+       #95592, Joost Faassen;
+       #92637, Vitaly Tishkov;
+       #94616, Ben Martin;
+       #94772, sbaillie@bigpond.net.au;
+
+Sun Oct 13 17:41:53 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtkwidget.c (gtk_widget_queue_clear_area): Don't invalidate
+       a widget if it or one of its ancestors isn't mapped.
+
+Sun Oct 13 17:21:15 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * tests/testgtk.c (window_controls), tests/testgtk.c
+       (create_tooltips): remove references to non-existing properties
+       GtkWindow::allow_shrink and GtkWidget::width
+
+Sat Oct 12 15:44:29 2002  Manish Singh  <yosh@gimp.org>
+
+        * gtk/gtkitemfactory.c: use GTK_IS_RADIO_MENU_ITEM instead
+        of comparing the type directly. This handles possible subclasses
+        too. (Recommended by Tim Janik)
+
+Fri Oct 11 15:56:20 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkaccellabel.[ch] gtk/gtkaccessible.[ch] gtk/gtkbutton.[ch]
+       gtk/gtkcheckbutton.[ch] gtk/gtkcolorseldialog.[ch] gtk/gtkdialog.[ch]
+       gtk/gtkhandlebox.[ch] gtk/gtkinputdialog.[ch] gtk/gtkmessagedialog.[ch]
+       gtk/gtktearoffmenuitem.[ch] gtk/gtktogglebutton.[ch]: Deprecation
+       cleanup
+
+2002-10-11  Matthias Clasen  <maclas@gmx.de>
+
+       * examples/gtkdial/gtkdial.c (gtk_dial_destroy): 
+       * docs/tutorial/gtk-tut.sgml: Prevent segfault from double destroy.
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_new): Typo fix.
+
+       * gtk/gtkimagemenuitem.c (gtk_image_menu_item_new_from_stock):
+       Clarify the docs.
+
+       * gtk/gtkmenuitem.c (gtk_menu_item_set_accel_path): Mention 
+       gtk_menu_set_accel_group in the docs.
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_set_skip_pager_hint): 
+       * gdk/gdkdisplay.c (gdk_display_set_pointer_hooks): Fix
+       doc comments.
+
+       * gtk/gtkiconfactory.c (gtk_icon_size_lookup_for_settings): 
+       * gtk/gtknotebook.c (gtk_notebook_get_n_pages): 
+       * gtk/gtkwindow.c (gtk_window_set_icon_from_file): 
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_focus_cell): Fix
+       doc comments.
+
+       * gtk/gtktreestore.c: 
+       * gtk/gtktreestore.h: Consistently name first parameter
+       tree_store, and make header and implementation agree on parameter 
+       names to silence gtk-doc.
+
+       * gtk/gtkenums.h (enum): Comment typo fix.
+
+Thu Oct 10 15:13:48 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkimcontext.[ch] gtk/gtkimcontextsimple.[ch] gtk/gtkimmodule.c
+       gtk/gtkimmulticontext.[ch] gtk/gtktreestore.[ch]: Deprecation
+       cleanup
+
+Thu Oct 10 14:58:47 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkaccelgroup.c gtk/gtkarrow.[ch] gtk/gtkeventbox.[ch]
+       gtk/gtkiconfactory.c gtk/gtkinvisible.[ch] gtk/gtktextchild.c:
+       Deprecation cleanup
+
+Thu Oct 10 14:41:05 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtktextbtree.c gtk/gtktextbuffer.c gtk/gtktextdisplay.c
+       gtk/gtktextlayout.c gtk/gtktextmark.c gtk/gtktexttag.[ch]
+       gtk/gtktexttagtable.c gtk/gtktextutil.c gtk/gtktextview.[ch]:
+       Deprecation cleanup
+
+Thu Oct 10 14:35:31 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkscrolledwindow.[ch]: Privately export
+       _gtk_scrolled_window_get_scrollbar_spacing().
+
+       * gtk/gtkcombo.c: Properly account from scrollbar
+       spacing when computing the size of the popup window.
+       (#84955, Marco Pesenti Gritti)
+
+Wed Oct  9 17:40:13 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkaccelmap.c gtk/gtkfixed.[ch] gtk/gtkkeyhash.c gtk/gtkmenu.c
+       gtk/gtkobject.c gtk/gtkoldeditable.c gtk/gtkrc.c gtk/gtkspinbutton.[ch]
+       gtk/gtktable.[ch] gtk/gtkthemes.c: Deprecation cleanup
+
+Wed Oct  9 16:52:53 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkclipboard.[ch] gtk/gtkeditable.[ch] gtk/gtkgc.c
+       gtk/gtkoptionmenu.[ch] gtk/gtkselection.c gtk/gtksizegroup.[ch]:
+       Deprecation cleanup
+
+Wed Oct  9 15:23:48 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkadjustment.[ch] gtk/gtkalignment.[ch] gtk/gtkentry.[ch]
+       gtk/gtkhsv.[ch] gtk/gtktooltips.[ch]: Deprecation cleanup
+
+Wed Oct  9 15:07:08 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkbindings.[ch] gtk/gtkcalendar.[ch] gtk/gtkfilesel.[ch]
+       gtk/gtkfontsel.[ch] gtk/gtkitem.[ch] gtk/gtkitemfactory.[ch]:
+       Deprecation cleanup
+
+Wed Oct  9 17:06:21 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkiconfactory.c (add_size_and_dir_with_fallback):
+       Add GO_FORWARD and GO_BACK with both left and right
+       arrows depending on the direction. (#92211,
+       Kenneth Christiansen)
+
+       * tests/testgtk.c (create_flipping): Add forward/back button
+       pairs in default, RTL, LTR configurations.
+
+2002-10-09  Stanislav Brabec  <sbrabec@suse.cz>
+
+       * gtk/gtkimcontextsimple.c: Added support for hungarian characters
+       (addition to bug #93421). Only via dead keys, because compose key
+       combinations in X are erratic.
+
+Tue Oct  8 17:34:26 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkmain.c gtk/gtkscrolledwindow.[ch] gtk/gtksettings.c
+       gtk/gtkstatusbar.[ch] gtk/gtkstyle.c gtk/gtktoolbar.[ch]
+       gtk/gtkviewport.[ch] gtk/gtkwindow.[ch]: Deprecation cleanup
+
+Tue Oct  8 15:25:53 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkhpaned.[ch] gtk/gtkpaned.[ch] gtk/gtkprogress.[ch]
+       gtk/gtkprogressbar.[ch] gtk/gtkvpaned.[ch]: Deprecation cleanup
+
+Tue Oct  8 14:49:56 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtktreemodel.h: restore gtkobject.h #include so we don't
+       break backwards compat.
+
+Tue Oct  8 09:41:43 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * Patch from Takuro Ashie to fix updating of open_ims
+       list. (#95150)
+
+Mon Oct  7 19:44:45 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkkeys-x11.c (_gdk_keymap_keys_changed): Move
+       out of HAVE_XKB. (#95129, Phil Blundell)
+
+Mon Oct  7 19:14:24 2002  Eric Warmenhoven <eric@warmenhoven.org>
+
+       * gdk/linux-fb/gdkwindow-fb.c: fix compilation
+
+       * gdk/linux-fb/gdkmain-fb.c: better display mode setting
+
+Mon Oct  7 18:50:46 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkcolorsel.c (gtk_color_selection_finalize):
+       Free the private data. (#84903, Matthias Clasen)
+
+Mon Oct  7 18:21:39 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtk[hv]paned.c gtk/gtkpaned.c: Allow the slider
+       to be set all the way to the edge, and if that happens,
+       use gtk_widget_set_child_visible() to hide the 
+       appropriate child. (#72784, request from Darin Adler)
+
+Mon Oct  7 16:28:11 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkcolorsel.c (palette_drag_begin): Use
+       a pixbuf to set the drag icon, combine code
+       to create drag icons (Fixes #80092, #80093)
+
+       * gtk/gtkcolorsel.c (get_screen_color): Don't warn
+       on failure to grab keyboard/mouse. (#80085)
+
+       * gtk/gtkcolorsel.c (palette_press): Return FALSE,
+       so DND initiation is possible.
+
+       * gtk/gtkcolorsel.c (palette_release): Set the color
+       from the palette on release, not press.
+
+       * gtk/gtkcolorsel.c (gtk_color_selection_show_all):
+       Override to simple call show(). (#74173)
+
+       * tests/testgtk.c (create_color_selection): Use 
+       gtk_widget_show_all()
+
+Mon Oct  7 15:48:44 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkdnd.[ch] gdk/x11/gdkdnd-x11.c: Add 
+       gdk_drag_find_window_for_screen(), so that we can
+       interpret x_root / y_root relative to the correct screen.
+       
+       * gdk/gdkdnd.c Makefile.am gdk/x11/gdkdnd-x11.c 
+       gdk/fb/gdkdnd-fb.c gdk/win32/gdkdnd-win32.c: New file. 
+       Move gdk_drag_find_window(), gdk_drag_get_protocol() here.
+
+       * gtk/gtkdnd.c: Handle drags between screens; use 
+       a fallback icon for icons set as windows/pixmaps, 
+       move the drag icon between displays for icons set as 
+       pixbufs.
+
+       * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix infinite
+       loop from last change.
+
+Mon Oct  7 15:10:00 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkdisplay.[ch] gdk/gdkinternals.h 
+       gdk/gdkwindow.[ch] gdk/linux-fb/gdkwindow-fb.c 
+       gdk/win32/gdkwindow-win32.c gdk/x11/gdkwindow-x11.c:
+
+       - Replace GdkPointerHooks with a multihead-safe 
+         GdkDisplayPointerHooks, leave GdkPointerHooks
+         around for singlehead.
+       - Add gdk_display_get_pointer() to get the pointer
+         location with the screen it is on.
+
+       * gdk/gdk.def gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]:
+       Change gdk_screen_get_window_at_pointer() to
+       gdk_display_get_window_at_pointer().
+
+       * gtk/gtktreeview.c demos/gtk-demo/changedisplay.c
+       tests/testgtk.c: Use gdk_display_get_window_at_pointer(), 
+       not gdk_screen_get_window_at_pointer().
+
+       * gtk/gtkcolorsel.c: Fix grabbing color to be multihead
+       safe.
+
+       * gtk/gtkwidget.c: Allow gtk_widget_push_colormap (NULL).
+       since it is useful for writing code that doesn't
+       know the dcurrent state but needs a clean colormap.
+
+       * gtk/gtkrc.c: When loading the settings for a particular
+       screen, only reset toplevels on that screen.
+
+       * gtk/gtkiconfactory.h: Fix #ifdef GTK_MULTIHEAD_SAFE
+       that should have been #ifndef GTK_MULTIHEAD_SAFE.
+
+Mon Oct  7 11:59:33 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkliststore.[ch] gtk/gtktreedatalist.[ch] gtk/gtktreednd.c
+       gtk/gtktreemodel.[ch] gtk/gtktreemodelsort.[ch]
+       gtk/gtktreeselection.[ch] gtk/gtktreesortable.[ch]
+       gtk/gtktreestore.[ch]: Deprecation cleanup
+
 Mon Oct  7 14:51:21 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/x11/gdkx.h: Fix some prototypes that had
@@ -285,7 +749,7 @@ Tue Oct  1 12:53:44 2002  Manish Singh  <yosh@gimp.org>
 
 2002-10-01  Stanislav Brabec  <sbrabec@suse.cz>
 
-       * gtk/gtkimcontextsimple.c: Fixed alphabetical order (bug #91258).
+       * gtk/gtkimcontextsimple.c: Fixed alphabetical order (bug #93421).
 
 2002-10-01  Padraig O'Briain <padraig.obriain@sun.com>