]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-6
Remove unused variable.
[~andy/gtk] / ChangeLog.pre-2-6
index 616871335f8c7eb4701923f09f37842f54c79302..c4b8d2bafaf368e33201a9a2ab6dce4b1a1fda81 100644 (file)
@@ -1,3 +1,188 @@
+2001-01-17    <alexl@redhat.com>
+
+       * gdk/linux-fb/gdkdrawable-fb2.c (gdk_shadow_fb_draw_arc):
+       Doh! Mixed up x and y.
+
+       * gdk/linux-fb/gdkglobals-fb.c:
+       Removed gdk_fb_pointer_grab_window_events,
+       added _gdk_fb_pointer_grab_owner_events and
+       _gdk_fb_keyboard_grab_owner_events.
+
+       * gdk/linux-fb/gdkmain-fb.c (gdk_fb_pointer_grab):
+       Set all button mask if GDK_BUTTON_MOTION_MASK set. Send
+       crossing events before grabbing. Set _gdk_fb_pointer_grab_owner_events.
+       (gdk_fb_pointer_ungrab): Unset _gdk_fb_pointer_grab_owner_events
+       Send crossing events after ungrab finished.
+       (gdk_keyboard_grab): Set ..._owner_events
+       (type_masks): Move out of function.
+       (gdk_fb_other_event_window, gdk_fb_pointer_event_window,
+       gdk_fb_keyboard_event_window): New functions, return the
+       window an event should be targeted at. Handles grabs and
+       event propagation. Can return NULL.
+       (gdk_event_make): Remove event_mask checking. Now always
+       returns an event.
+               
+       * gdk/linux-fb/gdkkeyboard-fb.c:
+       * gdk/linux-fb/gdkproperty-fb.c:
+       * gdk/linux-fb/gdkselection-fb.c:
+       Use new event_window/gdk_event_make() behaviour.
+       
+       * gdk/linux-fb/gdkmouse-fb.c:
+       Use new event_window/gdk_event_make() behaviour.
+       Only send motion events if in the same window.
+       If grabbed, use cursor from window if sibling of grabbed
+       window, and cursor from grabbed window otherwise.
+
+       * gdk/linux-fb/gdkprivate-fb.h:
+       Update gdk_fb_window_send_crossing_events, gdk_event_make
+       and grab varaible declarations. Add gdk_fb_*_event_window().
+
+       * gdk/linux-fb/gdkwindow-fb.c:
+       Use new event_window/gdk_event_make() behaviour.
+       Keep correct track of focus window.
+       (gdk_window_set_events): Set all specific button motion masks
+       if GDK_BUTTON_MOTION_MASK set.
+
+       * gtk/gtkdnd.c (gtk_drag_update):
+       Free info->last_event if gdk_drag_motion returned FALSE.
+
+Tue Jan 16 13:13:13 GMT 2001  Tony Gale <gale@gtk.org>
+
+       * docs/faq/gtk-faq.sgml: FAQ update:
+         - Update to bugzilla
+         - Add GTK+ and security/SUID/SGID
+         - Add DnD question
+
+2001-01-16  Alexander Larsson  <alla@lysator.liu.se>
+
+       * gdk/linux-fb/gdkdnd-fb.c:
+       Some cleanups.
+       
+2001-01-15  Havoc Pennington  <hp@pobox.com>
+
+       * tests/testtreeview.c: add test stuff for CellRendererToggle
+
+       * gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_model): add this
+       accessor
+
+       * gtk/gtkcellrenderertoggle.c: distinguish different event types,
+       only toggle on button press (would do release like GtkButton, but
+       we'd need implicit grab code for treeview cells)
+
+2001-01-16  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkvisual-win32.c: Include <stdlib.h> for getenv().
+
+       * gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't use
+       GDK_COLORMAP_PRIVATE_DATA on a potentially NULL GdkColormap.
+
+       * gdk/win32/gdkfont-win32.c (gdk_font_load_internal): Adapt calls
+       to g_{locale,filename}_{to,from}_utf8 to match current API.
+
+       * gtk/makefile.msc.in (gtk_OBJECTS)
+       * gtk/makefile.mingw.in (gtk_OBJECTS): Add gtkwindow-decorate.
+
+       * gtk/gtk.def: Update.
+
+2001-01-15  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkevents-win32.c (synthesize_crossing_events): New
+       implementaion that more closely mimics the events that an X server
+       would generate. Especially, properly generate GDK_NOTIFY_VIRTUAL and
+       GDK_NOTIFY_NONLINEAR_VIRTUAL crossing events. This makes buttons
+       with nested preview widgets, for instance, more responsive when
+       you move the mouse quickly into them.
+       (find_window_for_pointer_event): Make it actually compile.
+       (gdk_event_translate): Set send_event to the value of
+       InSendMessage (). This doesn't really mean the same as X11's
+       send_event flag, but is close enough, says jpe@archaeopteryx.com
+
+2001-01-15  Alexander Larsson  <alexl@redhat.com>
+
+       * gdk/linux-fb/gdkdnd-fb.c:
+       Implemented drag and drop.
+       Seems to be mostly working. I sometimes get an assert from gtkdnd.c:2664
+       when it tries to free and then copy the same event (info->last_event).
+       I am not sure about why this happens, but will continue looking.
+
+2001-01-15  Alexander Larsson  <alexl@redhat.com>
+
+       * gdk/linux-fb/gdkwindow-fb.c:
+       Use gdk_window_invalidate_rect instead of
+       gdk_window_invalidate_rect_clear to minimise flashing.
+       When hiding windows you need to clear the root window though.
+
+2001-01-15  Alexander Larsson  <alexl@redhat.com>
+
+       * gdk/linux-fb/gdkdrawable-fb2.c:
+       For optization, add an full_shapes argument to gdk_fb_clip_region.
+       If this is false, only the cliprects of the shapes are used.
+
+       * gdk/linux-fb/gdkprivate-fb.h:
+       Export gdk_fb_window_peek_shape.
+       Add full_shapes to gdk_fb_clip_region.
+
+       * gdk/linux-fb/gdkwindow-fb.c (gdk_fb_window_move_resize):
+       When moving a window, don't clear everything under the it, just the
+       root window. Makes stuff faster and flash less.
+       (gdk_window_get_pointer): Correctly handle offseted shapes, due to
+       USE_CHILD_SHAPE. (gdk_fb_window_peek_shape): Return the correct
+       offset of the shape.
+       
+
+2001-01-12  Havoc Pennington  <hp@redhat.com>
+
+       * gdk/x11/gdkgeometry-x11.c (gdk_window_scroll): offset the 
+       current invalid region, fixes redraw bug while scrolling the 
+       text widget
+
+       * gtk/gtktextview.c, gtk/gtktextview.h:
+       Rearrange the scrolling/validation/etc. code in a major way, 
+       so it seems to make sense to me. Probably isn't genuinely that
+       much better, but...
+
+       * gtk/gtktexttag.c (set_fg_color): fix name of property used for
+       notifies
+
+       * gtk/gtktextmark.c (gtk_text_mark_get_left_gravity): new function
+
+2001-01-12  Alexander Larsson  <alla@lysator.liu.se>
+
+       * gdk/linux-fb/gdkmain-fb.c (gdk_fb_set_rotation):
+       Hide mouse pointer while rotation. Show it afterwards.
+
+2001-01-12  Alexander Larsson  <alexl@redhat.com>
+
+       * gdk/linux-fb/gdkdrawable-fb2.c (gdk_fb_clip_region): Take shaped
+       windows in consideration when generating clip region.
+
+       * gdk/linux-fb/gdkfb.h:
+       Huge HACK. Added GDK_FB_USE_CHILD_SHAPE.
+
+       * gdk/linux-fb/gdkprivate-fb.h:
+       Add shape to GdkWindowFBDatat.
+       exported gdk_fb_window_get_abs_shape().
+       removed gdk_fb_draw_lines declaration.
+
+       * gdk/linux-fb/gdkwindow-fb.c (gdk_window_impl_fb_init):
+       Init shape to NULL. (gdk_fb_window_send_crossing_events): Don't
+       send focus changes when there is a grabbed window.
+       (gdk_window_get_pointer): Handle shaped windows.
+       (gdk_fb_region_create_from_bitmap): Convert bitmap to region.
+       (gdk_fb_window_peek_shape): Returns the shape for a window,
+       handles GDK_FB_USE_CHILD_SHAPE.
+       (gdk_fb_window_get_abs_shape): Returns the shape of the window,
+       offseted to absolute positions. Handles GDK_FB_USE_CHILD_SHAPE.
+       (gdk_window_shape_combine_mask): Implement.
+
+       * gtk/gtkwindow-decorate.c:
+       HACK! Set GDK_FB_USE_CHILD_SHAPE on window->frame to make sure
+       setting the shape of a window makes the window transparent.
+
+2001-01-11  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktreemodelsimple.h: Oops, broke some macros
+
 2001-01-10  Havoc Pennington  <hp@redhat.com>
 
        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_clear_attributes):
@@ -307,7 +492,7 @@ Mon Jan  8 14:06:29 2001  Jonathan Blandford  <jrb@redhat.com>
 2001-01-07  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkwindow-win32.c (gdk_window_set_title,
-       gdk_window_new): Adapt  calls to g_{locale,filename}_{to,from}_utf8
+       gdk_window_new): Adapt calls to g_{locale,filename}_{to,from}_utf8
        to match current API.
 
        * gdk/win32/gdkvisual-win32.c (gdk_visual_init): If a secret