aryanrawlani28
fc91436ea6
GUI: U32: Remove charsets being written to .dat
2020-08-30 14:43:41 +02:00
aryanrawlani28
6747e354b8
GUI: U32: Load translation info correctly
2020-08-30 14:43:41 +02:00
aryanrawlani28
dc1c82b74e
GUI: U32: Define new translation version "4"
2020-08-30 14:43:41 +02:00
aryanrawlani28
085f375c98
GUI: U32: Store messages as U32Strings and remove codepages reading from .dat
...
- The previous commit removes all codepage additions to the create_translations tool.
- Following that, this commit removes all the reading from .dat file related to codepages
2020-08-30 14:43:41 +02:00
aryanrawlani28
a9a816e7fe
GUI: U32: Improve U32String::format
...
- Keep adding chars and strings to output instead of deleting and inserting at specific pos
- Use const_iterators for input
2020-08-30 14:43:41 +02:00
aryanrawlani28
c142360bf4
GUI: U32: Add minimal implementation for itoa (base 10)
2020-08-30 14:43:41 +02:00
aryanrawlani28
a9bfe35216
GUI: U32: More issue fixes and general improvements
...
- Use the fake constructor for message dialog less often
- solve errors regarding comparision between string and u32string in midi
- solve errors in testbed/speech related to ttsMan->say
- fix unsigned comparision warning in tab.cpp
- fix issue with static strings and translations in sdl-graphics
2020-08-30 14:43:41 +02:00
aryanrawlani28
da380a9002
GUI: U32: Fix issues with ustr formatting
...
- Fix one off error with 'pos'
- Fix last line not being inserted in osdMessage when display
2020-08-30 14:43:41 +02:00
aryanrawlani28
1ca1712b4d
GUI: U32: Fix problems with u32strings formatting
...
- Improve U32's format helper
- Add insertString helper to u32
2020-08-30 14:43:41 +02:00
aryanrawlani28
ef7ec444d3
GUI: U32: Enable u32 for tts (Windows)
...
They always take in U32 strings now.
- Revert tts descriptions to string, they don't use translations, so better to keep it as strings.
- Make read() take in const U32 references.
2020-08-30 14:43:41 +02:00
aryanrawlani28
d4d5b8906e
GUI: U32: Begin making TTS take in U32Strings for saying
...
Only for strings without an explicit action. The first level takes in a u32 string, encodes it, and passes it along further with the default action
- For gui widgets, the strings are passed in as native u32 strings.
- For everything else, they are being converted to u32 by Common::convertToU32... and then being passed along
2020-08-30 14:43:41 +02:00
aryanrawlani28
fd763b61e5
GUI: U32: Add U32String conversion helpers to str.cpp
...
This commit adds a constructor and a "=" operator to allow conversion from u32strings->strings
2020-08-30 14:43:41 +02:00
aryanrawlani28
49c36c2b45
GUI: U32: Begin converting texts in clipboards to u32strings
...
With this commit the base class variables and the parts where getClipboard and setClipboard are used is changed accordingly.
2020-08-30 14:43:41 +02:00
aryanrawlani28
b9a449480b
GUI: U32: Remove u32::format references
...
- Removed because implicit conversion can simply handle this usecase
2020-08-30 14:43:41 +02:00
aryanrawlani28
f800ca4ada
GUI: U32: Convert majority of code to use U32
...
This commit also includes some additional major changes.
- Return U32String from TransMan getTranslation()
- Change tooltips to be U32Strings
- Remove temporary code of convertToU32String
- U32 Support various dialogs (Browser, FileBrowser, Messages, Chooser, etc)
- U32 for music plugins
- U32 for OSD messages
- Add some helper functions to ustr.cpp
- Change default tooltips from nullptr & 0 -> ""
- Some runtime exceptions may occur when changing languages due to incorrect String::Format
2020-08-30 14:43:41 +02:00
aryanrawlani28
5f2af6b93e
GUI: U32: Add u32 support to Editables and Dialogs
...
- Editable widgets
- Lists
- SaveLoad Dialogs
- Browser Dialogs
2020-08-30 14:43:41 +02:00
aryanrawlani28
4ea2b46ce8
GUI: U32: Add asuint64 helper to ustr
2020-08-30 14:43:41 +02:00
aryanrawlani28
2745d51fe7
GUI: U32: make convertBidiString take in and return u32strings
2020-08-30 14:43:41 +02:00
Eugene Sandulenko
045df72426
EVENTRECORDER: Fix crash on attempt to save. Fixed #10045
...
Since we have two event managers during recording, we invalidate
cache in order to avoid cache miss
2020-08-29 17:22:38 +02:00
Cameron Cawley
7745ffdac1
BACKENDS: Simplify EventsBaseBackend
2020-08-24 14:22:35 +02:00
Cameron Cawley
9a61a99590
BACKENDS: Add init() to OSystem
2020-08-24 14:22:35 +02:00
Eugene Sandulenko
bd8eb63e9a
COMMON: Moved GUIO constants to hex codes for avoiding devs' confusion
2020-08-23 01:08:47 +02:00
Eugene Sandulenko
dcfcb39de9
COMMON: Removed non-octal number from GUIO
2020-08-23 01:04:02 +02:00
Eugene Sandulenko
3f6efbb84b
COMMON: Attempt to solve diamong class hierarchy in MemoryReadStreamEndian. by athrxx
2020-08-22 22:58:43 +02:00
Cameron Cawley
cf068bcc08
ALL: Remove direct use of OSystem::createMutex()
2020-08-21 09:39:00 +02:00
BeWorld
ac573487de
MORPHOS: use libz shared from MORPHOS
...
Need to use -lz_shared on linking.
2020-08-21 00:59:18 +02:00
BeWorld
775f6c4803
MORPHOS: Update scummsys.h
...
MorphOS support
2020-08-21 00:59:18 +02:00
BeWorld
61f86025fe
MORPHOS: MorphOS Support
2020-08-21 00:59:18 +02:00
Walter van Niftrik
d4ecbbc5d3
COMMON: Fix Span::toStream() when given index
...
When providing an index but no numEntries, the computed numEntries is
not adjust for index and an error is thrown
2020-08-20 23:58:37 +02:00
djsrv
f3a179a873
COMMON: Add dispose arg to MemoryReadStreamEndian
2020-08-12 12:23:43 -04:00
Eugene Sandulenko
1bb73862a1
COMMON: Lightened another MacBinary check so ISOBuster files really work
2020-08-01 22:38:09 +02:00
Eugene Sandulenko
4221c38167
COMMON: Support MacBinary3 files produced by ISOBuster
2020-08-01 20:25:39 +02:00
Eugene Sandulenko
aa563f0c81
ALL: Remove PS2 port
2020-08-01 15:15:49 +02:00
athrxx
5e276286ae
AUDIO/GUI: add SegaCD sound settings
2020-07-30 22:19:21 +02:00
SupSuper
55db9e92e9
Revert "COMMON: Fix abstract SeekableReadStreamEndian calling virtual constructor"
...
This reverts commit bed3550cbd
.
2020-07-28 00:27:03 +01:00
SupSuper
bed3550cbd
COMMON: Fix abstract SeekableReadStreamEndian calling virtual constructor
2020-07-27 23:07:06 +01:00
aryanrawlani28
22842d1a88
GUI: RTL: Do not repeatedly print warnings if fribidi is not available
...
- Previously, if using an RTL-based language and disabled fribidi, console would repeatedly have the same messages spamming.
- Reduce this to only print warning one time.
2020-07-25 00:32:34 +02:00
Eugene Sandulenko
1aea38cc63
COMMON: Makw SeekableSubReadStreamEndian subclass of SeekableReadStreamEndian
2020-07-21 18:20:00 +02:00
Eugene Sandulenko
8939609787
COMMON: Make MemoryReadStreamEndian inherit from SeekableReadStreamEndian
2020-07-21 12:46:22 +02:00
SupSuper
4d855ff6c0
COMMON: Fix warning from incorrect parameter type in fribidi call
...
fribidi_log2vis takes a FriBidiParType, not a FriBidiCharType
(though the values are identical)
2020-07-21 07:11:09 +01:00
Henrik "Henke37" Andersson
dc7b0a7909
COMMON: Dedicated function for in buffer check
...
It's UB to compare pointers that aren't from the same array. Cast to uintptr to reduce the issue to IB.
2020-07-19 23:07:35 +01:00
Michał Janiszewski
e0505d5fbf
COMMON: Add MSVC ARM64 support
2020-07-15 15:30:55 +02:00
Eugene Sandulenko
f534e11ccf
COMMON: Added VersionInfo parser to WinResources
2020-07-09 23:13:47 +02:00
Eugene Sandulenko
bcd1d3c688
COMMON: Add 'vers' resource parser to MacResMan
2020-07-08 11:42:59 +02:00
Eugene Sandulenko
be388e644a
COMMON: Give direct access to Data fork in MacResMan
2020-07-07 22:31:13 +02:00
Thierry Crozat
3591003ea3
TTS: Add method to get the default voice
...
This returns by default the first voice, but can be reimplemented
in derived classes to return the system default voice.
2020-06-21 16:31:15 +01:00
Cameron Cawley
34901536a7
LUA: Remove use of final as a variable name
2020-06-18 20:14:46 +01:00
Colin Snover
7c131e0277
COMMON: Allow use of C++11 final keyword
2020-06-18 20:14:46 +01:00
Eugene Sandulenko
6059566777
COMMON: Added scumm_strcasestr()
2020-06-18 14:38:12 +02:00
Zvika Haramaty
41f3d4b488
COMMON: Encoding::convertIconv - check errors on last call to iconv
...
There was a bug when trying to convert the Hebrew string "\e0\e1\e2"
from WINDOWS-1255 to UTF-32LE, because there was a last call to
`iconv` with `NULL`s, without error checking, and buffer needed to
be extended for that last one call.
Now this call is inserted to the main `iconv` loop, with error checking.
2020-06-09 23:01:47 +02:00