swig/Lib
Kris Thielemans a495b5a985 Remove SwigPyObject_print and SwigPyObject_str, and make the generated wrapper use the default python implementations, which will fall back to repr (for -builtin option).
Advantages:
- it avoids the swig user having to jump through hoops to get print to
  work as expected when redefining repr/str slots.
- typing the name of a variable on the python prompt now prints the
  result of a (possibly redefined) repr, without the swig user having to
do any extra work.
- when redefining repr, the swig user doesn't necessarily have to
  redefine str as it will call the redefined repr
- the behaviour is exactly the same as without the -builtin option while
  requiring no extra work by the user (aside from adding the
%feature("python:slot...) statements of course)
- the patch simplifies pyrun.swg a tiny bit.

Disadvantage:
- default str() will give different (but clearer?) output on swigged
  classes compared to unpatched swig

SF Bug #326
2013-08-07 20:22:03 +01:00
..
allegrocl std::string typemap modifications so they can be used with %apply for other string classes 2012-05-26 06:33:49 +00:00
cffi CFFI - Fix missing package before &body - patch #22 2013-02-09 17:23:16 +00:00
chicken Fix for gcc warning -Wunused-value without triggering -Wunused-parameter 2012-09-07 06:06:00 +00:00
clisp SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
csharp Apply patch #3571029 which adds missing director support for const unsigned long long &. 2012-12-09 20:49:28 +00:00
d std::string typemap modifications so they can be used with %apply for other string classes 2012-05-26 06:33:49 +00:00
gcj SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
go Define uintgo for the benefit of Go .swig files. 2012-10-31 03:41:10 +00:00
guile Simplify and improve Guile FILE * in typemap 2013-05-16 19:21:59 +01:00
java Fix typecheck OUTPUT typemaps for Java 2013-04-10 18:37:26 +01:00
lua Fix comment typos in Lua typemaps 2012-05-28 18:32:24 +00:00
modula3 Change typemap matching rules for the default type (SWIGTYPE) to follow template partial specialization type deduction. Fixes some containers of const pointers. SWIGTYPE*& typemps removed and replaced with SWIGTYPE *const&. 2010-04-01 18:26:37 +00:00
mzscheme Drop guilegh interface 2013-04-28 22:06:24 +02:00
ocaml Fix for gcc warning -Wunused-value without triggering -Wunused-parameter 2012-09-07 06:06:00 +00:00
octave Fix for missing C++ code in std::multimap wrappers. 2013-08-06 07:02:49 +01:00
perl5 Perl - Fix C++ comment in C wrappers. 2012-12-09 17:47:12 +00:00
php [PHP] Fix SWIG_ZTS_ConvertResourcePtr() not to dereference NULL 2013-06-04 12:53:27 +12:00
pike Pike - a few updates to get Pike 7.8 running most of the examples 2013-04-20 02:28:48 +01:00
python Remove SwigPyObject_print and SwigPyObject_str, and make the generated wrapper use the default python implementations, which will fall back to repr (for -builtin option). 2013-08-07 20:22:03 +01:00
r change to allow file SEXP return values 2013-07-14 20:28:17 +08:00
ruby Fix for missing C++ code in std::multimap wrappers. 2013-08-06 07:02:49 +01:00
std Copied std::pair<> fragment from Lib/std/std_map.i into Lib/std/std_multimap.i. This fixes an error when a std::multimap template is wrapped by itself. 2013-07-25 18:23:45 +01:00
tcl Fix some language's std::map wrappers to recognise difference_type, size_type, key_type and mapped_type. 2012-05-15 19:51:06 +00:00
typemaps Add test case for attributes with moderately complex templates 2013-05-25 00:44:36 +01:00
uffi SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
xml delete the perl5 typemaps, ignored here 2006-01-05 19:34:51 +00:00
allkw.swg Added support for the D programming languge. 2010-11-18 00:24:02 +00:00
attribute.i Fix %arg in Lib/attribute.i 2013-05-25 00:37:57 +01:00
carrays.i Fix constructors in named typedef class declarations 2011-08-25 19:27:38 +00:00
cdata.i Fix deprecation warnings for test suite under guile 2.0 2013-04-28 22:06:24 +02:00
cmalloc.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
constraints.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
cpointer.i Remove warning: 'self' is a ruby keyword, renaming to 'C_self' since improving autodoc for Ruby 2011-12-21 22:01:27 +00:00
cstring.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
cwstring.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
exception.i Fix deprecation warnings for test suite under guile 2.0 2013-04-28 22:06:24 +02:00
intrusive_ptr.i Convert to unix fileformat 2013-01-12 16:54:37 +00:00
inttypes.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
linkruntime.c fix macro issue reported by Vladimir Menshakov 2006-04-10 19:00:44 +00:00
math.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
pointer.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
runtime.swg fix VC++ warning 2005-09-29 13:17:05 +00:00
shared_ptr.i Add std_shared_ptr.i and document shared_ptr library 2010-06-01 19:03:55 +00:00
std_except.i Added support for the D programming languge. 2010-11-18 00:24:02 +00:00
stdint.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
stl.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
swig.swg Go back to using free/malloc rather than realloc as may be slower 2012-04-17 07:02:15 +00:00
swigarch.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
swigerrors.swg add the null reference error 2005-12-27 22:01:39 +00:00
swiginit.swg Fix comment typo (interpeters) 2013-07-02 12:29:28 +12:00
swiglabels.swg Suppress unused methods warning for VC++ 2008-06-22 22:12:43 +00:00
swigrun.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
swigrun.swg SWIG_TypeCompare was not working as commented - return values were 0,1 and not 1,0,-1. Although undocumented and not used anywhere within SWIG, it has been replaced with SWIG_TypeCmp to work as commented. 2013-03-04 07:32:40 +00:00
swigwarnings.swg Fix a few typos. 2008-05-19 20:23:50 +00:00
wchar.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00
windows.i SWIG license change - The Examples and Lib move to a very permissive license in the LICENSE file, removing the BSD license restrictions as agreed by committers since it was inadvertently introduced. Remove some examples where the impact of the license change is not clear. 2010-02-27 23:26:02 +00:00