attila
d98a0bc233
Fix MinGW warning
1 year ago
Attila Szarvas
62bba21655
Add SocketOptions and avoid reducing the system default buffer sizes
This change affects the DatagramSocket and StreamingSocket classes.
1 year ago
Tom Poole
6bf9bb9a2e
Add final specifiers in implementation files
1 year ago
Tom Poole
4153d59e39
Formatting
1 year ago
reuk
a5b74332c2
WebInputStream: Report all headers
Status codes are already filtered in curlHeaderCallback, so there's no
need to remove them again in parseHttpHeaders. Request headers will
never include a status, so there's no need to remove the status in that
case.
1 year ago
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]]
2 years ago
hogliux
0e20a6fdc5
URL: Add support for anchors in URLs
2 years ago
reuk
8b8ae10059
Build: Replace JUCE_NODISCARD with [[nodiscard]]
2 years ago
reuk
6e7a2c3225
AndroidDocument: Support file access to shared storage locations on Android 30+
3 years ago
reuk
b17806fbfc
AndroidDocument: Support file access to shared storage locations on Android 30+
3 years ago
reuk
19ddbe2368
Warnings: Fix missing-prototypes warnings
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
ebac835673
Fix some deprecation warnings
3 years ago
reuk
b80927fc91
Nodiscard: Add to builder-pattern functions
3 years ago
reuk
6244fc293f
CharacterFunctions: Avoid UB when parsing hex strings
6 years ago
ed
b9542ccc4c
Update code to use C++14 [[deprecated]] attribute
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
3 years ago
Tom Poole
2c8ec9dae1
Fix a documentation typo
3 years ago
reuk
f87582a013
URL: Allow specifying shared container for downloads on iOS
3 years ago
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
4 years ago
ed
0fc1ede50f
Used MemoryBlock::isEmpty() in a few places
4 years ago
Tom Poole
79fbde7099
Added preliminary support for FreeBSD
4 years ago
ed
65bdf50d93
Docs: Fixed a typo in the docs for WebInputStream::Listener::postDataSendProgress()
4 years ago
ed
77d4ac7242
URL: Fixed backwards compatibility of URL::createInputStream() when specifying a POST-like request with parameters and no POST data
4 years ago
ed
fa8c446d0c
URL: Added InputStreamOptions and enable POST data to be sent with URL-encoded parameters.
- Added a new URL::createInputStream() overload that takes an InputStreamOptions helper class to simplify stream creation.
- Modified the internals of URL and WebInputStream so that parameters are only added to the request body when ParameterHandling is set to inPostData. This allows POST data to be added via URL::withPOSTData() and sent with URL-encoded parameters.
4 years ago
ed
f9f0896bbb
Tidied up URL and WebInputStream docs
4 years ago
jules
a9b5fe3a39
Tweaks for emscripten support
4 years ago
reuk
c5136d28b7
NamedPipe: Avoid spurious test failures due to pipe name collisions
4 years ago
reuk
ac612693aa
NamedPipe: Fix potential vptr data-race in unit tests
4 years ago
reuk
389e7436ef
IPC: Add some missing locks in native NamedPipe implementations
4 years ago
ed
b5214a341e
Normalised lambda whitespace
5 years ago
reuk
092bc44413
MinGW: Fix windows/gcc warnings
5 years ago
reuk
e13901d912
ClangCl: Silence code which warns when building on Windows with Clang
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
ed
c2e3dcd8bf
Updated the documentation of some methods which now return std::unique_ptr instead of raw pointers to remove references to deleting the returned object
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
5f348c3040
Warnings: Add warning-wrangling header
5 years ago
ed
4a5dda489f
Fixed some warnings with -Wconversion enabled
5 years ago
reuk
a9492679da
URL: Make downloadToFile return unique_ptr
5 years ago
reuk
5af01b9b16
Demos: Convey proper ownership semantics
5 years ago
ed
e36736e0ec
Fixed some typos
5 years ago
ed
570323daa5
Windows: Removed WSAPoll from the Socket classes as it does not report failed connections
5 years ago
ed
eb780b56b8
Windows: Dynamically load WSAPoll method from Ws2_32.dll to restore compatibility with older Windows versions
5 years ago
Tom Poole
ee4ec266e6
URL: Fixed an issue closing completed download tasks
5 years ago
ed
131d14d5c2
Fixed MinGW compile error
5 years ago
ed
170ec47a5e
Windows: Fix compatibility with MinGW
5 years ago
ed
b857f965ce
Replaced select() calls with poll()
5 years ago
jules
df28d11069
Added a method URL::getParentURL()
5 years ago
ed
650ddb4f01
Use invalidSocket in a few more places in juce_Socket.cpp
5 years ago
ed
1baa825f2c
Set socket blocking state to match blockUntilSpecifiedAmountHasArrived argument value in read()
5 years ago
ed
34dc1eccda
Made StreamingSocket::isListener member atomic
5 years ago