summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * g_settings_sWatchCrashdumpArchiveDir uses char*Nikola Pajkovsky2010-09-243-7/+9
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * g_settings_sDatabase uses char*Nikola Pajkovsky2010-09-244-15/+20
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * g_settings_setBlackListedPaths uses GListNikola Pajkovsky2010-09-243-33/+10
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * g_settings_setBlackListedPkgs uses GListNikola Pajkovsky2010-09-243-6/+39
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * g_settings_setOpenGPGPublicKeys uses GListNikola Pajkovsky2010-09-244-7/+19
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | fix INTEGER optionNikola Pajkovsky2010-10-051-2/+1
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | remove < > around argument helpNikola Pajkovsky2010-10-051-1/+1
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | add INTEGER optionNikola Pajkovsky2010-10-052-0/+7
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | parse_options.c: add argument helpNikola Pajkovsky2010-10-053-3/+14
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | Merge branch 'new-parser'Nikola Pajkovsky2010-10-046-32/+212
|\ \ | | | | | | | | | | | | | | | | | | * new-parser: Daemon.cpp: remove getopt and use parse_opts instead new args parser xfunc.c: add new funtion xcalloc
| * | Daemon.cpp: remove getopt and use parse_opts insteadNikola Pajkovsky2010-10-041-31/+34
| | | | | | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * | new args parserNikola Pajkovsky2010-10-043-1/+169
| | | | | | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
| * | xfunc.c: add new funtion xcallocNikola Pajkovsky2010-10-042-0/+9
|/ / | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | Daemon.cpp: remove unused rpm.hNikola Pajkovsky2010-09-301-1/+0
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | l10n: Updates to Hebrew (he) translationelad2010-09-301-185/+183
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* | l10n: Updates to Chinese (Taiwan) (zh_TW) translationzerng072010-09-291-106/+94
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* | l10n: Updates to Catalan (Valencian) (ca) translationrbuj2010-09-271-17/+15
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* | l10n: Updates to Catalan (Valencian) (ca) translationrbuj2010-09-271-49/+45
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* | l10n: Updates to Catalan (Valencian) (ca) translationrbuj2010-09-271-6/+6
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* | l10n: Updates to Chinese (Taiwan) (zh_TW) translationbluebat2010-09-271-1/+1
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* | l10n: Updates to Catalan (Valencian) (ca) translationrbuj2010-09-271-17/+17
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* | l10n: Updates to Catalan (Valencian) (ca) translationrbuj2010-09-271-489/+434
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* | run-command.cpp: rename to run-command.cNikola Pajkovsky2010-09-273-1/+9
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | l10n: Updates to Chinese (Taiwan) (zh_TW) translationzerng072010-09-241-305/+287
|/ | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* rename abrt-debuginfo-install to abrt-action-install-debuginfoDenys Vlasenko2010-09-235-13/+15
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* remove unused codeNikola Pajkovsky2010-09-232-12/+0
| | | | | | code is run in abrt-action-save-package-data.cpp Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* This patch splits off abrtd's package/component/descriptionDenys Vlasenko2010-09-226-263/+384
| | | | | | | | | | | | | | | | | | | | | | | | | | | | generation into a separate tool: abrt-action-save-package-data: invalid option -- 'z' Usage: abrt-action-save-package-data -d DIR [-vs] Query package database and save package name, component, and description Options: -d DIR Crash dump directory -v Verbose -s Log to syslog This also allows for debugging and regression testing of abrt-action-save-package-data - it can be simply run from command-line. Also it provides a better fault isolation - crash in abrt-action-save-package-data does not take down abrtd. Same goes for isolation of memory leaks - old code actually had leaks on a rarely used error path. New code doesn't, but if it would have, it wouldn't matter, since the process is short-lived. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* fixed spec file so $ make test-rpm works againJiri Moskovcak2010-09-221-4/+4
|
* add two flags to dd_opendir()Nikola Pajkovsky2010-09-229-99/+46
| | | | | | | | | | | | | | | | | | | DD_CLOSE_ON_OPEN_ERR - free dump_dir structure when opening dump_dir does not exist DD_FAIL_QUIETLY - suppress message when dump directory does not exist VERB1 log(_("Unable to open debug dump '%s'"), pDebugDumpDir); is all removed because there is error_msg("'%s' does not exist", dd->dd_dir); in dd_opendir() which sometimes we don't want to print(DD_FAIL_QUIETLY) example: crash dump directory trimming code running concurrently. Second process may try to delete a directory which is already gone. it should not complain that it is missing. Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com> Acked-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* eliminate LoadOpenGPGPublicKey wrapperDenys Vlasenko2010-09-224-11/+4
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* l10n: Updates to Serbian (Latin) (sr@latin) translationnenadr2010-09-211-554/+604
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* l10n: Updates to Serbian (sr) translationnenadr2010-09-211-545/+595
| | | | Transmitted-via: Transifex (translate.fedoraproject.org)
* fix a small memory leakDenys Vlasenko2010-09-211-1/+3
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* This patch splits off CCpp's backtrace generation into a separate tool:Denys Vlasenko2010-09-204-222/+485
| | | | | | | | | | | | | | | | | | | | | | | | | | | $ abrt-action-generate-backtrace -z abrt-action-generate-backtrace: invalid option -- 'z' Usage: abrt-action-generate-backtrace -d DIR [-i DIR1:DIR2] [-t SECONDS] [-vs] Generate backtrace, its quality rating, hash, and crashed function Options: -d DIR Crash dump directory -i DIR1:DIR2 Additional debuginfo directories -t SECONDS Kill gdb if it runs for more than SECONDS -v Verbose -s Log to syslog This also allows for debugging and regression testing of abrt-action-generate-backtrace separately - it can be simply run from command-line. Also it provides a better fault isolation - crash in abrt-action-generate-backtrace does not take down abrtd. The code is based on CCpp.cpp. CCpp analyzer is made to spawn a child to do the backtrace generation. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* unhide dump_dir structure from typedefNikola Pajkovsky2010-09-2011-50/+50
| | | | | | no other code changes Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* CCpp: better handling of uid and exit condition on bt generationDenys Vlasenko2010-09-161-5/+6
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* CCpp: plug a memory leakDenys Vlasenko2010-09-161-0/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* perror has to be used immediately after failed syscallDenys Vlasenko2010-09-161-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* dump_dir: added TODO comment. no code changesDenys Vlasenko2010-09-151-0/+20
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* fixing two instances of dd->gid which I forgot to convertDenys Vlasenko2010-09-141-2/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Pure file rename without changesDenys Vlasenko2010-09-141-0/+0
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* This patch makes abrtd spawn a new process, abrt-server,Denys Vlasenko2010-09-145-488/+372
| | | | | | | | | | | | | | | | | | | | | | | | | for every socket client. This allows for simpler timeout handling using SIGALRM, and makes timers for tracking client timeouts unnecessary. This also allows for debugging and regression testing of abrt-server separately - it can be simply run from command-line and fed commands on stdin. Also it provides a better fault isolation - crash in abrt-server does not take down abrtd. The code is based on dumpsocket.{cpp,h}. Most of dumpsocket.cpp goes to abrt-server.c, a small part goes to Daemon.cpp (i.e. to abrtd). This change will not compile - it does not have dumpsocket.cpp renamed to abrt-server.c, which makes the change easier to read. The next change, which I'll commit after this one, contains only the renaming. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* dump_dir: use dd_ prefix on uid/gid fieldsDenys Vlasenko2010-09-142-10/+10
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* I noticed that ->locked and ->opened members are always the sameDenys Vlasenko2010-09-142-82/+19
| | | | | | | | | | | | | (either 0 or 1), and I decided to drop ->opened. And do a few other trivial optimizations/cleanups. While working on it, I noticed that dd_save_binary has "opened" check inverted, and that dd_create and dd_open are leaking dd->dd_dir on error path. So the patch turned from optimization to bugfix. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* CCpp: skip bt generation earlierDenys Vlasenko2010-09-141-18/+18
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* move sha1 to lib/utils; remove small bit of related C++isms in CCpp.cppDenys Vlasenko2010-09-146-49/+28
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* abrt.spec: make /abrtd more "greppable"Denys Vlasenko2010-09-141-1/+1
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* msg_prefix now doesn't need ": " suffixDenys Vlasenko2010-09-144-8/+11
| | | | | | Contains some other trivial changes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtNikola Pajkovsky2010-09-141-178/+135
|\
| * l10n: Updates to Japanese (ja) translationhtaira2010-09-141-178/+135
| | | | | | | | Transmitted-via: Transifex (translate.fedoraproject.org)