RipleyTom
485fca34b0
Misc NP fixes
2024-01-08 14:03:15 +01:00
RipleyTom
47ae192cf8
Impl sceNpBasicSendMessage
2024-01-07 13:36:27 +01:00
RipleyTom
80b7fd5f3f
Check room event callback has been set before calling it
2024-01-05 22:34:52 +01:00
RipleyTom
0227b16d06
Fix sceNpBasicSetPresence when data is nullptr and size is 0
2024-01-05 22:34:52 +01:00
RipleyTom
b6e9746198
RPCN 0.9 ( #15002 )
2024-01-05 09:43:26 +01:00
Megamouse
59c58aa3cf
fix some warnings
2023-12-30 19:07:35 +01:00
RipleyTom
03761c5dd4
rpcn 0.8
2023-12-29 19:22:49 +01:00
Eladash
40604f6076
Fixup np_handler ctor
2023-12-21 16:12:50 +02:00
RipleyTom
dbd1f27862
Replace condition_variable with atomic_t
2023-12-20 15:28:47 +02:00
Eladash
0c410f8a14
Postpone thread launching on g_fxo->init
2023-12-19 15:34:07 +02:00
RipleyTom
f709a5747a
Force sending a FIN packet on rpcn disconnect
2023-12-13 12:42:38 +02:00
Eladash
2db607c716
Replace some fmt::format with fmt::append
2023-11-10 08:45:49 +02:00
Eladash
9635417ae5
Replace some utils::bless usages
2023-08-19 17:18:40 +03:00
Talkashie
dabb2cc9a0
Fix typos, improve consistency
...
Fixes typos where spelling or grammar is objectively wrong.
Changes wording and capitalization in some areas to be more consistent with other areas.
2023-07-28 13:09:06 +03:00
oltolm
0c94606fcf
Make compile with msvc, clang and gcc on Windows
2023-07-11 21:40:30 +03:00
Megamouse
16f869fe5a
logging: minor trace optimizations
2023-06-15 19:48:15 +02:00
Megamouse
d28e3c4f08
np_handler: fix warning: check socket in discover_ip_address
2023-06-13 18:08:51 +02:00
Megamouse
f8009451a9
rpcn: fix some msvc warnings
2023-05-18 09:15:49 +02:00
RipleyTom
195de818b6
Fix rpcn config reset
2023-05-06 19:48:40 +02:00
Megamouse
6555de6ef5
fix warnings
2023-04-21 16:41:06 +02:00
RipleyTom
7000ef4471
Fix timeout spam from signaling
2023-03-19 22:31:50 +01:00
RipleyTom
c98158b460
Add buf_to_hexstring
2023-03-18 01:51:35 +01:00
RipleyTom
02a53c582c
Invite changes
2023-03-18 01:51:35 +01:00
RipleyTom
192f4825a2
Fix recvn high cpu usage
2023-03-17 23:50:40 +01:00
RipleyTom
8cd6b9275a
Fix timestamps in signaling_handler
2023-03-17 17:07:25 +01:00
RipleyTom
450cb1771c
Add better error handling for RequestSignalingInfos
2023-03-08 18:25:26 +01:00
RipleyTom
f7a3d45c2c
Use NBIO for RPCN
2023-03-08 13:11:33 +01:00
RipleyTom
2de4c03faa
Fix wolfssl connect
2023-03-03 22:51:01 +01:00
Megamouse
1d7a00666e
rpcn: throw exception when using rpcn features without a proper config
2023-03-03 11:30:39 +01:00
RipleyTom
1a00341e6b
Forces local IP to bind address if set
2023-02-25 10:38:19 +01:00
RipleyTom
6186ac0245
rpcn: signaling handler improvements & upnp
...
Simplify signaling by making Matching2 a layer over normal signaling.
Implements UPNP port forwarding
Implement sceNpMatching2AbortRequest
Fix reported bw in sceNpUtil
Hack for Fat Princess binding udp on 3658
Reenable CB for sceNpBasicAddPlayersHistoryAsync
Misc fixes
2023-02-21 15:41:41 +01:00
Megamouse
43288a6760
Qt: add shortcut manager
2023-01-10 19:28:26 +01:00
Megamouse
9b7eaf5117
Improve error logging
2023-01-09 21:06:51 +01:00
Ani
0d929a210f
NP: Disable some logging ( #13061 )
2022-12-11 16:49:14 +00:00
Team XLink Developers
b4757b514d
Add ability to have sockets bind to a local IP address ( #12998 )
2022-11-30 18:35:42 +03:00
Nekotekina
7c15001042
Implement read_from_ptr<>() util
...
Doing std::bit_cast on a "span".
Should be usable in constexpr.
2022-11-26 09:30:11 +03:00
RipleyTom
ec53adc2b7
Fix get_member_and_attrs
2022-11-07 12:31:18 +01:00
RipleyTom
880a4e3ca6
SceNpScore: improvements
2022-10-24 00:49:44 +02:00
Eladash
9f3f619774
Minor cleanup
2022-10-23 13:06:57 +02:00
RipleyTom
9b121a6414
sys_net: improvements
...
sys_net: implement reusable addr for p2p sockets
sys_net: implement getpeername for P2PS
sys_net: sockets inherit NBIO from their parent
2022-10-22 11:32:04 +02:00
RipleyTom
01c285fc4a
RPCN v0.7
...
Bump protocol version
Improve signaling RTT calculation for client
Implement score game data functions
Various sceNpScore fixes
Verify flatbuffer buffers
Use std::variant for transaction specific data
2022-10-17 09:57:10 +02:00
RipleyTom
8170b91f76
sceNpScore: return error on 0 scores returned
2022-09-28 21:58:11 +02:00
RipleyTom
d1a7bb0136
Fix faulty GetScoreFriendsRequest
2022-09-28 21:58:11 +02:00
RipleyTom
eea73deab3
RPCN v0.6
2022-09-27 23:39:54 +03:00
Nekotekina
6ff6a4989a
Implement at32() util
...
Works like .at() but uses source location for "exception".
2022-09-26 18:04:15 +03:00
Elad Ashkenazi
fcd297ffb2
Savestates Support For PS3 Emulation ( #10478 )
2022-07-04 16:02:17 +03:00
RipleyTom
e68ffdbc81
Add a message overlay
2022-05-23 08:38:02 +02:00
Megamouse
1e1b111678
sceNp: register custom menu
2022-05-13 21:52:14 +02:00
RipleyTom
2f9b930c6b
Fix for ticket parsing
2022-05-11 19:03:54 +02:00
RipleyTom
4479d99a9a
Implement sceNpManagerGetTicketParam
2022-05-10 21:04:15 +02:00
RipleyTom
8d950620b7
dnshook: add asterisk support
2022-05-05 18:49:39 +02:00
RipleyTom
d02a8ba2b9
Update flatbuffers to v2.0.6
2022-04-24 19:43:40 +02:00
RipleyTom
cbc067b490
Fix get_roomdata_external_list callback event id
2022-04-10 15:42:26 +02:00
RipleyTom
8fb2d04ce8
rpcn: validate callbacks before queuing them
2022-04-10 00:23:32 +02:00
RipleyTom
72b2876b6a
sys_net refactor ( #11740 )
2022-04-09 14:51:22 +02:00
RipleyTom
6c5b8dc31c
rpcn: add cookie impl to tickets
2022-02-03 13:25:15 +01:00
Nekotekina
580bd2b25e
Initial Linux Aarch64 support
...
* Update asmjit dependency (aarch64 branch)
* Disable USE_DISCORD_RPC by default
* Dump some JIT objects in rpcs3 cache dir
* Add SIGILL handler for all platforms
* Fix resetting zeroing denormals in thread pool
* Refactor most v128:: utils into global gv_** functions
* Refactor PPU interpreter (incomplete), remove "precise"
* - Instruction specializations with multiple accuracy flags
* - Adjust calling convention for speed
* - Removed precise/fast setting, replaced with static
* - Started refactoring interpreters for building at runtime JIT
* (I got tired of poor compiler optimizations)
* - Expose some accuracy settings (SAT, NJ, VNAN, FPCC)
* - Add exec_bytes PPU thread variable (akin to cycle count)
* PPU LLVM: fix VCTUXS+VCTSXS instruction NaN results
* SPU interpreter: remove "precise" for now (extremely non-portable)
* - As with PPU, settings changed to static/dynamic for interpreters.
* - Precise options will be implemented later
* Fix termination after fatal error dialog
2022-01-15 06:48:04 +03:00
RipleyTom
ba727e13ae
Fixes rpcn_client.h func ptr comparison warning
2021-11-11 08:11:14 +01:00
RipleyTom
b736691bde
Special nullptr optParam->cbFunc case fix
2021-11-10 20:03:11 +01:00
RipleyTom
50bf528f3f
NP: add signaling_handler wakeup on connect queue
2021-11-10 12:43:45 +01:00
RipleyTom
dc0793b731
NP: Implement sceNpMatching2DeleteServerContext
2021-11-08 13:10:40 +03:00
RipleyTom
c194804fec
NP: Implement sceNpBasicGetFriendListEntry
2021-11-08 13:10:40 +03:00
RipleyTom
d41e405420
NP: Cache Manager + improvements
2021-11-08 13:10:40 +03:00
RipleyTom
516cb959cb
rpcn: new allocator + refactoring of np_handler
2021-11-08 13:10:40 +03:00
RipleyTom
704e74b904
rpcn: extra changes
2021-11-08 13:10:40 +03:00
Nick Renieris
b70f08d850
The Velocity Improvements: RoomData/RoomMemberData commands & fixes
...
modules/np2: Correct some SceNpMaching2 ptr type endianness
np/handler: Use STL .contains() method
Ignore USECRYPTO & USESIGNATURE in recvfrom/sendto
Implement RoomData/RoomMemberData commands
2021-11-08 13:10:40 +03:00
Megamouse
e9fe90244f
Emu: Move VFS mount to Init
2021-10-29 19:46:11 +02:00
Megamouse
e51656e070
Qt: Add camera settings dialog
2021-10-24 11:32:35 +02:00
RipleyTom
962e140cea
fix: cleanup basic handler in np term
2021-10-23 08:31:59 +02:00
RipleyTom
caea340985
RPCN: Set error state on empty login/password
2021-10-14 19:28:20 +02:00
RipleyTom
ab6c74b3c1
Enables resend token button
2021-10-13 21:18:29 +02:00
RipleyTom
68fdc49528
Defaults to 127.0.0.1 when failing to discover IP
2021-10-13 08:17:29 +02:00
RipleyTom
8a72bdb422
rpcn: wait for signal before connect
2021-10-12 20:20:32 +02:00
RipleyTom
df39bd39b0
Fix rpcn create/login not returning proper error
2021-10-12 17:30:46 +02:00
RipleyTom
ea9dc9317d
rpcn v0.4.0
2021-10-11 22:20:20 +02:00
Megamouse
269c4604aa
VFS: move VFS settings to seperate file
2021-09-25 19:21:59 +03:00
Justin Lewis
c13a46b07b
Fix warnings about using deprecated inet_ntoa function ( #10698 )
...
* Replaced inet_ntoa with inet_ntop.
The warning in question is: "Warning C4996 'inet_ntoa': Use
inet_ntop() or InetNtop() instead or define
_WINSOCK_DEPRECATED_NO_WARNINGS"
2021-08-18 07:16:38 +03:00
Megamouse
430fd759fe
sys_net: add missing range checks
2021-08-08 21:06:07 +02:00
Nekotekina
86d2316089
sys_net/NP: set some init dependencies
...
Ensure finalization order of network threads.
This should prevent some crashes.
2021-08-06 10:41:40 +03:00
Eladash
0aed00a758
Improve thread aborting mechanism ( #10490 )
...
Call pseudo-virtual operator=(thread_state) of thread context.
2021-06-27 11:43:48 +03:00
Megamouse
f18e80e899
fix some warning spam
2021-05-29 08:17:30 +02:00
Megamouse
01d14aed80
fix null chars in hostname log message
2021-04-19 21:54:27 +02:00
David Carlier
b6732fbae9
MacOs build fix proposal.
...
Made on Big Sur, removing few unnecessary old specifics.
Build with LLVM homebrew.
2021-04-18 17:18:09 +03:00
Nekotekina
19763f8973
Remove unnecessary default:breaks
2021-04-15 15:23:59 +03:00
Megamouse
a16d8ba3ea
More random changes
2021-04-11 14:01:51 +03:00
Nekotekina
c22e1e71f0
Continue fixing strict aliasing warnings
2021-03-13 18:02:37 +03:00
Nekotekina
87af905018
Enable -Wunused-parameter
2021-03-06 18:07:08 +03:00
Nekotekina
ea5e837bd6
fixed_typemap.hpp: return reference
2021-03-02 16:08:14 +03:00
RipleyTom
67378c7dea
Add CELL_NET_CTL_INFO_DHCP_HOSTNAME impl
2021-02-26 11:58:42 +03:00
RipleyTom
801467e565
Fix rpcn registration
2021-02-23 13:17:49 +03:00
RipleyTom
8be2a55ccc
Add mutex lock for NP changes
2021-02-21 18:04:55 +03:00
Eladash
eb0d006168
Fix most of "[x] thread is too sleepy" at Emu.Stop() ( #9813 )
...
* Fixes some thread sleep/wait calls
2021-02-21 16:43:02 +03:00
Nekotekina
428771f1d7
Fix -Wself-assign (clang)
2021-02-18 14:07:22 +03:00
Nekotekina
038148bf06
Fix almost all GCC warnings
2021-02-17 22:59:04 +03:00
RipleyTom
00ff53499a
fix UserInfo2_to_SceNpUserInfo2
2021-01-22 20:51:10 +03:00
Nekotekina
f944573b3c
Fix old warnings: remove strncpy
...
Use strcpy_trunc instead.
Change some sce structs.
2021-01-20 12:26:09 +03:00
Nekotekina
a8e0d261b7
types.hpp: more cleanup
...
Also fix compilation.
2020-12-22 19:08:09 +03:00
Nekotekina
eec11bfba9
Move align helpers to util/asm.hpp
...
Also add some files:
GLTextureCache.cpp
VKTextureCache.cpp
2020-12-18 18:07:42 +03:00
Nekotekina
05099e2ae1
Replace uint64_t with u64
2020-12-18 12:23:53 +03:00
Nekotekina
77352a2a86
Replace uint32_t with u32
2020-12-18 12:23:53 +03:00