2
0
mirror of https://github.com/boostorg/locale.git synced 2026-01-19 04:22:08 +00:00

839 Commits

Author SHA1 Message Date
Alexander Grund
bf8ca46729 Merge pull request #269 from boostorg/coverage 2025-11-02 16:40:22 +01:00
Alexander Grund
b38a271b48 Fix format of ICU_PATH in project-config.jam
It needs forward slashes even on Windows
2025-11-02 14:45:30 +01:00
Alexander Grund
5b1acded7f Show more information for Windows coverage run on GHA 2025-11-02 14:40:26 +01:00
Alexander Grund
9458c4207c Add more character info to show_config 2025-11-02 14:10:43 +01:00
Alexander Grund
ac0e7d588c Add exclusions for expected uncovered lines in test_encoding 2025-11-02 14:10:16 +01:00
Alexander Grund
57cda421b7 Merge pull request #267 from boostorg/test-improvement
Fix cygwin tests
2025-10-29 08:44:15 +01:00
Alexander Grund
2690f0c363 Improve doc and naming of UTF-16 surrogate handling in generic_codecvt. 2025-10-28 20:36:15 +01:00
Alexander Grund
848115fcae Don't use stdlib UTF-8 codecvt facet for Cygwin too.
Handle that the same as for native Windows.
Reason is an issue discovered converting an UTF-8 sequence of 1000x U+2008A to wchar_t (UTF-16):
UTF-8: "\xF0\xA0\x82\x8A"
The correct result are 1000x L"\xD840\xDC8A"
The first 255 pairs are correct (1020 input bytes consumed) but the low
surrogate of the 256th pair becomes `0xDC82` hinting it repeats the
second last byte (index 1023) instead of reading the correct one.
2025-10-28 20:14:03 +01:00
Alexander Grund
cd43cdcf0f Fix inefficiency in test_stream_io 2025-10-26 20:34:30 +01:00
Alexander Grund
4dfebd3152 Add checks for writing test file to test_stream_io 2025-10-26 20:33:40 +01:00
Alexander Grund
ee460ca45e Improve docs 2025-10-25 20:09:03 +02:00
Alexander Grund
89a3ed87ea Fallback to Windows codepages 1252/1255 for ISO8859-1/ISO8859-8
They are supersets in that they replace unassigned ranges or
control characters by valid symbols.
This is slightly better than the fallback to the classic/C locale.
2025-10-25 17:44:29 +02:00
Alexander Grund
43d208375a Add context and EOF check to test_stream_io 2025-10-25 17:44:29 +02:00
Alexander Grund
d3a0eecd03 Unify subtests 2025-10-25 17:44:29 +02:00
Alexander Grund
e980689bb3 Fix output and locale name usage in test_std_convert 2025-10-25 17:44:28 +02:00
Alexander Grund
516964fbbd Simplify get_std_name 2025-10-25 17:44:28 +02:00
Alexander Grund
8be54fefd7 Fix comment of expected test output 2025-10-25 17:44:28 +02:00
Alexander Grund
a491e766b3 Enhance test output for test_encoding 2025-10-25 17:44:28 +02:00
Alexander Grund
6b54fe44be Simplify test by using std::put_money 2025-10-25 17:44:28 +02:00
Alexander Grund
3bf2339c7f Skip remaining parser test if stdlib can't do it 2025-10-25 17:44:27 +02:00
Alexander Grund
a6beef1a36 Test value only after successful parsing
Avoid subsequent failure reports if the parsing already failed
2025-10-25 17:44:27 +02:00
Alexander Grund
38dda57f10 Remove testing with Clang 3.5 & 3.5 from GHA
Boost.SmartPtr (used by Boost.Thread) no longer builds on those old compilers.
2025-10-25 15:53:59 +02:00
Alexander Grund
691e47f678 Merge pull request #268 from boostorg/fix-apple-iconv-tests 2025-10-25 15:40:24 +02:00
Alexander Grund
5170818f6d Don't use iconv directly in test
This would require linking the test executable against IConv to avoid
missing symbols.
Just use the (relatively) thin wrapper from Boost.Locale.
2025-10-24 14:48:32 +02:00
Alexander Grund
5e2fd97143 Handle Apple Iconv using WTF-8 in test
The Apple Iconv library uses WTF-8 when UTF-8 is requested and does not
return an error for invalid UTF-32 input.

Run iconv directly in test to detect this issue and adapt the expected values.
2025-10-23 16:46:35 +02:00
Alexander Grund
9e6d3d53d9 Enhance handling of (faulty) Apple Iconv in test 2025-10-23 12:31:01 +02:00
Alexander Grund
82d6500c5c Document non-GNU IConv on macOS 2025-10-23 12:31:01 +02:00
Alexander Grund
a60bc8b26d Replace macos-13 by macos-15 2025-10-23 10:06:34 +02:00
Alexander Grund
231b5f96e3 Disable Werror for dependencies 2025-10-21 09:59:09 +02:00
Alexander Grund
96b98364f6 Move Boost dependencies to library instead of project requirements
Otherwise all test builds and imported libs will link to those too.
This causes e.g. Boost.Thread to be build and installed as a shared
library due to e.g. `<library>icuuc/<link>shared`
2025-10-21 09:59:09 +02:00
Alexander Grund
3466ac7525 Use boost.org instead of boost.io 2025-09-18 19:54:36 +02:00
Alexander Grund
e82bf49ff0 doc: Update copyright notice 2025-09-17 13:11:52 +02:00
Alexander Grund
3c2726b2f9 doc: Make ICU casing consistent 2025-09-04 13:21:24 +02:00
Alexander Grund
9a86dbb356 doc: Remove stray newline 2025-08-28 18:27:46 +02:00
Alexander Grund
c324c21483 Update Doxyfile 2025-08-27 18:34:43 +02:00
Alexander Grund
f6c812537c CI: Fix listing 2025-08-27 17:17:57 +02:00
Alexander Grund
9a5dcc809f CI: Show generated docs 2025-08-27 17:01:40 +02:00
Alexander Grund
0a9eaa3280 Ignore generated doc folder 2025-08-27 17:01:27 +02:00
Alexander Grund
a744fc920d doc: Fix typo 2025-08-27 16:53:12 +02:00
Alexander Grund
a775a766cd doc: Update required ICU version 2025-08-27 16:50:28 +02:00
Alexander Grund
c58850ca16 doc: Replace mentions of bjam by b2 2025-08-27 16:46:32 +02:00
Alexander Grund
252d827f77 Update Link to regression test matrix in README 2025-08-26 13:04:04 +02:00
Alexander Grund
88bdae9d5d Write to std::cerr in show_config
Use unbuffered stream to get easier access to output when program crashes.
2025-07-08 19:50:10 +02:00
Alexander Grund
981f5804b1 GHA: Remove Windows 2019 runners 2025-07-08 19:50:10 +02:00
Alexander Grund
7ed04731c8 Allow CI runs specific to a CI provider 2025-07-08 19:22:29 +02:00
AnonymousPC
cfb7236319 make header src/shread/mo_hash.cpp guarded 2025-06-17 10:27:28 +02:00
Alexander Grund
d6e3119892 Merge pull request #260 from boostorg/ci
GHA: Stop using Ubuntu 20.04 runner
2025-03-01 15:20:22 +01:00
Alexander Grund
4a9fdb983b Split VS 2019 appveyor job 2025-02-28 09:41:15 +01:00
Alexander Grund
d353abb1d9 Install locale-gen if missing 2025-02-28 09:39:22 +01:00
Alexander Grund
bd9544b301 Update from Boost.CI 2025-02-28 09:33:44 +01:00