Commit graph

2,154 commits

Author SHA1 Message Date
William S Fulton
f9c640cd11 fix up namespaces so that boost, std or std::tr1 can be used for shared_ptr/intrusive_ptr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-05 17:19:32 +00:00
William S Fulton
f70f2760e3 compile fix on Cygwin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11028 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-03 01:59:42 +00:00
William S Fulton
aa9bb3e316 re-order configure.in into sections for users and developers and requirements for the examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-31 01:02:16 +00:00
William S Fulton
8c71c0bf21 explicit type warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-30 11:42:52 +00:00
William S Fulton
2064dff1ef fix for new SWIGCSHARP defn in wrappers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-30 11:02:59 +00:00
William S Fulton
0f89bff13a Compiler warning fix in Perl out typemap for std::vector
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-29 00:11:51 +00:00
William S Fulton
9db99bfb3e comment correction
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-28 20:36:21 +00:00
William S Fulton
fa2289e4c3 li_intrusive_ptr test - commented out as not fully working
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-28 20:35:22 +00:00
William S Fulton
62472ba466 Add boost::intrusive_ptr wrappers from Mike Rowbotham
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-28 20:32:44 +00:00
William S Fulton
8ed7554802 overlooked build system mods now implemented to remove warning 125
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-24 23:42:39 +00:00
William S Fulton
e9867c661a warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-24 19:20:54 +00:00
William S Fulton
816cfdb724 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-24 19:17:16 +00:00
William S Fulton
e6f5cdac9f Fix #2153773 - %nojavaexception - disabling and clearing Java checked exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-23 07:44:59 +00:00
William S Fulton
4b79eb9219 Apply patch from Kalyanov Dmitry which fixes parsing of nested structs containing comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-12 21:31:21 +00:00
William S Fulton
06b2eca75e remove last vestiges of php4 and encourage use of -php rather than -php5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10969 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-06 23:15:20 +00:00
William S Fulton
a5fcddceca modify build system to use php instead of php4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10968 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-06 21:55:15 +00:00
William S Fulton
bcc796f676 modify build system to use php instead of php4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-06 21:40:54 +00:00
William S Fulton
91ba340a79 add test for inheritance of 3 classes deep which exposes a problem in the python shared_ptr wrappers. Manually added the %types for now.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10964 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-06 17:10:53 +00:00
Haoyu Bai
5070f8d929 2to3 has its way to exclude fixer now, so we nolonger need our hack
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-03 19:24:06 +00:00
Haoyu Bai
8f84447860 Commited SF#2158938: change all SWIG symbols start with Py to a new name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10961 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-03 18:43:44 +00:00
William S Fulton
1c4ec59e45 Apply patch #2143727 for Python from Serge Monkewitz to fix importing base classes when the package option is specified in %module and that module is %import'ed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10960 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-02 20:21:16 +00:00
William S Fulton
415186c1f4 revert mistaken checkin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-28 23:37:13 +00:00
William S Fulton
93f0390322 UTL - Fix some incorrect acceptance of types in the STL, eg a double * element passed into a vector<int *> constructor would be accepted, but the ensuing behaviour was undefined. Now the type conversion correctly raises an exception
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-28 23:35:46 +00:00
William S Fulton
0cfccf817f move iadd.h contents into iadd.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-28 23:33:37 +00:00
William S Fulton
946f9def37 fix test names since they were renamed recently
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 23:25:47 +00:00
William S Fulton
3041db155d modifying build system not to rely on the -I path to find the input files avoiding warning 125: merge .i files that are common between python and the main version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10954 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 23:04:18 +00:00
William S Fulton
b266e1f68c modifying build system not to rely on the -I path to find the input files avoiding warning 125: move python .i files up one directory, some files have been renamed - prepended with python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 22:50:35 +00:00
William S Fulton
c3047165d6 remove svn:executable property where applied incorrectly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10952 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 21:56:48 +00:00
William S Fulton
e7f8954bea remove svn:executable property where applied incorrectly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 21:54:49 +00:00
William S Fulton
db83e51441 modify test-suite (barring python atm) to not rely on the -I path to find the input .i file - removes the new warning 125 and sets up the test-suite for testing with ccache. This change required the use of -outcurrentdir and moving the .i files from the language subdirectories to the directory above along with some .i file name changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 21:35:15 +00:00
William S Fulton
53f786e5a6 gcc-4.3 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-26 18:37:48 +00:00
William S Fulton
f78bdddb9d give operator bool() a name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-23 22:07:15 +00:00
William S Fulton
a0949cd1fe error: ‘pthread_once’ was not declared in this scope
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-23 21:47:39 +00:00
William S Fulton
4c03864ce9 rename php4 to php
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10938 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-22 12:35:27 +00:00
William S Fulton
9cf5256b93 rename java run tests from main to runme for consistency across the languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-17 22:47:55 +00:00
William S Fulton
a604f46593 Add the strip encoder patch from Anatoly Techtonik #2130016
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-01 22:52:26 +00:00
Mikel Bancroft
7682833048 [allegrocl] Various fixes to the generated C wrapper code (enums, constants, function declarations), as I progress through the test-suite.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-30 19:45:13 +00:00
Haoyu Bai
32b01d9559 merge test case pybuf and benchmark pybuf_benchmark into a single test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-28 09:36:06 +00:00
William S Fulton
1d9f63c873 fix clash between php and python when running scripts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-24 19:28:15 +00:00
Mikel Bancroft
e88b502bab [allegrocl] Make type and namespace wrapping more compatible with other modules. cpp test-suite work.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-22 18:41:10 +00:00
William S Fulton
60622a9c2b fix unused variable warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 20:39:15 +00:00
William S Fulton
09915566bc Add C# array typemaps provided by Antti Karanta.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 20:32:28 +00:00
William S Fulton
061e934bbc Document the module attribute in %import and add warning to Python for when it should be used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 14:52:52 +00:00
Haoyu Bai
98f5993f50 remove _runme3 file that was checked in by mistake
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10853 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 13:20:39 +00:00
Haoyu Bai
fe3a6192f2 fix a typo in python/Makefile.in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10852 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 12:55:32 +00:00
Haoyu Bai
dfbcaf884e add removing of 2to3 generated runme3.py in make clean target
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10851 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 12:16:44 +00:00
Haoyu Bai
875d1668b6 fix merge problem: remove USE_VALGRIND because it is already moved to common.mk
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 11:38:10 +00:00
Haoyu Bai
3d8ddfc442 Merged the Python 3.0 support branch. The merging progress is not so smooth, so hope this commit won't make anything broken.
This is the (incomplemete) log produced by svnmerge.py:

Merged revisions 10405-10409,10420-10422,10426,10438,10445,10451,10454-10465,10467,10473-10475,10485,10488-10489,10493-10495,10497,10509-10510,10513-10514,10517,10520,10525,10528-10529,10533-10535,10554-10557,10570,10573,10593,10614,10666-10669,10673,10678,10687,10690,10704-10706,10731,10744,10750-10752,10755,10759,10770,10775-10776,10813,10819 via svnmerge from 
https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-bhy



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-11 17:18:07 +00:00
Richard Boulton
761ef2b98f [Python] Commit patch #2089149: Director exception handling mangles
returned exception.  Exceptions raised by Python code in directors
are now passed through to the caller without change.  Also, remove
the ": " prefix which used to be added to other director exceptions
(eg, those due to incorrect return types).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10827 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-10 10:08:21 +00:00
William S Fulton
044895ef6e Add new terminator attribute for the csin typemap for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-02 20:56:52 +00:00