Commit Graph

19 Commits

Author SHA1 Message Date
Laurence Withers 7e9085def4 Bump version 2009-10-14 15:27:52 +00:00
Laurence Withers b04ebb80e6 utf8_decode_char2(): fix return value
The return value of utf8_decode_char2() was 0, not (wchar_t)-1 as stated in the
documentation. Fix it.
2009-10-14 15:27:07 +00:00
Laurence Withers f2569b9423 utf8_decode_char2(): fix overlength char test
The test for an overlength character was incorrect; it was comparing only
the last byte decoded rather than the whole char. Fix it.
2009-10-14 15:24:08 +00:00
Laurence Withers 21ba875738 Bump version 2009-10-13 11:53:50 +00:00
Laurence Withers 355444649a Add utf8_iseol() to test for end-of-line
Add a character classification function modelled after the Unicode Standard
Annex 13 Unicode newline guidelines to test for end-of-line characters.
2009-10-13 11:51:49 +00:00
Laurence Withers a46f5cc2ee Tidy up test code formatting 2009-10-13 11:32:08 +00:00
Laurence Withers 26e3c57b04 Tidy up source formatting
Use new function-definition formatting convention and remove C++-style
comments.
2009-10-13 11:29:55 +00:00
Laurence Withers e98cbe5cc5 Tidy up utf_is*() functions (ABI change)
Tidy up the formatting of the character classification functions, including
improving the documentation. Furthermore, change the "isvalid" function into
more general "isucs4", "isutf32" and "isutf16" functions, which is another
ABI change.
2009-10-13 11:20:33 +00:00
Laurence Withers dc60dcb2e6 Switch away from 'bool' type (ABI change)
This type doesn't bring anything over an int and requires some special
handling (e.g. including the right headers). Just drop it and use int, C
programmers will understand!
2009-10-13 11:01:40 +00:00
Laurence Withers 1f62468379 Bump version 2009-10-13 11:01:34 +00:00
Laurence Withers 86142ac550 Tidy up file header/trailer comments 2009-10-13 10:55:21 +00:00
Laurence Withers 7a7522e753 Rename files so that it builds 2009-10-13 10:26:09 +00:00
Laurence Withers eedca3cc8f Update build system 2009-10-13 10:22:29 +00:00
Laurence Withers 9837ad2b9f Update copyright (GPLv3) 2009-10-13 10:12:52 +00:00
Laurence Withers f6725f771d Upgrade to new build system, bump version. 2006-08-25 11:07:07 +01:00
Laurence Withers f602c362f2 Bump version (we already had an earlier 1.1.0) 2006-07-31 15:41:41 +01:00
Laurence Withers beb5857904 Bump version. 2006-07-31 15:35:03 +01:00
Laurence Withers ea1c53e43f Import library from old svn repository. 2006-07-31 15:34:21 +01:00
Laurence Withers f9c0e57470 Initial import of build system. 2006-07-31 15:21:56 +01:00