Hieromon Ikasamo
b0c93e8b75
Typo fixes
5 years ago
Sven Steckmann
a4cc82c808
Fix memory leak on destruction and make use of unique_ptr.
...
The _currentPageElement was not deleted on destruction. This caused a
memory leak. Furthermore there was an explicit destructor call which should
never be used. Now the memory handling is delegated to a unique_ptr which
makes it easier to track.
5 years ago
Sven Steckmann
02e98f54f4
Remove error prone handling of direct calling destructors.
...
A destructor should never be directly called. But this is a good position
to use unique_ptr for memory management.
5 years ago
Sven Steckmann
6d37959fb3
Remove _initialize method and replace it by delegating constructor.
...
* This is more straight forward with C++11 and the way todo.
* Also move some initializations to the header file.
* Remove assignment of empty String("") since this is an assignment with
a default constructed object which is already default constructed.
* Remove reset of unique_ptr: They are per default initialized as empty nullptr.
5 years ago
Sven Steckmann
88f4447777
Make handling of WebServerClass instance easier
...
Adding a custom deleter to unique_ptr in case of using the reference. This
makes the code less error prone and easier to read since we will only have
to use the creation of the pointer the correct way.
5 years ago
Hieromon Ikasamo
c986e2946c
Updated a version number
5 years ago
Sven Steckmann
9e02f48f53
Fix trouble with uniqu_ptr deleting reference content.
...
It is not necessary to use a unique_ptr (also always using .release shows
this), so there can be used a raw pointer instead.
Here we fix usage of _aux an also of back pointing _ac. Especially on _ac
it does not make any sense, since this pointer is stored in many locations.
refs #138
5 years ago
Hieromon Ikasamo
f47ecfe1f6
Reduced consume memory for the ConfigNew page
5 years ago
Hieromon Ikasamo
275cb2d398
Support the Config New with static IP
5 years ago
Hieromon Ikasamo
be3c560d41
Release for v1.0.0
...
Fixes #26 , #45 , #62 , #122
5 years ago
david gauchard
c9450a1005
fix to compile with current esp8266/arduino git head
...
together with https://github.com/esp8266/Arduino/pull/6321
5 years ago
Hieromon Ikasamo
5ddd49c42a
Supports AutoConnectTicker
5 years ago
Hieromon Ikasamo
86be3a520c
Update version number
6 years ago
Hieromon Ikasamo
db2733623e
Fixed an alignment violation
6 years ago
Hieromon Ikasamo
937cd712c5
Changed API interface of AutoConnect::where
6 years ago
Hieromon Ikasamo
e790a0f4ac
Supports ArduinoJson V6. Issue #47
6 years ago
Hieromon Ikasamo
2c0207fb40
Improved heap fragmentation in page content generation. Issue#51
6 years ago
Hieromon Ikasamo
0fd3171fb5
Change display of SSID to paging. Issue #51
6 years ago
Hieromon Ikasamo
cc6a14f529
Supports AutoConnectFile element
6 years ago
Hieromon Ikasamo
aeefb2d179
Virtualize _setupPage PR #38
6 years ago
Hieromon Ikasamo
135e8a64b8
Supports AutoConnect::title function
6 years ago
Hieromon Ikasamo
9b9bfc967c
Amended reference to String
6 years ago
Hieromon Ikasamo
8bf37ed398
Added channel to SSID with Config NEW
6 years ago
Hieromon Ikasamo
dc5adfb2bf
Change evaluation point of free heap size
6 years ago
Hieromon Ikasamo
00d4b17155
Adds AutoConnect::where function
6 years ago
Hieromon Ikasamo
c428a33aa9
Improved code readability
6 years ago
Hieromon Ikasamo
7d5bed6183
Improved stability of connection attempts on ESP32
6 years ago
Hieromon Ikasamo
b13b7db3d3
Improved execution efficiency
6 years ago
Hieromon Ikasamo
ad3085f62d
Supports the captive portal timeout
6 years ago
Hieromon Ikasamo
caa28a84ca
Minor changed interface of join method.
6 years ago
Hieromon Ikasamo
9aaa67f7cd
Normalization of member function scope
6 years ago
Hieromon Ikasamo
3058169829
Abandon own buffer size control
6 years ago
Hieromon Ikasamo
dc75ab7b6d
Supports AutoConnectAux
6 years ago
Hieromon Ikasamo
c48ecfff4a
Add AutoConnectConfig::hostName
6 years ago
Hieromon Ikasamo
258fb32722
Supports AutoConnectAux
6 years ago
Hieromon Ikasamo
a7402ea391
Supports AutoConnectAux
6 years ago
Hieromon Ikasamo
071d92369f
Supports AutoConnectAux
6 years ago
Hieromon Ikasamo
8409453322
Supprts AutoConnectAux
6 years ago
Hieromon Ikasamo
00471d3b83
Supports AutoConnectAux
6 years ago
Hieromon Ikasamo
8652dadfaf
Supports AutoConnectAux
6 years ago
Hieromon Ikasamo
cfa63c531e
Supports AutoConnectAux
6 years ago
Hieromon Ikasamo
4ee0b1219e
Supports AutoConnectAux
6 years ago
Hieromon Ikasamo
d281bb33e7
Supports AutoConnectAux
6 years ago
Hieromon Ikasamo
bc03f917f7
Supports AutoConnectAux
6 years ago
Hieromon Ikasamo
dbbb220ffa
Supports AutoConnectAux
6 years ago
Hieromon Ikasamo
4de6dfb101
Supports AutoConnectAux
6 years ago
Hieromon Ikasamo
51cd72375f
Supports ESP32
6 years ago
Hieromon Ikasamo
8ad3f52bbf
Supports autoReconnect
7 years ago
Hieromon Ikasamo
e40b37579d
Release for the static IP support
7 years ago
Hieromon Ikasamo
77d5cb5dc6
Added boundaryOffet
7 years ago