summaryrefslogtreecommitdiffstats
path: root/lib/Utils
Commit message (Collapse)AuthorAgeFilesLines
* remove useless duplicate statementDenys Vlasenko2010-06-091-2/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Logger reporter: do not store useless infoDenys Vlasenko2010-06-081-4/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* new fuctions and realloc replaced by xreallocNikola Pajkovsky2010-06-041-6/+20
| | | | | | new functions are prefixcmp and suffixcmp Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* add new file *hostname* into debugdump directoryNikola Pajkovsky2010-06-011-0/+1
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* fix whitespaceDenys Vlasenko2010-05-315-6/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rhticket: actually do create ticket, using Gavin's lib codeDenys Vlasenko2010-05-282-39/+218
| | | | | | Still uploads bogus file, but at lease it's closer to what we need Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* take file upload POST code from gavin's lib. Adapt rhfastcheck to use ↵Denys Vlasenko2010-05-283-119/+301
| | | | | | changed API Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trivial: add xsete[gu]id to abrtlibDenys Vlasenko2010-05-262-3/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trivial fix: fork_execv_on_steroids was closing wrong descriptorDenys Vlasenko2010-05-191-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove std::string from parse_release()Nikola Pajkovsky2010-05-171-23/+29
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* strbuf_free_nobuf() returns allocated bufferNikola Pajkovsky2010-05-172-2/+4
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtNikola Pajkovsky2010-05-141-1/+1
|\
| * Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtJiri Moskovcak2010-05-133-1/+145
| |\
| * | forgot to rename the daemon pid file in UtilsJiri Moskovcak2010-05-131-1/+1
| | |
* | | Revert "Move hooklib from src/Hooks to lib/Utils"Nikola Pajkovsky2010-05-143-145/+1
| |/ |/| | | | | This reverts commit 94a67f5d3edd6ac842cc3d7feea9e1954ee58a37.
* | Move hooklib from src/Hooks to lib/UtilsKarel Klic2010-05-123-1/+145
|/
* fix bug 588945 - sparse core files performance hitDenys Vlasenko2010-05-121-9/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* commentsKarel Klic2010-05-051-2/+2
|
* fork_execv_on_steroids: close other end of the pipe in the childDenys Vlasenko2010-05-041-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Added code comments.Karel Klic2010-05-041-4/+7
|
* get_home_dir returns const char* instead of std::stringKarel Klic2010-04-292-3/+7
|
* Marked most functions as extern C; added extern keyword to function declarationsKarel Klic2010-04-291-52/+40
|
* Source code formatting only.Karel Klic2010-04-291-161/+164
|
* Crash function is now detected even for threads without an abort frame.Karel Klic2010-04-151-1/+1
| | | | Added new option --crash-frame to abrt-backtrace and updated its manual page.
* Emacs project-wide code-style settingsKarel Klic2010-04-092-2/+2
|
* whitespace cleanup, no code changesDenys Vlasenko2010-04-011-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fixed some compilation problems on F13Jiri Moskovcak2010-03-311-3/+4
| | | | | - see http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking for the details
* Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtKarel Klic2010-03-312-2/+15
|\
| * trivial: better HTTP/curl error reportingDenys Vlasenko2010-03-302-2/+15
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Removed trailing whitespaces.Karel Klic2010-03-314-227/+227
| |
* | Move backtrace parser from src/Backtrace to lib/Utils.Karel Klic2010-03-268-6/+1975
|/ | | | | | | | | | | | | | | Move abrt-backtrace app from src/Backtrace/main.c to src/utils/abrt-backtrace. Move backtrace preprocessign code from abrt-backtrace to the parser. Implemented new backtrace rating algorithm. Added old bt rating algorithm to backtrace.c Move strbuf to lib/Utils, and updated it to use xfuncs. Created separate header for xfuncs. Some functions in xfuncs marked as extern "c", so they can be used in C code. Merged backtrace fallback (independent_backtrace) "parser" into backtrace.{h/c}. Added option --rate to abrt-backtrace, to be able to use the new backtrace rating algorithm in scripts.
* add one-liner which somehow fell off last commitDenys Vlasenko2010-03-251-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rhfastcheck: a new reporter plugin based on Gavin's workDenys Vlasenko2010-03-254-3/+302
| | | | | | Plugin quickly checks RH support DB for known solutions. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rhticket: factor out HTTP POST code into abrt_curl.{h,cpp}Denys Vlasenko2010-03-255-11/+239
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove socket code, it is deadDenys Vlasenko2010-03-232-184/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Move dbus code to libABRTUtils. It makes libABRTUtils depend on four more libs,Denys Vlasenko2010-03-191-4/+7
| | | | | | | but allows abrt-applet to not depend on libABRTdUtils, thus going down from 78 to 48 dep libs Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove unnecessary DL_LIBSDenys Vlasenko2010-03-191-8/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use FILENAME_BACKTRACE for oops text tooDenys Vlasenko2010-03-051-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add ProcessUnpackaged option to abrt.confDenys Vlasenko2010-03-052-19/+17
| | | | | | Based on patch by Pekka Pietikainen <pp@ee.oulu.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: UID:UUID -> crash_id conversionDenys Vlasenko2010-03-046-19/+18
| | | | | | | | | | | | | | | | | | | This fixes at least three instances where we did not check whether user is even allowed to report or delete a crash. Also fixes a few cases when root might inadvertently act on (e.g. delete) mote than one crash. Renamed FILENAME_UID to CD_UID - makes more sense this way. Added COL_INFORMALL and CD_INFORMALL. Nuked UID == -1 hacks. Renamed getReport() to start_job on Python side. Dropped a few unused parameters from server -> client dbus signals. Fixed CLI's way of reverencing crashes (see updated help text). Run-tested (GUI and CLI). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Acked-by: Nikola Pajkovsky <npajkovs@redhat.com>
* save reporters' results to abrt_vNN_reportresult table tooDenys Vlasenko2010-03-021-0/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix format security errorFrederic Crozat2010-03-021-2/+2
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* cli: add support for "--report @N" and "--report PARTIAL_UUID"Denys Vlasenko2010-02-231-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix my goof in cmdline escapingDenys Vlasenko2010-02-171-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lib/Utils/abrt_dbus: utf8-sanitize all strings in dbus messages (fixes #565876)Denys Vlasenko2010-02-171-1/+97
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* license fixNikola Pajkovsky2010-02-163-3/+60
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* Merge branch 'master' into bugzillaNikola Pajkovsky2010-02-154-3/+87
|\
| * Better comment for LoadPluginSettingsKarel Klic2010-02-121-1/+3
| |
| * Move LoadPluginSettings to the shared utils library. Add parameter ↵Karel Klic2010-02-122-1/+84
| | | | | | | | skipKeysWithoutValue.
| * get_home_dir uses uid_t for the uidKarel Klic2010-02-121-1/+1
| |