summaryrefslogtreecommitdiffstats
path: root/lib/Plugins/KerneloopsReporter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* kerneloop is more informative when failedNikola Pajkovsky2010-04-121-6/+9
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* Change kerneloops message when it failedNikola Pajkovsky2010-04-071-1/+1
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* rhticket: factor out HTTP POST code into abrt_curl.{h,cpp}Denys Vlasenko2010-03-251-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use FILENAME_BACKTRACE for oops text tooDenys Vlasenko2010-03-051-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* license fixNikola Pajkovsky2010-02-161-23/+16
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* move all FILENAME_xxx defines to inc/CrashTypes.hDenys Vlasenko2010-01-191-2/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unify "crash data, "crash info" and "crash report" data types. they are the sameDenys Vlasenko2010-01-191-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* prevent destructors from throwing exceptions; check curl_easy_init errorsDenys Vlasenko2009-12-161-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix incorrect wordingDenys Vlasenko2009-12-091-1/+6
| | | | | | | | | This looked wrong: "This crash has been reported, you can find the report(s) at: Kernel oops report was uploaded." Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove most of remaining const string& paramsDenys Vlasenko2009-12-071-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove std::string usage from class CABRTException.Denys Vlasenko2009-12-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Kerneloops are reported automaticky now when AutoReportUIDs = root is in ↵Nikola Pajkovsky2009-11-261-1/+1
| | | | | | Kerneloops.conf Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* make plugin descriptions more consistent in styleDenys Vlasenko2009-11-131-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove getSettings from most plugins (inherited one is ok)Denys Vlasenko2009-11-101-8/+13
| | | | | | | | | Also move parse_release() to abrtlib, it's shared among Bugzilla and Catcut. Tested Bugzilla and Catcut, both work. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* give Plugin class a map_plugin_settings_t memberDenys Vlasenko2009-11-061-5/+3
| | | | | | This simplifies and unifies get/set settings ops Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* InformAllUsers support. enabled by default for Kerneloops. Tested wuth CCpp.Denys Vlasenko2009-11-051-9/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Hack to fix the problem with daemon remembering the last used settingsJiri Moskovcak2009-11-011-1/+3
|
* Normal user can see kerneloops and report itNikola Pajkovsky2009-10-291-1/+1
| | | | Bugzilla memory leaks fix
* kerneloops_reporter: fix the stringAnton Arapov2009-09-231-1/+1
| | | | | thanks to Andreas Frische <andreasfrische@gmail.com> for pointing this out.
* add gettext support for all pluginsNikola Pajkovsky2009-09-021-1/+1
|
* add job ids (== thread ids) to warning/update DBus messagesDenys Vlasenko2009-08-261-1/+1
| | | | | | | | renamed: comm_layer_inner_warning -> warn_client comm_layer_inner_status -> update_client Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* added support for storing results from reporters (used from gui)Zdenek Prikryl2009-08-141-2/+6
|
* moved LoadSettings from plugins into PluginManagerZdenek Prikryl2009-08-111-8/+0
|
* Kerneloops plugin: style fixesAnton Arapov2009-08-101-10/+8
|
* fix a bug where kerneloops segfaults on empty oops dataAnton Arapov2009-08-101-5/+15
| | | | | | | also, we aren't interested in empty reports, so do not report anything when oops message was not provided. Signed-off-by: Anton Arapov <aarapov@redhat.com>
* fix compile-time warnings.Denys Vlasenko2009-08-091-2/+3
| | | | | | | One fix (in CCrashWatcher::GetPluginsInfo) needs closer look, others are "trivially correct" Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Split real code from lib/MiddleWare/Plugin.h into Plugin.cpp.Denys Vlasenko2009-08-071-4/+1
| | | | | | 30k smaller code. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* added new interface for geting plugins' settings (will be used in gui)Zdenek Prikryl2009-07-311-6/+19
|
* Move PLUGIN_INFOs to .cpp files: same object must never be defined twiceDenys Vlasenko2009-07-311-0/+9
| | | | | | | | and if structure is defined in a .h file, that happens. Since this particular structure has non-trivial destructor, it was running twice and resulted in double-free. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* KerneloopsReporter: plug a leak in writefunctionDenys Vlasenko2009-07-311-14/+36
| | | | | | Also some preparatory cleanups for future dumpoops patch are included Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* bug fixes in kerneloops scannerDenys Vlasenko2009-07-311-8/+8
| | | | | | | | | | | | | | | | | | | | | CKerneloopsScanner::Run - scan syslog file first, then dmesg (was other way around) CKerneloopsScanner::SaveOopsToDebug - cast time_t and size_t to long when we feed them to snprintf CKerneloopsScanner::ScanSysLogFile - do not seek to negative offsets, POSIX does not allow that CSysLog::QueueOops - plug memory leak Also used some abrtlib functions where appropriate, use open instead of fopen where appropriate, do not check error in time() - it never fails, move around bits of code in CKerneloopsScanner to make it easier in future to create a tool for parsing arbitrary files for oopses. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rework commlayerinner usageZdenek Prikryl2009-04-291-2/+2
| | | | new lock method in debugdump
* new commlayerinner interfaceZdenek Prikryl2009-04-281-1/+3
|
* - reporter plugins can tak an argimentZdenek Prikryl2009-04-161-1/+1
| | | | | - added "Reporters" option which allows report basic info after a crash occurs - fixed interface of plugins
* renamed MW libraryZdenek Prikryl2009-04-081-1/+3
| | | | | | renamed Utils library added check for plugins init method renamed crash types
* new crash typesZdenek Prikryl2009-04-021-2/+2
|
* added new interface frof settingsZdenek Prikryl2009-04-021-2/+2
|
* added new DebugDump supportZdenek Prikryl2009-04-011-2/+2
|
* kerneloops: correct copyrights and package relation.Anton Arapov2009-03-311-1/+1
|
* kerneloops - reporter: headers clean-upAnton Arapov2009-03-261-5/+0
|
* kerneloops - reporter: clean-upsAnton Arapov2009-03-261-4/+3
|
* replaced language and application plugins by analyzer pluginZdenek Prikryl2009-03-191-3/+7
| | | | | added action plugin simplify plugin iface
* added kerneloops addon and plugin (aarapov)Jiri Moskovcak2009-03-111-0/+96