Re: [hackers] [libgrapheme] Refine types (uint8_t -> char, uint32_t -> uint_least32_t) || Laslo Hunhold

2021-12-15 Thread Michael Forney
On 2021-12-15, Laslo Hunhold wrote: > thanks for clearing that up! After more thought I made the decision to > go with uint8_t, though. I see the point regarding character types, but > this notion is more of a smelly foot in the C standard. We are moving > towards UTF-8 as _the_ default encoding f

Re: [hackers] [libgrapheme] Refine types (uint8_t -> char, uint32_t -> uint_least32_t) || Laslo Hunhold

2021-12-15 Thread Laslo Hunhold
On Sun, 12 Dec 2021 12:41:15 -0800 Michael Forney wrote: Dear Michael, > > But char and unsigned char are of integer type, aren't they? > > They are integer types and character types. Character types are a > subset of integer types: char, signed char, and unsigned char. > > > So on a > > POS

Re: [hackers] [libgrapheme] Refactor Makefile, add dist-target and add test-util || Laslo Hunhold

2021-12-15 Thread Laslo Hunhold
On Wed, 15 Dec 2021 13:28:04 +0100 Quentin Rameau wrote: Dear Quentin, > > -GEN = gen/grapheme gen/grapheme-test > > -LIB = src/grapheme src/utf8 src/util > > -TEST = test/grapheme test/grapheme-performance test/utf8-decode > > test/utf8-encode - > > -MAN3 = man/lg_grapheme_isbreak.3 man/lg_grap

[hackers] [libgrapheme] Make lists in Makefile more idiomatic and avoid breaks || Laslo Hunhold

2021-12-15 Thread git
commit 20c105bcdd1c54401d4d23cdb9ded56ee7a2ffd4 Author: Laslo Hunhold AuthorDate: Wed Dec 15 13:34:06 2021 +0100 Commit: Laslo Hunhold CommitDate: Wed Dec 15 13:34:06 2021 +0100 Make lists in Makefile more idiomatic and avoid breaks Thanks Quentin Rameau for the remark regar

Re: [hackers] [libgrapheme] Refactor Makefile, add dist-target and add test-util || Laslo Hunhold

2021-12-15 Thread Quentin Rameau
Hi Laslo, As a note, > -GEN = gen/grapheme gen/grapheme-test > -LIB = src/grapheme src/utf8 src/util > -TEST = test/grapheme test/grapheme-performance test/utf8-decode > test/utf8-encode > - > -MAN3 = man/lg_grapheme_isbreak.3 man/lg_grapheme_nextbreak.3 > +GEN =\ > + gen/grapheme\ > + g

[hackers] [libgrapheme] Refactor Makefile, add dist-target and add test-util || Laslo Hunhold

2021-12-15 Thread git
commit 74c77bfd9932535d4b7a0a7d7cc7447164ead0d5 Author: Laslo Hunhold AuthorDate: Wed Dec 15 12:53:48 2021 +0100 Commit: Laslo Hunhold CommitDate: Wed Dec 15 12:53:48 2021 +0100 Refactor Makefile, add dist-target and add test-util All targets were checked and amended, if nec

[hackers] [libgrapheme] Refactor manual pages, document lg_grapheme_isbreak() || Laslo Hunhold

2021-12-15 Thread git
commit 497b500df21812b49729ff9514dd81dac29ec940 Author: Laslo Hunhold AuthorDate: Wed Dec 15 10:59:42 2021 +0100 Commit: Laslo Hunhold CommitDate: Wed Dec 15 10:59:42 2021 +0100 Refactor manual pages, document lg_grapheme_isbreak() In particular, simplify the given example i