Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge r248313 from stable/9 sysinstall(8) to head bsdconfig(8): | dteske | 2013-06-23 | 9 | -22/+678 |
| | | | | | | | | | | | | Add support for installation directly via HTTP. While we're here, remove the menu-item for Passive FTP (since moving to ftp(1) and switching FTPMODE to `auto' by default -- see r251613 -- the single remaining FTP menu-item works for both ftp.f.o and ftp-archive.f.o; previously each requiring separately active versus passive both work with the `auto' setting). In scripting you still have mediaSetFTPActive and mediaSetFTPPassive but the remaining FTP menu-item uses mediaSetFTP which defaults to `auto' (aforementioned SVN r251613). | ||||
* | Implement the $probe_only parameter (previously unimplemented). | dteske | 2013-06-23 | 1 | -3/+8 |
| | |||||
* | Fine-tune the parsing of the URL. Re-order, comment, and add debugging to | dteske | 2013-06-23 | 2 | -17/+66 |
| | | | | each case of unique URL format. | ||||
* | Fix a code typo that prevented the probing of the current defaultrouter | dteske | 2013-06-22 | 1 | -1/+1 |
| | | | | in-order to pre-populate the editor. | ||||
* | Oops, previous revision (r252084) broke non-full-path resolution (e.g., | dteske | 2013-06-22 | 1 | -1/+1 |
| | | | | | ftp://ftp.freebsd.org or ftp://ftp.freebsd.org/). Now both full-path and non-full resolution is working regardless of trailing-slash. | ||||
* | Trim the trailing `/' from the ftp_dir when validating that the directory | dteske | 2013-06-22 | 1 | -1/+4 |
| | | | | | | exists on the FTP server. This now means that when you specify a full-path to the repository on the FTP server that it doesn't matter whether you have a trailing `/' or not. | ||||
* | Take advantage of the fact that f_getvar evaluates the $var_to_get parameter | dteske | 2013-06-22 | 2 | -6/+5 |
| | | | | | within braces, allowing all manner of parameter expansions (properly quoted or escaped, of course). | ||||
* | Fix a regression introduced by r251967, resulting in: | dteske | 2013-06-22 | 1 | -1/+1 |
| | | | | | /usr/libexec/bsdconfig/110.mouse/mouse: 134: Syntax error: ";;" unexpected (expecting "fi") | ||||
* | Fix a regression introduced by r251967, resulting in: | dteske | 2013-06-22 | 1 | -1/+1 |
| | | | | | /usr/libexec/bsdconfig/080.console/console: 136: Syntax error: ";;" unexpected (expecting "fi") | ||||
* | Add missing local declaration. | dteske | 2013-06-21 | 1 | -1/+1 |
| | |||||
* | Remove unused library include. | dteske | 2013-06-21 | 1 | -1/+0 |
| | |||||
* | Alphabetize library includes. | dteske | 2013-06-21 | 21 | -33/+33 |
| | |||||
* | Style. | dteske | 2013-06-21 | 2 | -18/+10 |
| | |||||
* | Typo and grammar fixes to comments. | dteske | 2013-06-21 | 2 | -2/+2 |
| | |||||
* | Fix a code typo in a case-statement match expression that prevented IPv6 | dteske | 2013-06-20 | 1 | -1/+1 |
| | | | | URLs with port designator from working properly (e.g. http://[::1]:80/). | ||||
* | When the fall-back of a case-statement is the last thing executed in a | dteske | 2013-06-20 | 2 | -21/+19 |
| | | | | | | | | while-loop _and_ all prior matches in the same case-statement either break or continue, we can safely break the fall-back out of the case-statement. This should improve readability and allow for longer-lines by reducing the level of indentation by-one for the fall-back case. (a continuation of SVN r252019) | ||||
* | When the fall-back of a case-statement is the last thing executed in a | dteske | 2013-06-20 | 5 | -41/+33 |
| | | | | | | | while-loop _and_ all prior matches in the same case-statement either break or continue, we can safely break the fall-back out of the case-statement. This should improve readability and allow for longer-lines by reducing the level of indentation by-one for the fall-back case. | ||||
* | Remove pedanticism and consolidate some logic. | dteske | 2013-06-20 | 1 | -7/+1 |
| | |||||
* | Add debugging (for a case that shouldn't arise, but makes it more obvious | dteske | 2013-06-20 | 3 | -0/+6 |
| | | | | if a menu addition is made in one plce but forgotten in another). | ||||
* | Style -- no ;; needed on fallback clause within case-statement. | dteske | 2013-06-19 | 2 | -3/+3 |
| | |||||
* | Whitespace. | dteske | 2013-06-19 | 2 | -40/+31 |
| | |||||
* | Whitespace and comments. | dteske | 2013-06-19 | 6 | -8/+10 |
| | |||||
* | Alphabetize reserved-word (resword) registration. | dteske | 2013-06-19 | 1 | -4/+4 |
| | |||||
* | Alphabetize includes. | dteske | 2013-06-19 | 1 | -1/+1 |
| | |||||
* | Remove extra whitespace lines. | dteske | 2013-06-19 | 4 | -8/+0 |
| | |||||
* | Change a humongous if-statement at the end of f_install_zoneinfo_file() into | dteske | 2013-06-19 | 1 | -114/+110 |
| | | | | an early return, allowing a huge chunk of code to be indented one-level less | ||||
* | Take advantage of newly updated f_dialog_{yesno,noyes}() functions from | dteske | 2013-06-19 | 1 | -22/+4 |
| | | | | SVN r251977 (adding an $hline parameter). | ||||
* | When I first wrote the timezone module, it was in sysutils/tzdialog and it | dteske | 2013-06-19 | 1 | -105/+31 |
| | | | | pre-dates bsdconfig. Update the code to take advantage of f_dialog_msgbox(). | ||||
* | Change the f_dialog_{yesno,noyes}() function-arguments in `dialog.subr' to | dteske | 2013-06-18 | 1 | -6/+6 |
| | | | | | | | | | | | accomodate an $hline value for overriding the default. This change does not effect any current modules as it turns out that not one single usage of either f_dialog_yesno() or f_dialog_noyes() relied on accepting more than a first argument (read: all occurrences quoted the first parameter; so $* was never depended upon). This will allow some custom invocations of --yesno and --noyes to roll over to these functions (for example, in `timezone/timezone'). | ||||
* | Perform some code consolidation and replace nested case-statements with | dteske | 2013-06-18 | 1 | -67/+71 |
| | | | | more logical if-else statements for each menu selection. | ||||
* | Fix a regression introduced by r251967, resulting in: | dteske | 2013-06-18 | 1 | -1/+1 |
| | | | | | /usr/libexec/bsdconfig/140.startup/startup: 130: Syntax error: ";;" unexpected (expecting "fi") | ||||
* | Whitespace. | dteske | 2013-06-18 | 1 | -2/+2 |
| | |||||
* | Perform some code consolidation and add some additional error | dteske | 2013-06-18 | 6 | -49/+44 |
| | | | | checking/reporting. (similar to SVN revisions 251919 and 251928) | ||||
* | Comments. | dteske | 2013-06-18 | 3 | -0/+9 |
| | |||||
* | Comments and whitespace. | dteske | 2013-06-18 | 2 | -3/+2 |
| | |||||
* | Comments. | dteske | 2013-06-18 | 1 | -0/+4 |
| | |||||
* | Perform some code consolidation and add some additional error | dteske | 2013-06-18 | 2 | -26/+21 |
| | | | | checking/reporting. (similar to SVN revision 251919) | ||||
* | Whitespace and comments. | dteske | 2013-06-18 | 1 | -4/+2 |
| | |||||
* | Perform some code consolidation and add some additional error | dteske | 2013-06-18 | 2 | -11/+14 |
| | | | | checking/reporting. (similar to SVN revisions 251905 and 251915) | ||||
* | Remove unnecessary loops, perform some code consolidation, and add some | dteske | 2013-06-18 | 3 | -62/+58 |
| | | | | | additional error checking/reporting. (same thing going on here as SVN r251905 -- just this time for the mouse module instead of console) | ||||
* | Whitespace. | dteske | 2013-06-18 | 3 | -3/+0 |
| | |||||
* | Use newly enhanced f_dialog_msgbox() from SVN r251912. | dteske | 2013-06-18 | 1 | -10/+1 |
| | |||||
* | Change the f_dialog_msgbox() arguments in `dialog.subr' to accomodate an | dteske | 2013-06-18 | 1 | -3/+4 |
| | | | | | | | | | | $hline argument for setting the --hline parameter value. This change does not effect any current modules as it turns out that not one single usage of f_dialog_msgbox() relied on accepting more than a first argument (read: all occurrences quoted the first parameter; so $* was never depended upon). This will allow some custom invocations of --msgbox to roll over to this function (for example, in `mouse/disable'). | ||||
* | Comments. | dteske | 2013-06-18 | 1 | -4/+10 |
| | |||||
* | Comments. | dteske | 2013-06-18 | 1 | -2/+2 |
| | |||||
* | Fix a typo in a comment. | dteske | 2013-06-18 | 1 | -1/+1 |
| | |||||
* | Switch bsdconfig `Disk Management' from sade(8) to `bsdinstall partedit'. | dteske | 2013-06-18 | 1 | -2/+2 |
| | |||||
* | Oops, in SVN r251905 I forgot that f_die takes the return code as the first | dteske | 2013-06-18 | 5 | -5/+5 |
| | | | | argument (not the format). | ||||
* | Improve the INDEX format. Whitespace improvements, format improvements, typo | dteske | 2013-06-18 | 13 | -221/+273 |
| | | | | and grammatical fixes. | ||||
* | Remove unnecessary loops, perform some code consolidation, and add some | dteske | 2013-06-18 | 7 | -364/+215 |
| | | | | additional error checking/reporting. |