Hieromon Ikasamo
246d600f62
Fixed crash when no SSID found
5 years ago
Hieromon Ikasamo
56ba89649f
Merge pull request #144 from Boldie/improvement_unique_ptr_webserver
...
Improvement unique ptr webserver
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
b4682dd8d4
Merge pull request #142 from Hieromon/patches/v111
...
Patches/v111
5 years ago
Hieromon Ikasamo
88fc5b7daf
Deployment for v1.1.1
5 years ago
Hieromon Ikasamo
a01e37ce21
Updated a release note.
5 years ago
Hieromon Ikasamo
c986e2946c
Updated a version number
5 years ago
Hieromon Ikasamo
006cc82bad
Merge pull request #141 from Boldie/fix_unique_ptr_aux_ac
...
Fix trouble with uniqu_ptr deleting reference content.
5 years ago
Hieromon Ikasamo
ad9b7c96d5
Merge pull request #140 from Boldie/fix_missingInit
...
Initialize member correctly: May lead to instant disconnect in some situations.
Fixes #139
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
f48f216aa8
Fixes typo
5 years ago
Hieromon Ikasamo
37fd418fed
Fixes typo
5 years ago
Hieromon Ikasamo
b79028346e
Merge pull request #137 from Hieromon/Enhance/v110
...
Enhance/v110
5 years ago
Hieromon Ikasamo
690f2f11d5
v110 deployment
5 years ago
Hieromon Ikasamo
595a43cfca
Fixes typo
5 years ago
Hieromon Ikasamo
5527dd2744
Fixes typo
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
7d12936db8
Fixes typo
5 years ago
Hieromon Ikasamo
2fd24fecd3
Reduced consume memory for the OpenSSIDs page
5 years ago
Hieromon Ikasamo
a8675ba7cb
Release for v1.1.0
5 years ago
Hieromon Ikasamo
506bc832b0
Added a description for static IP configuration
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
e61d6cdcdb
Support the Config New with static IP
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
042e9300a1
Changed IP address regular expression
5 years ago
Hieromon Ikasamo
dde5306cbd
Support the Config New with static IP
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
ba3251f42b
Support the Config New with static IP
5 years ago
Hieromon Ikasamo
275cb2d398
Support the Config New with static IP
5 years ago
Hieromon Ikasamo
becd58ec63
Merge pull request #134 from Hieromon/patches/v103
...
Patches/v103
5 years ago
Hieromon Ikasamo
b59731b42a
Release for v1.0.3
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