Commit graph

146 commits

Author SHA1 Message Date
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
Dustin Mitchell
1c8d6df242 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-21 23:48:09 +00:00
Dustin Mitchell
94d71dce56 Changed strings to recognized backslashified quotes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@140 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-21 22:37:34 +00:00
Dustin Mitchell
fc0b24d2c5 Superstrings are DONE
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-21 22:36:43 +00:00
Dave Beazley
ee6ebfe4ff *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-21 16:50:07 +00:00
Dustin Mitchell
5f3292da44 Got Super_move working; Super_replace does SOME sutff right :)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-21 06:20:12 +00:00
Dave Beazley
4c29e7617e Added types.c file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-21 04:50:24 +00:00
Dustin Mitchell
4ba210ec5f *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-21 03:22:26 +00:00
Dave Beazley
00aa3563d6 Cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-20 20:04:39 +00:00
Dave Beazley
08cf5bc9c2 Added CVS tag
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-20 19:46:38 +00:00
Dave Beazley
369a9b1e53 Fixed some stuff with type identifiers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@132 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-20 19:46:19 +00:00
Dave Beazley
4fb6ae25da *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-20 05:57:15 +00:00
Dave Beazley
0404d4dcde Fixed copy_string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-20 05:53:50 +00:00