History log of /src/usr.bin/msgc/msgdb.c |
Revision | | Date | Author | Comments |
1.24 |
| 20-Jun-2019 |
christos | Introduce _fmt_ flavors of the menu functions that take a formatting string so we can use fmtcheck(3) to check the formats of the messages strings.
|
1.23 |
| 06-Mar-2012 |
mbalmer | branches: 1.23.32; Remove the advertising clause with the explicit ok from Perry E. Metzger.
|
1.22 |
| 02-Mar-2012 |
mbalmer | Add msg_printf(fmt, ...), a function to display raw messages without going through the message catalog.
|
1.21 |
| 02-Mar-2012 |
mbalmer | Removing trailing whitespace.
|
1.20 |
| 20-Jun-2004 |
jmc | branches: 1.20.50; Completely rework how tools/compat is done. Purge all uses/references to _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
|
1.19 |
| 25-Sep-2003 |
dsl | branches: 1.19.2; Add a msg_row() function that returns the current screen row. Allows sysinst to place menus below any header text. Remove msg_*.1 man pages for all the functions (they are in the wrong place are a fair waste of directory space).
|
1.18 |
| 17-Jul-2003 |
lukem | only use __RCSID() if it is #defined
|
1.17 |
| 27-Jun-2003 |
dsl | Add support for reading messages from a text file - msg_file() and msg_string(). Use subwin() in msg_prompt_win() now libcurses is fixed. Some KNF changes I seem to have forgotten to commit on their own :-(
|
1.16 |
| 23-Jun-2003 |
agc | Add NetBSD RCS Ids.
|
1.15 |
| 10-Jun-2003 |
dsl | Change msg_window() to return old window (temp buffer size isn't too important) Change msg_promt_win() to create the window. Number MSG_xxx from 1 (because 0 is NULL)
|
1.14 |
| 04-Jun-2003 |
dsl | Add msg_prompt_win() that will prompt in the specified window (instead of the default one), and with a box around the window if >= 3 lines. Stop the char delete from killingthe RHS of any box. Make msg_string a noop for invalid strings (might be quoted text).
|
1.13 |
| 10-Jan-2003 |
christos | produce lint free code.
|
1.12 |
| 15-Oct-2001 |
bjh21 | Move the default path definition from msgdb.c to a new pathnames.h, as required by KNF. This will also be required to allow msgc to be installed into ${TOOLDIR} properly.
|
1.11 |
| 04-Jul-1999 |
cgd | nuke msg_printf() and msg_printf_add().
|
1.10 |
| 04-Jul-1999 |
cgd | const-ify strings as appropriate, and convert message 'numbers' from ints to 'msg's. 'msg' is currently typedef'd as 'const char *', but it'll become more complex eventually.
|
1.9 |
| 04-Jul-1999 |
cgd | privatize msg_beep
|
1.8 |
| 04-Jul-1999 |
cgd | nuke msg_{,no}echo, add msg_prompt_noecho
|
1.7 |
| 04-Jul-1999 |
cgd | nuke msg_prompt_str, msg_prompt_addstr, and msg_table (unused), and make msg_vprintf private.
|
1.6 |
| 04-Jul-1999 |
cgd | provide APIs (currently mostly undocumented) to print pre-formatted (table) text.
|
1.5 |
| 22-Jun-1999 |
cgd | don't bother calculated up MAXSTR, especially since the value calculated is _bogus_ in the face of printf-like message formatting! Instead, calcuate the max size to format when the message window is set. We know that we'll never want to format more characters than can fit in the window.
|
1.4 |
| 19-Jun-1999 |
cgd | the skeleton now also needs stdlib.h
|
1.3 |
| 25-Apr-1999 |
veego | It was a bad idea to call a function 'beep'. Rename it to msg_beep to avoid conflicts with the new curses.h.
|
1.2 |
| 03-Oct-1997 |
enami | branches: 1.2.4; - Include <string.h> to import the proto type of strlen(). - Add an empty line before inclusion of local header.
|
1.1 |
| 26-Sep-1997 |
phil | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 26-Sep-1997 |
phil | Import a simple message system with 'compiled' messages. Used by the net system install program.
|
1.2.4.1 |
| 24-Jun-1999 |
cgd | pull up rev(s) 1.3-1.5 from trunk. (cgd)
|
1.19.2.1 |
| 22-Jun-2004 |
tron | Pull up revision 1.20 (requested by jmc in ticket #527): Completely rework how tools/compat is done. Purge all uses/references to _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
|
1.20.50.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.23.32.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|