Cameron Cawley
9a61a99590
BACKENDS: Add init() to OSystem
2020-08-24 14:22:35 +02:00
Cameron Cawley
30f2c2f3cd
WIN32: Use malloc instead of new in string conversion functions
2020-08-21 00:02:13 +02:00
Cameron Cawley
6379adad21
WIN32: Fix missing include
2020-05-29 21:17:34 +01:00
Zvika Haramaty
a611975561
WIN32: Fix convertEncoding
problem due to String deallcation
2020-05-19 12:32:58 +02:00
Thierry Crozat
8b586ed418
WIN32: Fix free being used on arrays allocated with new
2019-11-08 20:43:25 +00:00
sluicebox
f74f8e3c53
WIN32: Exit when WinSparkle runs installer
...
Trac #10368
2019-11-08 09:19:07 +01:00
Thierry Crozat
2365721b23
JANITORIAL: Fix typo in comment
2019-10-05 21:59:59 +01:00
SupSuper
1c1cc91ad5
COMMON: Don't include win32.h in common/encoding.h
2019-09-02 08:01:18 +03:00
Jaromir Wysoglad
d399c37e6e
WIN32: Use uint instead of unsigned int.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
b97333d4b7
TTS: Remove USE_PLATFORM_TTS defines
...
Use defined(USE_TTS) && defined(PLATFORM) instead
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
e965df1e88
TTS: Add TTS support when compiling with msvc.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
3027acc12e
TTS: Minor refactorisations
...
- Add comment to tts initialization on Windows
- Correctly free the voicesInfo in linux ttsMan
- Remove popState method from linux-text-to-speech.h and
windows-text-to-speech.h
- Add tts to help in configure
- Refactor language setting in gui-manager.cpp
It counted with english being the default language in
ttsMan constructors, which isn't true anymore.
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
8357e8e6bf
TTS: Prepare for windows TTS
...
Add windows configuration in configure
Add basic skeleton to backends
Check if ttsMan is initialized in GUI
2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
3cb57e2078
WIN32: Delete obsolete comment in convertEncoding.
2019-08-24 18:12:45 +03:00
Jaromir Wysoglad
6e72cd2c08
WIN32: Handle endianity in convertEncoding
2019-08-24 18:12:45 +03:00
Jaromir Wysoglad
e0f2a3460a
WIN32: Move getCodePageId to codepage.h
2019-08-24 18:12:45 +03:00
Jaromir Wysoglad
04b28b208d
WIN32: Fix infinite loop when converting from utf32
...
Because of how cyrilic transliteration and UTF-32 is handled on
Windows, it was unfortunately possible to get into an infinite
loop of conversions. The string would get converted to UTF-32
when transliterating, but because windows backend conversion
cannot convert from UTF-32, it would use Common::Ustr to convert
it to UTF-8, which would again get converted to UTF-32 when
transliterating and so on.
2019-08-24 18:12:45 +03:00
Jaromir Wysoglad
4edf35e414
WIN32: Fix conversion of multibyte encodings.
2019-08-24 18:12:45 +03:00
Jaromir Wysoglad
3e4b5c7d3b
WIN32: Resolve endianity in convertEncoding()
2019-08-24 18:12:45 +03:00
Jaromir Wysoglad
93c6b2fafc
WIN32: Implement conversion to and from UTF-32
...
UTF-32 is used in transliteration in Common::Encoding, so it is
pretty important encoding and Windows should be the only thing,
that cannot convert it.
2019-08-24 18:12:45 +03:00
Jaromir Wysoglad
e01f0af5b0
WIN32: Check calloc return value in covertEncoding
2019-08-24 18:12:45 +03:00
Jaromir Wysoglad
8c284c0917
WIN32: Add Win32 implementation of convertEncoding
2019-08-24 18:12:45 +03:00
Jaromir Wysoglad
0db194eed4
WIN32: Add include guard to codepage.h
2019-08-24 18:12:45 +03:00
Jaromir Wysoglad
807c55e800
WIN32: Add a way to convert codepage name to cp ID
2019-08-24 18:12:45 +03:00
Cameron Cawley
8b8fb6d3a4
SDL: Simplify implementation of createLogFile()
2019-08-05 10:01:30 +03:00
Henrik "Henke37" Andersson
39f63f1236
WIN32: Make use of the window handle when calling ShellExecute.
2019-06-25 07:54:31 +03:00
Lothar Serra Mari
119bcc2b90
WIN32: Use HINSTANCE for OSystem_Win32::openUrl
...
This implementation now matches previous ShellExecute() calls, so we are
now consistent in that regard. It also
silences a warning in Mingw complaining about a type mismatch.
2019-06-24 17:00:20 +03:00
Henrik "Henke37" Andersson
b527b573cf
WIN32: Let the PE header control showing the console.
...
This applies DRY to the console config and avoids junk code changes seen by git.
2019-06-09 13:42:06 +03:00
SupSuper
091b6ebe39
WIN32: Fix leaked handles in CreateProcess
2019-06-03 20:17:24 +03:00
Lothar Serra Mari
95d4678de7
NEWS: Convert German NEWS file to Markdown ( #1627 )
...
* NEWS: Convert German NEWS file to Markdown
* NEWS: Fix Markdown conversion errors in NEUES.md
* BUILD: Add the German NEWS file to the build system
* NEWS: Fix formatting in NEUES.md
2019-05-18 14:03:43 +02:00
Bastien Bouclet
1d0d842e2a
BUILD: Add the licence file for the Source Code Pro font
2019-05-05 08:52:12 +02:00
Cameron Cawley
e4b78f4f62
WIN32: Ensure the translated dialog strings are using the correct encoding
2019-04-04 01:06:30 +03:00
Cameron Cawley
364fb12e83
BUILD: Convert the NEWS.md file if pandoc is installed
2019-04-02 11:59:31 -04:00
Cameron Cawley
309286cfbb
BUILD: Improve rules for compiling Windows resource scripts
2019-02-21 20:33:39 +00:00
Matan Bareket
08d48e9f2c
BUILD: Copy README.md instead of README
2018-12-25 11:37:26 -05:00
Thierry Crozat
56d1305f9d
COMMON: Rename enum variable for native browser feature
...
There was a typo in the name (missing 'r' in browser).
2018-12-17 23:06:07 +00:00
SupSuper
d0512db25c
WIN32: Move all ARRAYSIZE undefs to util.h
...
Instead of trying to undefine ARRAYSIZE everywhere we use a Windows header, let's just do it before we define our own
2018-12-17 12:28:33 +02:00
Filippos Karapetis
54159276c7
WIN32: Fix build after the addition of SHGetFolderPath()
2018-12-16 19:50:05 +02:00
Thierry Crozat
319b90fb21
BACKENDS: Add kFeatureNativeFileBowserDialog
2018-12-16 15:58:43 +00:00
Cameron Cawley
1de8f1e529
WIN32: Use SHGetFolderPath to get the location of the Application Data folder ( #1449 )
2018-12-16 17:04:24 +02:00
SupSuper
7bff9176d5
WIN32: Fix incorrect Windows version check
...
There's no point in testing for Windows 10 since the comparison is already "greater than or equals", and it identifies itself as 6.2 for backwards compatibility. Likely it was failing before because the return type was wrong.
Version checks are unreliable anyways, should use feature checks, but "if it ain't broke don't fix it".
2018-12-16 10:48:13 +00:00
SupSuper
61070f6ce0
WIN32: Add DialogManager with system file browser support
2018-12-16 10:48:13 +00:00
SupSuper
2f2555f728
WIN32: Move utility functions to a common wrapper
2018-12-16 10:48:13 +00:00
SupSuper
c2d5b35062
WIN32: Restore Windows 98 compatibility (bug #10613 )
...
Replace calls to GetUserDefaultUILanguage and SHGetFolderPath which aren't supported in older Windows.
2018-12-13 06:34:12 +00:00
Cameron Cawley
e8cc0fbaca
WIN32: Move the Windows-specific packaging rules into a separate file
2018-11-15 06:56:53 +00:00
Thierry Crozat
941d22c047
BACKENDS: Use OSystem::destroy() instead of deleting directly the g_system instance
2018-10-14 21:25:33 +01:00
Cameron Cawley
478d7b2ee7
WIN32: Fix fallback in getSystemLanguage
2018-06-03 17:43:30 +01:00
Cameron Cawley
ada05fd726
WIN32: Move Windows-specific implementation of logMessage out of OSystem_SDL
2018-06-03 17:43:30 +01:00
Cameron Cawley
e1c83f8e87
WIN32: Move Windows-specific implementation of getSystemLanguage out of OSystem_SDL
2018-06-03 17:43:30 +01:00
Kirben
ec0b1dec9d
WINDOWS: Fix warning under mingw-w64.
2017-04-24 11:22:44 +10:00