1 2005-09-05 Matthias Clasen <mclasen@redhat.com>
3 * glib/gmappedfile.c (g_mapped_file_new): Report an error
4 if the file is too large. (#315275, Kjartan Maraas)
6 * glib/gkeyfile.c (g_key_file_load_from_fd): The return value
7 of read() is signed. (#315273, Kjartan Maraas)
9 2005-08-31 Tor Lillqvist <tml@novell.com>
11 * glib/gutils.h: Wrapping atexit() is a bad idea on Windows, where
12 the EXE and each DLL have their own atexit function chains.
14 #define g_atexit as atexit instead. This means it has a
15 better chance of doing what the caller wants. For instance,
16 gtkhtml calls g_atexit() registering a function in gtkhtml
17 itself. This caused a crash when g_atexit() was implemented as a
18 function in the GLib DLL. The gtkhtml DLL was already unloaded by
19 the time the GLib DLL got unloaded.
21 * glib/gutils.c: #undef the #define mentioned above, to also get a
22 real g_atexit() into the DLL for backward compatibility. Document
23 the Windows behaviour of g_atexit(), and document the varying ways
24 atexit() can behave in the context of dynamically loaded modules
27 2005-08-31 Matthias Clasen <mclasen@redhat.com>
31 * glib/gdataset.c: Add string interning functions.
33 2005-08-28 Matthias Clasen <mclasen@redhat.com>
35 * glib/giochannel.c: Unify some near-duplicate strings. (#314654,
38 2005-08-26 Matthias Clasen <mclasen@redhat.com>
40 * configure.in: Bump version to 2.9.0
42 2005-08-25 Tor Lillqvist <tml@novell.com>
44 Make also the g_spawn*() functions take parameters in the GLib
45 file name encoding, i.e. UTF-8, on Windows. Has no impact on Unix
46 API or ABI. Like the other GLib API that was earlier changed to
47 use UTF-8 on Windows, the names of the functions that take UTF-8
48 have _utf8 suffixes added by using preprocessor macros in the
49 header file. The old names are kept for functions with the old
50 behaviour, taking parameters in the system codepage, for DLL ABI
53 * glib/gspawn.h: On Win32 add the suffix _utf8 to the names of the
56 * glib/gspawn-win32.c: Use wide-char API on NT-based
57 Windows. Convert parameters from UTF-8 to wide chars (NT) or
58 system codepage (Win9x) and call the C library _wspawn*() or
59 spawn*() functions respectvely. Add DLL ABI stability versions
60 that take parameters in the system codepage.
62 * glib/gspawn-win32-helper.c: On NT-based Windows use the
63 wide-char versions of argv and envp, and use wide-char API to
64 change directory and spawn the program to run. Remove the verbose
65 debugging output, it was too complex to modify for the wide-char
66 features. (Just add temporary debugging printouts if needed, no
67 need to have them permanently in the source.)
69 * glib/gspawn.c: Corresponding documentation updates.
71 * glib/glib.symbols: Corresponding changes: Mark the ABI stability
72 symbols as PRIVATE, add the new _utf8-suffixed ones.
74 2005-08-24 Stepan Kasal <kasal@ucw.cz>
76 * glib/gtypes.h (G_MININT64): Cast the constant to gint64; it is
77 guint64 otherwise and that can produce warnings about comparison
78 between signed and unsigned.
80 2005-08-23 Matthias Clasen <mclasen@redhat.com>
82 * glib/gutils.c: Fix the crt_externs.h include.
84 2005-08-23 Stepan Kasal <kasal@ucw.cz>
86 * NEWS: Fix spelling of my first name.
88 2005-08-23 Matthias Clasen <mclasen@redhat.com>
92 * === Released 2.8.1 ===
96 2005-08-20 Hans Breuer <hans@breuer.org>
98 * glib/makefile.msc.in : link with ws2_32.lib
100 2005-08-18 Tor Lillqvist <tml@novell.com>
102 * configure.in: Check for <sys/wait.h>
104 * glib/gbacktrace.c: Include <sys/wait.h> on if HAVE_SYS_WAIT_H.
106 2005-08-18 Ross Burton <ross@burtonini.com>
109 Optimise single-character insertions.
114 * tests/string-test.c:
115 Add tests for new optimisation, and fix a leak.
117 2005-08-17 Matthias Clasen <mclasen@redhat.com>
119 * configure.in: Check for crt_externs.h and _NSGetEnviron.
121 * glib/gutils.c: On Darwin, include crt-externs.h and
122 define environ using _NSGetEnviron(). (#313731)
124 2005-08-16 Stepan Kasal <kasal@ucw.cz>
126 * glib/gutils.c (g_get_any_init): Move the body of the big if...
127 (g_get_any_init_do): ... to this new function.
128 (g_get_any_init): Declare as inline.
129 (g_get_any_init_locked): New inline function, does the locking.
130 Make use of these two throughout the code.
132 2005-08-15 Matthias Clasen <mclasen@redhat.com>
134 * glib/gbacktrace.c (g_on_error_stack_trace): Wait for
135 the child process and then simply return. This makes
136 The "S" option work as documented in g_on_error_query().
137 (#313125, Matthew F. Barnes)
139 * glib/gunicode.h: Update the link to Unicode category
140 values. (#313369, Behnam Esfahbod)
142 * glib/gqueue.c (g_queue_find_custom): Clarify docs
143 a little. (#311727, Tristan van Berkom)
145 * glib/abicheck.sh, gobject/abicheck.sh: Make the
146 check work on ia64 too, where some symbols ended up
147 in yet another section.