aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
Commit message (Collapse)AuthorAgeFilesLines
* $trans->order: add support for "deploops" optionThierry Vignaud2013-11-051-1/+12
|
* coverity: add a comment about "Argument cannot be negative"Thierry Vignaud2013-10-031-1/+1
| | | | "fd" is passed to a parameter that cannot be negative.
* coverity: fix "Resource leak"Thierry Vignaud2013-10-031-3/+7
| | | | | 'leaked_storage: Variable "foo" going out of scope leaks the storage it points to.'
* coverity: fix "Unused pointer value"Thierry Vignaud2013-10-031-6/+6
| | | | | 'Pointer "foo" returned by "_free(foo)" is never used' (improve coverity scan's SNR)
* (sourcerpm) make it more readableThierry Vignaud2013-09-301-16/+8
|
* alias N, V, R & A (saves nearly 2% of compiled size)Thierry Vignaud2013-09-301-51/+25
|
* fix retrieving payload formatThierry Vignaud2013-02-051-1/+1
| | | | | | commit r6545 on 2012-12-2 broke delta rpm support: "(Pkg_description, Pkg_sourcerpm) split UTF-8 strings from raw strings functions, then simplify"
* typo fixThierry Vignaud2013-02-031-1/+1
|
* (mask_from_string) factorize codeThierry Vignaud2013-02-031-14/+14
|
* simplify styleThierry Vignaud2013-02-031-2/+1
|
* (update_provides) clean unused variableThierry Vignaud2013-01-291-2/+0
|
* (update_provides) document ->info caseThierry Vignaud2013-01-291-0/+2
|
* (rpmRunTransactions_callback) handle new RPMCALLBACK_INST_STOPThierry Vignaud2013-01-291-0/+2
| | | | (redundant with INST_CLOSE_FILE...)
* add support for callback_errorThierry Vignaud2013-01-291-1/+24
|
* remove wrong commentThierry Vignaud2013-01-291-1/+0
|
* bump copyrigh yearsThierry Vignaud2013-01-291-1/+1
|
* (return_list_tag) simplify/factorizeThierry Vignaud2013-01-291-11/+12
|
* (call_package_callback,rpmRunTransactions_callback) optimize: preextend ↵Thierry Vignaud2013-01-291-8/+10
| | | | stack if needed
* (push_in_depslist) factorize common code for adding a package to {depslist}Thierry Vignaud2013-01-201-29/+18
|
* (stream2header,spec2srcheader) simplifyThierry Vignaud2013-01-201-10/+3
|
* (parse_line) make it more readableThierry Vignaud2013-01-201-3/+2
|
* (Urpm_stream2header) simplifyThierry Vignaud2013-01-201-2/+1
|
* (pack_header) separate the suggests & requires casesThierry Vignaud2013-01-201-2/+2
| | | | | the doble test was needed in mdv2008.0 due to suggests being implemented as requires
* (update_provides_files) simplify: let callee compute the lengthThierry Vignaud2013-01-201-6/+2
|
* (parse_line) simplifyThierry Vignaud2013-01-201-13/+18
|
* add commentsThierry Vignaud2013-01-201-0/+2
|
* RPMFILE_EXCLUDE & RPMFILE_UNPATCHED were drop from external API in rpm-4.11Thierry Vignaud2012-12-171-3/+0
| | | | | RPMFILE_UNPATCHED is no more used and RPMFILE_EXCLUDE only exists during spec parse (see rpm commit 8d277bbb)
* (EVR) fix it on packages from rpmdb (was ok on synthesis ones) (mga#7739)Thierry Vignaud2012-12-071-2/+5
|
* (Db_traverse_tag_find) fix a rare segfaultThierry Vignaud2012-12-031-0/+2
| | | | | | | | | | | | | | | | | | | | | found accidently could be triggered by the following (calling enough times either requires() or provides() while traversing rpm db) which resulting in an "Invalid read of size 8": use URPM; my $db = URPM::DB::open()->traverse_tag_find('whatprovides', 'kernel', sub { my ($p) = @_; warn $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires, $p->requires; return 1; }); bug introduced in commit r4947 on June 14 2012: "(_run_cb_while_traversing) introduce this helper"
* (Pkg_description, Pkg_sourcerpm) split UTF-8 strings from raw stringsThierry Vignaud2012-12-021-23/+31
| | | | functions, then simplify
* drop ->disttag (unused, was introduced by pok just before the fork)Thierry Vignaud2012-12-021-3/+0
|
* (update_provide_entry) kill itThierry Vignaud2012-11-291-11/+6
|
* Mageia copyrightThierry Vignaud2012-11-291-0/+1
|
* (Pkg_suggests) alias it on *_nonsenseThierry Vignaud2012-11-211-8/+2
| | | | (it should have been named suggests_nosense in the first place, bad pixel...)
* alias obsoletes/provides/requiresThierry Vignaud2012-11-211-29/+13
|
* (requires_nosense) alias it to other *_nosense() functionsThierry Vignaud2012-11-211-9/+2
|
* (Pkg_requires_nosense) stop passing RPMTAG_REQUIREFLAGSThierry Vignaud2012-11-211-1/+1
| | | | | | | | | | | | | | | | rationale: it was passing RPMTAG_REQUIREFLAGS as flags instead of since commit r225637 from pixel on 2007-08-09 that added initial suggests support by that time, suggests were basically RPMTAG_REQUIRENAME + RPMSENSE_MISSINGOK. in mdv2008.1, they were re-implemented the SuSe way with RPMTAG_SUGGESTSNAME. since we no more support old mdv2008.0 suggests since commit r4974 on 2012-06-17 ("drop support for old mdv2008.0 suggests"), we no longer try to distinct requires from suggests by looking at tag flags so don't need to pass RPMTAG_REQUIREFLAGS anymore (needed for next commit)
* (callback_list_str_xpush_requires) kill it since it's now identical to ↵Thierry Vignaud2012-11-211-17/+2
| | | | callback_list_str_xpush()
* drop header_filename (long obsolete, no more use)Thierry Vignaud2012-11-191-21/+0
|
* explain the 'flags' signifianceThierry Vignaud2012-11-011-0/+15
|
* rename FLAG_RATE as FLAG_RATE_MASK as it really is a maskThierry Vignaud2012-11-011-4/+4
|
* rename FLAG_ID as FLAG_ID_MASK as it really is a maskThierry Vignaud2012-11-011-8/+8
|
* (Pkg_id,Pkg_setid) simplify by having a temporary variableThierry Vignaud2012-11-011-4/+6
|
* applying similar styling to other callersThierry Vignaud2012-11-011-4/+2
|
* (Trans_traverse) style after previous commit (2/2)Thierry Vignaud2012-11-011-2/+1
|
* (Trans_traverse) simplify using _run_cb_while_traversing() (1/2)Thierry Vignaud2012-11-011-10/+1
|
* (_run_cb_while_traversing) enable to pass additional flagsThierry Vignaud2012-11-011-5/+5
| | | | | | (Db_traverse,Db_traverse_tag) discard callback results prior to introducing _run_cb_while_traversing() in commit r4947 on Jun 14 2012: "(_run_cb_while_traversing) introduce this helper"
* (Urpm_verify_rpm) simplifyThierry Vignaud2012-10-161-4/+1
|
* reduce the scope of some variables (thanks cppcheck)Thierry Vignaud2012-10-161-9/+7
|
* (unused_variable) kill unused functionThierry Vignaud2012-10-161-4/+0
|