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