summaryrefslogtreecommitdiffstats
path: root/pyfirstaidkit/reporting.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix traceback occuring when reply was processed in plugin before notifyAllMartin Sivak2010-08-311-1/+0
|
* Standardize option passing in Questions and add Back & Abort buttons to ↵Martin Sivak2010-08-301-23/+25
| | | | Config question. Also add radio button mode to Config question.
* Add Combo mode to ConfigDialogMartin Sivak2010-08-301-2/+11
|
* Add checkbox mode to the Config dialogMartin Sivak2010-08-301-3/+4
|
* Fix the regular expression check and make Config buttons more clearMartin Sivak2010-08-301-1/+2
|
* Improve the user experienceMartin Sivak2010-08-241-2/+5
| | | | | | - Expert tab is hidden by default - Config dialog checks the format of entered values - Example plugin for dialogs updated
* Add List/Config question (something similar to about:config) and Gtk GUI for itMartin Sivak2010-08-231-0/+23
|
* Add question support.Miloslav Trmač2009-07-171-3/+106
| | | | Signed-off-by: Martin Sivak <msivak@redhat.com>
* * Replace Reports(round) by Reports(silent) to avoid a lock around allMiloslav Trmač2009-07-171-28/+11
| | | | | | | | | | | | | | | | | | | | | | | | queue operations, which causes an automatic deadlock on a: get a: ... lock _queue_lock a: ... block on _queue b: put b: ... block on _queue_lock Because nobody reads from the main queue that used round = True, this doesn't change application behavior. * Drop return value of Reports.put, it is always None anyway. * Fix self._mailboxes locking: instead of try: lock ... finally: unlock it needs to be lock try: ... finally: unlock
* Fix Reports.notifyAllMiloslav Trmač2009-07-171-1/+1
| | | | Signed-off-by: Martin Sivak <msivak@redhat.com>
* Fix the reporting some more (inreplyto fixes)Martin Sivak2009-07-171-2/+2
|
* Make END message more generic, so the plugins can use it to signal the end ↵Martin Sivak2009-07-141-26/+26
| | | | of answer
* Make the answer mailboxes a proper Reporting objects so we can use all the ↵Martin Sivak2009-07-141-14/+64
| | | | standard methods of message construction
* Add PLUGIN as the default value for level in the reporting functions.Joel Andres Granados2008-08-071-23/+26
| | | | | This will make life much easier for the plugin developers. Now there is no need to specify level inside the plugin.
* Fix the format of the firstaidkit file.Joel Andres Granados2008-07-141-19/+37
| | | | | | | | | | | | | - Indendtation should be 4 spaces. There was a function indented with 8 spaces. - Lines should be shorted than 80 chars. It just looks pretty :) Think of terminals whith only 80 char of length. Think of debuging in rescue mode. - Change also the print statements. Just getting ready for python 3000. - Get some spaces between elifs - There should not be any lines ending in spaces. - This can all be read in the python code conventions http://www.python.org/dev/peps/pep-0008/
* Issue reporting and Tasker interruptMartin Sivak2008-04-231-1/+1
|
* Circular buffer works correctly and the baskup system doesn't stay ↵Martin Sivak2008-04-221-2/+14
| | | | initialized because of reporting queue anymore
* Add ISSUE message to reporting and create SimpleIssue as a parent for Issue ↵Martin Sivak2008-04-221-0/+5
| | | | class (so everybody can use something simple to report state)
* Improvements targeted at better Gui integrationMartin Sivak2008-04-211-5/+5
|
* Introduce the reporting queue support for circular buffer and callback ↵Martin Sivak2008-04-181-4/+29
| | | | notifications during put operation
* When plugin throws an exception during plugin discovery, ignore it (just ↵Martin Sivak2008-04-101-1/+1
| | | | print error message)
* Sanitize the origin/level/importance systemMartin Sivak2008-03-051-29/+45
| | | | | Use reporting when possible (some messages automatically use Logger to avoid duplication) Improve the Output thread to use the new level/importance system
* Modify the reporting system to use dictionary as message containerMartin Sivak2008-03-041-7/+24
|
* Move from tasker to pyfirstaidkit to try to follow the standard in ↵Joel Andres Granados2008-01-021-0/+96
site-packages.