Commit graph

191 commits

Author SHA1 Message Date
Dave Beazley
88cfd0b455 Removed dependence on SWIG1.1/symbol.cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-26 21:45:59 +00:00
Dave Beazley
ae7fb643c2 Slight tweak to parse() method.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@275 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-26 20:35:55 +00:00
Dave Beazley
a3a86ae6ef Added SWIG1.3 to include search path
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-26 20:19:56 +00:00
Dave Beazley
79a4bd4509 Modified language modules to include mod11.h instead of swig11.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@272 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-26 20:19:34 +00:00
Dave Beazley
ed291c808f Fixed performance problem with setscope.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@271 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-26 15:56:01 +00:00
Dave Beazley
0abaadfa62 Fixed major performance problem with setscope.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@270 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-26 15:55:52 +00:00
Thien-Thi Nguyen
66b260c1ff {Changes to enable non-local build}
(srcdir, VPATH): New vars.  Use where appropriate.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-26 05:06:40 +00:00
Dave Beazley
9823bcf2a6 Constified a bunch of stuff.... it was bound to happen anyway.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@263 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-26 04:34:05 +00:00
Dave Beazley
a04d5c74a4 Added tree.c
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-25 00:20:04 +00:00
Thien-Thi Nguyen
b0cc2a423f (NewString): Declare arg const.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-25 00:04:55 +00:00
Dave Beazley
6c5d7905a6 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-24 23:18:30 +00:00
Dave Beazley
67bc670e1c *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@259 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-24 20:48:38 +00:00
Thien-Thi Nguyen
647534bdd5 {Incorporate support contributed by Clark McGrew.}
(guile_usage): Include new options "-module", "-prefix" and "-package".

(GUILE::GUILE): Move definition here from header file.
Init new data members.

(GUILE::parse_args): Handle new options.

(GUILE::set_init): Abort when called, for now.

(GUILE::initialize): Don't define `SWIG_init' in output.
Use computed function name directly.

(GUILE::close): Output module registration.

(GUILE::get_pointer): Use `f.code' instead of `f_wrappers'.

(GUILE::create_function): Large rewrite.

(GUILE::link_variable): Look for type `T_CHAR'
instead of status `STAT_READONLY'.

(GUILE::declare_const): Check typemap first.

(GUILE::usage_func, GUILE::usage_var, GUILE::usage_returns,
GUILE::usage_const): Rewrite.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-24 18:44:03 +00:00
Thien-Thi Nguyen
6fb29ecbfb {Incorporate support contributed by Clark McGrew.}
(prefix, package): New data members.
(get_pointer): Take additional arg `WrapperFunction&'.
(usage_var, usage_func, usage_const): Last arg now `String&'.
(usage_returns): New func.

(GUILE): Move definition into guile.cxx.
(parse_args, parse, create_function, link_variable,
declare_const, initialize, headers, close, set_module,
set_init, create_command): Don't declare these virtual.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-24 18:24:07 +00:00
Dave Beazley
ae558de1c9 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-24 15:51:24 +00:00
Dave Beazley
1270ab0e4d Added typemaps/C++ back in.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@254 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-23 23:54:44 +00:00
Dave Beazley
a3ac9bf439 Bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-23 05:57:23 +00:00
Dave Beazley
8957904f03 Major reworking
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@252 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-23 05:56:10 +00:00
Dave Beazley
32c8fdf0c5 Fixed particularly sneaky bug in Hash_setattr() when an existing hash table item
is set to a new value (the old value was improperly deleted in certain cases).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@251 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-23 05:48:03 +00:00
Dave Beazley
eb2a42a9be Added another experimental type implementation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-22 20:51:33 +00:00
Dave Beazley
916e2bc74b Python Improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-22 20:49:38 +00:00
Dave Beazley
5b3a1cc14d Minor improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@248 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-22 20:46:54 +00:00
Dave Beazley
3da89a99df Performance
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@247 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-16 17:59:37 +00:00
Dave Beazley
093f7b7e39 More performance improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-16 17:55:33 +00:00
Dave Beazley
01dd22eb55 Bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@245 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-16 17:54:01 +00:00
Dave Beazley
1ee134c656 Another stupid bug.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@242 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-15 23:06:38 +00:00
Dave Beazley
f9f524fa8b Bogus fix.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-15 22:36:42 +00:00
Dave Beazley
3880d130bc Bug fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-15 19:34:09 +00:00
Dave Beazley
e916a70543 bugfix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-15 19:33:19 +00:00
Dave Beazley
c8f173444d Optimizations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-15 19:32:45 +00:00
Thien-Thi Nguyen
d4660dd6d4 (Verbose): New extern var.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-12 06:57:14 +00:00
Thien-Thi Nguyen
0b5ef890df (Verbose): New global var. This used to be an automatic var in
function `SWIG_main', but was deleted (w/o deleting "-v" parsing).

(SWIG_main): Set `Verbose' during option parsing.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-12 06:55:38 +00:00
Thien-Thi Nguyen
ad673e14e5 VERSION, Source/Include/swigver.h.in: New files.
Source/Include/swigver.h: Deleted from repo, now generated by
configure from swigver.h.in same directory.

configure.in: Source ./VERSION to get var definitions.
(PACKAGE, VERSION, SWIG_VERSION, SWIG_SPIN): New vars, @-substituted.
Also do `AC_OUTPUT' on Source/Include/swigver.h.

Makefile.in (dd): New var, the distribution directory.
(dist, dist-suggested): New targets.

Source/SWIG1.1/emit.cxx (emit_banner): Use `SWIG_VERSION' instead
of integers `SWIG_VERSION_MAJOR' and `SWIG_VERSION_MINOR' (which are
deleted).

Source/SWIG1.1/main.cxx (SWIG_main): Likewise.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-12 02:21:22 +00:00
Dave Beazley
01dc5b60d0 Added __STDC__ definition.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 21:45:30 +00:00
Dave Beazley
b0f9608615 Fixed sneaky whitespace problem in preprocessor.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@231 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 21:29:37 +00:00
Dave Beazley
38d5c1a7aa Added $ndim variable to typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 19:48:39 +00:00
Dave Beazley
09e555856a Minor fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@228 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 19:48:20 +00:00
Dave Beazley
7613594cd9 Minor bug fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@226 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 19:47:56 +00:00
Dave Beazley
db80594ed7 Slight change to type-table code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@215 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 22:09:55 +00:00
Dave Beazley
6252cd1103 Slight change to type-handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 22:09:43 +00:00
Dave Beazley
9948d8f667 Fixed some problems with constants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 22:09:31 +00:00
Dave Beazley
7c549890f1 Removed the documentation system. A lot of cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 19:41:28 +00:00
Dave Beazley
38c2518d77 Minor cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 15:06:19 +00:00
Dave Beazley
e9cd55b7b8 A bunch of cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@206 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 04:22:50 +00:00
Dave Beazley
e6503a9f19 Completed Tcl global variable linking.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-08 23:03:16 +00:00
Dave Beazley
df5e523581 Changed code-generation for constants to use a table instead of repeated function
calls in the initialization function.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 17:20:57 +00:00
Dave Beazley
a3e279d7d4 Minor fixes to type handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 05:26:38 +00:00
Dave Beazley
c7a8003514 Fixed so that setting an attribute to a NULL object has no effect.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-03 18:01:51 +00:00
Dave Beazley
3b43574d14 Fixed so that setting an index to a NULL object has no effect.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-03 18:01:31 +00:00
Dave Beazley
04ea7149f6 Work on Tcl global variable support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 23:36:49 +00:00