Fossil SCM

Fix harmless typos reported by [forum:/forumpost/15f7327318|forum post 15f7327318].

drh 2022-11-16 20:05 trunk
Commit f3adbd88740a28ee255880069791ae949f9075f697e04010de1e214a6b986faa
--- compat/zlib/contrib/inflate86/inffast.S
+++ compat/zlib/contrib/inflate86/inffast.S
@@ -41,11 +41,11 @@
4141
* MMX mode because many of it's x86 ALU instructions execute in .5 cycles and
4242
* have less latency than MMX ops. Added code to buffer the last 11 bytes of
4343
* the input stream since the MMX code grabs bits in chunks of 32, which
4444
* differs from the inffast.c algorithm. I don't think there would have been
4545
* read overruns where a page boundary was crossed (a segfault), but there
46
- * could have been overruns when next_in ends on unaligned memory (unintialized
46
+ * could have been overruns when next_in ends on unaligned memory (uninitialized
4747
* memory read).
4848
*
4949
* Mar-13-2003 -- P4 MMX is slightly slower than P4 NO_MMX. I created a C
5050
* version of the non-MMX code so that it doesn't depend on zstrm and zstate
5151
* structure offsets which are hard coded in this file. This was last tested
5252
--- compat/zlib/contrib/inflate86/inffast.S
+++ compat/zlib/contrib/inflate86/inffast.S
@@ -41,11 +41,11 @@
41 * MMX mode because many of it's x86 ALU instructions execute in .5 cycles and
42 * have less latency than MMX ops. Added code to buffer the last 11 bytes of
43 * the input stream since the MMX code grabs bits in chunks of 32, which
44 * differs from the inffast.c algorithm. I don't think there would have been
45 * read overruns where a page boundary was crossed (a segfault), but there
46 * could have been overruns when next_in ends on unaligned memory (unintialized
47 * memory read).
48 *
49 * Mar-13-2003 -- P4 MMX is slightly slower than P4 NO_MMX. I created a C
50 * version of the non-MMX code so that it doesn't depend on zstrm and zstate
51 * structure offsets which are hard coded in this file. This was last tested
52
--- compat/zlib/contrib/inflate86/inffast.S
+++ compat/zlib/contrib/inflate86/inffast.S
@@ -41,11 +41,11 @@
41 * MMX mode because many of it's x86 ALU instructions execute in .5 cycles and
42 * have less latency than MMX ops. Added code to buffer the last 11 bytes of
43 * the input stream since the MMX code grabs bits in chunks of 32, which
44 * differs from the inffast.c algorithm. I don't think there would have been
45 * read overruns where a page boundary was crossed (a segfault), but there
46 * could have been overruns when next_in ends on unaligned memory (uninitialized
47 * memory read).
48 *
49 * Mar-13-2003 -- P4 MMX is slightly slower than P4 NO_MMX. I created a C
50 * version of the non-MMX code so that it doesn't depend on zstrm and zstate
51 * structure offsets which are hard coded in this file. This was last tested
52
--- extsrc/sqlite3.c
+++ extsrc/sqlite3.c
@@ -452,11 +452,11 @@
452452
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
453453
** [sqlite_version()] and [sqlite_source_id()].
454454
*/
455455
#define SQLITE_VERSION "3.40.0"
456456
#define SQLITE_VERSION_NUMBER 3040000
457
-#define SQLITE_SOURCE_ID "2022-11-16 12:10:08 89c459e766ea7e9165d0beeb124708b955a4950d0f4792f457465d71b158d318"
457
+#define SQLITE_SOURCE_ID "2022-11-16 19:57:21 5689f0d9ad1be532b274508938b25ff0d63027b8cc31f796dfaa2cca71d53642"
458458
459459
/*
460460
** CAPI3REF: Run-Time Library Version Numbers
461461
** KEYWORDS: sqlite3_version sqlite3_sourceid
462462
**
@@ -15527,11 +15527,11 @@
1552715527
** to prefetch content from remote machines - to provide those
1552815528
** implementations with limits on what needs to be prefetched and thereby
1552915529
** reduce network bandwidth.
1553015530
**
1553115531
** Note that BTREE_HINT_FLAGS with BTREE_BULKLOAD is the only hint used by
15532
-** standard SQLite. The other hints are provided for extentions that use
15532
+** standard SQLite. The other hints are provided for extensions that use
1553315533
** the SQLite parser and code generator but substitute their own storage
1553415534
** engine.
1553515535
*/
1553615536
#define BTREE_HINT_RANGE 0 /* Range constraints on queries */
1553715537
@@ -136717,12 +136717,12 @@
136717136717
** value stored as part of the in-memory schema representation,
136718136718
** set Parse.rc to SQLITE_SCHEMA. */
136719136719
sqlite3BtreeGetMeta(pBt, BTREE_SCHEMA_VERSION, (u32 *)&cookie);
136720136720
assert( sqlite3SchemaMutexHeld(db, iDb, 0) );
136721136721
if( cookie!=db->aDb[iDb].pSchema->schema_cookie ){
136722
+ if( DbHasProperty(db, iDb, DB_SchemaLoaded) ) pParse->rc = SQLITE_SCHEMA;
136722136723
sqlite3ResetOneSchema(db, iDb);
136723
- pParse->rc = SQLITE_SCHEMA;
136724136724
}
136725136725
136726136726
/* Close the transaction, if one was opened. */
136727136727
if( openedTransaction ){
136728136728
sqlite3BtreeCommit(pBt);
136729136729
--- extsrc/sqlite3.c
+++ extsrc/sqlite3.c
@@ -452,11 +452,11 @@
452 ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
453 ** [sqlite_version()] and [sqlite_source_id()].
454 */
455 #define SQLITE_VERSION "3.40.0"
456 #define SQLITE_VERSION_NUMBER 3040000
457 #define SQLITE_SOURCE_ID "2022-11-16 12:10:08 89c459e766ea7e9165d0beeb124708b955a4950d0f4792f457465d71b158d318"
458
459 /*
460 ** CAPI3REF: Run-Time Library Version Numbers
461 ** KEYWORDS: sqlite3_version sqlite3_sourceid
462 **
@@ -15527,11 +15527,11 @@
15527 ** to prefetch content from remote machines - to provide those
15528 ** implementations with limits on what needs to be prefetched and thereby
15529 ** reduce network bandwidth.
15530 **
15531 ** Note that BTREE_HINT_FLAGS with BTREE_BULKLOAD is the only hint used by
15532 ** standard SQLite. The other hints are provided for extentions that use
15533 ** the SQLite parser and code generator but substitute their own storage
15534 ** engine.
15535 */
15536 #define BTREE_HINT_RANGE 0 /* Range constraints on queries */
15537
@@ -136717,12 +136717,12 @@
136717 ** value stored as part of the in-memory schema representation,
136718 ** set Parse.rc to SQLITE_SCHEMA. */
136719 sqlite3BtreeGetMeta(pBt, BTREE_SCHEMA_VERSION, (u32 *)&cookie);
136720 assert( sqlite3SchemaMutexHeld(db, iDb, 0) );
136721 if( cookie!=db->aDb[iDb].pSchema->schema_cookie ){
 
136722 sqlite3ResetOneSchema(db, iDb);
136723 pParse->rc = SQLITE_SCHEMA;
136724 }
136725
136726 /* Close the transaction, if one was opened. */
136727 if( openedTransaction ){
136728 sqlite3BtreeCommit(pBt);
136729
--- extsrc/sqlite3.c
+++ extsrc/sqlite3.c
@@ -452,11 +452,11 @@
452 ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
453 ** [sqlite_version()] and [sqlite_source_id()].
454 */
455 #define SQLITE_VERSION "3.40.0"
456 #define SQLITE_VERSION_NUMBER 3040000
457 #define SQLITE_SOURCE_ID "2022-11-16 19:57:21 5689f0d9ad1be532b274508938b25ff0d63027b8cc31f796dfaa2cca71d53642"
458
459 /*
460 ** CAPI3REF: Run-Time Library Version Numbers
461 ** KEYWORDS: sqlite3_version sqlite3_sourceid
462 **
@@ -15527,11 +15527,11 @@
15527 ** to prefetch content from remote machines - to provide those
15528 ** implementations with limits on what needs to be prefetched and thereby
15529 ** reduce network bandwidth.
15530 **
15531 ** Note that BTREE_HINT_FLAGS with BTREE_BULKLOAD is the only hint used by
15532 ** standard SQLite. The other hints are provided for extensions that use
15533 ** the SQLite parser and code generator but substitute their own storage
15534 ** engine.
15535 */
15536 #define BTREE_HINT_RANGE 0 /* Range constraints on queries */
15537
@@ -136717,12 +136717,12 @@
136717 ** value stored as part of the in-memory schema representation,
136718 ** set Parse.rc to SQLITE_SCHEMA. */
136719 sqlite3BtreeGetMeta(pBt, BTREE_SCHEMA_VERSION, (u32 *)&cookie);
136720 assert( sqlite3SchemaMutexHeld(db, iDb, 0) );
136721 if( cookie!=db->aDb[iDb].pSchema->schema_cookie ){
136722 if( DbHasProperty(db, iDb, DB_SchemaLoaded) ) pParse->rc = SQLITE_SCHEMA;
136723 sqlite3ResetOneSchema(db, iDb);
 
136724 }
136725
136726 /* Close the transaction, if one was opened. */
136727 if( openedTransaction ){
136728 sqlite3BtreeCommit(pBt);
136729
--- extsrc/sqlite3.h
+++ extsrc/sqlite3.h
@@ -146,11 +146,11 @@
146146
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
147147
** [sqlite_version()] and [sqlite_source_id()].
148148
*/
149149
#define SQLITE_VERSION "3.40.0"
150150
#define SQLITE_VERSION_NUMBER 3040000
151
-#define SQLITE_SOURCE_ID "2022-11-16 12:10:08 89c459e766ea7e9165d0beeb124708b955a4950d0f4792f457465d71b158d318"
151
+#define SQLITE_SOURCE_ID "2022-11-16 19:57:21 5689f0d9ad1be532b274508938b25ff0d63027b8cc31f796dfaa2cca71d53642"
152152
153153
/*
154154
** CAPI3REF: Run-Time Library Version Numbers
155155
** KEYWORDS: sqlite3_version sqlite3_sourceid
156156
**
157157
--- extsrc/sqlite3.h
+++ extsrc/sqlite3.h
@@ -146,11 +146,11 @@
146 ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
147 ** [sqlite_version()] and [sqlite_source_id()].
148 */
149 #define SQLITE_VERSION "3.40.0"
150 #define SQLITE_VERSION_NUMBER 3040000
151 #define SQLITE_SOURCE_ID "2022-11-16 12:10:08 89c459e766ea7e9165d0beeb124708b955a4950d0f4792f457465d71b158d318"
152
153 /*
154 ** CAPI3REF: Run-Time Library Version Numbers
155 ** KEYWORDS: sqlite3_version sqlite3_sourceid
156 **
157
--- extsrc/sqlite3.h
+++ extsrc/sqlite3.h
@@ -146,11 +146,11 @@
146 ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
147 ** [sqlite_version()] and [sqlite_source_id()].
148 */
149 #define SQLITE_VERSION "3.40.0"
150 #define SQLITE_VERSION_NUMBER 3040000
151 #define SQLITE_SOURCE_ID "2022-11-16 19:57:21 5689f0d9ad1be532b274508938b25ff0d63027b8cc31f796dfaa2cca71d53642"
152
153 /*
154 ** CAPI3REF: Run-Time Library Version Numbers
155 ** KEYWORDS: sqlite3_version sqlite3_sourceid
156 **
157
+6 -3
--- src/db.c
+++ src/db.c
@@ -2838,12 +2838,14 @@
28382838
** Options:
28392839
** --template FILE Copy settings from repository file
28402840
** -A|--admin-user USERNAME Select given USERNAME as admin user
28412841
** --date-override DATETIME Use DATETIME as time of the initial check-in
28422842
** --sha1 Use an initial hash policy of "sha1"
2843
-** --project-name STRING The name of the project "project name in quotes"
2844
-** --project-desc STRING The descritption of the project "project description in quotes"
2843
+** --project-name STRING The name of the project "project name in
2844
+** quotes"
2845
+** --project-desc STRING The description of the project "project
2846
+** description in quotes"
28452847
**
28462848
** DATETIME may be "now" or "YYYY-MM-DDTHH:MM:SS.SSS". If in
28472849
** year-month-day form, it may be truncated, the "T" may be replaced by
28482850
** a space, and it may also name a timezone offset from UTC as "-HH:MM"
28492851
** (westward) or "+HH:MM" (eastward). Either no timezone suffix or "Z"
@@ -2855,11 +2857,12 @@
28552857
char *zPassword;
28562858
const char *zTemplate; /* Repository from which to copy settings */
28572859
const char *zDate; /* Date of the initial check-in */
28582860
const char *zDefaultUser; /* Optional name of the default user */
28592861
const char *zProjectName; /* Optional project name of the repo */
2860
- const char *zProjectDesc; /* Optional project description "description of project in quotes" */
2862
+ const char *zProjectDesc; /* Optional project description "description
2863
+ ** of project in quotes" */
28612864
int bUseSha1 = 0; /* True to set the hash-policy to sha1 */
28622865
28632866
28642867
zTemplate = find_option("template",0,1);
28652868
zDate = find_option("date-override",0,1);
28662869
--- src/db.c
+++ src/db.c
@@ -2838,12 +2838,14 @@
2838 ** Options:
2839 ** --template FILE Copy settings from repository file
2840 ** -A|--admin-user USERNAME Select given USERNAME as admin user
2841 ** --date-override DATETIME Use DATETIME as time of the initial check-in
2842 ** --sha1 Use an initial hash policy of "sha1"
2843 ** --project-name STRING The name of the project "project name in quotes"
2844 ** --project-desc STRING The descritption of the project "project description in quotes"
 
 
2845 **
2846 ** DATETIME may be "now" or "YYYY-MM-DDTHH:MM:SS.SSS". If in
2847 ** year-month-day form, it may be truncated, the "T" may be replaced by
2848 ** a space, and it may also name a timezone offset from UTC as "-HH:MM"
2849 ** (westward) or "+HH:MM" (eastward). Either no timezone suffix or "Z"
@@ -2855,11 +2857,12 @@
2855 char *zPassword;
2856 const char *zTemplate; /* Repository from which to copy settings */
2857 const char *zDate; /* Date of the initial check-in */
2858 const char *zDefaultUser; /* Optional name of the default user */
2859 const char *zProjectName; /* Optional project name of the repo */
2860 const char *zProjectDesc; /* Optional project description "description of project in quotes" */
 
2861 int bUseSha1 = 0; /* True to set the hash-policy to sha1 */
2862
2863
2864 zTemplate = find_option("template",0,1);
2865 zDate = find_option("date-override",0,1);
2866
--- src/db.c
+++ src/db.c
@@ -2838,12 +2838,14 @@
2838 ** Options:
2839 ** --template FILE Copy settings from repository file
2840 ** -A|--admin-user USERNAME Select given USERNAME as admin user
2841 ** --date-override DATETIME Use DATETIME as time of the initial check-in
2842 ** --sha1 Use an initial hash policy of "sha1"
2843 ** --project-name STRING The name of the project "project name in
2844 ** quotes"
2845 ** --project-desc STRING The description of the project "project
2846 ** description in quotes"
2847 **
2848 ** DATETIME may be "now" or "YYYY-MM-DDTHH:MM:SS.SSS". If in
2849 ** year-month-day form, it may be truncated, the "T" may be replaced by
2850 ** a space, and it may also name a timezone offset from UTC as "-HH:MM"
2851 ** (westward) or "+HH:MM" (eastward). Either no timezone suffix or "Z"
@@ -2855,11 +2857,12 @@
2857 char *zPassword;
2858 const char *zTemplate; /* Repository from which to copy settings */
2859 const char *zDate; /* Date of the initial check-in */
2860 const char *zDefaultUser; /* Optional name of the default user */
2861 const char *zProjectName; /* Optional project name of the repo */
2862 const char *zProjectDesc; /* Optional project description "description
2863 ** of project in quotes" */
2864 int bUseSha1 = 0; /* True to set the hash-policy to sha1 */
2865
2866
2867 zTemplate = find_option("template",0,1);
2868 zDate = find_option("date-override",0,1);
2869
+1 -1
--- src/default.css
+++ src/default.css
@@ -1567,11 +1567,11 @@
15671567
pre.pikchr-src {/*source code view for a pikchr (see fossil.pikchr.js)*/
15681568
box-sizing: border-box;
15691569
text-align: left;
15701570
}
15711571
/* The .source-inline class tells the .source class that the
1572
- source view, when enbaled, should be "inline" (same position
1572
+ source view, when enabled, should be "inline" (same position
15731573
as the graphic), else the sources are shifted to the left as
15741574
if they were "plain text". */
15751575
div.pikchr-wrapper.center:not(.source),
15761576
div.pikchr-wrapper.center.source.source-inline{
15771577
text-align: center;
15781578
--- src/default.css
+++ src/default.css
@@ -1567,11 +1567,11 @@
1567 pre.pikchr-src {/*source code view for a pikchr (see fossil.pikchr.js)*/
1568 box-sizing: border-box;
1569 text-align: left;
1570 }
1571 /* The .source-inline class tells the .source class that the
1572 source view, when enbaled, should be "inline" (same position
1573 as the graphic), else the sources are shifted to the left as
1574 if they were "plain text". */
1575 div.pikchr-wrapper.center:not(.source),
1576 div.pikchr-wrapper.center.source.source-inline{
1577 text-align: center;
1578
--- src/default.css
+++ src/default.css
@@ -1567,11 +1567,11 @@
1567 pre.pikchr-src {/*source code view for a pikchr (see fossil.pikchr.js)*/
1568 box-sizing: border-box;
1569 text-align: left;
1570 }
1571 /* The .source-inline class tells the .source class that the
1572 source view, when enabled, should be "inline" (same position
1573 as the graphic), else the sources are shifted to the left as
1574 if they were "plain text". */
1575 div.pikchr-wrapper.center:not(.source),
1576 div.pikchr-wrapper.center.source.source-inline{
1577 text-align: center;
1578
+1 -1
--- src/fileedit.c
+++ src/fileedit.c
@@ -1995,11 +1995,11 @@
19951995
"storage", "popupwidget", "copybutton",
19961996
"pikchr", NULL);
19971997
/*
19981998
** Set up a JS-side mapping of the AJAX_RENDER_xyz values. This is
19991999
** used for dynamically toggling certain UI components on and off.
2000
- ** Must come after window.fossil has been intialized and before
2000
+ ** Must come after window.fossil has been initialized and before
20012001
** fossil.page.fileedit.js. Potential TODO: move this into the
20022002
** window.fossil bootstrapping so that we don't have to "fulfill"
20032003
** the JS multiple times.
20042004
*/
20052005
ajax_emit_js_preview_modes(1);
20062006
--- src/fileedit.c
+++ src/fileedit.c
@@ -1995,11 +1995,11 @@
1995 "storage", "popupwidget", "copybutton",
1996 "pikchr", NULL);
1997 /*
1998 ** Set up a JS-side mapping of the AJAX_RENDER_xyz values. This is
1999 ** used for dynamically toggling certain UI components on and off.
2000 ** Must come after window.fossil has been intialized and before
2001 ** fossil.page.fileedit.js. Potential TODO: move this into the
2002 ** window.fossil bootstrapping so that we don't have to "fulfill"
2003 ** the JS multiple times.
2004 */
2005 ajax_emit_js_preview_modes(1);
2006
--- src/fileedit.c
+++ src/fileedit.c
@@ -1995,11 +1995,11 @@
1995 "storage", "popupwidget", "copybutton",
1996 "pikchr", NULL);
1997 /*
1998 ** Set up a JS-side mapping of the AJAX_RENDER_xyz values. This is
1999 ** used for dynamically toggling certain UI components on and off.
2000 ** Must come after window.fossil has been initialized and before
2001 ** fossil.page.fileedit.js. Potential TODO: move this into the
2002 ** window.fossil bootstrapping so that we don't have to "fulfill"
2003 ** the JS multiple times.
2004 */
2005 ajax_emit_js_preview_modes(1);
2006
--- src/fossil.page.chat.js
+++ src/fossil.page.chat.js
@@ -382,11 +382,11 @@
382382
addListener: function(setting, f){
383383
F.page.addEventListener('chat-setting', function(ev){
384384
if(ev.detail.key===setting) f(ev.detail);
385385
}, false);
386386
},
387
- /* Default values of settings. These are used for intializing
387
+ /* Default values of settings. These are used for initializing
388388
the setting event listeners and config view UI. */
389389
defaults:{
390390
/* When on, inbound images are displayed inlined, else as a
391391
link to download the image. */
392392
"images-inline": !!F.config.chat.imagesInline,
393393
--- src/fossil.page.chat.js
+++ src/fossil.page.chat.js
@@ -382,11 +382,11 @@
382 addListener: function(setting, f){
383 F.page.addEventListener('chat-setting', function(ev){
384 if(ev.detail.key===setting) f(ev.detail);
385 }, false);
386 },
387 /* Default values of settings. These are used for intializing
388 the setting event listeners and config view UI. */
389 defaults:{
390 /* When on, inbound images are displayed inlined, else as a
391 link to download the image. */
392 "images-inline": !!F.config.chat.imagesInline,
393
--- src/fossil.page.chat.js
+++ src/fossil.page.chat.js
@@ -382,11 +382,11 @@
382 addListener: function(setting, f){
383 F.page.addEventListener('chat-setting', function(ev){
384 if(ev.detail.key===setting) f(ev.detail);
385 }, false);
386 },
387 /* Default values of settings. These are used for initializing
388 the setting event listeners and config view UI. */
389 defaults:{
390 /* When on, inbound images are displayed inlined, else as a
391 link to download the image. */
392 "images-inline": !!F.config.chat.imagesInline,
393
+1 -1
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -915,11 +915,11 @@
915915
** scrub ?--force? Remove all SSL configuration data from the
916916
** repository. Use --force to omit the
917917
** confirmation.
918918
**
919919
** show ?-v? Show the TLS configuration. Add -v to see
920
-** additional explaination
920
+** additional explanation
921921
*/
922922
void test_tlsconfig_info(void){
923923
const char *zCmd;
924924
size_t nCmd;
925925
int nHit = 0;
926926
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -915,11 +915,11 @@
915 ** scrub ?--force? Remove all SSL configuration data from the
916 ** repository. Use --force to omit the
917 ** confirmation.
918 **
919 ** show ?-v? Show the TLS configuration. Add -v to see
920 ** additional explaination
921 */
922 void test_tlsconfig_info(void){
923 const char *zCmd;
924 size_t nCmd;
925 int nHit = 0;
926
--- src/http_ssl.c
+++ src/http_ssl.c
@@ -915,11 +915,11 @@
915 ** scrub ?--force? Remove all SSL configuration data from the
916 ** repository. Use --force to omit the
917 ** confirmation.
918 **
919 ** show ?-v? Show the TLS configuration. Add -v to see
920 ** additional explanation
921 */
922 void test_tlsconfig_info(void){
923 const char *zCmd;
924 size_t nCmd;
925 int nHit = 0;
926
+1 -1
--- src/markdown.md
+++ src/markdown.md
@@ -155,11 +155,11 @@
155155
~~~
156156
157157
<a id="ftnts"></a>
158158
## Footnotes ##
159159
160
-> Footnotes (or "endnotes") is a Fossil's extention of classical Markdown.
160
+> Footnotes (or "endnotes") is a Fossil extension of classical Markdown.
161161
> Fossil's syntax for footnotes is similar to links and
162162
> is distinguished by the use of character **^**
163163
> that *immediately* follows an opening bracket.
164164
165165
> 1. **\(^** footnote's text **)**
166166
--- src/markdown.md
+++ src/markdown.md
@@ -155,11 +155,11 @@
155 ~~~
156
157 <a id="ftnts"></a>
158 ## Footnotes ##
159
160 > Footnotes (or "endnotes") is a Fossil's extention of classical Markdown.
161 > Fossil's syntax for footnotes is similar to links and
162 > is distinguished by the use of character **^**
163 > that *immediately* follows an opening bracket.
164
165 > 1. **\(^** footnote's text **)**
166
--- src/markdown.md
+++ src/markdown.md
@@ -155,11 +155,11 @@
155 ~~~
156
157 <a id="ftnts"></a>
158 ## Footnotes ##
159
160 > Footnotes (or "endnotes") is a Fossil extension of classical Markdown.
161 > Fossil's syntax for footnotes is similar to links and
162 > is distinguished by the use of character **^**
163 > that *immediately* follows an opening bracket.
164
165 > 1. **\(^** footnote's text **)**
166
--- src/pikchrshow.c
+++ src/pikchrshow.c
@@ -426,11 +426,11 @@
426426
CX("<figure id='module-spinner'>");
427427
CX("<div class='spinner'></div>");
428428
CX("<div class='center'><strong>Initializing app...</strong></div>");
429429
CX("<div class='center'>");
430430
CX("On a slow internet connection this may take a moment. If this ");
431
- CX("message displays for \"a long time\", intialization may have ");
431
+ CX("message displays for \"a long time\", initialization may have ");
432432
CX("failed and the JavaScript console may contain clues as to why. ");
433433
CX("</div>");
434434
CX("<div><a href='?legacy'>Switch to legacy mode</a></div>");
435435
CX("</figure>");
436436
CX("<div class='emscripten' id='module-status'>Downloading...</div>");
437437
--- src/pikchrshow.c
+++ src/pikchrshow.c
@@ -426,11 +426,11 @@
426 CX("<figure id='module-spinner'>");
427 CX("<div class='spinner'></div>");
428 CX("<div class='center'><strong>Initializing app...</strong></div>");
429 CX("<div class='center'>");
430 CX("On a slow internet connection this may take a moment. If this ");
431 CX("message displays for \"a long time\", intialization may have ");
432 CX("failed and the JavaScript console may contain clues as to why. ");
433 CX("</div>");
434 CX("<div><a href='?legacy'>Switch to legacy mode</a></div>");
435 CX("</figure>");
436 CX("<div class='emscripten' id='module-status'>Downloading...</div>");
437
--- src/pikchrshow.c
+++ src/pikchrshow.c
@@ -426,11 +426,11 @@
426 CX("<figure id='module-spinner'>");
427 CX("<div class='spinner'></div>");
428 CX("<div class='center'><strong>Initializing app...</strong></div>");
429 CX("<div class='center'>");
430 CX("On a slow internet connection this may take a moment. If this ");
431 CX("message displays for \"a long time\", initialization may have ");
432 CX("failed and the JavaScript console may contain clues as to why. ");
433 CX("</div>");
434 CX("<div><a href='?legacy'>Switch to legacy mode</a></div>");
435 CX("</figure>");
436 CX("<div class='emscripten' id='module-status'>Downloading...</div>");
437
--- src/style.pikchrshow.css
+++ src/style.pikchrshow.css
@@ -1,7 +1,7 @@
11
/* CSS for the WASM /pikchrshow app. */
2
-/* emcscript-related styling, used during the module load/intialization processes... */
2
+/* emcscript-related styling, used during the module load/initialization processes... */
33
.emscripten { padding-right: 0; margin-left: auto; margin-right: auto; display: block; }
44
div.emscripten { text-align: center; }
55
div.emscripten_border { border: 1px solid black; }
66
#module-spinner { overflow: visible; }
77
#module-spinner > * {
88
--- src/style.pikchrshow.css
+++ src/style.pikchrshow.css
@@ -1,7 +1,7 @@
1 /* CSS for the WASM /pikchrshow app. */
2 /* emcscript-related styling, used during the module load/intialization processes... */
3 .emscripten { padding-right: 0; margin-left: auto; margin-right: auto; display: block; }
4 div.emscripten { text-align: center; }
5 div.emscripten_border { border: 1px solid black; }
6 #module-spinner { overflow: visible; }
7 #module-spinner > * {
8
--- src/style.pikchrshow.css
+++ src/style.pikchrshow.css
@@ -1,7 +1,7 @@
1 /* CSS for the WASM /pikchrshow app. */
2 /* emcscript-related styling, used during the module load/initialization processes... */
3 .emscripten { padding-right: 0; margin-left: auto; margin-right: auto; display: block; }
4 div.emscripten { text-align: center; }
5 div.emscripten_border { border: 1px solid black; }
6 #module-spinner { overflow: visible; }
7 #module-spinner > * {
8
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -1927,11 +1927,11 @@
19271927
if( bFnLint && (g.ftntsIssues[0] || g.ftntsIssues[1]
19281928
|| g.ftntsIssues[2] || g.ftntsIssues[3] )){
19291929
fossil_fatal("There were issues with footnotes:\n"
19301930
" %8d misreference%s\n"
19311931
" %8d unreferenced\n"
1932
- " %8d splitted\n"
1932
+ " %8d split\n"
19331933
" %8d overnested",
19341934
g.ftntsIssues[0], g.ftntsIssues[0]==1?"":"s",
19351935
g.ftntsIssues[1], g.ftntsIssues[2], g.ftntsIssues[3]);
19361936
}
19371937
}
19381938
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -1927,11 +1927,11 @@
1927 if( bFnLint && (g.ftntsIssues[0] || g.ftntsIssues[1]
1928 || g.ftntsIssues[2] || g.ftntsIssues[3] )){
1929 fossil_fatal("There were issues with footnotes:\n"
1930 " %8d misreference%s\n"
1931 " %8d unreferenced\n"
1932 " %8d splitted\n"
1933 " %8d overnested",
1934 g.ftntsIssues[0], g.ftntsIssues[0]==1?"":"s",
1935 g.ftntsIssues[1], g.ftntsIssues[2], g.ftntsIssues[3]);
1936 }
1937 }
1938
--- src/wikiformat.c
+++ src/wikiformat.c
@@ -1927,11 +1927,11 @@
1927 if( bFnLint && (g.ftntsIssues[0] || g.ftntsIssues[1]
1928 || g.ftntsIssues[2] || g.ftntsIssues[3] )){
1929 fossil_fatal("There were issues with footnotes:\n"
1930 " %8d misreference%s\n"
1931 " %8d unreferenced\n"
1932 " %8d split\n"
1933 " %8d overnested",
1934 g.ftntsIssues[0], g.ftntsIssues[0]==1?"":"s",
1935 g.ftntsIssues[1], g.ftntsIssues[2], g.ftntsIssues[3]);
1936 }
1937 }
1938
--- test/markdown-test3.md
+++ test/markdown-test3.md
@@ -190,11 +190,11 @@
190190
191191
## Footnotes
192192
193193
[branch]: /timeline?r=markdown-footnotes&nowiki
194194
195
-[^ 1]: Footnotes is a Fossil' extention of
195
+[^ 1]: Footnotes is a Fossil extension of
196196
Markdown. Your other tools may have limited support for these.
197197
198198
[^here]: [History of test/markdown-test3.md](/finfo/test/markdown-test3.md)
199199
200200
[src]: /file/test/markdown-test3.md?ci=markdown-footnotes&txt&ln
@@ -252,6 +252,5 @@
252252
253253
[^ <script>alert("You have been pwned!");</script> ]: Labels are escaped
254254
255255
[^ <textarea>"Last words here...' ]:
256256
<textarea>Content is also escaped</textarea>
257
-
258257
--- test/markdown-test3.md
+++ test/markdown-test3.md
@@ -190,11 +190,11 @@
190
191 ## Footnotes
192
193 [branch]: /timeline?r=markdown-footnotes&nowiki
194
195 [^ 1]: Footnotes is a Fossil' extention of
196 Markdown. Your other tools may have limited support for these.
197
198 [^here]: [History of test/markdown-test3.md](/finfo/test/markdown-test3.md)
199
200 [src]: /file/test/markdown-test3.md?ci=markdown-footnotes&txt&ln
@@ -252,6 +252,5 @@
252
253 [^ <script>alert("You have been pwned!");</script> ]: Labels are escaped
254
255 [^ <textarea>"Last words here...' ]:
256 <textarea>Content is also escaped</textarea>
257
258
--- test/markdown-test3.md
+++ test/markdown-test3.md
@@ -190,11 +190,11 @@
190
191 ## Footnotes
192
193 [branch]: /timeline?r=markdown-footnotes&nowiki
194
195 [^ 1]: Footnotes is a Fossil extension of
196 Markdown. Your other tools may have limited support for these.
197
198 [^here]: [History of test/markdown-test3.md](/finfo/test/markdown-test3.md)
199
200 [src]: /file/test/markdown-test3.md?ci=markdown-footnotes&txt&ln
@@ -252,6 +252,5 @@
252
253 [^ <script>alert("You have been pwned!");</script> ]: Labels are escaped
254
255 [^ <textarea>"Last words here...' ]:
256 <textarea>Content is also escaped</textarea>
 
257

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button