summaryrefslogtreecommitdiffstats
path: root/src/Daemon
Commit message (Collapse)AuthorAgeFilesLines
...
* remove unused CObserver::Debug methodDenys Vlasenko2009-08-283-12/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* daemon: better cleanup logic; added -v option (so far does nothing)Denys Vlasenko2009-08-282-46/+76
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Added {Get, Set}Settings functionsZdenek Prikryl2009-08-272-1/+34
|
* fixed rhbz 518606Zdenek Prikryl2009-08-271-50/+41
|
* consolidate container typedefs in one file (we had a few dupes)Denys Vlasenko2009-08-278-48/+31
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplify error handling. CrashWatcher.cpp lost a few wrapper functionsDenys Vlasenko2009-08-277-160/+83
| | | | | | -4k of code Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* eliminate global variable g_cwDenys Vlasenko2009-08-273-29/+27
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* added signal JobStarted => removed the ugly sleep() hackJiri Moskovcak2009-08-274-12/+13
|
* don't encode the job id into message string, send it as an separate argumentJiri Moskovcak2009-08-275-14/+25
|
* add job ids (== thread ids) to warning/update DBus messagesDenys Vlasenko2009-08-268-50/+65
| | | | | | | | renamed: comm_layer_inner_warning -> warn_client comm_layer_inner_status -> update_client Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* replace comm_layer_inner_debug() with log() everywhereDenys Vlasenko2009-08-262-6/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* resolved: Bug 518420 - ordinary user's abrt-applet shows up for root owned ↵Nikola Pajkovsky2009-08-264-6/+7
| | | | crashes
* further simplify CObserver, CCommLayerServer, and CCrashWatcher classesDenys Vlasenko2009-08-268-180/+60
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make some CrashWatcher member functions static; simplify CObserver classDenys Vlasenko2009-08-266-48/+64
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* eliminate AddOpenGPGPublicKey() and AddBlackListedPackage() stubsDenys Vlasenko2009-08-266-43/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* consolidate common data declarations in new file Daemon.hDenys Vlasenko2009-08-267-30/+72
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* class CRPM: make a few functions nono-membersDenys Vlasenko2009-08-263-56/+55
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* removing unused file src/Daemon/exported-symbolsDenys Vlasenko2009-08-261-3/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move lib/MiddleWare/RPM.{h,cpp} to src/Daemon, the sole userDenys Vlasenko2009-08-253-0/+281
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Merge branch 'master' of ssh://vda@git.fedorahosted.org/git/abrtDenys Vlasenko2009-08-253-3/+109
|\
| * Merge branch 'master' of git://git.fedorahosted.org/abrtZdenek Prikryl2009-08-251-1/+1
| |\
| * | added support for saving settingsZdenek Prikryl2009-08-252-2/+108
| | |
| * | fixed conf: comment in the middle of the line isn't supported anymoreZdenek Prikryl2009-08-251-1/+1
| | |
* | | more sensible loggingDenys Vlasenko2009-08-258-58/+45
| |/ |/| | | | | | | | | | | | | | | | | | | 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>
* | BZ#518413 PATCH ... furious kerneloops reportingAnton Arapov2009-08-251-1/+1
|/ | | | back to old logic.
* eliminate one-use class CDBusServer_adaptorDenys Vlasenko2009-08-258-388/+189
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move to_string() helper to abrtlib.hDenys Vlasenko2009-08-251-11/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove CreateReport() method from server machinery; add comments about DBusDenys Vlasenko2009-08-258-113/+117
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pass map_crash_report_t by const reference, not by valueDenys Vlasenko2009-08-259-26/+29
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* separate DBus::Glib::BusDispatcher creating from CommLayerServerDBus creationDenys Vlasenko2009-08-243-9/+21
| | | | | | | | it's technically wrong to do it that way. It was not biting us because we were creating just one object, but it was also ugly. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trivial simplification: make LoadSettings() take char*, not string& paramDenys Vlasenko2009-08-244-25/+25
| | | | | | and some cosmetics... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* eliminate data duplication in Settings and MiddleWareDenys Vlasenko2009-08-243-47/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dismantle single-instance class CSettingsDenys Vlasenko2009-08-244-296/+224
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* convert two PluginManager member functions to non-member onesDenys Vlasenko2009-08-246-140/+142
| | | | | | some cleanups for previous commits included too Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hardcode CPluginManager constructor's parameters, they are constantDenys Vlasenko2009-08-243-21/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* eliminate class DynamicLybrary by folding it into class ABRTPluginDenys Vlasenko2009-08-246-139/+21
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move CSettings::inner_types out of class CSettings. They are generic typesDenys Vlasenko2009-08-244-33/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move CMiddleWare initialized/finalizer into its sole userDenys Vlasenko2009-08-243-30/+18
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplifications by exposing g_pPluginManagerDenys Vlasenko2009-08-244-99/+37
| | | | 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-245-337/+300
| | | | | | member now Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* start dismantling singe-instance class MiddleWareDenys Vlasenko2009-08-246-110/+113
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make some variables local; rename a few typedefsDenys Vlasenko2009-08-245-32/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cleanup (m_XXX -> g_XXX renames and the like)Denys Vlasenko2009-08-215-109/+96
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move most of CCrashWatcher's init/deinit into daemon's main()Denys Vlasenko2009-08-213-171/+135
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* at Jirka's request, restore setup where CCrashWatcher has its own source filesDenys Vlasenko2009-08-214-612/+667
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Daemon.cpp: eliminate a few auxiliary struct fields we no longer needDenys Vlasenko2009-08-211-30/+24
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Daemon.cpp: convert CCrashWatcher members functions to staticsDenys Vlasenko2009-08-211-50/+44
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Daemon.cpp: convert CCrashWatcher inner structs and some functions into staticsDenys Vlasenko2009-08-211-69/+67
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Daemon.cpp: simplify waiting for the TERM/INT signalDenys Vlasenko2009-08-211-82/+40
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Daemon.cpp: convert CCrashWatcher members to static variablesDenys Vlasenko2009-08-211-60/+52
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>