Fix a problem linking against ICU libs

 * Use LDLIBS instead of LDFLAGS, as this ensures the correct order of link
   args, so that libs come after the modules/libs that need them.
 * The semantics of ld are now that libs specified earlier in the command
   line are not searched to satisfy references in items specified later in
   the command line.

Change-Id: I06390fc9741765855b725884b4e28f333ab9be57
Fix type/size errors in printf formats

Change-Id: Ic77a9fb654af532264fc06e929397c833978f9ef
Clean up the use of system header files in Win32Base

 * Prefer C++ standard headers and funcs
 * Remove redundant headers
 * Add headers that are strictly needed

Change-Id: Ib031702a864532f917a606e26ac11d544e53cd3c
Improve error-checking when running Win32Base tests

Change-Id: Ic045a61f81821f1d473ee80893af1bd53c8a8183
Rework ManagedComBridge/Makefile

 * Avoid relinking when it isn't needed
 * Handle use of build dir properly
 * Reference include dirs more logically

Change-Id: Ieb0b7abf3c80a156894a3022637966d6df2e6bd8
Convert RegisterServer to automake

Also enable COM tests to call it without using a fake install

Change-Id: I73c8f2227efcbcf6e773efbba6f8fe946ec9dd26
Enable more regular handling of making and testing

 * Allow running make from the top-level (sub-)directories
 * Support "all" and "check" everywhere
 * Useful for external Makefiles, such as FieldWorks

Change-Id: I05cd6876f2880d5429313861e076b30ae7542e42
Fix compiler warning-as-error on Ubuntu 10.04 systems

 * Commit c104c0d added -Werror -Wall -Wextra to CXXFLAGS
 * Lucid (10.04) is using gcc 4.4.3 currently

Change-Id: I5a2e96284e184b7f37d10a3a2b4ccfa72dea9733
Generate xUnit reports from COM/unit-test

 * This is for Jenkins to consume with its xUnit plug-in
 * A summary is given in the build output
 * Exit status is 0 to allow other tests to proceed

Change-Id: I0bb4b24f149149c0ee9c530f4a3f2a5a3aa41cc5
Make check depend on all in COM/unit-test

This works around a problem in make. Pattern rule chains are not
followed when the intermediate file name doesn't have a suffix. So
make doesn't know how to do:

    TestCOM.cpp -> TestCOM -> TestCOM-log.xml

It would work if the executable were called TestCOM.exe.

Change-Id: I666bc8e7f42ff7a454d9ee1cf95c912d6c129f37
Fix Makefile bug that breaks parallel builds

Change-Id: I98de4afe1e2a620cca35f3bac542e99ec5f8760f
Improve OutputDebugString unit test

Make TestOutputDebugString check its own output

Change-Id: Idc3ad2184d4f09a0695f0ac5d1ca5a8ec048c828
Treat COM unit test failures as build errors by default

Allow alternative behaviour (eg for continuous integration) to be specified
externally, by setting BOOST_UNIT_RESULT_CODE=no in the environment

Change-Id: Ib60a7808c92134c27c64e01522b87a3cd25f17f7
Adjust to the new FieldWorks repo layout

Change-Id: I3fcabc140b2e0aad404560bcf61fd4f015e77f54
Remove obsolete files

These are all from the Mac OS Classic version of libcom

Change-Id: I8feaaffd15e58bfe2c524133770c95cc4db503db
Removed the unused TextServices implementation

Change-Id: I79532131e86654333fcb2253df0cd0f0e0e4a15f
Remove unnecessary coupling between COM and Win32

This also makes it possible to implement "make distcheck" in COM

Change-Id: Idf2e8b135f1869a50cb742d61f396ccf11d84eb8
Enable make distcheck in COM

Change-Id: Icdf446b322100f977aeb26115fc1ebe35957eade
Enable out-of-tree builds in ManagedComBridge

Now the whole of COM can do out-of-tree (but Win32{Base,More} can't yet)

Change-Id: Idf33c96957342b7070882262ca595432e86d9c0e
Simplify Win32 and COM error code definitions

 * Define only the ones we need

 * Use a separate COMError.h
   - Replaces the large and largely redundant COM/include/WinError.h
   - Further decouples COM from the rest of Win32
   - Reduces code duplication
   - Avoids ambiguity in which WinError.h is used

 * All clients now get Win32Base's WinError.h
   - Some were getting COM's because their include path puts COM first

Change-Id: Iafd31e368bb6e80f59dc4cbe01c8977a52a5b20c