Commit graph

32 commits

Author SHA1 Message Date
Marcelo Matus
7bbbe3b274 Moving the director protected member support to the top level. Now it should works in all the languages. Test it.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5498 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-07 23:00:02 +00:00
Marcelo Matus
6dbeba36af Added help for -nodirprot flag
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-06 22:51:54 +00:00
Marcelo Matus
75c1713b2d Fixes to support protected members with director, proper virtual member recognition and support of the nodirector feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-05 01:59:28 +00:00
William S Fulton
0a39ab52c8 Director fix for #include "xxxx_wrap.h". Was incorrectly adding a directory in some situations. See #848335.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-28 23:08:14 +00:00
William S Fulton
2cd181ba5f Common director support functions moved to new file directors.cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:21:39 +00:00
Dave Beazley
9b9f2c18f4 Code generation improvements. Order of automatically generated methods is different.
Added special variable $action to python code fragments included with feature:shadow.
This expands to the name of the low-level C wrapper function.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 17:14:00 +00:00
Dave Beazley
9bf9e2faf3 [ 829325 ] new Python Module options and features
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-31 17:55:38 +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
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
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
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
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
Mark Rose
61e87af65e multiargument director typemap segfault fix (python)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-26 09:46:32 +00:00
William S Fulton
5e89be947a Matched the text for warnings 462 and 463 to that shown in the docs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4841 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-01 22:53:38 +00:00
Logan Johnson
ddbdf26508 Renamed Language::SetNoneComparison() to setSubclassInstanceCheck(),
because that name better reflects what the function's trying to accomplish
(test whether the object for which the constructor's being called is an
instance of the class, or an instance of one of its subclasses).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-28 22:35:52 +00:00
Mark Rose
7b5e723389 Director fixes for operator method names and destructors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4702 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-23 23:11:53 +00:00
William S Fulton
757911abd7 Warning tidy up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-21 21:14:58 +00:00
Dave Beazley
fd5f885380 Added patch 701860.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-20 18:59:01 +00:00
Mark Rose
4132afb727 director method tagging simplification
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-19 04:01:24 +00:00
Mark Rose
a1abd6a471 void director method fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 11:45:59 +00:00
William S Fulton
66a2cc62f0 compiler warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 10:15:44 +00:00
Mark Rose
d0f9431db8 partial fix for abstract director classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-14 07:14:04 +00:00
Mark Rose
0b87776d0b Added SetNoneComparison call to PYTHON::top
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4479 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-08 10:01:30 +00:00
Mark Rose
5a7faa47a1 added SWIG_DIRECTORS define under python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 10:28:00 +00:00
Mark Rose
47710c7dda changed -fdirectors option to %module option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-07 02:09:03 +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
Mark Rose
bd40a83f1c polymorphism patch merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 19:21:58 +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