Commit graph

3,308 commits

Author SHA1 Message Date
Olly Betts
def3c08943 Fix comment typos 2014-05-18 20:20:30 +12:00
William S Fulton
46cfdba5ca Attempt to fix li_boost_intrusive_ptr C# compile error
Using boost 1.36 and gcc-4.3.4
2014-05-18 01:36:29 +01:00
William S Fulton
176c697c8b Remove PHP director_basic runtime test until fixed.
See #164
2014-05-18 01:06:56 +01:00
William S Fulton
ac89f7f785 Javascript examples tidy up
- Remove empty files
- Improve clean
2014-05-18 00:59:47 +01:00
William S Fulton
50f5b4f7f4 Fix in source android examples clean 2014-05-16 20:46:35 +01:00
William S Fulton
2f25b68d10 Merge branch 'kwwette-out-of-src'
* kwwette-out-of-src:
  Configured languages display improvement
  Fix out of source clean-android-examples
  Neaten up test-suite Makefile regeneration
  Remove duplicate test target in CCache Makefile
  Add in CPPFLAGS and LDFLAGS to examples/test-suite
  Remove unnecessary make invocation when running test-suite
  gitignore to ignore build directory names
  Partially fix R out of source test-suite
  Update all languages to use SCRIPTDIR
  Slight simplification of test-suite build for new out-of-source changes
  Allow examples and test-suite to be built out of source tree
  Add "make maintainer-clean" to Travis CI build
  CCache/Makefile.in: fix to allow out of source tree check/install
  Regenerate configured Makefile if Makefile.in or config.status have changed
  Fix segmentation fault in some Javascript examples
  configure.ac: print configured languages at end of configuration
2014-05-15 23:32:10 +01:00
William S Fulton
6181853312 Fix out of source clean-android-examples 2014-05-15 23:28:47 +01:00
William S Fulton
8ece62b945 Neaten up test-suite Makefile regeneration 2014-05-15 23:11:08 +01:00
William S Fulton
18d72f4562 Add in CPPFLAGS and LDFLAGS to examples/test-suite
- Split current usage of CXXFLAGS into the conventional CPPFLAGS CXXFLAGS and LDFLAGS
- Split current usage of CFLAGS into the conventional CPPFLAGS CFLAGS and LDFLAGS
- This restores 'make whatever CXXFLAGS=-g' which stopped working during
  the recently added suppport for out of source builds.
- LDFLAGS is currently empty, but is there for future use
2014-05-15 23:11:08 +01:00
William S Fulton
28c3549e43 Partially fix R out of source test-suite
Fix when there is NOT a runme.R file
2014-05-15 23:11:07 +01:00
William S Fulton
beccd3258f Update all languages to use SCRIPTDIR
R also to use SCRIPTPREFIX and SCRIPTSUFFIX
2014-05-15 23:11:07 +01:00
William S Fulton
2b5499a262 Slight simplification of test-suite build for new out-of-source changes
Provide default SRCDIR and SCRIPTDIR variables in common.mk and override
only where needed.
2014-05-15 23:11:07 +01:00
William S Fulton
caaf224b59 Turn off %extend nested test for cplusplusout languages 2014-05-12 19:07:55 +01:00
William S Fulton
f6cae1af1b Merge branch 'wkalinin-csymbols'
* wkalinin-csymbols:
  Tests for C nested classes symbol table not being in global space
  C nested classes symbol table should be in global space
2014-05-12 07:54:36 +01:00
William S Fulton
9b0e484b8a Tests for C nested classes symbol table not being in global space
Tests for 55bda53145
2014-05-12 07:51:55 +01:00
Karl Wette
f574a34155 Allow examples and test-suite to be built out of source tree
- Examples/Makefile.in rules use SRCDIR as the relative source directory

- ./config.status replicates Examples/ source directory tree in build
  directory, and copies each Makefile to build directory, prefixed with
  a header which sets SRCDIR to source directory

- Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir

- Examples/test-suite/errors/Makefile.in needs to filter out source
  directory from SWIG error messages

- Lua: embedded interpreters are passed location of run-time test

- Python: copy run-time scripts to build directory because of 2to3
  conversion; import_packages example copies __init__.py from source
  directory; test-suite sets SCRIPTDIR to location of run-time tests

- Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir
  can be substituted with SRCDIR; removed './' from require() statements
  so that NODE_PATH can be used to point Node.js to build directory
2014-05-11 23:21:10 +02:00
Karl Wette
96153c7c0a Regenerate configured Makefile if Makefile.in or config.status have changed 2014-05-11 21:31:32 +02:00
xantares
00a02a3d9c Fix duplicate entry 2014-05-10 12:09:52 +02:00
Olly Betts
b115c984a9 More cleaning up of the class examples 2014-05-05 16:14:31 +12:00
Olly Betts
7cac2d35cb Remove random extra assignment in example code 2014-05-05 16:05:00 +12:00
Karl Wette
b6c1889c08 Fix {python|perl5|ruby|tcl}/java examples
- in Lib/gcj/cni.i: remove JvAllocObject(), change
  JvCreateJavaVM() argument from void* to JvVMInitArgs*
- in Examples/{python|perl5|ruby|tcl}/java/Makefile:
  pass full class name to gcjh, add Example.h as dependency,
  do not override CXX for compiling C++ sources
- in Examples/python/java/example.i:
  add destructor to class to prevent memory loss complaint
2014-05-02 21:44:42 +02:00
Karl Wette
d5b765d388 Whitespace cleanup of all Makefiles*
- some of the %.clean rules in the test-suite Makefiles were using a single tab
  as an empty rule, dangerous! I've replaced these with the safer '@exit 0'.
2014-05-02 20:06:11 +02:00
Karl Wette
7cd9063b52 Remove execute permissions from various non-executable files
- source files and Makefiles need never be executable
- scripts are run directly by their interpreters in the
  test suites, so also do not need to be executable
2014-05-02 20:06:11 +02:00
William S Fulton
f51be1ca5c Merge branch 'master' into javascript
* master:
  Fix some typos
  [PHP] The generated __isset() method now returns true for read-only properties.
  Eliminate needless casting away const from string constants
  Fix typos
  Fix missing ")" in code example
  Fix comment typos
  Fix m4 quoting of checks for yodl2man and yodl2html versions
  Fixed errors from previous commit.
  Removed all unnecessary asserts
  Remove unused variable
  Another go html fix
  Fix intgosize arg documentation
  Optimize metamethods inheritance resolving
  Updating documentation
  Whitespace cleanup of Example Makefiles
  .gitignore: ignore Lib/swigwarn.swg
  Fixing unused variable warnings
  Finish implementation with proxy functions
  Remove duplicate declarations of strtoimax and strtoumax in inttypes.i
  Ignored enum fixes.
  Further shift operator regression fixes
  Fix use of shift operators in expressions regression since 3.0.0
  Fix seg fault with extra ) brackets and >>
  More efficient end of template bracket (>>) handling
  beautify scanner.c
  Tidy up scanner.c
  DOH readme correction
  Fix typo in -lua -help output
  Remove extra </div>
  Update documentation for deprecation and removal of Close()
  Fix segfault when there are too many closing round brackets in parsed code
  Refix operator<< definition giving a syntax error
  Fix regression in 3.0.0 where legal code following an operator<< definition might give a syntax error.
  Remove unnecessary block from PHP version of SWIG_exception macro
  [PHP] Fix wrapping director constructors with default parameters with a ZTS-enabled build of PHP.
  Fix potential bugs found by Coverity analysis
  Eliminate unused parameter from SWIG_Php_GetModule()
  Fix comment typo
  Fix compiler warnings in generated Lua code
  [PHP] Pass the ZTS context we already have to avoid needing to call TSRMLS_FETCH, which is relatively expensive.
  [PHP] Pass ZTS context through to t_output_helper() so it works with a ZTS-enabled build of PHP.  Reported by Pierre Labastie in github PR#155.
  Lua test-suite can now be run out of source
  Fix out of source test-suite runs for Octave
  Add runtime test for commit 7a96fba836
  Add C++11 constexpr runtime test
2014-05-01 19:01:20 +01:00
William S Fulton
80953ccfc9 Fix some typos 2014-05-01 18:49:42 +01:00
Olly Betts
73bb909bae [PHP] The generated __isset() method now returns true for read-only properties. 2014-05-01 14:37:58 +12:00
Olly Betts
618868ce3d Fix typos 2014-04-29 11:31:29 +12:00
Olly Betts
4c86f17bcb Merge pull request #159 from v-for-vandal/issue_154
Fixing issue 154
2014-04-29 11:19:58 +12:00
Oliver Buchtala
c2f9bd88b1 Enable Javascript in director_nspace_director_name_collision.i. 2014-04-29 00:37:33 +02:00
Oliver Buchtala
b30c6a452f Make javascript 'nspace' conform to corresponding lua example. 2014-04-29 00:29:17 +02:00
Olly Betts
739162ec3e Fix comment typos 2014-04-28 13:13:47 +12:00
Oliver Buchtala
cb7a1f23f5 Enable javascript examples 'exception', 'namespace'. 2014-04-27 00:37:21 +02:00
Oliver Buchtala
7a7faab765 Fix bug and regression in javascript namespace generator. 2014-04-27 00:34:49 +02:00
Oliver Buchtala
4c8a1ea5e8 Fix node-gyp configuration for example 'exception'. 2014-04-27 00:30:57 +02:00
William S Fulton
889c8e24c7 Javascript test-suite - warning suppression not needed 2014-04-24 22:49:48 +01:00
William S Fulton
dbf80cbaa5 Javascript example Makefiles more consistent with other languages 2014-04-24 22:18:12 +01:00
Oliver Buchtala
1d10a62192 Fix configuration for Javascript/node ctests. 2014-04-23 02:56:53 +02:00
Oliver Buchtala
f3e3fce664 Fix configuration for ctest with Javascript/v8. 2014-04-23 02:25:07 +02:00
Oliver Buchtala
093f8995a8 Add cast to test 'string_simple' to avoid C++ compiler error. 2014-04-23 00:38:45 +02:00
Oliver Buchtala
36679865f4 Add 'fix' for Javascript/v8 to test 'enum_forward'. 2014-04-23 00:38:01 +02:00
William S Fulton
e6d5abb766 Only disable javascript tests if node-gyp is missing when testing node 2014-04-21 11:37:19 +01:00
William S Fulton
e730b16fac Revert "Javascript node test-suite makefile fixes for parallel make"
This reverts commit f105590c0a.
2014-04-21 11:23:14 +01:00
William S Fulton
665ddb55d1 Suppress keyword warning in test-suite 2014-04-21 08:08:22 +01:00
William S Fulton
bebd97e7f4 Restore and fix infinity testcase for Javascript 2014-04-20 14:25:49 +01:00
William S Fulton
1010fbaa8f Simple C string test
Was added for Javascript, but was not being used in full test-suite.
Rename from javascript_unicode to simple_string and provide for all
languages.
Rewrite to use portable C
2014-04-20 13:58:46 +01:00
William S Fulton
f105590c0a Javascript node test-suite makefile fixes for parallel make 2014-04-20 13:58:46 +01:00
William S Fulton
088d3f6319 Restore missing make code in javascript branch 2014-04-20 13:58:46 +01:00
William S Fulton
ccaf3bfe79 Javascript test-suite makefile update
Reword output to what is now on master
Remove SMOKE targets - these could be re-introduced centrally if needed
or otherwise partialcheck is a good alternative.
2014-04-20 13:54:35 +01:00
William S Fulton
ffe4bd8f60 ADD RUNPIPE and RUNTOOL to Javascript examples 2014-04-19 18:11:32 +01:00
William S Fulton
aae63efcfe Remove unnecessary blank lines from Javascript examples 2014-04-19 17:59:49 +01:00