Commit graph

55 commits

Author SHA1 Message Date
Marcelo Matus
ab0b0ece71 fix typos in names
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 06:53:36 +00:00
Marcelo Matus
aca35dbcde add %typemap(LANG,..) warning 1387184
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8220 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-05 19:48:55 +00:00
Marcelo Matus
6a79fef6f1 add new warnings for possible leaks with the SWIGTYPE*/& typemaps and using 'ptr/refs' with directorout types
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8085 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:37:41 +00:00
Marcelo Matus
723281a823 generate implicit copyctor, add -nocopyctor, and clarify the -nodefault, -nodefaultctor, -nodefautldtor options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 06:26:26 +00:00
Marcelo Matus
825a0e2685 add code for #errors reported as #warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7927 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-05 22:43:37 +00:00
William S Fulton
8394fb8dff Portability warning for files which will overwrite each other on case insensitive file systems such as FAT32/NTFS.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-09 22:57:57 +00:00
Marcelo Matus
4fc70bb9a9 add cpp warning and typecheck undef codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-13 09:21:55 +00:00
William S Fulton
2be8c7a68e php4 warning added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7617 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-08 11:38:02 +00:00
William S Fulton
cff2f67179 The default is now to not generate an additional method declaration when a method is declared with an extern. Use -addextern option to recreate original behaviour (new commandline option), with -noextern now redundant.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-27 20:39:20 +00:00
William S Fulton
c2e9c01ab1 Scott Michel director patch, typemap consolidation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-28 22:11:06 +00:00
William S Fulton
ab1e0a1c26 oops, resurrected warning 470, but with a slightly better name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 21:49:49 +00:00
William S Fulton
39843efba5 director warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 20:54:44 +00:00
William S Fulton
bac8f43f79 C# exception handling improvements - they are robust and don't leak anymore. Requires typemap modifications using attribute canthrow in any unmanaged code typemaps that throw an exception and excode attribute in csout and csconstruct typemaps.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-02 22:44:32 +00:00
William S Fulton
eaeada5bcc C# and Java construct typemap additions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-10 22:27:11 +00:00
Marcelo Matus
0ac8253c3f fixes for templates and template default args, cosmetics, and other fixes for OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 02:12:05 +00:00
Marcelo Matus
c98340f0a7 fix directorout typemap for const std::string&. Adding warning about the new typemap, which is not thread safe
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 20:22:19 +00:00
Marcelo Matus
37c727888b fixes for operator*()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-11 10:20:05 +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
114c703acd fix director + abstract + constructors, reported by Brian Kelley
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6478 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-22 07:25:42 +00:00
William S Fulton
5a6fa3c074 Bill Clarke patch: fix to ensure SWIGIMPORT always defined for %import and new warning when using -importall and -includeall together
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-27 19:35:05 +00:00
William S Fulton
3d78f49c7b Java and C# typemap changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:30:15 +00:00
Henning Thielemann
39d92e49b2 added basic Modula-3 support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-19 11:45:29 +00:00
William S Fulton
72618a43fb Overloading fixes for when methods cannot be disambiguated.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-12 21:48:55 +00:00
Marcelo Matus
74d6f1eb43 Added the warning code
WARN_PARSE_REDUNDANT          322

similar to the g++ -Wredundant-decls flag.

This recovers the warnings that now are not been reported by
the original code

   WARN_PARSE_REDEFINED          302

Redundant example:

   int foo(int);
   int foo(int);

Redefined example:

   int foo(int);
   double foo(int);


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-15 08:16:53 +00:00
William S Fulton
7d6858ce0f Covariant return type warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:47:21 +00:00
Dave Beazley
08f8a36e16 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 02:49:12 +00:00
William S Fulton
7ee01311b2 typemap name changes:
inv => directorin
outv => directorout
argoutv => directorargout


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 23:52:28 +00:00
William S Fulton
eeca9ccf6a directorin typemap renamed javadirectorin
directorout typemap renamed javadirectorout


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-20 16:13:19 +00:00
William S Fulton
f3916c3687 java director warning changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-12 23:48:02 +00:00
William S Fulton
a562a53bcb Java directors implementation contributed by Scott Michel.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5076 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-09-04 23:26:29 +00:00
William S Fulton
72b7dccc08 C# warning correction
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4935 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-29 21:55:33 +00:00
William S Fulton
2cdbe141cb Added C# warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4894 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-12 11:48:54 +00:00
Mark Rose
c47494cb7a polymorphism patch merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-03-06 19:21:58 +00:00
Dave Beazley
13f4ac3e84 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-02-12 17:11:42 +00:00
William S Fulton
d53533dcfd swigconfig.h.in is a generated file. Removing from CVS.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4222 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-23 22:58:16 +00:00
William S Fulton
00337ed6a5 File removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4182 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:30:01 +00:00
William S Fulton
7e6fa505e8 Using standard autoconf config header generation.
Deprecated this file


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:26:06 +00:00
William S Fulton
0b2ba73e94 Using standard autoconf config header generation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4180 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:25:30 +00:00
William S Fulton
39bc957343 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:24:50 +00:00
Dave Beazley
12a43edc2d The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Dave Beazley
5c13fac1d5 Wide range of minor bug fixes and improvements.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-22 04:27:51 +00:00
Dave Beazley
aa04383964 Incorporated Macintosh changes submitted by Luigi Ballabio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-14 15:25:48 +00:00
Dave Beazley
8a7d0af5ad Changed the handling of types in parameter lists and removed the %val
and %out directives.    This result of this change is that SWIG does
a lot less manipulation of types before they are given to language
modules.  It also means that a lot of stuff is going to be broken
for a short period of time.   I am working on cleaning all of this up
so give me a few days to sort it out.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-20 20:26:17 +00:00
Dave Beazley
d36c48a9c1 C++ String class and all operator overloading removed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 03:11:24 +00:00
Dave Beazley
7242c6daf7 Applied Oleg's MzScheme patches
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-19 00:29:04 +00:00
Dave Beazley
2ff8e83a04 Minor bugs with last checkin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-18 17:08:45 +00:00
Dave Beazley
8e0010c43a Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-18 16:24:55 +00:00
Harco de Hilster
94119a92bb *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-06 10:15:38 +00:00
Harco de Hilster
1594189ea9 String x = "";, dumps core now in the destructor, changed to String x;
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-05 18:07:28 +00:00
Dave Beazley
b2309afd8b *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 20:34:22 +00:00