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