xref: /freebsd/contrib/bsddialog/CHANGELOG (revision c7046f76)
12022-08-29 Version 0.3
2
3	Utility:
4	* add: --textbox accepts options for the first button.
5	* add: --columns-per-row option for text autosizing.
6	* add: --load-theme option to read and set a custom theme at runtime.
7	* add: --save-theme option to save current theme.
8	* add: --bikeshed option for random settings.
9	* add: --switch-buttons enables focus switching: buttons / input
10	       components. Available for: --form, --inputbox, --mixedform,
11	       --passwordform, --passwordbox, --timebox and --datebox.
12	* change: rename --esc-cancelvalue to --esc-return-cancel.
13	* change: form field value is printed like multibyte charachter string,
14	          previously widechar string.
15	* fix: --hline with empty string.
16	* fix: avoid to overlay the backtitle by setting a top margin.
17	* fix: avoid to overlay down shadow with menus and forms bottomdesc
18	       by setting a down margin.
19	* fix: --form read-only flag with multiple fields.
20
21	Library:
22	* add: conf.auto_topmargin and conf.auto_downmargin.
23	* add: bsddialog_textbox() accepts conf.button.* for the first button.
24	* add: bsddialog_textbox() arrows and percentage.
25	* add: conf.text.cols_per_row to set a ratio for text autosizing.
26	* add: timebox and datebox arrows and focus background for boxes.
27	* add: timebox and datebox UP key to switch focus.
28	* add: bsddialog_init_notheme() in bsddialo_theme.h.
29	* add: bsddialog_hascolors() in bsddialo_theme.h.
30	* add: theme.form.bottomdesccolor and theme.menu.bottomdesccolor.
31	* add: conf.button.always_active to disable buttons/input-boxes switch.
32	* add: dynamic buttons margin.
33	    - add: theme.button.minmargin and theme.button.maxmargin.
34	    - delete: theme.button.hmargin.
35	* add: Unicode.
36	    - UI handles multicolumn charachters: backtitle, title,
37	      text (word wrapping, autosizing), menus (shortcuts, name, desc),
38	      forms (label, field), textbox, mixedgauge (minilabel),
39	      buttons (label, shortcuts), bottomtitle.
40	    - API handles char* arguments like multibyte charachter string,
41	      depending on the current locale.
42	    - Internally wide charachters are used to get input from keyboard
43	      and to adapt word wrapping and dynamic text autosizing to
44	      muticolumn charachters.
45	* refactoring: (rewrite) form.c.
46	    - delete: libformw dep implementing its features from scratch.
47	    - delete: maxvaluelen >= valuelen constraint.
48	    - delete: conf.form.enable_wchar, get always unicode (wchar) input.
49	    - add: KEY_HOME, KEY_END, KEY_PPAGE, KEY_NPAGE keys in field.
50	    - add: KEY_UP can move focus from buttons to fields.
51	    - add: KEY_DOWN can move focus from item to buttons, if nitem is 1.
52	    - add: conf.form.securembch secure multibyte charachter.
53	    - add: BSDDIALOG_FIELDNOCOLOR for formitem.flags.
54	    - add: BSDDIALOG_FIELDCURSOREND for formitem.flags.
55	    - add: BSDDIALOG_FIELDEXTEND for formitem.flags.
56	    - add: BSDDIALOG_FIELDSINGLEBYTE for formitem.flags.
57	    - add: resizing and refresh after KEY_RESIZE (SIGWINCH).
58	    - add: items scrolling.
59	    - add: conf.form.value_wchar, value is wchar_t* instead of MB-char*.
60	    - add: formheight autosizing.
61	    - add: dynamic item position.
62	* fix: bsddialog_gauge() with fd < 0.
63	* fix: internal segmentation fault with disabled shadow.
64	* fix: bsddialog_gauge() refresh new text.
65	* fix: center position without shadow.
66	* fix: bsddialog_infobox() with zero text length.
67	* fix: text wrapping with more than 1024 words.
68	* fix: rename theme.shadow.h to theme.shadow.y.
69	* fix: rename theme.shadow.w to theme.shadow.x.
70	* fix: menurows autosize with fixed rows improving text_size().
71	* fix: messagebox.c scrolling and checksize without text.
72
73
742022-03-02 Version 0.2
75
76	Utility:
77	* add: (this) CHANGELOG.
78	* add: "menus" print item with focus (except with OK and ERROR).
79	* add: pause.sh example.
80	* add: timebox.sh example.
81	* change: --theme name "default" -> "flat".
82	* delete: treeview.sh example.
83	* fix: --separate-output does not quote (except with --quoted).
84	* fix: --datebox and --date-format month in output.
85	* improve: examples handle exit status.
86
87	Library:
88	* add: conf.form.enable_wchar for wide characters in bsddialog_form().
89	* add: theme.menu.f_selectorcolor.
90	* add: formw.c example.
91	* change: move conf.f1_file and conf.f1_message in conf.key.
92	* change: theme.button.[left|right]ch -> theme.button.[left|right]delim.
93	* change: theme.button.space -> theme.button.hmargin.
94	* change: theme.menu.arrowcolor -> theme.dialog.arrowcolor.
95	* change: default menu item depth 4 -> 2.
96	* fix: disable HOME, PPAGE, END and NPAGE keys in bsddialog_form().
97	* fix: visible cursor for timebox.c and form.c in VM VirtualBox.
98	* fix: mixedlist, center position of separator with big pad.
99	* fix: timebox and datebox set values only with BSDDIALOG_OK.
100	* fix: menurows autosize with fullscreen.
101	* fix: bar color with 0%.
102	* fix: bar label position.
103	* improve: timebox and datebox navigation (keys, buttons and shortcuts).
104	* improve: "menus" colors for accessibility.
105
106
1072022-01-27 Version 0.1
108
109	* Common-Options: --ascii-lines, --backtitle <backtitle>, --begin-x <x>,
110	  --begin-y <y>, --cancel-label <label>, --clear, --colors, --cr-wrap,
111	  --date-format <format>, --defaultno, --default-button <label>,
112	  --default-no, --default-item <name>, --disable-esc,
113	  --esc-cancelvalue, --exit-label <label>, --extra-button,
114	  --extra-label <label>, --generic-button1 <label>,
115	  --generic-button2 <label>, --help, --help-button,
116	  --help-label <label>, --help-status, --help-tags,
117	  --hfile <filename>, --hline <string>, --hmsg <string>, --ignore,
118	  --insecure, --item-depth, --item-help, --items-prefix,
119	  --max-input <size>, --no-cancel, --nocancel, --no-collapse,
120	  --no-items, --no-label <label>, --no-lines, --no-nl-expand,
121	  --no-ok, --nook, --no-shadow, --no-tags, --ok-label <label>,
122	  --output-fd <fd>, --output-separator <sep>, --print-maxsize,
123	  --print-size, --print-version, --quoted, --separate-output,
124	  --separator <sep>, --shadow, --single-quoted, --sleep <secs>,
125	  --stderr, --stdout, --tab-len <spaces>,
126	  --theme <blackwhite|bsddialog|default|dialog>,
127	  --time-format <format>, --title <title>, --trim, --version,
128	  --yes-label <label>.
129	* Dialogs: --checklist, --datebox, --form, --gauge, --infobox,
130	  --inputbox, --menu, --mixedform, --mixedgauge, --msgbox,
131	  --passwordbox, --passwordform, --pause, --radiolist, --rangebox,
132	  --textbox, --timebox, --treeview, --yesno.
133	* Manuals: bsddialog.1, bsddialog.3.
134
135