Commit graph

658 commits

Author SHA1 Message Date
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
2768452a27 Fixed sneaky whitespace problem in preprocessor.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@231 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 21:29:37 +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
e52a46d271 Minor fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@228 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 19:48:20 +00:00
Dave Beazley
59a1fe6847 Minor bug fixes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@226 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-11 19:47:56 +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
9c0653c9b7 Slight change to type-handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 22:09:43 +00:00
Dave Beazley
9ac20f4190 Fixed some problems with constants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@213 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 22:09:31 +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
890e6f131c Minor cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-10 15:06:19 +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
cad299389b Completed Tcl global variable linking.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@202 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-08 23:03:16 +00:00
Dave Beazley
f09c6b0d37 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@196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 17:20:57 +00:00
Dave Beazley
e48b0c0d5b Minor fixes to type handling.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@193 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-04 05:26:38 +00:00
Dave Beazley
44ff6db365 Fixed so that setting an attribute to a NULL object has no effect.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@190 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-03 18:01:51 +00:00
Dave Beazley
bb957862f9 Fixed so that setting an index to a NULL object has no effect.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@189 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-03 18:01:31 +00:00
Dave Beazley
6ac18b4b64 Work on Tcl global variable support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@187 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 23:36:49 +00:00
Dustin Mitchell
1dc18b6b2e Bitten by order of operations! The ? operator has weird precedence
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 18:55:57 +00:00
Dave Beazley
50593ab737 Fixed slight bug with type-checker in Python module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@184 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 16:43:13 +00:00
Dave Beazley
1922afaccd Commented out broken code with ? operations.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@183 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 16:39:16 +00:00
Dave Beazley
2d6e071d20 Performance enhancements to Python module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 07:02:42 +00:00
Dave Beazley
078fffaada Minor changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@178 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 04:36:31 +00:00
Dave Beazley
b8bc77dd3e Oops. Reverted operation of the preprocessor back to normal SWIG1.1 behavior.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@176 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 04:30:08 +00:00
Dave Beazley
b6caf1fb9f Upgraded to use new pointer type-checking scheme.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 04:28:54 +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
9a10bfd7aa Adjusted the version number to 1.3a1.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@173 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 03:42:33 +00:00
Dustin Mitchell
8bc76aac17 Finished the type interface (type.c)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@172 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 00:22:44 +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
43b47f87e0 Added no-dependencies to AUTOMAKE_OPTIONS.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@168 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-29 16:04:23 +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
69190c00ac Old Makefile.in saved in Makefile.in.python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-29 01:09:17 +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
Dustin Mitchell
ef3ebccfa3 Types are implemented fully, but the interface is only constructors and the 'str' function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-28 23:30:08 +00:00
Dave Beazley
8266b8e9e2 Restored the DOH load method because it is a reserved interface to implement object serialization in the future.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@162 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-28 18:00:59 +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
b64cde24a6 Skeleton of the new types system is in place and compiles
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-28 07:21:38 +00:00
Dustin Mitchell
2a7ede9210 .cvsignore update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@157 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-28 02:02:24 +00:00
Dustin Mitchell
0a8914fc05 Beginnings of an implementation of a type object
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-27 23:47:40 +00:00
Dustin Mitchell
5e32168080 Removed 'Load' from all of the objects, as it was not being used.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@155 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-27 22:07:22 +00:00
Dustin Mitchell
e9a56ae83d Not sure what 'signature' is .. it's gone now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@154 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-27 01:25:26 +00:00
Dustin Mitchell
61d761ece1 Added a typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-25 00:31:15 +00:00
Dustin Mitchell
07dd64849d Slight improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-25 00:26:53 +00:00
Dustin Mitchell
a1f0c44b4d Even more progress on the DOH Python type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-25 00:20:28 +00:00
Dustin Mitchell
fc9aecda5e Cosmetic
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-24 23:37:48 +00:00
Dustin Mitchell
a41d5a1740 A few last-minute changes to the previous commit :)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@149 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-24 22:49:47 +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
Dustin Mitchell
174a4fac2e More work on the Python interface
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-24 05:31:51 +00:00
Dustin Mitchell
8d45fab2af Added lots to the interface file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-22 23:53:07 +00:00