]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog.pre-2-8
Add: - A ::retrieve_surrounding signal that asks the widget for context
[~andy/gtk] / ChangeLog.pre-2-8
index 5449fbd2bc741a489a0d56a1c04687bb566058f2..1281ca3a188074deafcb773c02dc75edb735b74f 100644 (file)
@@ -1,3 +1,377 @@
+Thu Nov  1 16:20:56 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkimcontext.[ch]: Add:
+         - A ::retrieve_surrounding signal that asks the widget for
+           context around the insertion point.
+         - A ::delete_surrounding signal that asks the widget to 
+           delete context aroudn the insertion point.
+         - gtk_im_context_set_context() for widgets to set context
+           around the insertion point in response to ::retrieve_context.
+         - gtk_im_context_get_context() for context to get context
+           around the insertion point
+
+       * gtkmarshal.list: Add BOOL:INT,INT
+
+       * gtk/gtkimmulticontext.c: Proxy the get_surrounding() /
+       set_surrounding() methods, and the ::retrieve_surrounding /
+       ::delete_surrounding signals.
+
+       * gtk/gtkentry.c gtk/gtktreeview.c: Hook up to the
+       GtkIMContext::retrieve_surrounding / ::delete_surrounding
+       signals.
+
+Thu Nov  1 15:45:04 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered):
+       it's amazing how well things work sometimes, even when they're
+       completely wrong.
+
+       * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Fix bug
+       where you could try to collapse a node w/o it having children.
+
+       (gtk_tree_view_class_init): remove Shift L<->R as they already
+       existed for expand/collapse.
+
+Thu Nov  1 12:21:31 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Fix crash
+       found by Matt Wilson.
+
+Thu Nov  1 00:44:50 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_class_init): Support Shift,
+       Control, and Shift|Control L<->R, #63475
+
+Wed Oct 31 18:53:51 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): fix
+       infinite loop noticed by yosh.
+
+2001-11-01  Michael Meeks  <michael@ximian.com>
+
+       * gtk/gtksocket.c (gtk_socket_unrealize): unset the
+       GTK_REALIZED flag so we don't re-enter when we are
+       destroyed from the plug side.
+
+Wed Oct 31 18:23:47 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkoptionmenu.c (gtk_option_menu_detacher): 
+       Add a "menu" property and notify on it. (#62798,
+       Padraig O'Briain)
+
+       * gtk/gtkselection.[ch] gtk/{gtkentry.c, gtkfilesel.c,
+       gtkoldeditable.c, gtktextbuffer.c, gtktextview.c}: 
+       Fix set_text to take a gchar, not a guchar, and to have 
+       a len argument.
+
+Wed Oct 31 15:31:13 2001  Manish Singh  <yosh@gimp.org>
+
+       * gtk/gtkstock.c: fix typo to make it compile
+
+Wed Oct 31 17:27:20 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): if
+       the widget is insensitive, draw the text insensitively, #63306
+
+2001-10-31  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtkstock.c: Add stock items for most stock icons. (#61757)
+
+Wed Oct 31 16:53:48 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreednd.c (gtk_tree_set_row_drag_data): rename
+       gtk_selection_data_set_tree_row, #60218
+       (gtk_tree_get_row_drag_data): rename
+       gtk_selection_data_get_tree_row, #60218
+
+       * gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): Actually
+       get this right, after the third try, #63122.
+
+2001-10-31  jacob berkman  <jacob@ximian.com>
+
+       * gdk/gdkselection.h (GDK_TARGET_STRING): 
+       (GDK_SELECTION_TYPE_STRING): these should be 31, not 3.  Hooray
+       for Xatoms (and not using the XA_* macros)!
+
+Wed Oct 31 15:38:14 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkwindow.[ch] (gtk_window_get_focus): Add a
+       gtk_window_get_focus() getter to determine the currently
+       focused widget within the window. (#63145, request
+       from Damian Ivereigh)
+
+Wed Oct 31 14:45:08 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtkenums.h (enum): Add GTK_SELECTION_NONE enum, #61695
+
+       * gtk/gtktreeselection.c (gtk_tree_selection_set_mode): Handle new
+       GTK_SELECTION_NONE enum.
+       (_gtk_tree_selection_internal_select_node): ditto
+
+       * gtk/gtkcellrenderer.h (struct _GtkCellRendererClass): add
+       constness.
+
+       * gtk/gtkcellrenderertoggle.c: more yummy constness.
+
+       * gtk/gtkclist.c (gtk_clist_set_selection_mode): g_return_if_fail
+       if mode == GTK_SELECTION_NONE
+
+Wed Oct 31 14:05:17 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreeview.c (gtk_tree_view_class_init): Added a
+       "cursor_changed" signal, #62850.
+
+2001-10-31  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtktreedatalist.c (_gtk_tree_data_list_alloc): after
+       allocating the treedatalist, zero it to make sure the values are
+       cleared from any garbage that was in this chunk.
+
+2001-10-31  Murray Cumming  <murrayc@usa.net>
+
+       * gtk/cellrenderertext.h: "edited" default signal handler
+       gchar* args are now const.
+       gtk/cellrenderertoggle.h: "toggled" default signal handler
+       gchar* arg is now const.
+       Also changed other signal handlers for "edited" and "toggled" to
+       have the same signature.
+
+Tue Oct 30 19:17:57 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): massize
+       rewrite.  Static models now totally work.  I'm not 100% sure about
+       row_inserted and row_changed, but I'll get those later.
+
+2001-10-30  Sven Neumann  <sven@gimp.org>
+
+       * configure.in: use GLIB_AC_DIVERT_BEFORE_HELP() so we get proper
+       output for configure --help.
+
+2001-10-30  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtktextview.c (changed_handler): Update the IM spot location
+       here, if text was invalidated in the visible area, because the
+       scroll offset doesn't normally change in that case, and the mark
+       isn't set, just implicitly moved over as text is added/removed
+       
+Mon Oct 29 19:18:35 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtkseparatormenuitem.c: Code cleanup.
+       (gtk_separator_menu_item_class_init): Fix bugs in this code.
+
+2001-10-29  jacob berkman  <jacob@ximian.com>
+
+       * gdk/Makefile.am (LDFLAGS): 
+       * gtk/Makefile.am (LDFLAGS): automake doesn't support conditionalized
+       LDFLAGS, so put win32 flags in here
+
+Mon Oct 29 15:41:58 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): Darn.
+       I can't believe this took this long to fix.
+
+Mon Oct 29 13:54:49 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): fix
+       reordered signal.
+
+Mon Oct 29 12:27:51 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkfilesel.c (gtk_file_selection_rename_file): Grab
+       the focus to the fileop entry for create dir / rename
+       file. (#62838)
+
+Mon Oct 29 12:21:49 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Don't use AC_CHECK_FILE to check for a 
+       file since it always spits warnings about cross compilation,
+       use -f instead. It's not like we cross compile properly
+       anyways.
+
+       * configure.in (gtktargetlib): Move call to AC_PROG_CC
+       to suppress autoconf warning.
+
+       * acconfig.h: Add some missing #undefs from recent
+       Win32 additions.
+
+Mon Oct 29 11:31:40 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * m4macros/gtk-2.0.m4: Don't try to use pkg-config
+       when we didn't find it. (#62944, Eric Lemings)
+
+       * m4macros/gtk-2.0.m4: Fix problem with spaces around =
+       sign in assignment. (#63209, Arkadiusz Miskiewicz)
+
+2001-10-29  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtktreeview.c (gtk_tree_view_size_request): Calculate
+       the buttons size request before using it. Fixes #61696.
+
+2001-10-29  Tor Lillqvist  <tml@iki.fi>
+
+       * README.win32: Updates.
+
+       * gtk-zip.sh.in: New file, used to build distribution package for
+       Windows.
+
+       * gdk/gdkglobals.c: Mark gdk_threads_mutex for DLL export when
+       applicable with GDKVAR.
+
+       * gdk/win32/libwntab32x.la: New file, hand-written wrapper for the
+       Wintab library.
+
+       * gdk/win32/gdkwin32.h
+       * gdk/win32/gdkprivate-win32.h: Reorganise to match corresponding
+       X11 headers better, and to enable gdkwin32.h to be installed and
+       included from applications, but not the *-win32.h headers.
+
+       * gdk/win32/*.c: Corresponding small changes, simplifications of
+       #includes.
+       
+       * gdk/win32/gdkregion-win32.c: Remove.
+
+       * gdk/win32/gdkevents-win32.c (print_event): Add GDK_SETTING.
+
+       * gdk/win32/gdkfont-win32.c
+       * gdk/win32/gdkgeometry-win32.c: Remove unused variables.
+
+       * gdk/win32/gdkproperty-win32.c (gdk_atom_intern): Don't insert
+       GDK_NONE values into hash table.
+
+       * gtk/gtk.def: Update.
+
+       * gtk/gtkfilesel.c: Include <winsock.h> (if available) for
+       gethostname().
+
+       * gtk/gtkmain.c 
+       * gtk/gtkrc.c: (Win32) Save actual DLL name for later use in DLL
+       entry function. Avoid hardcoded paths GTK_LIBDIR, GTK_SYSCONFDIR,
+       GTK_DATA_PREFIX and GTK_LOCALEDIR, instead add functions that call
+       g_win32_get_package_installation_subdirectory() with the actual
+       DLL name saved above. Redefine above directory name macros to call
+       these functions. Remove some ifdefs.
+
+       * gtk/maketypes.awk: Output GTKTYPEBUILTINS_VAR (that marks
+       variable for export on Win32) also to the _vars file.
+
+       Changes for autoconfiscated build on Win32, and addition of Win32
+       backend to the related files:
+       
+       * configure.in: Like in GLib, set LT_CURRENT_MINUS_AGE for use
+       when forming DLL name in some files. Set MS_LIB_AVAILABLE is
+       lib.exe is available. Call AC_LIBTOOL_WIN32_DLL. Set
+       PLATFORM_WIN32, OS_WIN32 and USE_WIN32 automake conditionals. Add
+       win32 target, using pangowin32. Don't use the
+       -export-symbols-regex option on Win32, we use .def files to list
+       exported symbols. Check <winsock.h> (for gethostname() in
+       gtkfilesel.c). Enclose nested AC_CHECK_* macros in brackets to
+       prevent premature m4 expansion.
+
+       * acconfig.h: Add HAVE_WINTAB.
+
+       * gdk/Makefile.am: Add libgdk-win32-1.3.la target and associated
+       macros and rules. Use -no-undefined on Win32. Use gdk.def file. If
+       MS_LIB_AVAILABLE, build MS import library. Install the import
+       libraries. If HAVE_WINTAB, link with the Wintab library.
+
+       * gdk/win32/Makefile.am: Actually enable building the win32
+       objects here, not just list all files in EXTRA_DIST. Link in the
+       compiled resource file from rc/gdk-win32res.lo. If HAVE_WINTAB,
+       copy the Wintab library into the .libs directory. 
+
+       * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Don't assume the
+       name of the GDK DLL when fetching the icon. Use the HMODULE saved
+       in gdk_dll_hinstance by DllMain.
+
+       * gdk/win32/rc/Makefile.am: Build gdk-win32res.lo using the
+       build/win32/lt-compile-resource script.
+
+       * gdk/win32/rc/gdk.rc.in
+       * gtk/gtk-win32.rc.in: Use the DLL name that libtool would use.
+
+       * gtk/Makefile.am: Add libgtk-win32-1.3.la target and associated
+       macros and rules. Use -no-undefined on Win32. Use gtk-win32.def
+       file. Install import libraries.
+
+2001-10-29  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtkiconfactory.c (get_default_icons): Fix build.
+
+2001-10-28  Hans Breuer  <hans@breuer.org>
+
+       * gdk/gdk.c gdk/gdkevents.c
+         gdk/win32/gdkcolor-win32.c gdk/win32/gdkdnd-win32.c
+         gdk/win32/gdkdrawable-win32.c gdk/win32/gdkevents-win32.c
+         gdk/win32/gdkfont-win32.c gdk/win32/gdkgc-win32.c
+         gdk/win32/gdkim-win32.c gdk/win32/gdkmain-win32.c
+         gdk/win32/gdkprivate-win32.h gdk/win32/gdkproperty-win32.c
+         gdk/win32/gdkselection-win32.c gdk/win32/gdkwin32.h
+         gdk/win32/gdkwindow-win32.c gdk/win32/gdkwindow-win32.h :
+       static correct-ness, underscore prefixing of library internal 
+       functions
+       (applied the undisputed and the win32 part. Of the latter 
+        I'm probably the one who will change it back again, if Owen
+        decides that the Gdk*Impl types should not be private to Gdk)
+
+       * gdk/gdk.def : added the remaining exported functions
+
+2001-10-28  Matthias Clasen  <matthiasc@poet.de>
+
+       * gtk/gtkcellrenderertoggle.c, gtk/gtkimcontextsimple.c,
+       gtk/gtkimmulticontext.c, gtk/gtkimagemenuitem.c,
+       gtk/gtkiconfactory.c, gtk/gtkwindow.c: Documentation updates.
+
+2001-10-28  jacob berkman  <jacob@ximian.com>
+
+       * gtk/gtkcolorsel.c (gtk_color_selection_class_init): do not call
+       gtk_settings_get_default() here as that requires an X connection
+       (which breaks doc building with no X connection) and is not
+       multihead safe
+       (gtk_color_selection_init): delay palette loading until realize
+       time
+       (gtk_color_selection_realize): load the palette, and initialize
+       the global palette if it hasn't been already
+
+       * gtk/gtkpreview.c (gtk_preview_class_init): don't initialize the
+       visual/cmap fields of klass->info since they are gone
+       (gtk_preview_get_visual): just return gdk_rgb_get_visual ()
+       (gtk_preview_get_cmap): just return gdk_rgb_get_colormap ()
+       (gtk_preview_realize): don't set VISUAL and COLORMAP attributes
+
+       * gtk/gtkpreview.h (struct _GtkPreviewInfo): remove visual and
+       cmap fields
+       (gtk_preview_get_visual):
+       (gtk_preview_get_cmap): mark as deprecated
+
+       * docs/Changes-2.0.txt: add a little note about the GtkPreviewInfo
+       changes
+
+Sun Oct 28 09:15:39 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gtk/gtkimcontext.h (struct _GtkIMContext): Fixed
+       structure to have GObject not GtkObject as
+       parent_instance. (Jeff Franks.)
+
+2001-10-27  Matthias Clasen  <matthiasc@poet.de>
+
+       * gdk/x11/gdkinput.c: Typo fix.
+
+2001-10-26  Havoc Pennington  <hp@pobox.com>
+
+       * gtk/gtktextview.c (gtk_text_view_mark_set_handler): Call
+       update_im_spot_location here explicitly
+       (gtk_text_view_reset_im_context): don't update the spot location
+       here
+
+2001-10-27  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtktreemodel.c (gtk_tree_model_get): Fix typo in docs.
+       This fixes #62942.
+
+       * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): 
+       Clarify that we're returning a spin button in the _new function.
+       This fixes #54097.
+       
 Fri Oct 26 20:55:57 2001  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/gtkbutton.c: Revert changes to GTK_RUN_LAST.