1 2007-11-28 Matthias Clasen <mclasen@redhat.com>
3 * glib/gurifuncs.c: Some doc cleanups
5 2007-11-28 Matthias Clasen <mclasen@redhat.com>
7 * glib/gtestutils.c: Fix up some doc comments, avoid C99 comments
9 * glib/gconvert.c: De-doc-commentify static functions to
12 * glib/gutils.c: Fix the glib_gettext doc comment.
14 2007-11-28 Tor Lillqvist <tml@novell.com>
16 * config.h.win32.in: Update to match what configure produces.
18 2007-11-28 Alexander Larsson <alexl@redhat.com>
20 * glib/gstring.c (g_string_append_uri_escaped):
21 Move this function before g_string_append_c so that
22 we avoid the plt call due to the undefinf of g_string_append_c
24 2007-11-28 Emmanuele Bassi <ebassi@gnome.org>
26 * gio/Makefile.am: Remove makegioalias.pl from the marshal files
27 and avoid it being cleaned up when running make clean.
29 2007-11-28 Alexander Larsson <alexl@redhat.com>
32 Add in the new symbols
35 Use the aliases framework
39 Make the alias stuff work now that glib_gettext
40 is exported to libgio.
42 2007-11-27 Ryan Lortie <desrt@desrt.ca>
44 * glib/ghash.c (g_hash_table_insert, g_hash_table_replace,
45 g_hash_table_insert_internal): insert/replace were identical except
46 for a single line. Replace both with a common function.
48 2007-11-27 Alexander Larsson <alexl@redhat.com>
54 * glib/gurifuncs.[ch]:
55 Moved gurifuncs from gio to glib
57 2007-11-27 Alexander Larsson <alexl@redhat.com>
60 * glib/gfileutils.[ch]:
61 Move g_format_file_size_for_display from gio to glib
63 2007-11-27 Alexander Larsson <alexl@redhat.com>
66 Allow configuration of gio-module-dir
69 Export giomodules location as giomodule variable
71 2007-11-26 Matthias Clasen <mclasen@redhat.com>
73 * tests/markup-collect.c: Add some tests for invalid booleans
75 2007-11-26 Ryan Lortie <desrt@desrt.ca>
77 Add new function g_markup_collect_attributes (bug #496847).
79 * glib/glib.symbols: add g_markup_collect_attributes
81 * docs/reference/glib/glib-sections.txt:
83 * glib/gmarkup.c: add g_markup_collect_attributes and new enumerated
84 type GMarkupCollectType. Add new error code
85 G_MARKUP_ERROR_MISSING_ATTRIBUTE that is thrown by the attribute
88 2007-11-27 Tor Lillqvist <tml@novell.com>
90 * glib/win_iconv.c: Some improvements, being upstreamed.
91 (must_use_null_useddefaultchar): New function, checks for those
92 codepages for which one must pass a NULL lpUsedDefaultChar pointer
93 to WideCharToMultiByte().
94 (kernel_wctomb): Use it.
95 (kernel_wctomb): Return with E2BIG immediately if bufsize is zero.
97 2007-11-27 Tor Lillqvist <tml@novell.com>
99 * glib/gutils.c (_glib_get_locale_dir) [Win32]: Use either
100 lib/locale or share/locale depending on which one is in
101 GLIB_LOCALE_DIR. When the configury recognizes GNU gettext (based
102 on the _nl_msg_cat_cntr variable, eek), share/locale gets used.
104 * glib-zip.in: Likewise, look for message catalogs either in
105 lib/locale or share/locale.
107 2007-11-26 Matthias Clasen <mclasen@redhat.com>
109 * gio/gfileattribute.c: Fix up a doc comment.
111 2007-11-26 Alexander Larsson <alexl@redhat.com>
115 * gio-2.0-uninstalled.pc.in:
117 * gio-unix-2.0-uninstalled.pc.in:
118 * gio-unix-2.0.pc.in:
121 Merged gio-standalone into glib.
125 Export glib_gettext so that gio can use it
126 Add P_ (using same domain for now)
127 Add I_ as g_intern_static_string
129 2007-11-26 Tor Lillqvist <tml@novell.com>
131 * glib/win_iconv.c: ISO8859-1 is CP28591, not CP1252.
133 2007-11-26 Tor Lillqvist <tml@novell.com>
135 Implement #491549: On Windows, always use the native API for
136 character set conversions instead of GNU libiconv. Almost all
137 codesets supported by GNU libiconv exist as Windows codepages.
138 One missing feature is the "C99" and "JAVA" pseudo codesets, but I
139 doubt that is worth worrying about.
141 * glib/win_iconv.c: New file. iconv() implementation for
142 Windows. Placed in the public domain by Yukihiro Nakadaira
143 <yukihiro.nakadaira@gmail.com>. From
144 http://yukihiro.nakadaira.googlepages.com/win_iconv.zip, his
147 * glib/gconvert.c: Include win_iconv.c on Windows.
149 * glib/Makefile.am: Add win_iconv.c to EXTRA_DIST.
151 * configure.in: Bypass iconv checks on Windows.
153 2007-11-25 Tor Lillqvist <tml@novell.com>
155 * glib/gtestutils.c: Add conditionals for non-Unix. Just g_error()
156 unless G_OS_UNIX for now.
158 2007-11-25 Matthias Clasen <mclasen@redhat.com>
160 * configure.in: Require gtk-doc 1.8.
162 * glib/gasyncqueue.c:
169 * glib/gutils.c: Use gtk-doc abbreviations for
170 examples in doc comments.
172 2007-11-24 Matthias Clasen <mclasen@redhat.com>
174 * */Makefile.am: Replace INCLUDES by AM_CPPFLAGS, other
177 2007-11-24 Matthias Clasen <mclasen@redhat.com>
179 * tests/base64-test.c: Fix a memory overrun.
181 2007-11-24 Matthias Clasen <mclasen@redhat.com>
183 * glib/gutils.c: Remove leftover ENABLE_NLS #ifdefs.
185 2007-11-23 Matthias Clasen <mclasen@redhat.com>
187 * glib/gbase64.c (g_base64_encode): Don't refuse to encode
188 a single byte. (Milan Crha)
190 * tests/base64-test.c: Test encoding short strings.
192 2007-11-23 Matthias Clasen <mclasen@redhat.com>
195 * glib/gi18n.h: Define a two-argument macro C_() for marking
196 translatable strings with context and implement C_() and Q_()
197 using g_dpgettext(). (#142676, Morten Welinder)
200 * glib/gstrfuncs.[hc]: Implement g_dpgettext().
202 2007-11-23 Matthias Clasen <mclasen@redhat.com>
204 * glib/goption.c: Use g_print to print out --help text in
205 locale encoding. (#469551, Takao Fujiwara)
207 2007-11-22 Matthias Clasen <mclasen@redhat.com>
209 * glib/gkeyfile.c: Set length out param in list-returning functions
210 to 0 when returning NULL. (#498728, Christian Persch)
212 2007-11-21 21:06:47 Tim Janik <timj@imendio.com>
214 * Makefile.decl: initialize automake variables EXTRA_DIST and
215 TEST_PROGS for unconditional appending via += in other makefiles.
216 define recursive test targets: test, test-report, perf-report,
217 full-report, as described here:
218 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
221 * build/win32/vs8/Makefile.am, build/win32/dirent/Makefile.am:
222 * build/win32/Makefile.am, build/Makefile.am:
223 * docs/Makefile.am, docs/reference/Makefile.am:
224 * docs/reference/glib/Makefile.am, docs/reference/gobject/Makefile.am:
225 * gmodule/Makefile.am, tests/Makefile.am:
226 * tests/refcount/Makefile.am, tests/gobject/Makefile.am:
227 * glib/update-pcre/Makefile.am, glib/libcharset/Makefile.am:
228 * glib/tests/Makefile.am, glib/pcre/Makefile.am:
229 * glib/gnulib/Makefile.am, gobject/Makefile.am, m4macros/Makefile.am:
230 * gthread/Makefile.am, glib/Makefile.am:
231 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
233 * glib/tests/Makefile.am: removed example testing rules.
235 * glib/tests/testing.c: conditionalized performance and slow tests.
238 * glib/gtestutils.c: work around g_test_config_vars not changing its
239 exported value after value assignments, aparently due to symbol aliases.
241 * glib/gtester.c: fixed off-by-one error which produced junk in logs.
243 * configure.in: check for python >= 2.4 and provide $PYTHON for scripts.
245 Tue Nov 20 15:59:55 2007 +0100 Tim Janik
247 Renamed gtestframework to gtestutils.
250 * glib/Makefile.am: added gtestutils.h to public includes.
252 * glib/gtestutils.c: include gtestutils.h.
256 * glib/tests/testing.c: renamed gtestframework to gtestutils.
258 * glib/gtestframework.h: renamed to gtestutils.h.
260 * glib/gtestframework.c: renamed to gtestutils.c.
262 Tue Nov 20 15:29:34 2007 +0100 Tim Janik
264 glib/gtestframework.c: g_test_init(): make warnings and criticals fatal for all test programs.
266 Wed Nov 14 20:35:05 2007 +0100 Tim Janik
268 gtestframework.c: added test API documentation by Sven Herzberg and Tim Janik.
270 Wed Nov 14 19:10:28 2007 +0100 Tim Janik
272 gtestframework.[hc]: implemented g_test_queue_destroy() and g_test_queue_unref().
274 Fri Nov 9 12:28:52 2007 +0100 Tim Janik
276 Added g_test_bug() and related API.
278 * gtester.c: handle G_TEST_LOG_MESSAGE and test test message API.
280 * gtestframework.h, gtestframework.c: added test message API and convenience
281 API to send test messages about bug URLs.
283 Fri Nov 9 11:35:11 2007 +0100 Tim Janik
285 Added API to access test framework configuration.
287 * gtestframework.h, gtestframework.c: export testing configuration to test
288 programs with g_test_quick(), g_test_perf(), g_test_verbose(), g_test_quiet().
290 Thu Nov 8 17:55:09 2007 +0100 Tim Janik
292 gtester: implemented logic to handle failing tests, self tests, and validate XML reports.
294 * gtester.c: terminate when tests failed. keep XML valid when test cases fail.
295 restart test binaries when tests fail, resuming after the last processed test.
296 support --gtester-selftest to run gtester itself as test program.
297 support --test-arg=<arg> to pass args along to test programs. added
298 main_selftest() which does a simplistic fixture test. fail if exit
299 code of test programs is not 0.
301 * gtestframework.h: added G_TEST_LOG_SKIP_CASE test log message type.
303 * gtestframework.c: support --GTestSkipCount=<n> to skip a number of tests.
305 * tests/Makefile.am: added test-report: for demonstration purposes.
306 added gtester-xmllint-check: and hooked it up into check:, this rule calls
307 gtester as test program, running it's selftest, and then uses xmllint to
308 validate the generate XML test log file.
310 Thu Nov 8 14:51:37 2007 +0100 Tim Janik
312 gtester: implemented XML logging.
314 * glib/gtester.c: log test messages to XML output file. beautified normal test
317 * glib/gtestframework.c: fixed GTimer leak.
319 * glib/tests/Makefile.am: start gtester with --verbose.
321 Thu Nov 8 12:33:31 2007 +0100 Tim Janik
323 tests/Makefile.am: execute test programs with gtester, add test: to check:
325 Thu Nov 8 12:18:51 2007 +0100 Tim Janik
327 Fixed PLT symbol exports for gtestframework.h.
329 * glib/glib.symbols: added all exported gtestframework.h symbols.
331 * glib/gtestframework.c: include galias.h, galiasdef.c, define __G_TESTFRAMEWORK_C__.
333 Thu Nov 8 11:31:12 2007 +0100 Tim Janik
335 glib/gtester.c: fixed debugging flag.
337 Wed Nov 7 17:56:26 2007 +0100 Tim Janik
339 fixed bogus unistd.h include.
341 Wed Nov 7 17:53:30 2007 +0100 Tim Janik
343 Implemented test log IPC.
345 * gtester.c: read and decode log messages from test binary child processes.
346 fixed GIOChannel and child watch handling to process all messages and avoid
347 hangs. pass --verbose and --quiet on to children, default to --quiet.
349 * gtestframework.h: export g_test_log_type_name().
351 * gtestframework.c: send test log to --GTestLogFD=<fd> if given, removed
354 Tue Nov 6 20:07:44 2007 +0100 Tim Janik
356 gtester.c: support test case listing through gtester.
358 Tue Nov 6 20:01:06 2007 +0100 Tim Janik
360 gtestframework.c: fixed testpath matches for automatic root suite.
362 Tue Nov 6 19:50:33 2007 +0100 Tim Janik
364 gtester.c: adapted to become a rudimentary test binary launcher.
366 * gtester.c: increased read buffer size to match common unix pipe buffer size.
367 added argument parsing and usage. changed io handling to capture and replicate
368 stdout. fixed io handlers to be cleaned up when the child process exits (catch
369 G_IO_ERR | G_IO_HUP). we now use pending/iteration instead of a main loop
370 structure, to keep running until the child process exits and all io has been
371 processed. launch the test binaries given on the command line. don't quit when
372 a child couldn't be launched but --keep-going was specified.
374 Tue Nov 6 17:11:37 2007 +0100 Tim Janik
376 Integrated gtester program into build process.
378 * Makefile.am: build and install gtester binary.
380 * gtester.c: fixed up coding style and removed hard wired test coded.
382 Tue Nov 6 16:12:32 2007 +0100 Sven Herzberg
384 glib/gtester.c:Small -Wall fix
386 Tue Nov 6 16:05:06 2007 +0100 Sven Herzberg
388 glib/gtester.c:Implemented nonblocking reading properly now
390 Mon Nov 5 13:53:23 2007 +0100 Sven Herzberg
392 glib/gtester.c:Quit the application when the output is parsed completely, not just the process finished
394 Mon Nov 5 12:00:16 2007 +0100 Sven Herzberg
396 glib/gtester.c:Read the output of the child process
398 Mon Nov 5 11:50:59 2007 +0100 Sven Herzberg
400 glib/gtester.c:Use g_spawn_async_with_pipes()
402 Mon Nov 5 11:50:08 2007 +0100 Sven Herzberg
404 glib/gtester.c:Spawn a process async and quit gtester after the child process exited
406 Mon Nov 5 11:30:45 2007 +0100 Sven Herzberg
408 glib/gtester.c:Added a first revision of gtester
410 Tue Nov 6 16:47:06 2007 +0100 Tim Janik
412 Implemented test log serialization.
414 * glib/gtestframework.h: added g_test_log*() API.
416 * glib/gtestframework.c: implement test log serialization.
418 Tue Nov 6 14:24:54 2007 +0100 Tim Janik
420 Implemented test logging basics.
422 * glib/gtestframework.c: added --debug-log and --verbose, implemented
423 test information logging.
425 * testing.c: test g_test_maximized_result() and g_test_minimized_result().
427 Tue Nov 6 11:52:14 2007 +0100 Tim Janik
429 Implemented g_test_timer*().
431 * gtestframework.c: implemented g_test_timer*().
433 * tests/testing.c: added a g_test_timer*() test.
435 Mon Nov 5 18:28:24 2007 +0100 Tim Janik
437 Implemented support for testpaths.
439 * gtestframework.c: implemented g_test_add_vtable() and g_test_add_func().
441 * tests/testing.c: use g_test_add() and g_test_add_func() to majorly simplify main().
443 Mon Nov 5 15:56:42 2007 +0100 Tim Janik
445 testing.c: added tests for the g_test_rand*() API.
447 Mon Nov 5 15:55:38 2007 +0100 Tim Janik
449 Implemented g_test_rand*().
451 * gtestframework.h: fixed g_assert_cmp*() to evaluate arguments only once.
452 added g_assert_cmpuint(). completed g_test_rand*() to cover bits, ints,
455 * gtestframework.c: fixed "--seed" option and implemented g_test_rand*().
457 Mon Nov 5 15:51:43 2007 +0100 Tim Janik
459 testing.c: added tests for g_assert_cmphex() and forked test traps.
461 Mon Nov 5 15:10:18 2007 +0100 Tim Janik
463 Implemented g_test_trap_fork() API.
465 * gtestframework.h: added g_assert_cmphex(). reworked g_test_trap*() API.
467 * gtestframework.c: implemented g_test_trap_fork() API.
469 Thu Nov 1 15:05:07 2007 +0100 Tim Janik
471 * glib/gtestframework.c:
473 that match a given test path.
474 (g_test_run_suite): run suite only if it matches the existing test paths.
476 * glib/tests/testing.c: minor rename.
478 Thu Nov 1 13:45:55 2007 +0100 Tim Janik
480 GTest framework started.
482 * glib/gtestframework.h: testing framework API as proposed on gtk-devel-list.
483 includes elaborate assertions, performance report functions, test traps,
484 test timer, test random numbers, teardoiwn garbage collection functions
485 and general test case / test suite management APIs.
487 * glib/gtestframework.c: first test framework implementation. already covers
488 some test suite management APIs and assertion message implementations.
490 * glib/tests/testing.c: test program for the testing framework.
492 * glib/tests/Makefile.am: complie testing.c as test. run all tests as part of
495 Wed Oct 31 15:42:48 2007 +0100 Tim Janik
497 glib/Makefile.am: build tests/ subdir after building libglib.
499 Tue Oct 30 16:17:32 2007 +0100 Tim Janik
501 Fixed up internal 'g_test*' names.
503 * refcount/signals.c:
504 * refcount/objects.c:
505 * refcount/objects2.c:
506 * refcount/closures.c:
507 * refcount/properties.c:
508 * refcount/properties2.c: changed namespace prefix from g_test_* to my_test_*
509 to not clash with newly introduced g_test* API in glib.
511 Tue Oct 30 14:41:26 2007 +0100 Tim Janik
513 Added gtestframework.[hc] and glib/tests/.
515 2007-11-20 Sven Neumann <sven@gimp.org>
517 * glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
518 g_strjoin() to concatenate two strings.
520 2007-11-19 Marco Barisione <marco@barisione.org>
522 * glib/gregex.c: When the compilation of a pattern fails in the error
523 message use the character offset and not the byte offset.
525 * glib/gregex.c: Pass an unsigned long instead of an int to
526 pcre_fullinfo() to avoid problems on 64-bit systems (#498113, Kouhei
529 2007-11-19 10:30:33 Tim Janik <timj@imendio.com>
531 * configure.in: updated version number to 2.15.0 for development.
533 2007-11-18 Matthias Clasen <mclasen@redhat.com>
535 * glib/gbase64.c: Documentation improvements. (#496518,
536 Stefan Schulze Frielinghaus)
538 2007-11-18 Matthias Clasen <mclasen@redhat.com>
540 * configure.in: Check whether assembler supports numerical local
543 * glib/gatomic.c: Fix powerpc implementation of atomic ops for
544 platforms where the assembler doesn't support numerical local
547 2007-11-15 Ryan Lortie <desrt@desrt.ca>
549 * docs/reference/glib/tmpl/markup.sgml:
551 * glib/gmarkup.c: new flag G_MARKUP_PREFIX_ERROR_POSITION to cause the
552 parser to prepend location information (ie: "Error on line %d, char
553 %d:") to errors generated by the GMarkupParser callbacks.
557 2007-11-15 Ryan Lortie <desrt@desrt.ca>
559 * docs/reference/glib/glib-sections.txt:
562 * glib/gerror.c: new functions g_prefix_error and
563 g_propagate_prefixed_error.
565 2007-11-13 Cody Russell <bratsche@gnome.org>
567 * docs/reference/gobject/gobject-docs.sgml:
568 * docs/reference/gobject/tut_gsignal.xml:
569 * docs/reference/gobject/tut_gtype.xml:
570 * docs/reference/gobject/tut_intro.xml:
571 * docs/reference/gobject/tut_tools.xml:
572 * docs/reference/gobject/tut_howto.xml:
573 * docs/reference/gobject/tut_gobject.xml: Documentation fixes.
574 Recommend macro type names such as NAUTILUS_TYPE_WINDOW (not
575 NAUTILUS_WINDOW_TYPE). Fixed text which erroneously stated that
576 superclass initializers don't run when an object is
577 instantiated. Fixed numerous spelling mistakes. Minor grammar
578 edits. (#490637, Adam Dingle)
580 2007-11-09 Matthias Clasen <mclasen@redhat.com>
582 * glib/gkeyfile.c: Coding style cleanups and doc
583 improvements. (#491979, #491982, Areg Beketovski)
585 2007-11-09 Matthias Clasen <mclasen@redhat.com>
587 * glib/giochannel.c: Coding style cleanups and doc
588 improvements. (#491975, Areg Beketovski)
590 2007-11-09 Matthias Clasen <mclasen@redhat.com>
592 * glib/gmain.c (g_main_context_iteration): Improve the
593 docs. (#491974, Areg Beketovski)
595 2007-11-09 Matthias Clasen <mclasen@redhat.com>
597 * glib/gdate.c: Coding style fixes.
599 2007-11-09 Matthias Clasen <mclasen@redhat.com>
601 * configure.in: Add AM_PROG_CC_C_O.
603 * Makefile.am: Remove the install-exec-local hook and use
604 configexecincludedir_DATA instead, in an attempt to avoid
605 automake 1.9 <> 1.10 incompatibilities.
607 * glib/Makefile.am: Rename MIRRORING_TAB_SOURCES, since
608 automake 1.10 complains.
610 2007-11-09 Matthias Clasen <mclasen@redhat.com>
612 * glib/gspawn.c (g_spawn_sync): Improve the docs. (#491968,
615 2007-11-08 Matthias Clasen <mclasen@redhat.com>
617 * glib/gmain.c (g_main_context_release):
618 (g_main_context_acquire):
619 (g_main_context_new): Fix the doc wording. (#491957,
620 #491965, #491966, Areg Beketovski)
622 2007-11-08 Matthias Clasen <mclasen@redhat.com>
624 * glib/gutils.c (g_set_application_name): Add a missing
625 since tag. (#464259, Mark Doliner)
627 2007-11-08 Matthias Clasen <mclasen@redhat.com>
629 * glib/goption.c (g_option_context_new): Improve the docs.
630 (#436293, Vincent Untz)
632 2007-11-08 Matthias Clasen <mclasen@redhat.com>
634 * glib/gmain.c (g_main_loop_quit): Expand the docs
635 a bit. (#317775, Søren Sandmann)
637 2007-11-08 Matthias Clasen <mclasen@redhat.com>
639 * autogen.sh: Accept automake 1.10, too
641 * mkinstalldirs: Temporarily add this script, to fix building
644 * Makefile.am: Use MKDIRS_P instead of mkinstalldirs, add
645 ChangeLog.pre-2-14 and mkinstalldirs to EXTRA_DIST.
647 2007-11-08 Matthias Clasen <mclasen@redhat.com>
649 * glib/gmarkup.h: Include gslist.h. Pointed out by Michael Natterer.
651 2007-11-08 Matthias Clasen <mclasen@redhat.com>
653 * glib/gconvert.c (g_convert_with_iconv): Try harder to reset
654 shift state with AIX iconv(). (#467537)
656 2007-11-08 Matthias Clasen <mclasen@redhat.com>
659 * m4macros/glib-2.0.m4: Require pkg-config 0.16 in configure
660 and in AM_PATH_GLIB_2_0 to be consistent with the use of
661 PKG_PROG_PKG_CONFIG which was introduced in 0.16. (#418778,
664 2007-11-08 Matthias Clasen <mclasen@redhat.com>
666 * glib/gstrfuncs.c (g_parse_long_long): Don't leave
667 out parameters uninitialized. (#490061, Benjamin Otte)
669 2007-11-07 Matthias Clasen <mclasen@redhat.com>
671 * glib/gmain.c (g_main_context_unref): Don't leak the
672 condvar. (#479724, Areg Beketovski)
674 2007-11-07 Matthias Clasen <mclasen@redhat.com>
677 * glib/gmarkup.[hc] (g_markup_parse_context_get_element_stack):
678 New function, to get the stack of open elements. (#452887,
681 2007-11-07 Matthias Clasen <mclasen@redhat.com>
683 * glib/gkeyfile.[hc]: Make some functions that take
684 a GError return boolean instead of void. (#375651, Matt Barnes)
686 2007-11-07 Matthias Clasen <mclasen@redhat.com>
688 * autogen.sh: Use automake 1.9
691 * configure.in: Move some inter-*.m4 includes from
692 configure.in to acinclude.m4 to avoid warnings when
693 using automake 1.9. (#449937)
695 2007-11-07 Matthias Clasen <mclasen@redhat.com>
697 === Branch for 2.14 ===