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