Created by Michał Sawicz on 2015-01-16 and last modified on 2015-01-16
Get this branch:
bzr branch lp:~saviq/unity-scopes-api/fix-cross-wrap
Only Michał Sawicz can upload to this branch. If you are Michał Sawicz please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Michał Sawicz

Recent revisions

559. By Michał Sawicz on 2015-01-16

Merge trunk.

558. By Michał Sawicz on 2015-01-16

Depend on :native version of g++ to allow cross-compiling to work.

555. By Marcus Tomlinson on 2014-12-08

Added support for IsAggregator scope .ini option.

Approved by PS Jenkins bot, Michi Henning.

554. By Michi Henning on 2014-12-08

Changed run_scope() to not create a separate run time up-front just so it can
push the state notification when registry when the scope finishes. This has
two advantages:

- We don't create an extra eleven threads that hang around and do nothing for the
  entire life time of the scope.

- We don't create two run times with the same name (as was happening previously).
  The run time IDs must be unique because they are used to derive other things
  that must be unique, such as socket names and log file names. In particular,
  the duplicate run time IDs caused the log file to get corrupted.

This solution is better than what we had, but still sub-optimal because we are still creating a separate run time at the end just so we can tell the registry that the scope has stopped. It would be better to bury these notifications in the middleware, where we can take short-cuts without all the overhead of outgoing thread pools and the like.

Also deprecated the run_scope() overload that takes a Runtime.ini param. That one was not needed, and not called by anyone (including the Go implementation).

We need to remember to strip this method from Runtime next time we do an ABI incompatible release.

Stripped out a bunch of redundant "mutable" in RuntimeImpl.h.

Approved by Marcus Tomlinson, PS Jenkins bot.

553. By Michi Henning on 2014-12-05

Generated convenience header wasn't generating #pragma once. Fixes: https://bugs.launchpad.net/bugs/1385360.

Approved by PS Jenkins bot, Marcus Tomlinson.

552. By Marcus Tomlinson on 2014-12-03

* Update the accounts we already know about when refresh_service_statuses() is called.

* Remove the refresh_services_no_main_loop test as refresh_service_statuses() just won't work without a main loop (this test passed incorrectly before). Fixes: https://bugs.launchpad.net/bugs/1398813.

Approved by Pawel Stolowski, PS Jenkins bot.

551. By Marcus Tomlinson on 2014-12-03

Renamed "Tags" scope .ini option to "Keywords".

Approved by PS Jenkins bot.

550. By Paweł Stołowski on 2014-12-02

Don't disable stdout when spawning scopes, this is confusing for developers. Allow stdout to appear in the log.

Approved by Marcus Tomlinson, PS Jenkins bot.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.