Switch to using the split libpcbsd UI/Utils libraries added earlier by:
Yuri Momotiuk <yurkis at gmail.com>
Pulled from my projects at GitHub:
https://github.com/kmoore134/pcbsd-projects/tree/4e02dba5c3b2ad48f48c8c1847ae471f23809427
Do some fixing for network restarting, make sure to start DHCP on lagg0 devices
if need be.
Also, make EnableLagg understand wifi country codes
Add more proxy variables we save, so browsers such as chrome work out
of box
Enhance the metaWidget to parse the new download data, so we can show
package download speeds, better progress, etc.
Fix a bug in getting conf file values
When running shell commands in libpcbsd, we have to wait a moment before
doing process events, otherwise we can end up using 100% CPU in cases where
the process takes a long time
Fix a bug with closing the progress dialog when changing meta-packages
Use a toLong to check IPV4, since toInt may fail on larger IPs
Improve the meta package widget, now when the user tries to
force close the progress dialog, we intercept, and ask if they really want
to cancel. If so, we kill the pc-metapkgmanager process and stop.
Make sure ipv4 addresses dont have .00000. or some other craziness
Add two new functions to Utils::
validateIPV4(QString)
validateIPV6(QString)
runInTerminal() now should work also with usupported desktops (using xterm by default)
PC-BSD/pcbsd-old 17470 — pcbsd/current/src-qt4/libpcbsd utils.cpp pcbsd-utils.h, pcbsd/current/src-qt4/warden-gui dialogwarden.cpp
added functions to libpcbsd:
1. runInTerminal() - run command in current de graphical terminal emulator
2. openInFileManager() - open directory using file manager from current de
----
warden changed to use this unInTerminal() function for jail chroot
----
little fix for gnome profile
CAUTION: penInFileManager() should check directory name for quotes but don't do this yet!
PLEASE TEST THIS CHANGES
Fix getting the proxy url / port
Fix two bugs
* When doing wifiQuickConnect, use better way to restart network, fixing issue with newly created wlan devices
* Make sure when we restart the network that dhclient gets kicked off on any devices that need it
Add new Utils::restartNetworking() function
Update the Proxy methods in libpcbsd, now we will set HTTP_PROXY
and HTTP_PROXY_AUTH variables directly in /etc/profile and /etc/csh.cshrc.
This will make proxy configuration universal for FreeBSD programs that
rely on "fetch", which most do. It will also make our CLI backends use
the proxy properly, since we use FETCH as well.
It does NOT effect higher level applications, like FireFox, which instead
use their own proxy configuration framework.
PC-BSD/pcbsd-old 16968 — pcbsd/current/src-qt4/libpcbsd dialogwpaenterprise.cpp dialogwpaenterprise.h
Add dialogWPAEnterprise to libpcbsd, will move other WPA dialogs over in future.
This will allow us to start putting 8021X functionality into the wired GUI
configuration.
Fix the runShellCommand entry to use the system environment for the new process it starts. This fixes issues with programs that require access to system variables
Add getLineFromCommandOutput as Utils public function
Add dialogMetaProgress / dialogInfoBox to libpcbsd, used by metaWidget
at the moment.
Fix some logic checking for commented out lines
Add a new function to libpcbsd-utils: QStringList quickUserInputBox(QString, QStringList)
Add a couple new functions to libpcbsd
Make sure we only get a single line without "\n"
Fix the debugging outputs for runShellCommand
Fix a bug with the multiple commands functionality of runShellCommand
Let runShellCommand split long strings of commands into individual commands and run them one at a time.
Read all stderr / stdout from run commands
Make GUI responsive while using "runShellCommands"