Commit graph

288 commits

Author SHA1 Message Date
Pierre-Loup A. Griffais
4fb4c52acc steamclient: resolve symlinks to steamclient.so before loading it
Downstream code inside of it will use dladdr() to get path to its own code,
in order to infer the runtime Steam installation path from it. Currently,
it only gets the path to the canonical symlinks that point to it.
2019-02-13 10:16:38 -06:00
Zhiyi Zhang
4b9b8547e6 steamclient: Fix possible crash.
Fix a regression caused by a8968fe.

https://github.com/ValveSoftware/Proton/issues/2131

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2019-01-15 09:07:23 -06:00
Andrew Eikum
c74de6a23b steamclient: Fix up converting stringlist 2018-12-12 09:59:37 -06:00
Nikolay Sivov
13c0570212 steamclient: Use correct codepage for W -> A conversion.
At this point it's already windows path and it does not cross back to Linux side:

Unix -> CP_UNIXCP -> dosW -> CP_ACP -> dosA.
2018-12-10 14:51:00 -06:00
Nikolay Sivov
bd1e1c3005 steamclient: Do not overwrite output buffer too early. 2018-12-10 14:51:00 -06:00
Andrew Eikum
dcd5907f59 lsteamclient: For relative paths, only fix up backslashes 2018-11-30 08:52:48 -06:00
Andrew Eikum
a8968fe30a Perform conversion between more lin/win paths 2018-11-30 08:52:48 -06:00
Nikolay Sivov
275c971b3e steamclient: Forward Steam_ReleaseThreadLocalMemory(). 2018-10-31 07:48:35 -05:00
Andrew Eikum
63179d7f09 lsteamclient: Add symbol missing in ancient headers 2018-10-31 07:48:35 -05:00
Andrew Eikum
0ea7cb0f5a lsteamclient: Move steamclient_private below steam api headers 2018-10-31 07:48:35 -05:00
Andrew Eikum
6cff3e2de0 lsteamclient: Hard-code struct sizes 2018-10-31 07:48:35 -05:00
Andrew Eikum
d4307363c9 lsteamclient: Also convert callbacks during GetAPICallResult 2018-10-31 07:48:35 -05:00
Andrew Eikum
0466c19484 lsteamclient: Be more explicit about type sizes 2018-10-31 07:48:34 -05:00
Andrew Eikum
17ce82bc1c lsteamclient: Don't convert callbacks with identical layouts 2018-10-31 07:48:34 -05:00
Andrew Eikum
3714637f08 lsteamclient: Don't convert structs with identical layouts 2018-10-31 07:48:34 -05:00
Andrew Eikum
dca026aff1 lsteamclient: build fixes 2018-10-31 07:48:34 -05:00
Andrew Eikum
9d1c8963e4 steamclient: Implement the other ISteamMatchmakingServers callback wrappers 2018-10-31 07:48:34 -05:00
Andrew Eikum
f9f3754f09 lsteamclient: build fixes 2018-10-31 07:48:34 -05:00
Andrew Eikum
c7d6c1f18b lsteamclient: Call struct converters 2018-10-31 07:48:34 -05:00
Andrew Eikum
ab30d847d9 lsteamclient: Generate struct converters 2018-10-31 07:48:34 -05:00
Andrew Eikum
1c79a6a2d0 lsteamclient: Rework cb struct generation 2018-10-31 07:48:34 -05:00
Andrew Eikum
02d52eea92 lsteamclient: Fix packing for windows structs 2018-10-31 07:48:34 -05:00
Andrew Eikum
bbf914c044 lsteamclient: Rename cb_converters to struct_converters 2018-10-31 07:48:34 -05:00
Andrew Eikum
161105a012 lsteamclient: Update generator to clang 7 2018-10-31 07:48:34 -05:00
Andrew Eikum
83b804f15e lsteamclient: Fix DOS path encoding 2018-10-22 08:53:18 -05:00
Andrew Eikum
58ec0b8b97 lsteamclient: Fix order of overloaded methods in vtable
msvc++ groups overloaded methods and places them in reverse order of
declaration in the vtable.
2018-09-06 14:22:36 -05:00
Mayeul Cantan
0f80f2f52c Import print_function from __future__ for python compatibility
This alters the behaviour of python2's print statement to be compatible
with python3's print function. While not strictly necessary for now,
this might help future compatibility.
Thanks to Seppo Yli-Olli (@nanonyme) for suggesting this.
2018-08-24 09:28:52 +02:00
Mayeul Cantan
9c3667c083 Make proton, gen_wrapper and user_settings python scripts version-agnostic 2018-08-23 14:24:39 +02:00
Seppo Yli-Olli
0002f84825
Sanitize hashbang 2018-08-22 16:52:24 +03:00
Andrew Eikum
2c67cb3710 Update license information 2018-03-30 10:40:09 -05:00
Andrew Eikum
8a45036984 steamclient: Give steamclient.dylib path explicitly on macos 2018-03-29 12:12:48 -05:00
Andrew Eikum
3a1b1d1b00 steamclient: Load steamclient.dylib on mac 2018-03-07 14:41:41 -06:00
Andrew Eikum
e217e277c4 Support building for Mac
Patch by Aric
2018-02-08 09:21:25 -06:00
Andrew Eikum
b8292666fe lsteamclient: Fix ISteamHTMLSurface vtable 2018-01-29 14:10:23 -06:00
Andrew Eikum
0b2c856af7 lsteamclient: Fix building as a winemaker project 2018-01-18 13:27:10 -06:00
Andrew Eikum
88f3462bc1 lsteamclient: Fix building as a winemaker project 2018-01-18 10:38:13 -06:00
Andrew Eikum
effb961121 lsteamclient: Remove makefiles
These are made by winemaker now
2018-01-18 10:31:59 -06:00
Andrew Eikum
f07f9247a5 Move lsteamclient out of wine 2018-01-18 10:24:05 -06:00