Commit Graph

159 Commits

Author SHA1 Message Date
Michael Theall
49b2571336 Auto start/stop
More fine-grained locking
2020-04-28 10:25:54 -05:00
Michael Theall
b925088965 3DS: add ZL/ZR to nav input 2020-04-28 10:25:54 -05:00
Michael Theall
a265706671 Use mulitply instead of divide where feasible 2020-04-28 10:25:54 -05:00
Michael Theall
ffa6195182 Fine-grained locking 2020-04-28 10:25:54 -05:00
Michael Theall
07ebd0d1d1 Refactor as much code out of 3DS backends as possible 2020-04-28 10:25:54 -05:00
Michael Theall
e8b62be621 Fix 3DS multithreading 2020-04-28 10:25:54 -05:00
Michael Theall
2da46d407f Use anti-aliasing framebuffer on 3DS 2020-04-28 10:25:54 -05:00
Michael Theall
34c6d61215 Documentation and minor refactors 2020-04-28 10:25:54 -05:00
Michael Theall
86be27cd31 v3.0.0-rc1 2020-04-28 10:25:54 -05:00
Michael Theall
990d82f40b Fix libnx update 2020-01-11 21:02:02 -06:00
Michael Theall
00c2c44271 Add release target and fix minor bug 2019-09-15 15:36:38 -05:00
fincs
a910da0799 Update for latest libnx gfx/console changes 2018-12-19 20:07:11 +01:00
Dave Murphy
947dc13784 remove old switch code 2018-08-15 13:39:24 -05:00
thedax
9adbed9d81 Switch has to wait for VSync too. (#2) 2018-08-15 13:39:24 -05:00
TuxSH
1f78277254 Make changes to work with latest libnx
(cherry picked from commit 1bebc6580455b0c60ceb6e5589c5dfbcc59e3a98)
2018-08-15 13:39:24 -05:00
Yuuki Hikari
2cb78030be Get local IP address on Switch correctly (#1) 2018-08-15 13:39:24 -05:00
Dave Murphy
10b46172fe explicitly truncate path 2018-08-15 13:39:24 -05:00
TuxSH
177f00ac63 Make changes to work with latest libnx 2018-08-15 13:39:24 -05:00
Dave Murphy
fc31e9c04e simplify console code 2018-08-15 13:39:24 -05:00
TuxSH
d1df76b0ea Miscellaneous fixes 2018-08-15 13:39:24 -05:00
TuxSH
9163d46529 console changes 2018-08-15 13:39:24 -05:00
TuxSH
8b13550b72 changes 2018-08-15 13:39:24 -05:00
TuxSH
7e00ed2054 Switch port (wip, squash later) 2018-08-15 13:39:24 -05:00
Michael Theall
d00b1a8c71 Fix MLSD/MLST bugs 2017-12-10 01:21:36 -06:00
Michael Theall
7b1176d374 Add MLSD and MLST commands 2017-11-02 00:47:18 -05:00
Michael Theall
30c1b7a77d Make ftp_send_response[_buffer] return void 2017-07-26 08:56:37 -05:00
Michael Theall
f0e6b5bf48 Use static buffer for RNFR path during RNTO 2017-07-25 22:02:41 -05:00
Michael Theall
8e14aa4417 Remove use of getnameinfo for new connections. 2017-07-25 22:01:10 -05:00
Michael Theall
6d042c525a Add some advanced logging 2017-07-25 21:55:16 -05:00
Michael Theall
c763e2d52f We can exit cleanly without home button 2017-06-05 12:02:43 -05:00
Michael Theall
f5f27646ee Set SO_LINGER with timeout=0 before close
Hopefully this helps with clients that don't acknowledge our close.
Thanks to TuxSH for testing with Windows Explorer.
2017-06-05 11:50:41 -05:00
Dave Murphy
fc95abd9f2 allow -l to LIST current directory
some clients, including Chrome, use LIST -l and expect to obtain a file listing. Fixes #64
2017-02-02 19:04:50 +00:00
Michael Theall
17f1036ca4 Only Home button can exit cia 2016-08-10 23:08:08 -05:00
Michael Theall
e91a01ed44 Press Start to toggle backlight 2016-08-10 22:53:05 -05:00
Michael Theall
5f1227eaea Add SIZE command 2016-06-21 22:17:33 -05:00
Michael Theall
a3f17e9eed Put a space between command and arguments for invalid command 2016-06-19 21:44:05 -05:00
Michael Theall
81ec2ea8e4 Use non-blocking connect 2016-06-19 21:35:39 -05:00
Michael Theall
540a73cb54 Fix linux build 2016-06-19 21:26:41 -05:00
Michael Theall
6d35bc0716 Fix empty first line on tcp table 2016-06-15 03:39:02 -05:00
Michael Theall
8c34814100 Show minimum information on tcp table, and don't overflow the screen 2016-06-15 03:38:53 -05:00
Michael Theall
501073c34c Update free space after operations that affect it 2016-06-15 03:04:00 -05:00
Michael Theall
fe2709cb1c Better rounding for free space size 2016-06-14 02:42:51 -05:00
Michael Theall
68c8e923d9 Show free space on SD 2016-06-14 01:26:44 -05:00
Michael Theall
ec1777084e Synchronize sdmc_dir_t with libctru 2016-04-09 11:55:55 -05:00
Michael Theall
c7cd0ec231 Only call socExit() if socInit() succeeded 2016-04-09 11:54:34 -05:00
Michael Theall
a92b041dc4 File size is off_t which is actually signed 2016-02-03 13:56:47 -06:00
Michael Theall
44f8eaf55d Encode invalid command response 2016-01-29 14:08:14 -06:00
Michael Theall
5e8fb219e3 Fix decode_path 2016-01-29 14:05:25 -06:00
Thiago Kenji Okada
832929c15b Print parsed command when it is invalid
Remove carriage return first before sending command back to the client.
2016-01-29 02:53:03 -02:00
Michael Theall
dff661c19f Remove gfxDrawSprite 2016-01-26 00:02:07 -06:00
Michael Theall
06ea029089 Improve console printing 2016-01-25 23:56:29 -06:00
Michael Theall
4947dda9c6 Remove debug.h 2016-01-25 23:55:59 -06:00
Michael Theall
7a2f7747ee Replace 0xFFFE with SOL_CONFIG for SOCU_GetNetworkOpt 2016-01-25 23:47:37 -06:00
Michael Theall
08f437e25e Remove all brony branding 2016-01-25 23:46:52 -06:00
Michael Theall
c21aa5439e Replace brony with tcp table 2016-01-25 20:03:48 -06:00
Michael Theall
10d7ed6217 Fix whitespace 2016-01-25 19:14:15 -06:00
Michael Theall
e83f8b5531 Fix linux build for MDTM 2016-01-25 19:12:19 -06:00
Michael Theall
4598dc52c4 work around broken clients that think LIST -a is a thing 2016-01-25 19:11:53 -06:00
Michael Theall
c2c82919a3 Add more file types to list 2016-01-25 19:10:53 -06:00
Michael Theall
717e4cfdc0 Fix hostname and port length 2016-01-23 03:38:03 -06:00
Michael Theall
74ec300fc8 Add timestamp-related features 2016-01-22 16:38:22 -06:00
Michael Theall
7ffa6d6255 Improve pathname encoding compatibility 2016-01-22 14:30:26 -06:00
Michael Theall
b0d0b03874 Fix PWD response code 2016-01-22 14:28:55 -06:00
Michael Theall
920cd96c67 Remove coloring from linux build.
Terminate loop when canceling waiting for wifi.
Implement ABOR, HELP, and STAT.
- STAT (no argument) during a transfer gives the current file's offset.
- STAT (no argument) outside of transfer will return server uptime.
- STAT (with argument) is the same as LIST but with the data traveling over the command socket.
Allow ABOR, STAT, and QUIT to occur during transfer.
Support telnet interrupt (discard data up to Data Mark past TCP urgent mark).
Support arguments for LIST and STAT.
Escape \r in response as per telnet standard. Some clients don't like this but they are out of spec.
Unescape \r\0 in request as per telnet standard. Some clients don't properly escape this but they are out of spec.
Support commands broken across multiple recv().
Escape quotes on PWD response.
Added much more documentation.
2016-01-21 19:25:22 -06:00
Michael Theall
de29f4a2a7 Add REST command 2016-01-18 17:46:03 -06:00
Michael Theall
5617e2c32a reduce dropped connections at end of transfer 2016-01-18 17:45:04 -06:00
Michael Theall
2b836543f6 Faster LIST command 2016-01-16 16:32:59 -06:00
Michael Theall
aa3d4b70d7 Add message that we are waiting on socExit() 2016-01-16 16:00:31 -06:00
Michael Theall
7538ea5112 Fix linux build warning 2016-01-16 00:41:49 -06:00
Michael Theall
d38cea4e7b Restart server when network drops 2016-01-16 00:38:58 -06:00
Michael Theall
2ff33ca398 Wait for wifi on start 2016-01-16 00:22:26 -06:00
Michael Theall
3da67ce57a Add NLST command 2016-01-15 17:47:18 -06:00
Michael Theall
60bab0735e Add APPE command 2016-01-15 17:32:01 -06:00
Michael Theall
17dfdfcf01 Fix socket/file leaks 2016-01-15 16:45:10 -06:00
Michael Theall
f7156e8ca9 Change initiator msg from 200 to 220 2016-01-15 12:13:56 -06:00
Michael Theall
9d2a3906f3 Reverse DNS-lookup 2016-01-15 12:13:28 -06:00
Michael Theall
1c5084e08e Improve FTP throughput 2016-01-12 16:24:01 -06:00
Dave Murphy
3dc7839118 fixes for latetst libctru changes 2015-12-30 02:20:26 +00:00
mtheall
8ccbc94115 Merge branch 'r44' 2015-08-19 13:30:48 -05:00
mtheall
0ba3844ad8 Use sdmc_dev
Enable UTF8
2015-08-19 13:25:34 -05:00
mid-kid
59cbc2edfa Changes for new devkitARM and ctrulib 2015-02-26 10:46:27 +01:00
Dave Murphy
41a379f64d update for latest libctru 2015-01-08 14:01:33 +00:00
Dave Murphy
c5a42ca9b1 add header for memcpy 2015-01-08 14:01:09 +00:00
mtheall
f1be81814c fix unterminated comment 2015-01-07 23:35:54 -06:00
mtheall
6a4b4f0355 Add logging support 2015-01-07 23:30:22 -06:00
mtheall
20f29f60b8 Replace console with one built-in to libctru 2015-01-07 23:26:01 -06:00
mtheall
5ef0f27c2d Fix rename. 2014-12-11 11:21:20 -06:00
Ryan Baumann
e2af2036d6 Cleaned up a bit, included original banner png. 2014-12-10 17:53:56 -05:00
Ryan Baumann
36938f6700 Merge https://github.com/mtheall/ftbrony 2014-12-10 17:52:19 -05:00
mtheall
77031db0d2 Merge branch 'master' of github.com:mtheall/ftbrony 2014-12-09 00:25:49 -06:00
mtheall
de309c37da Fix EWOULDBLOCK handling. 2014-12-09 00:25:40 -06:00
Ryan Baumann
8ad4e29b8b New banner yay! 2014-12-06 17:01:02 -05:00
yellows8
8a9be0f01f Removed unneeded irrst* func calls, ctrulib itself handles calling those automatically. 2014-11-26 22:36:16 -05:00
mtheall
de27f5f5f5 use aptMainLoop(). closes #9 2014-11-25 13:26:37 -06:00
mtheall
38a2b11e86 significantly increase throughput 2014-11-25 02:30:55 -06:00
mtheall
a217c5a3b4 improvements to build_path 2014-11-25 01:42:25 -06:00
mtheall
b4113806e8 fix build_path 2014-11-25 01:24:24 -06:00
mtheall
c808a1cd27 fix data port allocation 2014-11-25 01:22:09 -06:00
mtheall
e8dbc59e6b remove TODO note from MODE 2014-11-24 00:17:40 -06:00
mtheall
c4f5435936 implement RNFR and RNTO 2014-11-24 00:16:21 -06:00