Commit graph

5,851 commits

Author SHA1 Message Date
Marcelo Matus
b612f004ed better error message for overloading, as suggested by Tijs Michels, and doc fixes, provided by Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9048 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-11 01:42:10 +00:00
Marcelo Matus
07022e74a8 fix docs, path provided by Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9047 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-11 01:40:20 +00:00
Marcelo Matus
9aa5d0fd77 fix char* warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9046 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-10 21:03:13 +00:00
Marcelo Matus
a2f06a36d2 add lowercamelcase encoder, from Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-10 21:02:06 +00:00
Marcelo Matus
646b38ee97 fix macro issue reported by Vladimir Menshakov
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9044 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-10 19:00:44 +00:00
Marcelo Matus
bcbab83ae8 fix % predicate, as reported by Mikael Jansson
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9043 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-08 05:32:19 +00:00
Mikel Bancroft
1b1a48de7b 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@9042 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-06 06:28:53 +00:00
John Lenz
ba15231ee4 Update Chicken configuration to not use chicken-config
which was removed in version 2.3
Other minor bug fixes to chicken


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9041 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-06 01:16:57 +00:00
Marcelo Matus
c0b01e9804 fix type for sizeof
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9040 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-28 07:49:03 +00:00
Marcelo Matus
c4c03726c1 fix for old VC 6.0 and linking issue reported by Roy Sutton
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9039 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-27 21:39:49 +00:00
Marcelo Matus
418b2d8ea3 use better names to avoid clashing with directors, as reported by Eric Blossom
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9038 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-27 21:20:46 +00:00
Marcelo Matus
264387f53e add back the newline at the end of the file since gcc complains too much
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-27 21:17:04 +00:00
Marcelo Matus
a86e4777ac fix overloading between unsigned long long and strings, as reported by Tim Lee.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-27 20:11:52 +00:00
Marcelo Matus
a62189b4e5 fix prototype warnings, as reported by Max Browsher
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-26 07:24:41 +00:00
Marcelo Matus
3d00467e39 fix prototype warnings, as reported by Max Browsher
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9034 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-26 07:09:22 +00:00
Marcelo Matus
6ccde68020 fix type cast
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9033 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-26 07:04:06 +00:00
Marcelo Matus
228cfe8435 fix include of files without last newline, as reported by Wes Hodges
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9032 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-22 08:15:46 +00:00
Marcelo Matus
bcb9b63089 more fixes for '%rename Class' + %copyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9029 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-21 19:14:47 +00:00
Marcelo Matus
574ee1af25 more fixes for '%rename Class' + %copyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9028 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-21 19:12:43 +00:00
Mikel Bancroft
f07ad7bea8 03/20/2006: mutandiz
[allegrocl]
	    update CHANGES.current for last commit.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9027 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-21 08:35:54 +00:00
Mikel Bancroft
c21f5177be 03/20/2005: mutandiz
[allegrocl]
	    More tweaks to INPUT/OUTPUT typemaps for bool.

	    Fix constantWrapper for char and string literals.

	    find-definition keybindings should work in ELI/SLIME.
	    Output (in-package <module-name>) to lisp wrapper
	    instead of (in-package #.*swig-module-name*).

	    slight rework of multiple return values.

	    doc updates.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9026 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-21 07:15:38 +00:00
William S Fulton
6dcc1afbc3 1.3.29 date change
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9025 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 23:55:17 +00:00
William S Fulton
a404be5ea5 Fix swig --help -<lang> working differently to swig -help -<lang>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 22:05:28 +00:00
Marcelo Matus
49179614e4 extend comment for %nocopyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 10:49:38 +00:00
Marcelo Matus
2f58208898 fix for %copyctor + default_constructor.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9022 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 10:47:39 +00:00
Marcelo Matus
82ec7cd7e5 more fixes for %copyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9021 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 10:39:01 +00:00
Marcelo Matus
faf33e0bd8 fix %rename + %copyctor issue reported by William
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9020 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 01:06:11 +00:00
Marcelo Matus
c9fa14d5db generate error when a proper overloaded function is not found, as suggested by Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9019 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 00:24:39 +00:00
Marcelo Matus
049d516956 fix template + enum issue reported by James Bigler
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9018 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 00:14:24 +00:00
Marcelo Matus
fadcc0b844 fix names for ruby
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-19 23:37:46 +00:00
Marcelo Matus
a9d56d0f27 remove debugging print
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-19 23:36:22 +00:00
Marcelo Matus
2c7ad859b2 readd %factory for create method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-19 23:28:34 +00:00
William S Fulton
5e8b3a792c Fix #1448184 error message formatting
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9014 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-19 22:40:45 +00:00
William S Fulton
90e8cf3d35 add missing header
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9013 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-19 15:40:32 +00:00
William S Fulton
d0a1364215 fix const wstring& typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9012 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-19 15:34:27 +00:00
Matthias Köppe
9fa4db6131 #ifdef out debugging statement.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-18 01:56:18 +00:00
Mikel Bancroft
5c8dd6e9b6 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@9010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-18 01:18:36 +00:00
Mikel Bancroft
e6587aca65 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@9009 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-16 18:11:25 +00:00
Marcelo Matus
1097406a52 fix misplaced code, reported by Olly
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-16 01:46:50 +00:00
Marcelo Matus
e2882a13e8 fix mispelled prepend, reported by Jeremy McCormick
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9007 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-16 01:44:26 +00:00
William S Fulton
bc0f2a654b fixes for sub is a perl keyword
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9006 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-14 22:07:54 +00:00
William S Fulton
74ca46655d clean up .pdb files generated by visual studio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9005 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-14 22:06:19 +00:00
Mikel Bancroft
3c6167fb0b 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@9004 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-12 20:38:57 +00:00
Matthias Köppe
f8817ba92d Remove %include to non-existent file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-11 01:09:39 +00:00
William S Fulton
766cb3877b minor code consistent style changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-11 00:06:45 +00:00
William S Fulton
3e57edcf2a #1447337 Delete LocalRefs at the end of director methods and some cosmetic changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-11 00:05:20 +00:00
Mikel Bancroft
03ccec96c7 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@9000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-10 23:31:46 +00:00
William S Fulton
7e713eaa8d *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8999 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-10 22:54:51 +00:00
William S Fulton
a574823bc6 remove non-standard --with-release-suffix configure options and fix the standard autoconf options --program-prefix and --program-suffix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-10 22:54:02 +00:00
William S Fulton
fd751eb101 back out previous chicken patch - it breaks the C# csc compiler detection
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8997 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-10 21:55:46 +00:00