Commit graph

210 commits

Author SHA1 Message Date
Dave Beazley
62c35e3579 Removed contract code from swigmod.h. Violates intended modularity of this file.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-09 15:57:54 +00:00
Matthias Köppe
95520b20af Remove symbol clashes between runtime libraries.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-05 11:36:52 +00:00
Matthias Köppe
2b63b996a8 Add GOOPS support, contributed by John Lenz.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5180 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-05 11:27:20 +00:00
Matthias Köppe
00cb55d2e4 <-scm> Fix typo in generated code for procedures-with-setters.
Reported by John Lenz.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-28 14:40:44 +00:00
William S Fulton
3ddde9fe70 Director tweaks from Scott Michel.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-26 20:40:49 +00:00
Dave Beazley
7d8b4ba3b6 Fixed [ 812528 ] externs not correct when throw is in signature.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5162 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-26 20:37:30 +00:00
Art Yerkes
c779469a61 Working directors again. I need to focus on director_abstract testcase.
TODO: my ranting on typing.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5160 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-25 06:46:17 +00:00
William S Fulton
9aa3168154 More director improvements from Scott Michel
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-24 21:28:06 +00:00
William S Fulton
2704ffe81f 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/SWIG@5153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:26:04 +00:00
William S Fulton
89b91e44f0 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/SWIG@5140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 22:57:16 +00:00
William S Fulton
9da574aae9 __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/SWIG@5138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 20:13:42 +00:00
William S Fulton
7ee01311b2 typemap name changes:
inv => directorin
outv => directorout
argoutv => directorargout


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


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


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 15:12:21 +00:00
Mark Rose
ae6a5a8f4e Directors default to "owned" (python)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 23:37:37 +00:00
William S Fulton
ebb9ed7277 Various director fixes submitted by Scott Michel
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 23:19:47 +00:00
Logan Johnson
ba19965de9 Fixed a bug in RUBY::classDirectorConstructor().
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 20:31:30 +00:00
Logan Johnson
415eb46a14 Fixed a typo in RUBY::constructorHandler.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 18:19:03 +00:00
William S Fulton
d048188454 Fixes for throwing exceptions in director (Java) methods
Removed redundant ExceptionClear calls


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5113 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-16 20:46:22 +00:00
William S Fulton
7b1bedc0fd 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/SWIG@5109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 23:47:37 +00:00
Dave Beazley
8ae4c60d39 Major refactoring of DOH List/Hash iterators. See CHANGES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 20:26:57 +00:00
Matthias Köppe
d4570b2907 Print Doh List objects readably.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-09 12:38:16 +00:00
William S Fulton
5df736b5a2 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/SWIG@5090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-07 10:24:28 +00:00
William S Fulton
de82aae067 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/SWIG@5086 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:50:38 +00:00
William S Fulton
d5443cb3d0 new method abstractClassTest - by Scott Michel
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5085 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-06 15:39:31 +00:00
Tiger Feng
5e31722409 modified contract output format
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5079 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-05 19:11:11 +00:00
William S Fulton
a2734b3f71 Java directors implementation contributed by Scott Michel.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5075 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 23:15:05 +00:00
William S Fulton
a3121fad6c -E added to options displayed with -help
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5069 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-02 19:55:05 +00:00
Tiger Feng
3634731948 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5057 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 18:19:41 +00:00
Dave Beazley
d6c234a761 Fixed [ 797576 ] -help seems to imply that only tcl-specific options exist
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-01 17:21:40 +00:00
Mark Rose
ec6251e86d Abstract directors and typemap fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-30 05:03:34 +00:00
William S Fulton
49b83f44ed Support for throwing C# exceptions from C/C++ - $module special variable.
Pinvoke method's calling convention fix.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-29 20:09:32 +00:00
Dave Beazley
c4a60c1415 Fixed [ 763522 ] 1.3.19 segfault in SwigType_add_pointer/DohInsertitem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-15 18:22:08 +00:00
Dave Beazley
d40a0551d4 Fixed [ 763563 ] Missing indication of optional arguments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-15 18:11:36 +00:00
Mark Rose
c64a331078 Directors ignore private ctors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4988 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-11 01:05:05 +00:00
William S Fulton
6c71e9d478 -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/SWIG@4981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-08-07 17:22:12 +00:00
William S Fulton
10b159e22a Added preprocessor symbols
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4946 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-04 21:47:56 +00:00
Matthias Köppe
bf148400e2 Compute output file name correctly in C mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4942 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-01 18:34:48 +00:00
Matthias Köppe
7618adb70f Handle the case of more than one "argout" typemap per function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4940 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-07-01 17:00:04 +00:00
William S Fulton
a7fa8d86cc 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/SWIG@4933 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-29 21:52:26 +00:00
William S Fulton
2ef3a59918 throws attribute working for javain, javaout (Java), csout, csin (C#) and newfree typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-27 13:14:08 +00:00
Mark Rose
9b9680f3ac multiargument director typemap segfault fix (python)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-26 09:46:32 +00:00
William S Fulton
c13a3081b3 warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-25 09:36:59 +00:00
Matthias Köppe
172eeea6c4 From felix@proxima-mt.de:
The module for generating wrappers for the Chicken
Scheme system contains a small bug: the wrappers
should not contain calls to "C_check_for_interrupt",
which may result in an endless loop.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-24 16:24:02 +00:00
William S Fulton
c8d1feb8a0 Java output formatting change and tweak to protected/private destructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 19:46:27 +00:00
William S Fulton
4667d7bf2a C# typemap name change twiddle
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4897 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 12:32:08 +00:00
William S Fulton
f417d91bf0 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/SWIG@4893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 11:47:01 +00:00
William S Fulton
4795f0012b Update so that the module doesn't look like it is wrapping Java! Variable name changes, comments etc modified.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4892 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 11:45:04 +00:00
William S Fulton
b983da351d A number of the C# features, pragmas and typemaps have had their names changed.
They no longer have java or jni in their names. CHANGES file has complete list.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-11 19:52:27 +00:00
William S Fulton
10578504db Tweak for protected and private destructor wrapping
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-11 09:15:06 +00:00