Commit Graph

2434 Commits

Author SHA1 Message Date
Marcel Stör 0a453caf79 Fix typos 2020-06-09 22:26:06 +02:00
Nathaniel Wesley Filardo 282ebd100d Deprecate crypto.to{Hex,Base64} (#2929)
The internal implementation already preferentially forwards to the
encoder module, so we should just remove these functions as they confuse
people into thinking that we don't have their inverses (see the feature
request https://github.com/nodemcu/nodemcu-firmware/issues/2907).

Update the docs to refer to the encoder version and add deprecation
warnings to the runtime implementations.
2020-06-09 22:26:06 +02:00
Marcel Stör da53d1938f Fix invalid smartconfig include
Fixes #2928, #2923
2020-06-09 22:26:06 +02:00
Marcel Stör 08ea0c8d27 Remove superfluous module def
Fixes #2920
2020-06-09 22:26:06 +02:00
Marcel Stör 16b2cc5107 Revert "Add streaming support for hx711 device (#2793)" (#2914)
This reverts commit 32ad759409.
2020-06-09 22:26:06 +02:00
Philip Gladstone 9809a607fd Add streaming support for hx711 device (#2793) 2020-06-09 22:26:06 +02:00
Terry Ellison 08426e48f1 Rebased against current dev, tweaks for clean compile 2020-06-09 22:26:06 +02:00
Terry Ellison 6d81dd6c0a Rebased against current dev 2020-06-09 22:26:06 +02:00
Terry Ellison ce2e50c651 Updates following JM review 2020-06-09 22:26:06 +02:00
Terry Ellison 50b69d8487 Add telnet example 2020-06-09 22:26:06 +02:00
Terry Ellison e7c29fe38e Lua 5.1 to 5.3 realignement phase 1 2020-06-09 22:26:06 +02:00
Edvinas 3d91785018
Bugfix conn metatable method call (#3012)
Here `conn` is net.socket instance, so it should be called as one.
Otherwise request is very likely to end up with crash and PANIC.
2020-02-23 09:46:35 -08:00
Marcel Stör 71a182caa7 Use new GitHub issue templates 2020-01-06 14:21:25 +01:00
Terry Ellison 310faf7fcc
Merge pull request #2886 from nodemcu/dev
Next master drop
2019-09-07 10:45:18 +01:00
Marcel Stör a08e74d9ad Complement list of missing standard Lua modules 2019-08-27 22:13:17 +02:00
Gregor Hartmann 739b675b72 add build_date to build info (#2888) 2019-08-15 12:33:22 +02:00
Marcel Stör 0b90495517 Fix node.info() 2019-08-06 23:30:55 +02:00
Gregor Hartmann 537c6f9909 Re-enabling test-compiling all Lua files during CI (#2877) 2019-08-06 12:36:50 +02:00
Nathaniel Wesley Filardo 15afa7fd2e
Merge pull request #2830 from HHHartmann/Extend-node.info
Extend node.info
2019-08-04 20:52:41 +01:00
Nathaniel Wesley Filardo ad9f3bdb56 Be more assertive in the TLS documentation (#2874)
We just don't have the memory to be a real TLS client on the 8266.  Put
that in a big box and point at it from the http and mqtt modules; others
may also wish to give reference.
2019-08-04 12:19:32 +02:00
Marcel Stör 7d02e5a75c Change version in title to 3.0
Fixes #2840
2019-08-01 22:03:09 +02:00
Gregor Hartmann 0659e5529e Fix enduser_setup default POST request (#2852) 2019-08-01 21:31:18 +02:00
Nathaniel Wesley Filardo 49ac968bde Lost fixes to nodemcu-partition.py (#2861) 2019-07-27 14:21:52 +02:00
Nathaniel Wesley Filardo 7d387dd4d6 Simplify and tidy SNTP (#2700)
* list_ref can become LUA_REFNIL, because that's what rawgeti returns
  for LUA_NOREF.  Defensively guard for this, rather than falling into
  the sntp_dolookups loop with nil on the stack.

* set_repeat_mode should not call itself, but should rather always do
  what it's going to do and then optionally do the rest if directed.

* sntp_sync should not try to special case the single string argument:
  we should be queueing that name for DNS resolution, too.  Towards that
  end, if we are given a single string, build a table and make that the
  list_ref and call off to sntp_dolookups, just like we otherwise do.

FIXES: #2699
2019-07-27 14:20:26 +02:00
Nathaniel Wesley Filardo 3d30c985cb Clarify DNS callbacks (#2860) 2019-07-27 14:18:34 +02:00
Gregor Hartmann d054d17694
adapt sed calls for macOS 2019-07-27 13:09:11 +02:00
Gregor Hartmann 825e35053f
have common capitalization in startup message 2019-07-27 12:55:34 +02:00
Gregor 0ff3084fe3 small fixes as outcome of review 2019-07-27 08:27:19 +02:00
Gregor Hartmann 73e6651fe8 Add support for DCHP NTP server (option 42) (#2709)
* Add DHCP option 42 / NTP

* Update dhcp.c

* resolve merge conflict

* add lineend at end of file

* fix merge conflict resolution error
2019-07-27 08:21:35 +02:00
Gregor 9eec82fead Get DTS in UTC as Marcel proposed. 2019-07-27 05:36:06 +00:00
Gregor 06666a7854 using lua_setfield now 2019-07-27 05:36:06 +00:00
Gregor 5fafa6378c change to better UI and get information directly from .h file 2019-07-27 05:36:06 +00:00
Gregor dd1f875283 Fix typos and small enhancement of docu 2019-07-27 05:36:06 +00:00
Gregor 1d976e54f2 inprove USER_PROLOG handling 2019-07-27 05:36:06 +00:00
Gregor 13f22e1f8e Also adapt documentation for building 2019-07-27 05:36:05 +00:00
Gregor 1c94629ea7 Added documantation 2019-07-27 05:36:05 +00:00
Gregor 063988f12a Change DTS to string since it is too big as number 2019-07-27 05:36:05 +00:00
Gregor 6a78546707 update file permission 2019-07-27 05:36:05 +00:00
Gregor 6f1e366946 Revert "update file permission"
This reverts commit af9b123bc1c0603859caf9fcd6fcfdeeeb08dbce.
2019-07-27 05:36:05 +00:00
Gregor 299b248932 Cover for failed RELEASE_DTS calculation 2019-07-27 05:36:05 +00:00
Gregor 2d80042f91 update file permission 2019-07-27 05:36:05 +00:00
Gregor bc4b177086 Fix small issues and add execute bit for unix 2019-07-27 05:36:04 +00:00
Gregor ad90e8dd51 tweal the startup message a bit 2019-07-27 05:36:04 +00:00
Gregor e6c2f4cb55 Include environment variable USER_PROLOG in user config default 2019-07-27 05:36:04 +00:00
Gregor e0273185db include buildinfo generation in makefile 2019-07-27 05:36:04 +00:00
Gregor 4b279939b6 Add release info 2019-07-27 05:36:02 +00:00
Gregor 21c35a1a97 Create buildinfo.h and return new Values in node.info 2019-07-27 05:36:02 +00:00
Terry Ellison 6d9c5a49a4
Example Lua module for coroutining (#2851) 2019-07-26 16:43:56 +01:00
Johny Mattsson 21b3f38ab8 Replace symlink with actual file. (#2856)
Due to Windows limitations. Sigh.
2019-07-26 06:43:08 +02:00
Terry Ellison c7ff86ff27
remove luacheck run for Travs and minor tweaks following #2838 (#2845) 2019-07-23 20:29:44 +03:00