- 21 Mar, 2019 1 commit
-
-
Philip Gladstone authored
* Minor fix to allow building of luac.cross.int * Reapply some changes lost due to merge damage
-
- 15 Mar, 2019 1 commit
-
-
Javier Peletier authored
-
- 09 Mar, 2019 1 commit
-
-
Marcel Stör authored
-
- 23 Feb, 2019 3 commits
-
-
Arnim Läuger authored
* DHT11 read sometimes failed with checksum error. The code assumed DHT11 devices only ever return zero in the temperature and humidity decimal fraction bytes. The datasheet doesn't guarantee this is the case, and by observation I have noticed that indeed the DHT11 may sometimes return another number, usually close to zero. This means that the code would fail with a checksum error, as the fraction bytes were not included when the checksum was calculated. These bytes are now taken into account and also returned as part of the measurement. This also means that the related dht.read() function is non-functional. If you have a DHT11 device that returns a non-zero decimal part, dht.read() will interpret it as a DHT22 result and return the wrong measurement. For this reason dht.read() should be retired. This patch does not address this issue.
-
ziggurat29 authored
-
ziggurat29 authored
Added MSVC project configuration (@ziggurat29) and support of MinGW (@TerryE) for host-side`luac.cross` tool
-
- 19 Feb, 2019 1 commit
-
-
Nathaniel Wesley Filardo authored
Should fix https://github.com/nodemcu/nodemcu-firmware/issues/2576
-
- 18 Feb, 2019 2 commits
-
-
Javier Peletier authored
-
Marcel Stör authored
-
- 17 Feb, 2019 3 commits
-
-
Marcel Stör authored
-
Nathaniel Wesley Filardo authored
Fixes to #2650: - Convert fifosock to returning tables containing ctors - Improve docs - Add a missed :on("sent", nil) in the http server
-
sergio authored
-
- 16 Feb, 2019 2 commits
-
-
Philip Gladstone authored
* Initial version of code to support multiple hardware timers * MAde the time sinca last tick work again * Add some documentation to the code
-
Nathaniel Wesley Filardo authored
* lua_modules/fifo: a generic queue & socket wrapper One occasionally wants a generic fifo, so here's a plausible implementation that's reasonably flexible in its usage. One possible consumer of this is a variant of TerryE's two-level fifo trick currently in the telnetd example. Factor that out to fifosock for more general use. * lua_examples/telnet: use factored out fifosock * lua_modules/http: improve implementation Switch to fifosock for in-order sending and waiting for everything to be sent before closing. Fix header callback by moving the invocation of the handler higher * fifosock: optimistically cork and delay tx If we just pushed a little bit of data into a fifosock that had idled, wait a tick (1 ms) before transmitting. Hopefully, this means that we let the rest of the system push more data in before we send the first packet. But in a high-throughput situation, where we are streaming data without idling the fifo, there won't be any additional delay and we'll coalesce during operation as usual. The fifosocktest mocks up enough of tmr for this to run, but assumes an arbitrarily slow processor. ;)
-
- 14 Feb, 2019 1 commit
-
-
Arnim Läuger authored
-
- 13 Feb, 2019 1 commit
-
-
Lukáš Voborský authored
-
- 12 Feb, 2019 1 commit
-
-
ziggurat29 authored
A block of memory is accessed after having been freed. This was obscured by the fact that 'oBuf' is a pointer into the middle of the block 'dynamicTables', so when dynamicTables is freed, oBuf is pointing to freed memory. Occasionally, luac.cross would crash because of this.
-
- 11 Feb, 2019 2 commits
-
-
Marcel Stör authored
-
prog1407 authored
-
- 05 Feb, 2019 2 commits
-
-
Marcel Stör authored
-
Mark Schlögel authored
Increase http timeout 10s -> 60s
-
- 02 Feb, 2019 1 commit
-
-
Nathaniel Wesley Filardo authored
Purge the never-functional :dns() method, but document the DNS callback in :on(). Fixes #2640
-
- 01 Feb, 2019 1 commit
-
-
Nathaniel Wesley Filardo authored
-
- 24 Jan, 2019 1 commit
-
-
Arnim Läuger authored
-
- 22 Jan, 2019 1 commit
-
-
Nathaniel Wesley Filardo authored
-
- 20 Jan, 2019 2 commits
-
-
devsaurus authored
-
Javier Peletier authored
-
- 16 Jan, 2019 1 commit
-
-
galjonsfigur authored
Files changed only by the author of FatFS (only updated to new version): - 00history.txt - 00readme.txt - ff.c - ff.h - ffunicode.c - diskio.h - integer.h - files in `option` folder except `syscall.c` Changes: - removed option folder (now everything is in ffunicode.c) - modified Makefile to support new version of FatFS - removed syscall.c and modified ffsystem.c from FatFS author instead - modified files: diskio.c, ffconf.h to mimic changes from new version - modified files: fatfs_config.h, myfatfs.c because of changes of configuration keywords in 0.13 version - removed empty lines from beginning of files: fatfs_prefix_lib.h, myfatfs.c, sdcard.c - changed version number in documentation
-
- 15 Jan, 2019 2 commits
-
-
Nathaniel Wesley Filardo authored
* Update TLS protocol support TLS1.0 is past PCI's EOL; BEAST is no more Enable elliptic curve key exchanges Do not enable the smallest ECs for security Do not enable the largest ECs for computational time Do not enable 25519 (sad) because it doesn't go across the wire Drop non-PFS key exchanges Drop ARC4, Blowfish, DES, genprime, XTEA code Drop renegotiation support completely It takes so much heap that it's not likely to work out well Tidy handling of SSL_BUFFER_SIZE Update docs Drop mention of startcom, since they are no more, for letsencrypt * Update mbedtls to 2.7.7 Preserve our vsnprintf and platform hacks * Introduce TLS maximum fragment size knob Reduce buffer size to 4Ki by default and advertize that. That's the largest we can advertize with the TLS MFL extension, so there's no point in making them larger. The truly adventurous can re-raise SSL_BUFFER_SIZE and undefine the SSL_MAX_FRAGMENT_LENGTH_CODE and get back to the earlier behavior. * Default to mbedTLS debug with DEVELOP_VERSION
-
Javier Peletier authored
-
- 13 Jan, 2019 1 commit
-
-
Marcel Stör authored
Drop support for localized content, #2213 Restructure some content to match more closely what we have in master, #2542
-
- 28 Dec, 2018 1 commit
-
-
galjonsfigur authored
-
- 23 Dec, 2018 1 commit
-
-
Lukáš Voborský authored
Another fix
-
- 19 Dec, 2018 1 commit
-
-
galjonsfigur authored
-
- 16 Dec, 2018 2 commits
-
-
galjonsfigur authored
* Recreate and unify documentation for Lua modules * Fix typos in docs * Added/modified READMES to link to new documentation
-
andyleap authored
* Add spi.set_clock_div This will allow the SPI clock divider to be changed relatively simply, to better support multiple devices with varying SPI clock rate support * Add documentation
-
- 12 Dec, 2018 1 commit
-
-
esron authored
lua-users wiki page for Learning Lua changed.
-
- 09 Dec, 2018 1 commit
-
-
Arnim Läuger authored
-
- 05 Dec, 2018 1 commit
-
-
Nathaniel Wesley Filardo authored
-
- 04 Dec, 2018 1 commit
-
-
Arnim Läuger authored
-