Commit graph

50 commits

Author SHA1 Message Date
William S Fulton
b55bf8f9ca 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@7833 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-09 22:57:57 +00:00
Marcelo Matus
990fedb3b6 add cpp warning and typecheck undef codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7646 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-13 09:21:55 +00:00
William S Fulton
96647a499e php4 warning added
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7617 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-08 11:38:02 +00:00
William S Fulton
11dc59b22e 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@7318 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-27 20:39:20 +00:00
William S Fulton
e6ceb122a6 Scott Michel director patch, typemap consolidation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7174 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-28 22:11:06 +00:00
William S Fulton
fe1562b5d9 oops, resurrected warning 470, but with a slightly better name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 21:49:49 +00:00
William S Fulton
15cd05107b director warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7112 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-29 20:54:44 +00:00
William S Fulton
a78579ec3f 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@6934 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-02 22:44:32 +00:00
William S Fulton
2cb0382899 C# and Java construct typemap additions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-01-10 22:27:11 +00:00
Marcelo Matus
7ae82d1c51 fixes for templates and template default args, cosmetics, and other fixes for OSS
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 02:12:05 +00:00
Marcelo Matus
cca7ef61ea 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@6872 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-13 20:22:19 +00:00
Marcelo Matus
047b1264be fixes for operator*()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6858 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-11 10:20:05 +00:00
Marcelo Matus
df8c99079b add proper deprecated code for %name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-16 06:32:26 +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
William S Fulton
bddf02154e 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@6273 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-27 19:35:05 +00:00
William S Fulton
970027f277 Java and C# typemap changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-03 22:30:15 +00:00
Henning Thielemann
483d8b4367 added basic Modula-3 support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-03-19 11:45:29 +00:00
William S Fulton
1236b0bfcb Overloading fixes for when methods cannot be disambiguated.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5713 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-02-12 21:48:55 +00:00
Marcelo Matus
aa8b13473e 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@5634 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-15 08:16:53 +00:00
William S Fulton
a33f84ae46 Covariant return type warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-12-23 21:47:21 +00:00
Dave Beazley
2e313b48b0 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-20 02:49:12 +00:00
William S Fulton
69d79e0674 typemap name changes:
inv => directorin
outv => directorout
argoutv => directorargout


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


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


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:26:06 +00:00
William S Fulton
84aeb5e5f0 Using standard autoconf config header generation.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4180 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:25:30 +00:00
William S Fulton
4ccdf787b3 no message
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-11 22:24:50 +00:00
Dave Beazley
516036631c The great merge
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-11-30 22:01:28 +00:00
Dave Beazley
ce983e3203 Wide range of minor bug fixes and improvements.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@966 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-12-22 04:27:51 +00:00
Dave Beazley
6e9629c7a8 Incorporated Macintosh changes submitted by Luigi Ballabio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-10-14 15:25:48 +00:00
Dave Beazley
22662ce490 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@588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-20 20:26:17 +00:00
Dave Beazley
d9535328a1 C++ String class and all operator overloading removed.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-07-10 03:11:24 +00:00
Dave Beazley
3b7c3f299c Applied Oleg's MzScheme patches
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@496 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-19 00:29:04 +00:00
Dave Beazley
8c43af19b2 Minor bugs with last checkin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-18 17:08:45 +00:00
Dave Beazley
4c655e9282 Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-06-18 16:24:55 +00:00
Harco de Hilster
19656d8bca *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@333 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-06 10:15:38 +00:00
Harco de Hilster
f66c034759 String x = "";, dumps core now in the destructor, changed to String x;
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@332 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-05 18:07:28 +00:00
Dave Beazley
4177752de5 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@300 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-29 20:34:22 +00:00
Dave Beazley
77cb823ab6 Slash, burn, crash, crumble. Don't mind me.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-27 03:47:17 +00:00
Thien-Thi Nguyen
e0957d51e2 VERSION, Source/Include/swigver.h.in: New files.
Source/Include/swigver.h: Deleted from repo, now generated by
configure from swigver.h.in same directory.

configure.in: Source ./VERSION to get var definitions.
(PACKAGE, VERSION, SWIG_VERSION, SWIG_SPIN): New vars, @-substituted.
Also do `AC_OUTPUT' on Source/Include/swigver.h.

Makefile.in (dd): New var, the distribution directory.
(dist, dist-suggested): New targets.

Source/SWIG1.1/emit.cxx (emit_banner): Use `SWIG_VERSION' instead
of integers `SWIG_VERSION_MAJOR' and `SWIG_VERSION_MINOR' (which are
deleted).

Source/SWIG1.1/main.cxx (SWIG_main): Likewise.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@235 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-12 02:21:22 +00:00
Dave Beazley
9a10bfd7aa Adjusted the version number to 1.3a1.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@173 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 03:42:33 +00:00
Dave Beazley
75e5f3aefe Back to simple makefiles (at least for now)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@171 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-01 22:24:39 +00:00
Dave Beazley
959b2f9692 First checkin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@34 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-11 20:08:25 +00:00