Commit graph

15,809 commits

Author SHA1 Message Date
William S Fulton
8381cc6b7d Fix test suite lock initialisation leading to random seg faults in li_boost_shared_ptr 2013-03-29 06:31:26 +00:00
William S Fulton
2e0d1b12dc Fix delete_if (reject!) for the STL container wrappers.
Previously they would sometimes seg fault or not work.
2013-03-29 06:28:15 +00:00
William S Fulton
38b2b95c30 Fix some invalid iterator usage in Python when deleting/inserting slices from/into containers 2013-03-26 21:38:45 +00:00
William S Fulton
7eda619741 Fix invalid iterators used with -ve ranges - Python
Fixes li_std_containers_int testcase.
Valgrind reports no more problems for this testcase.
2013-03-26 21:38:44 +00:00
William S Fulton
b504b68a62 Fix erratically failing threads_exception python test 2013-03-26 20:57:41 +00:00
Olly Betts
1e00ce6bf9 Fix comment typo in typemap 2013-03-26 15:07:16 +13:00
William S Fulton
3abe3517f8 Don't test shared_ptr for languages that don't have support for shared_ptr 2013-03-23 18:22:20 +00:00
Olly Betts
5199a9002f Correct comment about sys.lib 2013-03-22 11:16:48 +13:00
Olly Betts
f85a3b7756 Remove handling for Python <1.5 - we only support >=2.0 now 2013-03-22 10:46:44 +13:00
Olly Betts
250760daf4 Remove superfluous trailing semicolons 2013-03-22 10:43:19 +13:00
Olly Betts
2bbc52302c Remove pointless assignments of variables to themselves 2013-03-22 09:37:02 +13:00
Olly Betts
9fbf771a00 Fix lack of indentation in ocaml and pike sections 2013-03-22 09:21:07 +13: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
William S Fulton
397409fbb1 Ensure 'javapackage' typemap is used as it stopped working from version 2.0.5 2013-01-30 22:18:13 +00:00
William S Fulton
d172e3d0ed Apply patch SF #334 - Fix Python default value conversions TRUE->True, FALSE->False. 2013-01-29 07:31:11 +00:00
William S Fulton
38f37ef5ae Apply patch SF #335 - Truly ignore constructors in directors with %ignore and correct testcase that tests this 2013-01-29 06:55:22 +00:00
Vadim Zeitlin
38d454a102 Fix MAKE variable expansion in pcre-build.sh.
Correct the syntax used in 0e32be2, it's ${var:-fallback}.
2013-01-25 19:18:12 +01:00