William S Fulton
1be936380f
S_ISDIR is defined for mingw gcc but not visual c++
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-05-24 06:02:11 +00:00
William S Fulton
163d15e2e3
remove debug printout
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11948 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-16 22:20:41 +00:00
William S Fulton
4f88d641af
Better handling of file paths containing multiple path separators. Fix recent regression incorrectly detecting a directory on Windows when the output directory is not the current directory.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11944 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-13 22:28:24 +00:00
William S Fulton
978dd1f48f
Windows portability fixes
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11925 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-08 07:35:06 +00:00
William S Fulton
1253657bb4
Add improved namespace support - the nspace feature, working for Java only at the moment.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-03-04 21:27:23 +00:00
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
207ba5ce39
Fix #1807329 - When Makefile dependencies are being generated using the -M family of options on Windows, the file paths have been corrected to use single backslashes rather than double backslashes as path separators.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11847 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-02-08 23:12:27 +00:00
William S Fulton
f112e4bac1
Fix #2933129 - typemaps not being found when the unary scope operator (::) is used to denote global scope
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11827 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-01-22 20:39:54 +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
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
Haoyu Bai
47b4825168
Merged revisions 11085-11086,11088-11089 via svnmerge from
...
https://swig.svn.sourceforge.net/svnroot/swig/branches/swig-2.0
........
r11085 | bhy | 2009-01-25 00:21:55 +0800 (Sun, 25 Jan 2009) | 2 lines
Fix const-correctness.
........
r11086 | bhy | 2009-01-25 02:08:50 +0800 (Sun, 25 Jan 2009) | 2 lines
Correct some function definition in header files, which implementation changed in previous commit caused mismatch.
........
r11088 | bhy | 2009-01-25 02:38:32 +0800 (Sun, 25 Jan 2009) | 1 line
minor fix and now SWIG is alive again
........
r11089 | bhy | 2009-01-25 06:07:07 +0800 (Sun, 25 Jan 2009) | 1 line
Correct some bug introduced in previous commits. Now SWIG is pretty good with C++ compiler.
........
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11097 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-30 10:27: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
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
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
a604f46593
Add the strip encoder patch from Anatoly Techtonik #2130016
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10896 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-01 22:52:26 +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
Olly Betts
0f5c628cfb
Fix mixed declarations and code so this file is valid C89.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9991 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-16 21:27:14 +00:00
William S Fulton
2c46b7832c
Strip C comments from the java typemaps when determining to use the premature garbage collection prevention parameter
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-10-12 21:31:22 +00:00
William S Fulton
3f0bbe1581
patch #1745739 - Compiler warning for BSD from Klaus Heinz
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9893 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-08-10 11:59:58 +00:00
Gonzalo Garramuno
4cd98d3865
Improved algorithm of renaming of methods with numbers at the end.
...
Fixed some const issues.
Improved report on overloaded function error.
Fixed some minor iterator potential problems.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-05-04 13:12:31 +00:00
Dave Beazley
ff41049b1c
Eliminated use of swigkeys.h/.c files.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9632 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-03 20:58:19 +00:00
Dave Beazley
c12550e4ad
API cleanup. Documentation
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-01-03 05:23:20 +00:00
Dave Beazley
7a826c8b6d
Changed Header keyword to Id for SVN
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-05 21:57:44 +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
1e19f11fdc
Use Strchr/strchr instead of Strstr/strstr when searching for a single
...
character.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9334 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-09-23 22:36:23 +00:00
Marcelo Matus
000eb5959e
comment fixes, from Olly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9051 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-12 19:34:01 +00:00
Marcelo Matus
97143647b6
add lowercamelcase encoder, from Olly
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9045 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-04-10 21:02:06 +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
Charlie Savage
7d6632b050
Reimplemented Swig_string_ucase(String *s) to take into account digits in names.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8675 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-02-02 09:02:11 +00:00
Matthias Köppe
d41b4531dc
New string encoding method, "schemify".
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8631 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-30 18:07:00 +00:00
Marcelo Matus
e236ab4584
fix several compiler warnings
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8531 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 22:58:49 +00:00
Marcelo Matus
dbe05fc50b
add initial regexp support based on the coptional rxspencer library. Active it using --with-rxspencer after installing the rxspencer library
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8470 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 00:32:21 +00:00
Marcelo Matus
bdbfc5d53a
add charlie's patch for MSC
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 03:35:32 +00:00
Marcelo Matus
521a5a4e2c
add charlie's patch for MSC
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 03:31:38 +00:00
Marcelo Matus
27db612065
add charlie's patch for MSC
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 03:30:31 +00:00
Marcelo Matus
e9b58ce02a
add charlie's patch for MSC
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 03:30:24 +00:00
Marcelo Matus
26cb634fc7
fix missing endif
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:39:57 +00:00
Charlie Savage
5db285b66b
Minor fix to Swig_string_ucase so that it doesn't output two__underscores in a row.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:36:06 +00:00
Marcelo Matus
52a50c6dc5
add firstlowercase encoder
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:24:54 +00:00
Marcelo Matus
dde9e85198
cosmetic and check for empty string in first_ucase
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 18:03:50 +00:00
Charlie Savage
e602db3d53
Added new method called Swig_string_first_ucase which capitalizes the first letter in a string. This is needed for the Ruby module to allow backwards compatibility with swig 1.2.7 and before generated interfaces.
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8409 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 05:50:57 +00:00
Marcelo Matus
16c4a594e7
add aliases for the 'case' encoders
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:38:44 +00:00
Marcelo Matus
0238da1420
fix the ctitle encoder to keep capital letters
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:06:31 +00:00
Marcelo Matus
fb20b43041
more fixes to utitle
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 21:09:58 +00:00
Marcelo Matus
a9137b3f7b
another fix to utitle
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:59:14 +00:00
Marcelo Matus
b960de36f3
fix first capital case in utitle
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 09:23:30 +00:00
Marcelo Matus
3b1fa61912
test(and fix) the utitle encoder
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:40:07 +00:00
Marcelo Matus
4c0a13cfb9
add the utitle encoder, the reverse of ctitle
...
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:16:36 +00:00