1 2007-11-28 Alexander Larsson <alexl@redhat.com>
3 * glib/gstring.c (g_string_append_uri_escaped):
4 Move this function before g_string_append_c so that
5 we avoid the plt call due to the undefinf of g_string_append_c
7 2007-11-28 Emmanuele Bassi <ebassi@gnome.org>
9 * gio/Makefile.am: Remove makegioalias.pl from the marshal files
10 and avoid it being cleaned up when running make clean.
12 2007-11-28 Alexander Larsson <alexl@redhat.com>
15 Add in the new symbols
18 Use the aliases framework
22 Make the alias stuff work now that glib_gettext
23 is exported to libgio.
25 2007-11-27 Ryan Lortie <desrt@desrt.ca>
27 * glib/ghash.c (g_hash_table_insert, g_hash_table_replace,
28 g_hash_table_insert_internal): insert/replace were identical except
29 for a single line. Replace both with a common function.
31 2007-11-27 Alexander Larsson <alexl@redhat.com>
37 * glib/gurifuncs.[ch]:
38 Moved gurifuncs from gio to glib
40 2007-11-27 Alexander Larsson <alexl@redhat.com>
43 * glib/gfileutils.[ch]:
44 Move g_format_file_size_for_display from gio to glib
46 2007-11-27 Alexander Larsson <alexl@redhat.com>
49 Allow configuration of gio-module-dir
52 Export giomodules location as giomodule variable
54 2007-11-26 Matthias Clasen <mclasen@redhat.com>
56 * tests/markup-collect.c: Add some tests for invalid booleans
58 2007-11-26 Ryan Lortie <desrt@desrt.ca>
60 Add new function g_markup_collect_attributes (bug #496847).
62 * glib/glib.symbols: add g_markup_collect_attributes
64 * docs/reference/glib/glib-sections.txt:
66 * glib/gmarkup.c: add g_markup_collect_attributes and new enumerated
67 type GMarkupCollectType. Add new error code
68 G_MARKUP_ERROR_MISSING_ATTRIBUTE that is thrown by the attribute
71 2007-11-27 Tor Lillqvist <tml@novell.com>
73 * glib/win_iconv.c: Some improvements, being upstreamed.
74 (must_use_null_useddefaultchar): New function, checks for those
75 codepages for which one must pass a NULL lpUsedDefaultChar pointer
76 to WideCharToMultiByte().
77 (kernel_wctomb): Use it.
78 (kernel_wctomb): Return with E2BIG immediately if bufsize is zero.
80 2007-11-27 Tor Lillqvist <tml@novell.com>
82 * glib/gutils.c (_glib_get_locale_dir) [Win32]: Use either
83 lib/locale or share/locale depending on which one is in
84 GLIB_LOCALE_DIR. When the configury recognizes GNU gettext (based
85 on the _nl_msg_cat_cntr variable, eek), share/locale gets used.
87 * glib-zip.in: Likewise, look for message catalogs either in
88 lib/locale or share/locale.
90 2007-11-26 Matthias Clasen <mclasen@redhat.com>
92 * gio/gfileattribute.c: Fix up a doc comment.
94 2007-11-26 Alexander Larsson <alexl@redhat.com>
98 * gio-2.0-uninstalled.pc.in:
100 * gio-unix-2.0-uninstalled.pc.in:
101 * gio-unix-2.0.pc.in:
104 Merged gio-standalone into glib.
108 Export glib_gettext so that gio can use it
109 Add P_ (using same domain for now)
110 Add I_ as g_intern_static_string
112 2007-11-26 Tor Lillqvist <tml@novell.com>
114 * glib/win_iconv.c: ISO8859-1 is CP28591, not CP1252.
116 2007-11-26 Tor Lillqvist <tml@novell.com>
118 Implement #491549: On Windows, always use the native API for
119 character set conversions instead of GNU libiconv. Almost all
120 codesets supported by GNU libiconv exist as Windows codepages.
121 One missing feature is the "C99" and "JAVA" pseudo codesets, but I
122 doubt that is worth worrying about.
124 * glib/win_iconv.c: New file. iconv() implementation for
125 Windows. Placed in the public domain by Yukihiro Nakadaira
126 <yukihiro.nakadaira@gmail.com>. From
127 http://yukihiro.nakadaira.googlepages.com/win_iconv.zip, his
130 * glib/gconvert.c: Include win_iconv.c on Windows.
132 * glib/Makefile.am: Add win_iconv.c to EXTRA_DIST.
134 * configure.in: Bypass iconv checks on Windows.
136 2007-11-25 Tor Lillqvist <tml@novell.com>
138 * glib/gtestutils.c: Add conditionals for non-Unix. Just g_error()
139 unless G_OS_UNIX for now.
141 2007-11-25 Matthias Clasen <mclasen@redhat.com>
143 * configure.in: Require gtk-doc 1.8.
145 * glib/gasyncqueue.c:
152 * glib/gutils.c: Use gtk-doc abbreviations for
153 examples in doc comments.
155 2007-11-24 Matthias Clasen <mclasen@redhat.com>
157 * */Makefile.am: Replace INCLUDES by AM_CPPFLAGS, other
160 2007-11-24 Matthias Clasen <mclasen@redhat.com>
162 * tests/base64-test.c: Fix a memory overrun.
164 2007-11-24 Matthias Clasen <mclasen@redhat.com>
166 * glib/gutils.c: Remove leftover ENABLE_NLS #ifdefs.
168 2007-11-23 Matthias Clasen <mclasen@redhat.com>
170 * glib/gbase64.c (g_base64_encode): Don't refuse to encode
171 a single byte. (Milan Crha)
173 * tests/base64-test.c: Test encoding short strings.
175 2007-11-23 Matthias Clasen <mclasen@redhat.com>
178 * glib/gi18n.h: Define a two-argument macro C_() for marking
179 translatable strings with context and implement C_() and Q_()
180 using g_dpgettext(). (#142676, Morten Welinder)
183 * glib/gstrfuncs.[hc]: Implement g_dpgettext().
185 2007-11-23 Matthias Clasen <mclasen@redhat.com>
187 * glib/goption.c: Use g_print to print out --help text in
188 locale encoding. (#469551, Takao Fujiwara)
190 2007-11-22 Matthias Clasen <mclasen@redhat.com>
192 * glib/gkeyfile.c: Set length out param in list-returning functions
193 to 0 when returning NULL. (#498728, Christian Persch)
195 2007-11-21 21:06:47 Tim Janik <timj@imendio.com>
197 * Makefile.decl: initialize automake variables EXTRA_DIST and
198 TEST_PROGS for unconditional appending via += in other makefiles.
199 define recursive test targets: test, test-report, perf-report,
200 full-report, as described here:
201 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
204 * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
205 * build/win32/Makefile.am, build/Makefile.am:
206 * docs/Makefile.am, docs/reference/Makefile.am:
207 * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
208 * gmodule/Makefile.am, tests/Makefile.am:
209 * tests/refcount/Makefile.am, tests/gobject/Makefile.am:
210 * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
211 * glib/tests/Makefile.am, glib/pcre/Makefile.am:
212 * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
213 * gthread/Makefile.am, glib/Makefile.am:
214 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
216 * glib/tests/Makefile.am: removed example testing rules.
218 * glib/tests/testing.c: conditionalized performance and slow tests.
221 * glib/gtestutils.c: work around g_test_config_vars not changing its
222 exported value after value assignments, aparently due to symbol aliases.
224 * glib/gtester.c: fixed off-by-one error which produced junk in logs.
226 * configure.in: check for python >= 2.4 and provide $PYTHON for scripts.
228 Tue Nov 20 15:59:55 2007 +0100 Tim Janik
230 Renamed gtestframework to gtestutils.
233 * glib/Makefile.am: added gtestutils.h to public includes.
235 * glib/gtestutils.c: include gtestutils.h.
239 * glib/tests/testing.c: renamed gtestframework to gtestutils.
241 * glib/gtestframework.h: renamed to gtestutils.h.
243 * glib/gtestframework.c: renamed to gtestutils.c.
245 Tue Nov 20 15:29:34 2007 +0100 Tim Janik
247 glib/gtestframework.c: g_test_init(): make warnings and criticals fatal for all test programs.
249 Wed Nov 14 20:35:05 2007 +0100 Tim Janik
251 gtestframework.c: added test API documentation by Sven Herzberg and Tim Janik.
253 Wed Nov 14 19:10:28 2007 +0100 Tim Janik
255 gtestframework.[hc]: implemented g_test_queue_destroy() and g_test_queue_unref().
257 Fri Nov 9 12:28:52 2007 +0100 Tim Janik
259 Added g_test_bug() and related API.
261 * gtester.c: handle G_TEST_LOG_MESSAGE and test test message API.
263 * gtestframework.h, gtestframework.c: added test message API and convenience
264 API to send test messages about bug URLs.
266 Fri Nov 9 11:35:11 2007 +0100 Tim Janik
268 Added API to access test framework configuration.
270 * gtestframework.h, gtestframework.c: export testing configuration to test
271 programs with g_test_quick(), g_test_perf(), g_test_verbose(), g_test_quiet().
273 Thu Nov 8 17:55:09 2007 +0100 Tim Janik
275 gtester: implemented logic to handle failing tests, self tests, and validate XML reports.
277 * gtester.c: terminate when tests failed. keep XML valid when test cases fail.
278 restart test binaries when tests fail, resuming after the last processed test.
279 support --gtester-selftest to run gtester itself as test program.
280 support --test-arg=<arg> to pass args along to test programs. added
281 main_selftest() which does a simplistic fixture test. fail if exit
282 code of test programs is not 0.
284 * gtestframework.h: added G_TEST_LOG_SKIP_CASE test log message type.
286 * gtestframework.c: support --GTestSkipCount=<n> to skip a number of tests.
288 * tests/Makefile.am: added test-report: for demonstration purposes.
289 added gtester-xmllint-check: and hooked it up into check:, this rule calls
290 gtester as test program, running it's selftest, and then uses xmllint to
291 validate the generate XML test log file.
293 Thu Nov 8 14:51:37 2007 +0100 Tim Janik
295 gtester: implemented XML logging.
297 * glib/gtester.c: log test messages to XML output file. beautified normal test
300 * glib/gtestframework.c: fixed GTimer leak.
302 * glib/tests/Makefile.am: start gtester with --verbose.
304 Thu Nov 8 12:33:31 2007 +0100 Tim Janik
306 tests/Makefile.am: execute test programs with gtester, add test: to check:
308 Thu Nov 8 12:18:51 2007 +0100 Tim Janik
310 Fixed PLT symbol exports for gtestframework.h.
312 * glib/glib.symbols: added all exported gtestframework.h symbols.
314 * glib/gtestframework.c: include galias.h, galiasdef.c, define __G_TESTFRAMEWORK_C__.
316 Thu Nov 8 11:31:12 2007 +0100 Tim Janik
318 glib/gtester.c: fixed debugging flag.
320 Wed Nov 7 17:56:26 2007 +0100 Tim Janik
322 fixed bogus unistd.h include.
324 Wed Nov 7 17:53:30 2007 +0100 Tim Janik
326 Implemented test log IPC.
328 * gtester.c: read and decode log messages from test binary child processes.
329 fixed GIOChannel and child watch handling to process all messages and avoid
330 hangs. pass --verbose and --quiet on to children, default to --quiet.
332 * gtestframework.h: export g_test_log_type_name().
334 * gtestframework.c: send test log to --GTestLogFD=<fd> if given, removed
337 Tue Nov 6 20:07:44 2007 +0100 Tim Janik
339 gtester.c: support test case listing through gtester.
341 Tue Nov 6 20:01:06 2007 +0100 Tim Janik
343 gtestframework.c: fixed testpath matches for automatic root suite.
345 Tue Nov 6 19:50:33 2007 +0100 Tim Janik
347 gtester.c: adapted to become a rudimentary test binary launcher.
349 * gtester.c: increased read buffer size to match common unix pipe buffer size.
350 added argument parsing and usage. changed io handling to capture and replicate
351 stdout. fixed io handlers to be cleaned up when the child process exits (catch
352 G_IO_ERR | G_IO_HUP). we now use pending/iteration instead of a main loop
353 structure, to keep running until the child process exits and all io has been
354 processed. launch the test binaries given on the command line. don't quit when
355 a child couldn't be launched but --keep-going was specified.
357 Tue Nov 6 17:11:37 2007 +0100 Tim Janik
359 Integrated gtester program into build process.
361 * Makefile.am: build and install gtester binary.
363 * gtester.c: fixed up coding style and removed hard wired test coded.
365 Tue Nov 6 16:12:32 2007 +0100 Sven Herzberg
367 glib/gtester.c:Small -Wall fix
369 Tue Nov 6 16:05:06 2007 +0100 Sven Herzberg
371 glib/gtester.c:Implemented nonblocking reading properly now
373 Mon Nov 5 13:53:23 2007 +0100 Sven Herzberg
375 glib/gtester.c:Quit the application when the output is parsed completely, not just the process finished
377 Mon Nov 5 12:00:16 2007 +0100 Sven Herzberg
379 glib/gtester.c:Read the output of the child process
381 Mon Nov 5 11:50:59 2007 +0100 Sven Herzberg
383 glib/gtester.c:Use g_spawn_async_with_pipes()
385 Mon Nov 5 11:50:08 2007 +0100 Sven Herzberg
387 glib/gtester.c:Spawn a process async and quit gtester after the child process exited
389 Mon Nov 5 11:30:45 2007 +0100 Sven Herzberg
391 glib/gtester.c:Added a first revision of gtester
393 Tue Nov 6 16:47:06 2007 +0100 Tim Janik
395 Implemented test log serialization.
397 * glib/gtestframework.h: added g_test_log*() API.
399 * glib/gtestframework.c: implement test log serialization.
401 Tue Nov 6 14:24:54 2007 +0100 Tim Janik
403 Implemented test logging basics.
405 * glib/gtestframework.c: added --debug-log and --verbose, implemented
406 test information logging.
408 * testing.c: test g_test_maximized_result() and g_test_minimized_result().
410 Tue Nov 6 11:52:14 2007 +0100 Tim Janik
412 Implemented g_test_timer*().
414 * gtestframework.c: implemented g_test_timer*().
416 * tests/testing.c: added a g_test_timer*() test.
418 Mon Nov 5 18:28:24 2007 +0100 Tim Janik
420 Implemented support for testpaths.
422 * gtestframework.c: implemented g_test_add_vtable() and g_test_add_func().
424 * tests/testing.c: use g_test_add() and g_test_add_func() to majorly simplify main().
426 Mon Nov 5 15:56:42 2007 +0100 Tim Janik
428 testing.c: added tests for the g_test_rand*() API.
430 Mon Nov 5 15:55:38 2007 +0100 Tim Janik
432 Implemented g_test_rand*().
434 * gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once.
435 added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints,
438 * gtestframework.c: fixed "--seed" option and implemented g_test_rand*().
440 Mon Nov 5 15:51:43 2007 +0100 Tim Janik
442 testing.c: added tests for g_assert_cmphex() and forked test traps.
444 Mon Nov 5 15:10:18 2007 +0100 Tim Janik
446 Implemented g_test_trap_fork() API.
448 * gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API.
450 * gtestframework.c: implemented g_test_trap_fork() API.
452 Thu Nov 1 15:05:07 2007 +0100 Tim Janik
454 * glib/gtestframework.c:
456 that match a given test path.
457 (g_test_run_suite): run suite only if it matches the existing test paths.
459 * glib/tests/testing.c: minor rename.
461 Thu Nov 1 13:45:55 2007 +0100 Tim Janik
463 GTest framework started.
465 * glib/gtestframework.h: testing framework API as proposed on gtk-devel-list.
466 includes elaborate assertions, performance report functions, test traps,
467 test timer, test random numbers, teardoiwn garbage collection functions
468 and general test case / test suite management APIs.
470 * glib/gtestframework.c: first test framework implementation. already covers
471 some test suite management APIs and assertion message implementations.
473 * glib/tests/testing.c: test program for the testing framework.
475 * glib/tests/Makefile.am: complie testing.c as test. run all tests as part of
478 Wed Oct 31 15:42:48 2007 +0100 Tim Janik
480 glib/Makefile.am: build tests/ subdir after building libglib.
482 Tue Oct 30 16:17:32 2007 +0100 Tim Janik
484 Fixed up internal 'g_test*' names.
486 * refcount/signals.c:
487 * refcount/objects.c:
488 * refcount/objects2.c:
489 * refcount/closures.c:
490 * refcount/properties.c:
491 * refcount/properties2.c: changed namespace prefix from g_test_* to my_test_*
492 to not clash with newly introduced g_test* API in glib.
494 Tue Oct 30 14:41:26 2007 +0100 Tim Janik
496 Added gtestframework.[hc] and glib/tests/.
498 2007-11-20 Sven Neumann <sven@gimp.org>
500 * glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
501 g_strjoin() to concatenate two strings.
503 2007-11-19 Marco Barisione <marco@barisione.org>
505 * glib/gregex.c: When the compilation of a pattern fails in the error
506 message use the character offset and not the byte offset.
508 * glib/gregex.c: Pass an unsigned long instead of an int to
509 pcre_fullinfo() to avoid problems on 64-bit systems (#498113, Kouhei
512 2007-11-19 10:30:33 Tim Janik <timj@imendio.com>
514 * configure.in: updated version number to 2.15.0 for development.
516 2007-11-18 Matthias Clasen <mclasen@redhat.com>
518 * glib/gbase64.c: Documentation improvements. (#496518,
519 Stefan Schulze Frielinghaus)
521 2007-11-18 Matthias Clasen <mclasen@redhat.com>
523 * configure.in: Check whether assembler supports numerical local
526 * glib/gatomic.c: Fix powerpc implementation of atomic ops for
527 platforms where the assembler doesn't support numerical local
530 2007-11-15 Ryan Lortie <desrt@desrt.ca>
532 * docs/reference/glib/tmpl/markup.sgml:
534 * glib/gmarkup.c: new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the
535 parser to prepend location information (ie: "Error on line %d, char
536 %d:") to errors generated by the GMarkupParser callbacks.
540 2007-11-15 Ryan Lortie <desrt@desrt.ca>
542 * docs/reference/glib/glib-sections.txt:
545 * glib/gerror.c: new functions g_prefix_error and
546 g_propagate_prefixed_error.
548 2007-11-13 Cody Russell <bratsche@gnome.org>
550 * docs/reference/gobject/gobject-docs.sgml:
551 * docs/reference/gobject/tut_gsignal.xml:
552 * docs/reference/gobject/tut_gtype.xml:
553 * docs/reference/gobject/tut_intro.xml:
554 * docs/reference/gobject/tut_tools.xml:
555 * docs/reference/gobject/tut_howto.xml:
556 * docs/reference/gobject/tut_gobject.xml: Documentation fixes.
557 Recommend macro type names such as NAUTILUS_TYPE_WINDOW (not
558 NAUTILUS_WINDOW_TYPE). Fixed text which erroneously stated that
559 superclass initializers don't run when an object is
560 instantiated. Fixed numerous spelling mistakes. Minor grammar
561 edits. (#490637, Adam Dingle)
563 2007-11-09 Matthias Clasen <mclasen@redhat.com>
565 * glib/gkeyfile.c: Coding style cleanups and doc
566 improvements. (#491979, #491982, Areg Beketovski)
568 2007-11-09 Matthias Clasen <mclasen@redhat.com>
570 * glib/giochannel.c: Coding style cleanups and doc
571 improvements. (#491975, Areg Beketovski)
573 2007-11-09 Matthias Clasen <mclasen@redhat.com>
575 * glib/gmain.c (g_main_context_iteration): Improve the
576 docs. (#491974, Areg Beketovski)
578 2007-11-09 Matthias Clasen <mclasen@redhat.com>
580 * glib/gdate.c: Coding style fixes.
582 2007-11-09 Matthias Clasen <mclasen@redhat.com>
584 * configure.in: Add AM_PROG_CC_C_O.
586 * Makefile.am: Remove the install-exec-local hook and use
587 configexecincludedir_DATA instead, in an attempt to avoid
588 automake 1.9 <> 1.10 incompatibilities.
590 * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since
591 automake 1.10 complains.
593 2007-11-09 Matthias Clasen <mclasen@redhat.com>
595 * glib/gspawn.c (g_spawn_sync): Improve the docs. (#491968,
598 2007-11-08 Matthias Clasen <mclasen@redhat.com>
600 * glib/gmain.c (g_main_context_release):
601 (g_main_context_acquire):
602 (g_main_context_new): Fix the doc wording. (#491957,
603 #491965, #491966, Areg Beketovski)
605 2007-11-08 Matthias Clasen <mclasen@redhat.com>
607 * glib/gutils.c (g_set_application_name): Add a missing
608 since tag. (#464259, Mark Doliner)
610 2007-11-08 Matthias Clasen <mclasen@redhat.com>
612 * glib/goption.c (g_option_context_new): Improve the docs.
613 (#436293, Vincent Untz)
615 2007-11-08 Matthias Clasen <mclasen@redhat.com>
617 * glib/gmain.c (g_main_loop_quit): Expand the docs
618 a bit. (#317775, Søren Sandmann)
620 2007-11-08 Matthias Clasen <mclasen@redhat.com>
622 * autogen.sh: Accept automake 1.10, too
624 * mkinstalldirs: Temporarily add this script, to fix building
627 * Makefile.am: Use MKDIRS_P instead of mkinstalldirs, add
628 ChangeLog.pre-2-14 and mkinstalldirs to EXTRA_DIST.
630 2007-11-08 Matthias Clasen <mclasen@redhat.com>
632 * glib/gmarkup.h: Include gslist.h. Pointed out by Michael Natterer.
634 2007-11-08 Matthias Clasen <mclasen@redhat.com>
636 * glib/gconvert.c (g_convert_with_iconv): Try harder to reset
637 shift state with AIX iconv(). (#467537)
639 2007-11-08 Matthias Clasen <mclasen@redhat.com>
642 * m4macros/glib-2.0.m4: Require pkg-config 0.16 in configure
643 and in AM_PATH_GLIB_2_0 to be consistent with the use of
644 PKG_PROG_PKG_CONFIG which was introduced in 0.16. (#418778,
647 2007-11-08 Matthias Clasen <mclasen@redhat.com>
649 * glib/gstrfuncs.c (g_parse_long_long): Don't leave
650 out parameters uninitialized. (#490061, Benjamin Otte)
652 2007-11-07 Matthias Clasen <mclasen@redhat.com>
654 * glib/gmain.c (g_main_context_unref): Don't leak the
655 condvar. (#479724, Areg Beketovski)
657 2007-11-07 Matthias Clasen <mclasen@redhat.com>
660 * glib/gmarkup.[hc] (g_markup_parse_context_get_element_stack):
661 New function, to get the stack of open elements. (#452887,
664 2007-11-07 Matthias Clasen <mclasen@redhat.com>
666 * glib/gkeyfile.[hc]: Make some functions that take
667 a GError return boolean instead of void. (#375651, Matt Barnes)
669 2007-11-07 Matthias Clasen <mclasen@redhat.com>
671 * autogen.sh: Use automake 1.9
674 * configure.in: Move some inter-*.m4 includes from
675 configure.in to acinclude.m4 to avoid warnings when
676 using automake 1.9. (#449937)
678 2007-11-07 Matthias Clasen <mclasen@redhat.com>
680 === Branch for 2.14 ===