summaryrefslogtreecommitdiffstats
path: root/src/Daemon/MiddleWare.cpp
Commit message (Collapse)AuthorAgeFilesLines
* *: remove most of remaining const string& paramsDenys Vlasenko2009-12-071-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplify code which deletes corrupted debug dumps; kill unused EXCEP_FATALDenys Vlasenko2009-12-041-24/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* SQLite3: string& -> char*, -8k in code sizeDenys Vlasenko2009-12-031-1/+1
| | | | | | Run tested Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hopefully fix rhbz#541854: when we trim the dir, we must delete it from DB tooDenys Vlasenko2009-12-031-25/+38
| | | | | | Also added a more robust code to resis SEGVing if directory doesn't exist. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fixes on top of AutoReportUIDs change. run testedDenys Vlasenko2009-11-301-6/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* a few fixes in automatic reporterNikola Pajkovsky2009-11-301-5/+7
|
* Kerneloops are reported automaticky now when AutoReportUIDs = root is in ↵Nikola Pajkovsky2009-11-261-0/+49
| | | | | | Kerneloops.conf Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* hookCCpp: check total dump dir size and delete the largest/oldest oneDenys Vlasenko2009-11-261-7/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* 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>