Skip to content
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

LEAmDNS v2 (optional) #1

Closed
wants to merge 142 commits into from
Closed

LEAmDNS v2 (optional) #1

wants to merge 142 commits into from

Commits on Dec 2, 2019

  1. LEAmDNS2 (Host Version)

    LaborEtArs committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    66e79bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9600318 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2019

  1. Second try :-)

    LaborEtArs committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    af3a877 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'LEAmDNS2' of https://github.com/LaborEtArs/Arduino into…

    … LEAmDNS2
    LaborEtArs committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    56015f4 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2020

  1. Configuration menu
    Copy the full SHA
    6e37ee3 View commit details
    Browse the repository at this point in the history
  2. Release 6.7.1 (esp8266#7034)

    dok-net authored and d-a-v committed Jan 25, 2020
    Configuration menu
    Copy the full SHA
    baf223c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0989932 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2020

  1. Made changes to include "ESP8266_" with ITEAD board names, `{build.bo…

    …ard}`, (esp8266#7024)
    
    as proposed by esp8266#6972 (comment).
    @ttytyper 's changes have been incorporate into this PR
    The build flag ARDUINO_SONOFF_... should now appear as ARDUINO_ESP8266_SONOFF_...
    @ttytyper, @mcspr, and @d-a-v thanks!
    mhightower83 authored and earlephilhower committed Jan 27, 2020
    Configuration menu
    Copy the full SHA
    0c6be9e View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2020

  1. Update LEAmDNS.cpp (fix issue esp8266#6982) (esp8266#7025)

    * Update LEAmDNS.cpp (issue esp8266#6982)
    
    Check m_pUDPContext before calling functions to reset WiFi event callbacks, stop probing ... to close esp8266#6982
    
    * Update LEAmDNS.cpp
    
    Co-authored-by: Earle F. Philhower, III <earlephilhower@yahoo.com>
    LeisureLadi and earlephilhower committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    7b0fa35 View commit details
    Browse the repository at this point in the history
  2. host build: optimistic_yield() wrongly delays() instead of avoiding e…

    …xcessive yields (esp8266#6802)
    
    * optimistic_yield is a yield, not a delay, and avoids yielding if last yield has occurred recently enough.
    
    * Suppress an unused argument warning.
    
    Co-authored-by: Earle F. Philhower, III <earlephilhower@yahoo.com>
    dok-net and earlephilhower committed Jan 28, 2020
    Configuration menu
    Copy the full SHA
    bb696dd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9e9515b View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2020

  1. Added dependencies for eboot.ld and Makefile to Makefile.

    Updated eboot.ld to not fill with zeros through the CS field
    on its way to the CRC.
    Added size test to elf2bin.py
    mhightower83 committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    fe7faf7 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2020

  1. Code size optimisation of ESP.getResetReason() (esp8266#7029)

    * Code size optimisation of ESP.getResetReason()
    
    doing if/else snakes for something that is a switch/case
    is wasteful, as it repeatedly evaluates the same if() condition.
    Also repeating strcpy_P is adding code bloat.
    
    This simplification reduces size from 111 to 41 bytes.
    
    * add break statement also to default case
    dirkmueller authored Jan 30, 2020
    Configuration menu
    Copy the full SHA
    a214180 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2020

  1. Update ESP8266HTTPClient.cpp (esp8266#7051)

    sendRequest has a major problem when sending a big payload, the comparator in the IF loop has its two operators changed, so the last part of payload is never sent
    ramirocarra authored Feb 1, 2020
    Configuration menu
    Copy the full SHA
    378c1f1 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2020

  1. add Low-Power demo (esp8266#6989)

    * add Low-Power demo
    Tech-TX authored Feb 2, 2020
    Configuration menu
    Copy the full SHA
    63b73bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d0316a1 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2020

  1. Added dependencies for eboot.ld and Makefile to Makefile. (esp8266#7047)

    Updated eboot.ld to not fill with zeros through the CS field
    on its way to the CRC.
    Added size test to elf2bin.py
    earlephilhower authored Feb 3, 2020
    Configuration menu
    Copy the full SHA
    6be5616 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2020

  1. Configuration menu
    Copy the full SHA
    14f6272 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2020

  1. Fix "improved_map" from Servo.cpp and use this is in core implementat…

    …ion.
    
    Greatly reduces error rate (half, or 0 zero errors, depends on in/out ranges) for round-trip mapping at the same performance.
    dok-net committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    5882902 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a8515a7 View commit details
    Browse the repository at this point in the history
  3. Fix optimistic_yield to not yield on every call after a loop runs for…

    … x us, but yield only every x us between optimistic_yield calls.
    dok-net committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    d6e603f View commit details
    Browse the repository at this point in the history
  4. Substitute micros() by CPU cycles - faster, but large values for inte…

    …rval_us can overflow - 26s at 160MHz CPU clock.
    dok-net committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    598361f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3d7423b View commit details
    Browse the repository at this point in the history
  6. Allow constexpr evalution to occur. optimistic_yield is always called…

    … with a literal parameter value.
    dok-net committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    3767791 View commit details
    Browse the repository at this point in the history
  7. Due to 3rd party use of symbol optimistic_yield without #include <Ard…

    …uino>, have to resort to preprocessor definition for inlining.
    dok-net committed Feb 5, 2020
    Configuration menu
    Copy the full SHA
    5544357 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8d2eca5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    50fab51 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2020

  1. Updated stack offsets for postmortem stack dump.

    Changed ets_putc to ets_uart_putc1 to better newline handling.
    mhightower83 committed Feb 7, 2020
    Configuration menu
    Copy the full SHA
    f45da1c View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2020

  1. Merge pull request esp8266#7066 from mhightower83/pr-postmortem-offse…

    …t-update
    
    Updated stack offsets for postmortem stack dump.
    earlephilhower authored Feb 8, 2020
    Configuration menu
    Copy the full SHA
    50a491b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd5cbae View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2020

  1. Merge pull request esp8266#7027 from dok-net/wmath_map

    Fix WMath's map() implementation for inverse/round-trip mapping
    earlephilhower authored Feb 9, 2020
    Configuration menu
    Copy the full SHA
    56b90a2 View commit details
    Browse the repository at this point in the history
  2. Use sprintf to output floats in Print/dtostrf

    Fixes esp8266#7043
    
    Two slightly different custom routines were implemented by hand in
    dtostrf (an AVR-lib non-ISO function) and Print.  This resulted in
    inconsistent output of float/double vars when rounding was needed.
    
    Replace them all with a call to sprintf(), removing the duplicated, not
    quite correct code.
    
    Print(String(float)) and Print(float) now generate the same output.
    earlephilhower committed Feb 9, 2020
    Configuration menu
    Copy the full SHA
    f762721 View commit details
    Browse the repository at this point in the history
  3. Fix serach order for index.htm(l)(.gz) files (esp8266#7069)

    Fixes esp8266#6984
    
    When a directory index is requested with an explicit index.html, follow
    the original webserver order and check for: index.htm, index.htm.gz,
    index.html, index.html.gz, in order.
    
    Fixes the regressions introduced in 9f2cfb8 and 6768116
    earlephilhower authored Feb 9, 2020
    Configuration menu
    Copy the full SHA
    dbd7b82 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0c1b6f9 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2020

  1. Merge pull request esp8266#7068 from earlephilhower/dtostrf_to_printf

    Use sprintf to output floats in Print/dtostrf
    earlephilhower authored Feb 10, 2020
    Configuration menu
    Copy the full SHA
    11ae243 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2020

  1. Configuration menu
    Copy the full SHA
    5efdc77 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2020

  1. Configuration menu
    Copy the full SHA
    c07a1fd View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2020

  1. Merge pull request esp8266#7085 from mhightower83/pr-bear-stack-dump

    Corrected stack start and end in stack_thunk_dump_stack().
    earlephilhower authored Feb 16, 2020
    Configuration menu
    Copy the full SHA
    321d256 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2020

  1. package builder: updates for alpha releases (esp8266#7088)

    allow versions 0.0.* to be special
    d-a-v authored Feb 17, 2020
    Configuration menu
    Copy the full SHA
    bc4f000 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2020

  1. lwip2 updates: no more git sub-sub-module deps, faster checksum, back…

    …log limitation and other fixes (esp8266#6887)
    
    * upstream lwIP is now downloaded by a makefile, not subsubmoduled
    
    * lwip2: upstream lwIP not sub-sub-modules anymore
    lwip2: Allow IPv4 and IPv6 DNS and SNTP server configured via DHCP to co-exist (patch against upstream)
    
    * lwip2: enable tcp-listen-with-backlog feature
    
    * lwip2 submodule update:
    - enable more efficient chksum algorithm thanks to Richard Allen
    - enable tcp listener with backlog
    
    * more comments, fix backlog management, fix API
    * move default value definition in .cpp
    because one must not believe it can be redefined before including WiFiServer.h
    
    * improved backlog handling, it is no more a breaking change
    d-a-v authored Feb 18, 2020
    Configuration menu
    Copy the full SHA
    e752e96 View commit details
    Browse the repository at this point in the history
  2. configTime(tzsec,dstsec,): fix UTC/local management (esp8266#6993)

    * configTime(tzsec,dstsec,): fix UTC/local management
    This PR also remove dead code since probably newlib updates
    The NTP-TZ-DST example is also updated
    * restore sntp_set_timezone_in_seconds()
    fixes esp8266#6678
    * +configTzTime()
    d-a-v authored Feb 18, 2020
    Configuration menu
    Copy the full SHA
    f066ed2 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2020

  1. Configuration menu
    Copy the full SHA
    afe4021 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5100bee View commit details
    Browse the repository at this point in the history
  3. Merge pull request esp8266#6804 from dok-net/optimistic_yield_recurrency

    Fix optimistic_yield to not yield on each call after x µs
    earlephilhower authored Feb 20, 2020
    Configuration menu
    Copy the full SHA
    0a58172 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2020

  1. restore dtostrf when floats are disabled in printf/scanf + round fix (e…

    …sp8266#7093)
    
    * restore dtostrf+fix when float printing is disabled at link time
    
    * fix include file
    
    * fix with proposal per review
    
    * always use dtostrf
    d-a-v authored Feb 22, 2020
    Configuration menu
    Copy the full SHA
    cd56dc0 View commit details
    Browse the repository at this point in the history
  2. Fix/enable UDP packet reassembly (esp8266#7036)

    * Fix/enable UDP packet reassembly
    
    UdpContext didn't care about pbuf chaining when receiving datagrams, leading
    to fragments delivered to the application as individual packets.
    
    * Provide pbuf_get_contiguous for backwards compatibility with LwIP 1.4
    
    Implementation copied verbatim from LwIP 2.1.2
    
    * Cosmetic changes to meet coding style
    
    Co-authored-by: david gauchard <gauchard@laas.fr>
    Co-authored-by: Develo <deveyes@gmail.com>
    3 people authored Feb 22, 2020
    Configuration menu
    Copy the full SHA
    e6decac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f69e404 View commit details
    Browse the repository at this point in the history
  4. Update to latest BearSSL (esp8266#7098)

    Minor changes which should not affect us, but keeping in sync with
    upstream nevertheless.
    earlephilhower authored Feb 22, 2020
    Configuration menu
    Copy the full SHA
    a40663b View commit details
    Browse the repository at this point in the history
  5. Add Uri with support for regexUri and globUri (esp8266#6696)

    * Add path args
    
    * Add example
    
    * Update code format
    
    * Add missing include
    
    * Fix codestyle and unsigned int
    
    * fix unsigned int
    
    * Remove tabs
    
    * use vector<>.resize
    
    * rename j to requestUriIndex
    
    * using assert checking the path argument index
    
    * Add missing include "assert.h"
    
    * The order no longer matters.
    Path arguments may not contain the value '/'
    Updated the example
    
    * make pathArg return a const
    
    * Update PathArgServer.ino
    
    fix trailing space
    
    * const String&
    
    * Add regex support
    
    * Fix to match templating
    
    * Add Uri with support for staticUri, regexUri and globUri
    
    * Update example
    
    * Add deconstructor to remove _uri pointer
    
    * Add newline to end of files
    
    * Suppress gcc warnings (unused params)
    
    * Replace regex with regex.h
    
    * Use the standard STASSID/PSK settings for example
    
    Make the example match the existing examples which allow setting
    the SSID/PSK in the local platform.txt file.
    
    * Use 115.2Kbaud for example, match others
    
    Co-authored-by: david gauchard <gauchard@laas.fr>
    Co-authored-by: Earle F. Philhower, III <earlephilhower@yahoo.com>
    3 people authored Feb 22, 2020
    Configuration menu
    Copy the full SHA
    4eca62c View commit details
    Browse the repository at this point in the history
  6. Add fileCreation/getCreation create-time accessors (esp8266#7000)

    * Add fileCreation/getCreation create-time accessors
    
    For SDFS and LittleFS, enable a creation time accessor for files and Dir
    iterators, similar to the existing fileTime/getLastWrite calls.
    
    Remove spurious Dir::getLastWrite method (the proper and only documented
    way is really Dir::fileTime).
    
    Update json to point to new mklittlefs which copies the creation date of
    files to the image.
    
    Fixes esp8266#6992
    
    * Remove malloc(), use stack vars for temp names
    
    LFS filenames are limited in size and generally very small.  Use a stack
    variable instead of a dynamic allocation when performing full-path
    computations.
    
    * Replace "Creation" w/"CreationTime" in FS accessor
    
    Per review, `getCreation` -> `getCreationTime`, `fileCreation` ->
    `fileCreationTime`.
    
    The names `fileTime()` and `getLastWrite()` are inherited from ESP32
    implementation and unchanged.
    
    * Add creation time to listfiles SD example
    
    * Enable SdFat's sateTime callback for timestamping
    
    SdFat requries the dateTimeCallback call (global for everything) to
    update dates and times on created files.
    
    Because the callback signature doesn't have space for us to provide
    any parameters, we cannot get the the File, Dir, or FS object's
    dateTimeCB member.  Instead, just go with `time(null)` as the callback
    function which is right in all but the most esoteric cases.
    
    * Correct DOS year/month offset in dateTime callback
    
    * Fix docs to match new xxxCreationTime() API names
    
    Co-authored-by: Develo <deveyes@gmail.com>
    earlephilhower and devyte authored Feb 22, 2020
    Configuration menu
    Copy the full SHA
    bea64df View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2020

  1. Resolved issue esp8266#3359 (esp8266#6969)

    * Resolved issue esp8266#3359
    
    Made severing connections optional as per the patch
    in the issue.
    Also fixed a minor spacing issue.
    
    * Renamed sever to close and added information to readme
    
    Also my editor automatically removed some odd whitespace at the
    end of a few lines.
    timstableford authored Feb 23, 2020
    Configuration menu
    Copy the full SHA
    16319da View commit details
    Browse the repository at this point in the history
  2. Improve LittleFS support (esp8266#7071)

    Previously, when the path was a directory, but didn't have a slash at
    the end, a 0 byte response would be sent when using LittleFS. Now, it
    will return a 404, like was always the case when using SPIFFS.
    JasperHorn authored Feb 23, 2020
    Configuration menu
    Copy the full SHA
    d990ff9 View commit details
    Browse the repository at this point in the history
  3. Add flash helper constructor to Uri (esp8266#7105)

    * Update Uri.h
    
    * Add a simple test for the new constructor
    
    Convert a c-str to a FPSTR in the example to have a section
    of code in our CI that will catch any future breaks of this specific
    kind.
    
    Co-authored-by: Earle F. Philhower, III <earlephilhower@yahoo.com>
    devyte and earlephilhower authored Feb 23, 2020
    Configuration menu
    Copy the full SHA
    2b640c0 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2020

  1. TCP: fixes backlog limit handling, and allows ephemeral TCP connectio…

    …ns (esp8266#7096)
    
    * fix backlog limit handling, and allow ephemeral TCP connections
    * do not retain empty connections
    d-a-v authored Feb 24, 2020
    Configuration menu
    Copy the full SHA
    2d58be7 View commit details
    Browse the repository at this point in the history
  2. Additions to UdpContext needed for LEAmDNS2 (esp8266#7048)

    * Addition to UdpContext needed for LEAmDNS2
    LaborEtArs authored Feb 24, 2020
    Configuration menu
    Copy the full SHA
    4b2bf45 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2020

  1. simple TZ api: bypass sprintf/sscanf: + 7KB (esp8266#7109)

    * simple TZ api: bypass sprintf/sscanf: + 7KB
    d-a-v authored Feb 25, 2020
    Configuration menu
    Copy the full SHA
    abdd2bd View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2020

  1. Add support for my new board eduino wifi (esp8266#6554)

    * ^#
    
    * Fix merge conflict
    
    * Fix merge conflict
    
    Co-authored-by: Earle F. Philhower, III <earlephilhower@yahoo.com>
    schirmilabs and earlephilhower authored Feb 26, 2020
    Configuration menu
    Copy the full SHA
    0554d39 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2020

  1. Configuration menu
    Copy the full SHA
    2c435b1 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2020

  1. Configuration menu
    Copy the full SHA
    c61b70d View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2020

  1. Configuration menu
    Copy the full SHA
    e39cbe6 View commit details
    Browse the repository at this point in the history
  2. Set a value for SSDP notify interval (esp8266#7110)

    * Set a value for SSDP notify interval, default to 1200 seconds.
    
    * Changed uint8_t to uint32_t
    
    Co-authored-by: david gauchard <gauchard@laas.fr>
    PA4WD and d-a-v authored Mar 3, 2020
    Configuration menu
    Copy the full SHA
    b64e8da View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2020

  1. udp: fix again pbuf management (esp8266#7132)

    * udp: fix again pbuf management
    * Process rx buffer size, cache it, because _rx_buf->tot_len is *not* the total size
    d-a-v authored Mar 4, 2020
    Configuration menu
    Copy the full SHA
    b8e4ca4 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2020

  1. EspSoftwareSerial release 6.7.2 fixes warnings with gcc 9.2 (esp8266#…

    …7133)
    
    * MultiDelegate breaking change and improvements.
    
    The event-multiplexer specialization no longer removes items based on invoke return value.
    This is mitigated by new iterators and erase(iterator). Check the documentation comments for
    details.
    
    * MultiDelegate: constness on return type warning fix.
    
    * EspSoftwareSerial: Conform to C++ 17 and later.
    
    * EspSoftwareSerial: Resolve g++ 9's c++17 deprecation warnings.
    
    * EspSoftwareSerial, Delegate.h: gcc 9.2 is very strict about template inheritance of ctor and assignment operators, needing a lot
    
    of code duplication, this commit provides that.
    
    * Delegate.h, fix both ambiguous operator= and infinite ctor recursion.
    
    * EspSoftwareSerial release 6.7.2
    d-a-v authored Mar 5, 2020
    Configuration menu
    Copy the full SHA
    372a3ec View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2020

  1. EspSoftwareSerial 6.8.0 adds ESP8285 support (esp8266#7139)

    * EspSoftwareSerial: Use compile-time flash pin deduction, enables ESP8285.
    
    * EspSoftwareSerial release 6.8.0 for ESP8285 support.
    dok-net authored Mar 8, 2020
    Configuration menu
    Copy the full SHA
    2522403 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2020

  1. Configuration menu
    Copy the full SHA
    01a4d29 View commit details
    Browse the repository at this point in the history
  2. Fix RST links for PlatformIO (esp8266#7143)

    * Fix RST links
    
    * Update links to PlatformIO
    ivankravets authored Mar 9, 2020
    Configuration menu
    Copy the full SHA
    845241b View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2020

  1. Configuration menu
    Copy the full SHA
    afb9921 View commit details
    Browse the repository at this point in the history
  2. Use 2nd stack for update signature verification (esp8266#7149)

    * Use 2nd stack for update signature verification
    
    Fixes esp8266#7145
    
    When doing a signed update, the signature calculation can use a lot of
    stack, so move it silently to the BearSSL second stack.
    
    Also fix a memory leak of signature-bytes found by @JiriBilek
    
    * Reset state on any error condition in Updater::end
    earlephilhower authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    e252873 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2020

  1. Abort if BearSSL stack allocation fails (esp8266#7152)

    As found by @d-a-v, if the malloc() used to get the BearSSL stack does
    not succeed, abort() immediately.
    earlephilhower authored Mar 15, 2020
    Configuration menu
    Copy the full SHA
    db75d2c View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2020

  1. Pull GPIO initialization into its own 'weak' function. (esp8266#7044)

    * Pull GPIO initialization into its own 'weak' function.
    
    By pulling GPIO init into its own weak function, it can be overridden by the user. This is important in cases when GPIOs should not toggle during reboot, exceptions or other crashes. Fixes esp8266#7041.
    
    * Add prototype for resetPins()
    everslick authored Mar 22, 2020
    Configuration menu
    Copy the full SHA
    e64cb61 View commit details
    Browse the repository at this point in the history
  2. Add 2MB obtion to 8285 generic board (esp8266#7163)

    The ESP8285H16 is reported to have 2MB of flash, so add an option the
    the Generic 8285 board for 2MB.
    
    Fixes esp8266#7161
    earlephilhower authored Mar 22, 2020
    Configuration menu
    Copy the full SHA
    1127a09 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2020

  1. Better follow redirection for HTTPClient (esp8266#7157)

    * Add way to force follow redirections in `HTTPClient`
    
    * Follow other client implementations about `HTTP_CODE_FOUND`; Small rewrite of `sendRequest` function of `HTTPClient`
    
    * Better names for follow redirection modes in `HTTPClient`
    
    Also changed a bit order of the enums (0 element to be DISABLED)
    
    * Rewrite `sendRequest` to remove recursion
    
    Also got rid of unnecessary `redirectCount` field. Now redirect counting and limiting is handled in `sendRequest` directly.
    
    * Use new `setFollowRedirects` of `HTTPClient` instead deprecated one.
    
    * More explanatory comment for `followRedirects_t` in HTTPClient
    AgainPsychoX authored Mar 25, 2020
    Configuration menu
    Copy the full SHA
    d91f1da View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2020

  1. Configuration menu
    Copy the full SHA
    726df69 View commit details
    Browse the repository at this point in the history
  2. Attribute __real_system_restart_local() as (noreturn) (esp8266#7167)

    * Attribute `__real_system_restart_local()` as `(noreturn)`
    * As well as `abort()`.
    * Aggragate two decls into `coredecls.h`.
    jjsuwa authored Mar 26, 2020
    Configuration menu
    Copy the full SHA
    631f66b View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2020

  1. Configuration menu
    Copy the full SHA
    a04c324 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2020

  1. Configuration menu
    Copy the full SHA
    483bfde View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2020

  1. Tone limit 20KHz (esp8266#7179)

    Set Tone maximum frequency to 20KHz (was 5KHz)
    Tech-TX authored Apr 4, 2020
    Configuration menu
    Copy the full SHA
    c548958 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2020

  1. Ability to define -DFP_IN_IROM when generating ld script (esp8266#7188)

    Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
    Co-authored-by: david gauchard <gauchard@laas.fr>
    3 people authored Apr 6, 2020
    Configuration menu
    Copy the full SHA
    3db610f View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2020

  1. Expose webserver's chunk api (esp8266#7134)

    * expose hidden WebServer's chunked API
    d-a-v authored Apr 7, 2020
    Configuration menu
    Copy the full SHA
    d600cc7 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2020

  1. WiFi: ARP gratuitous API for wifi station mode (esp8266#6889)

    * wifi: ARP gratuitous API for wifi station mode
    
    * fix with lwip1
    
    * update comment
    
    * update API to allow changing interval on the fly
    
    * update API
    
    * remove debug lines
    
    * mock lwIP's etharp_request()
    
    * unsigned interval
    
    * use scheduled ticker
    
    * ticker: +attach_ms_scheduled_accurate
    ticker: +comment
    gratuitous: use attach_ms_scheduled_accurate
    
    * move to experimental namespace
    
    * fix for lwIP-v1.4
    
    * attempt to make pio happy
    
    * use directly ETSTimer instead of Ticker
    d-a-v authored Apr 9, 2020
    Configuration menu
    Copy the full SHA
    bc170e6 View commit details
    Browse the repository at this point in the history
  2. Make DNS resolution order selectable during runtime or compile time (e…

    …sp8266#6865)
    
    * Make DNS resolution order selectable during runtime or compile time (only in dual stack mode).
    
    * Extend IPv6 example to show usage of new hostByName function with selectable resolving order
    
    * Fix function definition of fqdn_rt in IPv6.ino.
    
    * Fix function call.
    
    * Fix missing bracket...
    
    * Only run if built with dual stack support
    
    * Make DNS resolution order selectable during runtime or compile time (only in dual stack mode).
    
    * Extend IPv6 example to show usage of new hostByName function with selectable resolving order
    
    * Fix function definition of fqdn_rt in IPv6 example.
    
    * Implement enum class for resolve type
    
    * Fix example IPv6.ino
    
    * Fix typedef in ESP8266WiFiGeneric.h function call
    
    * Change enum class definition to not depend on lwip/dns.h
    
    * Move err_t err definition outside switch. Fix typecast.
    
    * Always define DNSResolveType as pio test otherwise failes even if the enum class isn't used.
    
    Co-authored-by: altelch <heiko.krupp@rhrk.uni-kl.de>
    Co-authored-by: david gauchard <gauchard@laas.fr>
    3 people authored Apr 9, 2020
    Configuration menu
    Copy the full SHA
    fad0564 View commit details
    Browse the repository at this point in the history
  3. fix memleak (esp8266#7203)

    d-a-v authored Apr 9, 2020
    Configuration menu
    Copy the full SHA
    1a9988e View commit details
    Browse the repository at this point in the history
  4. Fix for MD5 leak bug, issue esp8266#7195 (esp8266#7197)

    Co-authored-by: Luiss <luiss@mind.cc>
    Co-authored-by: david gauchard <gauchard@laas.fr>
    Co-authored-by: Develo <deveyes@gmail.com>
    Co-authored-by: Earle F. Philhower, III <earlephilhower@yahoo.com>
    5 people authored Apr 9, 2020
    Configuration menu
    Copy the full SHA
    41d271d View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2020

  1. EspSoftwareSerial release 6.8.1 (esp8266#7205)

    - Updates to latest Delegate class.
    - Minor update to example code.
    dok-net authored Apr 10, 2020
    Configuration menu
    Copy the full SHA
    5511180 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2020

  1. Fix UDP send to IPv6 link local addresses (esp8266#6541)

    lwIP's tcp/udp_connect() and tcp/udp_bind() functions automatically
    set the zone if it is required but missing, but udp_connect() is not
    used so this doesn't happen.
    
    Explicitly set the zone to the default network interface if it is
    required for the type of address being used. Otherwise there is no
    zone set and packets to a link local destination don't go anywhere.
    nomis authored Apr 11, 2020
    Configuration menu
    Copy the full SHA
    ee619d3 View commit details
    Browse the repository at this point in the history
  2. Fix TCP send to IPv6 link local addresses (esp8266#7207)

    credit: Simon Arlott @nomis - similar to esp8266#6541 for TCP (esp8266#7207)
    d-a-v authored Apr 11, 2020
    Configuration menu
    Copy the full SHA
    4f27ce1 View commit details
    Browse the repository at this point in the history
  3. MD5 Builder: Rework for unqiue_ptr instead of malloc, get only member…

    … functions marked as const (esp8266#7208)
    
    Co-authored-by: Luiss <luiss@mind.cc>
    lrodorigo and luiss-mind authored Apr 11, 2020
    Configuration menu
    Copy the full SHA
    e1789dd View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2020

  1. mDNS: protect MDNSResponder::queryService against misuse (esp8266#7216)

    * mDNS: protect MDNSResponder::queryService against misuse
    
    * fix style
    d-a-v authored Apr 15, 2020
    Configuration menu
    Copy the full SHA
    e5f4514 View commit details
    Browse the repository at this point in the history
  2. Use F_CPU if (?) CPU frequency switch is compile-time only (esp8266#6833

    )
    
    * At least the F_CPU define in host mock.h is needed by host Arduino.h - need to include Arduino.h further down in mock.h for this to work.
    
    * Geting the include order right
    
    * Prepare for runtime CPU clock rate selection
    
    * Fix compile for not defined F_CPU
    
    If defined F_CPU, make getCpuFreqMHz() a constexpr
    
    * Use defines for register CPU2X instead of hex value
    
    * Fix build for host - getCpuFreqMHz there was also in conflict with getCycleCount, using F_CPU:
    
    tests/host/common/mock.h:#define F_CPU 80000000 (!)
    
    * Asymmetrical includes and defines on host
    
    * Support restart switch from 160MHz to 80MHz, e.g for OTA. Fixes esp8266#579
    dok-net authored Apr 15, 2020
    Configuration menu
    Copy the full SHA
    6cb1699 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2020

  1. Allow waveforms to be specified in clock cycles (esp8266#7211)

    * Allow waveforms to be specified in clock cycles
    
    Allow the PWM to specify sub-microsecond waveform edges, as have been
    proposed by @dok-net and me.  No other changes intended.
    
    This will increase the linearity at 30 and 40 kHZ PWM rates, but leave
    most other things unaffected.
    
    * Cycle-accurate wafveform to specify Tone periods
    
    Co-authored-by: Develo <deveyes@gmail.com>
    earlephilhower and devyte authored Apr 16, 2020
    Configuration menu
    Copy the full SHA
    1af4ea6 View commit details
    Browse the repository at this point in the history
  2. Fix espota completion success/fail check (esp8266#7204)

    The OTA script was not reporting the actual reported upload status from
    the ESP8266, and instead always printed "Result: OK" no matter what
    happened.
    
    Now check for ERROR or OK in final message (and ensure the message is
    not accidentally merged with the final byte count) and report properly.
    
    Fixes esp8266#7162
    earlephilhower authored Apr 16, 2020
    Configuration menu
    Copy the full SHA
    9632e86 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2020

  1. fNull pointer call from WiFiClient::localIP() to IPAddress (esp8266#7221

    )
    
    Fixes exception 28 in IPAddress(const ipv4_addr* fw_addr); with null ip_addr
    pointer passed in by WiFiCient.cpp localIP(). I assumed that localIP()
    was called shortly after _pcb became null.
    mhightower83 authored Apr 17, 2020
    Configuration menu
    Copy the full SHA
    5039881 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a36a6c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    77b82a0 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2020

  1. fix style checking: (esp8266#7222)

    - (some) core files are astyled
    - ci was only checking libraries
    => now everything is checked
    d-a-v authored Apr 18, 2020
    Configuration menu
    Copy the full SHA
    ce0e63f View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2020

  1. For example CaptivePortal, update HTML to pass HTML checker. (esp8266…

    …#7227)
    
    Added meta viewport element for better mobile device viewing.
    
    For example CaptivePortalAdvanced, increased size of ssid and password array
    to hold maximums 32 and 64 charcter strings. Added missing HTML elments
    to main splash and wifi config. They should now pass an HTML checker.
    Also added meta viewport element for better mobile device viewing.
    mhightower83 authored Apr 19, 2020
    Configuration menu
    Copy the full SHA
    4ca69bc View commit details
    Browse the repository at this point in the history
  2. Fixup 7122, new startWaveformCycles more aptly named startWaveformClo…

    …ckCycles (like in rest of core API for this type of use). (esp8266#7218)
    
    Fix/clarify comments.
    Fix redundancies in Tone, end Tone waveform on exact period limit for proper sound.
    Fix redundancies in wiring_pwmExtend Servo to map in-use pins, Tone already has this.
    dok-net authored Apr 19, 2020
    Configuration menu
    Copy the full SHA
    ea1fdb2 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2020

  1. Tz update (esp8266#7234)

    * TZ update
    
    Added the possibility to set the timezone without using NTP. This is helpful to have the timezone advantages when using an external RTC.
    
    * Update time.cpp
    kugelkopf123 authored Apr 21, 2020
    Configuration menu
    Copy the full SHA
    b02643e View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2020

  1. Configuration menu
    Copy the full SHA
    368ca91 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2020

  1. Add test for FS::open("w+") (esp8266#7241)

    Verify that a file is truncated on opening with w+ even if no data is
    written to it, for all FSes.
    
    Co-authored-by: Develo <deveyes@gmail.com>
    earlephilhower and devyte authored Apr 23, 2020
    Configuration menu
    Copy the full SHA
    2de9242 View commit details
    Browse the repository at this point in the history
  2. XMC flash support - WIP (esp8266#6725)

    * Move the spi vendor list from Esp.h to its own header in eboot.
    
    * Fix ifdef issue with spi_vendors.h
    
    * Add initFlashQuirks() for any chip specific flash initialization.
    
    Called from user_init().
    
    * namespace experimental for initFlashQuirks()
    
    * Slow down flash access during eboot firmware copy
    
    Part 1 - still some work to do
    
    * Slow down flash access during eboot firmware copy on XMC chips
    
    Part 2 - Identify the chip type.
    
    Note: there may still be issues with the access speed change.
    This is very much experimental.
    
    * Commit eboot.elf
    
    Co-authored-by: Develo <deveyes@gmail.com>
    Co-authored-by: Earle F. Philhower, III <earlephilhower@yahoo.com>
    3 people authored Apr 23, 2020
    Configuration menu
    Copy the full SHA
    9b41d9a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    36e047e View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2020

  1. Fixed misplacement of back quotes (esp8266#7247)

    It might be the thing in some other doc files but I only noticed it here
    dmkng authored Apr 26, 2020
    Configuration menu
    Copy the full SHA
    1bb5ccf View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2020

  1. Configuration menu
    Copy the full SHA
    ec76442 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2020

  1. Add CryptoInterface library (esp8266#6961)

    * - Add CryptoInterface library.
    
    - Add TypeConversion core files.
    
    * Fix compiler errors.
    
    - Make HelloCrypto.ino stylish.
    
    - Include assert.h in CryptoInterface.cpp.
    
    * - Move base36 arrays to PROGMEM in TypeConversionFunctions.cpp.
    
    - Add deprecated attribute to SHA1 and MD5 hashes.
    
    - Remove _warningsEnabled since this has been replaced by the deprecated attribute.
    
    - Prefix all getters with "get".
    
    - Move all CryptoInterface functionality to the experimental namespace.
    
    - Change formatting of core files.
    
    - Improve comments.
    
    * - Update keywords.txt.
    
    * - Remove WiFi.disconnect() from setup() in HelloCrypto example since it no longer seems to be required.
    
    * - Classify everything.
    
    - Remove delay in setup() from HelloCrypto example since it does not seem to be required to prevent missing initial Serial prints.
    
    - Mark type conversion functions as big endian.
    
    - Update keywords.txt.
    
    * - Remove namespace experimental.
    
    - Create ESP.random functions in the core based on the defaultNonceGenerator code, and use these in defaultNonceGenerator.
    
    - Rename CryptoInterface to esp8266::Crypto and move all functionality to the core.
    
    - Remove need to #include <bearssl/bearssl.h> in the Crypto header file by changing br_hkdf_context to ::br_hkdf_context.
    
    - Restyle code files for core usage.
    
    * - Re-add namespace experimental.
    
    - Improve comments.
    
    * - Remove namespace esp8266.
    
    - Rename namespace Crypto to namespace crypto.
    
    Co-authored-by: Anders <andlo151@student.liu.se>
    Co-authored-by: Develo <deveyes@gmail.com>
    3 people authored Apr 29, 2020
    Configuration menu
    Copy the full SHA
    3c9a75f View commit details
    Browse the repository at this point in the history
  2. - Move TypeConversion from namespace esp8266 to namespace experimenta…

    …l. (esp8266#7252)
    
    - Add using namespace experimental::crypto; to HelloCrypto.ino.
    
    - Add mention about new random function in libraries.rst.
    
    - Update keywords.
    
    Co-authored-by: Anders <andlo151@student.liu.se>
    aerlon and aerlon authored Apr 29, 2020
    Configuration menu
    Copy the full SHA
    ce200ed View commit details
    Browse the repository at this point in the history
  3. Revamp of the FSBrowser and SDWebServer examples (esp8266#7182)

    * Minimal file with a few ESP8266-specific keywords - github issue esp8266#3701
    
    * Renamed "SDWebServer" to the more universal "WebFileManager"
    
    * SD was replaced by SDFS, and sketch now works on either SDFS, SPIFFS or
    LittleFS based on a #define logic (required adding a second param to open() and
    replacing 'FILE_WRITE' by "w") + Added size information to file list and a /status request handler to return filesystem status
    
    * Tree panel width is now proportional to window. Changed icons (lighter and
    more neutral), including one for files. Show size of files. Fill
    "filename" box upon clicking on a file. Sort files alphabetically.
    
    * Replaced by a lighter version
    
    * Return the filesystem time in the status object
    + Massive cleanup/merge/align with some code from the FSBrowser example
    and misc refactorings
    
    * Fixed folder handling
    
    * Replaced the FILESYSTEM #define by a filesystem variable, and introduced FSConfig to prevent FS formating.
    Fixed recursive deletion.
    Got rid of specific isDir() for SPIFFS.
    
    * Made 8.3 lowercase filenames formating optional (disabled by default).
    Refresh only part of the tree when possible.
    Selecting a file for upload defaults to the same folder as the last
    clicked file.
    Removed the Mkdir button on SPIFFS.
    
    * Added 'wait' cursor during asynchronous operations.
    Slight refactoring of XMLHttpRequest completion handling
    
    * Removed limitation "files must have an extension, folders may not".
    Case insensivity of the extension for the editor and preview.
    
    * Support Filenames without extension, Dirnames with extension.
    Added Save/Discard/Help buttons to Editor, discard confirmation on leave, and refresh tree/status upon save.
    Removed redundant Ctrl-Z + Ctrl-Shift-Z shortcut declarations.
    Small bug fixes.
    + some refactoring
    
    * Fixed tree refresh on delete in all cases by returning the remaining path as response to the delete request.
    Refactoring
    
    * Changed FS status in text by a percentage graph, with numbers as tooltip.
    Unsupported files on SPIFFS (files at root not sarting with "/", files with double "/", files ending with "/") are now detected and reported in the page.
    
    * Small fix + refactoring
    
    * Restrict filename support check to SPIFFS.
    
    * Implemented Move/Rename.
    Added "loading" screen during async operations (dim with spinner and status).
    Fixed "discard" feature that kept prompting even after an image was loaded.
    Improved refresh of parts of the tree, with recursive listing.
    Moved the "path" id attribute to the "li" elements for folders (was already the case for files).
    Refactoring and cleanup.
    
    * Fixed broken spinner
    
    * Cosmetic improvements.
    Removed non-functional Upload context menu.
    Fixed error in response to move requests.
    Added minified version.
    
    * Added specific icons for text and image files.
    Fixed incompatibilities with SPIFFS.
    Fixed a race condition between deletion and reinsertion of nodes when multiple folders are refreshed.
    Fixed missing URL decoding for files with special chars (e.g. space char).
    Moved info from source code comment to a readme.md file.
    Added source PNG to git.
    Cleanup.
    
    * Added favicon.ico.
    
    * Renamed project
    
    * Small changes
    
    * Add a note about the ace.js dependency
    
    * Minor changes
    
    * Define LittleFS by default.
    If both uncompressed and gz versions exist, use uncompressed version.
    Small fixes.
    
    * Define LittleFS by default.
    If both uncompressed and gz versions exist, use uncompressed version.
    Small fixes.
    
    * Restyled version
    
    * (dummy edit to retrigger broken CI)
    
    * Using unsigned int for comparison with String.length()
    
    * Return an error when upload fails (e.g. filesystem full)
    
    * Trying to reorder functions to please CI
    
    * Reordered functions to please CI.
    
    * Moved file
    
    * Renamed "SDWebServer" to the more universal "WebFileManager"
    
    * SD was replaced by SDFS, and sketch now works on either SDFS, SPIFFS or
    LittleFS based on a #define logic (required adding a second param to open() and
    replacing 'FILE_WRITE' by "w") + Added size information to file list and a /status request handler to return filesystem status
    
    * Tree panel width is now proportional to window. Changed icons (lighter and
    more neutral), including one for files. Show size of files. Fill
    "filename" box upon clicking on a file. Sort files alphabetically.
    
    * Replaced by a lighter version
    
    * Return the filesystem time in the status object
    + Massive cleanup/merge/align with some code from the FSBrowser example
    and misc refactorings
    
    * Fixed folder handling
    
    * Replaced the FILESYSTEM #define by a filesystem variable, and introduced FSConfig to prevent FS formating.
    Fixed recursive deletion.
    Got rid of specific isDir() for SPIFFS.
    
    * Made 8.3 lowercase filenames formating optional (disabled by default).
    Refresh only part of the tree when possible.
    Selecting a file for upload defaults to the same folder as the last
    clicked file.
    Removed the Mkdir button on SPIFFS.
    
    * Added 'wait' cursor during asynchronous operations.
    Slight refactoring of XMLHttpRequest completion handling
    
    * Removed limitation "files must have an extension, folders may not".
    Case insensivity of the extension for the editor and preview.
    
    * Support Filenames without extension, Dirnames with extension.
    Added Save/Discard/Help buttons to Editor, discard confirmation on leave, and refresh tree/status upon save.
    Removed redundant Ctrl-Z + Ctrl-Shift-Z shortcut declarations.
    Small bug fixes.
    + some refactoring
    
    * Fixed tree refresh on delete in all cases by returning the remaining path as response to the delete request.
    Refactoring
    
    * Changed FS status in text by a percentage graph, with numbers as tooltip.
    Unsupported files on SPIFFS (files at root not sarting with "/", files with double "/", files ending with "/") are now detected and reported in the page.
    
    * Small fix + refactoring
    
    * Restrict filename support check to SPIFFS.
    
    * Implemented Move/Rename.
    Added "loading" screen during async operations (dim with spinner and status).
    Fixed "discard" feature that kept prompting even after an image was loaded.
    Improved refresh of parts of the tree, with recursive listing.
    Moved the "path" id attribute to the "li" elements for folders (was already the case for files).
    Refactoring and cleanup.
    
    * Fixed broken spinner
    
    * Cosmetic improvements.
    Removed non-functional Upload context menu.
    Fixed error in response to move requests.
    Added minified version.
    
    * Added specific icons for text and image files.
    Fixed incompatibilities with SPIFFS.
    Fixed a race condition between deletion and reinsertion of nodes when multiple folders are refreshed.
    Fixed missing URL decoding for files with special chars (e.g. space char).
    Moved info from source code comment to a readme.md file.
    Added source PNG to git.
    Cleanup.
    
    * Added favicon.ico.
    
    * Renamed project
    
    * Small changes
    
    * Add a note about the ace.js dependency
    
    * Minor changes
    
    * Define LittleFS by default.
    If both uncompressed and gz versions exist, use uncompressed version.
    Small fixes.
    
    * Define LittleFS by default.
    If both uncompressed and gz versions exist, use uncompressed version.
    Small fixes.
    
    * Restyled version
    
    * (dummy edit to retrigger broken CI)
    
    * Using unsigned int for comparison with String.length()
    
    * Return an error when upload fails (e.g. filesystem full)
    
    * Trying to reorder functions to please CI
    
    * Reordered functions to please CI.
    
    * Update to use chunked response API
    
    * Removed temp files commited by mistake
    
    * Avoid using args() as requested
    
    * Use html entity for non-breaking space to avoid losing char when minifying
    
    * Script to preprocess index.htm
    
    * (reformated code)
    
    * (comments)
    
    * Preprocessed files
    
    * Fixed dump to create an actual include file
    
    * Optionally embed index.htm in code.
    (+ documentation and preprocessing script)
    
    * (reformated)
    
    * If editor cannot be loaded from the web, try a local version, or default
    to a text viewer if not present
    
    * (removed a TODO item :-))
    
    * (forgot to reprocess files after last commit)
    
    * (reprocess should be ok this time)
    
    * Return error 500 when upload fails immediately (e.g. filesystem full)
    
    * Use standard <meter> tag for filesystem use
    
    * (updated following changes to index.htm)
    
    * Do not include gzipped version in the data folder by default. Leave it in the extras folder and change readme accordingly (plus some reformatingi of the readme file)
    
    * Gzipped index file not included in data/edit by default. It is now left in the extras folder.
    Readme file was updated accordingly (+ some reformating)
    
    * Reduce String clutter by reserving and concatenating elements one by one.
    
    * Use clear() to reset String.
    
    * Avoid comparisons against empty String.
    
    * Use char instead of single-char String where possible.
    
    * Prefer direct logic over inverted.
    
    * Rename returnBlah to replyBlah.
    
    * Renamed h2int to hexDigitToInt
    
    * Renamed getFileError() to checkForUnsupportedPath(), to avoid confusion
    with a getter.
    
    * Misc improvements.
    
    * Added comments about mandatory rebuilding gz and h files in case of update
    to index.htm.
    
    * Addressed a few comments.
    
    * Improve replies: bad requests vs server error
    
    * (reformated)
    
    * Reduce clutter by reserving String size beforehand.
    
    * Moved most Strings of more than 10 chars to flash.
    
    * Use lib version of urlDecode() instead of a local one, and only call it when required.
    
    * Added a comment about the dangers of recursion on embedded devices.
    
    * Added a more explicit warning in the .h header comment.
    
    * Added a typical set of required files to load ace editor from the ESP.
    
    * (reformated)
    
    * More explicit warning at the beginning of the .h version.
    
    Co-authored-by: david gauchard <gauchard@laas.fr>
    Co-authored-by: Earle F. Philhower, III <earlephilhower@yahoo.com>
    Co-authored-by: Develo <deveyes@gmail.com>
    4 people authored Apr 29, 2020
    Configuration menu
    Copy the full SHA
    668b33d View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2020

  1. Make getContentType available for 3rd party usage (esp8266#7254)

    * Refactored to make getContentType public for 3rd party use.
    
    * Added missing "jpeg" extension
    
    * Use getContentType() from mime namespace.
    
    * Also add .jpeg extension
    vdeconinck authored Apr 30, 2020
    Configuration menu
    Copy the full SHA
    a9cf12f View commit details
    Browse the repository at this point in the history

Commits on May 1, 2020

  1. Fix minor GCC10 static analyzer warnings (esp8266#7255)

    Add minor NULL and double-free checks to source, identified using GCC10
    pre-release static `-fanalyzer` on the coude.  These are harmless to
    other versions.
    
    Also add explicit include of stdint to Schedule.h, because libstdc++20
    will not automatically include it.  Safe and no-op on earlier versions.
    earlephilhower authored May 1, 2020
    Configuration menu
    Copy the full SHA
    388d302 View commit details
    Browse the repository at this point in the history
  2. release 2.7.0 (esp8266#7259)

    d-a-v authored May 1, 2020
    Configuration menu
    Copy the full SHA
    9c56ed1 View commit details
    Browse the repository at this point in the history
  3. Back to dev (esp8266#7260)

    * Back to dev
    
    * update documentation pointers
    d-a-v authored May 1, 2020
    Configuration menu
    Copy the full SHA
    4e3a4b6 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2020

  1. Revert "Changing listen to listen the current iface only instead of 0" (

    esp8266#7266)
    
    workaround for esp8266#7262 (reverts esp8266#7217)
    
    Co-authored-by: Takayuki 'January June' Suwa <jjsuwa.sys3175@gmail.com>
    jjsuwa and Takayuki 'January June' Suwa authored May 3, 2020
    Configuration menu
    Copy the full SHA
    bf718c3 View commit details
    Browse the repository at this point in the history
  2. Document USTX in USS/UxS not working as expected (esp8266#7265)

    Documentation that bit USTX in UART status register USS(u) / U0S / U1S is not mirroring TX level as expected but always reads 0, see issue esp8266#7256
    
    Co-authored-by: Develo <deveyes@gmail.com>
    xsrf and devyte authored May 3, 2020
    Configuration menu
    Copy the full SHA
    9845deb View commit details
    Browse the repository at this point in the history

Commits on May 4, 2020

  1. Deprecate SPIFFS, move examples to LittleFS (esp8266#7263)

    * Deprecate SPIFFS, move examples to LittleFS
    
    SPIFFS has been a great filesystem, but it has significant problems in
    many cases (and it's also pretty slow).  Development seems to have
    slowed/stopped on the upstream version, and we're not able to provide
    support or fix the known issues with it as-is.
    
    Deprecate SPIFFS variable.
    
    Update all examples to use LittleFS instead of SPIFFS.
    
    Also, minor cleanup on very old examples which has obsolete delays
    waiting for the Serial port to come up, or which were stuck at 9600 baud
    because of their ancient AVR heritage.
    
    Fixes esp8266#7095
    
    * Remove leftover debug code
    
    * Clean up comments in some examples
    
    * Update documentation on SPIFFS deprecation
    
    * Fix host tests to avoid deprecation warnings
    
    * Fix cut-n-paste error
    
    * Restore SpeedTest.ino, adjust to allow custom FSes
    
    Co-authored-by: Develo <deveyes@gmail.com>
    earlephilhower and devyte authored May 4, 2020
    Configuration menu
    Copy the full SHA
    83166f9 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2020

  1. Configuration menu
    Copy the full SHA
    5287f82 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2020

  1. Configuration menu
    Copy the full SHA
    ea879b6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a543262 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    56bbb99 View commit details
    Browse the repository at this point in the history
  4. updated Source files from LEA

    d-a-v committed May 7, 2020
    Configuration menu
    Copy the full SHA
    560c2a5 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2020

  1. style

    d-a-v committed May 8, 2020
    Configuration menu
    Copy the full SHA
    d47f6f0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8115134 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1910848 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c192667 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0e692c3 View commit details
    Browse the repository at this point in the history
  6. still using current LEA

    d-a-v committed May 8, 2020
    Configuration menu
    Copy the full SHA
    6d22b70 View commit details
    Browse the repository at this point in the history
  7. remove unwanted change

    d-a-v committed May 8, 2020
    Configuration menu
    Copy the full SHA
    b7c3504 View commit details
    Browse the repository at this point in the history
  8. remove unwanted changes

    d-a-v committed May 8, 2020
    Configuration menu
    Copy the full SHA
    ff0b100 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2020

  1. Update release instructions (esp8266#7292)

    * Update release instructions to reflect reality, add copy-paste checklist to ease issue.
    devyte authored May 11, 2020
    Configuration menu
    Copy the full SHA
    7f3d837 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9cf2186 View commit details
    Browse the repository at this point in the history
  3. Update README.md (esp8266#7295)

    Fix forgotten text edit for the latest version
    devyte authored May 11, 2020
    Configuration menu
    Copy the full SHA
    ed8add5 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2020

  1. bugfix2/ESP8266HTTPClient (esp8266#6476)

    * Because of git problems, start from a new fork and create a new PR. This was PR esp8266#6457
    
    * Style update to pass Travis
    
    * Update ReuseConnectionV2.ino
    
    * fix + enforce testing http code
    
    per @earlephilhower review
    
    * Close connection before ::connecting on HTTP/1.0
    
    HTTPClient never actually closes the TCP connection on its own. It will leave the TCP connection open unless you explicitly do a getString which makes a StreamString and stuffs it with the HTTP server response, at which point the HTTP server itself will close the connection.
    
    If you check the HTTP error code and find failure, unless you do a getString and throw it away, it won't disconnect.  Even in HTTP/1.0 or in cases when you haven't enabled _reuse.
    
    Change the logic in ::connect to only reuse the connection when it is specifically allowed.  Otherwise, fall back to re-connection.
    
    * Adjust example per request
    
    Do single URL get in each loop, avoid infinite for loop at end.
    
    * Fix astyle
    
    * Clean up final pass notice
    
    * Fix example syntax error
    
    Editing code in a web textbox without running it is a painful process.
    
    
    Co-authored-by: Earle F. Philhower, III <earlephilhower@yahoo.com>
    Jeroen88 and earlephilhower authored May 15, 2020
    Configuration menu
    Copy the full SHA
    157ce57 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2020

  1. Allocate BSSL stack for SigningVerifier (esp8266#7291)

    The BearSSL SigningVerifier was moved to the 2nd stack because some uses
    required much more stack than available on the normal stack.
    
    Add a reference to the second stack on object creation (which will
    allocate it, if there is no BSSL stack already allocated), and delete
    that reference on exit.
    
    Fixes esp8266#7288
    earlephilhower authored May 16, 2020
    Configuration menu
    Copy the full SHA
    c5f60e3 View commit details
    Browse the repository at this point in the history
  2. Server Sent Events example - issue esp8266#7008 (esp8266#7012)

    * Server Sent Events example - issue esp8266#7008
    
    Illustrates the use of SSE using ESP8266WebServer
    
    * Update ServerSentEvents.ino
    
    * Create ServerSentEventsMultiClient.ino
    
    * sync
    
    * Update ServerSentEvents.ino
    
    * Update ServerSentEvents.ino
    
    Fix  missing variables in printf statments
    Fix subscriptioncount not decreasing
    Fix SSEBroadcastState (argument sequence wrong)
    
    * Undo the library additions, move to current master
    
    * Fix compiler warning
    
    * Address review and fix multi-sensor updates
    
    Address points of @devyte's code review:
    * Use IPAddress vs. uint32_t
    * Refactor the URL parsing logic to use strlen vs. sizeof, since there
      was some confusion in the original (correct) version
    * Minimize copies of WiFiClients while in use
    * Use byref access for sensor updates
    
    Fix multi-sensor updates
    * Create an update Ticker for each sensor, because the original code
      only had one whose callback was overridden by sensorB, meaning sensorA
      never changed
    
    * Fix IPv6 build errors
    
    * Remove WiFiClient extraneous copy
    
    Avoid duplicating WiFiClient by using the WiFiClient object embedded in
    the subscriber[] array instead.
    
    Co-authored-by: Earle F. Philhower, III <earlephilhower@yahoo.com>
    ewaldc and earlephilhower authored May 16, 2020
    Configuration menu
    Copy the full SHA
    4519db8 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2020

  1. - Add required BearSSL include in header. (esp8266#7310)

    Co-authored-by: Anders <andlo151@student.liu.se>
    aerlon and aerlon authored May 18, 2020
    Configuration menu
    Copy the full SHA
    1b20cd6 View commit details
    Browse the repository at this point in the history
  2. Allow non-aligned PSTR() (esp8266#7275)

    * Allow non-aligned PSTR()
    
    * Add PSTR4() macro to first 4-bytes aligned PSTR
    s-hadinger authored May 18, 2020
    Configuration menu
    Copy the full SHA
    3e4d7c7 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2020

  1. Flash size reduction for mime-type (esp8266#7312)

    * Flash size reduction for mime-type
    * moving from fixed size strings to standard PROGMEM strings
    * adding `#define MIMETYPE_MINIMAL` to reduce the footprint to
      mime-types that are strictly necessary
    
    * Added MIMETYPE_MINIMAL conditionals
    s-hadinger authored May 19, 2020
    Configuration menu
    Copy the full SHA
    7c008e3 View commit details
    Browse the repository at this point in the history
  2. Bring SPIFFS up to latest version (esp8266#7276)

    Manually merged the PATCH files from upstream up until Jan 26, 2020.
    
    Looks to only fix a single bug related to reading past the end of a file
    in certain cases.  Other new features (secure erase) are included to
    make it easier to merge any future releases, but are not enabled in the
    core.
    
    Merges included:
    20fc6df0ab2bee391961b5f823a327887abc96b4
    da1cf494796d68bb5c02ba70cf78a904db08a170
    13935985cdde6d6b4ec77f2685264242ee55e7ac
    ec68ba8208d7550860e4e78299d58a529b88bf85
    f59d958e0b2f169b549e5cdc293a70bc6873cd45
    f7d3e9f2b207958dfc2c01cf3fc42f98a4b9b239
    554b59c147d96223ccce18374989f191f7222b45
    07e013056dd976d12ae36db5c54a275e1497f6c8
    d0d44c4908efff7a443ed9b1174d9173fb784a72
    3cb24dbfd32a396dca46a7ca56a8e75bdcb97078
    8172b40813ff36aa0df4c88a6e9c76e5300d7e32
    earlephilhower authored May 19, 2020
    Configuration menu
    Copy the full SHA
    5762712 View commit details
    Browse the repository at this point in the history

Commits on May 20, 2020

  1. rotate right (esp8266#7320)

    d-a-v authored May 20, 2020
    Configuration menu
    Copy the full SHA
    52b3e5b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4bbed6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    556bb1e View commit details
    Browse the repository at this point in the history

Commits on May 23, 2020

  1. fix for lwIP-v1

    d-a-v committed May 23, 2020
    Configuration menu
    Copy the full SHA
    b5fefcf View commit details
    Browse the repository at this point in the history

Commits on May 24, 2020

  1. fix for lwIP-1.4

    d-a-v committed May 24, 2020
    Configuration menu
    Copy the full SHA
    ad6b426 View commit details
    Browse the repository at this point in the history