Commit Graph

48 Commits

Author SHA1 Message Date
William S Fulton cb64f65bae SWIG license change - Source moves to GPLv3
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-27 23:53:33 +00:00
William S Fulton 0635616c72 remove some dead code using which should be using SwigType_typedef_resolve_all instead of SwigType_typedef_resolve
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11823 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-20 19:58:28 +00:00
William S Fulton e554146aac Fix a few inconsistencies in reporting of file/line numberings including modifying the overload warnings to now be two line warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11813 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-09 19:34:43 +00:00
William S Fulton 83bd820285 Add typemaps used debugging option (-debug-tmused). Fix missing file/line numbers for typemap warnings and in the output from the -debug-tmsearch/-debug-tmused options
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11802 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-04 19:33:52 +00:00
Joseph Wang b279cd3dde add std_map
fix compact mode


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11731 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-10 02:32:29 +00:00
Joseph Wang e351dfceaf first pass at making fcompact work with R
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11722 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-04 03:48:17 +00:00
William S Fulton 413f114eda fix some overloaded warning messages when templates are used
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-07-26 21:21:26 +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 5ec2d8c166 All languages now define a macro in the generated C/C++ wrapper file indicating which language is being wrapped, eg #define SWIGJAVA
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11018 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-30 00:38:34 +00:00
William S Fulton d2f69e6a34 add missing language specific preprocessor define where missing for some languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-29 23:56:03 +00:00
William S Fulton cc522323d7 create a common banner header for all target language specific files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11016 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-29 22:56:25 +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 49675199f4 Remove some vc++ /W4 warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-21 15:23:02 +00:00
William S Fulton 9c323f4a70 Add R keyword support. Rename keywords for successful compilation of Java and C# code. More consistent keyword warnings across the different languages.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10530 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-19 20:02:13 +00:00
William S Fulton dfcb1640bf Remove old swig-1.1 Swig_typemap_lookup function. Rename Swig_typemap_lookup_new() to Swig_typemap_lookup()
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-15 21:18:44 +00:00
William S Fulton 336b50b43d Add the optimal attribute to the out typemap for more optimal code generation when returning objects by value
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-14 22:12:31 +00:00
Joseph Wang 41220df85b Fixes problems people have been having with vector/matrix arguments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-27 18:26:07 +00:00
Joseph Wang ade41d0a72 R does not like variables with leading underscores
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-04-26 06:46:16 +00:00
William S Fulton c0e0bf2a26 Improve wrapping of global function pointer variables for R - note that use of SWIG_exception_fail does not work as the in typemaps are being used for return types and really something like directorin/directorout typemaps are required
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10267 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-02-27 13:06:46 +00:00
William S Fulton 98b2e4a95c Use -package to change the package name. Ensure the initialization routine is called since the package name changes.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10136 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 23:50:45 +00:00
William S Fulton 1f36b6e0b0 Rename dll/shared object name to be the same as the module name - _wrap is no longer postfixed to the name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10128 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-14 22:33:09 +00:00
William S Fulton 3f567de7ba Fixes for Visual C++ for C++ code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10111 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 21:48:25 +00:00
William S Fulton a80c41bef5 Dont use the global namespace polluting methods in the R headers - provides Visual C++ support
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10109 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 20:26:58 +00:00
Joseph Wang cd9c301b48 Remove _wrap from .R files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10105 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-11 03:08:10 +00:00
William S Fulton 9aa5096836 Fix for VC++ 6 which doesnt seem to initialise member variables which are default constructed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10103 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-10 23:34:51 +00:00
William S Fulton 12d39f7cb0 Windows fix (need to dllexport funtions)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10101 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-10 22:23:53 +00:00
William S Fulton 39abd80eef Changes to compile with VC++6
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10099 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-10 21:10:17 +00:00
William S Fulton 1b908b175e Fix uninitialised variables, generation of illegal C variable names and seg fault on Windows.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10092 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-11-08 21:41:25 +00:00
Joseph Wang 3b9574953c Fix so that it works for 2.6 and 2.5
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10059 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-28 18:21:44 +00:00
Joseph Wang 47b3c8e8fb Change to fit 2.5.1
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10050 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-26 01:16:31 +00:00
Joseph Wang 54f0b11ddf Add "freearg" template
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10037 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 11:30:11 +00:00
Joseph Wang 410da5ce73 Tweaks to fix errors in r module code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10035 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-25 04:06:22 +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
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
William S Fulton 1160c80a01 dead code fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-07-17 22:31:57 +00:00
Olly Betts a6da185300 Remove unused Printf() parameters.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9850 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-06 00:58:50 +00:00
Joseph Wang 30cf4d39eb The code for list attributes was adding a spurtious comma, which caused
code breakage in newer versions of R.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9846 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-06-04 04:36:05 +00:00
Olly Betts d3dba22c2f Fix compilation with GCC 4.3 snapshot.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9819 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-17 22:37:25 +00:00
Dave Beazley b00cef436b API cleanup (Parms)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9633 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-10 23:43:07 +00:00
William S Fulton fe62344fe6 variable hiding warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9512 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-11-02 09:40:19 +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
Joseph Wang 9b7572a16f add methods call and deref for functor and dereferencing operators
add hash to make sure that each method only appears once


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-08-21 22:48:58 +00:00
Joseph Wang 498b8ec576 remove extern symbol that was causing errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9229 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-29 06:29:10 +00:00
William S Fulton d9d1a7d5c4 ensure $symname is suitably expanded
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9199 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-05 21:26:10 +00:00
William S Fulton a9d5f49c4a fix compiler warnings
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-29 22:03:56 +00:00
William S Fulton f9654e63e9 -help consistent with other languages
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9180 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-29 21:52:44 +00:00
William S Fulton 38dc90184b Authors go in the readme file and add missing cvs $
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9179 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-29 21:25:22 +00:00
Joseph Wang ef80a4f59a Committing R-SWIG
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9175 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-06-29 03:01:18 +00:00