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
Dave Beazley
cac9367daf
Simplified contract runtime API. Use SWIG_contract_assert() for all errors.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 16:59:11 +00:00
Dave Beazley
7a652825fb
Added contract section--in progress.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5316 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 04:51:22 +00:00
Dave Beazley
908eb5d7c3
new test
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5315 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 04:20:44 +00:00
Dave Beazley
3fbbc63ecc
Added %aggregate_check macro.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5314 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 04:19:40 +00:00
Dave Beazley
72f738909e
Contract checking now turned on by default. Some other cleanup.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5313 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 04:17:52 +00:00
Dave Beazley
a649c7237c
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5312 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-13 00:53:56 +00:00
Logan Johnson
5d9a1c2480
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/SWIG@5311 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 21:24:55 +00:00
William S Fulton
dbda95ae34
ricochet exception removed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5310 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 21:13:04 +00:00
William S Fulton
d775051aff
director ricochet removal from Scott Michel and generated director code tidy up
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 21:12:30 +00:00
Logan Johnson
dc02c4655c
Ran the chapter-renumbering thing.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5308 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 20:46:30 +00:00
Logan Johnson
ffdac1fcc4
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 20:16:06 +00:00
Dave Beazley
2539fdc5fc
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/SWIG@5306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 17:14:00 +00:00
Dave Beazley
dc9735b790
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 17:12:46 +00:00
Art Yerkes
314a5fc85e
Removed useless C_list.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5304 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 04:33:18 +00:00
Art Yerkes
71ce7cb69a
Removed needless C_list.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5303 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-12 04:30:09 +00:00
Dave Beazley
b19e234375
Tcl file loading patch.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 21:21:11 +00:00
Dave Beazley
f50eac41ce
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/SWIG@5301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 21:20:00 +00:00
Dave Beazley
445625dc0a
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 20:44:32 +00:00
Dave Beazley
ccc7d9d432
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 20:21:53 +00:00
Dave Beazley
2a4ba4e427
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/SWIG@5298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 20:18:13 +00:00
Dave Beazley
d1345878e1
Added Swig_push_directory() and Swig_pop_directory()
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 20:16:35 +00:00
Dave Beazley
114a8edfbb
Added functions to support preprocessor enhancement.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5296 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 20:16:11 +00:00
Dave Beazley
3832afcb38
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 18:55:15 +00:00
Dave Beazley
48ff6576ed
Optional use of -no-undefined option to libtool.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5294 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 18:52:11 +00:00
Dave Beazley
814eeca449
Use glibtoolize on Mac OSX
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5293 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 18:51:43 +00:00
Dave Beazley
f64d0ebcce
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/SWIG@5292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-11 18:51:16 +00:00
Art Yerkes
1663433c96
Missing assert.h
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5291 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 23:47:46 +00:00
William S Fulton
5d9d8af093
Minor tweaks
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 22:34:35 +00:00
William S Fulton
c1fa548d3d
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/SWIG@5289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 22:33:17 +00:00
William S Fulton
4536730c5a
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/SWIG@5288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 22:26:36 +00:00
Luigi Ballabio
eee5c48929
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/SWIG@5287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 15:34:08 +00:00
Dave Beazley
0240db66d9
Fixed int *
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 15:00:23 +00:00
Dave Beazley
15caec7087
OS-X Changes (Python/Tcl)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5285 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 03:56:09 +00:00
Dave Beazley
a5e8fea1cd
Changes to get OS-X working (Python/Tcl).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5284 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 03:55:37 +00:00
Dave Beazley
44e5b13549
SafeInit function added.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5283 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 03:51:12 +00:00
Dave Beazley
516b3a4189
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5282 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 03:50:49 +00:00
Dave Beazley
95d9cc91b5
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-09 03:07:20 +00:00
William S Fulton
7278185f30
redundant script as autogen.sh works on debian
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5280 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 22:04:04 +00:00
William S Fulton
3a6d631b08
Java specific test to test the various.i typemap library.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 21:02:37 +00:00
William S Fulton
4b317678e5
Big overhaul. Most of these typemaps were broken. Fixed some and removed some.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5278 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 20:59:07 +00:00
William S Fulton
227a79d890
JNI descriptor attribute in directorin typemap called descriptor instead of parse now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5277 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 11:20:07 +00:00
William S Fulton
d415bfe00c
Warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-08 11:16:53 +00:00