lizzie
f860d103dd
fix winbloat
4 weeks ago
lizzie
a25455ffce
fractional time -W
4 weeks ago
lizzie
2f01c08ce7
ffs windows
4 weeks ago
lizzie
9e33da14d5
evil noperm
4 weeks ago
lizzie
9f8187b225
fuck errrno2
4 weeks ago
lizzie
f074be4924
acurater errno
4 weeks ago
lizzie
ccd5b7f245
ALL THE ERROR CODES
4 weeks ago
lizzie
dd4c5ffb4f
fixup errno
4 weeks ago
lizzie
d25bc074e9
min of 1sec
4 weeks ago
lizzie
14a6c76931
account for timeout
4 weeks ago
lizzie
d8f501049a
fix tcp on ssbu mod
4 weeks ago
lizzie
5e3a7e8afa
fallback only if it failed
4 weeks ago
lizzie
7a43448235
implode windows
4 weeks ago
lizzie
265cae12b2
better
4 weeks ago
lizzie
4ff81360f4
evil ping
4 weeks ago
lizzie
592bb45db9
don't murder me for this change
4 weeks ago
lizzie
8c5414e443
need the extra threads...
4 weeks ago
lizzie
d4c846bf66
more gymnastics to give fake results?
4 weeks ago
lizzie
0db4c364e5
first fake icmp impl
4 weeks ago
lizzie
9f6f3eb4f1
fix ldn sockets being regarded as normal socks
2 months ago
lizzie
17a89c407a
fx2
2 months ago
lizzie
fee8bd2d9f
fix???
2 months ago
lizzie
0110e00b7c
fix sockets
2 months ago
lizzie
0096fc097e
struct pollfd
2 months ago
lizzie
b6b1a4556a
fix windows screaming
2 months ago
lizzie
8ce42d6cda
musl scared of defines ooo
2 months ago
lizzie
29ca078dd6
airplane mode takes priority
2 months ago
lizzie
b9a2f5f272
uh
2 months ago
lizzie
5eb5ba89a2
add tcp options
2 months ago
lizzie
df8647c724
nuke extra threads, extra error support; use span instead of vector for poll fds
2 months ago
lizzie
3ed19a4b93
we love when cURL has bugs?
2 months ago
lizzie
16b1a2fd6f
add extra polling types
2 months ago
lizzie
45765cb60d
various fixes to sockopt
2 months ago
lizzie
15df5a9ea3
allow configure socket level
2 months ago
lizzie
0b5b5354fb
coalesce the various sockopt
2 months ago
lizzie
dfad814334
honour the provided MSG flags
2 months ago
lizzie
258d5f3bba
extra fixups
2 months ago
lizzie
5cde479ab8
fixup stuffs for windows
2 months ago
lizzie
cd8937ec05
fix messages native flags
2 months ago
lizzie
e520d2937a
properly handle writebuffer and dont write OOB
2 months ago
lizzie
0534478009
fixes for non BSD
2 months ago
lizzie
740b718549
[net] refactor to remove uneeded abstraction layer
Signed-off-by: lizzie <lizzie@eden-emu.dev>
2 months ago
lizzie
11de264541
[cmake] Fix some macOS compilation errors ( #4350 )
Don't compile GLSL/GLASM backends without OpenGL enabled. These codepaths are unused on non-OpenGL platforms.
Fixes other miscellaneous errors that pop up on Clang 23 as well.
Signed-off-by: Lizzie lizzie@eden-emu.dev
Signed-off-by: crueter crueter@eden-emu.dev
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions ).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md )
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md ) to the best of my ability.
-------------------
Co-authored-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4350
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
6 days ago
xbzk
1dcc574591
[gdb] fix conn state to use same pipe (instead of a copy) ( #4339 )
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions ).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md )
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md ) to the best of my ability.
-------------------
I was trying to use GDB stub to investigate MHR and it was not connecting.
Error was suggesting it was not available for connection although i saw it booting on logs.
Debugged and noticed signal_pipe_ was not the correct one, and followed the example of client_socket_.
GDB stub is now working, on windows, at least.
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4339
Reviewed-by: Lizzie and Samuel <lizzie@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
1 week ago
lizzie
f7e5ceeacb
[video_core/buffer_cache] fix PAGE_SHIFT/BSD macro clash on Linux, *BSD ( #4329 )
Signed-off-by: lizzie <lizzie@eden-emu.dev>
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions ).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md )
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md ) to the best of my ability.
-------------------
PAGE_SHIFT is a macro (sys/user.h on linux, machine/params.h on FBSD), dont name stuff that
https://stackoverflow.com/questions/77611721/get-page-shift-value-in-user-space
BSD is also a macro
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4329
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
2 weeks ago
crueter
7fda6dde73
[common] Switch to boost::unordered_flat containers ( #4326 )
Replaces all instances of ankerl's unordered map/set with boost's
`unordered_flat_*` classes. This uses std::hash since boost::hash is
actually a lot slower.
Also adds an abstraction layer in `Common` so future changes are quicker
and easier.
Other implementation details:
- ankerl provided hash specializations for tuple and pair, so those were
ported here
- std::erase_if doesn't work on boost, so just used the ADL'd erase_if
This should be about equal or superior performance as unordered_dense for everything except iteration.
Signed-off-by: crueter <crueter@eden-emu.dev>
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions ).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md )
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md ) to the best of my ability.
-------------------
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4326
Reviewed-by: Lizzie and Samuel <lizzie@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
2 weeks ago
lizzie
106a61c943
[core/file_sys] fix IPS not applying due to wrong NSObuild-id ( #4323 )
Signed-off-by: lizzie <lizzie@eden-emu.dev>
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions ).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md )
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md ) to the best of my ability.
-------------------
NSO build id was being read wrongly... oops
also fixed some minor issues as well
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4323
Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
2 weeks ago
lizzie
297e797a32
[hle/kernel] remove flusher thread from OutputDebugString ( #4291 )
Signed-off-by: lizzie <lizzie@eden-emu.dev>
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions ).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md )
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md ) to the best of my ability.
-------------------
Unneeded abstraction?
either way it seems this thread is not required
anyone thinking otherwise feel free to lmk
directly contradicts with #4290
and #3744
Remember that messages will be displayed out of order
this can make actual debugging much harder I'm afraid
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4291
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: crueter <crueter@eden-emu.dev>
2 weeks ago
lizzie
672bcbae01
[file_sys] robust-er IPSwitch compiler ( #3911 )
this PR reworks IPS parser to be less stupid
what do i mean by this? well generally give it a bit of
love so it doesn't do a lot of unsound allocations
also simplify the logic greatly (and use memcmp() string idiom
instead of trusting the compiler so blindly...)
no this doesn't mean to uber optimize IPS to handle 999 gb/s
it's more so it doesn't outright crash with edge cases
as the previous codebase was quite spaghetty
also the major overhead is obviously the vector shenanigans
and the I/O -- but thats out of scope
Test that IPSwitch mods still properly work WITH ANY GAME
IF THERE IS ANY REGRESSION IN SOME GAME/MOD THEN
TELL ME
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3911
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
2 weeks ago
Maufeat
28ab4a1a01
[kernel, service] Return ResultSessionClosed when a session is closed ( #4318 )
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions ).
- [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md )
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md ) to the best of my ability.
-------------------
I tried to run a homebrew game which tried to reply to a closed service. nnSdk expected ResultSessionClosed, we replied with ResultSuccess which mostly works but some have stricter handling and would terminate with abort.
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4318
Reviewed-by: Lizzie and Samuel <lizzie@eden-emu.dev>
Reviewed-by: crueter <crueter@eden-emu.dev>
2 weeks ago