1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-27 16:39:29 +00:00
Commit graph

13 commits

Author SHA1 Message Date
Reuh
5888ee3810 Fixed UDP sockets, added documentation, cleaning
udp:receivefrom arguments and return value changed so it actually works.
2016-06-27 19:31:07 +02:00
Firew0lf
707b1a451e Added the ctr.uds lib (3DS-to-3DS wireless communication), Added a function to add ssl certificates for HTTP contexts, Minor documentation update.
The UDS lib is completely untested, because I only have 1 3DS.
2016-04-26 14:44:18 +02:00
Reuh
358b68c643 Renamed item.fileSize to item.size in fs.list() return value, enabled 3D in the editor, added a lot of missing documentation
For the return values, I followed this rule: if the fuction returns true on success, it should return false, error on error; for every other case it should return nil, error on error.

Also, who doesn't want to edit code in 3D ? The line depth depends on the indentation level.
2016-04-22 13:42:59 +02:00
Firew0lf
6b65df0b8e Fixed some documentation, added some things to sockets, "Fixed" the ROMFS
The romfs is still not working, but it works better.
2016-04-13 16:19:25 +02:00
Firew0lf
e7ff54d58c Added SSL support to sockets, Added console/stdout support, Removed apt.init/apt.shutdown, Added some SSL options to httpc
The console can __not__ be used with gfx.start() on a screen. You don't have to gfx.render() while print()ing, but you should do it when you are in the main loop.
The SSL sockets don't work with Citra.
2016-04-10 01:47:52 +02:00
Firew0lf
2e782ed9ea Updated to the latest ctrulib, Fixed some minor bugs.
Working with citra, untested on real hardware but should be OK.
IR should now work.
Let's add some 3D drawing and sound now !
2015-12-14 23:11:45 +01:00
Reuh
4acd13de9b Close socket on GC 2015-10-25 18:56:39 +01:00
Firew0lf
81f8edb25d Added UDP sockets functions (untested, like 80% of my code)
I didn't find a server/protocol to test the UDP sockets, so I didn't test.
Also, there's no built-in "pseudo-connected" mode, you have to manage it in your code.
2015-10-24 22:03:09 +02:00
Reuh
8e94add9a6 Fixed documentation of socket:connect 2015-10-24 13:34:53 +02:00
Reuh
09ea79bc86 Added line receiving to socket:receive and changed *a to a
Added l and L. Removed the starting * of *a, because it isn't used in Lua 5.3 io lib.
2015-10-24 11:12:10 +02:00
Reuh
d5f8202c69 Fixed tcpsocketobject:received when receiving less data than passed at arguments
It cuts the string at the end of received data.
2015-10-23 21:02:27 +02:00
Firew0lf
4d56037289 Added documentation and (untested) code for server sockets 2015-10-18 16:07:29 +02:00
Firew0lf
8500bcb8fa ADDED SOCKETS ! Added ROMFS support (maybe), Improved the news library, added a VBLank waiting function
Sockets are only very buggy/unstable TCP clients, but working. The library was written from scratch.
2015-10-17 23:15:06 +02:00