| History log of /src/usr.bin/menuc/scan.l |
| Revision | | Date | Author | Comments |
| 1.18 |
| 25-Feb-2019 |
martin | Add an option to supress the vertical space between menu title and menu items.
|
| 1.17 |
| 21-Nov-2018 |
martin | Add (optional) support for expanded static menu texts - that is: whatever 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...
|
| 1.16 |
| 06-Mar-2012 |
mbalmer | branches: 1.16.30; 1.16.32; Remove the advertising clause and appease the eye a bit (still not good, but better). Almost no functional change.
|
| 1.15 |
| 29-Oct-2009 |
christos | branches: 1.15.6; option noinput
|
| 1.14 |
| 02-Aug-2004 |
dsl | Support menu windows that preserve the underlying screen contents. (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.
|
| 1.13 |
| 18-Jul-2004 |
dsl | Make '0' be a valid number
|
| 1.12 |
| 30-Nov-2003 |
dsl | branches: 1.12.4; Add '[no] clear' to lex/yacc spec. Fix some menu sizing bugs for menus where the user code changes the size. Don't reduce the size of a menu with 'scroll' every timeit is displayed.
|
| 1.11 |
| 27-Sep-2003 |
dsl | Allow -ve integer constants in menu file. Make y == -1 => after current messages (if msg_defs.h included). Defer menu initialisation until after post_act() called (so function can fiddle with more things.)
|
| 1.10 |
| 10-Jun-2003 |
dsl | Add extra command 'allow dynamic messages' which will push all texts through the msgc translation service. Allow for texts being NULL as well as "", don't use strlen() to test for "".
|
| 1.9 |
| 15-Aug-2000 |
phil | Tweek the "no shortcut" code. MC_NOSHORTKEY to NOSHORTCUT added option "shortcut" to menuc input language. added example of this kind of menu in testm.
|
| 1.8 |
| 20-Jun-1999 |
cgd | provide a way to set the string used for the 'Exit' menu item.
|
| 1.7 |
| 02-Jul-1998 |
phil | branches: 1.7.2; Small tweeks, redoing language for dynamic menus.
|
| 1.6 |
| 01-Jul-1998 |
phil | Bug fixes, tweeks to scrolling, beginnings of dynamic menus.
|
| 1.5 |
| 25-Jun-1998 |
phil | Add scrollable menus. Tweek testm's Makefile to remake if menu_sys.def is modified.
|
| 1.4 |
| 24-Jun-1998 |
phil | Add a online help facility. Each menu can specify a help screen associated with that menu. The help screen is scrollable for long help screens. The char '?' accesses the help screen as a menu command. Help screen text is specified in the menu definition file with the menu.
|
| 1.3 |
| 09-Apr-1998 |
tv | .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for, and use smarter creation of the header file.
|
| 1.2 |
| 09-Nov-1997 |
phil | Add code for handling NULL return from initscr(). Added "ERROR ACTION" for user code for above error.
|
| 1.1 |
| 26-Sep-1997 |
phil | branches: 1.1.1; Initial revision
|
| 1.1.1.1 |
| 26-Sep-1997 |
phil | branches: 1.1.1.1.2; Add a curses based menu compiler system. (Used by the new system install program sysinst.)
|
| 1.1.1.1.2.1 |
| 09-Nov-1997 |
mellon | Pull rev 1.2 up from trunk (phil)
|
| 1.7.2.1 |
| 24-Jun-1999 |
cgd | pull up rev(s) 1.8 from trunk. (cgd)
|
| 1.12.4.2 |
| 23-Jul-2005 |
snj | Pull up revision 1.13 (requested by riz in ticket #5515): Make '0' be a valid number
|
| 1.12.4.1 |
| 23-Jul-2005 |
snj | Pull up revision 1.14 (requested by riz in ticket #5515): Support menu windows that preserve the underlying screen contents. (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.
|
| 1.15.6.1 |
| 17-Apr-2012 |
yamt | sync with head
|
| 1.16.32.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.16.30.1 |
| 26-Nov-2018 |
pgoyette | Sync with HEAD, resolve a couple of conflicts
|