Commit graph

109 commits

Author SHA1 Message Date
William S Fulton
6fb0f48935 customised ccache support: read the CCACHE_OUTFILES env variable and if exists, the names of all generated files are written to the filename specified in the env variable
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-03 12:51:45 +00:00
William S Fulton
16a88b3dc8 correct comment about deprecated option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 21:53:12 +00:00
William S Fulton
afe519f8a1 remove deprecated -c commandline option (runtime library generation)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-24 21:48:46 +00:00
William S Fulton
90179b787f Add patch #1956607 -MT support for changing the makefile target name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-03 11:38:48 +00:00
William S Fulton
1ec30ff479 remove redundant code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10348 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 19:55:31 +00:00
William S Fulton
3e1799e7da gcc-4.3 warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-05 19:38:48 +00:00
Xavier Delacour
13c0b040fc Fix Octave C support by adding extern "C" around header section. Fix Octave examples (simple, contract, variables, pointer, funcptr) such that example.c files are built with C compiler, and wrappers with C++ compiler.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10299 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-03-05 15:29:01 +00:00
Olly Betts
9abc24813b Fix --help output to note that `export SWIG_FEATURES' is required.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10095 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-09 08:59:44 +00:00
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
Olly Betts
3777b685a6 Fix many instances of "delimeter" to "delimiter".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9967 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-08 12:02:56 +00:00
William S Fulton
87577ab5e6 new -Werror option and fixes for turning on warnings which are normally turned off
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9922 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-31 22:20:21 +00:00
William S Fulton
d9b34d6112 add new debug commandline options for displaying the parse tree at different stages of processing and deprecate old equivalents
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9919 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-28 20:19:14 +00:00
John Lenz
fb51964d01 Fix a bunch of minor bugs found by Coverity scanner
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9889 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 02:55:27 +00:00
Olly Betts
8505bb9d6b Remove accidental extra parameter in call to Printf().
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9794 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-08 22:33:56 +00:00
Dave Beazley
b92d8e5cff Major overhaul of C/C++ scanner API. Unified tokenizing code so that tokens are scanned by a common code base
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9639 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-12 19:01:40 +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
97b1fbaa02 -fakeversion appears in generated files. Made comment with version number at top of generated files consistent.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-15 23:45: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
Olly Betts
f0e3702a26 Remove fixed limit on number of command line options.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-16 16:43:15 +00:00
William S Fulton
f73d9274b9 workaround indent beautifier problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9239 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-10 21:36:59 +00:00
William S Fulton
b012ddade9 Fix library paths
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-17 21:57:10 +00:00
William S Fulton
b3bf82ca45 Fix swig --help -<lang> working differently to swig -help -<lang>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9024 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-20 22:05:28 +00:00
William S Fulton
33cfa55484 Move copyright notices from -version to -copyright and add in missing copyright notices that are in LICENSE
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-07 22:01:17 +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
fbb364e7b5 add -O
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8962 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-03-05 06:37:18 +00:00
Marcelo Matus
95815dd5a2 allow director protected members by default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8854 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-20 18:18:44 +00:00
William S Fulton
6b6147f03b Deal with Microsofts attempt at deprecating C standard runtime functions for proprietary ones in Visual Studio 2005
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-19 22:16:56 +00:00
Marcelo Matus
0f7b502a3b fix -external-runtime and warning arounds in subversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:37:53 +00:00
Marcelo Matus
16e70de9ae add the -dump_parse_top and -dump_parse_modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 17:19:02 +00:00
William S Fulton
8c6ffe1de8 Fix to compile under visual studio which has a limit on string lengths
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:20:58 +00:00
Marcelo Matus
02c17b6d22 add info about SWIG_FEATURES and -help when no option is found. Use --help as alias of -help, following gnu-ish style.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 21:47:31 +00:00
William S Fulton
916a23d3c4 Fix last sorting commit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8296 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 09:48:26 +00:00
Marcelo Matus
7d489fa3ea remove extra 'directory' word
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 03:02:11 +00:00
William S Fulton
ddb87504ef Commandline option display: Put back in alphabetical order, fix typos and improve wording and consistency.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 23:34:31 +00:00
Marcelo Matus
b79d86f02e more options clean-up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 07:44:12 +00:00
Marcelo Matus
b933cac915 add -fakeversion option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8205 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 03:31:57 +00:00
Marcelo Matus
406c8fbb2b add info for debug options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8198 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 19:51:13 +00:00
Marcelo Matus
5c381977e6 add -dump_module_tree option (the -dump_tree is too much for most of the cases)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 07:42:03 +00:00
Marcelo Matus
1d9a1cd854 fix assert when error occurs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:40:32 +00:00
Marcelo Matus
a275bbd30f add the 'naturalvar' option/mode/feature, to allow member variables to be treated in a natural way, as the global ones. This mean use the const SWIGTYPE &(C++)/SWIGTYPE(C) typemaps instead of the plain SWIGTYPE * typemap for the set/get methods.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:48:56 +00:00
Marcelo Matus
d812f5fe5e disable copyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:38:02 +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
cef0013285 'oficially' add fastdispatch option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 21:30:06 +00:00
Marcelo Matus
251014efcb add the fast dispatch option/feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7950 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 08:54:05 +00:00
Marcelo Matus
cb852a98fd use normalized cpperraswarn and nocpperraswarn option instead
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-05 23:45:10 +00:00
Marcelo Matus
2acc32946b add option/pragma erroraswarn, which force (or not) to treat the cpp #error directive as a #warning instead
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-05 22:10:37 +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
Marcelo Matus
ba3efb0917 finishing the first stage of the typemap unification scheme, fixing issues with gcc and valgrind
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 09:47:56 +00:00
William S Fulton
bed81d66d3 Better error message displayed when file cannot be opened
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:31:21 +00:00