Commit graph

14,069 commits

Author SHA1 Message Date
William S Fulton
a1933f7bbc Fix make partialcheck-ocaml-test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-17 20:08:57 +00:00
William S Fulton
fc33c676b4 Fix make partialcheck-mzscheme-test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-17 19:02:04 +00:00
William S Fulton
b590c515f7 typemap_namespace.i fix for mzscheme
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-17 18:54:56 +00:00
William S Fulton
7a13f92038 make clean-test-suite now cleans all languages, not just languages detected at configure time
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-17 08:03:22 +00:00
William S Fulton
589eb8e509 Add %attributeval and %attributestring to attribute.swg library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-13 22:42:45 +00:00
William S Fulton
9be7fe899d Add support for %extend and memberin typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-13 07:26:06 +00:00
William S Fulton
f9abd71f76 remove unnecessary temporary variable when wrapping return by reference
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-12 21:16:03 +00:00
Haoyu Bai
03e840f3ec changed the mapped 'SIZE' of buffer interface from the length of raw buffer to number of items in the buffer. So it would be easier to use with type other than 'char'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-10 14:21:43 +00:00
William S Fulton
6d03b7ce6a update old syntax to new _dim0
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-08 22:54:58 +00:00
William S Fulton
30d73c82cd Fix %feature not working for conversion operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-08 22:30:10 +00:00
William S Fulton
a4906b8182 remove gcc warning when using -Wunreachable-code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-07 23:44:12 +00:00
William S Fulton
3b27d574e2 fix older versions of mzscheme detection
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-07 20:25:54 +00:00
William S Fulton
de17a4bcca Apply #2081967 configure changes for mzscheme configure errors and breaking of swig exe build
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-07 01:58:39 +00:00
Robert Stone
6574067b72 Fix SF#2564192
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-05 15:47:42 +00:00
William S Fulton
648fa408b4 bump version to 1.3.39
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-01 00:31:19 +00:00
William S Fulton
eff5b3452c html fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11104 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-31 23:14:02 +00:00
William S Fulton
68f97e26e6 finishing touches for 1.3.38
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-31 19:37:58 +00:00
William S Fulton
48051b942d fix tab alignment - all tabs in SWIG are 8 chars
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11102 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-31 19:10:55 +00:00
William S Fulton
839750da9a const / non-const warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-31 19:02:10 +00:00
Haoyu Bai
afd67f8c67 Fix SF#2552488: indentation adjust of %pythonappend and %pythonprepend
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11100 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-31 14:37:54 +00:00
Haoyu Bai
be7fdab62e Fix SF#2552048. Remove the 'self' parameter in Python proxy code for static member function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-31 13:38:39 +00:00
Haoyu Bai
1d1ee5bae7 Fix broken caused by merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-30 10:32:59 +00:00
Haoyu Bai
47b4825168 Merged revisions 11085-11086,11088-11089 via svnmerge from
https://swig.svn.sourceforge.net/svnroot/swig/branches/swig-2.0

........
  r11085 | bhy | 2009-01-25 00:21:55 +0800 (Sun, 25 Jan 2009) | 2 lines
  
  Fix const-correctness.
........
  r11086 | bhy | 2009-01-25 02:08:50 +0800 (Sun, 25 Jan 2009) | 2 lines
  
  Correct some function definition in header files, which implementation changed in previous commit caused mismatch.
........
  r11088 | bhy | 2009-01-25 02:38:32 +0800 (Sun, 25 Jan 2009) | 1 line
  
  minor fix and now SWIG is alive again
........
  r11089 | bhy | 2009-01-25 06:07:07 +0800 (Sun, 25 Jan 2009) | 1 line
  
  Correct some bug introduced in previous commits. Now SWIG is pretty good with C++ compiler.
........


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-30 10:27:37 +00:00
William S Fulton
a6adffe4d9 remove debugging output
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11094 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-29 21:20:31 +00:00
William S Fulton
90ab280f90 Fix regression introduced in 1.3.37 where the default output directory for target language specific files (in the absence of -outdir) was no longer the same as the generated c/c++ file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-29 19:25:37 +00:00
William S Fulton
22e4cb8e52 Fix classLookup and enumLookup when the global scope operator is used on objects passed by value
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11092 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-28 18:45:13 +00:00
Haoyu Bai
6d2aef67d9 Replaced all [const] String_or_char * to const_String_or_char_ptr, by the following command:
sed -i "s/\(const \)\?String_or_char \*/const_String_or_char_ptr /g" CParse/* Include/* Modules/* Preprocessor/* Swig/*

This is a preparation for moving to new DOH, since for strong typed objects we need the const_String_or_char_ptr class to implicit convert to and from String * or const char *.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11080 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-24 13:15:51 +00:00
Haoyu Bai
061cad9b54 when doing partialcheck, don't skip any test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-24 07:59:46 +00:00
William S Fulton
2a70d76d2e auto formatting mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-21 19:06:13 +00:00
William S Fulton
05a2d2dc9d correct ccache-swig title in docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-21 18:55:32 +00:00
Haoyu Bai
1bf93d28c4 fix a wrong indent
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-16 01:15:46 +00:00
William S Fulton
ff62288c37 Fix segfault when using -perl -v
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-15 07:29:28 +00:00
William S Fulton
f2c57bd508 bump version to 1.3.38
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-13 18:21:18 +00:00
William S Fulton
3a23be4434 1.3.37 final touches
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11063 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-13 07:11:00 +00:00
William S Fulton
d029d0a627 Fix compilation error when using directors on protected virtual overloaded methods reported by Sam Hendley.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11062 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-13 07:09:27 +00:00
Mark Gossage
e604e46b17 [Lua] Added contract support for requiring that unsigned numbers are >=0
Rewrote much of Examples/Lua/embed3. 
Added a lot of to the Lua documentation.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-13 01:42:25 +00:00
William S Fulton
c07efac296 Fix union.i module name and rename to union_parameter.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-12 11:42:27 +00:00
Joseph Wang
809bbb89e3 put in integer fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-12 08:57:16 +00:00
Joseph Wang
88e60d75c9 fix change to make compatible with integer framework
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-12 08:54:36 +00:00
Joseph Wang
2854ceef44 Add regression tests for R
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-12 07:41:38 +00:00
William S Fulton
ecdd24a508 yet better pointer string comparison
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-11 21:37:54 +00:00
William S Fulton
3d8f569466 another portability fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-11 21:32:42 +00:00
William S Fulton
cca31dde4f more portable pointer in a string comparison
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-11 17:57:21 +00:00
Joseph Wang
4b5c817793 Fix integer handling in r. unsigned values where getting handled
incorrected as reals leading to crashes


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11052 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-11 00:08:37 +00:00
Joseph Wang
98f992e704 add regression test for integers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-10 23:30:10 +00:00
Xavier Delacour
0b837574b0 Octave: fix carrays regression caused by operator suffix change.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-10 02:17:58 +00:00
William S Fulton
b91631c130 Patch #1992756 from Colin McDonald - %contract not working for classes in namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11049 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-10 01:15:03 +00:00
Xavier Delacour
6336977350 Fix octave test allprotected.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-10 00:29:37 +00:00
Xavier Delacour
b6e44f2427 Octave: add {save,load}_{ascii,binary,hdf} functions that silently do nothing;
give default operator mappings a more conventional suffix;
fix test li_std_string_extra.




git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11047 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-10 00:20:46 +00:00
Xavier Delacour
8b857aa9c1 Fix octave tests li_std_pair_extra, arrays_global, grouping, struct_value, unions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11046 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-09 23:38:14 +00:00