Commit graph

13,222 commits

Author SHA1 Message Date
William S Fulton
3f0bbe1581 patch #1745739 - Compiler warning for BSD from Klaus Heinz
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 11:59:58 +00:00
William S Fulton
a122368370 Apply patch #1771410 from Wade Brainerd to fix typedef XS(SwigPerlWrapper) in perlrun.swg for ActiveState Perl build 822 and Perl 5.8.9 and 5.10 branches.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 11:54:42 +00:00
William S Fulton
7797ae82aa const enum reference typemaps fixed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 11:30:03 +00:00
William S Fulton
6e4d5b4b3a Fix member pointer typemaps (32bit fix only though)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 11:16:59 +00:00
John Lenz
fb51964d01 Fix a bunch of minor bugs found by Coverity scanner
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 02:55:27 +00:00
William S Fulton
64ca4638ab git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9888 626c5289-ae23-0410-ae9c-e8d60b6d4f22 2007-08-10 01:07:34 +00:00
William S Fulton
f5bdd056f7 Remove obscure mpointer example and replace with member_pointer.i testcase and runtime examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-09 23:47:13 +00:00
William S Fulton
665917ebae Improve TCL detection (for Ubuntu Feisty) and use tclConfig.sh for header file location
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-09 23:13:39 +00:00
William S Fulton
aa32a6b094 Add support for in the out typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-09 22:17:12 +00:00
William S Fulton
ac010f997b fix code in char ** typemap examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-03 00:40:39 +00:00
William S Fulton
258e9d7a18 Fix syntax errors for %callback examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-02 23:23:05 +00:00
William S Fulton
08f3b56f9b calling the callback functions directly added to the example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-02 23:18:46 +00:00
William S Fulton
6a13675c16 Fix smart pointers and member methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-01 00:07:23 +00:00
Surendra Singhi
a9f69c075d cffi changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-31 17:19:16 +00:00
Surendra Singhi
43fe81ce1a changed package name clos to cl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-31 17:18:27 +00:00
Surendra Singhi
3aaa08c856 fixed memory freeing bug, removed tabs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-31 17:08:12 +00:00
William S Fulton
c70e98d185 remove non-portable test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-24 21:29:12 +00:00
William S Fulton
394eb13737 extend_variable is broken for most languages - move to broken tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-24 21:28:14 +00:00
William S Fulton
e4bade15f3 fixes to use parallel make when running the examples and test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-24 21:26:54 +00:00
Gonzalo Garramuno
bbd80cfa84 Moved some of the common checks for methods/procs and arity
to rubyrun.swg, as they are useful even for not stl stuff.

Added a fragment trait for marking STL containers, but this
fragment cannot be attached due to SWIG %template limitations.




git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-24 05:46:55 +00:00
William S Fulton
2b93511d17 complete last commit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-20 22:35:07 +00:00
William S Fulton
a64fd9013e look for mono when using gmcs C# compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-19 22:37:35 +00:00
William S Fulton
bd0463087c minor bug fix in cpperraswarn pragma and now we error out if SWIG pragma is not recognised
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-19 21:51:30 +00:00
William S Fulton
fea8b1cf44 prefer mono .net 2.0 compiler - also works around major pinvoke bug in mcs-1.2.3 as gmcs is prefered to mcs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-19 21:50:26 +00:00
Mark Gossage
513147b70b applied dos2unix on configure.in (fixed configure for mingw)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-19 07:13:25 +00:00
William S Fulton
a4eb259f31 member pointer fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-18 21:07:48 +00:00
William S Fulton
edd82d41f2 corrections for last commit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-18 21:06:55 +00:00
William S Fulton
1160c80a01 dead code fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-17 22:31:57 +00:00
William S Fulton
67f9ff66c9 dead code fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-17 22:29:48 +00:00
Mark Gossage
f87371fe8c [lua] extras compability for lua 5.1, fixed a static link name conflict
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-10 09:30:49 +00:00
Mark Gossage
c3ec8fdce3 [lua] Fix a bug in SWIG_ALLOC_ARRAY()
improved the error messages for incorrect arguments.
Changed the output of swig_type() to use the human readable form of the type, rather than the raw swig type.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-05 01:31:51 +00:00
William S Fulton
d269f9cd16 Fix directors for some overloaded methods where the imtype resulted in identical methods being generated in the C# director class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-03 22:39:35 +00:00
William S Fulton
5ec6a8ea61 changes after running the html checker
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-02 21:38:54 +00:00
William S Fulton
e5b6a8e72f Add notes about typemaps and the preprocessor including the noblock attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-02 21:38:22 +00:00
Olly Betts
2a541f73e3 Fix two typos
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-25 23:49:19 +00:00
Gonzalo Garramuno
a1ed3e094a Fixed C++ comment in potential C file.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-25 21:43:43 +00:00
William S Fulton
36a33af3f6 note about constants added and fix link
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-25 21:32:54 +00:00
William S Fulton
176984f338 std::vector parameter name changes so that these parameters can be individually singled out with typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-25 21:30:13 +00:00
Gonzalo Garramuno
aa84817ce0 Fixed typo.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-11 20:03:19 +00:00
Mikel Bancroft
e0449d3d16 [allegrocl] see CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-07 23:23:21 +00:00
Olly Betts
333ed5b82d Using an apostrophe in a #error message causes an error for some GCC versions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9853 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-06 23:20:25 +00:00
Olly Betts
1329624117 [Ruby]
Use whichever of "long" or "long long" is the same size as "void*"
to hold pointers as integers, rather than whichever matches off_t.
Fixes compilation on OS X and GCC warnings on platforms where
sizeof(void*) < sizeof(off_t) (SF patch #1731979).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-06 21:25:32 +00:00
Olly Betts
eccdf9d415 Remove unused Printf() parameters.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9851 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-06 00:59:56 +00:00
Olly Betts
a6da185300 Remove unused Printf() parameters.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-06 00:58:50 +00:00
Olly Betts
e72b6e8ff0 [PHP5]
Fix handling of a particular case involving overloaded functions
with default parameters.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-06 00:57:32 +00:00
Mikel Bancroft
beb9ab1031 [allegrocl] see CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9848 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-06 00:28:25 +00:00
Olly Betts
fc66fff262 Fix reporting of filenames in errors after %include (patch from
Leigh Smith in #1731040; also reported as #1699940).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-05 17:48:16 +00:00
Joseph Wang
30cf4d39eb The code for list attributes was adding a spurtious comma, which caused
code breakage in newer versions of R.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-04 04:36:05 +00:00
Gonzalo Garramuno
8a0eba9469 Changed "extern Init_stack" to "RUBY_EXTERN" to make it compatible
with ruby on windows (dllexport issues).



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9845 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-02 10:41:38 +00:00
Gonzalo Garramuno
801fda2b00 Moved Init_stack() declaration over to rubyapi to
avoid potential C++ issues.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9844 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-02 10:24:23 +00:00