summaryrefslogtreecommitdiffstats
path: root/src/Daemon/MiddleWare.cpp
Commit message (Collapse)AuthorAgeFilesLines
* change "python /path/to/script" code a bit: doesnt log false failures nowDenys Vlasenko2009-12-161-53/+67
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix all instances of atoi() usageDenys Vlasenko2009-12-151-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move misplaced commentDenys Vlasenko2009-12-151-9/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* don't blame python for every crash in /usr/bin/python rhbz#533521 trac#109Jiri Moskovcak2009-12-151-1/+49
| | | | | | - when there is a bug in 3rd party python extension, the python binary creates the coredump, so ABRT always blames the python package, but we want to blame the app that uses the extension instead
* better logging of package and hash checksDenys Vlasenko2009-12-141-11/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* temporarily convert hyperlink-laden label to normal one (HL doesn't work)Denys Vlasenko2009-12-111-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt-cli: report success/failure of reporting. closes bug 71Denys Vlasenko2009-12-111-4/+4
| | | | | | See https://fedorahosted.org/abrt/ticket/71 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove one case when we write data needlessly; remove 2 unused funcsDenys Vlasenko2009-12-101-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: 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>