]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Export _gdk_draw_pixbuf as gdk_draw_pixbuf(), rename the _draw_pixbuf
[~andy/gtk] / ChangeLog
index aec036ede33c5b1701375860b81e5bafaee22166..d96d35ec38af8c92c4f71c84df885b58b61abe50 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,441 @@
+Wed Oct  2 17:46:53 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkdrawable.h gdk/gdkinternals.h gdk/gdkdraw.c
+       gdk/gdkwindow.c gdk/gdkdrawable.c: Export _gdk_draw_pixbuf
+       as gdk_draw_pixbuf(), rename the _draw_pixbuf virtual
+       function to draw_pixbuf. (#60582)
+
+       * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable[_alpha]):
+       Note that these functions are obsolete in the docs.
+
+       * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): 
+       Remove all the sanity checks now we make it clear
+       that it is obsolete name for gdk_draw_pixbuf().
+
+       * gdk/gdkpixmap.c gtk/gtkcellrendererpixbuf.c gtk/gtkimage.c
+         gtk/gtkpixmap.c demos/testpixbuf-scale.c demos/testpixbuf.c
+         tests/testrgb.c: Use gdk_draw_pixbuf() everywhere.
+
+       * gtk/gtklabel.c (gtk_label_set_mnemonic_widget): Fix
+       some warnings.
+
+       * gdk/gdkinternals.h (struct _GdkEventPrivate): Fix missed
+       bit from last gdk_event_get_screen() change.
+
+       * gdk/gdkevents.c: Couple of small fixes.
+
+Wed Oct  2 17:36:42 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkevents.[ch] gdk/x11/gdkevents-x11.c: Add
+       gdk_screen_set_screen()/_get_screen() which (by evil
+       hacks) work for for heap allocated events and
+       fall back gracefully for stack allocated events.
+
+Wed Oct  2 08:47:31 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtksettings.[ch]: Privately export:
+       _gtk_settings_set_property_value_from_rc()
+       _gtk_settings_reset_rc_values() so that we can reset
+       settings set from RC files when reloading RC files.
+       (#94610)
+
+       * gtk/gtkrc.c: Hook up RC file setting resetting.
+
+Tue Oct  1 12:53:44 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkwindow-decorate.c gtkwindow.[ch]: Deprecation cleanup
+
+2002-10-01  jacob berkman  <jacob@ximian.com>
+
+       * gtk/gtkinvisible.c: 
+       * gtk/gtkclipboard.c: declare parent_class static
+
+2002-10-01  Stanislav Brabec  <sbrabec@suse.cz>
+
+       * gtk/gtkimcontextsimple.c: Fixed alphabetical order (bug #91258).
+
+2002-10-01  Padraig O'Briain <padraig.obriain@sun.com>
+
+       * gtk/gtkmenu.c: Add gtk_menu_focus() so we do not waste time
+       trying to focus a menu item. (bug #91258)
+
+2002-09-30  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize):
+       Set image->windowing_data to NULL, unref the image. (Late merge
+       from stable.)
+
+Mon Sep 30 15:45:49 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtklabel.c (gtk_label_set_mnemonic_widget): 
+       Make the reference to the mnemonic widget weak.
+       (#93334, Murray Cumming)
+
+Mon Sep 30 15:38:53 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkwindow.h: Remove a duplicate definition
+       of gdk_set_sm_client_id().
+
+Mon Sep 30 15:31:57 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkdisplay.c gdk/x11/gdkdisplay-x11.c 
+       gdk/gdkinternals.h: Set the client ID on all
+       displays. (#85713)
+
+       * gdk/gdkdisplay.h gkd/gdkinternals.h
+        gdk/{linux-fb,win32,x11}/gdkmain-{fb,win32,x11}.c
+       Privatize gdk_display_set_sm_client_id().
+
+Mon Sep 30 14:46:49 2002  Owen Taylor  <otaylor@redhat.com>
+       * gtk/gtkbindings.c (gtk_binding_set_new): Initialize
+       ->parsed field. (#94536, patch from Sebastian Ritau. Maybe 
+       fixes #87411?)
+Mon Sep 30 14:28:58 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwindow.[ch]: Add gtk_window_set_icon_from_file(),
+       gtk_window_set_default_icon_from_file() convenience
+       functions (#75178, suggestion from Havoc Pennington)
+
+2002-09-30  Daniel Elstner  <daniel.elstner@gmx.net>
+
+       * gtk/gtktextbuffer.c: Add construct-only property "tag_table"
+       and make use of it in gtk_text_buffer_new().  (#70227)
+
+2002-09-30  Stanislav Brabec  <sbrabec@suse.cz>
+
+       * gtk/gtkimcontextsimple.c: Completed ISO-8859-2 characters
+       support (#93421), fixed cacute, umacron, completed dead_key+space
+       convention.
+
+Sun Sep 29 23:52:28 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * ===== Released 2.1.0 ======
+
+       * NEWS: Updated
+
+Sun Sep 29 20:20:26 2002  Owen Taylor  <otaylor@redhat.com>
+
+        * gtk/gtktooltips.c (gtk_tooltips_event_handler): Disable
+        tooltips for menu items with submenus .. they still
+        don't really work properly. (Missed merge from
+       stable)
+
+Sun Sep 29 20:15:59 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwindow.c (gtk_window_move_resize): Clear
+        initial_pos_set even if it only causes a move, not
+        a resize as well. (Missed merge from stable,
+       may fix #89562)
+
+Sun Sep 29 14:22:47 2002 Manish Singh  <yosh@gimp.org>
+
+       * contrib/gdk-pixbuf-xlib/Makefile.am demos/Makefile.am
+       demos/gtk-demo/Makefile.am: add deprecation compile flags
+
+       * demos/testanimation.c demos/testpixbuf-save.c demos/testpixbuf.c
+       demos/gtk-demo/*.c gdk-pixbuf/gdk-pixbuf-animation.c
+       gdk-pixbuf/gdk-pixbuf.c: minor cleanups, getting rid of
+       unnecessary casts
+
+Sun Sep 29 13:11:13 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtktypeutils.h: use #defines instead of enum for
+       GtkFundamentalType compat, to prevent 64-bit vs. 32-bit
+       confusion (#90400)
+
+2002-09-29  Tor Lillqvist  <tml@iki.fi>
+
+       * configure.in: Instead of forcing -fnative-struct into CFLAGS
+       when using gcc for Win32, check for gcc version 3.x which uses
+       -mms-bitfields instead. Also check if either of these switches is
+       actually available at all, and warn if not. Thanks to Soren
+       Andersen for the inspiration. (#93965)
+
+2002-09-01  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * gtk/gtkimcontext.c, gtk/gtktreeviewcolumn.c:
+
+       Minor documentation fixes. 
+       (#80021, Yao Zhang; #75567, #75279, Vitaly Tishkov)
+
+2002-09-28  Matthias Clasen  <maclas@gmx.de>
+
+       * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init): Make
+       drawing to the root window work.  (#89492)
+
+Fri Sep 27 18:14:00 2002  Owen Taylor  <otaylor@redhat.com>
+
+       (#91249, Thomas Leonard)
+
+       * gtk/gtkselection.c (gtk_selection_convert): Initialize
+       idle time to 0.
+
+       * gtk/gtkselection.c: Up idle timeout to 5 minutes
+       from 5 seconds.
+
+Fri Sep 27 17:40:47 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * modules/input/Makefile.am: Patch from J. Ali Harlow
+       to avoid generating gtk.immodules when cross-compiling.
+        (#87774)
+       
+Fri Sep 27 14:30:34 2002 Eric Warmenhoven <eric@warmenhoven.org>
+
+       * gdk/Makefile.am gdk/gdkkeynames.c gdk/linux-fb/gdkmain-fb.c
+       gdk/win32/gdkkeys-win32.c: Move gdk_keval_name and
+       gdk_keyval_from_name to new gdkkeynames.c, share implementation for
+       linux-fb and win32 (#94123)
+
+       * gdk/linux-fb/Makefile.am gdk/linux-fb/gdkkeyboard-fb.c
+       gdk/linux-fb/gdkmain-fb.c gdk/linux-fb/gdkmouse-fb.c: add
+       -DG_DISABLE_DEPRECATED and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile
+       flags
+
+       * gdk/linux-fb/gdkdisplay-fb.c: prevent segfault if display can't
+       initialize
+
+       * gdk/linux-fb/gdkkeyboard-fb.c: better parsing of keycodes
+
+       * gdk/linux-fb/gdkwindow-fb.c: add stubs for new functions
+
+Fri Sep 27 17:23:31 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkcolorsel.c: Fix some signed/unsigned warnings.
+       (#85863, David L. Cooper II)
+
+Fri Sep 27 16:23:49 2002  Owen Taylor  <otaylor@redhat.com>
+        
+       * gtk/gtklabel.c : Replaced instances where strlen (label->label) is
+       used to get a byte code with strlen (label->text) as label->text 
+       contains the actual display text, while label->label contains
+       markup / mnemonics. (#92683, Patch from Shivram U  
+       <shivaram.upadhyayula@wipro.com>, with some additions.)
+
+       * gtk/gtklabel.c (gtk_label_set_uline_text_internal): 
+       Fix a leftover, now incorrect comment.
+       
+Fri Sep 27 16:15:11 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtknotebook.c (gtk_notebook_get_event_window_position):
+       Handle the case where the first page isn't visible.
+       (#90336, bug tracked down by Chema Celorio)
+
+Fri Sep 27 15:57:15 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkstock.c (builtin_items): Change accelerator
+       from C_ut to Cu_t. (#82747, Paolo Maggi)
+
+Fri Sep 27 15:27:45 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkimage.c (gtk_image_unrealize): Reset the
+       animation iter on unrealize as well as unmap.
+       (#94336)
+
+       * gtk/gtkprogressbar.c (gtk_progress_bar_set_text): Don't
+       turn a value of "" into NULL. (#94157, Vitaly Tishkov)
+
+Wed Sep 25 18:23:50 2002  HideToshi Tajima  <hidetoshi.tajima@sun.com>
+
+       * modules/input/gtkimcontextxim.c:
+       - use gtk_settings_get_for_screen () instead of
+         gtk_settings_get_default () for multihead
+       - connect property-notify signal handlers to respond runtime
+         changes of status_style and preedit_style in the settings
+       - Some indentation and code cleanup (#59076 - 2nd check-in)
+       
+2002-09-24  Havoc Pennington  <hp@redhat.com>
+
+       * gtk/gtkwindow.c: fix GtkWindowMnemonic to have a separate
+       typedef
+
+       * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): monitor
+       FULLSCREEN state
+
+       * tests/testgtk.c (get_state_controls): add
+       fullscreen/unfullscreen test
+
+       * gdk/gdkdisplay.c (gdk_display_finalize): fix unused variable
+
+       * gdk/x11/gdkscreen-x11.c (init_xinerama_support): fix unused
+       variable
+
+       * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): mop up unused
+       variable
+
+       * gdk/x11/gdkscreen-x11.c
+       (_gdk_x11_screen_window_manager_changed): emit
+       window_manager_changed signal
+
+       * gdk/x11/gdkscreen-x11.h (struct _GdkScreenX11Class): add
+       window_manager_changed signal
+
+       * gdk/x11/gdkevents-x11.c
+       (gdk_x11_screen_get_window_manager_name): new function
+
+       * gtk/gtkwindow.c (gtk_window_class_init): add type_hint,
+       skip_taskbar_hint, skip_pager_hint properties
+       (gtk_window_set_skip_taskbar_hint):
+       (gtk_window_get_skip_taskbar_hint):
+       (gtk_window_set_skip_pager_hint):
+       (gtk_window_get_skip_pager_hint):
+       (gtk_window_fullscreen):
+       (gtk_window_unfullscreen): new functions
+
+       * gdk/gdkevents.h (GdkWindowState): add FULLSCREEN state
+
+       * gdk/gdkwindow.h (GdkWindowTypeHint): add missing type hint
+       values
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_set_skip_taskbar_hint):
+       (gdk_window_set_skip_pager_hint):
+       (gdk_window_fullscreen):
+       (gdk_window_unfullscreen): new functions
+       (set_initial_hints): set fullscreen here if appropriate
+       
+Wed Sep 25 10:51:24 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/gdkscreen.h gdk/{x11,win32,linux-fb}/gdkscreen-*.c:
+       Add gdk_screen_make_display_name(), which returns a
+       display name that can be used to open a display with the
+       screen as the default (Based on patch from Mark McLoughlin, 
+       #86013)
+
+Wed Sep 25 08:50:40 2002  Owen Taylor  <otaylor@redhat.com>
+
+       Patch from Eric Warmenhoven, #94123
+
+        * gdk/gdkmouse-fb.c: Add scrolling support for 
+       imps2 mice.
+
+       * gdk/linux-fb/gdkimage-fb.c: Fix compilation error
+       in last gdkimage-fb.c commit.
+
+Wed Sep 25 00:16:53 2002  Manish Singh  <yosh@gimp.org>
+
+       * gdk/Makefile.am gdk/x11/Makefile.am: add -DG_DISABLE_DEPRECATED
+       and -DGDK_PIXBUF_DISABLE_DEPRECATED to compile flags
+
+       * gdk/gdkcolor.c gdk/gdkdisplay.c gdk/gdkdraw.c gdk/gdkevents.c
+       gdk/gdkgc.c gdk/gdkimage.c gdk/gdkpango.c gdk/gdkpixbuf-render.c
+       gdk/gdkpixmap.c gdk/gdkrgb.c gdk/gdkwindow.c gdk/linux-fb/gdkdnd-fb.c 
+       gdk/linux-fb/gdkfont-fb.c gdk/win32/gdkdnd-win32.c
+       gdk/win32/gdkfont-win32.c gdk/x11/gdkdisplay-x11.c gdk/x11/gdkdnd-x11.c
+       gdk/x11/gdkdrawable-x11.c gdk/x11/gdkevents-x11.c gdk/x11/gdkfont-x11.c
+       gdk/x11/gdkgc-x11.c gdk/x11/gdkgeometry-x11.c gdk/x11/gdkim-x11.c
+       gdk/x11/gdkinput-x11.c gdk/x11/gdkkeys-x11.c gdk/x11/gdkscreen-x11.c
+       gdk/x11/gdkwindow-x11.c: Deprecation cleanup, mostly changing
+       gdk_foo_{ref,unref} to g_object equivalents.
+
+Tue Sep 24 23:54:20 2002  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkfilesel.c: check if last_selected is valid before doing
+       a strcmp on it, which may happen if selections happen programmatically
+       instead of through the UI (#86566)
+
+Tue Sep 24 23:33:48 2002  Manish Singh  <yosh@gimp.org>
+
+        * gtk/gtkfilesel.c: preserve ordering from gtk_tree_selection_foreach
+       when returning filenames for gtk_file_selection_get_selections
+       (#86567)
+
+       * gtk/gtkclipboard.c: GtkClipboard struct should have a GObject
+       in it, not a GObjectClass
+
+Tue Sep 24 18:18:36 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkclipboard.[ch]: Make a GObject (#75970, James
+       Henstridge)
+
+Tue Sep 24 19:45:55 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_colormap): 
+       Look up the visual as well as the colormap, since calling
+       gdk_drawable_get_visual() causes infinite recursion.
+
+       * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init): 
+       Set the colormap for the root window.
+
+Tue Sep 24 15:35:42 2002  HideToshi Tajima  <hidetoshi.tajima@sun.com>
+
+       disable/enable preedit/status in GtkIMContextXIM (#59076)
+       
+       * gtk/gtkenums.h (enum): added preedit/status styles for gtk+
+       input method
+       * modules/input/gtkimcontextxim.c
+       * gdk/x11/gdkevents-x11.c: add gtk-im-preedit-style and
+       gtk-im-status-style to GtkSettings.
+       * po/POTFILES.in: added modules/input/gtkimcontextxim.c
+
+       With the other patch for gnome-control-center,
+       the preedit and status styles of GTK+ input method are
+       configurable with associated gconf schemas keys:
+       "/desktop/gnome/interface/gtk-im-preedit-style"
+       "/desktop/gnome/interface/gtk-im-status-style"
+
+       Both are set to "callback" by default, and platform's 
+       packging can have different default by changing
+       libgnome's desktop_gnome_interface.schemas.
+
+2002-09-25  Matthias Clasen  <maclas@gmx.de>
+
+       * gdk/x11/gdkvisual-x11.c (gdkx_visual_get): Replace leftover 
+       gdkx_visual_get_for_screen () by gdk_x11_screen_lookup_visual().
+
+       * gtk/gtkaccelgroup.h: Add a missing ; to make things compile.
+
+       * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_colormap):
+       Replace leftover gdk_colormap_lookup () by
+       gdk_x11_colormap_foreign_new () to make the linker happy.
+
+Tue Sep 24 17:49:52 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkaccelgroup.[ch] (gtk_accel_group_find): 
+       Add a GtkAccelGroupFindFunc to clean up the
+       prototype. (#76670, Vitaly Tishkov)
+
+       * gdk/x11/gdkvisual-x11.c gdk/x11/gdkx.h: Rename
+       gdkx_visual_get_for_screen() to 
+       gdk_x11_screen_lookup_visual(). (#85702)
+
+2002-09-25  Tor Lillqvist  <tml@iki.fi>
+
+       * gdk/win32/gdkevents-win32.c (gdk_event_translate):
+       WM_SYSKEYDOWN, WM_SYSKEYUP: Need to handle F10 specially here in
+       order to be able to handle it normally in the application. Set
+       ignore_wm_char also always when handling WM_SYSKEY{DOWN,UP}, this
+       way we can generate GDK events also for Alt-Fn keys, for instance.
+
+2002-09-24  Matthias Clasen  <maclas@gmx.de>
+
+       * gdk/x11/gdkx.h: Add a missing ; to make things compile.
+
+Tue Sep 24 16:40:14 2002  Owen Taylor  <otaylor@redhat.com>
+
+       Make icon sizes configurable (#70648, slightly based
+       on a patch from Bill Haneman, Brian Cameron)
+
+       * gtk/gtkiconfactory.[ch]: Add 
+       gtk_icon_size_lookup_for_settings().
+
+       * gtk/gtksettings.c: Add gtk-icon-sizes XSETTING
+
+       * gtk/gtkiconfactory.c: Make icon sizes per-GtkSettings.
+
+       * gtk/gtkstyle.c: Use gtk_icon_size_lookup_for_settings()
+
+       * gtk/gtkrc.[ch]: Privately export _gtk_rc_reset_styles()
+       to force all the widgets to recompute their appearance.
+
+       * gdk/x11/gdkevents-x11.c: Add gtk-icon-sizes XSETTING
+
+Tue Sep 24 16:24:22 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gdk/win32/gdkimage-win32.c gdk/x11/gdkimage-x11.c 
+       * gdk/linux-fb/gdkimage-fb.c (gdk_image_put/get_pixel): 
+       Add bounds-checking g_return_if_fail(). (Olexiy Avramchenko)
+
 Tue Sep 24 16:04:44 2002  Owen Taylor  <otaylor@redhat.com>
 
        * gdkprivate-x11.h gdkcolor-x11.c gdkvisual-x11.c