Joseph Wang
|
413a485ac1
|
add finalizer for class fix. It was missing from earlier
additions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13957 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-12-12 12:41:07 +00:00 |
|
William S Fulton
|
4c1b566f62
|
Fix fully qualified package paths for Python 3 even if a module is in the same package
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13955 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-12-11 18:42:58 +00:00 |
|
William S Fulton
|
f38147c154
|
Remove some pointless code creating implicit constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-12-02 18:11:56 +00:00 |
|
William S Fulton
|
6cd247d653
|
Correct prefix handling - bug introduced in rev 13886
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-12-02 13:37:10 +00:00 |
|
William S Fulton
|
7ca0497647
|
CFFI - fix junk output when wrapping single character constants
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-12-02 13:36:40 +00:00 |
|
William S Fulton
|
89052f3b0a
|
Fix Strcmp - it didn't have consistent null pointer handling - revert to what it used to be - a lightweight wrapper around strcmp which means functions once again must not pass in null to it.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-12-02 13:36:13 +00:00 |
|
Karl Wette
|
e60ae2d81d
|
octave: Simplified module loading.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13941 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-28 20:22:56 +00:00 |
|
William S Fulton
|
092e2104c7
|
More consistent use of DOH namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-26 20:31:54 +00:00 |
|
William S Fulton
|
9b40eb58e3
|
cosmetic variable name changes for abstracts to match previous commit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-24 14:15:20 +00:00 |
|
William S Fulton
|
d93dc0f8e2
|
Distinguish between an "abstract" attribute on a class containing a list of abstract members and an "abstract" flag on pure virtual methods - renamed former to "abstracts"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-24 14:13:58 +00:00 |
|
William S Fulton
|
709d683926
|
Minor code optimisation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-24 14:12:57 +00:00 |
|
William S Fulton
|
7a89f71f36
|
Coverity defect suppression
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-24 14:12:25 +00:00 |
|
William S Fulton
|
0d2c459046
|
Remove some unused code and pointless variable assignments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-23 07:38:00 +00:00 |
|
William S Fulton
|
f3e253771c
|
Remove incorrect Delete
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-23 07:36:10 +00:00 |
|
William S Fulton
|
14446c365b
|
Minor logic and memory leak fix.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-22 23:23:15 +00:00 |
|
William S Fulton
|
afec99c64f
|
Remove some useless code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-22 23:22:34 +00:00 |
|
William S Fulton
|
dad2476091
|
Minor logic fix.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-22 23:21:54 +00:00 |
|
William S Fulton
|
be3236cb67
|
Better handling of null sym:name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-22 23:21:19 +00:00 |
|
William S Fulton
|
7d610dbd62
|
Remove unnecessary null check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-22 23:20:57 +00:00 |
|
William S Fulton
|
5b4ba0b0d6
|
Remove unnecessary null checks or fix potential null dereferences
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-20 23:29:57 +00:00 |
|
William S Fulton
|
2b8bfe410e
|
Remove unnecessary null checks or fix potential null dereferences
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-20 23:29:35 +00:00 |
|
William S Fulton
|
f267e08b5b
|
Fix potential null pointer dereferences
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-20 23:29:07 +00:00 |
|
William S Fulton
|
158a00b591
|
Fix potential crash in clisp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-20 23:28:43 +00:00 |
|
William S Fulton
|
681c6c6231
|
Fix possible null dereferences in CFFI
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-20 23:27:54 +00:00 |
|
David Nadlinger
|
1752b62156
|
[D] Fixed namespace handling bug introduced in r13915.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-20 20:06:21 +00:00 |
|
William S Fulton
|
4a25c4695d
|
Fix possible null dereference
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-19 19:52:44 +00:00 |
|
William S Fulton
|
8162f3c0a5
|
Fix buggy namespace_of and strip_namespaces functions replacing with equivalents from misc.c
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13917 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-19 19:51:13 +00:00 |
|
William S Fulton
|
558ee74967
|
Fix missing out typemap warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13916 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-19 19:49:43 +00:00 |
|
William S Fulton
|
0f0172bc0d
|
Fix possible NULL dereference
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-19 19:48:50 +00:00 |
|
William S Fulton
|
0c7bc36122
|
Fix obvious copy/paste errors in some director code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13914 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-19 19:47:48 +00:00 |
|
William S Fulton
|
660b15ea5a
|
Correctly handle errors if language symbol already exists
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-19 19:46:21 +00:00 |
|
William S Fulton
|
e0967f3e13
|
Fix unnecessary and inconsistent null pointer checks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-19 19:44:48 +00:00 |
|
William S Fulton
|
7299392ebb
|
Possible fix for global variable setters in modula3
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-19 19:43:24 +00:00 |
|
William S Fulton
|
288e45cb15
|
Add some assertions to ensure NULL pointer is not used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13910 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-19 19:42:17 +00:00 |
|
William S Fulton
|
0b0d5b1124
|
Fix uninitialised member var
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13909 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-19 19:41:12 +00:00 |
|
William S Fulton
|
d14a88a6bd
|
Fix memory leak
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-19 19:40:31 +00:00 |
|
William S Fulton
|
032f477d7f
|
Fix double delete
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13907 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-19 19:39:20 +00:00 |
|
William S Fulton
|
138af71cfd
|
Add missing support for -outdir for -tcl -itcl and -modula3
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-18 00:46:07 +00:00 |
|
William S Fulton
|
d918bddfc0
|
Fix segfaults when using filename paths greater than 1024 characters in length - use String * and heap instead of fixed size static char array buffers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-18 00:45:18 +00:00 |
|
William S Fulton
|
684bd8e472
|
Minor warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-14 22:48:09 +00:00 |
|
William S Fulton
|
fd24b188e2
|
Fix Coverity 'Uninitialized pointer fields' - member variables are now initialized
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-14 22:17:28 +00:00 |
|
William S Fulton
|
46d2486115
|
Resource leak fixes (or hiding them from Coverity static analysis tool by using String instead of char *)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-14 22:16:54 +00:00 |
|
William S Fulton
|
5a1e82a2f4
|
Remove DohClose (Close) and replace with calls to DohDelete (Delete) to fix some minor memory leaks in most uses of NewFile.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-14 22:16:07 +00:00 |
|
William S Fulton
|
61b4c1cbcd
|
Fix 'name' attribute for explicitly defined constructors and destructors if the associated class was in a namespace, eg a correct fully qualified name might be Space::Klass::~Klass, but it was Space::~Klass, now it is simply ~Klass (names are now consistent with implicitly added constructors/destructors).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13884 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-13 22:21:51 +00:00 |
|
William S Fulton
|
aeebd394f3
|
Fix incorrect implicit constructor and destructor names in the symbol tables. Fix some feature matching issues for implicit destructors and implicit constructors and impliciti copy constructors added with %copyctor. Also improves consistency in named typemap lookup rules.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-13 22:19:47 +00:00 |
|
William S Fulton
|
421139a5fe
|
Fix some subtle named output typemap lookup misses, the fully qualified name was not always being in all cases such as member variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-13 22:16:28 +00:00 |
|
Ian Lance Taylor
|
786d883d45
|
Fix Go support for enums to work correctly when Go int type is 64 bits.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13875 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-10-30 23:38:57 +00:00 |
|
William S Fulton
|
b1ee062d2a
|
Cosmetic variable renaming for consistency across language modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13874 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-10-27 17:38:05 +00:00 |
|
William S Fulton
|
f6229d4b73
|
Fix director typemap searching so that a typemap specified with a name will be correctly matched. Previously the name was ignored during the typemap search. Implemented by ensuring the 'type' attribute in the Node is set up correctly and using the usual Swig_typemap_lookup on the Node.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-10-27 17:37:34 +00:00 |
|
William S Fulton
|
b17a77c6ea
|
Support special variable expansion in %extend.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-10-11 19:28:02 +00:00 |
|