yast/yast-core — pull request #15 by jreidinger (2013-06-05 15:13:39+00:00)
Title: Y2r fixes

I agree that this is quite big pull request, but there is only five important parts as rest affect only xml serialization that is used by y2r.

1. there is ABI incompatible change that make setValue and value virtual. It is needed to implement variable accessing also in other bindings. https://github.com/yast/yast-core/commit/ccc8306e03c7d99d46dfb34c8a5e3b41d18a891e

2. Add to Wfm namespace ability to set its arguments. It is needed for client in other namespaces ( no namespace have it yet and ruby is first name ). When client called it gets arguments, but code ask WFM builtin for number arguments, so client must set to WFM its arguments. https://github.com/yast/yast-core/commit/e2c53b8a8cb6ff15fd14ab21c729eddb464c0f98

3. Bunch of fixes for System Component. System component is designed to allow run ycp code on target system ( e.g. in chroot ). Now only bootloader use it, so some nasty bugs and behavior not appear. Also do to different work-flow of ycp there is some memory leaks or incorrect pointer handling. And last but not least, properly namespace so there is no cloaking between original namespace and system one. https://github.com/yast/yast-core/commit/2081204ee2d49fdd413cbb86eb3b1ba513efadfa https://github.com/yast/yast-core/commit/0601548a46283ef8eecb8f03c5d6ce90d5da2c15 https://github.com/yast/yast-core/commit/3a7abe18b111e7a4a2ae5b6f230466f30ed08278 https://github.com/yast/yast-core/commit/ccd2a6d18482d6a988986ff2ee0d210491ff9482 https://github.com/yast/yast-core/commit/cd11ea04a25d2a6d924de3c6c41bb16dc3e9fa1a

4. Make StdIO Function consistent with rest of core. So when type is not specified, then do not force check of it. Otherwise it cause segfault. It helps bindings to dynamic languages that do not know exact type. https://github.com/yast/yast-core/commit/cd11ea04a25d2a6d924de3c6c41bb16dc3e9fa1a

5. Due to start up loading of all bindings there is now problem that ruby set locale to "", so it respect environment locale earlier then ycp is switched. So make parsing and serialization of ycp locale independent. https://github.com/yast/yast-core/commit/7dec40914b9968301001db262a6e92914b3495ae https://github.com/yast/yast-core/commit/074e84558a35bbee572c6c653a2c316659d488f6 https://github.com/yast/yast-core/commit/6b0c28a72b0a955f9641d7cd77e45964b0081e68 https://github.com/yast/yast-core/commit/e6c4a1c88a247b9de2a7daf89e2d46ef78200219