Commit graph

15,813 commits

Author SHA1 Message Date
William S Fulton
a7370b7bc0 Formatting fixes in generated code for interface feature 2016-02-06 16:34:24 +00:00
William S Fulton
a16a818523 Cosmetic spacing changes in test case 2016-02-05 20:20:39 +00:00
William S Fulton
abf39433e3 interface feature typemap corrections to handle NULL pointers 2016-02-05 19:28:29 +00:00
Vladimir Kalinin
9450491c35 interface test added 2013-05-29 23:49:30 +04:00
Vladimir Kalinin
73cf08ea64 javadirectorin fix 2013-05-29 17:06:54 +04:00
Vladimir Kalinin
9b0f385a50 interface implementation visibility 2013-05-23 00:11:58 +04:00
Vladimir Kalinin
77bb7673ed interface inheritance (2) 2013-05-22 18:47:45 +04:00
Vladimir Kalinin
5ccf08e3ec interface inheritance (1) 2013-05-22 00:20:58 +04:00
Vladimir Kalinin
766d55255b feature:interface ported to Java 2013-05-21 20:05:54 +04:00
Vladimir Kalinin
50685b512f Merge branch 'interfaces' of https://github.com/wkalinin/swig into interfaces 2013-05-21 14:18:03 +04:00
Vladimir Kalinin
a61b45d1a2 propagate non-abstract "interface" base methods (3) 2013-05-21 03:49:52 +04:00
Vladimir Kalinin
9c0ceb2adf propagate non-abstract "interface" base methods (2) 2013-05-20 18:19:46 +04:00
Vladimir Kalinin
1a40b9a1ed propagate non-abstract "interface" base methods (1) 2013-05-20 14:11:58 +04:00
Vladimir Kalinin
9c317fae90 namespace support added
GetCPtr now returns HandleRef
"feature:interface:name" is now mandatory attribute
2013-04-16 23:53:21 +04:00
Vladimir Kalinin
0898d6435d interfaces (1) 2013-04-16 04:49:23 +04:00
Vladimir Kalinin
753120d76b interfaces (1) 2013-03-22 15:47:41 +04:00
Olly Betts
481ed3c578 Update lingering configure.in references to say configure.ac 2013-03-21 14:41:09 +13:00
Olly Betts
b132992b8a Stop claiming that SWIG_exception() can be used in helper functions 2013-03-21 14:25:14 +13:00
Olly Betts
23bcc1c66b Remove lingering relic of PHP4 support 2013-03-20 16:45:24 +13:00
Olly Betts
b72aca1d07 Fix typo in comment (swift->swig) 2013-03-20 15:39:03 +13:00
William S Fulton
7d083890e6 More Travis build experiments 2013-03-19 22:41:04 +00:00
William S Fulton
12ee3e9c4c Fix Travis matrix 2013-03-19 22:15:07 +00:00
William S Fulton
6fecb05379 Fix director_nspace_director_name_collision test for languages that don't support %nspace 2013-03-19 19:50:44 +00:00
William S Fulton
e182b4844c Fix seg fault in SWIG using directors when class and virtual method names are the same except being in different namespaces when the %nspace feature is not being used. 2013-03-19 19:50:44 +00:00
William S Fulton
9d0b20916f Add ability to suppress some director warnings by their method name, not just the containing class name 2013-03-19 19:50:43 +00:00
William S Fulton
7b50640c05 More Travis attempts at controlling what is built 2013-03-19 19:50:43 +00:00
Olly Betts
7c80f007c4 Fix typo in Python docstring for acquire method 2013-03-19 18:38:45 +13:00
William S Fulton
4003f65a94 Try combinations of Java and Python Travis builds 2013-03-17 21:40:44 +00:00
William S Fulton
d2551e22e2 Try Python test-suite on Travis 2013-03-17 20:32:03 +00:00
William S Fulton
46523a074f Travis CI only on master and silent builds 2013-03-17 19:44:28 +00:00
William S Fulton
9227604424 First attempt at Travis Continuous integration builds 2013-03-16 17:43:08 +00:00
Karl Wette
52c754a22d Minor fix to Octave autodoc generation for functions returning structs
Patch #27

- see also git commit 72ffdb930d
2013-03-09 00:10:41 +00:00
William S Fulton
fdea8a8f51 More useless code removal as detected by scan-build (LLVM/Clang)
using scan-build ./configure && scan-build make
2013-03-08 22:19:07 +00:00
Sylvestre Ledru
e0b14786d6 Fix some useless code detected by scan-build (LLVM/Clang) 2013-03-08 20:53:18 +00:00
William S Fulton
670962cfe8 SWIG_TypeCompare was not working as commented - return values were 0,1 and not 1,0,-1. Although undocumented and not used anywhere within SWIG, it has been replaced with SWIG_TypeCmp to work as commented. 2013-03-04 07:32:40 +00:00
Olly Betts
df2388a459 Merge pull request #29 from xantares/master
Fix clang warning due to SWIG_AddCast macro (SF#1300).
2013-03-03 11:02:14 -08:00
Michel Zou
8155e14579 Macro expansion to self assign is effectively ignored. 2013-02-26 09:26:13 +01:00
Michel Zou
c23b7606cf MOdified only no-cast-rank version of SWIG_AddCast. 2013-02-25 11:07:42 +01:00
Michel Zou
7acf6b5fef Revert "Fixed #1300 clang warning in SWIG_Python_ConvertPtrAndOwn."
This reverts commit 8e340c158c.
2013-02-25 09:53:45 +01:00
Michel Zou
8e340c158c Fixed #1300 clang warning in SWIG_Python_ConvertPtrAndOwn. 2013-02-22 10:11:50 +01:00
William S Fulton
de136ad6cf Uncomment testing of overloading of const char arrays which was fixed in svn r12541 for swig-2.0.3. 2013-02-21 07:09:27 +00:00
William S Fulton
cfd8497f3e Cosmetic changes in SwigType_add_qualifier 2013-02-21 07:00:25 +00:00
Karl Wette
ee2b46abe0 Fix SWIG's handling of qualified (e.g. const) variables of array type 2013-02-19 20:05:46 +00:00
Karl Wette
9d330a9970 Fix qualifier parsing in SwigType_add_qualifier()
- use list to ensure qualifiers are unique and sorted
- now allows 'qual' to contain multiple qualifiers
2013-02-19 20:05:45 +00:00
William S Fulton
d1b40b468b Fix C code where a typedef name was used for constructor and destructor names in %extend. Deprecate use of typedef names for constructor and destructor names going forwards. 2013-02-18 22:40:42 +00:00
William S Fulton
2435b98a24 Tweak to changes note 2013-02-18 22:39:48 +00:00
Karl Wette
70cd52f44d Use "(void)" instead of "()" when wrapping no-argument extension functions. 2013-02-18 22:39:39 +00:00
William S Fulton
b80f4dc5e2 Restrict the name used in %extend to be just the struct/class name and not a typedef to a class/struct. Typedefs were only partially working anyway. Anonymous struct typedefs excluded. Deprecate with a warning for now. 2013-02-18 19:53:37 +00:00
tpapp
054f9dba1a CFFI - Fix missing package before &body - patch #22
Should fix https://github.com/swig/swig/issues/21.
2013-02-09 17:23:16 +00:00
William S Fulton
9193b3ed77 Remove unnecessary file/line setting in parser 2013-02-04 20:10:02 +00:00