summaryrefslogtreecommitdiffstats
path: root/lib/Utils
Commit message (Collapse)AuthorAgeFilesLines
* lower case direcotry(no code changed)Nikola Pajkovsky2010-08-1043-7467/+0
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* rename RPM.cpp -> rpm.cNikola Pajkovsky2010-08-104-27/+80
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* pure C for logging, read_wirte and xfuncsNikola Pajkovsky2010-08-106-31/+139
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* add libxml-2.0 into configureNikola Pajkovsky2010-08-041-0/+2
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* abrt_curl: discard headers from HTTP redirectionDenys Vlasenko2010-07-281-4/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | Example where it is needed: abrtd: save_headers: header 0: 'HTTP/1.1 301 Moved Permanently' abrtd: save_headers: header 1: 'Connection: close' abrtd: save_headers: header 2: 'Location: NEW_URL' abrtd: save_headers: header 3: '' ... If we will continue collecting headers, we might be fooled to think that the following transaction had "Location: NEW_URL" header. This patch discards headers when it sees new "HTTP/..." line (note the count restarting from 0): ... abrtd: save_headers: header 0: 'HTTP/1.1 200 OK' abrtd: save_headers: header 1: 'Date: Wed, 28 Jul 2010 13:33:55 GMT' abrtd: save_headers: header 2: 'Server: Apache' abrtd: save_headers: header 3: 'Cache-Control: no-cache' abrtd: save_headers: header 4: 'Pragma: no-cache' abrtd: save_headers: header 5: 'Content-Type: text/html; charset=UTF-8' abrtd: save_headers: header 6: 'Connection: close' abrtd: save_headers: header 7: 'Transfer-Encoding: chunked' abrtd: save_headers: header 8: '' Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* style fixes, no code changesDenys Vlasenko2010-07-221-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wire up SSLVerify in RHTSupport.conf to actually have the desired effectDenys Vlasenko2010-07-214-9/+24
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* changing NoSSLVerify to SSLVerify in bugzilla pluginMichal Toman2010-07-131-3/+3
|
* lower-case devel headersNikola Pajkovsky2010-07-0911-15/+15
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* mv devel header files to inc/ and install themJiri Moskovcak2010-07-0912-733/+9
| | | | | | - header files are required to write the custom plugins plugins without downloading the whole git tree, user just need to install abrt-devel package
* Jiri forgot "git add abrt_packages.cpp" :DDenys Vlasenko2010-07-011-0/+26
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* added support for package specific actionsJiri Moskovcak2010-06-301-0/+1
|
* English and message format fixesDenys Vlasenko2010-06-301-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt_rh_support: improve error messages a bit more.Denys Vlasenko2010-06-301-3/+1
| | | | | | Also, allow " in saved messages. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt_rh_support: improve error messageDenys Vlasenko2010-06-301-25/+24
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove obsolete Catcut and rhfastcheck reportersDenys Vlasenko2010-06-292-67/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt_rh_support: change message so that URL does not have comma added to itDenys Vlasenko2010-06-291-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rhel bug points to correct placeNikola Pajkovsky2010-06-211-0/+1
| | | | | | | rhbz578397 - abrt should not point to Fedora bugs but create new RHEL bug instead. Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* Fixed a flaw in strbuf_prepend_str (affecting duplicate checker)Karel Klic2010-06-171-0/+1
|
* abrt_rh_support: handle 404 errors betterDenys Vlasenko2010-06-171-2/+12
| | | | | | Also remove unused class memeber in CCpp analyser Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* RHTSupport: actually use settings; report curl errors betterDenys Vlasenko2010-06-151-7/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt_curl: fix a problem with incorrect content-length on 32-bit archesDenys Vlasenko2010-06-152-2/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Move hooklib from src/Hooks to lib/Utilskarel2010-06-093-1/+156
|
* 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