Donovan Watteau
5b1ec56f96
JANITORIAL: Fix some lost or outdated URLs in comments
2022-05-19 07:57:31 +03:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
44219dfa1a
BACKENDS: Use nullptr
...
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Orgad Shaneh
b11c5ace90
BACKENDS: JANITORIAL: Remove 'virtual' when override is specified
2021-11-14 14:31:41 +02:00
Torbjörn Andersson
03b227fdf0
BACKENDS: DIALOGS: GTK: Keep ScummVM mouse pointer alive during dialog
...
Also, throttle the rate at which updateScreen() is called. I don't know
if it makes any difference, but it seems like a polite thing to do.
2021-11-09 09:45:36 +01:00
Torbjörn Andersson
bb0ce7ff25
BACKENDS: DIALOG: GTK: Keep main window updated during GTK+ dialog
...
Otherwise, anything moving across the main window while the dialog is
open may leave ugly trails. At least it does for me.
2021-11-08 08:46:47 +01:00
Max Horn
84de72ac76
MACOSX: fix deprecation warnings
2021-08-07 10:46:14 +02:00
Orgad Shaneh
a05e54f00c
JANITORIAL: Remove trailing whitespaces
2021-05-04 11:46:30 +03:00
BeWorld
3e7eb8485e
MorphOS: cleanup code
...
- remove utf8toLocal and use internal encode
- save only path (drawer) on browser_lastpath
2021-05-01 20:00:01 +03:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs
2021-04-15 21:20:36 +02:00
Orgad Shaneh
e7a9bf203f
BACKENDS: Fix MinGW warnings on GetProcAddress usages
...
Example:
../scummvm/backends/platform/sdl/win32/win32_wrapper.cpp:39:52: warning: cast between incompatible function types from 'FARPROC' {aka 'long long int (*)()'} to 'VerSetConditionMaskFunction' {aka 'long long unsigned int (*)(long long unsigned int, long unsigned int, unsigned char)'} [-Wcast-function-type]
39 | VerSetConditionMaskFunction verSetConditionMask = (VerSetConditionMaskFunction)GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")), "VerSetConditionMask");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-03-31 02:13:07 +03:00
Cameron Cawley
5082b89f34
AMIGAOS: Remove dependency on the codesets library
2021-01-01 00:06:25 +01:00
Martin Gerhardy
7748913b7e
AMIGAOS: removed include of non-existing header
1970-01-01 01:06:34 +01:00
Hubert Maier
aa5f0633a1
AMIGAOS: Add amigaos-dialogs.cpp
2020-11-23 19:18:46 +01:00
Hubert Maier
728ac62f36
AMIGAOS: Add amigaos-dialogs.h
2020-11-23 19:18:46 +01:00
BeWorld
126fd3c86d
MORPHOS: update NEWS.md
...
And remove include "common/encoding.h" in morphos-dialogs.cpp
2020-11-22 17:04:21 +00:00
Vladimir Serbinenko
68a9136e4d
COMMON: Rewrite Encoder and drop dependency on iconv ( #2586 )
...
Different platforms have different levels of support of encodings and
often have slight variations. We already have tables for most encoding
with only CJK missing. Full transcoding inclusion allows us to get reliable
encoding results independently of platform. The biggest con is the need for
external tables encoding.dat.
It removes a duplicate table for korean in graphics/korfont.cpp
2020-11-15 16:20:35 +01:00
Eugene Sandulenko
5936026209
ALL: Clarify POTFILES, remove redundant common/translations.h includes
2020-11-10 03:03:49 +01:00
BeWorld
a434791bf8
MORPHOS: Add native file browser via Asl ( #2574 )
...
MORPHOS: Add native file browser via Asl
2020-10-31 09:44:55 +01:00
Eugene Sandulenko
2134a2dc72
BACKENDS: DIALOGS: Properly store last path in Gtk file browser
2020-10-23 00:32:21 +02:00
Cameron Cawley
5c255b3aa9
WIN32: Add override and final keywords
2020-10-16 18:32:08 +01:00
Cameron Cawley
da978f3a2f
WIN32: Simplify string conversion
2020-09-12 11:59:23 +02:00
aryanrawlani28
984e7fae99
BACKENDS: DIALOGS: Remove redundant code for GTK Dialogs.
...
- Dialogs take in const gchar *, so no need to convert to char* and then pass it along.
2020-08-30 14:43:41 +02:00
aryanrawlani28
d4a280ef29
BACKENDS: DIALOGS: GTK: Fix incorrect memory usage & replace unsafe code.
...
- Encoding::convert which was previously used needed to be freed by the caller.
- With the direct conversion to utf8 by .encode(), this doesn't need to happen anymore
2020-08-30 14:43:41 +02:00
aryanrawlani28
f9b05f5e5a
BACKENDS: DIALOGS: MACOS: Improve readability and remove redundant code.
2020-08-30 14:43:41 +02:00
aryanrawlani28
f95762881e
GUI: U32: Use unicode strings for native Windows dialogs
...
These make use of newly added win-wrapper UTF8ToUnicode.
2020-08-30 14:43:41 +02:00
aryanrawlani28
9bf3f73d8a
GUI: U32: Use U32Strings for native dialogs
...
- Make DialogManager showFileBrowser take in u32
- Show filebrowser with u32 in MacOS and GTK
2020-08-30 14:43:41 +02:00
aryanrawlani28
e91f968992
GUI: U32: encode and use c strings for translations in macos dialogs
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
Cameron Cawley
30f2c2f3cd
WIN32: Use malloc instead of new in string conversion functions
2020-08-21 00:02:13 +02:00
Cameron Cawley
539ae3cda7
GTK: Support building with older versions of GTK
2020-06-24 21:05:43 +01:00
SupSuper
897efb1454
POSIX: Add support for native GTK file browserOnly enabled on platforms with libgtk
2020-03-22 20:46:42 +02:00
SupSuper
a4d44e3de9
BACKENDS: Move shared DialogManager code to common
...
All backends need to flush events and window when opening a dialog
2020-03-22 20:46:42 +02:00
Cameron Cawley
e4b78f4f62
WIN32: Ensure the translated dialog strings are using the correct encoding
2019-04-04 01:06:30 +03: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
SupSuper
9aef3dd8a7
WIN32: Respect browser_lastpath setting
2018-12-16 10:48:13 +00:00
SupSuper
93695a9dcf
WIN32: Fix dialog compilation under MinGW
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
28e4d7bb43
OSX: Integrate system file browser into DialogManager
2018-12-16 10:48:13 +00:00
SupSuper
5fce1ae464
BACKENDS: Move OSX file browser into backend
2018-12-16 10:48:13 +00:00