Commit Graph

71 Commits

Author SHA1 Message Date
Maschell
f399e97aa8 Use lock_guard and OSMemoryBarrier 2022-10-06 19:04:28 +02:00
Maschell
174d13339f Restart the server on error 2022-10-06 19:04:28 +02:00
Maschell
5da7be81b7 Retry creating passive_socket of error 2022-10-06 19:04:28 +02:00
Maschell
0968810796 Improve error handling for virtual paths 2022-10-06 19:04:28 +02:00
Maschell
4ac4e0a9a6 Init the virtual /fs/ and /fs/vol/ path properly 2022-10-06 19:04:28 +02:00
Maschell
50600d3d82 Always call shutdown for a socket 2022-10-06 19:04:28 +02:00
Maschell
52766cdca1 Stop the server in ON_APPLICATION_ENDS instead of ON_APPLICATION_REQUESTS_EXIT hook 2022-10-06 12:22:49 +02:00
Maschell
2a79fd7862 Fix potential softlock that could happen if the thread was canceled but is not (marked as) terminated 2022-10-06 12:22:49 +02:00
Maschell
9b64c3bb51 Only join the thread if it's not already terminated 2022-10-05 20:09:29 +02:00
Maschell
10838cfafb Make sure the server is destroyed when launching a title 2022-10-05 20:09:29 +02:00
Maschell
45ea7ac07e Do not hardcode the threadname in the CThread class 2022-10-05 20:09:29 +02:00
Maschell
85cedda15e Improve commit messages for nightly releases 2022-10-05 20:09:29 +02:00
Maschell
8f65341658 Use C++20 2022-10-05 20:09:29 +02:00
Maschell
ef6360ac3c Update Makefile to be compatible to CLion 2022-10-05 20:09:29 +02:00
Vague Rant
6ca2bbda45 Correct line endings in FEAT response 2022-09-23 21:22:20 +02:00
Vague Rant
13e9c38512 Report UTF8 support to clients 2022-09-23 15:24:52 +02:00
Maschell
092142dffd Bump version 2022-09-19 21:51:41 +02:00
Maschell
c7aef1ff94 Update the README 2022-09-19 14:26:34 +02:00
Maschell
0f61c1ecfb Add a config menu to enabled/disable the server, see the ip, and enabled/disable access to system files 2022-09-19 14:26:34 +02:00
Maschell
c40df1a909 Update the version and add support using the git hash on nightlies 2022-09-19 13:40:29 +02:00
Maschell
79522dc356 Fix displaying files/dirs with a broken date in some ftp clients 2022-09-06 12:18:46 +02:00
Maschell
21c34020a5 Update libraries 2022-09-04 10:33:48 +02:00
Maschell
28337bfebb Use ubuntu-22.04 for the CI 2022-09-04 10:33:48 +02:00
Maschell
dccfa5e6c1 Add LICENSE 2022-09-04 10:33:48 +02:00
Maschell
acde083dcf Use libmocha instead of libiosuhax 2022-08-27 13:36:49 +02:00
Maschell
fe8c2abd1e Build the plugin with different log levels on PRs 2022-05-14 19:54:27 +02:00
Maschell
be2af9fdf0 Adjust logs to use a proper log-level 2022-05-14 19:54:27 +02:00
Maschell
ab41975478 Control log level with build flags, update README 2022-05-14 19:54:27 +02:00
Maschell
ed72f45814 Update to logging macros to include the plugin name 2022-05-14 19:54:27 +02:00
Maschell
e2a3b36bbb Use the latest wut version to properly display the time/date 2022-05-14 19:54:27 +02:00
Maschell
0b1f944a9a Fix displaying the permissions 2022-05-14 19:54:27 +02:00
Maschell
9269c548aa Formatting 2022-03-03 19:19:01 +01:00
Maschell
b8db1ca6a9 Only return strings from heap, never stack. Fixes access to "/" 2022-03-03 19:19:01 +01:00
Maschell
c0f4ed1863 Try to avoid use after free 2022-02-07 18:51:58 +01:00
Maschell
6b1ad4b64a Fix memory leaks 2022-02-07 18:51:58 +01:00
Maschell
0b57f21408 Add missing shudown call 2022-02-07 18:51:58 +01:00
Maschell
63f21d5a18 Format the code via clang-format 2022-02-04 14:36:55 +01:00
Maschell
5e6e8bdb53 Formatting and cleanup 2022-01-30 21:05:09 +01:00
Maschell
8c9c2f3bb1 Update Dockerfile, use WUPS 0.7.1 2022-01-30 21:00:07 +01:00
Maschell
7c186ca04c [CI] Fix asset content type 2022-01-30 20:58:13 +01:00
Maschell
d3d5f683f6 Change the layout of the release .zip 2022-01-30 20:58:04 +01:00
Maschell
733b2189be Only do logging when built with make DEBUG=1 2022-01-30 20:57:11 +01:00
Maschell
aa8a313291 Give the thread a proper name 2022-01-30 20:52:32 +01:00
Maschell
209ef3d6a1 use WUPS 0.6.1 2021-10-02 11:22:10 +02:00
Maschell
9f784cbf1b Formatting and cleanup 2021-09-24 19:49:11 +02:00
Maschell
f4dd784456 Update Dockerfile 2021-09-24 19:41:27 +02:00
Maschell
dbff9ca577 Update Dockerfile to use WUPS 0.5 2021-09-17 16:53:11 +02:00
Maschell
dd28076063 Compile with latest wut, compile with WUPS 0.5 2021-04-17 14:20:41 +02:00
GaryOderNichts
71ee86025f Add virtual paths to MountVirtualDevices 2021-04-13 19:53:46 +02:00
Maschell
a40b5652e5 Use WUPS 0.4 2021-03-16 17:37:02 +01:00