]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-10
Return TRUE to prevent the scroll event to be propagated upwards.
[~andy/gtk] / ChangeLog.pre-2-10
index 4bc366f9277d9702bd14e86c6e026948f4c36f1d..708b9ff575452b4858ba9cde5bd8773c1ed0fad5 100644 (file)
@@ -1,3 +1,140 @@
+2000-02-19  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkrange.c (gtk_range_scroll_event): Return TRUE
+       to prevent the scroll event to be propagated upwards.
+
+Fri Feb 18 14:37:29 2000  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Remove
+       OwnerGrabButtonMask from button entries for
+       GDK_BUTTON_PRESS / GDK_BUTTON_RELEASE.
+
+       * gtk/gtklayout.c (gtk_layout_realize): Always add GDK_SCROLL
+       to the event mask (which will result in button/press release
+       being added to the event mask on Unix) so scrolling works
+       for layouts in scroll windows.
+
+       * gdk/gdkevents.h (enum): Fix up GDK_ALL_EVENTS_MASK.
+
+       Patch from Anders Carlsson  <andersca@gnu.org> to add
+       a scroll event.
+
+       * gtk/testgtk.c (scroll_test_scroll): Added an example of mouse wheel
+       scrolling to the "Test Scrolling" part of testgtk.
+       * gtk/gtkwidget.h (struct _GtkWidgetClass): Added scroll_event signal.
+       * gtk/gtkwidget.c: Added "scroll_event" GTK+ signal and matched
+       it against GDK_SCROLL.
+       * gtk/gtkrange.c (gtk_range_scroll_event): Updated to use the new
+       way of mouse wheel scrolling.
+       * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event): Likewise.
+       * gtk/gtkspinbutton.c (gtk_spin_button_scroll): Likewise.
+       * gtk/gtkmain.c: Removed previous mouse wheel hack.
+       * gdk/x11/gdkwindow-x11.c (gdk_event_mask_table): Added entry in
+       gdk_event_mask_table.
+       * gdk/x11/gdkevents-x11.c (gdk_event_translate): Added 
+       GdkEventScroll handler.
+       * gdk/gdkevents.h: Added GdkEventScroll structure.
+Thu Feb 17 17:10:12 2000  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gt{h,k,}vpaned.[ch]: Add patch from Jonathan Blandford
+       and Anders Carlsson to change the Paned widgets so that they
+       can be dragged from anywhere along the length. Also change
+       the way that this is drawn to make this apparent.
+
+       * gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Apply patch
+       from George Lebl to check that option_menu->menu is present
+       before getting history.
+
+2000-02-14  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/gdkdraw.c (gdk_draw_segments): Move the test for no segments
+       before the assertion for non-NULL segment list.
+
+       * gdk/win32/gdkgc-win32.c: (gdk_win32_gc_values_to_win32values):
+       Seems that pattern brushes *must* be 8x8 pixels! At least on my
+       machine, but it might be display driver dependent. Sigh, so make
+       sure the stipple is that size. Does Windows suck or what?
+
+       * gdk/win32/gdkdrawable-win32.c: Improve error handling in a few
+       places.
+
+2000-02-13  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): init
+       refcount to 1
+       (gdk_cursor_new): init refcount to 1
+
+       * gdk/win32/gdkcursor-win32.c (gdk_cursor_new): init refcount to 1
+
+2000-02-13  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter
+       so that we don't have to do unnecessary settings to the HDC.
+
+       * gdk/win32/gdkdrawable-win32.c
+       * gdk/win32/gdkimage-win32.c: Corresponding changes to the calls of
+       gdk_gc_predraw.
+
+       * gdk/win32/gdkdrawable-win32.c: Special-casing for GdkGCs where
+       the fill style is GDK_OPAQUE_STIPPLED. In those cases we construct
+       GDI paths, call WidenPath to get the outline of the stroken path,
+       and then fill the outline (with the brush that was built from the
+       stipple).
+
+       * gdk/win32/gdkgc-win32.c: Factor out common code from
+       _gdk_win32_gc_new and gdk_win32_gc_set_values into
+       gdk_win32_gc_values_to_win32values. Use correct colour for
+       SetBkColor() (Until now the code actually used a random colour in
+       the call to SetBkColor()... but that didn't show up as not many
+       GDI APIs use the background colour. Pattern (opaque stippled)
+       brushes do.)
+
+       * gdk/win32/gdkmain-win32.c (gdk_win32_last_error_string,
+       gdk_win32_api_failed): New functions for error logging.
+
+       * gdk/win32/gdkprivate-win32.h: Declare them, and define a macro
+       WIN32_API_FAILED to call them, passing function or file name and
+       line number.
+
+       * gdk/win32/*.c: Use the WIN32_API_FAILED macro.
+
+       * gdk/win32/gdkprivate-win32.h: Store just the pixel values from
+       GdkColor for foreground and background in GdkGCWin32Data.
+
+       * gdk/makefile.cygwin: Link in the resource object separately.
+
+       * gdk/win32/rc/gdk.rc
+       * gtk/gtk.rc (New file)
+       * gdk/win32/makefile.cygwin
+       * gtk/makefile.cygwin: Update build number in DLLs automatically,
+       as in GLib.
+
+Sun Feb 13 08:54:45 2000  Tim Janik  <timj@gtk.org>
+
+       * gdk/gdkcursor.h (struct _GdkCursor): s/refcount/ref_count/.
+       * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): 
+       * gdk/x11/gdkcursor-x11.c (_gdk_cursor_destroy): 
+       * gdk/gdkcursor.c (gdk_cursor_ref): insert assertments for the
+       parameters given and cursor->ref_count. coding style fixups.
+
+       * gtk/gtksocket.c (gtk_socket_class_init): parent class is GtkContainer,
+       not GtkWidget.
+       
+       * gtk/*.h: applied patch from Mathieu Lacage <lacage@email.enst.fr> to
+       fix up widget macros and add _GET_CLASS() variant.
+       
+       * gtk/*.c: some GtkType fixups.
+
 2000-02-09  Tor Lillqvist  <tml@iki.fi>
 
        * gdk/win32/gdkproperty-win32.c