Commit graph

5,265 commits

Author SHA1 Message Date
Marcelo Matus
ed53e75df6 add macros/names to avoid numeric warning codes. use them in tcl,perl,ruby and python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 06:59:32 +00:00
Marcelo Matus
87c038c82c fix typos in names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 06:53:36 +00:00
William S Fulton
21e601d59f call the sanity_check function to check the C++ operators are implemented correctly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:36:36 +00:00
William S Fulton
c80bfc55e6 call the sanity_check function to check the C++ operators are implemented correctly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:09:33 +00:00
William S Fulton
b5d3117170 add in complete increment/decrement operator checks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:06:30 +00:00
William S Fulton
01b07443ff Fix C# increment/decrement operator wrappers
Add in runtime test to check increment/decrement operators are working correctly (pure C++ test)
Expose the function that checks all C++ operators so it can be called from target language


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8269 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 01:05:46 +00:00
Marcelo Matus
8307e12982 unsigned/signed casts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 00:59:30 +00:00
Marcelo Matus
174c2a36c1 more test cases, less cast operations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 00:58:14 +00:00
Marcelo Matus
4e05ba0554 more test cases, less cast operations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 00:57:44 +00:00
Marcelo Matus
2642d272e8 more test cases, less cast operations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8265 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 00:28:51 +00:00
Marcelo Matus
f974cba664 avoid signed/unsigned warns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 23:13:12 +00:00
Marcelo Matus
b73ca56b1e avoid extra casting since they conflict with 'const', reported by James Bigler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 23:08:06 +00:00
Marcelo Matus
5612807986 fix problem with containers reported by John Koleszar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 21:37:59 +00:00
Marcelo Matus
c2296ed5b1 fix overload_simple case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 18:48:28 +00:00
Marcelo Matus
f6a5cbb972 allow to predefine %begin_block,%end_block
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 18:00:50 +00:00
Marcelo Matus
d0079efb79 add missing hidden
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 18:00:00 +00:00
Marcelo Matus
9e20f53808 disable kwargs in more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8258 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 17:16:25 +00:00
Marcelo Matus
68396be600 flag the memberget/memberset methods and use it to deactivate kwargs, reported by amaury
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 16:55:58 +00:00
William S Fulton
42e48ca9f6 extra operator++ test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 16:32:54 +00:00
William S Fulton
e364bc65e1 Fix postfix operator++ operation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 16:32:21 +00:00
William S Fulton
65d72f73cd add in missing testcase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 14:10:55 +00:00
William S Fulton
35526f18d2 Fix for directors - where a class returned by value
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 14:09:14 +00:00
William S Fulton
e5d5b16033 cosmetic changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 13:58:47 +00:00
William S Fulton
f545472fe8 cosmetic changes removing unnecessary brackets and empty lines in generated code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 13:58:10 +00:00
Jason Stewart
8b8bdd6251 reactivating the java test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 12:15:10 +00:00
Marcelo Matus
3634df5e12 add support for named warning codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:42:24 +00:00
Jason Stewart
e36dae8e58 removed 'java' from the test list - this was causing errors for a non-existent test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:19:44 +00:00
Marcelo Matus
1baa61f241 fix spurious warning for kwargs + vars, reported by Amaury
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:08:35 +00:00
Jason Stewart
40e789329e Perl module now fully supports operator overloading
added script for testing overloading support which uses Perl test harness: Test::More

updated HTML docs for operators


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 10:59:27 +00:00
Jason Stewart
fd440b5a26 organized better for the list of supported and unsupported operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 10:51:44 +00:00
Marcelo Matus
dcf0dc2ed2 update cvsignore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8244 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 06:54:48 +00:00
Marcelo Matus
434d5b5e3a remove extra space, which was needed for template operator<
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8243 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 06:09:30 +00:00
Marcelo Matus
c338787d04 remove unneeded Char
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 06:04:40 +00:00
Marcelo Matus
1e733be4d9 fix example for old compilers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 02:28:44 +00:00
Marcelo Matus
aafdfe1a5e fix iterators for old compilers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 02:28:01 +00:00
Marcelo Matus
bcca80d556 add corresponding wchar version of cstring.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:53:31 +00:00
Marcelo Matus
2d87b0de74 use consistent macro name SWIG_CSTRING_UNIMPL
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:52:19 +00:00
Marcelo Matus
dacc6e1dbb properly disable stl.i in target languages which do not support it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:49:57 +00:00
Marcelo Matus
fc0ee40ae2 clarify the use of std_except.i, now it has nothing to do with supporting the STD/STL namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:49:10 +00:00
Marcelo Matus
9367fa255d fix wrong assert
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:19:05 +00:00
Marcelo Matus
ab6a42340d fix SwigType_templateprefix + operator <
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8234 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:18:16 +00:00
Marcelo Matus
b1f37cfd25 fix for template + operators and compilers like gcc 3.3.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 01:17:47 +00:00
Marcelo Matus
55d79fea4f add initial stl.i to ensure proper file inclussion and extensions for each language
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:37:31 +00:00
Marcelo Matus
d43dbba7d0 add missing ; detected by improper inclusion of this file via stl.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8231 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:33:03 +00:00
Marcelo Matus
9e46ce1a5a add missing ; detected by improper inclusion of this file via stl.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8230 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:27:49 +00:00
Marcelo Matus
8d812cd955 add stl.i files for each language to prevent improper includes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:27:12 +00:00
Marcelo Matus
da7a59d3f8 move xmlstring.i to a more standard location
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8228 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:06:27 +00:00
William S Fulton
14da0d15d7 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8227 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 23:03:01 +00:00
William S Fulton
f3b59d0059 remove old swig-1.1 file no longer used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8226 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 23:01:40 +00:00
Marcelo Matus
c6c9150934 add test for the %implicitconv directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 22:52:52 +00:00