Dave Beazley
8bf5a4f86a
Some cleanup related to string handling.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-29 04:05:55 +00:00
Dave Beazley
190382207b
Replaced the C++ String class with a wrapper around DOHString. Eliminated
...
the automatic conversion of String --> char * at the risk of breaking the
universe (although I think I have fixed everything). This change made the wrapper
modules a lot more ugly, but it's now a lot more obvious as to what is a
String and what is a char * which will be useful when I get around to patching
up all of the interfaces and objects.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-28 03:32:58 +00:00
Dave Beazley
243ef9cfee
Lot's of cleanup. Removed some more source files. Migrated more functionality to C.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-18 20:34:21 +00:00
Dave Beazley
8e0010c43a
Cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-18 16:24:55 +00:00
Dave Beazley
9c408044f3
Added -includeall option.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 15:38:43 +00:00
Dave Beazley
1819ba7bda
Eliminated annoying C++ warnings for Workshop 5.0 compiler
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 21:52:37 +00:00
Dave Beazley
64ddf38c9a
Minor fixes and cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 03:23:47 +00:00
Dave Beazley
1d28f29584
Removed warnings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 03:20:53 +00:00
Dave Beazley
91f29912f9
Removed annoying warnings.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 03:15:58 +00:00
Thien-Thi Nguyen
33ed353b15
(SWIG_main): Add informative output when `Verbose' non-zero.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 19:06:18 +00:00
Thien-Thi Nguyen
c4605854d5
(String &operator<<, String &operator>>): Declare source
...
argument const for these funcs to silence compiler warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-12 11:48:41 +00:00
Thien-Thi Nguyen
40f4e7b461
(PARSER): Prefix w/ `$(srcdir)/'.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-12 08:04:53 +00:00
Dave Beazley
4e3745e362
Fixed maxsize problem in string constructor.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 02:46:27 +00:00
Dave Beazley
d3a396b1d1
Fixed Makefile problem
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-04 15:16:10 +00:00
Dave Beazley
3a3f006de7
Fixed bizarre parsing problem related to typenames.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-21 05:52:59 +00:00
Thien-Thi Nguyen
c7112656b8
(INCLUDE): Also include . in build dir.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-03 23:17:17 +00:00
Thien-Thi Nguyen
95035a8431
(INCLUDE): Also include ../Include build dir.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-03 23:07:39 +00:00
Dave Beazley
c7e8faee1a
Removed 'mutable'.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 21:03:57 +00:00
Dave Beazley
b1f0a87a70
Oops.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 18:23:39 +00:00
Dave Beazley
afe54acdf9
Cleanup
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 17:19:55 +00:00
Dave Beazley
5ea3f52041
Slash, burn, crash, crumble. Don't mind me.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-27 03:47:17 +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
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
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
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
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
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
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
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
3b3e6fdb20
Fixed problem with preprocessor directives embedded inside an %inline directive.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 04:26:52 +00:00
Dave Beazley
936f046d5b
Back to simple makefiles (at least for now)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@171 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-01 22:24:39 +00:00
Dave Beazley
70d076b41c
Oops
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-01 17:44:06 +00:00
Loic Dachary
8a34196fc6
Conditionaly compile experimental code with --enable-experiment
...
configure flag.
Fix .cvsignore to ignore configrue & yacc generated files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@169 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-30 15:39:55 +00:00
Dave Beazley
c85c99425c
Cleaned up the makefiles, fixed a few build problems, removed YACC-generated files from the repository
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-29 14:44:27 +00:00
Loic Dachary
d0ab9150f3
1/28/00 : loic
...
Apply automake everywhere
Keep configure scripts so that people are not *forced* to autoconf
Keep sources generated by yacc so that compilation without yacc
is possible.
Source/LParse/cscanner.c: change lyacc.h into parser.h to please
default yacc generation rules.
Use AC_CONFIG_SUBDIRS in configure.in instead of hand made script.
Update all relevant .cvsignore to include .deps
Fixed missing ; line 136 Source/Swig/swig.h
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@164 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-29 01:06:10 +00:00
Dave Beazley
64739860c3
Fixed weird code generation problem with enum types defined inside
...
of class definitions. Reported by Kevin Jacobs (1/25/00).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-28 16:59:11 +00:00
Dustin Mitchell
d2c40e1b17
Big changes. The makefiles now recurse correctly, and targets (e.g.
...
experiment, swim, swig, pymod, etc.) are passed along to sub-makes
correctly. Also, a mechanism has been devised to avoid the use of *.o
in the toplevel Makefile, as it was linking files which were not intended
for use in the final executable.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-24 22:43:13 +00:00
Dave Beazley
d72c7beb9d
Major cleanup of comments
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-20 05:45:58 +00:00
Dave Beazley
d92f978e61
Added check for file not found.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-19 00:02:05 +00:00
Dave Beazley
67940725e8
Renaming
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-18 21:54:05 +00:00
Dave Beazley
230231d91f
Fixed core
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-18 20:31:27 +00:00
Dave Beazley
caaeb3d508
Fixed string_replace method.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@89 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 20:42:42 +00:00
Dave Beazley
debf258415
Added -freeze option.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@82 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 16:43:01 +00:00
Loic Dachary
cb441954cf
Added .cvsignore, Examples/.cvsignore, Source/DOH/Doh/.cvsignore
...
Source/SWIG1.1/main.cxx: Fixed -I handling bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@79 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 16:23:52 +00:00
Dave Beazley
5721b8d38e
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@78 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 15:52:11 +00:00
Dave Beazley
59f1e8a6e4
Stupid mistake. Duh.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@77 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 15:51:39 +00:00
Loic Dachary
bcf1395567
Source/Modules1.1/java.cxx: fixed char* -> const char* warnings that are
...
errors when compiling with gcc-2.95.2
Source/SWIG1.1/main.cxx: cast const char* to char* for String_replace
token and rep should really be const.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@76 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 15:13:59 +00:00