summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* rename Daemon.cpp to abrtd.cDenys Vlasenko2011-04-207-217/+7
| | | | | | This loses libstdc++, libm and libgcc_s libraries from abrtd Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* rename Settings.{cpp,h} to abrt_conf.{c,h}Denys Vlasenko2011-04-202-0/+210
| | | | | This makes abrt-action-save-package-data twice as small, amd loses libstdc++.so.6 dependency
* daemon: simplify parsing of settings; remove remaining c++isms in daemonDenys Vlasenko2011-04-207-349/+131
| | | | | | | | This change will not compile, because in C++, void* cannot be automatically cast to char*. Next change renames Settings.cpp to *.c and fixes this. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* run abrt oops log scanner as a separate serviceDenys Vlasenko2011-04-201-4/+4
| | | | | | | | | | | | | | | | In preparation for https://fedorahosted.org/abrt/ticket/189 "abrtd should reload configuration when some of it's config files changes" I would like to stop running abrt-dump-oops as a child of abrtd. We experimented with it: we made abrt-ccpp hook (de)installation a separate service, and in my opinion it ended up a better solution than making it a part of daemon. Among other things, it made abrt and abrt-addon-ccpp packages independent. This change does the same for abrt-dump-oops. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* retrace server: add messages into HTTP responseMichal Toman2011-04-204-37/+75
|
* retrace client: handle status messagesMichal Toman2011-04-191-5/+37
|
* remaned some .cpp files to .c in src/daemon/Denys Vlasenko2011-04-197-19/+19
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* daemon: remove unused dbus calls and their support codeDenys Vlasenko2011-04-1912-1047/+10
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* slightly more clear code for command line and environ escapingDenys Vlasenko2011-04-191-20/+34
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Fix rpm signature check (trac#198)Miroslav Lichvar2011-04-192-3/+3
|
* dsos-list: catch exception rhbz#697596Jiri Moskovcak2011-04-191-2/+5
|
* retrace client: check server settings before uploadingMichal Toman2011-04-191-9/+169
|
* retrace server: move retrace library to %{python_site}Michal Toman2011-04-1910-20/+9
|
* abrt-hook-ccpp: add saving of environ, disable saving of smaps. closes #91Denys Vlasenko2011-04-185-33/+78
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-hook-ccpp: simpler way to pass old core patternDenys Vlasenko2011-04-181-2/+17
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* retrace server: add more detailed status messagesMichal Toman2011-04-183-31/+73
|
* switch python and oops hashing to sha1Denys Vlasenko2011-04-1810-676/+180
| | | | | | | Update sha1 code to a smaller version. Verified that ccpp hashing produces the same results as the old code. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* retrace server: add --skip-broken flag when installing chrootMichal Toman2011-04-181-1/+1
|
* retrace server: add more logic to cleanup scriptMichal Toman2011-04-182-29/+115
|
* wizard: warn user if the plugin configuration is wrong trac#156Jiri Moskovcak2011-04-173-0/+37
|
* make <note-html> translatableJiri Moskovcak2011-04-172-4/+15
|
* gui+wizard: fixed the window icon for all child dialogsJiri Moskovcak2011-04-172-2/+5
|
* make <name> in event xml description translatableJiri Moskovcak2011-04-171-4/+15
|
* small improvement for rescanning in abrt-guiDenys Vlasenko2011-04-153-13/+66
| | | | | | | | When, say, reported_to is changed, inotify doesn't see it two dir levels up. abrt-gui needs a bit of help from wizard by sending SIGCHLD, and treating it as "please rescan" request. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Implement the possibility to add text labels to even config GUI. Closes #199.Denys Vlasenko2011-04-1510-101/+151
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: implement long descriptionsDenys Vlasenko2011-04-148-103/+178
| | | | | | | | The change is somewhat big because I can no longer (ab)use tooltip to store event name. So I created a bit more generic method of remembering which events are shown and selected. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: adding shadow_type or GTK_SHADOW_OUT to all scrolled areasDenys Vlasenko2011-04-141-0/+6
| | | | | | | Took it from firewall cfg GUI. One useful effect is that event log and event result msg above it are more clearly separated. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: robustify iteration through event GtkContainers; add utility functionDenys Vlasenko2011-04-144-22/+111
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtJiri Moskovcak2011-04-142-66/+55
|\
| * Revert last commitDenys Vlasenko2011-04-144-128/+30
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * wizard: move event descriptions into separate labelsDenys Vlasenko2011-04-144-30/+128
| | | | | | | | | | | | | | | | | | This makes descriptions resizable, so long descriptions will no longer make windows insanely wide. (Can't do that with checkboxes. Tried everything) We need longer descriptions for https://fedorahosted.org/abrt/ticket/202 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * wizard: remove all width and height requestsDenys Vlasenko2011-04-141-24/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * fixes for i18n in xml parserDenys Vlasenko2011-04-131-42/+55
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | split abrt-action-install-debuginfo into two apps rhbz#692064Jiri Moskovcak2011-04-144-65/+199
|/ | | | | | | - the first part analyzes the coredump and writes the required build-ids into a file - the second app reads the file and tries to find the debuginfo packages for build-ids
* build: implicit declaration of function ‘exit’Nikola Pajkovsky2011-04-111-0/+1
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* retrace server: move executable scripts to _bindirMichal Toman2011-04-115-10/+4
|
* retrace server: do not append root log to retrace_logMichal Toman2011-04-111-9/+0
|
* send "User-Agent: ABRT/n.n.n" header in RHTS http transactionsDenys Vlasenko2011-04-081-0/+5
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-action-print: add -r option which records reported_toDenys Vlasenko2011-04-083-3/+16
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-cli is one of several places where we hardcode usage of variousDenys Vlasenko2011-04-084-113/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | elements of dump directory. This patch changes it to generic handling, where abrt-cli doesn't know anything about particular elements (like backtrace). Changes in detail: * crash_item->flags how has CD_FLAG_UNIXTIME bit. * format_crash_item(item) returns malloced formatted string (currently only formatted time for items with CD_FLAG_UNIXTIME) or NULL, if item->content is to be used as-is * crash_item->flags how has CD_FLAG_LIST bit, it is set on a small number of elements which are to be shown by abrt-cli -l. * abrt-cli -l doesn't use fixed names, it looks at CD_FLAG_LIST. * abrt-cli -i doesn't use fixed names, it prints all one-line elements: Directory : /var/spool/abrt/ccpp-1298264192-2705 analyzer : CCpp architecture : x86_64 cmdline : metacity comment : Abrt testing, please disregard component : metacity coredump : /var/spool/abrt/ccpp-1298264192-2705/coredump count : 1 crash_function : pa_atomic_load executable : /usr/bin/metacity global_uuid : 1e8b716d2094fb22dccdb5321ac0cf6f14eb6689 hostname : dhcp-25-227.brq.redhat.com kernel : 2.6.34.7-61.fc13.x86_64 os_release : Fedora release 13 (Goddard) package : metacity-2.30.0-3.fc13 rating : 4 reason : Process /usr/bin/metacity was killed by signal 11 (SIGSEGV) time : Mon 21 Feb 2011 05:56:32 AM CET uid : 500 uuid : 453085d0f703b96ddc3a5172dd7d5a29479f5b3f * abrt-cli -i --backtrace is removed. Instead, abrt-cli -i --full is to be used. It shows all elements, one-line and multi-line ones. * abrt-cli code now has an example how to list crast_data_t in the sorted-by-key order. Further ideas: abrt-cli needs -o elem1,elem2,elem3 option which tells which elements to show, and/or -O elem1,elem2,elem3 option which tells elements to NOT show. Rationale: abrt-cli -i --full output is way too long because of smaps, need a way to suppress unneeded elements display Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* kerneloops, mailx, rhtsupport: add a line to "reported_to" element on successDenys Vlasenko2011-04-083-0/+26
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* do not forget settings everytime when you run start_event_run()Nikola Pajkovsky2011-04-082-5/+5
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* forgot to push the rhtsupport event fileJiri Moskovcak2011-04-071-0/+1
|
* Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtKarel Klic2011-04-077-228/+14
|\
| * Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtJiri Moskovcak2011-04-075-223/+2
| |\
| | * cleanup: remove totaly obsolite test.cpp moduleNikola Pajkovsky2011-04-071-105/+0
| | | | | | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| | * cleanup: get rid of GetPluginSettings dbus callNikola Pajkovsky2011-04-064-42/+0
| | | | | | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| | * cleanup: get rid of GetPluginsInfo dbus callNikola Pajkovsky2011-04-064-76/+2
| | | | | | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * | make rhtsupport use /tmp for tmp filesJiri Moskovcak2011-04-072-5/+12
| |/ | | | | | | | | - also added default event configuration for rhtsupport - and tweaked a spec file a little
* / Better duplicate hashKarel Klic2011-04-071-13/+14
|/ | | | | | | | | | | | | | | Currently the duplicate hash of a crash for Bugzilla is computed from the package NVR (name, version, release), path of the executable, and the backtrace hash. This is very unfortunate because the package NVR is changed frequently (it contains Fedora OS version), and path of the executable is not a good differentiator. When multiple executables from a single component crash with similar backtrace, it is better to assume that they share code and have single Bugzilla bug report. This commit changes the code to compute the duplicate hash from the component name and the backtrace hash.