[GRASS-git] [OSGeo/grass] 229dd3: Fix fixed-width CJK formatting (#523)

Huidae Cho noreply at github.com
Wed Jun 3 09:04:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass
  Commit: 229dd3ea77c4ce4c880bebfde2f89d7c0633c705
      https://github.com/OSGeo/grass/commit/229dd3ea77c4ce4c880bebfde2f89d7c0633c705
  Author: Huidae Cho <grass4u at gmail.com>
  Date:   2020-06-03 (Wed, 03 Jun 2020)

  Changed paths:
    M include/defs/gis.h
    A lib/gis/aprintf.c
    M lib/init/grass.py
    M vector/v.info/print.c

  Log Message:
  -----------
  Fix fixed-width CJK formatting (#523)

* WIP: Fix fixed-width CJK formatting

* Consistent docstring; Remove unused printf()

* Support Python 2 (what about the python3 shebang?)

* Add a comment about named arguments

* Add lib/gis/printa.c (G_*printa() functions) for printing aligned wide characters

* Add a blank line after declarations

* Comment on snprintf()

* Rename _*printf => o*printf; Error messages

* Comments

* malloc => G_malloc

* Increase the size of spec buffer and fatal error on too long a spec

* Fix precision

* spaces

* Consistent style

* Rename wide_count to count_wide_chars

* Rename *printa => *aprinf

* Consolidate count_*_in_cols() functions; Add comments; 80 columns

* Update lib/gis/aprintf.c

Co-authored-by: Markus Neteler <neteler at gmail.com>

* Update lib/gis/aprintf.c

Co-authored-by: Markus Neteler <neteler at gmail.com>

Co-authored-by: Markus Neteler <neteler at gmail.com>




More information about the grass-commit mailing list