Hieromon Ikasamo
16928ab67d
Fixed relocate URIs inability
5 years ago
Hieromon Ikasamo
cb778f3aab
Remove compiler warnings.
5 years ago
Hieromon Ikasamo
246d600f62
Fixed crash when no SSID found
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
Hieromon Ikasamo
8539f015c3
Fixed garbage returning when no SSID found.
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
908d6771c2
Remove unused rst compiler warning.
5 years ago
Sven Steckmann
c7ffe5d4c7
Remove compiler warnings by adding some braces.
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
Sven Steckmann
ddade99c43
DNS server stop independent of webserver type
...
In some situations (not passing a WebServer instance from external) the
DNS server was not stopped in _stopPortal(). Maybe the intention was here not
to stopped an externally passed WebServer but I see no use-case for the
dns server here.
Fixed this to remove the enum handling in the next step.
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
Sven Steckmann
a03d57f682
Initialize member correctly: May lead to instant disconnect in some situations.
...
refs #139
5 years ago
Hieromon Ikasamo
4d947bd0ac
Release for v1.1.0
5 years ago
Hieromon Ikasamo
6b9564145a
Support the Config New with static IP
5 years ago
Hieromon Ikasamo
7b8879ee1e
Fixed no member named 'printTo' compilation error
5 years ago
Hieromon Ikasamo
2fd24fecd3
Reduced consume memory for the OpenSSIDs page
5 years ago
Hieromon Ikasamo
cb2a8f4972
Change station_config_dhcp enum
5 years ago
Hieromon Ikasamo
d2a076249e
Fixed missing SoftAPIP
5 years ago
Hieromon Ikasamo
ba989740fd
Reduced consume memory for the ConfigNew page
5 years ago
Hieromon Ikasamo
f47ecfe1f6
Reduced consume memory for the ConfigNew page
5 years ago
Hieromon Ikasamo
70be65dfd1
Fixed IP address regexp
5 years ago
Hieromon Ikasamo
82ed17489e
Removed unused variable
5 years ago
Hieromon Ikasamo
2441c87483
Changed parsing for entered IP addresses
5 years ago
Hieromon Ikasamo
650885f0cf
Added a pattern to the static IP fields
5 years ago
Hieromon Ikasamo
8a4dabef12
Change for testing
5 years ago
Hieromon Ikasamo
7d99c49802
Fixed static IP loss with Open SSIDs
5 years ago
Hieromon Ikasamo
275cb2d398
Support the Config New with static IP
5 years ago
Hieromon Ikasamo
3dda824a0f
Fixed a return of entries(). Issue #133
5 years ago
Hieromon Ikasamo
e1b2a7acb5
Fixed the output digits of debug log
5 years ago
Hieromon Ikasamo
9c5b2389f0
Fixed that no member named 'success' issue #130
5 years ago
Hieromon Ikasamo
0a8b6ac4f1
Fixed SSID non terminated. issue #128
5 years ago
Hieromon Ikasamo
1474bde33c
Fixed SSID non terminated. issue #128
5 years ago
Hieromon Ikasamo
8ee5e3ae6a
Changed getPrefBytesLength to a member function
5 years ago
Hieromon Ikasamo
f04ac4ba2c
Fixed compilation error of no getBytesLength member with arduino-esp32 1.0.1 or earlier. issue #125
5 years ago
Hieromon Ikasamo
be3c560d41
Release for v1.0.0
...
Fixes #26 , #45 , #62 , #122
5 years ago
Hieromon Ikasamo
4e1e9c4456
Fixed Fixed missing captive portal notifications (issue #85 )
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
47c6fff690
Adds AutoConnectAux::fetchElement function
5 years ago
Joe
c7922a1c4e
Fixed a bug which prevented AutoConnectCredential to function properly when offset is greater than 256 (8 bits)
5 years ago
Hieromon Ikasamo
04343bbbb0
Supports for AutoConnectTicker
5 years ago
Joe
3fc571b752
Fixed a bug which prevented AutoConnectCredential to function properly when offset is greater than 256 (8 bits)
5 years ago
Hieromon Ikasamo
5ddd49c42a
Supports AutoConnectTicker
5 years ago
Hieromon Ikasamo
9a496bab21
Missing heap_caps_malloc. issue #102
5 years ago
Hieromon Ikasamo
4ab0f750ac
Missing heap_caps_malloc. issue #102
5 years ago
Hieromon Ikasamo
af998981ee
Added the labelPosition attribute with AutoConnectCheckbox
5 years ago
Hieromon Ikasamo
478815d1d7
Supports AutoConnectStyle element
5 years ago
Hieromon Ikasamo
ece97863c8
Fixed that incorrect inheritance of Basis elements.
5 years ago
Hieromon Ikasamo
9d9bbec483
Corrected redundant style code
5 years ago