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
5 years ago
reuk
ac612693aa
NamedPipe: Fix potential vptr data-race in unit tests
5 years ago
reuk
389e7436ef
IPC: Add some missing locks in native NamedPipe implementations
5 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
6 years ago
ed
131d14d5c2
Fixed MinGW compile error
6 years ago
ed
170ec47a5e
Windows: Fix compatibility with MinGW
6 years ago
ed
b857f965ce
Replaced select() calls with poll()
6 years ago
jules
df28d11069
Added a method URL::getParentURL()
6 years ago
ed
650ddb4f01
Use invalidSocket in a few more places in juce_Socket.cpp
6 years ago
ed
1baa825f2c
Set socket blocking state to match blockUntilSpecifiedAmountHasArrived argument value in read()
6 years ago
ed
34dc1eccda
Made StreamingSocket::isListener member atomic
6 years ago
Tom Poole
79d3e8b3f5
Windows: Removed some VS2013 workarounds
6 years ago
Tom Poole
5935040d78
Fixed a crash when fetching large content in URL::FallbackDownloadTask
6 years ago
ed
c429bf53ce
Removed some unnecessary static_casts in the URL class
6 years ago
jules
6b82c964cd
Refactored AudioPluginFormat::createPluginInstance to use lambdas for the callback
6 years ago
jules
0fb8c8e82a
Added handy new function parseXMLIfTagMatches(), and refactored a lot of old code that was parsing XML in a more clunky way
6 years ago
jules
2e2cfb5f6c
Made a lot of the functions that used to return a raw XmlElement* instead return a std::unique_ptr<XmlElement> to make it safer and more concise to capture them. Also added new methods to XmlElement for generating text, and deprecated the old ones
7 years ago
Tom Poole
b59fa68724
Fixed some compiler warnings
6 years ago
James Hurst
60f58be769
Added a method to return query parameters as a URL encoded string, and to optionally include these in getSubPath
6 years ago
ed
497a1b3fb7
Added juce_UnitTestCategories.h to replace raw strings used for test categories
6 years ago
ed
f3af250ff7
Tidied up unit test code layout
6 years ago
ed
aa498afce2
Call Thread::stopThread() in NamedPipeThread's destructor to fix an assertion when running the NamedPipe unit tests
6 years ago
ed
08807df47b
Allow valid socket handles of 0 in StreamingSocket and DatagramSocket, add some unit tests and some minor docs cleanup
6 years ago
Tom Poole
168188665e
Added a couple of missing JUCE_API macros
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
ed
3661d928c1
Added a URL::DownloadTask::getTargetLocation() method so the target file can be retrieved in the DownloadTask::Listener callbacks
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
7 years ago
hogliux
85ec71d6e4
Fixed an issue where file URIs on Windows would not be parsed correctly
7 years ago
ed
acd3c0b8ee
Fixed some Objective-C id -> auto* conversion warnings
7 years ago
jules
14989b6eda
Minor tidy-up to IPAddress
7 years ago
jules
6fda0bffca
Fixed some stray zeros that were still being passed as null pointers
7 years ago
jules
302019dd43
Tidied up some comments and usage of File::createOutputStream() and createInputStream()
7 years ago
Tom Poole
05f49bab50
Fixed an issue when connecting to a non-existent NamedPipe
7 years ago