Alexander Grund
ee460ca45e
Improve docs
2025-10-25 20:09:03 +02:00
Alexander Grund
82d6500c5c
Document non-GNU IConv on macOS
2025-10-23 12:31:01 +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
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
34611eadae
Raise minimum ICU version to 4.2
...
StringPiece is only available in 4.2+ and is required for proper parsing
and formatting.
As this version is now "old enough", just assume 4.2+ removing many
conditionals.
2024-12-27 12:14:43 +01:00
Alexander Grund
9a346dd5f8
Fix parsing of numbers in floating point format to integers
...
When parsing a string like "123.456" to an integer the ICU backend would
first parse it greedily to a floating point value and then cast/truncate
it to an integer.
Set the flag to only parse integers when parsing to an integral number.
Care must be taken not to set that when parsing e.g. a currency or date
to an integer where the truncation is intended.
2024-11-11 15:48:24 +01:00
Alexander Grund
87ebb7f568
Update changelog
2024-07-04 10:04:19 +02:00
Alexander Grund
0cb96834a0
Update changelog
2024-02-21 08:52:12 +01:00
Alexander Grund
f29d950d80
Fix type confusion with boost::locale::collator
...
The class derived from `std::collate` which is always present in `std::locale`.
So checks for the `boost::locale::collator` facet may return wrongly true.
As a fix make this an independent facet with its own ID.
Use an adapter such that a std::collate derived class can use its abilities.
2024-02-07 20:14:39 +01:00
Alexander Grund
e6e3b33d03
Fix title_case and fallthrough part of WinAPI converter
...
Those code paths erroneously returned an empty string
2023-09-16 19:10:31 +02:00
Alexander Grund
2fb95eaff4
Update changelog for 1.83
2023-07-17 16:29:10 +02:00
Alexander Grund
57f87d9ace
Update changelog
2023-06-14 09:30:39 +02:00
Alexander Grund
fcf50b5262
Make std backend fall back to classic locale instead of system locale
...
Partial fix of #172
2023-05-24 17:00:37 +02:00
Alexander Grund
ce9c2f845a
Introduce converter classes as alternative to to_utf/from_utf/between
...
May save some overhead creating implementation classes and allows to
write shorter code for doing the same conversions repeatatly.
Also allows a hook for testing each backend individually.
2023-05-10 14:17:12 +02:00
Alexander Grund
a81471ccbc
Fix conversion to some codepages like iso-2022-jp using WideCharToMultiByte
...
Although not (any more?) officially documented at least this codepage doesn't support substitutions.
Hence check the error and rerun it with fixed parameters.
See #121
Also replace `remove_substitutions` by erase-remove and magic numbers by `CP_UTF7/8` constants
2023-05-09 14:18:45 +02:00
Alexander Grund
cd8516a3ff
Add missing move ctor/assign to localization_backend_manager
...
Also check and correct missing `noexcept`
2023-05-03 20:52:16 +02:00
Alexander Grund
cc075982c0
Update doc/changelog
2023-04-24 21:47:26 +02:00
Alexander Grund
21d03989f0
Fix UB on invalid index in format string
...
A placeholder like `{0}` triggers an integer underflow which is UB.
Replace the `atoi` by the C++11 conversion function and check the bounds.
2023-04-08 19:13:24 +02:00
Alexander Grund
0b90c6744f
Update doc
2023-03-05 18:17:28 +01:00
Alexander Grund
4b92117028
Update changelog
2023-03-01 17:09:49 +01:00
Alexander Grund
9c88884a58
Add to changelog
2023-02-18 18:56:56 +01:00
Alexander Grund
f6f897b413
locale_data: Uppercase encoding
...
Yield a uniform result, e.g. UTF-8.
This now matches the documentation as previously `boost::locale::info::encoding()`
returned "utf-8" instead of the documented "UTF-8".
2023-02-18 18:56:55 +01:00
Alexander Grund
d3e4713de4
Fix documentation regarding locale data
...
Reference the correct ISO norm and fix a spelling issue.
2023-01-10 14:45:07 +01:00
Dimitrij Mijoski
f70eafb61d
Fix order of environment variables when getting system default locale
...
See https://svn.boost.org/trac10/ticket/13289
Closes #22
2023-01-05 17:37:25 +01:00
Alexander Grund
57c894eaf8
Minor doc improvement
2022-10-27 20:50:17 +02:00
Alexander Grund
12641fba51
Use recursive in Doxyfile
2022-10-27 20:50:06 +02:00
Alexander Grund
da174928ff
Improve gendoc script
2022-10-27 20:49:13 +02:00
Joseph Malle
6f36132f1d
spelling and grammar fixes
2022-10-27 20:33:32 +02:00
Alexander Grund
1ebcea97e8
Update changelog
2022-10-26 20:06:00 +02:00
Alexander Grund
e5ed439ea3
Use enum classes for facet types
...
Changes `character_facet_type` & `locale_category_type` to the enum classes `char_facet_t` & `category_t`
This avoids a name clash with e.g. `calendar_facet` but is a breaking change
2022-10-24 20:01:12 +02:00
Alexander Grund
a056c6e5ff
Update docu
2022-10-23 14:11:39 +02:00
Alexander Grund
fa2457a878
Update doc
...
[skip ci]
2022-10-23 14:09:29 +02:00
Alexander Grund
668f2277cc
Factor out str_end function for getting the end of a C-String
2022-10-22 18:42:51 +02:00
Alexander Grund
bf0e7db6e6
Update changelog
2022-10-19 14:24:06 +02:00
Alexander Grund
095278788f
Doc update for C++11
...
Remove references to C++0x and C++03
2022-09-15 14:24:25 +02:00
Alexander Grund
3bc127eb35
Require C++11
...
Modify build configs and CI files to check for C++11 support
2022-09-14 09:36:08 +02:00
Alexander Grund
ef640ba3a6
Disable boostinspect for the style folder
2022-07-12 18:35:43 +02:00
Alexander Grund
927c4868a2
Include stylesheets and images in doc build
2022-07-12 18:35:42 +02:00
Alexander Grund
707f801c55
Remive vim markers
...
To be replaced by clang-format in the future.
2022-07-12 18:35:42 +02:00
Alexander Grund
595934f25e
Update license headers
...
Use the more concise format omitting the reference to the license file
and refer to the URL only.
2022-07-12 18:35:41 +02:00
Alexander Grund
5acaae6a09
Update changelog
2022-07-12 11:59:03 +02:00
Alexander Grund
9441d0f7c3
Generate docu using B2 and remove (outdated) html folder
2022-07-11 21:09:29 +02:00
Alexander Grund
00c8e07689
Remove using std-namespace and reformat
...
Removes the `using namespace std` to easier differentiate between
Boost.Locale and Std stuff.
Add spaces around shift operators.
2022-06-30 15:08:08 +02:00
Alexander Grund
d1fc12426f
Remove trailing spaces
2022-06-04 11:50:39 +02:00
Alexander Grund
9259845c6f
Fix typo in docs
2022-04-11 11:46:38 +02:00