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