Commit graph

5,451 commits

Author SHA1 Message Date
Marcelo Matus
1754322e59 add debug prints and avoid to attach an empty typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8460 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 18:00:11 +00:00
Marcelo Matus
faec0c12fb long rule to match exactly const static variable with a value in the declaration
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 17:44:40 +00:00
Marcelo Matus
5601aff69c fix cast from double to long long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 09:18:58 +00:00
Charlie Savage
01597d58c1 Updated tests for constants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8457 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 09:02:54 +00:00
Marcelo Matus
43eaf119fe fix missing long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 08:44:46 +00:00
Marcelo Matus
faf5ee858f fix run test compile for the moment
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8455 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 08:26:35 +00:00
Charlie Savage
027c2822b8 Updated documentation on new autorename functionality.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8454 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 07:25:09 +00:00
Marcelo Matus
f62c92a5d4 add charlie's patch for MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8453 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 03:35:32 +00:00
Marcelo Matus
0ca87bb6f6 add charlie's patch for MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8452 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 03:31:38 +00:00
Marcelo Matus
26c3988b2f add charlie's patch for MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8451 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 03:30:31 +00:00
Marcelo Matus
d35b355f78 add charlie's patch for MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8450 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 03:30:24 +00:00
Marcelo Matus
52ff75eecd add guards for wrong inclusions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 02:10:15 +00:00
Marcelo Matus
fc67bdfa6d use include <> instead of "" for system files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 02:08:31 +00:00
Marcelo Matus
656dfe64ea fix system <> include, now the last push dir is not the first one to check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 02:03:03 +00:00
Marcelo Matus
0903ff0c86 fix inclusion path
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 01:09:27 +00:00
Charlie Savage
ca4e7fc8df New Ruby test case for checking renames, predicate methods, bang methods and constants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:50:49 +00:00
Charlie Savage
de0b9ba295 Changed rename check for constants to use %hasconsttype
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:49:54 +00:00
Marcelo Matus
ee2ca133bd fix missing endif
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8443 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:39:57 +00:00
Charlie Savage
c4a4392bd2 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@8442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:36:06 +00:00
Charlie Savage
723d385e36 Added support for Ruby bang methods. Bang methods end in exclamation points and indicate that the object being worked on will be modified in-place as opposed to being copied.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:25:48 +00:00
Charlie Savage
0f30bdd690 Changed -norename to -noautorename.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 22:32:43 +00:00
Charlie Savage
2d8f0d1d06 Changed spelling mistake in autorename command line option text, also changed text a bit to be more descriptive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 22:31:20 +00:00
Charlie Savage
a17805ce3e Added option to send to SWIG that controls whether the new rename mechanism for Ruby is used. By default it is turned off.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 22:12:40 +00:00
Marcelo Matus
1ff9efa648 silence warning with ruby + autorename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:26:36 +00:00
Marcelo Matus
60c5530b22 add firstlowercase encoder
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8436 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:24:54 +00:00
Marcelo Matus
59690474bf add more rename predicates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:57 +00:00
Marcelo Matus
137ab96746 use internal SWIG_exception_fail, let SWIG_exception as in 1.3.27
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:36 +00:00
Marcelo Matus
85e3bb1e86 fix extend constructor + default destructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:09 +00:00
Marcelo Matus
1813eec6ed add the -autorename/-noautorename option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:22:32 +00:00
Marcelo Matus
2290fb1fa9 varios error fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:21:52 +00:00
Matthias Köppe
ce0e5c5395 Add #include needed by some SWIG code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 13:36:48 +00:00
Matthias Köppe
280d183818 Add test suites for CLISP, CFFI, UFFI.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 13:36:28 +00:00
Matthias Köppe
7c7f5e5537 Add test suites for CLISP, CFFI, UFFI.
Check for CLISP binary.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 13:35:13 +00:00
Matthias Köppe
117037584f Don't use catch...throw in C mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 11:26:56 +00:00
Matthias Köppe
fdd0088a30 Use malloc instead of new in C mode.
Add #includes needed by some SWIG code.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 11:25:51 +00:00
Marcelo Matus
acee51f66a add %extern case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 01:25:09 +00:00
William S Fulton
2b805e684e correct some function declarations to match the standard - VC++ fails otherwise
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 00:20:37 +00:00
William S Fulton
6b512be7ce add tests for unsigned long long and long long overloading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:43:22 +00:00
Charlie Savage
915cf82197 Added SWIG_POINTER_EXCEPTION for backwards compatibility.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:43:12 +00:00
William S Fulton
f0a7faf347 modify overloaded long long functions for runtime testing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:42:03 +00:00
William S Fulton
4d5c0f7636 mods for VC++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:40:42 +00:00
William S Fulton
e734cd32ba use the file in the directory above instead - removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:37:50 +00:00
Marcelo Matus
8b2f2a9b42 quick fix for duplicate keys
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:07:15 +00:00
Charlie Savage
ce0ec6ba6c Undid change to check for nil object since it was not valid because it disallowed passing null pointers.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 22:27:44 +00:00
Charlie Savage
237d452aba Added check for nil object being passed to SWIG_AsCharPtrAndSize. If a nil object is passed in then an error is returned.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 21:52:13 +00:00
Marcelo Matus
54e7622a05 check value len
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 18:09:05 +00:00
Marcelo Matus
ef260c3451 add the ismember and hasvalue attributes and the corresponing %rename predicates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 18:04:59 +00:00
Marcelo Matus
668a0f5719 cosmetic and check for empty string in first_ucase
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8413 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 18:03:50 +00:00
Matthias Köppe
0a29273061 Fix last change.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 15:24:37 +00:00
Matthias Köppe
796e844fe0 Run Allegro CL testcases for C with the -cwrap option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 15:04:53 +00:00