William S Fulton
a358958e72
Update docs with missing example.c compilation - Bug 3545858
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-05 11:02:49 +00:00
William S Fulton
4305a3cef9
#3545877 - Don't undefine bool if defined by C99 stdbool.h - problem using Perl 5.16 and later.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-05 10:15:08 +00:00
Oliver Buchtala
db0f2d7a8e
Fix pedantic warnings in fio.c methods.
...
From: Oliver Buchtala <oliver.buchtala@googlemail.com>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-05 08:38:16 +00:00
Oliver Buchtala
18aa801bd0
Fix bug in emit_action.
...
Before, it was possible that two catch(...) blocks
were generated (for varargs and undefined typemap).
From: Oliver Buchtala <oliver.buchtala@googlemail.com>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-05 08:37:59 +00:00
William S Fulton
196f9b31ed
Remove unused temp variable in C# intrusive_ptr wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13510 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-04 23:20:07 +00:00
William S Fulton
33098764b7
Remove unnecessary keyword warning when parsing 'using'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-04 22:38:44 +00:00
William S Fulton
05839e646c
Revert resolving template parameters
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-04 20:26:08 +00:00
William S Fulton
e21bd46420
Resolve template parameters
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13507 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-04 20:25:43 +00:00
William S Fulton
32071e8690
Restore previously broken tests
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-04 20:25:16 +00:00
William S Fulton
0559f1f521
Fix Swig_symbol_clookup_no_inherit return value
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-04 20:24:47 +00:00
William S Fulton
54726b9d09
Fix using declarations and templates. %template was putting the
...
instantiated template into the global namespace instead of the namespace
of the template definition. This fixes regression in swig-2.0.5 copying
the std::pair typemaps which occurs with a 'using std::pair'
declaration. This also fixes lots of other using declarations of
template problems (template forward declarations. combinations
using directives).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-04 20:24:22 +00:00
William S Fulton
3e33774c8c
Show symbol type in symbol debug functions such as -debug-csymbols
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13503 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-04 20:23:31 +00:00
William S Fulton
6e6ce16e4e
Fix using declarations combined with using directives with forward class
...
references.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13502 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-08-04 20:23:07 +00:00
Ian Lance Taylor
1e1c0ad951
Fix Go -package option. Previously SWIG could get confused if the
...
module name was not the same as the package name, as is the default.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-24 05:43:39 +00:00
William S Fulton
7b58300cbd
Fix display of pointers on 64 bit systems, only 32 bit values were being shown.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-21 22:52:30 +00:00
William S Fulton
594fd2b410
Fix gdb debugger functions to display to the gdb output window rather than stdout.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-21 14:04:37 +00:00
William S Fulton
4241dd1e93
Warning removal for autoconf 2.66 and later
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-21 06:58:28 +00:00
Karl Wette
4ef525c713
Updated changelog for previous 2 octave commits
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-20 08:53:51 +00:00
Karl Wette
ae0c4d37b9
octave: improved segfault-on-exit prevention hack
...
- Now simply set exit function pointer "octave_exit" to _Exit.
This correctly preserves exit status when error() is called.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-20 07:31:32 +00:00
Karl Wette
d1ae77bdc2
octave: use _Exit instead of _exit
...
- _exit is a POSIX function (unistd.h), whereas _Exit is in C99 (stdlib.h)
and is therefore more likely to be supported by C++ compilers (cstdlib)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-12 17:53:02 +00:00
William S Fulton
33926f1201
Note lack of support for %shared_ptr and directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-07-09 20:06:09 +00:00
William S Fulton
b6c76bcd94
Cosmetic changes and some docs on some symbol functions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13192 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-25 18:22:17 +00:00
William S Fulton
1ce0058256
Fix symbol table bug with combinations of using directives and using declarations
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-25 06:36:29 +00:00
William S Fulton
e4a3a004ae
Move contributor names to where they belong
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-11 18:05:56 +00:00
Joseph Wang
cf16f43e51
add std_vector items`
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-10 13:54:27 +00:00
Ian Lance Taylor
6a20df2bb8
Don't convert uintptr to interface type while not connected to Go
...
scheduler. Likewise with calls to defer.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-05 23:02:42 +00:00
Ian Lance Taylor
5a19113432
Import unsafe in generated Go code, so that pointers stored as type
...
uintptr do not get garbage collected.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-05 20:54:08 +00:00
Ian Lance Taylor
9a6dc5ac40
Fix typo in name of SwigDoCgocallDone for GCC < 4.7.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-05 13:32:28 +00:00
Ian Lance Taylor
7ec208da05
Fix Go support to use appropriate interface for entering and leaving
...
C/C++ code, depending on GCC version.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-06-04 05:37:10 +00:00
Olly Betts
8fe63be051
Fix doc typo
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-31 04:12:17 +00:00
William S Fulton
c47fd5fdd5
Director documentation corrections to match reality.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-30 05:59:46 +00:00
William S Fulton
7ec1e11604
Fix bug 3529601 - seg fault when a protected method has the director
...
feature but the parent class does not. Also fix similar problems with
the allprotected feature.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-29 22:02:43 +00:00
Olly Betts
5b2f38101f
Fix comment typos in Lua typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-28 18:32:24 +00:00
William S Fulton
9a758998c9
Add in another SF bug reference
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-28 06:27:35 +00:00
William S Fulton
55bda8f9f2
Fix seg fault attempting to warn about illegal destructors - introduced in rev 13111
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-28 06:20:45 +00:00
William S Fulton
eb5837b697
cosmetic wording in release script
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-26 08:20:20 +00:00
William S Fulton
290c43b9e5
Update list of languages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-26 08:14:37 +00:00
William S Fulton
3a55dd3df1
Bump version to 2.0.8
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-26 08:05:16 +00:00
William S Fulton
1b4e328046
swig-2.0.7 release date
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-26 07:09:54 +00:00
William S Fulton
e62dc28f16
Clean up Lua std::string typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-26 07:07:00 +00:00
William S Fulton
12a9671440
std::string typemap modifications so they can be used with %apply for other string classes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-26 06:33:49 +00:00
William S Fulton
49b6c39d98
Lua fix for -external-runtime
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-24 23:05:07 +00:00
William S Fulton
184519b6a6
attempt to fix test again
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-24 23:01:28 +00:00
William S Fulton
020e137347
test fix again
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-24 22:37:57 +00:00
William S Fulton
522382c05e
test fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-24 22:20:22 +00:00
Karl Wette
a276c0b45a
[octave] skip part of module_load test for older Octaves
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-24 21:18:50 +00:00
William S Fulton
76a115ea41
Test fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13114 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-24 18:42:32 +00:00
William S Fulton
8de0234313
Release notes for swig-2.0.7
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-24 06:29:58 +00:00
William S Fulton
706736a73d
Fix some warning messages to correctly show class names.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-23 20:24:21 +00:00
William S Fulton
6f8e77d7b0
Better search for python3 based on code from Vadim Zeitlin
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-05-23 19:10:44 +00:00