Commit graph

14,656 commits

Author SHA1 Message Date
William S Fulton
041cee306d html fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12113 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-10 06:14:24 +00:00
William S Fulton
863aab5b4c Chapter renumbering after Go added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-10 06:10:55 +00:00
William S Fulton
1a317ff3db Add C# example showing how to modify the underlying enum type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-10 06:06:12 +00:00
Olly Betts
f67c0fa12c [PHP] Fix directors to correctly call a method with has a
different name in PHP to C++ (we were always using the C++ name
in this case).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-10 04:41:11 +00:00
Olly Betts
c7a6e3dad4 Fix // comments to /* */ in typemaps which should be usable from C code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-10 02:34:25 +00:00
Ian Lance Taylor
5af2978f77 Add support for the Go programming language.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-10 01:13:31 +00:00
William S Fulton
09f14197ac Add section on Aspect Oriented Programming after discussion on swig-devel
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-08 06:02:56 +00:00
William S Fulton
9f99c73221 minor clarification in Php docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12104 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-08 05:37:49 +00:00
William S Fulton
229ce6196d remove reference to old version of Perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-07 18:56:59 +00:00
Olly Betts
9622d908ae Fix typo reported in SF#3011286 by Ben Ceschi.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12100 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-04 05:14:14 +00:00
William S Fulton
257ce20f30 Fix uncompileable code when %rename results in two enum items with the same name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-03 17:44:42 +00:00
William S Fulton
d30054b5f6 Remove duplicate intro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-03 17:41:36 +00:00
William S Fulton
293426b02a Bump version to 2.0.1
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-03 06:34:15 +00:00
William S Fulton
2ebbdfc47d 1.3 => 2.0 for documentation headings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12094 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-02 22:38:41 +00:00
William S Fulton
88c4336ec2 mention tagging is being done in mkrelease.py
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-02 21:15:38 +00:00
William S Fulton
2b325a6347 minor tweaks for release notes uploaded to SF
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12088 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-02 20:45:16 +00:00
William S Fulton
2ef2219fe5 add release date to README file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12087 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-02 20:29:48 +00:00
William S Fulton
289cfef4b4 2.0.0 release date added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12085 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-02 20:04:06 +00:00
William S Fulton
490f3a838b mv contributors from website to COPYRIGHT file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12084 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-02 20:00:20 +00:00
William S Fulton
cc9b811281 Add spaces to avoid unintended <: digraph in SWIG_STD_VECTOR_ENHANCED
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12083 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-01 23:36:08 +00:00
William S Fulton
570b9154e4 Correct license change date
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12082 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-01 23:14:42 +00:00
William S Fulton
d25121a0ed Fix SWIG_STD_VECTOR_ENHANCED macro used in C# std::vector to work with commas
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12081 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-01 23:10:22 +00:00
William S Fulton
b802e37ad2 Add license changes to release notes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12080 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-01 22:43:34 +00:00
William S Fulton
cccd7d605c Refer each of the changes/release notes files to each other
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-01 20:03:26 +00:00
William S Fulton
978080846c html fixes and chapter renumbering
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12078 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-01 19:19:17 +00:00
William S Fulton
36c2e97a1c Add std_shared_ptr.i and document shared_ptr library
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12077 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-01 19:03:55 +00:00
William S Fulton
84985fa205 remove WAD from distribution
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-01 19:00:54 +00:00
William S Fulton
515ec7311f remove run test which doesn't do anything
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-01 19:00:19 +00:00
Olly Betts
507ae34452 Fix typos in __disown__() example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12074 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-01 15:14:29 +00:00
Olly Betts
09c9bf881d Remove PHP4 hangover
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12073 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-01 06:29:16 +00:00
Olly Betts
4144eaa214 Remove PHP4 hangover.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-01 06:24:48 +00:00
William S Fulton
78224af80b Add 2.0.0 release notes summary
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12071 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-29 23:44:05 +00:00
William S Fulton
5aaf531b5a Remove WAD and swig.spec.1 - not used or maintained
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-29 21:35:39 +00:00
William S Fulton
27056fbd9f Tidy up for first 2.0 release. Move release notes summary into new file RELEASENOTES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-29 21:24:08 +00:00
William S Fulton
69db2257cb Fix broken links shown from running 'make linkchecker'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12068 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-29 21:08:42 +00:00
William S Fulton
8e496434d1 Update docs for first 2.0 release
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12067 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-28 23:53:49 +00:00
William S Fulton
6eb118801e Update autoconf links
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12066 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-28 23:42:53 +00:00
William S Fulton
859cfff732 chapter numbering update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12065 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-28 22:46:50 +00:00
William S Fulton
45f20c7363 Fix constants wrapper warnings for visual c++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12064 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-28 22:24:11 +00:00
William S Fulton
5bcfc81c12 Fix potential name clashes with symbols in the Director class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12063 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-27 20:59:29 +00:00
William S Fulton
bb41eeb343 Fix potential name clashes with symbols in the Director class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12062 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-27 20:55:24 +00:00
William S Fulton
5dfa9c048d some warning fixes on solaris
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12061 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-27 20:12:58 +00:00
Olly Betts
00d07a77c1 Fix a couple of typos
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-27 07:14:20 +00:00
William S Fulton
e2ce97f397 Add the ability for special variable macros to call other special variable macros. Also added additional diagnostics when using -debug-tmsearch. Add tests for std::vector of shared_ptr.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-26 23:22:49 +00:00
William S Fulton
7b2c6b477a Fix segfault attempting illegal javaclassname and csclassname special variable substitution
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-26 19:01:12 +00:00
Olly Betts
71dddaa2de Fix %attribute2ref not to produce a syntax error if the last
argument (AccessorMethod) is omitted.  Patch from David Piepgras
in SF#2235756.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-26 08:21:03 +00:00
Olly Betts
1392a6e497 [PHP] When using %throws or %catches, SWIG-generated PHP5 wrappers
now throw PHP Exception objects instead of giving a PHP error of
type E_ERROR.

This change shouldn't cause incompatibility issues, since you can't
set an error handler for E_ERROR, so previously PHP would just exit
which also happens for unhandled exceptions.  The benefit is you can
now catch them if you want to.

Fixes SF#2545578 and SF#2955522.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12055 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-26 07:32:20 +00:00
Olly Betts
ed98187e3b Tidy up typemaps, combining variants with the same code.
Use const_cast to remove const-ness from const char * for stupid PHP API in
%throws typemap.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12054 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-26 00:19:08 +00:00
Olly Betts
9207a2fe37 [PHP] Add missing directorin typemap for const std::string &.
Fixes SF#3006404 reported by t-Legiaw.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-25 23:38:44 +00:00
Olly Betts
08cdb5a7ee Set string contents when we allocate it for a small efficiency gain.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12052 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-25 21:46:23 +00:00