Commit graph

4,682 commits

Author SHA1 Message Date
Kevin Ruland
9593b659b9 Added an example showing use of %pragmas and init/shutdown code injection.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:19:56 +00:00
Kevin Ruland
9b48816f68 Fix test cases to always use intp wrappers. This is required because of changes
to the default handling of pointer and references to basic types.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 18:18:15 +00:00
Marcelo Matus
a513db7bf4 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:44:06 +00:00
Marcelo Matus
e4f17f50aa fix example max macro/template and external max macro conflicts
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:35:38 +00:00
Marcelo Matus
798a3c370c 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@7448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-16 00:34:04 +00:00
Kevin Ruland
663862918d Removed the -xmlout from swig.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 15:50:50 +00:00
Surendra Singhi
a0b7ef540a Added links to Lisp and Lua support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:34:05 +00:00
Surendra Singhi
e9950cb980 Initial revision. Something about UFFI and AllegroCL, has to be written.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:33:09 +00:00
Surendra Singhi
141864071e Update my personal info.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:27:26 +00:00
Surendra Singhi
db0072522e Changed the chapter number from 30 to 31.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:27:12 +00:00
Surendra Singhi
2185066d14 Added chapter for Common Lisp.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-15 05:26:35 +00:00
William S Fulton
fea5471cf7 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@7440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 22:07:44 +00:00
Marcelo Matus
05ceecefc4 add missing directorin typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 14:38:46 +00:00
Marcelo Matus
474752667e add missing directorin typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-14 14:36:57 +00:00
William S Fulton
99e307ee6e jweak cast fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-13 21:03:01 +00:00
William S Fulton
0e29d8f8a6 test directors with classes passed by value, ref and pointer
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-13 21:02:21 +00:00
Marcelo Matus
d61a776308 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@7435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 23:25:03 +00:00
William S Fulton
a752866adc 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@7434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 22:48:14 +00:00
William S Fulton
b93b3593bf Lua fixes to work on Unix as well as windows.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 22:14:37 +00:00
William S Fulton
dfaaa959a6 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@7432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-12 22:13:34 +00:00
William S Fulton
bdb8e46f4d patch 1272995 from Charlie Savage - more disown support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 22:12:56 +00:00
William S Fulton
64c4e71c84 fixes for problems reported by htmldoc and tidy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 20:00:39 +00:00
Marcelo Matus
6b5a64bd92 add module option to import
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 19:31:23 +00:00
Marcelo Matus
5bd59b2a47 fix incomplete module name replacement when using the -module flag #1282637
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 18:20:13 +00:00
Marcelo Matus
4c86e9f590 fix incomplete module name replacement when using the -module flag #1282637
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 17:53:20 +00:00
William S Fulton
9b2db3858f 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@7426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-11 00:45:36 +00:00
William S Fulton
5182c4b7ce *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:46:51 +00:00
William S Fulton
dbc1c53d7b 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@7424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:40:11 +00:00
William S Fulton
f94e5e4870 function comments added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:37:56 +00:00
Marcelo Matus
60913495ba cosmetic and docs changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 23:28:36 +00:00
Marcelo Matus
2d7540f33c update docs about private/protected class/members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 21:12:35 +00:00
Marcelo Matus
087a208c3c fix clientdata initialization, error detected when converter is null (protected classes)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-10 20:16:38 +00:00
Marcelo Matus
6d39fe1341 add char* string test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-09 17:58:43 +00:00
William S Fulton
7e2154ed19 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:37:43 +00:00
William S Fulton
1e86fe52c3 minor typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:35:37 +00:00
William S Fulton
6247abbd01 Better error message displayed when file cannot be opened
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:31:21 +00:00
Kevin Ruland
b4c945a488 Added a fourth argument (flags) to all calls to SWIG_ConvertPtr.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 02:06:22 +00:00
Kevin Ruland
d908e688ef 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@7414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 02:06:03 +00:00
Kevin Ruland
3965256ffb 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@7413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 02:04:55 +00:00
Kevin Ruland
3cb7d700c0 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@7412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 01:57:32 +00:00
Kevin Ruland
ae283adb6c Simple example of DISOWN typemap working correctly.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-07 01:56:03 +00:00
Marcelo Matus
2c94c03056 fix minor warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-06 09:02:54 +00:00
Marcelo Matus
2a5a913ae4 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-06 07:57:37 +00:00
Marcelo Matus
c74fd4442a allow to use %define inside a %define macro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-06 07:33:17 +00:00
Marcelo Matus
99ed184f95 adding test for binary buffer
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-06 06:31:25 +00:00
Marcelo Matus
2e2617edce normalize cstring.i to use fragments, and add cwstring.i as a subproduct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-06 06:22:10 +00:00
William S Fulton
e64517f6a7 Fully qualify System.Array usage
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-05 19:32:32 +00:00
Marcelo Matus
7de3e1e5e7 fix for #1247477, sorting tables properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-30 17:36:14 +00:00
Marcelo Matus
a8054943ef fix for #1247477, sorting tables properly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-30 17:23:10 +00:00
Kevin Ruland
d18e6de5e5 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@7402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-29 11:57:35 +00:00