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
|
41fed461fa
|
Fix Swig_file_extension when the path has a . and there is no extension in the filename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-18 00:45:39 +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
|
e450d4ebac
|
Remove some possible buffer overflows
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-18 00:44:39 +00:00 |
|
William S Fulton
|
475c6c6ce0
|
Suppress some unchecked return value warnings for Coverity
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-18 00:44:19 +00:00 |
|
William S Fulton
|
0baa87809f
|
Remove unnecessary non-null check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13901 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-18 00:43:53 +00:00 |
|
William S Fulton
|
111b517372
|
Fix possible null dereferences
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-18 00:43:31 +00:00 |
|
William S Fulton
|
69b32d921f
|
Remove pointless null check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-18 00:43:09 +00:00 |
|
William S Fulton
|
b107f57e59
|
NULL pointer clarification in Swig_new_subdirectory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-16 19:39:50 +00:00 |
|
William S Fulton
|
3d6b068b8c
|
Add some assertions around use of Tell
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-16 19:38:48 +00:00 |
|
William S Fulton
|
c0919870f8
|
Add assertion for possible failure displaying warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13895 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-16 19:37:40 +00:00 |
|
William S Fulton
|
5e13cd3475
|
Consider strchr failing in a few places
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-16 19:36:46 +00:00 |
|
William S Fulton
|
ec08824561
|
Remove pointless null pointer check - Coverity REVERSE_INULL.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-16 19:35:33 +00:00 |
|
William S Fulton
|
e87e94572e
|
Fix unused variables found by Coverity checker
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-16 19:33:43 +00:00 |
|
William S Fulton
|
e475ce1d6b
|
Fix race condition 'time of check time of use' - TOCTOU - when creating subdirectories.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-16 19:32:40 +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
|
d4b7275f51
|
Fix Swig_scopename_last. It was truncating the first two letters of a symbol if the symbol did not contain any qualifiers. Does not seem to change much currently except some generated error messages in overloaded templated methods in classes. However the fix is needed for some commits shortly forthcoming.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13881 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-13 22:18:52 +00:00 |
|
William S Fulton
|
7aa339cb3f
|
Swig_symbol_string_qualify for destructors - bug exposed after last commit when fully qualifying destructor names during typemap searches
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13879 626c5289-ae23-0410-ae9c-e8d60b6d4f22
|
2012-11-13 22:17:10 +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 |
|