summaryrefslogtreecommitdiffstats
path: root/src/Daemon/CrashWatcher.h
Commit message (Collapse)AuthorAgeFilesLines
* make Warning, Error and Update send unicast dbus messagesDenys Vlasenko2009-09-081-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: eliminate g_pending_jobs[] map and all corresponding TODOs :)Denys Vlasenko2009-09-081-2/+2
| | | | | | | | | | -6k: text data bss dec hexfilename 194741 2656 2384 199781 30c65abrt.t1/abrt-0.0.8.5/src/Daemon/.libs/abrtd 188316 2648 2320 193284 2f304abrt.t2/abrt-0.0.8.5/src/Daemon/.libs/abrtd Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* correct g_pending_jobs' type; eliminate redundant string passingDenys Vlasenko2009-09-071-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove unused CObserver::Debug methodDenys Vlasenko2009-08-281-7/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplify error handling. CrashWatcher.cpp lost a few wrapper functionsDenys Vlasenko2009-08-271-7/+0
| | | | | | -4k of code Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* don't encode the job id into message string, send it as an separate argumentJiri Moskovcak2009-08-271-2/+2
|
* add job ids (== thread ids) to warning/update DBus messagesDenys Vlasenko2009-08-261-1/+1
| | | | | | | | renamed: comm_layer_inner_warning -> warn_client comm_layer_inner_status -> update_client Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* further simplify CObserver, CCommLayerServer, and CCrashWatcher classesDenys Vlasenko2009-08-261-23/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make some CrashWatcher member functions static; simplify CObserver classDenys Vlasenko2009-08-261-9/+21
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* consolidate common data declarations in new file Daemon.hDenys Vlasenko2009-08-261-14/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more sensible loggingDenys Vlasenko2009-08-251-1/+1
| | | | | | | | | | | comm_layer_inner_debug was jumping through the hoops in order to simply send a message to stderr. this can be made much simpler. also, set logmode to LOGMODE_SYSLOG in abrt daemon, making its log visible if it is daemonized. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* eliminate one-use class CDBusServer_adaptorDenys Vlasenko2009-08-251-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove CreateReport() method from server machinery; add comments about DBusDenys Vlasenko2009-08-251-9/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pass map_crash_report_t by const reference, not by valueDenys Vlasenko2009-08-251-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* class CMiddleWare no longer exists, it's a set of functions and lone data ↵Denys Vlasenko2009-08-241-2/+0
| | | | | | member now Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* start dismantling singe-instance class MiddleWareDenys Vlasenko2009-08-241-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cleanup (m_XXX -> g_XXX renames and the like)Denys Vlasenko2009-08-211-12/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move most of CCrashWatcher's init/deinit into daemon's main()Denys Vlasenko2009-08-211-27/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* at Jirka's request, restore setup where CCrashWatcher has its own source filesDenys Vlasenko2009-08-211-0/+120
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move class CCrashWatcher into daemon.cppDenys Vlasenko2009-08-211-146/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* GUI now show the status window after report to let user know how did it go.Jiri Moskovcak2009-08-171-1/+1
|
* DBUS: exposed method SetPluginSettingsJiri Moskovcak2009-08-121-0/+1
|
* moved LoadSettings from plugins into PluginManagerZdenek Prikryl2009-08-111-1/+1
|
* DBUS: exposed methods Un/RegisterPluginJiri Moskovcak2009-08-111-0/+3
|
* DBUS: added new method to get plugin settingsJiri Moskovcak2009-08-101-0/+1
|
* simplify logging by removing CCommLayerInner classDenys Vlasenko2009-08-071-1/+0
| | | | | | | | It had single use site. The class itself is trivial, it just passed messages down to an CObserver. Now we pass messages directly to an CObserver. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* preparatory cleanupsDenys Vlasenko2009-08-071-9/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtJiri Moskovcak2009-08-061-2/+2
|\ | | | | | | | | Conflicts: lib/CommLayer/DBusServerProxy.h
| * trailing whitespace removal. no code changesDenys Vlasenko2009-08-061-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | DBUS: added method GetPluginsInfo()Jiri Moskovcak2009-08-061-0/+1
|/
* made some functions staticDenys Vlasenko2009-08-041-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* DBus: Many fixes to client -> cli works again, changed JobDone notificationJiri Moskovcak2009-08-031-6/+14
|
* Daemon: threading fixesJiri Moskovcak2009-07-221-1/+2
|
* Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtJiri Moskovcak2009-07-201-2/+3
|\
| * rework unsafe handling of SIGINT/SIGTERMDenys Vlasenko2009-07-171-2/+3
| | | | | | | | | | | | | | | | | | | | Signals are asynchronous. It is unsafe to perform such complex operations in a signal handler. I changed signal handler to just set a flag, and added an event source which returns an event when this variable is set. The action is to stop event loop. Execution then falls through to program exit. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Daemon: added threaded CreateReport -> breaks CLI!Jiri Moskovcak2009-07-201-2/+16
|/
* proper way how to daemonizeZdenek Prikryl2009-06-241-3/+0
|
* Added pidfile support in daemon (C hook should work now)Jiri Moskovcak2009-06-231-0/+2
|
* added new options to AT, which defines what communication platform will be usedZdenek Prikryl2009-06-111-3/+3
|
* abrt can take reporter's configuration file from reporting users's ↵Zdenek Prikryl2009-06-101-1/+2
| | | | $HOME/.abrt/ directory
* support for simpler settingsZdenek Prikryl2009-05-121-0/+26
|
* new commlayerinner interfaceZdenek Prikryl2009-04-281-2/+2
|
* final touch on commlayer, minor fixes in exceptions (zprikryl)Jiri Moskovcak2009-04-241-2/+2
|
* Added intercomm layer so plugins can send various information to the daemon.Jiri Moskovcak2009-04-231-8/+9
|
* Configurable max size of debugdump storage rhbz#490889Jiri Moskovcak2009-04-101-0/+1
|
* new crash typesZdenek Prikryl2009-04-021-1/+3
|
* added new interface frof settingsZdenek Prikryl2009-04-021-4/+6
|
* Added commlayer to make dbus optionalJiri Moskovcak2009-04-011-7/+21
|
* Fixed daemon to compile with new MW API, added check for dumps created while ↵Jiri Moskovcak2009-03-231-1/+3
| | | | | | daemon wasn't running - minor spec file fixes
* Rename to abrtJiri Moskovcak2009-03-031-2/+2
|