Skip to content
Snippets Groups Projects
  1. Mar 07, 2008
  2. Mar 05, 2008
  3. Mar 04, 2008
  4. Mar 02, 2008
  5. Mar 01, 2008
  6. Feb 29, 2008
  7. Feb 27, 2008
  8. Feb 26, 2008
  9. Feb 25, 2008
  10. Feb 24, 2008
  11. Feb 23, 2008
    • Dan McGee's avatar
      A few more wide character output fixes · 4c14dcc5
      Dan McGee authored
      
      Fix up the indentprint and list printing functions so they work properly.
      This output can be seen in places such as -Ss, -Si, -Qs, and -Qi.
      
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
      4c14dcc5
    • Dan McGee's avatar
      Fix wide character output for add/remove/upgrade/conflict progress · a6470956
      Dan McGee authored
      
      Due to the addition of the Chinese translation, our column widths were all
      messed up as mentioned in the download progress commit fixing this same
      problem there. This is a port of the code and ideas from that fix to the
      installation progress bars. Once again, a handful of examples were tested to
      ensure we work in all locales and with varying byte and char widths.
      
      English (before & after):
      (1/1) checking for file conflicts                   [-----------------] 100%
      (1/1) upgrading man-pages                           [-----------------] 100%
      
      German (before & after):
      (1/1) Prüfe auf Dateikonflikte                      [-----------------] 100%
      (1/1) Aktualisiere man-pages                        [-----------------] 100%
      
      Chinese (before):
      (1/1) 正在检查文件冲突                                      [-----------------] 100%
      (1/1) 生在升级 man-pages                                [c  o  o  o  o  o ] (1/1) 生在升级 man-pages                                [----------C o  o ] (1/1) 生在升级 man-pages                                [-----------------] 100%
      
      Chinese (after):
      (1/1) 正在检查文件冲突                              [-----------------] 100%
      (1/1) 生在升级 man-pages                            [-----------------] 100%
      
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
      a6470956
    • Dan McGee's avatar
      Fix wide character output for download progress · 29f55fb7
      Dan McGee authored
      
      Now that we have a Chinese translation, all of the problems with new
      character sets crop up. Assumptions were made in the past that all
      characters occupied one column, which is not true with a Chinese character
      set. In addition, the download code even failed on such things as 'ö', which
      is two bytes wide but only 1 column.
      
      This code will need to also be ported to the add/remove/upgrade/conflicts
      progress printouts.
      
      Note that the tests below try to incorporate a number of things:
      1. download filenames too long to fit
      2. download filenames cut off in the middle of a multibyte sequence
      3. download filenames incorporating multicolumn chars
      4. download filenames incorporating multibyte, single-column chars
      5. 'plain' download filenames that have always worked
      
      Before:
      :: 正在同步软件包数据库……
       正在解决倚赖��...    0.0K  199.8K/s 00:00:00 [-----------------] 100%
      错误:无法升级正在解决倚赖关系junköëjunköëjunköëäää (未预计的系统错误)
       正在解决倚赖��...    0.0K  308.4K/s 00:00:00 [-----------------] 100%
      错误:无法升级正在解决倚赖关系 (未预计的系统错误)
       junköëä                 0.0K  390.6K/s 00:00:00 [-----------------] 100%
      错误:无法升级junköëä (未预计的系统错误)
       pacman-git                 0.5K    4.3M/s 00:00:00 [-----------------] 100%
      本地数据库已是最新的
      
      After:
      :: 正在同步软件包数据库……
       正在解决倚赖关系jun...     0.0K   89.7K/s 00:00:00 [-----------------] 100%
      错误:无法升级正在解决倚赖关系junköëjunköëjunköëäää (未预计的系统错误)
       正在解决倚赖关系           0.0K  147.7K/s 00:00:00 [-----------------] 100%
      错误:无法升级正在解决倚赖关系 (未预计的系统错误)
       junköëä                    0.0K  156.9K/s 00:00:00 [-----------------] 100%
      错误:无法升级junköëä (未预计的系统错误)
       pacman-git                 0.5K 1515.9K/s 00:00:00 [-----------------] 100%
      本地数据库已是最新的
      
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
      29f55fb7
  12. Feb 22, 2008
  13. Feb 21, 2008
  14. Feb 20, 2008
  15. Feb 19, 2008
  16. Feb 18, 2008
Loading