Commit graph

599 commits

Author SHA1 Message Date
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
William S Fulton
592aa939e7 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-10 22:54:51 +00:00
William S Fulton
cb327f2a58 Getting ready for 1.3.29
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8989 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 23:01:29 +00:00
Matthias Köppe
1806d78e0a *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8985 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 21:26:16 +00:00
Marcelo Matus
36c067836e add -fastquery and fix SWIG_Python_GetSwigThis, avoid to call GetAttr
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 06:43:16 +00:00
Marcelo Matus
9e952010b9 add -fastinit option after issue reported by Robin Dunn
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8951 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-04 11:06:51 +00:00
William S Fulton
6f501769d1 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 23:06:47 +00:00
Matthias Köppe
0602f5c4cd *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8937 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-03 04:00:54 +00:00
William S Fulton
670217d300 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 23:30:46 +00:00
William S Fulton
a4d5f4a992 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8932 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-02 22:15:03 +00:00
Marcelo Matus
598be9b11c the visibility attribute also works with gcc3.4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8921 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 08:19:18 +00:00
Marcelo Matus
ea220fbfd7 add support for the GCC visibility attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-01 07:40:56 +00:00
Mikel Bancroft
4aabff8208 02/27/2006: mutandiz
[allegrocl]
	    Add support for INPUT, OUTPUT, and INOUT typemaps.
	    For OUTPUT variables, the lisp wrapper returns multiple
	    values.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8911 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 21:45:07 +00:00
Marcelo Matus
2665f5b765 add argc,argv typemap for ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8903 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 04:12:08 +00:00
Marcelo Matus
d36c71ee20 add argc,argv typemap for ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8902 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-27 03:34:27 +00:00
Marcelo Matus
4ba7f6c2a2 fix bug #1158178
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-24 08:34:03 +00:00
Mark Gossage
fad49549ea Small update Lua documents on troubleshooting problems
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-24 03:17:51 +00:00
Marcelo Matus
72fd0c51ab fix bug #1060789
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8888 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-24 02:39:24 +00:00
Marcelo Matus
46318e8766 fix bug #1263457
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 23:45:28 +00:00
Marcelo Matus
ff8bed0160 CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8886 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 22:31:37 +00:00
Marcelo Matus
6d067170dc fixes for python 2.1
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8878 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 09:13:16 +00:00
Marcelo Matus
37ae00fd6d CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 19:26:29 +00:00
Marcelo Matus
136bdf11ec CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 19:07:17 +00:00
Matthias Köppe
af6cf00a55 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8845 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 19:28:58 +00:00
Mark Gossage
ebbae30d72 added correct void* support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8810 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-13 02:49:55 +00:00