Fixed gtk-doc warnings by updating the documentation of various functions.
[platform/upstream/glib.git] / ChangeLog
1 2008-01-30  Wouter Bolsterlee  <wbolster@svn.gnome.org>
2
3         * glib/gchecksum.c:
4         * glib/gtestutils.c:
5         * glib/gutils.c:
6
7         Fixed gtk-doc warnings by updating the documentation of
8         various functions.
9
10 2008-01-29  Christian Persch  <chpe@gnome.org>
11
12         * docs/reference/glib/tmpl/macros_misc.sgml: G_GNUC_[PRETTY_]FUNCTION
13         are deprecated since 2.16, not 2.14.
14
15 2008-01-29 14:58:31  Tim Janik  <timj@imendio.com>
16
17         * glib/gmem.[hc]: changed size argument type from gulong to gsize as
18         discussed on gtk-devel-list:
19           http://mail.gnome.org/archives/gtk-devel-list/2007-March/msg00062.html
20         this should be ABI compatible on all platforms except win64 for which
21         no ABI binding port exists yet.
22
23 2008-01-29  Sebastian Wilhelmi  <wilhelmi@google.com>
24
25         * tests/threadpool-test.c (test_thread_pools): Grab
26         thread_counter_pools LOCK when increasing
27         leftover_task_counter. Fixes race in test. (#512624, Simon Murray)
28
29 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
30
31         * configure.in: Bump version
32
33 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
34
35         * === Released 2.15.4 ===
36
37         * NEWS: Updates
38
39 2008-01-28  Matthias Clasen  <mclasen@redhat.com>
40
41         * configure.in: Check for gmtime_r.  
42         * glib/gtimer.c: Use gmtime_r when available.  (#511807,
43         Sebastian Dröge)
44
45 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
46
47         * glib/gnode.[hc]: Move docs inline.  (#316260, Philippe Blain)
48
49 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
50
51         * glib/gutf8.c (g_utf8_strreverse): Document limitations
52         of this function.  (#487909, Peter Moulder)
53
54 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
55
56         * glib/goption.c (group_list_has_visible_entries):
57         Removed unused variable is_main_group.  (#512381,
58         Wouter Bolsterlee)
59
60 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
61
62         * glib/gmacros.h: Deprecate G_GNUC_(PRETTY)_FUNCTION. Bug #409360.
63
64 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
65
66         * m4macros/glib-gettext.m4: Remove AC_CANONICAL_HOST from
67         GLIB_WITH_NLS again.  (#385132)
68
69 2008-01-27  Matthias Clasen  <mclasen@redhat.com>
70
71         * configure.in: Fix the pcre Unicode test to work with
72         LDFLAGS=-Wl,--as-needed.  (#484261, Mark Lee)
73
74 2008-01-27  Murray Cumming  <murrayc@murrayc.com>
75
76         * gio/gfile.c: (g_file_replace_contents),
77         (g_file_replace_contents_finish): Document that the new_etags output 
78         gchar* should be freed.
79
80 2008-01-25  Loïc Minier  <lool@dooz.org>
81
82         * glib/goption.c: (group_has_visible_entries),
83         (group_list_has_visible_entires), (g_option_context_get_help): Pass
84         context down the implementation to check for the main_group.
85         Bug #510292.
86         * glib/tests/option-context.c:
87         Don't set G_OPTION_FLAG_IN_MAIN in main_entries
88         (group_captions): only create group when actually adding it to the
89         context; add an exit(0) to make sure the test succeeds.
90
91 2008-01-23  Jens Granseuer  <jensgr@gmx.net>
92
93         * glib/gtestutils.c: (g_test_trap_fork):
94         * glib/tests/testing.c: (test_assertions): Only declare variables at
95         the beginning of a code block. Bug #511654.
96
97 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
98
99         * configure.in: Bump version
100
101         * === Released 2.15.3 ===
102
103 2008-01-21  Tor Lillqvist  <tml@novell.com>
104
105         * glib-zip.in: Add the gio DLL to the runtime zipfile.
106
107 2008-01-21  Matthias Clasen  <mclasen@redhat.com>
108
109         * === Released 2.15.3 ===
110
111         * NEWS: Updates
112
113 2008-01-20  Murray Cumming  <murrayc@murrayc.com>
114
115         * glib/gchecksum.c: (g_checksum_update): Accept -1 for the data 
116         length if the data is a null-terminated string. Bug #510855.
117
118 2008-01-21  Alexander Larsson  <alexl@redhat.com>
119
120         * configure.in:
121         Only check for sys/inotify.h (see gio/ChangeLog) 
122
123 2008-01-18 16:51:23  Tim Janik  <timj@imendio.com>
124
125         * glib/gutils.h: don't define __GNUC_PREREQ which is not in the glib
126         namespace. for gcc, define G_INLINE_FUNC to "static inline" as with
127         all other C compilers, because newer GCC versions incompatibly
128         changed "extern inline" semantics.
129
130 2008-01-18  Murray Cumming  <murrayc@murrayc.com>
131
132         * glib/gfileutils.c:
133         * glib/gsequence.c:
134         * glib/gstring.c: Fixed some minor typos in the documentation.
135
136 2008-01-16  Dan Winship  <danw@gnome.org>
137
138         * glib/gchecksum.c (md5_sum_update): Fix another bug (which
139         doesn't affect the results, but may cause it to read bad memory).
140
141 2008-01-15  Alexander Larsson  <alexl@redhat.com>
142
143         * glib/gurifuncs.c:
144         Clarify docs for g_uri_unescape_string() (#508773)
145
146 2008-01-14  Dan Winship  <danw@gnome.org>
147
148         * m4macros/glib-2.0.m4: Support gio in AM_PATH_GLIB_2_0 (#509465)
149
150 2008-01-15  Dan Winship  <danw@gnome.org>
151
152         * glib/gchecksum.c (md5_sum_update): fix this; the previous code
153         gave the wrong md5sum when called in certain ways with buffers
154         larger than 64 bytes.
155         (g_checksum_update): remove the unnecessary "length > 1"
156         restriction
157
158         * tests/checksum-test.c: Rewrite this to be much more exhaustive
159         (and in particular to test the md5_sum_update bugfix).
160
161 2008-01-14  Matthias Clasen  <mclasen@redhat.com>
162
163         * configure.in: Bump version
164
165         * === Released 2.15.2 ===
166
167         * NEWS: Updates
168
169 2008-01-14  Alexander Larsson  <alexl@redhat.com>
170
171         * glib/gurifuncs.c:
172         Clarify docs for g_uri_escape_string (#508773)
173
174 2008-01-12  Andre Klapper  <a9016009@gmx.de>
175
176         * configure.in: ALL_LINGUAS: remove line breaks from previous 
177         commit to get damned-lies stats correct again. Add Sinhala (si).
178
179 2008-01-11  Matthias Clasen  <mclasen@redhat.com>
180
181         * glib/gtestutils.c: Fix a docs typo
182
183 2008-01-11 12:55:19  Tim Janik  <timj@imendio.com>
184
185         * tests/testingbase64.c: added g_base64_encode()/g_base64_decode()
186         test case by Asbjoern Pettersen. fixed up coding style.
187
188 2008-01-11 09:00:28  Tim Janik  <timj@imendio.com>
189
190         * glib/Makefile.am (install-exec-hook): use mv/sed/rm on a temporary
191         file instead of "sed -i" which is not portable enough.
192
193 2008-01-08  Alexander Larsson  <alexl@redhat.com>
194
195         * tests/cxx-test.C:
196         Add gio/gio.h include to check for c++ problems.
197
198 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
199
200         * configure.in: Bump version
201
202         * === Released 2.15.1 ===
203
204 2008-01-07  Alexander Larsson  <alexl@redhat.com>
205
206         * configure.in:
207         Add gio/test/Makefile to AC_CONFIG_FILES
208
209 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
210
211         * NEWS: Updates
212
213 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
214
215         * glib/gregex.c: Add a translator comment (#503051, 
216         Pedro de Medeiros)
217
218 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
219
220         * glib/gutils.h: Cope with gcc 4.3 changed 'extern inline'
221         semantics.  (#315437, patch by Loïc Minier)
222
223 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
224
225         * glib/gspawn.c (fdwalk): Don't set open_max to
226         RLIM_INFINITY.  (#495589, Tommi Komulainen)
227
228 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
229
230         * README.in, INSTALL.in: Document new dependencies.
231
232 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
233
234         * gio-2.0.pc.in, gio-2.0-uninstalled.pc.in: Require glib-2.0
235         (#507628)
236
237 2008-01-04  Mathias Hasselmann  <mathias@openismus.com>
238
239         Resolve 64 bit-shift bug in g_markup_collect_attributes.
240         Spotted by Lieven van der Heide.
241
242         * glib/gmarkup.c: Use G_GUINT64_CONSTANT in bit-shift.
243
244 2008-01-02  Alvaro Lopez Ortega  <alvaro@sun.com>
245
246         * gio/gunixmount.c (g_unix_mount_unmount, g_unix_mount_eject):
247         These void functions were trying to return a value. It was causing
248         the compilation to fail.
249
250 2008-01-02  Alvaro Lopez Ortega  <alvaro@sun.com>
251
252         * glib/ghash.c (g_hash_table_replace, g_hash_table_insert): These
253         functions prototype defines its output as void, and therefore they
254         should not return any value. This patch fixes a compilation error:
255         the "return" clauses were incompatible with the functions prototype.
256
257 2007-12-31  Matthias Clasen  <mclasen@redhat.com>
258
259         * glib/gslice.c: Remove C99 comments
260
261 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
262
263         * glib/gtestutils.h:
264         * glib/glib.symbols: Mark assertion functions as G_GNUC_NORETURN.
265         (#506461, Sebastian Dröge)
266
267 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
268
269         * glib/gtestutils.c: Include sys/time.h.  (#505258)
270
271 2007-12-22  Mathias Hasselmann  <mathias@openismus.com>
272
273         Do not show empty groups in --help output. Initial patch from Yevgen
274         Muntyan. (#504142)
275
276         * glib/goption.c: Do not show empty groups in --help output.
277         * glib/tests/Makefile.am: Add option-context.c
278         * glib/tests/option-context.c: Test skipping of empty groups.
279
280 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
281
282         * glib/gkeyfile.c: Remove wrong documentation about start group
283         handling.  (#476856, Areg Beketovski)
284
285 2007-12-21 18:02:30  Tim Janik  <timj@imendio.com>
286
287         * glib/Makefile.am: use "sed -i.bak <CMD> <FILE> && rm -f <FILE>.bak"
288         syntax for install-exec-hook, which seems to be the only "sed -i"
289         variant that is portable across linux and MacOS.
290
291 2007-12-21  Matthias Clasen  <mclasne@redhat.com>
292
293         * glib/gtestutils.h: Bring up to GLib coding standards: remove
294         C99 comments, trailing commas in enumerations and extra ; after
295         G_BEGIN/END_DECLS. Among other things, this makes xulrunner build
296         against GLib 2.15.
297
298         * glib/gtester.c: More of the same
299
300 2007-12-09  Hans Breuer  <hans@breuer.org>
301
302         * tests/gio-ls.c : adapt to recent api changes
303         * tests/testglib.c : variable declaration at the beginning of a block
304         
305         (Lieven van der Heide, #503602)
306         * win32-fixup.pl : process *.rc.in as well; substitute 
307         LT_CURRENT_MINUS_AGE
308         * glib/makefile.msc.in : alphabetic sorting of OBJECTS
309
310 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
311
312         * configure.in: Bump version
313
314         * === Released 2.15.0 ===
315
316         * NEWS: Updates
317
318         * glib/Makefile.am: Fix make dist
319
320 2007-12-20 16:34:04  Tim Janik  <timj@imendio.com>
321
322         * glib/gtester-report: commented class definitions. moved HTML character
323         escaping out of javascript. fixed string->bool conversions. added performance
324         results to test case "Details" window.
325
326 2007-12-20  Matthias Clasen  <mclasen@redhat.com>
327
328         * glib/gchecksum.[hc] (g_checksum_new): Return NULL when 
329         the checksum_type is unknown.  (#501853)
330
331 2007-12-20  Christian Persch  <chpe@gnome.org>
332
333         * glib/gchecksum.c (g_checksum_new): Use g_slice_new0, to fix
334         "conditional jump or move depends on uninitialised value(s)" error
335         from valgrind. Bug #504527.
336
337 2007-12-20 15:17:04  Tim Janik  <timj@imendio.com>
338
339         * Makefile.decl: generate HTML reports for test-report perf-report full-report.
340
341 2007-12-20 15:03:51  Tim Janik  <timj@imendio.com>
342
343         * glib/gtester-report: new python script that generates an HTML
344         unit test report from the XML files generated by gtester.
345
346         * glib/Makefile.am: install gtester-report in $bindir and configure
347         it upon installation (version number and python shebang).
348
349 2007-12-19  Matthias Clasen  <mclasen@redhat.com>
350
351         * glib/glib.symbols: Add g_async_queue_new_full
352
353 2007-12-19 20:30:18  Tim Janik  <timj@imendio.com>
354
355         * glib/gtestutils.c: capture g_log() messages and send to gtester.
356         also, send assertion messages to gtester.
357
358         * glib/gtester.c: add error messages to output log file.
359         force child poll loop to abort if waitpid() signaled child exit,
360         eventhough the child's report file descriptor wasn't closed.
361
362 2007-12-19  Christian Persch  <chpe@gnome.org>
363
364         * glib/gchecksum.c: (g_checksum_type_get_length),
365         (g_checksum_get_digest):
366         * glib/gchecksum.h:
367         * glib/glib.symbols:
368         * tests/checksum-test.c: (test_checksum): Add
369         g_checksum_type_get_length, and change g_checksum_get_digest to use a
370         provided buffer instead of returning allocated memory. Bug #501853.
371
372 2007-12-19  Emmanuele Bassi  <ebassi@gnome.org>
373
374         * glib/gtimer.c (g_time_val_from_iso8601): Fix the date validation
375         check. (#503029)
376
377         * tests/testglib.c (various_string_tests): Add an invalid date
378         for testing the above fix.
379
380 2007-12-19  Alexander Larsson  <alexl@redhat.com>
381
382         * glib/gfileutils.[ch]:
383         * glib/glib.symbols:
384         Rename g_format_file_size_for_display to g_format_size_for_display.
385
386 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
387
388         * docs/reference/glib/glib-sections.txt:
389         * glib/gasyncqueue.c: (g_async_queue_new), (g_async_queue_new_full),
390           (g_async_queue_unref):
391         * glib/gasyncqueue.h: add g_async_queue_new_full() which takes a
392           GDestroyNotify function to free any remaining queue items when the
393           queue is destroyed after the final atomic unref (#367550).
394
395 2007-12-18 13:45:23  Tim Janik  <timj@imendio.com>
396
397         * glib/gtestutils.[hc]: added g_test_trap_assert_stdout_unmatched() and
398         g_test_trap_assert_stderr_unmatched(), based on a suggestion by Mathias
399         Hasselmann. reworked g_test_trap_assertions() to use flags to encode
400         assertion semantics, fixes #504227.
401
402 2007-12-16  Mathias Hasselmann  <mathias@openismus.com>
403
404         * glib/gutils.c:
405         Allow NULL strings in g_parse_debug_string. (#503862, Matthew Barnes)
406
407 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
408
409         * glib/glib.symbols:
410         * glib/ghash.[hc]: Add hash table iterators.  (#500507,
411         Jean-Yves Lefort)
412
413         * tests/hash-test.c: Test iterators. 
414
415 2007-12-13  Mathias Hasselmann  <mathias@openismus.com>
416
417         Give exmples in error message unsupported case-changing escape
418         sequences. (503222)
419
420         * glib/gregex.c: Add examples to error message for PCRE-ERR37.
421
422 2007-12-13  Bastien Nocera  <hadess@hadess.net>
423
424         * glib/gtimer.c: (g_time_val_from_iso8601):
425         Don't try to parse dates that start with anything but a
426         digit, a plus or a minus sign, as those can't be valid
427         ISO8601 dates (Closes: #503029)
428
429 2007-12-13  Matthias Clasen  <mclasen@redhat.com>
430
431         * glib/gkeyfile.c (g_key_file_clear): Free group_hash.
432         (#503420, Christian Persch)
433
434 2007-12-12 16:06:11  Tim Janik  <timj@imendio.com>
435
436         * tests/testglib.c: split up tests and reworked code to use
437         the new test framework.
438
439         * tests/Makefile.am: added testglib to TEST_PROGS.
440
441 2007-12-11 Rahul Bhalerao <b.rahul.pm@gmail.com>
442
443         * configure.in: Added entry for Marathi Translations
444
445 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
446
447         * glib/glib.h: Include gurifuncs.h
448
449 2007-12-10  Benjamin Otte  <otte@gnome.org>
450
451         * glib/garray.h: use an intermediate cast to void * in g_array_index()
452         to not trigger cast alignment warnings, fixes #502927.
453
454 2007-12-10 15:08:59  Tim Janik  <timj@imendio.com>
455
456         * let g_warn_if_fail replace g_assert as discussed here:
457           http://mail.gnome.org/archives/gtk-devel-list/2007-October/msg00089.html
458
459         * fix bug #502498: Test framework assertion failures should follow
460         gcc error format.
461
462         * gmessages.h, gmessages.c: deprecated g_assert_warning() which is
463         unused now. removed g_assert*() definitions whcih are provided by 
464         gtestutils.h now. added g_warn_if_reached() and g_warn_if_fail()  
465         which are recommended as g_assert/g_assert_not_reached replacements
466         for non-test programs.
467         added g_warn_message() to implement g_warn_*() macros.
468         use emacs-next-error friendly formatting for file:line: for warnings.
469
470         * gtestutils.h, gtestutils.c: use emacs-next-error friendly formatting.
471         implement g_assert_not_reached() with g_assertion_message() and
472         g_assert() in terms of g_assertion_message_expr() so we'll be able to
473         provide assertion messages in test logs.
474
475         * gkeyfile.c, gbookmarkfile.c: changed g_assert*() to g_warn_if_fail()
476         or g_return_if_fail() where suitable.
477
478         * gio/: changed g_assert to g_warn_if_fail.
479
480 2007-12-10 13:02:08  Tim Janik  <timj@imendio.com>
481
482         * glib/gtestutils.c (g_assertion_message_cmpnum): applied patch by Tommi
483         Komulainen to fix int64 printouts, fixes #502511.
484
485 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
486
487         * glib/gstrfuncs.h:
488         * glib/gstrfuncs.c (g_dpgettext): Change prototype to take 
489         msgctxtid + offset instead of two strings, to avoid duplication
490         of string constants if the compiler/linker don't perform constant
491         suffix merging.  (#502590, Christian Persch)
492
493         * glib/gi18n.h:
494         * glib/gi18n-lib.h: Adapt the definitions of C_() and Q_().
495
496 2007-12-09  Hans Breuer  <hans@breuer.org>
497
498         * tests/gio-ls.c : (new file) a test program emulating some of 'ls'
499         * tests/makefile.msc.in : build it (currently on win32)
500
501         * **/makefile.msc glib/makefile.msc.in : removed -GD to compile
502         with msvc9 (vs2008) with less complains
503         
504         * glibconfig.h.win32.in : #define G_HAVE_ISO_VARARGS 1 for
505         msv8 (vs2005) and above
506         
507         * glib/gfileutils.c : s/stricmp/_stricmp/
508         * msvc_recommended_pragmas.h : work around Microsoft's premature 
509         attempt to deprecate the C-Library
510
511         * tests/makefile.msc.in : added checksum-test
512
513 2007-12-08  Christian Persch  <chpe@gnome.org>
514
515         * gio/glocalfileinfo.c: (get_thumbnail_attributes): Add forgotten
516         #ifdef G_OS_WIN32 to fix the build on linux.
517
518 2007-12-08  Hans Breuer  <hans@breuer.org>
519
520         * glib/makefile.msc.in : build gchecksum.obj
521
522 2007-12-06  Mathias Hasselmann  <mathias@openismus.com>
523
524         * glib/ghash.c: Call destroy notify when destroying
525         the hash table in g_hash_table_unref.
526
527 2007-12-06 13:29:00  Tim Janik  <timj@imendio.com>
528
529         * glib/gtester.c (child_report_cb): detect non-blocking fd EOF
530         by read()==0 following poll(), needed on MacOS.
531
532 2007-12-06  Mathias Hasselmann  <mathias@openismus.com>
533
534         * glib/gunidecomp.c: Mention g_utf8_normalize()
535         returns NULL on invalid string. (#501997)
536
537 2007-12-06  Mathias Hasselmann  <mathias@openismus.com>
538
539         * glib/gerror.c: Improve wording for g_propagate_error docs.
540
541 2007-12-06 09:27:42  Tim Janik  <timj@imendio.com>
542
543         * tests/scannerapi.c: added new scanner test from #501654, by
544         Patrick Hulin with various modifications.
545         reworked coding style, adapted to new testing framework, fixed
546         token parser test and use a forked sub process to test
547         g_scanner_error() output messages.
548
549 2007-12-05 17:58:18  Tim Janik  <timj@imendio.com>
550
551         * glib/gtester.c: added -m=thorough support to gtester.
552
553 2007-12-05 17:21:05  Tim Janik  <timj@imendio.com>
554
555         * glib/glib/gtestutils.c: print out random seed for verbose tests,
556         also adapted test result reporting slightly in verbose mode to allow
557         custom debugging output. support "thorough" as test mode alis for "slow".
558
559         * glib/glib/gtestutils.h: added g_test_thorough().
560
561         * glib/glib/gtester.c: print out the last random seed when tests fail.
562         added result attribute to test case status logging to easily spot
563         failing tests in log files. disabled debugging output when skipping tests.
564
565 2007-12-05 11:43:22  Tim Janik  <timj@imendio.com>
566
567         * glib/gtestutils.[hc]: added g_test_add_data_func() to pass data
568         into tests. allow data arguments for fixture tests.
569
570         * glib/gtestutils.c: fixed fatal log flag setup, so tests really abort
571         upon criticals/warnings/errors.
572
573         * glib/tests/testing.c: test test_data arguments.
574
575         * glib/gtester.c: some prototype fixups.
576
577 2007-12-05  Tor Lillqvist  <tml@novell.com>
578
579         * glib/win_iconv.c: Add "shift-jis" as an alternative spelling of
580         "shift_jis".
581
582 2007-12-05  Ryan Lortie  <desrt@desrt.ca>
583
584         * autogen.sh: for the benefit of git users, checkout build/ if it is
585         missing
586         * .gitignore: but after that, ignore it.
587
588 2007-12-05  Ryan Lortie  <desrt@desrt.ca>
589
590         * glib/ghash.c: ungtk-docify some comments for internal functions
591
592 2007-12-04  Emmanuele Bassi  <ebassi@gnome.org>
593
594         * gio/glocalfileinfo.c: Replace the copy-and-paste MD5 digest
595         generation with GChecksum.
596
597 2007-12-04  Emmanuele Bassi  <ebassi@gnome.org>
598
599         * glib/gchecksum.[ch]: Add GChecksum, a generic wrapper around
600         various hashing algorithms. At the moment, the MD5, SHA-1 and
601         SHA-256 algorithms are supported. (#443648)
602
603         * glib/glib.h:
604         * glib/Makefile.am:
605         * glib/glib.symbols: Build glue for GChecksum
606
607         * tests/Makefile.am
608         * tests/checksum-test.c: Add test suite for GChecksum.
609
610 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
611
612         * glib/ghash.c: no code changes; add comments to document the internal
613         functions.
614
615 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
616
617         * glib/ghash.c: no code changes; reorder functions to remove the need
618         for forward declarations.
619
620 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
621
622         * glib/ghash.c (g_hash_table_lookup_node,
623         g_hash_table_lookup_extended, g_hash_table_insert_internal,
624         g_hash_node_new): improve clarity in some functions
625
626 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
627
628         * glib/ghash.c: rename 'node' to 'node_ptr' where appropriate
629
630 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
631
632         * glib/ghash.c: convert G_HASH_TABLE_RESIZE() macro to inline function
633
634 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
635
636         * glib/glib.symbols (glib_gettext): remove stray (duplicate) entry
637         from file to fix the build
638
639 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
640
641         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
642
643 2007-12-03  Hans Breuer  <hans@breuer.org>
644
645         * glib/glib.symbols : added glib_gettext (in use by gio)
646         * makefile.msc : also try building gio
647         
648         * glib/gmarkup.c : use G_GUINT64_CONSTANT() to avoid 
649         'bad suffix on number'
650         * glib/gtestutils.c : declare cariable at the beginning of the block,
651         include <io.h> for G_OS_WIN32
652         * makefile.msc.in : add gurifuncs and gtestutils
653
654 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
655
656         * glib/ghash.c: create a common function for the many places where all
657         nodes in the table are removed (remove_all, steal_all, destroy, unref,
658         etc...)
659
660 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
661
662         * tests/hash-test.c (second_hash_test): fix memory leak, add a few
663         extra sanity tests.
664
665 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
666         
667         * glib/gkeyfile.c: Don't call g_get_language_names() per-key.
668         (#500638, Michael Meeks)
669
670 2007-12-03  Marco Barisione <marco@barisione.org>
671
672         * glib/gregex.c:
673         * glib/gregex.h: Add new error codes for when compilation fails and
674         make compilation error translatable. (#482313, Morten Welinder)
675
676 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
677
678         * glib/gkeyfile.c: Add a hash table to speed up group lookups,
679         which GKeyFile does quite a lot.  
680
681 2007-12-03  Alexander Larsson  <alexl@redhat.com>
682
683         * configure.in:
684         Add xattr checks for OSX style API (#500506)
685
686 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
687
688         * glib/ghash.c: merge more common code into functions.  Vastly
689         simplify loop logic in g_hash_table_foreach_remove_or_steal().
690
691 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
692
693         * Makefile.am: Don't descend into build/. (#500875)
694
695 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
696
697         * glib/gmarkup.h:
698         * glib/gmarkup.c: 
699         * glib/gerror.c: Add Since: tags to new API, other doc improvements.
700
701 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
702
703         * glib/gurifuncs.c: Some doc cleanups
704
705 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
706
707         * glib/gtestutils.c: Fix up some doc comments, avoid C99 comments
708
709         * glib/gconvert.c: De-doc-commentify static functions to
710         shut up gtk-doc.
711
712         * glib/gutils.c: Fix the glib_gettext doc comment.
713
714 2007-11-28  Tor Lillqvist  <tml@novell.com>
715
716         * config.h.win32.in: Update to match what configure produces.
717
718 2007-11-28  Alexander Larsson  <alexl@redhat.com>
719
720         * glib/gstring.c (g_string_append_uri_escaped):
721         Move this function before g_string_append_c so that
722         we avoid the plt call due to the undefinf of g_string_append_c
723
724 2007-11-28  Emmanuele Bassi  <ebassi@gnome.org>
725
726         * gio/Makefile.am: Remove makegioalias.pl from the marshal files
727         and avoid it being cleaned up when running make clean.
728
729 2007-11-28  Alexander Larsson  <alexl@redhat.com>
730
731         * glib/glib.symbols:
732         Add in the new symbols
733         
734         * glib/gurifuncs.c:
735         Use the aliases framework
736         
737         * glib/glibintl.h:
738         * glib/gutils.c:
739         Make the alias stuff work now that glib_gettext
740         is exported to libgio. 
741
742 2007-11-27  Ryan Lortie  <desrt@desrt.ca>
743
744         * glib/ghash.c (g_hash_table_insert, g_hash_table_replace,
745         g_hash_table_insert_internal): insert/replace were identical except
746         for a single line.  Replace both with a common function.
747
748 2007-11-27  Alexander Larsson  <alexl@redhat.com>
749
750         * gio/Makefile.am:
751         * gio/gurifuncs.[ch]:
752         * glib/Makefile.am:
753         * glib/gstring.[ch]:
754         * glib/gurifuncs.[ch]:
755         Moved gurifuncs from gio to glib
756
757 2007-11-27  Alexander Larsson  <alexl@redhat.com>
758
759         * gio/gfileinfo.[ch]:
760         * glib/gfileutils.[ch]:
761         Move g_format_file_size_for_display from gio to glib
762
763 2007-11-27  Alexander Larsson  <alexl@redhat.com>
764
765         * configure.in:
766         Allow configuration of gio-module-dir
767         
768         * gio-2.0.pc.in:
769         Export giomodules location as giomodule variable
770
771 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
772
773         * tests/markup-collect.c: Add some tests for invalid booleans
774
775 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
776  
777         Add new function g_markup_collect_attributes (bug #496847).
778  
779         * glib/glib.symbols: add g_markup_collect_attributes
780  
781         * docs/reference/glib/glib-sections.txt: 
782         * glib/gmarkup.h:
783         * glib/gmarkup.c: add g_markup_collect_attributes and new enumerated
784         type GMarkupCollectType.  Add new error code
785         G_MARKUP_ERROR_MISSING_ATTRIBUTE that is thrown by the attribute
786         collector.
787
788 2007-11-27  Tor Lillqvist  <tml@novell.com>
789
790         * glib/win_iconv.c: Some improvements, being upstreamed.
791         (must_use_null_useddefaultchar): New function, checks for those
792         codepages for which one must pass a NULL lpUsedDefaultChar pointer
793         to WideCharToMultiByte().
794         (kernel_wctomb): Use it.
795         (kernel_wctomb): Return with E2BIG immediately if bufsize is zero.
796
797 2007-11-27  Tor Lillqvist  <tml@novell.com>
798
799         * glib/gutils.c (_glib_get_locale_dir) [Win32]: Use either
800         lib/locale or share/locale depending on which one is in
801         GLIB_LOCALE_DIR. When the configury recognizes GNU gettext (based
802         on the _nl_msg_cat_cntr variable, eek), share/locale gets used.
803
804         * glib-zip.in: Likewise, look for message catalogs either in
805         lib/locale or share/locale.
806
807 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
808
809         * gio/gfileattribute.c: Fix up a doc comment.
810
811 2007-11-26  Alexander Larsson  <alexl@redhat.com>
812
813         * Makefile.am:
814         * configure.in:
815         * gio-2.0-uninstalled.pc.in:
816         * gio-2.0.pc.in: 
817         * gio-unix-2.0-uninstalled.pc.in:
818         * gio-unix-2.0.pc.in:
819         * gio/
820         * docs/reference/gio
821         Merged gio-standalone into glib.
822         
823         * glib/glibintl.h:
824         * glib/gutils.c:
825         Export glib_gettext so that gio can use it
826         Add P_ (using same domain for now)
827         Add I_ as g_intern_static_string
828
829 2007-11-26  Tor Lillqvist  <tml@novell.com>
830
831         * glib/win_iconv.c: ISO8859-1 is CP28591, not CP1252.
832
833 2007-11-26  Tor Lillqvist  <tml@novell.com>
834
835         Implement #491549: On Windows, always use the native API for
836         character set conversions instead of GNU libiconv. Almost all
837         codesets supported by GNU libiconv exist as Windows codepages.
838         One missing feature is the "C99" and "JAVA" pseudo codesets, but I
839         doubt that is worth worrying about.
840         
841         * glib/win_iconv.c: New file. iconv() implementation for
842         Windows. Placed in the public domain by Yukihiro Nakadaira
843         <yukihiro.nakadaira@gmail.com>. From
844         http://yukihiro.nakadaira.googlepages.com/win_iconv.zip, his
845         2007-11-17 version.
846
847         * glib/gconvert.c: Include win_iconv.c on Windows.
848
849         * glib/Makefile.am: Add win_iconv.c to EXTRA_DIST.
850         
851         * configure.in: Bypass iconv checks on Windows. 
852
853 2007-11-25  Tor Lillqvist  <tml@novell.com>
854
855         * glib/gtestutils.c: Add conditionals for non-Unix. Just g_error()
856         unless G_OS_UNIX for now.
857
858 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
859
860         * configure.in: Require gtk-doc 1.8.
861
862         * glib/gasyncqueue.c:
863         * glib/gdate.c:
864         * glib/gfileutils.c:
865         * glib/gmain.c:
866         * glib/gmarkup.c:
867         * glib/gregex.c:
868         * glib/gtestutils.c:
869         * glib/gutils.c: Use gtk-doc abbreviations for 
870         examples in doc comments.
871
872 2007-11-24  Matthias Clasen  <mclasen@redhat.com>
873
874         * */Makefile.am: Replace INCLUDES by AM_CPPFLAGS, other
875         cleanups.
876
877 2007-11-24  Matthias Clasen  <mclasen@redhat.com>
878
879         * tests/base64-test.c: Fix a memory overrun.
880
881 2007-11-24  Matthias Clasen  <mclasen@redhat.com>
882
883         * glib/gutils.c: Remove leftover ENABLE_NLS #ifdefs.
884
885 2007-11-23  Matthias Clasen  <mclasen@redhat.com>
886
887         * glib/gbase64.c (g_base64_encode): Don't refuse to encode
888         a single byte.  (Milan Crha)
889
890         * tests/base64-test.c: Test encoding short strings.
891
892 2007-11-23  Matthias Clasen  <mclasen@redhat.com>
893
894         * glib/gi18n-lib.h: 
895         * glib/gi18n.h: Define a two-argument macro C_() for marking
896         translatable strings with context and implement C_() and Q_()
897         using g_dpgettext().  (#142676, Morten Welinder)
898
899         * glib/glib.symbols:
900         * glib/gstrfuncs.[hc]: Implement g_dpgettext().
901
902 2007-11-23  Matthias Clasen  <mclasen@redhat.com>
903
904         * glib/goption.c: Use g_print to print out --help text in 
905         locale encoding.  (#469551, Takao Fujiwara)
906
907 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
908
909         * glib/gkeyfile.c: Set length out param in list-returning functions
910         to 0 when returning NULL.  (#498728, Christian Persch)
911
912 2007-11-21 21:06:47  Tim Janik  <timj@imendio.com>
913
914         * Makefile.decl: initialize automake variables EXTRA_DIST and
915         TEST_PROGS for unconditional appending via += in other makefiles.
916         define recursive test targets: test, test-report, perf-report,
917         full-report, as described here:
918         http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
919
920         * Makefile.am:
921         * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
922         * build/win32/Makefile.am, build/Makefile.am:
923         * docs/Makefile.am, docs/reference/Makefile.am:
924         * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
925         * gmodule/Makefile.am, tests/Makefile.am:
926         * tests/refcount/Makefile.am, tests/gobject/Makefile.am:
927         * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
928         * glib/tests/Makefile.am, glib/pcre/Makefile.am:
929         * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
930         * gthread/Makefile.am, glib/Makefile.am:
931         include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
932
933         * glib/tests/Makefile.am: removed example testing rules.
934
935         * glib/tests/testing.c: conditionalized performance and slow tests.
936
937         * glib/gtestutils.h:
938         * glib/gtestutils.c: work around g_test_config_vars not changing its
939         exported value after value assignments, aparently due to symbol aliases.
940
941         * glib/gtester.c: fixed off-by-one error which produced junk in logs.
942
943         * configure.in: check for python >= 2.4 and provide $PYTHON for scripts.
944
945 Tue Nov 20 15:59:55 2007 +0100 Tim Janik
946
947         Renamed gtestframework to gtestutils.
948
949         * glib/glib.h:
950         * glib/Makefile.am: added gtestutils.h to public includes.
951
952         * glib/gtestutils.c: include gtestutils.h.
953
954         * glib/gtestutils.h:
955         * glib/glib.symbols:
956         * glib/tests/testing.c: renamed gtestframework to gtestutils.
957
958         * glib/gtestframework.h: renamed to gtestutils.h.
959
960         * glib/gtestframework.c: renamed to gtestutils.c.
961
962 Tue Nov 20 15:29:34 2007 +0100 Tim Janik
963
964         glib/gtestframework.c: g_test_init(): make warnings and criticals fatal for all test programs.
965
966 Wed Nov 14 20:35:05 2007 +0100 Tim Janik
967
968         gtestframework.c: added test API documentation by Sven Herzberg and Tim Janik.
969
970 Wed Nov 14 19:10:28 2007 +0100 Tim Janik
971
972         gtestframework.[hc]: implemented g_test_queue_destroy() and g_test_queue_unref().
973
974 Fri Nov 9 12:28:52 2007 +0100 Tim Janik
975
976         Added g_test_bug() and related API.
977
978         * gtester.c: handle G_TEST_LOG_MESSAGE and test test message API.
979
980         * gtestframework.h, gtestframework.c: added test message API and convenience
981         API to send test messages about bug URLs.
982
983 Fri Nov 9 11:35:11 2007 +0100 Tim Janik
984
985         Added API to access test framework configuration.
986
987         * gtestframework.h, gtestframework.c: export testing configuration to test
988         programs with g_test_quick(), g_test_perf(), g_test_verbose(), g_test_quiet().
989
990 Thu Nov 8 17:55:09 2007 +0100 Tim Janik
991
992         gtester: implemented logic to handle failing tests, self tests, and validate XML reports.
993
994         * gtester.c: terminate when tests failed. keep XML valid when test cases fail.
995         restart test binaries when tests fail, resuming after the last processed test.
996         support --gtester-selftest to run gtester itself as test program.
997         support --test-arg=<arg> to pass args along to test programs. added
998         main_selftest() which does a simplistic fixture test. fail if exit
999         code of test programs is not 0.
1000
1001         * gtestframework.h: added G_TEST_LOG_SKIP_CASE test log message type.
1002
1003         * gtestframework.c: support --GTestSkipCount=<n> to skip a number of tests.
1004
1005         * tests/Makefile.am: added test-report: for demonstration purposes.
1006         added gtester-xmllint-check: and hooked it up into check:, this rule calls
1007         gtester as test program, running it's selftest, and then uses xmllint to
1008         validate the generate XML test log file.
1009
1010 Thu Nov 8 14:51:37 2007 +0100 Tim Janik
1011
1012         gtester: implemented XML logging.
1013
1014         * glib/gtester.c: log test messages to XML output file. beautified normal test
1015         result output.
1016
1017         * glib/gtestframework.c: fixed GTimer leak.
1018
1019         * glib/tests/Makefile.am: start gtester with --verbose.
1020
1021 Thu Nov 8 12:33:31 2007 +0100 Tim Janik
1022
1023         tests/Makefile.am: execute test programs with gtester, add test: to check:
1024
1025 Thu Nov 8 12:18:51 2007 +0100 Tim Janik
1026
1027         Fixed PLT symbol exports for gtestframework.h.
1028
1029         * glib/glib.symbols: added all exported gtestframework.h symbols.
1030
1031         * glib/gtestframework.c: include galias.h, galiasdef.c, define __G_TESTFRAMEWORK_C__.
1032
1033 Thu Nov 8 11:31:12 2007 +0100 Tim Janik
1034
1035         glib/gtester.c: fixed debugging flag.
1036
1037 Wed Nov 7 17:56:26 2007 +0100 Tim Janik
1038
1039         fixed bogus unistd.h include.
1040
1041 Wed Nov 7 17:53:30 2007 +0100 Tim Janik
1042
1043         Implemented test log IPC.
1044
1045         * gtester.c: read and decode log messages from test binary child processes.
1046         fixed GIOChannel and child watch handling to process all messages and avoid
1047         hangs. pass --verbose and --quiet on to children, default to --quiet.
1048
1049         * gtestframework.h: export g_test_log_type_name().
1050
1051         * gtestframework.c: send test log to --GTestLogFD=<fd> if given, removed
1052         bogus -o-option.
1053
1054 Tue Nov 6 20:07:44 2007 +0100 Tim Janik
1055
1056         gtester.c: support test case listing through gtester.
1057
1058 Tue Nov 6 20:01:06 2007 +0100 Tim Janik
1059
1060         gtestframework.c: fixed testpath matches for automatic root suite.
1061
1062 Tue Nov 6 19:50:33 2007 +0100 Tim Janik
1063
1064         gtester.c: adapted to become a rudimentary test binary launcher.
1065
1066         * gtester.c: increased read buffer size to match common unix pipe buffer size.
1067         added argument parsing and usage. changed io handling to capture and replicate
1068         stdout. fixed io handlers to be cleaned up when the child process exits (catch
1069         G_IO_ERR | G_IO_HUP). we now use pending/iteration instead of a main loop
1070         structure, to keep running until the child process exits and all io has been
1071         processed. launch the test binaries given on the command line. don't quit when
1072         a child couldn't be launched but --keep-going was specified.
1073
1074 Tue Nov 6 17:11:37 2007 +0100 Tim Janik
1075
1076         Integrated gtester program into build process.
1077
1078         * Makefile.am: build and install gtester binary.
1079
1080         * gtester.c: fixed up coding style and removed hard wired test coded.
1081
1082 Tue Nov 6 16:12:32 2007 +0100 Sven Herzberg
1083
1084         glib/gtester.c:Small -Wall fix
1085
1086 Tue Nov 6 16:05:06 2007 +0100 Sven Herzberg
1087
1088         glib/gtester.c:Implemented nonblocking reading properly now
1089
1090 Mon Nov 5 13:53:23 2007 +0100 Sven Herzberg
1091
1092         glib/gtester.c:Quit the application when the output is parsed completely, not just the process finished
1093
1094 Mon Nov 5 12:00:16 2007 +0100 Sven Herzberg
1095
1096         glib/gtester.c:Read the output of the child process
1097
1098 Mon Nov 5 11:50:59 2007 +0100 Sven Herzberg
1099
1100         glib/gtester.c:Use g_spawn_async_with_pipes()
1101
1102 Mon Nov 5 11:50:08 2007 +0100 Sven Herzberg
1103
1104         glib/gtester.c:Spawn a process async and quit gtester after the child process exited
1105
1106 Mon Nov 5 11:30:45 2007 +0100 Sven Herzberg
1107
1108         glib/gtester.c:Added a first revision of gtester
1109
1110 Tue Nov 6 16:47:06 2007 +0100 Tim Janik
1111
1112         Implemented test log serialization.
1113
1114         * glib/gtestframework.h: added g_test_log*() API.
1115
1116         * glib/gtestframework.c: implement test log serialization.
1117
1118 Tue Nov 6 14:24:54 2007 +0100 Tim Janik
1119
1120         Implemented test logging basics.
1121
1122         * glib/gtestframework.c: added --debug-log and --verbose, implemented
1123         test information logging.
1124
1125         * testing.c: test g_test_maximized_result() and g_test_minimized_result().
1126
1127 Tue Nov 6 11:52:14 2007 +0100 Tim Janik
1128
1129         Implemented g_test_timer*().
1130
1131         * gtestframework.c: implemented g_test_timer*().
1132
1133         * tests/testing.c: added a g_test_timer*() test.
1134
1135 Mon Nov 5 18:28:24 2007 +0100 Tim Janik
1136
1137         Implemented support for testpaths.
1138
1139         * gtestframework.c: implemented g_test_add_vtable() and g_test_add_func().
1140
1141         * tests/testing.c: use g_test_add() and g_test_add_func() to majorly simplify main().
1142
1143 Mon Nov 5 15:56:42 2007 +0100 Tim Janik
1144
1145         testing.c: added tests for the g_test_rand*() API.
1146
1147 Mon Nov 5 15:55:38 2007 +0100 Tim Janik
1148
1149         Implemented g_test_rand*().
1150
1151         * gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once.
1152         added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints,
1153         doubles and ranges.
1154
1155         * gtestframework.c: fixed "--seed" option and implemented g_test_rand*().
1156
1157 Mon Nov 5 15:51:43 2007 +0100 Tim Janik
1158
1159         testing.c: added tests for g_assert_cmphex() and forked test traps.
1160
1161 Mon Nov 5 15:10:18 2007 +0100 Tim Janik
1162
1163         Implemented g_test_trap_fork() API.
1164
1165         * gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API.
1166
1167         * gtestframework.c: implemented g_test_trap_fork() API.
1168
1169 Thu Nov 1 15:05:07 2007 +0100 Tim Janik
1170
1171         * glib/gtestframework.c:
1172
1173         that match a given test path.
1174         (g_test_run_suite): run suite only if it matches the existing test paths.
1175
1176         * glib/tests/testing.c: minor rename.
1177
1178 Thu Nov 1 13:45:55 2007 +0100 Tim Janik
1179
1180         GTest framework started.
1181
1182         * glib/gtestframework.h: testing framework API as proposed on gtk-devel-list.
1183         includes elaborate assertions, performance report functions, test traps,
1184         test timer, test random numbers, teardoiwn garbage collection functions
1185         and general test case / test suite management APIs.
1186
1187         * glib/gtestframework.c: first test framework implementation. already covers
1188         some test suite management APIs and assertion message implementations.
1189
1190         * glib/tests/testing.c: test program for the testing framework.
1191
1192         * glib/tests/Makefile.am: complie testing.c as test. run all tests as part of
1193         make test:.
1194
1195 Wed Oct 31 15:42:48 2007 +0100 Tim Janik
1196
1197         glib/Makefile.am: build tests/ subdir after building libglib.
1198
1199 Tue Oct 30 16:17:32 2007 +0100 Tim Janik
1200
1201         Fixed up internal 'g_test*' names.
1202
1203         * refcount/signals.c:
1204         * refcount/objects.c:
1205         * refcount/objects2.c:
1206         * refcount/closures.c:
1207         * refcount/properties.c:
1208         * refcount/properties2.c: changed namespace prefix from g_test_* to my_test_*
1209         to not clash with newly introduced g_test* API in glib.
1210
1211 Tue Oct 30 14:41:26 2007 +0100 Tim Janik
1212
1213         Added gtestframework.[hc] and glib/tests/.
1214
1215 2007-11-20  Sven Neumann  <sven@gimp.org>
1216
1217         * glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
1218         g_strjoin() to concatenate two strings.
1219
1220 2007-11-19  Marco Barisione  <marco@barisione.org>
1221
1222         * glib/gregex.c: When the compilation of a pattern fails in the error
1223         message use the character offset and not the byte offset.
1224
1225         * glib/gregex.c: Pass an unsigned long instead of an int to
1226         pcre_fullinfo() to avoid problems on 64-bit systems (#498113, Kouhei
1227         Sutou)
1228
1229 2007-11-19 10:30:33  Tim Janik  <timj@imendio.com>
1230
1231         * configure.in: updated version number to 2.15.0 for development.
1232
1233 2007-11-18  Matthias Clasen  <mclasen@redhat.com>
1234
1235         * glib/gbase64.c: Documentation improvements.  (#496518,
1236         Stefan Schulze Frielinghaus)
1237
1238 2007-11-18  Matthias Clasen  <mclasen@redhat.com>
1239
1240         * configure.in: Check whether assembler supports numerical local
1241         labels.  
1242
1243         * glib/gatomic.c: Fix powerpc implementation of atomic ops for 
1244         platforms where the assembler doesn't support numerical local
1245         labels.  (#445362)
1246
1247 2007-11-15  Ryan Lortie  <desrt@desrt.ca>
1248
1249         * docs/reference/glib/tmpl/markup.sgml:
1250         * glib/gmarkup.h:
1251         * glib/gmarkup.c: new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the
1252         parser to prepend location information (ie: "Error on line %d, char
1253         %d:") to errors generated by the GMarkupParser callbacks.
1254
1255         Closes #496046.
1256
1257 2007-11-15  Ryan Lortie  <desrt@desrt.ca>
1258
1259         * docs/reference/glib/glib-sections.txt:
1260         * glib/glib.symbols:
1261         * glib/gerror.h:
1262         * glib/gerror.c: new functions g_prefix_error and
1263         g_propagate_prefixed_error.
1264
1265 2007-11-13  Cody Russell  <bratsche@gnome.org>
1266
1267         * docs/reference/gobject/gobject-docs.sgml:
1268         * docs/reference/gobject/tut_gsignal.xml:
1269         * docs/reference/gobject/tut_gtype.xml:
1270         * docs/reference/gobject/tut_intro.xml:
1271         * docs/reference/gobject/tut_tools.xml:
1272         * docs/reference/gobject/tut_howto.xml:
1273         * docs/reference/gobject/tut_gobject.xml: Documentation fixes.
1274         Recommend macro type names such as NAUTILUS_TYPE_WINDOW (not
1275         NAUTILUS_WINDOW_TYPE).  Fixed text which erroneously stated that 
1276         superclass initializers don't run when an object is 
1277         instantiated.  Fixed numerous spelling mistakes.  Minor grammar 
1278         edits. (#490637, Adam Dingle)
1279
1280 2007-11-09  Matthias Clasen <mclasen@redhat.com>
1281
1282         * glib/gkeyfile.c: Coding style cleanups and doc 
1283         improvements.  (#491979, #491982, Areg Beketovski)
1284
1285 2007-11-09  Matthias Clasen <mclasen@redhat.com>
1286
1287         * glib/giochannel.c: Coding style cleanups and doc 
1288         improvements.  (#491975, Areg Beketovski)
1289
1290 2007-11-09  Matthias Clasen <mclasen@redhat.com>
1291
1292         * glib/gmain.c (g_main_context_iteration): Improve the
1293         docs.  (#491974, Areg Beketovski)
1294
1295 2007-11-09  Matthias Clasen <mclasen@redhat.com>
1296
1297         * glib/gdate.c: Coding style fixes.
1298
1299 2007-11-09  Matthias Clasen <mclasen@redhat.com>
1300
1301         * configure.in: Add AM_PROG_CC_C_O.
1302
1303         * Makefile.am: Remove the install-exec-local hook and use
1304         configexecincludedir_DATA instead, in an attempt to avoid
1305         automake 1.9 <> 1.10 incompatibilities.
1306
1307         * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since
1308         automake 1.10 complains.
1309
1310 2007-11-09  Matthias Clasen <mclasen@redhat.com>
1311
1312         * glib/gspawn.c (g_spawn_sync): Improve the docs.  (#491968,
1313         Areg Beketovski)
1314
1315 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1316
1317         * glib/gmain.c (g_main_context_release): 
1318         (g_main_context_acquire):
1319         (g_main_context_new): Fix the doc wording.  (#491957, 
1320         #491965, #491966, Areg Beketovski)
1321
1322 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1323
1324         * glib/gutils.c (g_set_application_name): Add a missing
1325         since tag.  (#464259, Mark Doliner)
1326
1327 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1328
1329         * glib/goption.c (g_option_context_new): Improve the docs.
1330         (#436293, Vincent Untz)
1331
1332 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1333
1334         * glib/gmain.c (g_main_loop_quit): Expand the docs 
1335         a bit.  (#317775, Søren Sandmann)
1336
1337 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1338         
1339         * autogen.sh: Accept automake 1.10, too
1340
1341         * mkinstalldirs: Temporarily add this script, to fix building
1342         from svn.
1343
1344         * Makefile.am: Use MKDIRS_P instead of mkinstalldirs, add
1345         ChangeLog.pre-2-14 and mkinstalldirs to EXTRA_DIST.
1346
1347 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1348
1349         * glib/gmarkup.h: Include gslist.h. Pointed out by Michael Natterer.
1350
1351 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1352
1353         * glib/gconvert.c (g_convert_with_iconv): Try harder to reset
1354         shift state with AIX iconv().  (#467537)
1355
1356 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1357
1358         * configure.in:
1359         * m4macros/glib-2.0.m4: Require pkg-config 0.16 in configure
1360         and in AM_PATH_GLIB_2_0 to be consistent with the use of
1361         PKG_PROG_PKG_CONFIG which was introduced in 0.16.  (#418778,
1362         Loïc Minier)
1363
1364 2007-11-08  Matthias Clasen <mclasen@redhat.com>
1365
1366         * glib/gstrfuncs.c (g_parse_long_long): Don't leave
1367         out parameters uninitialized.  (#490061, Benjamin Otte)
1368
1369 2007-11-07  Matthias Clasen <mclasen@redhat.com>
1370
1371         * glib/gmain.c (g_main_context_unref): Don't leak the
1372         condvar.  (#479724, Areg Beketovski)
1373
1374 2007-11-07  Matthias Clasen <mclasen@redhat.com>
1375
1376         * glib/glib.symbols:
1377         * glib/gmarkup.[hc] (g_markup_parse_context_get_element_stack): 
1378         New function, to get the stack of open elements.  (#452887,
1379         Ryan Lortie)
1380
1381 2007-11-07  Matthias Clasen <mclasen@redhat.com>
1382
1383         * glib/gkeyfile.[hc]: Make some functions that take
1384         a GError return boolean instead of void.  (#375651, Matt Barnes)
1385
1386 2007-11-07  Matthias Clasen <mclasen@redhat.com>
1387         
1388         * autogen.sh: Use automake 1.9
1389
1390         * acinclude.m4:
1391         * configure.in: Move some inter-*.m4 includes from
1392         configure.in to acinclude.m4 to avoid warnings when
1393         using automake 1.9.  (#449937)
1394
1395 2007-11-07  Matthias Clasen <mclasen@redhat.com>
1396
1397         === Branch for 2.14 ===