| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-11-07 | fix few typos. | andvar | |
| 2019-12-03 | Fix typo in ad clause. Ok perry@. | uwe | |
| 2019-06-23 | Use OPT_NOMENU instead of -1 | christos | |
| 2019-06-23 | use calloc properly. | christos | |
| 2019-06-23 | don't cast malloc. | christos | |
| 2019-06-23 | define as hex and make MC_VALID smaller so it fits in a short. | christos | |
| 2019-06-23 | Menu 0 does not exist anymore (it is now OPT_NOMENU), so emit an empty | martin | |
| menu defintion for it. | |||
| 2019-06-23 | Use OPT_NOMENU as error return for new_menu (instead of old hard coded -1). | martin | |
| Update man page for the OPT_NOMENU change. | |||
| 2019-06-22 | Conserve space: make ints to shorts and make OPT_NOMENU 0 instead of -1 | christos | |
| so we don't require initializing it. | |||
| 2019-04-12 | Backout previous - our pool is zeroed, no need to reinitializ here. | martin | |
| 2019-04-12 | new_menu: add missing initializations - we might be using a previously | martin | |
| freed menu entry which has not been zeroed. | |||
| 2019-02-25 | Add an option to supress the vertical space between menu title and | martin | |
| menu items. | |||
| 2019-02-16 | Typo in member variable name | martin | |
| 2019-02-16 | Document return values from menu items opt_action functions, add a | martin | |
| new variant: -1 when functions have fundamentally changed the menu definition on the fly and the processing functions needs to restart without looking at the old state (or stale cached pointers). | |||
| 2019-02-06 | Provide an accessor for the menu description structure by manu identifier. | martin | |
| Usefull for dynamic menus where you want to change details on the fly "from the outside" (i.e. while not in one of the callback functions). | |||
| 2019-01-09 | Allow argument expansion in menu titles as well. | martin | |
| 2019-01-06 | Fix a potential NULL deref in previous - some menus start up with no | martin | |
| "opts" array allocated yet. | |||
| 2019-01-04 | Add an option for single (disabled) menu lines to have no shortcut. | martin | |
| 2019-01-02 | If a menu starts with disabled options, skip those and start at the | martin | |
| first enabled one instead. | |||
| 2018-11-21 | Try to provide the typesetting help requested. | uwe | |
| 2018-11-21 | Add (optional) support for expanded static menu texts - that is: whatever | martin | |
| the application programmer defines as expansion, e.g. to implement parameter substitution. While here add rudimentary documentation of the dynamic messages feature (so at least the parser and the syntax documented here are in sync). The man page could use some typesetting help... | |||
| 2018-01-23 | drop main() prototype | sevan | |
| 2017-07-03 | Remove workaround for ancient HTML generation code. | wiz | |
| 2013-10-18 | avoid redefinitions | christos | |
| 2012-04-21 | Add capfile(5) to describe the termcap format. | roy | |
| Adjust various man pages and other documentation to point to capfile(5) instead of termcap(5). Remove getcap(3) as curses hasn't been building it for a long time. Punt wrterm.c as tset no longer uses it. | |||
| 2012-03-06 | Remove the advertising clause and appease the eye a bit (still not good, but | mbalmer | |
| better). Almost no functional change. | |||
| 2011-09-06 | Mark __menu_initerror as dead in the output. | joerg | |
| 2009-10-29 | option noinput | christos | |
| 2009-07-11 | mandoc(1): -width is redundant for a item list | joerg | |
| 2009-04-20 | define YY_NO_INPUT where appropriate, from Kurt J. Lidl per PR misc/41160 | drochner | |
| 2009-04-14 | Enable WARNS=4 by default for usr.bin, except for: | lukem | |
| awk bdes checknr compile_et error gss hxtool kgetcred kinit klist ldd less lex locale login m4 man menuc mk_cmds mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh string2key telnet tn3270 verify_krb5_conf xlint | |||
| 2009-03-10 | Specify width for tag list. | joerg | |
| 2009-03-09 | Fix preamble to match order set out by mdoc(7). Discussed with wiz. | joerg | |
| 2008-01-16 | Fix PR37377 from Devon O'Dell: num_menus can be referenced without being | tls | |
| emitted if dynamic menus are not enabled. | |||
| 2006-10-23 | Fully initialize the last element of menu_def[]. | he | |
| 2006-06-17 | Another mispelling fix. I should have done these all in one commmit | reed | |
| but I was editing several files and didn't realize the multiple were all in one file. | |||
| 2006-06-17 | Fix typo (or mispelling). | reed | |
| 2006-06-17 | Fix mispelling. | reed | |
| 2006-02-20 | Allow menu entry option names to be code fragments that (should) call | dsl | |
| wprintw(menu->mw, ftm, args) to generate the menu label. Allows static menu labels to contain the current value (like a lot of the dynamic menus do). Correct width calculations, and bound menu table lookup. | |||
| 2005-02-11 | White space nit- don't put a space before/after increment/decrement | simonb | |
| operators. | |||
| 2004-09-17 | In procese_menu, make sure we initializie the menus | wrstuden | |
| _before_ we access the MENUS macro. Otherwise we get a segfault. | |||
| 2004-09-17 | Catch up with current menuc. | wrstuden | |
| 2004-09-17 | Scoot a menu so it fits better in an xterm. | wrstuden | |
| 2004-09-17 | Add parenthesis to silence a compiler warning. | wrstuden | |
| 2004-08-14 | Call doupdate() before copying out of stdscr (avoids PR 26660) | dsl | |
| Delete a diagnostic variable. | |||
| 2004-08-02 | Sort sections; avoid to mark up punctuation unnecessarily; use \*[Lt]\*[Gt] | wiz | |
| instead of <>; use Sq. | |||
| 2004-08-02 | Support menu windows that preserve the underlying screen contents. | dsl | |
| (Needs a libcurses fix as well). No need to ponce about with __m_endwin (to remember we've done endwin()), the old recovery was wrong in any case - but I've left something that will do an explicit redraw. Allow the 'help' text to be from a variable (and hence translated). Fix the display of help so that the screen underneath is actually cleared. Preserve the screen contents while displaying help - redraw is too hard. Use endwin(); doupdate(); to do the full refresh when ^L is typed. Move menus up the screen if they would hit the bottom with too few lines to show an item and the scroll text (happens with big titles). Make 'y=0' center the window vertically - use of 0 means you can't have a menu starting on the topline, but this is unlikely to be a problem. Make all the menu options settable from the control file, not just from dynamic menus. Redo menu option list part of man page. | |||
| 2004-07-18 | Make '0' be a valid number | dsl | |
| 2004-06-20 | Completely rework how tools/compat is done. Purge all uses/references to | jmc | |
| _NETBSD_SOURCE as this makes cross building from older/newer versions of NetBSD harder, not easier (and also makes the resulting tools 'different') Wrap all required code with the inclusion of nbtool_config.h, attempt to only use POSIX code in all places (or when reasonable test w. configure and provide definitions: ala u_int, etc). Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86 NetBSD current (x86 and amd64) and Solaris 9. Fixes PR's: PR#17762 PR#25944 | |||
| 2004-02-29 | Allow menu boxes to be forced down the screen if the message text is long. | dsl | |
