System.Data.SQLite

Check-in [fcc756f8d0]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Minor simplification to the previous check-in. Also, correct a comment.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | vtabDocComments
Files: files | file ages | folders
SHA1: fcc756f8d0d80e9e817e9d65a4fee9883362513f
User & Date: mistachkin 2015-10-18 20:11:24.752
Context
2015-10-18
20:28
Update and improve documentation comments for the native virtual table methods. check-in: 2c6bdf20ea user: mistachkin tags: trunk
20:11
Minor simplification to the previous check-in. Also, correct a comment. Closed-Leaf check-in: fcc756f8d0 user: mistachkin tags: vtabDocComments
20:07
Preserve selected HTML tags when processing the virtual table methods documentation into the CHM file. check-in: 42512a2bfb user: mistachkin tags: vtabDocComments
Changes
Side-by-Side Diff Ignore Whitespace Patch
Changes to Doc/buildChm.tcl.
64
65
66
67
68
69
70
71

72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98

99
100
101
102
103
104
105
64
65
66
67
68
69
70

71






72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91

92
93
94
95
96
97
98
99







-
+
-
-
-
-
-
-




















-
+







  # NOTE: If requested by the caller, unwrap all content contained with XML
  #       CDATA sections as well.
  #
  if {$cdata} then {
    #
    # NOTE: Grab everything within the CDATA tags and use verbatim.
    #
    set cdataCount [regsub -all -- {<![CDATA[(.*?)]]>} $data {\1} data]
    incr count [regsub -all -- {<![CDATA[(.*?)]]>} $data {\1} data]

    if {$cdataCount > 0} then {
      incr count $cdataCount
    } else {
      # puts stdout "*WARNING* File \"$fileName\" has no CDATA"
    }
  }

  #
  # TODO: Handle all the HTML tags we know may be present in the virtual
  #       table method documentation.  This may need adjustments in the
  #       future.
  #
  foreach to [list \
      {<b>} {</b>} {<br>} {<dd>} {</dd>} {<dl>} {</dl>} {<dt>} \
      {</dt>} {<li>} {</li>} {<ol>} {</ol>} {<tt>} {</tt>} \
      {<ul>} {</ul>}] {
    #
    # NOTE: Figure out the escaped form of this tag and then replace it
    #       with the unescaped form.
    #
    set from [string map [list < &lt\; > &gt\;] $to]
    incr count [regsub -all -- $from $data $to data]
  }

  #
  # NOTE: Issue a warning if the "href" pattern was not matched.
  # NOTE: Issue a warning if the HTML tag patterns were not matched.
  #
  if {$count == 0} then {
    puts stdout "*WARNING* File \"$fileName\" has no supported HTML tags"
  }

  #
  # NOTE: If some replacements were performed on the data from the file,