* glib/gi18n.h:
* glib/gi18n-lib.h: Include string.h, since strlen is used in
the macros. Pointed out by Ignacio Casal Quinteiro
svn path=/branches/glib-2-16/; revision=7460
2008-08-31 Emmanuele Bassi <ebassi@gnome.org>
* glib/gbookmarkfile.c:
(parse_bookmark_element), (parse_application_element),
(parse_mime_type_element), (parse_icon_element): Relax the
attributes checking of the GBookmarkFile parser for the
attributes that the desktop bookmark file specification
defines and controls. (See bug 550096)
svn path=/branches/glib-2-16/; revision=7417
* glib/pcre/Makefile.am: Set a sane default recursion limit
of 8192 instead of 1000000.
Patch by Mart Raudsepp.
svn path=/branches/glib-2-16/; revision=7211
2008-07-11 Tor Lillqvist <tml@novell.com>
Merge from trunk:
* glib-zip.in: Include also lib/gio-2.0.{lib,def} in the developer
zipfile.
svn path=/branches/glib-2-16/; revision=7176
2008-05-20 Behdad Esfahbod <behdad@gnome.org>
Bug 459905 – Bug in wcwidth data
Bug 534085 – g_unichar_iswide_cjk() has a totally wrong table
* glib/guniprop.c (g_unichar_iswide), (g_unichar_iswide_cjk):
Regenrate wide and wide_cjk tables from Unicode 5.1.0 data directly.
Not using Markus Kuhn's tables anymore.
svn path=/branches/glib-2-16/; revision=7126
* glib/gtestutils.c (g_assertion_message_cmpnum): Actually print
hex numbers in hex.
Pointed out by Tor Lillqvist
svn path=/branches/glib-2-16/; revision=7115
file
* glib/gunicollate.c (g_utf8_collate_key): Handle strfxrm returning
-1 a little better. Problem pointed out by Takao Fujiwara
svn path=/branches/glib-2-16/; revision=7114
* configure.in:
* glib/gthread.h: Revert previous patch as it doesn't improve the
situation and results in other warnings.
svn path=/branches/glib-2-16/; revision=7063
2008-06-19 Tor Lillqvist <tml@novell.com>
Bug 539074 - Cannot get exit status with g_spawn_command_line_sync()
* glib/gspawn-win32-helper.c (main): Write also the exit status of
the spawned process to the error report pipe. Patch by Hiroyuki
Ikezoe.
svn path=/branches/glib-2-16/; revision=7061
2008-05-30 Tor Lillqvist <tml@novell.com>
* glib/gstdio.c (g_access) [Win32]: Mask out X_OK to avoid problem
on Vista. X_OK was just ignored by access() in earlier Microsoft C
libraries. (Which is fine as executability has little meaning on
Windows.) The one on Vista returns an error if X_OK is passed.
svn path=/branches/glib-2-16/; revision=6962
2008-05-29 Tor Lillqvist <tml@novell.com>
* glib/gnulib/printf-args.c (printf_fetchargs): wint_t is short on
Windows, and gcc warns: "wint_t is promoted to int when passed
through ... (so you should pass int not wint_t to va_arg)." And
indeed g_print("%C", L'a') crashes. So do as gcc says then.
svn path=/branches/glib-2-16/; revision=6958
2008-05-17 Wouter Bolsterlee <wbolster@svn.gnome.org>
* build: Fixup Tor's "build" svn:external commit. The
svn:external was not actually removed, so this caused
errors when updating.
svn path=/branches/glib-2-16/; revision=6904
2008-05-17 Tor Lillqvist <tml@novell.com>
* build: Don't include the "build" module with svn:externals any
longer. Instead add the still relevant directories and files from
it for real here in GLib.
svn path=/branches/glib-2-16/; revision=6896
2008-05-14 Michael Natterer <mitch@imendio.com>
Merged from trunk:
* glib/gatomic.c: #include "config.h" before using G_ATOMIC_ARM.
svn path=/branches/glib-2-16/; revision=6890
2008-04-21 Tor Lillqvist <tml@novell.com>
Bug 528752 - Win32 build and SSL not working
This bug report against libsoup points out an issue with the use
of bitfields in the GIOChannel struct that should really be taken
care of here in GLib.
* configure.in: Add Autoconf variable GLIB_EXTRA_CFLAGS which will
contain the -mms-bitfields flag on Windows.
* glib-2.0.pc.in: Add it to Cflags.
svn path=/branches/glib-2-16/; revision=6867
2008-04-11 Tor Lillqvist <tml@novell.com>
* configure.in
* glibconfig.h.win32.in
* glib/gutils.c: Revert my changes for static build for Win32
from 2008-04-03--04. They were not complete and it's not
apropriate to do changes like that in the stable branch anyway. I
will continue that effort in trunk.
svn path=/branches/glib-2-16/; revision=6849
2008-04-09 Federico Mena Quintero <federico@novell.com>
Merged from trunk:
* glib/gbookmarkfile.c (bookmark_metadata_free): Don't leak
the apps_by_name hash table if the applications list is empty.
Signed-off-by: Federico Mena Quintero <federico@gnu.org>
svn path=/branches/glib-2-16/; revision=6847
2008-04-04 Tor Lillqvist <tml@novell.com>
* configure.in: Make sure we don't build both shared and static at
the same time on Windows. Put a #define for
GLIB_STATIC_COMPILATION into glibconfig.h in the static case, so
that the use of variables from libglib gets the GLIB_VAR macro in
gtypes.h automatically correct. This means that a shared and
static build of GLib can't be installed in the same prefix on
Windows, which sucks a bit. But with variables in the GLib API,
there isn't much we can do otherwise. The alternative would be to
force the developer who compiles against a statically built GLib
to use -DGLIB_STATIC_COMPILATION.
* glibconfig.h.win32.in: Define GLIB_STATIC_COMPILATION here also,
if needed.
svn path=/branches/glib-2-16/; revision=6823
2008-04-03 Tor Lillqvist <tml@novell.com>
* configure.in: Don't enforce shared library build only on
Windows. It might well make sense to build static libraries in
some use cases.
* glib/gutils.c: Don't compile the DllMain if building libglib
statically. Also in that case don't return NULL from
_glib_get_installation_directory(), but return the installation
directory of the program's .exe file.
svn path=/branches/glib-2-16/; revision=6819
2008-04-03 Tor Lillqvist <tml@novell.com>
Bug 525972 - UCS-4 not in the new win_iconv implementation
* glib/win_iconv.c: Add UCS-4. Also add spelling of UCS-2 without
the hyphen.
svn path=/branches/glib-2-16/; revision=6817