Merge lp:~mhr3/unity-scopes-api/merge-trunk into lp:unity-scopes-api/devel

Proposed by Michal Hruby
Status: Merged
Approved by: Michal Hruby
Approved revision: no longer in the source branch.
Merged at revision: 314
Proposed branch: lp:~mhr3/unity-scopes-api/merge-trunk
Merge into: lp:unity-scopes-api/devel
Diff against target: 284 lines (+78/-25)
7 files modified
CMakeLists.txt (+1/-1)
debian/changelog (+13/-2)
debian/control (+1/-1)
debian/libunity-scopes1.symbols (+15/-15)
src/scopes/internal/ScopeConfig.cpp (+4/-4)
test/gtest/scopes/internal/ScopeConfig/ScopeConfig_test.cpp (+40/-1)
test/gtest/scopes/internal/ScopeConfig/configtest1.ini.in (+4/-1)
To merge this branch: bzr merge lp:~mhr3/unity-scopes-api/merge-trunk
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Unity Team Pending
Review via email: mp+217573@code.launchpad.net

Commit message

Merge trunk.

Description of the change

Merge trunk.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Michal Hruby (mhr3) wrote :

The CI/automerging bot needs to be transitioned to utopic.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
312. By Pete Woods

Fix raciness in RegistryObject test.

Approved by PS Jenkins bot, Michal Hruby.

313. By Pete Woods

Remove dead ini file option from example click scope.

Approved by Michal Hruby, PS Jenkins bot.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
314. By Michal Hruby

Merge trunk.

Approved by PS Jenkins bot.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2014-04-28 05:57:11 +0000
+++ CMakeLists.txt 2014-04-29 10:31:01 +0000
@@ -55,7 +55,7 @@
5555
56include(FindPkgConfig)56include(FindPkgConfig)
57find_package(Boost COMPONENTS system filesystem regex serialization REQUIRED)57find_package(Boost COMPONENTS system filesystem regex serialization REQUIRED)
58pkg_check_modules(UNITY_API libunity-api>=0.1.1 REQUIRED)58pkg_check_modules(UNITY_API libunity-api>=0.1.3 REQUIRED)
59pkg_check_modules(PROCESS_CPP process-cpp>=1.0.0 REQUIRED)59pkg_check_modules(PROCESS_CPP process-cpp>=1.0.0 REQUIRED)
60pkg_check_modules(LTTNG_UST lttng-ust REQUIRED)60pkg_check_modules(LTTNG_UST lttng-ust REQUIRED)
61pkg_check_modules(LIBURCU_BP liburcu-bp REQUIRED)61pkg_check_modules(LIBURCU_BP liburcu-bp REQUIRED)
6262
=== modified file 'debian/changelog'
--- debian/changelog 2014-04-23 13:11:53 +0000
+++ debian/changelog 2014-04-29 10:31:01 +0000
@@ -1,9 +1,20 @@
1unity-scopes-api (0.4.3-0ubuntu1) UNRELEASED; urgency=low1unity-scopes-api (0.4.3+14.10.20140428-0ubuntu1) utopic; urgency=low
22
3 [ Pawel Stolowski ]
3 * Implemented to_uri() and from_uri() conversions for CannedQuery.4 * Implemented to_uri() and from_uri() conversions for CannedQuery.
4 * Ship scopes-client in libunity-scopes-cli package.5 * Ship scopes-client in libunity-scopes-cli package.
56
6 -- Pawel Stolowski <pawel.stolowski@ubuntu.com> Wed, 23 Apr 2014 14:32:03 +02007 [ Ubuntu daily release ]
8 * debian/*symbols: auto-update new symbols to released version
9
10 -- Ubuntu daily release <ps-jenkins@lists.canonical.com> Mon, 28 Apr 2014 17:24:08 +0000
11
12unity-scopes-api (0.4.2+14.04.20140408-0ubuntu1) trusty; urgency=low
13
14 [ Michal Hruby ]
15 * Merge r298 from devel branch.
16
17 -- Ubuntu daily release <ps-jenkins@lists.canonical.com> Tue, 08 Apr 2014 13:41:30 +0000
718
8unity-scopes-api (0.4.2+14.04.20140404.2-0ubuntu1) trusty; urgency=low19unity-scopes-api (0.4.2+14.04.20140404.2-0ubuntu1) trusty; urgency=low
920
1021
=== modified file 'debian/control'
--- debian/control 2014-04-23 15:43:01 +0000
+++ debian/control 2014-04-29 10:31:01 +0000
@@ -12,7 +12,7 @@
12 python3,12 python3,
13 capnproto,13 capnproto,
14 libprocess-cpp-dev (>= 1.0.0),14 libprocess-cpp-dev (>= 1.0.0),
15 libunity-api-dev (>= 7.80.5~),15 libunity-api-dev (>= 7.80.7~),
16 libboost-filesystem-dev,16 libboost-filesystem-dev,
17 libboost-regex-dev,17 libboost-regex-dev,
18 libboost-serialization-dev,18 libboost-serialization-dev,
1919
=== modified file 'debian/libunity-scopes1.symbols'
--- debian/libunity-scopes1.symbols 2014-04-23 21:53:31 +0000
+++ debian/libunity-scopes1.symbols 2014-04-29 10:31:01 +0000
@@ -32,7 +32,7 @@
32 (c++)"unity::scopes::CannedQuery::set_filter_state(unity::scopes::FilterState const&)@Base" 0.4.0+14.04.20140312.132 (c++)"unity::scopes::CannedQuery::set_filter_state(unity::scopes::FilterState const&)@Base" 0.4.0+14.04.20140312.1
33 (c++)"unity::scopes::CannedQuery::set_query_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.133 (c++)"unity::scopes::CannedQuery::set_query_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
34 (c++)"unity::scopes::CannedQuery::set_department_id(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.134 (c++)"unity::scopes::CannedQuery::set_department_id(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
35 (c++)"unity::scopes::CannedQuery::from_uri(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0replaceme35 (c++)"unity::scopes::CannedQuery::from_uri(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.3+14.10.20140428
36 (c++)"unity::scopes::CannedQuery::CannedQuery(unity::scopes::CannedQuery&&)@Base" 0.4.0+14.04.20140312.136 (c++)"unity::scopes::CannedQuery::CannedQuery(unity::scopes::CannedQuery&&)@Base" 0.4.0+14.04.20140312.1
37 (c++)"unity::scopes::CannedQuery::CannedQuery(unity::scopes::internal::CannedQueryImpl*)@Base" 0.4.0+14.04.20140312.137 (c++)"unity::scopes::CannedQuery::CannedQuery(unity::scopes::internal::CannedQueryImpl*)@Base" 0.4.0+14.04.20140312.1
38 (c++)"unity::scopes::CannedQuery::CannedQuery(unity::scopes::CannedQuery const&)@Base" 0.4.0+14.04.20140312.138 (c++)"unity::scopes::CannedQuery::CannedQuery(unity::scopes::CannedQuery const&)@Base" 0.4.0+14.04.20140312.1
@@ -285,7 +285,7 @@
285 (c++)"unity::scopes::Runtime::run_scope(unity::scopes::ScopeBase*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.2+14.04.20140404.2285 (c++)"unity::scopes::Runtime::run_scope(unity::scopes::ScopeBase*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.2+14.04.20140404.2
286 (c++)"unity::scopes::Runtime::Runtime(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1286 (c++)"unity::scopes::Runtime::Runtime(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
287 (c++)"unity::scopes::Runtime::~Runtime()@Base" 0.4.0+14.04.20140312.1287 (c++)"unity::scopes::Runtime::~Runtime()@Base" 0.4.0+14.04.20140312.1
288 (c++)"unity::scopes::Variant::deserialize_json(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0replaceme288 (c++)"unity::scopes::Variant::deserialize_json(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.3+14.10.20140428
289 (c++)"unity::scopes::Variant::null()@Base" 0.4.0+14.04.20140312.1289 (c++)"unity::scopes::Variant::null()@Base" 0.4.0+14.04.20140312.1
290 (c++)"unity::scopes::Variant::swap(unity::scopes::Variant&)@Base" 0.4.0+14.04.20140312.1290 (c++)"unity::scopes::Variant::swap(unity::scopes::Variant&)@Base" 0.4.0+14.04.20140312.1
291 (c++)"unity::scopes::Variant::Variant(unity::scopes::Variant&&)@Base" 0.4.0+14.04.20140312.1291 (c++)"unity::scopes::Variant::Variant(unity::scopes::Variant&&)@Base" 0.4.0+14.04.20140312.1
@@ -408,7 +408,7 @@
408 (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::on_process_death(int)@Base" 0.4.2+14.04.20140404.2408 (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::on_process_death(int)@Base" 0.4.2+14.04.20140404.2
409 (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::clear_handle_unlocked()@Base" 0.4.2+14.04.20140404.2409 (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::clear_handle_unlocked()@Base" 0.4.2+14.04.20140404.2
410 (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::update_state_unlocked(unity::scopes::internal::RegistryObject::ScopeProcess::ProcessState)@Base" 0.4.2+14.04.20140404.2410 (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::update_state_unlocked(unity::scopes::internal::RegistryObject::ScopeProcess::ProcessState)@Base" 0.4.2+14.04.20140404.2
411 (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::exec(core::posix::ChildProcess::DeathObserver&, std::shared_ptr<unity::scopes::internal::Executor>)@Base" 0replaceme411 (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::exec(core::posix::ChildProcess::DeathObserver&, std::shared_ptr<unity::scopes::internal::Executor>)@Base" 0.4.3+14.10.20140428
412 (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::kill(std::unique_lock<std::mutex>&)@Base" 0.4.2+14.04.20140404.2412 (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::kill(std::unique_lock<std::mutex>&)@Base" 0.4.2+14.04.20140404.2
413 (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::kill()@Base" 0.4.2+14.04.20140404.2413 (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::kill()@Base" 0.4.2+14.04.20140404.2
414 (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::ScopeProcess(unity::scopes::internal::RegistryObject::ScopeExecData)@Base" 0.4.2+14.04.20140404.2414 (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::ScopeProcess(unity::scopes::internal::RegistryObject::ScopeExecData)@Base" 0.4.2+14.04.20140404.2
@@ -425,7 +425,7 @@
425 (c++)"unity::scopes::internal::RegistryObject::remove_local_scope(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1425 (c++)"unity::scopes::internal::RegistryObject::remove_local_scope(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
426 (c++)"unity::scopes::internal::RegistryObject::set_remote_registry(std::shared_ptr<unity::scopes::internal::MWRegistry> const&)@Base" 0.4.0+14.04.20140312.1426 (c++)"unity::scopes::internal::RegistryObject::set_remote_registry(std::shared_ptr<unity::scopes::internal::MWRegistry> const&)@Base" 0.4.0+14.04.20140312.1
427 (c++)"unity::scopes::internal::RegistryObject::locate(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1427 (c++)"unity::scopes::internal::RegistryObject::locate(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
428 (c++)"unity::scopes::internal::RegistryObject::RegistryObject(core::posix::ChildProcess::DeathObserver&, std::shared_ptr<unity::scopes::internal::Executor> const&)@Base" 0replaceme428 (c++)"unity::scopes::internal::RegistryObject::RegistryObject(core::posix::ChildProcess::DeathObserver&, std::shared_ptr<unity::scopes::internal::Executor> const&)@Base" 0.4.3+14.10.20140428
429 (c++)"unity::scopes::internal::RegistryObject::~RegistryObject()@Base" 0.4.0+14.04.20140312.1429 (c++)"unity::scopes::internal::RegistryObject::~RegistryObject()@Base" 0.4.0+14.04.20140312.1
430 (c++)"unity::scopes::internal::MiddlewareFactory::MiddlewareData::~MiddlewareData()@Base" 0.4.0+14.04.20140312.1430 (c++)"unity::scopes::internal::MiddlewareFactory::MiddlewareData::~MiddlewareData()@Base" 0.4.0+14.04.20140312.1
431 (c++)"unity::scopes::internal::MiddlewareFactory::to_kind(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1431 (c++)"unity::scopes::internal::MiddlewareFactory::to_kind(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
@@ -455,11 +455,11 @@
455 (c++)"unity::scopes::internal::StateReceiverObject::push_state(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unity::scopes::internal::StateReceiverObject::State const&)@Base" 0.4.2+14.04.20140404.2455 (c++)"unity::scopes::internal::StateReceiverObject::push_state(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unity::scopes::internal::StateReceiverObject::State const&)@Base" 0.4.2+14.04.20140404.2
456 (c++)"unity::scopes::internal::StateReceiverObject::StateReceiverObject()@Base" 0.4.2+14.04.20140404.2456 (c++)"unity::scopes::internal::StateReceiverObject::StateReceiverObject()@Base" 0.4.2+14.04.20140404.2
457 (c++)"unity::scopes::internal::StateReceiverObject::~StateReceiverObject()@Base" 0.4.2+14.04.20140404.2457 (c++)"unity::scopes::internal::StateReceiverObject::~StateReceiverObject()@Base" 0.4.2+14.04.20140404.2
458 (c++)"unity::scopes::internal::Executor::exec(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&, core::posix::StandardStream const&)@Base" 0replaceme458 (c++)"unity::scopes::internal::Executor::exec(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&, core::posix::StandardStream const&)@Base" 0.4.3+14.10.20140428
459 (c++)"unity::scopes::internal::Executor::Executor()@Base" 0replaceme459 (c++)"unity::scopes::internal::Executor::Executor()@Base" 0.4.3+14.10.20140428
460 (c++)"unity::scopes::internal::Executor::~Executor()@Base" 0replaceme460 (c++)"unity::scopes::internal::Executor::~Executor()@Base" 0.4.3+14.10.20140428
461 (c++)"unity::scopes::internal::ScopeImpl::perform_action(unity::scopes::Result const&, unity::scopes::ActionMetadata const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<unity::scopes::ActivationListenerBase> const&)@Base" 0.4.0+14.04.20140312.1461 (c++)"unity::scopes::internal::ScopeImpl::perform_action(unity::scopes::Result const&, unity::scopes::ActionMetadata const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<unity::scopes::ActivationListenerBase> const&)@Base" 0.4.0+14.04.20140312.1
462 (c++)"unity::scopes::internal::ScopeImpl::fwd()@Base" 0replaceme462 (c++)"unity::scopes::internal::ScopeImpl::fwd()@Base" 0.4.3+14.10.20140428
463 (c++)"unity::scopes::internal::ScopeImpl::create(std::shared_ptr<unity::scopes::internal::MWScope> const&, unity::scopes::internal::RuntimeImpl*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1463 (c++)"unity::scopes::internal::ScopeImpl::create(std::shared_ptr<unity::scopes::internal::MWScope> const&, unity::scopes::internal::RuntimeImpl*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1
464 (c++)"unity::scopes::internal::ScopeImpl::search(unity::scopes::CannedQuery const&, unity::scopes::SearchMetadata const&, std::shared_ptr<unity::scopes::SearchListenerBase> const&)@Base" 0.4.0+14.04.20140312.1464 (c++)"unity::scopes::internal::ScopeImpl::search(unity::scopes::CannedQuery const&, unity::scopes::SearchMetadata const&, std::shared_ptr<unity::scopes::SearchListenerBase> const&)@Base" 0.4.0+14.04.20140312.1
465 (c++)"unity::scopes::internal::ScopeImpl::search(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unity::scopes::FilterState const&, unity::scopes::SearchMetadata const&, std::shared_ptr<unity::scopes::SearchListenerBase> const&)@Base" 0.4.0+14.04.20140312.1465 (c++)"unity::scopes::internal::ScopeImpl::search(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unity::scopes::FilterState const&, unity::scopes::SearchMetadata const&, std::shared_ptr<unity::scopes::SearchListenerBase> const&)@Base" 0.4.0+14.04.20140312.1
@@ -499,7 +499,7 @@
499 (c++)"unity::scopes::CannedQuery::filter_state() const@Base" 0.4.0+14.04.20140312.1499 (c++)"unity::scopes::CannedQuery::filter_state() const@Base" 0.4.0+14.04.20140312.1
500 (c++)"unity::scopes::CannedQuery::query_string() const@Base" 0.4.0+14.04.20140312.1500 (c++)"unity::scopes::CannedQuery::query_string() const@Base" 0.4.0+14.04.20140312.1
501 (c++)"unity::scopes::CannedQuery::department_id() const@Base" 0.4.0+14.04.20140312.1501 (c++)"unity::scopes::CannedQuery::department_id() const@Base" 0.4.0+14.04.20140312.1
502 (c++)"unity::scopes::CannedQuery::to_uri() const@Base" 0replaceme502 (c++)"unity::scopes::CannedQuery::to_uri() const@Base" 0.4.3+14.10.20140428
503 (c++)"unity::scopes::CannedQuery::scope_id() const@Base" 0.4.0+14.04.20140312.1503 (c++)"unity::scopes::CannedQuery::scope_id() const@Base" 0.4.0+14.04.20140312.1
504 (c++)"unity::scopes::CannedQuery::serialize() const@Base" 0.4.0+14.04.20140312.1504 (c++)"unity::scopes::CannedQuery::serialize() const@Base" 0.4.0+14.04.20140312.1
505 (c++)"unity::scopes::FilterState::has_filter(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@Base" 0.4.0+14.04.20140312.1505 (c++)"unity::scopes::FilterState::has_filter(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@Base" 0.4.0+14.04.20140312.1
@@ -580,7 +580,7 @@
580 (c++)"unity::scopes::Runtime::registry() const@Base" 0.4.0+14.04.20140312.1580 (c++)"unity::scopes::Runtime::registry() const@Base" 0.4.0+14.04.20140312.1
581 (c++)"unity::scopes::Variant::get_double() const@Base" 0.4.0+14.04.20140312.1581 (c++)"unity::scopes::Variant::get_double() const@Base" 0.4.0+14.04.20140312.1
582 (c++)"unity::scopes::Variant::get_string() const@Base" 0.4.0+14.04.20140312.1582 (c++)"unity::scopes::Variant::get_string() const@Base" 0.4.0+14.04.20140312.1
583 (c++)"unity::scopes::Variant::serialize_json() const@Base" 0replaceme583 (c++)"unity::scopes::Variant::serialize_json() const@Base" 0.4.3+14.10.20140428
584 (c++)"unity::scopes::Variant::which() const@Base" 0.4.0+14.04.20140312.1584 (c++)"unity::scopes::Variant::which() const@Base" 0.4.0+14.04.20140312.1
585 (c++)"unity::scopes::Variant::get_int() const@Base" 0.4.0+14.04.20140312.1585 (c++)"unity::scopes::Variant::get_int() const@Base" 0.4.0+14.04.20140312.1
586 (c++)"unity::scopes::Variant::is_null() const@Base" 0.4.0+14.04.20140312.1586 (c++)"unity::scopes::Variant::is_null() const@Base" 0.4.0+14.04.20140312.1
@@ -603,11 +603,11 @@
603 (c++)"unity::scopes::Category::icon() const@Base" 0.4.0+14.04.20140312.1603 (c++)"unity::scopes::Category::icon() const@Base" 0.4.0+14.04.20140312.1
604 (c++)"unity::scopes::Category::title() const@Base" 0.4.0+14.04.20140312.1604 (c++)"unity::scopes::Category::title() const@Base" 0.4.0+14.04.20140312.1
605 (c++)"unity::scopes::Category::serialize() const@Base" 0.4.0+14.04.20140312.1605 (c++)"unity::scopes::Category::serialize() const@Base" 0.4.0+14.04.20140312.1
606 (c++)"unity::scopes::internal::RuntimeImpl::async_pool() const@Base" 0replaceme606 (c++)"unity::scopes::internal::RuntimeImpl::async_pool() const@Base" 0.4.3+14.10.20140428
607 (c++)"unity::scopes::internal::RuntimeImpl::configfile() const@Base" 0.4.2+14.04.20140404.2607 (c++)"unity::scopes::internal::RuntimeImpl::configfile() const@Base" 0.4.2+14.04.20140404.2
608 (c++)"unity::scopes::internal::RuntimeImpl::future_queue() const@Base" 0replaceme608 (c++)"unity::scopes::internal::RuntimeImpl::future_queue() const@Base" 0.4.3+14.10.20140428
609 (c++)"unity::scopes::internal::RuntimeImpl::reply_reaper() const@Base" 0.4.0+14.04.20140312.1609 (c++)"unity::scopes::internal::RuntimeImpl::reply_reaper() const@Base" 0.4.0+14.04.20140312.1
610 (c++)"unity::scopes::internal::RuntimeImpl::waiter_thread(std::shared_ptr<unity::scopes::internal::ThreadSafeQueue<std::future<void> > > const&) const@Base" 0replaceme610 (c++)"unity::scopes::internal::RuntimeImpl::waiter_thread(std::shared_ptr<unity::scopes::internal::ThreadSafeQueue<std::future<void> > > const&) const@Base" 0.4.3+14.10.20140428
611 (c++)"unity::scopes::internal::RuntimeImpl::proxy_to_string(std::shared_ptr<unity::scopes::Object> const&) const@Base" 0.4.0+14.04.20140312.1611 (c++)"unity::scopes::internal::RuntimeImpl::proxy_to_string(std::shared_ptr<unity::scopes::Object> const&) const@Base" 0.4.0+14.04.20140312.1
612 (c++)"unity::scopes::internal::RuntimeImpl::string_to_proxy(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@Base" 0.4.0+14.04.20140312.1612 (c++)"unity::scopes::internal::RuntimeImpl::string_to_proxy(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@Base" 0.4.0+14.04.20140312.1
613 (c++)"unity::scopes::internal::RuntimeImpl::registry_endpoint() const@Base" 0.4.0+14.04.20140312.1613 (c++)"unity::scopes::internal::RuntimeImpl::registry_endpoint() const@Base" 0.4.0+14.04.20140312.1
@@ -644,7 +644,7 @@
644 (c++)"unity::scopes::internal::RegistryConfig::endpointdir() const@Base" 0.4.0+14.04.20140312.1644 (c++)"unity::scopes::internal::RegistryConfig::endpointdir() const@Base" 0.4.0+14.04.20140312.1
645 (c++)"unity::scopes::internal::RegistryConfig::mw_configfile() const@Base" 0.4.0+14.04.20140312.1645 (c++)"unity::scopes::internal::RegistryConfig::mw_configfile() const@Base" 0.4.0+14.04.20140312.1
646 (c++)"unity::scopes::internal::RegistryConfig::oem_installdir() const@Base" 0.4.0+14.04.20140312.1646 (c++)"unity::scopes::internal::RegistryConfig::oem_installdir() const@Base" 0.4.0+14.04.20140312.1
647 (c++)"unity::scopes::internal::RegistryConfig::click_installdir() const@Base" 0replaceme647 (c++)"unity::scopes::internal::RegistryConfig::click_installdir() const@Base" 0.4.3+14.10.20140428
648 (c++)"unity::scopes::internal::RegistryConfig::scope_installdir() const@Base" 0.4.0+14.04.20140312.1648 (c++)"unity::scopes::internal::RegistryConfig::scope_installdir() const@Base" 0.4.0+14.04.20140312.1
649 (c++)"unity::scopes::internal::RegistryConfig::scoperunner_path() const@Base" 0.4.0+14.04.20140312.1649 (c++)"unity::scopes::internal::RegistryConfig::scoperunner_path() const@Base" 0.4.0+14.04.20140312.1
650 (c++)"unity::scopes::internal::RegistryConfig::ss_registry_endpoint() const@Base" 0.4.0+14.04.20140312.1650 (c++)"unity::scopes::internal::RegistryConfig::ss_registry_endpoint() const@Base" 0.4.0+14.04.20140312.1
@@ -675,7 +675,7 @@
675 (c++)"unity::scopes::internal::ScopeMetadataImpl::invisible() const@Base" 0.4.0+14.04.20140312.1675 (c++)"unity::scopes::internal::ScopeMetadataImpl::invisible() const@Base" 0.4.0+14.04.20140312.1
676 (c++)"unity::scopes::internal::ScopeMetadataImpl::serialize() const@Base" 0.4.0+14.04.20140312.1676 (c++)"unity::scopes::internal::ScopeMetadataImpl::serialize() const@Base" 0.4.0+14.04.20140312.1
677 (c++)"unity::scopes::internal::StateReceiverObject::state_received() const@Base" 0.4.2+14.04.20140404.2677 (c++)"unity::scopes::internal::StateReceiverObject::state_received() const@Base" 0.4.2+14.04.20140404.2
678 (c++)"unity::scopes::QueryBase::valid() const@Base" 0replaceme678 (c++)"unity::scopes::QueryBase::valid() const@Base" 0.4.3+14.10.20140428
679 (c++)"unity::scopes::ScopeBase::scope_directory() const@Base" 0.4.2+14.04.20140404.2679 (c++)"unity::scopes::ScopeBase::scope_directory() const@Base" 0.4.2+14.04.20140404.2
680 (c++)"typeinfo for unity::scopes::Annotation@Base" 0.4.0+14.04.20140312.1680 (c++)"typeinfo for unity::scopes::Annotation@Base" 0.4.0+14.04.20140312.1
681 (c++)"typeinfo for unity::scopes::FilterBase@Base" 0.4.0+14.04.20140312.1681 (c++)"typeinfo for unity::scopes::FilterBase@Base" 0.4.0+14.04.20140312.1
682682
=== modified file 'src/scopes/internal/ScopeConfig.cpp'
--- src/scopes/internal/ScopeConfig.cpp 2014-04-08 08:26:44 +0000
+++ src/scopes/internal/ScopeConfig.cpp 2014-04-29 10:31:01 +0000
@@ -38,7 +38,7 @@
38namespace38namespace
39{39{
40 const string overrideable_str = "Override";40 const string overrideable_str = "Override";
41 const string scope_id_str = "DisplayName";41 const string scope_name_str = "DisplayName";
42 const string description_str = "Description";42 const string description_str = "Description";
43 const string author_str = "Author";43 const string author_str = "Author";
44 const string art_str = "Art";44 const string art_str = "Art";
@@ -61,8 +61,8 @@
61 overrideable_ = false;61 overrideable_ = false;
62 }62 }
6363
64 display_name_ = parser()->get_string(SCOPE_CONFIG_GROUP, scope_id_str);64 display_name_ = parser()->get_locale_string(SCOPE_CONFIG_GROUP, scope_name_str);
65 description_ = parser()->get_string(SCOPE_CONFIG_GROUP, description_str);65 description_ = parser()->get_locale_string(SCOPE_CONFIG_GROUP, description_str);
66 author_ = parser()->get_string(SCOPE_CONFIG_GROUP, author_str);66 author_ = parser()->get_string(SCOPE_CONFIG_GROUP, author_str);
6767
68 // For optional values, we store them in a unique_ptr so we can distinguish the "not set at all" case68 // For optional values, we store them in a unique_ptr so we can distinguish the "not set at all" case
@@ -86,7 +86,7 @@
86 }86 }
87 try87 try
88 {88 {
89 string hint = parser()->get_string(SCOPE_CONFIG_GROUP, search_hint_str);89 string hint = parser()->get_locale_string(SCOPE_CONFIG_GROUP, search_hint_str);
90 search_hint_.reset(new string(hint));90 search_hint_.reset(new string(hint));
91 }91 }
92 catch (LogicException const&)92 catch (LogicException const&)
9393
=== modified file 'test/gtest/scopes/internal/ScopeConfig/ScopeConfig_test.cpp'
--- test/gtest/scopes/internal/ScopeConfig/ScopeConfig_test.cpp 2014-03-18 10:25:32 +0000
+++ test/gtest/scopes/internal/ScopeConfig/ScopeConfig_test.cpp 2014-04-29 10:31:01 +0000
@@ -30,10 +30,11 @@
30 ScopeConfig cfg("configtest1.ini");30 ScopeConfig cfg("configtest1.ini");
3131
32 EXPECT_EQ("Scope name", cfg.display_name());32 EXPECT_EQ("Scope name", cfg.display_name());
33 EXPECT_EQ("Scope description", cfg.description());
33 EXPECT_EQ("scope art", cfg.art());34 EXPECT_EQ("scope art", cfg.art());
34 EXPECT_EQ("Canonical", cfg.author());35 EXPECT_EQ("Canonical", cfg.author());
35 EXPECT_EQ("an icon", cfg.icon());36 EXPECT_EQ("an icon", cfg.icon());
36 EXPECT_EQ("a search hint string", cfg.search_hint());37 EXPECT_EQ("search string", cfg.search_hint());
37 EXPECT_EQ("a key", cfg.hot_key());38 EXPECT_EQ("a key", cfg.hot_key());
3839
39 auto attrs = cfg.appearance_attributes();40 auto attrs = cfg.appearance_attributes();
@@ -47,6 +48,7 @@
47 ScopeConfig cfg("configtest2.ini");48 ScopeConfig cfg("configtest2.ini");
4849
49 EXPECT_EQ("Scope name", cfg.display_name());50 EXPECT_EQ("Scope name", cfg.display_name());
51 EXPECT_EQ("Scope description", cfg.description());
50 EXPECT_EQ("scope art", cfg.art());52 EXPECT_EQ("scope art", cfg.art());
51 EXPECT_EQ("Canonical", cfg.author());53 EXPECT_EQ("Canonical", cfg.author());
52 EXPECT_EQ("an icon", cfg.icon());54 EXPECT_EQ("an icon", cfg.icon());
@@ -59,6 +61,7 @@
59 ScopeConfig cfg("configtest3.ini");61 ScopeConfig cfg("configtest3.ini");
6062
61 EXPECT_EQ("Scope name", cfg.display_name());63 EXPECT_EQ("Scope name", cfg.display_name());
64 EXPECT_EQ("Scope description", cfg.description());
62 EXPECT_EQ("scope art", cfg.art());65 EXPECT_EQ("scope art", cfg.art());
63 EXPECT_EQ("Canonical", cfg.author());66 EXPECT_EQ("Canonical", cfg.author());
64 EXPECT_EQ("an icon", cfg.icon());67 EXPECT_EQ("an icon", cfg.icon());
@@ -69,3 +72,39 @@
69 EXPECT_EQ(0, cfg.appearance_attributes().size());72 EXPECT_EQ(0, cfg.appearance_attributes().size());
70 }73 }
71}74}
75
76class ScopeConfigWithIntl: public ::testing::Test
77{
78public:
79 ScopeConfigWithIntl()
80 {
81 setenv("LANGUAGE", "test", 1);
82 }
83
84 ~ScopeConfigWithIntl()
85 {
86 unsetenv("LANGUAGE");
87 }
88};
89
90TEST_F(ScopeConfigWithIntl, localization)
91{
92 {
93 ScopeConfig cfg("configtest1.ini");
94
95 EXPECT_EQ("copesay amenay", cfg.display_name());
96 EXPECT_EQ("copesay criptiondesay", cfg.description());
97 EXPECT_EQ("scope art", cfg.art());
98 EXPECT_EQ("Canonical", cfg.author());
99 EXPECT_EQ("an icon", cfg.icon());
100 EXPECT_EQ("earchsay ringstay", cfg.search_hint());
101 EXPECT_EQ("a key", cfg.hot_key());
102
103 auto attrs = cfg.appearance_attributes();
104 EXPECT_EQ(2, attrs.size());
105 EXPECT_EQ("foo", attrs["arbitrary_key"].get_string());
106 EXPECT_EQ("bar", attrs["another_one"].get_string());
107
108 EXPECT_THROW(cfg.scope_runner(), unity::scopes::NotFoundException);
109 }
110}
72111
=== modified file 'test/gtest/scopes/internal/ScopeConfig/configtest1.ini.in'
--- test/gtest/scopes/internal/ScopeConfig/configtest1.ini.in 2014-03-13 12:33:32 +0000
+++ test/gtest/scopes/internal/ScopeConfig/configtest1.ini.in 2014-04-29 10:31:01 +0000
@@ -1,10 +1,13 @@
1[ScopeConfig]1[ScopeConfig]
2DisplayName = Scope name2DisplayName = Scope name
3DisplayName[test] = copesay amenay
3Description = Scope description4Description = Scope description
5Description[test] = copesay criptiondesay
4Art = scope art6Art = scope art
5Author = Canonical7Author = Canonical
6Icon = an icon8Icon = an icon
7SearchHint = a search hint string9SearchHint = search string
10SearchHint[test] = earchsay ringstay
8HotKey = a key11HotKey = a key
912
10[Appearance]13[Appearance]

Subscribers

People subscribed via source and target branches

to all changes: