Baozeng Ding
2f7c5cdd14
fix something about builder.sce
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11993 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-18 13:04:13 +00:00
Baozeng Ding
38f4edcdac
fix some small thing
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11977 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-04-04 02:20:29 +00:00
William S Fulton
3e1b900946
Add new GPL license headers to all source files in this branch
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-06 12:07:52 +00:00
William S Fulton
f2b542d8f4
merge revisions 11872:11876 from trunk to gsoc2009-sploving branch - license changes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11906 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-06 01:19:37 +00:00
Baozeng Ding
9e57bfd84a
removing the file 'builder.sce'
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11891 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-01 01:41:07 +00:00
Baozeng Ding
c31100860e
add the missing file of matrix2 example
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11880 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-28 02:32:14 +00:00
Baozeng Ding
215a9c649b
change the format of error (add SciErr)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11871 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-26 09:34:30 +00:00
Baozeng Ding
d8a371808a
merge from trunk
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-11 00:59:12 +00:00
William S Fulton
3b06d6e442
subtle fix to -Fmicrosoft format adding in missing space
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11820 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-10 22:51:19 +00:00
William S Fulton
237f64a6e1
subtle fix to -Fmicrosoft format adding in missing space
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11818 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-10 22:37:28 +00:00
William S Fulton
71c8881dda
Some more file and line numbering reporting consistency fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11814 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-09 20:00:27 +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
a541f7c203
Change -debug-template to use Swig_diagnostic for file/line display
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11812 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-09 19:26:34 +00:00
William S Fulton
5a3ba0d607
Modify -debug-tags output to use standard file name/line reporting so that editors can easily navigate to the appropriate line
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11811 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-09 17:20:11 +00:00
William S Fulton
1b3ca38023
Slight change to warning, error and diagnostic reporting. The warning number is no longer shown within brackets. This is to help default parsing of warning messages by other tools, vim on Unix in particular.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11809 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-09 00:42:01 +00:00
William S Fulton
0f93753a08
Improve -debug-tmused output so that the typemap method name is always shown - it was missing when the typemap came from a %apply.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11808 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-09 00:24:25 +00:00
William S Fulton
ff1cc536a5
Very minor perf tweak
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11807 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-08 18:46:41 +00:00
William S Fulton
d82621ca35
Fix SwigType_str so that should the name contain type information it is displayed correctly - noticeable in -debug-tmsearch and -debug-tmused
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11806 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-08 18:42:31 +00:00
William S Fulton
eb2e4a59d0
minor tidy up
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11805 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-08 08:09:41 +00:00
William S Fulton
65a52707f0
Minor fix for -debug-tmused and multi-argument typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-05 23:44:42 +00:00
William S Fulton
b1ad69ade5
Fix -debug-tmsearch and -debug-tmused to show tthat the typemap came from a typemap copy or %apply
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11803 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-05 23:24:47 +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
William S Fulton
8b7c0afcfc
Display filename and line number in output when using -debug-tmsearch
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11801 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-24 17:00:35 +00:00
William S Fulton
6b2fe71e0e
Add Swig_diagnostic() for displaying file and line number messages to stdout
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11800 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-24 16:51:45 +00:00
William S Fulton
9bc7f3c676
remove warn.c - it isn't used
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-24 15:53:01 +00:00
William S Fulton
1e8fa8fee0
remove warn.c - it isn't used
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11798 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-24 15:50:03 +00:00
William S Fulton
6dad327ed3
Fix for %%javaexception and directors so that all the appropriate throws clauses are generated
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11797 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-23 01:05:17 +00:00
William S Fulton
97f959ddf0
Slight improvement to -debug-tmsearch and multi-argument typemaps
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11794 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-22 19:21:55 +00:00
William S Fulton
ac224e8570
-debug-tmsearch improvements and fixes. Also slightly more efficient typemap searches when using fully qualified names.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-21 01:08:53 +00:00
William S Fulton
d1ff2c6a8b
Add -debug-tmsearch option for debugging the typemap pattern matching rules
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11790 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-20 00:24:34 +00:00
William S Fulton
2e9624af94
Minor correction in a comment
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11789 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-19 11:47:05 +00:00
William S Fulton
9e2f8265b2
Fix C comment stripping when the comment contains *
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11788 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-19 11:23:20 +00:00
William S Fulton
28983db50f
variable name corrections for consistency to use typemap method instead of op
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11787 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-17 19:34:53 +00:00
William S Fulton
b86939aae5
Remove redundant code which is no longer being used since the template specialization improvements were added
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11784 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-15 07:08:53 +00:00
William S Fulton
9354467b87
remove Octave -api option and use new OCTAVE_API_VERSION_NUMBER instead
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11780 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-12 21:11:45 +00:00
William S Fulton
7bcc069982
Suppress incorrect 'unused value' bison warning
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-10 22:34:02 +00:00
Olly Betts
bfb09161f7
Eliminate "int error;" declaration from generated PHP director support code
...
if it isn't used. No change in behaviour, and the compiler will just optimise
away the unused variable, but it can cause an "unused variable" warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11776 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-10 11:52:29 +00:00
Olly Betts
02eb6a81d1
Fix handling of modulo operator (%) in constant expressions (SF#2818562).
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11774 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-04 05:46:31 +00:00
Olly Betts
bcda9644f1
Remove two commented out lines of code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11773 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-04 04:56:10 +00:00
William S Fulton
2bd190dbf1
Revert support for %extend and memberin typemaps added in swig-1.3.39. The memberin typemaps are ignored again for member variables within a %extend block. Documentation inconsistency reported by Torsten Landschoff.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11762 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-12-02 00:01:31 +00:00
William S Fulton
bf8ba3bf55
Fix generated quoting when using %javaconst(1)/%csconst(1) for static const char member variables.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-29 01:29:26 +00:00
William S Fulton
1dd50f5ea8
Fix %javaconst(1)/%csconst(1) for static const member variables to use the actual constant value if available
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-26 19:20:31 +00:00
William S Fulton
2a59a2e6a9
Improved C++ nested class support - nested typedef'd classes now parsed and treated as forward class declaration
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11756 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-23 23:02:01 +00:00
William S Fulton
43b6292681
Nested struct pretty print rewrite and fix. The wrappers for C nested structs are now generated in the same order as declared in the parsed code.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11755 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-18 23:59:10 +00:00
William S Fulton
aa6712e3f2
pretty print the nested structs generated as global structs
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11754 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-18 20:37:23 +00:00
William S Fulton
a9ccc5a866
Fix multiple declarations of nested structs (C code)
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11753 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-18 20:24:06 +00:00
William S Fulton
7cb4e902d5
Fix parsing of enum declaration and initialization
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11752 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-17 19:31:13 +00:00
William S Fulton
7fd36f5bd6
Fix parsing of struct declaration and initialization
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11750 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-17 18:45:53 +00:00
William S Fulton
0286f6d43e
Fix #1960977 - Syntax error parsing derived nested class declaration and member variable instance
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11748 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-15 00:36:22 +00:00
William S Fulton
7ae45bc020
Fix #2310483 - function pointer typedef within extern C block.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-11-14 15:55:23 +00:00