summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* btparser initial integrationKarel Klic2010-10-1467-3165/+10475
|
* various small fixes to dd usageDenys Vlasenko2010-10-142-50/+27
| | | | | | | | | | | KerneloopsScanner: dd leak on error path in save_oops_to_debug_dump() dump_dir: remove superfluous exist_file_dir check in dd_opendir, dd_create, delete_file_dir; use perror_msg instead of error_msg; correct some sligtly wrong log/error messages; make delete_file_dir return void, since return value is never checked. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* dump_dir.c: reorder functions within the file without changing them.Denys Vlasenko2010-10-141-64/+61
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move uuid generation for CCpp to a separate program (abrt-action-analyze-c)Denys Vlasenko2010-10-146-169/+294
| | | | | | | | | | | | | | | | | | | | | | | | | This patch splits off uuid generation for CCpp to a separate program: Usage: abrt-action-analyze-c [-v] -d DIR Calculates and saves UUID -v, --verbose be verbose -d DIR Crash dump directory Run tested. Thus, now entire cycle of coredump processing/reporting consists of external programs: abrt-action-analyze-c abrt-action-save-package-data abrt-action-install-debuginfo abrt-action-generate-backtrace abrt-action-bugzilla Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* l10n: Updates to Finnish (fi) translationvpv2010-10-131-238/+244
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* whitespace fixDenys Vlasenko2010-10-141-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* l10n: Updates to Dutch (Flemish) (nl) translationwarrink2010-10-131-116/+104
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* better name for abrt-FOO coredumpsDenys Vlasenko2010-10-131-2/+3
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* l10n: Updates to Ukrainian (uk) translationyurchor2010-10-131-115/+103
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* l10n: Updates to Polish (pl) translationraven2010-10-131-117/+54
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* don't catch crashes of any program which starts with "abrt", not only abrtdDenys Vlasenko2010-10-131-3/+3
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* restore abrt-action-save-package-data's description in --helpDenys Vlasenko2010-10-131-4/+9
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* trivial cleanupsDenys Vlasenko2010-10-132-5/+4
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Add a warning comment that options and their enums should be in syncDenys Vlasenko2010-10-124-18/+11
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* parse_options was not handling long options properly. fix it.Denys Vlasenko2010-10-121-14/+29
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* GUI: added search box to backtrace view rhbz#612017Jiri Moskovcak2010-10-121-1/+143
|
* Return a bitmask of found options from parse_opts()Denys Vlasenko2010-10-126-53/+58
| | | | | | | | | | | | | This patch makes it easier to analyze "bool" type options - now they are all just bits in a single return value, no need to have an integer variable for each option. The previous behavior is retained too: it is useful for "cumulative" options like -vvv. The patch also removes all OPT_GROUPs. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* l10n: Updates to Finnish (fi) translationvpv2010-10-121-27/+21
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* move bugzilla reporting to a separate program (abrt-action-bugzilla)Denys Vlasenko2010-10-116-1128/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch splits off Bugzilla plugin's bugzilla submission generation into a separate tool: abrt-action-bugzilla: invalid option -- 'z' Usage: abrt-action-bugzilla -c CONFFILE -d DIR [-vs] Report a crash to Bugzilla Options: -c FILE Configuration file (may be given many times) -d DIR Crash dump directory -v Verbose -s Log to syslog This change is bigger than previous similar patches: I needed to find a way to pass settings to the child and get back reporting result - all without breaking current interface. I decided to pass configuration via -c CONFFILE: (1) it is trivial to pass /etc/abrt/bugzilla.conf to it, and (2) I can use "-c -" to parse config from stdin. abrtd simply write per-reporting settings to child's stdin. The log and reporting result (success/failure) is taken from child's stdout. After a few more such patches, we can remove XMLRPC and HTTP code and library dependencies from abrtd. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move load_crash_data_from_debug_dump from MiddleWare to CrashTypesDenys Vlasenko2010-10-113-123/+125
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* preparatory patch with trivial changes onlyDenys Vlasenko2010-10-113-7/+7
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* adding abrt-action-bugzilla.cpp as an exact copy of Bugzilla.cppDenys Vlasenko2010-10-111-0/+989
| | | | | | | | The mext commit will be much more readable: insted of huge insert, you will actually see that there are very few changes to actual bz code in that file. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* s/CD_DUPHASH/FILENAME_DUPHASH/gDenys Vlasenko2010-10-1110-28/+35
| | | | | | | This is needed to make duplicate hash visible for separate programs looking at crash dumps. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt-action-generate-backtrace.c: fix -i optionNikola Pajkovsky2010-10-081-1/+1
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* l10n: Updates to Norwegian Bokmål (nb) translationkmaraas2010-10-081-212/+236
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* trivial: remove unused option_index'sDenys Vlasenko2010-10-082-4/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Remove arrays in usage text, use a single string insteadDenys Vlasenko2010-10-086-25/+9
| | | | | | | | | | | | | | | | | | | | | | | | Currently, usage is an array of pointers to string. It is meant to support this: usage: foo --bar or: foo --baz or: foo -z The patch removes this and makes usage just a string: usage: foo --bar Why remove this? (1) We can achieve old format by using the usage string with many lines: usage = "foo --bar\n" " or: foo --baz\n" " or: foo -z"; (2) We don't use multi-line usage anyway. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* l10n: Updates to Dutch (Flemish) (nl) translationwarrink2010-10-081-43/+43
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* add --help option in parse_opts(), not at every call site.Denys Vlasenko2010-10-087-56/+52
| | | | | | | This patch removes the need to add --help option to every program. It is added (and handled) by parse_opts(). Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* use OPT_GROUP macro for help optionNikola Pajkovsky2010-10-084-0/+4
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* use OPT__VERBOSE macro for help optionNikola Pajkovsky2010-10-084-4/+4
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* use OPT__HELP macro for help optionNikola Pajkovsky2010-10-084-4/+4
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* Merge branch 'unify-parser'Nikola Pajkovsky2010-10-084-121/+84
|\ | | | | | | | | | | | | | | * unify-parser: abrt-server uses new parser abrt-action-save-package-data uses new parser use a new INTEGER option abrt-action-generate-backtrace uses new parser
| * abrt-server uses new parserNikola Pajkovsky2010-10-071-30/+23
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * abrt-action-save-package-data uses new parserNikola Pajkovsky2010-10-071-33/+26
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * use a new INTEGER optionNikola Pajkovsky2010-10-071-11/+1
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * abrt-action-generate-backtrace uses new parserNikola Pajkovsky2010-10-071-47/+34
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | l10n: Updates to Polish (pl) translationraven2010-10-081-8/+8
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* | l10n: Updates to Ukrainian (uk) translationyurchor2010-10-081-9/+9
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* | add more logging about settings, and make it possible to load them from stdinDenys Vlasenko2010-10-071-4/+29
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | add a new helper function, full_write_str(fd,str)Denys Vlasenko2010-10-072-0/+7
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | add a bit more logging in places. fix typosDenys Vlasenko2010-10-074-4/+15
|/ | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* l10n: Updates to Ukrainian (uk) translationyurchor2010-10-061-113/+132
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* l10n: Updates to Portuguese (Brazilian) (pt_BR) translationtaylon2010-10-061-60/+78
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* l10n: Updates to Polish (pl) translationraven2010-10-061-113/+128
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* Settings.cpp: avoid double free corruptionNikola Pajkovsky2010-10-061-0/+5
| | | | | | | | | | | | I meant, that settings_free() should not only do free(g_settings_*); but also should do g_settings_* = NULL; Otherwise calling settings_free() twice will cause double-free and likely segfault. Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* Merge branch 'vector_string_t'Nikola Pajkovsky2010-10-069-45/+75
|\ | | | | | | | | | | | | * vector_string_t: report.cpp: split() uses GList Kerneloops*.cpp and dumpoops.cpp uses GList Daemon.cpp: FindNewDumps() uses GList
| * report.cpp: split() uses GListNikola Pajkovsky2010-10-062-11/+18
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * Kerneloops*.cpp and dumpoops.cpp uses GListNikola Pajkovsky2010-10-066-28/+45
| | | | | | | | | | | | vector_string_t was replaced by glist in these files Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * Daemon.cpp: FindNewDumps() uses GListNikola Pajkovsky2010-10-061-6/+12
| | | | | | | | | | | | transform vector_string_t to GList Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>