Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | style: put single statement at line after if () | Thierry Vignaud | 2012-06-13 | 1 | -5/+10 |
| | |||||
* | style: put return at line after if () | Thierry Vignaud | 2012-06-13 | 1 | -9/+18 |
| | |||||
* | (return_list_tag) use proper accessors | Thierry Vignaud | 2012-06-13 | 1 | -7/+7 |
| | |||||
* | (return_list_tag) preallocate the stack | Thierry Vignaud | 2012-06-13 | 1 | -3/+6 |
| | |||||
* | (fullname,expand) simplify using mPUSHs() | Thierry Vignaud | 2012-06-13 | 1 | -9/+9 |
| | |||||
* | (return_list_tag, Pkg_id) style | Thierry Vignaud | 2012-06-13 | 1 | -9/+4 |
| | |||||
* | (pack_header) constify some local variables | Thierry Vignaud | 2012-06-13 | 1 | -5/+5 |
| | |||||
* | constify some functions args | Thierry Vignaud | 2012-06-13 | 1 | -17/+17 |
| | |||||
* | simplify: newSVpv(foobar, 0) -> newSVpvs(foobar) | Thierry Vignaud | 2012-06-13 | 1 | -10/+10 |
| | |||||
* | tag some internal functions as static (saves another 1% of code) | Thierry Vignaud | 2012-06-13 | 1 | -8/+8 |
| | |||||
* | (return_list_int32_t) rename as return_list_uint32_t(): | Thierry Vignaud | 2012-06-13 | 1 | -7/+7 |
| | | | | we return the result of rpmtdNextUint32() :-) | ||||
* | (return_list_tag) report about unknown tags (also silent compiler btw) | Thierry Vignaud | 2012-06-13 | 1 | -0/+3 |
| | |||||
* | use proper rpm types | Thierry Vignaud | 2012-06-13 | 1 | -27/+30 |
| | |||||
* | (rpmtag_from_string) make it static | Thierry Vignaud | 2012-06-13 | 1 | -1/+1 |
| | |||||
* | (Db_create_transaction) remove 'prefix' paremter which is unused for 9 years, | Thierry Vignaud | 2012-06-13 | 1 | -2/+1 |
| | | | | | | | since commit r11141 by fpons on Apr 29 2003: "first try of 4.2 compatible perl-URPM" warning: this break compatibility with urpmi! | ||||
* | (return_list_tag_modifier) simplify | Thierry Vignaud | 2012-06-13 | 1 | -4/+2 |
| | |||||
* | silence some compiler warnings | Thierry Vignaud | 2012-06-13 | 1 | -4/+4 |
| | |||||
* | (spec2srcheader) kill useless define | Thierry Vignaud | 2012-06-13 | 1 | -2/+0 |
| | |||||
* | (Pkg_distepoch) drop it (never worked on rpm.org, never used) | Thierry Vignaud | 2012-06-13 | 1 | -12/+0 |
| | |||||
* | alias Trans->Element*() | Thierry Vignaud | 2012-06-13 | 1 | -43/+19 |
| | | | | | | alias *score() functions (further 2% code saving) | ||||
* | (provides_overlap) alias it with obsoletes_overlap | Thierry Vignaud | 2012-06-13 | 1 | -39/+16 |
| | | | | (saves another 1.1% of code size) | ||||
* | fix importing pubkeys with rpm-4.10.0 (eg: when adding media) | Thierry Vignaud | 2012-06-11 | 1 | -5/+11 |
| | | | | | | | | | | | | | | | | | | (ts_nosignature) return old values of ts->vsflags (Db_traverse,Db_traverse_tag,Db_traverse_tag_find) restore previous ts->vsflags issue introduced in commit r22930 by nanardon on Mar 1 2007: "- make read_config_files() the load error code - URPM::read_config_files return success true/false - load config file at module load - the config is tagged as load only in case of success, so reloading after error will retry anyway" looks like an optimisation silently added with that commit for faster DB traversing; up to rpm-4.9.x, this was OK, but rpm-4.10.0 now refuses to load the keyring if signature checking is disabled, which fails importing the key | ||||
* | (import_pubkey) drop it (this function is dead for 5 years) | Thierry Vignaud | 2012-06-11 | 1 | -9/+0 |
| | |||||
* | alias many flags setters (16% code saved with previous commit) | Thierry Vignaud | 2012-06-08 | 1 | -68/+20 |
| | |||||
* | alias many flags accessors in order to save code | Thierry Vignaud | 2012-06-08 | 1 | -49/+18 |
| | |||||
* | alias many simple accessors in order to save code space (10% saved) | Thierry Vignaud | 2012-06-08 | 1 | -238/+113 |
| | |||||
* | drop support for rpm-4.8.x | Thierry Vignaud | 2012-06-08 | 1 | -44/+0 |
| | |||||
* | (platformscore) kill unimplemented function | Thierry Vignaud | 2012-06-08 | 1 | -11/+0 |
| | | | | | (dead since commit r232405 by pixel on Dec 10 2007: "introduce some compatibility code with rpm.org") | ||||
* | (list_rpm_tag) kill unimplemented function | Thierry Vignaud | 2012-06-08 | 1 | -6/+0 |
| | | | | | (dead since commit r250318 from pixel on Dec 9 2008: "- drop list_rpm_tag()") | ||||
* | (is_platform_compat) kill unimplemented function (dead since switch to | Thierry Vignaud | 2012-06-08 | 1 | -13/+0 |
| | | | | rpm.org in 2007) | ||||
* | (update_header, add, parse_hdlist__XS, parse_rpm) kill compatability | Thierry Vignaud | 2012-06-08 | 1 | -16/+4 |
| | | | | mode with an interface dead since December 2002 | ||||
* | kill unused PROMOTE_EPOCH_SENSE | Thierry Vignaud | 2012-06-08 | 1 | -5/+0 |
| | |||||
* | (get_arch) introduce this new helper in order to simplify the code | Thierry Vignaud | 2012-06-08 | 1 | -7/+12 |
| | |||||
* | explain dead code | Thierry Vignaud | 2012-02-27 | 1 | -0/+3 |
| | |||||
* | (update_header) explain what are magic numbers | Thierry Vignaud | 2012-02-27 | 1 | -0/+2 |
| | |||||
* | better pack package structure | Thierry Vignaud | 2012-02-27 | 1 | -3/+3 |
| | |||||
* | (Pkg_set_filesize) enable to set filesize | Thierry Vignaud | 2012-02-27 | 1 | -0/+7 |
| | | | | | | | | | this is needed in order to keep real package file sizes in synthesis when keeping packages on refreshing metadata previous fix only ensured we get real file size when adding a new package to synthesis; but when refreshing synthesis, we were going through poor get_filesize()'s guesses | ||||
* | (size) style | Thierry Vignaud | 2012-02-22 | 1 | -1/+2 |
| | |||||
* | style: reindent after previous commit | Thierry Vignaud | 2012-02-22 | 1 | -21/+21 |
| | |||||
* | (parse_rpm,verify_rpm) factorize some tests | Thierry Vignaud | 2012-02-22 | 1 | -25/+21 |
| | |||||
* | style: remove useless brackets | Thierry Vignaud | 2012-02-22 | 1 | -136/+105 |
| | |||||
* | (drop_tags) readd two lines dropped by error in a commented out | Thierry Vignaud | 2012-02-22 | 1 | -0/+2 |
| | | | | function in commit r904 on 2011-04-16 (was: "clean rpm5 support out") | ||||
* | (update_header) get real file size from actual package file | Thierry Vignaud | 2012-02-22 | 1 | -0/+1 |
| | | | | (thus enabling to put real package file sizes in synthesis) | ||||
* | (update_header) do not add FILENAME_TAG to hdlist anymore (unused since mdv2008) | Thierry Vignaud | 2012-02-22 | 1 | -9/+0 |
| | |||||
* | kill unused FILESIZE_TAG | Thierry Vignaud | 2012-02-22 | 1 | -1/+0 |
| | |||||
* | use NULL rather than 0 for header pointers | Thierry Vignaud | 2012-02-22 | 1 | -5/+5 |
| | |||||
* | (get_filesize) use librpm's headerGetNumber() | Thierry Vignaud | 2012-02-22 | 1 | -1/+1 |
| | |||||
* | (sigsize_to_filesize) rename as get_filesize(), moving deferencing from ↵ | Thierry Vignaud | 2012-02-22 | 1 | -5/+5 |
| | | | | callers into callee | ||||
* | (open_archive) clean API | Thierry Vignaud | 2012-02-07 | 1 | -10/+3 |
| | |||||
* | (open_archive) switch from forking unpacker to using librpm | Thierry Vignaud | 2012-02-07 | 1 | -58/+17 |
| |