Commit graph

1,291 commits

Author SHA1 Message Date
Marcelo Matus
34f7412326 disabling autodoc/prepend/append + static members since it doesn't wiht default_args.i test case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-06 00:51:52 +00:00
William S Fulton
45b8823e31 %rename/%ignore mods so that the behaviour is the same as %feature for default args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6676 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 23:27:10 +00:00
William S Fulton
70ac355e4c Dependencies patch from Fabrice Salvaire
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 23:20:24 +00:00
Marcelo Matus
d9b97420ee fix def value difference between T_POINTER and T_STRING
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6670 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 01:41:07 +00:00
Marcelo Matus
5b3e4bc601 fix typemap + numinputs +argout
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6669 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 00:22:29 +00:00
Marcelo Matus
9d3cce855e remove old patch for features + def arg, but save the ignore/rename part. Now everything seems to be working.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6668 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 23:18:01 +00:00
William S Fulton
17f6328b8a Common default argument code factored into functions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6661 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 22:10:20 +00:00
William S Fulton
9c8162bb90 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/SWIG@6660 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 22:09:29 +00:00
William S Fulton
d8cb82e4b0 warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6659 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 22:06:51 +00:00
Marcelo Matus
f800e2470d fix private new operator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6658 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 18:44:41 +00:00
Marcelo Matus
272e74dc36 fix %features/%rename + def args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6657 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 18:41:31 +00:00
Marcelo Matus
27660bd461 missing non-null check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6656 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 18:27:53 +00:00
Art Yerkes
3101067a2d 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/SWIG@6655 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 04:17:00 +00:00
John Lenz
41a558998d Switch Guile module to use -scm as default instead of -gh.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6650 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-04 01:02:21 +00:00
John Lenz
3a07959dda 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/SWIG@6648 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 23:13:59 +00:00
Marcelo Matus
b19d0dc05e fix serious bug with def args + static methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 10:22:15 +00:00
Marcelo Matus
0759851fad minor fix for extern declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6643 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 09:57:16 +00:00
Marcelo Matus
a0c0486d76 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/SWIG@6641 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 08:07:02 +00:00
Marcelo Matus
8aaf75a78e missing fixes for nodirector methods, already fixed in python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6640 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 08:04:17 +00:00
Marcelo Matus
709cc0bd34 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/SWIG@6639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 08:00:14 +00:00
Marcelo Matus
6227611fa7 fixes for %template+member/static methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6636 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 00:59:38 +00:00
Marcelo Matus
b6ced827f8 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/SWIG@6635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-03 00:58:49 +00:00
John Lenz
c65f985bc6 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/SWIG@6630 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 22:06:53 +00:00
William S Fulton
9eaf8c335b 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/SWIG@6624 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 21:22:49 +00:00
Marcelo Matus
cb15d93f18 fix %template + static class members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6623 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 20:04:59 +00:00
Marcelo Matus
9cdd5195ab fix %template + static class members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6622 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 19:40:41 +00:00
Marcelo Matus
ec2d6ba128 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/SWIG@6621 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 19:03:01 +00:00
amigalemming
15dedcc7d4 typemap m3wrapargconst allow definition of local constants
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6617 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 15:35:07 +00:00
Marcelo Matus
fcd93c0dc7 fixes for Sun Studio 9, test it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6615 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 08:26:54 +00:00
John Lenz
7b8f8c994d 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/SWIG@6611 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 03:10:50 +00:00
John Lenz
68372c5c2f 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/SWIG@6610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 02:50:30 +00:00
Marcelo Matus
bd1743157b last fixes for namespaces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6609 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 02:12:01 +00:00
Marcelo Matus
0fe5c56436 last fixes for namespaces
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6607 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 01:50:21 +00:00
Marcelo Matus
896c307fdc more on %rename+%features+ templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 00:32:37 +00:00
Marcelo Matus
74f3dd2224 fix bug 836539
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6602 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 00:31:54 +00:00
Marcelo Matus
cf415b0c64 fix for bug 888167
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 22:18:36 +00:00
William S Fulton
dc12af75b6 various fixes to remove warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 21:10:06 +00:00
Marcelo Matus
b77ef6461a fix feautures + qual + templates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 18:14:52 +00:00
Marcelo Matus
3fc7b773d9 fixes for namespaces + class declarations + %template directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-01 08:38:21 +00:00
Marcelo Matus
53306bdc3e now 'defined' as variable name is fixed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 21:28:36 +00:00
Marcelo Matus
75ec2bf503 patch for 'defined' varible not ready jet
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 13:04:08 +00:00
Marcelo Matus
2fe4996068 fix cpp + defined variable name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 12:27:55 +00:00
Marcelo Matus
d83ec6779b fix cpp + defined variable name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6569 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 12:14:42 +00:00
Marcelo Matus
c599db0cd6 add patch 1025861 for director + exceptions, fix director + enums
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-30 10:58:16 +00:00
Marcelo Matus
ce999550ad fix tcl + -namespace + constants(enum)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 22:28:00 +00:00
William S Fulton
db0cba194d 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/SWIG@6552 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:36:41 +00:00
William S Fulton
fd1bd9e7ae warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:34:01 +00:00
William S Fulton
78afe76002 segfault fix for global scope operator used in friend declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6550 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 21:33:31 +00:00
Marcelo Matus
545b20712e split declaration and definition of Director
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6544 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-29 07:30:03 +00:00
Marcelo Matus
f15126aee3 add templatereduce option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-28 23:49:41 +00:00