| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Glib::Error::what() returns const char* (was Glib::ustring). It overrides
std::exception::what() that returns const char* and is noexcept.
Fixes #23
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
/etc/fstab is a *nix only file, which would not normally exist under
Windows unless one is under Cygwin. Use the path for the Wordpad
application on Windows, which is a standard part of Windows; and use
/etc/fstab otherwise.
* tests/giomm_ioerror/main.cc:
* tests/giomm_simple/main.cc: Test for c:/windows/write.exe
(Wordpad application) on Windows, and use /etc/fstab otherwise.
https://bugzilla.gnome.org/show_bug.cgi?id=736778
https://bugzilla.gnome.org/show_bug.cgi?id=736778
|
|
|
|
|
|
| |
* tests/giomm_ioerror/main.cc:
* tests/giomm_simple/main.cc: Hid some use of std::cout that I missed in my
previous commit.
|
|
|
|
| |
* tests/*.cc: Use EXIT_SUCCESS rather than 0 because I think that is clearer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Removed the --enable-api-exceptions, --enable-api-properties,
--enable-api-vfuncs and --enable-api-default-signal-handlers options.
* build/reduced.m4: Removed.
* tools/m4/*.m4:
* tools/pm/Output.pm: Remove any use of ifdefs and auto_ptr for reduced API.
* *.[hg|ccg|h|cc]: Remove the idefed code.
|
|
|
|
|
|
|
|
|
|
| |
* tests/Makefile.am: Rewrite to a non-recursive build of all
test programs with a single control file. Hook the the build
of the test programs to the make check target.
* tests/Makefile.am_fragment: Delete obsolete file.
* tests/*/Makefile.am: Delete obsolete files.
* configure.ac (AC_CONFIG_FILES): Remove tests/*/Makefile
output files from the list.
|
|
|
|
|
|
|
|
| |
* tools/extra_defs_gen/generate_defs_gio.cc (main): Omit names of
unused function parameters, to fix the build with fatal warnings
enabled.
* examples/properties/properties_example.cc (main): ditto,
* tests/giomm_ioerror/main.cc (main): ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* glib/src/keyfile.{ccg,hg}: Conditionalize all exception-handling
code in order to fix the build with --disable-api-exceptions.
* glib/src/regex.hg: ditto,
* gio/src/appinfo.ccg: ditto,
* gio/src/file.{ccg,hg}: ditto,
* gio/src/outputstream.ccg: ditto,
* examples/keyfile/main.cc: ditto,
* examples/regex/main.cc: ditto,
* tests/giomm_ioerror/main.cc: ditto,
* tests/giomm_simple/main.cc: ditto.
svn path=/trunk/; revision=803
|
|
|
|
| |
svn path=/trunk/; revision=761
|
|
|
|
|
|
|
| |
As suggested by Szilárd Pfeiffer in Bug #529496
* tests/giomm_ioerror/main.cc: add a test for this
svn path=/trunk/; revision=735
|
|
2008-07-25 Murray Cumming <murrayc@murrayc.com>
* gio/src/volumemonitor.hg: Added the drive_eject_button signal.
2008-07-25 Murray Cumming <murrayc@murrayc.com>
* gio/src/gio_enums.defs: Hacked in a replacement
enum for Gio::Error::HOST_NOT_FOUND as
Gio::Error::HOST_WAS_NOT_FOUND, to avoid a clash with
a netdb.h define.
Bug #529496.
* configure.in:
* tests/Makefile.am:
* tests/giomm_ioerror/Makefile.am:
* tests/giomm_ioerror/main.cc: Added a test to make sure
that our hacked-in enum value stays hacked in.
svn path=/trunk/; revision=695
|