Commit graph

39 commits

Author SHA1 Message Date
William S Fulton
2636349aa1 Scott Michel patch which removes supefluous ricochet director checking code except for pure virtual methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 22:26:36 +00:00
William S Fulton
05d2ab63eb JNI descriptor attribute in directorin typemap called descriptor instead of parse now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 11:20:07 +00:00
William S Fulton
fcb4392793 director downcast mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 10:41:27 +00:00
William S Fulton
6df7122422 Scott Michel patch: Director bug fixes and downcast support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-05 22:41:40 +00:00
William S Fulton
c108055784 Director tweaks from Scott Michel.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-26 20:40:49 +00:00
William S Fulton
da7502b792 More director improvements from Scott Michel
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-24 21:28:06 +00:00
William S Fulton
3f15089fe9 Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names)
Numerous symbols in the generated director code.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:26:04 +00:00
William S Fulton
108bb7aeb0 Director code mods:
- Compliance with ISO/IEC 14882:1998(E) 17.4.3.1.2 -> eg double underscores removed
- Potential member variable and method name clashes remove by preceding with 'swig'
- consistent use of C++ booleans for the swig_disown flag across and within the modules that use this it in director code.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 22:57:16 +00:00
William S Fulton
f569dd135d __DIRECTOR__ renamed Swig::Director
SWIG_DIRECTOR_EXCEPTION renamed Swig::DirectorException (similarly for derived classes)


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 20:13:42 +00:00
William S Fulton
69d79e0674 typemap name changes:
inv => directorin
outv => directorout
argoutv => directorargout


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:52:28 +00:00
William S Fulton
7d04ec7439 directorin typemap renamed javadirectorin
directorout typemap renamed javadirectorout


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 16:13:19 +00:00
William S Fulton
c858b73832 First round of director mods
- Removed asserts


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 15:12:21 +00:00
William S Fulton
e09ec943f5 Various director fixes submitted by Scott Michel
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 23:19:47 +00:00
William S Fulton
2199bba36a Fixes for throwing exceptions in director (Java) methods
Removed redundant ExceptionClear calls


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5113 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-16 20:46:22 +00:00
William S Fulton
4b16ce4355 More director changes from Scott Michel - no more director code in normal wrappers plus other changes for classes in an inheritance chain
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 23:47:37 +00:00
Dave Beazley
4cf4dad108 Major refactoring of DOH List/Hash iterators. See CHANGES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 20:26:57 +00:00
William S Fulton
26806f865f Director fix. result in director wrappers must not be initialised to zero. Fixes case when std::string is return type.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-07 10:24:28 +00:00
William S Fulton
1b75602a00 Assorted director fixes by Scott Michel
Bug fix so directors work with package names that use an underscore


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5086 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:50:38 +00:00
William S Fulton
f87e2f574a Java directors implementation contributed by Scott Michel.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 23:15:05 +00:00
William S Fulton
06ed231b7d -outdir commandline option support => directory for proxy class and other language specific files
-help tidy up


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 17:22:12 +00:00
William S Fulton
b03c08d211 New typemap attribute which specifies the destructor wrapper method name thus making the wrapper method name configurable.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-29 21:52:26 +00:00
William S Fulton
c89e7d9923 throws attribute working for javain, javaout (Java), csout, csin (C#) and newfree typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-27 13:14:08 +00:00
William S Fulton
1e2e0d140c Java output formatting change and tweak to protected/private destructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 19:46:27 +00:00
William S Fulton
4d713d89ac More generic variable names matching the C# module, so that next time the module is copied it will making porting more easy.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 11:47:01 +00:00
William S Fulton
9352654318 New typemaps: javadestruct_base and javadestruct_derived
for the C++ destructor wrapper. The _base version gets used by
classes at the top of an inheritance chain and the _derived
version gets used by other classes.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-10 21:40:26 +00:00
William S Fulton
be92467534 Fix for proxy class typemaps so that they use the C++ type and not the proxy class name.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4786 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-11 21:37:52 +00:00
William S Fulton
d6169061d6 constants and enums are wrapped as C# constants rather than variables now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4663 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 15:31:19 +00:00
William S Fulton
9cc7fb5a1e Enums and constants put in a Java interface.
Based on patch submitted by Dave Dribin


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-03 12:28:39 +00:00
William S Fulton
310616de42 warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-27 00:33:41 +00:00
William S Fulton
53f8457aa6 vararg support for Java and C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 20:44:33 +00:00
William S Fulton
072552a37a Tidy up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-15 23:58:11 +00:00
Dave Beazley
d060c1b248 Enhancement to Swig_require(), Swig_save(), Swig_restore()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 21:10:49 +00:00
William S Fulton
3327e7095c gcc -Wall warnings fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-03 23:29:53 +00:00
William S Fulton
6643be30bc Fix so that enum typemaps are used when wrapping an enum declaration.
[Enum typemaps still not 100% as 'enum' must always be declared with the type for the typemap.]


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-24 23:17:58 +00:00
William S Fulton
5f00ce7606 %javaconst(1) feature for enums so that using enum values do not have to make a JNI call.
Based on patch by Heiner Petith.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-19 23:00:22 +00:00
William S Fulton
30a37433aa Patch submitted by F. Postma for compiling on HP
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-10 22:19:03 +00:00
William S Fulton
d47672d7e7 Modifications to work on MacOS, submitted by Bernard Desgraupes.
Mainly ensuring the files are output in the appropriate directory.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-16 21:20:53 +00:00
William S Fulton
1c6533a885 Version simplification.
'swig -ldflags' added for MzScheme, Ocaml, Pike and PHP


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:39:28 +00:00
Dave Beazley
951fff2c7a File move
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-03 20:33:35 +00:00