summaryrefslogtreecommitdiffstats
path: root/src/Daemon/MiddleWare.cpp
Commit message (Collapse)AuthorAgeFilesLines
* fix small bug where we use value first and *then* check for its validityDenys Vlasenko2009-11-191-1/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make BZ insert small text attachments inline; move text file detection codeDenys Vlasenko2009-11-191-46/+107
| | | | | | Run-tested Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* continuing s/std::string&/char*/gDenys Vlasenko2009-11-161-15/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add experimental saving of /var/log/Xorg*.log for X crashesDenys Vlasenko2009-11-161-7/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove unused version of SaveDebugDump()Denys Vlasenko2009-11-091-7/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make "InformAllUsers" crashes be recorded with UID=-1 in dbDenys Vlasenko2009-11-091-23/+33
| | | | | | this makes them show up in GUI again Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplify logging a bit. warn_client() is gone, reuse error_msg() for it.Denys Vlasenko2009-11-061-11/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make exception handling lighterDenys Vlasenko2009-11-061-14/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mass replace of const string& params by const char*Denys Vlasenko2009-11-061-83/+84
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make the CheckReport() to ignore kerneloopsesJiri Moskovcak2009-11-031-0/+5
|
* lib/Plugins/CCpp: respect DebugInfoCacheMB settingDenys Vlasenko2009-11-021-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Hack to fix the problem with daemon remembering the last used settingsJiri Moskovcak2009-11-011-3/+6
|
* lib/Plugins/Logger: much more sane dump format; fix misdetection of text filesDenys Vlasenko2009-10-301-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Normal user can see kerneloops and report itNikola Pajkovsky2009-10-291-0/+3
| | | | Bugzilla memory leaks fix
* abrtd: remove accesses to ~user/.abrtDenys Vlasenko2009-10-221-17/+19
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* optimizationsDenys Vlasenko2009-10-221-5/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Use defines instead of strings where possible.Karel Klic2009-10-211-1/+1
|
* *: add "force" param to CreateReport dbus call. If !0, regenerates backtraceDenys Vlasenko2009-10-091-6/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fixed savind comments and how to reproduce filesZdenek Prikryl2009-09-211-17/+27
|
* comments and how to reproduce are stored nowNikola Pajkovsky2009-09-211-0/+29
|
* convert a few string& params to char*Denys Vlasenko2009-09-151-5/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fixed geting results from reportersZdenek Prikryl2009-09-111-5/+5
|
* fix the bug where lock file was not removedDenys Vlasenko2009-09-091-14/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Small fix in loggingDenys Vlasenko2009-09-081-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* preparatory work for proper (i.e. unicast) server->client dbus communicationDenys Vlasenko2009-09-071-7/+15
| | | | | | | | + /* send unicast dbus signal */ + if (!dbus_message_set_destination(msg, pDest)) + die_out_of_memory(); Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use CRPM class only in MiddleWare.cppDenys Vlasenko2009-09-071-6/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typedef cleanup. no code changesDenys Vlasenko2009-09-041-1/+1
| | | | 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-22/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fixed report check to really do the checkingJiri Moskovcak2009-09-011-1/+1
|
* added report checkZdenek Prikryl2009-08-311-4/+38
|
* fixed rhbz 518606Zdenek Prikryl2009-08-271-50/+41
|
* consolidate container typedefs in one file (we had a few dupes)Denys Vlasenko2009-08-271-8/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add job ids (== thread ids) to warning/update DBus messagesDenys Vlasenko2009-08-261-13/+13
| | | | | | | | renamed: comm_layer_inner_warning -> warn_client comm_layer_inner_status -> update_client Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* eliminate AddOpenGPGPublicKey() and AddBlackListedPackage() stubsDenys Vlasenko2009-08-261-10/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* consolidate common data declarations in new file Daemon.hDenys Vlasenko2009-08-261-8/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* class CRPM: make a few functions nono-membersDenys Vlasenko2009-08-261-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more sensible loggingDenys Vlasenko2009-08-251-11/+9
| | | | | | | | | | | 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 data duplication in Settings and MiddleWareDenys Vlasenko2009-08-241-34/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dismantle single-instance class CSettingsDenys Vlasenko2009-08-241-17/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* convert two PluginManager member functions to non-member onesDenys Vlasenko2009-08-241-1/+1
| | | | | | some cleanups for previous commits included too Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move CMiddleWare initialized/finalizer into its sole userDenys Vlasenko2009-08-241-16/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplifications by exposing g_pPluginManagerDenys Vlasenko2009-08-241-58/+27
| | | | 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-43/+102
| | | | | | member now Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* start dismantling singe-instance class MiddleWareDenys Vlasenko2009-08-241-11/+51
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make some variables local; rename a few typedefsDenys Vlasenko2009-08-241-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Improved report resultsZdenek Prikryl2009-08-211-7/+13
|
* fixed signature checkZdenek Prikryl2009-08-201-3/+7
|
* MiddleWare, Bugzilla: create new component file. Can be used in reportingZdenek Prikryl2009-08-201-37/+54
| | | | MiddleWare: fixed reporting according package name
* in case of plugin error, don't delete debug dumpsZdenek Prikryl2009-08-181-0/+4
|
* added support for storing results from reporters (used from gui)Zdenek Prikryl2009-08-141-4/+17
|