History log of /haiku/src/apps/networkstatus/NetworkStatusView.h
Revision Date Author Comments
# 8897f278 08-Nov-2013 Stefano Ceccherini <stefano.ceccherini@gmail.com>

NetworkStatus: Use the network API
Use the Network API instead of querying the net_stack via socket.


# fd19c736 30-Apr-2013 Adrien Destugues <pulkomandy@gmail.com>

Fix BAboutWindow lifecycle

BAboutWindow returned false in QuitRequested in order to hide instead of closing.
Not only this keeps a BLooper running for a rarely used window, but it also
prevents quitting an application in the window was not destroyed first.

* Remove aforementioned QuitRequested method,
* Add a static GetWindow method that returns the existing about window, if there
is one, or creates one if there is not. A boolean can be set to tell the caller
what happened,
* Adjust all callers to use that new method, instead of managing the window themselves.


# 730a45ee 12-Nov-2012 John Scipione <jscipione@gmail.com>

Rework NetworkStatus to use a non-modal BAboutWindow


# 5c46b171 14-Apr-2012 Rene Gollent <anevilyak@gmail.com>

Rework NetworkStatus's status tracking a bit.

NetworkStatus now tracks the status of each interface separately, and
uses that information to make correct comparisons for notifications.
Previously, it would only send notifications using whatever interface
was last in the enumeration list, and if an earlier interface had a higher
configuration level than that, the notification would incorrectly be sent
as occurring on the last interface. We now send notifications for each
interface separately. The status shown by the deskbar icon remains that
of the most highly configured detected interface. Fixes #8468.


# e58807ed 15-Mar-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

networkstatus: Scale icon to large and small sizes

* This gives us a nice status icon to use for
notification messages.


# b44d24c0 05-Mar-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

network status: Add notifications for major network events

* Add a notification if the network interface monitored by
the system tray icon has a major state change.
* This gives users a little feedback on connection state.
* User is only prompted once on each state change.
* TODO: change system tray icons to vector so we can scale
them up better.


# 195981bb 04-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Removed the polling of the network status; instead, it now uses the new
network notifications.
* It also doesn't keep a socket open over the whole time which would prevent
the network stack to be unloaded.


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


# 3b41ad86 06-May-2008 Stephan Aßmus <superstippi@gmx.de>

Applied patch by Dario Casalinuovo with some changes by myself:
The NetworkStatus applet is now able to launch the Network preferences via
its contex menu.


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


# f01106c3 11-Apr-2007 Axel Dörfler <axeld@pinc-software.de>

* Moved the network status replicant into its own application, similar to what
ProcessController and PowerStatus are doing.
* Currently polls for info only - later, the stack should support listeners for
interface related changes.
* Also works under BONE (although it doesn't make much sense to use it there).


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


# 8897f2780d28e1b4d42988d82bf5e190968b6819 08-Nov-2013 Stefano Ceccherini <stefano.ceccherini@gmail.com>

NetworkStatus: Use the network API
Use the Network API instead of querying the net_stack via socket.


# fd19c7366df2134106131c370c99c3ed7f38757f 30-Apr-2013 Adrien Destugues <pulkomandy@gmail.com>

Fix BAboutWindow lifecycle

BAboutWindow returned false in QuitRequested in order to hide instead of closing.
Not only this keeps a BLooper running for a rarely used window, but it also
prevents quitting an application in the window was not destroyed first.

* Remove aforementioned QuitRequested method,
* Add a static GetWindow method that returns the existing about window, if there
is one, or creates one if there is not. A boolean can be set to tell the caller
what happened,
* Adjust all callers to use that new method, instead of managing the window themselves.


# 730a45ee8f314649f7989e1014287b4766875fe1 12-Nov-2012 John Scipione <jscipione@gmail.com>

Rework NetworkStatus to use a non-modal BAboutWindow


# 5c46b171392ac6c49b56eae7bf1e636d3d854c08 14-Apr-2012 Rene Gollent <anevilyak@gmail.com>

Rework NetworkStatus's status tracking a bit.

NetworkStatus now tracks the status of each interface separately, and
uses that information to make correct comparisons for notifications.
Previously, it would only send notifications using whatever interface
was last in the enumeration list, and if an earlier interface had a higher
configuration level than that, the notification would incorrectly be sent
as occurring on the last interface. We now send notifications for each
interface separately. The status shown by the deskbar icon remains that
of the most highly configured detected interface. Fixes #8468.


# e58807ed85d518c3ccf9e0a7ec77b55a3d3e2701 15-Mar-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

networkstatus: Scale icon to large and small sizes

* This gives us a nice status icon to use for
notification messages.


# b44d24c0add302a34ae55a305d9bac69b0ee4a1c 05-Mar-2012 Alexander von Gluck IV <kallisti5@unixzen.com>

network status: Add notifications for major network events

* Add a notification if the network interface monitored by
the system tray icon has a major state change.
* This gives users a little feedback on connection state.
* User is only prompted once on each state change.
* TODO: change system tray icons to vector so we can scale
them up better.


# 195981bb591d618483ad535d5dfcb3fb75f2445c 04-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Removed the polling of the network status; instead, it now uses the new
network notifications.
* It also doesn't keep a socket open over the whole time which would prevent
the network stack to be unloaded.


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


# 3b41ad8606a88410702af016bdfea61c3b33a5df 06-May-2008 Stephan Aßmus <superstippi@gmx.de>

Applied patch by Dario Casalinuovo with some changes by myself:
The NetworkStatus applet is now able to launch the Network preferences via
its contex menu.


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


# f01106c3cfc01f5706583d75c6d75d3b7cd98b77 11-Apr-2007 Axel Dörfler <axeld@pinc-software.de>

* Moved the network status replicant into its own application, similar to what
ProcessController and PowerStatus are doing.
* Currently polls for info only - later, the stack should support listeners for
interface related changes.
* Also works under BONE (although it doesn't make much sense to use it there).


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