-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Stream::send() #6979
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
Merged
Merged
Stream::send() #6979
Changes from 1 commit
Commits
Show all changes
328 commits
Select commit
Hold shift + click to select a range
c28e50f
wip
d-a-v b2dfcfa
back to 2.7.0-dev
d-a-v 5235e73
Merge branch 'master' into bstream2
d-a-v f5cdd10
wip
d-a-v c3148c4
fix
d-a-v 40b782c
wip
d-a-v 08fe86e
Merge branch 'master' into bstream2
d-a-v 643dd6d
fixes
d-a-v 07b52b5
missing file
d-a-v 429ba2f
wip
d-a-v 64c2656
wip
d-a-v 6b14a13
peekbuffer for ssl
d-a-v 32f8871
small fix in device test
d-a-v 90daea7
Merge branch 'master' of https://github.com/esp8266/Arduino
d-a-v cf892fd
Merge branch 'master' into bstream2
d-a-v c0f4a16
Merge branch 'master' into bstream2
d-a-v dfa48c6
clean httpclient
d-a-v e521195
remove debug print
d-a-v 8d3e51f
comments
d-a-v 3345ef1
further cleaning
d-a-v 7cd36a9
fix api change
d-a-v a5658fe
fix api
d-a-v 92c99f2
Merge branch 'master' into bstream2
d-a-v 474d5a1
comments
d-a-v 314da51
Merge branch 'master' into bstream2
d-a-v 5d4a507
fix HTTPClient merge
d-a-v d20e867
reduce diff
d-a-v 630b6b6
various fixes
d-a-v 3edf028
fix httpclient error handling
d-a-v ac86464
Merge branch 'bstream2' of github.com:d-a-v/Arduino into bstream2
d-a-v 03519da
fix
d-a-v bc2b59a
Stream::to(): changed argument order
d-a-v 72c3237
update echo example
d-a-v 7db503a
fix example
d-a-v 048aecf
fix so device on host test works again
d-a-v 58a6257
fix comments and readUntilChar behaviour
d-a-v fd32e65
overload with ::to(ref), missing license, minor details
d-a-v e8ffe6d
Merge branch 'master' into bstream2
d-a-v e480ea5
fix debug print
d-a-v 15ab6cf
fix host test
d-a-v 9dcc444
Merge branch 'streamto' of github.com:d-a-v/Arduino into streamto
d-a-v 3b7effe
Merge branch 'master' into bstream2
d-a-v e84d9f5
Merge branch 'master' into bstream2
d-a-v beee304
Merge branch 'bstream2' of github.com:d-a-v/Arduino into bstream2
d-a-v 0d6a4af
Merge branch 'master' into bstream2
d-a-v 2036749
+ Stream serializer
d-a-v 5e7c448
wip
d-a-v afc2494
Fix/enable UDP packet reassembly
szekelyisz dd45763
Merge branch 'master' into bugfix-ip-reassembly
szekelyisz 4196458
Provide pbuf_get_contiguous for backwards compatibility with LwIP 1.4
szekelyisz f7af80b
Merge changes from remote (commits from Github web interface)
szekelyisz d69028c
Merge branch 'pr-7036-udpfix' into bstream2
d-a-v 34a6d00
httpserver: sendContent(Stream) (sub-streams as http-chunks)
d-a-v b3c1e27
Merge branch 'master' into bstream2
d-a-v 4071398
sdfat incompatible with `ssize_t size()`, rename to streamSize
d-a-v 0c3a372
Merge branch 'master' into bstream2
d-a-v 820acf0
fix stream api use
d-a-v 8e44e02
Merge branch 'master' into bstream2
d-a-v d44a839
Merge branch 'bstream2' of github.com:d-a-v/Arduino into bstream2
d-a-v 0e29771
Merge branch 'master' into bstream2
d-a-v df38f89
Merge branch 'master' into bstream2
d-a-v 1c1bd76
Merge branch 'master' into bstream2
d-a-v 2b637ae
Merge branch 'master' into bstream2
d-a-v 4ccc136
Merge branch 'master' into bstream2
d-a-v 5577b32
Merge branch 'master' into bstream2
d-a-v db62df4
Merge branch 'master' into bstream2
d-a-v ec3ffe0
Merge branch 'master' into bstream2
d-a-v fb2c546
Merge branch 'master' into bstream2
d-a-v 99740f8
expose hidden WebServer's chunked API
d-a-v fee1307
expose hidden WebServer's chunked API
d-a-v cc3e01c
expose hidden WebServer's chunked API
d-a-v caa8f2c
Merge branch 'master' into bstream2
d-a-v cee7631
Merge branch 'chunckedApi' into bstream2
d-a-v 968e74f
Merge branch 'master' into bstream2
d-a-v 18a842c
Merge branch 'master' into bstream2
d-a-v 0bfc6e9
Merge branch 'master' into bstream2
d-a-v 9387a25
move ESP.getCpuFreqMHz to features
d-a-v a6f9518
Merge branch 'master' into bstream2
d-a-v dca0561
Merge branch 'master' into bstream2
d-a-v fef29c9
Merge branch 'master' into bstream2
d-a-v fe9c0a1
Merge branch 'master' into bstream2
d-a-v 66ab5bd
Merge branch 'master' into bstream2
d-a-v 957bb36
Merge branch 'master' into bstream2
d-a-v ef587f5
Merge branch 'master' into bstream2
d-a-v 09fd253
Merge branch 'master' into bstream2
d-a-v 7027de6
Merge branch 'master' into bstream2
d-a-v 0ee1c96
fix last merge
d-a-v 88264aa
Merge branch 'master' into bstream2
d-a-v f788e52
Merge branch 'master' into bstream2
d-a-v d005bbf
Merge branch 'master' into bstream2
d-a-v 225b7c6
Merge branch 'master' into bstream2
d-a-v fac8992
Merge branch 'master' into bstream2
d-a-v 0a540a6
Merge branch 'master' into bstream2
d-a-v 6898f5e
Merge branch 'master' into bstream2
d-a-v 679134c
wip api
d-a-v dc30f67
api wip
d-a-v 13e8512
wip
d-a-v b5ced49
size_t read() -> int read() / to() -> toNow/toUntil/toSize
d-a-v 51b6961
Merge branch 'master' into bstream3
d-a-v 3f9d4cc
streamstring helper
d-a-v b80bfff
fixes
d-a-v d62c719
make string_is_Stream optional
d-a-v 192faab
enable string is stream
d-a-v 951737c
stream::to(): templates allowing passing reference, fixes
d-a-v ca27dd7
wwwserver: parsing: use stream::to
d-a-v 59da9a4
Merge branch 'master' into bstream2
d-a-v 1ce2351
replace datasource by stream (less fragmentation)
d-a-v 84a3137
fix comments, fix mock
d-a-v dfb39ca
simplify webserver
d-a-v ceaaf18
fix debug message
d-a-v 0e443d0
Merge branch 'master' into bstream2
d-a-v 42ffd6f
fix debug msg
d-a-v feaccaa
fix webserver bug
d-a-v 580d553
Merge branch 'master' into bstream2
d-a-v 4d2ce85
Merge branch 'master' into bstream2
d-a-v bf9ad75
remove comment
d-a-v cdd72f9
define indicating a breaking change
d-a-v b69bf75
Merge branch 'master' into streamto
d-a-v 3350923
temporarily use an updated softwareserial
d-a-v f0483e1
CI: on host: force 64 bit mode like `make -j2 CI` implicitly does
d-a-v 9b21424
Merge branch 'master' into streamto
d-a-v 443f5b4
Merge branch 'ci64' into streamto
d-a-v f290fd5
fix CI
d-a-v 4ba0805
Merge branch 'master' into streamto
d-a-v 55bb160
stick to arduino, per review
d-a-v ce3c922
python echo client
d-a-v bc29fe6
improve echo server
d-a-v dd947c8
mock: hide debug message
d-a-v 81f2d6f
style
d-a-v f85ddbb
improve python echo client
d-a-v 1fd80d1
httpclient: fix when string is not stream
d-a-v e96f80d
restore streamstring.cpp when string is not stream
d-a-v 36a0ddc
Merge branch 'master' into streamto
d-a-v 10e86ad
missing overrides
d-a-v 915647a
::readBytesUntil() swallows but not transfers the delimiter: fix ::to…
d-a-v dc7021e
Merge branch 'master' into streamto
d-a-v a2cb9b1
rework StreamString
d-a-v 9021ed8
rewrite StreamString (wip)
d-a-v b52e61b
ditto
d-a-v 46808cc
ditto
d-a-v 5f80dce
properly reset peekpointer in StreamString
d-a-v 143f2d6
Merge branch 'master' into bstream2
d-a-v f692c09
fixes, device test, (=) example
d-a-v ff1ea5b
stream: test: show 0 heap occupation with streaming progmem strings
d-a-v 0437782
Merge branch 'master' into bstream2
d-a-v 3745126
Merge branch 'master' into bstream2
d-a-v ddb7242
doc
d-a-v dcb1085
doc
d-a-v 45f7f6c
doc
d-a-v e47c162
doc
d-a-v d4f32af
doc
d-a-v ef998c0
doc
d-a-v 39f6f56
doc
d-a-v 815b82c
Merge branch 'master' into streamto
d-a-v d85f50f
Merge branch 'bstream2' into streamto
d-a-v 112313d
fix transition from String as Stream to S2Stream
d-a-v a378aff
doc
d-a-v f9a5f18
fix webserver::sendContent API
d-a-v 6d84820
update doc
d-a-v 9bc8146
StreamString's read by default swallows the string (like legacy)
d-a-v a99c418
doc update
d-a-v 3699ad3
Merge branch 'master' into streamto
d-a-v 8e58e97
Merge branch 'master' into streamto
d-a-v b24b7ef
fix api
d-a-v ac223a9
Merge branch 'streamto' of github.com:d-a-v/Arduino into streamto
d-a-v 0eb0b55
fix <<
d-a-v d6c7203
Merge branch 'master' into streamto
d-a-v 9d90286
Merge branch 'master' into streamto
d-a-v 270ce0a
Merge branch 'master' into streamto
d-a-v f98e167
Merge branch 'master' into streamto
d-a-v 211c914
fix int/size_t changes in Netdump
d-a-v c56e533
Merge branch 'master' into streamto
d-a-v 8268807
fix emulation on host
d-a-v d5d2ee5
Merge branch 'master' into streamto
d-a-v 9eca03c
sync with master
d-a-v 0901039
Merge branch 'master' into streamto
d-a-v 68aa236
Merge branch 'master' into streamto
d-a-v 2e9d1a0
Merge branch 'master' into streamto
d-a-v 8e350e0
Merge branch 'master' into streamto
d-a-v c7fae60
Merge branch 'master' into streamto
d-a-v e24e26c
update softserial
d-a-v f314946
Merge branch 'master' into streamto
d-a-v cde30e4
uodate SoftwareSerial
d-a-v d95ddf2
Merge branch 'master' into streamto
d-a-v 44e585f
Merge branch 'master' into streamto
d-a-v 6b7c344
Merge branch 'master' into streamto
d-a-v b31ec10
Merge branch 'master' into streamto
d-a-v e326b0a
Merge branch 'master' into streamto
d-a-v 0f5d283
sserial update
d-a-v 06f93a0
Merge branch 'master' into streamto
d-a-v ca821a9
replace "periodicFastMs yieldNow(5)" by optimistic_yield(1000)
d-a-v 3a308c2
style
d-a-v afd5954
availableForPeek => peekAvailable
d-a-v e786a13
remove user-obfuscating "in_flash" parameter
d-a-v 5e4342d
fix byte-addressible address
d-a-v ad580e0
uses system constants instead of numerical constants
d-a-v 8e064be
good practice: add '__' in front of internal function name
d-a-v 93c8cc7
doc update, removed "propose"
d-a-v 30be04c
rename: ::to => ::send
d-a-v c94ba0b
properly invalidate ssl buffer after consuming some data
d-a-v 31e3c39
more rename: ::to => ::send
d-a-v da1f96d
fix api in example&test
d-a-v 531d794
remove useless constant
d-a-v cd3caad
sync w/ upstream SoftwareSerial
d-a-v 746fcd2
Merge branch 'master' into streamto
d-a-v 7b35d70
update comment
d-a-v 21a50ed
remove useless comment
d-a-v 92a6302
addressible => addressable
d-a-v 41d1868
rename private variable (_x => _zero)
d-a-v abca00b
fix licences
d-a-v 3c1e104
typo in tests
d-a-v 4779433
Merge branch 'master' into streamto
d-a-v 84d8bc6
define STREAMSEND_API globally (for checking on its presence)
d-a-v 592b440
::streamSize => ::streamRemaining
d-a-v 2783c19
::peekBufferAPI() => ::hasPeekBufferAPI()
d-a-v da1240a
{input,output}TimeoutPossible => {input,output}CanTimeout
d-a-v 5ab7415
::sendNow() => ::sendAvailable() + fix doc
d-a-v b70a002
removed StreamPr::StreamPtr(String)
d-a-v 395dae3
reenable StreamPtr(const String &)
d-a-v 9035f51
add comments to StreamString example
d-a-v 94e8d60
rename ::reset() to ::resetPointer() in StringPtr and S2Stream
d-a-v 36a6bce
rename StreamPtr:: to StreamConstPtr::
d-a-v 711bfe8
rename getLastSendReport => getLastSendResult
d-a-v dae26cb
remove useless cast
d-a-v e1e6fdb
remove another useless cast
d-a-v 784771c
32767->maxInt16
d-a-v 908f980
remove comment
d-a-v b73a9ca
typo in doc
d-a-v e0084f3
typo in doc
d-a-v 44fb378
doc: insist on reference implementation
d-a-v 3be63d5
english
d-a-v e299474
english
d-a-v 085dbd2
SSEND2HTTPC() => StreamReportToHttpClientReport()
d-a-v 354288b
changed the report enum to a class enum
d-a-v c223265
rename StreamDev.cpp -> StreamSend.cpp
d-a-v 756ca72
split Stream::StreamSend()
d-a-v 747a1a9
rename StreamDev.cpp -> StreamSend.cpp
d-a-v bfe7ee7
style
d-a-v c0a1c38
Merge branch 'master' into streamto
d-a-v 1188958
replace sendcontent()/template by proper sendcontent(ref)
d-a-v bfad4fc
check for outputCanTimeout() on right stream
d-a-v 70eb9e8
webserver: check/print in debug mode
d-a-v d32361c
Merge branch 'master' into streamto
d-a-v e88d21e
fix variable type
d-a-v 594d77b
bugfix: avoid using peekBuffer API when not available
d-a-v b4ca0dd
use a constexpr for stack buffer size
d-a-v 81290b6
update messages and python code in wifiecho example
d-a-v 32eb9bf
constexpr are static in classes
d-a-v f0498b5
fix by @devyte's internal review:
d-a-v fd5f282
Merge branch 'master' into streamto
earlephilhower File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
various fixes
- Loading branch information
commit 630b6b60c423ab7a15acc3882b212b6736c46ff7
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.