Make also the g_spawn*() functions take parameters in the GLib file name
[platform/upstream/glib.git] / ChangeLog
1 2005-08-25  Tor Lillqvist  <tml@novell.com>
2
3         Make also the g_spawn*() functions take parameters in the GLib
4         file name encoding, i.e. UTF-8, on Windows. Has no impact on Unix
5         API or ABI. Like the other GLib API that was earlier changed to
6         use UTF-8 on Windows, the names of the functions that take UTF-8
7         have _utf8 suffixes added by using preprocessor macros in the
8         header file. The old names are kept for functions with the old
9         behaviour, taking parameters in the system codepage, for DLL ABI
10         stability.
11         
12         * glib/gspawn.h: On Win32 add the suffix _utf8 to the names of the
13         g_spawn*() functions.
14         
15         * glib/gspawn-win32.c: Use wide-char API on NT-based
16         Windows. Convert parameters from UTF-8 to wide chars (NT) or
17         system codepage (Win9x) and call the C library _wspawn*() or
18         spawn*() functions respectvely. Add DLL ABI stability versions
19         that take parameters in the system codepage.
20
21         * glib/gspawn-win32-helper.c: On NT-based Windows use the
22         wide-char versions of argv and envp, and use wide-char API to
23         change directory and spawn the program to run. Remove the verbose
24         debugging output, it was too complex to modify for the wide-char
25         features. (Just add temporary debugging printouts if needed, no
26         need to have them permanently in the source.)
27
28         * glib/gspawn.c: Corresponding documentation updates.
29
30         * glib/glib.symbols: Corresponding changes: Mark the ABI stability
31         symbols as PRIVATE, add the new _utf8-suffixed ones.
32
33 2005-08-24  Stepan Kasal  <kasal@ucw.cz>
34
35         * glib/gtypes.h (G_MININT64): Cast the constant to gint64; it is
36         guint64 otherwise and that can produce warnings about comparison
37         between signed and unsigned.
38
39 2005-08-23  Matthias Clasen  <mclasen@redhat.com>
40
41         * glib/gutils.c: Fix the crt_externs.h include.
42
43 2005-08-23  Stepan Kasal  <kasal@ucw.cz>
44
45         * NEWS: Fix spelling of my first name.
46
47 2005-08-23  Matthias Clasen  <mclasen@redhat.com>
48
49         * Bump version
50
51         * === Released 2.8.1 ===
52
53         * NEWS: Updates
54
55 2005-08-20  Hans Breuer  <hans@breuer.org>
56
57         * glib/makefile.msc.in : link with ws2_32.lib
58
59 2005-08-18  Tor Lillqvist  <tml@novell.com>
60
61         * configure.in: Check for <sys/wait.h>
62
63         * glib/gbacktrace.c: Include <sys/wait.h> on if HAVE_SYS_WAIT_H.
64
65 2005-08-18  Ross Burton  <ross@burtonini.com>
66
67         * glib/gstring.c:
68         Optimise single-character insertions.
69         
70         * glib/gutf8.c:
71         Note copied code.
72         
73         * tests/string-test.c:
74         Add tests for new optimisation, and fix a leak.
75
76 2005-08-17  Matthias Clasen  <mclasen@redhat.com>
77
78         * configure.in: Check for crt_externs.h and _NSGetEnviron.
79
80         * glib/gutils.c: On Darwin, include crt-externs.h and
81         define environ using _NSGetEnviron().  (#313731)
82
83 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
84
85         * glib/gutils.c (g_get_any_init): Move the body of the big if...
86         (g_get_any_init_do): ... to this new function.
87         (g_get_any_init): Declare as inline.
88         (g_get_any_init_locked): New inline function, does the locking.
89         Make use of these two throughout the code.
90
91 2005-08-15  Matthias Clasen  <mclasen@redhat.com>
92
93         * glib/gbacktrace.c (g_on_error_stack_trace): Wait for
94         the child process and then simply return. This makes 
95         The "S" option work as documented in g_on_error_query().
96         (#313125, Matthew F. Barnes)
97
98         * glib/gunicode.h: Update the link to Unicode category
99         values.  (#313369, Behnam Esfahbod)
100
101         * glib/gqueue.c (g_queue_find_custom): Clarify docs
102         a little.  (#311727, Tristan van Berkom)
103
104         * glib/abicheck.sh, gobject/abicheck.sh: Make the 
105         check work on ia64 too, where some symbols ended up 
106         in yet another section.
107