Commit graph

15,792 commits

Author SHA1 Message Date
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
William S Fulton
88a64208ae Merge branch 'master' of github.com:swig/swig 2013-01-19 01:29:40 +00:00
William S Fulton
751bedf5e5 Suppress warning in testcase 2013-01-19 01:28:55 +00:00
Brant K. Kyser
3654031d4f Repair typo from previous commit. 2013-01-19 01:27:34 +00:00
William S Fulton
6fafa8cecc Merge pull request #17 from tristan0x/fix-test-suite-if-custom-java
use executables path set at ./configure time
2013-01-18 17:13:16 -08:00
William S Fulton
1ccefb03ef Merge pull request #16 from tristan0x/static-pcre-build
Prefer $MAKE if specified in environment
2013-01-18 17:12:15 -08:00
William S Fulton
bda67e1d78 Cosmetic makefile change 2013-01-19 01:06:01 +00:00
William S Fulton
bd3e93ae61 Tidy up last few commits for Java new jniclasspackage pragma 2013-01-19 00:58:56 +00:00
William S Fulton
36ce54da8d Whitespace fixup 2013-01-19 00:34:05 +00:00
William S Fulton
95b176b6b3 Java test-suite change to make it possible to not specify a namespace. Re-add java_nspacewithoutpackage testcase 2013-01-18 23:52:48 +00:00
William S Fulton
55f4bfec8e Revert Java test-suite makefile to adf51b5249 2013-01-18 23:47:23 +00:00
Tristan Carel
219555ebea use executables path set at ./configure time 2013-01-17 19:07:30 +01:00
Tristan Carel
0e32be2465 Prefer $MAKE if specified in environment
Sometimes gmake is the only one available.
2013-01-17 16:54:54 +01:00
Brant K. Kyser
9318ece01f Use NSPACE_SEPARATOR rather than literal. 2013-01-17 08:13:05 +00:00
Brant K. Kyser
f7e27ec7a9 Fix issue with using directors with the nspace feature without the -package commandline argument. 2013-01-17 08:13:05 +00:00
Brant K. Kyser
ace33bbf41 Fix issue with using directors with the nspace feature without the -package commandline argument. 2013-01-17 08:13:04 +00:00
Brant K. Kyser
20ce05f954 Update documentation regarding the use of the nspace feature in java without the -package commandline option. 2013-01-17 08:13:04 +00:00
Brant K. Kyser
7104b20d0d imclass_class_package variable names seems to have class in it one too many times... renamed to imclass_package. 2013-01-17 08:13:04 +00:00