]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-4
gtk/gtkmain.c Use the new
[~andy/gtk] / ChangeLog.pre-2-4
index 8e480dd1dc91091f86be723c8731d910faf10e87..3ef0b0ec6315e5e0e9ebc96db622a52e75741498 100644 (file)
@@ -1,3 +1,312 @@
+2001-01-18  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk/gtkmain.c
+       * gtk/gtkrc.c: (Win32) Use the new
+       g_win32_get_package_installation_(sub)directory() functions.
+
+       * config.h.win32.in: New file.
+       
+       * config.h.win32: Removed.
+
+       * configure.in: Output config.h.win32.
+
+       * Makefile.am: Add it to EXTRA_DIST.
+
+       * gtk/gtk.def: Update.
+
+Wed Jan 17 16:22:54 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtklabel.c (gtk_label_size_request): Set the
+       attributes onto the PangoLayout even if they are newly
+       created from label->pattern.
+
+Tue Jan  9 11:20:48 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkdnd-x11.c: Remove unused variable.
+
+       * gtk/gtkdnd.c: Encapsulate storing and retrieving info
+       structures in functions. Fixes bug where gtk_dataset_*
+       was accidentally still being used in one place, causing
+        every dest side event to be treated independently.
+
+       * gtk/gtkdnd.c: Remove last vestages of handling
+       ::draw (fixes warning)
+       
+       * gtk/gtkentry.[ch]: Add drag and drop support.
+
+       * gtk/gtkdnd.[ch] gtk/gtktextview.c gtk/gtkentry.c: Add
+       new function gtk_check_drag_threshhold() for checking
+       to check if (dx,dy) has exceeded the threshhold for starting
+       a drag and use it everywhere.
+
+Mon Jan  8 11:58:05 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk+-2.0.pc.in gdk-pixbuf-2.0.pc.in (Cflags): Remove -I${includedir},
+       add -I{includedir}/gtk-2.0.
+
+       * gtk/gtktreeview.[ch] gtktreemodelsort.[ch] gtknotebook.c
+       gdk/gdk-pixbuf.h: Doc fixups.
+       
+       * gtk/gtkobject.h: Remove trailing , from enum
+
+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.
+
+2001-01-16  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkwindow-win32.c (gdk_window_show, gdk_window_hide):
+       Eliminate redraws when input-only windows are shown or
+       hidden. Thanks to jpe@archaeopteryx.com.
+
+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):
+       add this function, bug 40251
+
+       * gtk/gtktreemodelsimple.h (GTK_TYPE_TREE_MODEL_SIMPLE): fix name
+       of type macro   
+
+2001-01-11  Alexander Larsson  <alexl@redhat.com>
+
+       * acconfig.h:
+       Added ENABLE_SHADOW_FB
+
+       * configure.in:
+       Added --disable-shadowfb
+
+       * gdk/linux-fb/gdkcursor-fb.c:
+       Update shadowfb when updating cursor
+
+       * gdk/linux-fb/gdkdrawable-fb2.c:
+       Added wrappers for shadowfb that calls  the normal drawable
+       methods, but calls gdk_shadow_fb_update(bounding box) when
+       GdkWindows are drawed to.
+       Moved gdk_draw_glyphs implementation to _gdk_draw_glyphs
+       which also returns the bounding box.
+
+       * gdk/linux-fb/gdkfb.h:
+       Added GdkFBAngle type and gdk_fb_set_rotation declaration.
+
+       * gdk/linux-fb/gdkgeometry-fb.c:
+       Update shadowfb when scrolling window.
+
+       * gdk/linux-fb/gdkglobals-fb.c:
+       Add _gdk_fb_screen_angle.
+       
+       * gdk/linux-fb/gdkkeyboard-fb.c:
+       Test code for screen rotation. Shift-F2 in the xlate driver
+       rotates the screen.
+
+       * gdk/linux-fb/gdkmain-fb.c:
+       Handle shadowfb. Add gdk_fb_set_rotation(). Remove CM and RP.
+
+       * gdk/linux-fb/gdkmouse-fb.c:
+       Use fb_width/height instead of modeinfo.xres/yres.
+
+       * gdk/linux-fb/gdkprivate-fb.h:
+       Added fb_men, fb_width, fb_height & fb_stride. When using
+       shadow fb these can differ from the framebuffer stuff.
+       Declarations for gdk_shadow_fb_update, gdk_shadow_fb_init,
+       gdk_shadow_fb_stop_updates, gdk_fb_recompute_all,
+       _gdk_fb_screen_angle. Removed CM, RP.
+
+       * gdk/linux-fb/gdkrender-fb.c:
+       Added code for shadowfb handling and screen rotation using
+       shadowfb.
+
+       * gdk/linux-fb/gdkwindow-fb.c:
+       Use fb_mem, fb_stride, fb_width, fb_height.
+       Added recompute_rowstride to reset the rowstride of all windows.
+       Added gdk_fb_recompute_all() which recomputes rootwindow size,
+       window abs positions and window rowstrides. Usefull when the
+       rotation has changed.
+
+Thu Jan 11 13:16:50 GMT 2001  Tony Gale <gale@gtk.org>
+
+       * docs/faq/gtk-faq.sgml: update to make web site updating easier
+
 2001-01-10  Havoc Pennington  <hp@redhat.com>
 
        * gtk/gtktreestore.c (gtk_tree_store_insert_before): handle case
@@ -240,7 +549,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