William S Fulton
|
b502f4fc5a
|
Fix usage of nested template classes within templated classes so that compileable code is generated.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-13 08:04:01 +00:00 |
|
William S Fulton
|
aa61c716a8
|
Stop generating uncompileable code when using nested template classes in functions. Replace SWIGWARN_PARSE_NESTED_CLASS with SWIGWARN_PARSE_NAMED_NESTED_CLASS and SWIGWARN_PARSE_UNNAMED_NESTED_CLASS for named and unnamed nested classes respectively. Named nested class ignored warnings can now be suppressed by name using %warnfilter
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-12 19:47:04 +00:00 |
|
William S Fulton
|
ebed6508e4
|
Nested class improvements - Fixed inconsistency in handling C++ nested classes - sometimes they were treated as forward declarations, other times as if C nested struct was parsed. Added the nestedworkaround feature for C++ nested class handling. Document improved nested class handling. Numerous C and C++ nested struct/class/union test cases added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-11 00:30:34 +00:00 |
|
William S Fulton
|
9b318c45bc
|
inner declared types are treated as forward declarations - consistency now between innner/nested unions/structs and classes - only relevant to C++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-08 20:45:48 +00:00 |
|
William S Fulton
|
99565a7c35
|
Add unions to the nested class test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11729 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-08 20:33:19 +00:00 |
|
William S Fulton
|
9d65c100b9
|
Ignored nested class/struct warnings now display the name of the ignored class/struct.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-08 01:18:45 +00:00 |
|
William S Fulton
|
ec6bf1ec96
|
Fix nested template classes within a namespace generating uncompileable code by incorrectly adding in symbols into the symbol tables and not setting the scope correctly after the nested template was parsed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-08 00:14:47 +00:00 |
|
Joseph Wang
|
9683047b9a
|
move fPIC location to be in front of -o
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11723 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-04 03:50:09 +00:00 |
|
William S Fulton
|
da1fc3ab8f
|
Fix some usage of global scope operator ::
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-03 19:14:37 +00:00 |
|
William S Fulton
|
283fd3c7ec
|
minor improvement to testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-10-24 21:58:06 +00:00 |
|
William S Fulton
|
16b8caa3de
|
Fix seg fault when two or more %template() declarations were made within a class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11712 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-10-23 05:59:13 +00:00 |
|
William S Fulton
|
678abc58fb
|
Fix seg fault when using a named template instantiation using %template(name) within a class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11711 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-10-23 05:41:33 +00:00 |
|
William S Fulton
|
f825fba4f7
|
fix partial specialization with many parameters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-10-20 23:21:28 +00:00 |
|
William S Fulton
|
132376bade
|
Fix std::vector of const pointers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11704 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-10-20 18:22:16 +00:00 |
|
William S Fulton
|
4b2ced5095
|
Fix partial specialization and explicit specialization lookup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11703 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-10-20 17:50:36 +00:00 |
|
William S Fulton
|
123f4931cd
|
document directorinattributes and directoroutattributes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-10-01 18:16:09 +00:00 |
|
Joseph Wang
|
272ed9fc29
|
require -fPIC in compile line
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-09-15 01:27:17 +00:00 |
|
William S Fulton
|
5eeab68e21
|
Add %csattributes for adding C# attributes to enum values, see docs for example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11691 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-09-14 19:37:55 +00:00 |
|
William S Fulton
|
a2229a45fc
|
Fix memmove regression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11688 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-09-11 18:53:14 +00:00 |
|
William S Fulton
|
2726424a7f
|
Fix constant expressions containing <= or >=
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-09-11 18:47:05 +00:00 |
|
William S Fulton
|
49935ee952
|
Fix director exception testcase since exception message recently changed slightly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11678 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-09-02 22:35:55 +00:00 |
|
William S Fulton
|
7c6aca2ebc
|
true and false supported in constant expressions (C++ only). && || == != < > <= >= operators now return type bool (C++ only) and type int for C as per C/C++ standards.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11677 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-09-02 22:33:04 +00:00 |
|
William S Fulton
|
d841f7a66c
|
fix overloading of jboolean with other JNI types at the c++ level for some platforms (64bit Linux)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-09-02 20:49:55 +00:00 |
|
William S Fulton
|
968eb8287a
|
correction to SWIGTOOL usage
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-09-01 17:30:17 +00:00 |
|
William S Fulton
|
3932d02a2a
|
fix SWIG naming convention
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-21 00:25:11 +00:00 |
|
William S Fulton
|
9d6e826bd8
|
Test std::map in all languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-20 23:21:07 +00:00 |
|
Miklos Vajna
|
3c604b402d
|
PHP: remove unneeded ctor from the director_extend testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-18 13:47:27 +00:00 |
|
William S Fulton
|
2d27a4296b
|
fix warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-18 13:41:22 +00:00 |
|
William S Fulton
|
96cd19f86b
|
Remove C# 3.0 requirement to run test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11630 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-18 00:16:11 +00:00 |
|
William S Fulton
|
d2fe155495
|
warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-17 23:12:54 +00:00 |
|
William S Fulton
|
b75c606205
|
Fix for r11557 rename of max to maximum
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11628 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-17 23:07:16 +00:00 |
|
Xavier Delacour
|
ea578fcc8f
|
remove failing runtime tests director_exception_runme.m and director_finalizer_runme.m
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-17 02:49:35 +00:00 |
|
Olly Betts
|
af6c65c7e6
|
Add callback and extend; fix error in alphabetical ordering.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-17 01:41:16 +00:00 |
|
Olly Betts
|
ea560a73a4
|
Rename back - William wants this consistent across all the languages and it's
too much work to test a global renaming.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11606 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-17 01:37:18 +00:00 |
|
Olly Betts
|
c8f64ccc2e
|
Explain the poor name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-17 01:34:26 +00:00 |
|
Olly Betts
|
c9635d6255
|
Remove bogus stuff about memory leaks - nothing in this testcase leaks.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-17 01:30:42 +00:00 |
|
Olly Betts
|
089b226b80
|
Rename the "extend" example to "directors" as it tests directors not %extend.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-17 01:27:31 +00:00 |
|
Olly Betts
|
3141dfd599
|
Convert to use proxy classes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11601 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-17 01:08:23 +00:00 |
|
William S Fulton
|
3283728cf5
|
Add semicolons to remove unwanted statement output
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-16 23:25:42 +00:00 |
|
William S Fulton
|
57e713f46b
|
Fix testcase to minimal testing, most of it contained test code not relevant to std_vector.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11599 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-16 23:23:49 +00:00 |
|
Miklos Vajna
|
82df087b8b
|
PHP: remove '// Sample test file' comments from runme files
Those are cut&pasted from skel.php, but that comment makes sense only in
skel.php itself.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11598 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-16 22:23:32 +00:00 |
|
William S Fulton
|
3cabcd0553
|
remove debug print statements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11597 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-16 22:14:06 +00:00 |
|
William S Fulton
|
fc68afcf73
|
Octave: Caught exceptions display the type of the C++ exception instead of the generic 'c++-side threw an exception' message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-16 22:05:47 +00:00 |
|
William S Fulton
|
8ec652b7cf
|
Suppress g++ warning when compiled as c++ (for Octave)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-16 20:32:42 +00:00 |
|
William S Fulton
|
b5de6aabe5
|
more efficient python test-suite clean
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-16 20:02:22 +00:00 |
|
William S Fulton
|
db7ed25900
|
fix lextype testcase when compiled as c++ as is the case with octave
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11590 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-16 19:40:29 +00:00 |
|
William S Fulton
|
26cc9252d9
|
Fix testcase comment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-16 00:09:43 +00:00 |
|
William S Fulton
|
c7b7078dd0
|
Fix classes not being added into Java method's throws clause when %catches is used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-16 00:04:29 +00:00 |
|
William S Fulton
|
4516c1d3f3
|
Fix exception handling when %catches is used in C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-15 23:22:20 +00:00 |
|
William S Fulton
|
d74b680a79
|
Fix %template seg fault on some cases of overloading the templated method.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-08-15 10:40:19 +00:00 |
|