Commit graph

5,265 commits

Author SHA1 Message Date
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
0c499a93cf add guards for wrong inclusions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8449 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 02:10:15 +00:00
Marcelo Matus
4c336ab5ac use include <> instead of "" for system files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8448 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 02:08:31 +00:00
Marcelo Matus
479d861dae 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/SWIG@8447 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 02:03:03 +00:00
Marcelo Matus
eafca75401 fix inclusion path
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8446 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 01:09:27 +00:00
Charlie Savage
e33f9e9b62 New Ruby test case for checking renames, predicate methods, bang methods and constants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:50:49 +00:00
Charlie Savage
1a4a4ed2f3 Changed rename check for constants to use %hasconsttype
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8444 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:49:54 +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
Charlie Savage
924a56a1aa 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/SWIG@8441 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 00:25:48 +00:00
Charlie Savage
46bb25e661 Changed -norename to -noautorename.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 22:32:43 +00:00
Charlie Savage
ce83e5d091 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/SWIG@8439 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 22:31:20 +00:00
Charlie Savage
9a15da5790 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/SWIG@8438 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 22:12:40 +00:00
Marcelo Matus
1f244c1398 silence warning with ruby + autorename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:26:36 +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
75867b03a9 add more rename predicates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8435 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:57 +00:00
Marcelo Matus
507a8184cc use internal SWIG_exception_fail, let SWIG_exception as in 1.3.27
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:36 +00:00
Marcelo Matus
290a7da24c fix extend constructor + default destructor
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8433 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:23:09 +00:00
Marcelo Matus
aadfeadad9 add the -autorename/-noautorename option
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:22:32 +00:00
Marcelo Matus
31c232499a varios error fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 21:21:52 +00:00
Matthias Köppe
4d50698ddf Add #include needed by some SWIG code.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8430 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 13:36:48 +00:00
Matthias Köppe
95f21258b3 Add test suites for CLISP, CFFI, UFFI.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8429 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 13:36:28 +00:00
Matthias Köppe
2d42771278 Add test suites for CLISP, CFFI, UFFI.
Check for CLISP binary.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8428 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 13:35:13 +00:00
Matthias Köppe
bec3b173a3 Don't use catch...throw in C mode.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8427 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 11:26:56 +00:00
Matthias Köppe
e9d380690b 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/SWIG@8426 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 11:25:51 +00:00
Marcelo Matus
04a2c4871d add %extern case
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8425 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 01:25:09 +00:00
William S Fulton
6abe1ccf2d correct some function declarations to match the standard - VC++ fails otherwise
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8424 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-14 00:20:37 +00:00
William S Fulton
3d716dc69e add tests for unsigned long long and long long overloading
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8423 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:43:22 +00:00
Charlie Savage
0d57e7af5b Added SWIG_POINTER_EXCEPTION for backwards compatibility.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8422 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:43:12 +00:00
William S Fulton
f51141b75e modify overloaded long long functions for runtime testing
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8421 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:42:03 +00:00
William S Fulton
8ba34a8f52 mods for VC++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:40:42 +00:00
William S Fulton
daa1c2f25f use the file in the directory above instead - removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:37:50 +00:00
Marcelo Matus
d45400879f quick fix for duplicate keys
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8418 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 23:07:15 +00:00
Charlie Savage
5ff6b71990 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/SWIG@8417 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 22:27:44 +00:00
Charlie Savage
231d2a5f7b 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/SWIG@8416 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 21:52:13 +00:00
Marcelo Matus
609d1e6a5c check value len
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 18:09:05 +00:00
Marcelo Matus
392799385f add the ismember and hasvalue attributes and the corresponing %rename predicates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8414 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 18:04:59 +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
Matthias Köppe
1683875e31 Fix last change.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8412 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 15:24:37 +00:00
Matthias Köppe
0e7d1a8796 Run Allegro CL testcases for C with the -cwrap option.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8411 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 15:04:53 +00:00
Matthias Köppe
be1d53a85d Add allegrocl_clean target.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8410 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 14:45:20 +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
Charlie Savage
b07505cc7b Fixed up checking for constants.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8408 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 01:49:29 +00:00
Marcelo Matus
d0aa24ef4d cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8407 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 01:08:10 +00:00
Charlie Savage
282a18a62a Use new camelcase,undercase,lowercase aliases.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:56:29 +00:00
Charlie Savage
692bb81190 Updated Ruby module to use the new %rename functionality.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:54:36 +00:00
Charlie Savage
f4d48d7bfc Moved constant renames from the c++ code to ruby.swg to reuse the new %rename functionality.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:51:49 +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
William S Fulton
b508290125 No need to filter exception specification warning now as they've been muffled in the few testcases that have exception specifications and SWIG no longer generates code with exception specifications
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 23:49:06 +00:00