bitbake: bitbake: Add ui event handlers filtering
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 23 Aug 2013 16:16:50 +0000 (16:16 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Aug 2013 10:29:46 +0000 (11:29 +0100)
commitf1b628b881eae6971b27bdbc8c41ddbba8b89122
tree95be4f9531fb62966630a65255e08e2a9f0727c4
parentb568beea857b05cfa008b5dafdae6497de24f8b2
bitbake: bitbake: Add ui event handlers filtering

Add functionality to allow UIs to update and change the types of events they
recieve. To do this we need to add a new command and also need to be able
to obtain the current event hander ID. In the case of xmlrpc, this is
straightforward, in the case of the process server we need to save the result
in a multiprocessing.Value() so we can retrive it. An excplit command
was added to the server API to facilitate this.

The same function can also be used to mask or unmask specific log messages,
allowing the UI to optionally differ from the standard set of message
filtering.

Based upon work by Cristiana Voicu <cristiana.voicu@intel.com>

(Bitbake rev: ba5a6c88785d9889d4172ec79937ac2a5555327e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/command.py
bitbake/lib/bb/event.py
bitbake/lib/bb/server/process.py
bitbake/lib/bb/server/xmlrpc.py
bitbake/lib/bb/ui/knotty.py