#
1.37 |
|
08-Mar-2023 |
guenther |
Delete obsolete /* ARGSUSED */ lint comments.
ok miod@ millert@
|
Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.36 |
|
28-Jan-2022 |
guenther |
When it's the possessive of 'it', it's spelled "its", without the apostrophe.
|
Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
|
#
1.35 |
|
19-Mar-2015 |
bcallah |
Clean up the includes in mg. This does the following: Moves all POSIX headers from sysdef.h into the individual .c files so that each file now only includes what it needs. All headers are properly sorted. Moves the remainder of sysdef.h to other files (mostly def.h) and deletes sysdef.h now that it's no longer contains anything. Tweak a comment that references sysdef.h so that it no longer does that. ok florian@
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE
|
#
1.34 |
|
12-Apr-2012 |
lum |
Remove the conditional directives NO_MACRO and NO_STARTUP. They have not compiled for numerous years. ok kjell@ millert@
|
#
1.33 |
|
14-Mar-2012 |
lum |
Remove the NO_HELP conditional directives. If defined, mg will not compile and has not done so for numerous years. Not hard to fix, but just remove anyway. ok kjell@ millert@
|
Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.32 |
|
04-Jun-2009 |
kjell |
Add the notion of an "ephemeral" popup, so we can flag a window for destruction at a later date. (in the process, add a window flag field)
This fixes an issue noted by maja: namely, the *completion* window that pops up when you try to complete a filename on buffer load would destroy any second window that you happened to have open.
ok maja@
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE
|
#
1.31 |
|
14-Dec-2005 |
kjell |
argh. One problem with fixing a hidden global symbol is that if you miss one, you get no warning. Fixes an immediate core in describe-bindings.
|
#
1.30 |
|
13-Dec-2005 |
kjell |
Last round of easy delinting.
|
#
1.29 |
|
13-Dec-2005 |
kjell |
More name-clash delinting
|
#
1.28 |
|
13-Dec-2005 |
kjell |
do some silly de-linting
|
#
1.27 |
|
18-Nov-2005 |
deraadt |
greedy use of typedef struct was making code harder to read; ok kjell cloder
|
#
1.26 |
|
14-Oct-2005 |
deraadt |
unused variables
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.25 |
|
09-Aug-2005 |
kjell |
Clean up eread handling in mg. (basically, fallout from the 'enter often means abort' behaviour added during the hackathon). Eliminates redundant ereply function, fixes miscellaneous cores when aborting, and move a number of assumed pathnames into the prompt text, since they are used there anyway. All changes consistent with emacs behavior
ok beck@ many, many moons ago.
|
#
1.24 |
|
14-Jun-2005 |
kjell |
Add explicit public domain notices to all public domain files. ok millert@, deraadt@
|
#
1.23 |
|
28-Apr-2005 |
otto |
Get rid of unused arg to complete_function_list(). Han Boetes.
|
#
1.22 |
|
03-Apr-2005 |
db |
This is a no binary change which does:
- spelling, punctuation fixes - variable declaration lineup - use parentheses for return and sizeof - K&R function declarations -> ANSI - other minor code beautification
ok henning@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
|
#
1.21 |
|
22-Jul-2004 |
vincent |
stage 1 of the infinite minibuffer work - add support for on the fly buffer reallocation in veread(). This commit only changes the API. All the buffers have exactly the same bounds as before for now.
tested by a couple of my very helpful testers!
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.20 |
|
22-Aug-2002 |
deraadt |
knf
|
#
1.19 |
|
01-Jul-2002 |
vincent |
KNF + ansi; from zyrnix (only the easy part of his diffs)
|
#
1.18 |
|
21-Jun-2002 |
vincent |
fix bad usage of strlcpy()'s return value. (made pointers point beyond the boundaries of buffers)
ok deraadt@
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.17 |
|
16-Mar-2002 |
vincent |
Make these special buffers readonly by default. ok art@
|
#
1.16 |
|
11-Mar-2002 |
vincent |
* Move to ANSI function definitions. * Add a whole lot of consts where I thought it made sense
no ok, but no objections either...
|
#
1.15 |
|
25-Nov-2001 |
deraadt |
snprintf makes me happy
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.14 |
|
24-May-2001 |
art |
Break out function -> name mappings to an own file. Add a possibility to dynamically extend the function table.
|
#
1.13 |
|
24-May-2001 |
art |
Give the arguments in the right order to keyname.
|
#
1.12 |
|
24-May-2001 |
mickey |
spaces
|
#
1.11 |
|
23-May-2001 |
mickey |
cinfo is const, keyname() and findbind() take buffer size to use strlcpy vs cpy+len
|
#
1.10 |
|
23-May-2001 |
art |
remove VOID. We're way beyond the point where this could build with an ancient compiler.
|
#
1.9 |
|
23-May-2001 |
art |
Use 'fundamental_map' where 'map_table[0].p_map' or 'name_map("fundamental")' were used.
|
#
1.8 |
|
23-May-2001 |
art |
Simplify a lot of code in the help functions. It might be a bit more cpu-intensive now, but it shrinks the code a lot.
|
#
1.7 |
|
23-May-2001 |
art |
When a key is bound to selfinsert, it shouldn't be considered to be bound to anything.
|
#
1.6 |
|
23-May-2001 |
art |
Add an argument to doscan which is a pointer to a KEYMAP pointer. If that argument is not NULL, we set it to the k_prefmap of the pressed key if there is one. This is what most of the users of doscan did anyway, but they did it through leaked global state.
|
#
1.5 |
|
23-May-2001 |
art |
Get rid of 'prefix' and use NULL instead.
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.4 |
|
29-Jan-2001 |
niklas |
$OpenBSD$
|
Revision tags: OPENBSD_2_8_BASE
|
#
1.3 |
|
01-Sep-2000 |
millert |
More -Wall anmd KNF, from op2@tomahawk.SQUiSH.org
|
Revision tags: OPENBSD_2_7_BASE
|
#
1.2 |
|
13-Apr-2000 |
millert |
The start of KNF + -Wall. The code has been run through indent but needs hand fixup. I stopped at keymap.c...
|
#
1.1 |
|
25-Feb-2000 |
deraadt |
initial import of mg2a
|
#
1.36 |
|
28-Jan-2022 |
guenther |
When it's the possessive of 'it', it's spelled "its", without the apostrophe.
|
Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
|
#
1.35 |
|
19-Mar-2015 |
bcallah |
Clean up the includes in mg. This does the following: Moves all POSIX headers from sysdef.h into the individual .c files so that each file now only includes what it needs. All headers are properly sorted. Moves the remainder of sysdef.h to other files (mostly def.h) and deletes sysdef.h now that it's no longer contains anything. Tweak a comment that references sysdef.h so that it no longer does that. ok florian@
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE
|
#
1.34 |
|
12-Apr-2012 |
lum |
Remove the conditional directives NO_MACRO and NO_STARTUP. They have not compiled for numerous years. ok kjell@ millert@
|
#
1.33 |
|
14-Mar-2012 |
lum |
Remove the NO_HELP conditional directives. If defined, mg will not compile and has not done so for numerous years. Not hard to fix, but just remove anyway. ok kjell@ millert@
|
Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.32 |
|
04-Jun-2009 |
kjell |
Add the notion of an "ephemeral" popup, so we can flag a window for destruction at a later date. (in the process, add a window flag field)
This fixes an issue noted by maja: namely, the *completion* window that pops up when you try to complete a filename on buffer load would destroy any second window that you happened to have open.
ok maja@
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE
|
#
1.31 |
|
14-Dec-2005 |
kjell |
argh. One problem with fixing a hidden global symbol is that if you miss one, you get no warning. Fixes an immediate core in describe-bindings.
|
#
1.30 |
|
13-Dec-2005 |
kjell |
Last round of easy delinting.
|
#
1.29 |
|
13-Dec-2005 |
kjell |
More name-clash delinting
|
#
1.28 |
|
13-Dec-2005 |
kjell |
do some silly de-linting
|
#
1.27 |
|
18-Nov-2005 |
deraadt |
greedy use of typedef struct was making code harder to read; ok kjell cloder
|
#
1.26 |
|
14-Oct-2005 |
deraadt |
unused variables
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.25 |
|
09-Aug-2005 |
kjell |
Clean up eread handling in mg. (basically, fallout from the 'enter often means abort' behaviour added during the hackathon). Eliminates redundant ereply function, fixes miscellaneous cores when aborting, and move a number of assumed pathnames into the prompt text, since they are used there anyway. All changes consistent with emacs behavior
ok beck@ many, many moons ago.
|
#
1.24 |
|
14-Jun-2005 |
kjell |
Add explicit public domain notices to all public domain files. ok millert@, deraadt@
|
#
1.23 |
|
28-Apr-2005 |
otto |
Get rid of unused arg to complete_function_list(). Han Boetes.
|
#
1.22 |
|
03-Apr-2005 |
db |
This is a no binary change which does:
- spelling, punctuation fixes - variable declaration lineup - use parentheses for return and sizeof - K&R function declarations -> ANSI - other minor code beautification
ok henning@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
|
#
1.21 |
|
22-Jul-2004 |
vincent |
stage 1 of the infinite minibuffer work - add support for on the fly buffer reallocation in veread(). This commit only changes the API. All the buffers have exactly the same bounds as before for now.
tested by a couple of my very helpful testers!
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.20 |
|
22-Aug-2002 |
deraadt |
knf
|
#
1.19 |
|
01-Jul-2002 |
vincent |
KNF + ansi; from zyrnix (only the easy part of his diffs)
|
#
1.18 |
|
21-Jun-2002 |
vincent |
fix bad usage of strlcpy()'s return value. (made pointers point beyond the boundaries of buffers)
ok deraadt@
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.17 |
|
16-Mar-2002 |
vincent |
Make these special buffers readonly by default. ok art@
|
#
1.16 |
|
11-Mar-2002 |
vincent |
* Move to ANSI function definitions. * Add a whole lot of consts where I thought it made sense
no ok, but no objections either...
|
#
1.15 |
|
25-Nov-2001 |
deraadt |
snprintf makes me happy
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.14 |
|
24-May-2001 |
art |
Break out function -> name mappings to an own file. Add a possibility to dynamically extend the function table.
|
#
1.13 |
|
24-May-2001 |
art |
Give the arguments in the right order to keyname.
|
#
1.12 |
|
24-May-2001 |
mickey |
spaces
|
#
1.11 |
|
23-May-2001 |
mickey |
cinfo is const, keyname() and findbind() take buffer size to use strlcpy vs cpy+len
|
#
1.10 |
|
23-May-2001 |
art |
remove VOID. We're way beyond the point where this could build with an ancient compiler.
|
#
1.9 |
|
23-May-2001 |
art |
Use 'fundamental_map' where 'map_table[0].p_map' or 'name_map("fundamental")' were used.
|
#
1.8 |
|
23-May-2001 |
art |
Simplify a lot of code in the help functions. It might be a bit more cpu-intensive now, but it shrinks the code a lot.
|
#
1.7 |
|
23-May-2001 |
art |
When a key is bound to selfinsert, it shouldn't be considered to be bound to anything.
|
#
1.6 |
|
23-May-2001 |
art |
Add an argument to doscan which is a pointer to a KEYMAP pointer. If that argument is not NULL, we set it to the k_prefmap of the pressed key if there is one. This is what most of the users of doscan did anyway, but they did it through leaked global state.
|
#
1.5 |
|
23-May-2001 |
art |
Get rid of 'prefix' and use NULL instead.
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.4 |
|
29-Jan-2001 |
niklas |
$OpenBSD$
|
Revision tags: OPENBSD_2_8_BASE
|
#
1.3 |
|
01-Sep-2000 |
millert |
More -Wall anmd KNF, from op2@tomahawk.SQUiSH.org
|
Revision tags: OPENBSD_2_7_BASE
|
#
1.2 |
|
13-Apr-2000 |
millert |
The start of KNF + -Wall. The code has been run through indent but needs hand fixup. I stopped at keymap.c...
|
#
1.1 |
|
25-Feb-2000 |
deraadt |
initial import of mg2a
|
Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.35 |
|
19-Mar-2015 |
bcallah |
Clean up the includes in mg. This does the following: Moves all POSIX headers from sysdef.h into the individual .c files so that each file now only includes what it needs. All headers are properly sorted. Moves the remainder of sysdef.h to other files (mostly def.h) and deletes sysdef.h now that it's no longer contains anything. Tweak a comment that references sysdef.h so that it no longer does that. ok florian@
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE
|
#
1.34 |
|
12-Apr-2012 |
lum |
Remove the conditional directives NO_MACRO and NO_STARTUP. They have not compiled for numerous years. ok kjell@ millert@
|
#
1.33 |
|
14-Mar-2012 |
lum |
Remove the NO_HELP conditional directives. If defined, mg will not compile and has not done so for numerous years. Not hard to fix, but just remove anyway. ok kjell@ millert@
|
Revision tags: OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE
|
#
1.32 |
|
04-Jun-2009 |
kjell |
Add the notion of an "ephemeral" popup, so we can flag a window for destruction at a later date. (in the process, add a window flag field)
This fixes an issue noted by maja: namely, the *completion* window that pops up when you try to complete a filename on buffer load would destroy any second window that you happened to have open.
ok maja@
|
Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE
|
#
1.31 |
|
14-Dec-2005 |
kjell |
argh. One problem with fixing a hidden global symbol is that if you miss one, you get no warning. Fixes an immediate core in describe-bindings.
|
#
1.30 |
|
13-Dec-2005 |
kjell |
Last round of easy delinting.
|
#
1.29 |
|
13-Dec-2005 |
kjell |
More name-clash delinting
|
#
1.28 |
|
13-Dec-2005 |
kjell |
do some silly de-linting
|
#
1.27 |
|
18-Nov-2005 |
deraadt |
greedy use of typedef struct was making code harder to read; ok kjell cloder
|
#
1.26 |
|
14-Oct-2005 |
deraadt |
unused variables
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.25 |
|
09-Aug-2005 |
kjell |
Clean up eread handling in mg. (basically, fallout from the 'enter often means abort' behaviour added during the hackathon). Eliminates redundant ereply function, fixes miscellaneous cores when aborting, and move a number of assumed pathnames into the prompt text, since they are used there anyway. All changes consistent with emacs behavior
ok beck@ many, many moons ago.
|
#
1.24 |
|
14-Jun-2005 |
kjell |
Add explicit public domain notices to all public domain files. ok millert@, deraadt@
|
#
1.23 |
|
28-Apr-2005 |
otto |
Get rid of unused arg to complete_function_list(). Han Boetes.
|
#
1.22 |
|
03-Apr-2005 |
db |
This is a no binary change which does:
- spelling, punctuation fixes - variable declaration lineup - use parentheses for return and sizeof - K&R function declarations -> ANSI - other minor code beautification
ok henning@
|
Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE
|
#
1.21 |
|
22-Jul-2004 |
vincent |
stage 1 of the infinite minibuffer work - add support for on the fly buffer reallocation in veread(). This commit only changes the API. All the buffers have exactly the same bounds as before for now.
tested by a couple of my very helpful testers!
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE OPENBSD_3_5_BASE
|
#
1.20 |
|
22-Aug-2002 |
deraadt |
knf
|
#
1.19 |
|
01-Jul-2002 |
vincent |
KNF + ansi; from zyrnix (only the easy part of his diffs)
|
#
1.18 |
|
21-Jun-2002 |
vincent |
fix bad usage of strlcpy()'s return value. (made pointers point beyond the boundaries of buffers)
ok deraadt@
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.17 |
|
16-Mar-2002 |
vincent |
Make these special buffers readonly by default. ok art@
|
#
1.16 |
|
11-Mar-2002 |
vincent |
* Move to ANSI function definitions. * Add a whole lot of consts where I thought it made sense
no ok, but no objections either...
|
#
1.15 |
|
25-Nov-2001 |
deraadt |
snprintf makes me happy
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.14 |
|
24-May-2001 |
art |
Break out function -> name mappings to an own file. Add a possibility to dynamically extend the function table.
|
#
1.13 |
|
24-May-2001 |
art |
Give the arguments in the right order to keyname.
|
#
1.12 |
|
24-May-2001 |
mickey |
spaces
|
#
1.11 |
|
23-May-2001 |
mickey |
cinfo is const, keyname() and findbind() take buffer size to use strlcpy vs cpy+len
|
#
1.10 |
|
23-May-2001 |
art |
remove VOID. We're way beyond the point where this could build with an ancient compiler.
|
#
1.9 |
|
23-May-2001 |
art |
Use 'fundamental_map' where 'map_table[0].p_map' or 'name_map("fundamental")' were used.
|
#
1.8 |
|
23-May-2001 |
art |
Simplify a lot of code in the help functions. It might be a bit more cpu-intensive now, but it shrinks the code a lot.
|
#
1.7 |
|
23-May-2001 |
art |
When a key is bound to selfinsert, it shouldn't be considered to be bound to anything.
|
#
1.6 |
|
23-May-2001 |
art |
Add an argument to doscan which is a pointer to a KEYMAP pointer. If that argument is not NULL, we set it to the k_prefmap of the pressed key if there is one. This is what most of the users of doscan did anyway, but they did it through leaked global state.
|
#
1.5 |
|
23-May-2001 |
art |
Get rid of 'prefix' and use NULL instead.
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.4 |
|
29-Jan-2001 |
niklas |
$OpenBSD$
|
Revision tags: OPENBSD_2_8_BASE
|
#
1.3 |
|
01-Sep-2000 |
millert |
More -Wall anmd KNF, from op2@tomahawk.SQUiSH.org
|
Revision tags: OPENBSD_2_7_BASE
|
#
1.2 |
|
13-Apr-2000 |
millert |
The start of KNF + -Wall. The code has been run through indent but needs hand fixup. I stopped at keymap.c...
|
#
1.1 |
|
25-Feb-2000 |
deraadt |
initial import of mg2a
|