Commit graph

4,279 commits

Author SHA1 Message Date
Marcelo Matus
eef3f9169d fix example max macro/template and external max macro conflicts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:35:38 +00:00
Marcelo Matus
285ecebd14 Add -nocppcast. Now the default is to use the cppcast operator. If this seems to break your code... your welcome\!, it means it was broken before and you never notice. Use -nocppcast only for very old C++ compilers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:34:04 +00:00
Kevin Ruland
3083a9fe90 Removed the -xmlout from swig.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 15:50:50 +00:00
Surendra Singhi
e9e0e0bb51 Added links to Lisp and Lua support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:34:05 +00:00
Surendra Singhi
43dca699e1 Initial revision. Something about UFFI and AllegroCL, has to be written.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:33:09 +00:00
Surendra Singhi
34e19845db Update my personal info.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:27:26 +00:00
Surendra Singhi
7d6a223b7d Changed the chapter number from 30 to 31.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:27:12 +00:00
Surendra Singhi
8aa2c9d0d3 Added chapter for Common Lisp.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:26:35 +00:00
William S Fulton
f54eeee5f3 unsigned long long director fixes (bug 1238798)
Also missing cvs commit for director fixes for SWIGTYPE


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 22:07:44 +00:00
Marcelo Matus
485ee19139 add missing directorin typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 14:38:46 +00:00
Marcelo Matus
be51f8389d add missing directorin typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 14:36:57 +00:00
William S Fulton
dec7f07eb1 jweak cast fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-13 21:03:01 +00:00
William S Fulton
5b2e9e54ca test directors with classes passed by value, ref and pointer
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-13 21:02:21 +00:00
Marcelo Matus
cc61850448 avoid swig_types of length 0, and allow to iterate over the array, for Lua mainly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 23:25:03 +00:00
William S Fulton
be0ceeaeb5 Attempt to detect if Lua is configured for dynamic library loading. Not quite working yet though.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 22:48:14 +00:00
William S Fulton
ef0eb857fd Lua fixes to work on Unix as well as windows.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 22:14:37 +00:00
William S Fulton
e8c4b5d45f make the php test suite consistent with the other languages, there is no need to generate an 'ok' message.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 22:13:34 +00:00
William S Fulton
8540ea2785 patch 1272995 from Charlie Savage - more disown support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 22:12:56 +00:00
William S Fulton
a586874114 fixes for problems reported by htmldoc and tidy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 20:00:39 +00:00
Marcelo Matus
635677c450 add module option to import
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 19:31:23 +00:00
Marcelo Matus
1c6a2a2cfb fix incomplete module name replacement when using the -module flag #1282637
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 18:20:13 +00:00
Marcelo Matus
2557f80bba fix incomplete module name replacement when using the -module flag #1282637
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 17:53:20 +00:00
William S Fulton
bd470c2e61 Patch from Charles Savage:
Adding a new Memory Management section at the end.
This section discusses memory management issues,
including the use of %newobject, the DISOWN type map,
Ruby's mark and sweep garbage collector, etc. I also
ran a spell-check on the file and updated the table of
contents.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 00:45:36 +00:00
William S Fulton
538f428a3d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:46:51 +00:00
William S Fulton
b939d0ed91 Remove attached typemaps after a variable set wrapper has been generated so that the get method doesn't pick up any incorrect typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:40:11 +00:00
William S Fulton
ee4450aaf2 function comments added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:37:56 +00:00
Marcelo Matus
31a8148e51 cosmetic and docs changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:28:36 +00:00
Marcelo Matus
1a359fc4e5 update docs about private/protected class/members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 21:12:35 +00:00
Marcelo Matus
0401d64483 fix clientdata initialization, error detected when converter is null (protected classes)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 20:16:38 +00:00
Marcelo Matus
b5a727512f add char* string test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-09 17:58:43 +00:00
William S Fulton
1a6353e109 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:37:43 +00:00
William S Fulton
61a8b9caaf minor typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:35:37 +00:00
William S Fulton
bed81d66d3 Better error message displayed when file cannot be opened
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:31:21 +00:00
Kevin Ruland
c5fa9623b8 Added a fourth argument (flags) to all calls to SWIG_ConvertPtr.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 02:06:22 +00:00
Kevin Ruland
62149bec4f Added typemap for SWIGTYPE *DISOWN.
Changed all the calls to SWIG_ConvertPtr to pass a fourth argument of 0.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 02:06:03 +00:00
Kevin Ruland
67ed60fb18 Removed the old cptr mangling method SWIG_ConvertPtr_.
Added support for DISOWN typemaps by adding a flag to SWIG_ConvertPtr.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 02:04:55 +00:00
Kevin Ruland
26a672120c Removed the mangled name test. Names are mangled differently and are not
available to php.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 01:57:32 +00:00
Kevin Ruland
595ecd02ea Simple example of DISOWN typemap working correctly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 01:56:03 +00:00
Marcelo Matus
7887e42df5 fix minor warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-06 09:02:54 +00:00
Marcelo Matus
62443ddff2 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-06 07:57:37 +00:00
Marcelo Matus
fb3ad6528b allow to use %define inside a %define macro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-06 07:33:17 +00:00
Marcelo Matus
f2355fc45b adding test for binary buffer
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-06 06:31:25 +00:00
Marcelo Matus
c1416a59a5 normalize cstring.i to use fragments, and add cwstring.i as a subproduct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-06 06:22:10 +00:00
William S Fulton
549a51eef2 Fully qualify System.Array usage
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-05 19:32:32 +00:00
Marcelo Matus
e2ec34d2b0 fix for #1247477, sorting tables properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-30 17:36:14 +00:00
Marcelo Matus
d27f751265 fix for #1247477, sorting tables properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-30 17:23:10 +00:00
Kevin Ruland
307d856876 Clean up use of gen_extra flag. Adjust whitespace in create_extra_files().
Emit the s_header contents after writing final comment.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-29 11:57:35 +00:00
Kevin Ruland
cce19f492a Added support for %minit, %mshutdown, %rinit, %rshutdown user supplied code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-29 11:28:56 +00:00
Kevin Ruland
e974e259b7 Clean up use of dlname variable.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-29 11:11:48 +00:00
Marcelo Matus
c3097349ea update cvsignore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-28 09:47:32 +00:00