summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* opkg: apply "2-pkg-vec--Optimize-gross-inefficiency.patch" from OpenEmbeddedticktock352008-12-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | | pkg_vec: Optimize gross inefficiency. This module tries to implement *unique* vector (without duplicating objects), and does this by iterating thru all already existing elements. Thus, complexity of adding N elements was O(N^2). However, there're no grave reasons to do uniqueness at all: 1. First of all, if feeds are correct, there won't be duplicates. 2. Then, even if there will be, there won't be serious problems like segfaults. 3. Finally, for quite a few operations vectors is constructed from a hashtable, thus uniqueness is guaranteed (which reduces possible cases of non-uniqueness to values of Depends: and friends). All an all, remove dup check, and make ipkg work order of magnitude faster on a feed with few thousands of packages. git-svn-id: http://opkg.googlecode.com/svn/trunk@18 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: apply "1-pkg-parse--Optimize-inefficient-parsing.patch" from OpenEmbeddedticktock352008-12-141-76/+115
| | | | | | | | | | pkg_parse: Optimize inefficient parsing. Instead of expensively probing all fields in row, dispatch based on the first letter of the field. Tests show ~12 times reduction in number of calls to low-level parsing functions. git-svn-id: http://opkg.googlecode.com/svn/trunk@17 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: don't print "Successfully terminated." messageticktock352008-12-141-4/+3
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@16 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: fix some compiler warningsticktock352008-12-143-6/+5
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@15 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: don't report the same download percentage multiple timesticktock352008-12-141-0/+8
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@14 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: include the current url being downloaded in the progress callbackticktock352008-12-142-8/+9
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@13 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: Fix #ifdefticktock352008-12-141-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@12 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* * Add proxy username/password supportticktock352008-12-141-0/+8
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@11 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: add a download progress callback hook to libopkgticktock352008-12-142-0/+16
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@10 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: fix progress barticktock352008-12-141-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@9 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* * Rename top level ipkg directory to opkgticktock352008-12-1478-1677/+1674
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@8 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* ipkg: add a simple progress bar while downloadingticktock352008-12-141-1/+29
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@7 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* ipkg: remove more auto-generated filesticktock352008-12-143-1278/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@6 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* ipkg: replace wget with libcurl functionsticktock352008-12-143-3/+25
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@5 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* ipkg: remove auto-generated filesticktock352008-12-145-33217/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@4 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* * Add ipkg for future developmentticktock352008-12-14139-0/+66432
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@3 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* initial dirticktock352008-12-140-0/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@2 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Initial directory structure.(no author)2008-12-130-0/+0
git-svn-id: http://opkg.googlecode.com/svn/trunk@1 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358