#
1.28 |
|
14-Jun-2024 |
op |
support (ignore) universal ctags extended metadata in tagaddress
universal ctags "abuses" the tagaddress, which can be an arbitrary vi command even if mg assumes it's just a search pattern, to store metadata after a "vi comment".
While it could be worthwile to support the uctags annotations this just ignores them so the search patterns work again.
The diff is from Joachim Wiberg "troglobit" mg.
ok tb@
|
Revision tags: OPENBSD_7_4_BASE OPENBSD_7_5_BASE
|
#
1.27 |
|
29-Mar-2023 |
op |
plug leak of tagpos in poptag() if loadbuffer() fails
|
#
1.26 |
|
29-Mar-2023 |
op |
drop needless global tagsfn path
mg kept the path to the last loaded tag file in tagsfn which was used for both the lazy loading (now removed) and as a flag to know if any tags are currently loaded. It's redundant and complicates the code: just check if the tree is empty instead.
ok tb@
|
#
1.25 |
|
29-Mar-2023 |
op |
change tagvisit (aka visit-tag-table) to immediately load the tag file
before it used to only record the path to the tag file which was loaded on demand upon find-tag (M-.). tagvisit did to do a stat + access dance to know if the path was pointing to a regular, readable file and loadtags (called lazily by find-tag) trusted those checks...
Instead, just load the tags in tagvisit and drop the lazy mechanics.
ok tb@
|
#
1.24 |
|
28-Mar-2023 |
tb |
mg: fix parsing of tag files with duplicate entries
Instead of erroring out ignore duplicates. Fixes using /var/db/libc.tags again.
ok op
|
Revision tags: OPENBSD_7_3_BASE
|
#
1.23 |
|
22-Mar-2023 |
op |
plug another leak in addctag; found + ok tb@
|
#
1.22 |
|
22-Mar-2023 |
op |
avoid memleak / crash in addctag
the l pointer is advanced, so if the line is malformed `goto cleanup' will free(NULL) or a pointer inside l.
semplification and ok tb@
|
#
1.21 |
|
22-Mar-2023 |
op |
plug memleak in error path
based on a diff by lux (lx [at] shellcodes [dot] org), thanks! Diff via, tweak and ok tb@
|
#
1.20 |
|
22-Mar-2023 |
op |
delete trailing whitespaces; no functional change
|
#
1.19 |
|
08-Mar-2023 |
guenther |
Delete obsolete /* ARGSUSED */ lint comments.
ok miod@ millert@
|
#
1.18 |
|
26-Dec-2022 |
jmc |
spelling fixes; from paul tagliamonte amendments to his diff are noted on tech
|
Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.17 |
|
28-Jan-2022 |
guenther |
When it's the possessive of 'it', it's spelled "its", without the apostrophe.
|
Revision tags: 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.16 |
|
06-Aug-2017 |
bcallah |
Present the default choice before the colon in prompts. Matches GNU Emacs behavior.
From Scott Cheloha <scottcheloha@gmail.com>
ok florian@
|
#
1.15 |
|
30-May-2017 |
florian |
fix -Wshadow warnings. Found by bcallah, thanks!
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.14 |
|
01-Sep-2016 |
sunil |
Fix possible NULL pointer dereference.
Found by Coverity Scan. The tagsvisit() function calls eread(), which may return NULL. This is then immediately passed to stat() without a proper check. This patch adds that check.
From Joachim Nilsson <troglobit@gmail.com> via lum@. Ok lum@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.13 |
|
19-Jan-2016 |
sunil |
Update my mail address.
|
#
1.12 |
|
31-Dec-2015 |
sunil |
Return FALSE on parse errors.
Found by and Ok lum@.
|
Revision tags: OPENBSD_5_8_BASE
|
#
1.11 |
|
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_7_BASE
|
#
1.10 |
|
16-Nov-2014 |
guenther |
ctype macros/functions expect unsigned char values. Note that the lgetc() macro does the cast internally like getc() does, so its return should be put an in int for the same reason.
based on a diff from Kamil Rytarowski (n54 (at) gmx.com)
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.9 |
|
22-Mar-2014 |
lum |
If no default tag defined, still let user input a tag to find. From Sunil Nimmagadda.
|
#
1.8 |
|
20-Mar-2014 |
lum |
Add some missing dobeeps. ok florian@
|
#
1.7 |
|
06-Mar-2014 |
jasper |
add missing stdio.h include for fparseln().
from Ulrich Mueller, via Han Boetes ok florian@
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.6 |
|
20-Oct-2012 |
jasper |
- fix a potential double free
ok florian@
|
Revision tags: OPENBSD_5_2_BASE
|
#
1.5 |
|
02-Jul-2012 |
lum |
Maintain mg's Public Domain license heritage.
Sunil Nimmagadda agrees.
|
#
1.4 |
|
26-Jun-2012 |
jasper |
add missing rcs ids
|
#
1.3 |
|
07-Jun-2012 |
lum |
Add some cscope support to mg. From Sunil Nimmagadda. Due to some structural limitations in mg, mg doesn't behave exactly the same as emacs cscope (see the README) but is still very usable.
man page bits reviewed by jmc@, otherwise tested and reviewed by myself.
|
Revision tags: OPENBSD_5_1_BASE
|
#
1.2 |
|
05-Dec-2011 |
lum |
Use absolute filenames while pushing and popping off the stack.
This fixes a segv discovered by Olivier A and reported to Sunil Nimmagadda, who provided the actual fix. Tested by myself and Oliver A.
|
#
1.1 |
|
28-Nov-2011 |
lum |
Add some ctags support to mg. From Sunil Nimmagadda.
Man page review and suggestions from jmc@
Revewied and tested by myself, and ok deraadt@
|
#
1.27 |
|
29-Mar-2023 |
op |
plug leak of tagpos in poptag() if loadbuffer() fails
|
#
1.26 |
|
29-Mar-2023 |
op |
drop needless global tagsfn path
mg kept the path to the last loaded tag file in tagsfn which was used for both the lazy loading (now removed) and as a flag to know if any tags are currently loaded. It's redundant and complicates the code: just check if the tree is empty instead.
ok tb@
|
#
1.25 |
|
29-Mar-2023 |
op |
change tagvisit (aka visit-tag-table) to immediately load the tag file
before it used to only record the path to the tag file which was loaded on demand upon find-tag (M-.). tagvisit did to do a stat + access dance to know if the path was pointing to a regular, readable file and loadtags (called lazily by find-tag) trusted those checks...
Instead, just load the tags in tagvisit and drop the lazy mechanics.
ok tb@
|
#
1.24 |
|
28-Mar-2023 |
tb |
mg: fix parsing of tag files with duplicate entries
Instead of erroring out ignore duplicates. Fixes using /var/db/libc.tags again.
ok op
|
Revision tags: OPENBSD_7_3_BASE
|
#
1.23 |
|
22-Mar-2023 |
op |
plug another leak in addctag; found + ok tb@
|
#
1.22 |
|
22-Mar-2023 |
op |
avoid memleak / crash in addctag
the l pointer is advanced, so if the line is malformed `goto cleanup' will free(NULL) or a pointer inside l.
semplification and ok tb@
|
#
1.21 |
|
22-Mar-2023 |
op |
plug memleak in error path
based on a diff by lux (lx [at] shellcodes [dot] org), thanks! Diff via, tweak and ok tb@
|
#
1.20 |
|
22-Mar-2023 |
op |
delete trailing whitespaces; no functional change
|
#
1.19 |
|
08-Mar-2023 |
guenther |
Delete obsolete /* ARGSUSED */ lint comments.
ok miod@ millert@
|
#
1.18 |
|
26-Dec-2022 |
jmc |
spelling fixes; from paul tagliamonte amendments to his diff are noted on tech
|
Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.17 |
|
28-Jan-2022 |
guenther |
When it's the possessive of 'it', it's spelled "its", without the apostrophe.
|
Revision tags: 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.16 |
|
06-Aug-2017 |
bcallah |
Present the default choice before the colon in prompts. Matches GNU Emacs behavior.
From Scott Cheloha <scottcheloha@gmail.com>
ok florian@
|
#
1.15 |
|
30-May-2017 |
florian |
fix -Wshadow warnings. Found by bcallah, thanks!
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.14 |
|
01-Sep-2016 |
sunil |
Fix possible NULL pointer dereference.
Found by Coverity Scan. The tagsvisit() function calls eread(), which may return NULL. This is then immediately passed to stat() without a proper check. This patch adds that check.
From Joachim Nilsson <troglobit@gmail.com> via lum@. Ok lum@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.13 |
|
19-Jan-2016 |
sunil |
Update my mail address.
|
#
1.12 |
|
31-Dec-2015 |
sunil |
Return FALSE on parse errors.
Found by and Ok lum@.
|
Revision tags: OPENBSD_5_8_BASE
|
#
1.11 |
|
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_7_BASE
|
#
1.10 |
|
16-Nov-2014 |
guenther |
ctype macros/functions expect unsigned char values. Note that the lgetc() macro does the cast internally like getc() does, so its return should be put an in int for the same reason.
based on a diff from Kamil Rytarowski (n54 (at) gmx.com)
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.9 |
|
22-Mar-2014 |
lum |
If no default tag defined, still let user input a tag to find. From Sunil Nimmagadda.
|
#
1.8 |
|
20-Mar-2014 |
lum |
Add some missing dobeeps. ok florian@
|
#
1.7 |
|
06-Mar-2014 |
jasper |
add missing stdio.h include for fparseln().
from Ulrich Mueller, via Han Boetes ok florian@
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.6 |
|
20-Oct-2012 |
jasper |
- fix a potential double free
ok florian@
|
Revision tags: OPENBSD_5_2_BASE
|
#
1.5 |
|
02-Jul-2012 |
lum |
Maintain mg's Public Domain license heritage.
Sunil Nimmagadda agrees.
|
#
1.4 |
|
26-Jun-2012 |
jasper |
add missing rcs ids
|
#
1.3 |
|
07-Jun-2012 |
lum |
Add some cscope support to mg. From Sunil Nimmagadda. Due to some structural limitations in mg, mg doesn't behave exactly the same as emacs cscope (see the README) but is still very usable.
man page bits reviewed by jmc@, otherwise tested and reviewed by myself.
|
Revision tags: OPENBSD_5_1_BASE
|
#
1.2 |
|
05-Dec-2011 |
lum |
Use absolute filenames while pushing and popping off the stack.
This fixes a segv discovered by Olivier A and reported to Sunil Nimmagadda, who provided the actual fix. Tested by myself and Oliver A.
|
#
1.1 |
|
28-Nov-2011 |
lum |
Add some ctags support to mg. From Sunil Nimmagadda.
Man page review and suggestions from jmc@
Revewied and tested by myself, and ok deraadt@
|
#
1.19 |
|
08-Mar-2023 |
guenther |
Delete obsolete /* ARGSUSED */ lint comments.
ok miod@ millert@
|
#
1.18 |
|
26-Dec-2022 |
jmc |
spelling fixes; from paul tagliamonte amendments to his diff are noted on tech
|
Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.17 |
|
28-Jan-2022 |
guenther |
When it's the possessive of 'it', it's spelled "its", without the apostrophe.
|
Revision tags: 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.16 |
|
06-Aug-2017 |
bcallah |
Present the default choice before the colon in prompts. Matches GNU Emacs behavior.
From Scott Cheloha <scottcheloha@gmail.com>
ok florian@
|
#
1.15 |
|
30-May-2017 |
florian |
fix -Wshadow warnings. Found by bcallah, thanks!
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.14 |
|
01-Sep-2016 |
sunil |
Fix possible NULL pointer dereference.
Found by Coverity Scan. The tagsvisit() function calls eread(), which may return NULL. This is then immediately passed to stat() without a proper check. This patch adds that check.
From Joachim Nilsson <troglobit@gmail.com> via lum@. Ok lum@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.13 |
|
19-Jan-2016 |
sunil |
Update my mail address.
|
#
1.12 |
|
31-Dec-2015 |
sunil |
Return FALSE on parse errors.
Found by and Ok lum@.
|
Revision tags: OPENBSD_5_8_BASE
|
#
1.11 |
|
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_7_BASE
|
#
1.10 |
|
16-Nov-2014 |
guenther |
ctype macros/functions expect unsigned char values. Note that the lgetc() macro does the cast internally like getc() does, so its return should be put an in int for the same reason.
based on a diff from Kamil Rytarowski (n54 (at) gmx.com)
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.9 |
|
22-Mar-2014 |
lum |
If no default tag defined, still let user input a tag to find. From Sunil Nimmagadda.
|
#
1.8 |
|
20-Mar-2014 |
lum |
Add some missing dobeeps. ok florian@
|
#
1.7 |
|
06-Mar-2014 |
jasper |
add missing stdio.h include for fparseln().
from Ulrich Mueller, via Han Boetes ok florian@
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.6 |
|
20-Oct-2012 |
jasper |
- fix a potential double free
ok florian@
|
Revision tags: OPENBSD_5_2_BASE
|
#
1.5 |
|
02-Jul-2012 |
lum |
Maintain mg's Public Domain license heritage.
Sunil Nimmagadda agrees.
|
#
1.4 |
|
26-Jun-2012 |
jasper |
add missing rcs ids
|
#
1.3 |
|
07-Jun-2012 |
lum |
Add some cscope support to mg. From Sunil Nimmagadda. Due to some structural limitations in mg, mg doesn't behave exactly the same as emacs cscope (see the README) but is still very usable.
man page bits reviewed by jmc@, otherwise tested and reviewed by myself.
|
Revision tags: OPENBSD_5_1_BASE
|
#
1.2 |
|
05-Dec-2011 |
lum |
Use absolute filenames while pushing and popping off the stack.
This fixes a segv discovered by Olivier A and reported to Sunil Nimmagadda, who provided the actual fix. Tested by myself and Oliver A.
|
#
1.1 |
|
28-Nov-2011 |
lum |
Add some ctags support to mg. From Sunil Nimmagadda.
Man page review and suggestions from jmc@
Revewied and tested by myself, and ok deraadt@
|
#
1.18 |
|
26-Dec-2022 |
jmc |
spelling fixes; from paul tagliamonte amendments to his diff are noted on tech
|
Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.17 |
|
28-Jan-2022 |
guenther |
When it's the possessive of 'it', it's spelled "its", without the apostrophe.
|
Revision tags: 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.16 |
|
06-Aug-2017 |
bcallah |
Present the default choice before the colon in prompts. Matches GNU Emacs behavior.
From Scott Cheloha <scottcheloha@gmail.com>
ok florian@
|
#
1.15 |
|
30-May-2017 |
florian |
fix -Wshadow warnings. Found by bcallah, thanks!
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.14 |
|
01-Sep-2016 |
sunil |
Fix possible NULL pointer dereference.
Found by Coverity Scan. The tagsvisit() function calls eread(), which may return NULL. This is then immediately passed to stat() without a proper check. This patch adds that check.
From Joachim Nilsson <troglobit@gmail.com> via lum@. Ok lum@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.13 |
|
19-Jan-2016 |
sunil |
Update my mail address.
|
#
1.12 |
|
31-Dec-2015 |
sunil |
Return FALSE on parse errors.
Found by and Ok lum@.
|
Revision tags: OPENBSD_5_8_BASE
|
#
1.11 |
|
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_7_BASE
|
#
1.10 |
|
16-Nov-2014 |
guenther |
ctype macros/functions expect unsigned char values. Note that the lgetc() macro does the cast internally like getc() does, so its return should be put an in int for the same reason.
based on a diff from Kamil Rytarowski (n54 (at) gmx.com)
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.9 |
|
22-Mar-2014 |
lum |
If no default tag defined, still let user input a tag to find. From Sunil Nimmagadda.
|
#
1.8 |
|
20-Mar-2014 |
lum |
Add some missing dobeeps. ok florian@
|
#
1.7 |
|
06-Mar-2014 |
jasper |
add missing stdio.h include for fparseln().
from Ulrich Mueller, via Han Boetes ok florian@
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.6 |
|
20-Oct-2012 |
jasper |
- fix a potential double free
ok florian@
|
Revision tags: OPENBSD_5_2_BASE
|
#
1.5 |
|
02-Jul-2012 |
lum |
Maintain mg's Public Domain license heritage.
Sunil Nimmagadda agrees.
|
#
1.4 |
|
26-Jun-2012 |
jasper |
add missing rcs ids
|
#
1.3 |
|
07-Jun-2012 |
lum |
Add some cscope support to mg. From Sunil Nimmagadda. Due to some structural limitations in mg, mg doesn't behave exactly the same as emacs cscope (see the README) but is still very usable.
man page bits reviewed by jmc@, otherwise tested and reviewed by myself.
|
Revision tags: OPENBSD_5_1_BASE
|
#
1.2 |
|
05-Dec-2011 |
lum |
Use absolute filenames while pushing and popping off the stack.
This fixes a segv discovered by Olivier A and reported to Sunil Nimmagadda, who provided the actual fix. Tested by myself and Oliver A.
|
#
1.1 |
|
28-Nov-2011 |
lum |
Add some ctags support to mg. From Sunil Nimmagadda.
Man page review and suggestions from jmc@
Revewied and tested by myself, and ok deraadt@
|
#
1.17 |
|
28-Jan-2022 |
guenther |
When it's the possessive of 'it', it's spelled "its", without the apostrophe.
|
Revision tags: 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.16 |
|
06-Aug-2017 |
bcallah |
Present the default choice before the colon in prompts. Matches GNU Emacs behavior.
From Scott Cheloha <scottcheloha@gmail.com>
ok florian@
|
#
1.15 |
|
30-May-2017 |
florian |
fix -Wshadow warnings. Found by bcallah, thanks!
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.14 |
|
01-Sep-2016 |
sunil |
Fix possible NULL pointer dereference.
Found by Coverity Scan. The tagsvisit() function calls eread(), which may return NULL. This is then immediately passed to stat() without a proper check. This patch adds that check.
From Joachim Nilsson <troglobit@gmail.com> via lum@. Ok lum@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.13 |
|
19-Jan-2016 |
sunil |
Update my mail address.
|
#
1.12 |
|
31-Dec-2015 |
sunil |
Return FALSE on parse errors.
Found by and Ok lum@.
|
Revision tags: OPENBSD_5_8_BASE
|
#
1.11 |
|
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_7_BASE
|
#
1.10 |
|
16-Nov-2014 |
guenther |
ctype macros/functions expect unsigned char values. Note that the lgetc() macro does the cast internally like getc() does, so its return should be put an in int for the same reason.
based on a diff from Kamil Rytarowski (n54 (at) gmx.com)
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.9 |
|
22-Mar-2014 |
lum |
If no default tag defined, still let user input a tag to find. From Sunil Nimmagadda.
|
#
1.8 |
|
20-Mar-2014 |
lum |
Add some missing dobeeps. ok florian@
|
#
1.7 |
|
06-Mar-2014 |
jasper |
add missing stdio.h include for fparseln().
from Ulrich Mueller, via Han Boetes ok florian@
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.6 |
|
20-Oct-2012 |
jasper |
- fix a potential double free
ok florian@
|
Revision tags: OPENBSD_5_2_BASE
|
#
1.5 |
|
02-Jul-2012 |
lum |
Maintain mg's Public Domain license heritage.
Sunil Nimmagadda agrees.
|
#
1.4 |
|
26-Jun-2012 |
jasper |
add missing rcs ids
|
#
1.3 |
|
07-Jun-2012 |
lum |
Add some cscope support to mg. From Sunil Nimmagadda. Due to some structural limitations in mg, mg doesn't behave exactly the same as emacs cscope (see the README) but is still very usable.
man page bits reviewed by jmc@, otherwise tested and reviewed by myself.
|
Revision tags: OPENBSD_5_1_BASE
|
#
1.2 |
|
05-Dec-2011 |
lum |
Use absolute filenames while pushing and popping off the stack.
This fixes a segv discovered by Olivier A and reported to Sunil Nimmagadda, who provided the actual fix. Tested by myself and Oliver A.
|
#
1.1 |
|
28-Nov-2011 |
lum |
Add some ctags support to mg. From Sunil Nimmagadda.
Man page review and suggestions from jmc@
Revewied and tested by myself, and ok deraadt@
|
Revision tags: OPENBSD_6_2_BASE
|
#
1.16 |
|
06-Aug-2017 |
bcallah |
Present the default choice before the colon in prompts. Matches GNU Emacs behavior.
From Scott Cheloha <scottcheloha@gmail.com>
ok florian@
|
#
1.15 |
|
30-May-2017 |
florian |
fix -Wshadow warnings. Found by bcallah, thanks!
|
Revision tags: OPENBSD_6_1_BASE
|
#
1.14 |
|
01-Sep-2016 |
sunil |
Fix possible NULL pointer dereference.
Found by Coverity Scan. The tagsvisit() function calls eread(), which may return NULL. This is then immediately passed to stat() without a proper check. This patch adds that check.
From Joachim Nilsson <troglobit@gmail.com> via lum@. Ok lum@
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.13 |
|
19-Jan-2016 |
sunil |
Update my mail address.
|
#
1.12 |
|
31-Dec-2015 |
sunil |
Return FALSE on parse errors.
Found by and Ok lum@.
|
Revision tags: OPENBSD_5_8_BASE
|
#
1.11 |
|
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_7_BASE
|
#
1.10 |
|
16-Nov-2014 |
guenther |
ctype macros/functions expect unsigned char values. Note that the lgetc() macro does the cast internally like getc() does, so its return should be put an in int for the same reason.
based on a diff from Kamil Rytarowski (n54 (at) gmx.com)
|
Revision tags: OPENBSD_5_6_BASE
|
#
1.9 |
|
22-Mar-2014 |
lum |
If no default tag defined, still let user input a tag to find. From Sunil Nimmagadda.
|
#
1.8 |
|
20-Mar-2014 |
lum |
Add some missing dobeeps. ok florian@
|
#
1.7 |
|
06-Mar-2014 |
jasper |
add missing stdio.h include for fparseln().
from Ulrich Mueller, via Han Boetes ok florian@
|
Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
|
#
1.6 |
|
20-Oct-2012 |
jasper |
- fix a potential double free
ok florian@
|
Revision tags: OPENBSD_5_2_BASE
|
#
1.5 |
|
02-Jul-2012 |
lum |
Maintain mg's Public Domain license heritage.
Sunil Nimmagadda agrees.
|
#
1.4 |
|
26-Jun-2012 |
jasper |
add missing rcs ids
|
#
1.3 |
|
07-Jun-2012 |
lum |
Add some cscope support to mg. From Sunil Nimmagadda. Due to some structural limitations in mg, mg doesn't behave exactly the same as emacs cscope (see the README) but is still very usable.
man page bits reviewed by jmc@, otherwise tested and reviewed by myself.
|
Revision tags: OPENBSD_5_1_BASE
|
#
1.2 |
|
05-Dec-2011 |
lum |
Use absolute filenames while pushing and popping off the stack.
This fixes a segv discovered by Olivier A and reported to Sunil Nimmagadda, who provided the actual fix. Tested by myself and Oliver A.
|
#
1.1 |
|
28-Nov-2011 |
lum |
Add some ctags support to mg. From Sunil Nimmagadda.
Man page review and suggestions from jmc@
Revewied and tested by myself, and ok deraadt@
|