William S Fulton
6fb0f48935
customised ccache support: read the CCACHE_OUTFILES env variable and if exists, the names of all generated files are written to the filename specified in the env variable
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-03 12:51:45 +00:00
William S Fulton
dfcd771463
Fix enums when using -noproxy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10516 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-02 20:15:39 +00:00
William S Fulton
9ecf676f70
Fix variable wrappers when using -noproxy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10506 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-29 00:45:28 +00:00
William S Fulton
adad42f095
Fix variable name clash in directors - SF #1963316
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-15 21:16:48 +00:00
William S Fulton
336b50b43d
Add the optimal attribute to the out typemap for more optimal code generation when returning objects by value
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-14 22:12:31 +00:00
William S Fulton
46a0db50fe
enforce consistency in wrap:action wrt line spacing
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-01 21:47:23 +00:00
William S Fulton
9976dc9d75
Add allprotected mode for wrapping protected members when using directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-20 20:41:01 +00:00
William S Fulton
421eb7ae60
New templated method SwigValueInit to initialise all types - used initially for return types in director methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10063 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 23:07:33 +00:00
William S Fulton
30964be253
Fix uninitialised variable usage on error in director methods. Minor formatting change for director methods variable declaration.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-22 21:30:19 +00:00
William S Fulton
a43e50ac07
fix generated code for derived classes when csbase or javabase typemaps are used with the replace=1 attribute.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-19 21:48:05 +00:00
William S Fulton
fe042d2ebc
Replace cvs $Header$ with svn $Id$
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:42:11 +00:00
William S Fulton
2c46b7832c
Strip C comments from the java typemaps when determining to use the premature garbage collection prevention parameter
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 21:31:22 +00:00
William S Fulton
7199cf2ef0
Ensure the premature garbage collection prevention parameter (pgcpp) is generated for Java wrappers
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-19 23:17:50 +00:00
William S Fulton
2824efe6ba
Fix bug #1776651 - bug when the director class name is similar to other symbols being used
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-20 19:48:45 +00:00
John Lenz
fb51964d01
Fix a bunch of minor bugs found by Coverity scanner
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 02:55:27 +00:00
William S Fulton
aa32a6b094
Add support for in the out typemaps.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9885 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-09 22:17:12 +00:00
Olly Betts
53d0c60892
Escape literal `%' in Printf() calls ("%typemap" and similar).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-09 03:02:31 +00:00
William S Fulton
f63d3ad5ad
Add in pre, post and pgcppname attributes for the javain typemap
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9677 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-04-17 22:44:33 +00:00
Dave Beazley
ff41049b1c
Eliminated use of swigkeys.h/.c files.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-03 20:58:19 +00:00
Dave Beazley
c12550e4ad
API cleanup. Documentation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-03 05:23:20 +00:00
William S Fulton
97b1fbaa02
-fakeversion appears in generated files. Made comment with version number at top of generated files consistent.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-15 23:45:47 +00:00
William S Fulton
f69121d976
Memory leak fix put back in - the seg fault on Solaris is due to the recently added DetachCurrentThread call
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-12 01:56:18 +00:00
William S Fulton
8c2b66a11d
Fix director operator pointer casts
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-09 22:32:28 +00:00
William S Fulton
91b880e01c
warning fix for vc++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-02 00:43:55 +00:00
William S Fulton
aa04c4c057
beautify/format source code with gnu indent
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-01 23:54:54 +00:00
William S Fulton
3f0d00a5d3
- pgcpp fix for const methods
...
- DeleteLocalRef removed from end of director methods - it causes crashes on Solaris
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-31 21:58:23 +00:00
William S Fulton
5167d7f3ec
-nopgcpp commandline option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-29 22:36:24 +00:00
William S Fulton
eb142ad08a
Add premature garbage collection prevention parameter
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9486 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-29 22:05:23 +00:00
William S Fulton
d668f54a14
Fix %ignore director constructors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-26 18:42:40 +00:00
William S Fulton
7d7a9a387e
%ignore and virtual director methods fix - problem reported by Roy Sutton
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9471 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-21 23:40:28 +00:00
William S Fulton
091efa9b7c
$result expansion in directorout typemaps for consistent behaviour across all director languages
...
$result expands to c_result now instead of result like other typemap languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-20 22:57:38 +00:00
William S Fulton
e1eb8a266c
javabase/csbase typemaps mods to support morphing C++ abstract base classes into Java/C# interfaces
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-16 20:11:30 +00:00
William S Fulton
9a1bd4a9e0
Better control on what the java base class is (overriding the real C++ base class with the javabase 'replace' typemap attribute)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-13 23:44:32 +00:00
William S Fulton
4ad8d458d2
Avoid potential race conditions on the delete() method
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-12 21:36:06 +00:00
William S Fulton
dc788cd55b
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).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-11 22:39:54 +00:00
William S Fulton
be89441352
Fix virtual conversion operators for directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 17:34:08 +00:00
William S Fulton
8d333d90f0
director error message fixes to correctly generate templated class names
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-10-04 11:01:31 +00:00
William S Fulton
95958855cf
More %ignore director fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-27 21:24:44 +00:00
William S Fulton
da079c2d2b
Fix #1505591 Throwing exceptions in extended directors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-25 21:47:08 +00:00
William S Fulton
d096cc1613
%ignore director fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-22 23:29:34 +00:00
William S Fulton
f0d1d772fa
- explicitcall feature removed.
...
- Instead of using the swig_up flag in each director method (Python, Ruby, Ocaml) to indicate
whether the explicit C++ call to the appropriate base class method or a normal
polymorphic C++ call should be made, the new approach makes one of these calls
directly from the wrapper method.
- Java/C# recursive director method calls fixed (no need for explicitcall feature to solve this now)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:55:24 +00:00
William S Fulton
e236e10bf7
Fix for directors and non jvm created threads - the jvm would not close
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:41:12 +00:00
William S Fulton
d9d1a7d5c4
ensure $symname is suitably expanded
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-05 21:26:10 +00:00
William S Fulton
d13459f6ca
Replace JNIEXPORT with SWIGEXPORT, thereby enabling the possibility of using gcc -fvisibility=hidden for potentially smaller faster loading wrappers.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9162 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 20:00:59 +00:00
William S Fulton
00b7f0d72f
minor director tweaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9100 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-13 23:18:31 +00:00
William S Fulton
51ba1d14d5
#1447337 Delete LocalRefs at the end of director methods and some cosmetic changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-11 00:05:20 +00:00
William S Fulton
7f74b8e7a3
Common template for head of each file detailing licence, distribution and authors information
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 22:51:01 +00:00
William S Fulton
25aff229ab
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/SWIG@8948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 22:44:34 +00:00
Marcelo Matus
76a78eb125
fix C + struct + enums
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-09 23:14:33 +00:00
Marcelo Matus
e8b3542f9a
implement the naturalvar feature for global vars in java and csharp
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8577 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:38:00 +00:00