Commit Graph

291 Commits

Author SHA1 Message Date
Paul Gofman
1abba99ca6 lsteamclient: Make SteamMatchMakingServers::ReleaseRequest() manual.
CW-Bug-Id: #24528
2024-11-27 13:39:50 -06:00
Paul Gofman
e13d9ed831 lsteamclient: Convert api call completion callback length in SteamAPICallCompleted_t.
CW-Bug-Id: #24446
2024-11-07 13:58:28 -06:00
Paul Gofman
f0364fcfd8 lsteamclient: Add ISteamTimeline interface.
CW-Bug-Id: #24276
2024-09-20 19:10:15 -06:00
Paul Gofman
c506aff695 lsteamclient: Convert URL in ISteamFriends::ActivateGameOverlayToWebPage().
CW-Bug-Id: #24247
2024-09-11 16:52:30 -06:00
Paul Gofman
2f39b2e074 lsteamclient: Handle error result in networking_message_pool_receive_().
CW-Bug-Id: #24177
2024-08-27 17:00:32 -06:00
Paul Gofman
29ab2d9890 lsteamclient: Reset last error in Steam_BGetCallback() on no callback return.
CW-Bug-Id: #24028
2024-07-18 17:16:47 -06:00
Paul Gofman
b41d9d7a36 lsteamclient: Preserve last error in load_steamclient().
CW-Bug-Id: #24028
2024-07-18 17:16:45 -06:00
Rémi Bernon
c45ec7dead lsteamclient: Generate SteamWorks SDK 1.60 support.
CW-Bug-Id: #23976
2024-06-27 17:38:52 +02:00
Rémi Bernon
73b9af8d6b lsteamclient: Import SteamWorks SDK 1.60.
CW-Bug-Id: #23976
2024-06-27 17:38:48 +02:00
Paul Gofman
fced277adf lsteamclient: Fix source length for ntdll_umbstowcs().
CW-Bug-Id: #23962
2024-06-26 19:26:28 -06:00
Paul Gofman
2eb602e161 lsteamclient: Use default conversion in convert_callback_utow / callback_message_utow even if Unix len is unknown.
CW-Bug-Id: #23875
2024-06-20 13:57:31 +03:00
Rémi Bernon
d7ab7f9199 lsteamclient: Execute any pending callback before ReleaseRequest.
CW-Bug-Id: #22729
2024-06-20 13:52:57 +03:00
Paul Gofman
b4b6617224 lsteamclient: Zero unused output message pointers in networking_message_pool_receive().
CW-Bug-Id: #23829
2024-05-23 10:54:50 +03:00
Paul Gofman
5a996971d7 lsteamclient: Initialize sockets in load_steamclient().
CW-Bug-Id: #23749
2024-05-23 10:54:49 +03:00
Paul Gofman
e3798c1adb lsteamclient: Delete matchmaking callback objects on request completion.
CW-Bug-Id: #23577
2024-05-23 10:54:49 +03:00
Paul Gofman
0389125f9a lsteamclient: TRACE all the strings with debugstr_a() in execute_pending_callbacks().
CW-Bug-Id: #23577
2024-05-23 10:54:49 +03:00
Paul Gofman
0b317f8464 lsteamclient: Collapse path in dos to unix conversion.
CW-Bug-Id: #23664
2024-04-19 09:47:18 -06:00
Paul Gofman
4e289629ce lsteamclient: Strip extra /'s from file:/// in steamclient_dos_to_unix_path().
CW-Bug-Id: #23664
2024-04-19 09:47:18 -06:00
Paul Gofman
6e7e17776e lsteamclient: Return empty string from steamclient_dos_to_unix_path() when conversion failed.
CW-Bug-Id: #23664
2024-04-19 09:47:18 -06:00
Paul Gofman
a287ebaaf9 lsteamclient: Propagate Unix side access violation to the PE side exception.
CW-Bug-Id: #23623
2024-04-04 08:53:20 -06:00
Paul Gofman
3cba1580fe lsteamclient: Convert callbacks with a best guess even if specified message length is too short.
CW-Bug-Id: #23620
2024-04-04 08:53:20 -06:00
Arkadiusz Hiler
4341729100 lsteamclient: Generate SteamWorks SDK 1.59 support. 2024-03-22 13:30:06 +02:00
Paul Gofman
bd8d7e374e lsteamclient: Reimplement callback_message_utow() in manual code using table.
CW-Bug-Id: #23550
2024-03-20 19:52:21 -06:00
Paul Gofman
7e98577a74 lsteamclient: Reimplement alloc_callback_wtou(), convert_callback_utow() in manual code using generated table.
And try to handle the case of non-matching Windows callback length
similar to  before commit 6a5d5757ca.

CW-Bug-Id: #23550
2024-03-20 19:52:21 -06:00
Paul Gofman
ce08f3ca53 lsteamclient: Generate C conversion functions.
CW-Bug-Id: #23550
2024-03-20 19:52:21 -06:00
Rémi Bernon
121cdab5fc lsteamclient: Copy the ServerResponded parameter for delayed callbacks.
CW-Bug-Id: #23272
2024-02-15 15:53:29 +02:00
Rémi Bernon
457407ffd5 lsteamclient: Copy the m_hSteamUser member in callback_message_utow. 2024-02-15 15:53:29 +02:00
Rémi Bernon
faf681cd9c lsteamclient: Execute any pending callback before ReleaseRequest.
CW-Bug-Id: #22729
2024-02-15 15:53:29 +02:00
Paul Gofman
22672c5b0a lsteamclient: Clear last error in create_win_interface().
CW-Bug-Id: #23178
2024-02-15 15:53:29 +02:00
Paul Gofman
051cb009df lsteamclient: Fix g_tmppath buffer length.
CW-Bug-Id: #23197
2024-02-15 15:53:29 +02:00
Paul Gofman
5d374bdc2c lsteamclient: Use GetEnvironmentVariableW() in load_steamclient().
CW-Bug-Id: #23142
2024-02-15 15:53:29 +02:00
Paul Gofman
f2fa9ed325 Revert "lsteamclient: Use getenv() in load_steamclient()."
This reverts commit df4821f3612b8876bcbd2e0803f9c57f72b209d4.

CW-Bug-Id: #23170
2024-02-15 15:53:29 +02:00
Rémi Bernon
37dc6df5eb lsteamclient: Avoid accessing entry->callback.size after free.
Fixes a crash in Space Engineers.

CW-Bug-Id: #23145
2024-02-15 15:53:29 +02:00
Paul Gofman
b86aa755d9 lsteamclient: Use getenv() in load_steamclient().
CW-Bug-Id: #23142
2024-02-15 15:53:29 +02:00
Paul Gofman
c8669fbcbd steamclient: Read access input strings on the PE side. 2024-02-15 15:53:29 +02:00
Rémi Bernon
eb45ddf6f8 lsteamclient: Add warnings and asserts to unixlib calls.
CW-Bug-Id: #22729
2024-02-15 15:53:29 +02:00
Rémi Bernon
838d14d66e lsteamclient: Split unixlib and build with msvcrt.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
99bdd62d6c lsteamclient: Get rid of unused functions declarations. 2024-02-15 15:53:28 +02:00
Rémi Bernon
60d50a11e6 lsteamclient: Get rid of DECLSPEC_HIDDEN. 2024-02-15 15:53:28 +02:00
Rémi Bernon
726879ea78 lsteamclient: Add missing break in ISteamNetworkingUtils_SetConfigValue switch.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
5e70a92e17 lsteamclient: Default calling convention is cdecl.
CW-Bug-Id: #22729
CW-Bug-Id: #23085
2024-02-15 15:53:28 +02:00
Rémi Bernon
1bf0e86507 lsteamclient: Make sure the param structs are consistently aligned.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
cd4a31f4e0 lsteamclient: Use int8_t instead of ambiguous sized bool.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
98a90a1458 lsteamclient: Queue callback for input EnableActionEventCallbacks functions.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
6a7dbe6160 lsteamclient: Queue callback for networking SetConfigValue functions.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
5a552fbe77 lsteamclient: Use unix callbacks for custom client classes.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
bc000612cd lsteamclient: Move callback function handling to unixlib.cpp.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
38573d2875 lsteamclient: Add traces to path conversion helpers.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
c95536019c lsteamclient: Move unix to dos path conversions to the unix side.
CW-Bug-Id: #22729
2024-02-15 15:53:28 +02:00
Rémi Bernon
049342a555 lsteamclient: Move dos to unix path conversion to the unix side.
CW-Bug-Id: #22729
2024-02-15 15:53:27 +02:00