History log of /haiku/src/preferences/network/NetworkWindow.h
Revision Date Author Comments
# 6516aed5 05-Apr-2017 Alexander von Gluck IV <kallisti5@unixzen.com>

network preflet: Make InterfaceListItem dumber

* Allows us to use InterfaceListItem for non-physical
interface things (like a VPN connection)


# 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.


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

Network: fixed top item creation, sort entries.

* Need a way to access the NetworkWindow object from a static
method in order to sort all entries correctly, though.


# 5274e9b0 04-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network: added interface list item.

* Added BNetworkInterfaceListItem that can be used by interface protocol
add-ons to represent their functionality in the list view.
* It will automatically update itself on changes, and will show the
specified label, and address, if any, as well as indicate whether or
not the family has been disabled (which doesn't work perfectly yet,
as IFF_AUTO_CONFIGURED is on the interface level).
* Therefore, the interface list item will no longer show the address,
but the type of the device instead.
* Introduced the BNetworkConfigurationListener interface that is used
to broadcast network updates to.


# 9461249c 03-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network: also notify interface list items

* When the network configuration changes.


# 07addd7e 26-Feb-2015 Axel Dörfler <axeld@pinc-software.de>

Network: broadcast updates, remove apply button.

* Network now monitors all network, and network settings changes, and
will notify all add-ons about those changes.
* Removed the global apply button. Instead, the static IP configuration
now got that button. All other changes will be instant.


# 2864e4da 19-Feb-2015 Axel Dörfler <axeld@pinc-software.de>

Network: added global settings.

* NetworkWindow now manages a single BNetworkSettings object
that is shared with all add-ons.


# f6c7cf44 05-Feb-2015 Axel Dörfler <axeld@pinc-software.de>

Network: integrated former hardware view from add-on.

* The interfaces logic is within the main application, so is the
new interface view.
* Disabling/renegotiating does not work yet.
* Reveals a bug in some interface code; when you click on an ethernet
device first, there is no place for the wireless menu. When you then
press on a wireless device, it crashes in BMenuField code.
In the other direction, there is then an empty space.
* Fixed list item width reporting.


# 021ff1ca 04-Feb-2015 Axel Dörfler <axeld@pinc-software.de>

Network: no need for public constants.


# a7cb9f5f 04-Feb-2015 Axel Dörfler <axeld@pinc-software.de>

Network: WIP of redesign.

* Fletched out new add-on API.
* Moved InterfaceListItem from the interfaces add-on into the
application.
* Renamed NetworkSetup* to Network* respectively NetworkSettings*.


# a0c8a64b 29-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

Move the new network preflet at the right place.


# 87ade459 03-Aug-2010 Stephan Aßmus <superstippi@gmx.de>

Removed any unnecessary cruft from NetworkWindow header and source, fixed style
issues. (Not actually tested.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37865 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6ad23dbb 12-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

Some cleanup:
* Reordered to have the constructor/destructor first.
* Two blanks between functions.
* Removed superfluous constructor calls.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24953 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e583bfc2 20-Aug-2007 Stephan Aßmus <superstippi@gmx.de>

patch by Andre Garzia:
* reading/writing interface configuration data is now working properly
* at boot, net_server will overwrite the configuration with settings retrieved
via DHCP, though
* refactoring/renaming

changes by myself:
* fixed warnings and cleaned up in Settings::ReadConfiguration(), when the
nameservers are parsed
* fixed warning in EthernetSettingsView::_SaveAdaptersConfiguration(), changed
the loop to do without "isOpen", I think it was broken in two ways before:
- it would use the fp pointer after closing the file (isOpen was not
maintained), and if that would have worked, it would have overwritten the
interface configuration saved in an earlier loop iteration, now it should
write all interfaces that are not set to autoconfigure


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22018 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7b6156a2 09-Jul-2007 Stephan Aßmus <superstippi@gmx.de>

* moved network to network_old to make room for new preflet by Andre Garzia


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21587 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 532d1ccd 09-Feb-2006 DarkWyrm <darkwyrm@gmail.com>

Main window is font sensitive now.
More style cleanups - still not finished, though
More code cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16329 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9bf86676 06-Feb-2006 DarkWyrm <darkwyrm@gmail.com>

Serious refactoring of app code.
Updating files to style guidelines
Separated classes into their own files
Lots of other things, but still nowhere near finished


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16265 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 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.


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

Network: fixed top item creation, sort entries.

* Need a way to access the NetworkWindow object from a static
method in order to sort all entries correctly, though.


# 5274e9b004a65e4a1c0af775d6651a7a01bd72ba 04-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network: added interface list item.

* Added BNetworkInterfaceListItem that can be used by interface protocol
add-ons to represent their functionality in the list view.
* It will automatically update itself on changes, and will show the
specified label, and address, if any, as well as indicate whether or
not the family has been disabled (which doesn't work perfectly yet,
as IFF_AUTO_CONFIGURED is on the interface level).
* Therefore, the interface list item will no longer show the address,
but the type of the device instead.
* Introduced the BNetworkConfigurationListener interface that is used
to broadcast network updates to.


# 9461249c5a26278732e330fa8178a6b847f455e0 03-Mar-2015 Axel Dörfler <axeld@pinc-software.de>

Network: also notify interface list items

* When the network configuration changes.


# 07addd7ef5fdb7da7f12678e6038b84c9ccaed39 26-Feb-2015 Axel Dörfler <axeld@pinc-software.de>

Network: broadcast updates, remove apply button.

* Network now monitors all network, and network settings changes, and
will notify all add-ons about those changes.
* Removed the global apply button. Instead, the static IP configuration
now got that button. All other changes will be instant.


# 2864e4da5ef3d145809699fa82ec9066f30e0b34 19-Feb-2015 Axel Dörfler <axeld@pinc-software.de>

Network: added global settings.

* NetworkWindow now manages a single BNetworkSettings object
that is shared with all add-ons.


# f6c7cf44b56eda3d39841a5a05a9d0666c32a717 05-Feb-2015 Axel Dörfler <axeld@pinc-software.de>

Network: integrated former hardware view from add-on.

* The interfaces logic is within the main application, so is the
new interface view.
* Disabling/renegotiating does not work yet.
* Reveals a bug in some interface code; when you click on an ethernet
device first, there is no place for the wireless menu. When you then
press on a wireless device, it crashes in BMenuField code.
In the other direction, there is then an empty space.
* Fixed list item width reporting.


# 021ff1ca467bc8f1a95b7d61377a8a65b20fbc8a 04-Feb-2015 Axel Dörfler <axeld@pinc-software.de>

Network: no need for public constants.


# a7cb9f5f55110e2604b97b0845954d26165c191a 04-Feb-2015 Axel Dörfler <axeld@pinc-software.de>

Network: WIP of redesign.

* Fletched out new add-on API.
* Moved InterfaceListItem from the interfaces add-on into the
application.
* Renamed NetworkSetup* to Network* respectively NetworkSettings*.


# a0c8a64b47a9c8cc09988982013d1b1601a08087 29-Oct-2014 Adrien Destugues <pulkomandy@gmail.com>

Move the new network preflet at the right place.


# 87ade459f1b81afc5f35ba8de78626cdea9ea3ec 03-Aug-2010 Stephan Aßmus <superstippi@gmx.de>

Removed any unnecessary cruft from NetworkWindow header and source, fixed style
issues. (Not actually tested.)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37865 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6ad23dbbf4b2808407657720c17bddfb0c3cb8f4 12-Apr-2008 Axel Dörfler <axeld@pinc-software.de>

Some cleanup:
* Reordered to have the constructor/destructor first.
* Two blanks between functions.
* Removed superfluous constructor calls.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24953 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e583bfc206b6c301bde1a2c32e24f0fe15ce7fa6 20-Aug-2007 Stephan Aßmus <superstippi@gmx.de>

patch by Andre Garzia:
* reading/writing interface configuration data is now working properly
* at boot, net_server will overwrite the configuration with settings retrieved
via DHCP, though
* refactoring/renaming

changes by myself:
* fixed warnings and cleaned up in Settings::ReadConfiguration(), when the
nameservers are parsed
* fixed warning in EthernetSettingsView::_SaveAdaptersConfiguration(), changed
the loop to do without "isOpen", I think it was broken in two ways before:
- it would use the fp pointer after closing the file (isOpen was not
maintained), and if that would have worked, it would have overwritten the
interface configuration saved in an earlier loop iteration, now it should
write all interfaces that are not set to autoconfigure


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22018 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7b6156a275c93d42ba741df0d5a554576448a1aa 09-Jul-2007 Stephan Aßmus <superstippi@gmx.de>

* moved network to network_old to make room for new preflet by Andre Garzia


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21587 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 532d1ccd432d75348632d24bb9ea6679e52641e7 09-Feb-2006 DarkWyrm <darkwyrm@gmail.com>

Main window is font sensitive now.
More style cleanups - still not finished, though
More code cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16329 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9bf86676ad1834390945e8f84ab754ff2d6e9a87 06-Feb-2006 DarkWyrm <darkwyrm@gmail.com>

Serious refactoring of app code.
Updating files to style guidelines
Separated classes into their own files
Lots of other things, but still nowhere near finished


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16265 a95241bf-73f2-0310-859d-f6bbb57e9c96