]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-8
Insert cast to fix warning. Assign something to old_value to quiet gcc
[~andy/gtk] / ChangeLog.pre-2-8
index 713b4749745737467a02c065f1af6e750b09d006..62c2689ebc3b432ba9924f2686d8b24b610bc090 100644 (file)
@@ -1,3 +1,452 @@
+Thu Jul  3 03:13:20 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtkpaned.c (gtk_paned_set_child_property): Insert cast to
+       fix warning. Assign something to old_value to quiet gcc
+
+       * gtk/gtkcalendar.c 
+       (start_spinning): gtk_timeout_add->g_timeout_add
+
+       * gtk/gtkicontheme.c 
+       (theme_lookup_icon): Make it compile (remove double semicolon)
+
+       * gtk/gtktoolbutton.c
+       (gtk_tool_button_class_init): Long comment about properties.
+       (gtk_tool_button_class_init): Improve text for "use_underline"
+       property
+       (gtk_tool_button_create_menu_proxy): Fix up to use_mnemonic based
+       on whether the passed-in label has use_mnemonic set
+       (gtk_tool_button_create_menu_proxy): Split image cloning out in
+       new function. Make that function also handle image with pixbuf
+       storage.
+       (gtk_tool_button_construct_contents): Use gtk_widget_destroy()
+       instead of gtk_container_remove().
+       (gtk_tool_button_construct_contents): Fix eliding bug
+
+       * gtk/gtktoolbar.c
+       (gtk_toolbar_finalize): New function. Unref tooltips, pointed out
+       by Morten Welinder
+       (gtk_toolbar_button_press): Make popup_context_menu signal provide
+       coordinates and button number
+
+       * tests/testtoolbar.c (main): Add new pixbuf toolbutton
+
+       * tests/apple-red.png: new file
+
+Wed Jul  2 18:00:56 2003  Owen Taylor  <otaylor@redhat.com>
+        
+        * gtk/gtkicontheme.[ch]: Implement a loader for
+       named themed icon based on from gnome-desktop library
+       by Alex Larsson.
+
+       * gtk/gtkiconthemeparser.[ch]: .ini file parsing code
+       from gnome-desktop.
+
+       * gtk/gtkiconfactory.[ch]: Add
+       gtk_icon_source_set/get_icon_name() to allow stock icons
+       to be based off of named theme icons.
+
+       * gtk/gtkiconfactory.c: Rework sources so that the source
+       is *either* a pixbuf, or a filename, or an icon name,
+       instead of the pixbuf/filename mix it was before. Put a
+       workaround for get_pixbuf() so that it can return the
+       filename pixbuf, e.g, for render_icon().
+
+       * gtk/gtkiconfactory.c: Make the default setup use
+       themed icons, and add builtin icons to the default
+       icon theme for all the standard pixbufs, so we
+       don't rely on actually having an icon theme on disk.
+
+       * gtk/gtkrc.c: Add support for @"icon-name" to specify
+       a themed icon for a stock icon source.
+
+       * tests/Makefile.am test/testicontheme.c: Add a test
+       program from gnome-desktop.
+
+       * gdk/x11/gdkevents-x11.c gtk/gtksettings.c: Add
+       Net/IconThemeName / gtk-icon-theme-name setting.
+
+       * gtk/gtkiconfactory.c (ensure_cache_up_to_date): Actually
+       update the icon cache serial so we don't continually
+       think we are out-of-date.
+
+       * gtk/gtkwidget.c: Fix a couple of references in doc comments 
+       to ::direction_set that should have been to ::direction-changed
+
+Wed Jul  2 14:45:41 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtktoolbar.c (gtk_toolbar_realize): Attach the
+       style to the widget.
+
+Wed Jul  2 15:42:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtk.h: Add new toolbar headers
+
+       * tests/testtoolbar.c: new file
+
+       * tests/Makefile.am (noinst_PROGRAMS): Add testtoolbar.c
+
+       * gtk/gtkexpander.c (gtk_expander_class_init): Make it compile
+
+Tue Jul  1 22:49:25 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtktoolbar.c:
+       (gtk_toolbar_remove_tool_item): Fix bug where list is changed
+       inside a for loop (pointed out by Morten Welinder).
+       (gtk_toolbar_focus_home_or_end): Minor formatting change
+
+       Comments from Owen:
+
+       * gtk/gtktoolbutton.c: remove copy of elide_underscores(). Use
+       gtk_toolbar_elide_underscores instead.
+
+       * gtk/gtktoolbar.c: rename signal from focus_ends to
+       focus_home_or_end.
+       (_gtk_toolbar_elide_underscores): export this as an internal
+       function.
+       (gtk_toolbar_move_focus): add comment explaining difference to
+       gtk_toolbar_focus();
+       (gtk_toolbar_list_children_in_focus_order): Make TAB_FORWARD and
+       TAB_BACKWARD focus the right widgets in RTL mode
+
+       * gtk/gtktoolbutton.c (gtk_tool_button_new): Change to take
+       "label" and "icon" parameters
+
+       * gtk/gtktoolbutton.[ch]: remove icon_set property.
+
+2003-07-01  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkspinbutton.c (gtk_spin_button_set_digits): Improve docs.  (116364, Morten Welinder)
+
+       * tests/testgtk.c: Use GtkFontButton and GtkColorButton to bring up the corresponding 
+       dialogs.
+
+       * gtk/Makefile.am (gtk_public_h_sources): Add gtkfontbutton.h, gtkcolorbutton.h. 
+       (gtk_c_sources): Add gtkfontbutton.c, gtkcolorbutton.c. 
+
+       * gtk/gtkfontbutton.[hc]: New files containing a font picker widget. 
+
+       * gtk/gtkcolorbutton.[hc]: New files containing a color picker widget. 
+
+       * gtk/gtk.h: Include gtkexpander.h, gtkfontbutton.h, gtkcolorbutton.h.
+
+       * gtk/gtkexpander.c: Small additions to the docs. 
+
+2003-07-01  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkwindow-win32.c (_gdk_windowing_window_get_pointer):
+       WindowFromPoint() wants screen coordinates (#115422, Tim Evans).
+
+2003-07-01  Matthias Clasen  <maclas@gmx.de>
+
+       * configure.in: Check for Xcursor.
+       
+       * gdk/x11/gdkcursor-x11.c:
+       * gdk/gdkdisplay.h: 
+       * gdk/gdkcursor.h: RGBA cursor support based on Xcursor. New functions:
+       gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(), 
+       gdk_display_supports_cursor_color(), gdk_display_get_default_cursor_size() and
+       gdk_display_get_maximal_cursor_size().  (#69436)
+
+2003-06-30  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkdnd-win32.c (find_window_enum_proc): New function,
+       callback proc for EnumWindows().
+       (gdk_drag_find_window_for_screen): Actually take the drag_window
+       argument into account: Instead of using WindowFromPoint(), use
+       EnumWindows(), to be able to skip the drag_window. (#116320, Tony
+       M Brown, Herman Bloggs)
+
+       * gdk/win32/*.c: Replace gdk_drawable_ref()/unref() and
+       gdk_window_ref()/unref() calls with g_object_ref()/unref().
+       Consistently use %p format in debugging output of pointers and
+       HANDLEs.
+
+2003-06-30  Mark McLoughlin  <mark@skynet.ie>
+
+       * gtk/gtkexpander.h: kill some stray characters
+       breaking the build.
+
+2003-06-30  Mark McLoughlin  <mark@skynet.ie>
+
+       Add GtkExpander. See discussion in bug #60553.
+
+       * gtk/gtkexpander.[ch]: add.
+       
+       * gtk/Makefile.am: build gtk-expander.[ch].
+       
+       * docs/widget_geometry.txt: add info on the layout
+       of GtkExpander.
+
+Mon Jun 30 01:20:19 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtkradiotoolbutton.c:         new file
+       * gtkradiotoolbutton.h:            "
+       * gtktoggletoolbutton.c:           "
+       * gtktoggletoolbutton.h:           "
+       * gtktoolbutton.c:                 "
+       * gtktoolbutton.h:                 "
+       * gtktoolitem.c:                   "
+       * gtktoolitem.h:                   "
+       * gtktoolbar.c: many changes
+       * gtktoolbar.h: many changes
+       * gtkseparatortoolitem.c:       new file
+       * gtkseparatortoolitem.h           "
+
+       New toolbar.
+       
+       - Items on a toolbar are now separate widgets, instances of a
+         subclass of GtkToolItem.
+
+       - Items there aren't room for on the toolbar are unmapped, and an
+         overflow menu with a proxy menu item is added instead.
+
+       - The toolbar is keyboard navigatable. Press TAB to focus the
+         first item, then use arrow keys and Ctrl TAB to move around the
+         toolbar. TAB moves focus out of the toolbar.
+
+       - Bascially all of the old toolbar API is deprecated in favor of
+         new API in gtktoolbar.h, gtktoolitem.h, gtktoolbutton.h
+
+       - The toolbar is backwards compatible with the old toolbar.
+
+2003-06-29  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkwidget.c (gtk_widget_class_init): Remove a duplicate parameter from docs, some more formatting 
+       fixes. 
+
+2003-06-28  Tor Lillqvist  <tml@iki.fi>
+
+       Fix for #111028, thanks to J. Ali Harlow, who writes:
+       I found that the GdkPixmap->GdkImage reference really isn't
+       important. It's only really there to have somewhere convenient to
+       store the location of the pixel data in the pixmap and as an easy
+       way of accessing the dimensions of that data. I have therefore put
+       together a fix which removes this reference entirely which seems
+       to solve the problem.
+
+       * gdk/win32/gdkpixmap-win32.h (struct _GdkPixmapImplWin32):
+       Instead of a pointer to a GdkImage, keep a pointer to the pixels
+       directly.
+
+       * gdk/win32/gdkimage-win32.c (_gdk_win32_setup_pixmap_image): Remove.
+       (_gdk_win32_new_image): New function, replacing the above. Creates
+       a GdkImage without any associated GdkPixmap.
+       (gdk_image_new_bitmap, _gdk_image_new_for_depth): Use it instead.
+
+       * gdk/win32/gdkprivate-win32.h: Remove from here, too.
+
+       * gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap)
+       * gdk/win32/gdkdrawable-win32.c (blit_from_pixmap)
+       * gdk/win32/gdkgc-win32.c (_gdk_win32_bitmap_to_hrgn)
+       * gdk/win32/gdkmain-win32.c (_gdk_win32_drawable_description):
+       * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize,
+       gdk_pixmap_new, gdk_bitmap_create_from_data, gdk_pixmap_foreign_new)
+       Corresponding changes.
+
+Thu Jun 26 21:41:16 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtktreeviewcolumn.c
+       (gtk_tree_view_column_cell_set_cell_data): only set "is_expander"
+       and "is_expanded" if the new value is different fromt he old one.
+
+Wed Jun 25 18:59:15 BST 2003  Tony Gale <gale@gtk.org>
+
+       * docs/faq/gtk-faq.sgml: Fix typos. Update
+       thread example I missed yesterday.
+
+2003-06-24  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for shadow_type.
+
+       * gtk/gtkwidget.c (gtk_widget_class_install_style_property_parser): 
+       (gtk_widget_class_list_style_properties): Use same parameter names as in 
+       header (to silence gtk-doc).
+
+       * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Fix doc comments.
+
+Tue Jun 24 20:00:45 BST 2003  Tony Gale <gale@gtk.org>
+
+       * docs/faq/gtk-faq.sgml: Thread support updates
+       from Owen. Various suggestions from Steve Chaplin.
+
+2003-03-24  Mohammad DAMT  <mdamt@bisnisweb.com>
+
+       * po/id.po: Updated Indonesian translation
+
+2003-06-21  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkevents-win32.c (gdk_event_translate): When
+       emulating X11's automatic grab on button down, pass owner_events
+       as FALSE. According to the XLib spec, automatic grabs use True for
+       owner_events when OwnerGrabButtonMask is selected, and I don't see
+       the X11 backend doing that. (#82497, #91619, #92835, #107322, #110271)
+       (find_window_for_pointer_event): Improve debugging output.
+
+2003-06-17  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk-zip.sh.in (DLLDIR): Look for DLLs also in the bin
+       subdirectory, where libtool 1.5 installs them.
+
+       * README.win32: Point to FSF's binary Win32 distribution of
+       gettext-runtime.
+
+2003-06-17  Matthias Clasen  <maclas@gmx.de>
+
+       * acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New
+       macros to check for XML catalog contents and path, borrowed from
+       gtk-doc. 
+       * configure.in: New option --enable-man to enable regeneration of
+       man pages from Docbook, if the necessary tools are found.
+
+2003-06-15  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkcalendar.c (gtk_calendar_class_init): 
+       * gtk/gtknotebook.c (gtk_notebook_class_init): 
+       * gtk/gtkalignment.c (gtk_alignment_class_init): 
+       * gtk/gtkpaned.c (gtk_paned_class_init): Document new properties
+       as 2.4 additions.
+
+       * gtk/gtkwidget.c (gtk_widget_class_init): Move inline signal docs 
+       to the proper place, immediately before the g_signal_new() call.
+
+       * gtk/gtktextiter.h: Make the flags-nature of GtkTextSearchFlags 
+       more obvious.  (#115122, Jeff Franks)
+
+2003-06-12  Anders Carlsson  <andersca@codefactory.se>
+
+       * gtk/gtkwidget.c: (event_window_is_still_viewable):
+       Special case pixmaps. (#114880)
+       
+2003-06-12  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkwidget.c: Document child-notify and drag-data-received
+       signals. Owen, we need to figure out where the best place for
+       these comments in the source is. I currently put them in front of
+       the signals enum.
+
+2003-06-11  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkdnd.c (gtk_drag_check_threshold): s/threshhold/threshold/.
+
+Thu Jan 12 01:01:19 2003  Kristian Rietveld  <kris@gtk.org>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
+       silly typo fix. s/seperator/separator/. This gets rid of the
+       assert spam when using TreeView.
+
+Tue Jun 10 11:23:48 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
+
+       * modules/input/gtkimcontextxim.c (xim_instantiate_callback): New
+       function for XIM instantiate callback.
+       * modules/input/gtkimcontextxim.c (xim_info_try_im): New function
+       where call to XOpenIM() or XRegisterIMInstantiateCallback() is
+       actually made.
+       * modules/input/gtkimcontextxim.c (xim_destroy_callback): New function
+       for XIM's destroy callback.
+       * modules/input/gtkimcontextxim.c (get_im): add a check if info->im 
+       is set or not - if it's not set, call xim_info_try_im() to try to
+       initiaize it.
+       * modules/input/gtkimcontextxim.c (reinitialize_ic): reset
+       filter_key_release flag of the context.
+       * modules/input/gtkimcontextxim.c (get_ic_real): removed
+       * modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic): move
+       code from the removed get_ic_real().
+
+       For XIM instantiation, destruction and re-instantiation. With
+       this, Gtk+ apps will be able to connect or reconnect to the XIM,
+       when it starts after the apps, or when the XIM gets lost and recover.
+       (#113099, #107782).
+
+Mon Jun 10 01:12:31 2003  Kristian Rietveld  <kris@gtk.org>
+
+       Merged from stable.
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size):
+       check if width is !null, not *width. Doh.
+
+Tue Jun 10 01:09:33 2003  Kristian Rietveld  <kris@gtk.org>
+
+       Merged from stable.
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
+       Remove the weird dx logic, get all cell_area and background_area
+       calculations right. Not sure what was up with it before. (Fixes
+       #110989, testcase from Vasco Alexandre da Silva Costa).
+
+Tue Jun 10 00:58:23 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * tests/testgtk.c: Make it compile with C89 compilers
+
+2003-06-10  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtktextview.c (gtk_text_view_class_init): Install boolean
+       property "overwrite".
+       (gtk_text_view_[gs]et_property): Handle "overwrite".
+       * gtk/gtktextview.[hc] (gtk_text_view_[gs]et_overwrite): Getter
+       and setter for "overwrite" property.  (#110241, Jeroen Zwartepoorte)
+
+2003-06-09  Matthias Clasen  <maclas@gmx.de>
+
+       * gtk/gtkpaned.c (gtk_paned_class_init): Install boolean child
+       properties "resize" and "shrink".
+       (gtk_paned_[gs]et_child_property): Implementations of 
+       GtkContainer::[gs]et_child_property.  
+       * tests/testgtk.c (toggle_resize, toggle_shrink): Use the new
+       paned child properties instead of remove/add hacks.  (#114667, 
+       Soeren Sandmann) 
+
+Mon Jun  9 16:18:11 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtknotebook.c (gtk_notebook_button_press): Back
+       out event->window test - it wasn't needed because
+       of the call to get_widget_coordinates().
+
+       * gtk/gtknotebook.c (gtk_notebook_button_press): Remove
+       call to gtk_widget_grab_focus() when not clicking on
+       any tabs. (Real fix for #114534)
+
+Sun Jun  8 22:03:09 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/testdnd.c: Use application/x-rootwindow-drop for
+       root window drops. (#108670, Alex Larsson)
+
+       * gdk/x11/gdkdnd-x11.c (gdk_drag_motion) gtk/gtkdnd.c (gtk_drag_drop): 
+       Accept either application/x-rootwin-drop (what GTK+ has always used)
+       or application/x-rootwindow-drop (what the XDND standard specifies).
+
+Fri Jun  6 11:07:33 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwidget.c (event_window_still_viewable): 
+       Before delivering an event to a widget, check that
+       (if relevant), the event's window is still viewable.
+       (#105642, Dennis Björklund)
+
+       * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): 
+       NULL out private->parent, since after destruction
+       it might not be valid any more.
+
+       * gdk/gdkwindow.c (gdk_window_is_viewable): Fix some
+       accesses before g_return_val_if_fail(). Treat 
+       DESTROYED windows as unmapped.
+
+Thu Jun  5 09:28:03 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkentry.c: Recompute unconditionally in
+       gtk_entry_style_set, and in a new gtk_label_screen_changed().
+       Protect the guts of recompute_idle_func() with
+       gtk_widget_has_screen(). (#114040, Morten Welinder) 
+       Fix FALSE/0 confusion.
+       
+Sun Jun  8 18:27:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gdk/gdkpixbuf-drawable.c (G8fromRGB565): swap G and B.
+       Fixes (#114669)
+
+Sun Jun  8 11:27:29 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkviewport.c (viewport_set_adjustment): Fix bug with 
+       set_adjustment (viewport, NULL);
+
 2003-06-07  Matthias Clasen  <maclas@gmx.de>
 
        * gtk/gtkiconfactory.c (get_default_icons): 
@@ -837,6 +1286,9 @@ Mon Apr  7 19:43:15 2003  Owen Taylor  <otaylor@redhat.com>
 
        * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_at_pointer):
        Use gdk_x11_display_grab/ungrab.
+
+       * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize
+       use_xshm to TRUE so SHM gets used when present.
  
 2003-04-07  Matthias Clasen  <maclas@gmx.de>