Commit graph

482 commits

Author SHA1 Message Date
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
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
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
2ee658be93 add Robin true/false patch for docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:40:11 +00:00
Marcelo Matus
761d718eb6 add Scott's patch for directors with no members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:39:02 +00:00
Marcelo Matus
3584312a7e add Robin true/false patch for docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:37:35 +00:00
Marcelo Matus
f35db9aea2 scott's fix for director + def. const.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 18:13:48 +00:00
Marcelo Matus
5e67603aa7 better warning for undefined base class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:31:47 +00:00
William S Fulton
83247f3df4 -dllimport commandline option and $dllimport special variable to specify the DllImport attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6501 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:43:32 +00:00
Marcelo Matus
8ac154a748 Fix directors + protected pure virtual members + protected
constructor.

Now it doesn't crash, you don't need to use dirprot, and no, it is not
emitting all the protected members, unless dirprot is used.

Swig only emits the protected members or constructors needed to prevent
the compilation for crashing. The rest of the protected members
are emitted when dirprot is used.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:58:15 +00:00
Marcelo Matus
30a26cefd9 add nodirprot mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:49:38 +00:00
Marcelo Matus
66402343a5 fix directors + unnamed parameters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:47:57 +00:00
Marcelo Matus
8e9b8e584a fix -oh/-o/-noh, tested before in the wrong directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-23 05:28:04 +00:00
Marcelo Matus
0a97681b20 fix missed check for director_prot_ctor_code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6487 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 23:34:10 +00:00
William S Fulton
e03dbc323b Scott Michel patch #1049496 to fix typesafe and proper Java enums with directors.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 21:12:36 +00:00
Marcelo Matus
b0f3adf07f fix for language that don't support directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 08:10:37 +00:00
Marcelo Matus
df9fa977a8 fix director + abstract + constructors, reported by Brian Kelley
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 07:25:42 +00:00
Art Yerkes
e9ea9b1886 Removed clearing of director object reference needed by the fun returned
by new_class.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6473 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 19:17:57 +00:00
Marcelo Matus
036f704a61 Add flag to enabla new C++ casting operators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:37:39 +00:00
William S Fulton
79bec67051 fixes for directors and default arguments in the constructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6468 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 18:16:21 +00:00
Marcelo Matus
8998bdbc10 rearregment for gcc-2.96 internal error, fix header generation, add -new_vwm and -noh options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:34:01 +00:00
Marcelo Matus
e96dd809d8 add -oh option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:31:27 +00:00
Marcelo Matus
b4156e9879 Oops, fix lost '!'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:59:54 +00:00
William S Fulton
129ef9be98 removed some stray debug messages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 21:39:13 +00:00
William S Fulton
97c2eeaf90 compact default arguments feature (original default argument wrapping mode)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 20:59:33 +00:00
Marcelo Matus
5a70c5b962 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@6447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-20 20:33:34 +00:00
Marcelo Matus
a75d2b0a4c fix SwigValueWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:34:04 +00:00
Marcelo Matus
26bb002165 ix variable wrapping with private assign operator + fix SwigValueWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:31:40 +00:00
Marcelo Matus
98d36c7f72 fix variable wrapping with private assign operator
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:29:22 +00:00
Marcelo Matus
a3a1db9f10 fix for bug 901706
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 09:10:23 +00:00
Marcelo Matus
ce25f45c99 make %callback more uniform and usable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 07:35:18 +00:00
Marcelo Matus
325a5d2eae fix callback
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:37:23 +00:00
Marcelo Matus
9324fbf756 fix feature director/nodirector, fix callback for python, reduce the SwigValueWrapper use
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-18 01:32:11 +00:00
Art Yerkes
01f438f143 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@6408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 08:38:54 +00:00
Art Yerkes
a8add424e4 Some delayed maintenance.
Fixes for multimodule targets.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-17 07:56:17 +00:00
John Lenz
4fc9128a6c Rework the CLOS code for chicken... still needs a little more work
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:56:10 +00:00
William S Fulton
d95c07cd15 minor change in warning message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 20:36:02 +00:00
John Lenz
4645346381 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@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
Marcelo Matus
81de588719 add Scott Fix for directors+rename, and testExamples/test-suite/director_basic.i
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-11 22:53:24 +00:00
Marcelo Matus
ae673f007b more valuewrapper cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 20:32:20 +00:00
Marcelo Matus
cf81f4a4e9 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@6374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-08 09:08:06 +00:00
Marcelo Matus
2b42a9ca31 better fix for virtual_mode + protected case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 22:15:23 +00:00
William S Fulton
536e2e545c %extend and default args fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 20:36:10 +00:00
William S Fulton
b89d4b0eb8 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@6360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 19:46:04 +00:00
William S Fulton
553422a11e 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@6359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 19:45:00 +00:00
John Lenz
0e57357472 Fix a few bugs in the tcl module related to clientdata propagation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-07 02:31:14 +00:00