summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui
AgeCommit message (Collapse)Author
2010-08-27Use logging in the knotty ui, and pass the log record across directlyChris Larson
This kills firing of Msg* events in favor of just passing along LogRecord objects. These objects hold more than just level and message, but can also have exception information, so the UI can decide what to do with that. As an aside, when using the 'none' server, this results in the log messages in the server being displayed directly via the logging module and the UI's handler, rather than going through the server's event queue. As a result of doing it this way, we have to override the event handlers of the base logger when spawning a worker process, to ensure they log via events rather than directly. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-08-27Use the python logging module under the hood for bb.msgChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-213.0 prepChris Larson
2010-06-21Apply some 2to3 refactoringsChris Larson
2010-06-21Drop a couple usages of readlinesChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-10knotty: use the future division to prep for 3.xChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-10knotty: stop freaking out and dying when bb.build has removed the empty logfileChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-08Move the output of no provider and multiple provider messages into the UIChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-08Make knotty ignore the NoProvider eventChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-11Apply some 2to3 transforms that don't cause issues in 2.6Chris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-09Apply the 2to3 print function transformChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-09Formatting cleanupsChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-09Fix an error in the ncurses UIChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-09Fix the task event handling in the ncurses UIChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-03-23crumbs: fix hassattr typoChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-02-25knotty: tweak failure phraseBernhard Reutner-Fischer
..to make copy and paste of the logfile easier. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Chris Larson <clarson@kergoth.com>
2010-01-21knotty: Improve task failure message handling using the uihelper codeRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-20Improve BBCLASSEXTEND handling for skipped packages and report better ↵Richard Purdie
parsing statistics Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-19ui: Convert remaining event handlers to use isinstanceRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-01-19event.py: Convert to using pickle for events and isinstance in knotty UI handlerRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-10-17knotty: Add new event from compare reivions codeRichard Purdie
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
2009-09-14Add a RecipeParsed event, which can be used as an alternative to anonymous ↵Chris Larson
functions. Signed-off-by: Chris Larson <clarson@mvista.com>
2009-07-23ui/puccho: Improve path specification to glade files (from Poky)Richard Purdie
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-11[ui] Fix import statements reported by pyflakesHolger Hans Peter Freyther
We ignore the following kind of warnings import gtk import gtk.glade... as glade is not imported by default and need that extra line, pyflakes does not know...
2008-12-06Add puccho, goggle and crumbs metadata from Poky (by Robert Bradford)Richard Purdie
2008-12-06Update the UIs against the core changes and allow dynamic loading of the UI ↵Richard Purdie
so UIs become truly plugable.
2008-12-06Rename depexplorer -> depexp for consistencyRichard Purdie
2008-12-06command.py: Standardise to getVariable and setVariable functions for ↵Richard Purdie
consistent naming
2008-04-27ncurses.py: Develop slightly further, various improvementsRichard Purdie
2008-04-27uihelper.py: Fill out the code a bit moreRichard Purdie
2008-04-06Add experimental/toy dependency explorer UI (based on some code from Ross ↵Richard Purdie
Burton but the bugs are mine)
2008-04-06utils.py: Improve compile/execute error messagesRichard Purdie
2008-04-06knotty.py: Rename frontend to server to make things a bit clearerRichard Purdie
2008-03-16Add return value handling (thanks pH5)Richard Purdie
2008-03-13ui/knotty.py: Ignore StampUpdate eventsRichard Purdie
2007-08-25ncurses.py: Tweak version fieldRichard Purdie
2007-08-25ncurses.py: Update so it runs againRichard Purdie
2007-08-19knotty.py: Improve BBINCLUDELOGS_LINES handling (#97)Richard Purdie
2007-08-18knotty.py: Implement INCLUDELOGS handlingRichard Purdie
2007-08-18cooker.py: Handle error cases (e.g. no targets specified) more neatlyRichard Purdie
2007-08-18uievent.py: Fix teardown racesRichard Purdie
2007-08-18Add the start of several UI modulesRichard Purdie