Commit graph

5,662 commits

Author SHA1 Message Date
Marcelo Matus
285aeff366 readd removed \!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8671 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 22:46:46 +00:00
William S Fulton
d0b18a8c13 add generated swigwarn.swg to windows distribution
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 21:28:16 +00:00
William S Fulton
5241939f7a add allowexcept feature test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 21:15:45 +00:00
Marcelo Matus
14a5d7f762 fix for solaris + no stlport4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 16:24:23 +00:00
Marcelo Matus
38d96c9ad8 fix -external-runtime and warning arounds in subversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8667 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:57:04 +00:00
Marcelo Matus
dbdcf4462c fix -external-runtime and warning arounds in subversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:37:53 +00:00
Marcelo Matus
872422e8eb add declaration for WCHAR_MIN and WCHAR_MAX if not founded
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 05:14:43 +00:00
Marcelo Matus
016c49bd21 fix warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8664 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 05:13:46 +00:00
Marcelo Matus
f59680b810 fix warning in solaris
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 05:12:18 +00:00
Marcelo Matus
51a55b9705 fix seg fault with undefined templatee
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 17:18:31 +00:00
Kevin Ruland
466726083f Fixed problems when overloading C++ member functions.
- only register the wrapper function.
 - fix dispatchFunction() implementation to accomodate this_ptr.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 16:40:59 +00:00
Kevin Ruland
e5e700b3c2 Added typechecks for string and const string&.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 16:38:48 +00:00
Kevin Ruland
07d8cddbde Fix memory leak in GetModule.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 16:38:14 +00:00
Marcelo Matus
26afeac0c7 fix Wall/pedantic
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 06:18:50 +00:00
Marcelo Matus
dcf0727ee1 add <stdlib.h> for malloc and lua
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 06:16:41 +00:00
Matthias Köppe
6c4bc0378d (free_swig_member_function): Add missing return.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 02:45:48 +00:00
Marcelo Matus
1fc78ba477 remove old -Dexplicit=
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 00:57:00 +00:00
Marcelo Matus
36ab776a61 fix -external-runtime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-31 00:02:58 +00:00
Marcelo Matus
2a89c24848 fix unapplied 'novaluewrapper' feature and add directive forms
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 23:32:51 +00:00
Marcelo Matus
9d88b67802 fix unapplied 'novaluewrapper' feature and add directive forms
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8652 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 23:18:08 +00:00
William S Fulton
ba3a92deca *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:58:01 +00:00
Marcelo Matus
7b2dbbc3ce fix missing static member access methods, discovered with li_std_string test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:52:39 +00:00
William S Fulton
308a559d6b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8649 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:45:30 +00:00
William S Fulton
8b60b7fd87 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:33:47 +00:00
Marcelo Matus
8e91804233 add fragment warning and fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8647 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:33:06 +00:00
William S Fulton
2584db6d72 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:24:46 +00:00
Marcelo Matus
5e77ca27e0 add fragment warning and fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8645 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:22:13 +00:00
William S Fulton
8f09162243 %naturalvar documentation added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:17:42 +00:00
William S Fulton
cef8b21922 Add in missing xml Makefile
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8643 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:16:51 +00:00
William S Fulton
a0eeaed4e1 fix typos
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8642 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:16:14 +00:00
William S Fulton
c6ede27baa *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:15:58 +00:00
William S Fulton
9e1e83635f Add missing fragment. Surely this kind of bug should be found when SWIG compiles? That is surely SWIG should generate error out if it can't find a fragment it has been asked to use?
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8640 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 21:19:41 +00:00
William S Fulton
23b90b3d1c fix solaris workshop compiler noise
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 21:14:21 +00:00
Marcelo Matus
2aa0e23287 don't add forward class to the classes hash. We needed this before for naturalvar, but is not needed anymore. Now produce seg faults when a forward class statement is found after a class declaration. Reported by Evan Weis
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8638 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 20:18:38 +00:00
Marcelo Matus
829cd3a908 reenable missing INPUT/OUTPUT, and add tests for std::string
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8637 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:55:43 +00:00
Marcelo Matus
81bf4de348 add %naturalvar to std::string and remove local li_std_string.i, so Mattias can finish the examples here :)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:52:57 +00:00
Marcelo Matus
dc9641de4b add %naturalvar to std::string and remove local li_std_string.i, so Mattias can finish the examples here :)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:25:51 +00:00
Matthias Köppe
3f1b1b8e59 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:14:40 +00:00
Matthias Köppe
b175a77e6a Fix test case.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:03:09 +00:00
Matthias Köppe
fcd200a7b4 Add some more std::string typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 19:01:35 +00:00
Matthias Köppe
c7d465ecaa New string encoding method, "schemify".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 18:07:00 +00:00
Matthias Köppe
d66d113312 Add k_copy.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8630 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 18:04:08 +00:00
Matthias Köppe
db5302d96d (Swig_name_copyconstructor): Use "copy" naming scheme, not "construct".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 18:03:45 +00:00
Marcelo Matus
97e99219a7 fix ignored '%template(Foo)' after '%ignore Foo'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8628 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 17:03:08 +00:00
Marcelo Matus
85dcc27edf add/fix std_string test with %naturalvar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8627 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 06:14:35 +00:00
William S Fulton
fd212896fd std::wstring global and member variables are wrapped as strings by default
No need to use the %apply const std::wstring& { std::wstring* } trick anymore


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 22:32:07 +00:00
William S Fulton
fbcff730c2 Fix dodgy comparison which would never fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8625 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 22:06:12 +00:00
William S Fulton
b98bbcd849 Add in runtime tests for std::string variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8624 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 22:00:45 +00:00
William S Fulton
581b79652d std::string global and member variables are wrapped as strings by default
No need to use the %apply const std::string& { std::string* } trick anymore


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8623 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 21:21:47 +00:00
Matthias Köppe
0870d0a710 Define and use %argument_fail, %as_voidptr.
Use SWIG_IsOK, SWIG_CheckState.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8622 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 20:36:57 +00:00