Hielke Morsink
5d0022a5cb
Remove argument list from zero-initializers with zero/false/nullptr value
2018-06-04 19:50:46 +02:00
Ted John
a413d43cda
Fix mingw
2018-06-01 22:44:25 +01:00
Aaron van Geffen
53b66fd250
Add Crypt files to Xcode project.
2018-06-01 22:41:42 +02:00
Ted John
ae81af7965
Fix Linux
2018-06-01 21:28:27 +01:00
Ted John
72293f2208
Implement new Crypt code and remove CNG for now
2018-06-01 21:27:34 +01:00
Ted John
b8d37548ed
Implement PEM writing for CNG implementation
2018-06-01 21:27:34 +01:00
Ted John
9467438c1c
Implement PEM reading for CNG implementation
2018-06-01 21:27:34 +01:00
Ted John
3b2b15c0f3
Implement CNG implementation bar pem reading
2018-06-01 21:27:34 +01:00
Ted John
9e214258c3
Finish OpenSSL RSA implementation
2018-06-01 21:27:33 +01:00
Ted John
fe7e8a17de
Start implementing RSA for OpenSSL
2018-06-01 21:27:33 +01:00
Ted John
865bfb7b1b
Refactor implementations to different files
2018-06-01 21:27:33 +01:00
Ted John
ea22c672d0
Only reuse CNG object if Windows 8+
2018-06-01 21:27:33 +01:00
Ted John
320b149b58
Change Windows builds to use CNG API
2018-06-01 21:27:33 +01:00
Ted John
f880290b00
Create WinSSL implementation and refactor to class
2018-06-01 21:27:33 +01:00
Aaron van Geffen
b836ad050d
Rewrite CodePageFromUTF8 as CodePageFromUnicode.
2018-05-22 19:51:34 +02:00
Aaron van Geffen
3fd75906b6
Fix String::ToUtf8 and String::ToUtf16 on Linux.
...
wchar_t typically uses UTF-32 codepoints on Linux, unlike Windows, which uses UTF-16.
2018-05-22 19:51:34 +02:00
Aaron van Geffen
bab66d1eaf
Fix MinGW compilation.
2018-05-22 17:37:07 +02:00
Ted John
71a2cb46d2
Fix ToUpper tests on Windows
...
LCMapStringEx does not unfold ligatures if there is no uppercase equivalent.
2018-05-22 17:37:07 +02:00
Aaron van Geffen
13e35285f1
Replace non-Windows versions of ToUtf8 and ToUtf16 with ICU calls.
2018-05-22 17:37:07 +02:00
Ted John
6109a9bf17
Improve Windows implementation of ToUpper
2018-05-22 17:37:07 +02:00
Ted John
085d85585a
Use Windows API for utf8-utf16 conversions
2018-05-22 17:37:07 +02:00
Aaron van Geffen
8e919d2f84
Change ICU variant of String::ToUpper for string_view argument.
2018-05-22 17:37:07 +02:00
Ted John
386ab1b0fa
Add windows implementation for ToUpper
2018-05-22 17:37:07 +02:00
Fusxfaranto
a91dd6a356
Implement ICU support for uppercasing, with tests.
2018-05-22 17:37:07 +02:00
Aaron van Geffen
f29b42cc26
Allow converting strings between code pages in both directions.
...
Co-authored-by: Fusxfaranto <fusxfaranto@gmail.com >
2018-05-22 17:37:07 +02:00
Aaron van Geffen
ea80f0ea56
Split off GetIcuCodePage to its own function.
2018-05-22 17:37:07 +02:00
Aaron van Geffen
ee8bf9bd4a
Use ICU for converting strings to UTF-8 instead of our own tables.
...
Co-authored-by: Fusxfaranto <fusxfaranto@gmail.com >
2018-05-22 17:37:07 +02:00
Ted John
080330070b
Write file index even if there are no files
2018-05-20 18:40:06 +01:00
Hielke Morsink
6c65c3d64d
Merge pull request #6774 from janisozaur/fixes
...
Various code improvements
2018-05-15 14:38:43 +02:00
Aaron van Geffen
8c3766288b
Address clang 6.0 compilation errors.
2018-05-13 23:22:40 +02:00
Ted John
4e86d18dad
Support loading images from zip
2018-05-13 12:04:45 +01:00
Aaron van Geffen
15c13137df
Add missing include.
2018-05-13 01:11:56 +01:00
Ted John
f212894eb0
Fix clang builds
2018-05-13 01:11:56 +01:00
Ted John
bffbf5857d
Refactor image importer out into new class
2018-05-13 01:11:56 +01:00
Ted John
229c50dff9
Add bitmap reading support
2018-05-13 01:11:56 +01:00
Ted John
ac3233b819
Change consumers to use new imaging API
2018-05-13 01:11:56 +01:00
Ted John
766997f15c
Develop new imaging code
2018-05-13 01:11:56 +01:00
Ted John
4552f6a405
Move Imaging to core
2018-05-13 01:11:56 +01:00
Hielke Morsink
f9dd981234
Further fixes
...
- Use `= 0` for initializing types
- Add default values to some structs, instead of zero-initializing their instances with `{}`
- Use `std::make_unique` in Network.cpp
- Remove trivial constructors and destructors
- Improve readability of expression in Vehicle.cpp
2018-05-12 16:58:08 +02:00
Ted John
7075f6ca25
Use correct language for scan-objects
2018-05-11 20:39:00 +01:00
Ted John
35df72e61f
Remove use of gCurrentLanguage
2018-05-11 20:39:00 +01:00
Ted John
7dc170ef85
Use shared_ptr for long-life objects
...
Use unique_ptr and shared_ptr for IContext, IPlatformEnvironment, IUiContext, and IAudioContext.
2018-05-11 20:37:48 +01:00
Michał Janiszewski
0a92e74ced
Minor fixes
2018-05-11 15:38:30 +02:00
Michał Janiszewski
d965553cae
Fix Android Zip changes
2018-05-09 15:59:05 +02:00
Ted John
2ea857a10e
Improve IZipArchive so that it is more C++
2018-05-06 17:46:45 +01:00
Hielke Morsink
8d10bfb5a1
Add namespace closing comments
2018-05-04 22:54:43 +02:00
ZehMatt
76e54dd5ec
Fix dead lock due to uninitialized variables.
2018-04-28 02:38:06 +02:00
ZehMatt
ee53855c62
Use emplace_back with reference as return type.
2018-04-26 21:26:30 +02:00
Ted John
dd58a710ee
Make Console::Write functions atomic
2018-04-26 21:26:30 +02:00
Ted John
7da60f4950
Make log functions atomic
...
Use only one print call to stdout in log functions so that messages are not malformed.
2018-04-26 21:26:30 +02:00