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

Log of /lbbs/src/lml.c

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 1.56 - (view) (annotate) - [select for diffs]
Wed Jan 21 07:54:50 2026 UTC (7 weeks, 6 days ago) by sysadm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.55: +4 -0 lines
Diff to previous 1.55
Skip unrecognized control sequence while not in quote mode


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


Revision 1.54 - (view) (annotate) - [select for diffs]
Fri Dec 19 14:52:34 2025 UTC (2 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53
Refine


Revision 1.53 - (view) (annotate) - [select for diffs]
Fri Dec 19 14:08:44 2025 UTC (2 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.52: +134 -64 lines
Diff to previous 1.52
Use hash_dict for tag_name search
Fix bug for over-length tag_param


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


Revision 1.51 - (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.50: +2 -2 lines
Diff to previous 1.50
Refine with log_debug()


Revision 1.50 - (view) (annotate) - [select for diffs]
Sat Nov 22 14:20:20 2025 UTC (3 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.49: +12 -5 lines
Diff to previous 1.49
Refine handling of over-length tag output in lml_render, to keep consistent with web version.


Revision 1.49 - (view) (annotate) - [select for diffs]
Sat Nov 22 10:35:51 2025 UTC (3 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.48: +18 -0 lines
Diff to previous 1.48
Fix bug: return immediately when the last char (at offset = tag_out_len - 1) of tag_out is NULL


Revision 1.48 - (view) (annotate) - [select for diffs]
Mon Nov 17 12:47:41 2025 UTC (3 months, 4 weeks ago) by sysadm
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47
Fix error reported by gcc under MSYS2


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


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


Revision 1.45 - (view) (annotate) - [select for diffs]
Thu Nov 6 13:20:24 2025 UTC (4 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.44: +22 -11 lines
Diff to previous 1.44
Fix bug in handling incomplete LML tag
Use the same implementation of handling unmatched LML tag


Revision 1.44 - (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.43: +10 -9 lines
Diff to previous 1.43
Use enum / const int instead of macro define constant integers
Use const char * instead of macro define for constant strings


Revision 1.43 - (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.42: +1 -1 lines
Diff to previous 1.42
Refine file header information comments


Revision 1.42 - (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.41: +7 -15 lines
Diff to previous 1.41
Update file header information comments


Revision 1.41 - (view) (annotate) - [select for diffs]
Sat Nov 1 07:00:27 2025 UTC (4 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.40: +14 -4 lines
Diff to previous 1.40
Fix inconsistent behavior between web / telnet version of LML()
Add time cost benchmark in test_lml


Revision 1.40 - (view) (annotate) - [select for diffs]
Fri Oct 31 07:57:02 2025 UTC (4 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.39: +9 -7 lines
Diff to previous 1.39
Fix bug in handling over-length invalid LML tag


Revision 1.39 - (view) (annotate) - [select for diffs]
Fri Oct 31 06:04:17 2025 UTC (4 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.38: +5 -0 lines
Diff to previous 1.38
Fix bug


Revision 1.38 - (view) (annotate) - [select for diffs]
Fri Oct 31 04:35:58 2025 UTC (4 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.37: +28 -2 lines
Diff to previous 1.37
Fix bug in auto-warp of over-width lines


Revision 1.37 - (view) (annotate) - [select for diffs]
Thu Oct 30 11:15:12 2025 UTC (4 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.36: +12 -4 lines
Diff to previous 1.36
Refine handling of unsupported / invalid ANSI control sequence


Revision 1.36 - (view) (annotate) - [select for diffs]
Thu Oct 30 07:51:47 2025 UTC (4 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.35: +55 -39 lines
Diff to previous 1.35
Add display width limit of output lines in lml_render().
It fixed the issue that, the quoted text line in article_reply() was wrapped by split_data_lines(),
but the new sub-lines were not added the same repeated ": " leading sequence as the original line.


Revision 1.35 - (view) (annotate) - [select for diffs]
Thu Oct 30 03:18:56 2025 UTC (4 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.34: +18 -20 lines
Diff to previous 1.34
Fix bug in handling of invalid ANSI control sequence


Revision 1.34 - (view) (annotate) - [select for diffs]
Wed Oct 29 14:45:43 2025 UTC (4 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.33: +22 -84 lines
Diff to previous 1.33
Reduce duplicate code lines with Macro definition


Revision 1.33 - (view) (annotate) - [select for diffs]
Wed Oct 29 13:45:46 2025 UTC (4 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.32: +34 -20 lines
Diff to previous 1.32
Refine and bug fix


Revision 1.32 - (view) (annotate) - [select for diffs]
Wed Oct 29 04:08:36 2025 UTC (4 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.31: +82 -85 lines
Diff to previous 1.31
Fix bug: incomplete LML with only right bracket was outputed without bracket.
E.g. "test]me" was outputed as "testme", while the expected output is "test]me"


Revision 1.31 - (view) (annotate) - [select for diffs]
Wed Oct 29 03:23:39 2025 UTC (4 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
Refine


Revision 1.30 - (view) (annotate) - [select for diffs]
Wed Oct 29 02:23:18 2025 UTC (4 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.29: +7 -6 lines
Diff to previous 1.29
Refine


Revision 1.29 - (view) (annotate) - [select for diffs]
Fri Oct 24 07:59:45 2025 UTC (4 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.28: +6 -2 lines
Diff to previous 1.28
Skip N/A tags in termial


Revision 1.28 - (view) (annotate) - [select for diffs]
Fri Oct 24 07:45:06 2025 UTC (4 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.27: +18 -2 lines
Diff to previous 1.27
Output incomplete LML tag as original at each end of line


Revision 1.27 - (view) (annotate) - [select for diffs]
Fri Oct 24 07:27:02 2025 UTC (4 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.26: +1 -0 lines
Diff to previous 1.26
Fix bug


Revision 1.26 - (view) (annotate) - [select for diffs]
Fri Oct 24 07:20:34 2025 UTC (4 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.25: +54 -37 lines
Diff to previous 1.25
Output invalid tag content as original


Revision 1.25 - (view) (annotate) - [select for diffs]
Fri Oct 24 03:57:45 2025 UTC (4 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.24: +21 -2 lines
Diff to previous 1.24
Support [lml] and [nolml] tags


Revision 1.24 - (view) (annotate) - [select for diffs]
Wed Oct 22 05:50:13 2025 UTC (4 months, 3 weeks ago) by sysadm
Branch: MAIN
Changes since 1.23: +1 -1 lines
Diff to previous 1.23
Refine handling of Guest


Revision 1.23 - (view) (annotate) - [select for diffs]
Sat Oct 18 13:22:52 2025 UTC (4 months, 4 weeks ago) by sysadm
Branch: MAIN
Changes since 1.22: +17 -9 lines
Diff to previous 1.22
Reverse meaning of LML quote_mode. It was incorrect before fix.


Revision 1.22 - (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.21: +60 -51 lines
Diff to previous 1.21
Refine code to keep compatible with gcc -Wpedantic option


Revision 1.21 - (view) (annotate) - [select for diffs]
Sun Oct 5 08:14:06 2025 UTC (5 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20
Update LML_TAG_COUNT


Revision 1.20 - (view) (annotate) - [select for diffs]
Sun Oct 5 07:38:51 2025 UTC (5 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.19: +28 -16 lines
Diff to previous 1.19
Allow disable LML with "[plain]" tag by user


Revision 1.19 - (view) (annotate) - [select for diffs]
Sun Oct 5 05:13:00 2025 UTC (5 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.18: +17 -17 lines
Diff to previous 1.18
Rename static variables


Revision 1.18 - (view) (annotate) - [select for diffs]
Sun Oct 5 05:00:50 2025 UTC (5 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
Rename lml_plain() to lml_render()


Revision 1.17 - (view) (annotate) - [select for diffs]
Fri Oct 3 11:43:16 2025 UTC (5 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.16: +7 -7 lines
Diff to previous 1.16
Replace half-width brackets with full-width brackets to fix hyperlink detection issue in CTerm


Revision 1.16 - (view) (annotate) - [select for diffs]
Fri Oct 3 09:46:28 2025 UTC (5 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.15: +7 -7 lines
Diff to previous 1.15
Refine rendering behavior of LML tags in quoted text
Keep it consistent with web version


Revision 1.15 - (view) (annotate) - [select for diffs]
Tue Sep 30 03:02:06 2025 UTC (5 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.14: +50 -35 lines
Diff to previous 1.14
Fix bug in LML render
Add lml_tag = 0 mode for quoted article content


Revision 1.14 - (view) (annotate) - [select for diffs]
Wed Jul 16 05:24:08 2025 UTC (8 months ago) by sysadm
Branch: MAIN
Changes since 1.13: +5 -4 lines
Diff to previous 1.13
Fix errors reported by gcc -Wformat-security


Revision 1.13 - (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.12: +19 -12 lines
Diff to previous 1.12
Support UTF8 instead of GBK


Revision 1.12 - (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.11: +1 -1 lines
Diff to previous 1.11
Re-order included order files


Revision 1.11 - (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.10: +0 -1 lines
Diff to previous 1.10
Remove unused header files


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


Revision 1.9 - (view) (annotate) - [select for diffs]
Sat Jun 14 10:10:28 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.8: +1 -0 lines
Diff to previous 1.8
Fix bug


Revision 1.8 - (view) (annotate) - [select for diffs]
Sat Jun 14 10:03:32 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.7: +35 -12 lines
Diff to previous 1.7
Fix bug in CSI handling


Revision 1.7 - (view) (annotate) - [select for diffs]
Sat Jun 14 02:59:34 2025 UTC (9 months ago) by sysadm
Branch: MAIN
Changes since 1.6: +1 -2 lines
Diff to previous 1.6
Auto-format


Revision 1.6 - (view) (annotate) - [select for diffs]
Tue Jun 3 03:41:19 2025 UTC (9 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.5: +5 -5 lines
Diff to previous 1.5
Fix compatible issue in Fterm


Revision 1.5 - (view) (annotate) - [select for diffs]
Tue Jun 3 02:30:18 2025 UTC (9 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.4: +81 -18 lines
Diff to previous 1.4
Support FB2000 compatible quote leading string ": "


Revision 1.4 - (view) (annotate) - [select for diffs]
Tue Jun 3 01:26:52 2025 UTC (9 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.3: +46 -1 lines
Diff to previous 1.3
Support [quote]


Revision 1.3 - (view) (annotate) - [select for diffs]
Tue Jun 3 00:57:27 2025 UTC (9 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.2: +60 -4 lines
Diff to previous 1.2
Add [color] support


Revision 1.2 - (view) (annotate) - [select for diffs]
Mon Jun 2 23:49:47 2025 UTC (9 months, 2 weeks ago) by sysadm
Branch: MAIN
Changes since 1.1: +36 -34 lines
Diff to previous 1.1
Update


Revision 1.1 - (view) (annotate) - [select for diffs]
Mon Jun 2 15:01:55 2025 UTC (9 months, 2 weeks ago) by sysadm
Branch: MAIN
Add LML render


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