Commit graph

4,854 commits

Author SHA1 Message Date
William S Fulton
f8b807c200 New section on symbol naming guidelines.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:38:32 +00:00
William S Fulton
8e017fe286 Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names)
Symbols in the generated director code.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:26:31 +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
9a8406dc10 Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:24:17 +00:00
William S Fulton
5f46cf7d6b __cpluscplus typo fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:23:09 +00:00
William S Fulton
b9df93083f Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
__get_self()


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:21:51 +00:00
William S Fulton
125f909f1a Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
__swig_std_complex_i__


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5149 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:20:14 +00:00
William S Fulton
d50330f7ea Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
_SwigImport_Inittab

Dave can you double check this doesn't have dire consequences.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:19:47 +00:00
William S Fulton
61e4857f78 Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
_SWIG_ConvertPtr


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5147 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:18:15 +00:00
William S Fulton
848956294a Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names):
_SWIG_ConvertPtr and _SWIG_MakePtr


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:17:46 +00:00
William S Fulton
bd32960613 Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 (symbol names)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5145 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:16:38 +00:00
William S Fulton
f302d8bbdb __OCAML__SWIG__MAXVALUES removed. It wasn't being used. Is this okay Art?
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5144 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:15:39 +00:00
William S Fulton
1a18a41044 Corrected __cpluscplus typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:14:35 +00:00
William S Fulton
2c355228b8 Fixes to comply with with ISO/IEC 14882:1998(E) 17.4.3.1.2 :
_SWIG_Exception => SWIG_Exception_


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5142 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 21:13:27 +00:00
William S Fulton
b198a7dbde This file is deprecated - superceded by the pointer.i library. Bye bye!
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-23 20:38:46 +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
9ecbd6f614 - 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@5139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-22 22:55:17 +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
1b117a880a (untested) update for build changes done a few months back
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:50:04 +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
afb28e916e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 16:07:12 +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
6e052aeb1d First round of director mods
- Removed asserts
- The unused __DIRECTOR__ base class default constructor removed. I've used the conventional approach of having no default constructor rather than a private one (declaring it private doesn't serve any useful purpose when this constructor is not wanted).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 15:11:38 +00:00
William S Fulton
638ec81f42 Oops forgot the wombat runtime test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 08:42:37 +00:00
Mark Rose
beaa767b3e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 23:40:27 +00:00
Mark Rose
9b1f0130a7 Directors default to "owned" (python)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 23:37:37 +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
Logan Johnson
bb80f1f341 Added a Ruby runtime test for the new lib_std_pair.i test case.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 22:05:44 +00:00
Logan Johnson
f994b747b2 Added a new test case for the std_pair.i library module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5126 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 22:05:08 +00:00
Logan Johnson
6d0079f4e6 Fix for the std_pair.i library file for Ruby.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 22:03:57 +00:00
Logan Johnson
b3898b8714 Added a Ruby runtime test for the director_wombat.i test case.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5124 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 21:00:26 +00:00
Logan Johnson
c5d7f53309 Fixed a bug in RUBY::classDirectorConstructor().
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5123 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 20:31:30 +00:00
Logan Johnson
9ce85f45a3 Add (and use) the SWIG_POINTER_EXCEPTION and SWIG_POINTER_DISOWN flags
for the Ruby runtime support. Have not actually implemented support for
"disowning" Ruby pointers yet.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 18:47:27 +00:00
Logan Johnson
30a2c777a9 Fixed some problems in Swig_ConstructorToFunction() for the case where
the parameter list (parms) is NULL.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 18:20:16 +00:00
Logan Johnson
c73588914e Fixed a typo in RUBY::constructorHandler.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5120 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-19 18:19:03 +00:00
William S Fulton
d5a363a2dc *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-18 19:20:34 +00:00
William S Fulton
1dfcbeda97 char * fix for directors (from Scott Michel)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5118 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-18 19:19:01 +00:00
William S Fulton
6c9b48715c New test to test directors and templates (from Scott Michel)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-18 19:17:32 +00:00
William S Fulton
ee5c4f08ea Improved test to test parameters in static functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5116 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-18 19:16:18 +00:00
William S Fulton
91b4e247bb Some director runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-16 20:54:14 +00:00
William S Fulton
cef07f53ce Removed unused typemap file includes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5114 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-16 20:53:11 +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
1db604b960 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-14 21:57:07 +00:00
William S Fulton
247ef8dd93 test fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 23:50:41 +00:00
William S Fulton
b19cde7205 java director warning changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 23:48:02 +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
William S Fulton
7764421016 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5108 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:28:33 +00:00
William S Fulton
c4b43ef489 std::string runtime tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:17:13 +00:00
William S Fulton
7b32421774 std::string runtime tests. Based on Ruby test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5106 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 21:15:46 +00:00