CreeperMario
5e84d0321d
CI Ambulance
2017-09-01 21:01:46 +09:30
CreeperMario
0b2ca7c05e
travis: Add macOS build target
...
* This is currently untested, and will be fixed if necessary during the PR process.
2017-09-01 18:26:10 +09:30
CreeperMario
ace7c0b364
whb: Implement a basic TCP-based command server kit.
...
* This server will listen for connections, and then listen on that
connection stream for, well, text. It will then close the connection and
send the string back to the main program.
2017-09-01 18:13:51 +09:30
CreeperMario
ef34f600c7
whb: Use MEM2 heap instead of DefaultHeap in logging functions
2017-09-01 14:30:08 +09:30
CreeperMario
51f3d4bdd7
whb: Logging functions use less RAM at expense of binary size.
2017-08-28 06:59:32 +09:30
CreeperMario
40ff966159
Re-organise .gitmodules file
2017-08-27 19:16:37 +09:30
CreeperMario
d44b7f774e
Update cppformat v2 to fmtlib v4
...
* I did this mainly to remove some build warnings that were showing up
in cppformat v2 underneath clang (the default macOS compiler)
* At this point, WUT will build on macOS with no warnings whatsoever.
2017-08-27 18:41:08 +09:30
CreeperMario
5829abb4ef
crt: Suppress warnings for pointer logic
2017-08-27 17:06:02 +09:30
CreeperMario
75bb7b5d10
whb: Rename "socketinit" to "libmanager"
2017-08-20 20:36:48 +09:30
CreeperMario
a2247e7b1e
whb: Add simplistic socket library manager.
...
* This manager counts how many times the program has requested the
socket library be initialized, so that the socket library is not
mistakenly closed while other things are still using sockets.
* WHBInitializeSocketLibrary will call socket_lib_init() and also keep a
count on how many times it has been called.
* WHBDeinitializeSocketLibrary will call socket_lib_finish(), but only
if it has been called as many times as WHBInitializeSocketLibrary.
2017-08-20 19:16:27 +09:30
CreeperMario
20c7dbf2fb
whb: Add ability to remove logging functions
...
* WHBRemoveLogHandler will look through the "registry" of logging
functions, and will set the entry to NULL if it matches what the user
passes.
* WHBLogUdpDeinit will correctly close the socket and shut down the
socket library in addition to removing its entry in the registry.
2017-08-20 18:17:07 +09:30
CreeperMario
ac4ce95f84
udplogserver: Flush output buffer when sent a message
...
* Because we are no longer adding a new line, which automatically
flushes the buffer.
2017-08-20 17:51:45 +09:30
CreeperMario
45f3cd71ab
whb: Modification of logging functions
...
* WHBLogPrint and WHBLogPrint have been renamed to WHBLogWrite and
WHBLogWrite respectively.
* WHBLogPrint and WHBLogPrintf have been re-implemented to automatically
add a new line to the end of the string, and then send the string to
WHBLogWrite.
2017-08-20 16:57:43 +09:30
CreeperMario
84d1957066
udplogserver: Do not automatically add a new line to log outputs.
2017-08-19 21:23:20 +09:30
James
dd73b95579
Merge pull request #56 from CreeperMario/unrelated-fixes
...
Various small fixes
2017-08-06 17:52:14 +01:00
CreeperMario
90d13e5708
libwhb: Add a simplistic Cafe Log handler
2017-08-06 17:42:43 +09:30
CreeperMario
c0c1faa1e9
libwhb: Initialize FSCmdBlock in WHBUnmountSdCard
2017-08-06 17:11:15 +09:30
CreeperMario
492bad4382
crt: **Really** fix newlib lock
2017-08-06 16:56:17 +09:30
James Benton
96b24236f1
Fix newlib lock
2017-07-03 15:43:53 +01:00
James Benton
6bc6534a9f
whb: Fix GPU hang reset.
2017-06-02 14:37:58 +01:00
James Benton
574eeef4f0
whb: Use OSGetTitleID to check if we were launched from WHB.
2017-06-02 14:37:58 +01:00
James
d796876a35
Update README.md
2017-06-02 13:59:20 +01:00
James Benton
c265a9f4db
Fix udplogserver Linux build
2017-06-02 13:54:55 +01:00
James Benton
e0f1b03edf
Add .travis.yml
2017-06-02 13:49:41 +01:00
James
8b4816d6f4
Update README.md
2017-06-02 13:32:58 +01:00
James Benton
04ec3338b7
appveyor: pls
2017-06-02 13:28:31 +01:00
James Benton
c2b09a3a28
appveyor: pls
2017-06-02 13:23:54 +01:00
James Benton
6a02035b2a
appveyor: Change build to build_script
2017-06-02 13:22:12 +01:00
James Benton
bfaf5382a0
Add appveyor.yml
2017-06-02 13:20:19 +01:00
James Benton
11940e076c
Update triangle sample.
...
Still doesn't render correctly on hardware - will lead to the GPU hanging,
maybe something wrong with our custom compiled shader.
2017-06-02 11:55:36 +01:00
James Benton
43e1b0ab4f
Add UDP log server.
2017-06-02 11:52:30 +01:00
James Benton
d28f2f0a7a
Fix formatting.
2017-06-02 11:50:57 +01:00
James Benton
0239462847
nsysnet: Add defines for UDP broadcast.
2017-06-02 11:50:43 +01:00
James Benton
ee9bd49c34
whb: Handle GPU hangs by resetting the GPU on shutdown.
...
So your application will exit cleanly even when you break the GPU.
2017-06-02 11:50:12 +01:00
James Benton
2c18b246ae
whb: Fix proc to better support HBL launched applications.
...
Should exit cleanly to HBL now.
TODO: Is it possible to auto detect if we were launched from HBL?
2017-06-02 11:48:59 +01:00
James Benton
79345f239f
whb: Add crash handler based off the one in coreinit.
...
Although I'm not convinced it's actually working... yet.
2017-06-02 11:47:28 +01:00
James Benton
b79a58dec2
whb: Add SD card mounting support.
2017-06-02 11:46:31 +01:00
James Benton
fb325ec894
whb: Add UDP logging support.
2017-06-02 11:46:15 +01:00
James Benton
fb38792da9
whb: Add missing include to gfx.h
2017-06-02 11:44:04 +01:00
James Benton
c81a06048f
gfd: Add GFDGetLastErrorString.
2017-06-02 11:43:41 +01:00
James Benton
2100cea176
coreinit: Add OSGetSymbolName, OSGetUPID.
2017-06-02 11:42:42 +01:00
James Benton
5a07bf6c1d
coreinit: Add DisassemblePPCRange.
2017-06-02 11:42:24 +01:00
James Benton
46b3c9c7e0
coreinit: Add OSEnableHomeButtonMenuhome button menu and OSIsHomeButtonMenuEnabled.
2017-06-02 11:41:54 +01:00
James Benton
a2cf3837a3
coreinit: Fix type from uint8_t * to void * in MEMExpHeap functions.
2017-06-02 11:41:03 +01:00
James Benton
c83ff22780
coreinit: Move OSContext to context.h
2017-06-02 11:40:41 +01:00
James Benton
cef331cc09
whb: Add GFD texture loading with WHBGfxLoadGFDTexture, WHBGfxFreeTexture.
2017-05-28 12:01:06 +01:00
James Benton
3c47d28082
whb: Fix missing includes.
2017-05-28 12:01:06 +01:00
James Benton
bb05542e60
gx2r: Fix GX2R allocated memory flag.
2017-05-28 12:01:06 +01:00
James Benton
bd59620c56
gx2: Add GX2RResourceFlags to GX2Surface.
2017-05-28 12:01:06 +01:00
James Benton
576ab3fe4d
coreinit: Fix missing threadqueue.h include in messagequeue.h
2017-05-26 18:24:14 +01:00