]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-0
do not avoid to queue for a resize if the container is not visible, we
[~andy/gtk] / ChangeLog.pre-2-0
index adc2ff09747c29cb67c1351dd36cf462d3a39950..9438fe3c08702cad41d472ba573efebfdac7e290 100644 (file)
@@ -1,3 +1,155 @@
+Wed Jun 24 16:38:02 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkbin.c (gtk_bin_remove): do not avoid to queue for a resize
+       if the container is not visible, we might be a toplevel! this holds
+       for all other base container implementations as well, that are
+       candidates to derive toplevels from. in general the resizing code will
+       care about visibility itself.
+       * gtk/gtkmenushell.c (gtk_menu_shell_remove): likewise.
+       * gtk/gtkbox.c (gtk_box_remove): likewise.
+
+       * gtk/gtkwindow.c (gtk_window_move_resize): save ->use_uposition around
+       gtk_window_set_hints(), since we haven't calculated the new position
+       yet.
+
+       * gdk/gdkwindow.c (gdk_window_get_pointer): take care that *x, *y and
+       *mask are alway initialized in a sane way, regardless of the return
+       value.
+
+Wed Jun 24 14:14:32 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkcontainer.c: new function gtk_container_child_arg_set, similar
+       to gtk_container_child_arg_setv, but takes a variable argument list.
+       new function gtk_container_get_child_arg_type, which is needed by
+       gtk_object_collect_args.
+
+       * gtk/gtkobject.c: changed prototype for gtk_object_collect_args, to
+       take a function pointer to figure the argument type.
+       adapted callers to pass gtk_object_get_arg_type.
+       * gtk/gtkwidget.c: adapted gtk_object_collect_args callers to pass
+       gtk_object_get_arg_type..
+
+       * gtk/gtkpacker.h: 
+       * gtk/gtkpacker.c:
+       (gtk_packer_reorder_child): new function to change the packing order
+       of a child.
+       (gtk_packer_size_request): 
+       (gtk_packer_size_allocate): take container->border_width into acount.
+
+       * gtk/gtkpacker.c: implemented widget arguments:
+       "GtkPacker::spacing", "GtkPacker::border_width", "GtkPacker::pad_x",
+       "GtkPacker::pad_y", "GtkPacker::ipad_x", "GtkPacker::ipad_y".
+       implemented child arguments:
+       "GtkPacker::side", "GtkPacker::anchor", "GtkPacker::expand",
+       "GtkPacker::fill_x", "GtkPacker::fill_y", "GtkPacker::use_default",
+       "GtkPacker::border_width", "GtkPacker::pad_x", "GtkPacker::pad_y",
+       "GtkPacker::ipad_x", "GtkPacker::ipad_y", "GtkPacker::position".
+
+       * gtk/gtkmisc.c (gtk_misc_set_arg): for padding args, set the padding,
+       not the alignment.
+
+       * gtk/gtkeventbox.h:
+       * gtk/gtkeventbox.c: GtkType and macro fixups.
+
+       * gtk/testgtk.c (entry_toggle_sensitive): new function to toggle
+       sensitivity of an entry.
+
+       * gtk/gtkstyle.c (gtk_style_new): support normal grey as default color
+       for insensitive base and text.
+
+       * gtk/gtkentry.c (gtk_entry_realize): set the window backgrounds
+       widget state dependent.
+       (gtk_entry_style_set): likewise.
+       (gtk_entry_state_changed): set background color on state changes.
+       (gtk_entry_draw_text): for non selected text, use state dependent
+       colors.
+
+       * gtk/gtktogglebutton.c: support for widget arguments
+       "GtkToggleButton::active" and "GtkToggleButton::draw_indicator".
+
+Wed Jun 24 08:35:45 1998  Stefan Jeske  <stefan@gtk.org>
+
+       * gtk/gtkspinbutton.c (gtk_spin_button_spin): Added compatibility 
+       code for 1.0.x-like parameters. Changed internal interface of
+       gtk_spin_button_real_spin. Several fixes to avoid emission of
+       "value_changed" where possible.
+
+Tue Jun 23 22:21:33 PDT 1998 Manish Singh <yosh@gimp.org>
+
+       * gtk-boxed.defs: s/GkWidget/GtkWidget/
+
+Wed Jun 24 07:47:29 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/testgtk.c (create_idle_test): added a frame with radio buttons
+       to select the resize_mode for the idle-labels container.
+
+       * gtk/gtkframe.h: 
+       * gtk/gtkframe.c: GtkType and macro corrections.
+
+       * gtk/gtkradiobutton.c (gtk_radio_button_set_arg): new function to
+       support widget argument "GtkRadioButton::group".
+
+Tue Jun 23 08:01:09 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkcontainer.c (gtk_container_set_resize_mode): queue a resize
+       unconditionally if resize_mode has changed.
+
+       * gtk/gtkscrolledwindow.c (gtk_scrolled_window_init): set
+       GTK_RESIZE_QUEUE on the scrolled window.
+       (gtk_scrolled_window_construct): set GTK_RESIZE_PARENT for the vieport.
+
+Tue Jun 23 04:20:30 1998  Tim Janik  <timj@gtk.org>
+
+       * gtk/gtkcontainer.h:
+       * gtk/gtkcontainer.c:
+       (GTK_IS_RESIZE_CONTAINER): new macro to find out if
+       a given gtkobject is a container with resize_mode==GTK_RESIZE_PARENT.
+       (gtk_container_queue_resize): new function to queue a container for
+       a *size* reallocation (doesn't affect its position, and thus its
+       parent is left untouched usually).
+       (gtk_container_get_resize_container): new function to retrive the next
+       most resize container which is not itself queued for a resize.
+       (gtk_container_idle_sizer): new function to carefully process the
+       container_resize_queue since it can change during invokation of
+       gtk_container_check_resize().
+       (gtk_container_resize_children): total rework of this function to
+       properly handle resize containers. makes a lot of assumptions whitch
+       are stated in the comments.
+
+       * gtk/gtkcontainer.c:
+       (gtk_container_real_check_resize): only requeue ourselves if we are not
+       a resize container.
+       (gtk_container_clear_resize_widgets): care for automatic deletion of our
+       resize_widgets list on size_allocate through a handler connection.
+
+       * gtk/gtkwindow.c (gtk_window_shutdown): new functionm to reset the
+       focus and default widget of a window, so to take the burden from
+       gtk_widget_unparent.
+
+       * gtk/gtkviewport.c: removed gtk_viewport_check_resize, which tried
+       to be clever, but actually messed up the resize_children logic and
+       caused unneccessary allocations on its whole branch. besides this,
+       it messed up the display by not invoking a redraw after the allocation.
+
+       * gtk/gtktable.c (gtk_table_set_child_arg): reverted recent change, so
+       that it is the child again that is queued for a resize.
+       (gtk_table_attach): likewise.
+       (gtk_table_remove): likewise.
+
+1998-06-22  Miguel de Icaza  <miguel@nuclecu.unam.mx>
+
+       * gtk/gtkentry.h, gtk/gtkentry.c: Export the
+       gtk_entry_adjust_scroll.  Required if you change the cursor
+       position and want to sync it up with your code (Midnight Commander
+       gtk front end needs this).
+
+       * gtk/gtktable.c: Deal with tables that have size 0, 0.
+
+Tue Jun 23 12:12:19 BST 1998  Tony Gale  <gale@gtk.org>
+
+       * examples/README.1ST: new file to explain how the
+         code examples should be extracted from the tutorial.
+
 Mon Jun 22 18:43:11 1998  Lars Hamann  <lars@gtk.org>
 
        * gtk/gtkctree.c (draw_row): added new "line style"
@@ -5,6 +157,14 @@ Mon Jun 22 18:43:11 1998  Lars Hamann  <lars@gtk.org>
        * gtk/gtkctree.c/h (gtk_ctree_find_glist_ptr): new function to
        search the glist pointer of an GtkCTreeRow
 
+1998-06-21  Raja R Harinath  <harinath@cs.umn.edu>
+       * gtk/Makefile.am (gtk.defs,gtktypebuiltins*): Remove $(srcdir)
+       from, and clean up, the dependencies.  Generate to intermediate
+       files to prevent problems with Ctrl-C.
+
+       * gtk/genmarshal.pl: Generate `gtkmarshal.[ch]' in $srcdir.
+
 Fri Jun 19 14:46:56 1998  Stefan Jeske  <stefan@gtk.org>
 
        * gtk/gtkspinbutton.h gtk/gtkspinbutton.c gtk/testgtk.c: