dhcpcd-ui
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.

7 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

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

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

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

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

7 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

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

7 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

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

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

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

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

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

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

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

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

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

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

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

7 years agoThis is more correct
Roy Marples [Thu, 2 Oct 2014 09:05:02 +0000 (09:05 +0000)]
This is more correct

7 years agoWork with older dhcpcd's again re wireless ssid.
Roy Marples [Thu, 2 Oct 2014 08:58:44 +0000 (08:58 +0000)]
Work with older dhcpcd's again re wireless ssid.
Fix a compile problem.

7 years agoClear a compile warning
Roy Marples [Thu, 2 Oct 2014 08:18:29 +0000 (08:18 +0000)]
Clear a compile warning

7 years agoRemove vis/unvis encoding and dhcpcd-decode, this was a mistake.
Roy Marples [Thu, 2 Oct 2014 07:58:38 +0000 (07:58 +0000)]
Remove vis/unvis encoding and dhcpcd-decode, this was a mistake.

7 years ago: is an optional delimiter for hex strings.
Roy Marples [Tue, 30 Sep 2014 10:43:26 +0000 (10:43 +0000)]
: is an optional delimiter for hex strings.

7 years agolibdhcpcd consumers don't care about shell encoding, so strip it out
Roy Marples [Tue, 30 Sep 2014 10:31:53 +0000 (10:31 +0000)]
libdhcpcd consumers don't care about shell encoding, so strip it out
on arrival.

7 years agoget_value now expects variable names to always have a = as the separator.
Roy Marples [Tue, 30 Sep 2014 09:40:14 +0000 (09:40 +0000)]
get_value now expects variable names to always have a = as the separator.

7 years agoClean up some compiler warnings.
Roy Marples [Tue, 30 Sep 2014 07:54:38 +0000 (07:54 +0000)]
Clean up some compiler warnings.

7 years agoFix a crash.
Roy Marples [Tue, 30 Sep 2014 07:54:28 +0000 (07:54 +0000)]
Fix a crash.

7 years agoAdd dhcpcd_encode which encodes raw data back into a safe string.
Roy Marples [Tue, 30 Sep 2014 07:27:37 +0000 (07:27 +0000)]
Add dhcpcd_encode which encodes raw data back into a safe string.
This is used to convert wpa_supplicant safe strings into dhcpcd ones so the
display is consistent.
If a SSID has unsafe characters in and saving to wpa_supplicant.conf then
convert the SSID to a hex string.
A vis(3) shim has been added if libc does not provide one.

7 years agoPrint usage if nothing todo.
Roy Marples [Mon, 29 Sep 2014 09:54:17 +0000 (09:54 +0000)]
Print usage if nothing todo.
arguement -> data in man page.

7 years agoFix a compiler warning
Roy Marples [Mon, 29 Sep 2014 09:05:47 +0000 (09:05 +0000)]
Fix a compiler warning

7 years agoAdd dhcpcd-decode, a utility to decode dhcpcd(8) variables which are
Roy Marples [Sun, 28 Sep 2014 19:45:31 +0000 (19:45 +0000)]
Add dhcpcd-decode, a utility to decode dhcpcd(8) variables which are
safely encoded for shells.

7 years agoAdd a function to decode a hex string to binary.
Roy Marples [Sun, 28 Sep 2014 19:36:11 +0000 (19:36 +0000)]
Add a function to decode a hex string to binary.

7 years agoRemove options line.
Roy Marples [Sun, 28 Sep 2014 19:34:36 +0000 (19:34 +0000)]
Remove options line.

7 years agoAdd dhcpcd_decode which decodes a dhcpcd encoded string variable.
Roy Marples [Sun, 28 Sep 2014 11:04:03 +0000 (11:04 +0000)]
Add dhcpcd_decode which decodes a dhcpcd encoded string variable.
Add dhcpcd_decode_shell which only decodes shell escaped characters from
a dhcpcd encoded string variable.

7 years agoUse TAILQ to make life easy.
Roy Marples [Sat, 27 Sep 2014 19:20:52 +0000 (19:20 +0000)]
Use TAILQ to make life easy.
Fix the menu refreshing while receiving new scans.

7 years agodistclean config.log
Roy Marples [Tue, 23 Sep 2014 21:07:46 +0000 (21:07 +0000)]
distclean config.log

7 years agoImprove libnotify support in configure
Roy Marples [Tue, 23 Sep 2014 21:00:09 +0000 (21:00 +0000)]
Improve libnotify support in configure

7 years agoUse theme icons here rather than stock icons.
Roy Marples [Tue, 23 Sep 2014 20:45:14 +0000 (20:45 +0000)]
Use theme icons here rather than stock icons.

7 years agofd 3 goes to config.log
Roy Marples [Mon, 22 Sep 2014 20:07:47 +0000 (20:07 +0000)]
fd 3 goes to config.log
pipe all config errors to config.log

7 years agoOnly look for a cross compiler if build != host
Roy Marples [Mon, 22 Sep 2014 20:02:55 +0000 (20:02 +0000)]
Only look for a cross compiler if build != host

7 years agoMake the GTK menu dynamic like the QT port ... has display issues though.
Roy Marples [Fri, 19 Sep 2014 20:58:37 +0000 (20:58 +0000)]
Make the GTK menu dynamic like the QT port ... has display issues though.

7 years agoClose WPA listeners when we lose the connection.
Roy Marples [Thu, 18 Sep 2014 21:10:04 +0000 (21:10 +0000)]
Close WPA listeners when we lose the connection.

7 years agoAdd a TODO list.
Roy Marples [Thu, 18 Sep 2014 12:44:20 +0000 (12:44 +0000)]
Add a TODO list.

7 years agoClose down the menu when losing dhcpcd connection in dhcpcd-gtk.
Roy Marples [Thu, 18 Sep 2014 12:00:03 +0000 (12:00 +0000)]
Close down the menu when losing dhcpcd connection in dhcpcd-gtk.
Don't close down the about screen when losing dhcpcd connection in dhcpcd-qt.

7 years agoFix build
Roy Marples [Thu, 18 Sep 2014 10:46:44 +0000 (10:46 +0000)]
Fix build

7 years agoInstall our autostart files into /etc/xdg/autostart
Roy Marples [Thu, 18 Sep 2014 10:38:36 +0000 (10:38 +0000)]
Install our autostart files into /etc/xdg/autostart

7 years agoSystem tray could still be loading so just warn and continue.
Roy Marples [Thu, 18 Sep 2014 10:04:26 +0000 (10:04 +0000)]
System tray could still be loading so just warn and continue.

7 years agoTest for strverscmp so we work on musl.
Roy Marples [Thu, 18 Sep 2014 08:24:15 +0000 (08:24 +0000)]
Test for strverscmp so we work on musl.

7 years agoRelease dhcpcd-ui-0.7.2 dhcpcd-ui-0.7.2
Roy Marples [Wed, 17 Sep 2014 11:16:07 +0000 (11:16 +0000)]
Release dhcpcd-ui-0.7.2

7 years agoDocument configure options and ensure we package everything in the tarball.
Roy Marples [Wed, 17 Sep 2014 10:52:18 +0000 (10:52 +0000)]
Document configure options and ensure we package everything in the tarball.

7 years agoFix --without-icons
Roy Marples [Wed, 17 Sep 2014 10:22:20 +0000 (10:22 +0000)]
Fix --without-icons

7 years agoMake it possible just to package the icons.
Roy Marples [Wed, 17 Sep 2014 10:10:45 +0000 (10:10 +0000)]
Make it possible just to package the icons.

7 years agoAdd a scalable icon for dhcpcd app.
Roy Marples [Wed, 17 Sep 2014 09:30:30 +0000 (09:30 +0000)]
Add a scalable icon for dhcpcd app.

7 years agoMake dhcpcd-online an optional component for split packages.
Roy Marples [Wed, 17 Sep 2014 09:24:11 +0000 (09:24 +0000)]
Make dhcpcd-online an optional component for split packages.

7 years agoRelease dhcpcd-ui-0.7.1 dhcpcd-ui-0.7.1
Roy Marples [Wed, 17 Sep 2014 08:31:16 +0000 (08:31 +0000)]
Release dhcpcd-ui-0.7.1

7 years agoAdd some more asserts.
Roy Marples [Wed, 17 Sep 2014 08:14:13 +0000 (08:14 +0000)]
Add some more asserts.
Deny access to running commands if not priviledged without worrying dhcpcd.

7 years agoAdd missing dhcpcd-qt.8
Roy Marples [Wed, 17 Sep 2014 07:15:29 +0000 (07:15 +0000)]
Add missing dhcpcd-qt.8

7 years agoAdd missing file
Roy Marples [Wed, 17 Sep 2014 06:48:14 +0000 (06:48 +0000)]
Add missing file

7 years agoAdd a sample systemd service for dhcpcd-online. dhcpcd-ui-0.7.0
Roy Marples [Tue, 16 Sep 2014 20:44:34 +0000 (20:44 +0000)]
Add a sample systemd service for dhcpcd-online.

7 years agoAdd missing files.
Roy Marples [Tue, 16 Sep 2014 20:22:27 +0000 (20:22 +0000)]
Add missing files.

7 years agoClose down everything if dhcpcd connection lost.
Roy Marples [Tue, 16 Sep 2014 20:07:28 +0000 (20:07 +0000)]
Close down everything if dhcpcd connection lost.

7 years agoInstall a dhcpcd icon so menu entries work.
Roy Marples [Tue, 16 Sep 2014 19:33:23 +0000 (19:33 +0000)]
Install a dhcpcd icon so menu entries work.

7 years agoFix install
Roy Marples [Tue, 16 Sep 2014 16:22:38 +0000 (16:22 +0000)]
Fix install

7 years agoUpdate man pages and allow dhcpcd-qt to actually be installed now.
Roy Marples [Tue, 16 Sep 2014 14:45:00 +0000 (14:45 +0000)]
Update man pages and allow dhcpcd-qt to actually be installed now.

7 years agoDon't rebind all if found a SSID to rebind.
Roy Marples [Tue, 16 Sep 2014 11:06:13 +0000 (11:06 +0000)]
Don't rebind all if found a SSID to rebind.

7 years agoIf rebinding all interfaces, don't specify any.
Roy Marples [Tue, 16 Sep 2014 10:27:49 +0000 (10:27 +0000)]
If rebinding all interfaces, don't specify any.

7 years agoSet a progname to send with our command.
Roy Marples [Tue, 16 Sep 2014 10:10:38 +0000 (10:10 +0000)]
Set a progname to send with our command.
Special ctrl commands to not take a progname.
Fix compile on NetBSD.

7 years agoFix rebinding some.
Roy Marples [Mon, 15 Sep 2014 23:47:26 +0000 (23:47 +0000)]
Fix rebinding some.

7 years agoFix preferences dialog.
Roy Marples [Mon, 15 Sep 2014 20:09:25 +0000 (20:09 +0000)]
Fix preferences dialog.

7 years agoBring up to date.
Roy Marples [Mon, 15 Sep 2014 17:22:54 +0000 (17:22 +0000)]
Bring up to date.

7 years agoIf we fail to open the privileged socket, open the unprivileged one.
Roy Marples [Mon, 15 Sep 2014 16:14:13 +0000 (16:14 +0000)]
If we fail to open the privileged socket, open the unprivileged one.

7 years agoFix ssid selection and a crash on exit.
Roy Marples [Fri, 12 Sep 2014 14:29:58 +0000 (14:29 +0000)]
Fix ssid selection and a crash on exit.

7 years agoFix wireless icon if none on theme.
Roy Marples [Fri, 12 Sep 2014 13:37:47 +0000 (13:37 +0000)]
Fix wireless icon if none on theme.

7 years agoFix wpa stopping and describe DEPARTED a bit better.
Roy Marples [Fri, 12 Sep 2014 13:31:25 +0000 (13:31 +0000)]
Fix wpa stopping and describe DEPARTED a bit better.

7 years agoFix notifictions when dhcpcd is lost / re-connected.
Roy Marples [Fri, 12 Sep 2014 12:42:38 +0000 (12:42 +0000)]
Fix notifictions when dhcpcd is lost / re-connected.

7 years agoRemove the DhcpcdWi instance if the wpa_supplicant connection is lost.
Roy Marples [Fri, 12 Sep 2014 11:58:08 +0000 (11:58 +0000)]
Remove the DhcpcdWi instance if the wpa_supplicant connection is lost.

7 years agoRemove vanished SSID's from menu.
Roy Marples [Fri, 12 Sep 2014 10:58:37 +0000 (10:58 +0000)]
Remove vanished SSID's from menu.
Fix notifications.
Fix menu alignment.

7 years agoAllow for every SSID character to be non printable.
Roy Marples [Fri, 12 Sep 2014 10:57:32 +0000 (10:57 +0000)]
Allow for every SSID character to be non printable.

7 years agoAdd missing files from prior commit.
Roy Marples [Fri, 12 Sep 2014 08:12:11 +0000 (08:12 +0000)]
Add missing files from prior commit.

7 years agoTranslate some text.
Roy Marples [Thu, 11 Sep 2014 23:45:30 +0000 (23:45 +0000)]
Translate some text.

7 years agoDon't spam when we exit.
Roy Marples [Thu, 11 Sep 2014 23:15:01 +0000 (23:15 +0000)]
Don't spam when we exit.

7 years agoFix a crash at exit.
Roy Marples [Thu, 11 Sep 2014 23:09:10 +0000 (23:09 +0000)]
Fix a crash at exit.

7 years agoMove saving WPA configuration to libdhcpcd.
Roy Marples [Thu, 11 Sep 2014 23:00:33 +0000 (23:00 +0000)]
Move saving WPA configuration to libdhcpcd.
When we get scan results, update menu items with new information.

7 years agoFix the rare case of not added the new interface when sorting.
Roy Marples [Thu, 11 Sep 2014 11:45:40 +0000 (11:45 +0000)]
Fix the rare case of not added the new interface when sorting.

7 years agoFix some clang analyzer warnings.
Roy Marples [Thu, 11 Sep 2014 10:48:49 +0000 (10:48 +0000)]
Fix some clang analyzer warnings.

7 years agoRemove debug
Roy Marples [Thu, 4 Sep 2014 13:14:49 +0000 (13:14 +0000)]
Remove debug

7 years agoCalculate strength based on the level reported instead of
Roy Marples [Thu, 4 Sep 2014 12:44:00 +0000 (12:44 +0000)]
Calculate strength based on the level reported instead of
the wpa_supplicant quality field.
Add conversions for WEXT and dBm.

7 years agoWe should always start WPA listening on interfaces regardless
Roy Marples [Wed, 3 Sep 2014 13:29:37 +0000 (13:29 +0000)]
We should always start WPA listening on interfaces regardless
of their up/down state.
Set ENOENT when a WPA instance for an interface cannot be found.

7 years agoRemove unused variable.
Roy Marples [Wed, 3 Sep 2014 13:24:52 +0000 (13:24 +0000)]
Remove unused variable.

7 years agoSplit listening to WPA events out of dhcpcd_open as its
Roy Marples [Wed, 3 Sep 2014 13:21:22 +0000 (13:21 +0000)]
Split listening to WPA events out of dhcpcd_open as its
not needd for dhcpcd-online.

7 years agoThe command fd needs to be blocking.
Roy Marples [Tue, 2 Sep 2014 23:50:05 +0000 (23:50 +0000)]
The command fd needs to be blocking.

7 years agoFix gcc compile warning.
Roy Marples [Tue, 2 Sep 2014 21:42:15 +0000 (21:42 +0000)]
Fix gcc compile warning.

7 years agoUnregister status cb when exiting so we don't post a down message.
Roy Marples [Tue, 2 Sep 2014 21:40:17 +0000 (21:40 +0000)]
Unregister status cb when exiting so we don't post a down message.
If we lose connection to dhcpcd during the check, retry to open one.

7 years agoFix compile on glibc
Roy Marples [Tue, 2 Sep 2014 21:27:42 +0000 (21:27 +0000)]
Fix compile on glibc

7 years agoAdd dhcpcd-online application to ease integration with parallal startup
Roy Marples [Tue, 2 Sep 2014 21:18:05 +0000 (21:18 +0000)]
Add dhcpcd-online application to ease integration with parallal startup
when dhcpcd is not forked but applcation need to depend on it.
systemd could use it for dhcpcd-wait-online.service for example