dhcpcd-ui
6 years agoWe need to close dhcpcd-wi instances as deleteLater keeps some stuff active
Roy Marples [Tue, 12 May 2015 22:04:26 +0000 (22:04 +0000)]
We need to close dhcpcd-wi instances as deleteLater keeps some stuff active
when it really isn't.

6 years agoFix dhcpcd-online for recent libdhcpcd changes
Roy Marples [Tue, 12 May 2015 21:36:29 +0000 (21:36 +0000)]
Fix dhcpcd-online for recent libdhcpcd changes

6 years agoImprove WPA interaction by allowing the fd to persist in the status cb
Roy Marples [Tue, 12 May 2015 21:19:41 +0000 (21:19 +0000)]
Improve WPA interaction by allowing the fd to persist in the status cb
so it can be closed before actually enforcing it's closure internally.

6 years agoImport new eloop from dhcpcd
Roy Marples [Tue, 12 May 2015 20:22:57 +0000 (20:22 +0000)]
Import new eloop from dhcpcd

6 years agoRemove prior two patches, libevent was a nice experiment but dhcpcd's
Roy Marples [Tue, 12 May 2015 20:18:13 +0000 (20:18 +0000)]
Remove prior two patches, libevent was a nice experiment but dhcpcd's
eloop works better for me.

6 years agoFix compile on Linux and fix some memory errors.
Roy Marples [Mon, 11 May 2015 21:26:07 +0000 (21:26 +0000)]
Fix compile on Linux and fix some memory errors.

6 years agoReplace eloop with libevent in dhcpcd-curses.
Roy Marples [Mon, 11 May 2015 21:09:31 +0000 (21:09 +0000)]
Replace eloop with libevent in dhcpcd-curses.

6 years agoUse constants rather than string comparison for a saner API.
Roy Marples [Mon, 11 May 2015 14:39:53 +0000 (14:39 +0000)]
Use constants rather than string comparison for a saner API.

6 years agoFix compile.
Roy Marples [Wed, 6 May 2015 14:21:50 +0000 (14:21 +0000)]
Fix compile.

6 years agoMove dhcpcd-qt lockfile to DHCPCD_TMP_DIR.
Roy Marples [Wed, 6 May 2015 08:10:59 +0000 (08:10 +0000)]
Move dhcpcd-qt lockfile to DHCPCD_TMP_DIR.
Set DHCPCD_TMP_DIR permissios via a macro rather than hard-coded.

6 years agoClose wpa when done with the interface.
Roy Marples [Tue, 5 May 2015 23:16:50 +0000 (23:16 +0000)]
Close wpa when done with the interface.

6 years agoMove the wpa socket files out of /tmp and into /tmp/dhcpcd
Roy Marples [Tue, 5 May 2015 23:11:58 +0000 (23:11 +0000)]
Move the wpa socket files out of /tmp and into /tmp/dhcpcd

6 years agoRemove debug
Roy Marples [Tue, 5 May 2015 23:03:29 +0000 (23:03 +0000)]
Remove debug

6 years agoAdd a singleton class to ensure that dhcpcd-qt runs once per user per display.
Roy Marples [Tue, 5 May 2015 23:02:51 +0000 (23:02 +0000)]
Add a singleton class to ensure that dhcpcd-qt runs once per user per display.
Dang those pesky session managers!

6 years agoInstall desktop files into /etc/xdg/autostart
Roy Marples [Tue, 5 May 2015 20:53:59 +0000 (20:53 +0000)]
Install desktop files into /etc/xdg/autostart

6 years agoFix for building dhcpcd-qt without notification
Roy Marples [Mon, 6 Apr 2015 21:03:38 +0000 (21:03 +0000)]
Fix for building dhcpcd-qt without notification

6 years agoUpdate the icon to shor the wireless strength correctly if we have wireless
Roy Marples [Mon, 6 Apr 2015 19:15:09 +0000 (19:15 +0000)]
Update the icon to shor the wireless strength correctly if we have wireless
going on/offline and a non wireless interface online.

6 years agoFix compile on Linux.
Roy Marples [Wed, 18 Mar 2015 17:08:22 +0000 (17:08 +0000)]
Fix compile on Linux.

6 years agoImprove qt diagnostics.
Roy Marples [Wed, 18 Mar 2015 17:03:55 +0000 (17:03 +0000)]
Improve qt diagnostics.

6 years agoAdd common.h
Roy Marples [Wed, 18 Mar 2015 17:03:28 +0000 (17:03 +0000)]
Add common.h

6 years agoUpdate copyrights
Roy Marples [Sun, 15 Mar 2015 10:35:16 +0000 (10:35 +0000)]
Update copyrights

6 years agoClean up with new debug flags and gcc.
Roy Marples [Sun, 15 Mar 2015 10:22:12 +0000 (10:22 +0000)]
Clean up with new debug flags and gcc.

6 years agoMove background scanning check to libdhcpcd so that in the future we can
Roy Marples [Sun, 8 Mar 2015 11:17:17 +0000 (11:17 +0000)]
Move background scanning check to libdhcpcd so that in the future we can
detect if the driver/interface actually supports it. This should be possible
on BSD.

If the interface is down, run a background scan always as this won't
disconnect.

6 years agoFix issue when we try and poll for fd -1 by deleting events by argument.
Roy Marples [Sat, 7 Mar 2015 08:53:52 +0000 (08:53 +0000)]
Fix issue when we try and poll for fd -1 by deleting events by argument.
Clear status line correctly when a new status with less chars is set.
Clear summary window when lost connection.
Add msec timeout to reflect the real DHCPCD_RETRYOPEN length.

6 years agoClean up some compile warnings and avoid spamming lost connection on stop.
Roy Marples [Fri, 6 Mar 2015 14:49:51 +0000 (14:49 +0000)]
Clean up some compile warnings and avoid spamming lost connection on stop.

6 years agoImprove configure errors
Roy Marples [Thu, 5 Mar 2015 20:28:52 +0000 (20:28 +0000)]
Improve configure errors

6 years agoFix a segfault if >1 wifi device is present.
Roy Marples [Thu, 5 Mar 2015 20:19:03 +0000 (20:19 +0000)]
Fix a segfault if >1 wifi device is present.

6 years agoFix disabled code.
Roy Marples [Thu, 5 Mar 2015 19:59:56 +0000 (19:59 +0000)]
Fix disabled code.
Thanks to Simon Long.

6 years agoDon't rely on the interface being up to background scan.
Roy Marples [Thu, 5 Mar 2015 19:57:08 +0000 (19:57 +0000)]
Don't rely on the interface being up to background scan.
Thanks to Simon Long.

6 years agoGlue dhcpcd-curses into configure
Roy Marples [Thu, 5 Mar 2015 15:47:08 +0000 (15:47 +0000)]
Glue dhcpcd-curses into configure

6 years agoAdd a basic curses interface. Much more work needed here.
Roy Marples [Thu, 5 Mar 2015 15:42:44 +0000 (15:42 +0000)]
Add a basic curses interface. Much more work needed here.

6 years agoFix compile on FreeBSD.
Roy Marples [Wed, 4 Mar 2015 20:27:00 +0000 (20:27 +0000)]
Fix compile on FreeBSD.

6 years agoFix build on FreeBSD, thanks to Guy Yur.
Roy Marples [Mon, 9 Feb 2015 13:35:09 +0000 (13:35 +0000)]
Fix build on FreeBSD, thanks to Guy Yur.

6 years agoRelease dhcpcd-ui-0.7.5 dhcpcd-ui-0.7.5
Roy Marples [Wed, 7 Jan 2015 09:18:28 +0000 (09:18 +0000)]
Release dhcpcd-ui-0.7.5

6 years agoUpdate status icon to assoicated signal strength on scan callback.
Roy Marples [Fri, 12 Dec 2014 20:04:54 +0000 (20:04 +0000)]
Update status icon to assoicated signal strength on scan callback.
Thanks to Simon Long.

6 years agoWarn that the config file is not writeable before you start editing it.
Roy Marples [Fri, 5 Dec 2014 11:12:25 +0000 (11:12 +0000)]
Warn that the config file is not writeable before you start editing it.

6 years agoFix connecting to unsecured AP's.
Roy Marples [Thu, 4 Dec 2014 21:19:01 +0000 (21:19 +0000)]
Fix connecting to unsecured AP's.

6 years agoDisplay the PSK entry box near the mouse.
Roy Marples [Thu, 4 Dec 2014 21:02:00 +0000 (21:02 +0000)]
Display the PSK entry box near the mouse.

6 years agoTry not to re-position the menu needlessly
Roy Marples [Thu, 4 Dec 2014 14:07:20 +0000 (14:07 +0000)]
Try not to re-position the menu needlessly

6 years agoIf we have a wireless interface, use the signal strength icon in the
Roy Marples [Thu, 4 Dec 2014 13:23:01 +0000 (13:23 +0000)]
If we have a wireless interface, use the signal strength icon in the
system tray instead of the wired connection.

6 years agoFor Linux and FreeBSD enable background scanning of 60 seconds
Roy Marples [Thu, 4 Dec 2014 11:11:00 +0000 (11:11 +0000)]
For Linux and FreeBSD enable background scanning of 60 seconds
for new AP's or 5 seconds when the SSID menu is displayed.

6 years agoFix a crash by clearing our reference to the menuwidget when it is deleted
Roy Marples [Wed, 3 Dec 2014 13:38:00 +0000 (13:38 +0000)]
Fix a crash by clearing our reference to the menuwidget when it is deleted
by QWidgetAction.

6 years agoNeed an assert here.
Roy Marples [Wed, 3 Dec 2014 13:13:21 +0000 (13:13 +0000)]
Need an assert here.

6 years agoOnly update menu items if visible as we force a redraw when re-shown.
Roy Marples [Wed, 3 Dec 2014 10:20:10 +0000 (10:20 +0000)]
Only update menu items if visible as we force a redraw when re-shown.
Sort association on newly created menus.

6 years agoFix icon scaling on Qt-4.8
Roy Marples [Tue, 2 Dec 2014 23:20:09 +0000 (23:20 +0000)]
Fix icon scaling on Qt-4.8
https://qt.gitorious.org/qt/qt/merge_requests/2566

6 years agoBecause QSocketNotifier doesn't seem to notify closed connections we
Roy Marples [Tue, 2 Dec 2014 22:46:32 +0000 (22:46 +0000)]
Because QSocketNotifier doesn't seem to notify closed connections we
need to PING wpa_supplicant to ensure it's alive.
Use deleteLater instead of delete to avoid any threading errors.
Re-work the DhcpcdWi API as we don't try to re-open on error.

6 years agoAdd dhcpcd_wpa_ping to test if wpa_supplicant is alive.
Roy Marples [Tue, 2 Dec 2014 22:14:55 +0000 (22:14 +0000)]
Add dhcpcd_wpa_ping to test if wpa_supplicant is alive.
Style.

6 years agoAssociated scans are displayed first in a bold font.
Roy Marples [Tue, 2 Dec 2014 13:42:43 +0000 (13:42 +0000)]
Associated scans are displayed first in a bold font.

6 years agoAs we merge BSSIDs with matching SSIDs into one, we have to compare
Roy Marples [Tue, 2 Dec 2014 10:30:01 +0000 (10:30 +0000)]
As we merge BSSIDs with matching SSIDs into one, we have to compare
on SSID and not BSSID.

6 years agoAllow a blank psk to just select the network.
Roy Marples [Mon, 1 Dec 2014 20:56:48 +0000 (20:56 +0000)]
Allow a blank psk to just select the network.

6 years agoUse dialog-warning on insure networks.
Roy Marples [Mon, 1 Dec 2014 19:45:34 +0000 (19:45 +0000)]
Use dialog-warning on insure networks.

6 years agoOnly show the menu if we have it.
Roy Marples [Mon, 1 Dec 2014 19:42:18 +0000 (19:42 +0000)]
Only show the menu if we have it.

6 years agoSplit new networks on \n as well as \b.
Roy Marples [Mon, 1 Dec 2014 19:42:04 +0000 (19:42 +0000)]
Split new networks on \n as well as \b.
Always reassociate if we disconnected.

6 years agoRemove debug.
Roy Marples [Mon, 1 Dec 2014 14:58:11 +0000 (14:58 +0000)]
Remove debug.

6 years agoDisconnect before re-configuring as this triggers a reassociation if already connected.
Roy Marples [Mon, 1 Dec 2014 14:39:18 +0000 (14:39 +0000)]
Disconnect before re-configuring as this triggers a reassociation if already connected.

6 years agoWhen connecting to a SSID, reload the configuration, save it and then
Roy Marples [Mon, 1 Dec 2014 14:26:05 +0000 (14:26 +0000)]
When connecting to a SSID, reload the configuration, save it and then
select it, so that we don't save the fact the others are disabled.
This allows us to force a connection to less preferred SSID.

6 years agoscan flags -> wpa_flags.
Roy Marples [Mon, 1 Dec 2014 13:15:25 +0000 (13:15 +0000)]
scan flags -> wpa_flags.
scan flags is now an int which is masked from wpa_flags.
Use these new flags in dhcpcd-gtk/dhcpcd-qt instead of parsing strings
in each.
Don't prompt for a passphrase unless the scan flags say one is expected.

6 years agoReserve space for the assoicated icon.
Roy Marples [Fri, 21 Nov 2014 21:59:28 +0000 (21:59 +0000)]
Reserve space for the assoicated icon.
Set scans on interface status change as may have lost / gained assoc.

6 years agoRemove dead store.
Roy Marples [Fri, 21 Nov 2014 20:40:18 +0000 (20:40 +0000)]
Remove dead store.

6 years agoRemove dead store.
Roy Marples [Fri, 21 Nov 2014 16:44:39 +0000 (16:44 +0000)]
Remove dead store.

6 years agoEnsure the AP's stay in alphabetical order when new scans come in.
Roy Marples [Fri, 21 Nov 2014 16:42:37 +0000 (16:42 +0000)]
Ensure the AP's stay in alphabetical order when new scans come in.

6 years agoChange the icons in the combox box when saving / clearing config.
Roy Marples [Thu, 20 Nov 2014 08:00:27 +0000 (08:00 +0000)]
Change the icons in the combox box when saving / clearing config.
Discard now works correctly.

6 years agoMake the about dialogs more similar.
Roy Marples [Wed, 19 Nov 2014 22:17:01 +0000 (22:17 +0000)]
Make the about dialogs more similar.

6 years agoDisplay the dialogs near the mouse for ease of use.
Roy Marples [Wed, 19 Nov 2014 21:39:10 +0000 (21:39 +0000)]
Display the dialogs near the mouse for ease of use.

6 years agoUse a standard icon here.
Roy Marples [Wed, 19 Nov 2014 20:16:24 +0000 (20:16 +0000)]
Use a standard icon here.

6 years agoMake the prefs buttons more like dhcpcd-qt.
Roy Marples [Wed, 19 Nov 2014 19:54:30 +0000 (19:54 +0000)]
Make the prefs buttons more like dhcpcd-qt.

6 years agoFix a garbage condition
Roy Marples [Wed, 19 Nov 2014 19:20:23 +0000 (19:20 +0000)]
Fix a garbage condition

6 years agoSort the list of interface names alphabetically for the preferences screen.
Roy Marples [Wed, 19 Nov 2014 17:50:06 +0000 (17:50 +0000)]
Sort the list of interface names alphabetically for the preferences screen.

6 years agoList inteface links rather than ipv4.
Roy Marples [Wed, 19 Nov 2014 16:43:58 +0000 (16:43 +0000)]
List inteface links rather than ipv4.

6 years agoFix IP address sensitivity for SSIDs
Roy Marples [Wed, 19 Nov 2014 10:43:55 +0000 (10:43 +0000)]
Fix IP address sensitivity for SSIDs

6 years agoFix some memory errors.
Roy Marples [Wed, 19 Nov 2014 08:42:01 +0000 (08:42 +0000)]
Fix some memory errors.

6 years agodhcpcd-qt now has the same document-save and new icons as dhcpcd-gtk.
Roy Marples [Wed, 19 Nov 2014 08:22:47 +0000 (08:22 +0000)]
dhcpcd-qt now has the same document-save and new icons as dhcpcd-gtk.

6 years agoAdd new icons from GNOME, KDE Oxygen and Elementary themes.
Roy Marples [Tue, 18 Nov 2014 22:12:45 +0000 (22:12 +0000)]
Add new icons from GNOME, KDE Oxygen and Elementary themes.
Replace AP signal strength scroll bar with a signal strength icon and
replace the assciation checkbox with a tick icon, based on an idea by
Simon Long.
Misc fixes as well.

6 years agoFix a potential NULL dereference.
Roy Marples [Wed, 12 Nov 2014 07:13:19 +0000 (07:13 +0000)]
Fix a potential NULL dereference.

6 years agoStrip weak duplicate and blank SSIDs as we don't support connections
Roy Marples [Tue, 11 Nov 2014 21:42:39 +0000 (21:42 +0000)]
Strip weak duplicate and blank SSIDs as we don't support connections
to either right now.

6 years agoDo a case insenstive compare then case sensitive compare and finally
Roy Marples [Tue, 11 Nov 2014 21:41:25 +0000 (21:41 +0000)]
Do a case insenstive compare then case sensitive compare and finally
sort for strength.

6 years agoIf SSID are equal, sort by strength as well.
Roy Marples [Tue, 11 Nov 2014 21:02:07 +0000 (21:02 +0000)]
If SSID are equal, sort by strength as well.

6 years agoUse a merge sort from Simon Tatham to sort wireless scans into
Roy Marples [Tue, 11 Nov 2014 20:45:51 +0000 (20:45 +0000)]
Use a merge sort from Simon Tatham to sort wireless scans into
alphabetical order.
Based on an initial patch by Simon Long.

6 years agoClear interface menu's sanely when the interface is removed.
Roy Marples [Fri, 7 Nov 2014 13:29:32 +0000 (13:29 +0000)]
Clear interface menu's sanely when the interface is removed.
Fixes [51358a3cbd] based on an initial patch by Simon Long.

6 years agoRedraw the menu when we get or lose an AP from the scan results.
Roy Marples [Fri, 7 Nov 2014 11:31:57 +0000 (11:31 +0000)]
Redraw the menu when we get or lose an AP from the scan results.
Another fix to [6b883fb943] based on a suggestion from Simon Long.

6 years agoDon't free the menu scan reference. Fixes [6b883fb943] thanks to Simon Long.
Roy Marples [Fri, 7 Nov 2014 11:18:47 +0000 (11:18 +0000)]
Don't free the menu scan reference. Fixes [6b883fb943] thanks to Simon Long.

6 years agoRelease dhcpcd-ui-0.7.4 dhcpcd-ui-0.7.4
Roy Marples [Thu, 16 Oct 2014 08:10:11 +0000 (08:10 +0000)]
Release dhcpcd-ui-0.7.4

6 years agoFind qmake in $QMAKE or $QTDIR/bin rather than rely on $PATH.
Roy Marples [Thu, 16 Oct 2014 08:06:28 +0000 (08:06 +0000)]
Find qmake in $QMAKE or $QTDIR/bin rather than rely on $PATH.

6 years agoWork with raN_addr if found.
Roy Marples [Tue, 14 Oct 2014 20:59:19 +0000 (20:59 +0000)]
Work with raN_addr if found.

6 years agoBetter link messages
Roy Marples [Wed, 8 Oct 2014 12:46:14 +0000 (12:46 +0000)]
Better link messages

6 years agoQuick fix for building without KDE. dhcpcd-ui-0.7.3
Roy Marples [Mon, 6 Oct 2014 19:23:02 +0000 (19:23 +0000)]
Quick fix for building without KDE.

6 years agoRe-release dhcpcd-ui-0.7.3
Roy Marples [Mon, 6 Oct 2014 19:07:54 +0000 (19:07 +0000)]
Re-release dhcpcd-ui-0.7.3

6 years agoFix make dist to export the fossil trunk, not whats on the disk.
Roy Marples [Mon, 6 Oct 2014 18:55:07 +0000 (18:55 +0000)]
Fix make dist to export the fossil trunk, not whats on the disk.

6 years agoRelease dhcpcd-ui-0.7.3
Roy Marples [Mon, 6 Oct 2014 18:33:23 +0000 (18:33 +0000)]
Release dhcpcd-ui-0.7.3

6 years agoYear update.
Roy Marples [Fri, 3 Oct 2014 18:30:09 +0000 (18:30 +0000)]
Year update.

6 years agoSupport DHCPv6 delegated addresses.
Roy Marples [Fri, 3 Oct 2014 17:55:07 +0000 (17:55 +0000)]
Support DHCPv6 delegated addresses.

6 years agoDon't report cable carrier if we have a configured address.
Roy Marples [Fri, 3 Oct 2014 16:40:05 +0000 (16:40 +0000)]
Don't report cable carrier if we have a configured address.
Don't report INFORM messages as they don't have an address.

6 years agoUse correct icon on prefs window.
Roy Marples [Fri, 3 Oct 2014 09:51:09 +0000 (09:51 +0000)]
Use correct icon on prefs window.

6 years agoNo need to echo CFLAGS at this point.
Roy Marples [Fri, 3 Oct 2014 08:12:04 +0000 (08:12 +0000)]
No need to echo CFLAGS at this point.

6 years agoDon't install autostart files.
Roy Marples [Thu, 2 Oct 2014 21:15:32 +0000 (21:15 +0000)]
Don't install autostart files.

6 years agoAdd KDE notification support.
Roy Marples [Thu, 2 Oct 2014 20:57:15 +0000 (20:57 +0000)]
Add KDE notification support.

6 years agoFix menu position when new AP's are lost/found.
Roy Marples [Thu, 2 Oct 2014 16:27:43 +0000 (16:27 +0000)]
Fix menu position when new AP's are lost/found.
Pad psk key dialog a little more.

6 years agoDon't keep the dialog on the screen in the event of an error.
Roy Marples [Thu, 2 Oct 2014 12:09:59 +0000 (12:09 +0000)]
Don't keep the dialog on the screen in the event of an error.

6 years agoDon't use stpcpy
Roy Marples [Thu, 2 Oct 2014 12:09:32 +0000 (12:09 +0000)]
Don't use stpcpy

6 years agoDon't include the trailing NUL in encode/decode size.
Roy Marples [Thu, 2 Oct 2014 12:08:20 +0000 (12:08 +0000)]
Don't include the trailing NUL in encode/decode size.