Commit graph

2,237 commits

Author SHA1 Message Date
Art Yerkes
734e61b869 Added SWIG_contract_assert.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 08:20:12 +00:00
Dave Beazley
b2ae153a34 Fixed run test to work with change in static member wrapping.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-23 00:29:10 +00:00
Dave Beazley
26b1c100d0 Minor fixes for Ruby, mzscheme, etc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-22 22:38:25 +00:00
Art Yerkes
fb759ac282 Added -I for tcl, per5 and python runtime lib targets.
This problem might have gone unnoticed, since it disappears after the user
has done 'make install'.  It appears that the files are searched for in the
system include dir, but not the local one.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-21 22:48:04 +00:00
Marcelo Matus
cc22c507c2 Fixed previous patch for the case when no file is founded
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-21 20:47:58 +00:00
Matthias Köppe
bb968bc558 Don't qualify member function names twice. (Thanks to John Lenz.)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-21 09:18:10 +00:00
Marcelo Matus
4f969ddf31 Fixed bad test name... uuups
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 22:08:42 +00:00
Dave Beazley
84ab47da4e added runtime support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:49:16 +00:00
Dave Beazley
b5acce8b5f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:41:39 +00:00
Marcelo Matus
183d0b755b Fixed the include/import error reported by Kerim Borchaev
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:37:24 +00:00
Dave Beazley
7d83b3627a Changes to way runtime libraries are built. swig -runtime -lang swigrun.i used to
generate a runtime module.  That module is then linked into a runtime library as
before.

Note:  This is probably only an interim solution for the 1.3.20 release.
The Runtime directory will be cleaned up later.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:25:19 +00:00
Dave Beazley
9e7c2d4282 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:19:47 +00:00
Dave Beazley
1f506188f3 Changed -c to -noruntime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:18:53 +00:00
Dave Beazley
1626a047de Changed -c to -noruntime.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5355 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:14:54 +00:00
Dave Beazley
ceda8b7655 changed -c to -noruntime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 21:14:12 +00:00
Marcelo Matus
04e800b085 Added test for subincluiding files with the same basename, reported by Kerim Borchaev
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 19:56:34 +00:00
Dave Beazley
12882895d3 New option: -runtime
Changed -c option to -noruntime.   -c still works, but a warning is issued.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 03:29:37 +00:00
Dave Beazley
247e8c777a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 03:29:03 +00:00
Dave Beazley
08f8a36e16 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 02:49:12 +00:00
Luigi Ballabio
5e161fa7cd Char and unsigned-char specialization added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-19 08:38:27 +00:00
William S Fulton
2abb47a3fa Update SWIG description from main web page
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:29:41 +00:00
William S Fulton
17fd4ad8d5 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:26:41 +00:00
William S Fulton
6c7e2d7649 'make srcrpm' rpmbuild fix - patch from Joe Cooper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:24:52 +00:00
William S Fulton
b7b24a1e11 contract assertion test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:19:47 +00:00
William S Fulton
151e882462 contract assert macro fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:56:02 +00:00
William S Fulton
92a340a5e0 multiple inheritance fix workaround for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:55:23 +00:00
Dave Beazley
a1cffdb1fd A bit more docs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:45:48 +00:00
William S Fulton
804578107a Contract assert macro added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:39:37 +00:00
William S Fulton
164b304971 Contract assert macro modification to handle void and non-void return types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:38:34 +00:00
William S Fulton
0ba1b6ac18 Java C# multiple inheritance warning removal
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:35:48 +00:00
William S Fulton
31edb1fcbd Contract assert macro added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:31:50 +00:00
Dave Beazley
0b75c636c4 Added Swig_contract_assert
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:58:56 +00:00
William S Fulton
d85b463e0b Common director support functions moved to new file directors.cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5335 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:21:39 +00:00
William S Fulton
4dfa0ed902 extern method declarations moved to header file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:21:15 +00:00
Dave Beazley
43c62cd8e7 OS X refinements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:02:37 +00:00
Matthias Köppe
83fa043178 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 15:56:32 +00:00
Matthias Köppe
0ed1964e8c Change meaning of configure option --with-guile to the name of the
Guile executable.  The new option --with-guile-prefix can be used to
specify the tree where Guile is installed.  (However, usually it
suffices to use the single option --with-guile-config.)  When running
the run tests test-suite, make sure to use the version of Guile that
SWIG was configured for.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 15:55:45 +00:00
Matthias Köppe
f0c73a2a80 Improvements to object-ownership management in
"-scm" mode.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 15:52:49 +00:00
Matthias Köppe
dcdebfd3e0 [Guile] Handle $input in "freearg" typemaps.
Never qualify GOOPS slot names with the class name.
Handle optional arguments properly in the GOOPS methods.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 15:51:52 +00:00
Logan Johnson
40cb2afe0d Added Ruby module runtime support for SWIG_contract_assert() macro.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-17 20:24:13 +00:00
Logan Johnson
28209b817e Added a runtime test case for aggregate.i.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-17 20:22:33 +00:00
William S Fulton
fac1ef0de3 Director fixes for methods returning enums and references contributed by Scott Michel
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-16 17:05:40 +00:00
William S Fulton
21d8d12e0e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-16 17:03:32 +00:00
William S Fulton
de1d3ff178 install was using mkinstalldirs which is being phased out by the autotools (Automake 1.8). As our home grown installation is not done by Automake and thus the use of mkinstalldirs is not detected by Automake, mkinstalldirs is no longer available. install-sh used instead.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-16 16:54:08 +00:00
Dave Beazley
282ccb13f7 Contract cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-14 18:59:25 +00:00
Dave Beazley
32a8e14507 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-14 18:59:02 +00:00
Dave Beazley
5f88de8fe7 Modified contract support (simplified).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-14 18:58:13 +00:00
Dave Beazley
c0072eb5ed Major refactoring of contract code. Modifications include:
- Better parsing support. Contract sections are no longer hard-coded. New
      types of contracts can be added merely be adding an entry to a table.

    - Fixed argument naming problems with inheritance.  For example, if someone
      specified a contract for a base class and a contract for a derived
      class method, but they didn't use the same argument names in the
      contracts.

    - Fixed contracts for static member functions.

    - Reduced the amount of generated code--especially for inheritance.

    - Changed error messages to indicate inheritance hierarchy.

    - Fixed problems with duplicate contract checking code being
      emitted.

    - Reorganized code that collects contracts and deals with inheritance
      to be more generic---no hardcoded contract names or types.

    - Reorganized process by which contracts is collected.

    - Eliminated unimplemented features for release.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-14 18:57:51 +00:00
Dave Beazley
c27b0572ec *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 17:02:30 +00:00
Dave Beazley
4a182a930a Simplified contract API
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 16:59:53 +00:00