Commit graph

2,324 commits

Author SHA1 Message Date
William S Fulton
77b34d3f9d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5325 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-16 17:03:32 +00:00
William S Fulton
75db1979bc 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@5324 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-16 16:54:08 +00:00
Dave Beazley
0d090075b5 Contract cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5323 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-14 18:59:25 +00:00
Dave Beazley
434b502acc new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-14 18:59:02 +00:00
Dave Beazley
617e91dcbc Modified contract support (simplified).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-14 18:58:13 +00:00
Dave Beazley
989ab0db03 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@5320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-14 18:57:51 +00:00
Dave Beazley
71b459a69e *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 17:02:30 +00:00
Dave Beazley
0479fc63c4 Simplified contract API
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 16:59:53 +00:00
Dave Beazley
30fb6dbd69 Simplified contract runtime API. Use SWIG_contract_assert() for all errors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 16:59:11 +00:00
Dave Beazley
a6e4d0e68d Added contract section--in progress.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 04:51:22 +00:00
Dave Beazley
860d85fea2 new test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 04:20:44 +00:00
Dave Beazley
4599e77844 Added %aggregate_check macro.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 04:19:40 +00:00
Dave Beazley
306683fc3c Contract checking now turned on by default. Some other cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 04:17:52 +00:00
Dave Beazley
c17354f4f0 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 00:53:56 +00:00
Logan Johnson
db6a5a9f0b Fixed some errors in the template specialization for std_vector.i on
vectors of "pointer to T".


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 21:24:55 +00:00
William S Fulton
9b25a498ab ricochet exception removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 21:13:04 +00:00
William S Fulton
e0d8b04919 director ricochet removal from Scott Michel and generated director code tidy up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 21:12:30 +00:00
Logan Johnson
5bd18808c0 Ran the chapter-renumbering thing.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 20:46:30 +00:00
Logan Johnson
4b85302cf5 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 20:16:06 +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
afb54a392d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 17:12:46 +00:00
Art Yerkes
47976fda5f Removed useless C_list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 04:33:18 +00:00
Art Yerkes
8eeda58d59 Removed needless C_list.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 04:30:09 +00:00
Dave Beazley
055243d4ee Tcl file loading patch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 21:21:11 +00:00
Dave Beazley
1b607484e2 Tcl patches. Use [info sharedlibextension] to get file extension rather than hard-coding it]
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 21:20:00 +00:00
Dave Beazley
54a11a5f75 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 20:44:32 +00:00
Dave Beazley
8dfabda796 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 20:21:53 +00:00
Dave Beazley
e72fe71056 Enhancement. %include now adds path where files are found to search path during processing.
(The C preprocessor seems to do the same).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 20:18:13 +00:00
Dave Beazley
97c4e44437 Added Swig_push_directory() and Swig_pop_directory()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 20:16:35 +00:00
Dave Beazley
3b0b37f616 Added functions to support preprocessor enhancement.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5296 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 20:16:11 +00:00
Dave Beazley
87395bd2f3 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 18:55:15 +00:00
Dave Beazley
fcf22b7134 Optional use of -no-undefined option to libtool.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 18:52:11 +00:00
Dave Beazley
9c09209fed Use glibtoolize on Mac OSX
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 18:51:43 +00:00
Dave Beazley
748d700263 Configuration changes for OS-X. Including:
-  Disable use of static libraries in libtool
    -  Setting of different file suffixes for different languages (.so, .bundle, .dylib, etc.).
    -  Optional setting of -no-undefined option to libtool.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 18:51:16 +00:00
Art Yerkes
c760caa0f2 Missing assert.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 23:47:46 +00:00
William S Fulton
c7d78b6c13 Minor tweaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 22:34:35 +00:00
William S Fulton
b204646590 added check that pure virtual method is handled by throwing an exception if Java derived class does not provide an implementation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 22:33:17 +00:00
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
Luigi Ballabio
fd6ff5aef9 Detection of Python library in installed macros (which probably should be synchronized with those used in configure.in)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 15:34:08 +00:00
Dave Beazley
0c5e8e7b3e Fixed int *
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 15:00:23 +00:00
Dave Beazley
f64aacc6ba OS-X Changes (Python/Tcl)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 03:56:09 +00:00
Dave Beazley
f01d74cc18 Changes to get OS-X working (Python/Tcl).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 03:55:37 +00:00
Dave Beazley
99739721ba SafeInit function added.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 03:51:12 +00:00
Dave Beazley
3e84a13891 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5282 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 03:50:49 +00:00
Dave Beazley
66041e6db0 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 03:07:20 +00:00
William S Fulton
15cd29062f redundant script as autogen.sh works on debian
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 22:04:04 +00:00
William S Fulton
15a7c686df Java specific test to test the various.i typemap library.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 21:02:37 +00:00
William S Fulton
3c4c47cbea Big overhaul. Most of these typemaps were broken. Fixed some and removed some.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 20:59:07 +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
d725be7f9e Warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 11:16:53 +00:00