Max Kellermann
|
6f7bfa71a9
|
lib/icu/Collate: remove GLib implementation
There is not much use in GLib: on Windows, we have a native API for
string collation, and the rest uses either libicu or the standard C
library calls.
|
2015-06-27 16:05:54 +02:00 |
|
Max Kellermann
|
fb3564fbe7
|
lib/icu/Collate: use LCMapStringEx() on Windows
|
2015-06-27 15:52:37 +02:00 |
|
Max Kellermann
|
3fa4dad418
|
lib/icu/Converter: remove GLib implementation
We don't need this anymore: Win32 doesn't use this library at all, and
everything else has either iconv() or libicu.
|
2015-06-26 16:51:18 +02:00 |
|
Max Kellermann
|
0756607e32
|
lib/icu/Converter: add iconv() implementation
|
2015-06-26 16:49:25 +02:00 |
|
Max Kellermann
|
a03be5a8a6
|
lib/icu/Converter: add missing <>
|
2015-06-26 16:49:25 +02:00 |
|
Max Kellermann
|
8d11577ff2
|
lib/icu/{Converter,Collate}: return AllocatedString
|
2015-06-25 23:44:16 +02:00 |
|
Max Kellermann
|
c7712e2ef0
|
lib/icu/Collate: fall back to strxfrm()
|
2015-06-25 23:01:29 +02:00 |
|
Max Kellermann
|
61fa770644
|
lib/icu/Collate: fix indent
|
2015-06-25 22:55:57 +02:00 |
|
Max Kellermann
|
334bd73792
|
lib/icu/Collate: fall back to strcoll() instead of strcasecmp()
|
2015-06-23 13:26:45 +02:00 |
|
Max Kellermann
|
090ce262c4
|
lib/icu/Collate: use CompareStringEx() on Windows
|
2015-06-23 13:20:41 +02:00 |
|
Max Kellermann
|
aecfcaa8a2
|
lib/icu/Win32: wrappers for WideCharToMultiByte(), MultiByteToWideChar()
|
2015-06-23 13:20:11 +02:00 |
|
Max Kellermann
|
712ed555e6
|
Copyright year 2015
|
2015-01-01 19:48:13 +01:00 |
|
Max Kellermann
|
412bedb697
|
Merge branch 'v0.19.x'
|
2014-12-26 14:40:32 +01:00 |
|
Max Kellermann
|
95f84afd33
|
fs/Traits, ...: work around -Wtautological-pointer-compare
New in clang 3.6.
|
2014-12-26 14:34:03 +01:00 |
|
Max Kellermann
|
bc00c38f9d
|
lib/icu/Converter: add ICU-based backend
|
2014-12-01 21:56:48 +01:00 |
|
Max Kellermann
|
0f35016773
|
lib/icu/Converter: add TODO comment
|
2014-11-30 19:08:38 +01:00 |
|
Max Kellermann
|
c641ca90a9
|
lib/icu/Collate: move code to Util.cxx
|
2014-11-30 10:53:05 +01:00 |
|
Max Kellermann
|
87c88fcb27
|
fs/Charset: move code to wrapper class IcuConverter
Prepare for a ICU-based backend without GLib.
|
2014-11-30 00:31:13 +01:00 |
|
François Revol
|
e2e5cddcaa
|
icu: include strings.h for strcasecmp
Again, POSIX says strcasecmp is not in string.h.
|
2014-08-16 07:53:08 +02:00 |
|
Max Kellermann
|
1d324176d1
|
lib/icu/Init: call u_init() and u_cleanup()
Make valgrind happy.
|
2014-06-10 23:21:09 +02:00 |
|
Max Kellermann
|
37b3190752
|
lib/icu: add IcuInit(), IcuFinish()
|
2014-06-10 23:21:09 +02:00 |
|
Max Kellermann
|
41507d8129
|
icu/Collate: use u_strFoldCase() instead of ucol_getSortKey()
Turns out ucol_getSortKey() does not what I thought it does.
|
2014-05-12 14:43:30 +02:00 |
|
Max Kellermann
|
317a98a5a9
|
icu/Collate: UCharFromUTF8() returns WritableBuffer<UChar>
|
2014-05-12 14:39:40 +02:00 |
|
Max Kellermann
|
1395794923
|
icu/Collate: initialize error_code
Fixes the broken "search" command.
|
2014-05-12 14:13:09 +02:00 |
|
Max Kellermann
|
afdefefbe4
|
icu/Collate: fix memory leak in IcuCaseFold()
|
2014-04-09 20:09:34 +02:00 |
|
Max Kellermann
|
3f4c283203
|
icu/Collate: pass UErrorCode* to ucol_strcollUTF8()
Fixes crash after database update.
|
2014-02-24 21:05:44 +01:00 |
|
Max Kellermann
|
1e63e7c08b
|
icu/Collate: initialize the error code before ucol_open()
Fixes initialization failure.
|
2014-02-24 21:04:23 +01:00 |
|
Max Kellermann
|
33fc3af775
|
SongSort, ...: use libicu instead of GLib's g_utf8_*()
|
2014-02-24 20:39:37 +01:00 |
|