Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | (buildtime,get_tag) simplify | Thierry Vignaud | 2012-06-18 | 1 | -12/+4 | |
| | ||||||
* | (pack_list) drop now unused 'check_flag' parameter | Thierry Vignaud | 2012-06-17 | 1 | -7/+6 | |
| | ||||||
* | drop support for old mdv2008.0 suggests (RPMTAG_REQUIRENAME + | Thierry Vignaud | 2012-06-17 | 1 | -35/+3 | |
| | | | | | | | | | | | RPMSENSE_MISSINGOK) drop suport for old suggests: RPMTAG_REQUIRENAME + RPMSENSE_MISSINGOK (as done in Mandriva 2008.0) since mdv 2008.1, we use SuSE style suggets (RPMTAG_SUGGESTSNAME) we don't support them since that (and we dropped them from testsuite in december 2008) | |||||
* | (buildtime,get_tag) simplify | Thierry Vignaud | 2012-06-17 | 1 | -12/+8 | |
| | ||||||
* | (buildarchs,get_tag) better style | Thierry Vignaud | 2012-06-17 | 1 | -34/+17 | |
| | ||||||
* | alias mose Pkg_*_nosense() functions | Thierry Vignaud | 2012-06-17 | 1 | -17/+11 | |
| | ||||||
* | (Pkg_buildarchs) simplify now that all remaining aliases use ↵ | Thierry Vignaud | 2012-06-17 | 1 | -16/+17 | |
| | | | | xpush_simple_list_str() | |||||
* | resplit all functions using return_files() into Pkg_files() | Thierry Vignaud | 2012-06-17 | 1 | -6/+15 | |
| | ||||||
* | resplit all functions using return_list_number() into Pkg_files_mtime() | Thierry Vignaud | 2012-06-17 | 1 | -21/+32 | |
| | ||||||
* | (return_files,Pkg_fullname) silent 2 compiler warnings | Thierry Vignaud | 2012-06-17 | 1 | -2/+2 | |
| | ||||||
* | (cb_overlap_s) optimize packing | Thierry Vignaud | 2012-06-15 | 1 | -2/+2 | |
| | ||||||
* | explain some #undef | Thierry Vignaud | 2012-06-15 | 1 | -0/+1 | |
| | ||||||
* | (ranges_overlap,obsoletes_overlap) drop unused no_promote parameter | Thierry Vignaud | 2012-06-15 | 1 | -11/+7 | |
| | | | | | | | | rationale: it was never set to 0 for nearly a decade this should have been ripped rigth after commit r227323 by pixel on Sep 7 2007: "simplify: nopromoteepoch is always 1 (no caller ever define it)" | |||||
* | (return_list_uint_16) rename as return_list_number() | Thierry Vignaud | 2012-06-15 | 1 | -24/+8 | |
| | | | | | | | | rationale: rpmtdGetNumber() works for every kind of numeric container (RPM_NUMERIC_CLASS) regardless of its internal presentation (8/16/32/64-bit integer) (return_list_uint32_t) drop it as it's now useless | |||||
* | (Db_traverse_tag) simplify | Thierry Vignaud | 2012-06-15 | 1 | -3/+1 | |
| | ||||||
* | simplify using RPMTAG_NVR | Thierry Vignaud | 2012-06-15 | 1 | -19/+12 | |
| | ||||||
* | (return_files) fix a compiler warning | Thierry Vignaud | 2012-06-15 | 1 | -1/+1 | |
| | ||||||
* | (return_list_tag,update_obsoletes,update_provides) use proper accessors | Thierry Vignaud | 2012-06-15 | 1 | -7/+5 | |
| | ||||||
* | (return_files) fix RPMTAG_OLDFILENAMES case | Thierry Vignaud | 2012-06-15 | 1 | -1/+2 | |
| | | | | | | | | | | | was broken since commit r250325 by pixel on Tue Dec 9 2008 +0000: "- adapt to rpm 4.6 changes: headerGetEntry -> headerGet" previously count was initialized the right way this show it's unused since it's broken for 4 years this is a theoric issues since RPMTAG_(BASENAMES|DIRINDEXES|_DIRNAMES) date from 1999... | |||||
* | (update_provides_files) fix support for RPMTAG_OLDFILENAMES | Thierry Vignaud | 2012-06-14 | 1 | -6/+6 | |
| | | | | | | | | | it is broken since commit r250325 by pixel on Tue Dec 9 2008 (4 years!!!): "- adapt to rpm 4.6 changes: headerGetEntry -> headerGet" previously 'list' was initialized the right way note: still needed for the testsuite | |||||
* | (return_files) use proper accessors in the RPMTAG_OLDFILENAMES case | Thierry Vignaud | 2012-06-14 | 1 | -4/+3 | |
| | ||||||
* | (return_files) use proper API for freeing memory | Thierry Vignaud | 2012-06-14 | 1 | -4/+6 | |
| | ||||||
* | (_run_cb_while_traversing) introduce this helper | Thierry Vignaud | 2012-06-14 | 1 | -42/+21 | |
| | ||||||
* | (_header_free) introduce this helper in order to simplify | Thierry Vignaud | 2012-06-14 | 1 | -5/+10 | |
| | ||||||
* | (get_fullname_parts) fix a very old segfault in unused code | Thierry Vignaud | 2012-06-14 | 1 | -0/+2 | |
| | | | | | rationale: .info is set only if filled by pack_header() from header tags or by parse_line() (from a synthesis) | |||||
* | (return_list_tag_modifier) use proper accessors | Thierry Vignaud | 2012-06-13 | 1 | -13/+17 | |
| | ||||||
* | (return_files) simplify | Thierry Vignaud | 2012-06-13 | 1 | -1/+1 | |
| | ||||||
* | style: fix whitespace at end of some lines | Thierry Vignaud | 2012-06-13 | 1 | -2/+2 | |
| | ||||||
* | style: put block at line after if () | Thierry Vignaud | 2012-06-13 | 1 | -5/+21 | |
| | ||||||
* | 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) |