Commit graph

5,396 commits

Author SHA1 Message Date
Charlie Savage
00c25d4174 Updated Ruby module to use the new %rename functionality.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:54:36 +00:00
Charlie Savage
62cb2b8e90 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@8404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:51:49 +00:00
Marcelo Matus
f8ee8a0e49 add aliases for the 'case' encoders
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:38:44 +00:00
Marcelo Matus
66817e5970 fix the ctitle encoder to keep capital letters
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-13 00:06:31 +00:00
William S Fulton
709a67707d 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@8401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 23:49:06 +00:00
William S Fulton
8d9b8dbfe5 muffle exception specification ignored warning (VC++). This is only for testcases that introduce exception specifications in the testcase case itself.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8400 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 23:43:16 +00:00
Charlie Savage
032bf49f28 Added %rename to change function and method names from CamelCase to lower_case_with_underscores.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 23:35:46 +00:00
William S Fulton
65620fb539 Choose SWIG exception specification override (%catches) instead of real exception specifications for code that goes into the wrappers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8398 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 23:01:54 +00:00
William S Fulton
a658cc52aa remove unnecessary exception specifications, thereby preventing Visual Studio from having epileptic warnings fits filling the screen with heaps of compete and utter rubbish because it doesn't handle exception specifications properly.
Marcelo, please check that this doesn't remove any generated catch handlers. I dont' feel up to chasing a million and one macros to be sure.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 22:36:04 +00:00
William S Fulton
c9b723e2d8 Clearer comments on what the test-suite targets do
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8396 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 21:13:54 +00:00
Marcelo Matus
bf2fef6438 add space for rename rules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 21:10:54 +00:00
Marcelo Matus
dd02494a88 last list rename rule added take precedence
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8394 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 21:10:26 +00:00
Marcelo Matus
5340de2a2e more fixes to utitle
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8393 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 21:09:58 +00:00
William S Fulton
52795939d7 some news
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8392 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 20:49:07 +00:00
Marcelo Matus
9c7d46c48c add missing '%' in front of #include
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 18:49:12 +00:00
Marcelo Matus
0b345e8546 add the -dump_parse_top and -dump_parse_modules
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 17:19:02 +00:00
Marcelo Matus
f86657bb71 more %rename predicates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8389 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 15:44:27 +00:00
Marcelo Matus
4f68626cf6 add predicates to %rename, new kind attribute to cdecl and the '|' operator in %rename's match
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8388 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 09:06:07 +00:00
Mark Gossage
10f0f87e57 updated CHANGES.current & small fix to lua.cxx
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8387 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 07:22:46 +00:00
Mark Gossage
dc50707875 updated CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8386 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 07:21:51 +00:00
Marcelo Matus
46b2008536 add the throws (...) typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 06:10:27 +00:00
Surendra Singhi
5f637015c2 Fixed a struct related bug. Reported by Frank Buss and Kilian.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 05:42:24 +00:00
Surendra Singhi
6042f0992d Fixed a typo reported by Brad Anderson.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 05:04:22 +00:00
Marcelo Matus
3f50cdc914 more centralization of swigkeys
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 00:41:13 +00:00
Marcelo Matus
f3f56ee734 add %rename predicates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8381 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-12 00:39:59 +00:00
Marcelo Matus
6d1e92ff1e another fix to utitle
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8380 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:59:14 +00:00
Marcelo Matus
f077a9b6d1 more examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8379 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:13:36 +00:00
Marcelo Matus
2474310a5e change runtime examples to run with old python versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8378 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:13:23 +00:00
Marcelo Matus
4fe0c9530d better throws(...) typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8377 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:12:34 +00:00
Marcelo Matus
00c8d50988 change runtime examples to run with old python versions
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8376 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:06:15 +00:00
Marcelo Matus
0969072b63 fix memory PyObject * typemaps to avoid memory leaks with iterators
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8375 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 23:05:12 +00:00
Marcelo Matus
88db03abb7 finally, fix the croak/Nullch issue
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8374 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 20:15:39 +00:00
Marcelo Matus
c049ae6902 fix the way a member is added to a class, and the class node is constructed, so it can be properly matched with the match=class predicate in the %rename directive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8373 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 20:14:35 +00:00
Marcelo Matus
2f69e0bf33 add functional header for std::less
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8372 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 16:47:51 +00:00
Marcelo Matus
a9e1d15913 finally, fix the croak/Nullch issue
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8371 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 15:56:57 +00:00
Marcelo Matus
b8dcea5c11 fix first capital case in utitle
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8370 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 09:23:30 +00:00
Marcelo Matus
98a0beb245 add info about %catches, while we define if we need a better name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8369 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 02:03:37 +00:00
Marcelo Matus
8f10a5ba9d clarify in the code what is the catch list and the throw list, which don't have to be the same, and don't modify the throws attribute since it should be inmutable (for xml and others)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8368 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 01:34:06 +00:00
Marcelo Matus
985201ddec fix problem introduced by notmatch, extra not
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8367 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-11 01:02:57 +00:00
William S Fulton
e883ef6a67 type correction
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:48:55 +00:00
William S Fulton
a8d7fb3955 Visual Studio fix for 'operator or' and workaround for binary and unary operator- confusion
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8365 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:48:08 +00:00
Marcelo Matus
7f05256bb7 test(and fix) the utitle encoder
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8364 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:40:07 +00:00
William S Fulton
adc049d591 Fix dodgy code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8363 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:25:40 +00:00
William S Fulton
f65c3b7386 Silence visual studio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8362 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:24:57 +00:00
William S Fulton
bbaf3f1233 Fix so that C++ code is not generated for C wrappers
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8361 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:22:34 +00:00
William S Fulton
4199849c63 Fix to compile under visual studio which has a limit on string lengths
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8360 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:20:58 +00:00
William S Fulton
8bf04dad3f Visual Studio warning fix
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8359 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:20:22 +00:00
William S Fulton
ed8dc5198f warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:19:30 +00:00
Marcelo Matus
bc39db5341 change the %catchs name to %catches
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8357 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:17:15 +00:00
Marcelo Matus
a9769137ed add the utitle encoder, the reverse of ctitle
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8356 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-10 23:16:36 +00:00