Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | osd/strconv.cpp: Deal with NUL when osd_uchar_from_osdchar uses mbstowcs. | 2025-01-08 | 1 | -0/+8 | |
| | |||||
* | osd/strconv.cpp: Handle UTF-8 Windows code page internally in ↵ | 2024-04-16 | 1 | -20/+30 | |
| | | | | osd_uchar_from_osdchar. (#12131) | ||||
* | osd: Added multibyte check to osd_uchar_from_osdchar to fix decoding ASCII ↵ | 2022-04-10 | 1 | -1/+6 | |
| | | | | | text. (#9536) This allows ASCII INI files to be parsed on Windows systems set to use a double-byte code page. It should also work with correctly-encoded Shift-JIS, GB2312, Big5 and EUC-KR. It won’t work for more complex variable-length encodings, or when the input is not correctly encoded. | ||||
* | Remove OSD_UWP from rest of code | 2021-10-26 | 1 | -2/+2 | |
| | |||||
* | strconv: avoid msvc debug assertion | 2021-10-25 | 1 | -2/+2 | |
| | |||||
* | frontend: Fixed clone sorting; osd/strconv.cpp: The string_view treatment, ↵ | 2021-10-09 | 1 | -53/+26 | |
| | | | | and fixed a bug with to/from ANSI codepage. | ||||
* | use C++ library includes (nw) | 2020-01-22 | 1 | -1/+1 | |
| | |||||
* | Move special windows.h include directives to build defines (nw) | 2016-12-28 | 1 | -3/+0 | |
| | |||||
* | Some more work on UWP (nw) | 2016-11-10 | 1 | -2/+2 | |
| | |||||
* | srcclean (nw) | 2016-10-23 | 1 | -3/+3 | |
| | |||||
* | use standard types uintptr_t, char16_t and char32_t instead of FPTR, ↵ | 2016-10-22 | 1 | -2/+2 | |
| | | | | utf16_char, unicode_char (nw) | ||||
* | Bulk renaming of Windows string conversion functions | 2016-10-03 | 1 | -44/+51 | |
| | | | | | utf8_from_[a|w|t]string ==> osd::text::from_[a|w|t]string [a|w|t]string_from_utf8 ==> osd::text::to_[a|w|t]string | ||||
* | Collapsing string_source class hierarchy | 2016-10-03 | 1 | -34/+17 | |
| | |||||
* | Eliminated virtual function use in strconv.cpp | 2016-10-03 | 1 | -17/+14 | |
| | | | | Take note that in practice, this does not actually change the compiled code because the optimizer should be smart enough to remove the need for vtable lookups as a part of optimization (this is definitely true for MinGW). If you really prefer, I can collapse the class hierarchy into a single templated class that just has overloaded constructors - this also doesn't actually change the compiled code, but I can make the change if you wish. | ||||
* | Refactored to eliminate duplicate logic, sidestepped concerns about writing ↵ | 2016-10-02 | 1 | -34/+78 | |
| | | | | NUL into NUL terminator byte in std::[w]string | ||||
* | Adding new string conversion overloads | 2016-10-01 | 1 | -6/+126 | |
| | | | | [a|w|t|utf8]_from_[a|w|t|utf8_]string(xyz.c_str()) seems to be common enough to justify overloads. Also, I'm explicitly assuming that it is legal to override the NUL pointer within a C++ basic_string (e.g. - s[s.size()] = '\0'). As far as I can tell, this seems to be legal - please don't shoot if I am wrong. | ||||
* | fix vs2015 build (nw) | 2016-07-31 | 1 | -1/+1 | |
| | |||||
* | algorithm-> utility where appropriate, fix imgtool (nw) | 2016-07-31 | 1 | -1/+1 | |
| | |||||
* | std::min and std:max instead of MIN and MAX, also some more macros converted ↵ | 2016-07-31 | 1 | -3/+4 | |
| | | | | to inline functions (nw) | ||||
* | Using decltype() and removing +1/-1 "dance" | 2016-07-25 | 1 | -3/+3 | |
| | |||||
* | Fixed off by one issue and other cleanups requested by Vas | 2016-07-25 | 1 | -2/+2 | |
| | |||||
* | Changed strconv.[cpp|h] functions to return their results as std::string and ↵ | 2016-07-24 | 1 | -41/+66 | |
| | | | | std::wstring | ||||
* | Various cleanups suggested by static analyzer (nw) | 2016-04-24 | 1 | -13/+13 | |
| | |||||
* | ah (nw) | 2016-03-23 | 1 | -1/+1 | |
| | |||||
* | Fix clang compile error (nw) | 2016-03-23 | 1 | -1/+1 | |
| | |||||
* | Get max char size from ANSI codepage instead of IsDBCSLeadChar() | 2016-03-22 | 1 | -6/+16 | |
| | |||||
* | ups, sorry for this | 2015-11-11 | 1 | -1/+1 | |
| | |||||
* | more cleanups and fix (nw) | 2015-11-11 | 1 | -1/+0 | |
| | |||||
* | Rename *.c -> *.cpp in our source (nw) | 2015-11-08 | 1 | -0/+141 | |