Max Kellermann
|
dfaf08743c
|
*: check defined(_WIN32) instead of defined(WIN32)
Only _WIN32 is defined by the compiler, and WIN32 is not standardized
and may be missing.
Closes #169
|
2017-12-12 10:22:20 +01:00 |
|
Max Kellermann
|
5620f16330
|
lib/icu/Collate: move IcuCaseFold() to CaseFold.cxx
|
2017-09-20 23:11:58 +02:00 |
|
Max Kellermann
|
be024d4ad7
|
lib/icu/Collate: remove unnecessary assert()
|
2017-09-20 23:05:31 +02:00 |
|
Max Kellermann
|
71f0ed8b74
|
*: add "noexcept" to many, many function prototypes
This eliminates some overhead, because the compiler doesn't need to
consider these functions throwing.
|
2017-05-08 14:44:49 +02:00 |
|
Max Kellermann
|
5900253b85
|
update copyright year
|
2017-01-03 20:48:59 +01:00 |
|
Max Kellermann
|
6d409d27ca
|
lib/icu: migrate from class Error to C++ exceptions
|
2016-11-02 09:54:13 +01:00 |
|
Max Kellermann
|
21f17270a1
|
lib/icu/Util: UCharFromUTF8() throws on error
|
2016-04-21 11:20:41 +02:00 |
|
Max Kellermann
|
b9f535cd49
|
lib/icu/Win32: throw exception on error
|
2016-04-21 10:15:40 +02:00 |
|
Max Kellermann
|
178f737971
|
lib/icu/Collate: use std::unique_ptr
|
2016-04-12 21:55:14 +02:00 |
|
Max Kellermann
|
74963bce9d
|
lib/icu/Collate: use class AllocatedArray
|
2016-04-12 21:55:14 +02:00 |
|
Max Kellermann
|
33a4dbe1e5
|
lib/icu/Util: use class AllocatedArray
|
2016-04-12 21:42:14 +02:00 |
|
Max Kellermann
|
1aee89f5ea
|
*: include cleanup (using iwyu)
|
2016-03-01 22:08:13 +01:00 |
|
Max Kellermann
|
1d67aa7bf2
|
update copyright year to 2016
|
2016-02-26 17:54:05 +01:00 |
|
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
|
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
|
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
|
c641ca90a9
|
lib/icu/Collate: move code to Util.cxx
|
2014-11-30 10:53:05 +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
|
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 |
|