summaryrefslogtreecommitdiffstats
path: root/src/Daemon/CommLayerServerDBus.cpp
Commit message (Collapse)AuthorAgeFilesLines
* CommLayerServerDBus: wire up {Get,Set}Settings as dbus methodsDenys Vlasenko2009-09-031-13/+53
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* CommLayerServerDBus: make it resilient (again) against malformed dbus callsDenys Vlasenko2009-09-021-124/+231
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix my mixup of int64/uint64 in dbusDenys Vlasenko2009-09-021-8/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix map_string_string_t typedef name to map_string_t; silly optimizationsDenys Vlasenko2009-09-021-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* optimize type signature string generation for dbusDenys Vlasenko2009-09-011-12/+19
| | | | | | | | | | -1.5k: text data bss dec hex filename 194731 2584 2320 199635 30bd3 abrt.z7/abrt-0.0.8/src/Daemon/.libs/abrt 193117 2592 2320 198029 3058d abrt.z8/abrt-0.0.8/src/Daemon/.libs/abrt Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move die_out_of_memory() to abrtlibDenys Vlasenko2009-09-011-6/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace fixesDenys Vlasenko2009-09-011-5/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* CommLayerServerDBus: rewrote to use dbus, not dbus-c++Denys Vlasenko2009-09-011-185/+777
| | | | | | | | | | | | | | | Expect some rough edges. On the plus side: (1) -15 kb in our own code: text data bss dec hex filename 209057 2664 2640 214361 34559 abrt.z5/abrt-0.0.8/src/Daemon/.libs/abrt 194958 2576 2320 199854 30cae abrt.z6/abrt-0.0.8/src/Daemon/.libs/abrt (2) this will allow us to stop using libdbus-c++-1.so.0 in the future (-200kb of code) (3) a lot of logging added (most on -vvv verbosity level) to help with debug Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* DBUS: return proper ErrorMessage if report failsJiri Moskovcak2009-09-011-1/+11
|
* daemon: log DBus calls with -v; log file creation only with -vvvDenys Vlasenko2009-08-281-7/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplify error handling. CrashWatcher.cpp lost a few wrapper functionsDenys Vlasenko2009-08-271-10/+9
| | | | | | -4k of code Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* added signal JobStarted => removed the ugly sleep() hackJiri Moskovcak2009-08-271-0/+9
|
* don't encode the job id into message string, send it as an separate argumentJiri Moskovcak2009-08-271-2/+11
|
* add job ids (== thread ids) to warning/update DBus messagesDenys Vlasenko2009-08-261-3/+3
| | | | | | | | renamed: comm_layer_inner_warning -> warn_client comm_layer_inner_status -> update_client 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-261-2/+3
| | | | crashes
* further simplify CObserver, CCommLayerServer, and CCrashWatcher classesDenys Vlasenko2009-08-261-73/+34
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make some CrashWatcher member functions static; simplify CObserver classDenys Vlasenko2009-08-261-10/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* eliminate AddOpenGPGPublicKey() and AddBlackListedPackage() stubsDenys Vlasenko2009-08-261-4/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more sensible loggingDenys Vlasenko2009-08-251-2/+2
| | | | | | | | | | | 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-20/+157
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove CreateReport() method from server machinery; add comments about DBusDenys Vlasenko2009-08-251-29/+39
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pass map_crash_report_t by const reference, not by valueDenys Vlasenko2009-08-251-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* separate DBus::Glib::BusDispatcher creating from CommLayerServerDBus creationDenys Vlasenko2009-08-241-4/+9
| | | | | | | | 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-241-5/+4
| | | | | | and some cosmetics... Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cleanup (m_XXX -> g_XXX renames and the like)Denys Vlasenko2009-08-211-5/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move lib/CommLayer/CommLayerServer*.{h,cpp} to src/Daemon/, the sole userDenys Vlasenko2009-08-191-0/+147
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>