Commit graph

4,854 commits

Author SHA1 Message Date
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
Kevin Ruland
5d8b1e2a30 Added support for %minit, %mshutdown, %rinit, %rshutdown user supplied code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-29 11:28:56 +00:00
Kevin Ruland
eb8b6d32f7 Clean up use of dlname variable.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-29 11:11:48 +00:00
Marcelo Matus
329566a36f update cvsignore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-28 09:47:32 +00:00
Marcelo Matus
7c016db190 fix for bug #1245591, related to __class__ attribute in Ptr classes + -nomodern (or exceptions)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-28 07:13:02 +00:00
Marcelo Matus
0536823593 cancel warnings for python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-26 08:32:48 +00:00
Marcelo Matus
d6363acffe avoid importing several times the same module
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-26 08:32:16 +00:00
Marcelo Matus
f906b4d5e7 fix sorting problem with template types, strcmp can't be used directly with the DOH_String type. Use Cmp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-26 07:06:10 +00:00
Kevin Ruland
88736745e4 Made comment more informative.
Added convert_to_{double|long}_ex in the in typemaps.
Corrected the REFERENCE typemaps so they now work.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-25 18:33:26 +00:00
Kevin Ruland
ba9c6ec810 Added support for a %shutdown %{ %}, or %insert("shutdown") %{ %} block to
inject code into the PHP_MSHUTDOWN_FUNCTION.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-24 17:42:31 +00:00
Kevin Ruland
6c87325b91 Fairly major update to php code generation and type library. Brief summary:
- Revised simplified makefile generation using -make switch.
 - Proper support of in, out, argout, ret typemaps.
 - Function overloading with typecheck typemap support.
 - Fragment inclusion in typemaps.
 - Proper handling of object destructors relying on PHP's reference counting.
 - Constants using consttab and varinit typemaps.
 - Global variables using varinit typemaps.
 - Can generate C++ bindings using either objects or no objects (-noproxy).
 - Special phppointer.i typemaps for using php references for pointer passing.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-24 17:10:11 +00:00
Kevin Ruland
501bd53c4b Updated examples to function correctly with new php4 module. Added
some supplemental examples for cpointer, overloading and references using
proxies.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-24 16:32:41 +00:00
Kevin Ruland
bc9db8b383 Wrapper only generates object level method bindings.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-24 15:19:53 +00:00
Kevin Ruland
99cbf36b3f Change so extra methods and classes only cause a warning instead of failure.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-24 15:18:09 +00:00
Marcelo Matus
2ae026aa6f fix #endif position bug #1249878
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 10:55:05 +00:00
Marcelo Matus
c068056a10 fix import order
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 10:41:29 +00:00
Marcelo Matus
8b64b4702e fix fabrice sort problem, maybe
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 09:43:55 +00:00
William S Fulton
6c52b5ea74 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 09:21:14 +00:00
William S Fulton
df738e242a Fix incorrect usage of $owner in varout typemaps added in last commit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 09:20:39 +00:00
William S Fulton
76d35774ff 64 bit platform fixes for the varargs handling in SWIG_GetArgs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 09:18:43 +00:00
William S Fulton
e832d5dd6e Fix swig -help since support for -lua was added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 09:17:28 +00:00
William S Fulton
43015f7aca Implement support for SWIGTYPE* DISOWN typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 09:16:34 +00:00
Surendra Singhi
82e3ec30dc Fixed the def-c-type declaration.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-23 05:17:29 +00:00
William S Fulton
fad01d2f24 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-18 20:38:56 +00:00
William S Fulton
e12fafc129 %newobject tests from Bob Marinier
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-18 20:38:23 +00:00
William S Fulton
80e10942eb %newobject support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-18 20:36:38 +00:00
William S Fulton
edd91e04a0 .cvsignore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-17 21:04:44 +00:00
William S Fulton
de8a9ff695 Lua support from Mark Gossage (missing file that was not checked in with the rest of the patch)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-17 20:58:15 +00:00
William S Fulton
f4d35f89f0 remove define for bool - needed for visual studio compilers when stl headers are used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-17 20:39:01 +00:00
William S Fulton
ca8bf2dafc minor type correction to remove unsigned/signed mismatch warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-17 20:35:53 +00:00
William S Fulton
9ffab2f1cc no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-17 20:34:12 +00:00
William S Fulton
6ca148dbec no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-16 21:27:02 +00:00
William S Fulton
e00d664c62 Intel compiler fix for __int64 typedef redefinition
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-16 21:26:44 +00:00
William S Fulton
cc4950fe05 rename macro due to name clash on Windows
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-16 21:25:52 +00:00
William S Fulton
b624447c33 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 21:44:04 +00:00
William S Fulton
0fb1f9eaa2 Bug #1251832 - C++ template may generate invalid XML file (+correction)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 21:42:13 +00:00
William S Fulton
3db2823be7 operator overloading tests from Mark Gossage
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 20:59:55 +00:00
William S Fulton
127e49e03b Support for Lua added - patch from Mark Gossage
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 20:58:56 +00:00
William S Fulton
e2c90c74a9 Support for Lua added - patch from Mark Gossage
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 20:44:08 +00:00
William S Fulton
15150feff5 Support for Lua added - patch from Mark Gossage
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 20:38:34 +00:00
William S Fulton
139bd9b8c5 Fix incorrect xml escaping in base class name when base class is a template
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-14 21:20:40 +00:00
Surendra Singhi
630ecaffb1 Added comments on changes to the clisp module.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-14 05:38:55 +00:00
Surendra Singhi
ce038a8550 Added support for enums and other minor fixes and improvements.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-14 05:30:26 +00:00