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