utf8proc
changeset 5:c18366878af9 v1.0.2
Version 1.0.2
- included a check in Integer#utf8, which raises an exception, if the given code-point is invalid because of being too high (this was missing yet)
- added support for PostgreSQL version 8.2
- included a check in Integer#utf8, which raises an exception, if the given code-point is invalid because of being too high (this was missing yet)
- added support for PostgreSQL version 8.2
author | jbe |
---|---|
date | Tue Dec 26 12:00:00 2006 +0100 (2006-12-26) |
parents | a49e32490aac |
children | d04d3a9b486e |
files | Changelog pgsql/utf8proc_pgsql.c ruby/utf8proc_native.c utf8proc-1.0.1.gem utf8proc-1.0.2.gem |
line diff
1.1 --- a/Changelog Wed Sep 20 12:00:00 2006 +0200 1.2 +++ b/Changelog Tue Dec 26 12:00:00 2006 +0100 1.3 @@ -40,3 +40,16 @@ 1.4 1.5 Release of version 1.0 1.6 1.7 +2006-09-20: 1.8 +- included a gem file for the ruby version of the library 1.9 + 1.10 +Release of version 1.0.1 1.11 + 1.12 +2006-09-21: 1.13 +- included a check in Integer#utf8, which raises an exception, if the given 1.14 + code-point is invalid because of being too high (this was missing yet) 1.15 + 1.16 +2006-12-26: 1.17 +- added support for PostgreSQL version 8.2 1.18 + 1.19 +Release of version 1.0.2
2.1 --- a/pgsql/utf8proc_pgsql.c Wed Sep 20 12:00:00 2006 +0200 2.2 +++ b/pgsql/utf8proc_pgsql.c Tue Dec 26 12:00:00 2006 +0100 2.3 @@ -51,6 +51,10 @@ 2.4 #include <unistd.h> 2.5 #include <utils/builtins.h> 2.6 2.7 +#ifdef PG_MODULE_MAGIC 2.8 +PG_MODULE_MAGIC; 2.9 +#endif 2.10 + 2.11 #define UTF8PROC_PGSQL_OPTS ( UTF8PROC_REJECTNA | UTF8PROC_COMPAT | \ 2.12 UTF8PROC_COMPOSE | UTF8PROC_STABLE | UTF8PROC_IGNORE | UTF8PROC_STRIPCC | \ 2.13 UTF8PROC_NLF2LF | UTF8PROC_CASEFOLD | UTF8PROC_LUMP )
3.1 --- a/ruby/utf8proc_native.c Wed Sep 20 12:00:00 2006 +0200 3.2 +++ b/ruby/utf8proc_native.c Tue Dec 26 12:00:00 2006 +0100 3.3 @@ -122,7 +122,8 @@ 3.4 ssize_t result; 3.5 int uc; 3.6 uc = NUM2INT(code_param); 3.7 - if (uc < 0 || ((uc & 0xFFFF) >= 0xFFFE) || (uc >= 0xD800 && uc < 0xE000) || 3.8 + if (uc < 0 || uc >= 0x110000 || 3.9 + ((uc & 0xFFFF) >= 0xFFFE) || (uc >= 0xD800 && uc < 0xE000) || 3.10 (uc >= 0xFDD0 && uc < 0xFDF0)) 3.11 rb_raise(rb_eArgError, "Invalid Unicode code point"); 3.12 result = utf8proc_encode_char(uc, buffer);
4.1 Binary file utf8proc-1.0.1.gem has changed
5.1 Binary file utf8proc-1.0.2.gem has changed