1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00
Commit graph

211 commits

Author SHA1 Message Date
ed
65bdf50d93 Docs: Fixed a typo in the docs for WebInputStream::Listener::postDataSendProgress() 2021-03-24 08:58:00 +00:00
ed
77d4ac7242 URL: Fixed backwards compatibility of URL::createInputStream() when specifying a POST-like request with parameters and no POST data 2021-03-15 09:58:09 +00:00
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.
2021-03-12 16:23:59 +00:00
ed
f9f0896bbb Tidied up URL and WebInputStream docs 2021-03-12 16:21:00 +00:00
jules
a9b5fe3a39 Tweaks for emscripten support 2021-02-08 09:59:46 +00:00
reuk
c5136d28b7 NamedPipe: Avoid spurious test failures due to pipe name collisions 2020-11-24 14:45:50 +00:00
reuk
ac612693aa NamedPipe: Fix potential vptr data-race in unit tests 2020-11-23 13:46:06 +00:00
reuk
389e7436ef
IPC: Add some missing locks in native NamedPipe implementations 2020-11-23 12:45:36 +00:00
ed
b5214a341e Normalised lambda whitespace 2020-06-05 09:37:56 +01:00
reuk
092bc44413
MinGW: Fix windows/gcc warnings 2020-05-11 11:28:28 +01:00
reuk
e13901d912 ClangCl: Silence code which warns when building on Windows with Clang 2020-04-27 10:22:06 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
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 2020-04-23 17:08:29 +01:00
reuk
5f348c3040 Warnings: Add warning-wrangling header 2020-04-13 13:16:05 +01:00
ed
4a5dda489f Fixed some warnings with -Wconversion enabled 2020-03-17 09:02:57 +00:00
reuk
a9492679da URL: Make downloadToFile return unique_ptr 2020-03-13 11:25:40 +00:00
reuk
5af01b9b16 Demos: Convey proper ownership semantics 2020-03-12 18:30:45 +00:00
ed
e36736e0ec Fixed some typos 2020-01-06 14:04:16 +00:00
ed
570323daa5 Windows: Removed WSAPoll from the Socket classes as it does not report failed connections 2019-12-09 15:47:39 +00:00
ed
eb780b56b8 Windows: Dynamically load WSAPoll method from Ws2_32.dll to restore compatibility with older Windows versions 2019-12-09 11:45:32 +00:00
Tom Poole
ee4ec266e6 URL: Fixed an issue closing completed download tasks 2019-10-21 12:22:27 +01:00
ed
131d14d5c2 Fixed MinGW compile error 2019-10-11 09:57:14 +01:00
ed
170ec47a5e Windows: Fix compatibility with MinGW 2019-10-10 12:15:52 +01:00
ed
b857f965ce Replaced select() calls with poll() 2019-10-07 14:41:18 +01:00
jules
df28d11069 Added a method URL::getParentURL() 2019-09-16 14:56:44 +01:00
ed
650ddb4f01 Use invalidSocket in a few more places in juce_Socket.cpp 2019-09-05 09:08:34 +01:00
ed
1baa825f2c Set socket blocking state to match blockUntilSpecifiedAmountHasArrived argument value in read() 2019-08-29 12:09:29 +01:00
ed
34dc1eccda Made StreamingSocket::isListener member atomic 2019-08-05 09:57:56 +01:00
Tom Poole
79d3e8b3f5 Windows: Removed some VS2013 workarounds 2019-07-11 15:28:41 +01:00
Tom Poole
5935040d78 Fixed a crash when fetching large content in URL::FallbackDownloadTask 2019-06-28 12:52:36 +01:00
ed
c429bf53ce Removed some unnecessary static_casts in the URL class 2019-06-27 09:04:00 +01:00
jules
6b82c964cd Refactored AudioPluginFormat::createPluginInstance to use lambdas for the callback 2019-06-05 17:04:06 +01:00
jules
0fb8c8e82a Added handy new function parseXMLIfTagMatches(), and refactored a lot of old code that was parsing XML in a more clunky way 2019-05-19 08:16:27 +01:00
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 2019-05-09 10:51:19 +01:00
Tom Poole
b59fa68724 Fixed some compiler warnings 2019-05-01 11:55:33 +01:00
James Hurst
60f58be769 Added a method to return query parameters as a URL encoded string, and to optionally include these in getSubPath 2019-04-15 15:11:48 +01:00
ed
497a1b3fb7 Added juce_UnitTestCategories.h to replace raw strings used for test categories 2019-04-03 15:10:40 +01:00
ed
f3af250ff7 Tidied up unit test code layout 2019-04-02 11:54:29 +01:00
ed
aa498afce2 Call Thread::stopThread() in NamedPipeThread's destructor to fix an assertion when running the NamedPipe unit tests 2019-03-29 16:03:41 +00:00
ed
08807df47b Allow valid socket handles of 0 in StreamingSocket and DatagramSocket, add some unit tests and some minor docs cleanup 2019-03-27 15:02:36 +00:00
Tom Poole
168188665e Added a couple of missing JUCE_API macros 2019-02-11 14:50:20 +00:00
ed
a234721110 Added various clang-tidy modernize-* fixes 2019-01-31 15:15:31 +00:00
ed
3661d928c1 Added a URL::DownloadTask::getTargetLocation() method so the target file can be retrieved in the DownloadTask::Listener callbacks 2019-01-24 10:42:08 +00:00
jules
cadac817c6 Enabled some more warning flags in Xcode, and fixed the problems they caused 2019-01-11 09:52:10 +00:00
ed
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +00:00
hogliux
85ec71d6e4 Fixed an issue where file URIs on Windows would not be parsed correctly 2018-11-14 08:30:25 +00:00
ed
acd3c0b8ee Fixed some Objective-C id -> auto* conversion warnings 2018-10-24 16:20:45 +01:00
jules
14989b6eda Minor tidy-up to IPAddress 2018-10-15 10:06:36 +01:00
jules
6fda0bffca Fixed some stray zeros that were still being passed as null pointers 2018-10-05 12:15:04 +01:00
jules
302019dd43 Tidied up some comments and usage of File::createOutputStream() and createInputStream() 2018-10-04 11:29:55 +01:00