]> Pileus Git - ~andy/gtk/blobdiff - ChangeLog
Don't try to use pkg-config when we didn't find it. (#62944, Eric Lemings)
[~andy/gtk] / ChangeLog
index 894a5a925ba585c171ba2a34745c60cd87f2aa39..e7f97e788c433a294dd9b0a657c62185e0a7c403 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,364 @@
+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
+
+>>>>>>> 1.2483
+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. 
+       Unfortunately, people apparently erroneously connect
+       to ::clicked for GtkToggleButton and expect
+       they know what happened in the default signal handler
+       instead of appropriately connecting to notification
+       signal ::toggled. When the revolution comes, such
+       people will be first against the wall.
+
+       We'll just have to go back to the old less-reliable
+       set-it-back hacks for handling model-view check
+       buttons and radio buttons. :-(. 
+
+2001-10-27  Hans Breuer  <hans@breuer.org>
+
+       * gtk/gtkbbox.c gtk/gtkctree.c gtk/gtkhbbox.c
+         gtk/gtkimmulticontext.c gtk/gtklabel.c gtk/gtkliststore.c
+         gtk/gtkmenu.c gtk/gtkpaned.c gtk/gtkrc.c gtk/gtkscale.c
+         gtk/gtkstyle.c gtk/gtktextbuffer.c gtk/gtktextlayout.c
+         gtk/gtktexttag.c gtk/gtktexttagtable.c gtk/gtktextview.c
+         gtk/gtktreestore.c gtk/gtkvbbox.c : 
+       to simplify parsing for exported functions:
+       - made implementation signature static, when the local 
+         prototype already was
+       - put the functions return value on it's own line
+       - added as space between the function name and the 
+         opening bracket
+
+       * gtk/gtk.def : added the remaining exported functions
+
+2001-10-27  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width): 
+       Add note about width having to be greater than 0. This fixes
+       #55574. 
+
+       * gtk/gtktextiter.c (gtk_text_iter_backward_sentence_start): 
+       Fix docs to say previous instead of next.
+       (gtk_text_iter_backward_word_start): Likewise.
+       This fixes bug #62980.
+
+       * gtk/gtkcontainer.c (gtk_container_set_border_width): Mention
+       that the valid width is in range 0-65535 pixels. Fixes bug 
+       #56754.
+
+       * gtk/gtksizegroup.c (gtk_size_group_set_mode): Remove
+       a dot in the documentation. Fixes bug #62632.
+
+       * gdk/x11/gdkmain-x11.c: Replace int and guint with
+       long and gulong in some places to make the code 64-bit
+       clean.
+       (_gdk_windowing_init_check): Replace gint with gulong.
+       This patch was made by George Lebl and fixes bug #62113.
+
+       * tests/testgtk.c (create_range_controls): Don't set a 
+       fixed height on the hscale widget. This fixes "bug" 
+       #55840.
+       (create_window_states): Set up destroy signals so that
+       all windows will be destroyed when one is. This fixes 
+       bug #58133.
+
+2001-10-26  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtktreeview.c: 
+       (gtk_tree_view_class_init): Create new "indent_expander"
+       style property.
+
+       (gtk_tree_view_get_arrow_xrange): Add a tree argument
+       to the function since the xrange can change depending
+       on where in the tree we are. 
+       
+       (coords_are_over_arrow): Update function call to
+       gtk_tree_view_get_arrow_xrange.
+       (gtk_tree_view_draw_arrow): Likewise.
+       
+       (gtk_tree_view_real_expand_collapse_cursor_row):
+       Call real_{expand|collapse}_row, so that we'll have an
+       animation.
+
+Fri Oct 26 20:13:36 2001  Kristian Rietveld  <kristian@planet.nl>
+
+       * tests/Makefile.am: fixed a small typo
+
+Fri Oct 26 18:27:11 2001  Kristian Rietveld  <kristian@planet.nl>
+
+       * demos/gtk-demo/list_store.c (create_model): Anders
+       Carlsson suggested to use G_N_ELEMENTS here
+
+2001-10-26  Sven Neumann  <sven@gimp.org>
+
+       * gtk/gtkbutton.[ch]
+       * gtk/gtkdnd.c: fixed inline comments
+       
+       * gtk/gtkgamma.c: gtk_entry_get_text() returns a const gchar.
+
+2001-10-26  Hans Breuer  <hans@breuer.org>
+
+       * gdk-pixbuf/gdk_pixbuf.def : 
+       * gdk/gdk.def : 
+       * gtk/gtk.def : updated externals
+
+       * gdk/win32/gdkpixmap-win32.c : removed duplicate of
+       gdk_window_lookup implementation. It already was in
+       gdk/win32/gdkwindow-win32.c
+
+       * gdk/win32/gdkproperty-win32.c : made it compile again
+       after GdkAtom API change
+
+       * gtk/gtk/makefile.msc.in : updated
+
+Wed Oct 24 11:36:33 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in (GTK_MICRO_VERSION): Version 1.3.10,
+       require GLib 1.3.10.
+
+       * NEWS: updates.
+
+Thu Oct 25 16:27:29 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtkrbtree.c (_gtk_rbnode_rotate_left): Add support for
+       invalid nodes.
+        (_gtk_rbnode_rotate_right): Ditto.
+        (_gtk_rbtree_node_mark_invalid): New function.
+        (_gtk_rbtree_node_mark_valid): New function.
+
+       * gtk/gtktreemodelsort.c (gtk_tree_model_sort_class_init): We're a
+       GObject, not a GtkObject.
+       (gtk_tree_model_sort_row_has_child_toggled): Rewrote to be more
+       correct.
+       (gtk_tree_model_sort_row_deleted): ditto.
+       (gtk_tree_model_sort_{un,}ref_node): Fix.
+
+       * gtk/gtktreeview.c: Protean incremental reflow support (commented
+       out)
+
+       * gtk/gtktreeview.h (GtkTreeViewSearchEqualFunc): change char *key
+       to const char *key.
+
+       * gtk/gtktreemodel.c (gtk_tree_row_reference_unref_path_helper):
+       Important 1 line fix to fix a lot of refcounting woes.
+
+2001-10-25  Matt Wilson  <msw@redhat.com>
+
+       * gtk/gtktextview.c (gtk_text_view_destroy): call
+       gtk_text_view_destroy_layout after gtk_text_view_set_buffer (which
+       now invalidates) so that we remove our idle functions.
+       (gtk_text_view_destroy_layout): remove the first_validate_idle as
+       well.
+
+       * gtk/gtktexttag.c (gtk_text_tag_class_init): the valid range for
+       the 'indent' property is G_MININT to G_MAXINT.  Don't use
+       -G_MAXINT for the minimum of the 'rise' property, use G_MININT
+       instead.
+
+2001-10-24  Anders Carlsson  <andersca@gnu.org>
+
+       * gtk/gtktreeview.c: 
+       (gtk_tree_view_real_expand_row): add an animate argument
+       (gtk_tree_view_real_collapse_row): likewise
+       
+       (gtk_tree_view_button_press), (gtk_tree_view_button_release), 
+       (gtk_tree_view_collapse_all), (gtk_tree_view_expand_row),
+       (gtk_tree_view_collapse_row): update functions that call
+       real_{expand|collapse}_row to set the animate argument 
+       accordingly.
+       
+2001-10-24  Alex Larsson  <alexl@redhat.com>
+
+       * gdk/linux-fb/gdkfont-fb.c:
+       Update to new Pango APIs
+
+       * gdk/linux-fb/gdkproperty-fb.c:
+       Update to new GdkAtom APIs
+
+       * gdk/linux-fb/gdkwindow-fb.c:
+       Remove warnings
+
+Mon Oct 22 20:07:21 2001  Jonathan Blandford  <jrb@redhat.com>
+
+       * gtk/gtktreestore.c (gtk_tree_store_prepend): Fix docs, #62808
+
 Wed Oct 24 22:54:07 2001  Kristian Rietveld  <kristian@planet.nl>
 
        * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): treat