William S Fulton
f10c7868fd
Fix SWIG_lua_isnilstring multiply defined when using multiple modules and wrapping strings. Patch from 'Number Cruncher'.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12114 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-06-10 19:21:07 +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
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
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
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
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
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
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
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
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
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
William S Fulton
a4febe7799
Fix #2957375 (C#) - SWIGStringHelper and SWIGExceptionHelper not always being initialized before use in .NET 4 as the intermediary class was not marked as beforefieldinit.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12044 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-23 22:24:36 +00:00
William S Fulton
3dfac02269
shared_ptr improvements so the proxy class does not need to be specified - SWIG_SHARED_PTR macro deprecated and replaced by %shared_ptr
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-22 23:57:19 +00:00
William S Fulton
12cfc251e4
Fix #2408232 . Improve shared_ptr and intrusive_ptr wrappers for classes in an inheritance hierarchy. No special treatment is needed for derived classes, the SWIG_SHARED_PTR_DERIVED macro is deprecated.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-22 22:49:47 +00:00
Olly Betts
e512093358
[PHP] Stop generating a bogus line of code in certain constructors.
...
This was mostly harmless, but caused a PHP notice to be issued, if
enabled (SF#2985684).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12033 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-21 07:07:15 +00:00
William S Fulton
9df4479a08
Fix member pointers on 64 bit platforms for Java
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12031 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-18 21:18:43 +00:00
William S Fulton
8a169eb0cb
Fix wrapping of C++ enum boolean values
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12028 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-14 18:46:20 +00:00
Olly Betts
227f2e2e0a
[PHP] Fix wrapping of global variables which was producing
...
uncompilable code in some cases.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-14 08:22:28 +00:00
Joseph Wang
70c557e8e3
add R garbage collection and newfree
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-12 04:12:42 +00:00
Joseph Wang
948748f8e8
update with r mkcharexp change
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-09 15:41:24 +00:00
William S Fulton
68308583b7
Apply patch #2955146 from Sergey Satskiy to fix expressions containing divide by operator in constructor initialization lists.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12013 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-07 19:10:41 +00:00
William S Fulton
f76fcb4eb4
Memory leak fix handling const std::string & inputs, reported by Will Nolan.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-05 05:01:22 +00:00
William S Fulton
efd200ffe2
Typemap matching rules enhancement for non-default typemaps. Previously all qualifiers were stripped in one step, now they are stripped one at a time starting with the left most qualifier.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-02 21:35:02 +00:00
Haoyu Bai
2450c4b108
fix regression of Python constructor renaming introduced by py3k work
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-25 14:07:14 +00:00
William S Fulton
bdea09ed83
Make typemap fragments official - move the documentation in fragments.swg into Typemaps.html
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-14 22:22:16 +00:00
William S Fulton
fc3873befc
Update Ruby and std::vector wrappers with -minherit bug info
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-09 23:47:55 +00:00
William S Fulton
894f89fe97
Apply Ubuntu patch to fix Ruby and std::vector wrappers with -minherit.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-09 23:27:40 +00:00
William S Fulton
242689aed5
Apply Ubuntu patch to fix Mzscheme std::map wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11986 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-09 23:04:59 +00:00
William S Fulton
5a626898df
Apply patch #2952374 - fix Python directors and the -nortti option.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-09 22:22:06 +00:00
William S Fulton
9dd763d4d3
Fix #2887254 and #2946032 - SWIG_Lua_typename using wrong stack index.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11984 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-09 22:02:09 +00:00
William S Fulton
01c4ab6baf
Fix some terminology used in C++ template partial specialization and new typemap matching rules
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-09 21:40:23 +00:00
William S Fulton
a743d54665
Fix segfault when using Python's -threads options and exceptions are thrown
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11980 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-08 06:46:18 +00:00
William S Fulton
ab62df21e8
add fix distclean and maintainer-clean targets to CHANGES file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11975 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-03 12:47:50 +00:00
William S Fulton
662084aa06
Lua - Fix char pointers, wchar_t pointers and char arrays so that nil can be passed as a valid value
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-02 19:48:20 +00:00
William S Fulton
bdb136d611
Change typemap matching rules for the default type (SWIGTYPE) to follow template partial specialization type deduction. Fixes some containers of const pointers. SWIGTYPE*& typemps removed and replaced with SWIGTYPE *const&.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11958 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-01 18:26:37 +00:00
William S Fulton
e81bfb86c0
Correct file and line number display for some error messages, these now also result in exiting with an error.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-13 23:08:02 +00:00
William S Fulton
4f88d641af
Better handling of file paths containing multiple path separators. Fix recent regression incorrectly detecting a directory on Windows when the output directory is not the current directory.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-13 22:28:24 +00:00
Mikel Bancroft
541bc7d435
[allegrocl] Use fully qualified symbol name for cl::identity
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-10 19:38:24 +00:00
William S Fulton
c1cce1bc98
The intermediary JNI class modifiers are now public by default. The proxy class pointer constructor and getCPtr() methods are also now public
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-08 20:48:11 +00:00
William S Fulton
b6b99bb148
Add nspace feature for C# and add documentation on nspace
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-06 19:11:32 +00:00
William S Fulton
1253657bb4
Add improved namespace support - the nspace feature, working for Java only at the moment.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-04 21:27:23 +00:00
William S Fulton
f6ce153f8f
Remove -dirvtable from the optimizations included by -O as it this option currently leads to memory leaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-27 15:53:21 +00:00
William S Fulton
830de4d2f1
Various ruby-1.9.x compile fixes including patch from Nibble
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11862 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-13 16:59:41 +00:00
William S Fulton
12b89ff406
Apply patch from Patrick Bennett to fix RARRAY_LEN and RARRAY_PTR usage for Ruby 1.9.x
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-13 15:06:26 +00:00
William S Fulton
4bf5049397
Improve target language symbol tables for Java and C#, using different scopes for the constants interface, module class and intermediary class rather than incorrectly putting all the symbols into one scope
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11857 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-13 00:42:09 +00:00
William S Fulton
f4cfc9bce5
Add the -debug-lsymbols option for displaying the target language layer symbols.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-11 22:56:39 +00:00