/[LeafOK_CVS]/lbbs/src/editor.c
ViewVC logotype

Log of /lbbs/src/editor.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Tag:

Revision 1.65 - (view) (annotate) - [select for diffs]
Sat Jan 3 10:27:14 2026 UTC (2 months, 1 week ago) by sysadm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.64: +1 -1 lines
Diff to previous 1.64
Update copyright info


Revision 1.64 - (view) (annotate) - [select for diffs]
Fri Dec 19 06:16:26 2025 UTC (2 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.63: +30 -30 lines
Diff to previous 1.63
Append \n to the end of logging message by log_...()
Remove ending \n from each logging message


Revision 1.63 - (view) (annotate) - [select for diffs]
Thu Dec 18 10:43:48 2025 UTC (2 months, 4 weeks ago) by sysadm
Branch: MAIN
Changes since 1.62: +1 -1 lines
Diff to previous 1.62
Refine with log_debug()


Revision 1.62 - (view) (annotate) - [select for diffs]
Thu Dec 18 02:56:00 2025 UTC (2 months, 4 weeks ago) by sysadm
Branch: MAIN
Changes since 1.61: +4 -12 lines
Diff to previous 1.61
Refine with log_debug()


Revision 1.61 - (view) (annotate) - [select for diffs]
Wed Dec 17 03:47:00 2025 UTC (2 months, 4 weeks ago) by sysadm
Branch: MAIN
Changes since 1.60: +2 -0 lines
Diff to previous 1.60
Refine debug log


Revision 1.60 - (view) (annotate) - [select for diffs]
Tue Nov 11 00:28:05 2025 UTC (4 months ago) by sysadm
Branch: MAIN
Changes since 1.59: +4 -0 lines
Diff to previous 1.59
Use config.h


Revision 1.59 - (view) (annotate) - [select for diffs]
Mon Nov 10 11:54:30 2025 UTC (4 months ago) by sysadm
Branch: MAIN
Changes since 1.58: +0 -1 lines
Diff to previous 1.58
Convert \t to no more than TAB_SIZE spaces based on current line width


Revision 1.58 - (view) (annotate) - [select for diffs]
Mon Nov 10 07:23:16 2025 UTC (4 months ago) by sysadm
Branch: MAIN
Changes since 1.57: +19 -3 lines
Diff to previous 1.57
Support TAB in text editor


Revision 1.57 - (view) (annotate) - [select for diffs]
Sun Nov 9 11:18:07 2025 UTC (4 months ago) by sysadm
Branch: MAIN
Changes since 1.56: +10 -0 lines
Diff to previous 1.56
Replace \t into single space while loading data into editor


Revision 1.56 - (view) (annotate) - [select for diffs]
Sat Nov 8 12:32:16 2025 UTC (4 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.55: +62 -12 lines
Diff to previous 1.55
Optimize column position calculation for wild-character


Revision 1.55 - (view) (annotate) - [select for diffs]
Sat Nov 8 08:21:31 2025 UTC (4 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.54: +26 -22 lines
Diff to previous 1.54
Support dynamic wide-character display width in str_process and editor related functions
Add dynamic / fixed wide-character display width selection


Revision 1.54 - (view) (annotate) - [select for diffs]
Wed Nov 5 04:19:21 2025 UTC (4 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.53: +7 -3 lines
Diff to previous 1.53
Use enum / const int instead of macro define constant integers
Use const char * instead of macro define for constant strings


Revision 1.53 - (view) (annotate) - [select for diffs]
Wed Nov 5 01:04:06 2025 UTC (4 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52
Use enum instead of macro define for constants in bbs.h


Revision 1.52 - (view) (annotate) - [select for diffs]
Tue Nov 4 14:58:56 2025 UTC (4 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.51: +1 -1 lines
Diff to previous 1.51
Refine file header information comments


Revision 1.51 - (view) (annotate) - [select for diffs]
Tue Nov 4 13:49:51 2025 UTC (4 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.50: +7 -15 lines
Diff to previous 1.50
Update file header information comments


Revision 1.50 - (view) (annotate) - [select for diffs]
Sun Oct 19 07:42:53 2025 UTC (4 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.49: +2 -4 lines
Diff to previous 1.49
Add help doc of editor


Revision 1.49 - (view) (annotate) - [select for diffs]
Sun Oct 19 07:08:29 2025 UTC (4 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.48: +24 -7 lines
Diff to previous 1.48
Add feature to editor:
Ctrl-Y, delete current display line
Ctrl-K, delete current display line since the position of cursor


Revision 1.48 - (view) (annotate) - [select for diffs]
Sat Oct 18 12:06:10 2025 UTC (4 months, 4 weeks ago) by sysadm
Branch: MAIN
Changes since 1.47: +9 -9 lines
Diff to previous 1.47
Refine code to keep compatible with gcc -Wpedantic option


Revision 1.47 - (view) (annotate) - [select for diffs]
Thu Oct 16 11:26:16 2025 UTC (5 months ago) by sysadm
Branch: MAIN
Changes since 1.46: +8 -6 lines
Diff to previous 1.46
Refine logging of KEY_NULL and KEY_TIMEOUT


Revision 1.46 - (view) (annotate) - [select for diffs]
Tue Oct 14 02:39:34 2025 UTC (5 months ago) by sysadm
Branch: MAIN
Changes since 1.45: +4 -4 lines
Diff to previous 1.45
Refine log


Revision 1.45 - (view) (annotate) - [select for diffs]
Sat Oct 11 10:36:42 2025 UTC (5 months ago) by sysadm
Branch: MAIN
Changes since 1.44: +1 -1 lines
Diff to previous 1.44
Fix typo


Revision 1.44 - (view) (annotate) - [select for diffs]
Wed Oct 1 11:32:50 2025 UTC (5 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.43: +1 -0 lines
Diff to previous 1.43
Add Ctrl-Q as alias of F1 in text editor


Revision 1.43 - (view) (annotate) - [select for diffs]
Wed Oct 1 02:49:13 2025 UTC (5 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.42: +19 -0 lines
Diff to previous 1.42
Refresh user action tm periodically during editing


Revision 1.42 - (view) (annotate) - [select for diffs]
Tue Sep 30 06:05:48 2025 UTC (5 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.41: +1 -1 lines
Diff to previous 1.41
Fix bug in setting column position while change line at non-bottom line


Revision 1.41 - (view) (annotate) - [select for diffs]
Sun Sep 28 11:18:28 2025 UTC (5 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.40: +1 -0 lines
Diff to previous 1.40
Add Ctrl-X as alias of Ctrl-W in text editor


Revision 1.40 - (view) (annotate) - [select for diffs]
Sun Jul 20 02:04:21 2025 UTC (7 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.39: +2 -0 lines
Diff to previous 1.39
Logging incorrent UTF8 input only when _DEBUG is defined


Revision 1.39 - (view) (annotate) - [select for diffs]
Wed Jul 2 04:17:33 2025 UTC (8 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.38: +123 -89 lines
Diff to previous 1.38
Support UTF8 instead of GBK


Revision 1.38 - (view) (annotate) - [select for diffs]
Wed Jul 2 03:08:10 2025 UTC (8 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37
Add parameter to return line_widths in split_data_lines()


Revision 1.37 - (view) (annotate) - [select for diffs]
Tue Jul 1 08:31:11 2025 UTC (8 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36
Fix bug in splitting over-length data line


Revision 1.36 - (view) (annotate) - [select for diffs]
Sun Jun 29 01:57:15 2025 UTC (8 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.35: +4 -2 lines
Diff to previous 1.35
Fix compatibility issue with Cterm


Revision 1.35 - (view) (annotate) - [select for diffs]
Fri Jun 27 14:09:50 2025 UTC (8 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.34: +1 -2 lines
Diff to previous 1.34
Refine


Revision 1.34 - (view) (annotate) - [select for diffs]
Fri Jun 27 13:26:59 2025 UTC (8 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.33: +1 -2 lines
Diff to previous 1.33
Fix bug


Revision 1.33 - (view) (annotate) - [select for diffs]
Fri Jun 27 12:54:31 2025 UTC (8 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.32: +1 -2 lines
Diff to previous 1.32
Refine


Revision 1.32 - (view) (annotate) - [select for diffs]
Fri Jun 27 10:14:47 2025 UTC (8 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.31: +32 -12 lines
Diff to previous 1.31
Fix bug in calculating last_updated_line
Replace for-loop with memmove to improve performance


Revision 1.31 - (view) (annotate) - [select for diffs]
Sat Jun 21 02:15:18 2025 UTC (8 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30
Re-order included order files


Revision 1.30 - (view) (annotate) - [select for diffs]
Sat Jun 21 01:34:12 2025 UTC (8 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.29: +1 -2 lines
Diff to previous 1.29
Remove unused header files


Revision 1.29 - (view) (annotate) - [select for diffs]
Tue Jun 17 13:25:49 2025 UTC (8 months, 4 weeks ago) by sysadm
Branch: MAIN
Changes since 1.28: +9 -3 lines
Diff to previous 1.28
Add conditional compile flag for debugging code


Revision 1.28 - (view) (annotate) - [select for diffs]
Tue Jun 17 13:17:04 2025 UTC (8 months, 4 weeks ago) by sysadm
Branch: MAIN
Changes since 1.27: +0 -2 lines
Diff to previous 1.27
Move macro definitions to autoconf


Revision 1.27 - (view) (annotate) - [select for diffs]
Tue Jun 17 02:06:48 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26
Replace time(0) with time(NULL)


Revision 1.26 - (view) (annotate) - [select for diffs]
Mon Jun 16 14:30:44 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25
Change gcc std to c17
Update header macro accordingly


Revision 1.25 - (view) (annotate) - [select for diffs]
Mon Jun 16 05:35:05 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.24: +33 -5 lines
Diff to previous 1.24
Output only when input end or line change, to improve performance


Revision 1.24 - (view) (annotate) - [select for diffs]
Mon Jun 16 01:36:56 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.23: +10 -7 lines
Diff to previous 1.23
Fix issue of display / edit control sequence in editor


Revision 1.23 - (view) (annotate) - [select for diffs]
Sun Jun 15 13:40:52 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.22: +37 -21 lines
Diff to previous 1.22
KEY_LEFT / KEY_RIGHT will regard GBK characters as a single one
Change signature of editor_data_delete() to return acccurate offset
Fix bugs


Revision 1.22 - (view) (annotate) - [select for diffs]
Sun Jun 15 04:43:33 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.21: +19 -7 lines
Diff to previous 1.21
Fix bugs of handling cases when data lines == LIMIT


Revision 1.21 - (view) (annotate) - [select for diffs]
Sat Jun 14 11:15:46 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.20: +13 -5 lines
Diff to previous 1.20
Fix bug
Add bug check code


Revision 1.20 - (view) (annotate) - [select for diffs]
Fri Jun 13 15:50:21 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.19: +9 -2 lines
Diff to previous 1.19
Fix bug in insert into last display data line at offset MAX_EDITOR_DATA_LINES - 1


Revision 1.19 - (view) (annotate) - [select for diffs]
Fri Jun 13 13:39:46 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.18: +9 -0 lines
Diff to previous 1.18
Update


Revision 1.18 - (view) (annotate) - [select for diffs]
Fri Jun 13 11:20:24 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.17: +44 -23 lines
Diff to previous 1.17
Fix bugs in handling boundary conditions such as empty data, end line, data contains lines less than SCREENS - 1


Revision 1.17 - (view) (annotate) - [select for diffs]
Thu Jun 12 12:53:49 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16
Update


Revision 1.16 - (view) (annotate) - [select for diffs]
Thu Jun 12 10:34:21 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.15: +56 -10 lines
Diff to previous 1.15
Apply memory pool to editor


Revision 1.15 - (view) (annotate) - [select for diffs]
Thu Jun 12 04:45:57 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.14: +24 -6 lines
Diff to previous 1.14
Refine handling of over-limit lines


Revision 1.14 - (view) (annotate) - [select for diffs]
Thu Jun 12 03:16:35 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.13: +118 -121 lines
Diff to previous 1.13
Rename variables
Remove array of data_lines
Refine


Revision 1.13 - (view) (annotate) - [select for diffs]
Wed Jun 11 13:04:43 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.12: +4 -0 lines
Diff to previous 1.12
Add expanded key for editor


Revision 1.12 - (view) (annotate) - [select for diffs]
Wed Jun 11 12:56:52 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.11: +23 -6 lines
Diff to previous 1.11
Add support for ESC input and display


Revision 1.11 - (view) (annotate) - [select for diffs]
Wed Jun 11 11:55:50 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.10: +19 -4 lines
Diff to previous 1.10
Refine input loop handling to avoid unnecessary UI refresh


Revision 1.10 - (view) (annotate) - [select for diffs]
Wed Jun 11 11:01:07 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.9: +6 -4 lines
Diff to previous 1.9
Update


Revision 1.9 - (view) (annotate) - [select for diffs]
Wed Jun 11 10:44:33 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.8: +72 -11 lines
Diff to previous 1.8
Add key BACKSPACE handling


Revision 1.8 - (view) (annotate) - [select for diffs]
Wed Jun 11 08:00:51 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.7: +13 -3 lines
Diff to previous 1.7
Add Insert/Overwrite switch
Overwrite might not work as expectation


Revision 1.7 - (view) (annotate) - [select for diffs]
Wed Jun 11 07:21:59 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.6: +125 -1 lines
Diff to previous 1.6
Add editor_data_delete() (not complete)


Revision 1.6 - (view) (annotate) - [select for diffs]
Wed Jun 11 05:40:09 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.5: +27 -28 lines
Diff to previous 1.5
Add ENTER key handling


Revision 1.5 - (view) (annotate) - [select for diffs]
Wed Jun 11 04:57:19 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4
Refine


Revision 1.4 - (view) (annotate) - [select for diffs]
Wed Jun 11 04:27:48 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.3: +90 -158 lines
Diff to previous 1.3
Rewrite editor_data_insert() with simplified implementation


Revision 1.3 - (view) (annotate) - [select for diffs]
Tue Jun 10 06:48:23 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.2: +211 -146 lines
Diff to previous 1.2
Update editor_data_insert() (not complete)


Revision 1.2 - (view) (annotate) - [select for diffs]
Mon Jun 9 15:41:09 2025 UTC (9 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.1: +341 -34 lines
Diff to previous 1.1
Add editor insert handling (not complete)


Revision 1.1 - (view) (annotate) - [select for diffs]
Sun Jun 8 09:25:53 2025 UTC (9 months, 1 week ago) by sysadm
Branch: MAIN
Add framework of text editor


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1