From 61c6ae01b3315c5db38ef5d313ac6f0b75fe2209 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 10 Oct 2011 21:26:17 -0500 Subject: VerbosePkgLists: format table lines in i18n-compatible way MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This had the unfortunate implementation detail that depended on the strings having 1 byte == 1 column hold true. As we know, this is not at all the case once you move past the base ASCII character set. Reimplement this whole thing so it doesn't depend on format strings at all. Instead, simply calculate the max column widths, and then when displaying each row add the correct amount of padding using UTF-8 safe string length functions. Before: 名字 旧版本新版本 净变化 下载大小 libgee 0.6.2.1-1 0.60 MiB 0.10 MiB libsocialweb 0.25.19-2 1.92 MiB 0.23 MiB folks 0.6.3.2-1 1.38 MiB 0.25 MiB After: 名字 旧版本 新版本 净变化 下载大小 libgee 0.6.2.1-1 0.60 MiB 0.10 MiB libsocialweb 0.25.19-2 1.92 MiB 0.23 MiB folks 0.6.3.2-1 1.38 MiB 0.25 MiB Signed-off-by: Dan McGee --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 14ba65de..b4d3226c 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ VERSION DESCRIPTION ----------------------------------------------------------------------------- +4.0.1 - Ensure VerbosePkgList table display supports multibyte chars 4.0.0 - well-integrated and powerful signed packages and databases support in pacman, the library, and scripts (FS#5331) - over 800 commits to pacman.git since 3.5.4 release -- cgit v1.2.3-54-g00ecf From 04fd320e97770911894fb06ba98f3c17fc30c7d9 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 13 Oct 2011 11:22:50 -0500 Subject: Update NEWS for missing 4.0 stuff and 4.0.1 changes so far Signed-off-by: Dan McGee --- NEWS | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index b4d3226c..25919bc7 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ VERSION DESCRIPTION ----------------------------------------------------------------------------- -4.0.1 - Ensure VerbosePkgList table display supports multibyte chars +4.0.1 - ensure VerbosePkgList table display supports multibyte chars + - add guidance message for users when public keyring not found + - repo-add: fix race condition around lock file removal 4.0.0 - well-integrated and powerful signed packages and databases support in pacman, the library, and scripts (FS#5331) - over 800 commits to pacman.git since 3.5.4 release @@ -45,6 +47,7 @@ VERSION DESCRIPTION - makepkg: - allow signing packages after creation - allow verifying source file signatures (FS#20448) + - add auto-versioned libdepends/libprovides support - support UPX compression of executables (FS#17213) - allow usage of an alternate build directory (FS#22308) - cleancache option has been removed; use shell instead -- cgit v1.2.3-54-g00ecf