William S Fulton
5837d1a2cb
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 20:40:22 +00:00
Olly Betts
916a265191
Allow templates to be instantiated using negative numbers and constant
...
expressions (which fixes SF bug #956282 and several others).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9309 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 11:20:52 +00:00
Olly Betts
7f2a849617
Revert the "automatic -noproxy for C code" change (for now at least) - the
...
testsuite contains examples with proxy classes for C code, so it's not as
obviously correct a change as I had thought.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 11:00:51 +00:00
Olly Betts
fe4a39819c
Treat a nested class definition as a forward declaration rather
...
than ignoring it completely, so that we generate correct code for
passing opaque pointers to the nested class (fixes SF bug #909387 ).
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9306 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 08:04:24 +00:00
Olly Betts
5baafd12c0
Overload resolution now works in PHP out of the box.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9305 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 06:59:07 +00:00
Olly Betts
9eb77c5800
Previously -noproxy was required when wrapping some C code
...
to avoid SWIG generating new_XXX methods. Now proxy classes are
only ever enabled when wrapping C++ code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-20 05:32:22 +00:00
Mark Gossage
194b9336d4
updated to changes file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9295 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-18 05:45:46 +00:00
William S Fulton
d3cac2d0ea
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-16 09:57:54 +00:00
William S Fulton
a19cc4444e
remove DOS CR/LF in mgossage entries
...
Add in explicitcall removal and director recursive call changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9274 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-13 20:54:12 +00:00
Mark Gossage
0136671c59
added support for multiple modules & multiple interpreters
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-11 06:55:38 +00:00
Olly Betts
44eaee3a01
Apply patch from SF bug: [ 1466086 ] PHP namespace clash - ErrorCode
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-05 16:18:01 +00:00
Olly Betts
b42168cf6e
[php] Move constant initialisation from RINIT to MINIT to fix a
...
warning when using Apache and mod_php. We only need to create
PHP constants once when we're first initialised, not for every HTTP
request.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9260 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-29 02:29:16 +00:00
Mark Gossage
02f0a49bc5
Bugfix #1542466 added code to allow mapping Lua nil's <-> C/C++ NULL's
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9256 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-21 08:00:13 +00:00
John Lenz
e59a47f6b1
Add feature:constasvar to guile module
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9255 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-19 23:32:56 +00:00
William S Fulton
4b0899528b
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9246 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-11 22:41:33 +00:00
William S Fulton
84f07bf77e
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9238 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-10 21:33:22 +00:00
Mikel Bancroft
2709b65d83
07/25/2006: mutandiz
...
[allegrocl]
more additions to std::string, some tweaks and small bug fixes
-nocwrap mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9225 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-25 22:59:16 +00:00
Mark Gossage
b2363bff02
upfdated to the typemaps to support std:strings with '\0' in them, and to add a typemap for SWIGTYPE** OUTPUT
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9221 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-21 08:51:40 +00:00
Mikel Bancroft
f2ff50e60e
07/19/2006: mutandiz
...
[allegrocl]
- Add std_string.i support.
- Add newobject patch submitted by mkoeppe (thanks!)
- Fix type name mismatch issue for nested type definitions.
specifically typedefs in templated class defns.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-19 21:53:07 +00:00
Mark Gossage
31c0982668
addition to support the -external-runtime command line option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9219 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-19 01:20:39 +00:00
William S Fulton
5f1bf2e541
no message
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9218 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-17 21:57:30 +00:00
John Lenz
cf3a18e631
Increment SWIG_RUNTIME_VERSION to 3, because of addition of owndata
...
Reported by: Prabhu Ramachandran
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9214 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-15 01:38:53 +00:00
William S Fulton
24a6facb9a
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9200 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-05 21:28:11 +00:00
John Lenz
b001bf16a5
Chicken: Add the %feature("constasvar"), which exports constants as variables instead of functions
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9197 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-05 01:54:32 +00:00
William S Fulton
4152a5d8cd
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-04 21:04:58 +00:00
Joseph Wang
9ea5e51b6c
Changed README and CHANGES.current file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9176 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-29 03:06:36 +00:00
John Lenz
b3cc02cfd0
Remove integers_runme.ss because Chicken does not test for integer overflow
...
Fixes to get apply_strings.i to work in the testsuite
Minor documentation updates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9170 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-21 04:16:21 +00:00
Olly Betts
1cf8dee120
Added some missing keywords to the PHP4 keyword list, and
...
fixed __LINE__ and __FILE__ which were in the wrong category.
Also added all the keywords new in PHP5, and added comments
noting the PHP4 keywords which aren't keywords in PHP5.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9167 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-17 13:33:05 +00:00
Olly Betts
68e04737ed
Don't segfault if PHP Null is passed as this pointer (e.g.
...
Class_method(Null)) - give a PHP Error instead.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-17 01:33:17 +00:00
Mikel Bancroft
080fa80ff3
06/15/2006: mutandiz
...
[allegrocl]
Add initial support for std::list container class.
Fix a few bugs in helper functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-16 02:28:19 +00:00
William S Fulton
6ed1cebc22
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9164 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-13 20:49:35 +00:00
William S Fulton
0e756c1125
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-05 21:07:43 +00:00
William S Fulton
fa5e3a1f07
*** empty log message ***
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9134 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-02 20:43:12 +00:00
Mikel Bancroft
3069aa45fb
05/25/2006: mutandiz
...
[allegrocl]
Fix bug in generation of CLOS type declarations for unions
and equivalent types.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-25 23:22:05 +00:00
Mikel Bancroft
cf55986a90
5/24/2006: mutandiz
...
[allegrocl]
Don't require full class definition to generate CLOS wrapper.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9131 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-24 08:33:07 +00:00
Olly Betts
b4b814dd26
Make GCC visibility support work with PHP.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9129 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-20 12:59:06 +00:00
Olly Betts
8a9da3c42e
Removed support for -dlname (use -module instead). Fixed
...
naming of PHP extension module to be consistent with PHP
conventions (no "php_" prefix on Unix; on PHP >= 4.3.0, handle Unix
platforms which use something other than ".so" as the extension.)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9125 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-19 05:43:26 +00:00
Olly Betts
ee62933ea5
Don't segfault if PHP Null is passed where a C++ reference is wanted.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9094 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-07 01:10:31 +00:00
Olly Betts
092f3a3806
Fix wrappers generated for global 'char' variables to not include a terminating
...
zero in the PHP string.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9090 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-05 14:57:19 +00:00
William S Fulton
98491c9e4d
move 1.3.29 changes into CHANGES and add a latest changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9074 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 21:00:23 +00:00
Surendra Singhi
d25519b86a
a struct/enum/union is replaced with :pointer only if
...
that slot is actually a pointer to that type.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9070 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-05-03 11:02:16 +00:00
Surendra Singhi
62acabdbb5
Thanks to Thomas Weidner.
...
- when feature export is set (export 'foo) is generated for every
symbol, i think should be external.
- when feature inline is set (declaim (inline foo)) is generated
before every function definition
- when feature intern_function is set #.(value-of-intern-function
"name" "nodeType" package) is emitted instead of the plain symbol. a
sample swig-lispify is provided.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9060 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-14 11:01:55 +00:00
Surendra Singhi
d985c7cf9c
Added the option [no]swig-lisp which turns on/off generation
...
of code for helper lisp macro, functions, etc.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9053 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-13 18:07:28 +00:00
Mikel Bancroft
497228ec04
04/05/2006: mutandiz
...
[allegrocl]
Fix output typemap of char so it produces a character instead
of an integer. Also adds input/output typemaps for 'char *'.
add command-line argument -isolate to generate an interface
file that won't interfere with other SWIG generated files that
may be used in the same application.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9042 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-06 06:28:53 +00:00
Mikel Bancroft
8541fa166b
03/20/2006: mutandiz
...
[allegrocl]
update CHANGES.current for last commit.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-21 08:35:54 +00:00
William S Fulton
57d856d913
1.3.29 date change
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 23:55:17 +00:00
Mikel Bancroft
d1b3949aba
03/17/2005: mutandiz
...
[allegrocl]
mangle names of constants generated via constantWrapper.
When using OUTPUT typemaps and the function has a non-void
return value, it should be first in the values-list, followed
by the OUTPUT mapped values.
Fix bug with boolean parameters, which needed to be
passed in as int values, rather than T or NIL.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-18 01:18:36 +00:00
Mikel Bancroft
a82b71b328
03/15/2006: mutandiz
...
[allegrocl]
Generate wrappers for constants when in C++ or -cwrap mode.
Make -cwrap the default, since it is most correct. Users
can use the -nocwrap option to avoid the creation of a .cxx
file when interfacing to C code.
When in -nocwrap mode, improve the handling of converting
infix literals to prefix notation for lisp. This is very
basic and not likely to be improved upon since this only
applies to the -nocwrap case. Literals we can't figure out
will result in a warning and be included in the generated
code.
validIdentifier now more closely approximates what may be
a legal common lisp symbol.
Fix typemap error in allegrocl.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-16 18:11:25 +00:00
Mikel Bancroft
6fc01f1cb7
03/12/2006: mutandiz
...
[allegrocl]
Add INPUT/OUTPUT typemaps for bool.
Generate c++ style wrappers for struct/unions when
-cwrap option specified.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-12 20:38:57 +00:00
Mikel Bancroft
42edc28ca1
03/10/2006: mutandiz
...
[allegrocl]
Fix bug in the generation of lisp wrappers for C interfaces.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-10 23:31:46 +00:00