Branch: refs/heads/master
Home: https://github.com/yast/yast-core
Commit: 7798d1a27dbc3d50924df46ba0797976fedb63d3
https://github.com/yast/yast-core/commit/7798d1a27dbc3d50924df46ba0797976fed...
Author: Martin Vidner
Date: 2016-02-02 (Tue, 02 Feb 2016)
Changed paths:
M package/yast2-core.spec
Log Message:
-----------
Optionally Build the RPM with llvm-clang instead of gcc-c++.
Usage:
osc build --with clang
or
rake osc:build"[--with clang]"
Commit: 4973b3899dacd534bc614b2113a1b3415ced23ce
https://github.com/yast/yast-core/commit/4973b3899dacd534bc614b2113a1b3415ce...
Author: Martin Vidner
Date: 2016-02-02 (Tue, 02 Feb 2016)
Changed paths:
M agent-ini/src/IniFile.h
M libycp/src/include/ycp/Parser.h
M libycp/src/include/ycp/YCPMap.h
Log Message:
-----------
clang: fixed struct/class mismatches
Commit: 25a7ddc30f73935e34f4b57ff7adff7080666568
https://github.com/yast/yast-core/commit/25a7ddc30f73935e34f4b57ff7adff70806...
Author: Martin Vidner
Date: 2016-02-24 (Wed, 24 Feb 2016)
Changed paths:
M libycp/src/YBlock.cc
M libycp/src/YExpression.cc
Log Message:
-----------
clang: replaced variable-length arrays with new[]d ones
Conflicts:
libycp/src/YBlock.cc
Commit: 5e27644c32ba07647fdb4ed92572c7ca133a3504
https://github.com/yast/yast-core/commit/5e27644c32ba07647fdb4ed92572c7ca133...
Author: Martin Vidner
Date: 2016-02-24 (Wed, 24 Feb 2016)
Changed paths:
M libscr/src/include/scr/Y2AgentComponent.h
Log Message:
-----------
clang: Added a missing include.
[ 114s] In file included from Y2CCDummyAgent.cc:8:
[ 114s] ../../libscr/src/include/scr/Y2AgentComponent.h:129:53: error: calling 'asPath' with incomplete return type 'YCPPath'
[ 114s] return getSCRAgent ()-> Read (args->value (0)->asPath (), args->size() > 1 ? args->value (1) : YCPNull ()) ;
[ 114s] ~~~~~~~~~~~~~~~~~^~~~~~~~~
[ 114s] ../../libycp/src/include/ycp/YCPValue.h:206:13: note: 'asPath' declared here
[ 114s] YCPPath asPath() const;
[ 114s] ^
[ 114s] ../../libycp/src/include/ycp/YCPElement.h:51:7: note: forward declaration of 'YCPPath'
[ 114s] class YCPPath;
[ 114s] ^
Commit: 495dfb3e4ff08b6aee84f5e77f0b25c97ac1bb54
https://github.com/yast/yast-core/commit/495dfb3e4ff08b6aee84f5e77f0b25c97ac...
Author: Martin Vidner
Date: 2016-02-24 (Wed, 24 Feb 2016)
Changed paths:
M liby2util-r/src/MemUsage.cc
Log Message:
-----------
Don't evaluate inside typeid.
warning: expression with side effects will be evaluated despite being
used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
Commit: 1170ed89056fe2fc24d2c4fbec1985698750641d
https://github.com/yast/yast-core/commit/1170ed89056fe2fc24d2c4fbec198569875...
Author: Martin Vidner
Date: 2016-02-24 (Wed, 24 Feb 2016)
Changed paths:
M libycp/src/YCPMap.cc
Log Message:
-----------
Removed an unused comparison
The containers are of the same size so one is enough
warning: inequality comparison result unused [-Wunused-comparison]
Commit: 5afef785007ce7257e12915eea967367475edf01
https://github.com/yast/yast-core/commit/5afef785007ce7257e12915eea967367475...
Author: Martin Vidner
Date: 2016-02-24 (Wed, 24 Feb 2016)
Changed paths:
M libycp/src/scanner.ll
Log Message:
-----------
Do not warn about 'register' in flex code.
Commit: e5067a2b66eb1a5746f99a67075ddb4054be212f
https://github.com/yast/yast-core/commit/e5067a2b66eb1a5746f99a67075ddb4054b...
Author: Martin Vidner
Date: 2016-02-24 (Wed, 24 Feb 2016)
Changed paths:
M agent-ini/src/IniParser.cc
M liby2util-r/src/include/y2util/stringutil.h
M liby2util-r/src/y2log.cc
Log Message:
-----------
Declare a printf-like function.
warning: format string is not a string literal [-Wformat-nonliteral]
This *uncovers* 4 such warnings in IniParser.cc where we indeed pass an
unsanitized format string.
Commit: a26f748d32df779c6fdd7a10c86de6f526b23318
https://github.com/yast/yast-core/commit/a26f748d32df779c6fdd7a10c86de6f526b...
Author: Martin Vidner
Date: 2016-02-24 (Wed, 24 Feb 2016)
Changed paths:
M libycp/src/YCPBuiltinString.cc
Log Message:
-----------
Fixed a signed-unsigned comparison.
A negative size would wrap to a huge positive size, fortunately we
don't have that big strings in practice
warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
Commit: 9cda30290234b16140d9b6e8cd84182cd2958569
https://github.com/yast/yast-core/commit/9cda30290234b16140d9b6e8cd84182cd29...
Author: Martin Vidner
Date: 2016-02-24 (Wed, 24 Feb 2016)
Changed paths:
M package/yast2-core.changes
M package/yast2-core.spec
Log Message:
-----------
version + changelog
Commit: a325eb4f3414ad700daa52ac432251dcda2f99ea
https://github.com/yast/yast-core/commit/a325eb4f3414ad700daa52ac432251dcda2...
Author: Martin Vidner
Date: 2016-02-24 (Wed, 24 Feb 2016)
Changed paths:
M package/yast2-core.spec
Log Message:
-----------
Clang warning: argument unused during compilation: -grecord-gcc-switches
Obviously it is a GCC specific flag so we remove it from the flags if
Clang is used.
Commit: 0fb0e5d8083367e20b64b378159958e4efb5e8c5
https://github.com/yast/yast-core/commit/0fb0e5d8083367e20b64b378159958e4efb...
Author: Martin Vidner
Date: 2016-02-24 (Wed, 24 Feb 2016)
Changed paths:
M liby2/src/include/y2/Y2PluginComponent.h
Log Message:
-----------
Annotate level as unused
To prevent
warning: private field 'level' is not used [-Wunused-private-field]
Commit: f76ea73a5b5ff3df092af0dc8b10d3ec433af8ef
https://github.com/yast/yast-core/commit/f76ea73a5b5ff3df092af0dc8b10d3ec433...
Author: Martin Vidner
Date: 2016-06-02 (Thu, 02 Jun 2016)
Changed paths:
M libycp/testsuite/tests/builtin/Builtin-String.err
M libycp/testsuite/tests/builtin/Builtin-String.out
M libycp/testsuite/tests/builtin/Builtin-String.ycp
Log Message:
-----------
Test out of bounds arguments to `substring`.
Commit: c9d5908e1c95342c801d5480eb290cc5f0997521
https://github.com/yast/yast-core/commit/c9d5908e1c95342c801d5480eb290cc5f09...
Author: Martin Vidner
Date: 2016-06-02 (Thu, 02 Jun 2016)
Changed paths:
M liby2/src/genericfrontend.cc
M libycp/testsuite/tests/builtin/Builtin-String.err
M libycp/testsuite/tests/builtin/Builtin-String.out
M libycp/testsuite/tests/builtin/Builtin-String.ycp
M package/yast2-core.changes
M package/yast2-core.spec
Log Message:
-----------
Merge branch 'test-substring' into clang
Commit: d78c2ac803c834b35889cff3c95ee1de78909ed5
https://github.com/yast/yast-core/commit/d78c2ac803c834b35889cff3c95ee1de789...
Author: Martin Vidner
Date: 2016-06-02 (Thu, 02 Jun 2016)
Changed paths:
M agent-ini/src/IniFile.h
M agent-ini/src/IniParser.cc
M libscr/src/include/scr/Y2AgentComponent.h
M liby2/src/include/y2/Y2PluginComponent.h
M liby2util-r/src/MemUsage.cc
M liby2util-r/src/include/y2util/stringutil.h
M liby2util-r/src/y2log.cc
M libycp/src/YBlock.cc
M libycp/src/YCPBuiltinString.cc
M libycp/src/YCPMap.cc
M libycp/src/YExpression.cc
M libycp/src/include/ycp/Parser.h
M libycp/src/include/ycp/YCPMap.h
M libycp/src/scanner.ll
M libycp/testsuite/tests/builtin/Builtin-String.err
M libycp/testsuite/tests/builtin/Builtin-String.out
M libycp/testsuite/tests/builtin/Builtin-String.ycp
M package/yast2-core.changes
M package/yast2-core.spec
Log Message:
-----------
Merge pull request #106 from yast/clang
Optionally build with Clang instead of GCC (via bcond_with clang).
Compare: https://github.com/yast/yast-core/compare/9a9a31e818b5...d78c2ac803c8