Commit graph

149 commits

Author SHA1 Message Date
William S Fulton
cd77949bca Remove DetachCurrentThread patch from 08/11/2006 - it causes segfaults on some systems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-13 22:15:53 +00:00
William S Fulton
cb6ebd6f18 directorout const string& fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-03 21:57:27 +00:00
William S Fulton
3c24cacfbd consistent directout typemaps for all languages - $result used instead of $1 in C# and Java now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:54:14 +00:00
William S Fulton
45956b1728 const size_t& typemaps added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-17 21:43:40 +00:00
William S Fulton
2780b5ee3b Avoid potential race conditions on the delete() method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 21:36:06 +00:00
William S Fulton
5fed507b72 Fix #1238798 - Directors using unsigned long long or any other type
marshalled across the JNI boundary using a Java class (where the jni typemap
contains jobject).
Fix variable name clash in unsigned long long directorin typemap


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:42:25 +00:00
William S Fulton
edd5bfeb1a %ignore director fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-22 23:29:34 +00:00
William S Fulton
e4a580f4f3 Fix for directors and non jvm created threads - the jvm would not close
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:41:12 +00:00
William S Fulton
8cad0e2d49 Fix long long typemaps so that they can be applied to __int64 and other equivalents
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9223 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-24 20:37:10 +00:00
William S Fulton
e70cb047d4 Fix directorout typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9201 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-07 10:06:25 +00:00
William S Fulton
83f49ed6aa Add warning for directorout typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-05 21:03:57 +00:00
William S Fulton
981a5597d3 Fix return by reference for directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 20:49:25 +00:00
William S Fulton
a256f0b454 cosmetic mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9098 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:17:45 +00:00
William S Fulton
bdc28f90ca better director support for reference types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:16:20 +00:00
William S Fulton
0f96efd9ce ensure %apply with char*, unsigned char* and signed char* works
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9072 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 20:58:19 +00:00
William S Fulton
d0a1364215 fix const wstring& typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-19 15:34:27 +00:00
William S Fulton
766cb3877b minor code consistent style changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-11 00:06:45 +00:00
William S Fulton
0eaa9f70dd Bug 1446319 - variable of same name emitted more than once when more than wstring parameter in director methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-10 21:47:58 +00:00
William S Fulton
33cd31865a Common template for head of each file detailing licence, distribution and authors information
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8973 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 00:14:10 +00:00
William S Fulton
a969ab73dd Remove void * cast which was suppressing gcc's strict aliasing warning display. Note g++ 4.0 still does not display the warning even though with -O2 the resulting code fails due to aliasing optimisations.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 22:44:34 +00:00
William S Fulton
7a0351adc2 remove unused method warning with gcc -Wall
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 22:41:12 +00:00
William S Fulton
fd212896fd std::wstring global and member variables are wrapped as strings by default
No need to use the %apply const std::wstring& { std::wstring* } trick anymore


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 22:32:07 +00:00
William S Fulton
0a64cc1e41 Finally std::string global and member variables are wrapped as strings by default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8598 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:42:25 +00:00
William S Fulton
1b3764a6c6 BigInteger fixes - Bug 1398394
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-09 23:10:27 +00:00
William S Fulton
eb433dbef1 Each target language now has its own std_deque.i like the other STL wrappers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 20:08:44 +00:00
William S Fulton
35526f18d2 Fix for directors - where a class returned by value
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 14:09:14 +00:00
William S Fulton
f545472fe8 cosmetic changes removing unnecessary brackets and empty lines in generated code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 13:58:10 +00:00
Marcelo Matus
3634df5e12 add support for named warning codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:42:24 +00:00
Marcelo Matus
55d79fea4f add initial stl.i to ensure proper file inclussion and extensions for each language
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 00:37:31 +00:00
William S Fulton
b858051d51 Fix recent STL exception breakages and add in throws typemaps for most of the std::exception classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8201 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 23:25:33 +00:00
Marcelo Matus
2f4e0cdf20 silence warnings for std::exception
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8173 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-02 04:36:19 +00:00
William S Fulton
d57e63e2a5 Add in array reference typemaps - the recently introduced pointer reference typemaps broke array references.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-29 00:16:48 +00:00
William S Fulton
911613c92b fix to set method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8081 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 10:46:54 +00:00
William S Fulton
6b73e09521 Fix for vector of bool
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 01:50:49 +00:00
William S Fulton
674b0795a4 Add pointer reference typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8064 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-26 23:09:16 +00:00
William S Fulton
5da1b88934 fix exceptions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8046 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-23 00:14:02 +00:00
William S Fulton
36b0436a48 new $imclassname to fix bugs changing the intermediary classname
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-21 22:51:25 +00:00
Marcelo Matus
cf77325c3c fix li_std_except.i test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-30 21:45:41 +00:00
William S Fulton
e013e7ff5a Use the system angle brackets for %include
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 09:28:20 +00:00
William S Fulton
3734f71ede Extra constructor to handle enum items initialised by another enum item
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-26 08:35:36 +00:00
William S Fulton
9f76d1e6c4 Fix so that all the const primitive reference types can be applied to other types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7843 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-10 21:26:40 +00:00
Marcelo Matus
2ff3dd0d4e replace bad parameter names when neccessary
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7699 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-21 10:43:41 +00:00
William S Fulton
a0030c7626 Workaround for #error in typemaps erroring out when swig is running rather than when the compiler executes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7665 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-15 22:23:25 +00:00
William S Fulton
98e6644fe5 Fix so that it is possible to overload methods with 2 different enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7662 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-15 01:27:07 +00:00
William S Fulton
a81b3a0c35 minor simplification for const enum SWIGTYPE&
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-09 13:51:15 +00:00
William S Fulton
fea5471cf7 unsigned long long director fixes (bug 1238798)
Also missing cvs commit for director fixes for SWIGTYPE


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 22:07:44 +00:00
William S Fulton
99e307ee6e jweak cast fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-13 21:03:01 +00:00
William S Fulton
e00d664c62 Intel compiler fix for __int64 typedef redefinition
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-16 21:26:44 +00:00
William S Fulton
49639577e0 use exception specification instead of %exception to handle STL error checking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-27 20:09:42 +00:00
William S Fulton
c563916ddb Stop using SWIG_exception. It is flawed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-07-22 21:33:32 +00:00