]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-4
Add a drag_data_received handler for the label.
[~andy/gtk] / ChangeLog.pre-2-4
index ff0e502b9ffe3b8be6c77bd2d3729837cf3b9720..0dd7d9af51b1684b4ed4d5b2b083eec7dc30d82b 100644 (file)
@@ -1,3 +1,118 @@
+Tue Jan 12 18:30:51 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/testdnd.c (label_drag_data_received): Add 
+       a drag_data_received handler for the label.
+
+Tue Jan 12 15:01:50 1999  Owen Taylor  <otaylor@redhat.com>
+
+        * gdk/gdkevents.c: Removed the putback_events queue, 
+       since it was causing problems with event ordering -
+       just keep a single queue. If we need it, we can
+       add priorities to events.
+
+       * gdk/gdkevents.c: Annotate events with flags - we allocate
+       a GdkEventPrivate structure in gdk_event_new() and use these
+       flags to mark an event being translated as "pending" -
+       I.e., not yet ready to be dequeued. So we can put
+       the event on the queue and get the order of the
+       events right. (This solves the double-click problems)
+       
+       * gdk/gdk.h gdk/gdkevents.h: Add gdk_event_peek() to get a copy
+       of the next event on the event queue.
+       
+       * gtk/gtkmain.c (gtk_main_do_event): Use gdk_event_peek()
+       to check the next event without causing event queue
+       reordering.
+
+Tue Jan 12 15:41:20 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtklabel.c (gtk_label_expose): Minor fix
+       to handling of misc->[x/y]pad
+
+Tue Jan 12 14:31:43 1999  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkstyle.[ch] (gtk_style_apply_default_pixmap): 
+       Add back as wrapper function to restore source/binary 
+       compatibility. grrrr.
+
+Tue Jan 12 13:47:07 1999  Tim Janik  <timj@gtk.org>
+
+       * reworked the redrawing heuristics somewhat, this fixed a bunch of
+       existing redrawing problems and majorly reduces overall redrawing needs
+       during normal operation. basically we now only queue redraws when
+       neccessary and much rely on the draw_area coalescing code in gtkwidget.c
+       to optimize the queued portions. widgets will now upon reallocation only
+       get redrawed if their allocation has changed. upon hide/show only the
+       area allocated by the child will be queued for the parent, this has the
+       side effect that parents which change their appearance in dependance on
+       the numer of visible children have to keep track of their children's
+       visiblity and eventually fully redraw themselves. this is a minor
+       constrain with great benefits in terms of redraw reduction, and only got
+       triggered by the notebook widget.
+
+       * gtk/gtkwidget.c:
+       (gtk_widget_queue_clear): don't bother if width and height == 0.
+       (gtk_widget_queue_clear_child): new static function to queue a redraw of
+       the area obscured by a child on a parent.
+       (gtk_widget_queue_resize): queue_clear the widget if it is drawable.
+       (gtk_widget_show): queue resize on the widget before showing.
+       (gtk_widget_hide): queue resize on the widget after hiding.
+       (gtk_widget_map): queue_draw the widget after mapping.
+       (gtk_widget_unmap): queue_clear_child the widget.
+       (gtk_widget_size_allocate): queue_clear_child and queue_draw if the
+       widget's allocation changed.
+       (gtk_widget_unparent): queue_clear_child so the parent redraws obscured
+       portions.
+       (gtk_widget_real_show):
+       (gtk_widget_real_hide):
+       (gtk_widget_real_map):
+       (gtk_widget_real_unmap):
+       (gtk_widget_real_size_allocate): don't bother with redraw queueing,
+       descendants that override these functions don't do either and we handle
+       all redrawing/resizing related stuff before or after the signal emission
+       now.
+
+       * gtk/gtkcontainer.c:
+       (gtk_container_resize_children): don't bother about redrawing anymore
+       since gtk_widget_size_allocate handles that for us now.
+
+       * gtk/gtknotebook.h:
+       * gtk/gtknotebook.c:
+       added a flag have_visible_child to indicate whether we need to draw
+       non child related portions at all, e.g. shadows etc.
+       (gtk_notebook_draw): if have_visible_child changed, do a full paint
+       instead of updating a small area only.
+
+Mon Jan 11 20:44:35 1999  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkstyle.c: changed gtk_style_apply_default_pixmap to
+       gtk_style_apply_default_background which takes an extra argument
+       copy_area to determine NO_WINDOW widget pixmap copying.
+       changed callers accordingly.
+
+       * gtk/gtktogglebutton.c:
+       (gtk_toggle_size_allocate): 
+       (gtk_toggle_button_expose): 
+       (gtk_toggle_button_paint): avoid messing with our parent's window if
+       toggle_button->draw_indicator == TRUE and we are a NO_WINDOW widget.
+
+       * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): draw
+       the draw_indicator with GTK_STATE_ACTIVE if the toggle button is active.
+
+       * gtk/check-n.xpm:
+       * gtk/check-y.xpm:
+       * gtk/testgtkrc: set pixmaps for ACTIVE and NORMAL check button
+       bg_pixmaps.
+
+Mon Jan 11 23:52:58 1999  Lars Hamann  <lars@gtk.org>
+
+       * gtk/gtklist.c (gtk_list_signal_drag_begin)
+       (gtk_list_drag_begin): end drag selections if necessary.
+
+       * gtk/gtkspinbutton.c/h (gtk_spin_button_update): made function
+       public. Manually force synchronization of spin button text and
+       adjustment value.
+
 Mon Jan 11 15:23:32 1999  Tim Janik  <timj@gtk.org>
 
        * gtk/gtktogglebutton.c: eliminated some queue_draws when invoking