summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* preparatory patch for future factoring out of headers for reportlibDenys Vlasenko2010-11-2625-43/+42
| | | | | | Some files and functions are renamed, no logic changes. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-action-rhtsupport: fix -c CONFFILE erroneously setting DUMPDIR tooDenys Vlasenko2010-11-261-1/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* correct a comment about libraries' usersDenys Vlasenko2010-11-261-2/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* reorganize librariesDenys Vlasenko2010-11-2624-268/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch does not change any code per se, it renames libABRTfoo -> libabrt_bar and moves a few functions around. After the patch, we are left with the following libs: libabrt - the stuff shared among most of abrt (like xmalloc, logging) libabrt_daemon - only daemon-related things are here (should probably be just moved into daemon - later) libabrt_dbus - daemon, cli and applet use this libabrt_web - abrt-action-foo where foo deals with network/web/ftp/... As a result, we have following reductions in dependent libs: /usr/libexec/abrt-hook-ccpp: linux-vdso.so.1 => () - libABRTUtils.so.0 => /usr/lib64/libABRTUtils.so.0 () + libabrt.so.0 => /usr/lib64/libabrt.so.0 () libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 () - libdbus-1.so.3 => /lib64/libdbus-1.so.3 () - libpthread.so.0 => /lib64/libpthread.so.0 () - librt.so.1 => /lib64/librt.so.1 () - libdl.so.2 => /lib64/libdl.so.2 () /usr/libexec/abrt-action-upload: linux-vdso.so.1 => () libtar.so.1 => /usr/lib64/libtar.so.1 () libcurl.so.4 => /usr/lib64/libcurl.so.4 () - libABRTdUtils.so.0 => /usr/lib64/libABRTdUtils.so.0 () - libABRTUtils.so.0 => /usr/lib64/libABRTUtils.so.0 () + libabrt.so.0 => /usr/lib64/libabrt.so.0 () libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 () - libdbus-1.so.3 => /lib64/libdbus-1.so.3 () Similar savings are in almost every abrt-action-foo. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* GUI: added a button to view a log when in verbose modeJiri Moskovcak2010-11-251-0/+30
|
* GUI: at least show warn when the rating is lowJiri Moskovcak2010-11-251-0/+8
| | | | | | - we lost the ability to query the reporters if they require rating during the plugins->separate process transition, so we can't disable the reporting, so at least show a warning about it...
* fixed build against libnotify 0.7Jiri Moskovcak2010-11-251-0/+7
|
* abrtd: suppress spurious warning about missing coredump and inform_allDenys Vlasenko2010-11-253-9/+14
| | | | | | Also plugs two memory leaks Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* taint flag is decimal representation of a bitmaskNikola Pajkovsky2010-11-252-14/+76
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* abrt-action-install-debuginfo: removed generation of MISSING: stringDenys Vlasenko2010-11-241-5/+4
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-cli: dont die if message element is missing in the dump dirDenys Vlasenko2010-11-241-2/+6
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* GUI: handle crashdir parameter in crash_cbJiri Moskovcak2010-11-231-1/+1
| | | | | | - crashdir in now in Crash signal, so we need to modify crash_cb to know about it, otherwise it ends up with exception and gui is not refreshed when crash happens while the gui is open
* remove sqlite DBDenys Vlasenko2010-11-2341-1676/+369
| | | | | | | | | | | | | | | | | | | | | | This change removes sqlite database. Database was used to find dump dirs by [UID:]UUID. This patch uses more natural way: dump dirs are addressed by their directory names. DB was also used to produce a list of dump dirs. Now it is done by iterating over the /var/spool/abrt directory. And finally, DB was also used to find duplicate UUIDs. Now it is done by iterating over the /var/spool/abrt directory. Crash count, "inform all" and reporting result message are moved from DB field to a file in dump dir. "Reported" DB field is deleted - if message != "", then this dump was reported. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* rhbz 623142Nikola Pajkovsky2010-11-223-0/+28
| | | | | | | Save tainted flag from /proc/sys/kernel/tainted. When flag is set to 1 TAINED string is added to bugzilla summary. Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* Merge branch 'remove-polkit'Nikola Pajkovsky2010-11-2212-333/+1
|\ | | | | | | | | | | * remove-polkit: remove PLUGIN_DYNAMIC_LOAD_UNLOAD remove polkit
| * remove PLUGIN_DYNAMIC_LOAD_UNLOADNikola Pajkovsky2010-11-195-129/+0
| | | | | | | | | | | | it contains polkit Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * remove polkitNikola Pajkovsky2010-11-198-204/+1
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | preraratory patch for database removalDenys Vlasenko2010-11-224-19/+28
| | | | | | | | | | | | | | I splitted bits from a large "database removal" patch which are simple and non-contentiouns. They are in this change. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Improve some comments. No code changesDenys Vlasenko2010-11-222-7/+13
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | GUI: made howto mandatoryJiri Moskovcak2010-11-221-4/+50
| | | | | | | | - patch taken from 1.1.x branch, so pushing it without the review
* | fix locking bugzilla conf file when -d not specifiedNikola Pajkovsky2010-11-191-1/+0
|/ | | | | | | when -c option is specified and -d option is not bugzilla locks his own confing file Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* Cleanup. Remove last vestiges of AnalyzerActionsAndReporters.Denys Vlasenko2010-11-188-160/+5
| | | | | | Also: made one function static, made dd_delete() call dd_close(). Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* f14 build failed. Disable -Werror for PolkitNikola Pajkovsky2010-11-181-1/+1
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* removing unused Reporter class and unused members of PluginManager classDenys Vlasenko2010-11-174-97/+3
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove unused SetPluginSettings(...)Nikola Pajkovsky2010-11-166-146/+0
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* abrt-hook-ccpp: fix a case when open_user_core returns 0 instead of -1 on errorDenys Vlasenko2010-11-161-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrtd/gui: remove [AnalyzerActionsAndReporters], migrate to event-based ↵Denys Vlasenko2010-11-156-95/+76
| | | | | | processing Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrtd: do not panic on "nothing was done" result for [re]analyze eventsDenys Vlasenko2010-11-151-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-handle-crashdump: prepend our libexec path to $PATHDenys Vlasenko2010-11-153-6/+15
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Make "abrt-handle-crashdump -e BOGUS_EVENT" fail (also fail if asked over dbus)Denys Vlasenko2010-11-154-10/+18
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move inc/ and lib/ to src/. No code changesDenys Vlasenko2010-11-1573-72/+8375
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Removed "old" Kerneloops and Python analyzers. They were emptyDenys Vlasenko2010-11-125-144/+2
| | | | | | Run-tested that python crashes are still caught Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* replace "old" Mailx plugin with new one. This is the last "old" reporter pluginDenys Vlasenko2010-11-124-207/+203
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Remove SOSreport plugin - abrt_event.conf supersedes itDenys Vlasenko2010-11-126-210/+5
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove "old-style" FileTransfer and ReportUploader pluginsDenys Vlasenko2010-11-1110-1390/+8
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* add "new style" abrt-action-upload pluginDenys Vlasenko2010-11-114-0/+525
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt_event.conf: bugzilla reporter needs to use corresponding conf fileDenys Vlasenko2010-11-111-2/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Remove "old-style" KerneloopsReporterDenys Vlasenko2010-11-113-196/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove "old" Bugzilla and RHTSupport pluginsDenys Vlasenko2010-11-117-405/+6
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move files from lib/plugins to src/pluginsJiri Moskovcak2010-11-1068-184/+5968
|
* Decouple settings handling from old-style pluginsDenys Vlasenko2010-11-107-69/+87
| | | | | | | | The breakage was discovered when i removed Logger class. it turned out the fix is somewhat involved. This change implements it as discussed with the rest of the team. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Move some functions from CrashWatcher to MiddleWareDenys Vlasenko2010-11-097-218/+218
| | | | | | They have nothing to do with CrashWatcher class. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove CLogger class, abrt-event.conf + abrt-action-print superseded itDenys Vlasenko2010-11-081-5/+14
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove RunApp plugin, abrt-event.conf superseded itDenys Vlasenko2010-11-081-1/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrtd: remove support for ActionsAndReporters, abrt_event.conf supersedes itDenys Vlasenko2010-11-087-95/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* make #includes simplerDenys Vlasenko2010-11-055-14/+6
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* make DebugDumpToCrashReport() fill CD_EVENTSDenys Vlasenko2010-11-051-8/+14
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt_event.conf: correct the name of oops analyzerDenys Vlasenko2010-11-051-10/+10
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* use proper "Python" instead of "python" in abrt_event.confDenys Vlasenko2010-11-042-7/+7
| | | | | | Also, suppress yet another too agressive warning Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-hook-ccpp.cpp -> abrt-hook-ccpp.cDenys Vlasenko2010-11-042-2/+4
| | | | | | Pure rename, no code changes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>