Commit Graph

690 Commits

Author SHA1 Message Date
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
f78fc85f3a TTS: Create a TTS skeleton 2019-09-01 22:47:55 +03:00
Jaromir Wysoglad
c2e0e90c27 SDL: Use a non-const string for SDL_iconv_string
With some older versions of SDL1, the SDL_iconv_string takes
char * instead of const char * as it's argument. This should
fix the build issue with gp2xwiz.
2019-08-24 21:43:57 +01: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
6dba0bbfd4 SDL: Remove check for SDL2 in convertEncoding()
SDL_iconv_string() is available even with SDL1
2019-08-24 18:12:45 +03:00
Jaromir Wysoglad
96270d4bf2 JANITORIAL: Remove debuging code. 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
41d3a70c58 SDL: Fix convertEncoding for 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
Jaromir Wysoglad
d6d6ac1823 SDL: Add SDL implementation of convertEncoding 2019-08-24 18:12:45 +03:00
rsn8887
f14a7f15d5 SWITCH: Force fullscreen always on
Windowed mode never worked correctly and is pointless since the
Switch operating system doesn't have a window manager.
2019-08-18 17:03:51 -05:00
rsn8887
073d833283 PSP2: Force fullscreen always on
Windowed mode never worked correctly and is pointless since Vita
operating system doesn't have a window manager.
2019-08-18 15:14:20 -05:00
Cameron Cawley
ba2bc60043 BACKENDS: Use the default save file manager on Switch and SamsungTV 2019-08-12 10:39:43 +03:00
Cameron Cawley
8b8fb6d3a4 SDL: Simplify implementation of createLogFile() 2019-08-05 10:01:30 +03:00
Cameron Cawley
0334411d63 BUILD: Package networking and virtual keyboard files on all platforms 2019-07-08 12:42:21 +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
rsn8887
dbc0a5ff09 SWITCH: Make direct touch (pointer jumps to finger) the default 2019-06-16 14:07:46 -05:00
rsn8887
536521d356 SWITCH: Enable touchpad mouse mode option in controls 2019-06-13 15:38:10 -05: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
Hubert Maier
0bb8c0c8a6 AMIGAOS4: RM2AG.rexx rewrite
closes #1631
2019-06-06 14:46:11 +02:00
SupSuper
091b6ebe39 WIN32: Fix leaked handles in CreateProcess 2019-06-03 20:17:24 +03:00
rsn8887
a6d7c6c02a SWITCH: Update build instructions in readme.switch 2019-05-24 12:14:45 -05:00
rsn8887
afc9182e5b SWITCH: Update build instructions etc. in readme.switch 2019-05-24 10:32:47 -05:00
rsn8887
655fea4a6f SWITCH: Enable gfx filtering by default for better image quality 2019-05-23 10:07:11 -05:00
rsn8887
f7ba39c4d5 SWITCH: add makefile target switch_release for buildbot 2019-05-22 09:56:00 -05: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
rsn8887
30ee1f2cdc Switch: fix version, remove redundant settings and unneeded defines 2019-05-12 11:59:44 +03:00
rsn8887
875bc0b1c2 Switch: fix build, add build instructions, avoid using delete() 2019-05-12 11:59:44 +03:00
Cpasjuste
488bbb267a SWITCH: add nintendo switch support 2019-05-12 11:59:44 +03:00
SupSuper
276f6e0bfd SDL: Fix MSVC warnings
Fixes warning C4121: alignment of a member was sensitive to packing
by hiding warnings from system headers
2019-05-09 18:13:10 +10:00
Thierry Crozat
04301f32d0 AmigaOS4: Fix copy of renamed RM2AG.rexx file 2019-05-06 12:23:42 +01:00
Stefan
a122470034 AmigaOS4: Activate syntax highlighting in GitHub 2019-05-05 15:51:02 +03: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
68e700ea54 PSP2: Fix warning 2019-05-01 16:43:04 +01:00
Cameron Cawley
fb0b63ba66 RISCOS: Add Drag and Drop support 2019-04-30 22:17:04 +01:00
Thierry Crozat
66ef22d555 MACOSX: Improve opening files from the Help menu
Now in addition to rtf extension and no extension, it also looks
for the html and md extensions. Also unless the extension is RTF or
HTML, which are widely recognized, it explicitely indicate that the
file should be open with TextEdit.

This fixes bug #10938, with opening the README and NEWS file from
the Help menu failing when the bundle was compiled without using
pandoc and thus the only files available are the markdown ones.

Support for the html extension is to prepare for a future change
to have a nicer README than the plain text one.
2019-04-21 11:01:34 +01:00
Cameron Cawley
50ed922cb7 RISCOS: Support creating a StrongHelp manual 2019-04-18 03:55:22 +01:00
Cameron Cawley
ab0fab9bf9 POSIX: Move implementation of exists, isReadable and isWritable into posix-fs.cpp 2019-04-16 00:55:43 +03:00
Cameron Cawley
8c15b41dd7 RISCOS: Move the path conversion functions into a separate file 2019-04-15 16:24:51 +01:00
Cameron Cawley
62660da0bc RISCOS: Log messages using !Reporter 2019-04-05 18:50:05 +01:00