Commit graph

74 commits

Author SHA1 Message Date
Dave Beazley
210f8b7449 Fixed bug in constructor emit function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 23:11:50 +00:00
Dave Beazley
22531698e5 Fixed problem in enum parsing.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@561 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 22:52:29 +00:00
Dave Beazley
d56f8f02f1 Fixed parsing of character constants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 22:52:19 +00:00
Dave Beazley
b28184a0b7 Fixed Printv problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 22:29:52 +00:00
Dave Beazley
6242ed773b Removed the WrapperFunction class entirely. Everything uses the C version.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 21:52:58 +00:00
Dave Beazley
e791008720 Modified the WrapperFunction class. Fixed various bugs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 16:46:18 +00:00
Dave Beazley
d9535328a1 C++ String class and all operator overloading removed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 03:11:24 +00:00
Dave Beazley
64ffd61547 Removed Strings from Python module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 19:15:25 +00:00
Dave Beazley
bfab30a055 Major slash and burn. Virtually all of the 1.1 core has been divorced from the C++ String class and migrated to DOHString instead.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-09 01:04:29 +00:00
Dave Beazley
4abe7afe58 Some cleanup related to string handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-29 04:05:55 +00:00
Dave Beazley
1368c716af 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@504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-28 03:32:58 +00:00
Dave Beazley
4068ffc0f9 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@494 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-18 20:34:21 +00:00
Dave Beazley
4c655e9282 Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-18 16:24:55 +00:00
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