Test attribute value delimiters.
[platform/upstream/glib.git] / ChangeLog.pre-2-4
index 207eafe..2a100e4 100644 (file)
@@ -1,3 +1,279 @@
+2002-02-09  Matthias Clasen  <matthias@local>
+
+       * tests/markups/valid-4.gmarkup: Test attribute value delimiters.
+
+       * glib/gmarkup.c (g_markup_parse_context_parse): Support 
+       ' and " as attribute value delimiters.  (#70677)
+
+2002-02-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Make --disable-threads work again. (#71034)
+
+Fri Feb  8 23:52:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gobject/gvaluetransform.c: Register transformations for
+       gint64, guint64. (#70780, patch from Andy Wingo)
+
+       * configure.in: Handle missing G_GINT64_FORMAT, 
+       G_GUINT64_FORMAT ... harder to require GNU libc than GCC.
+
+       * NEWS: Some cleanups that I had setting around.
+
+2002-02-08  Darin Adler  <darin@bentspoon.com>
+
+       * glib/gconvert.h: Make hostname parameter const char *.
+       * glib/gconvert.c: (g_unescape_uri_string): Added a new
+       "ASCII must not be escaped" feature, and some missing error
+       checking.
+       (is_escalphanum): New.
+       (is_escalpha): New.
+       (hostname_validate): New.
+       (g_filename_from_uri): Don't allow hostnames to include
+       escaped ASCII, validate hostnames with the new
+       hostname_validate.
+       (g_filename_to_uri): Validate hostnames with the new
+       hostname_validate.
+
+       * tests/uri-test.c: Updated tests to reflect the hostname
+       validation changes above.
+
+       * glib/gdate.c: (g_date_fill_parse_tokens): Remove the
+       <ctype.h> include and do isdigit -> g_ascii_isdigit.
+
+Fri Feb  8 12:32:14 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/hash-test.c (second_hash_test): Fix access to
+       freed memory in test case (Miroslaw Dobrzanski-Neumann).
+       Re-enable and debug some commented out code.
+
+2002-02-08  Michael Natterer  <mitch@gimp.org>
+
+       * glib/gdir.c: g_dir_open: added g_return_val_if_fail() to prevent
+       us from calling opendir(NULL) (which simply crashes).
+
+2002-02-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib/gfileutils.c (g_file_test): Extended documentation.
+
+2002-02-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib/gfileutils.c (g_file_test): Do not follow symbolic links
+       for G_FILE_TEST_SYMLINK. Also fixed the correct "OR"-behaviour for
+       G_FILE_TEST_IS_EXECUTABLE and G_FILE_TEST_EXISTS. (#60048)
+
+2002-02-07  Changwoo Ryu  <cwryu@debian.org>
+
+       * configure.in (ALL_LINGUAS): Added "ko".
+
+Wed Feb  6 14:44:18 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.c (g_main_context_prepare): Handle 
+       NULL entries (already dispatched) in pending_dispatches array 
+       (pointed out by Manish Singh)
+
+Tue Feb  5 17:13:02 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.c (g_main_context_prepare): Unref pending
+       dispatches when discarding them.
+
+2002-02-04  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib/gthread.c (g_thread_create_full): Delay allocation until
+       after all g_return_val_if_fail ().
+
+       * glib/gthread.h: Make depth member guint for cosmetic reasons.
+
+       * glib/gthread.c: (g_static_rec_mutex_unlock_full): depth should
+       be unsigned. All that spotted by Jörgen Viksell
+       <jorgen.viksell@telia.com>
+
+2002-02-02  Manish Singh  <yosh@gimp.org>
+
+       * glib/gmain.c
+       * glib/gtree.c: remove references to deprecated functions in docs
+       and warning message.
+
+2002-01-31  jacob berkman  <jacob@ximian.com>
+
+       * glib-gettextize.in:
+       * m4macros/glib-gettext.m4 (AM_GLIB_GNU_GETTEXT): remove
+       references to po2tbl
+
+2002-01-29  Matthias Clasen  <matthiasc@poet.de>
+
+       * glib/gmarkup.c (g_markup_parse_context_parse): Change the
+       order in which some error conditions are checked to improve
+       error messages. (#69646)
+
+Tue Jan 29 15:04:31 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * 1.3.13
+
+       * tests/shell-test.c: Workaround for MSVC bugs. (#61064)
+
+Tue Jan 29 14:06:22 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * NEWS: Update to include last change. 
+
+2002-01-21  Jeffrey Stedfast  <fejj@ximian.com>
+
+       * glib/gconvert.c (open_converter): Rewritten to cache iconv
+       conversion descriptors. On at least some Unix systems like
+       Solaris, iconv_open() must dlopen the necessary charset modules in
+       order to setup the descriptor. This can take a major toll on
+       performace if you are constantly opening and closing conversion
+       descriptors for the same charset conversions over and over.
+       (g_convert_with_fallback): Use close_converter() rather than
+       g_iconv_close() since open_converter() now caches iconv
+       descriptors.
+
+Tue Jan 29 11:18:44 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * NEWS: Updated.
+
+       * configure.in: Micro == 13, binary age, interface age 0.
+       [ binary breakage was return type of g_signal_connect_object(),
+       probably could have used binary age == 0, but a little safer not to.]
+
+       * configure.in: Remove configure warning.
+
+2002-01-28  Havoc Pennington  <hp@pobox.com>
+
+       * glib/gmarkup.c (add_attribute): NULL-terminate
+       context->attr_values so g_strfreev() is safe. 
+       Would previously crash if parsing was ended prior 
+       to ending the start tag.
+       (g_markup_parse_context_parse): add a couple assertions
+
+2002-01-28  Havoc Pennington  <hp@redhat.com>
+
+       * glib/gmacros.h: get rid of warning here
+
+Mon Jan 28 17:56:10 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmacros.h: Only use __FUNCTION__, __PRETTY_FUNCTION__ for
+       G_GNUC_FUNCTION, G_GNUC_PRETTY_FUNCTION, G_STRLOC when __GNUC__ <
+       3, since in 3.0.3 the semantics of these functions were changed in
+       an incompatible way. (#69097)
+
+2002-01-28  Ron Steinke  <rsteinke@w-link.net>
+
+       * glib/giochannel.c: Some documentation fixes/elaborations
+       I really should have gotten in a long time ago
+
+2002-01-24  Sven Neumann  <sven@gimp.org>
+
+       * glib/gutf8.c (g_utf8_to_utf16): removed an empty line in the
+       inline documentation that confused gtk-doc.
+
+2002-01-23  Laszlo Peter  <laca@ireland.sun.com>
+
+       * glib/gmessages.c (g_printf_string_upper_bound): return 1 more
+       for the trailing '\0' when using vsnprintf. (#69474)
+
+2002-01-23  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gconvert.c: (strdup_len): Not used on Windows, don't even
+       compile it then.
+
+       (acceptable): Improve comments for the _acceptable_ table: put
+       each ASCII char above the hex number for it.
+
+       (g_escape_file_uri): On Windows, turn backslashes in the file name
+       into plain ("forward") slashes.
+
+       (g_filename_from_uri): On Windows, don't return the hostname
+       "localhost", because we can not be 100% sure it will be recognized
+       in all cases anyway, so simpler to turn it into a null
+       hostname. 
+
+       Change slashes in the filename into backslashes, as that is the
+       more canonical separator.
+
+       Recognize drive letters (either followed by a colon or a vertical
+       bar, as used by some browsers), and if the filename part starts
+       with a such, don't include any (back)slash.
+
+       Don't drop any extra leading slash in the filename on Unix.
+
+       (g_filename_to_uri): On Windows, if the hostname is "localhost",
+       don't use it, for consistency with g_filename_from_uri().
+       
+       * tests/uri-test.c: Change accordingly, so that all tests pass on
+       Windows. Unix, too, I hope, though I couldn't check that now.
+
+       (main): Unset the G_BROKEN_FILENAMES environment variable on Unix,
+       as some tests require that filenames are in UTF-8. Is unsetenv()
+       portable?
+
+       These changes should fix bugs #59387, #59652, #59657 and #59658.
+       
+2002-01-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Get the right multithread option for GCC 3.0 and
+       later on AIX. (#67583)
+
+2002-01-21  Jeffrey Stedfast  <fejj@ximian.com>
+
+       * glib/gconvert.c (g_convert_with_fallback): If g_convert fails,
+       set bytes_written to 0 and close the iconv descriptor that was
+       opened a few lines above. On a successful return, calculate
+       bytes_written to be outp - dest instead of outp - str.
+
+2002-01-16  Sven Neumann  <sven@gimp.org>
+
+       * acinclude.m4
+       * m4macros/glib-gettext.m4: removed the --disable-nls option. You
+       can't disable Native Language Support since we rely on it.
+
+       * configure.in: nicer --help output.
+
+Tue Jan  8 11:33:28 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * docs/Makefile.am (EXTRA_DIST): Add text files to EXTRA_DIST.
+       (#68239, Matthias Clasen)
+
+2002-01-07  Zbigniew Chyla  <cyba@gnome.pl>
+
+       * configure.in (ALL_LINGUAS): Added pl.
+
+2002-01-05  Hans Breuer  <hans@breuer.org>
+
+       * glibconfig.h.win32.in 
+         msvc_recommended_pragmas.h (new file) : moved warning to
+       error pragmas to their own file to not force 'good practice'
+       programming in downstream libs and apps. Instead the new header
+       will be used by -FImsvc_recommended_pragmas.h in gnome/cvs
+       makefile.msc
+       * */makefile.msc.in : use -FImsvc_recommended_pragmas.h
+
+       * makefile.am : add msvc_recommended_pragmas.h to EXTRA_DIST
+
+2001-12-31  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gutils.c (g_get_any_init): (Win32) Use longer buffer for
+       user name.
+
+Sat Dec 29 15:07:21 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gspawn.c (script_execute): Copy trailing NULL
+       into new ARGV array. (#67673)
+
+2001-12-28  Sven Neumann  <sven@gimp.org>
+
+       * glib/gmessages.c: only include printf_string_upper_bound() if
+       HAVE_C99_VSNPRINTF is not defined.
+
+2001-12-27  Duarte Loreto <happyguy_pt@hotmail.com>
+
+        * configure.in: Added portuguese to ALL_LINGUAS
+
+Sat Dec 22 12:08:56 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: 1.3.12, binary, interface age 0.
+
+       * NEWS: Updated.
+
 2001-12-21  Tor Lillqvist  <tml@iki.fi>
 
        * config.h.win32.in: Add (undefined) HAVE_C99_VSNPRINTF.