X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=ChangeLog.pre-2-2;h=2c9f27ef359c835a4bbc745bb53e320fbe0ad854;hb=ec81d4a8af83b77eae96b908c809a81381527d1a;hp=53e1fdcd7bfd9b531d4b29c02a4b7d689fdbebdf;hpb=1a0be4a67a91684cb74380fed46b1acee378e1d3;p=~andy%2Fgtk diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 53e1fdcd7..2c9f27ef3 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,370 @@ +2002-01-04 Hans Breuer + + * 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 + + * gtk/gtkwidget.c: Documentation additions. + +2001-01-04 Matthias Clasen + + * gtk/gtkobject.c (gtk_object_dispose): Fix a comment. + + * gtk/gtkwidget.c (gtk_widget_set_sensitive): tiny docs change + +2002-01-04 Havoc Pennington + + * gtk/gtkwidget.c (gtk_widget_set_sensitive): tiny docs change + +Fri Jan 4 13:05:15 2002 Owen Taylor + + * gtk/gtkdnd.c (gtk_drag_find_widget): At least + don't infinite loop if the widget and window heirarchies + don't correspond. + + * gtk/gtkdnd.c (gtk_drag_find_widget): Handle changes + in heirarchy in ::drag_motion, ::drag_drop callbacks + by referencing child widget lists. (Patch from Tim) + + * gtk/gtkdnd.c (gtk_drag_find_widget): Fix a problem + with widgets where window.x != widget->allocation.x + +Fri Jan 4 01:36:48 2002 Owen Taylor + + * gdk/x11/gdkdrawable-x11.c (convert_to_format): Optimize + a little bit. (More for consistency than because it + makes much of a difference.) + +Thu Jan 3 22:18:15 2002 Owen Taylor + + * gdk/x11/gdkdrawable-x11.c gdk/x11/gdkprivate-x11.h + (_gdk_x11_have_render): Private function to tell if we have RENDER + extension. + + * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_get_fg_picture): Return + None if we don't have RENDER extension. + + * gdk/x11/gdkpango-x11.c (gdk_pango_context_get): Don't + use Xft unless we have render extension. + + * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_picture): + Handle missing render extension. + + * gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkpixmap.c gdk/gdkwindow.c + gdk/gdkinternals.h: Add a private copy_to_image() virtual function + to the GdkDrawable vtable that extends get_image() to allow + copying onto existing images. Make the default implementation of + get_image() use this so that backends don't have to implement + both. Add private wrapper _gdk_drawable_copy_to_image(). + + * gdk/x11/gdkimage-x11.c gdk/x11/gdkprivate-x11.c + gdk/x11/gdkdrawable-x11.c (_gdk_x11_copy_to_image): Implement + copy_to_image() semantics, speed up by using ShmPixmaps and + XCopyArea when possible, XFlush() after ungrabbing the server, + generally redo the logic once again. + + * gdk/gdkinternals.h gdk/x11/gdkimage-x11.c + _gdk_windowing_bits_per_depth(): Function to convert from depth to + bits-per-pixel. (We assume only one bpp per depth - X requires + this.) + + * gdk/gdkinternals.h gdk/gdkrgb.c gdk/gdkimage.c: Move the GdkRGB + scratch image code into a generic _gdk_image_get_scratch() chunk + of code that we can use other places we need scratch images. + + * gdk/gdkimage.c gdk/x11/gdkimage.c gdk/gdkinternals.h: + Add _gdk_image_new_for_depth() as the backend + to _gdk_image_new() to allowing creating images with + a depth and no visual. + + * gdk/gdkpixbuf-drawable.c: Fix so that getting + parts of images not at 0,0 actually works. + + * gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c + gdk/gdkwindow.c gdk/gdkpixmap.c gdk/gdkpixbuf-render.c: + - Add a new GdkDrawableClass vfunc _draw_pixbuf, and + _gdk_draw_pixbuf() [ will be made public later ], to allow + backends to accelerate drawing pixbufs. + - Move the implementation of gdk_pixbuf_render_to_drawable_alpha() + to be the default implementation. + - Update docs for gdk_pixbuf_render_to_drawable_alpha(). + - Optimize the default implementation by using + _gdk_image_copy_to_pixmap() and scratch shared images, and + special casing the compositing. + + * gdk/x11/gdkdrawable-x11.c: Accelerate _gdk_draw_pixbuf() + with alpha using the RENDER extension. + + * gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable): + Optimize by _gdk_image_copy_to_pixmap() and scratch images. + + * tests/testrgb.c: Add test for speed of alpha composition, + reduce the number of iterations since alpha composition + can be a bit slow. + + * gdk/x11/gdkimage-x11.c gdk/gdkprivate-x11.h (_gdk_x11_image_get_shm_pixmap): + Private function to get a ShmPixmap for an image, if possible. + +2002-01-04 Anders Carlsson + + * tests/testtreesort.c: Add my cool list of integers. + +Thu Dec 27 18:12:55 2001 Owen Taylor + + * gdk/x11/gdkproperty-x11.c (gdk_property_get): Fix + problem where retrieved atoms weren't properly returned. + +2002-01-03 Anders Carlsson + + * gtk/gtktextview.c (gtk_text_view_key_press_event): When + tab is pressed and the text view isn't editable, + move the focus instead. + + * gtk/gtkstyle.c (gtk_default_draw_focus): Free dash list if + necessary. + + * gtk/gtkhsv.c (gtk_hsv_get_focus_gc): Free dash list. + + * gtk/gtkcolorsel.c (get_focus_gc): Free dash list. + + * gtk/gtkdnd.c (set_icon_stock_pixbuf): Don't unref the mask + if it's NULL. + + * gtk/gtktreeview.c: Rename gtk_tree_view_queue_draw_node to + _gtk_tree_view_queue_draw_node. + (gtk_tree_view_row_has_child_toggled): Only redraw one node. + + * gtk/gtktreesortable.c (gtk_tree_sortable_set_sort_func): + sort_column_id can be 0. + + * gtk/gtktreeselection.c (gtk_tree_selection_real_select_node): + Only redraw one the node being selected. + + * gtk/gtktreeprivate.h: Add _gtk_tree_view_queue_draw_node. + +Wed Jan 2 23:09:06 2002 Tim Janik + + * gtk/gtkcontainer.c (_gtk_container_queue_resize): don't ignore + realized but visible && !mapped resize containers (which is + possible with unset CHILD_VISIBLE now). + +2002-01-02 jacob berkman + + * gtk/Makefile.am (LDFLAGS): automake still doesn't support + libsomething_la_LDFLAGS, so fix the build again + +2002-01-01 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_expose_event): propagate + exposes to no window children not in the buffer window. + (gtk_text_view_class_init): add move_focus bindings for Ctrl-Tab + - is this the right way to do it? + (gtk_text_view_focus): add focus method, just chains up for now, + I'm not sure why the GtkContainer implementation doesn't work + + * gtk/gtktextbtree.c (_gtk_text_btree_insert_child_anchor): fill + in the text line for the child anchor segment + + * tests/testtext.c (do_add_focus_children): add another test + example (to put focusable buttons into the widget) + +2002-01-01 Havoc Pennington + + * docs/README.linux-fb: note that this file is obsolete + + * docs/Changes-2.0.txt, docs/Changes-1.2.txt: Add notes to these + files that they should not be edited and look in the reference + manual instead. Probably these files should just be replaced by + the note, and their main contents deleted. + + * gtk/gtktextview.c: docs + + * gtk/gtktextmark.c: docs + + * gtk/gtktextchild.c: docs + + * gtk/gtktextbuffer.c: docs stuff + + * gtk/gtkclipboard.c (gtk_clipboard_get): fool with docs to maybe + give people more leads in sorting out PRIMARY vs. CLIPBOARD + +2002-01-01 Tor Lillqvist + + * demos/Makefile.am (test-inline-pixbufs.h): Append EXEEXT to + ../gdk-pixbuf/gdk-pixbuf-csource. + +2001-12-31 Tor Lillqvist + + * gdk/win32/gdkgc-win32.c (predraw_set_foreground): Improved error + handling. + (gdk_win32_hdc_get,gdk_win32_hdc_release): Silence gcc -Wall. + + * gdk/win32/gdkimage-win32.c (_gdk_win32_get_image): Silence gcc + -Wall. Use GDK_IS_PIXMAP_IMPL_WIN32 instead of GDK_IS_PIXMAP in + one more place. + + * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Silence gcc + -Wall. + + * gtk/Makefile.am (libgtk_win32_1_3_la_LDFLAGS): Add -lwsock32. + +2002-01-01 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_get_default_attributes): doc + fix + +2002-01-01 Havoc Pennington + + * gtk/gtktextview.c (changed_handler): Replace call to + gtk_widget_size_request() that expected to actually compute the + request with a direct use of widget_class->size_request, so we get + our size request right; fixes remaining part of #63065 reported by + Matthias Clasen + +2001-12-31 Havoc Pennington + + * tests/testtext.c (do_insert_and_scroll): remove backward_char + since we no longer have bogus newline + (dialog_response_callback): remove another backward_char horkage, + reported by Matthias Clasen #63065 + +2001-12-31 Havoc Pennington + + * gtk/gtktextbtree.c (gtk_text_btree_node_view_check_consistency): + fix an incorrect assertion that the "valid" flag is always correct + in a node and add explanatory comment. This keeps me from + reproducing #59101, but I'm remembering that 59101 was actually + about incorrect pixel totals, so I'm not sure 59101 is actually + fixed. May just have stopped happening due to some change in + how C-k works. + +2001-12-31 Havoc Pennington + + * gtk/gtktextview.c (gtk_text_view_start_selection_drag): extend + selection if shift is down, bug #50939 + (gtk_text_view_button_press_event): add double/triple click + selection to the current selection if shift is down + +2001-12-31 Havoc Pennington + + * gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index): fix + to use ensure_byte_offsets not ensure_char_offsets, patch + from Padraig O'Briain bug #67356 + +2001-12-30 Havoc Pennington + + * gtk/gtkdialog.h (GtkDialogFlags): fix GtkDialogFlags to have + the right values, reported by Jeff Franks + +2001-12-30 Matthias Clasen + + * gtk/gtkwindow.c, gtk/gtkimcontextsimple.c: Minor documentation tweaks. + +2001-12-28 Matthias Clasen + + * gdk/x11/gdkproperty-x11.c, gdk/x11/gdkselection-x11.c: + Minor documentation tweaks. + +2001-12-28 Tor Lillqvist + + * gdk/win32/gdkfont-win32.c: Use G_N_ELEMENTS(). + (unicode_classify): Don't return -1 on encountering an + unclassified character, but play it safe and return U_BASIC_LATIN. + +Thu Dec 27 16:05:30 2001 Owen Taylor + + * gtk/gtkarrow.c gtk/gtkimage.c gtkpixmap.c: Make interpretation + of misc->xpad/ypad consistent with GtkLabel. Do + directional flipping when interpreting misc->xalign/yalign. + Fix off-by-one error for negative x,y. (#67472, reported + by Mathieu Lacage) + +Thu Dec 27 15:45:41 2001 Owen Taylor + + * gtk/gtkwidget.c (gtk_widget_set_style_internal): + Remove optimization that was causing problems because + we called gtk_widget_size_request() before we called + gtk_widget_queue_resize() so RESIZE_NEEDED was not + set. Optimization shouldn't mattter now that we + are smart about needlessly size requesting or allocating + widgets. (#67598, reported by Jacob Berkman) + +Thu Dec 27 15:38:20 2001 Owen Taylor + + * gtk/gtkmenu.c (gtk_menu_stop_navigating_submenu_cb): + Call gdk_window_get_pointer() on menu->bin_window not + menu->window, so we get the correct window for the + menu item. (#65213, Guillermo S. Romero) + +Thu Dec 27 15:13:44 2001 Owen Taylor + + * gtk/gtkmenu.c (gtk_menu_set_title): Allow unsetting + the title by setting to NULL. Move docs inline. + Update the title if the tearoff window already + exists. Code cleanup. (Fixes #65190, reported by + Vitaly Tishkov.) + +Thu Dec 27 14:04:22 2001 Owen Taylor + + * gtk/gtksocket.c (gtk_socket_key_press_event): + gtk/gtkplug.c (gtk_plug_key_press_event): Don't do + special handling of key presses unless we are doing + iter-app embedding. (Fixes #67590, Anders Carlsson) + +Thu Dec 27 16:37:04 2001 Kristian Rietveld + + * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted), + (gtk_tree_model_sort_sort_level), + (gtk_tree_model_sort_insert_value): fix a few places where + I was confused between modelsort iters and other iters. This was + really going to happen someday ;) + +Wed Dec 26 23:41:41 2001 Kristian Rietveld + + * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): ensure + we are unprelighted before reordering + + * gtk/gtktreemodel.c (gtk_tree_row_ref_reordered_callback): we + need to break out of the for loop, not return (this fixed + the 'selection freeze' bug). + + * gtk/gtktreemodelsort.c: more fixage and cleanups. It seems to + be pretty stable now, though it still needs some more code + cleanups. + +Wed Dec 26 12:32:31 2001 Owen Taylor + + * docs/Changes-2.0.txt: Document the fact that + gtk_paned_set_handle_size() has been removed. + + * gtk/gtkpaned.h Remove gtk_paned_handle_size() compat macro, + since it pointed to gtk_paned_set_handle_size(), which + was removed. (#66760, Matt Wilson) + Wed Dec 26 12:28:24 2001 Owen Taylor * gtk/gtkdnd.c (gtk_drag_highlight): Connect