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