From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2285 invoked by alias); 29 Nov 2016 08:03:48 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 40038 Received: (qmail 12589 invoked from network); 29 Nov 2016 08:03:48 -0000 X-Qmail-Scanner-Diagnostics: from mail-io0-f174.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.223.174):SA:0(-0.7/5.0):. Processed in 4.086173 secs); 29 Nov 2016 08:03:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: joshua@rubixconsulting.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.223.174 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rubixconsulting.com; s=google; h=from:to:cc:subject:date:message-id; bh=6xz5G3qTgZ5y+Fm+tEfBYPIU00gcWzZwZj4783n4ID8=; b=WpUv2cF//gWJ636nhpHlkpDir6WK/e2UgU4ZwlBVG4LbKL2Z/BreyLRcuf4kFhli/x AqgmJAP8yrr7mbbx8opj+zFFJgGzV5Fng8BLDdoUgW6N6/8Ij35PvcMY8t2M/8xWuo+K /X1iDFQCLRVGzDHQFlviL2cO9Xse1EVJQ2ckQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=6xz5G3qTgZ5y+Fm+tEfBYPIU00gcWzZwZj4783n4ID8=; b=YwaoGRiyyxz39JbFtuZZtI04S7ruY3sHRnMAC6JBAYsUlLFRxr0k137tnfygHL1uEy x0M/Y2QlKcsVHihvJxw6XB9VQiAaGqEd0nvhpl+pQJfJm336wTwsV/qaz8eoTe5/Jruc 2dUwAgUTkT5A2ChbN2e1590QiHNcjt7OOjh+9WkV6rJRsVu+VoK87MIg3qYeBqagCSW7 XFH2uwZTo4Y0/JnH6Bi150qNl1mUM0P5FsdWYPCNEhS3b7We10Z9BXbFC/50tBzYV+Qz FRGMh/LaPdhX1MT/qYGf5chtl8JO3G/YuSb1dz8K3u+X3VXfCXuc1JjmtsmYEBjFomV8 f8uA== X-Gm-Message-State: AKaTC03R6/1Ma/kZiWD93K+i/RKfrBPU7tg5o4deGDKqFahHEBnHuV+UHYpaAVIS1iOWag== X-Received: by 10.36.190.206 with SMTP id i197mr20642842itf.70.1480405352730; Mon, 28 Nov 2016 23:42:32 -0800 (PST) From: Joshua Rubin To: zsh-workers@zsh.org Cc: Joshua Rubin Subject: [PATCH] add build-time option to use unicode9 character widths Date: Tue, 29 Nov 2016 00:42:27 -0700 Message-Id: <20161129074228.60551-1-joshua@rubixconsulting.com> X-Mailer: git-send-email 2.10.2 This patch adds support for unicode9 character widths. wcwidth9.h comes from https://github.com/joshuarubin/wcwidth9. Its tables were generated from those already in use by vim/neovim which in turn build them from the official unicode files EastAsianWidth.txt and emoji-data.txt Joshua Rubin (1): add build-time option to use unicode9 character widths Src/compat.c | 13 +- Src/wcwidth9.h | 1321 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Src/zsh.h | 4 +- configure.ac | 12 + 4 files changed, 1348 insertions(+), 2 deletions(-) create mode 100644 Src/wcwidth9.h -- 2.10.2