History log of /haiku/src/add-ons/network_settings/dnsclient/DNSSettingsView.cpp
Revision Date Author Comments
# e248c98e 11-Feb-2021 Jaidyn Ann <jadedctrl@teknik.io>

DNSSettingsView: Disable list buttons when nothing selected

Change-Id: I2ff2ab1b3e29b1a8b217506ae620926f0f51787f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3742
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 1eabd148 02-Jul-2020 Augustin Cavalier <waddlesplash@gmail.com>

Network: Update DNSSettingsView after previous API deprecation.

Create a res_state on the stack and initialize it instead of using
the private API.


# 5186fb7e 31-Jan-2019 Rob Gill <rrobgill@protonmail.com>

Network: Avoid DHCP over-writing user specified DNS settings

* Adds parser to servers/net/nethost, to check current
settings in resolv.conf before updating

If user has specified DNS settings manually, DHCP derived
settings are appended to resolv.conf, rather than overwriting.

(If no user specified data is present, or in the event of
a badly damaged resolv.conf, DHCP over-writes file in same
manner as prior to this change)

Fixes #11565.

Change-Id: I43464909009d2416d57f66f7bd14d13c81f803e7
Reviewed-on: https://review.haiku-os.org/c/997
Reviewed-by: Axel Dörfler <axeld@pinc-software.de>
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>


# d585e4c3 14-Jul-2015 Adrien Destugues <pulkomandy@gmail.com>

DNS prefs: use thread-safe DNS settings getter

__res_state can't be used with pthreads involved, instead use
__res_get_state and __res_put_state which maintain a pool of res_state
instances.

Fixes #12195.


# 38aa1d3b 05-Jun-2015 Humdinger <humdingerb@gmail.com>

Avoid duplicate trnslation string in DNS settings view

As pointed out correctly by PulkoMandy. Thanks!


# 0ecdbff3 05-Jun-2015 Humdinger <humdingerb@gmail.com>

Small tweaks to Network prefs (DNS settings)

* Remove the BBox.
* Don't resize buttons when horizontally resizing the window.
* Compute the server address field width correctly by taking the label into
account.


# e587c279 02-Apr-2015 Axel Dörfler <axeld@pinc-software.de>

Network/DNSClientService: fixed missing error check.

* CID 1251065.


# 81ba2a04 23-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network: fixed DNS server label.


# 6a290205 18-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network: made the revert button (somewhat) work.

* DNS add-on does not yet support it, the rest does.
* However, there seems to be some problems with the net_server when
changing interfaces -- not just with revert.


# 3d7aaa30 18-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network: added notify settings updated method.

* And call it from the DNS client -- this is the only add-on that does
not trigger a configuration or settings update, so we have to notify
the changes manually.


# d0b107f3 16-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network: added IPAddressControl.

* Based on Adrien's previous work in the DNS settings view.
* The IPv* and DNS add-ons are now using it.


# b4ec589b 12-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network/DNS settings: apply button, improved layout.

* The buttons now all end up with the same width.
* Put the grid into a BBox.
* The new "apply" button will actually apply the changes.


# 9a7e231e 12-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network: DNSSettingsView style cleanup.


# a4a34e42 12-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network: beginnings of the DNS settings.


# d585e4c396ab5aed659dd13b6713366254865747 14-Jul-2015 Adrien Destugues <pulkomandy@gmail.com>

DNS prefs: use thread-safe DNS settings getter

__res_state can't be used with pthreads involved, instead use
__res_get_state and __res_put_state which maintain a pool of res_state
instances.

Fixes #12195.


# 38aa1d3b8228744ce9b527a50729a51e2368c4c7 05-Jun-2015 Humdinger <humdingerb@gmail.com>

Avoid duplicate trnslation string in DNS settings view

As pointed out correctly by PulkoMandy. Thanks!


# 0ecdbff36a721097ae447318cbe40516e9f649b1 05-Jun-2015 Humdinger <humdingerb@gmail.com>

Small tweaks to Network prefs (DNS settings)

* Remove the BBox.
* Don't resize buttons when horizontally resizing the window.
* Compute the server address field width correctly by taking the label into
account.


# e587c279ee2b9625bb6b0991e7d462b840dfc066 02-Apr-2015 Axel Dörfler <axeld@pinc-software.de>

Network/DNSClientService: fixed missing error check.

* CID 1251065.


# 81ba2a0474f2871998b4a2ca1f09aa583275e81c 23-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network: fixed DNS server label.


# 6a290205937dc619dcdf3d7b06f114b1f5465e4f 18-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network: made the revert button (somewhat) work.

* DNS add-on does not yet support it, the rest does.
* However, there seems to be some problems with the net_server when
changing interfaces -- not just with revert.


# 3d7aaa308c3265fc8016767b9e5a5c9a196209be 18-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network: added notify settings updated method.

* And call it from the DNS client -- this is the only add-on that does
not trigger a configuration or settings update, so we have to notify
the changes manually.


# d0b107f3110baf1799df4c488c64848a1e232d0a 16-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network: added IPAddressControl.

* Based on Adrien's previous work in the DNS settings view.
* The IPv* and DNS add-ons are now using it.


# b4ec589bb37684c42c44bb6c870bec3fa908a507 12-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network/DNS settings: apply button, improved layout.

* The buttons now all end up with the same width.
* Put the grid into a BBox.
* The new "apply" button will actually apply the changes.


# 9a7e231edb5ccf5f52ca3e56d9eef24bf719dbeb 12-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network: DNSSettingsView style cleanup.


# a4a34e423580f9a13f0016268abba8fb68c09445 12-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network: beginnings of the DNS settings.