summaryrefslogtreecommitdiffstats
path: root/platform/javascript/http_client_javascript.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-22/+0
| | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* Port member initialization from constructor to declaration (C++11)Rémi Verschelde2020-05-141-9/+1
| | | | | | | | | | Using `clang-tidy`'s `modernize-use-default-member-init` check and manual review of the changes, and some extra manual changes that `clang-tidy` failed to do. Also went manually through all of `core` to find occurrences that `clang-tidy` couldn't handle, especially all initializations done in a constructor without using initializer lists.
* Replace NULL with nullptrlupoDharkael2020-04-021-2/+2
|
* Fix Javascript platform after PoolVector removal.Fabio Alessandrelli2020-03-081-17/+6
| | | | Eval should be rechecked.
* PoolVector is gone, replaced by VectorJuan Linietsky2020-02-181-16/+16
| | | | | Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
* Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* Add download_chunk_size property to HTTPRequest.Fabio Alessandrelli2019-11-241-0/+4
| | | | | | This allows setting the `read_chunk_size` of the internal HTTPClient. This is important to reduce the allocation overhead and number of file writes when downloading large files, allowing for better download speed.
* Replace 'ERR_EXPLAIN' with 'ERR_FAIL_*_MSG' in "platform", ↵Robin Hübner2019-08-091-8/+4
| | | | "modules/gdnative", "modules/gdscript" directories.
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fix compiler warnings in HTML5 platformLeon Krause2018-10-021-1/+5
|
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-1/+1
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Fix bug in HTML5 HTTPClient.Fabio Alessandrelli2018-03-301-1/+1
| | | | | The URL parameter already has a slash, adding an extra one results in an invalid resource path
* Flush HTTPClient response data only on request/close in HTML5 platformLeon Krause2018-02-171-2/+0
|
* Warn when polling HTTPClient synchronously in HTML5 platformLeon Krause2018-02-171-0/+19
|
* Disable insecure HTTP methods CONNECT and TRACE in HTML5 platformLeon Krause2018-02-171-0/+2
|
* Fix HTML5 HTTPClient response header retrievalLeon Krause2018-02-161-2/+4
|
* Fix HTML5 HTTPClient failure detectionLeon Krause2018-02-161-11/+7
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-1/+2
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fix javascript build error and improve #14604Fabio Alessandrelli2017-12-151-3/+3
|
* HTTP cleanup & better defaultsmhilbrunner2017-12-141-15/+20
|
* Implement HTTPClient in HTML5 platformLeon Krause2017-11-131-0/+282
Limitations: - Subject to same-origin policy - No persistent connection (but simulated for compatibility) - No blocking mode - No StreamPeer access - No chunked responses - Cannot disable host verification