summaryrefslogtreecommitdiffstats
path: root/src/include
Commit message (Collapse)AuthorAgeFilesLines
* abrt-hook-ccpp: add saving of environ, disable saving of smaps. closes #91Denys Vlasenko2011-04-182-0/+3
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* switch python and oops hashing to sha1Denys Vlasenko2011-04-181-1/+0
| | | | | | | 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>
* Implement the possibility to add text labels to even config GUI. Closes #199.Denys Vlasenko2011-04-151-5/+7
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* wizard: implement long descriptionsDenys Vlasenko2011-04-141-4/+5
| | | | | | | | 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>
* abrt-cli is one of several places where we hardcode usage of variousDenys Vlasenko2011-04-081-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* rhbz#692465 - Blacklist doesn't workNikola Pajkovsky2011-04-041-0/+2
| | | | | | | | | parse_value() doesn't trim the string. Lest say BlackList = coreutils, mono the parsed list looks like -> 'coreutils', ' mono' Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* make validate_event_option staticNikola Pajkovsky2011-03-301-1/+0
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* abrt-action-trim-files: new tool for trimming old debuginfo and debug dumpsDenys Vlasenko2011-03-261-0/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove FILENAME_INFORMALL and tighten up some loose endsDenys Vlasenko2011-03-251-1/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Merge branch 'event'Nikola Pajkovsky2011-03-251-0/+3
|\ | | | | | | | | | | * event: validate input in cli and fix ask_for_missing_settings function parse and store 'allow-empty' value
| * validate input in cli and fix ask_for_missing_settings functionNikola Pajkovsky2011-03-221-0/+3
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * parse and store 'allow-empty' valueNikola Pajkovsky2011-03-171-0/+1
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | extend dump_dir to allow creating world-readable directoryJiri Moskovcak2011-03-241-1/+3
| | | | | | | | - so far used only by kerneloops
* | parse and store 'allow-empty' valueNikola Pajkovsky2011-03-221-0/+1
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | Replace FILENAME_MESSAGE with FILENAME_REPORTED_TO.Denys Vlasenko2011-03-181-1/+10
|/ | | | | | | | | | | This fixes the problem with abrt-cli not showing unreported bugs and abrt-gui not showing "green lamp" for reported bugs. In general, it introduces a way to record reporting results, such as Bugzilla URL, in dump dir. In the future, this enables such functions as "check BZ status". Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* expose export/unexport_event_configNikola Pajkovsky2011-03-171-0/+12
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* gui-wizard-gtk: sanitize file mode/uid/gid after event runDenys Vlasenko2011-03-151-0/+3
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* gui-wizard-gtk: save event processing logDenys Vlasenko2011-03-151-10/+16
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-gui: save event settings in gnome keyringJiri Moskovcak2011-03-141-0/+1
|
* put code shared among gui and wizard into libreportgtkJiri Moskovcak2011-03-141-1/+1
|
* gui-wizard-gtk: make one-line text elements selectable with mouseDenys Vlasenko2011-03-111-3/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove some not needed fields from event_configJiri Moskovcak2011-03-091-8/+8
|
* view details in extrenal editor for multiline non-binary filesNikola Pajkovsky2011-03-091-0/+4
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* added event description support into xml parserJiri Moskovcak2011-03-081-0/+1
| | | | | | | - so event now has: action: description of what will happen when this event is used - the main purpose is for the event selector in wizard description: description of the event
* implement load_event_config_data. Untested.Denys Vlasenko2011-03-081-0/+7
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* make fork_execv_on_steroids capable of setting env vars tooDenys Vlasenko2011-03-081-2/+7
| | | | | | Before, it could only unset them. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* gui-wizard-gtk: add code to export/unexport config variables. UntestedDenys Vlasenko2011-03-071-0/+13
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtJiri Moskovcak2011-03-071-1/+24
|\ | | | | | | | | Conflicts: src/include/report/event_config.h
| * add license and #ifdef EVENT_CONFIG_H around headerNikola Pajkovsky2011-03-071-1/+24
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | added event_config.c stubJiri Moskovcak2011-03-071-1/+1
|/
* renamed some files, no code changesJiri Moskovcak2011-03-073-3/+11
|
* event_option_obj_t -> event_option_t, event_obj_t -> event_config_tJiri Moskovcak2011-03-071-3/+3
|
* event_xml_parser: string fields shouldn't be const, moved name and value ↵Jiri Moskovcak2011-03-071-7/+7
| | | | higher in the structure
* minor build fixesJiri Moskovcak2011-03-072-2/+2
|
* added function to parse event description from xml fileJiri Moskovcak2011-03-073-1/+46
|
* fix a problem with big-ish smaps files classified as binaryDenys Vlasenko2011-03-041-3/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* gui-wizard-gtk: fix stealing againDenys Vlasenko2011-03-031-4/+5
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Revert "renamed libreport.so to libreport2.so"Karel Klic2011-03-031-2/+2
| | | | | This is not needed at the end. This reverts commit ef96cd431369b2cf0dd640a0bb66be4fb029b9c0.
* remove FILENAME_REPRODUCE field. FILENAME_COMMENT should be used insteadDenys Vlasenko2011-03-032-3/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* renamed libreport.so to libreport2.soJiri Moskovcak2011-03-031-2/+2
| | | | | - we have a conflict with old report library which contains file with the same name
* dump_dir API: rename dd_dir field to dd_dirnameDenys Vlasenko2011-02-281-2/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* show more useful columns in abrt-gtk; use human-readable time in dir namesDenys Vlasenko2011-02-281-0/+6
| | | | | | | | | | | | For most users, "hostname" is the same for every crash (it is their hostname). Not every problem even has "Application" field ("low on disk space" problem, for example, doesn't), whereas any problem should have "Reason" field. For non-root, it is useful to see which dumps are in /var/spool/abrt (and aren't writable), and which are in $HOME/.abrt/spool. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* gui-wizard-gtk: show error messages as msg boxesDenys Vlasenko2011-02-251-0/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* change stealing semantics from copy to moveDenys Vlasenko2011-02-251-1/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* gui-wizard-gtk: make [Refresh] button workDenys Vlasenko2011-02-241-1/+4
| | | | | | | Looks for reanalyze_FOO events, enables them on "Select analyzer" page and sends user go to that page to pick the [re]analyzer to run. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* gui-wizard-gtk: run multiple reporters if they are selectedDenys Vlasenko2011-02-231-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* gui-wizard-gtk: add forward_page_func which skips analyze step when it is ↵Denys Vlasenko2011-02-221-1/+1
| | | | | | missing Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* copy /proc/<pid>/[map,smap] files into crash dirNikola Pajkovsky2011-02-181-1/+2
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* run_event: add async run event machineryDenys Vlasenko2011-02-181-0/+23
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move steal_directory() into libreportJiri Moskovcak2011-02-171-0/+3
|