--- - branch: MAIN date: Fri Jun 14 18:41:30 UTC 2013 files: - new: '1.3' old: '1.2' path: pkgsrc/devel/swig2/Makefile pathrev: pkgsrc/devel/swig2/Makefile@1.3 type: modified - new: '1.3' old: '1.2' path: pkgsrc/devel/swig2/buildlink3.mk pathrev: pkgsrc/devel/swig2/buildlink3.mk@1.3 type: modified - new: '1.2' old: '1.1' path: pkgsrc/devel/swig2/PLIST pathrev: pkgsrc/devel/swig2/PLIST@1.2 type: modified - new: '1.2' old: '1.1' path: pkgsrc/devel/swig2/distinfo pathrev: pkgsrc/devel/swig2/distinfo@1.2 type: modified id: 20130614T184130Z.c2bbb6d609eba6b083728b80758cf453630d0db8 log: "Update to 2.0.10, based on the 2.0.9 package in wip provided by\nJason Bacon. \ Should make gnuradio find swig2.\n\nVersion 2.0.10 (27 May 2013)\n============================\n\n2013-05-25: wsfulton\n [Python] Fix Python 3 inconsistency when negative numbers are passed\n where a parameter expects an unsigned C type. An OverFlow error is\n now consistently thrown instead of a TypeError.\n\n2013-05-25: Artem Serebriyskiy\n SVN Patch ticket #338 - fixes to %attribute macros for template usage\n with %arg.\n\n2013-05-19: wsfulton\n Fix ccache-swig internal error bug due to premature file cleanup.\n\n Fixes SF bug 1319 which shows up as a failure in the ccache tests on\n Debian 64 bit Wheezy, possibly because ENABLE_ZLIB is defined.\n\n This is a corner case which will be hit when the maximum number of files\n in the cache is set to be quite low (-F option), resulting in a cache miss.\n\n2013-05-09: kwwette\n [Octave] Fix bugs in Octave module loading:\n - fix a memory leak in setting of global variables\n - install functions only once, to speed up module loads\n\n2013-04-28: gjanssens\n [Guile] Updates in guile module:\n - Add support for guile 2.0\n - Drop support for guile 1.6\n - Drop support for generating wrappers using guile's gh interface.\n All generated wrappers will use the scm interface from now on.\n - Deprecate -gh and -scm options. They are no longer needed.\n A warning will be issued when these options are still used.\n - Fix all tests and examples to have a successful travis test\n\n2013-04-18: wsfulton\n Apply Patch #36 from Jesus Lopez to add support for $descriptor() special variable macro expansion\n in fragments. For example:\n\n %fragment(\"nameDescriptor\", \"header\")\n \ %{\n static const char *nameDescriptor = \"$descriptor(Name)\";\n \ %}\n\n which will generate into the wrapper if the fragment is used:\n\n static const char *nameDescriptor = \"SWIGTYPE_Name\";\n\n2013-04-18: wsfulton\n Fix SF Bug #428 - Syntax error when preprocessor macros are defined inside of enum lists, such as:\n\n typedef enum {\n eZero = 0\n #define ONE 1\n } EFoo;\n\n The macros are silently ignored.\n\n2013-04-17: wsfulton\n [C#] Pull patch #34 from BrantKyser to fix smart pointers in conjuction with directors.\n\n2013-04-15: kwwette\n [Octave] Fix bugs in output of cleanup code.\n - Cleanup code is now written also after the \"fail:\" label, so it will be called if\n a SWIG_exception is raised by the wrapping function, consistent with other modules.\n - Octave module now also recognises the \"$cleanup\" special variable, if needed.\n\n2013-04-08: kwwette\n Add -MP option to SWIG for generating phony targets for all dependencies.\n - Prevents make from complaining if header files have been deleted before\n the dependency file has been updated.\n - Modelled on similar option in GCC.\n\n2013-04-09: olly\n\t [PHP] Add missing directorin typemap for char* and char[] which\n\t fixes director_string testcase failure.\n\n2013-04-05: wsfulton\n [Ruby] SF Bug #1292 - Runtime fixes for Proc changes in ruby-1.9 when using STL\n wrappers that override the default predicate, such as:\n\n %template(Map) std::map >;\n\n2013-04-05: wsfulton\n [Ruby] SF Bug #1159 - Correctly check rb_respond_to call return values to fix some\n further 1.9 problems with functors and use of Complex wrappers.\n\n2013-04-02: wsfulton\n \ [Ruby] Runtime fixes for std::complex wrappers for ruby-1.9 - new native Ruby complex numbers are used.\n\n2013-03-30: wsfulton\n [Ruby] Fix seg fault when using STL containers of generic Ruby types, GC_VALUE or LANGUAGE_OBJECT,\n \ on exit of the Ruby interpreter. More frequently observed in ruby-1.9.\n\n2013-03-29: wsfulton\n [Ruby] Fix delete_if (reject!) for the STL container wrappers which previously would\n sometimes seg fault or not work.\n\n2013-03-25: wsfulton\n [Python] Fix some undefined behaviour deleting slices in the STL containers.\n\n2013-03-19: wsfulton\n [C#, Java, D] Fix seg fault in SWIG using directors when class and virtual method names are\n the same except being in different namespaces when the %nspace feature is not being used.\n\n2013-02-19: kwwette\n Fix bug in SWIG's handling of qualified (e.g. const) variables of array type. Given the typedef\n a(7).q(volatile).double myarray // typedef volatile double[7] myarray;\n the type\n q(const).myarray \ // const myarray\n becomes\n a(7).q(const volatile).double // const volatile double[7]\n Previously, SwigType_typedef_resolve() produces the type\n q(const).a(7).q(volatile).double // non-sensical type\n which would never match %typemap declarations, whose types were parsed correctly.\n Add typemap_array_qualifiers.i to the test suite which checks for the correct behaviour.\n\n2013-02-18: wsfulton\n Deprecate typedef names used as constructor and destructor names in %extend. The real\n \ class/struct name should be used.\n\n typedef struct tagEStruct {\n int ivar;\n } EStruct;\n\n %extend tagEStruct {\n EStruct() // illegal name, should be tagEStruct()\n \ {\n EStruct *s = new EStruct();\n s->ivar = ivar0;\n return s;\n }\n ~EStruct() // illegal name, should be ~tagEStruct()\n {\n delete $self;\n }\n }\n\n For now these trigger a warning:\n\n extend_constructor_destructor.i:107: Warning 522: Use of an illegal constructor name 'EStruct' in\n %extend is deprecated, the constructor name should be 'tagEStruct'.\n extend_constructor_destructor.i:111: Warning 523: Use of an illegal destructor name 'EStruct' in\n %extend is deprecated, the destructor name should be 'tagEStruct'.\n\n These %extend destructor and constructor names were valid up to swig-2.0.4, however swig-2.0.5 ignored\n them altogether for C code as reported in SF bug #1306. The old behaviour of using them has been\n restored for now, but is officially deprecated. This does not apply to anonymously defined typedef\n \ classes/structs such as:\n\n typedef struct {...} X;\n\n2013-02-17: kwwette\n When generating functions provided by %extend, use \"(void)\" for no-argument functions\n instead of \"()\". This prevents warnings when compiling with \"gcc -Wstrict-prototypes\".\n\n2013-02-17: kwwette\n [Octave] Minor fix to autodoc generation: get the right type for functions returning structs.\n\n2013-02-15: wsfulton\n Deprecate typedef names used in %extend that are not the real class/struct name. For example:\n\n typedef struct StructBName {\n int myint;\n } StructB;\n\n %extend StructB {\n void method() {}\n }\n\n will now trigger a warning:\n\n swig_extend.i:19: Warning 326: Deprecated %extend name used - the struct name StructBName\n should be used instead of the typedef name StructB.\n\n This is only partially working anyway (the %extend only worked if placed after the class\n definition).\n\n2013-02-09: wsfulton\n [CFFI] Apply patch #22 - Fix missing package before &body\n\n2013-01-29: wsfulton\n [Java] Ensure 'javapackage' typemap is used as it stopped working from version 2.0.5.\n\n2013-01-28: wsfulton\n [Python] Apply patch SF #334 - Fix default value conversions \"TRUE\"->True, \"FALSE\"->False.\n\n2013-01-28: wsfulton\n [Java] Apply patch SF #335 - Truly ignore constructors in directors with %ignore.\n\n2013-01-18: Brant Kyser\n [Java] Patch #15 - Allow the use of the nspace feature without the -package commandline option.\n \ This works as long and the new jniclasspackage pragma is used to place the JNI intermediate class\n into a package and the nspace feature is used to place all exposed types into a package.\n\n2013-01-15: wsfulton\n Fix Visual Studio examples to work when SWIG is unzipped into a directory containing spaces.\n\n2013-01-15: wsfulton\n [C#] Fix cstype typemap lookup for member variables so that a fully qualified variable name\n matches. For example:\n %typemap(cstype) bool MVar::mvar \"MyBool\"\n struct MVar {\n bool mvar;\n };\n\n2013-01-11: Brant Kyser\n\t \ [Java, C#, D] SF Bug #1299 - Fix generated names for when %nspace is used on\n classes with the same name in two different namespaces.\n\n2013-01-11: Vladimir Kalinin\n\t [C#] Add support for csdirectorin 'pre', 'post' and 'terminator' attributes.\n\n2013-01-08: olly\n\t [PHP] Fix to work with a ZTS build of PHP (broken in 2.0.7).\n\n2013-01-07: olly\n\t Fix bashism in configure, introduced in 2.0.9.\n\n2013-01-06: wsfulton\n Pull patch #4 from ptomulik to fix SF Bug #1296 - Fix incorrect warning for virtual destructors\n in templates, such as:\n Warning 521: Illegal destructor name B< A >::~B(). Ignored.\n\n2013-01-05: wsfulton\n [Python] Pull patch #3 from ptomulik to fix SF Bug #1295 - standard exceptions as\n classes using the SWIG_STD_EXCEPTIONS_AS_CLASSES macro.\n\n2013-01-04: wsfulton\n [Java] Pull patch #2 from BrantKyser to fix SF Bug #1283 - fix smart pointers in conjuction\n with directors.\n\n2013-01-03: wsfulton\n [Java] Pull patch #1 from BrantKyser to fix SF Bug #1278 - fix directors and nspace feature when\n multilevel namespaces are used.\n\nVersion 2.0.9 (16 December 2012)\n================================\n\n2012-12-16: wsfulton\n Fix garbage line number / empty file name reporting for some missing\n '}' or ')' error messages.\n\n2012-12-15: kkaempf\n \ [Ruby] Apply patch 3530444, Class#methods and Class#constants returns array of\n symbols in Ruby 1.9+\n\n2012-12-14: kkaempf\n [Ruby] Apply patch 3530439 and finally replace all occurrences of the STR2CSTR() macro\n \ with StringValuePtr(). STR2CSTR was deprecated since years and got removed in Ruby 1.9\n\n2012-12-14: kkaempf\n [Ruby] Applied patches #3530442 and 3530443 to adapt compile and runtime include\n paths to match Ruby 1.9+\n\n2012-12-14: wsfulton\n [CFFI] Fix #3161614 - Some string constants are incorrect\n\n2012-12-13: wsfulton\n [CFFI] Fix #3529690 - Fix incorrect constant names.\n\n2012-12-12: drjoe\n\t [R] add fix to finalizer that was missed earlier\n\n2012-12-11: wsfulton\n [Python] Apply patch #3590522 - fully qualified package paths for Python 3 even if a module is in the\n same package.\n\n2012-12-08: wsfulton\n [Python] Bug #3563647 - PyInt_FromSize_t unavailable prior to Python 2.5 for unsigned int types.\n\n2012-12-08: wsfulton\n [Perl] Fix bug #3571361 - C++ comment in C wrappers.\n\n2012-12-07: wsfulton\n [C#] Apply patch #3571029 which adds missing director support for const unsigned long long &.\n\n2012-11-28: kwwette\n [Octave] Simplified module loading: now just the syntax\n \ $ example;\n is accepted, which loads functions globally but constants and variables relative to the current scope.\n This make module loading behaviour reliably consistent, and reduces problems when loading modules which\n depend on other modules which may not have been previously loaded.\n\n2012-11-27: wsfulton\n [cffi] Fix junk output when wrapping single character literal constants.\n\n2012-11-17: wsfulton\n [Tcl, Modula3] Add missing support for -outdir.\n\n2012-11-17: wsfulton\n Fix segfaults when using filename paths greater than 1024 characters in length.\n\n2012-11-14: wsfulton\n [ccache-swig] Apply patch #3586392 from Frederik Deweerdt to fix some error cases - incorrectly using\n memory after it has been deleted.\n\n2012-11-09: vzeitlin\n [Python] Fix overflow when passing values greater than LONG_MAX from Python 3 for parameters with unsigned long C type.\n\n2012-11-09: wsfulton\n Fix some feature matching issues for implicit destructors and implicit constructors and implicit\n copy constructors added with %copyctor. Previously a feature for these had to be fully qualified\n in order to match. Now the following will also match:\n\n \ %feature(\"xyz\") ~XXX();\n struct XXX {};\n\n2012-11-09: wsfulton\n Further consistency in named output typemap lookups for implicit constructors and destructors and\n implicit copy constructors added with %copyctor. Previously only the fully qualified name was being\n used, now the unqualified name will also be used. For example, previously:\n\n example.i:38: Searching for a suitable 'out' typemap for: void Space::More::~More\n Looking for: void Space::More::~More\n Looking for: void\n\n Now the unqualified name is also used:\n\n example.i:38: Searching for a suitable 'out' typemap for: void Space::More::~More\n Looking for: void Space::More::~More\n Looking for: void ~More\n Looking for: void\n\n2012-11-02: wsfulton\n Fix some subtle named output typemap lookup misses, the fully qualified name was not always being\n used for variables, for example:\n\n struct Glob {\n int MyVar;\n };\n\n Previously the search rules (as shown by -debug-tmsearch) for the getter wrapper were:\n\n example.i:44: Searching for a suitable 'out' typemap for: int MyVar\n Looking for: int MyVar\n Looking for: int\n\n Now the scope is named correctly:\n\n example.i:44: Searching for a suitable 'out' typemap for: int Glob::MyVar\n Looking for: int Glob::MyVar\n Looking for: int MyVar\n Looking for: int\n\n2012-10-26: wsfulton\n Fix director typemap searching so that a typemap specified with a name will be correctly matched. Previously\n the name was ignored during the typemap search. Applies to the following list of typemaps:\n directorout, csdirectorout, cstype, imtype, ctype, ddirectorout, dtype, gotype, jtype, jni, javadirectorout.\n\n2012-10-11: wsfulton\n Most of the special variables available for use in %exception are now also available for expansion in\n %extend blocks. These are: $name $symname $overname $decl $fulldecl $parentname $parentsymname, see docs\n \ on \"Class extension\" in SWIGPlus.html. Patch based on submission from Kris Thielemans.\n\n2012-10-10: wsfulton\n Additional new special variables in %exception are expanded as follows:\n $parentname - The parent class name (if any) for a method.\n $parentsymname - The target language parent class name (if any) for a method.\n\n2012-10-08: iant\n\t \ [Go] Generating Go code now requires using the -intgosize option to\n\t indicate the size of the 'int' type in Go. This is because the\n\t size of the type is changing from Go 1.0 to Go 1.1 for x86_64.\n\n2012-09-14: wsfulton\n\t Add new warning if the empty template instantiation is used as a base class, for example:\n\n \ template class Base {};\n %template() Base;\n class Derived : public Base {};\n\n gives the following warning instead of silently ignoring the base:\n\n cpp_inherit.i:52: Warning 401: Base class 'Base< int >' has no name as it is an empty template instantiated with '%template()'. Ignored.\n cpp_inherit.i:51: Warning 401: The %template directive must be written before 'Base< int >' is used as a base class and be declared with a name.\n\n2012-09-11: wsfulton\n\t [Java] Fix #3535304 - Direct use of a weak global reference in directors\n sometimes causing seg faults especially on Android.\n\n2012-09-06: wsfulton\n\t [Java] Fix (char *STRING, size_t LENGTH) typemaps to accept NULL string.\n\n2012-08-26: drjoe\n\t \ [R] make ExternalReference slot ref to contain reference\n\n2012-08-26: drjoe\n\t \ [R] fix Examples/Makefile to use C in $(CC) rather than $(CXX)\n" module: pkgsrc subject: 'CVS commit: pkgsrc/devel/swig2' unixtime: '1371235290' user: wiz