+2002-01-08 Matthias Clasen <matthiasc@poet.de>
+
+ * gtk/gtkwidget.c (gtk_widget_set_style_recurse): Rename to
+ reset_rc_styles_recurse(). (#68084)
+
+2002-01-10 Vitaly Tishkov <tvv@sparc.spb.su>
+ * gtk/gtkimage.c
+ * gtk/gtkimcontext.c
+ * gtk/gtktreemodel.c
+ * gtk/gtktreemodelsort.c
+ * gtk/gtkwindow.c
+ fix docs
+
+Wed Jan 9 20:56:42 2002 Jonathan Blandford <jrb@redhat.com>
+
+ * gdk/x11/gdkkeys-x11.c (get_xkb): get the types as well as the
+ symbols because we need them in MyEnhancedXkbTranslateKeyCode.
+
+2002-01-10 Tor Lillqvist <tml@iki.fi>
+
+ Apply the same fixes and improvements as to the
+ gtk-1-3-win32-production branch: Bug fixes and cleanup of
+ selection and DND functionality. Still doesn't work as well as the
+ win32-production branch, though, but getting closer.
+
+ After this, need to add Archaeopteryx Software's OLE2 DND support.
+
+ * gdk/win32/gdkselection-win32.c (gdk_selection_owner_set,
+ gdk_selection_send_notify, generate_selection_notify): Don't use
+ SendMessage() to generate events for the same app, instead use
+ gdk_event_put().
+
+ * gdk/win32/gdkprivate-win32.h
+ * gdk/win32/gdkglobals-win32.c
+ * gdk/win32/gdkmain-win32.c
+ * gdk/win32/gdkevents-win32.c: Thus, remove declaration, definition,
+ initialisation and handling of gdk_selection_notify_msg,
+ gdk_selection_request_msg and gdk_selection_clear_msg.
+
+ * gdk/win32/gdkselection-win32.c (gdk_text_property_to_text_list,
+ gdk_free_text_list, gdk_string_to_compound_text,
+ gdk_free_compound_text): Implement trivially, witrh a text_list
+ always having a single element, and a compound text always
+ consisting of just a single (UTF-8!) string. Let's see how well
+ this works.
+
+ * gdk/win32/gdkselection-win32.c (gdk_selection_convert): Fix
+ non-ASCII paste from the clipboard: Try getting the same formats
+ from the Windows clipboard that gdk_property_change() puts there:
+ CF_UNICODETEXT, UTF8_STRING or CF_TEXT+CF_LOCALE.
+
+ * gdk/win32/gdkproperty-win32.c (gdk_property_change): When
+ storing text on the clipboard, handle non-ASCII text
+ correctly. The logic is as follows:
+
+ If we have only ASCII characters, use CF_TEXT.
+
+ Else, if we are on NT, use CF_UNICODETEXT.
+
+ Else (we are on Win9x), if all the characters are present in the
+ code page of some installed locale, use CF_TEXT and also set
+ CF_LOCALE to that locale.
+
+ Else (still on Win9x) store as RTF. We use a very simple RTF
+ string, just the text, no fonts or other crap, with the non-ASCII
+ characters as Unicode \uN keywords. Additionally, also store the
+ UTF-8 string as such, under the format "UTF8_STRING", so that GDK
+ can also paste from the Clipboard what it has copied there. (Thus
+ no need to implement any RTF parser.)
+
+ (find_common_locale): New function, implements the search for a
+ locale for case 3 above.
+
+ * gdk/win32/gdkglobals-win32.c: New global variables
+ compound_text, text_uri_list, utf8_string, cf_rtf and
+ cf_utf8_string.
+
+ * gdk/win32/gdkim-win32.c (_gdk_ucs2_to_utf8): New function,
+ converts from a wchar_t string to UTF-8.
+ (_gdk_utf8_to_ucs2): Rename from _gdk_win32_nmbstowchar_ts.
+ (_gdk_utf8_to_wcs): Rename from gdk_nmbstowchar_ts.
+
+ * gdk/win32/gdkevents-win32.c (build_keypress_event): Use
+ _gdk_ucs2_to_utf8().
+
+ * gdk/win32/gdkselection-win32.c: Remove some unnecessary logging.
+
+ * gdk/win32/gdkdnd-win32.c: Plug memory leaks, the
+ gdk_drag_context_ref() was called unnecessarily in a couple of
+ places, meaning drag contexts were never freed. The same memory
+ leaks seem to be present in gdk/linux-fb/gdkselection-fb.c, BTW.
+
+ (gdk_drop_reply): For WIN32_DROPFILES drops, free the temporarily
+ stored file list.
+
+ * gdk/win32/gdkselection-win32.c: Clarify the use of the
+ sel_prop_table. Now it is used only for storing the GDK_SELECTION
+ "properties".
+
+ The file names dropped with WM_DROPFILES -style DND is stored
+ temporarily (between the drop and the target picking them up) in a
+ separate place.
+
+ Have a separate hash table to map selection atoms to owner
+ windows. This used to be quite mixed up.
+
+ (_gdk_dropfiles_store): New function, to store the dropped file
+ list for the drop target to possibly fetch, and clear it
+ afterwards, from gdk_drop_reply().
+
+ (gdk_selection_owner_get): Much simplified now.
+
+2002-01-09 jacob berkman <jacob@ximian.com>
+
+ * gtk/gtklayout.c (gtk_layout_style_set): set the background of
+ our bin window also (fixes #58957)
+
+Wed Jan 9 19:10:07 2002 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtktreeselection.c
+ (_gtk_tree_selection_internal_select_node): Now we test we can
+ unselect nodes before selecting new ones.
+ (gtk_tree_selection_real_select_node): be careful comparing booleans.
+
+Wed Jan 9 21:31:44 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkliststore.c (gtk_list_store_sort): pass NULL to
+ gtk_tree_model_rows_reordered and not an iter with user_data
+ set to NULL (which is an invalid liststore iter, so
+ iter_n_children failed, etc)
+
+2002-01-09 Sven Neumann <sven@gimp.org>
+
+ * tests/prop-editor.c: declared internal functions static.
+
+Wed Jan 9 11:13:12 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkmenuitem.c (_gtk_menu_item_refresh_accel_path):
+ Fix problem with menus without accel groups, such as the
+ menus for option menus.
+
+ * gtk/gtkpaned.c (gtk_paned_expose): Only conditionalize
+ drawing of handle on whether both children are visible,
+ not the drawing of the other child!. (#68325, Diego Gonzalez)
+
+Wed Jan 9 10:20:16 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/x11/gdkdrawable-x11.c gdk/x11/gdkgc-c11.c: Check for
+ RENDER before trying to use it... XRenderFindFormat() prints
+ warnings if called when extension isn't present.
+
+Wed Jan 9 15:20:40 2002 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkmenuitem.c (gtk_menu_item_parent_set): update the accel
+ path upon parent changes.
+
+Wed Jan 9 13:20:14 2002 Tim Janik <timj@gtk.org>
+
+ * gtk/gtkviewport.c (gtk_viewport_size_allocate): small but important
+ fix to force vadjustments at size_alocate time from Xavier Ordoquy
+ <mcarkan@users.sourceforge.net>.
+
+Wed Jan 9 11:23:39 2002 Tim Janik <timj@gtk.org>
+
+ * gtk/gtklayout.c (gtk_layout_get_property):
+ * gtk/gtkspinbutton.c (gtk_spin_button_get_property):
+ * gtk/gtktreeview.c (gtk_tree_view_get_property):
+ * gtk/gtkwidget.c (gtk_widget_get_property):
+ * gtk/gtkfontsel.c (gtk_font_selection_get_property):
+ * gtk/gtkrange.c (gtk_range_get_property):
+ * gtk/gtkviewport.c (gtk_viewport_get_property):
+ * gtk/gtkprogressbar.c (gtk_progress_bar_get_property): don't cast a
+ possible NULL pointer.
+
+2002-01-08 Mike Kestner <mkestner@speakeasy.net>
+
+ * gtk/gtkcelleditable.h : Use G_TYPE_INSTANCE_GET_INTERFACE.
+ * gtk/gtktreednd.h : ditto.
+ * gtk/gtktreemodel.h : ditto.
+ * gtk/gtktreesortable.h : ditto.
+ * gtk/gtkwidget.h : Don't reference incomplete _GdkRectangle type.
+
+>>>>>>> 1.2791
+2002-01-08 Matthias Clasen <matthiasc@poet.de>
+
+ * gtk/gtkplug.c, gtk/gtksocket.c: Speak of window IDs rather
+ than XIDs in the docs.
+
+ * gtk/gtkclipboard.c (gtk_clipboard_clear): Fix docs.
+
+Tue Jan 8 18:39:23 2002 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): wow!
+ Am I a moron or what 0 < 1 is not equivalent to strcmp ("a", "b")
+
+Tue Jan 8 18:04:01 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
+ Handle TOGGLE/RADIOBUTTON as well. (#68201,
+ Damon Chaplin.)
+
+ * gtk/gtktoolbar.c (get_first_child): Fix stupid
+ bug, just introduced.
+
+Tue Jan 8 15:53:28 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
+ translations, once and for all.
+
+ * gtk/gtktextbuffer.c (paste_from_buffer): Free
+ the ClipboardRequest structure. (#66198, HideToshi
+ Tajima)
+
+2002-01-08 jacob berkman <jacob@ximian.com>
+
+ * gtk/gtklayout.c (gtk_layout_move_internal): queue a resize on
+ the child rather than the layout. see bug #68263
+
+Tue Jan 8 14:51:19 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkpaned.c (gtk_paned_expose): Don't draw
+ the handle if we aren't showing both children.
+ (#68135, Diego Gonzalez)
+
+Tue Jan 8 14:45:43 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkwidget.c (gtk_widget_add_events): Fix
+ leak of result of gtk_container_get_children().
+
+Tue Jan 8 14:42:19 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtktoolbar.c: Fix leaks of results of
+ gtk_container_get_children(). (#68199, Damon Chaplin)
+
+Tue Jan 8 14:19:43 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkcheckbutton.c (gtk_check_button_size_allocate):
+ Fix problem where child->requisition was accessed
+ directly instead of calling get_child_requisition()
+ (#68199, Damon Chaplin)
+
+2001-01-08 James Henstridge <james@daa.com.au>
+
+ * gtk/gtkstyle.c: add trailing */ on doc comment.
+
Mon Jan 7 22:19:32 2002 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkdrawable-x11.c (draw_with_pixmaps): Fix a