Commit graph

2,352 commits

Author SHA1 Message Date
Marcelo Matus
8d1ccabff4 Added test for subincluiding files with the same basename, reported by Kerim Borchaev
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5353 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 19:56:34 +00:00
Dave Beazley
8f8e9107c1 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@5352 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 03:29:37 +00:00
Dave Beazley
2cd851a489 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 03:29:03 +00:00
Dave Beazley
2e313b48b0 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 02:49:12 +00:00
William S Fulton
b4586b6b4d Added Luigi's experience of aclocal problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-19 21:30:25 +00:00
Luigi Ballabio
09ec4edb93 Char and unsigned-char specialization added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-19 08:38:27 +00:00
William S Fulton
3df883b1e5 Update SWIG description from main web page
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:29:41 +00:00
William S Fulton
854a54e699 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5346 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:26:41 +00:00
William S Fulton
2266b721c1 'make srcrpm' rpmbuild fix - patch from Joe Cooper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5345 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:24:52 +00:00
William S Fulton
a7ae5a021e contract assertion test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 23:19:47 +00:00
William S Fulton
7940ccaee8 contract assert macro fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5343 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:56:02 +00:00
William S Fulton
f32aca08f1 multiple inheritance fix workaround for C#
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:55:23 +00:00
Dave Beazley
2e79282dab A bit more docs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:45:48 +00:00
William S Fulton
da246698a3 Contract assert macro added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:39:37 +00:00
William S Fulton
8d7f52dfc6 Contract assert macro modification to handle void and non-void return types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:38:34 +00:00
William S Fulton
5cd23c3e50 Java C# multiple inheritance warning removal
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5338 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:35:48 +00:00
William S Fulton
329bd4f1c4 Contract assert macro added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5337 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 22:31:50 +00:00
Dave Beazley
ccb09ea355 Added Swig_contract_assert
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5336 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:58:56 +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
William S Fulton
3772663815 extern method declarations moved to header file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:21:15 +00:00
Dave Beazley
7b14be5fc0 OS X refinements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 20:02:37 +00:00
Matthias Köppe
73721fda7c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 15:56:32 +00:00
Matthias Köppe
b4ae6e5567 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@5331 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 15:55:45 +00:00
Matthias Köppe
dda57d7224 Improvements to object-ownership management in
"-scm" mode.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5330 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 15:52:49 +00:00
Matthias Köppe
7b581cb88a [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@5329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-18 15:51:52 +00:00
Logan Johnson
edf8fc96ce Added Ruby module runtime support for SWIG_contract_assert() macro.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-17 20:24:13 +00:00
Logan Johnson
0ad9f49652 Added a runtime test case for aggregate.i.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5327 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-17 20:22:33 +00:00
William S Fulton
cffc4ed31a Director fixes for methods returning enums and references contributed by Scott Michel
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5326 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-16 17:05:40 +00:00
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