Commit graph

3,294 commits

Author SHA1 Message Date
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
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
William S Fulton
efc5af04e0 Detect node-gyp at configure time and show version in javascript_version target 2014-04-19 16:44:21 +01:00
Karl Wette
3aacde4f5f Whitespace cleanup of Example Makefiles 2014-04-16 12:06:02 +02:00
Artem Serebriyskiy
7c8405368e Finish implementation with proxy functions 2014-04-15 03:38:45 +04:00
William S Fulton
0e0f65aead Tidy up Example makefile for Javascript 2014-04-10 08:13:06 +01:00
William S Fulton
921189415a Remove junk files 2014-04-10 07:58:02 +01:00
William S Fulton
dc8428889e Ignored enum fixes.
C#/Java - Enums which have been ignored via %ignore and are subsequently
used are handled slightly differently. Type wrapper classes are now generated
which are effectively a wrapper of an empty enum. Previously in Java uncompilable
code was generated and in C# an int was used.
2014-04-08 23:25:27 +01:00
William S Fulton
7bec7c1b60 Further shift operator regression fixes 2014-04-08 19:19:44 +01:00
William S Fulton
0be33b1900 Fix use of shift operators in expressions regression since 3.0.0 2014-04-08 19:19:44 +01:00
William S Fulton
aa4b14a3d2 Fix seg fault with extra ) brackets and >> 2014-04-08 19:19:44 +01:00
William S Fulton
e442903fde Fix segfault when there are too many closing round brackets in parsed code 2014-04-05 00:18:30 +01:00
William S Fulton
1d857beb9d Fix regression in 3.0.0 where legal code following an operator<< definition might give a syntax error.
SF Bug #1365.
2014-04-04 08:31:59 +01:00
William S Fulton
2071b7d157 Lua test-suite can now be run out of source 2014-04-01 19:33:20 +01:00
Karl Wette
16039ce426 Fix out of source test-suite runs for Octave 2014-03-31 22:41:55 +01:00
William S Fulton
0fdfa3b6ce Add runtime test for commit 7a96fba836 2014-03-31 19:29:19 +01:00