Commit graph

504 commits

Author SHA1 Message Date
Matthias Köppe
3d658c0c21 Send the "runtime" target to /dev/null too.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6697 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 21:35:21 +00:00
William S Fulton
f77446423f warning fixes compiling under mingw
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6696 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 21:19:47 +00:00
William S Fulton
13e7383859 warning fixes for using generated code in VC++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6695 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 21:19:06 +00:00
Marcelo Matus
464c01da12 fix def args + director + constructors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6689 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 05:31:27 +00:00
Marcelo Matus
cd84c7404c 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@6680 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-06 00:51:52 +00:00
William S Fulton
028a6e1f73 Dependencies patch from Fabrice Salvaire
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 23:20:24 +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
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
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
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
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
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
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
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