Zdeněk Pavlas [Tue, 10 Apr 2012 13:50:23 +0000 (15:50 +0200)]
fix some typos
Michael Schroeder [Wed, 4 Apr 2012 12:25:16 +0000 (14:25 +0200)]
- make example solv program a tiny bit more secure (shouldn't use system() at all)
Michael Schroeder [Tue, 3 Apr 2012 10:07:10 +0000 (12:07 +0200)]
- repo_rpmdb: always check for distepoch, check for 64bit size
Michael Schroeder [Tue, 3 Apr 2012 09:44:44 +0000 (11:44 +0200)]
- support repo_add_arch_local to read the installed package database on arch
Michael Schroeder [Tue, 3 Apr 2012 08:53:26 +0000 (10:53 +0200)]
- get rid of DEBINA_SEMANTICS, add pool->noarchid, add DISTTYPE_ARCH
Michael Schroeder [Mon, 2 Apr 2012 11:41:10 +0000 (13:41 +0200)]
- make sure to link against the lzma library if ENABLE_LZMA_COMPRESSION is set
Michael Schroeder [Mon, 2 Apr 2012 09:48:21 +0000 (11:48 +0200)]
- "noarch" is called "any" on archlinux, so now we have noarch/all/any ;(
Michael Schroeder [Fri, 30 Mar 2012 17:20:31 +0000 (19:20 +0200)]
- also implement files.xml parsing for m&m
Michael Schroeder [Fri, 30 Mar 2012 16:36:56 +0000 (18:36 +0200)]
- fix mem leak in arch code
Michael Schroeder [Fri, 30 Mar 2012 16:33:30 +0000 (18:33 +0200)]
- support files section, support repo extension for archlinux
Michael Schroeder [Fri, 30 Mar 2012 12:18:27 +0000 (14:18 +0200)]
- also support mm/arch in bindings
Michael Schroeder [Fri, 30 Mar 2012 12:12:54 +0000 (14:12 +0200)]
- add support for archlinux packages/repos
Michael Schroeder [Wed, 28 Mar 2012 14:16:11 +0000 (16:16 +0200)]
- incompatible ABI change: switch num over to unsigned long long and store sizes in bytes, not kbytes
Michael Schroeder [Wed, 28 Mar 2012 10:31:22 +0000 (12:31 +0200)]
- rename map_and_not to map_subtract
Michael Schroeder [Wed, 28 Mar 2012 10:27:21 +0000 (12:27 +0200)]
Merge branch 'master' of github.com:openSUSE/libsolv
Michael Schroeder [Wed, 28 Mar 2012 10:27:01 +0000 (03:27 -0700)]
Merge pull request #11 from akozumpl/upstream
bitmap: implement map_and_not.
Ales Kozumplik [Tue, 27 Mar 2012 12:06:42 +0000 (14:06 +0200)]
bitmap: implement map_and_not.
Michael Schroeder [Tue, 27 Mar 2012 09:54:21 +0000 (11:54 +0200)]
- clean up lzma code a bit
Michael Schroeder [Mon, 26 Mar 2012 13:46:29 +0000 (15:46 +0200)]
- adapt to liobsolv coding style
Michael Schroeder [Mon, 26 Mar 2012 13:02:49 +0000 (15:02 +0200)]
- rename to ENABLE_LZMA_COMPRESSION as the lib is called lzma
Michael Schroeder [Mon, 26 Mar 2012 12:25:59 +0000 (14:25 +0200)]
- implement support for xz/lzma compression
Michael Schroeder [Mon, 26 Mar 2012 11:38:08 +0000 (13:38 +0200)]
- add "allownamechange" flag for completeness
Michael Schroeder [Fri, 23 Mar 2012 14:03:50 +0000 (15:03 +0100)]
- strip distepoch in pool_solvable2str()
Michael Schroeder [Fri, 23 Mar 2012 14:02:44 +0000 (15:02 +0100)]
- it helps to implement to get/set_flag code for POOL_FLAG_HAVEDISTEPOCH...
Michael Schroeder [Fri, 23 Mar 2012 13:41:01 +0000 (14:41 +0100)]
- don't call pool_solvid2str in testcase_solvid2str
That way we can change the pool_solvid2str output without breaking testcases
Michael Schroeder [Fri, 23 Mar 2012 13:36:24 +0000 (14:36 +0100)]
- add repo_mdk_add_info() function to parse the M&M info.xml file
Michael Schroeder [Thu, 22 Mar 2012 17:35:51 +0000 (18:35 +0100)]
- turn on "havedistepoch" by default if rpm5 is used
Michael Schroeder [Thu, 22 Mar 2012 17:34:45 +0000 (18:34 +0100)]
- check distepoch tag if rpm5 is used
Michael Schroeder [Thu, 22 Mar 2012 17:17:35 +0000 (18:17 +0100)]
- add M&M synthesis file parser, add mkd2solv tool
Michael Schroeder [Thu, 22 Mar 2012 17:04:36 +0000 (18:04 +0100)]
- support distepoch handling in release, used by the M&M distros
Michael Schroeder [Wed, 21 Mar 2012 15:18:54 +0000 (16:18 +0100)]
- bring solvable_trivial_installable functions back in sync with pool_trivial_installable
Michael Schroeder [Wed, 21 Mar 2012 13:53:01 +0000 (14:53 +0100)]
- also show number of updaterules in stats for completeness
Michael Schroeder [Wed, 21 Mar 2012 13:34:54 +0000 (14:34 +0100)]
- more memory usage statistics
Michael Schroeder [Wed, 21 Mar 2012 10:46:59 +0000 (11:46 +0100)]
- put file checksum and delta seq into vertical data to reduce the incore size
Michael Schroeder [Wed, 21 Mar 2012 10:35:08 +0000 (11:35 +0100)]
- don't free whatprovides in repo_solv, instead grow the array. Also get rid of the static mypool var.
Michael Schroeder [Tue, 20 Mar 2012 17:47:06 +0000 (18:47 +0100)]
- get rid of another gcc warning
Michael Schroeder [Tue, 20 Mar 2012 17:33:25 +0000 (18:33 +0100)]
- fix pointer aliasing problems in sha2 code
Michael Schroeder [Tue, 20 Mar 2012 12:42:32 +0000 (13:42 +0100)]
- reuse string/rel hashes in repo_add_solv where possible
Michael Schroeder [Tue, 20 Mar 2012 10:38:47 +0000 (11:38 +0100)]
- don't show vendor/arch changes for packages that were mapped to "erased"
Michael Schroeder [Tue, 20 Mar 2012 10:02:33 +0000 (11:02 +0100)]
- only package helix2solv in libsolv-devel on suse systems
Michael Schroeder [Mon, 19 Mar 2012 16:29:28 +0000 (17:29 +0100)]
- more cleanup and return type fixes
Michael Schroeder [Mon, 19 Mar 2012 16:12:35 +0000 (17:12 +0100)]
- fix return type of repo_deltainfoxml, remove obsolete debug code
Michael Schroeder [Mon, 19 Mar 2012 13:36:47 +0000 (14:36 +0100)]
cleanup rpmdb copy code now that we can do rels in incore idarrays
Michael Schroeder [Mon, 19 Mar 2012 11:53:00 +0000 (12:53 +0100)]
- cleanup array eof handling, improve data_readid/readnum
Michael Schroeder [Mon, 19 Mar 2012 10:35:28 +0000 (11:35 +0100)]
- store rpmdbid as TYPE_NUM. This means that TYPE_U32 is actually no longer used and can be deleted in the future
Michael Schroeder [Mon, 19 Mar 2012 09:47:50 +0000 (10:47 +0100)]
- do not include repopage.h unless LIBSOLV_INTERNAL is defined. (Daniel Pfeifer)
Michael Schroeder [Fri, 16 Mar 2012 13:36:04 +0000 (14:36 +0100)]
- advance num64 support. For now, we store the high 32 bits in kv->num2 to stay somewhat compatible
Michael Schroeder [Thu, 15 Mar 2012 13:43:00 +0000 (14:43 +0100)]
- do not duplicate solvablekeys[] array
Michael Schroeder [Thu, 15 Mar 2012 13:07:54 +0000 (14:07 +0100)]
- dumpsolv: num is unsigned, also support reldeps as ids
Michael Schroeder [Thu, 15 Mar 2012 13:04:18 +0000 (14:04 +0100)]
- simplify code a bit, also allow to store RPM_RPMDBID as num (formerly only u32 worked)
Michael Schroeder [Thu, 15 Mar 2012 11:49:48 +0000 (12:49 +0100)]
- start support for 64bit nums
Michael Schroeder [Wed, 14 Mar 2012 16:46:23 +0000 (17:46 +0100)]
- be a bit more careful with signed ids, check that everything in a vertical does not need mapping
Michael Schroeder [Wed, 14 Mar 2012 16:18:42 +0000 (17:18 +0100)]
- SOLVABLE_DISTRIBUTION is a poolstr everywhere else, make consistent
Michael Schroeder [Wed, 14 Mar 2012 11:51:08 +0000 (12:51 +0100)]
- speed up pool_shrink_whatprovides
Michael Schroeder [Wed, 14 Mar 2012 10:50:20 +0000 (03:50 -0700)]
Merge pull request #10 from akozumpl/upstream
testcase.h uses the Solver data type, include it.
Ales Kozumplik [Wed, 14 Mar 2012 07:54:01 +0000 (08:54 +0100)]
testcase.h uses the Solver data type, include it.
prevents compilation if the client doens't #inlcude solver otherwise.
Michael Schroeder [Tue, 13 Mar 2012 18:12:48 +0000 (19:12 +0100)]
- silence gcc -Wformat
Michael Schroeder [Tue, 13 Mar 2012 18:02:03 +0000 (19:02 +0100)]
- speed up pool_addrelproviders a bit
Zdeněk Pavlas [Fri, 2 Mar 2012 13:54:45 +0000 (14:54 +0100)]
Safer appdata
Michael Schroeder [Fri, 9 Mar 2012 12:55:18 +0000 (13:55 +0100)]
- oops map_setall should be void
Michael Schroeder [Fri, 9 Mar 2012 12:53:42 +0000 (13:53 +0100)]
- fix a case of solutionelement duplication
Michael Schroeder [Fri, 9 Mar 2012 12:52:32 +0000 (13:52 +0100)]
- add map_setall() function (the macros are actually kinda deprecated)
Michael Schroeder [Fri, 9 Mar 2012 12:41:49 +0000 (13:41 +0100)]
- check makeruledecisions corner case
Michael Schroeder [Fri, 9 Mar 2012 12:40:48 +0000 (13:40 +0100)]
- be more correct in makeruledecisions()
Michael Schroeder [Tue, 6 Mar 2012 15:52:07 +0000 (16:52 +0100)]
- use our own susetags parser, even if ENABLE_SUSEREPO is set.
It's not much code and using a different parser depending on the
config may lead to nasty bugs.
Michael Schroeder [Tue, 6 Mar 2012 15:48:30 +0000 (16:48 +0100)]
- repo_helix: also parse srcpackage elements
Michael Schroeder [Fri, 9 Mar 2012 10:35:55 +0000 (02:35 -0800)]
Merge pull request #9 from akozumpl/upstream
bitmap: implement map_and and MAPSETALL
Ales Kozumplik [Fri, 20 Jan 2012 09:51:05 +0000 (10:51 +0100)]
bitmap: implement map_and and MAPSETALL
Michael Schroeder [Wed, 7 Mar 2012 14:04:53 +0000 (06:04 -0800)]
Merge pull request #8 from akozumpl/upstream
some memory leaks
Ales Kozumplik [Wed, 7 Mar 2012 13:14:14 +0000 (14:14 +0100)]
solv.c: fixes leaked transaction structure
Ales Kozumplik [Wed, 7 Mar 2012 12:56:38 +0000 (13:56 +0100)]
fix a small memory leak in transaction_order()
od.cycles and od.cyclesdata left to rot.
Michael Schroeder [Tue, 6 Mar 2012 14:09:09 +0000 (15:09 +0100)]
- change duprule generation to ignore uninstallable packages
Michael Schroeder [Mon, 5 Mar 2012 16:22:35 +0000 (17:22 +0100)]
- also use extrajobflags in bindings
Michael Schroeder [Mon, 5 Mar 2012 13:01:21 +0000 (14:01 +0100)]
- clean up update/feature rule handling in allowuninstall case. Automatically add the CLEANDEPS flags in solutions.
We no longer make the update/featurerule weak, but use a "autouninstall" function
instead that checks if we can solve the problem by removing a package. We also
automatically add CLEANDEPS in that case if all job rules in the problem have
CLEANDEPS set.
Michael Schroeder [Fri, 2 Mar 2012 14:00:47 +0000 (15:00 +0100)]
- add idqinst parameter to pool_addfileprovides_queue so that it can also return the added id list for the installed repo
Michael Schroeder [Fri, 2 Mar 2012 13:17:34 +0000 (14:17 +0100)]
- yet another incompatible change: as everybody seems to use repo_write_stdkeyfilter, make repo_write use it automatically and add repo_write_filtered
Michael Schroeder [Thu, 1 Mar 2012 17:16:06 +0000 (18:16 +0100)]
- change last argument in repo_write from Id ** to Queue *. Hopefully nobody uses that arg...
Michael Schroeder [Thu, 1 Mar 2012 16:42:21 +0000 (17:42 +0100)]
- rename repo_add_solv_flags to repo_add_solv. Should have done this a couple of months earlier, sorry.
Michael Schroeder [Thu, 1 Mar 2012 14:21:11 +0000 (15:21 +0100)]
- fix cleandeps bug with supplemented userinstalled packages
Michael Schroeder [Thu, 1 Mar 2012 13:57:01 +0000 (14:57 +0100)]
- improve unneeded algorithm a bit more
Michael Schroeder [Wed, 29 Feb 2012 15:23:29 +0000 (16:23 +0100)]
- force update of A in cleandeps testcase
Michael Schroeder [Wed, 29 Feb 2012 15:22:34 +0000 (16:22 +0100)]
- fix cleandeps mistake bug triggered by corner cases
Michael Schroeder [Wed, 29 Feb 2012 15:03:15 +0000 (16:03 +0100)]
- add testcase for cleandeps mistake handling
Michael Schroeder [Wed, 29 Feb 2012 15:02:59 +0000 (16:02 +0100)]
- fix argc comparison
Michael Schroeder [Wed, 29 Feb 2012 15:02:40 +0000 (16:02 +0100)]
- fix cleandeps mistake handling
Michael Schroeder [Wed, 29 Feb 2012 14:24:00 +0000 (15:24 +0100)]
support RESULT_UNNEEDED in testcases
Michael Schroeder [Wed, 29 Feb 2012 13:06:10 +0000 (14:06 +0100)]
- improve unneeded algorithms
Michael Schroeder [Tue, 28 Feb 2012 18:00:33 +0000 (19:00 +0100)]
- add solver_get_unneeded() to get a list of no longer needed installed packages
Michael Schroeder [Tue, 28 Feb 2012 15:11:29 +0000 (16:11 +0100)]
- use -D<sym> for swig (-D<sym>=1 works for me as well, but it isn't documented)
Michael Schroeder [Tue, 28 Feb 2012 14:46:43 +0000 (15:46 +0100)]
- also export solv config to swig, thanks Zdenek Pavlas
Michael Schroeder [Tue, 28 Feb 2012 14:45:52 +0000 (15:45 +0100)]
- obsoleteusescolor is 1) no longer exported, and 2) default if FEDORA is defined
Michael Schroeder [Fri, 24 Feb 2012 10:50:05 +0000 (11:50 +0100)]
- rename SOLVER_FLAG_IGNORE_ALREADY_RECOMMENDED to SOLVER_FLAG_ADD_ALREADY_RECOMMENDED and invert.
Our policy is that the default should be zero and cover the most uses. Last chance
to do the change. (sorry libzypp and hawkeye folks.)
Michael Schroeder [Thu, 23 Feb 2012 14:50:02 +0000 (15:50 +0100)]
- version -> Version
Michael Schroeder [Thu, 23 Feb 2012 14:49:19 +0000 (15:49 +0100)]
- improve cleandeps for opensuse a bit by marking installed visible patterns as userinstalled
Michael Schroeder [Thu, 23 Feb 2012 14:48:40 +0000 (15:48 +0100)]
fix spelling of ENABLE_RPMDB_PUBKEY, read susetags pattern files
Michael Schroeder [Thu, 23 Feb 2012 14:45:24 +0000 (15:45 +0100)]
- fix "autoextend" susetags mode not to add to old solvables
(Maybe should get rid of autoextend mode instead)
Michael Schroeder [Thu, 23 Feb 2012 14:45:03 +0000 (15:45 +0100)]
- fix spelling of ENABLE_RPMDB_PUBKEY
Michael Schroeder [Wed, 22 Feb 2012 14:43:51 +0000 (15:43 +0100)]
- also put poolflags in testcases, support <inline> results
Michael Schroeder [Wed, 22 Feb 2012 12:27:11 +0000 (13:27 +0100)]
- add dependency check testcases
Michael Schroeder [Wed, 22 Feb 2012 12:26:30 +0000 (13:26 +0100)]
- support testcases with multiple solver jobs