Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL3_net redesign #79

Merged
merged 43 commits into from
Sep 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
48535ac
Delete literally everything.
icculus Jul 18, 2023
b595e79
First shot at an SDL3_net API and implementation! WIP!
icculus Jul 18, 2023
bd4b97a
Corrected SDLNet_Address::status comment.
icculus Aug 13, 2023
3dadbda
SDLNet_WaitForResolution should call SDLNet_GetAddressStatus after bl…
icculus Aug 13, 2023
7f5e542
SDLNet_RefAddress should return the address, for convenience.
icculus Aug 13, 2023
b359745
Added SDLNet_CompareAddresses.
icculus Aug 13, 2023
b4f722e
MakeAddrWithPort: don't specify protocol.
icculus Aug 13, 2023
43cd801
SDLNet_GetMaxDatagramSize() was removed, take it out of the headers.
icculus Aug 13, 2023
f25a03c
Forgot to increment references on cached addresses in ReceiveDatagram.
icculus Aug 13, 2023
3c57166
Added an example VoIP group chat program.
icculus Aug 13, 2023
d2b84e2
voipchat: don't simulate DNS failure.
icculus Aug 13, 2023
b168ca0
Make compatible with Windows + build everything with Cmake
madebr Aug 14, 2023
59b7d1b
ci: add minimum github workflow
madebr Aug 14, 2023
19b0a13
Patched to compile on some compilers.
icculus Aug 14, 2023
c0be7a6
Patched to compile with Visual Studio.
icculus Aug 14, 2023
a9e4732
windows: Don't include windows.h directly, note we need Vista-level A…
icculus Aug 14, 2023
fde0026
Rename SDLNet_WaitForServerIncoming to SDLNet_WaitForClientConnection.
icculus Aug 23, 2023
23e61ed
voipchat: Updated for SDL3 audio API changes.
icculus Sep 11, 2023
6e8719a
Changed Wait functions.
icculus Sep 11, 2023
2340b90
Fixed function name.
icculus Sep 11, 2023
ed8f7fd
Added simple-http-get example program.
icculus Sep 11, 2023
fdb367a
Added resolve-hostnames example program.
icculus Sep 11, 2023
c7a74f3
Cleaned up error management to be Windows-friendly.
icculus Sep 24, 2023
c3f91ff
Unified sockaddr->SDLNet_Address code, implemented SDLNet_GetLocalAdd…
icculus Sep 24, 2023
f7e989e
Windows needs to link against iphlpapi system library (for now, at le…
icculus Sep 24, 2023
69f7507
cmake: Patched to compile on macOS.
icculus Sep 24, 2023
ebe934a
Allow library to init multiple times.
icculus Sep 24, 2023
9a4e171
Better error message setting for SDLNet_GetAddressString.
icculus Sep 26, 2023
ea878c0
SDLNet_GetLocalAddresses now accepts a NULL argument.
icculus Sep 26, 2023
18f7980
Wrote real API documentation and adjusted a few function names.
icculus Sep 26, 2023
a3e8f14
cmake: update cmake + VC build system
madebr Sep 26, 2023
cc307c2
voipchat: Clamp datagram payload to 1200 instead of 1500.
icculus Sep 27, 2023
cbe7b71
Fixed signed/unsigned comparison warnings.
icculus Sep 27, 2023
8c9e027
WinSock `write` implementation should take a `const void *` buffer, n…
icculus Sep 27, 2023
386d5b1
Try to only define `_WIN32_WINNT` if necessary.
icculus Sep 27, 2023
65b16bf
WinSock recvfrom needs a `char *` buffer, not `void *`.
icculus Sep 27, 2023
c02e699
cmake: Enable warnings-as-errors.
icculus Sep 27, 2023
f26495d
.wikiheaders-options: fix `wikisubdir` to point to "SDL3_net"
icculus Sep 28, 2023
fc265ae
Move `_WIN32_WINNT` check to top of SDL_net.c
icculus Sep 28, 2023
91a086d
cmake: pass revision to wikiheaders.pl to avoid executing git
madebr Sep 29, 2023
9e3b6d7
VisualC: fix MSVC project + tests
madebr Sep 29, 2023
0df43d7
SDL_net.h: Let wikiheaders reformat the API documentation comments.
icculus Sep 30, 2023
1fb54e4
Fixed some Visual Studio compiler warnings.
icculus Sep 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
81 changes: 0 additions & 81 deletions .clang-format

This file was deleted.

45 changes: 0 additions & 45 deletions .editorconfig

This file was deleted.

40 changes: 0 additions & 40 deletions .github/fetch_sdl_vc.ps1

This file was deleted.