2.27.95:
2011-02-24 Murray Cumming <
[email protected]>
tests: Remove remaining use of std::cout.
* tests/giomm_ioerror/main.cc:
* tests/giomm_simple/main.cc: Hid some use of std::cout that I missed in my
previous commit.
2011-02-24 Murray Cumming <
[email protected]>
tests: Use EXIT_* for clarity.
* tests/*.cc: Use EXIT_SUCCESS rather than 0 because I think that is clearer.
2011-02-24 Murray Cumming <
[email protected]>
Actually run all tests, and check some failures.
* tests/Makefile.am: Add all tests to TESTS so they are really run during
make check, instead of just built.
* tests/giomm_asyncresult_sourceobject/main.cc:
* tests/giomm_ioerror/main.cc:
* tests/giomm_simple/main.cc:
* tests/glibmm_bool_arrayhandle/main.cc:
* tests/glibmm_bool_vector/main.cc:
* tests/glibmm_buildfilename/main.cc:
* tests/glibmm_date/main.cc:
* tests/glibmm_ustring_compose/main.cc:
* tests/glibmm_valuearray/main.cc:
* tests/glibmm_variant/main.cc:
* tests/glibmm_vector/main.cc: Remove all use of std::cout by default,
allowing it to be renabled by changing a line.
Return (or) exit with EXIT_FAILURE after any use of std::cerr, so that
make check can report it.
2011-02-24 Murray Cumming <
[email protected]>
Restore the Gio::DBus::Error registration.
* tools/generate_wrap_init.pl.in: Use a qualified C++ name for the key in
the associated-array of exceptions. This seems to work, though it feels very
hacky.
2011-02-24 Murray Cumming <
[email protected]>
Rename Gio::DBus::DBusError to Gio::DBus::Error.
* gio/src/dbuserror.hg: Rename the class to Error.
* examples/dbus/busserver.cc: Adapated.
* tests/giomm_ioerror_and_iodbuserror/main.cc: Added a test to check that
both Gio::Error and Gio::DBus::Error are working.
* tests/Makefile.am: Set TESTS, so that the test is actually run.
We should add others to this too.
This current fails, so I need to fix the problem in a subsequent commit.
2011-02-24 Murray Cumming <
[email protected]>
Move Gio::DBusError to Gio::Dbus::DBusError.
* tools/m4/base.m4: Added a SECTION_H_GERROR_PRIVATE section.
* tools/m4/gerror.m4: Import the SECTION_H_GERROR_PRIVATE section.
* gio/src/dbuserror.hg: Put this back into the DBus namespace.
Push a custom friend declaration into the SECTION_H_GERROR_PRIVATE section,
because the standard generated friend declaration would not specify the
correct one.
This still does not rename DBusError to DBus::Error, but this is a step on
the way.
* examples/dbus/busserver.cc: Adapated.
2011-02-23 Murray Cumming <
[email protected]>
Bring back Gio::Error registration.
* gio/src/error.[hg|ccg]: Move Gio::DBus::Error to
* gio/src/dbuserror.[hg|ccg]: and temporarily rename it to Gio::DBusError
because generate_wrap_init.pl.in is wrapping only on of Gio::Error and
Gio::DBus::Error. Unfortunately, we need to fix the generation to handle
this properly even when it is called Gio::DBus::DBusError.
2011-02-21 Murray Cumming <
[email protected]>
Mark some new API.
* glib/glibmm/miscutils.h: Add @newin{2,28} to the new build_filename()
overloads.
2011-02-21 Fabricio Godoy <
[email protected]>
Extended build_filename() to accept up to nine parameters.
* glib/glibmm/miscutils.[h|cc]: Added build_filename() method overloads that
take more parameters, for convenience.
* tests/Makefile.am
* tests/glibmm_buildfilename/main.cc: Added a new testcase.