Commit graph

13,875 commits

Author SHA1 Message Date
William S Fulton
482d91951a Import ccache-2.4 source
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-03 13:37:28 +00:00
William S Fulton
d63f23bb84 update this README
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-03 13:32:33 +00:00
William S Fulton
6fb0f48935 customised ccache support: read the CCACHE_OUTFILES env variable and if exists, the names of all generated files are written to the filename specified in the env variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-03 12:51:45 +00:00
William S Fulton
04a1d9182f Add patch #2128249 from Anatoly Techtonik which corrects the C/C++ proxy class being reported for Python docstrings when %rename is used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-01 23:09:26 +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
William S Fulton
f2c11f74f9 suggest starting points for documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-10-09 22:42:45 +00:00
Olly Betts
fccd1e294a Fix indentation. Use %{ %} in a couple of typemaps to avoid adding needless
{ } to the generated code.  Use memcpy() instead of memmove() where the
destination is freshly allocated so there's no possibility of overlap.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-10-01 11:54:31 +00:00
Olly Betts
0f0c13204e Fix non-standard indentation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-10-01 05:28:45 +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
25f6cebe46 typo fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10883 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-26 05:05:23 +00:00
Olly Betts
7ef2b73a6d [PHP5] Fill in typemaps for SWIGTYPE and void * (SF#2095186).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-25 07:11:36 +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
Olly Betts
7d6ee42566 Remove stray lines
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-23 06:52:41 +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
Olly Betts
1a0632b35d Clean out more PHP4 stuff.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-19 06:40:39 +00:00
Olly Betts
03429576fc [PHP5] Add typemaps for long long and unsigned long long.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-19 03:20:59 +00:00
William S Fulton
90a4d04d85 revert entry 2008-09-01 - C# Insert and InsertRange bounds checking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 23:17:52 +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
ade117d681 revert debug break in last commit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 20:33:37 +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
1ebd0466f5 formatting fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 20:28:40 +00:00
William S Fulton
757d2e2e37 warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10870 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 20:27:57 +00:00
William S Fulton
4c6e314308 remove confusion over tab widths
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10869 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 20:21:17 +00:00
William S Fulton
7ec3c4ae81 minor typo and formatting improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 20:16:50 +00:00
William S Fulton
6588eb61f4 pointer display correction
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 20:16:03 +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
Olly Betts
971c3e1e84 Note the SF bug number for the previous fix.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 14:03:46 +00:00
Olly Betts
16c8749768 [PHP5] Change the default input typemap for char * to turn PHP
Null into C NULL (previously it was converted to an empty string).
The new behaviour is consistent with how the corresponding output
typemap works.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10864 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 14:02:15 +00:00
Olly Betts
6029bc8b2d [PHP5] Fix extra code added to proxy class constructors in the case
where the only constructor takes no arguments.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 13:01:52 +00:00
Olly Betts
e9485c0f60 [PHP5] Fix wrapping of a renamed enumerated value of an enum class member
(SF#2095273).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-18 09:54:18 +00:00
Mikel Bancroft
cc88c24c3f [allegrocl] Fix handling of forward references. Remove code breaking typical code generation. See ChangeLog for more details on the latter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10860 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-17 19:13:12 +00:00
Haoyu Bai
75eb4d20d6 more document for limitation of parameter list, and doc of removal of -apply in CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 14:11:49 +00:00
Haoyu Bai
371f40be2d fix some typo in CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10855 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 13:42:24 +00:00
Haoyu Bai
82df9bae16 more docs for Python 3 merge added in CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-13 13:39:34 +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
William S Fulton
c8148015ff fix for when python3 not installed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-12 20:40:57 +00:00
Haoyu Bai
2cbb898cff some more lines in CHANGES.current for Python 3 merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10848 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-12 14:43:17 +00:00
Haoyu Bai
32fc296a74 A breif descirbe of Python 3 merge in CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-12 11:52:11 +00:00
Richard Boulton
c4d844abcb Don't blame wsfulton for my recent change (this was a cut-and-paste error).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-12 11:33:18 +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
2cafaf9d43 Fix #1988296 - Multiple module director linking issue
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-02 23:01:37 +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
William S Fulton
907171735f patch #2079381 submitted by Boris Smilga - constant exprs put into no-eval context in DEFCENUM
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-01 21:46:41 +00:00
William S Fulton
ee2b86e8e1 Fix portability problem using /dev/null
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-01 20:42:40 +00:00
William S Fulton
f396ecc619 fix runtime problem in Ruby std_vector example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-09-01 20:34:49 +00:00