William S Fulton
|
7a6acb670a
|
remove out of date perl version for testing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-02-03 07:41:21 +00:00 |
|
William S Fulton
|
d02f543dbc
|
Fix typemap matching bug when a templated type has a typemap both specialized and not specialized - the wrong typemap would sometimes be used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11831 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-01-28 07:25:59 +00:00 |
|
William S Fulton
|
4b1d7aa73d
|
revert 11743 - accidental checkin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11829 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-01-23 22:24:45 +00:00 |
|
William S Fulton
|
f112e4bac1
|
Fix #2933129 - typemaps not being found when the unary scope operator (::) is used to denote global scope
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11827 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2010-01-22 20:39:54 +00:00 |
|
William S Fulton
|
6dad327ed3
|
Fix for %%javaexception and directors so that all the appropriate throws clauses are generated
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11797 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-12-23 01:05:17 +00:00 |
|
Olly Betts
|
3a0e056d63
|
Fix typo in literal string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-12-15 14:29:03 +00:00 |
|
William S Fulton
|
008ef5df5a
|
Minor fix for warning suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11782 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-12-14 20:44:51 +00:00 |
|
William S Fulton
|
f3828ee028
|
nested class warning suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11779 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-12-10 22:58:55 +00:00 |
|
Olly Betts
|
02eb6a81d1
|
Fix handling of modulo operator (%) in constant expressions (SF#2818562).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-12-04 05:46:31 +00:00 |
|
Olly Betts
|
8461ba43ff
|
Update lists of expected function, classes, and globals to match what we get
with PHP5. There are no longer any warnings about these.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-12-04 03:54:24 +00:00 |
|
Olly Betts
|
2c50482854
|
Fix testcase to conform with actual expected behaviour.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-12-03 14:12:42 +00:00 |
|
Olly Betts
|
d277354167
|
Add long long and unsigned long long const reference typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11767 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-12-03 05:21:48 +00:00 |
|
William S Fulton
|
09a801dd9e
|
Change %extend example which said that char arrays were problematic to wrap, when in fact they are not
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-12-02 22:16:48 +00:00 |
|
Olly Betts
|
2c74fbf9e4
|
[PHP] Fix warning and rename of reserved class name to be case insensitive.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11763 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-12-02 13:02:38 +00:00 |
|
William S Fulton
|
2bd190dbf1
|
Revert support for %extend and memberin typemaps added in swig-1.3.39. The memberin typemaps are ignored again for member variables within a %extend block. Documentation inconsistency reported by Torsten Landschoff.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-12-02 00:01:31 +00:00 |
|
William S Fulton
|
b9817010fb
|
add in missing line since last commit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-29 01:50:21 +00:00 |
|
William S Fulton
|
bf8ba3bf55
|
Fix generated quoting when using %javaconst(1)/%csconst(1) for static const char member variables.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-29 01:29:26 +00:00 |
|
William S Fulton
|
1dd50f5ea8
|
Fix %javaconst(1)/%csconst(1) for static const member variables to use the actual constant value if available
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-26 19:20:31 +00:00 |
|
William S Fulton
|
2a59a2e6a9
|
Improved C++ nested class support - nested typedef'd classes now parsed and treated as forward class declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11756 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-23 23:02:01 +00:00 |
|
William S Fulton
|
a9ccc5a866
|
Fix multiple declarations of nested structs (C code)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-18 20:24:06 +00:00 |
|
William S Fulton
|
7cb4e902d5
|
Fix parsing of enum declaration and initialization
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-17 19:31:13 +00:00 |
|
William S Fulton
|
f62c54c0f6
|
add missing nested_workaround runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11751 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-17 19:28:29 +00:00 |
|
William S Fulton
|
7fd36f5bd6
|
Fix parsing of struct declaration and initialization
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-17 18:45:53 +00:00 |
|
William S Fulton
|
0286f6d43e
|
Fix #1960977 - Syntax error parsing derived nested class declaration and member variable instance
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11748 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-15 00:36:22 +00:00 |
|
William S Fulton
|
107c61d979
|
Remove bugs which have been fixed over time from cpp_broken.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11747 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-15 00:05:25 +00:00 |
|
William S Fulton
|
5ea1852ecb
|
namespace_union.i now works given recent nested class improvements. Closes bug #811906
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11746 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-14 23:51:12 +00:00 |
|
William S Fulton
|
e0dd20350f
|
Add caveat about using percent in varargs example as per suggestion in bug #2106353
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-14 21:50:41 +00:00 |
|
William S Fulton
|
7ae45bc020
|
Fix #2310483 - function pointer typedef within extern C block.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2009-11-14 15:55:23 +00:00 |
|
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 |
|