William S Fulton
76dc5e3f3b
Alternative %feature improvements for methods with default args, that works with constructors.
...
Marcelo, I've commented your approach out using #define MARCELO. Lets discuss on swig-dev.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 22:09:29 +00:00
William S Fulton
30312e0173
warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 22:06:51 +00:00
Marcelo Matus
f81cf97c35
fix private new operator
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 18:44:41 +00:00
Marcelo Matus
44009421a8
fix %features/%rename + def args
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 18:41:31 +00:00
Marcelo Matus
2b71e5fe23
missing non-null check
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 18:27:53 +00:00
Art Yerkes
b1c2cd26b4
Uniform SWIGSTATIC on all prototypes.
...
#ifdef __GNUC__ -> static inline to remove warning spew using gcc
typemaps: tweaks for arrays, enums
ocaml.cxx: remove Swig. qualifier everywhere it's not needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 04:17:00 +00:00
John Lenz
f46617dc03
Switch Guile module to use -scm as default instead of -gh.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 01:02:21 +00:00
John Lenz
bf83bb81a1
Fix a bug where chicken wrappers were not correctly registering values with the
...
chicken garbage collector.
Update the chicken documentation to reflect the new proxy class support.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 23:13:59 +00:00
Marcelo Matus
a42260811d
fix serious bug with def args + static methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 10:22:15 +00:00
Marcelo Matus
db4de01921
minor fix for extern declarations
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6643 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 09:57:16 +00:00
Marcelo Matus
a6dba8577d
making sure the resolve_scope_node is working fine before release, and fix for unnamed namespace
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 08:07:02 +00:00
Marcelo Matus
31d0ef38c4
missing fixes for nodirector methods, already fixed in python
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6640 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 08:04:17 +00:00
Marcelo Matus
d33bfc5350
move fix for typedef (no ptr/no ref) + director from directors.cxx to lang.cxx. This should fix more related problems around. Also fix for unnamed namespace in lang.cxx
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 08:00:14 +00:00
Marcelo Matus
ad7d943dfc
fixes for %template+member/static methods
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 00:59:38 +00:00
Marcelo Matus
94a6a89af7
more fixes for %features, now doint it right, ie, deleting code instead of adding
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 00:58:49 +00:00
John Lenz
53132a810f
Revert guile_gh.swg and guile_gh_run.swg to not use new runtime system.
...
Added global variable to hold status of -runtime,-c,-noruntime flag for use
in guile gh module mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6630 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 22:06:53 +00:00
William S Fulton
c5e0c0094c
Default args fix for const methods. The extra methods being generated were non-const.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6624 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 21:22:49 +00:00
Marcelo Matus
73248606bf
fix %template + static class members
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6623 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 20:04:59 +00:00
Marcelo Matus
ee0b146afd
fix %template + static class members
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6622 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 19:40:41 +00:00
Marcelo Matus
2a799d9bcd
more uniform treatment of extern C. This also fix the defarg mechanism when declaring C functions inside C++.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6621 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 19:03:01 +00:00
amigalemming
70ff24a677
typemap m3wrapargconst allow definition of local constants
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6617 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 15:35:07 +00:00
Marcelo Matus
18d3f92b53
fixes for Sun Studio 9, test it
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 08:26:54 +00:00
John Lenz
ae49beb41c
Chicken test suite should at least run now... still generates a bunch of errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6611 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 03:10:50 +00:00
John Lenz
2cdf91de5d
More work on the chicken module. The test suite, zlib, and overload examples are still broken.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 02:50:30 +00:00
Marcelo Matus
5206f539fd
last fixes for namespaces
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 02:12:01 +00:00
Marcelo Matus
9c0c4fb898
last fixes for namespaces
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 01:50:21 +00:00
Marcelo Matus
de1ed9d840
more on %rename+%features+ templates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 00:32:37 +00:00
Marcelo Matus
8a88aecc24
fix bug 836539
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 00:31:54 +00:00
Marcelo Matus
62c994d196
fix for bug 888167
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:18:36 +00:00
William S Fulton
11d77ef9ae
various fixes to remove warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 21:10:06 +00:00
Marcelo Matus
d6e3a92182
fix feautures + qual + templates
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 18:14:52 +00:00
Marcelo Matus
ad3b351313
fixes for namespaces + class declarations + %template directive
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 08:38:21 +00:00
Marcelo Matus
2ff5f79e98
now 'defined' as variable name is fixed
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 21:28:36 +00:00
Marcelo Matus
13cbeffb7a
patch for 'defined' varible not ready jet
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 13:04:08 +00:00
Marcelo Matus
88bdb62e04
fix cpp + defined variable name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 12:27:55 +00:00
Marcelo Matus
8a6b31c1a2
fix cpp + defined variable name
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6569 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 12:14:42 +00:00
Marcelo Matus
a34970d9fc
add patch 1025861 for director + exceptions, fix director + enums
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 10:58:16 +00:00
Marcelo Matus
f3c94c3aca
fix tcl + -namespace + constants(enum)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:28:00 +00:00
William S Fulton
b416ab7464
director generated code formatting improvements to bring Java in line with the other languages
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6552 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:36:41 +00:00
William S Fulton
06bc02c126
warning fix
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:34:01 +00:00
William S Fulton
ede61c2fd7
segfault fix for global scope operator used in friend declaration
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:33:31 +00:00
Marcelo Matus
69e2c815fd
split declaration and definition of Director
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 07:30:03 +00:00
Marcelo Matus
1ac5674df0
add templatereduce option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-28 23:49:41 +00:00
Marcelo Matus
4b7f369f7e
better option name templatereduce
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6542 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-28 19:31:33 +00:00
Marcelo Matus
53b60a0483
using the Language::abstractTestClass, since now it also considers the director case, and is more complete
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-28 19:30:27 +00:00
Marcelo Matus
a74a712e03
always emit the director destructor, just in case
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 02:00:48 +00:00
Marcelo Matus
7afd2f554b
fix SWIGENUM -> enum SWIGTYPE, as is used now
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6528 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 01:59:20 +00:00
Marcelo Matus
a4064070b0
Recover original types in template expansions.
...
Added the module option "tpltreduc" to force Swig to
reduce all the typedef found in a template, usually
as a compiler will do. This allows swig to parse
very ugly template + typedef code, but it can prevent some
typemaps for working.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6527 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 01:57:36 +00:00
Marcelo Matus
6c207e1cab
eliminate the reduce/reduce conflicts
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6525 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 22:08:36 +00:00
William S Fulton
c486c70075
Fix to keep gcc-3.4 happy
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 21:18:09 +00:00