Commit graph

82 commits

Author SHA1 Message Date
Marcelo Matus
dbdcf4462c fix -external-runtime and warning arounds in subversion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8666 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-01 08:37:53 +00:00
Marcelo Matus
0b345e8546 add the -dump_parse_top and -dump_parse_modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 17:19:02 +00:00
William S Fulton
4199849c63 Fix to compile under visual studio which has a limit on string lengths
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:20:58 +00:00
Marcelo Matus
efa12c7c32 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@8307 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 21:47:31 +00:00
William S Fulton
c28e5ce47b Fix last sorting commit
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8296 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 09:48:26 +00:00
Marcelo Matus
4794eeed45 remove extra 'directory' word
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-08 03:02:11 +00:00
William S Fulton
a5bc25841e 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@8281 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-07 23:34:31 +00:00
Marcelo Matus
5a269a5392 more options clean-up
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8208 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 07:44:12 +00:00
Marcelo Matus
724caee47c add -fakeversion option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8205 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-04 03:31:57 +00:00
Marcelo Matus
65deb7f85e add info for debug options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8198 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 19:51:13 +00:00
Marcelo Matus
9c6e025d11 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@8194 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-03 07:42:03 +00:00
Marcelo Matus
7b4073a447 fix assert when error occurs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8115 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-28 22:40:32 +00:00
Marcelo Matus
f804cc18ab 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@8089 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-27 21:48:56 +00:00
Marcelo Matus
858453b1cf disable copyctor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 08:38:02 +00:00
Marcelo Matus
f023a22575 generate implicit copyctor, add -nocopyctor, and clarify the -nodefault, -nodefaultctor, -nodefautldtor options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8030 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-22 06:26:26 +00:00
Marcelo Matus
3db0e56b49 'oficially' add fastdispatch option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7953 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 21:30:06 +00:00
Marcelo Matus
20d29ae781 add the fast dispatch option/feature
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7950 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-08 08:54:05 +00:00
Marcelo Matus
ffdad64b32 use normalized cpperraswarn and nocpperraswarn option instead
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7928 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-05 23:45:10 +00:00
Marcelo Matus
2646bbf1cb 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@7926 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-12-05 22:10:37 +00:00
Marcelo Matus
b66f1e672b fix many/many memory leaks
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-30 21:32:27 +00:00
Marcelo Matus
3413b92e7a remove many memory leaks and cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7898 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-11-29 01:47:10 +00:00
Marcelo Matus
bd7b3fcb1d 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@7692 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-10-20 09:47:56 +00:00
William S Fulton
6247abbd01 Better error message displayed when file cannot be opened
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-09-08 22:31:21 +00:00
William S Fulton
15150feff5 Support for Lua added - patch from Mark Gossage
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-08-15 20:38:34 +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
c4352f8bb7 typo
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7261 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-09 18:39:43 +00:00
William S Fulton
385eef2af5 copyright year update
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-03 20:48:09 +00:00
William S Fulton
34a035e3f1 template ext mode on for all languages, not just Python now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7130 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-01 19:46:06 +00:00
Marcelo Matus
40d483208a adding -notemplatereduce option + docs for -external-runtime
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7078 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-17 06:02:29 +00:00
Marcelo Matus
fd947483fa fix seg fault when using bad runtime file, such as a dir
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7058 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-03-11 08:42:16 +00:00
Marcelo Matus
42381e5888 following Bill's labels patch, we add swiglabels.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7015 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-28 23:59:12 +00:00
John Lenz
ef58056ffd Add support for the -external-runtime argument and update all language modules to use it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-23 22:40:51 +00:00
William S Fulton
e0b0628804 swig -version prints to stdout not stderr now (won't affect the autoconf macro version detection)
swig -help prints to stdout not stderr now


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6963 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-02-15 23:02:44 +00:00
Marcelo Matus
5b89ab2e60 patch #1069631 to disable cpp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6766 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-22 01:37:29 +00:00
Marcelo Matus
899c08b740 generate checkout message in verbose mode, and in stdout, no stderr, since is not an error
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6761 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-19 20:47:13 +00:00
Marcelo Matus
2aecc01c24 fix -director option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-15 22:54:16 +00:00
William S Fulton
028a6e1f73 Dependencies patch from Fabrice Salvaire
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-05 23:20:24 +00:00
John Lenz
53132a810f Revert guile_gh.swg and guile_gh_run.swg to not use new runtime system.
Added global variable to hold status of -runtime,-c,-noruntime flag for use
  in guile gh module mode.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6630 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-02 22:06:53 +00:00
Marcelo Matus
1ac5674df0 add templatereduce option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6543 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-28 23:49:41 +00:00
Marcelo Matus
8e9b8e584a fix -oh/-o/-noh, tested before in the wrong directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6488 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-23 05:28:04 +00:00
Marcelo Matus
e96dd809d8 add -oh option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-21 10:31:27 +00:00
John Lenz
4645346381 Removed ability to share type information by C linking
All type sharing happens through a global variable in the target language.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-16 18:23:59 +00:00
Marcelo Matus
c1ed709013 fix #if __cplusplus problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6347 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-06 16:51:22 +00:00
Marcelo Matus
677116eaa4 add new -features option, fix SWIG_FEATURES
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-05 21:02:50 +00:00
Marcelo Matus
0ca860773f fix minor problem when defining __cplusplus as 1, empty definition is ok.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6292 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-03 05:09:29 +00:00
Marcelo Matus
7cc6470fe6 added the -I- option and %include <file>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-17 05:55:43 +00:00
William S Fulton
cf5edcc6da copyright update and typo in -help
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-24 22:14:25 +00:00
William S Fulton
afecabc4f3 XML patch from Robin Dunn adds -dump_xml and -xmlout <file> for generating XML of post processed parse tree
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-07-12 19:53:23 +00:00
Marcelo Matus
1eba66b31b fix java reg. tests and add -directors flag
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5867 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-04-11 05:55:35 +00:00
William S Fulton
238e948bbe Eric Sunshine patch - Mods to work on NextStep
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5674 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-01-22 22:42:18 +00:00