Commit Graph

61 Commits

Author SHA1 Message Date
Jonathan Campbell
c78d427ed7 iconv separate base class from iconv 2019-03-20 00:24:38 -07:00
Jonathan Campbell
566b5e4bd6 more 2019-03-19 21:11:50 -07:00
Jonathan Campbell
02e2b500b3 fix for Mac OS X 2019-03-19 21:09:59 -07:00
Jonathan Campbell
f14d5db9f8 more 2019-03-18 22:11:52 -07:00
Jonathan Campbell
e465fc0b8a more 2019-03-18 22:08:09 -07:00
Jonathan Campbell
6862682447 Template strlen for any case other than char and wchar_t 2019-03-18 22:02:17 -07:00
Jonathan Campbell
7b3527af63 support more than just wchar_t 2019-03-18 21:59:19 -07:00
Jonathan Campbell
7dbbbfca60 more 2019-03-18 21:57:13 -07:00
Jonathan Campbell
04ff3d68a6 cleanup 2019-03-18 21:55:20 -07:00
Jonathan Campbell
172e2df2e4 cleanup 2019-03-18 21:54:16 -07:00
Jonathan Campbell
40a801816c more 2019-03-18 20:10:55 -07:00
Jonathan Campbell
1c666d1f2e MinGW does not have endian.h 2019-03-18 20:02:02 -07:00
Jonathan Campbell
50a931c215 GCC 6 refuses to make iconv_t(-1) constexpr, fine 2019-03-18 20:00:39 -07:00
Jonathan Campbell
ec8721542b more 2019-03-18 19:32:29 -07:00
Jonathan Campbell
f97d45b599 more 2019-03-18 19:31:46 -07:00
Jonathan Campbell
19a0873b68 more 2019-03-18 19:24:42 -07:00
Jonathan Campbell
eaed579116 more 2019-03-18 19:23:49 -07:00
Jonathan Campbell
c44cf0ed90 full widechar support 2019-03-18 19:21:11 -07:00
Jonathan Campbell
db519ec2e7 more 2019-03-18 19:09:50 -07:00
Jonathan Campbell
4f54283312 more 2019-03-18 18:36:51 -07:00
Jonathan Campbell
0d3d1e5ebd more 2019-03-18 01:00:05 -07:00
Jonathan Campbell
881a075428 make set_dest(std::string &dst) private due to similar use-after-free potential bugs, add string_convert_dest() and auto resize dest 2019-03-18 00:59:16 -07:00
Jonathan Campbell
0278c792ef more 2019-03-18 00:45:35 -07:00
Jonathan Campbell
61f0472d69 set_src(std::string &) is too easy to misuse to cause use after free bugs in Iconv, so make it private 2019-03-18 00:37:44 -07:00
Jonathan Campbell
f5f972c63b more 2019-03-18 00:19:32 -07:00
Jonathan Campbell
c5429e869c cleanup, simplify, remove raw_convert 2019-03-18 00:17:13 -07:00
Jonathan Campbell
f519d385aa more 2019-03-18 00:14:34 -07:00
Jonathan Campbell
555db77ef1 more 2019-03-18 00:13:31 -07:00
Jonathan Campbell
22a89ee264 fixup 2019-03-18 00:11:42 -07:00
Jonathan Campbell
5ff4aea0de more 2019-03-17 23:56:35 -07:00
Jonathan Campbell
07f4bc308f more 2019-03-17 23:54:08 -07:00
Jonathan Campbell
7cc7c10a3c more 2019-03-17 23:53:18 -07:00
Jonathan Campbell
52403fce31 more 2019-03-17 23:50:51 -07:00
Jonathan Campbell
26c9d55098 more 2019-03-17 23:50:15 -07:00
Jonathan Campbell
90dcff7670 more 2019-03-17 23:48:06 -07:00
Jonathan Campbell
5ec2c5ee4c more 2019-03-17 23:47:36 -07:00
Jonathan Campbell
3e1a39c0d1 more 2019-03-17 23:23:36 -07:00
Jonathan Campbell
fa3121926d Revert "simplify"
This reverts commit c039240a20.
2019-03-17 23:21:54 -07:00
Jonathan Campbell
c039240a20 simplify 2019-03-17 23:20:29 -07:00
Jonathan Campbell
bcdbd43384 simplify code 2019-03-17 23:18:51 -07:00
Jonathan Campbell
5b807286de more 2019-03-17 21:20:22 -07:00
Jonathan Campbell
a394388f41 more 2019-03-17 21:16:42 -07:00
Jonathan Campbell
3435ff211d more 2019-03-17 21:14:06 -07:00
Jonathan Campbell
3afa3e8ef8 more 2019-03-17 21:01:29 -07:00
Jonathan Campbell
28641919b5 more 2019-03-17 20:56:15 -07:00
Jonathan Campbell
2f97351a27 more 2019-03-17 18:48:52 -07:00
Jonathan Campbell
fa875071c9 more 2019-03-17 18:47:08 -07:00
Jonathan Campbell
2eb1f9e034 more 2019-03-17 18:38:50 -07:00
Jonathan Campbell
27618d555f more 2019-03-17 18:32:32 -07:00
Jonathan Campbell
1fcd87e13f more 2019-03-17 18:32:30 -07:00