]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-4
actually iterate through the list rather than infinitely loop
[~andy/gtk] / ChangeLog.pre-2-4
index e43b72cacde3e4429a97574b7f402f2b39567ea3..bb8b23e18700ecc5c30d114cc3670c9777bdfa5c 100644 (file)
@@ -1,3 +1,346 @@
+2002-01-10  jacob berkman  <jacob@ximian.com>
+
+       * gtk/gtkwidget.c (gtk_widget_add_events): actually iterate
+       through the list rather than infinitely loop
+
+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
+       problem where were the offset into the image was passed
+       into convert_to_format() wrong.
+
+       * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_pixbuf): Call
+       gdk_x11_drawable_update_picture_clip () before using
+       the picture; allow update_picture_clip() to take a NULL gc
+       to mean no clipping.
+
+2002-01-07  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtksocket.c (gtk_socket_get_id): Doc typo fix. (#68172)
+
+       * gtk/gtktreemodel.c (gtk_tree_path_is_descendant): Fix docs.
+
+       * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Document.
+
+       * gtk/gtkwindow.c (gtk_window_remove_accel_group): Fix docs.
+
+       * gtk/gtkrc.c (gtk_rc_get_style_by_paths),
+       gtk/gtkwidget.c (gtk_widget_get_toplevel, 
+       gtk_widget_push_composite_child), gtk/gtkdialog.c 
+       (gtk_dialog_new_with_buttons, gtk_dialog_run): Keep gtk-doc
+       from messing up the indentation of inline examples.     
+
+       * gtk/gtkmain.c, gtk/gtkrc.c: Consistently call g_getenv() 
+       instead of getenv().
+
+       * gtk/gtktreemodel.c, gtk/gtkaccelgroup.c, gtk/gtkclipboard.c,
+       gtk/gtkdnd.c, gtk/gtkiconfactory.c, gtk/gtkrc.c,
+       gtk/gtkstyle.c, gtk/gtkselection.c: Doc fixes.
+
+       * gtk/gtkaccelmap.c (gtk_accel_map_add_filter,
+       gtk_accel_map_foreach_unfiltered, gtk_accel_map_load_scanner):
+       Document.
+
+2002-01-07  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Remove
+       unused pixels and rowstride variables.
+       (gtk_cell_renderer_pixbuf_get_size): Check for non-NULL width.
+
+Mon Jan  7 08:48:23 2002  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkdnd.c (gtk_drag_find_widget): don't forget to offset
+       the pointer by x/y_offset into the new window when we found
+       the drag destination.
+
+       * gtk/gtkaccelmap.c (internal_change_entry): fix return code
+       for simulation when the entry already contains the required
+       accel key and mod.
+
+2002-01-06  Matthias Clasen  <matthiasc@poet.de>
+       * docs/debugging.txt: Replace GTK_NO_CHECK_CASTS by 
+       G_DISABLE_CAST_CHECKS.
+
+       * gtk/gtkaccelgroup.c (gtk_accel_group_from_accel_closure,
+       gtk_accel_group_query, gtk_accel_group_find,
+       gtk_accel_groups_from_object): Document.
+
+       * gtk/gtkaccellabel.c (gtk_accel_label_set_accel_closure): Document.
+
+2002-01-04  Hans Breuer  <hans@breuer.org>
+
+       * gdk/gdkdraw.c gdk/gdkpixbuf-drawable.c : 
+       need to cast image->mem away from void* to avoid 
+       'error C2036: 'void *' : unknown size'. Doing pointer 
+       arithmetics on void pointers is a GCCism afaik.
+
+       * gdk/gdkpixbuf-render.c : #include "gdkinternals.h" for
+       _gdk_draw_pixbuf ()
+
+       * gdk/makefile.msc gdk/win32/makefile.msc 
+        gdk/gtk/makefile.msc.in : use -FI msvc_recommended_pragmas.h
+
+       * gdk/win32/gdkdrawable-win32.c : use _gkd_win32_copy_to_image
+       and take care of image->visual possibly NULL.
+
+       * gdk/win32/gdkimage-win32.c : implement _gdk_image_new_for_depth(),
+       _gdk_win32_copy_to_image() and _gdk_windowing_bits_for_depth().
+       Again take care of image->visual possibly NULL.
+
+       * gdk/win32/gdkprivate-win32.h : declare _gdk_win32_copy_to_image()
+
+       * gdk/win32/gdkevents-win32.c : use gdk_drawable_get_colormap
+       instead of private field access
+
+       * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) : adapt
+       colormap setting to the gdk-X behaviour
+
 2001-01-04  Matthias Clasen  <matthiasc@poet.de>
 
        * gtk/gtkwidget.c: Documentation additions.