summaryrefslogtreecommitdiff
path: root/src/language_tag.cc
AgeCommit message (Collapse)Author
2025-03-20Rename LanguageTag::to_string -> as_string().Carl Hetherington
2024-02-25Remove unused variable.Carl Hetherington
2022-11-24Tidy up some operators, made possible by the previous-but-one commit.Carl Hetherington
2022-04-12Add and use new File class.merged-to-mainCarl Hetherington
It was always a bit troubling that fopen_boost wasn't exception safe, and this also fixes a leak where load_ratings_list would never close the ratings file.
2021-06-26C++11 cleanup.Carl Hetherington
2021-03-23Add operator!= and operator< for LanguageTagCarl Hetherington
2021-03-20Add access to DCNC list.Carl Hetherington
2021-01-24Tidying.Carl Hetherington
2021-01-22Assorted c++11 cleanups.Carl Hetherington
2021-01-21Some more use of enum class.Carl Hetherington
2021-01-17LanguageTag strings should not care about case.Carl Hetherington
2020-11-02Missing return value check.Carl Hetherington
2020-09-27Load language tags from on-disk files rather than embedding themCarl Hetherington
into a .cc. The .cc method causes compile times (and memory requirements) increase enormously with some compilers.
2020-09-26Declare language tag lists as const.Carl Hetherington
2020-09-21Support CPL metadata.Carl Hetherington
2020-09-21Allow LanguageTag to be constructed from a tag string.Carl Hetherington
2020-09-20Add new LanguageTag class.Carl Hetherington
The scripts/update-language-subtags script will download the RFC 5646 registry and write it to src/language_tag_lists.cc. This may need to be re-run if the subtags change.