Commit graph

5,591 commits

Author SHA1 Message Date
William S Fulton
dedfcfdb60 Fix test for std::string global and member variables being wrapped as strings by default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8600 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:44:58 +00:00
William S Fulton
128cc0d2ed Finally std::string global and member variables are wrapped as strings by default
No need to use the %apply const std::string& { std::string* } trick anymore


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8599 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:44:13 +00:00
William S Fulton
0a64cc1e41 Finally std::string global and member variables are wrapped as strings by default
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8598 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-29 00:42:25 +00:00
Marcelo Matus
2162bd9cbd fix memory leaks in test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8597 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 19:18:47 +00:00
Marcelo Matus
bd1b4511dc add more docs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8596 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 18:58:18 +00:00
Marcelo Matus
baefdc2e89 backward compatible definition of SWIG_excetion, we now just try to use the safer SWIG_exception_fail when needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8595 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 17:37:03 +00:00
Marcelo Matus
d2407fc6de add the SWIGUTL macro to identify a language using the Unified Typemap Library, and using it around
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8594 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 17:35:22 +00:00
Surendra Singhi
76ca56641e Frank Buss's fix for anon enums.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 14:07:54 +00:00
Marcelo Matus
0ce16c7de4 add doc for naturalvar use with classes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8592 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 09:05:30 +00:00
Marcelo Matus
183ca0b945 add more backward comp macros/fragments/methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8591 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 08:59:32 +00:00
Marcelo Matus
f8bc27f476 add more backward comp macros/fragments/methods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8590 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 08:48:48 +00:00
Marcelo Matus
1978d6e7e5 fix exception, use SWIG_fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8589 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 05:03:48 +00:00
Marcelo Matus
43a5a07593 Use append instead of printf
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8588 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 05:02:37 +00:00
Marcelo Matus
db51f00b52 add missing goto fail when needed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8587 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 04:14:57 +00:00
Marcelo Matus
a6c94ce3b2 fix duplicate goto fail
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8586 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 04:10:29 +00:00
Marcelo Matus
484b2670ad implement the 'allowexcept' feature for global variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:38:27 +00:00
Marcelo Matus
b8bf059066 set PyObject * out typemaps back to simple returns
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8584 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:38:05 +00:00
Marcelo Matus
5a42618968 add support for 'old' tuple output
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8583 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:26:11 +00:00
Marcelo Matus
c716bf093e remove 'hello'
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8582 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:24:48 +00:00
Marcelo Matus
427696bc65 implement the 'allowexcept' feature for global variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 03:11:47 +00:00
Marcelo Matus
1bb180523b implement the 'allowexcept' feature for global variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8580 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:41:48 +00:00
Marcelo Matus
7f327d7c46 add forward class to the classhash
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8579 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:40:47 +00:00
Marcelo Matus
79dc4cb64a implement the naturalvar feature for global vars in java and csharp, implement the 'allowexcept' feature for global variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8578 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:39:24 +00:00
Marcelo Matus
d9bd8fff41 implement the naturalvar feature for global vars in java and csharp
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8577 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:38:00 +00:00
Marcelo Matus
ccee08ce43 implement the 'allowexcept' feature for global variables
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8576 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 02:36:13 +00:00
Matthias Köppe
35aa28d221 Don't forget to close the "scmstubfile".
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8575 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-28 01:42:58 +00:00
William S Fulton
e13c82690e forgotten checkin - warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8574 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 23:22:27 +00:00
Marcelo Matus
809584928c 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@8573 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 18:47:15 +00:00
Marcelo Matus
f76880fc20 add the 'str' method to cvar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 16:28:43 +00:00
Jason Stewart
f663ab6310 perl test runner now properly catches STDERR
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8571 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 10:36:57 +00:00
Jason Stewart
e49b6f060c fixing old perl's to use Test::More
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-27 10:31:27 +00:00
William S Fulton
37a1625ecc simple #warning and #error tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8569 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-26 22:33:34 +00:00
William S Fulton
e231d01442 Update summary for 1.3.28
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8568 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-26 21:40:35 +00:00
William S Fulton
269c4b52e8 Fix typos and some explanations.
#error behaviour is back like it was in 1.3.27, so removed entry that turned default #error behaviour into #warning.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8567 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-26 21:35:16 +00:00
William S Fulton
76c329a2c2 Make default #error behaviour as expected instead of like #warning.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-26 21:33:15 +00:00
Marcelo Matus
fe0f479884 fix assert when deleting last_path, not needed anymore
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-26 20:58:19 +00:00
Marcelo Matus
028c3c127e fix and expand doc for %naturalvar
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-26 18:13:59 +00:00
Surendra Singhi
4a9458f928 Added CFFI.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8563 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-26 07:00:09 +00:00
Surendra Singhi
f5fdc0a436 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8562 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-26 06:56:38 +00:00
Mark Gossage
69bdecfcdc added my name to the README file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8561 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-26 05:19:06 +00:00
William S Fulton
9b34321bef Update for 1.3.28. The summary is no complete yet, I'm only half way through summarising the CHANGES.current file.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8560 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 22:55:53 +00:00
William S Fulton
995e2b908a update for 1.3.28
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8559 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 22:52:35 +00:00
William S Fulton
8abe53381d rules to autogenerate swigwarn.swg
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8558 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 22:44:53 +00:00
William S Fulton
55681e10b7 swigwarn.swg is now autogenerated and so shouldn't be checked in
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8557 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 22:44:08 +00:00
William S Fulton
d27dfe31e5 Minor mods getting ready for 1.3.28
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8556 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 22:41:22 +00:00
Marcelo Matus
ff5897d725 fix escape sequence reported by Vladimir Menshakov
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8555 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 19:41:37 +00:00
Marcelo Matus
0fbffb15df add docs about the new directive forms %ref/%unref for the old ref/unref features
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8554 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 19:07:28 +00:00
Surendra Singhi
c09e55e409 Removed a bug which was not allowing code for unions to be generated.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8553 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 15:04:24 +00:00
Surendra Singhi
efca43aaa7 Fixed the void* bug. Thanks to Matthias.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8552 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-25 12:40:05 +00:00
William S Fulton
d7750bf12f fix last commit for all langs
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8551 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-24 22:40:03 +00:00