Commit graph

1,205 commits

Author SHA1 Message Date
William S Fulton
74f9ab820b compact default arguments feature (original default argument wrapping mode)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 20:59:33 +00:00
William S Fulton
a889c59f3b - compact default arguments feature (original default argument wrapping mode)
- fix for templated functions in a namespace


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 20:49:49 +00:00
Marcelo Matus
b1481bfddc disabling the new value wrapper mode until we find more time to document it and adding a flag to switch it on/off
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 20:33:34 +00:00
Marcelo Matus
a66c87f147 fix SwigValueWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:34:04 +00:00
Marcelo Matus
01bde715f4 ix variable wrapping with private assign operator + fix SwigValueWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:31:40 +00:00
Marcelo Matus
2e9ba807e8 fix variable wrapping with private assign operator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:29:22 +00:00
Marcelo Matus
c388088863 fix for bug 901706
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 09:10:23 +00:00
Marcelo Matus
7dfcb56369 fix for 'template struct Opaque1 Type2
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:36:31 +00:00
Marcelo Matus
c7982bbdc8 make %callback more uniform and usable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:35:18 +00:00
Marcelo Matus
3771cae538 fix '0' array filling
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 02:22:15 +00:00
Marcelo Matus
f9974297d6 add del_array method
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 02:01:06 +00:00
Marcelo Matus
85905ac7a2 fix typedef_reduce + namespace
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:53:42 +00:00
Marcelo Matus
4897829d0f allow overide the warn codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:50:46 +00:00
Marcelo Matus
6cfa53e462 more fixes for feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:40:39 +00:00
Marcelo Matus
346171f612 allow mixed primitive types in the default type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:39:53 +00:00
Marcelo Matus
5daaf9781b fix callback
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:37:23 +00:00
Marcelo Matus
4804b899db fix feature director/nodirector, fix callback for python, reduce the SwigValueWrapper use
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:32:11 +00:00
Marcelo Matus
ced0d5e023 fix for template+default template params, better warnings, better management of extern "java"
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:23:20 +00:00
Art Yerkes
e9160c8597 Updated documentation.
Provide a swig_val function which generates a shareable value from a module
specific one in a painless way.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 08:38:54 +00:00
Art Yerkes
db57b0d6d8 Some delayed maintenance.
Fixes for multimodule targets.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 07:56:17 +00:00
John Lenz
2836e9599d Rework the CLOS code for chicken... still needs a little more work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:56:10 +00:00
William S Fulton
13926748ee templated function overloading support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:41:17 +00:00
William S Fulton
7f9ad65f89 minor change in warning message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:36:02 +00:00
William S Fulton
f331ce63c0 minor superficial mod
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:32:18 +00:00
John Lenz
75e462baa8 Removed ability to share type information by C linking
All type sharing happens through a global variable in the target language.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
Marcelo Matus
1ea4adbcd4 add Scott Fix for directors+rename, and testExamples/test-suite/director_basic.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-11 22:53:24 +00:00
Marcelo Matus
2459ec99d1 add initial C99 complex support + long double
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-10 08:18:14 +00:00
Marcelo Matus
b5c610922a more valuewrapper cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 20:32:20 +00:00
Marcelo Matus
3264efdfbf add tests and fix the value wrapper for opaque types, including the template cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 09:08:06 +00:00
Marcelo Matus
1d1b75d98f fix bug 953142
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 00:17:34 +00:00
Marcelo Matus
785190bbf1 better fix for virtual_mode + protected case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 22:15:23 +00:00
Marcelo Matus
5f45025e75 added the . See lextype.i example.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 22:14:31 +00:00
William S Fulton
dc85fd5f30 %extend and default args fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 20:36:10 +00:00
William S Fulton
c6496845ab Fixes for director code with exception specifications on the destructor (director_exception.i testcase)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 19:46:04 +00:00
William S Fulton
45718da90f Fixes for director code with exception specifications on the destructor (director_exception.i testcase)
Had to remove hack for Scott Michel's broken compiler though
Scott can you try another hack?


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 19:45:00 +00:00
John Lenz
143bfb2a62 Fix a few bugs in the tcl module related to clientdata propagation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 02:31:14 +00:00
William S Fulton
bbb97f8e6d fixes for the new default argument wrapping in director constructors and virtual methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 21:10:24 +00:00
Marcelo Matus
d84772ce6f fix #if __cplusplus problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 16:51:22 +00:00
Marcelo Matus
c3b41dd959 strange cache effect, disable by now, see enum_template.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 08:26:58 +00:00
Marcelo Matus
ed25a4df08 fix extend_placement.i case, ie extend overloding + member overloading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 23:17:40 +00:00
Marcelo Matus
d4add71b60 fix small problem with smart_ptr + protected +fvirtual
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:49:02 +00:00
John Lenz
6ed2f7e90e New way of sharing type information between modules for chicken, mzscheme,
ruby, tcl, and perl.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:43:41 +00:00
William S Fulton
60d5d3c855 remove symbol fix for when the symbol/function is overloaded. Fixes some obscure %extend bugs when the methods are overloaded or have default arguments.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6329 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:18:13 +00:00
William S Fulton
06989d7a7b revoke previous %extend+overload fix.
It might need to come back to fix templates. Not sure yet.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6328 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 22:15:45 +00:00
Marcelo Matus
48d1b19bb7 fix empty throw() + directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6322 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:06:56 +00:00
Marcelo Matus
a3cea612fe add new -features option, fix SWIG_FEATURES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:02:50 +00:00
Marcelo Matus
e84e28b276 remove const for type names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6320 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 20:59:13 +00:00
Marcelo Matus
398b4d6f77 add support for empty throw(), needed by director
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6319 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 20:57:08 +00:00
Marcelo Matus
9455a03257 better documented autodoc levels
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 03:33:56 +00:00
Marcelo Matus
776f15623e several fixes, see CHANGES.current 10/04/2004
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6317 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 00:19:26 +00:00