Commit graph

1,328 commits

Author SHA1 Message Date
William S Fulton
fe7b03ec81 Removed last vestiges of enums being handled as integers in the core.
Mod for consistency across warning messages.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 19:06:36 +00:00
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
William S Fulton
ed1415ebad Removed last vestiges of enums being handled as integers in the core.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 18:53:17 +00:00
Marcelo Matus
a603669c8f more on protected ctors+directors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6772 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 10:35:49 +00:00
Marcelo Matus
c4d6cdf0ab fix non public overload order
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 09:15:58 +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
b574e77f6b fix macro with empy args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6751 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-18 00:25:23 +00:00
Marcelo Matus
82648b1d25 add proper deprecated code for %name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 06:32:26 +00:00
Marcelo Matus
831b585d55 add simple warning to deprecated %name directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6749 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 06:04:27 +00:00
Marcelo Matus
b686ee01c5 add/fix protected/private bases + template
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6747 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 05:36:23 +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
d4f03d249e fix for value_wrapper + feature:nodefault
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6739 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:56:18 +00:00
Marcelo Matus
586f7a876d fix for abstract
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6738 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:55:27 +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
Marcelo Matus
7c617cd2f1 fixes for mixed_types.i, multidimension arrays, and arrays +references+typedefs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6728 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 20:53:29 +00:00
Marcelo Matus
e623572061 add support for 'register'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6727 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 20:51:48 +00:00
Marcelo Matus
54ac86798a recover pseudo nested class support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6724 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-13 01:25:56 +00:00
Marcelo Matus
6799d20fa8 fix variable name clash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-12 21:20:40 +00:00
Marcelo Matus
98a6497043 fix bug #1023010
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-12 00:23:47 +00:00
Marcelo Matus
f668d1def8 fix seg. fault in errors/.. and revert to previous 1.89 version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6717 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-11 23:30:25 +00:00
Marcelo Matus
e3fe426896 fix for bug #1064201,externc +typedef
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6716 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-11 23:23:10 +00:00
Marcelo Matus
c2aeedba99 fix seg. fault in errors/.. and revert to previous 1.89 version
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6710 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-10 23:51:22 +00:00
Marcelo Matus
2a6bb6657b fix seg. fault in errors/
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6709 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-10 23:44:40 +00:00
Marcelo Matus
dd6142512e fix repited class name in scope resolution
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6698 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 23:20:22 +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
c53347f088 fix seg fault #901022
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 07:30:30 +00:00
Marcelo Matus
782419af6b fix seg fault #901022
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6691 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-08 07:28:29 +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
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