aboutsummaryrefslogtreecommitdiff
path: root/contrib/bsddialog
Commit message (Collapse)AuthorAgeFilesLines
* contrib/bsddialog: import 1.1Alfonso S. Siciliano2025-11-0313-34/+853
| | | | | | | | | | | | Add: slider dialog. Imported to enable testing and to complete the geomman(8) utility. Developed as part of the "Full Disk Administration Tool for FreeBSD" project, Braulio Rivas (brauliorivas@), Google Summer of Code 2025. Sponsored by: Google LLC (GSoC 2025) Merge commit '5a70558d32b9680c10ab579c7491652e0838cee4'
* contrib/bsddialog: Import version 1.0.5Alfonso S. Siciliano2025-10-0931-152/+353
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Version for change and feature requests. * Improve documentation for --alternate-screen and --normal-screen. Request: https://bugs.freebsd.org/285459. (This PR is not about bsddialog itself but is used as an example for an official FreeBSD documentation request.) * Reduce the number of screen refreshes to improve performance over a 115200 UART connection. Request: https://gitlab.com/alfix/bsddialog/-/issues/8. * Change textbox buttons to return distinct values (previously always returned OK). Request: https://reviews.freebsd.org/D48668; already committed in contrib/ 96a241a35905078bdc5d20bf25943cdb67758dea * Change forms navigation key behavior for ENTER and TAB. Request: https://bugs.freebsd.org/287592. Refer to /usr/src/contrib/bsddialog/CHANGELOG to know more. PR: 287592 Reported by: adrian Sponsored by: The FreeBSD Foundation Merge commit '653f765f05b8c7e3908ae92e9bf61522a50cefc9' into YYY
* bsddialog: in textbox mode differentiate between Exit and Extra buttonsMaksim Yevmenkin2025-06-251-1/+1
| | | | | | | | | If run --extra-button --textbox dialog will have two buttons, but either of them would return 0 exit status. We definitely want the Extra to report its value. Reviewed by: jlduran, asiciliano Differential Revision: https://reviews.freebsd.org/D48668
* Import bsddialog 1.0.4Kyle Evans2024-07-115-6/+13
| | | | | | | | This fixes a future conflict with _FORTIFY_SOURCE, where <stdlib.h> includes <limits.h> and causes a conflict with `MAX_INPUT` defined in the enum here. Sponsored by: Klara, Inc. Sponsored by: Stormshield
* contrib/bsddialog: Import version 1.0.3Alfonso S. Siciliano2024-05-276-5/+26
| | | | | | | | | | | | | | | | | | | | Change --mixedform output to adapt to bsdinstall restoring dialog(1) behavior. Avoid to print the field value to output if <fieldlen> is read-only (less than or equal to zero). This fixes passwords in wlanconfig, avoiding to print also SSID. To note --mixedform continues to print field value if <flag> is read-only. This avoids breaking netconfig and netconfig_ipv6. See /usr/src/contrib/bsddialog/CHANGELOG '2024-05-27 Version 1.0.3' for more detailed information. Reported by: garga (redo branch main moved forward) Merge commit '813f3dc7b302324a361326c2583f37b002100968' into redo-bsddialog-1.0.3
* contrib/bsddialog: Import version 1.0.2Alfonso S. Siciliano2024-05-1622-224/+469
| | | | | | | | | | | | | | | | | | | | | | Implicitly import also 1.0.1, both versions are for fixing and feature requests. Fixing: Change --mixedform behavior to fix a bsdinstall fault avoiding to change the command line in wlanconfig. Feature requests: * Add keys to navigate menus. * Add key to redraw dialogs. * Avoid to handle env NCURSES_NO_UTF8_ACS in PuTTY. See '2024-04-11 Version 1.0.2' and '2023-11-16 Version 1.0.1' in /usr/src/contrib/bsddialog/CHANGELOG for more detailed information. PR: 274472 Differential Revision: D42380 Merge commit 'be8846bd9e069f4a6bea3d769005bea96cf43990'
* bsddialog: import version 1.0Baptiste Daroussin2023-10-0465-6171/+6874
|
* contrib/bsddialog: Import version 0.4Alfonso S. Siciliano2022-09-2528-847/+1735
| | | | | | | | | | | | | | | | | Improvements and changes to integrate bsddialog(1) with scripts in BASE. Overview: * New options. --and-widget, --keep-tite, --calendar. * Change output format. Menus and --print-maxsize. * Redefine sizing. Fixed rows, cols and menurows became at the most. * Add DIAGNOSTICS. Error messages for bad arguments and options. * Add keys. Space for --menu, fast keys for --msgbox and --yesno. * Text. Change default text modification, add --cr-wrap. See /usr/src/contrib/bsddialog/CHANGELOG '2022-09-24 Version 0.4' for more detailed information. Merge commit '9f24fda5a8e7ab8243e71473c7e2dc98b4877e64'
* contrib/bsddialog: Import version 0.3Alfonso S. Siciliano2022-09-0333-1159/+2665
| | | | | | | | | | | | | | | | | | New features overview: * Unicode. User interface handles multi-column characters. API can handle char* like a multibyte character string. Internally wide characters are used for keyboard input, to adapt word wrapping and dynamic text auto-sizing for multi-column characters. * Forms refactoring. Complete rewrite deleting libformw dependency. * Theme. New utility options to save and load custom theme at run-time. * TUI navigation. Added keys to navigate input components. Changed default focus behavior of input dialogs to be LGPL-dialog-like; a new option can set the previous whiptail-like behavior. See /usr/src/contrib/bsddialog/CHANGELOG '2022-08-29 Version 0.3' for more detailed information. Merge commit '2c9fd7655ba54e7239f528e1af9fe09662de9b03'
* bsddialog(3): Fix text wrappingAlfonso S. Siciliano2022-06-061-3/+4
| | | | | | | | Fix text wrapping with more than 1024 words. Reported by: brd Reviewed by: bapt, brd Differential Revision: https://reviews.freebsd.org/D35413
* bsddialog(3): fix disabled shadowAlfonso S. Siciliano2022-04-201-3/+3
| | | | | | | | | | | Fix dialogs building and updating fault with disabled shadow (conf.shadow=false and implicitly bsddialog --no-shadow). While here delete WARNS=2: all warnings were fixed in upstream and imported in 0.2. Approved by: bapt (mentor) Differential Revision: https://reviews.freebsd.org/D34958
* bsddialog(1): Improve --hline (help subtitle)Alfonso S. Siciliano2022-04-031-1/+2
| | | | | Improvement for bsdconfig(8): avoid to draw delimiters (or spaces) on the bottom line if the argument of --hline is an empty string.
* Merge commit '2f8d4418415511460bd7b3b3e532f6b328cf993f'Alfonso S. Siciliano2022-03-1354-432/+957
|
* bsddialog: import version 0.1Alfonso Siciliano2022-01-2855-3480/+3992
| | | | | | | | | | | | | | | Import bsddialog 0.1 Utility and Library, fully refatorized, API stable, manuals completed, easier to maintain and improve. Update deps for new API: add mixedgauge consts, delete __DECONST and add bsddialog_geterror() info to avoid silent errors * tzsetup * kbdmap * distextract Differential Revision: https://reviews.freebsd.org/D34066
* bsddialog: Fix for terminals without coloursAlfonso Siciliano2022-01-191-9/+11
| | | | | | | | | | | | | | | When running the installer, in particular disextract (which is so far the only part converted to bsddialog), on serial console or vt100 or actually any terminal without color support, it failed to start. This change makes bsddialog fallback on the black and white theme. This is incorporated in newer version of bsddialog which will be imported soon. PR: 261272 Reported by: thj Differential Revision: https://reviews.freebsd.org/D33920
* bsddialog: import version 0.0.2Baptiste Daroussin2021-12-2121-260/+949
|
* bsddialog: import version 0.0.1Baptiste Daroussin2021-12-13312-48159/+793
|
* bsddialog: import snapshot 2021-12-05Baptiste Daroussin2021-12-06345-2247/+50464
|
* Add 'contrib/bsddialog/' from commit '857c66bb5f3c5651b012beb1b5ea6ba39354ea94'Baptiste Daroussin2021-11-2442-0/+7241
git-subtree-dir: contrib/bsddialog git-subtree-mainline: a46722b580567799b484b5a81728eaf380777e04 git-subtree-split: 857c66bb5f3c5651b012beb1b5ea6ba39354ea94