Fixes for Ruby 1.9 std::complex wrappers.
New native Ruby complex numbers are used.
Fixes for out of source builds for Ruby test-suite
Ruby 1.9 fixes.

SF Bug#1292 - Runtime fixes for Proc changes in ruby-1.9 when using STL wrappers that override the default predicate, such as:

  %template(Map) std::map<swig::LANGUAGE_OBJ, swig::LANGUAGE_OBJ, swig::BinaryPredicate<> >;

Fixes li_std_functors testcases for Ruby 1.9.

Also rb_respond_to return values have changed subtely in 1.9 and return should be treated as a flag instead of checking for Qtrue, see SF Bug #1159.

Also fix li_std_map, li_std_set silently failing - rb_protect behaviour seems to have changed when an exception is thrown, so code has been changed to use rb_rescue. A call to 'rb_set_errinfo(Qnil)' could have solved this after the rb_protect call, but it is only available in 1.9+ and Ruby API changes are not easily and transparently detectable.
More rb_protect rewrite to use rb_rescue for Ruby 1.9
Rewrite Ruby's GC_VALUE without use of macros for easier debugging
Some test-suite warning fixes
Cosmetic - use C comments instead of C++ comments for recent Ruby change
Work around Octave seg fault on exit in imports testcase on Octave 3.1 and 3.2
Patch fixing warning 322 in rubycontainer_extended

'rubycontainer_extended.swg' generates warnings:

 Warning 322: Redundant redeclaration of 'map_bang',
 Warning 322: previous declaration of 'map_bang'.

The fix is to remove a redundant call to swig_container_extend for
swig::GC_VALUE.

Thanks

========================================================
Workaround to Octave seg fault on exit in imports testcase only seems to work in 3.1, not 3.2. Just ignore test now
[PHP] Add missing directorin typemap for char* and char[] which
fixes director_string testcase failure.
Add target language version display during make check. Individual language versions can be checked using 'make check-<lang>-version'.
make check-csharp-version fix for MS compiler
Travis build for top 10 target languages plus gcc and clang SWIG builds.

Travis builds patch developed in wsfulton/travis branch
Fix typecheck OUTPUT typemaps for Java
Removed unused Printf parameter
Use ZVAL_STRINGL instead of ZVAL_STRING to set funcname as we know the length at swig-time
Add -MP option for generating phony targets for all dependencies

- Modelled on similar option in GCC
Merge pull request #32 from kwwette/depend-phony

Add -MP option for generating phony targets for all dependencies
Add check for smart pointer type in generated code for director connection. This fixes a crash in the generated code caused by the dynamic_cast returning 0 because the specified types are incorrect for smart pointer types.

Add runtime test to the C# test suite's director smartptr test that demonstrates crash in generated code when directors are used with smart pointer types.

Closes #34