Up to [local] / src / usr.bin / mg
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.13 / (download) - annotate - [select for diffs], Mon Dec 26 19:16:02 2022 UTC (16 months, 3 weeks ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
HEAD
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)
spelling fixes; from paul tagliamonte amendments to his diff are noted on tech
Revision 1.12 / (download) - annotate - [select for diffs], Tue Mar 2 13:06:50 2021 UTC (3 years, 2 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9
Changes since 1.11: +93 -151 lines
Diff to previous 1.11 (colored)
Update logging with comments made by florian@ some time ago (i've not updated logging to $HOME, but will do so). Also include mglog_misc() which takes formatted input from Joachim Wiberg's mg. Thankyou both.
Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 18 10:50:24 2019 UTC (4 years, 10 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6
Changes since 1.10: +83 -14 lines
Diff to previous 1.10 (colored)
Add logging to interpreter.c
Revision 1.10 / (download) - annotate - [select for diffs], Fri Jun 28 13:35:02 2019 UTC (4 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 26 16:54:29 2019 UTC (4 years, 10 months ago) by lum
Branch: MAIN
Changes since 1.8: +81 -3 lines
Diff to previous 1.8 (colored)
Add some key and map logging.
Revision 1.8 / (download) - annotate - [select for diffs], Sat Jun 22 15:38:15 2019 UTC (4 years, 10 months ago) by lum
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)
Tidy up the comments: 1. two spelling mistakes. 2. change references to keystrokes, same as man page (UP-low). 3. update a filename reference to reality.
Revision 1.7 / (download) - annotate - [select for diffs], Sat Jun 22 13:09:53 2019 UTC (4 years, 10 months ago) by lum
Branch: MAIN
Changes since 1.6: +52 -2 lines
Diff to previous 1.6 (colored)
Log window pointer and other window data to a file.
Revision 1.6 / (download) - annotate - [select for diffs], Fri Jun 14 14:27:42 2019 UTC (4 years, 11 months ago) by lum
Branch: MAIN
Changes since 1.5: +16 -1 lines
Diff to previous 1.5 (colored)
Note a segv with fprintf if a file with long lines is loaded with debug code running.
Revision 1.5 / (download) - annotate - [select for diffs], Wed Jun 12 18:21:07 2019 UTC (4 years, 11 months ago) by lum
Branch: MAIN
Changes since 1.4: +16 -5 lines
Diff to previous 1.4 (colored)
The output of line info in the line.log file now contains the character the cursor is over. This corresponds to the 'a' character before the '|' character below: >0x78898a94340 b^0x7889632b320 f.0x7889632b340 3 3 a|abc Previously it would not have been shown: >0x78898a94340 b^0x7889632b320 f.0x7889632b340 3 3 |abc Also, a fake new-line character is shown with '-' before the '|' char. >0x78898a94340 b^0x7889632b320 f.0x7889632b340 3 3 -|
Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 12 06:01:26 2019 UTC (4 years, 11 months ago) by lum
Branch: MAIN
Changes since 1.3: +11 -1 lines
Diff to previous 1.3 (colored)
A note about log.c.
Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 10 18:55:15 2019 UTC (4 years, 11 months ago) by lum
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)
Fix not checking correct fprintf return value.
Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 10 16:48:59 2019 UTC (4 years, 11 months ago) by lum
Branch: MAIN
Changes since 1.1: +124 -18 lines
Diff to previous 1.1 (colored)
Add 'undo' logging (same output as undo-list command). Also, add 'undo' data to a separate file from line logging.
Revision 1.1 / (download) - annotate - [select for diffs], Mon Jun 10 06:52:44 2019 UTC (4 years, 11 months ago) by lum
Branch: MAIN
Allow mg to log its internal status to a file. At the moment it only logs line information like front and back pointers in the linked list, how many characters are used and where the cursor is placed in the file. With this diff logging is not switched on by default and has to compiled into mg. -DMGLOG has to be added to the Makefile: CFLAGS+=-Wall -DREGEX -DMGLOG And the comment character removed from: #SRCS+= log.c ok bcallah@