Commit graph

1,834 commits

Author SHA1 Message Date
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
Mark Gossage
aabec2c542 update to extending document
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-13 02:36:05 +00:00
William S Fulton
4752a48da3 bump version to 1.3.29
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-12 21:37:49 +00:00
William S Fulton
4d5dbf60d6 readying for 1.3.28
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 22:23:21 +00:00
Marcelo Matus
e3cd787a1d sort and add new features
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 05:30:54 +00:00
William S Fulton
0fe7c7ee40 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-11 02:21:48 +00:00
Marcelo Matus
750c9c1efb move %extend_smart_pointer to pyuserdir.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-05 03:07:28 +00:00
Marcelo Matus
dc3685c0af add %extend_smart_pointer directive docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8712 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-04 18:06:45 +00:00
Mark Gossage
8328eb6e34 bugfix #1356577, changed double=>lua_number in a few places.
added the std::pair wrapping


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8672 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 01:41:06 +00:00
William S Fulton
9752051624 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 22:15:58 +00:00
Matthias Köppe
edba3add6b Add support for member function pointers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8617 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 18:47:18 +00:00
Marcelo Matus
dabf4f8a94 '%naturalvar <Class>;' doesn't need to be applied before the class declaration anymore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 17:18:45 +00:00
Marcelo Matus
d3102b4cf9 add more docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8596 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 18:58:18 +00:00
Marcelo Matus
0c18f47955 add doc for naturalvar use with classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 09:05:30 +00:00
William S Fulton
0f4408b17f Fix typos and some explanations.
#error behaviour is back like it was in 1.3.27, so removed entry that turned default #error behaviour into #warning.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8567 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-26 21:35:16 +00:00
Marcelo Matus
dc11cae49a fix and expand doc for %naturalvar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-26 18:13:59 +00:00