]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-6
Fix misplaced HAVE_XFT.
[~andy/gtk] / ChangeLog.pre-2-6
index 1281ca3a188074deafcb773c02dc75edb735b74f..83721f0ab4f418312951b51e3a5d99b01b2b1389 100644 (file)
@@ -1,3 +1,333 @@
+Tue Nov  6 10:13:16 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkgc-x11.c: Fix misplaced HAVE_XFT.
+
+2001-11-05  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_paint): expose the child
+       widgets in here
+       (gtk_text_view_realize): set parent window of child widgets
+       (gtk_text_view_size_request): use child req to decide whether
+       to invalidate layout, not widget->requisition
+
+       * gtk/gtktextdisplay.c (render_layout_line): set
+       shaped_width_pixels for NULL shape objects, so that we properly
+       draw the "missing pixbuf/widget" thing
+       (render_layout_line): don't draw the widget here
+       (gtk_text_layout_draw): pass out a list of widgets that need exposing
+
+       * demos/gtk-demo/textview.c (insert_text): add demo of child
+       widgets
+
+       * gtk/gtktextlayout.c (add_child_attrs): remove debug spew
+
+       * gtk/gtktextdisplay.c (render_layout_line): remove debug spew
+
+       * gtk/gtktextview.c (gtk_text_view_update_child_allocation): add
+       scroll offsets
+       (gtk_text_view_value_changed): poke new X and Y into child allocations
+
+2001-11-06  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk/gtkmain.c (find_module): Do search GTK_BINARY_VERSION
+       -specific directory on Windows, too (#63759).
+
+Mon Nov  5 12:46:44 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c
+       gdk/x11/gdkpixmap-x11.c gdk/x11/gdkprivate-x11.h
+       gdk/x11/gdkwindow-x11.c: Redo Xft support to go
+       directly to Picture objects instead of using XftDraw.
+       This fixes the problem where we weren't able to 
+       properly destroy XftDraw objects before destroying
+       the accompanying windows, and probably improves
+       efficiency a bit too. (#50214)
+
+Mon Nov  5 10:01:49 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkgeometry-x11.c (gdk_window_compute_position): 
+       Clamp max window width/height to 32767, not 32768 since
+       we have to be able to deal with a dx/y of -32768 without
+       getting a width of 65536 when guffaw scrolling.
+
+       * gdk/x11/gdkgeometry-x11.c: Implement gdk_window_scroll()
+       for the guffaw scrolling case, fixing some problems with
+       copy-area case as well. Fix BadValue bug with moving windows
+       by large amounts.
+
+       * gdk/x11/gdkgeometry-x11.c (gdk_window_clip_changed): Update
+       clip in window structue before calling gdk_window_invalidate_region
+       since that trims new invalidations to the window's visible
+       region.
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_set_static_gravities): 
+       Really set the static window gravity on the children, not
+       repeatedly on the window.
+
+       * gtk/testgtk.c: Add a torture test for big windows and 
+       gdk_window_scroll().
+
+Sun Nov  4 17:36:08 2001  Manish Singh  <yosh@gimp.org>
+
+       * acconfig.h configure.in: sigsetjmp is macroized in some places,
+       so use AC_TRY_LINK instead of AC_CHECK_FUNCS for the check.
+
+Sun Nov  4 19:16:23 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkcolor.c (gdk_color_parse): Implement gdk_color_parse()
+       in terms of pango_color_parse().
+
+       * gdk/{linux-fb,win32,x11}/gdkcolor-*.c: Remove port-specific
+       gdk_color_parse() implementations.
+
+Sun Nov  4 18:39:43 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtksizegroup.c (gtk_size_group_set_mode): 
+       queue_resize_on_group with both the old and new mode, not
+       just the new mode. (#60171, Nicolas Setton). Also, notify
+       the "mode" property.
+       
+Sun Nov  4 16:02:08 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkwindow.[ch]: Add a function gdk_window_invalidate_maybe_recurse() 
+       for use in "shallow invalidation" of a widget. (Windows belonging
+       to the widget, but not to the widget's children)
+
+        * gtk/gtkprivate.h gtk/gtkwidget.c gtk/gtksizegroup.c: Add private
+       flags GTK_ALLOC_NEEDED, GTK_REQUEST_NEEDED.  These flags are set
+       up on ancestors up to the resize container on queue_resize. Size
+       requests only actually take place if GTK_REQUEST_NEEDED, size
+       allocations only take place if GTK_ALLOC_NEEDED or the size
+       changed.
+
+        * gtk/gtkcontainer.c gtk/gtkwidget.c: Remove
+       container->resize_widgets and the RESIZE_NEEDED flag since the
+       above flags are sufficient to figure out what needs to be
+       resized/reallocated. Remove code manipulating
+       container->resize_widget.
+
+        * gtk/gtkwidget.[ch]: Add gtk_widget_set_redraw_on_alloc(); this
+       allows widgets to turn off being automatically invalidated is when
+       they are resized.
+
+       * gtk/gtkwidget.[ch] (gtk_widget_size_allocate): Invalidation when
+       a widget is resized or moved is "shallow" as described above -
+       only the windows that need to be invalidated are invalidated.
+
+       * gtk/gtkbox.c gtk/gtktable.c gtk/gtkalignment.c docs/Changes-2.0.txt: 
+       Make these widget's init functions call 
+       gtk_widget_set_redraw_on_allocate(widget,FALSE).
+
+       * gtk/gtkwindow.c (gtk_window_configure_event): Call 
+       _gtk_container_queue_resize(), since we don't want
+       redrawing. (Probably could be done for other 
+       calls to gtk_widget_queue_resize() in gtkwindow.c,
+       but this is the most important one.)
+
+       * gtk/gtkwindow.c (gtk_window_move_resize): Don't call
+       gtk_widget_queue_draw() - size_allocate() handles
+       that as appropriate.
+
+       * gtk/gtkframe.c (gtk_frame_size_allocate): Invalidate instead
+       of queue_clear() to avoid invalidating children.
+
+2001-11-04  jacob berkman  <jacob@ximian.com>
+
+       * gtk/gtkmain.c (find_module): don't free the module name until
+       after we load the module
+
+Sat Nov  3 13:57:21 2001  Owen Taylor  <otaylor@redhat.com>
+       * gtk/gtkctree.c: Convert GTK_TYPE_CTREE_NODE to pointer
+       derivation instead of boxed derivation.
+       * gtk/gtkmarshal.list: Remove some now unused marshallers.
+2001-11-04  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk/gtkimmodule.c: Can't include gtkprivate.h (I added the
+       include yesterday, without really thinking), as that defeats the
+       working of correct_libdir_prefix() (it becomes a no-op.). Add
+       comment mentioning that. Thanks to Hans Breuer for noticing.
+       
+2001-11-03  Daniel Elstner  <daniel.elstner@gmx.net>
+
+       * gtk/gtkwindow.h (frame_event): Use GtkWindow* as first
+       signal argument (was GtkWidget*).
+
+       * gtk/gtkwindow.c (gtk_window_frame_event),
+         gtk/gtkwindow-decorate.c (gtk_decorated_window_frame_event):
+       Fixed argument types as above, removed GTK_WINDOW casts and
+       added some GTK_WIDGET casts instead.
+
+2001-11-03  Hans Breuer  <hans@breuer.org>
+
+       * gtk/gtkfilesel.c (gtk_file_selection_finalize) : chain
+       finalize to parent class to get removed from the toplevel_list.
+       Should fix 'random' crashes of #63474.
+
+       * gtk/gtktreemodelsort.c : chain finalize() to parent class
+
+2001-11-03  Tor Lillqvist  <tml@iki.fi>
+
+       * modules/input/Makefile.am: Use -no-undefined on Windows. Look
+       for .dll or .so as appropriate as module suffix.
+
+       * gtk-zip.sh.in: Use correct import library names.
+
+       * gtk/gtk.def: Add a couple of missing entry points. (#63585)
+
+       * gtk/gtkimmodule.c (correct_libdir_prefix): New function, used on
+       Windows to turn build-time paths from a gtk.immodules distributed
+       as part of a binary package into runtime ones in the
+       end-user-chosen installation directory.
+       (gtk_im_module_init): Use it for module path and domain
+       directory.
+
+2001-11-02  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk/gtkrc.c (gtk_rc_make_default_dir): Fix typo: extraneous
+       comma.  Include gtkprivate.h for GTK_LIBDIR etc definitions on
+       Windows.
+
+2001-10-30  Tor Lillqvist  <tml@iki.fi>
+
+       * Makefile (install-data-hook): Use cp, not $(LN_S) on the .pc
+       files. Configure on Win32 (running on Cygwin) thinks symlinks
+       exist, but pkg-config is not necesarily a Cygwin program, and
+       doesn't understand them.
+
+Fri Nov  2 16:45:17 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtkrbtree.c (_gtk_rbtree_remove_node): Clean up height code
+       a bit.  I don't think it's completely correct yet, but it's
+       getting there.
+
+Fri Nov  2 16:14:15 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkviewport.c (gtk_viewport_size_request): Remove
+       random + 5 for width and height. If people want padding,
+       they should add padding. (Note the +5 isn't padding
+       that will always appear - it just appears in the case
+       where the widget is allocated it's requisition.)
+       (#51018, Janet Davis)
+
+Fri Nov  2 15:53:23 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkimcontext.h (struct _GtkIMContextClass): Pad
+       the structure for future expansion.
+
+Fri Nov  2 15:30:34 2001  Owen Taylor  <otaylor@redhat.com>
+
+       Patch from HideToshi Tajima (#51922)
+       
+       * gtk/gtkimmulticontext.c: Proxy set_use_preedit().
+
+       * gtk/modules/input/gtkimcontextxim.[ch]: Implement
+       set_use_preedit().
+       
+       * gtk/modules/input/gtkimcontextxim.[ch]: If we have
+       to destroy the input context because we change the
+       client window or use_preedit, make sure we empty
+       the preedit string.
+
+Fri Nov  2 14:55:53 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/{gtkcolorseldialog.c,gtkfilesel.c,gtkfontsel.c,
+       gtkgamma.c,gtkmessagedialog.c}: Go to the GUP
+       proposed ordering of buttons with [OK] in the lower
+       right hand corner. Patch from Gregory Merchan,
+       #56331.
+
+Fri Nov  2 11:51:49 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtklabel.c (gtk_label_select_region_index): remove
+       extraneous gtk_label_clear_layout (label)
+
+2001-11-02  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * tests/makefile.msc, gtk/makefile.msc.in: Removed
+       -DGTK_DISABLE_COMPAT_H.
+
+       * docs/Changes-2.0.txt:
+       s/GDK_DISABLE_COMPAT_H/GDK_DISABLE_DEPRECATED/
+
+       * gtk/gtkcompat.h.in, gdk/gdkcompat.h: Removed from CVS.
+
+Fri Nov  2 10:21:03 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * examples/**/Makefile.am: Convert to use pkg-config
+       rather than gtk-config. (#53375, Skip Montanaro)
+
+2001-11-02  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtkdialog.c (find_child_by_response_id): remove totally
+       broken unused, non-compiling, static function.
+
+Fri Nov  2 08:17:06 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkdialog.c (gtk_dialog_set_response_sensitive): 
+       Iterate through children of the action area, not of
+       the vbox. (#58278, Sergey Kuzminov)
+
+2001-11-01  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
+       order to remove a workaround in Nautilus that forced
+       GTK_ENABLE_BROKEN
+
+       * gtk/gtkwidget.c (gtk_widget_modify_style): fix typos in the docs
+
+Thu Nov  1 20:09:31 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkrange.c: Patch from George Lebl to 
+       fix division by zero for full scroll bars. (#62114)
+
+Thu Nov  1 19:56:40 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkmain.c (gtk_main_do_event): ref/unref
+       around gtk_widget_event() if we are going to
+       set a flag afterwards. (#63464)
+
+Thu Nov  1 19:44:48 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkiconfactory.c gtk/stock-icons/Makefile.am: 
+       Actually add the missing/broken image icon as the
+       image for the "missing image" stock icon.
+
+Thu Nov  1 19:18:34 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * demos/gtk-demo/stock_browser.c (do_stock_browser): 
+       Set a reasonable default height for the window.
+
+       * demos/gtk-demo/stock_browser.c (id_to_macro): Fix
+       bug where subsequent '-' weren't converted to '_'.
+       (#59550, Matthias Clasen)
+
+       * demos/gtk-demo/appwindow.c (menu_items): Don't right 
+       justify the Help menu - just include a comment on
+       how to do it. (#63539,  Marius Andreiana)
+
+       * gtk/gtkiconfactory.c (gtk_icon_set_get_sizes): Don't 
+       list GTK_ICON_SIZE_INVALID.
+
+       * demos/gtk-demo/stock_browser.c: Show the biggest available
+       size, not a fixed size. (Often reported, including #63539, 
+       Marius Andreiana)
+
+Thu Nov  1 19:11:35 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtkrbtree.c (gtk_rbtree_reorder_fixup): Fix reorder_fixup,
+       #59583
+
+       * gtk/gtktreeselection.c (gtk_tree_selection_set_mode): fix
+       warning.
+
+Thu Nov  1 16:54:00 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktypeutils.h: Make GtkFunction return boolean, not gint.
+       (Daniel Elstner).
+
 Thu Nov  1 16:20:56 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkimcontext.[ch]: Add: