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