Commit Graph

42 Commits

Author SHA1 Message Date
Henrik Rydgård
9a7241708c Win32 file dialog: Prefill the filename when saving 2026-03-07 09:49:57 +01:00
Henrik Rydgård
7746c2754f Launch the display settings window if the notification is clicked 2025-08-21 10:56:12 +02:00
oltolm
bc01c54d01 ShellUtil.cpp: use ComPtr 2025-05-17 23:35:43 +02:00
Henrik Rydgård
71533ac2b7 Trash handling is too high level for FileUtil, move it up. 2025-04-15 17:42:24 +02:00
Henrik Rydgård
c2cc5b345d Win32: Delete the old BrowseForFolder implementation 2025-03-29 11:16:33 +01:00
Henrik Rydgård
7006f01dc5 Merge pull request #19480 from oltolm/comptr_misc
use ComPtr for misc. things
2025-02-06 09:31:41 -06:00
Henrik Rydgård
82d3b17bf9 Add support for the modern Windows folder selector (the old one is too fiddly).
This applies to Browse... when selecting a folder on the games tab, and
more.
2025-01-27 11:38:12 +01:00
oltolm
5c1412f84d use ComPtr for misc. things 2025-01-17 18:06:24 +01:00
Henrik Rydgård
bb7972c437 Correct the wPlanes field in the ico format 2024-05-13 01:48:15 +02:00
Henrik Rydgård
4d0f3183f2 Windows: When using "Create shortcut", use the game's icon instead of PPSSPP's.
Since on Windows, shortcuts can't embed icons, we first save the game's
icon .png as an .ico in the SAVESTATE folder (there might be a better
place, but it also doesn't seem worth it to create a new folder for
this).

Part of #10885 (Android functionality still missing, for example).
2024-05-13 01:37:53 +02:00
Henrik Rydgård
c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård
bc92226715 Folder browser (like when clicking Browse...): Preinitialize with the current folder. 2024-01-25 12:47:37 +01:00
Henrik Rydgård
01f07c9f9c Windows: Fix "Create desktop icon" functionality
All it needed was to suffix the filename with .lnk correctly.
2023-08-18 10:49:00 +02:00
Henrik Rydgård
6945deec01 Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy 2023-04-28 21:04:05 +02:00
Henrik Rydgård
56c26eef4d Remove the old AsyncFileDialog thingy 2023-03-24 21:32:20 +01:00
Henrik Rydgård
a73ac49d59 Move the non-working "Create desktop shortcut" stuff to the request framework 2023-03-24 20:05:48 +01:00
Unknown W. Brackets
9cfcbc46e6 Global: Cleanup initialization/pointer checks.
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
lainon
3cdf72b68b Better readability and optimization insertion into container by replacing 'insert' -> 'emplace', 'push_back' -> 'emplace_back' 2022-09-30 12:35:28 +03:00
lainon
b304551747 Code readability, vec reserve() and remove excess c_str() 2022-09-30 12:31:32 +03:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Unknown W. Brackets
f8391103a9 Windows: Correct some stdafx.h paths. 2020-09-29 23:25:22 -07:00
Unknown W. Brackets
5b5ded058c Windows: Support long My Documents paths. 2020-01-04 10:57:23 -08:00
Unknown W. Brackets
9ff95edb89 Windows: Allow longer paths in browse for folder. 2020-01-04 10:33:19 -08:00
Unknown W. Brackets
c222ff0bf7 Windows: Allow read only files in load dialog. 2020-01-04 09:35:00 -08:00
Unknown W. Brackets
97ac18ceee Windows: Make open/save dialogs long path aware.
At least, in most cases.  If the filename is super long, it'll open twice,
but we try to avoid.
2020-01-04 09:34:20 -08:00
Unknown W. Brackets
ceb59c4649 Windows: Fix leak on folder browse. 2019-06-26 22:19:38 -07:00
Henrik Rydgard
50be4e72b2 Get rid of our own silly reimplementation of std::thread 2017-02-27 20:51:36 +01:00
Florent Castelli
e0ff68b3f6 c++11: Remove compat header base/functional.h
We want a proper C++11, not tr1. We don't target those compilers anyway.
2016-10-12 11:32:45 +02:00
Henrik Rydgard
3232e46c36 Make debug build nearly warning free in MSVC 2015 2015-09-17 22:02:15 +02:00
potmdehex
3d7d4b090f Replace tabs with space 2015-09-01 19:13:51 -07:00
John Åkerblom
d4741c2d50 Fix indentation 2015-08-31 20:12:21 -07:00
Unknown W. Brackets
964a50ca05 Fix a couple possible buffer overruns. 2015-01-18 13:16:34 -08:00
Unknown W. Brackets
b6d6f26160 Fix an uninitialized value. 2015-01-17 18:56:55 -08:00
Henrik Rydgard
8a574e5cd2 Do the first CoInitializeEx on the main thread instead of the EmuThread (WASAPI). Fixes #7334 2015-01-15 22:33:20 +01:00
Unknown W. Brackets
8f09a341df Fix a few leaks in the Windows UI code. 2014-02-14 21:08:24 -08:00
Unknown W. Brackets
360068075b windows: Show the open dialog on a separate thread.
Allows the screen to continue rendering, which should prevent black
screens, etc. while browsing.

May help #2755.
2014-01-19 20:15:08 -08:00
Henrik Rydgard
5b9123b3c5 Main screen: Add Browse button on Windows to choose a folder easily 2013-10-15 13:28:09 +02:00
Kingcom
31a8a04675 Fix BrowseForFolder 2013-09-07 22:32:29 +02:00
Henrik Rydgard
b6ce0b3d3b Fix some unicode bugs (open file dialog) 2013-08-26 21:32:35 +02:00
Henrik Rydgard
55aa3d13c7 Win32: Switch to a UNICODE build. This took quite a bit of fixing. 2013-08-26 19:00:16 +02:00
Diogo Franco (Kovensky)
6108e36ae9 Several fixes to build under stricter C++11
Add missing #include to various files.

strings.h isn't provided by MSVC so we don't include it there; it's needed
for other OSes/compilers.

Get rid of pre-ISO-C malloc.h includes; malloc is provided by stdlib.h.

Fixes some linuxisms.

Prepend __builtin_ to __clear_cache, calling it without the prefix is a
GNU extension.
2012-11-21 14:33:50 -03:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00