Branch: refs/heads/master
Home: https://github.com/yast/yast-core
Commit: ccc8306e03c7d99d46dfb34c8a5e3b41d18a891e
https://github.com/yast/yast-core/commit/ccc8306e03c7d99d46dfb34c8a5e3b41d18...
Author: Josef Reidinger
Date: 2013-03-01 (Fri, 01 Mar 2013)
Changed paths:
M liby2/src/include/y2/SymbolEntry.h
Log Message:
-----------
make setValue and value method virtual to allow bindings to define their own implementation of symbol like Variable symbol for exported variables
Commit: bf033bf074c7043bf567205d79fe2eeb7f83068e
https://github.com/yast/yast-core/commit/bf033bf074c7043bf567205d79fe2eeb7f8...
Author: Josef Reidinger
Date: 2013-03-20 (Wed, 20 Mar 2013)
Changed paths:
M libycp/src/YExpression.cc
Log Message:
-----------
Add to variable also its type.
It is especially important for reference to function in different module which
doesn't have its signature in symbol table in XML.
Commit: 805a56a3f216281369e0d319aded11583c65f9f5
https://github.com/yast/yast-core/commit/805a56a3f216281369e0d319aded11583c6...
Author: Josef Reidinger
Date: 2013-03-25 (Mon, 25 Mar 2013)
Changed paths:
M libycp/src/YExpression.cc
Log Message:
-----------
Add also category of called symbol to recognize reference call
Commit: fcd05a1dd8c09389303af6c095faaa6ec7b904e4
https://github.com/yast/yast-core/commit/fcd05a1dd8c09389303af6c095faaa6ec7b...
Author: Josef Reidinger
Date: 2013-03-26 (Tue, 26 Mar 2013)
Changed paths:
M liby2/src/include/y2/SymbolEntry.h
Log Message:
-----------
Merge branch 'allow_se_override' into y2r_fixes
Commit: 769f65dc8e33c429656123dd7d8cf470665d6d65
https://github.com/yast/yast-core/commit/769f65dc8e33c429656123dd7d8cf470665...
Author: Josef Reidinger
Date: 2013-03-27 (Wed, 27 Mar 2013)
Changed paths:
M libycp/src/Xmlcode.cc
Log Message:
-----------
properly xmlify whitespaces
Commit: 3551551f0f2ea00074b435141ff67b330a31b1e5
https://github.com/yast/yast-core/commit/3551551f0f2ea00074b435141ff67b330a3...
Author: Josef Reidinger
Date: 2013-04-10 (Wed, 10 Apr 2013)
Changed paths:
M libycp/src/YBlock.cc
Log Message:
-----------
fix switch body to xml
Commit: 65a4619d196978995f7cc8407db437a5c357a113
https://github.com/yast/yast-core/commit/65a4619d196978995f7cc8407db437a5c35...
Author: Josef Reidinger
Date: 2013-04-18 (Thu, 18 Apr 2013)
Changed paths:
M libycp/src/YBlock.cc
Log Message:
-----------
properly print to xml multi-cases
Commit: 720f906966143c7c50aaa7d12e36f2a8b35e82fc
https://github.com/yast/yast-core/commit/720f906966143c7c50aaa7d12e36f2a8b35...
Author: Josef Reidinger
Date: 2013-05-02 (Thu, 02 May 2013)
Changed paths:
M libycp/src/Type.cc
Log Message:
-----------
Fix type matching for functionType so return wildcard is properly matched
Problem here is that match is not simmetric as source can match against
wildcards but not vica versa. In function it is more tricky. Previous
implementation take arguments and return value same way, but that cause problem
with matching function like any(boolean) to integer(any) that actually match
(because you want pass boolean, that is fine and want anything, so also integer
is fine), but old matching alghorhytm incorrectly mark it as unmatched.
Commit: 0cafd21d7873c98f1b6f807985106af58eeca9cc
https://github.com/yast/yast-core/commit/0cafd21d7873c98f1b6f807985106af58ee...
Author: Josef Reidinger
Date: 2013-05-02 (Thu, 02 May 2013)
Changed paths:
M libycp/src/YExpression.cc
Log Message:
-----------
add to call information about type as it helps to recognize passing by reference
Commit: 07338825c088334abbd964b214818994747f4044
https://github.com/yast/yast-core/commit/07338825c088334abbd964b214818994747...
Author: Josef Reidinger
Date: 2013-05-02 (Thu, 02 May 2013)
Changed paths:
M libycp/src/YExpression.cc
Log Message:
-----------
fix previous commit to write proper type string
Commit: b9ad0273cd8ab0545e7c9e004cc144d763d2bd46
https://github.com/yast/yast-core/commit/b9ad0273cd8ab0545e7c9e004cc144d763d...
Author: Josef Reidinger
Date: 2013-05-03 (Fri, 03 May 2013)
Changed paths:
M libycp/src/YExpression.cc
Log Message:
-----------
create proper xml
Commit: 726050c881311f72cd144bc990db0c574683e449
https://github.com/yast/yast-core/commit/726050c881311f72cd144bc990db0c57468...
Author: Josef Reidinger
Date: 2013-05-07 (Tue, 07 May 2013)
Changed paths:
M libycp/src/YExpression.cc
Log Message:
-----------
fix builtin to xml to expect more then one value as in case of reduce with two inputs
Commit: e2c53b8a8cb6ff15fd14ab21c729eddb464c0f98
https://github.com/yast/yast-core/commit/e2c53b8a8cb6ff15fd14ab21c729eddb464...
Author: Josef Reidinger
Date: 2013-05-09 (Thu, 09 May 2013)
Changed paths:
M wfm/src/Y2WFMComponent.cc
M wfm/src/Y2WFMComponent.h
Log Message:
-----------
Add setter for WFM::Args as other client component need to set it so their builtins WFM::Args works
Commit: ddea983ade5c2af7b1b3c5152dfc8c05984d3447
https://github.com/yast/yast-core/commit/ddea983ade5c2af7b1b3c5152dfc8c05984...
Author: Josef Reidinger
Date: 2013-05-22 (Wed, 22 May 2013)
Changed paths:
M libycp/src/YExpression.cc
M libycp/src/YStatement.cc
M libycp/src/YSymbolEntry.cc
Log Message:
-----------
unify namespace attribute in XML
Commit: 2081204ee2d49fdd413cbb86eb3b1ba513efadfa
https://github.com/yast/yast-core/commit/2081204ee2d49fdd413cbb86eb3b1ba513e...
Author: Josef Reidinger
Date: 2013-05-22 (Wed, 22 May 2013)
Changed paths:
M wfm/src/Y2SystemNamespace.cc
Log Message:
-----------
Use proper name of namespace including System:: prefix as in ycp is also written System::local_ns::method
Commit: 0601548a46283ef8eecb8f03c5d6ce90d5da2c15
https://github.com/yast/yast-core/commit/0601548a46283ef8eecb8f03c5d6ce90d5d...
Author: Josef Reidinger
Date: 2013-05-22 (Wed, 22 May 2013)
Changed paths:
M wfm/src/Y2SystemNamespace.cc
Log Message:
-----------
add more logging related to changing system namespaces
Commit: 3a7abe18b111e7a4a2ae5b6f230466f30ed08278
https://github.com/yast/yast-core/commit/3a7abe18b111e7a4a2ae5b6f230466f30ed...
Author: Josef Reidinger
Date: 2013-05-22 (Wed, 22 May 2013)
Changed paths:
M wfm/src/Y2WFMComponent.cc
Log Message:
-----------
fix multiple import of same namespace
Commit: ccd2a6d18482d6a988986ff2ee0d210491ff9482
https://github.com/yast/yast-core/commit/ccd2a6d18482d6a988986ff2ee0d210491f...
Author: Josef Reidinger
Date: 2013-05-23 (Thu, 23 May 2013)
Changed paths:
M wfm/src/Y2SystemFunction.cc
M wfm/src/Y2SystemFunction.h
M wfm/src/Y2SystemNamespace.cc
M wfm/src/Y2SystemNamespace.h
M wfm/src/Y2WFMComponent.cc
Log Message:
-----------
Implement unregister of system functions
It is needed as due to Y2Namespace documentation after createFunction caller
can immediatelly destroy Y2Function, but Y2SystemNamespace try to switch it even
if it is destroyed. Such action lead to segfault.
Commit: cd11ea04a25d2a6d924de3c6c41bb16dc3e9fa1a
https://github.com/yast/yast-core/commit/cd11ea04a25d2a6d924de3c6c41bb16dc3e...
Author: Josef Reidinger
Date: 2013-05-23 (Thu, 23 May 2013)
Changed paths:
M wfm/src/Y2SystemFunction.cc
Log Message:
-----------
fix memory leaks in SystemFunctions
Commit: fb63927925f0e612faba28730ec6fac088630bab
https://github.com/yast/yast-core/commit/fb63927925f0e612faba28730ec6fac0886...
Author: Josef Reidinger
Date: 2013-05-23 (Thu, 23 May 2013)
Changed paths:
M wfm/src/Y2StdioFunction.cc
M wfm/src/Y2StdioFunction.h
Log Message:
-----------
Fix Stdio Function to allow call of function without specified type
This is needed for components and bindings that do not require explicit type
of function paramaters
Commit: 7dec40914b9968301001db262a6e92914b3495ae
https://github.com/yast/yast-core/commit/7dec40914b9968301001db262a6e92914b3...
Author: Josef Reidinger
Date: 2013-05-27 (Mon, 27 May 2013)
Changed paths:
M libycp/src/scanner.ll
Log Message:
-----------
ensure that float parsing is locale independent
Commit: 074e84558a35bbee572c6c653a2c316659d488f6
https://github.com/yast/yast-core/commit/074e84558a35bbee572c6c653a2c316659d...
Author: Josef Reidinger
Date: 2013-05-27 (Mon, 27 May 2013)
Changed paths:
M libycp/src/scanner.ll
Log Message:
-----------
make last fix (locale used for float parsing) thread aware
Commit: 6b0c28a72b0a955f9641d7cd77e45964b0081e68
https://github.com/yast/yast-core/commit/6b0c28a72b0a955f9641d7cd77e45964b00...
Author: Josef Reidinger
Date: 2013-05-30 (Thu, 30 May 2013)
Changed paths:
M libycp/src/Bytecode.cc
M libycp/src/Xmlcode.cc
Log Message:
-----------
ensure that C locale is used to write code of ycp or its xml serialization
Commit: e6c4a1c88a247b9de2a7daf89e2d46ef78200219
https://github.com/yast/yast-core/commit/e6c4a1c88a247b9de2a7daf89e2d46ef782...
Author: Josef Reidinger
Date: 2013-06-05 (Wed, 05 Jun 2013)
Changed paths:
M libycp/src/YCPFloat.cc
Log Message:
-----------
Ensure that float localization is not affected by set locale
It preserve old behavior that float '1000' is print as '1000.' and
float '11000' is print as '11000'.
Commit: b56263eaa09b6fdda4bac5c2c98b5c441ae65896
https://github.com/yast/yast-core/commit/b56263eaa09b6fdda4bac5c2c98b5c441ae...
Author: Josef Reidinger
Date: 2013-06-06 (Thu, 06 Jun 2013)
Changed paths:
M libycp/src/Bytecode.cc
M libycp/src/Xmlcode.cc
M libycp/src/YCPFloat.cc
Log Message:
-----------
use locale::classic() instead of locale(C) (thanks to @aschnell)
Commit: 25ccbc5609a39ac5de25de7e21cc0dbee207f88e
https://github.com/yast/yast-core/commit/25ccbc5609a39ac5de25de7e21cc0dbee20...
Author: Josef Reidinger
Date: 2013-06-06 (Thu, 06 Jun 2013)
Changed paths:
M wfm/src/Y2StdioFunction.cc
M wfm/src/Y2SystemFunction.cc
Log Message:
-----------
improve C++ code (thanks to @aschnell)
Commit: e6b19a8265b28c5fc57cf9bf2505717e5feef1f2
https://github.com/yast/yast-core/commit/e6b19a8265b28c5fc57cf9bf2505717e5fe...
Author: Josef Reidinger
Date: 2013-06-06 (Thu, 06 Jun 2013)
Changed paths:
M liby2/src/include/y2/Y2ComponentCreator.h
Log Message:
-----------
make clear who own component created by component creator
Commit: b4b0ba32cc01f0abecad908130a4e9fdb572522c
https://github.com/yast/yast-core/commit/b4b0ba32cc01f0abecad908130a4e9fdb57...
Author: Josef Reidinger
Date: 2013-06-06 (Thu, 06 Jun 2013)
Changed paths:
M libscr/src/include/scr/Y2CCAgentComponent.h
Log Message:
-----------
fix memory leak created by agent component creator template
Commit: 53fcabedfd61635f8a844ce5edbc792f48eaa895
https://github.com/yast/yast-core/commit/53fcabedfd61635f8a844ce5edbc792f48e...
Author: Josef Reidinger
Date: 2013-06-06 (Thu, 06 Jun 2013)
Changed paths:
M libycp/src/StaticDeclaration.cc
Log Message:
-----------
fix memory leak in StaticDeclaration
Commit: de8a658b3fa2b3d876f8d53cf6ff277d82fb6b53
https://github.com/yast/yast-core/commit/de8a658b3fa2b3d876f8d53cf6ff277d82f...
Author: Josef Reidinger
Date: 2013-06-06 (Thu, 06 Jun 2013)
Changed paths:
M liby2/src/Y2PluginComponent.cc
M scr/src/SCRSubAgent.cc
Log Message:
-----------
As result of make clear who owns created component make consistent its usage and deallocation
Commit: fa8392f62a1b4886711d6f2ce5a16dfce20c10a8
https://github.com/yast/yast-core/commit/fa8392f62a1b4886711d6f2ce5a16dfce20...
Author: Josef Reidinger
Date: 2013-06-06 (Thu, 06 Jun 2013)
Changed paths:
M libycp/src/StaticDeclaration.cc
Log Message:
-----------
remove more memory leaks in StaticDeclaration. Import store it to static attribute allways
Commit: 0739fbad303428c6e18d272e9a3aab8558faa9e8
https://github.com/yast/yast-core/commit/0739fbad303428c6e18d272e9a3aab8558f...
Author: Josef Reidinger
Date: 2013-06-06 (Thu, 06 Jun 2013)
Changed paths:
M liby2/src/Y2CCPlugin.cc
M liby2/src/include/y2/Y2CCPlugin.h
Log Message:
-----------
fix memory leak during creating component in Plugin component creator
Commit: f2b1e08f2271e8f97424db9ea6952e1da66b8a4b
https://github.com/yast/yast-core/commit/f2b1e08f2271e8f97424db9ea6952e1da66...
Author: Josef Reidinger
Date: 2013-06-07 (Fri, 07 Jun 2013)
Changed paths:
M wfm/src/Y2WFMComponent.h
Log Message:
-----------
add documentation for WFM SetArgs method.
Commit: 70dab5c2e8c7fe54c94acba9e957f8e86dc2a2aa
https://github.com/yast/yast-core/commit/70dab5c2e8c7fe54c94acba9e957f8e86dc...
Author: Josef Reidinger
Date: 2013-06-07 (Fri, 07 Jun 2013)
Changed paths:
M wfm/src/Y2StdioFunction.h
M wfm/src/Y2SystemNamespace.h
Log Message:
-----------
add documentation how is related StdioFunction and SystemFunction
Commit: 2ac9320c66bbd4409561a0931c583a5b9cd4de14
https://github.com/yast/yast-core/commit/2ac9320c66bbd4409561a0931c583a5b9cd...
Author: Josef Reidinger
Date: 2013-06-07 (Fri, 07 Jun 2013)
Changed paths:
M libycp/src/scanner.ll
Log Message:
-----------
use locale::classic in one forgotten case ( thanks to @mvidner)
Commit: 62e113266d278bce21341b54f67df6d278158d04
https://github.com/yast/yast-core/commit/62e113266d278bce21341b54f67df6d2781...
Author: Josef Reidinger
Date: 2013-06-07 (Fri, 07 Jun 2013)
Changed paths:
M package/yast2-core.changes
Log Message:
-----------
bump version and changes
Commit: 5455bd4fb45deec62cf784fcc6cff47b0aa7fc14
https://github.com/yast/yast-core/commit/5455bd4fb45deec62cf784fcc6cff47b0aa...
Author: Josef Reidinger
Date: 2013-06-07 (Fri, 07 Jun 2013)
Changed paths:
M libycp/src/scanner.ll
Log Message:
-----------
fix typo in locale fix
Commit: 48a7fe97f1db0fc2077cc3e8ae10b5b94819d72c
https://github.com/yast/yast-core/commit/48a7fe97f1db0fc2077cc3e8ae10b5b9481...
Author: Josef Reidinger
Date: 2013-06-07 (Fri, 07 Jun 2013)
Changed paths:
M libscr/src/include/scr/Y2CCAgentComponent.h
Log Message:
-----------
For agents always create new component
It is needed because IniAgent cannot share one instance of IniAgent, because
IniAgent contain IniParser that is path specific. To prevent memory leaks
remember all created components and delete it at destructor.
Commit: fab004aa6bc957e1ff5531c53f56a2fdbdedcd8d
https://github.com/yast/yast-core/commit/fab004aa6bc957e1ff5531c53f56a2fdbde...
Author: Josef Reidinger
Date: 2013-06-07 (Fri, 07 Jun 2013)
Changed paths:
M VERSION
Log Message:
-----------
add forgotten version bump
Commit: abca06e30123f86006218d79da8ecd51b0753186
https://github.com/yast/yast-core/commit/abca06e30123f86006218d79da8ecd51b07...
Author: Josef Reidinger
Date: 2013-06-10 (Mon, 10 Jun 2013)
Changed paths:
M wfm/src/WFMSubAgent.cc
Log Message:
-----------
Fix segafult in WFMSubagent
Component is owned by component creator so do not delete it in WFMSubagent.
Also do not call result, as component can be already deallocated, because WFMSubagent
is destroyed at the end of yast run and order of deallocation of global variables is
not well defined.
Commit: 7fb894662dba29389bc553ee3ffdbac9b688826d
https://github.com/yast/yast-core/commit/7fb894662dba29389bc553ee3ffdbac9b68...
Author: Josef Reidinger
Date: 2013-06-11 (Tue, 11 Jun 2013)
Changed paths:
M libycp/src/Type.cc
M libycp/src/include/ycp/Type.h
A libycp/testsuite/tests/is/is_function.err
A libycp/testsuite/tests/is/is_function.out
A libycp/testsuite/tests/is/is_function_reverse.err
A libycp/testsuite/tests/is/is_function_reverse.out
Log Message:
-----------
Fix properly function type matching and propagation
Previous fix was wrong as it reverts direction of propagation.
This fix contain beside correct fix also improved documentation
so now it should be easy to see what direction of mapping for
function match.
Commit: 0f14166e3b3a50479d680ed60c7bd39e900d5f54
https://github.com/yast/yast-core/commit/0f14166e3b3a50479d680ed60c7bd39e900...
Author: Josef Reidinger
Date: 2013-06-14 (Fri, 14 Jun 2013)
Changed paths:
M libycp/src/YCPFloat.cc
Log Message:
-----------
make tofloat also locale independent
Commit: af8a8273098bed3eb67a32106e4225ea712b7299
https://github.com/yast/yast-core/commit/af8a8273098bed3eb67a32106e4225ea712...
Author: Josef Reidinger
Date: 2013-06-14 (Fri, 14 Jun 2013)
Changed paths:
M libycp/src/YCPBuiltinFloat.cc
Log Message:
-----------
fix localization of float also for tostring with precision
Commit: 736c4ae145c344d3244733b9d204d81bf7d06b24
https://github.com/yast/yast-core/commit/736c4ae145c344d3244733b9d204d81bf7d...
Author: Josef Reidinger
Date: 2013-06-17 (Mon, 17 Jun 2013)
Changed paths:
M libycp/testsuite/.gitignore
Log Message:
-----------
do not ignore new ycp tests
Commit: 01e3532976c1149d0c7d494e56b5755b0552f8dc
https://github.com/yast/yast-core/commit/01e3532976c1149d0c7d494e56b5755b055...
Author: Josef Reidinger
Date: 2013-06-17 (Mon, 17 Jun 2013)
Changed paths:
A libycp/testsuite/tests/is/is_function.ycp
A libycp/testsuite/tests/is/is_function_reverse.ycp
Log Message:
-----------
add missing ycp tests
Commit: 1abc4a6fcbb9ccfadff36d0e3510803ad46649c5
https://github.com/yast/yast-core/commit/1abc4a6fcbb9ccfadff36d0e3510803ad46...
Author: Josef Reidinger
Date: 2013-06-17 (Mon, 17 Jun 2013)
Changed paths:
M libycp/src/include/ycp/Type.h
Log Message:
-----------
improve function documentation (thanks to @mvidner)
Commit: 80f134e2c872b4a52bb5c6cb0e15e3bec4459bef
https://github.com/yast/yast-core/commit/80f134e2c872b4a52bb5c6cb0e15e3bec44...
Author: Josef Reidinger
Date: 2013-06-17 (Mon, 17 Jun 2013)
Changed paths:
M liby2/src/Makefile.am
M libycp/src/Makefile.am
Log Message:
-----------
bump so version
Commit: 7e3dae987af6dde43d700566219b87d44364ff99
https://github.com/yast/yast-core/commit/7e3dae987af6dde43d700566219b87d4436...
Author: Josef Reidinger
Date: 2013-06-17 (Mon, 17 Jun 2013)
Changed paths:
M package/yast2-core.changes
Log Message:
-----------
changes
Commit: 215fd95cd92ed0763e9d094e8b57539f65829d74
https://github.com/yast/yast-core/commit/215fd95cd92ed0763e9d094e8b57539f658...
Author: Josef Reidinger
Date: 2013-06-18 (Tue, 18 Jun 2013)
Changed paths:
M package/yast2-core.changes
Log Message:
-----------
fix typos in changes file ( thanks to @mvidner)
Commit: 479edd3fbafd43b78c15fe81629751f10e99bc7e
https://github.com/yast/yast-core/commit/479edd3fbafd43b78c15fe81629751f10e9...
Author: Josef Reidinger
Date: 2013-06-18 (Tue, 18 Jun 2013)
Changed paths:
M liby2/src/Makefile.am
M libycp/src/Makefile.am
Log Message:
-----------
properly increase so version (thanks to @mvidner)
Commit: 4d86bb81f1f84f186c5807e855039b07269470b7
https://github.com/yast/yast-core/commit/4d86bb81f1f84f186c5807e855039b07269...
Author: Josef Reidinger
Date: 2013-06-18 (Tue, 18 Jun 2013)
Changed paths:
M VERSION
M libscr/src/include/scr/Y2CCAgentComponent.h
M liby2/src/Makefile.am
M liby2/src/Y2CCPlugin.cc
M liby2/src/Y2PluginComponent.cc
M liby2/src/include/y2/SymbolEntry.h
M liby2/src/include/y2/Y2CCPlugin.h
M liby2/src/include/y2/Y2ComponentCreator.h
M libycp/src/Bytecode.cc
M libycp/src/Makefile.am
M libycp/src/StaticDeclaration.cc
M libycp/src/Type.cc
M libycp/src/Xmlcode.cc
M libycp/src/YBlock.cc
M libycp/src/YCPBuiltinFloat.cc
M libycp/src/YCPFloat.cc
M libycp/src/YExpression.cc
M libycp/src/YStatement.cc
M libycp/src/YSymbolEntry.cc
M libycp/src/include/ycp/Type.h
M libycp/src/scanner.ll
M libycp/testsuite/.gitignore
A libycp/testsuite/tests/is/is_function.err
A libycp/testsuite/tests/is/is_function.out
A libycp/testsuite/tests/is/is_function.ycp
A libycp/testsuite/tests/is/is_function_reverse.err
A libycp/testsuite/tests/is/is_function_reverse.out
A libycp/testsuite/tests/is/is_function_reverse.ycp
M package/yast2-core.changes
M scr/src/SCRSubAgent.cc
M wfm/src/WFMSubAgent.cc
M wfm/src/Y2StdioFunction.cc
M wfm/src/Y2StdioFunction.h
M wfm/src/Y2SystemFunction.cc
M wfm/src/Y2SystemFunction.h
M wfm/src/Y2SystemNamespace.cc
M wfm/src/Y2SystemNamespace.h
M wfm/src/Y2WFMComponent.cc
M wfm/src/Y2WFMComponent.h
Log Message:
-----------
Merge pull request #15 from yast/y2r_fixes
Y2r fixes
Compare: https://github.com/yast/yast-core/compare/4a6f03f92709...4d86bb81f1f8