Commit graph

1,280 commits

Author SHA1 Message Date
Marcelo Matus
146958ad78 add and extend missing/deleted docs for the pythonappend/pythonpreppend features and the new directive forms %pythonappend/%pythonpreppend
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 18:47:15 +00:00
Marcelo Matus
51f7ea18f6 add the 'str' method to cvar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 16:28:43 +00:00
William S Fulton
69cefbe92d swigwarn.swg is now autogenerated and so shouldn't be checked in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 22:44:08 +00:00
Marcelo Matus
ee17bdca78 fix escape sequence reported by Vladimir Menshakov
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 19:41:37 +00:00
Marcelo Matus
740ca6c1da fix error reported by William K. Foster about bad strings generating seg faults
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8549 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:32:37 +00:00
William S Fulton
99c337b3e4 Fix for VC++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:23:43 +00:00
William S Fulton
db2955f308 No need to handle vc++ differently for stdint.h.
It basically doesn't come with it, so these typemaps can never expect to work, but a later version will hopefully ship this header and there are versions available on the internet.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8546 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 21:51:19 +00:00
Marcelo Matus
8bbaa79ffe fix bad name, reported by Robin, and cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 17:51:53 +00:00
Mark Gossage
c413035b7c fixed mistake reported by William, caused by updating the lua.cxx
but not the lua.swg file


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8534 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 04:47:46 +00:00
William S Fulton
b83ac2646b Fix for typedef to void *
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8529 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 21:47:16 +00:00
Marcelo Matus
ce94984b71 fix errors for 32bit arch.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8523 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-23 00:33:19 +00:00
Marcelo Matus
6d586307a2 better solution for warning of perl+cygwin
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8521 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 21:04:57 +00:00
Marcelo Matus
5b3dd8d72f fix cygwin warning for perl
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8520 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 20:24:04 +00:00
Marcelo Matus
c7dca4dcab fix missing endif
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8517 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 17:58:13 +00:00
Marcelo Matus
0ee6a0446a more fixes to MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8515 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 07:00:32 +00:00
Marcelo Matus
eee527b8b8 add snprintf def for MSC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8514 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 06:55:26 +00:00
Marcelo Matus
7385a26ccd more on MSC and snprintf/strtoll/strtoull
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8513 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 04:48:11 +00:00
Marcelo Matus
11f69b8165 fixes for VC
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8511 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:48:55 +00:00
Marcelo Matus
38a72d8ad1 solve MSC include problem
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8509 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:02:38 +00:00
Marcelo Matus
22ed3ee374 solve unused var warning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8508 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-22 00:02:20 +00:00
Marcelo Matus
7065472c88 silence warnings with -O1 -Wall
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8499 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-21 01:03:37 +00:00
Marcelo Matus
a6e348b846 avoid cast list elements, add more debug info, add Rubin's multi-module 'mod'example
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8493 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 18:59:06 +00:00
Marcelo Matus
24542ed0cd fix runtime error reported by Robin Dunn, which also fix PyICU, and add debug mechanism for the Runtime System
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8492 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 07:58:01 +00:00
Marcelo Matus
4d3b731ca5 remove noblock=1 in the varin typemaps since Tcl could add some code before the variable declarations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8490 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-20 00:59:29 +00:00
Marcelo Matus
f3ffb41b62 add 'newfree' typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8486 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 07:55:48 +00:00
Marcelo Matus
f7578470a7 fix possible C errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8484 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:54:51 +00:00
Marcelo Matus
c4d06926a2 fix tcl C errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:53:32 +00:00
Marcelo Matus
9d50efa32e fix perl C errors
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8481 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 04:53:15 +00:00
John Lenz
be9bb96eea Fix a compile error when using void * in the test suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8477 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-19 03:16:01 +00:00
Marcelo Matus
5d4d9d2622 add macro for backward comp.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8476 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 21:43:55 +00:00
Charlie Savage
b5d900d9b9 Changed rename rules to include functions and change Enums to only capitalize the first letter.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8474 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-17 04:54:48 +00:00
Marcelo Matus
526be12c1e change the %rename predicates to use the prefix %$ and avoid clashings with other rename directives
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8469 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-16 23:27:11 +00:00
Charlie Savage
96c9b489b4 Updated renaming rules.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8467 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-16 10:46:08 +00:00
Marcelo Matus
e777cae676 add at least %not support for rename predicates
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8465 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 19:34:43 +00:00
Marcelo Matus
a91cb0755a add rename for member variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8464 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 19:19:22 +00:00
Marcelo Matus
676bb93334 add more predicates for rename
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 18:21:26 +00:00
Marcelo Matus
32ec869558 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/SWIG@8459 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 17:44:40 +00:00
Marcelo Matus
a032063785 fix cast from double to long long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8458 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 09:18:58 +00:00
Marcelo Matus
689a94c1f6 fix missing long
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8456 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-15 08:44:46 +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
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
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
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
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
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
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
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
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