William S Fulton
4f3c77051f
Slight wording change when running test-suite
...
Should be easier to parse 'by eye'
2014-02-22 20:51:27 +00:00
William S Fulton
91f4828a4a
Fix missing fragment name in warning message about missing fragment
2014-02-22 01:04:50 +00:00
William S Fulton
bf313809ae
Fix Lua examples for running under Lua 5.2
...
Includes cherry picking parts of
ce2760f77e
2014-02-22 00:43:18 +00:00
Olly Betts
c5bc0aa472
Improve Examples/README
2014-02-21 08:14:24 +13:00
Olly Betts
1097fc99ff
[Lua] Add keyword warnings for Lua keywords and Basic Functions.
2014-02-19 23:04:40 +13:00
Olly Betts
9146164748
Extend php_namewarn_rename to act as a regression test for the warning about built-in function names used in %extend
2014-02-19 22:09:39 +13:00
Olly Betts
7df6c832c3
Remove incorrect comments
2014-02-19 18:27:14 +13:00
Olly Betts
6d08992945
Add expected functions which get generated to silence testsuite warning
2014-02-19 18:26:40 +13:00
Olly Betts
ae14ad0c4a
Rename "struct Global" to "struct Global_" to avoid PHP keyword
2014-02-19 18:26:07 +13:00
Olly Betts
36c22b70bd
Make PHP %keywordwarn message wording consistent with other languages
2014-02-19 16:51:31 +13:00
William S Fulton
83bc80e1b1
Merge branch 'master' of github.com:gjanssens/swig into gjanssens-master
...
* 'master' of github.com:gjanssens/swig:
guile std_string test: run test in utf8 locale
fix typo
2014-02-18 23:29:07 +00:00
William S Fulton
c5911cc08d
Add %$isextendmember for %rename of members added via %extend
2014-02-18 23:21:46 +00:00
Geert Janssens
43c8f2351c
guile std_string test: run test in utf8 locale
...
Guile can't properly handle non-ascii strings in the default C locale
2014-02-18 16:35:58 +01:00
William S Fulton
9cbd742b66
Fix %$ismember %rename predicate for members added via %extend
...
Bug reported was incorrect renaming of PHP built-in functions, such as
next. See PHPFN in phpkw.swg.
Add some tests for the %rename predicates.
2014-02-18 07:30:55 +00:00
William S Fulton
b170788459
Executable bits and shebang fixes
2014-02-16 17:30:41 +00:00
William S Fulton
0e4f2dad0f
C# examples to use debug flags when using mono interpreter
2014-02-16 15:20:14 +00:00
William S Fulton
60501fe077
Errors tests more visibly show failures as the output of diff
...
diff -u would be better, but it is not posix, so diff -e is chosen as
second best choice.
2014-02-16 15:16:40 +00:00
William S Fulton
078dbf8d22
Merge branch 'clang_fixes' of github.com:marvingreenberg/swig into marvingreenberg-clang_fixes
2014-02-15 22:37:40 +00:00
William S Fulton
90a9d750c9
Add support for cdata library for Java
2014-02-15 22:13:50 +00:00
William S Fulton
8e6a539d89
Fix crash in php example
...
Declaration and definition of the add function were different
2014-02-15 19:34:42 +00:00
William S Fulton
cd2e301ea4
Remove nspace feature not yet supported warning
2014-02-15 18:54:28 +00:00
William S Fulton
49da10eca7
Don't run perl examples/tests if Test::More is not available
...
The test-suite requires Test::More and the local versions of Test::More
were removed in 1d1e8650a3 . They are not
always distributed with Perl, such as Perl 5.16 in Fedora.
2014-02-14 19:00:38 +00:00
William S Fulton
98364d46da
Merge branch 'wkalinin-nested-ignore'
...
* wkalinin-nested-ignore:
Restore warning suppression in testcase
Typo in comment fix
warnings suppressed for deeply nested classes
nested nested class warning filtered
warning filter fixed
error order foxed
WARN_PARSE_UNNAMED_NESTED_CLASS check fixed
more warnings removed
warnfilter fixed scoping for "anonymous forward declaration" fixed
%feature ("flatnested") is set for nested scope test
added forward declaration instead of ignored nested class (resurrected old code)
filtered warnings, turned on "flatnested" for nested template test
Nested classes support is diversified, depending on the language capability. If the language cannot support nested classes, they will be unconditionally moved to the global namespace. If language module does not override Language::nestedClassesSupport() function, nested classes will be ignored, unless "feature:flatnested" is used.
2014-02-08 10:34:05 +00:00
William S Fulton
88de9f1610
Restore warning suppression in testcase
2014-02-08 09:45:20 +00:00
Vladimir Kalinin
e9ecac9298
warnings suppressed for deeply nested classes
2014-02-07 07:39:07 +04:00
William S Fulton
09bdc5f353
Merge branch 'master' of https://github.com/gjanssens/swig into gjanssens-master
...
* 'master' of https://github.com/gjanssens/swig :
Guile: make scm to string conversion work with non-ascii strings
Guile: illustrate bug in non-ascii string handling
2014-02-06 19:58:09 +00:00
Vladimir Kalinin
6b5e366567
nested nested class warning filtered
2014-02-06 23:53:33 +04:00
Vladimir Kalinin
56cea1821d
warning filter fixed
2014-02-06 23:47:01 +04:00
William S Fulton
844695b674
Fix typedef_typedef test
2014-02-06 19:31:31 +00:00
Marvin Greenberg
fd85d12a2c
Allow csharp examples to run under mono
2014-02-05 15:31:57 -08:00
Marvin Greenberg
49d73c56d0
Move setting required -stdlib argument into configure.ac
2014-02-05 15:18:51 -08:00
Geert Janssens
c6d03a6a9f
Guile: make scm to string conversion work with non-ascii strings
2014-02-05 12:17:16 +01:00
Geert Janssens
a54674eeca
Guile: illustrate bug in non-ascii string handling
2014-02-05 12:17:05 +01:00
Vladimir Kalinin
54b2346c71
error order foxed
2014-02-05 02:30:48 +04:00
Marvin Greenberg
c3eff9234c
Workaround for clang 3.2 libc++ empty struct bug.
...
Certain tests have empty structs or classes.
This encounters a bug with clang: http://llvm.org/bugs/show_bug.cgi?id=16764
This is fixed in later versions of clang, but not the version
currently bundled with Mavericks and XCode 5
2014-02-04 11:55:36 -05:00
William S Fulton
0383d08444
Add new swigtype_inout.i library containing SWIGTYPE *& OUTPUT typemaps.
2014-02-04 06:54:22 +00:00
Vladimir Kalinin
b7fd1eacb2
WARN_PARSE_UNNAMED_NESTED_CLASS check fixed
2014-02-03 02:50:19 +04:00
Vladimir Kalinin
0320378387
more warnings removed
2014-02-03 02:31:17 +04:00
Vladimir Kalinin
bda9c90e2b
warnfilter fixed
...
scoping for "anonymous forward declaration" fixed
2014-02-03 02:21:44 +04:00
Vladimir Kalinin
8fc4fd2893
%feature ("flatnested") is set for nested scope test
2014-02-03 01:15:05 +04:00
Vladimir Kalinin
69d849b56c
filtered warnings, turned on "flatnested" for nested template test
2014-02-02 23:38:23 +04:00
Marvin Greenberg
9fd42e0e67
Work around clang bugs with symbol resolution
2014-01-30 16:18:21 -05:00
Marvin Greenberg
7c5275a0f1
Make sure tests are built with same stdlib flag as used to configure swig
2014-01-30 16:17:30 -05:00
Ian Lance Taylor
3785454a87
[Go] Add support for Go 1.3, not yet released.
2014-01-21 11:18:55 -08:00
William S Fulton
3055a21505
Errors test-suite overhaul
...
Use makefiles instead of a make.sh script
Expected results are in individual .stderr files instead of the expected.log file
Add errors test-suite to Travis testing and 'make check'
2014-01-19 00:12:12 +00:00
William S Fulton
9d003ab362
Update errors expected results
2014-01-16 19:30:48 +00:00
William S Fulton
e531578c54
Modify typedef_typedef testcase to work for all languages
...
Add CHANGES note
Closes #112 .
2014-01-14 07:21:40 +00:00
Yann Diorcet
2e186244d6
Add test for checking prefix resolving in typedef
2014-01-14 07:21:40 +00:00
William S Fulton
2f47bb8d67
Typedef typedef prefix test for templates
...
As given in Diorcet Yann's example in issue #50
2014-01-14 07:20:06 +00:00
William S Fulton
07ce3fb746
Add testcase for %attributestring on shared_ptr
2014-01-11 19:34:22 +00:00