Commit graph

515 commits

Author SHA1 Message Date
William S Fulton
380d10aac8 Fixes for enums no longer being handled as integers in the core.
New special variable $*csclassname to compliment $&csclassname and $csclassname.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6777 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:04:28 +00:00
William S Fulton
34d29740db Fixes for enums no longer being handled as integers in the core.
New special variable $*javaclassname to compliment $&javaclassname and $javaclassname.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:03:02 +00:00
William S Fulton
3250b2c176 Removed last vestiges of enums being handled as integers in the core.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6775 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 18:59:03 +00:00
William S Fulton
7803f9d220 Removed last vestiges of enums being handled as integers in the core.
New attribute, 'enumtype' -> needed when obtaining an enumitem value via a wrapper method - it contains the type of the enum so that an instance of this enum can be declared.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 18:57:40 +00:00
Marcelo Matus
efd7f57142 patch #1069631 to disable cpp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-22 01:37:29 +00:00
Marcelo Matus
ed510b78b6 generate checkout message in verbose mode, and in stdout, no stderr, since is not an error
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-19 20:47:13 +00:00
Marcelo Matus
c45c6535f3 change error to warning when a base class is not defined
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6745 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 00:38:17 +00:00
Marcelo Matus
23a4437e47 fix -director option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:54:16 +00:00
Marcelo Matus
5c273fc110 process protected/private bases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6736 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:53:13 +00:00
Marcelo Matus
7ab02d3a54 support/ignore multi-inheritance directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6735 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:52:38 +00:00
Marcelo Matus
acb5bc3e48 process protected/private bases, support/ignore multi-inheritance directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:51:48 +00:00
Matthias Köppe
855578ad77 Send the "runtime" target to /dev/null too.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6697 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 21:35:21 +00:00
William S Fulton
9a2bbfa53e warning fixes compiling under mingw
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 21:19:47 +00:00
William S Fulton
265ea0bec7 warning fixes for using generated code in VC++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 21:19:06 +00:00
Marcelo Matus
41a0b2dd59 fix def args + director + constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 05:31:27 +00:00
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
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
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
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
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
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
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
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
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
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
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
Marcelo Matus
288f1dc402 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/SWIG@6541 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-28 19:30:27 +00:00
Marcelo Matus
3b13970714 always emit the director destructor, just in case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-27 02:00:48 +00:00
Marcelo Matus
0ccbf425ab add Robin true/false patch for docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6522 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:40:11 +00:00
Marcelo Matus
0ab43a8bcc add Scott's patch for directors with no members
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:39:02 +00:00
Marcelo Matus
cbf875576d add Robin true/false patch for docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 20:37:35 +00:00
Marcelo Matus
4f8b04f0bf scott's fix for director + def. const.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 18:13:48 +00:00
Marcelo Matus
a87db784ef better warning for undefined base class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-26 00:31:47 +00:00
William S Fulton
909096be81 -dllimport commandline option and $dllimport special variable to specify the DllImport attribute
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6501 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-25 20:43:32 +00:00
Marcelo Matus
5023285fb8 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/SWIG@6493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:58:15 +00:00
Marcelo Matus
aec02530ce add nodirprot mode
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:49:38 +00:00
Marcelo Matus
94fbf0903b fix directors + unnamed parameters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6491 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-24 05:47:57 +00:00
Marcelo Matus
2df5b6a736 fix -oh/-o/-noh, tested before in the wrong directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-23 05:28:04 +00:00