Clarify docs.
[platform/upstream/glib.git] / ChangeLog.pre-2-10
1 2005-09-12  Matthias Clasen  <mclasen@redhat.com>
2
3         * glib/gmarkup.c (g_markup_escape_text): Clarify docs.
4
5 2005-09-11  Sebastian Wilhelmi  <seppi@seppi.de>
6
7         * tests/refcount/Makefile.am (INCLUDES): Link the the refcount
8         tests to the system thread library $(G_THREAD_LIBS). Fixes #313744
9         and #314217.
10
11 2005-09-11  Kjartan Maraas  <kmaraas@gnome.org>
12
13         * glib/gmain.c: (g_child_watch_prepare), (g_child_watch_check),
14         (child_watch_helper_thread): Remove some dead code. Closes
15         bug #315278.
16
17 2005-09-07  Tor Lillqvist  <tml@novell.com>
18
19         * glib/Makefile.am: Create also a console version of the
20         gspawn-win32-helper program, gspawn-win32-helper-console.exe.
21         It's otherwise identical to gspawn-win32-helper.exe, except marked
22         as a console application (linked without the -mwindows option).
23         
24         * glib/gspawn-win32.c (do_spawn_directly, do_spawn_with_pipes):
25         Drop the dont_wait parameter. Its truth value correlated 100% with
26         the NULLness of the exit_status parameter anyway, so it's enough
27         to check whether exit_status is NULL. Invert the sense of the
28         dont_return_handle parameter and rename it to do_return_handle, to
29         make the code easier to read by avoiding double negations.
30
31         (g_spawn_sync_utf8, g_spawn_async_with_pipes_utf8): Modify calls
32         to do_spawn_with_pipes() accordingly.
33
34         (do_spawn_with_pipes): If we have a console, use the console
35         version of the helper program, otherwise use the GUI one. This
36         avoids extra console windows opening up in some situations. (In
37         case a console application uses the GUI gspawn-win32-helper.exe to
38         spawn another console application we would get a separate console
39         for the spawned console application).
40
41         * glib-zip.in: Distribute also gspawn-win32-helper-console.exe.
42
43 2005-09-05  Matthias Clasen  <mclasen@redhat.com>
44
45         * glib/gmappedfile.c (g_mapped_file_new): Report an error
46         if the file is too large.  (#315275, Kjartan Maraas)
47
48         * glib/gkeyfile.c (g_key_file_load_from_fd): The return value
49         of read() is signed.  (#315273, Kjartan Maraas)
50         
51 2005-08-31  Tor Lillqvist  <tml@novell.com>
52
53         * glib/gutils.h: Wrapping atexit() is a bad idea on Windows, where
54         the EXE and each DLL have their own atexit function chains.
55
56         #define g_atexit as atexit instead. This means it has a
57         better chance of doing what the caller wants. For instance,
58         gtkhtml calls g_atexit() registering a function in gtkhtml
59         itself. This caused a crash when g_atexit() was implemented as a
60         function in the GLib DLL. The gtkhtml DLL was already unloaded by
61         the time the GLib DLL got unloaded.
62
63         * glib/gutils.c: #undef the #define mentioned above, to also get a
64         real g_atexit() into the DLL for backward compatibility. Document
65         the Windows behaviour of g_atexit(), and document the varying ways
66         atexit() can behave in the context of dynamically loaded modules
67         on Unix.
68
69 2005-08-31  Matthias Clasen  <mclasen@redhat.com>
70
71         * glib/glib.symbols: 
72         * glib/gquark.h: 
73         * glib/gdataset.c: Add string interning functions.
74
75 2005-08-28  Matthias Clasen  <mclasen@redhat.com>
76
77         * glib/giochannel.c: Unify some near-duplicate strings. (#314654,
78         Clytie Siddall)
79         
80 2005-08-26  Matthias Clasen  <mclasen@redhat.com>
81
82         * configure.in: Bump version to 2.9.0
83
84 2005-08-25  Tor Lillqvist  <tml@novell.com>
85
86         Make also the g_spawn*() functions take parameters in the GLib
87         file name encoding, i.e. UTF-8, on Windows. Has no impact on Unix
88         API or ABI. Like the other GLib API that was earlier changed to
89         use UTF-8 on Windows, the names of the functions that take UTF-8
90         have _utf8 suffixes added by using preprocessor macros in the
91         header file. The old names are kept for functions with the old
92         behaviour, taking parameters in the system codepage, for DLL ABI
93         stability.
94         
95         * glib/gspawn.h: On Win32 add the suffix _utf8 to the names of the
96         g_spawn*() functions.
97         
98         * glib/gspawn-win32.c: Use wide-char API on NT-based
99         Windows. Convert parameters from UTF-8 to wide chars (NT) or
100         system codepage (Win9x) and call the C library _wspawn*() or
101         spawn*() functions respectvely. Add DLL ABI stability versions
102         that take parameters in the system codepage.
103
104         * glib/gspawn-win32-helper.c: On NT-based Windows use the
105         wide-char versions of argv and envp, and use wide-char API to
106         change directory and spawn the program to run. Remove the verbose
107         debugging output, it was too complex to modify for the wide-char
108         features. (Just add temporary debugging printouts if needed, no
109         need to have them permanently in the source.)
110
111         * glib/gspawn.c: Corresponding documentation updates.
112
113         * glib/glib.symbols: Corresponding changes: Mark the ABI stability
114         symbols as PRIVATE, add the new _utf8-suffixed ones.
115
116 2005-08-24  Stepan Kasal  <kasal@ucw.cz>
117
118         * glib/gtypes.h (G_MININT64): Cast the constant to gint64; it is
119         guint64 otherwise and that can produce warnings about comparison
120         between signed and unsigned.
121
122 2005-08-23  Matthias Clasen  <mclasen@redhat.com>
123
124         * glib/gutils.c: Fix the crt_externs.h include.
125
126 2005-08-23  Stepan Kasal  <kasal@ucw.cz>
127
128         * NEWS: Fix spelling of my first name.
129
130 2005-08-23  Matthias Clasen  <mclasen@redhat.com>
131
132         * Bump version
133
134         * === Released 2.8.1 ===
135
136         * NEWS: Updates
137
138 2005-08-20  Hans Breuer  <hans@breuer.org>
139
140         * glib/makefile.msc.in : link with ws2_32.lib
141
142 2005-08-18  Tor Lillqvist  <tml@novell.com>
143
144         * configure.in: Check for <sys/wait.h>
145
146         * glib/gbacktrace.c: Include <sys/wait.h> on if HAVE_SYS_WAIT_H.
147
148 2005-08-18  Ross Burton  <ross@burtonini.com>
149
150         * glib/gstring.c:
151         Optimise single-character insertions.
152         
153         * glib/gutf8.c:
154         Note copied code.
155         
156         * tests/string-test.c:
157         Add tests for new optimisation, and fix a leak.
158
159 2005-08-17  Matthias Clasen  <mclasen@redhat.com>
160
161         * configure.in: Check for crt_externs.h and _NSGetEnviron.
162
163         * glib/gutils.c: On Darwin, include crt-externs.h and
164         define environ using _NSGetEnviron().  (#313731)
165
166 2005-08-16  Stepan Kasal  <kasal@ucw.cz>
167
168         * glib/gutils.c (g_get_any_init): Move the body of the big if...
169         (g_get_any_init_do): ... to this new function.
170         (g_get_any_init): Declare as inline.
171         (g_get_any_init_locked): New inline function, does the locking.
172         Make use of these two throughout the code.
173
174 2005-08-15  Matthias Clasen  <mclasen@redhat.com>
175
176         * glib/gbacktrace.c (g_on_error_stack_trace): Wait for
177         the child process and then simply return. This makes 
178         The "S" option work as documented in g_on_error_query().
179         (#313125, Matthew F. Barnes)
180
181         * glib/gunicode.h: Update the link to Unicode category
182         values.  (#313369, Behnam Esfahbod)
183
184         * glib/gqueue.c (g_queue_find_custom): Clarify docs
185         a little.  (#311727, Tristan van Berkom)
186
187         * glib/abicheck.sh, gobject/abicheck.sh: Make the 
188         check work on ia64 too, where some symbols ended up 
189         in yet another section.
190