From kde-commits Fri Jan 21 17:06:12 2005 From: David Faure Date: Fri, 21 Jan 2005 17:06:12 +0000 To: kde-commits Subject: kdelibs/kio Message-Id: <20050121170612.BCBF11D187 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=110632734707858 CVS commit by faure: KURLCompletion fixes: - url-escape filenames when completing URLs (e.g. a%23b instead of a#b) - escaping fix when cwd (as given by setDir) is a path. - caching fix (don't reuse entries for "foo" when completing "/cwd/foo") - just because the test prog happened to test: correctly extract directory when the to-be-completed url includes a ref (the result is always empty of course) Rewrote and extended unit-test for KURLCompletion. M +92 -80 kio/kurlcompletion.cpp 1.72 M +11 -10 kio/kurlcompletion.h 1.42 M +1 -1 tests/jobtest.cpp 1.6 M +157 -9 tests/kurlcompletiontest.cpp 1.3