William S Fulton
7f53260203
merge revisions 11872:11876 from trunk to gsoc2009-matevz branch - license changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@11905 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-06 00:51:54 +00:00
William S Fulton
531c4454b8
Fix -co option which broke in 1.3.37 SF #2605955
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11135 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-20 20:55:16 +00:00
William S Fulton
efa11dee52
add new %begin directive for inserting code at top of wrapper file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11133 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-02-20 07:52:24 +00:00
William S Fulton
a6adffe4d9
remove debugging output
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11094 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-29 21:20:31 +00:00
William S Fulton
90ab280f90
Fix regression introduced in 1.3.37 where the default output directory for target language specific files (in the absence of -outdir) was no longer the same as the generated c/c++ file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-29 19:25:37 +00:00
Haoyu Bai
6d2aef67d9
Replaced all [const] String_or_char * to const_String_or_char_ptr, by the following command:
...
sed -i "s/\(const \)\?String_or_char \*/const_String_or_char_ptr /g" CParse/* Include/* Modules/* Preprocessor/* Swig/*
This is a preparation for moving to new DOH, since for strong typed objects we need the const_String_or_char_ptr class to implicit convert to and from String * or const char *.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11080 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-24 13:15:51 +00:00
William S Fulton
e65ea56530
Fix error display when there is a problem with CCACHE_OUTFILES
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11033 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-07 00:50:06 +00:00
William S Fulton
1b485a7ad2
minor fixes from last checkin
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-24 14:54:52 +00:00
William S Fulton
da0b517a7f
accept unix directory separators on windows for input file
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11001 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-24 14:50:26 +00:00
William S Fulton
9a94969fdd
fix input filename containing a path on windows
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11000 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-24 13:19:55 +00:00
William S Fulton
6994737f19
Add -outcurrentdir option
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10947 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-25 23:36:23 +00:00
William S Fulton
509ee37f55
add sanity check on preprocessed output
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10945 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-23 23:28:37 +00:00
William S Fulton
533ccb5097
deprecate use of include path to find the input file for behaviour that is compatible with other compilers and interopability for ccache
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10936 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-22 12:29:41 +00:00
William S Fulton
8ac9453f62
Fix -nopreprocess option to correctly generate output filenames and display filenames in warnings and errors
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10930 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-16 21:40:28 +00:00
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