]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-4
Add a "resizable" property, to get rid of the
[~andy/gtk] / ChangeLog.pre-2-4
index fc82988fd92144d9d06ee926d76e6576565aae03..7d99a3b84122d889ea63690aa0d72acf901b5b6d 100644 (file)
@@ -1,3 +1,328 @@
+Mon Nov 19 15:30:51 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): Add a
+       "resizable" property, to get rid of the
+       GTK_TREE_VIEW_COLUMN_RESIZABLE sizing flag.
+       (gtk_tree_view_column_set_resizable): New function to set resizable.
+       (gtk_tree_view_column_set_resizable): getter.
+
+       * tests/testtreecolumns.c (add_clicked): modify for above change.
+
+       * Makefile.am (install-data-hook): remove old .pc files before
+       installing the new one.  We used to symlink this, and it will
+       break old installs.
+
+2001-11-19  Havoc Pennington  <hp@pobox.com>
+
+       * tests/testtext.c (fill_example_buffer): put in a test for
+       negative indentation values
+
+Mon Nov 19 14:08:18 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtklabel.c (gtk_label_init): Change default for
+       justify to GTK_JUSTIFY_LEFT. Assuming that multiline
+       labels are most often wrapped labels, this gives better
+       compatibility with GTK+-1.2, where justification was
+       ignored for wrapped labesl and is a more sensible
+       default in any case. (#64489)
+
+       * gtk/gtklabel.c (gtk_label_class_init): Fix default
+       for wrap property to FALSE.
+
+2001-11-19  jacob berkman  <jacob@ximian.com>
+
+       * gtk/Makefile.am (gtk_extra_sources): add gtkmarshal.list
+
+Mon Nov 19 13:56:45 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_focus): Use 
+       RevertToParent, not RevertToNone. (#64613, 
+       Matthias Clasen)
+
+Mon Nov 19 12:28:02 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkframe.c (gtk_frame_class_init): label_xalign
+       and label_yalign need to be float properties to
+       correspond to GTK+-1.2, to gtk_frame_set_label_align,
+       and to the types of the xalign and yalign properties of GtkMisc.
+       (#63484, Vitaly Tishkov)
+
+Mon Nov 19 12:24:30 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtksocket.h (struct _GtkSocketClass): Fix return
+       of plug_added vfunc. (#64408, Jeff Franks)
+
+Mon Nov 19 12:07:20 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in (deps): Undef HAVE_STDLIB_H before
+       checking for jpeg, because jconfig.h has this
+       in it too (%#$@!). Fix from Matthias Clasen, #64500.
+
+Mon Nov 19 11:30:03 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkproperty-x11.c (get_atom_name): Fix a 
+       memory leak when retrieving atom names. (Michael Meeks,
+       #64508)
+
+2001-11-18  Alex Larsson  <alexl@redhat.com>
+
+       * gdk/x11/gdkfont-x11.c (gdk_font_from_description):
+       Update to new Pango API.
+       
+Sun Nov 18 19:47:29 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkobject.h docs/Changes-2.0.txt: Rename the
+       GTK_DESTROYED flag to GTK_IN_DESTRUCTION, remove the
+       GTK_OBJECT_DESTROYED() check macro.
+
+       * gtk/gtkbindings.c (gtk_bindings_activate): Remove
+       instances of GTK_OBJECT_DESTROYED() that weren't
+       needed any more.
+
+       * gtk/gtkdialog.c: Exchange use of GTK_OBJECT_DESTROYED
+       for a connection to ::destroy.
+
+Sun Nov 18 18:18:11 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkfixed.c: Make a NO_WINDOW widget, as it should
+       have been since the beginning, but as special hack,
+       allow clearing the NO_WINDOW flag to get a window widget.
+
+Sun Nov 18 22:01:36  Kristian Rietveld  <kristian@planet.nl>
+
+       * gtk/gtktreestore.c: return TRUE when value changed, so
+       row_changed is being emitted
+
+2001-11-18  Hans Breuer  <hans@breuer.org>
+
+       * gtk/gdkaccelmap.c : make it compile with msvc: !HAVE_UNISTD_H;
+       no label without op, even if it's a no-op.
+
+       * gtk/gtk.def :
+       * gtk/makefile.msc.in : reflect marshaler split, some clean-up  
+
+       * config.h.win32.in : remove definition of HAVE_DIRENT_H
+       * gtk/gtkfilesel.c : due to GDir (new in glib) DIR isn't
+       required anymore, replace it.
+       * gtk/queryimmodules.c : DIR -> GDir replacement, also
+       getcwd() -> g_get_current_dir()
+
+       * gdk/win32/gdkgeometry-win32.c : adapt to refactored gdkgeometry-x11.c
+       Even 'noisy laugh' scolling appears to work, though I still can't
+       claim to have fully understood what it is supposed to do ...
+
+Sat Nov 17 21:07:46 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkenums.h: Include glib-object.h instead of
+       gobject/gsignal.h
+
+       * gdk/{gdkinternals.h,gdkwindow.c,gdkwindow.[ch],
+         x11,{fb,win32,x11/gdkwindow-*.c}: Add a dummy GdkScreen
+       argument to the window_at_pointer() field of
+       GdkPointerHooks. (Patch from Erwann Chenede)
+
+       * gdk/gdkdrawable.h (struct _GdkDrawableClass ): Up
+       to 6 pointers.
+
+2001-11-17  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtkenums.h: must include glib-object.h only
+
+Sat Nov 17 19:26:20 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwindow.c (gtk_window_key_press_event): Reprioritize
+       key bindings in order of visibility - mnemonics, then 
+       accelerators, then send key to the focus widget, then
+       bindings on the GtkWindow.
+
+       * gtk/gtklayout.h docs/Changes-2.0.txt tests/testgtk.c: 
+       Removed the xoffset, yoffset fields of GtkLayout which were
+       identically zero for compat with 1.2, but were no longer 
+       compatible with all uses of these fields in 1.2.
+
+       * gtk/gtkwindow.c (gtk_window_set_default): Remove 
+       unused variable.
+
+Sat Nov 17 19:08:13 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testtreeview.c (gtk_tree_model_types_get_type): 
+       We no longer need to create the signals here ... they
+       come from the interface.
+
+       * gtk/maketypes.awk: Use GType, not GtkType in output.
+
+       * gtk/gtktypeutils.h: Mark virtually all of this
+       file deprecated.
+
+       * gtk/gtkcontainer.h: Deprecate gtk_container_foreach_full;
+       the only use of this function is the GtkArg using
+       GtkCallbackMarshal, since destroy notification is
+       silly here.
+
+Sat Nov 17 18:26:45 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/Makefile.am gtk/gtkmarshal.list gtk/gtkmarshalers.list
+       gtk/*.c gtk/gtksignal.h: Make gtkmarshal.list/gtkmarshal.h
+       only for compatibility with GTK+-1.2; and deprecate it; 
+       put all marshalers we actually use into gtkmarshalers.list 
+       and use the _gtk_marshal_ prefix for these marshalers.
+
+2001-11-17  Murray Cumming  <murrayc@usa.net>
+
+       * gtk/gtktexttagtable.c (gtk_text_tag_table_class_init):
+       The first parameters of the signals are now registered as
+       GTK_TYPE_TEXT_TAG instead of G_TYPE_OBJECT.
+       
+2001-11-17  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk-zip.sh.in: Build separate runtime and developer
+       packages.
+
+       * gtk/gtk.def: Reflect recent accelerator-related changes.
+
+Fri Nov 16 19:44:35 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwindow.c (gtk_window_set_default): Move 
+       notification of "has_default" to here, so it
+       is safe to call gtk_window_set_default() instead
+       of gtk_widget_grab_default().
+
+       * gtk/gtkwindow.c (gtk_window_set_focus): Make it call
+       gtk_widget_grab_focus(), which then calls 
+       _gtk_widget_internal_set_focus(). This makes 
+       gtk_window_set_focus() a safe way of both setting
+       and unsetting the focus widget.
+
+       * gtk/gtkwidget.c (gtk_widget_propagate_state): Use
+       gtk_widget_get_toplevel(), instead of gtk_widget_ancestor
+       to find the toplevel.
+
+       * gtk/gtkwindow.h: Move gtk_window_set_focus/default
+       from the "internal functions" section.
+
+2001-11-16  jacob berkman  <jacob@ximian.com>
+
+       * tests/testgtk.c (create_radio_buttons): add some no-indicator
+       radio buttons
+
+       * gtk/gtkradiobutton.c (gtk_radio_button_init): since we are
+       initially active, also initially be depressed
+       (gtk_radio_button_clicked): also update our depressed state
+
+Thu Nov 15 12:54:36 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwindow.c (gtk_window_key_press_event): Propagate
+       key press events not just to focus/window but also to
+       intermediate widgets.
+
+       * gtk/gtknotebook.c: Handle Ctrl-PageUp/Ctrl-PageDown
+       to switch pages. (Needs some work on handling focus
+       when switching pages.)
+
+Fri Nov 16 14:06:31 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtknotebook.c: Fix child allocations to be relative to 
+       widget position and some drawing bugs.
+
+       * gtk/gtkmenuitem.c (gtk_menu_item_paint): Fix problem
+       with reading uninitialized variable.
+
+Fri Nov 16 00:16:40 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/{gtkmenuitem.[ch],gtkcheckmenuitem.c,gtkimagemenuitem.c,
+       gtkradiomenuitem.c,gtktearoffmenuitem.c}: Make Menu items
+       NO_WINDOW widgets.
+
+       * gtk/gtk{h,v,}paned.[ch]: Make NO_WINDOW widgets, some
+       cleanup.
+
+       * gtk/gtkstyle.c (gtk_default_draw_handle): Don't assume
+       we are drawing in a window when drawing the paned handle.
+
+2001-11-16  Sven Neumann  <sven@gimp.org>
+
+       * demos/gtk-demo/appwindow.c
+       * demos/gtk-demo/menus.c: reduce compiler warnings
+
+Thu Nov 15 19:47:09 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * demos/gtk-demo/main.c (button_press_event_cb): Remove 
+       unused callback to make things compile with 
+       gtk_tree_view_path_at_pos_change().
+
+Thu Nov 15 18:44:33 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreedatalist.c (_gtk_tree_data_list_free): maybe fix #64160
+
+2001-11-15  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtkwindow.c (gtk_window_new): Move '.' out of quote. (#64407)
+Thu Nov 15 16:24:55 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_get_bin_window): New function
+       to get a GdkWindow to compare event->window to.
+
+       * gtk/gtktreeview.c (gtk_tree_view_move_cursor_left_right): emit
+       the signal for lateral motion too, #64361
+
+       * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): remove window
+       arg as it is useless, #64137
+
+Thu Nov 15 16:07:42 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtknotebook.c: Some small drawing fixes for scroll arrows.
+
+Thu Nov 15 14:19:34 2001  Owen Taylor  <otaylor@redhat.com>
+       * gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Cal
+       gdk_window_invalidate_maybe_recurse() for recursion.
+       (Soeren Sandmann)
+
+       * gtk/gtkviewport.c: Make !redraw_on_allocate. (Soeren Sandmann)
+       * gtk/gtkcontainer.c (gtk_container_expose): Call
+       gtk_container_forall() not _foreach() to propagate,
+       since we need to propagate exposes to internal children
+       as well.
+
+       * gtk/gtkwidget.c (gtk_widget_set_events, gtk_widget_add_events): 
+       Remove the restriction of only being able to call these
+       on window widgets, since we have lots of NO_WINDOW widgets
+       with windows now; for add events, recurse over the children
+       of widget->window to find one owned by the widget.
+
+       * gtk/gtkbutton.[ch]: Make a NO_WINDOW widget, using an input-only
+       window to catch events.
+
+       * gtk/gtktogglebutton.[ch]: Remove the code for switching
+       between NO_WINDOW and WINDOW widgets based on the mode.
+
+       * gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c gtk/gtkclist.c
+       gtk/gtktreeview.c: Adopt to NO_WINDOW change for GtkButton.
+
+       * gtk/gtkrange.[ch]: Make into a NO_WINDOW widget.
+
+       * gtk/gtkhscale.c, gtk/gtkvscale.c: Adopt to NO_WINDOW
+       change for range.
+
+       * gtk/gtknotebook.[ch]: Make into a NO_WINDOW widget.
+       * docs/Changes-2.0.txt: Add a note about the NO_WINDOW changes.
+
+Thu Nov 15 11:59:35 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkmessagedialog.c: Patch from Murray Cumming to add
+       "message_type" and "buttons" CONSTRUCT properties. (#64069)
+
+       * tests/testsocket.c: Expand tests to add a "local passive
+       child" (Test case for #64428)
+
+2001-11-14  jacob berkman  <jacob@ximian.com>
+
+       * gtk/gtkgamma.c (button_clicked_callback): create the label with
+       a mnemonic
+
 2001-11-15  Sven Neumann  <sven@gimp.org>
 
        * tests/testgtk.c: make it compile without warnings.