Improve wording for g_propagate_error docs.
[platform/upstream/glib.git] / ChangeLog
1 2007-12-06  Mathias Hasselmann  <mathias@openismus.com>
2
3         * glib/gerror.c: Improve wording for g_propagate_error docs.
4
5 2007-12-06 09:27:42  Tim Janik  <timj@imendio.com>
6
7         * tests/scannerapi.c: added new scanner test from #501654, by
8         Patrick Hulin with various modifications.
9         reworked coding style, adapted to new testing framework, fixed
10         token parser test and use a forked sub process to test
11         g_scanner_error() output messages.
12
13 2007-12-05 17:58:18  Tim Janik  <timj@imendio.com>
14
15         * glib/gtester.c: added -m=thorough support to gtester.
16
17 2007-12-05 17:21:05  Tim Janik  <timj@imendio.com>
18
19         * glib/glib/gtestutils.c: print out random seed for verbose tests,
20         also adapted test result reporting slightly in verbose mode to allow
21         custom debugging output. support "thorough" as test mode alis for "slow".
22
23         * glib/glib/gtestutils.h: added g_test_thorough().
24
25         * glib/glib/gtester.c: print out the last random seed when tests fail.
26         added result attribute to test case status logging to easily spot
27         failing tests in log files. disabled debugging output when skipping tests.
28
29 2007-12-05 11:43:22  Tim Janik  <timj@imendio.com>
30
31         * glib/gtestutils.[hc]: added g_test_add_data_func() to pass data
32         into tests. allow data arguments for fixture tests.
33
34         * glib/gtestutils.c: fixed fatal log flag setup, so tests really abort
35         upon criticals/warnings/errors.
36
37         * glib/tests/testing.c: test test_data arguments.
38
39         * glib/gtester.c: some prototype fixups.
40
41 2007-12-05  Tor Lillqvist  <tml@novell.com>
42
43         * glib/win_iconv.c: Add "shift-jis" as an alternative spelling of
44         "shift_jis".
45
46 2007-12-05  Ryan Lortie  <desrt@desrt.ca>
47
48         * autogen.sh: for the benefit of git users, checkout build/ if it is
49         missing
50         * .gitignore: but after that, ignore it.
51
52 2007-12-05  Ryan Lortie  <desrt@desrt.ca>
53
54         * glib/ghash.c: ungtk-docify some comments for internal functions
55
56 2007-12-04  Emmanuele Bassi  <ebassi@gnome.org>
57
58         * gio/glocalfileinfo.c: Replace the copy-and-paste MD5 digest
59         generation with GChecksum.
60
61 2007-12-04  Emmanuele Bassi  <ebassi@gnome.org>
62
63         * glib/gchecksum.[ch]: Add GChecksum, a generic wrapper around
64         various hashing algorithms. At the moment, the MD5, SHA-1 and
65         SHA-256 algorithms are supported. (#443648)
66
67         * glib/glib.h:
68         * glib/Makefile.am:
69         * glib/glib.symbols: Build glue for GChecksum
70
71         * tests/Makefile.am
72         * tests/checksum-test.c: Add test suite for GChecksum.
73
74 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
75
76         * glib/ghash.c: no code changes; add comments to document the internal
77         functions.
78
79 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
80
81         * glib/ghash.c: no code changes; reorder functions to remove the need
82         for forward declarations.
83
84 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
85
86         * glib/ghash.c (g_hash_table_lookup_node,
87         g_hash_table_lookup_extended, g_hash_table_insert_internal,
88         g_hash_node_new): improve clarity in some functions
89
90 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
91
92         * glib/ghash.c: rename 'node' to 'node_ptr' where appropriate
93
94 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
95
96         * glib/ghash.c: convert G_HASH_TABLE_RESIZE() macro to inline function
97
98 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
99
100         * glib/glib.symbols (glib_gettext): remove stray (duplicate) entry
101         from file to fix the build
102
103 2007-12-03  Behdad Esfahbod  <behdad@gnome.org>
104
105         * glib/gnulib/Makefile.am: Fix EXTRA_DIST automake warnings. (#501107)
106
107 2007-12-03  Hans Breuer  <hans@breuer.org>
108
109         * glib/glib.symbols : added glib_gettext (in use by gio)
110         * makefile.msc : also try building gio
111         
112         * glib/gmarkup.c : use G_GUINT64_CONSTANT() to avoid 
113         'bad suffix on number'
114         * glib/gtestutils.c : declare cariable at the beginning of the block,
115         include <io.h> for G_OS_WIN32
116         * makefile.msc.in : add gurifuncs and gtestutils
117
118 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
119
120         * glib/ghash.c: create a common function for the many places where all
121         nodes in the table are removed (remove_all, steal_all, destroy, unref,
122         etc...)
123
124 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
125
126         * tests/hash-test.c (second_hash_test): fix memory leak, add a few
127         extra sanity tests.
128
129 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
130         
131         * glib/gkeyfile.c: Don't call g_get_language_names() per-key.
132         (#500638, Michael Meeks)
133
134 2007-12-03  Marco Barisione <marco@barisione.org>
135
136         * glib/gregex.c:
137         * glib/gregex.h: Add new error codes for when compilation fails and
138         make compilation error translatable. (#482313, Morten Welinder)
139
140 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
141
142         * glib/gkeyfile.c: Add a hash table to speed up group lookups,
143         which GKeyFile does quite a lot.  
144
145 2007-12-03  Alexander Larsson  <alexl@redhat.com>
146
147         * configure.in:
148         Add xattr checks for OSX style API (#500506)
149
150 2007-12-03  Ryan Lortie  <desrt@desrt.ca>
151
152         * glib/ghash.c: merge more common code into functions.  Vastly
153         simplify loop logic in g_hash_table_foreach_remove_or_steal().
154
155 2007-12-01  Behdad Esfahbod  <behdad@gnome.org>
156
157         * Makefile.am: Don't descend into build/. (#500875)
158
159 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
160
161         * glib/gmarkup.h:
162         * glib/gmarkup.c: 
163         * glib/gerror.c: Add Since: tags to new API, other doc improvements.
164
165 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
166
167         * glib/gurifuncs.c: Some doc cleanups
168
169 2007-11-28  Matthias Clasen  <mclasen@redhat.com>
170
171         * glib/gtestutils.c: Fix up some doc comments, avoid C99 comments
172
173         * glib/gconvert.c: De-doc-commentify static functions to
174         shut up gtk-doc.
175
176         * glib/gutils.c: Fix the glib_gettext doc comment.
177
178 2007-11-28  Tor Lillqvist  <tml@novell.com>
179
180         * config.h.win32.in: Update to match what configure produces.
181
182 2007-11-28  Alexander Larsson  <alexl@redhat.com>
183
184         * glib/gstring.c (g_string_append_uri_escaped):
185         Move this function before g_string_append_c so that
186         we avoid the plt call due to the undefinf of g_string_append_c
187
188 2007-11-28  Emmanuele Bassi  <ebassi@gnome.org>
189
190         * gio/Makefile.am: Remove makegioalias.pl from the marshal files
191         and avoid it being cleaned up when running make clean.
192
193 2007-11-28  Alexander Larsson  <alexl@redhat.com>
194
195         * glib/glib.symbols:
196         Add in the new symbols
197         
198         * glib/gurifuncs.c:
199         Use the aliases framework
200         
201         * glib/glibintl.h:
202         * glib/gutils.c:
203         Make the alias stuff work now that glib_gettext
204         is exported to libgio. 
205
206 2007-11-27  Ryan Lortie  <desrt@desrt.ca>
207
208         * glib/ghash.c (g_hash_table_insert, g_hash_table_replace,
209         g_hash_table_insert_internal): insert/replace were identical except
210         for a single line.  Replace both with a common function.
211
212 2007-11-27  Alexander Larsson  <alexl@redhat.com>
213
214         * gio/Makefile.am:
215         * gio/gurifuncs.[ch]:
216         * glib/Makefile.am:
217         * glib/gstring.[ch]:
218         * glib/gurifuncs.[ch]:
219         Moved gurifuncs from gio to glib
220
221 2007-11-27  Alexander Larsson  <alexl@redhat.com>
222
223         * gio/gfileinfo.[ch]:
224         * glib/gfileutils.[ch]:
225         Move g_format_file_size_for_display from gio to glib
226
227 2007-11-27  Alexander Larsson  <alexl@redhat.com>
228
229         * configure.in:
230         Allow configuration of gio-module-dir
231         
232         * gio-2.0.pc.in:
233         Export giomodules location as giomodule variable
234
235 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
236
237         * tests/markup-collect.c: Add some tests for invalid booleans
238
239 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
240  
241         Add new function g_markup_collect_attributes (bug #496847).
242  
243         * glib/glib.symbols: add g_markup_collect_attributes
244  
245         * docs/reference/glib/glib-sections.txt: 
246         * glib/gmarkup.h:
247         * glib/gmarkup.c: add g_markup_collect_attributes and new enumerated
248         type GMarkupCollectType.  Add new error code
249         G_MARKUP_ERROR_MISSING_ATTRIBUTE that is thrown by the attribute
250         collector.
251
252 2007-11-27  Tor Lillqvist  <tml@novell.com>
253
254         * glib/win_iconv.c: Some improvements, being upstreamed.
255         (must_use_null_useddefaultchar): New function, checks for those
256         codepages for which one must pass a NULL lpUsedDefaultChar pointer
257         to WideCharToMultiByte().
258         (kernel_wctomb): Use it.
259         (kernel_wctomb): Return with E2BIG immediately if bufsize is zero.
260
261 2007-11-27  Tor Lillqvist  <tml@novell.com>
262
263         * glib/gutils.c (_glib_get_locale_dir) [Win32]: Use either
264         lib/locale or share/locale depending on which one is in
265         GLIB_LOCALE_DIR. When the configury recognizes GNU gettext (based
266         on the _nl_msg_cat_cntr variable, eek), share/locale gets used.
267
268         * glib-zip.in: Likewise, look for message catalogs either in
269         lib/locale or share/locale.
270
271 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
272
273         * gio/gfileattribute.c: Fix up a doc comment.
274
275 2007-11-26  Alexander Larsson  <alexl@redhat.com>
276
277         * Makefile.am:
278         * configure.in:
279         * gio-2.0-uninstalled.pc.in:
280         * gio-2.0.pc.in: 
281         * gio-unix-2.0-uninstalled.pc.in:
282         * gio-unix-2.0.pc.in:
283         * gio/
284         * docs/reference/gio
285         Merged gio-standalone into glib.
286         
287         * glib/glibintl.h:
288         * glib/gutils.c:
289         Export glib_gettext so that gio can use it
290         Add P_ (using same domain for now)
291         Add I_ as g_intern_static_string
292
293 2007-11-26  Tor Lillqvist  <tml@novell.com>
294
295         * glib/win_iconv.c: ISO8859-1 is CP28591, not CP1252.
296
297 2007-11-26  Tor Lillqvist  <tml@novell.com>
298
299         Implement #491549: On Windows, always use the native API for
300         character set conversions instead of GNU libiconv. Almost all
301         codesets supported by GNU libiconv exist as Windows codepages.
302         One missing feature is the "C99" and "JAVA" pseudo codesets, but I
303         doubt that is worth worrying about.
304         
305         * glib/win_iconv.c: New file. iconv() implementation for
306         Windows. Placed in the public domain by Yukihiro Nakadaira
307         <yukihiro.nakadaira@gmail.com>. From
308         http://yukihiro.nakadaira.googlepages.com/win_iconv.zip, his
309         2007-11-17 version.
310
311         * glib/gconvert.c: Include win_iconv.c on Windows.
312
313         * glib/Makefile.am: Add win_iconv.c to EXTRA_DIST.
314         
315         * configure.in: Bypass iconv checks on Windows. 
316
317 2007-11-25  Tor Lillqvist  <tml@novell.com>
318
319         * glib/gtestutils.c: Add conditionals for non-Unix. Just g_error()
320         unless G_OS_UNIX for now.
321
322 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
323
324         * configure.in: Require gtk-doc 1.8.
325
326         * glib/gasyncqueue.c:
327         * glib/gdate.c:
328         * glib/gfileutils.c:
329         * glib/gmain.c:
330         * glib/gmarkup.c:
331         * glib/gregex.c:
332         * glib/gtestutils.c:
333         * glib/gutils.c: Use gtk-doc abbreviations for 
334         examples in doc comments.
335
336 2007-11-24  Matthias Clasen  <mclasen@redhat.com>
337
338         * */Makefile.am: Replace INCLUDES by AM_CPPFLAGS, other
339         cleanups.
340
341 2007-11-24  Matthias Clasen  <mclasen@redhat.com>
342
343         * tests/base64-test.c: Fix a memory overrun.
344
345 2007-11-24  Matthias Clasen  <mclasen@redhat.com>
346
347         * glib/gutils.c: Remove leftover ENABLE_NLS #ifdefs.
348
349 2007-11-23  Matthias Clasen  <mclasen@redhat.com>
350
351         * glib/gbase64.c (g_base64_encode): Don't refuse to encode
352         a single byte.  (Milan Crha)
353
354         * tests/base64-test.c: Test encoding short strings.
355
356 2007-11-23  Matthias Clasen  <mclasen@redhat.com>
357
358         * glib/gi18n-lib.h: 
359         * glib/gi18n.h: Define a two-argument macro C_() for marking
360         translatable strings with context and implement C_() and Q_()
361         using g_dpgettext().  (#142676, Morten Welinder)
362
363         * glib/glib.symbols:
364         * glib/gstrfuncs.[hc]: Implement g_dpgettext().
365
366 2007-11-23  Matthias Clasen  <mclasen@redhat.com>
367
368         * glib/goption.c: Use g_print to print out --help text in 
369         locale encoding.  (#469551, Takao Fujiwara)
370
371 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
372
373         * glib/gkeyfile.c: Set length out param in list-returning functions
374         to 0 when returning NULL.  (#498728, Christian Persch)
375
376 2007-11-21 21:06:47  Tim Janik  <timj@imendio.com>
377
378         * Makefile.decl: initialize automake variables EXTRA_DIST and
379         TEST_PROGS for unconditional appending via += in other makefiles.
380         define recursive test targets: test, test-report, perf-report,
381         full-report, as described here:
382       http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
383
384         * Makefile.am:
385         * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
386         * build/win32/Makefile.am, build/Makefile.am:
387         * docs/Makefile.am, docs/reference/Makefile.am:
388         * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
389         * gmodule/Makefile.am, tests/Makefile.am:
390         * tests/refcount/Makefile.am, tests/gobject/Makefile.am:
391         * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
392         * glib/tests/Makefile.am, glib/pcre/Makefile.am:
393         * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
394         * gthread/Makefile.am, glib/Makefile.am:
395         include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
396
397         * glib/tests/Makefile.am: removed example testing rules.
398
399         * glib/tests/testing.c: conditionalized performance and slow tests.
400
401         * glib/gtestutils.h:
402         * glib/gtestutils.c: work around g_test_config_vars not changing its
403         exported value after value assignments, aparently due to symbol aliases.
404
405         * glib/gtester.c: fixed off-by-one error which produced junk in logs.
406
407         * configure.in: check for python >= 2.4 and provide $PYTHON for scripts.
408
409 Tue Nov 20 15:59:55 2007 +0100 Tim Janik
410
411         Renamed gtestframework to gtestutils.
412
413         * glib/glib.h:
414         * glib/Makefile.am: added gtestutils.h to public includes.
415
416         * glib/gtestutils.c: include gtestutils.h.
417
418         * glib/gtestutils.h:
419         * glib/glib.symbols:
420         * glib/tests/testing.c: renamed gtestframework to gtestutils.
421
422         * glib/gtestframework.h: renamed to gtestutils.h.
423
424         * glib/gtestframework.c: renamed to gtestutils.c.
425
426 Tue Nov 20 15:29:34 2007 +0100 Tim Janik
427
428         glib/gtestframework.c: g_test_init(): make warnings and criticals fatal for all test programs.
429
430 Wed Nov 14 20:35:05 2007 +0100 Tim Janik
431
432         gtestframework.c: added test API documentation by Sven Herzberg and Tim Janik.
433
434 Wed Nov 14 19:10:28 2007 +0100 Tim Janik
435
436         gtestframework.[hc]: implemented g_test_queue_destroy() and g_test_queue_unref().
437
438 Fri Nov 9 12:28:52 2007 +0100 Tim Janik
439
440         Added g_test_bug() and related API.
441
442         * gtester.c: handle G_TEST_LOG_MESSAGE and test test message API.
443
444         * gtestframework.h, gtestframework.c: added test message API and convenience
445         API to send test messages about bug URLs.
446
447 Fri Nov 9 11:35:11 2007 +0100 Tim Janik
448
449         Added API to access test framework configuration.
450
451         * gtestframework.h, gtestframework.c: export testing configuration to test
452         programs with g_test_quick(), g_test_perf(), g_test_verbose(), g_test_quiet().
453
454 Thu Nov 8 17:55:09 2007 +0100 Tim Janik
455
456         gtester: implemented logic to handle failing tests, self tests, and validate XML reports.
457
458         * gtester.c: terminate when tests failed. keep XML valid when test cases fail.
459         restart test binaries when tests fail, resuming after the last processed test.
460         support --gtester-selftest to run gtester itself as test program.
461         support --test-arg=<arg> to pass args along to test programs. added
462         main_selftest() which does a simplistic fixture test. fail if exit
463         code of test programs is not 0.
464
465         * gtestframework.h: added G_TEST_LOG_SKIP_CASE test log message type.
466
467         * gtestframework.c: support --GTestSkipCount=<n> to skip a number of tests.
468
469         * tests/Makefile.am: added test-report: for demonstration purposes.
470         added gtester-xmllint-check: and hooked it up into check:, this rule calls
471         gtester as test program, running it's selftest, and then uses xmllint to
472         validate the generate XML test log file.
473
474 Thu Nov 8 14:51:37 2007 +0100 Tim Janik
475
476         gtester: implemented XML logging.
477
478         * glib/gtester.c: log test messages to XML output file. beautified normal test
479         result output.
480
481         * glib/gtestframework.c: fixed GTimer leak.
482
483         * glib/tests/Makefile.am: start gtester with --verbose.
484
485 Thu Nov 8 12:33:31 2007 +0100 Tim Janik
486
487         tests/Makefile.am: execute test programs with gtester, add test: to check:
488
489 Thu Nov 8 12:18:51 2007 +0100 Tim Janik
490
491         Fixed PLT symbol exports for gtestframework.h.
492
493         * glib/glib.symbols: added all exported gtestframework.h symbols.
494
495         * glib/gtestframework.c: include galias.h, galiasdef.c, define __G_TESTFRAMEWORK_C__.
496
497 Thu Nov 8 11:31:12 2007 +0100 Tim Janik
498
499         glib/gtester.c: fixed debugging flag.
500
501 Wed Nov 7 17:56:26 2007 +0100 Tim Janik
502
503         fixed bogus unistd.h include.
504
505 Wed Nov 7 17:53:30 2007 +0100 Tim Janik
506
507         Implemented test log IPC.
508
509         * gtester.c: read and decode log messages from test binary child processes.
510         fixed GIOChannel and child watch handling to process all messages and avoid
511         hangs. pass --verbose and --quiet on to children, default to --quiet.
512
513         * gtestframework.h: export g_test_log_type_name().
514
515         * gtestframework.c: send test log to --GTestLogFD=<fd> if given, removed
516         bogus -o-option.
517
518 Tue Nov 6 20:07:44 2007 +0100 Tim Janik
519
520         gtester.c: support test case listing through gtester.
521
522 Tue Nov 6 20:01:06 2007 +0100 Tim Janik
523
524         gtestframework.c: fixed testpath matches for automatic root suite.
525
526 Tue Nov 6 19:50:33 2007 +0100 Tim Janik
527
528         gtester.c: adapted to become a rudimentary test binary launcher.
529
530         * gtester.c: increased read buffer size to match common unix pipe buffer size.
531         added argument parsing and usage. changed io handling to capture and replicate
532         stdout. fixed io handlers to be cleaned up when the child process exits (catch
533         G_IO_ERR | G_IO_HUP). we now use pending/iteration instead of a main loop
534         structure, to keep running until the child process exits and all io has been
535         processed. launch the test binaries given on the command line. don't quit when
536         a child couldn't be launched but --keep-going was specified.
537
538 Tue Nov 6 17:11:37 2007 +0100 Tim Janik
539
540         Integrated gtester program into build process.
541
542         * Makefile.am: build and install gtester binary.
543
544         * gtester.c: fixed up coding style and removed hard wired test coded.
545
546 Tue Nov 6 16:12:32 2007 +0100 Sven Herzberg
547
548         glib/gtester.c:Small -Wall fix
549
550 Tue Nov 6 16:05:06 2007 +0100 Sven Herzberg
551
552         glib/gtester.c:Implemented nonblocking reading properly now
553
554 Mon Nov 5 13:53:23 2007 +0100 Sven Herzberg
555
556         glib/gtester.c:Quit the application when the output is parsed completely, not just the process finished
557
558 Mon Nov 5 12:00:16 2007 +0100 Sven Herzberg
559
560         glib/gtester.c:Read the output of the child process
561
562 Mon Nov 5 11:50:59 2007 +0100 Sven Herzberg
563
564         glib/gtester.c:Use g_spawn_async_with_pipes()
565
566 Mon Nov 5 11:50:08 2007 +0100 Sven Herzberg
567
568         glib/gtester.c:Spawn a process async and quit gtester after the child process exited
569
570 Mon Nov 5 11:30:45 2007 +0100 Sven Herzberg
571
572         glib/gtester.c:Added a first revision of gtester
573
574 Tue Nov 6 16:47:06 2007 +0100 Tim Janik
575
576         Implemented test log serialization.
577
578         * glib/gtestframework.h: added g_test_log*() API.
579
580         * glib/gtestframework.c: implement test log serialization.
581
582 Tue Nov 6 14:24:54 2007 +0100 Tim Janik
583
584         Implemented test logging basics.
585
586         * glib/gtestframework.c: added --debug-log and --verbose, implemented
587         test information logging.
588
589         * testing.c: test g_test_maximized_result() and g_test_minimized_result().
590
591 Tue Nov 6 11:52:14 2007 +0100 Tim Janik
592
593         Implemented g_test_timer*().
594
595         * gtestframework.c: implemented g_test_timer*().
596
597         * tests/testing.c: added a g_test_timer*() test.
598
599 Mon Nov 5 18:28:24 2007 +0100 Tim Janik
600
601         Implemented support for testpaths.
602
603         * gtestframework.c: implemented g_test_add_vtable() and g_test_add_func().
604
605         * tests/testing.c: use g_test_add() and g_test_add_func() to majorly simplify main().
606
607 Mon Nov 5 15:56:42 2007 +0100 Tim Janik
608
609         testing.c: added tests for the g_test_rand*() API.
610
611 Mon Nov 5 15:55:38 2007 +0100 Tim Janik
612
613         Implemented g_test_rand*().
614
615         * gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once.
616         added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints,
617         doubles and ranges.
618
619         * gtestframework.c: fixed "--seed" option and implemented g_test_rand*().
620
621 Mon Nov 5 15:51:43 2007 +0100 Tim Janik
622
623         testing.c: added tests for g_assert_cmphex() and forked test traps.
624
625 Mon Nov 5 15:10:18 2007 +0100 Tim Janik
626
627         Implemented g_test_trap_fork() API.
628
629         * gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API.
630
631         * gtestframework.c: implemented g_test_trap_fork() API.
632
633 Thu Nov 1 15:05:07 2007 +0100 Tim Janik
634
635         * glib/gtestframework.c:
636
637         that match a given test path.
638         (g_test_run_suite): run suite only if it matches the existing test paths.
639
640         * glib/tests/testing.c: minor rename.
641
642 Thu Nov 1 13:45:55 2007 +0100 Tim Janik
643
644         GTest framework started.
645
646         * glib/gtestframework.h: testing framework API as proposed on gtk-devel-list.
647         includes elaborate assertions, performance report functions, test traps,
648         test timer, test random numbers, teardoiwn garbage collection functions
649         and general test case / test suite management APIs.
650
651         * glib/gtestframework.c: first test framework implementation. already covers
652         some test suite management APIs and assertion message implementations.
653
654         * glib/tests/testing.c: test program for the testing framework.
655
656         * glib/tests/Makefile.am: complie testing.c as test. run all tests as part of
657         make test:.
658
659 Wed Oct 31 15:42:48 2007 +0100 Tim Janik
660
661         glib/Makefile.am: build tests/ subdir after building libglib.
662
663 Tue Oct 30 16:17:32 2007 +0100 Tim Janik
664
665         Fixed up internal 'g_test*' names.
666
667         * refcount/signals.c:
668         * refcount/objects.c:
669         * refcount/objects2.c:
670         * refcount/closures.c:
671         * refcount/properties.c:
672         * refcount/properties2.c: changed namespace prefix from g_test_* to my_test_*
673         to not clash with newly introduced g_test* API in glib.
674
675 Tue Oct 30 14:41:26 2007 +0100 Tim Janik
676
677         Added gtestframework.[hc] and glib/tests/.
678
679 2007-11-20  Sven Neumann  <sven@gimp.org>
680
681         * glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
682         g_strjoin() to concatenate two strings.
683
684 2007-11-19  Marco Barisione  <marco@barisione.org>
685
686         * glib/gregex.c: When the compilation of a pattern fails in the error
687         message use the character offset and not the byte offset.
688
689         * glib/gregex.c: Pass an unsigned long instead of an int to
690         pcre_fullinfo() to avoid problems on 64-bit systems (#498113, Kouhei
691         Sutou)
692
693 2007-11-19 10:30:33  Tim Janik  <timj@imendio.com>
694
695         * configure.in: updated version number to 2.15.0 for development.
696
697 2007-11-18  Matthias Clasen  <mclasen@redhat.com>
698
699         * glib/gbase64.c: Documentation improvements.  (#496518,
700         Stefan Schulze Frielinghaus)
701
702 2007-11-18  Matthias Clasen  <mclasen@redhat.com>
703
704         * configure.in: Check whether assembler supports numerical local
705         labels.  
706
707         * glib/gatomic.c: Fix powerpc implementation of atomic ops for 
708         platforms where the assembler doesn't support numerical local
709         labels.  (#445362)
710
711 2007-11-15  Ryan Lortie  <desrt@desrt.ca>
712
713         * docs/reference/glib/tmpl/markup.sgml:
714         * glib/gmarkup.h:
715         * glib/gmarkup.c: new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the
716         parser to prepend location information (ie: "Error on line %d, char
717         %d:") to errors generated by the GMarkupParser callbacks.
718
719         Closes #496046.
720
721 2007-11-15  Ryan Lortie  <desrt@desrt.ca>
722
723         * docs/reference/glib/glib-sections.txt:
724         * glib/glib.symbols:
725         * glib/gerror.h:
726         * glib/gerror.c: new functions g_prefix_error and
727         g_propagate_prefixed_error.
728
729 2007-11-13  Cody Russell  <bratsche@gnome.org>
730
731         * docs/reference/gobject/gobject-docs.sgml:
732         * docs/reference/gobject/tut_gsignal.xml:
733         * docs/reference/gobject/tut_gtype.xml:
734         * docs/reference/gobject/tut_intro.xml:
735         * docs/reference/gobject/tut_tools.xml:
736         * docs/reference/gobject/tut_howto.xml:
737         * docs/reference/gobject/tut_gobject.xml: Documentation fixes.
738         Recommend macro type names such as NAUTILUS_TYPE_WINDOW (not
739         NAUTILUS_WINDOW_TYPE).  Fixed text which erroneously stated that 
740         superclass initializers don't run when an object is 
741         instantiated.  Fixed numerous spelling mistakes.  Minor grammar 
742         edits. (#490637, Adam Dingle)
743
744 2007-11-09  Matthias Clasen <mclasen@redhat.com>
745
746         * glib/gkeyfile.c: Coding style cleanups and doc 
747         improvements.  (#491979, #491982, Areg Beketovski)
748
749 2007-11-09  Matthias Clasen <mclasen@redhat.com>
750
751         * glib/giochannel.c: Coding style cleanups and doc 
752         improvements.  (#491975, Areg Beketovski)
753
754 2007-11-09  Matthias Clasen <mclasen@redhat.com>
755
756         * glib/gmain.c (g_main_context_iteration): Improve the
757         docs.  (#491974, Areg Beketovski)
758
759 2007-11-09  Matthias Clasen <mclasen@redhat.com>
760
761         * glib/gdate.c: Coding style fixes.
762
763 2007-11-09  Matthias Clasen <mclasen@redhat.com>
764
765         * configure.in: Add AM_PROG_CC_C_O.
766
767         * Makefile.am: Remove the install-exec-local hook and use
768         configexecincludedir_DATA instead, in an attempt to avoid
769         automake 1.9 <> 1.10 incompatibilities.
770
771         * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since
772         automake 1.10 complains.
773
774 2007-11-09  Matthias Clasen <mclasen@redhat.com>
775
776         * glib/gspawn.c (g_spawn_sync): Improve the docs.  (#491968,
777         Areg Beketovski)
778
779 2007-11-08  Matthias Clasen <mclasen@redhat.com>
780
781         * glib/gmain.c (g_main_context_release): 
782         (g_main_context_acquire):
783         (g_main_context_new): Fix the doc wording.  (#491957, 
784         #491965, #491966, Areg Beketovski)
785
786 2007-11-08  Matthias Clasen <mclasen@redhat.com>
787
788         * glib/gutils.c (g_set_application_name): Add a missing
789         since tag.  (#464259, Mark Doliner)
790
791 2007-11-08  Matthias Clasen <mclasen@redhat.com>
792
793         * glib/goption.c (g_option_context_new): Improve the docs.
794         (#436293, Vincent Untz)
795
796 2007-11-08  Matthias Clasen <mclasen@redhat.com>
797
798         * glib/gmain.c (g_main_loop_quit): Expand the docs 
799         a bit.  (#317775, Søren Sandmann)
800
801 2007-11-08  Matthias Clasen <mclasen@redhat.com>
802         
803         * autogen.sh: Accept automake 1.10, too
804
805         * mkinstalldirs: Temporarily add this script, to fix building
806         from svn.
807
808         * Makefile.am: Use MKDIRS_P instead of mkinstalldirs, add
809         ChangeLog.pre-2-14 and mkinstalldirs to EXTRA_DIST.
810
811 2007-11-08  Matthias Clasen <mclasen@redhat.com>
812
813         * glib/gmarkup.h: Include gslist.h. Pointed out by Michael Natterer.
814
815 2007-11-08  Matthias Clasen <mclasen@redhat.com>
816
817         * glib/gconvert.c (g_convert_with_iconv): Try harder to reset
818         shift state with AIX iconv().  (#467537)
819
820 2007-11-08  Matthias Clasen <mclasen@redhat.com>
821
822         * configure.in:
823         * m4macros/glib-2.0.m4: Require pkg-config 0.16 in configure
824         and in AM_PATH_GLIB_2_0 to be consistent with the use of
825         PKG_PROG_PKG_CONFIG which was introduced in 0.16.  (#418778,
826         Loïc Minier)
827
828 2007-11-08  Matthias Clasen <mclasen@redhat.com>
829
830         * glib/gstrfuncs.c (g_parse_long_long): Don't leave
831         out parameters uninitialized.  (#490061, Benjamin Otte)
832
833 2007-11-07  Matthias Clasen <mclasen@redhat.com>
834
835         * glib/gmain.c (g_main_context_unref): Don't leak the
836         condvar.  (#479724, Areg Beketovski)
837
838 2007-11-07  Matthias Clasen <mclasen@redhat.com>
839
840         * glib/glib.symbols:
841         * glib/gmarkup.[hc] (g_markup_parse_context_get_element_stack): 
842         New function, to get the stack of open elements.  (#452887,
843         Ryan Lortie)
844
845 2007-11-07  Matthias Clasen <mclasen@redhat.com>
846
847         * glib/gkeyfile.[hc]: Make some functions that take
848         a GError return boolean instead of void.  (#375651, Matt Barnes)
849
850 2007-11-07  Matthias Clasen <mclasen@redhat.com>
851         
852         * autogen.sh: Use automake 1.9
853
854         * acinclude.m4:
855         * configure.in: Move some inter-*.m4 includes from
856         configure.in to acinclude.m4 to avoid warnings when
857         using automake 1.9.  (#449937)
858
859 2007-11-07  Matthias Clasen <mclasen@redhat.com>
860
861         === Branch for 2.14 ===