{"push_id":1175418680,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"6c8fbd95a0d5963ec715f734690c592552457df4","before":"8a67b4876c20dce7cb79caae7a4cb2247f58b11b","commits":[{"sha":"ad6a03655a52f28956ecc3f69024656b67f1374e","author":{"name":"Avi Halachmi (:avih)","email":"7e21d3ad18d0e670167b10cf4d147ea8979a1853@yahoo.com"},"message":"win32: framework for utf8 support and 64 bit file sizes (yet unused)\n\nThis is based on and enhances https://github.com/avih/cchunks","distinct":true,"url":"https://api.github.com/repos/avih/miniweb/commits/ad6a03655a52f28956ecc3f69024656b67f1374e"},{"sha":"5b3152a634ce772aeaa3d939edfdd62bc9df2d9f","author":{"name":"Avi Halachmi (:avih)","email":"7e21d3ad18d0e670167b10cf4d147ea8979a1853@yahoo.com"},"message":"win32: add unicode support for CLI/dir-listing/file-serving\n\nOn Windows, Command line arguments, dir listings and file serving of unicode\nnames/paths were broken. Now all work using the utf8 wrappers from the\nprevious commit (regardless if compiled with UNICODE/MBCS/None).\n\nAlso, the file wrappers are 64 (e.g. 64 bit size/date with cc_stat).\nThis works for dir-listing big files but not yet while downloading big files\n(same as it was before - something with the header is incorrect).\n\nIn a nutshell, all the char* paths/names are now utf8 (except where I missed),\nincluding the CLI arguments argv. When actually using them with OS APIs, the\nutf8 wrappers convert them to wide chars, and then use the W APIs.\n\nThe wrappers are currently used (only explicitly, with cc_<name>) for argv,\nFindFirst[/Next]File, WIN32_FIND_DATA, [f]stat (struct and function), and open","distinct":true,"url":"https://api.github.com/repos/avih/miniweb/commits/5b3152a634ce772aeaa3d939edfdd62bc9df2d9f"},{"sha":"6c8fbd95a0d5963ec715f734690c592552457df4","author":{"name":"Avi Halachmi (:avih)","email":"7e21d3ad18d0e670167b10cf4d147ea8979a1853@yahoo.com"},"message":"win32 (maybe also linux 32): HTTP header: correct size of big files\n\nThe HttpResponse.ContentLength member was size_t which is not guaranteed\nto be 64 bits on 32 bits systems, but off_t could be 64, and is 64 now\non win32 with the utf8 and file API wrappers. Use off_t instead of size_t.\n\nAlso, for windows, some assignment of the size was into a DWORD, which\nnow uses off_t as well.\n\nOn all systems, writing the length value to the header was using a format\nstring with \"%d\", which, again, is not guaranteed to be 64 bits. Now\nprinted using \"%lld\", and combined with the other changes described above,\nnow reports the correct size at the header also for big files.","distinct":true,"url":"https://api.github.com/repos/avih/miniweb/commits/6c8fbd95a0d5963ec715f734690c592552457df4"}]}
{"actor":{"display_login":"avih"}}