The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 2012.008_16

  • ! lib/Unicode/LineBreak.pm ! lib/Unicode/LineBreak.pod ! lib/Unicode/LineBreak/JA_JP.pod ! t/00GraphemeBreakTest.t ! t/00LineBreakTest.t
    • Updates for latest 6.2.0beta.
    • Bundled sombok-2.3.0gamma1.

Changes for version 2012.007_16

  • ! Makefile.PL:
    • Use sombok >= 2.3.0.
  • ! t/00LineBreakTest.t:
    • Temporarily skip problematic ZJ subtests.
  • ! lib/Unicode/GCString.pod: ! lib/Unicode/GCString/JA_JP.pod:
    • Updated citation.
  • ! lib/Unicode/LineBreak.pod: ! lib/Unicode/LineBreak/JA_JP.pod:
    • Updated citation.
    • Added a section about tailoring for IDEOGRAPHIC SPACE (not yet written). See <http://www.unicode.org/review/pri212/feedback.html>, by Koji Ishii.

Changes for version 2012.007_14

  • Not really released

Changes for version 2012.005_18

  • ! lib/Unicode/LineBreak.pod: ! lib/Unicode/LineBreak/JA_JP.pod:
    • Added "Incompatible Changes" section.
  • ! LineBreak.xs:
    • Fix for all versions of Perl: CPAN RT #77394. utf8_to_uvuni has been deprecated by Perl 5.16 since it may read out of buffer.
    • Chg: LineBreak: eawidth() and lbclass() were removed.
  • ! Makefile.PL: ! META.yml:
    • requires ExtUtils::MakeMaker >= 6.26.
  • META.json:
    • added.
  • t/000.t:
    • added.
  • ! t/01break.t: ! t/08partial.t:
    • Added ko-decomp test.

Changes for version 2012.003_30

  • Mainly fixes of bugs emited by previous development release. ! lib/Unicode/GCString.pod: ! lib/Unicode/GCString/JA_JP.pod:
    • Added a caveat about calling the grapheme cluster as "grapheme".
  • ! lib/Unicode/LineBreak.pod: ! lib/Unicode/LineBreak/JA_JP.pod:
    • some corrections.
  • ! LineBreak.xs:
    • Fix: Win32/MSVC: lack of strcasecmp().
  • ! Makefile.PL: ! Makefile.PL.sombok:
    • Fix: error on test-subdirs with *BSD make.

Changes for version 2012.003_26

  • Tests building on Win32 are appreciated. ! lib/Text/LineFold.pm:
    • use breakingRule().
  • ! LineBreak.xs:
    • Cast ref_func() according to strict prototyping.
    • New: LineBreak::breakingRule(). lbrule() may be deprecated in near future.
  • ! Makefile.PL
    • requires sombok 2.1.1.
    • Now configure script won't be used to build bundled sombok.
    • Fix: libthai cflags were ommitted.
    • get UC test files only when they do not exist.
  • Makefile.PL.sombok
    • To make bundled sombok static library.
  • sombok/configure, etc.
    • No longer shipped with full package of sombok.
  • t/00GraphemeBreakTest.t
    • Added test suite provided by Unicode Consortium.
    • Cases including single surrogates will be skipped.

Changes for version 2012.003_13

Changes for version 2012.003_11

Changes for version 2012.001_29

  • trunk, Unicode data 6.1.0 beta. ! LineBreak.xs
    • Bug Fix: lbclass() & eawidth() return wrong values for strings with single non-ASCII byte, e.g. lbclass("\x{A0}") returns such as LB_H3.
    • Chg: CharMax may be 0 (unlimited). NOTE: this feature has not been tested enough.
    • Added new option ViramaAsJoiner.
  • ! Makefile.PL
    • Needs Sombok >= 2.1.0beta2.
    • fix: Solaris sh blames test with ``-e''. Use ``-f''.
  • ! lib/Unicode/LineBreak.pm
    • Chg: New option ViramaAsJoiner which is by default "YES".
  • ! lib/Unicode/LineBreak.pod ! lib/Unicode/LineBreak/JA_JP.pod
    • Update documentation:
      • Added descriptions about LBC CJ & HL.
      • Modify citation: [UAX #11] really had not been revised after rev. 19 (2009).
      • Added citation for [JLREQ].
  • ! t/00LineBreakText.t
    • skip empty data.
  • t/17prop.h
    • added for fix on LineBreak.xs

Documentation

プレインテキストの行折り
UAX #29 書記素クラスタの列としての文字列
UAX #14 Unicode 行分割アルゴリズム

Modules

Line Folding for Plain Text
String as Sequence of UAX #29 Grapheme Clusters
UAX #14 Unicode Line Breaking Algorithm

Provides

in lib/Unicode/LineBreak/Constants.pm