System.Data.SQLite
Check-in [fcc756f8d0]
Not logged in

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 | SQL archive
Timelines: family | ancestors | descendants | both | vtabDocComments
Files: files | file ages | folders
SHA1: fcc756f8d0d80e9e817e9d65a4fee9883362513f
User & Date: mistachkin 2015-10-18 20:11:24
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
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Doc/buildChm.tcl.

    64     64     # NOTE: If requested by the caller, unwrap all content contained with XML
    65     65     #       CDATA sections as well.
    66     66     #
    67     67     if {$cdata} then {
    68     68       #
    69     69       # NOTE: Grab everything within the CDATA tags and use verbatim.
    70     70       #
    71         -    set cdataCount [regsub -all -- {<![CDATA[(.*?)]]>} $data {\1} data]
    72         -
    73         -    if {$cdataCount > 0} then {
    74         -      incr count $cdataCount
    75         -    } else {
    76         -      # puts stdout "*WARNING* File \"$fileName\" has no CDATA"
    77         -    }
           71  +    incr count [regsub -all -- {<![CDATA[(.*?)]]>} $data {\1} data]
    78     72     }
    79     73   
    80     74     #
    81     75     # TODO: Handle all the HTML tags we know may be present in the virtual
    82     76     #       table method documentation.  This may need adjustments in the
    83     77     #       future.
    84     78     #
................................................................................
    91     85       #       with the unescaped form.
    92     86       #
    93     87       set from [string map [list < &lt\; > &gt\;] $to]
    94     88       incr count [regsub -all -- $from $data $to data]
    95     89     }
    96     90   
    97     91     #
    98         -  # NOTE: Issue a warning if the "href" pattern was not matched.
           92  +  # NOTE: Issue a warning if the HTML tag patterns were not matched.
    99     93     #
   100     94     if {$count == 0} then {
   101     95       puts stdout "*WARNING* File \"$fileName\" has no supported HTML tags"
   102     96     }
   103     97   
   104     98     #
   105     99     # NOTE: If some replacements were performed on the data from the file,