Commit graph

61 commits

Author SHA1 Message Date
Dave Beazley
1e17d49b13 Added -includeall option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-16 15:38:43 +00:00
Dave Beazley
ae725e9727 Eliminated annoying C++ warnings for Workshop 5.0 compiler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 21:52:37 +00:00
Dave Beazley
9c8b02da28 Minor fixes and cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 03:23:47 +00:00
Dave Beazley
f53d1ac7b3 Removed warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 03:20:53 +00:00
Dave Beazley
6cedb80c06 Removed annoying warnings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-15 03:15:58 +00:00
Thien-Thi Nguyen
3a9a8b4304 (SWIG_main): Add informative output when `Verbose' non-zero.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 19:06:18 +00:00
Thien-Thi Nguyen
d129078024 (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@416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-12 11:48:41 +00:00
Thien-Thi Nguyen
812078fadb (PARSER): Prefix w/ `$(srcdir)/'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-12 08:04:53 +00:00
Dave Beazley
f07a08e5c9 Fixed maxsize problem in string constructor.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 02:46:27 +00:00
Dave Beazley
3660903461 Fixed Makefile problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-04 15:16:10 +00:00
Dave Beazley
ce13fcd88a Fixed bizarre parsing problem related to typenames.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@349 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-21 05:52:59 +00:00
Thien-Thi Nguyen
9d5fea5382 (INCLUDE): Also include . in build dir.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-03 23:17:17 +00:00
Thien-Thi Nguyen
9b74f4cbd7 (INCLUDE): Also include ../Include build dir.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-03 23:07:39 +00:00
Dave Beazley
9052774a2f Removed 'mutable'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 21:03:57 +00:00
Dave Beazley
b8cf4fefa6 Oops.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@289 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 18:23:39 +00:00
Dave Beazley
78eee44879 Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@288 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 17:19:55 +00:00
Dave Beazley
77cb823ab6 Slash, burn, crash, crumble. Don't mind me.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-27 03:47:17 +00:00
Thien-Thi Nguyen
366660042c {Changes to enable non-local build}
(srcdir, VPATH): New vars.  Use where appropriate.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-26 05:06:40 +00:00
Dave Beazley
6e9b60f078 Python Improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-22 20:49:38 +00:00
Dave Beazley
01ab2bc6ec bugfix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-15 19:33:19 +00:00
Thien-Thi Nguyen
575a367f2b (Verbose): New extern var.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-12 06:57:14 +00:00
Thien-Thi Nguyen
e4f2a35328 (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@236 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-12 06:55:38 +00:00
Thien-Thi Nguyen
e0957d51e2 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@235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-12 02:21:22 +00:00
Dave Beazley
caedf61f94 Added __STDC__ definition.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@232 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 21:45:30 +00:00
Dave Beazley
a23f1a1285 Added $ndim variable to typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 19:48:39 +00:00
Dave Beazley
38c205e4bc Slight change to type-table code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@215 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 22:09:55 +00:00
Dave Beazley
34ed03f10b Removed the documentation system. A lot of cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 19:41:28 +00:00
Dave Beazley
4cd75eeece A bunch of cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@206 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 04:22:50 +00:00
Dave Beazley
80a13e97db Fixed problem with preprocessor directives embedded inside an %inline directive.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 04:26:52 +00:00
Dave Beazley
75e5f3aefe Back to simple makefiles (at least for now)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@171 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-01 22:24:39 +00:00
Dave Beazley
ec918ed434 Oops
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-01 17:44:06 +00:00
Loic Dachary
dec379b314 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@169 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-30 15:39:55 +00:00
Dave Beazley
653770f984 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@166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-29 14:44:27 +00:00
Loic Dachary
5be3d9e104 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@164 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-29 01:06:10 +00:00
Dave Beazley
8b05c332be 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@159 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-28 16:59:11 +00:00
Dustin Mitchell
4d6f8c3326 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@148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-24 22:43:13 +00:00
Dave Beazley
fc2fb1ff98 Major cleanup of comments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-20 05:45:58 +00:00
Dave Beazley
abaa7efc19 Added check for file not found.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@107 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-19 00:02:05 +00:00
Dave Beazley
4dda9f6ce3 Renaming
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-18 21:54:05 +00:00
Dave Beazley
3dfb1aba02 Fixed core
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-18 20:31:27 +00:00
Dave Beazley
21b50a6907 Fixed string_replace method.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@89 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 20:42:42 +00:00
Dave Beazley
0ef837e199 Added -freeze option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@82 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 16:43:01 +00:00
Loic Dachary
ab8fcc0990 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@79 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 16:23:52 +00:00
Dave Beazley
42c7e28414 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@78 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 15:52:11 +00:00
Dave Beazley
3a8e3470d1 Stupid mistake. Duh.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@77 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 15:51:39 +00:00
Loic Dachary
f96f0170f2 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@76 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-13 15:13:59 +00:00
Dave Beazley
a6dd49b378 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@73 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-12 23:49:22 +00:00
Dustin Mitchell
640a0bb9c1 More work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@72 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-12 23:48:45 +00:00
Dave Beazley
99b646f6b3 Added Java
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@64 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-12 17:33:21 +00:00
Dave Beazley
4d3a4bd55c Minor cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@60 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-12 05:04:29 +00:00