Commit graph

163 commits

Author SHA1 Message Date
Marcelo Matus
a275bbd30f add the 'naturalvar' option/mode/feature, to allow member variables to be treated in a natural way, as the global ones. This mean use the const SWIGTYPE &(C++)/SWIGTYPE(C) typemaps instead of the plain SWIGTYPE * typemap for the set/get methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:48:56 +00:00
Marcelo Matus
d812f5fe5e disable copyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:38:02 +00:00
Marcelo Matus
8ffd60bec7 generate implicit copyctor, add -nocopyctor, and clarify the -nodefault, -nodefaultctor, -nodefautldtor options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8031 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 06:32:49 +00:00
William S Fulton
1e9ff45c66 add intermediary_classname.i for testing changing the intermediary classname from default (Java/C#)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:48:32 +00:00
Marcelo Matus
6910efd151 fix old template + many many typedefs error detected in Udo tremel's template_typedef_rec.i example, and deactive TEMPLATE_QUALIFY cache for problems with OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-16 17:18:00 +00:00
Marcelo Matus
cef0013285 'oficially' add fastdispatch option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 21:30:06 +00:00
Marcelo Matus
5171115729 add test for 'typedef unsigned long size_t'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7937 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-07 07:35:11 +00:00
Marcelo Matus
da1f4a04eb adding stdint.i, the ISO C99 int types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-21 20:27:24 +00:00
William S Fulton
86bc20b37e test non standard integral types used on Windows
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7840 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:23:07 +00:00
Marcelo Matus
c772c0b7f3 fixes for chicken and the STL/STD cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7812 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 12:54:48 +00:00
Marcelo Matus
f6d0f3b3ae fixes for chicken and the STL/STD cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7811 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 12:43:56 +00:00
Marcelo Matus
a3a4859112 fixes for chicken and the STL/STD cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-05 12:38:28 +00:00
Marcelo Matus
1799ddf592 fixes and more cases, as usual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7768 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-31 10:11:29 +00:00
Marcelo Matus
a04ecfbfe3 adding more broken cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7741 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-27 09:14:20 +00:00
Marcelo Matus
1fa14f74a7 add disown.i and li_attribute.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-26 07:08:18 +00:00
Marcelo Matus
3c65cea431 Perl added to the Unified typemap library, cleaner way to use the library, and 'normalized' macro names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7707 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-24 14:59:05 +00:00
Marcelo Matus
7e5e4fd1f9 massive typemap unification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-18 13:24:15 +00:00
William S Fulton
27dda1ec1f tests to check constants don't attempt to generate setters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-15 01:03:31 +00:00
Marcelo Matus
5e176c2a1f fix seg fault with simple typedef struct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7651 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-14 13:36:12 +00:00
Marcelo Matus
54ba818937 fixes for new flag attribute convention
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7605 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-07 13:19:06 +00:00
William S Fulton
fff590d2e5 test compactdefaultargs feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 21:32:12 +00:00
William S Fulton
25cfc49856 test wrapping nothing!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-28 20:55:18 +00:00
William S Fulton
a6ac0941e7 move ruby only test to ruby directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-24 09:20:19 +00:00
Charlie Savage
2163b181e1 Added test for tracking objects functionality in Ruby.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 23:38:32 +00:00
William S Fulton
db84d961e3 Test for patch #1116431 Fix non member functions inadvertently being called instead of member functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-23 21:20:27 +00:00
William S Fulton
e590565fe8 Support for Lua added - patch from Mark Gossage
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 20:38:34 +00:00
William S Fulton
c838d83d2c new test to test windows calling conventions with extern functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-27 21:15:55 +00:00
Marcelo Matus
45fb27f977 fix for #1205859
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-18 08:04:30 +00:00
Marcelo Matus
4633b86c61 add template+using test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-13 16:41:27 +00:00
William S Fulton
c4fcaf6e05 test symbol with same name but different purpose in inheritance hierarchy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7264 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:48:11 +00:00
William S Fulton
ae38d0ff23 A testcase for testing multi-thread issues
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-01 20:40:45 +00:00
William S Fulton
ad46f2ef3e test class hierarchies where the access changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:15:01 +00:00
Marcelo Matus
61c97d7943 add template + typedef + fnc case reported by Carlos Pita. Broken in 1.3.24, but works in CVS.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-16 01:18:47 +00:00
John Lenz
b599732cdc Add a whole bunch of chicken runme scripts, and fix the bugs exposed by those scripts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-15 05:23:14 +00:00
William S Fulton
46d334cae2 test %template() with no given template name uses typemaps - tests part of the template ext mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-01 19:49:20 +00:00
Marcelo Matus
0efc38f727 add template+typedef+ns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7077 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-17 05:58:31 +00:00
William S Fulton
f76b8a49ff more tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 22:43:04 +00:00
Marcelo Matus
b316e6445a fix varin typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-19 04:34:43 +00:00
Marcelo Matus
c98340f0a7 fix directorout typemap for const std::string&. Adding warning about the new typemap, which is not thread safe
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 20:22:19 +00:00
Marcelo Matus
256dcda5f8 add test case using 'super'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-12 21:40:18 +00:00
Marcelo Matus
db5a9e2140 fix smart_pointer + extend
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6835 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-06 06:58:41 +00:00
Marcelo Matus
844924b2c9 add template_default_pointer broken case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:15:23 +00:00
Marcelo Matus
2f1bf5cac4 add template_default_pointer broken case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6812 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:14:56 +00:00
Marcelo Matus
6923d5346c add smart_pointer +members test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 01:06:04 +00:00
William S Fulton
a935d489b3 Broken makefile fixed (trailing \ at end of list)
name_inherit tests moved into name_cpp


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6779 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:08:57 +00:00
Marcelo Matus
20debc4ed8 added more test cases and broken ones
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6726 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 18:45:28 +00:00
Marcelo Matus
5b3e4bc601 fix typemap + numinputs +argout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 00:22:29 +00:00
William S Fulton
dc903c677a lib_xxxx tests renamed to li_xxxx as a workaround in glib which Mono C# uses - libraries wont be loaded if they start with lib
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:56:31 +00:00
Marcelo Matus
3fc7b773d9 fixes for namespaces + class declarations + %template directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 08:38:21 +00:00
Marcelo Matus
43ff4e34d1 add patch 962168 for Multiple Inheritance problem, seems to be working fine
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 11:17:20 +00:00