Branch: refs/heads/master
Home: https://github.com/yast/yast-perl-bindings
Commit: 1e399b4884aed768a49c0b9465be4e454401c47f
https://github.com/yast/yast-perl-bindings/commit/1e399b4884aed768a49c0b9465...
Author: Martin Vidner
Date: 2013-07-17 (Wed, 17 Jul 2013)
Changed paths:
M VERSION
M package/yast2-perl-bindings.changes
M src/YPerl.cc
M src/YPerl.h
M src/YPerlNamespace.cc
Log Message:
-----------
Fix type conversion for parameters passed by reference (gh#yast/ycp-killer#486)
https://github.com/yast/ycp-killer/pull/486
When returning from a Perl function, if some arguments were passed
by reference we must copy them across the language barrier,
and use the correct YCP type to convert the weakly typed Perl
values.
The code used to look at the type of the referenced YCP variable,
which is wrong in case it is actually a proxy for a Ruby variable:
a parameter of type list<integer>& pointed to a list<integer> YCP
variable but only to a list<any> Ruby variable. Therefore the value
from Perl came out as list<string>.
The fix is to use the formal parameters of the function.
Commit: b63dda2ca6228c35455e1d5b7e3e6cfb3743c372
https://github.com/yast/yast-perl-bindings/commit/b63dda2ca6228c35455e1d5b7e...
Author: Martin Vidner
Date: 2013-07-17 (Wed, 17 Jul 2013)
Changed paths:
M src/Makefile.am
M src/YPerl.cc
Log Message:
-----------
Fixed some gcc and Automake warnings.
Commit: 52f80281721128666c4de5b1f420850d45e8f9c1
https://github.com/yast/yast-perl-bindings/commit/52f80281721128666c4de5b1f4...
Author: Martin Vidner
Date: 2013-07-18 (Thu, 18 Jul 2013)
Changed paths:
M VERSION
M package/yast2-perl-bindings.changes
M src/Makefile.am
M src/YPerl.cc
M src/YPerl.h
M src/YPerlNamespace.cc
Log Message:
-----------
Merge pull request #8 from mvidner/master
Fix type conversion for parameters passed by reference (yast/ycp-killer#486)
Compare: https://github.com/yast/yast-perl-bindings/compare/ce7c6adcce81...52f8028172...