Commit Graph

44 Commits

Author SHA1 Message Date
William S Fulton fe042d2ebc Replace cvs $Header$ with svn $Id$
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10003 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-17 21:42:11 +00:00
William S Fulton 75b1e083cf Fix warning display of templated base classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-30 19:27:40 +00:00
William S Fulton 3e5f30c94f conversion operator %rename improvements - the exact operator name must be specified now, rather than a fully qualified operator name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9837 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-26 00:06:45 +00:00
William S Fulton f486588124 correction to last commit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9654 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-19 21:28:16 +00:00
William S Fulton 337f63fd28 seg fault fix when parsing incorrect C++ namespace code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-03-16 23:39:28 +00:00
Dave Beazley ff41049b1c Eliminated use of swigkeys.h/.c files.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-03 20:58:19 +00:00
Dave Beazley c12550e4ad API cleanup. Documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-03 05:23:20 +00:00
Dave Beazley 264b7dff90 API cleanup. Documentation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9629 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-30 18:27:47 +00:00
William S Fulton aa04c4c057 beautify/format source code with gnu indent
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9505 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-01 23:54:54 +00:00
William S Fulton 7f74b8e7a3 Common template for head of each file detailing licence, distribution and authors information
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8972 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-06 22:51:01 +00:00
Marcelo Matus 46318e8766 fix bug #1263457
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8887 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 23:45:28 +00:00
Marcelo Matus 54078c42b9 fix for non-void returning value and using + %extend
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8873 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-23 07:06:41 +00:00
Marcelo Matus e99a8a707f fix using + extend as reported by William
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-22 01:21:43 +00:00
Marcelo Matus cb80d44fa6 avoid assert when finding a recursive scope inheritance, emit a warning in the worst case, reported by Nitro
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8832 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-17 22:13:37 +00:00
Marcelo Matus ceaeb49a9f fix C + enums + struct
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8747 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-08 08:23:45 +00:00
Marcelo Matus 7515e64361 fix template + typedef issue reported by Bo Peng
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8733 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-06 23:42:37 +00:00
Marcelo Matus 654efd7ba5 fix template forward + using
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8547 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:23:12 +00:00
Marcelo Matus 645f95d633 fix many/many memory leaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-30 21:32:27 +00:00
Marcelo Matus f714a2615d remove many memory leaks and cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-29 01:47:10 +00:00
William S Fulton 4ec01af9dd Modify following features to work as flags, so that they can be truely set and unset:
java:const
            java:downcast
            compactdefaultargs
            ignore
            valuewrapper


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-30 21:37:40 +00:00
William S Fulton c697a7368a Fix incorrect access for methods added via the 'using' declaration
Exception specifications were not being added to methods added via the 'using' declaration


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7216 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-05-25 21:23:15 +00:00
William S Fulton 175e89dc8f fix %varargs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-21 22:06:12 +00:00
Marcelo Matus af1068e336 fix memory leak
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-11 08:44:06 +00:00
William S Fulton 2cb0999e75 More improved warnings for duff base classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6877 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-14 21:25:12 +00:00
Marcelo Matus 25d65e6ce9 fix warning for forward base class
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-14 06:47:19 +00:00
Marcelo Matus 6d8ba96466 fix protected constructor by using clean_overloaded to utils.cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-01 00:47:10 +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 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 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 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 4c02e7cc0e Fix for enum forward declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6117 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-23 20:10:51 +00:00
William S Fulton ead1d3ac6a enumvalueex attribute now set during the type pass
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5923 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-05-24 20:14:58 +00:00
William S Fulton 1472f009ea Fix enums in the type system
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5849 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-09 19:34:00 +00:00
Marcelo Matus cf8a1c311c Allowing the empty %template directive, such as
%template() std::vector<int>;

to process the class "typedef"s and "typemap"s. Before
only the internal "typedef"s were processed.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-17 08:18:17 +00:00
Marcelo Matus bd9aa0c7c9 - Normalize the 'Swig_error' calls and formats, before some
of the strings start like "Error. XXX", others like "XXX".
  The format is now defined in 'error.c:Swig_error_msg_format()'.

- Normalize the multiline error/warning messages to correctly
  use -Fformat definition.

- Centralize the error/warning format definitions in
  'error.c:Swig_error_msg_format()'.

- Fix a minor error in cpp.c, that after finding an error, still
  was emitting a redefined macro, producing duplicated error/warning
  messages in parser.y.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5635 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-15 08:33:12 +00:00
Marcelo Matus c94ed86295 added friend dec support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5623 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-13 01:20:37 +00:00
Dave Beazley 93cf752b25 Fixed [ 871909 ] simple namespace problem.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5611 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-09 19:36:58 +00:00
Dave Beazley 9e98fd1252 Fixed bus error. Removed inline functions. Minor cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5500 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-08 15:24:39 +00:00
Marcelo Matus 0f19564193 Fixes to support protected members with director, proper virtual member recognition and support of the nodirector feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5485 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-05 01:59:28 +00:00
Dave Beazley 62c35e3579 Removed contract code from swigmod.h. Violates intended modularity of this file.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-10-09 15:57:54 +00:00
Dave Beazley 8ae4c60d39 Major refactoring of DOH List/Hash iterators. See CHANGES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-11 20:26:57 +00:00
Dave Beazley 97c0e312d2 Very subtle change to handling of unnamed enums and typedef (an
incorrect entry was being placed in the internal typedef tables).


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4765 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-01 19:48:14 +00:00
Dave Beazley 34a220f341 Fixed function argument bug
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-17 17:57:19 +00:00
Dave Beazley 74a3aa015c File move
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4150 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-03 20:33:35 +00:00