Fossil SCM
Update to Fossil 2.7
Commit
9d067b61eba052df13fc3828d83a05cc74b520c4e1230544382e21ce5aba4e7e
Parent
9e03e5136101b96…
13 files changed
+4
-2
+10
-3
+1
-1
+32
-73
+32
-73
+39
-9
+1
-1
+16
-8
+3
-3
+32
-73
+32
-73
+9
-5
+1
-1
+4
-2
| --- skins/default/css.txt | ||
| +++ skins/default/css.txt | ||
| @@ -143,14 +143,16 @@ | ||
| 143 | 143 | overflow: auto; |
| 144 | 144 | border: 1px solid #ccc; |
| 145 | 145 | border-radius: 5px; |
| 146 | 146 | } |
| 147 | 147 | .content blockquote { |
| 148 | + padding: 0 15px; | |
| 149 | +} | |
| 150 | +div.forumHierRoot blockquote, div.forumHier blockquote { | |
| 148 | 151 | background-color: rgba(65, 131, 196, 0.1); |
| 149 | 152 | border-left: 3px solid #254769; |
| 150 | - padding: 0.1em; | |
| 151 | - padding-left: 1em; | |
| 153 | + padding: .1em 1em; | |
| 152 | 154 | } |
| 153 | 155 | |
| 154 | 156 | table.report { |
| 155 | 157 | cursor: auto; |
| 156 | 158 | border-radius: 5px; |
| 157 | 159 |
| --- skins/default/css.txt | |
| +++ skins/default/css.txt | |
| @@ -143,14 +143,16 @@ | |
| 143 | overflow: auto; |
| 144 | border: 1px solid #ccc; |
| 145 | border-radius: 5px; |
| 146 | } |
| 147 | .content blockquote { |
| 148 | background-color: rgba(65, 131, 196, 0.1); |
| 149 | border-left: 3px solid #254769; |
| 150 | padding: 0.1em; |
| 151 | padding-left: 1em; |
| 152 | } |
| 153 | |
| 154 | table.report { |
| 155 | cursor: auto; |
| 156 | border-radius: 5px; |
| 157 |
| --- skins/default/css.txt | |
| +++ skins/default/css.txt | |
| @@ -143,14 +143,16 @@ | |
| 143 | overflow: auto; |
| 144 | border: 1px solid #ccc; |
| 145 | border-radius: 5px; |
| 146 | } |
| 147 | .content blockquote { |
| 148 | padding: 0 15px; |
| 149 | } |
| 150 | div.forumHierRoot blockquote, div.forumHier blockquote { |
| 151 | background-color: rgba(65, 131, 196, 0.1); |
| 152 | border-left: 3px solid #254769; |
| 153 | padding: .1em 1em; |
| 154 | } |
| 155 | |
| 156 | table.report { |
| 157 | cursor: auto; |
| 158 | border-radius: 5px; |
| 159 |
+10
-3
| --- skins/default/js.txt | ||
| +++ skins/default/js.txt | ||
| @@ -18,12 +18,19 @@ | ||
| 18 | 18 | ** menu button. |
| 19 | 19 | */ |
| 20 | 20 | (function() { |
| 21 | 21 | var panel = document.getElementById("hbdrop"); |
| 22 | 22 | if (!panel) return; // site admin might've nuked it |
| 23 | + if (!panel.style) return; // shouldn't happen, but be sure | |
| 23 | 24 | var panelBorder = panel.style.border; |
| 24 | - var animate = panel.style.hasOwnProperty('transition'); | |
| 25 | + | |
| 26 | + // Disable animation if this browser doesn't support CSS transitions. | |
| 27 | + // | |
| 28 | + // We need this ugly calling form for old browsers that don't allow | |
| 29 | + // panel.style.hasOwnProperty('transition'); catering to old browsers | |
| 30 | + // is the whole point here. | |
| 31 | + var animate = panel.style.transition !== null && (typeof(panel.style.transition) == "string"); | |
| 25 | 32 | var animMS = 400; |
| 26 | 33 | |
| 27 | 34 | // Calculate panel height despite its being hidden at call time. |
| 28 | 35 | // Based on https://stackoverflow.com/a/29047447/142454 |
| 29 | 36 | var panelHeight; // computed on sitemap load |
| @@ -123,15 +130,15 @@ | ||
| 123 | 130 | panel.style.display = 'block'; |
| 124 | 131 | } |
| 125 | 132 | } |
| 126 | 133 | // else, can't parse response as HTML or XML |
| 127 | 134 | } |
| 128 | - xhr.open("POST", "$home/sitemap"); // note the TH1 substitution! | |
| 135 | + xhr.open("GET", "$home/sitemap?popup"); // note the TH1 substitution! | |
| 129 | 136 | xhr.responseType = "document"; |
| 130 | - xhr.send("popup=1"); | |
| 137 | + xhr.send(); | |
| 131 | 138 | } |
| 132 | 139 | else { |
| 133 | 140 | showPanel(); // just show what we built above |
| 134 | 141 | } |
| 135 | 142 | return false; // prevent browser from acting on <a> click |
| 136 | 143 | } |
| 137 | 144 | })(); |
| 138 | 145 |
| --- skins/default/js.txt | |
| +++ skins/default/js.txt | |
| @@ -18,12 +18,19 @@ | |
| 18 | ** menu button. |
| 19 | */ |
| 20 | (function() { |
| 21 | var panel = document.getElementById("hbdrop"); |
| 22 | if (!panel) return; // site admin might've nuked it |
| 23 | var panelBorder = panel.style.border; |
| 24 | var animate = panel.style.hasOwnProperty('transition'); |
| 25 | var animMS = 400; |
| 26 | |
| 27 | // Calculate panel height despite its being hidden at call time. |
| 28 | // Based on https://stackoverflow.com/a/29047447/142454 |
| 29 | var panelHeight; // computed on sitemap load |
| @@ -123,15 +130,15 @@ | |
| 123 | panel.style.display = 'block'; |
| 124 | } |
| 125 | } |
| 126 | // else, can't parse response as HTML or XML |
| 127 | } |
| 128 | xhr.open("POST", "$home/sitemap"); // note the TH1 substitution! |
| 129 | xhr.responseType = "document"; |
| 130 | xhr.send("popup=1"); |
| 131 | } |
| 132 | else { |
| 133 | showPanel(); // just show what we built above |
| 134 | } |
| 135 | return false; // prevent browser from acting on <a> click |
| 136 | } |
| 137 | })(); |
| 138 |
| --- skins/default/js.txt | |
| +++ skins/default/js.txt | |
| @@ -18,12 +18,19 @@ | |
| 18 | ** menu button. |
| 19 | */ |
| 20 | (function() { |
| 21 | var panel = document.getElementById("hbdrop"); |
| 22 | if (!panel) return; // site admin might've nuked it |
| 23 | if (!panel.style) return; // shouldn't happen, but be sure |
| 24 | var panelBorder = panel.style.border; |
| 25 | |
| 26 | // Disable animation if this browser doesn't support CSS transitions. |
| 27 | // |
| 28 | // We need this ugly calling form for old browsers that don't allow |
| 29 | // panel.style.hasOwnProperty('transition'); catering to old browsers |
| 30 | // is the whole point here. |
| 31 | var animate = panel.style.transition !== null && (typeof(panel.style.transition) == "string"); |
| 32 | var animMS = 400; |
| 33 | |
| 34 | // Calculate panel height despite its being hidden at call time. |
| 35 | // Based on https://stackoverflow.com/a/29047447/142454 |
| 36 | var panelHeight; // computed on sitemap load |
| @@ -123,15 +130,15 @@ | |
| 130 | panel.style.display = 'block'; |
| 131 | } |
| 132 | } |
| 133 | // else, can't parse response as HTML or XML |
| 134 | } |
| 135 | xhr.open("GET", "$home/sitemap?popup"); // note the TH1 substitution! |
| 136 | xhr.responseType = "document"; |
| 137 | xhr.send(); |
| 138 | } |
| 139 | else { |
| 140 | showPanel(); // just show what we built above |
| 141 | } |
| 142 | return false; // prevent browser from acting on <a> click |
| 143 | } |
| 144 | })(); |
| 145 |
+1
-1
| --- src/default_css.txt | ||
| +++ src/default_css.txt | ||
| @@ -195,11 +195,11 @@ | ||
| 195 | 195 | padding: 0 0 0 1em; |
| 196 | 196 | } |
| 197 | 197 | div.columns > ul li:first-child { |
| 198 | 198 | margin-top:0px; |
| 199 | 199 | } |
| 200 | -div.columns li { | |
| 200 | +.columns li { | |
| 201 | 201 | break-inside: avoid; |
| 202 | 202 | } |
| 203 | 203 | .filetree { |
| 204 | 204 | margin: 1em 0; |
| 205 | 205 | line-height: 1.5; |
| 206 | 206 |
| --- src/default_css.txt | |
| +++ src/default_css.txt | |
| @@ -195,11 +195,11 @@ | |
| 195 | padding: 0 0 0 1em; |
| 196 | } |
| 197 | div.columns > ul li:first-child { |
| 198 | margin-top:0px; |
| 199 | } |
| 200 | div.columns li { |
| 201 | break-inside: avoid; |
| 202 | } |
| 203 | .filetree { |
| 204 | margin: 1em 0; |
| 205 | line-height: 1.5; |
| 206 |
| --- src/default_css.txt | |
| +++ src/default_css.txt | |
| @@ -195,11 +195,11 @@ | |
| 195 | padding: 0 0 0 1em; |
| 196 | } |
| 197 | div.columns > ul li:first-child { |
| 198 | margin-top:0px; |
| 199 | } |
| 200 | .columns li { |
| 201 | break-inside: avoid; |
| 202 | } |
| 203 | .filetree { |
| 204 | margin: 1em 0; |
| 205 | line-height: 1.5; |
| 206 |
+32
-73
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -1567,77 +1567,41 @@ | ||
| 1567 | 1567 | USE_SEE = 0 |
| 1568 | 1568 | !endif |
| 1569 | 1569 | |
| 1570 | 1570 | !if $(FOSSIL_ENABLE_SSL)!=0 |
| 1571 | 1571 | SSLDIR = $(B)\compat\openssl-1.1.1 |
| 1572 | -SSLINCDIR = $(SSLDIR)\inc32 | |
| 1573 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1574 | -SSLLIBDIR = $(SSLDIR)\out32dll | |
| 1575 | -!else | |
| 1576 | -SSLLIBDIR = $(SSLDIR)\out32 | |
| 1577 | -!endif | |
| 1578 | -SSLLFLAGS = /nologo /opt:ref /debug | |
| 1579 | -SSLLIB = ssleay32.lib libeay32.lib user32.lib gdi32.lib crypt32.lib | |
| 1580 | -!if "$(PLATFORM)"=="amd64" || "$(PLATFORM)"=="x64" | |
| 1581 | -!message Using 'x64' platform for OpenSSL... | |
| 1582 | -# BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. | |
| 1583 | -# SSLCONFIG = VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers | |
| 1584 | -SSLCONFIG = VC-WIN64A no-asm | |
| 1585 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1586 | -SSLCONFIG = $(SSLCONFIG) shared | |
| 1587 | -!else | |
| 1588 | -SSLCONFIG = $(SSLCONFIG) no-shared | |
| 1589 | -!endif | |
| 1590 | -SSLSETUP = ms\do_win64a.bat | |
| 1591 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1592 | -SSLNMAKE = ms\ntdll.mak all | |
| 1593 | -!else | |
| 1594 | -SSLNMAKE = ms\nt.mak all | |
| 1595 | -!endif | |
| 1596 | -# BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. | |
| 1597 | -!if $(FOSSIL_DYNAMIC_BUILD)==0 | |
| 1598 | -SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS | |
| 1599 | -!endif | |
| 1600 | -!elseif "$(PLATFORM)"=="ia64" | |
| 1601 | -!message Using 'ia64' platform for OpenSSL... | |
| 1602 | -# BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. | |
| 1603 | -# SSLCONFIG = VC-WIN64I no-asm no-ssl3 no-weak-ssl-ciphers | |
| 1604 | -SSLCONFIG = VC-WIN64I no-asm | |
| 1605 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1606 | -SSLCONFIG = $(SSLCONFIG) shared | |
| 1607 | -!else | |
| 1608 | -SSLCONFIG = $(SSLCONFIG) no-shared | |
| 1609 | -!endif | |
| 1610 | -SSLSETUP = ms\do_win64i.bat | |
| 1611 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1612 | -SSLNMAKE = ms\ntdll.mak all | |
| 1613 | -!else | |
| 1614 | -SSLNMAKE = ms\nt.mak all | |
| 1615 | -!endif | |
| 1616 | -# BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. | |
| 1617 | -!if $(FOSSIL_DYNAMIC_BUILD)==0 | |
| 1618 | -SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS | |
| 1619 | -!endif | |
| 1620 | -!else | |
| 1621 | -!message Assuming 'x86' platform for OpenSSL... | |
| 1622 | -# BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. | |
| 1623 | -# SSLCONFIG = VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers | |
| 1624 | -SSLCONFIG = VC-WIN32 no-asm | |
| 1625 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1626 | -SSLCONFIG = $(SSLCONFIG) shared | |
| 1627 | -!else | |
| 1628 | -SSLCONFIG = $(SSLCONFIG) no-shared | |
| 1629 | -!endif | |
| 1630 | -SSLSETUP = ms\do_ms.bat | |
| 1631 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1632 | -SSLNMAKE = ms\ntdll.mak all | |
| 1633 | -!else | |
| 1634 | -SSLNMAKE = ms\nt.mak all | |
| 1635 | -!endif | |
| 1636 | -# BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. | |
| 1637 | -!if $(FOSSIL_DYNAMIC_BUILD)==0 | |
| 1638 | -SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS | |
| 1572 | +SSLINCDIR = $(SSLDIR)\include | |
| 1573 | +!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1574 | +SSLLIBDIR = $(SSLDIR) | |
| 1575 | +!else | |
| 1576 | +SSLLIBDIR = $(SSLDIR) | |
| 1577 | +!endif | |
| 1578 | +SSLLFLAGS = /nologo /opt:ref /debug | |
| 1579 | +SSLLIB = libssl.lib libcrypto.lib user32.lib gdi32.lib crypt32.lib | |
| 1580 | +!if "$(PLATFORM)"=="amd64" || "$(PLATFORM)"=="x64" | |
| 1581 | +!message Using 'x64' platform for OpenSSL... | |
| 1582 | +SSLCONFIG = VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers | |
| 1583 | +!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1584 | +SSLCONFIG = $(SSLCONFIG) shared | |
| 1585 | +!else | |
| 1586 | +SSLCONFIG = $(SSLCONFIG) no-shared | |
| 1587 | +!endif | |
| 1588 | +!elseif "$(PLATFORM)"=="ia64" | |
| 1589 | +!message Using 'ia64' platform for OpenSSL... | |
| 1590 | +SSLCONFIG = VC-WIN64I no-asm no-ssl3 no-weak-ssl-ciphers | |
| 1591 | +!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1592 | +SSLCONFIG = $(SSLCONFIG) shared | |
| 1593 | +!else | |
| 1594 | +SSLCONFIG = $(SSLCONFIG) no-shared | |
| 1595 | +!endif | |
| 1596 | +!else | |
| 1597 | +!message Assuming 'x86' platform for OpenSSL... | |
| 1598 | +SSLCONFIG = VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers | |
| 1599 | +!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1600 | +SSLCONFIG = $(SSLCONFIG) shared | |
| 1601 | +!else | |
| 1602 | +SSLCONFIG = $(SSLCONFIG) no-shared | |
| 1639 | 1603 | !endif |
| 1640 | 1604 | !endif |
| 1641 | 1605 | !endif |
| 1642 | 1606 | |
| 1643 | 1607 | !if $(FOSSIL_ENABLE_TCL)!=0 |
| @@ -1852,16 +1816,11 @@ | ||
| 1852 | 1816 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 1853 | 1817 | !if "$(PERLDIR)" != "" |
| 1854 | 1818 | @set PATH=$(PERLDIR);$(PATH) |
| 1855 | 1819 | !endif |
| 1856 | 1820 | @pushd "$(SSLDIR)" && $(PERL) Configure $(SSLCONFIG) && popd |
| 1857 | - @pushd "$(SSLDIR)" && call $(SSLSETUP) && popd | |
| 1858 | -!if $(FOSSIL_ENABLE_WINXP)!=0 | |
| 1859 | - @pushd "$(SSLDIR)" && $(MAKE) /f $(SSLNMAKE) "CC=cl $(SSLCFLAGS) $(XPCFLAGS)" "LFLAGS=$(SSLLFLAGS) $(XPLDFLAGS)" && popd | |
| 1860 | -!else | |
| 1861 | - @pushd "$(SSLDIR)" && $(MAKE) /f $(SSLNMAKE) "CC=cl $(SSLCFLAGS)" && popd | |
| 1862 | -!endif | |
| 1821 | + @pushd "$(SSLDIR)" && $(MAKE) && popd | |
| 1863 | 1822 | !endif |
| 1864 | 1823 | |
| 1865 | 1824 | !if $(FOSSIL_ENABLE_MINIZ)==0 |
| 1866 | 1825 | !if $(FOSSIL_BUILD_ZLIB)!=0 |
| 1867 | 1826 | APPTARGETS = $(APPTARGETS) zlib |
| 1868 | 1827 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -1567,77 +1567,41 @@ | |
| 1567 | USE_SEE = 0 |
| 1568 | !endif |
| 1569 | |
| 1570 | !if $(FOSSIL_ENABLE_SSL)!=0 |
| 1571 | SSLDIR = $(B)\compat\openssl-1.1.1 |
| 1572 | SSLINCDIR = $(SSLDIR)\inc32 |
| 1573 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1574 | SSLLIBDIR = $(SSLDIR)\out32dll |
| 1575 | !else |
| 1576 | SSLLIBDIR = $(SSLDIR)\out32 |
| 1577 | !endif |
| 1578 | SSLLFLAGS = /nologo /opt:ref /debug |
| 1579 | SSLLIB = ssleay32.lib libeay32.lib user32.lib gdi32.lib crypt32.lib |
| 1580 | !if "$(PLATFORM)"=="amd64" || "$(PLATFORM)"=="x64" |
| 1581 | !message Using 'x64' platform for OpenSSL... |
| 1582 | # BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. |
| 1583 | # SSLCONFIG = VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers |
| 1584 | SSLCONFIG = VC-WIN64A no-asm |
| 1585 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1586 | SSLCONFIG = $(SSLCONFIG) shared |
| 1587 | !else |
| 1588 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 1589 | !endif |
| 1590 | SSLSETUP = ms\do_win64a.bat |
| 1591 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1592 | SSLNMAKE = ms\ntdll.mak all |
| 1593 | !else |
| 1594 | SSLNMAKE = ms\nt.mak all |
| 1595 | !endif |
| 1596 | # BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. |
| 1597 | !if $(FOSSIL_DYNAMIC_BUILD)==0 |
| 1598 | SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS |
| 1599 | !endif |
| 1600 | !elseif "$(PLATFORM)"=="ia64" |
| 1601 | !message Using 'ia64' platform for OpenSSL... |
| 1602 | # BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. |
| 1603 | # SSLCONFIG = VC-WIN64I no-asm no-ssl3 no-weak-ssl-ciphers |
| 1604 | SSLCONFIG = VC-WIN64I no-asm |
| 1605 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1606 | SSLCONFIG = $(SSLCONFIG) shared |
| 1607 | !else |
| 1608 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 1609 | !endif |
| 1610 | SSLSETUP = ms\do_win64i.bat |
| 1611 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1612 | SSLNMAKE = ms\ntdll.mak all |
| 1613 | !else |
| 1614 | SSLNMAKE = ms\nt.mak all |
| 1615 | !endif |
| 1616 | # BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. |
| 1617 | !if $(FOSSIL_DYNAMIC_BUILD)==0 |
| 1618 | SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS |
| 1619 | !endif |
| 1620 | !else |
| 1621 | !message Assuming 'x86' platform for OpenSSL... |
| 1622 | # BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. |
| 1623 | # SSLCONFIG = VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers |
| 1624 | SSLCONFIG = VC-WIN32 no-asm |
| 1625 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1626 | SSLCONFIG = $(SSLCONFIG) shared |
| 1627 | !else |
| 1628 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 1629 | !endif |
| 1630 | SSLSETUP = ms\do_ms.bat |
| 1631 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1632 | SSLNMAKE = ms\ntdll.mak all |
| 1633 | !else |
| 1634 | SSLNMAKE = ms\nt.mak all |
| 1635 | !endif |
| 1636 | # BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. |
| 1637 | !if $(FOSSIL_DYNAMIC_BUILD)==0 |
| 1638 | SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS |
| 1639 | !endif |
| 1640 | !endif |
| 1641 | !endif |
| 1642 | |
| 1643 | !if $(FOSSIL_ENABLE_TCL)!=0 |
| @@ -1852,16 +1816,11 @@ | |
| 1852 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 1853 | !if "$(PERLDIR)" != "" |
| 1854 | @set PATH=$(PERLDIR);$(PATH) |
| 1855 | !endif |
| 1856 | @pushd "$(SSLDIR)" && $(PERL) Configure $(SSLCONFIG) && popd |
| 1857 | @pushd "$(SSLDIR)" && call $(SSLSETUP) && popd |
| 1858 | !if $(FOSSIL_ENABLE_WINXP)!=0 |
| 1859 | @pushd "$(SSLDIR)" && $(MAKE) /f $(SSLNMAKE) "CC=cl $(SSLCFLAGS) $(XPCFLAGS)" "LFLAGS=$(SSLLFLAGS) $(XPLDFLAGS)" && popd |
| 1860 | !else |
| 1861 | @pushd "$(SSLDIR)" && $(MAKE) /f $(SSLNMAKE) "CC=cl $(SSLCFLAGS)" && popd |
| 1862 | !endif |
| 1863 | !endif |
| 1864 | |
| 1865 | !if $(FOSSIL_ENABLE_MINIZ)==0 |
| 1866 | !if $(FOSSIL_BUILD_ZLIB)!=0 |
| 1867 | APPTARGETS = $(APPTARGETS) zlib |
| 1868 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -1567,77 +1567,41 @@ | |
| 1567 | USE_SEE = 0 |
| 1568 | !endif |
| 1569 | |
| 1570 | !if $(FOSSIL_ENABLE_SSL)!=0 |
| 1571 | SSLDIR = $(B)\compat\openssl-1.1.1 |
| 1572 | SSLINCDIR = $(SSLDIR)\include |
| 1573 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1574 | SSLLIBDIR = $(SSLDIR) |
| 1575 | !else |
| 1576 | SSLLIBDIR = $(SSLDIR) |
| 1577 | !endif |
| 1578 | SSLLFLAGS = /nologo /opt:ref /debug |
| 1579 | SSLLIB = libssl.lib libcrypto.lib user32.lib gdi32.lib crypt32.lib |
| 1580 | !if "$(PLATFORM)"=="amd64" || "$(PLATFORM)"=="x64" |
| 1581 | !message Using 'x64' platform for OpenSSL... |
| 1582 | SSLCONFIG = VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers |
| 1583 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1584 | SSLCONFIG = $(SSLCONFIG) shared |
| 1585 | !else |
| 1586 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 1587 | !endif |
| 1588 | !elseif "$(PLATFORM)"=="ia64" |
| 1589 | !message Using 'ia64' platform for OpenSSL... |
| 1590 | SSLCONFIG = VC-WIN64I no-asm no-ssl3 no-weak-ssl-ciphers |
| 1591 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1592 | SSLCONFIG = $(SSLCONFIG) shared |
| 1593 | !else |
| 1594 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 1595 | !endif |
| 1596 | !else |
| 1597 | !message Assuming 'x86' platform for OpenSSL... |
| 1598 | SSLCONFIG = VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers |
| 1599 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1600 | SSLCONFIG = $(SSLCONFIG) shared |
| 1601 | !else |
| 1602 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 1603 | !endif |
| 1604 | !endif |
| 1605 | !endif |
| 1606 | |
| 1607 | !if $(FOSSIL_ENABLE_TCL)!=0 |
| @@ -1852,16 +1816,11 @@ | |
| 1816 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 1817 | !if "$(PERLDIR)" != "" |
| 1818 | @set PATH=$(PERLDIR);$(PATH) |
| 1819 | !endif |
| 1820 | @pushd "$(SSLDIR)" && $(PERL) Configure $(SSLCONFIG) && popd |
| 1821 | @pushd "$(SSLDIR)" && $(MAKE) && popd |
| 1822 | !endif |
| 1823 | |
| 1824 | !if $(FOSSIL_ENABLE_MINIZ)==0 |
| 1825 | !if $(FOSSIL_BUILD_ZLIB)!=0 |
| 1826 | APPTARGETS = $(APPTARGETS) zlib |
| 1827 |
+32
-73
| --- src/makemake.tcl | ||
| +++ src/makemake.tcl | ||
| @@ -1567,77 +1567,41 @@ | ||
| 1567 | 1567 | USE_SEE = 0 |
| 1568 | 1568 | !endif |
| 1569 | 1569 | |
| 1570 | 1570 | !if $(FOSSIL_ENABLE_SSL)!=0 |
| 1571 | 1571 | SSLDIR = $(B)\compat\openssl-1.1.1 |
| 1572 | -SSLINCDIR = $(SSLDIR)\inc32 | |
| 1573 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1574 | -SSLLIBDIR = $(SSLDIR)\out32dll | |
| 1575 | -!else | |
| 1576 | -SSLLIBDIR = $(SSLDIR)\out32 | |
| 1577 | -!endif | |
| 1578 | -SSLLFLAGS = /nologo /opt:ref /debug | |
| 1579 | -SSLLIB = ssleay32.lib libeay32.lib user32.lib gdi32.lib crypt32.lib | |
| 1580 | -!if "$(PLATFORM)"=="amd64" || "$(PLATFORM)"=="x64" | |
| 1581 | -!message Using 'x64' platform for OpenSSL... | |
| 1582 | -# BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. | |
| 1583 | -# SSLCONFIG = VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers | |
| 1584 | -SSLCONFIG = VC-WIN64A no-asm | |
| 1585 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1586 | -SSLCONFIG = $(SSLCONFIG) shared | |
| 1587 | -!else | |
| 1588 | -SSLCONFIG = $(SSLCONFIG) no-shared | |
| 1589 | -!endif | |
| 1590 | -SSLSETUP = ms\do_win64a.bat | |
| 1591 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1592 | -SSLNMAKE = ms\ntdll.mak all | |
| 1593 | -!else | |
| 1594 | -SSLNMAKE = ms\nt.mak all | |
| 1595 | -!endif | |
| 1596 | -# BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. | |
| 1597 | -!if $(FOSSIL_DYNAMIC_BUILD)==0 | |
| 1598 | -SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS | |
| 1599 | -!endif | |
| 1600 | -!elseif "$(PLATFORM)"=="ia64" | |
| 1601 | -!message Using 'ia64' platform for OpenSSL... | |
| 1602 | -# BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. | |
| 1603 | -# SSLCONFIG = VC-WIN64I no-asm no-ssl3 no-weak-ssl-ciphers | |
| 1604 | -SSLCONFIG = VC-WIN64I no-asm | |
| 1605 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1606 | -SSLCONFIG = $(SSLCONFIG) shared | |
| 1607 | -!else | |
| 1608 | -SSLCONFIG = $(SSLCONFIG) no-shared | |
| 1609 | -!endif | |
| 1610 | -SSLSETUP = ms\do_win64i.bat | |
| 1611 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1612 | -SSLNMAKE = ms\ntdll.mak all | |
| 1613 | -!else | |
| 1614 | -SSLNMAKE = ms\nt.mak all | |
| 1615 | -!endif | |
| 1616 | -# BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. | |
| 1617 | -!if $(FOSSIL_DYNAMIC_BUILD)==0 | |
| 1618 | -SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS | |
| 1619 | -!endif | |
| 1620 | -!else | |
| 1621 | -!message Assuming 'x86' platform for OpenSSL... | |
| 1622 | -# BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. | |
| 1623 | -# SSLCONFIG = VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers | |
| 1624 | -SSLCONFIG = VC-WIN32 no-asm | |
| 1625 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1626 | -SSLCONFIG = $(SSLCONFIG) shared | |
| 1627 | -!else | |
| 1628 | -SSLCONFIG = $(SSLCONFIG) no-shared | |
| 1629 | -!endif | |
| 1630 | -SSLSETUP = ms\do_ms.bat | |
| 1631 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1632 | -SSLNMAKE = ms\ntdll.mak all | |
| 1633 | -!else | |
| 1634 | -SSLNMAKE = ms\nt.mak all | |
| 1635 | -!endif | |
| 1636 | -# BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. | |
| 1637 | -!if $(FOSSIL_DYNAMIC_BUILD)==0 | |
| 1638 | -SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS | |
| 1572 | +SSLINCDIR = $(SSLDIR)\include | |
| 1573 | +!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1574 | +SSLLIBDIR = $(SSLDIR) | |
| 1575 | +!else | |
| 1576 | +SSLLIBDIR = $(SSLDIR) | |
| 1577 | +!endif | |
| 1578 | +SSLLFLAGS = /nologo /opt:ref /debug | |
| 1579 | +SSLLIB = libssl.lib libcrypto.lib user32.lib gdi32.lib crypt32.lib | |
| 1580 | +!if "$(PLATFORM)"=="amd64" || "$(PLATFORM)"=="x64" | |
| 1581 | +!message Using 'x64' platform for OpenSSL... | |
| 1582 | +SSLCONFIG = VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers | |
| 1583 | +!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1584 | +SSLCONFIG = $(SSLCONFIG) shared | |
| 1585 | +!else | |
| 1586 | +SSLCONFIG = $(SSLCONFIG) no-shared | |
| 1587 | +!endif | |
| 1588 | +!elseif "$(PLATFORM)"=="ia64" | |
| 1589 | +!message Using 'ia64' platform for OpenSSL... | |
| 1590 | +SSLCONFIG = VC-WIN64I no-asm no-ssl3 no-weak-ssl-ciphers | |
| 1591 | +!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1592 | +SSLCONFIG = $(SSLCONFIG) shared | |
| 1593 | +!else | |
| 1594 | +SSLCONFIG = $(SSLCONFIG) no-shared | |
| 1595 | +!endif | |
| 1596 | +!else | |
| 1597 | +!message Assuming 'x86' platform for OpenSSL... | |
| 1598 | +SSLCONFIG = VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers | |
| 1599 | +!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 1600 | +SSLCONFIG = $(SSLCONFIG) shared | |
| 1601 | +!else | |
| 1602 | +SSLCONFIG = $(SSLCONFIG) no-shared | |
| 1639 | 1603 | !endif |
| 1640 | 1604 | !endif |
| 1641 | 1605 | !endif |
| 1642 | 1606 | |
| 1643 | 1607 | !if $(FOSSIL_ENABLE_TCL)!=0 |
| @@ -1852,16 +1816,11 @@ | ||
| 1852 | 1816 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 1853 | 1817 | !if "$(PERLDIR)" != "" |
| 1854 | 1818 | @set PATH=$(PERLDIR);$(PATH) |
| 1855 | 1819 | !endif |
| 1856 | 1820 | @pushd "$(SSLDIR)" && $(PERL) Configure $(SSLCONFIG) && popd |
| 1857 | - @pushd "$(SSLDIR)" && call $(SSLSETUP) && popd | |
| 1858 | -!if $(FOSSIL_ENABLE_WINXP)!=0 | |
| 1859 | - @pushd "$(SSLDIR)" && $(MAKE) /f $(SSLNMAKE) "CC=cl $(SSLCFLAGS) $(XPCFLAGS)" "LFLAGS=$(SSLLFLAGS) $(XPLDFLAGS)" && popd | |
| 1860 | -!else | |
| 1861 | - @pushd "$(SSLDIR)" && $(MAKE) /f $(SSLNMAKE) "CC=cl $(SSLCFLAGS)" && popd | |
| 1862 | -!endif | |
| 1821 | + @pushd "$(SSLDIR)" && $(MAKE) && popd | |
| 1863 | 1822 | !endif |
| 1864 | 1823 | |
| 1865 | 1824 | !if $(FOSSIL_ENABLE_MINIZ)==0 |
| 1866 | 1825 | !if $(FOSSIL_BUILD_ZLIB)!=0 |
| 1867 | 1826 | APPTARGETS = $(APPTARGETS) zlib |
| 1868 | 1827 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -1567,77 +1567,41 @@ | |
| 1567 | USE_SEE = 0 |
| 1568 | !endif |
| 1569 | |
| 1570 | !if $(FOSSIL_ENABLE_SSL)!=0 |
| 1571 | SSLDIR = $(B)\compat\openssl-1.1.1 |
| 1572 | SSLINCDIR = $(SSLDIR)\inc32 |
| 1573 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1574 | SSLLIBDIR = $(SSLDIR)\out32dll |
| 1575 | !else |
| 1576 | SSLLIBDIR = $(SSLDIR)\out32 |
| 1577 | !endif |
| 1578 | SSLLFLAGS = /nologo /opt:ref /debug |
| 1579 | SSLLIB = ssleay32.lib libeay32.lib user32.lib gdi32.lib crypt32.lib |
| 1580 | !if "$(PLATFORM)"=="amd64" || "$(PLATFORM)"=="x64" |
| 1581 | !message Using 'x64' platform for OpenSSL... |
| 1582 | # BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. |
| 1583 | # SSLCONFIG = VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers |
| 1584 | SSLCONFIG = VC-WIN64A no-asm |
| 1585 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1586 | SSLCONFIG = $(SSLCONFIG) shared |
| 1587 | !else |
| 1588 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 1589 | !endif |
| 1590 | SSLSETUP = ms\do_win64a.bat |
| 1591 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1592 | SSLNMAKE = ms\ntdll.mak all |
| 1593 | !else |
| 1594 | SSLNMAKE = ms\nt.mak all |
| 1595 | !endif |
| 1596 | # BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. |
| 1597 | !if $(FOSSIL_DYNAMIC_BUILD)==0 |
| 1598 | SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS |
| 1599 | !endif |
| 1600 | !elseif "$(PLATFORM)"=="ia64" |
| 1601 | !message Using 'ia64' platform for OpenSSL... |
| 1602 | # BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. |
| 1603 | # SSLCONFIG = VC-WIN64I no-asm no-ssl3 no-weak-ssl-ciphers |
| 1604 | SSLCONFIG = VC-WIN64I no-asm |
| 1605 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1606 | SSLCONFIG = $(SSLCONFIG) shared |
| 1607 | !else |
| 1608 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 1609 | !endif |
| 1610 | SSLSETUP = ms\do_win64i.bat |
| 1611 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1612 | SSLNMAKE = ms\ntdll.mak all |
| 1613 | !else |
| 1614 | SSLNMAKE = ms\nt.mak all |
| 1615 | !endif |
| 1616 | # BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. |
| 1617 | !if $(FOSSIL_DYNAMIC_BUILD)==0 |
| 1618 | SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS |
| 1619 | !endif |
| 1620 | !else |
| 1621 | !message Assuming 'x86' platform for OpenSSL... |
| 1622 | # BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. |
| 1623 | # SSLCONFIG = VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers |
| 1624 | SSLCONFIG = VC-WIN32 no-asm |
| 1625 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1626 | SSLCONFIG = $(SSLCONFIG) shared |
| 1627 | !else |
| 1628 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 1629 | !endif |
| 1630 | SSLSETUP = ms\do_ms.bat |
| 1631 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1632 | SSLNMAKE = ms\ntdll.mak all |
| 1633 | !else |
| 1634 | SSLNMAKE = ms\nt.mak all |
| 1635 | !endif |
| 1636 | # BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. |
| 1637 | !if $(FOSSIL_DYNAMIC_BUILD)==0 |
| 1638 | SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS |
| 1639 | !endif |
| 1640 | !endif |
| 1641 | !endif |
| 1642 | |
| 1643 | !if $(FOSSIL_ENABLE_TCL)!=0 |
| @@ -1852,16 +1816,11 @@ | |
| 1852 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 1853 | !if "$(PERLDIR)" != "" |
| 1854 | @set PATH=$(PERLDIR);$(PATH) |
| 1855 | !endif |
| 1856 | @pushd "$(SSLDIR)" && $(PERL) Configure $(SSLCONFIG) && popd |
| 1857 | @pushd "$(SSLDIR)" && call $(SSLSETUP) && popd |
| 1858 | !if $(FOSSIL_ENABLE_WINXP)!=0 |
| 1859 | @pushd "$(SSLDIR)" && $(MAKE) /f $(SSLNMAKE) "CC=cl $(SSLCFLAGS) $(XPCFLAGS)" "LFLAGS=$(SSLLFLAGS) $(XPLDFLAGS)" && popd |
| 1860 | !else |
| 1861 | @pushd "$(SSLDIR)" && $(MAKE) /f $(SSLNMAKE) "CC=cl $(SSLCFLAGS)" && popd |
| 1862 | !endif |
| 1863 | !endif |
| 1864 | |
| 1865 | !if $(FOSSIL_ENABLE_MINIZ)==0 |
| 1866 | !if $(FOSSIL_BUILD_ZLIB)!=0 |
| 1867 | APPTARGETS = $(APPTARGETS) zlib |
| 1868 |
| --- src/makemake.tcl | |
| +++ src/makemake.tcl | |
| @@ -1567,77 +1567,41 @@ | |
| 1567 | USE_SEE = 0 |
| 1568 | !endif |
| 1569 | |
| 1570 | !if $(FOSSIL_ENABLE_SSL)!=0 |
| 1571 | SSLDIR = $(B)\compat\openssl-1.1.1 |
| 1572 | SSLINCDIR = $(SSLDIR)\include |
| 1573 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1574 | SSLLIBDIR = $(SSLDIR) |
| 1575 | !else |
| 1576 | SSLLIBDIR = $(SSLDIR) |
| 1577 | !endif |
| 1578 | SSLLFLAGS = /nologo /opt:ref /debug |
| 1579 | SSLLIB = libssl.lib libcrypto.lib user32.lib gdi32.lib crypt32.lib |
| 1580 | !if "$(PLATFORM)"=="amd64" || "$(PLATFORM)"=="x64" |
| 1581 | !message Using 'x64' platform for OpenSSL... |
| 1582 | SSLCONFIG = VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers |
| 1583 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1584 | SSLCONFIG = $(SSLCONFIG) shared |
| 1585 | !else |
| 1586 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 1587 | !endif |
| 1588 | !elseif "$(PLATFORM)"=="ia64" |
| 1589 | !message Using 'ia64' platform for OpenSSL... |
| 1590 | SSLCONFIG = VC-WIN64I no-asm no-ssl3 no-weak-ssl-ciphers |
| 1591 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1592 | SSLCONFIG = $(SSLCONFIG) shared |
| 1593 | !else |
| 1594 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 1595 | !endif |
| 1596 | !else |
| 1597 | !message Assuming 'x86' platform for OpenSSL... |
| 1598 | SSLCONFIG = VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers |
| 1599 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 1600 | SSLCONFIG = $(SSLCONFIG) shared |
| 1601 | !else |
| 1602 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 1603 | !endif |
| 1604 | !endif |
| 1605 | !endif |
| 1606 | |
| 1607 | !if $(FOSSIL_ENABLE_TCL)!=0 |
| @@ -1852,16 +1816,11 @@ | |
| 1816 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 1817 | !if "$(PERLDIR)" != "" |
| 1818 | @set PATH=$(PERLDIR);$(PATH) |
| 1819 | !endif |
| 1820 | @pushd "$(SSLDIR)" && $(PERL) Configure $(SSLCONFIG) && popd |
| 1821 | @pushd "$(SSLDIR)" && $(MAKE) && popd |
| 1822 | !endif |
| 1823 | |
| 1824 | !if $(FOSSIL_ENABLE_MINIZ)==0 |
| 1825 | !if $(FOSSIL_BUILD_ZLIB)!=0 |
| 1826 | APPTARGETS = $(APPTARGETS) zlib |
| 1827 |
+39
-9
| --- src/markdown_html.c | ||
| +++ src/markdown_html.c | ||
| @@ -48,21 +48,25 @@ | ||
| 48 | 48 | /* BLOB_APPEND_BLOB -- append blob contents to another */ |
| 49 | 49 | #define BLOB_APPEND_BLOB(dest, src) \ |
| 50 | 50 | blob_append((dest), blob_buffer(src), blob_size(src)) |
| 51 | 51 | |
| 52 | 52 | |
| 53 | -/* HTML escape */ | |
| 54 | - | |
| 55 | -static void html_escape(struct Blob *ob, const char *data, size_t size){ | |
| 53 | +/* HTML escapes | |
| 54 | +** | |
| 55 | +** html_escape() converts < to <, > to >, and & to &. | |
| 56 | +** html_quote() goes further and converts " into " and ' in '. | |
| 57 | +*/ | |
| 58 | +static void html_quote(struct Blob *ob, const char *data, size_t size){ | |
| 56 | 59 | size_t beg = 0, i = 0; |
| 57 | 60 | while( i<size ){ |
| 58 | 61 | beg = i; |
| 59 | 62 | while( i<size |
| 60 | 63 | && data[i]!='<' |
| 61 | 64 | && data[i]!='>' |
| 62 | 65 | && data[i]!='"' |
| 63 | 66 | && data[i]!='&' |
| 67 | + && data[i]!='\'' | |
| 64 | 68 | ){ |
| 65 | 69 | i++; |
| 66 | 70 | } |
| 67 | 71 | blob_append(ob, data+beg, i-beg); |
| 68 | 72 | while( i<size ){ |
| @@ -80,10 +84,36 @@ | ||
| 80 | 84 | break; |
| 81 | 85 | } |
| 82 | 86 | i++; |
| 83 | 87 | } |
| 84 | 88 | } |
| 89 | +} | |
| 90 | +static void html_escape(struct Blob *ob, const char *data, size_t size){ | |
| 91 | + size_t beg = 0, i = 0; | |
| 92 | + while( i<size ){ | |
| 93 | + beg = i; | |
| 94 | + while( i<size | |
| 95 | + && data[i]!='<' | |
| 96 | + && data[i]!='>' | |
| 97 | + && data[i]!='&' | |
| 98 | + ){ | |
| 99 | + i++; | |
| 100 | + } | |
| 101 | + blob_append(ob, data+beg, i-beg); | |
| 102 | + while( i<size ){ | |
| 103 | + if( data[i]=='<' ){ | |
| 104 | + BLOB_APPEND_LITERAL(ob, "<"); | |
| 105 | + }else if( data[i]=='>' ){ | |
| 106 | + BLOB_APPEND_LITERAL(ob, ">"); | |
| 107 | + }else if( data[i]=='&' ){ | |
| 108 | + BLOB_APPEND_LITERAL(ob, "&"); | |
| 109 | + }else{ | |
| 110 | + break; | |
| 111 | + } | |
| 112 | + i++; | |
| 113 | + } | |
| 114 | + } | |
| 85 | 115 | } |
| 86 | 116 | |
| 87 | 117 | |
| 88 | 118 | /* HTML block tags */ |
| 89 | 119 | |
| @@ -283,11 +313,11 @@ | ||
| 283 | 313 | void *opaque |
| 284 | 314 | ){ |
| 285 | 315 | if( !link || blob_size(link)<=0 ) return 0; |
| 286 | 316 | BLOB_APPEND_LITERAL(ob, "<a href=\""); |
| 287 | 317 | if( type==MKDA_IMPLICIT_EMAIL ) BLOB_APPEND_LITERAL(ob, "mailto:"); |
| 288 | - html_escape(ob, blob_buffer(link), blob_size(link)); | |
| 318 | + html_quote(ob, blob_buffer(link), blob_size(link)); | |
| 289 | 319 | BLOB_APPEND_LITERAL(ob, "\">"); |
| 290 | 320 | if( type==MKDA_EXPLICIT_EMAIL && blob_size(link)>7 ){ |
| 291 | 321 | /* remove "mailto:" from displayed text */ |
| 292 | 322 | html_escape(ob, blob_buffer(link)+7, blob_size(link)-7); |
| 293 | 323 | }else{ |
| @@ -336,16 +366,16 @@ | ||
| 336 | 366 | struct Blob *title, |
| 337 | 367 | struct Blob *alt, |
| 338 | 368 | void *opaque |
| 339 | 369 | ){ |
| 340 | 370 | BLOB_APPEND_LITERAL(ob, "<img src=\""); |
| 341 | - html_escape(ob, blob_buffer(link), blob_size(link)); | |
| 371 | + html_quote(ob, blob_buffer(link), blob_size(link)); | |
| 342 | 372 | BLOB_APPEND_LITERAL(ob, "\" alt=\""); |
| 343 | - html_escape(ob, blob_buffer(alt), blob_size(alt)); | |
| 373 | + html_quote(ob, blob_buffer(alt), blob_size(alt)); | |
| 344 | 374 | if( title && blob_size(title)>0 ){ |
| 345 | 375 | BLOB_APPEND_LITERAL(ob, "\" title=\""); |
| 346 | - html_escape(ob, blob_buffer(title), blob_size(title)); | |
| 376 | + html_quote(ob, blob_buffer(title), blob_size(title)); | |
| 347 | 377 | } |
| 348 | 378 | BLOB_APPEND_LITERAL(ob, "\" />"); |
| 349 | 379 | return 1; |
| 350 | 380 | } |
| 351 | 381 | |
| @@ -366,14 +396,14 @@ | ||
| 366 | 396 | if( zLink && zLink[0]=='/' && g.zTop ){ |
| 367 | 397 | /* For any hyperlink that begins with "/", make it refer to the root |
| 368 | 398 | ** of the Fossil repository */ |
| 369 | 399 | blob_append(ob, g.zTop, -1); |
| 370 | 400 | } |
| 371 | - html_escape(ob, blob_buffer(link), blob_size(link)); | |
| 401 | + html_quote(ob, blob_buffer(link), blob_size(link)); | |
| 372 | 402 | if( title && blob_size(title)>0 ){ |
| 373 | 403 | BLOB_APPEND_LITERAL(ob, "\" title=\""); |
| 374 | - html_escape(ob, blob_buffer(title), blob_size(title)); | |
| 404 | + html_quote(ob, blob_buffer(title), blob_size(title)); | |
| 375 | 405 | } |
| 376 | 406 | BLOB_APPEND_LITERAL(ob, "\">"); |
| 377 | 407 | BLOB_APPEND_BLOB(ob, content); |
| 378 | 408 | BLOB_APPEND_LITERAL(ob, "</a>"); |
| 379 | 409 | return 1; |
| 380 | 410 |
| --- src/markdown_html.c | |
| +++ src/markdown_html.c | |
| @@ -48,21 +48,25 @@ | |
| 48 | /* BLOB_APPEND_BLOB -- append blob contents to another */ |
| 49 | #define BLOB_APPEND_BLOB(dest, src) \ |
| 50 | blob_append((dest), blob_buffer(src), blob_size(src)) |
| 51 | |
| 52 | |
| 53 | /* HTML escape */ |
| 54 | |
| 55 | static void html_escape(struct Blob *ob, const char *data, size_t size){ |
| 56 | size_t beg = 0, i = 0; |
| 57 | while( i<size ){ |
| 58 | beg = i; |
| 59 | while( i<size |
| 60 | && data[i]!='<' |
| 61 | && data[i]!='>' |
| 62 | && data[i]!='"' |
| 63 | && data[i]!='&' |
| 64 | ){ |
| 65 | i++; |
| 66 | } |
| 67 | blob_append(ob, data+beg, i-beg); |
| 68 | while( i<size ){ |
| @@ -80,10 +84,36 @@ | |
| 80 | break; |
| 81 | } |
| 82 | i++; |
| 83 | } |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | |
| 88 | /* HTML block tags */ |
| 89 | |
| @@ -283,11 +313,11 @@ | |
| 283 | void *opaque |
| 284 | ){ |
| 285 | if( !link || blob_size(link)<=0 ) return 0; |
| 286 | BLOB_APPEND_LITERAL(ob, "<a href=\""); |
| 287 | if( type==MKDA_IMPLICIT_EMAIL ) BLOB_APPEND_LITERAL(ob, "mailto:"); |
| 288 | html_escape(ob, blob_buffer(link), blob_size(link)); |
| 289 | BLOB_APPEND_LITERAL(ob, "\">"); |
| 290 | if( type==MKDA_EXPLICIT_EMAIL && blob_size(link)>7 ){ |
| 291 | /* remove "mailto:" from displayed text */ |
| 292 | html_escape(ob, blob_buffer(link)+7, blob_size(link)-7); |
| 293 | }else{ |
| @@ -336,16 +366,16 @@ | |
| 336 | struct Blob *title, |
| 337 | struct Blob *alt, |
| 338 | void *opaque |
| 339 | ){ |
| 340 | BLOB_APPEND_LITERAL(ob, "<img src=\""); |
| 341 | html_escape(ob, blob_buffer(link), blob_size(link)); |
| 342 | BLOB_APPEND_LITERAL(ob, "\" alt=\""); |
| 343 | html_escape(ob, blob_buffer(alt), blob_size(alt)); |
| 344 | if( title && blob_size(title)>0 ){ |
| 345 | BLOB_APPEND_LITERAL(ob, "\" title=\""); |
| 346 | html_escape(ob, blob_buffer(title), blob_size(title)); |
| 347 | } |
| 348 | BLOB_APPEND_LITERAL(ob, "\" />"); |
| 349 | return 1; |
| 350 | } |
| 351 | |
| @@ -366,14 +396,14 @@ | |
| 366 | if( zLink && zLink[0]=='/' && g.zTop ){ |
| 367 | /* For any hyperlink that begins with "/", make it refer to the root |
| 368 | ** of the Fossil repository */ |
| 369 | blob_append(ob, g.zTop, -1); |
| 370 | } |
| 371 | html_escape(ob, blob_buffer(link), blob_size(link)); |
| 372 | if( title && blob_size(title)>0 ){ |
| 373 | BLOB_APPEND_LITERAL(ob, "\" title=\""); |
| 374 | html_escape(ob, blob_buffer(title), blob_size(title)); |
| 375 | } |
| 376 | BLOB_APPEND_LITERAL(ob, "\">"); |
| 377 | BLOB_APPEND_BLOB(ob, content); |
| 378 | BLOB_APPEND_LITERAL(ob, "</a>"); |
| 379 | return 1; |
| 380 |
| --- src/markdown_html.c | |
| +++ src/markdown_html.c | |
| @@ -48,21 +48,25 @@ | |
| 48 | /* BLOB_APPEND_BLOB -- append blob contents to another */ |
| 49 | #define BLOB_APPEND_BLOB(dest, src) \ |
| 50 | blob_append((dest), blob_buffer(src), blob_size(src)) |
| 51 | |
| 52 | |
| 53 | /* HTML escapes |
| 54 | ** |
| 55 | ** html_escape() converts < to <, > to >, and & to &. |
| 56 | ** html_quote() goes further and converts " into " and ' in '. |
| 57 | */ |
| 58 | static void html_quote(struct Blob *ob, const char *data, size_t size){ |
| 59 | size_t beg = 0, i = 0; |
| 60 | while( i<size ){ |
| 61 | beg = i; |
| 62 | while( i<size |
| 63 | && data[i]!='<' |
| 64 | && data[i]!='>' |
| 65 | && data[i]!='"' |
| 66 | && data[i]!='&' |
| 67 | && data[i]!='\'' |
| 68 | ){ |
| 69 | i++; |
| 70 | } |
| 71 | blob_append(ob, data+beg, i-beg); |
| 72 | while( i<size ){ |
| @@ -80,10 +84,36 @@ | |
| 84 | break; |
| 85 | } |
| 86 | i++; |
| 87 | } |
| 88 | } |
| 89 | } |
| 90 | static void html_escape(struct Blob *ob, const char *data, size_t size){ |
| 91 | size_t beg = 0, i = 0; |
| 92 | while( i<size ){ |
| 93 | beg = i; |
| 94 | while( i<size |
| 95 | && data[i]!='<' |
| 96 | && data[i]!='>' |
| 97 | && data[i]!='&' |
| 98 | ){ |
| 99 | i++; |
| 100 | } |
| 101 | blob_append(ob, data+beg, i-beg); |
| 102 | while( i<size ){ |
| 103 | if( data[i]=='<' ){ |
| 104 | BLOB_APPEND_LITERAL(ob, "<"); |
| 105 | }else if( data[i]=='>' ){ |
| 106 | BLOB_APPEND_LITERAL(ob, ">"); |
| 107 | }else if( data[i]=='&' ){ |
| 108 | BLOB_APPEND_LITERAL(ob, "&"); |
| 109 | }else{ |
| 110 | break; |
| 111 | } |
| 112 | i++; |
| 113 | } |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | |
| 118 | /* HTML block tags */ |
| 119 | |
| @@ -283,11 +313,11 @@ | |
| 313 | void *opaque |
| 314 | ){ |
| 315 | if( !link || blob_size(link)<=0 ) return 0; |
| 316 | BLOB_APPEND_LITERAL(ob, "<a href=\""); |
| 317 | if( type==MKDA_IMPLICIT_EMAIL ) BLOB_APPEND_LITERAL(ob, "mailto:"); |
| 318 | html_quote(ob, blob_buffer(link), blob_size(link)); |
| 319 | BLOB_APPEND_LITERAL(ob, "\">"); |
| 320 | if( type==MKDA_EXPLICIT_EMAIL && blob_size(link)>7 ){ |
| 321 | /* remove "mailto:" from displayed text */ |
| 322 | html_escape(ob, blob_buffer(link)+7, blob_size(link)-7); |
| 323 | }else{ |
| @@ -336,16 +366,16 @@ | |
| 366 | struct Blob *title, |
| 367 | struct Blob *alt, |
| 368 | void *opaque |
| 369 | ){ |
| 370 | BLOB_APPEND_LITERAL(ob, "<img src=\""); |
| 371 | html_quote(ob, blob_buffer(link), blob_size(link)); |
| 372 | BLOB_APPEND_LITERAL(ob, "\" alt=\""); |
| 373 | html_quote(ob, blob_buffer(alt), blob_size(alt)); |
| 374 | if( title && blob_size(title)>0 ){ |
| 375 | BLOB_APPEND_LITERAL(ob, "\" title=\""); |
| 376 | html_quote(ob, blob_buffer(title), blob_size(title)); |
| 377 | } |
| 378 | BLOB_APPEND_LITERAL(ob, "\" />"); |
| 379 | return 1; |
| 380 | } |
| 381 | |
| @@ -366,14 +396,14 @@ | |
| 396 | if( zLink && zLink[0]=='/' && g.zTop ){ |
| 397 | /* For any hyperlink that begins with "/", make it refer to the root |
| 398 | ** of the Fossil repository */ |
| 399 | blob_append(ob, g.zTop, -1); |
| 400 | } |
| 401 | html_quote(ob, blob_buffer(link), blob_size(link)); |
| 402 | if( title && blob_size(title)>0 ){ |
| 403 | BLOB_APPEND_LITERAL(ob, "\" title=\""); |
| 404 | html_quote(ob, blob_buffer(title), blob_size(title)); |
| 405 | } |
| 406 | BLOB_APPEND_LITERAL(ob, "\">"); |
| 407 | BLOB_APPEND_BLOB(ob, content); |
| 408 | BLOB_APPEND_LITERAL(ob, "</a>"); |
| 409 | return 1; |
| 410 |
+1
-1
| --- src/sitemap.c | ||
| +++ src/sitemap.c | ||
| @@ -43,11 +43,11 @@ | ||
| 43 | 43 | { "License", "sitemap-license" }, |
| 44 | 44 | { "Contact", "sitemap-contact" }, |
| 45 | 45 | }; |
| 46 | 46 | |
| 47 | 47 | login_check_credentials(); |
| 48 | - if( P("popup")!=0 && cgi_csrf_safe(1) ){ | |
| 48 | + if( P("popup")!=0 && cgi_csrf_safe(0) ){ | |
| 49 | 49 | /* If this is a POST from the same origin with the popup=1 parameter, |
| 50 | 50 | ** then disable anti-robot defenses */ |
| 51 | 51 | isPopup = 1; |
| 52 | 52 | g.perm.Hyperlink = 1; |
| 53 | 53 | g.javascriptHyperlink = 0; |
| 54 | 54 |
| --- src/sitemap.c | |
| +++ src/sitemap.c | |
| @@ -43,11 +43,11 @@ | |
| 43 | { "License", "sitemap-license" }, |
| 44 | { "Contact", "sitemap-contact" }, |
| 45 | }; |
| 46 | |
| 47 | login_check_credentials(); |
| 48 | if( P("popup")!=0 && cgi_csrf_safe(1) ){ |
| 49 | /* If this is a POST from the same origin with the popup=1 parameter, |
| 50 | ** then disable anti-robot defenses */ |
| 51 | isPopup = 1; |
| 52 | g.perm.Hyperlink = 1; |
| 53 | g.javascriptHyperlink = 0; |
| 54 |
| --- src/sitemap.c | |
| +++ src/sitemap.c | |
| @@ -43,11 +43,11 @@ | |
| 43 | { "License", "sitemap-license" }, |
| 44 | { "Contact", "sitemap-contact" }, |
| 45 | }; |
| 46 | |
| 47 | login_check_credentials(); |
| 48 | if( P("popup")!=0 && cgi_csrf_safe(0) ){ |
| 49 | /* If this is a POST from the same origin with the popup=1 parameter, |
| 50 | ** then disable anti-robot defenses */ |
| 51 | isPopup = 1; |
| 52 | g.perm.Hyperlink = 1; |
| 53 | g.javascriptHyperlink = 0; |
| 54 |
+16
-8
| --- src/sqlite3.c | ||
| +++ src/sqlite3.c | ||
| @@ -1,8 +1,8 @@ | ||
| 1 | 1 | /****************************************************************************** |
| 2 | 2 | ** This file is an amalgamation of many separate C source files from SQLite |
| 3 | -** version 3.25.0. By combining all the individual C code files into this | |
| 3 | +** version 3.25.1. By combining all the individual C code files into this | |
| 4 | 4 | ** single large file, the entire code can be compiled as a single translation |
| 5 | 5 | ** unit. This allows many compilers to do optimizations that would not be |
| 6 | 6 | ** possible if the files were compiled separately. Performance improvements |
| 7 | 7 | ** of 5% or more are commonly seen when SQLite is compiled as a single |
| 8 | 8 | ** translation unit. |
| @@ -1154,13 +1154,13 @@ | ||
| 1154 | 1154 | ** |
| 1155 | 1155 | ** See also: [sqlite3_libversion()], |
| 1156 | 1156 | ** [sqlite3_libversion_number()], [sqlite3_sourceid()], |
| 1157 | 1157 | ** [sqlite_version()] and [sqlite_source_id()]. |
| 1158 | 1158 | */ |
| 1159 | -#define SQLITE_VERSION "3.25.0" | |
| 1160 | -#define SQLITE_VERSION_NUMBER 3025000 | |
| 1161 | -#define SQLITE_SOURCE_ID "2018-09-15 04:01:47 b63af6c3bd33152742648d5d2e8dc5d5fcbcdd27df409272b6aea00a6f761760" | |
| 1159 | +#define SQLITE_VERSION "3.25.1" | |
| 1160 | +#define SQLITE_VERSION_NUMBER 3025001 | |
| 1161 | +#define SQLITE_SOURCE_ID "2018-09-18 20:20:44 2ac9003de44da7dafa3fbb1915ac5725a9275c86bf2f3b7aa19321bf1460b386" | |
| 1162 | 1162 | |
| 1163 | 1163 | /* |
| 1164 | 1164 | ** CAPI3REF: Run-Time Library Version Numbers |
| 1165 | 1165 | ** KEYWORDS: sqlite3_version sqlite3_sourceid |
| 1166 | 1166 | ** |
| @@ -102203,11 +102203,11 @@ | ||
| 102203 | 102203 | } |
| 102204 | 102204 | if( rc==SQLITE_OK && pStep->zTarget ){ |
| 102205 | 102205 | Table *pTarget = sqlite3LocateTable(pParse, 0, pStep->zTarget, zDb); |
| 102206 | 102206 | if( pTarget==0 ){ |
| 102207 | 102207 | rc = SQLITE_ERROR; |
| 102208 | - }else{ | |
| 102208 | + }else if( SQLITE_OK==(rc = sqlite3ViewGetColumnNames(pParse, pTarget)) ){ | |
| 102209 | 102209 | SrcList sSrc; |
| 102210 | 102210 | memset(&sSrc, 0, sizeof(sSrc)); |
| 102211 | 102211 | sSrc.nSrc = 1; |
| 102212 | 102212 | sSrc.a[0].zName = pStep->zTarget; |
| 102213 | 102213 | sSrc.a[0].pTab = pTarget; |
| @@ -107849,10 +107849,14 @@ | ||
| 107849 | 107849 | ** statement that defines the view. |
| 107850 | 107850 | */ |
| 107851 | 107851 | assert( pTable->pSelect ); |
| 107852 | 107852 | pSel = sqlite3SelectDup(db, pTable->pSelect, 0); |
| 107853 | 107853 | if( pSel ){ |
| 107854 | +#ifndef SQLITE_OMIT_ALTERTABLE | |
| 107855 | + u8 eParseMode = pParse->eParseMode; | |
| 107856 | + pParse->eParseMode = PARSE_MODE_NORMAL; | |
| 107857 | +#endif | |
| 107854 | 107858 | n = pParse->nTab; |
| 107855 | 107859 | sqlite3SrcListAssignCursors(pParse, pSel->pSrc); |
| 107856 | 107860 | pTable->nCol = -1; |
| 107857 | 107861 | db->lookaside.bDisable++; |
| 107858 | 107862 | #ifndef SQLITE_OMIT_AUTHORIZATION |
| @@ -107894,10 +107898,13 @@ | ||
| 107894 | 107898 | nErr++; |
| 107895 | 107899 | } |
| 107896 | 107900 | sqlite3DeleteTable(db, pSelTab); |
| 107897 | 107901 | sqlite3SelectDelete(db, pSel); |
| 107898 | 107902 | db->lookaside.bDisable--; |
| 107903 | +#ifndef SQLITE_OMIT_ALTERTABLE | |
| 107904 | + pParse->eParseMode = eParseMode; | |
| 107905 | +#endif | |
| 107899 | 107906 | } else { |
| 107900 | 107907 | nErr++; |
| 107901 | 107908 | } |
| 107902 | 107909 | pTable->pSchema->schemaFlags |= DB_UnresetViews; |
| 107903 | 107910 | if( db->mallocFailed ){ |
| @@ -129181,10 +129188,11 @@ | ||
| 129181 | 129188 | sqlite3WindowCodeStep(pParse, p, pWInfo, regGosub, addrGosub); |
| 129182 | 129189 | |
| 129183 | 129190 | sqlite3VdbeAddOp2(v, OP_Goto, 0, iBreak); |
| 129184 | 129191 | sqlite3VdbeResolveLabel(v, addrGosub); |
| 129185 | 129192 | VdbeNoopComment((v, "inner-loop subroutine")); |
| 129193 | + sSort.labelOBLopt = 0; | |
| 129186 | 129194 | selectInnerLoop(pParse, p, -1, &sSort, &sDistinct, pDest, iCont, iBreak); |
| 129187 | 129195 | sqlite3VdbeResolveLabel(v, iCont); |
| 129188 | 129196 | sqlite3VdbeAddOp1(v, OP_Return, regGosub); |
| 129189 | 129197 | VdbeComment((v, "end inner-loop subroutine")); |
| 129190 | 129198 | sqlite3VdbeResolveLabel(v, iBreak); |
| @@ -214414,11 +214422,11 @@ | ||
| 214414 | 214422 | int nArg, /* Number of args */ |
| 214415 | 214423 | sqlite3_value **apUnused /* Function arguments */ |
| 214416 | 214424 | ){ |
| 214417 | 214425 | assert( nArg==0 ); |
| 214418 | 214426 | UNUSED_PARAM2(nArg, apUnused); |
| 214419 | - sqlite3_result_text(pCtx, "fts5: 2018-09-15 04:01:47 b63af6c3bd33152742648d5d2e8dc5d5fcbcdd27df409272b6aea00a6f761760", -1, SQLITE_TRANSIENT); | |
| 214427 | + sqlite3_result_text(pCtx, "fts5: 2018-09-18 20:20:44 2ac9003de44da7dafa3fbb1915ac5725a9275c86bf2f3b7aa19321bf1460b386", -1, SQLITE_TRANSIENT); | |
| 214420 | 214428 | } |
| 214421 | 214429 | |
| 214422 | 214430 | static int fts5Init(sqlite3 *db){ |
| 214423 | 214431 | static const sqlite3_module fts5Mod = { |
| 214424 | 214432 | /* iVersion */ 2, |
| @@ -219124,12 +219132,12 @@ | ||
| 219124 | 219132 | } |
| 219125 | 219133 | #endif /* SQLITE_CORE */ |
| 219126 | 219134 | #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_STMTVTAB) */ |
| 219127 | 219135 | |
| 219128 | 219136 | /************** End of stmt.c ************************************************/ |
| 219129 | -#if __LINE__!=219129 | |
| 219137 | +#if __LINE__!=219137 | |
| 219130 | 219138 | #undef SQLITE_SOURCE_ID |
| 219131 | -#define SQLITE_SOURCE_ID "2018-09-15 04:01:47 b63af6c3bd33152742648d5d2e8dc5d5fcbcdd27df409272b6aea00a6f76alt2" | |
| 219139 | +#define SQLITE_SOURCE_ID "2018-09-18 20:20:44 2ac9003de44da7dafa3fbb1915ac5725a9275c86bf2f3b7aa19321bf1460alt2" | |
| 219132 | 219140 | #endif |
| 219133 | 219141 | /* Return the source-id for this library */ |
| 219134 | 219142 | SQLITE_API const char *sqlite3_sourceid(void){ return SQLITE_SOURCE_ID; } |
| 219135 | 219143 | /************************** End of sqlite3.c ******************************/ |
| 219136 | 219144 |
| --- src/sqlite3.c | |
| +++ src/sqlite3.c | |
| @@ -1,8 +1,8 @@ | |
| 1 | /****************************************************************************** |
| 2 | ** This file is an amalgamation of many separate C source files from SQLite |
| 3 | ** version 3.25.0. By combining all the individual C code files into this |
| 4 | ** single large file, the entire code can be compiled as a single translation |
| 5 | ** unit. This allows many compilers to do optimizations that would not be |
| 6 | ** possible if the files were compiled separately. Performance improvements |
| 7 | ** of 5% or more are commonly seen when SQLite is compiled as a single |
| 8 | ** translation unit. |
| @@ -1154,13 +1154,13 @@ | |
| 1154 | ** |
| 1155 | ** See also: [sqlite3_libversion()], |
| 1156 | ** [sqlite3_libversion_number()], [sqlite3_sourceid()], |
| 1157 | ** [sqlite_version()] and [sqlite_source_id()]. |
| 1158 | */ |
| 1159 | #define SQLITE_VERSION "3.25.0" |
| 1160 | #define SQLITE_VERSION_NUMBER 3025000 |
| 1161 | #define SQLITE_SOURCE_ID "2018-09-15 04:01:47 b63af6c3bd33152742648d5d2e8dc5d5fcbcdd27df409272b6aea00a6f761760" |
| 1162 | |
| 1163 | /* |
| 1164 | ** CAPI3REF: Run-Time Library Version Numbers |
| 1165 | ** KEYWORDS: sqlite3_version sqlite3_sourceid |
| 1166 | ** |
| @@ -102203,11 +102203,11 @@ | |
| 102203 | } |
| 102204 | if( rc==SQLITE_OK && pStep->zTarget ){ |
| 102205 | Table *pTarget = sqlite3LocateTable(pParse, 0, pStep->zTarget, zDb); |
| 102206 | if( pTarget==0 ){ |
| 102207 | rc = SQLITE_ERROR; |
| 102208 | }else{ |
| 102209 | SrcList sSrc; |
| 102210 | memset(&sSrc, 0, sizeof(sSrc)); |
| 102211 | sSrc.nSrc = 1; |
| 102212 | sSrc.a[0].zName = pStep->zTarget; |
| 102213 | sSrc.a[0].pTab = pTarget; |
| @@ -107849,10 +107849,14 @@ | |
| 107849 | ** statement that defines the view. |
| 107850 | */ |
| 107851 | assert( pTable->pSelect ); |
| 107852 | pSel = sqlite3SelectDup(db, pTable->pSelect, 0); |
| 107853 | if( pSel ){ |
| 107854 | n = pParse->nTab; |
| 107855 | sqlite3SrcListAssignCursors(pParse, pSel->pSrc); |
| 107856 | pTable->nCol = -1; |
| 107857 | db->lookaside.bDisable++; |
| 107858 | #ifndef SQLITE_OMIT_AUTHORIZATION |
| @@ -107894,10 +107898,13 @@ | |
| 107894 | nErr++; |
| 107895 | } |
| 107896 | sqlite3DeleteTable(db, pSelTab); |
| 107897 | sqlite3SelectDelete(db, pSel); |
| 107898 | db->lookaside.bDisable--; |
| 107899 | } else { |
| 107900 | nErr++; |
| 107901 | } |
| 107902 | pTable->pSchema->schemaFlags |= DB_UnresetViews; |
| 107903 | if( db->mallocFailed ){ |
| @@ -129181,10 +129188,11 @@ | |
| 129181 | sqlite3WindowCodeStep(pParse, p, pWInfo, regGosub, addrGosub); |
| 129182 | |
| 129183 | sqlite3VdbeAddOp2(v, OP_Goto, 0, iBreak); |
| 129184 | sqlite3VdbeResolveLabel(v, addrGosub); |
| 129185 | VdbeNoopComment((v, "inner-loop subroutine")); |
| 129186 | selectInnerLoop(pParse, p, -1, &sSort, &sDistinct, pDest, iCont, iBreak); |
| 129187 | sqlite3VdbeResolveLabel(v, iCont); |
| 129188 | sqlite3VdbeAddOp1(v, OP_Return, regGosub); |
| 129189 | VdbeComment((v, "end inner-loop subroutine")); |
| 129190 | sqlite3VdbeResolveLabel(v, iBreak); |
| @@ -214414,11 +214422,11 @@ | |
| 214414 | int nArg, /* Number of args */ |
| 214415 | sqlite3_value **apUnused /* Function arguments */ |
| 214416 | ){ |
| 214417 | assert( nArg==0 ); |
| 214418 | UNUSED_PARAM2(nArg, apUnused); |
| 214419 | sqlite3_result_text(pCtx, "fts5: 2018-09-15 04:01:47 b63af6c3bd33152742648d5d2e8dc5d5fcbcdd27df409272b6aea00a6f761760", -1, SQLITE_TRANSIENT); |
| 214420 | } |
| 214421 | |
| 214422 | static int fts5Init(sqlite3 *db){ |
| 214423 | static const sqlite3_module fts5Mod = { |
| 214424 | /* iVersion */ 2, |
| @@ -219124,12 +219132,12 @@ | |
| 219124 | } |
| 219125 | #endif /* SQLITE_CORE */ |
| 219126 | #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_STMTVTAB) */ |
| 219127 | |
| 219128 | /************** End of stmt.c ************************************************/ |
| 219129 | #if __LINE__!=219129 |
| 219130 | #undef SQLITE_SOURCE_ID |
| 219131 | #define SQLITE_SOURCE_ID "2018-09-15 04:01:47 b63af6c3bd33152742648d5d2e8dc5d5fcbcdd27df409272b6aea00a6f76alt2" |
| 219132 | #endif |
| 219133 | /* Return the source-id for this library */ |
| 219134 | SQLITE_API const char *sqlite3_sourceid(void){ return SQLITE_SOURCE_ID; } |
| 219135 | /************************** End of sqlite3.c ******************************/ |
| 219136 |
| --- src/sqlite3.c | |
| +++ src/sqlite3.c | |
| @@ -1,8 +1,8 @@ | |
| 1 | /****************************************************************************** |
| 2 | ** This file is an amalgamation of many separate C source files from SQLite |
| 3 | ** version 3.25.1. By combining all the individual C code files into this |
| 4 | ** single large file, the entire code can be compiled as a single translation |
| 5 | ** unit. This allows many compilers to do optimizations that would not be |
| 6 | ** possible if the files were compiled separately. Performance improvements |
| 7 | ** of 5% or more are commonly seen when SQLite is compiled as a single |
| 8 | ** translation unit. |
| @@ -1154,13 +1154,13 @@ | |
| 1154 | ** |
| 1155 | ** See also: [sqlite3_libversion()], |
| 1156 | ** [sqlite3_libversion_number()], [sqlite3_sourceid()], |
| 1157 | ** [sqlite_version()] and [sqlite_source_id()]. |
| 1158 | */ |
| 1159 | #define SQLITE_VERSION "3.25.1" |
| 1160 | #define SQLITE_VERSION_NUMBER 3025001 |
| 1161 | #define SQLITE_SOURCE_ID "2018-09-18 20:20:44 2ac9003de44da7dafa3fbb1915ac5725a9275c86bf2f3b7aa19321bf1460b386" |
| 1162 | |
| 1163 | /* |
| 1164 | ** CAPI3REF: Run-Time Library Version Numbers |
| 1165 | ** KEYWORDS: sqlite3_version sqlite3_sourceid |
| 1166 | ** |
| @@ -102203,11 +102203,11 @@ | |
| 102203 | } |
| 102204 | if( rc==SQLITE_OK && pStep->zTarget ){ |
| 102205 | Table *pTarget = sqlite3LocateTable(pParse, 0, pStep->zTarget, zDb); |
| 102206 | if( pTarget==0 ){ |
| 102207 | rc = SQLITE_ERROR; |
| 102208 | }else if( SQLITE_OK==(rc = sqlite3ViewGetColumnNames(pParse, pTarget)) ){ |
| 102209 | SrcList sSrc; |
| 102210 | memset(&sSrc, 0, sizeof(sSrc)); |
| 102211 | sSrc.nSrc = 1; |
| 102212 | sSrc.a[0].zName = pStep->zTarget; |
| 102213 | sSrc.a[0].pTab = pTarget; |
| @@ -107849,10 +107849,14 @@ | |
| 107849 | ** statement that defines the view. |
| 107850 | */ |
| 107851 | assert( pTable->pSelect ); |
| 107852 | pSel = sqlite3SelectDup(db, pTable->pSelect, 0); |
| 107853 | if( pSel ){ |
| 107854 | #ifndef SQLITE_OMIT_ALTERTABLE |
| 107855 | u8 eParseMode = pParse->eParseMode; |
| 107856 | pParse->eParseMode = PARSE_MODE_NORMAL; |
| 107857 | #endif |
| 107858 | n = pParse->nTab; |
| 107859 | sqlite3SrcListAssignCursors(pParse, pSel->pSrc); |
| 107860 | pTable->nCol = -1; |
| 107861 | db->lookaside.bDisable++; |
| 107862 | #ifndef SQLITE_OMIT_AUTHORIZATION |
| @@ -107894,10 +107898,13 @@ | |
| 107898 | nErr++; |
| 107899 | } |
| 107900 | sqlite3DeleteTable(db, pSelTab); |
| 107901 | sqlite3SelectDelete(db, pSel); |
| 107902 | db->lookaside.bDisable--; |
| 107903 | #ifndef SQLITE_OMIT_ALTERTABLE |
| 107904 | pParse->eParseMode = eParseMode; |
| 107905 | #endif |
| 107906 | } else { |
| 107907 | nErr++; |
| 107908 | } |
| 107909 | pTable->pSchema->schemaFlags |= DB_UnresetViews; |
| 107910 | if( db->mallocFailed ){ |
| @@ -129181,10 +129188,11 @@ | |
| 129188 | sqlite3WindowCodeStep(pParse, p, pWInfo, regGosub, addrGosub); |
| 129189 | |
| 129190 | sqlite3VdbeAddOp2(v, OP_Goto, 0, iBreak); |
| 129191 | sqlite3VdbeResolveLabel(v, addrGosub); |
| 129192 | VdbeNoopComment((v, "inner-loop subroutine")); |
| 129193 | sSort.labelOBLopt = 0; |
| 129194 | selectInnerLoop(pParse, p, -1, &sSort, &sDistinct, pDest, iCont, iBreak); |
| 129195 | sqlite3VdbeResolveLabel(v, iCont); |
| 129196 | sqlite3VdbeAddOp1(v, OP_Return, regGosub); |
| 129197 | VdbeComment((v, "end inner-loop subroutine")); |
| 129198 | sqlite3VdbeResolveLabel(v, iBreak); |
| @@ -214414,11 +214422,11 @@ | |
| 214422 | int nArg, /* Number of args */ |
| 214423 | sqlite3_value **apUnused /* Function arguments */ |
| 214424 | ){ |
| 214425 | assert( nArg==0 ); |
| 214426 | UNUSED_PARAM2(nArg, apUnused); |
| 214427 | sqlite3_result_text(pCtx, "fts5: 2018-09-18 20:20:44 2ac9003de44da7dafa3fbb1915ac5725a9275c86bf2f3b7aa19321bf1460b386", -1, SQLITE_TRANSIENT); |
| 214428 | } |
| 214429 | |
| 214430 | static int fts5Init(sqlite3 *db){ |
| 214431 | static const sqlite3_module fts5Mod = { |
| 214432 | /* iVersion */ 2, |
| @@ -219124,12 +219132,12 @@ | |
| 219132 | } |
| 219133 | #endif /* SQLITE_CORE */ |
| 219134 | #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_STMTVTAB) */ |
| 219135 | |
| 219136 | /************** End of stmt.c ************************************************/ |
| 219137 | #if __LINE__!=219137 |
| 219138 | #undef SQLITE_SOURCE_ID |
| 219139 | #define SQLITE_SOURCE_ID "2018-09-18 20:20:44 2ac9003de44da7dafa3fbb1915ac5725a9275c86bf2f3b7aa19321bf1460alt2" |
| 219140 | #endif |
| 219141 | /* Return the source-id for this library */ |
| 219142 | SQLITE_API const char *sqlite3_sourceid(void){ return SQLITE_SOURCE_ID; } |
| 219143 | /************************** End of sqlite3.c ******************************/ |
| 219144 |
+3
-3
| --- src/sqlite3.h | ||
| +++ src/sqlite3.h | ||
| @@ -121,13 +121,13 @@ | ||
| 121 | 121 | ** |
| 122 | 122 | ** See also: [sqlite3_libversion()], |
| 123 | 123 | ** [sqlite3_libversion_number()], [sqlite3_sourceid()], |
| 124 | 124 | ** [sqlite_version()] and [sqlite_source_id()]. |
| 125 | 125 | */ |
| 126 | -#define SQLITE_VERSION "3.25.0" | |
| 127 | -#define SQLITE_VERSION_NUMBER 3025000 | |
| 128 | -#define SQLITE_SOURCE_ID "2018-09-15 04:01:47 b63af6c3bd33152742648d5d2e8dc5d5fcbcdd27df409272b6aea00a6f761760" | |
| 126 | +#define SQLITE_VERSION "3.25.1" | |
| 127 | +#define SQLITE_VERSION_NUMBER 3025001 | |
| 128 | +#define SQLITE_SOURCE_ID "2018-09-18 20:20:44 2ac9003de44da7dafa3fbb1915ac5725a9275c86bf2f3b7aa19321bf1460b386" | |
| 129 | 129 | |
| 130 | 130 | /* |
| 131 | 131 | ** CAPI3REF: Run-Time Library Version Numbers |
| 132 | 132 | ** KEYWORDS: sqlite3_version sqlite3_sourceid |
| 133 | 133 | ** |
| 134 | 134 |
| --- src/sqlite3.h | |
| +++ src/sqlite3.h | |
| @@ -121,13 +121,13 @@ | |
| 121 | ** |
| 122 | ** See also: [sqlite3_libversion()], |
| 123 | ** [sqlite3_libversion_number()], [sqlite3_sourceid()], |
| 124 | ** [sqlite_version()] and [sqlite_source_id()]. |
| 125 | */ |
| 126 | #define SQLITE_VERSION "3.25.0" |
| 127 | #define SQLITE_VERSION_NUMBER 3025000 |
| 128 | #define SQLITE_SOURCE_ID "2018-09-15 04:01:47 b63af6c3bd33152742648d5d2e8dc5d5fcbcdd27df409272b6aea00a6f761760" |
| 129 | |
| 130 | /* |
| 131 | ** CAPI3REF: Run-Time Library Version Numbers |
| 132 | ** KEYWORDS: sqlite3_version sqlite3_sourceid |
| 133 | ** |
| 134 |
| --- src/sqlite3.h | |
| +++ src/sqlite3.h | |
| @@ -121,13 +121,13 @@ | |
| 121 | ** |
| 122 | ** See also: [sqlite3_libversion()], |
| 123 | ** [sqlite3_libversion_number()], [sqlite3_sourceid()], |
| 124 | ** [sqlite_version()] and [sqlite_source_id()]. |
| 125 | */ |
| 126 | #define SQLITE_VERSION "3.25.1" |
| 127 | #define SQLITE_VERSION_NUMBER 3025001 |
| 128 | #define SQLITE_SOURCE_ID "2018-09-18 20:20:44 2ac9003de44da7dafa3fbb1915ac5725a9275c86bf2f3b7aa19321bf1460b386" |
| 129 | |
| 130 | /* |
| 131 | ** CAPI3REF: Run-Time Library Version Numbers |
| 132 | ** KEYWORDS: sqlite3_version sqlite3_sourceid |
| 133 | ** |
| 134 |
+32
-73
| --- win/Makefile.msc | ||
| +++ win/Makefile.msc | ||
| @@ -99,77 +99,41 @@ | ||
| 99 | 99 | USE_SEE = 0 |
| 100 | 100 | !endif |
| 101 | 101 | |
| 102 | 102 | !if $(FOSSIL_ENABLE_SSL)!=0 |
| 103 | 103 | SSLDIR = $(B)\compat\openssl-1.1.1 |
| 104 | -SSLINCDIR = $(SSLDIR)\inc32 | |
| 105 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 106 | -SSLLIBDIR = $(SSLDIR)\out32dll | |
| 107 | -!else | |
| 108 | -SSLLIBDIR = $(SSLDIR)\out32 | |
| 109 | -!endif | |
| 110 | -SSLLFLAGS = /nologo /opt:ref /debug | |
| 111 | -SSLLIB = ssleay32.lib libeay32.lib user32.lib gdi32.lib crypt32.lib | |
| 112 | -!if "$(PLATFORM)"=="amd64" || "$(PLATFORM)"=="x64" | |
| 113 | -!message Using 'x64' platform for OpenSSL... | |
| 114 | -# BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. | |
| 115 | -# SSLCONFIG = VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers | |
| 116 | -SSLCONFIG = VC-WIN64A no-asm | |
| 117 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 118 | -SSLCONFIG = $(SSLCONFIG) shared | |
| 119 | -!else | |
| 120 | -SSLCONFIG = $(SSLCONFIG) no-shared | |
| 121 | -!endif | |
| 122 | -SSLSETUP = ms\do_win64a.bat | |
| 123 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 124 | -SSLNMAKE = ms\ntdll.mak all | |
| 125 | -!else | |
| 126 | -SSLNMAKE = ms\nt.mak all | |
| 127 | -!endif | |
| 128 | -# BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. | |
| 129 | -!if $(FOSSIL_DYNAMIC_BUILD)==0 | |
| 130 | -SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS | |
| 131 | -!endif | |
| 132 | -!elseif "$(PLATFORM)"=="ia64" | |
| 133 | -!message Using 'ia64' platform for OpenSSL... | |
| 134 | -# BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. | |
| 135 | -# SSLCONFIG = VC-WIN64I no-asm no-ssl3 no-weak-ssl-ciphers | |
| 136 | -SSLCONFIG = VC-WIN64I no-asm | |
| 137 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 138 | -SSLCONFIG = $(SSLCONFIG) shared | |
| 139 | -!else | |
| 140 | -SSLCONFIG = $(SSLCONFIG) no-shared | |
| 141 | -!endif | |
| 142 | -SSLSETUP = ms\do_win64i.bat | |
| 143 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 144 | -SSLNMAKE = ms\ntdll.mak all | |
| 145 | -!else | |
| 146 | -SSLNMAKE = ms\nt.mak all | |
| 147 | -!endif | |
| 148 | -# BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. | |
| 149 | -!if $(FOSSIL_DYNAMIC_BUILD)==0 | |
| 150 | -SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS | |
| 151 | -!endif | |
| 152 | -!else | |
| 153 | -!message Assuming 'x86' platform for OpenSSL... | |
| 154 | -# BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. | |
| 155 | -# SSLCONFIG = VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers | |
| 156 | -SSLCONFIG = VC-WIN32 no-asm | |
| 157 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 158 | -SSLCONFIG = $(SSLCONFIG) shared | |
| 159 | -!else | |
| 160 | -SSLCONFIG = $(SSLCONFIG) no-shared | |
| 161 | -!endif | |
| 162 | -SSLSETUP = ms\do_ms.bat | |
| 163 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 164 | -SSLNMAKE = ms\ntdll.mak all | |
| 165 | -!else | |
| 166 | -SSLNMAKE = ms\nt.mak all | |
| 167 | -!endif | |
| 168 | -# BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. | |
| 169 | -!if $(FOSSIL_DYNAMIC_BUILD)==0 | |
| 170 | -SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS | |
| 104 | +SSLINCDIR = $(SSLDIR)\include | |
| 105 | +!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 106 | +SSLLIBDIR = $(SSLDIR) | |
| 107 | +!else | |
| 108 | +SSLLIBDIR = $(SSLDIR) | |
| 109 | +!endif | |
| 110 | +SSLLFLAGS = /nologo /opt:ref /debug | |
| 111 | +SSLLIB = libssl.lib libcrypto.lib user32.lib gdi32.lib crypt32.lib | |
| 112 | +!if "$(PLATFORM)"=="amd64" || "$(PLATFORM)"=="x64" | |
| 113 | +!message Using 'x64' platform for OpenSSL... | |
| 114 | +SSLCONFIG = VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers | |
| 115 | +!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 116 | +SSLCONFIG = $(SSLCONFIG) shared | |
| 117 | +!else | |
| 118 | +SSLCONFIG = $(SSLCONFIG) no-shared | |
| 119 | +!endif | |
| 120 | +!elseif "$(PLATFORM)"=="ia64" | |
| 121 | +!message Using 'ia64' platform for OpenSSL... | |
| 122 | +SSLCONFIG = VC-WIN64I no-asm no-ssl3 no-weak-ssl-ciphers | |
| 123 | +!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 124 | +SSLCONFIG = $(SSLCONFIG) shared | |
| 125 | +!else | |
| 126 | +SSLCONFIG = $(SSLCONFIG) no-shared | |
| 127 | +!endif | |
| 128 | +!else | |
| 129 | +!message Assuming 'x86' platform for OpenSSL... | |
| 130 | +SSLCONFIG = VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers | |
| 131 | +!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 132 | +SSLCONFIG = $(SSLCONFIG) shared | |
| 133 | +!else | |
| 134 | +SSLCONFIG = $(SSLCONFIG) no-shared | |
| 171 | 135 | !endif |
| 172 | 136 | !endif |
| 173 | 137 | !endif |
| 174 | 138 | |
| 175 | 139 | !if $(FOSSIL_ENABLE_TCL)!=0 |
| @@ -754,16 +718,11 @@ | ||
| 754 | 718 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 755 | 719 | !if "$(PERLDIR)" != "" |
| 756 | 720 | @set PATH=$(PERLDIR);$(PATH) |
| 757 | 721 | !endif |
| 758 | 722 | @pushd "$(SSLDIR)" && $(PERL) Configure $(SSLCONFIG) && popd |
| 759 | - @pushd "$(SSLDIR)" && call $(SSLSETUP) && popd | |
| 760 | -!if $(FOSSIL_ENABLE_WINXP)!=0 | |
| 761 | - @pushd "$(SSLDIR)" && $(MAKE) /f $(SSLNMAKE) "CC=cl $(SSLCFLAGS) $(XPCFLAGS)" "LFLAGS=$(SSLLFLAGS) $(XPLDFLAGS)" && popd | |
| 762 | -!else | |
| 763 | - @pushd "$(SSLDIR)" && $(MAKE) /f $(SSLNMAKE) "CC=cl $(SSLCFLAGS)" && popd | |
| 764 | -!endif | |
| 723 | + @pushd "$(SSLDIR)" && $(MAKE) && popd | |
| 765 | 724 | !endif |
| 766 | 725 | |
| 767 | 726 | !if $(FOSSIL_ENABLE_MINIZ)==0 |
| 768 | 727 | !if $(FOSSIL_BUILD_ZLIB)!=0 |
| 769 | 728 | APPTARGETS = $(APPTARGETS) zlib |
| 770 | 729 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -99,77 +99,41 @@ | |
| 99 | USE_SEE = 0 |
| 100 | !endif |
| 101 | |
| 102 | !if $(FOSSIL_ENABLE_SSL)!=0 |
| 103 | SSLDIR = $(B)\compat\openssl-1.1.1 |
| 104 | SSLINCDIR = $(SSLDIR)\inc32 |
| 105 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 106 | SSLLIBDIR = $(SSLDIR)\out32dll |
| 107 | !else |
| 108 | SSLLIBDIR = $(SSLDIR)\out32 |
| 109 | !endif |
| 110 | SSLLFLAGS = /nologo /opt:ref /debug |
| 111 | SSLLIB = ssleay32.lib libeay32.lib user32.lib gdi32.lib crypt32.lib |
| 112 | !if "$(PLATFORM)"=="amd64" || "$(PLATFORM)"=="x64" |
| 113 | !message Using 'x64' platform for OpenSSL... |
| 114 | # BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. |
| 115 | # SSLCONFIG = VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers |
| 116 | SSLCONFIG = VC-WIN64A no-asm |
| 117 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 118 | SSLCONFIG = $(SSLCONFIG) shared |
| 119 | !else |
| 120 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 121 | !endif |
| 122 | SSLSETUP = ms\do_win64a.bat |
| 123 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 124 | SSLNMAKE = ms\ntdll.mak all |
| 125 | !else |
| 126 | SSLNMAKE = ms\nt.mak all |
| 127 | !endif |
| 128 | # BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. |
| 129 | !if $(FOSSIL_DYNAMIC_BUILD)==0 |
| 130 | SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS |
| 131 | !endif |
| 132 | !elseif "$(PLATFORM)"=="ia64" |
| 133 | !message Using 'ia64' platform for OpenSSL... |
| 134 | # BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. |
| 135 | # SSLCONFIG = VC-WIN64I no-asm no-ssl3 no-weak-ssl-ciphers |
| 136 | SSLCONFIG = VC-WIN64I no-asm |
| 137 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 138 | SSLCONFIG = $(SSLCONFIG) shared |
| 139 | !else |
| 140 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 141 | !endif |
| 142 | SSLSETUP = ms\do_win64i.bat |
| 143 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 144 | SSLNMAKE = ms\ntdll.mak all |
| 145 | !else |
| 146 | SSLNMAKE = ms\nt.mak all |
| 147 | !endif |
| 148 | # BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. |
| 149 | !if $(FOSSIL_DYNAMIC_BUILD)==0 |
| 150 | SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS |
| 151 | !endif |
| 152 | !else |
| 153 | !message Assuming 'x86' platform for OpenSSL... |
| 154 | # BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. |
| 155 | # SSLCONFIG = VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers |
| 156 | SSLCONFIG = VC-WIN32 no-asm |
| 157 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 158 | SSLCONFIG = $(SSLCONFIG) shared |
| 159 | !else |
| 160 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 161 | !endif |
| 162 | SSLSETUP = ms\do_ms.bat |
| 163 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 164 | SSLNMAKE = ms\ntdll.mak all |
| 165 | !else |
| 166 | SSLNMAKE = ms\nt.mak all |
| 167 | !endif |
| 168 | # BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. |
| 169 | !if $(FOSSIL_DYNAMIC_BUILD)==0 |
| 170 | SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS |
| 171 | !endif |
| 172 | !endif |
| 173 | !endif |
| 174 | |
| 175 | !if $(FOSSIL_ENABLE_TCL)!=0 |
| @@ -754,16 +718,11 @@ | |
| 754 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 755 | !if "$(PERLDIR)" != "" |
| 756 | @set PATH=$(PERLDIR);$(PATH) |
| 757 | !endif |
| 758 | @pushd "$(SSLDIR)" && $(PERL) Configure $(SSLCONFIG) && popd |
| 759 | @pushd "$(SSLDIR)" && call $(SSLSETUP) && popd |
| 760 | !if $(FOSSIL_ENABLE_WINXP)!=0 |
| 761 | @pushd "$(SSLDIR)" && $(MAKE) /f $(SSLNMAKE) "CC=cl $(SSLCFLAGS) $(XPCFLAGS)" "LFLAGS=$(SSLLFLAGS) $(XPLDFLAGS)" && popd |
| 762 | !else |
| 763 | @pushd "$(SSLDIR)" && $(MAKE) /f $(SSLNMAKE) "CC=cl $(SSLCFLAGS)" && popd |
| 764 | !endif |
| 765 | !endif |
| 766 | |
| 767 | !if $(FOSSIL_ENABLE_MINIZ)==0 |
| 768 | !if $(FOSSIL_BUILD_ZLIB)!=0 |
| 769 | APPTARGETS = $(APPTARGETS) zlib |
| 770 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -99,77 +99,41 @@ | |
| 99 | USE_SEE = 0 |
| 100 | !endif |
| 101 | |
| 102 | !if $(FOSSIL_ENABLE_SSL)!=0 |
| 103 | SSLDIR = $(B)\compat\openssl-1.1.1 |
| 104 | SSLINCDIR = $(SSLDIR)\include |
| 105 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 106 | SSLLIBDIR = $(SSLDIR) |
| 107 | !else |
| 108 | SSLLIBDIR = $(SSLDIR) |
| 109 | !endif |
| 110 | SSLLFLAGS = /nologo /opt:ref /debug |
| 111 | SSLLIB = libssl.lib libcrypto.lib user32.lib gdi32.lib crypt32.lib |
| 112 | !if "$(PLATFORM)"=="amd64" || "$(PLATFORM)"=="x64" |
| 113 | !message Using 'x64' platform for OpenSSL... |
| 114 | SSLCONFIG = VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers |
| 115 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 116 | SSLCONFIG = $(SSLCONFIG) shared |
| 117 | !else |
| 118 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 119 | !endif |
| 120 | !elseif "$(PLATFORM)"=="ia64" |
| 121 | !message Using 'ia64' platform for OpenSSL... |
| 122 | SSLCONFIG = VC-WIN64I no-asm no-ssl3 no-weak-ssl-ciphers |
| 123 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 124 | SSLCONFIG = $(SSLCONFIG) shared |
| 125 | !else |
| 126 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 127 | !endif |
| 128 | !else |
| 129 | !message Assuming 'x86' platform for OpenSSL... |
| 130 | SSLCONFIG = VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers |
| 131 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 132 | SSLCONFIG = $(SSLCONFIG) shared |
| 133 | !else |
| 134 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 135 | !endif |
| 136 | !endif |
| 137 | !endif |
| 138 | |
| 139 | !if $(FOSSIL_ENABLE_TCL)!=0 |
| @@ -754,16 +718,11 @@ | |
| 718 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 719 | !if "$(PERLDIR)" != "" |
| 720 | @set PATH=$(PERLDIR);$(PATH) |
| 721 | !endif |
| 722 | @pushd "$(SSLDIR)" && $(PERL) Configure $(SSLCONFIG) && popd |
| 723 | @pushd "$(SSLDIR)" && $(MAKE) && popd |
| 724 | !endif |
| 725 | |
| 726 | !if $(FOSSIL_ENABLE_MINIZ)==0 |
| 727 | !if $(FOSSIL_BUILD_ZLIB)!=0 |
| 728 | APPTARGETS = $(APPTARGETS) zlib |
| 729 |
+32
-73
| --- win/Makefile.msc | ||
| +++ win/Makefile.msc | ||
| @@ -99,77 +99,41 @@ | ||
| 99 | 99 | USE_SEE = 0 |
| 100 | 100 | !endif |
| 101 | 101 | |
| 102 | 102 | !if $(FOSSIL_ENABLE_SSL)!=0 |
| 103 | 103 | SSLDIR = $(B)\compat\openssl-1.1.1 |
| 104 | -SSLINCDIR = $(SSLDIR)\inc32 | |
| 105 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 106 | -SSLLIBDIR = $(SSLDIR)\out32dll | |
| 107 | -!else | |
| 108 | -SSLLIBDIR = $(SSLDIR)\out32 | |
| 109 | -!endif | |
| 110 | -SSLLFLAGS = /nologo /opt:ref /debug | |
| 111 | -SSLLIB = ssleay32.lib libeay32.lib user32.lib gdi32.lib crypt32.lib | |
| 112 | -!if "$(PLATFORM)"=="amd64" || "$(PLATFORM)"=="x64" | |
| 113 | -!message Using 'x64' platform for OpenSSL... | |
| 114 | -# BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. | |
| 115 | -# SSLCONFIG = VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers | |
| 116 | -SSLCONFIG = VC-WIN64A no-asm | |
| 117 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 118 | -SSLCONFIG = $(SSLCONFIG) shared | |
| 119 | -!else | |
| 120 | -SSLCONFIG = $(SSLCONFIG) no-shared | |
| 121 | -!endif | |
| 122 | -SSLSETUP = ms\do_win64a.bat | |
| 123 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 124 | -SSLNMAKE = ms\ntdll.mak all | |
| 125 | -!else | |
| 126 | -SSLNMAKE = ms\nt.mak all | |
| 127 | -!endif | |
| 128 | -# BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. | |
| 129 | -!if $(FOSSIL_DYNAMIC_BUILD)==0 | |
| 130 | -SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS | |
| 131 | -!endif | |
| 132 | -!elseif "$(PLATFORM)"=="ia64" | |
| 133 | -!message Using 'ia64' platform for OpenSSL... | |
| 134 | -# BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. | |
| 135 | -# SSLCONFIG = VC-WIN64I no-asm no-ssl3 no-weak-ssl-ciphers | |
| 136 | -SSLCONFIG = VC-WIN64I no-asm | |
| 137 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 138 | -SSLCONFIG = $(SSLCONFIG) shared | |
| 139 | -!else | |
| 140 | -SSLCONFIG = $(SSLCONFIG) no-shared | |
| 141 | -!endif | |
| 142 | -SSLSETUP = ms\do_win64i.bat | |
| 143 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 144 | -SSLNMAKE = ms\ntdll.mak all | |
| 145 | -!else | |
| 146 | -SSLNMAKE = ms\nt.mak all | |
| 147 | -!endif | |
| 148 | -# BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. | |
| 149 | -!if $(FOSSIL_DYNAMIC_BUILD)==0 | |
| 150 | -SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS | |
| 151 | -!endif | |
| 152 | -!else | |
| 153 | -!message Assuming 'x86' platform for OpenSSL... | |
| 154 | -# BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. | |
| 155 | -# SSLCONFIG = VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers | |
| 156 | -SSLCONFIG = VC-WIN32 no-asm | |
| 157 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 158 | -SSLCONFIG = $(SSLCONFIG) shared | |
| 159 | -!else | |
| 160 | -SSLCONFIG = $(SSLCONFIG) no-shared | |
| 161 | -!endif | |
| 162 | -SSLSETUP = ms\do_ms.bat | |
| 163 | -!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 164 | -SSLNMAKE = ms\ntdll.mak all | |
| 165 | -!else | |
| 166 | -SSLNMAKE = ms\nt.mak all | |
| 167 | -!endif | |
| 168 | -# BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. | |
| 169 | -!if $(FOSSIL_DYNAMIC_BUILD)==0 | |
| 170 | -SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS | |
| 104 | +SSLINCDIR = $(SSLDIR)\include | |
| 105 | +!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 106 | +SSLLIBDIR = $(SSLDIR) | |
| 107 | +!else | |
| 108 | +SSLLIBDIR = $(SSLDIR) | |
| 109 | +!endif | |
| 110 | +SSLLFLAGS = /nologo /opt:ref /debug | |
| 111 | +SSLLIB = libssl.lib libcrypto.lib user32.lib gdi32.lib crypt32.lib | |
| 112 | +!if "$(PLATFORM)"=="amd64" || "$(PLATFORM)"=="x64" | |
| 113 | +!message Using 'x64' platform for OpenSSL... | |
| 114 | +SSLCONFIG = VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers | |
| 115 | +!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 116 | +SSLCONFIG = $(SSLCONFIG) shared | |
| 117 | +!else | |
| 118 | +SSLCONFIG = $(SSLCONFIG) no-shared | |
| 119 | +!endif | |
| 120 | +!elseif "$(PLATFORM)"=="ia64" | |
| 121 | +!message Using 'ia64' platform for OpenSSL... | |
| 122 | +SSLCONFIG = VC-WIN64I no-asm no-ssl3 no-weak-ssl-ciphers | |
| 123 | +!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 124 | +SSLCONFIG = $(SSLCONFIG) shared | |
| 125 | +!else | |
| 126 | +SSLCONFIG = $(SSLCONFIG) no-shared | |
| 127 | +!endif | |
| 128 | +!else | |
| 129 | +!message Assuming 'x86' platform for OpenSSL... | |
| 130 | +SSLCONFIG = VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers | |
| 131 | +!if $(FOSSIL_DYNAMIC_BUILD)!=0 | |
| 132 | +SSLCONFIG = $(SSLCONFIG) shared | |
| 133 | +!else | |
| 134 | +SSLCONFIG = $(SSLCONFIG) no-shared | |
| 171 | 135 | !endif |
| 172 | 136 | !endif |
| 173 | 137 | !endif |
| 174 | 138 | |
| 175 | 139 | !if $(FOSSIL_ENABLE_TCL)!=0 |
| @@ -754,16 +718,11 @@ | ||
| 754 | 718 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 755 | 719 | !if "$(PERLDIR)" != "" |
| 756 | 720 | @set PATH=$(PERLDIR);$(PATH) |
| 757 | 721 | !endif |
| 758 | 722 | @pushd "$(SSLDIR)" && $(PERL) Configure $(SSLCONFIG) && popd |
| 759 | - @pushd "$(SSLDIR)" && call $(SSLSETUP) && popd | |
| 760 | -!if $(FOSSIL_ENABLE_WINXP)!=0 | |
| 761 | - @pushd "$(SSLDIR)" && $(MAKE) /f $(SSLNMAKE) "CC=cl $(SSLCFLAGS) $(XPCFLAGS)" "LFLAGS=$(SSLLFLAGS) $(XPLDFLAGS)" && popd | |
| 762 | -!else | |
| 763 | - @pushd "$(SSLDIR)" && $(MAKE) /f $(SSLNMAKE) "CC=cl $(SSLCFLAGS)" && popd | |
| 764 | -!endif | |
| 723 | + @pushd "$(SSLDIR)" && $(MAKE) && popd | |
| 765 | 724 | !endif |
| 766 | 725 | |
| 767 | 726 | !if $(FOSSIL_ENABLE_MINIZ)==0 |
| 768 | 727 | !if $(FOSSIL_BUILD_ZLIB)!=0 |
| 769 | 728 | APPTARGETS = $(APPTARGETS) zlib |
| 770 | 729 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -99,77 +99,41 @@ | |
| 99 | USE_SEE = 0 |
| 100 | !endif |
| 101 | |
| 102 | !if $(FOSSIL_ENABLE_SSL)!=0 |
| 103 | SSLDIR = $(B)\compat\openssl-1.1.1 |
| 104 | SSLINCDIR = $(SSLDIR)\inc32 |
| 105 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 106 | SSLLIBDIR = $(SSLDIR)\out32dll |
| 107 | !else |
| 108 | SSLLIBDIR = $(SSLDIR)\out32 |
| 109 | !endif |
| 110 | SSLLFLAGS = /nologo /opt:ref /debug |
| 111 | SSLLIB = ssleay32.lib libeay32.lib user32.lib gdi32.lib crypt32.lib |
| 112 | !if "$(PLATFORM)"=="amd64" || "$(PLATFORM)"=="x64" |
| 113 | !message Using 'x64' platform for OpenSSL... |
| 114 | # BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. |
| 115 | # SSLCONFIG = VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers |
| 116 | SSLCONFIG = VC-WIN64A no-asm |
| 117 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 118 | SSLCONFIG = $(SSLCONFIG) shared |
| 119 | !else |
| 120 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 121 | !endif |
| 122 | SSLSETUP = ms\do_win64a.bat |
| 123 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 124 | SSLNMAKE = ms\ntdll.mak all |
| 125 | !else |
| 126 | SSLNMAKE = ms\nt.mak all |
| 127 | !endif |
| 128 | # BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. |
| 129 | !if $(FOSSIL_DYNAMIC_BUILD)==0 |
| 130 | SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS |
| 131 | !endif |
| 132 | !elseif "$(PLATFORM)"=="ia64" |
| 133 | !message Using 'ia64' platform for OpenSSL... |
| 134 | # BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. |
| 135 | # SSLCONFIG = VC-WIN64I no-asm no-ssl3 no-weak-ssl-ciphers |
| 136 | SSLCONFIG = VC-WIN64I no-asm |
| 137 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 138 | SSLCONFIG = $(SSLCONFIG) shared |
| 139 | !else |
| 140 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 141 | !endif |
| 142 | SSLSETUP = ms\do_win64i.bat |
| 143 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 144 | SSLNMAKE = ms\ntdll.mak all |
| 145 | !else |
| 146 | SSLNMAKE = ms\nt.mak all |
| 147 | !endif |
| 148 | # BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. |
| 149 | !if $(FOSSIL_DYNAMIC_BUILD)==0 |
| 150 | SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS |
| 151 | !endif |
| 152 | !else |
| 153 | !message Assuming 'x86' platform for OpenSSL... |
| 154 | # BUGBUG (OpenSSL): Using "no-ssl*" here breaks the build. |
| 155 | # SSLCONFIG = VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers |
| 156 | SSLCONFIG = VC-WIN32 no-asm |
| 157 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 158 | SSLCONFIG = $(SSLCONFIG) shared |
| 159 | !else |
| 160 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 161 | !endif |
| 162 | SSLSETUP = ms\do_ms.bat |
| 163 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 164 | SSLNMAKE = ms\ntdll.mak all |
| 165 | !else |
| 166 | SSLNMAKE = ms\nt.mak all |
| 167 | !endif |
| 168 | # BUGBUG (OpenSSL): Using "OPENSSL_NO_SSL*" here breaks dynamic builds. |
| 169 | !if $(FOSSIL_DYNAMIC_BUILD)==0 |
| 170 | SSLCFLAGS = -DOPENSSL_NO_SSL3 -DOPENSSL_NO_WEAK_SSL_CIPHERS |
| 171 | !endif |
| 172 | !endif |
| 173 | !endif |
| 174 | |
| 175 | !if $(FOSSIL_ENABLE_TCL)!=0 |
| @@ -754,16 +718,11 @@ | |
| 754 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 755 | !if "$(PERLDIR)" != "" |
| 756 | @set PATH=$(PERLDIR);$(PATH) |
| 757 | !endif |
| 758 | @pushd "$(SSLDIR)" && $(PERL) Configure $(SSLCONFIG) && popd |
| 759 | @pushd "$(SSLDIR)" && call $(SSLSETUP) && popd |
| 760 | !if $(FOSSIL_ENABLE_WINXP)!=0 |
| 761 | @pushd "$(SSLDIR)" && $(MAKE) /f $(SSLNMAKE) "CC=cl $(SSLCFLAGS) $(XPCFLAGS)" "LFLAGS=$(SSLLFLAGS) $(XPLDFLAGS)" && popd |
| 762 | !else |
| 763 | @pushd "$(SSLDIR)" && $(MAKE) /f $(SSLNMAKE) "CC=cl $(SSLCFLAGS)" && popd |
| 764 | !endif |
| 765 | !endif |
| 766 | |
| 767 | !if $(FOSSIL_ENABLE_MINIZ)==0 |
| 768 | !if $(FOSSIL_BUILD_ZLIB)!=0 |
| 769 | APPTARGETS = $(APPTARGETS) zlib |
| 770 |
| --- win/Makefile.msc | |
| +++ win/Makefile.msc | |
| @@ -99,77 +99,41 @@ | |
| 99 | USE_SEE = 0 |
| 100 | !endif |
| 101 | |
| 102 | !if $(FOSSIL_ENABLE_SSL)!=0 |
| 103 | SSLDIR = $(B)\compat\openssl-1.1.1 |
| 104 | SSLINCDIR = $(SSLDIR)\include |
| 105 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 106 | SSLLIBDIR = $(SSLDIR) |
| 107 | !else |
| 108 | SSLLIBDIR = $(SSLDIR) |
| 109 | !endif |
| 110 | SSLLFLAGS = /nologo /opt:ref /debug |
| 111 | SSLLIB = libssl.lib libcrypto.lib user32.lib gdi32.lib crypt32.lib |
| 112 | !if "$(PLATFORM)"=="amd64" || "$(PLATFORM)"=="x64" |
| 113 | !message Using 'x64' platform for OpenSSL... |
| 114 | SSLCONFIG = VC-WIN64A no-asm no-ssl3 no-weak-ssl-ciphers |
| 115 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 116 | SSLCONFIG = $(SSLCONFIG) shared |
| 117 | !else |
| 118 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 119 | !endif |
| 120 | !elseif "$(PLATFORM)"=="ia64" |
| 121 | !message Using 'ia64' platform for OpenSSL... |
| 122 | SSLCONFIG = VC-WIN64I no-asm no-ssl3 no-weak-ssl-ciphers |
| 123 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 124 | SSLCONFIG = $(SSLCONFIG) shared |
| 125 | !else |
| 126 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 127 | !endif |
| 128 | !else |
| 129 | !message Assuming 'x86' platform for OpenSSL... |
| 130 | SSLCONFIG = VC-WIN32 no-asm no-ssl3 no-weak-ssl-ciphers |
| 131 | !if $(FOSSIL_DYNAMIC_BUILD)!=0 |
| 132 | SSLCONFIG = $(SSLCONFIG) shared |
| 133 | !else |
| 134 | SSLCONFIG = $(SSLCONFIG) no-shared |
| 135 | !endif |
| 136 | !endif |
| 137 | !endif |
| 138 | |
| 139 | !if $(FOSSIL_ENABLE_TCL)!=0 |
| @@ -754,16 +718,11 @@ | |
| 718 | @echo Building OpenSSL from "$(SSLDIR)"... |
| 719 | !if "$(PERLDIR)" != "" |
| 720 | @set PATH=$(PERLDIR);$(PATH) |
| 721 | !endif |
| 722 | @pushd "$(SSLDIR)" && $(PERL) Configure $(SSLCONFIG) && popd |
| 723 | @pushd "$(SSLDIR)" && $(MAKE) && popd |
| 724 | !endif |
| 725 | |
| 726 | !if $(FOSSIL_ENABLE_MINIZ)==0 |
| 727 | !if $(FOSSIL_BUILD_ZLIB)!=0 |
| 728 | APPTARGETS = $(APPTARGETS) zlib |
| 729 |
+9
-5
| --- www/changes.wiki | ||
| +++ www/changes.wiki | ||
| @@ -1,23 +1,28 @@ | ||
| 1 | 1 | <title>Change Log</title> |
| 2 | 2 | |
| 3 | 3 | <a name='v2_7'></a> |
| 4 | -<h2>Changes for Version 2.7 (2018-09-??)</h2> | |
| 4 | +<h2>Changes for Version 2.7 (2018-09-22)</h2> | |
| 5 | 5 | |
| 6 | 6 | * Add the [./alerts.md|email alerts] feature for commits, ticket |
| 7 | 7 | changes, wiki changes, forum posts, and announcements. This is |
| 8 | - still a work in progress. It works, but it is not as easy to | |
| 8 | + still a work in progress. It is functional, but it is not as easy to | |
| 9 | 9 | setup and use as it ought to be. |
| 10 | 10 | * Add the [./forum.wiki|discussion forum] feature. |
| 11 | 11 | * Add new user capabilities letters needed to support alerts and forum. |
| 12 | 12 | Formerly, user capabilities were letters from [a-z], but with the |
| 13 | 13 | enhancements, the supply of lower case letters was exhausted. |
| 14 | 14 | User capabilities are now letters in [a-zA-Z0-9]. |
| 15 | - * The default skin is now responsive, providing better layout on | |
| 15 | + * The built-in skins are now responsive, providing better layout on | |
| 16 | 16 | small screens, including mobile devices. |
| 17 | 17 | * The default skin now includes a hamburger menu that is generated |
| 18 | 18 | by the [/sitemap] page. |
| 19 | + * All of the built-in skins now use a | |
| 20 | + [https://en.wikipedia.org/wiki/Content_Security_Policy|Content Security Policy (CSP)] | |
| 21 | + to help prevent cross-site injection and forgery attacks. There are no known | |
| 22 | + vulnerabilities in Fossil. The added CSP does not fix anything; it merely adds | |
| 23 | + another layer of defense. | |
| 19 | 24 | * The [/sitemap] and other list pages show as multiple columns if |
| 20 | 25 | the viewing window is wide enough. |
| 21 | 26 | * There is an optional "js" file for each skin that can be used to |
| 22 | 27 | hold javascript. This file can be loaded by reference or can be |
| 23 | 28 | included in the header or footer. |
| @@ -24,12 +29,11 @@ | ||
| 24 | 29 | * Add the [./backoffice.md|backoffice]. |
| 25 | 30 | * Update internal Unicode character tables, used in regular expression |
| 26 | 31 | handling, from version 10.0 to 11.0. |
| 27 | 32 | * Improvements to the "Security Audit" administration page |
| 28 | 33 | * Added the [/help?cmd=branch|fossil branch current] command. |
| 29 | - * Update the built-in SQLite to version 3.25.0. | |
| 30 | - * Add support for TLS 1.3, when compiled with OpenSSL 1.1.1. | |
| 34 | + * Update the built-in SQLite to version 3.25.1. | |
| 31 | 35 | * Some code and interfaces are in place to support sending and |
| 32 | 36 | receiving email directly via SMTP, but this feature is not yet |
| 33 | 37 | complete or ready for production use. |
| 34 | 38 | |
| 35 | 39 | <a name='v2_6'></a> |
| 36 | 40 |
| --- www/changes.wiki | |
| +++ www/changes.wiki | |
| @@ -1,23 +1,28 @@ | |
| 1 | <title>Change Log</title> |
| 2 | |
| 3 | <a name='v2_7'></a> |
| 4 | <h2>Changes for Version 2.7 (2018-09-??)</h2> |
| 5 | |
| 6 | * Add the [./alerts.md|email alerts] feature for commits, ticket |
| 7 | changes, wiki changes, forum posts, and announcements. This is |
| 8 | still a work in progress. It works, but it is not as easy to |
| 9 | setup and use as it ought to be. |
| 10 | * Add the [./forum.wiki|discussion forum] feature. |
| 11 | * Add new user capabilities letters needed to support alerts and forum. |
| 12 | Formerly, user capabilities were letters from [a-z], but with the |
| 13 | enhancements, the supply of lower case letters was exhausted. |
| 14 | User capabilities are now letters in [a-zA-Z0-9]. |
| 15 | * The default skin is now responsive, providing better layout on |
| 16 | small screens, including mobile devices. |
| 17 | * The default skin now includes a hamburger menu that is generated |
| 18 | by the [/sitemap] page. |
| 19 | * The [/sitemap] and other list pages show as multiple columns if |
| 20 | the viewing window is wide enough. |
| 21 | * There is an optional "js" file for each skin that can be used to |
| 22 | hold javascript. This file can be loaded by reference or can be |
| 23 | included in the header or footer. |
| @@ -24,12 +29,11 @@ | |
| 24 | * Add the [./backoffice.md|backoffice]. |
| 25 | * Update internal Unicode character tables, used in regular expression |
| 26 | handling, from version 10.0 to 11.0. |
| 27 | * Improvements to the "Security Audit" administration page |
| 28 | * Added the [/help?cmd=branch|fossil branch current] command. |
| 29 | * Update the built-in SQLite to version 3.25.0. |
| 30 | * Add support for TLS 1.3, when compiled with OpenSSL 1.1.1. |
| 31 | * Some code and interfaces are in place to support sending and |
| 32 | receiving email directly via SMTP, but this feature is not yet |
| 33 | complete or ready for production use. |
| 34 | |
| 35 | <a name='v2_6'></a> |
| 36 |
| --- www/changes.wiki | |
| +++ www/changes.wiki | |
| @@ -1,23 +1,28 @@ | |
| 1 | <title>Change Log</title> |
| 2 | |
| 3 | <a name='v2_7'></a> |
| 4 | <h2>Changes for Version 2.7 (2018-09-22)</h2> |
| 5 | |
| 6 | * Add the [./alerts.md|email alerts] feature for commits, ticket |
| 7 | changes, wiki changes, forum posts, and announcements. This is |
| 8 | still a work in progress. It is functional, but it is not as easy to |
| 9 | setup and use as it ought to be. |
| 10 | * Add the [./forum.wiki|discussion forum] feature. |
| 11 | * Add new user capabilities letters needed to support alerts and forum. |
| 12 | Formerly, user capabilities were letters from [a-z], but with the |
| 13 | enhancements, the supply of lower case letters was exhausted. |
| 14 | User capabilities are now letters in [a-zA-Z0-9]. |
| 15 | * The built-in skins are now responsive, providing better layout on |
| 16 | small screens, including mobile devices. |
| 17 | * The default skin now includes a hamburger menu that is generated |
| 18 | by the [/sitemap] page. |
| 19 | * All of the built-in skins now use a |
| 20 | [https://en.wikipedia.org/wiki/Content_Security_Policy|Content Security Policy (CSP)] |
| 21 | to help prevent cross-site injection and forgery attacks. There are no known |
| 22 | vulnerabilities in Fossil. The added CSP does not fix anything; it merely adds |
| 23 | another layer of defense. |
| 24 | * The [/sitemap] and other list pages show as multiple columns if |
| 25 | the viewing window is wide enough. |
| 26 | * There is an optional "js" file for each skin that can be used to |
| 27 | hold javascript. This file can be loaded by reference or can be |
| 28 | included in the header or footer. |
| @@ -24,12 +29,11 @@ | |
| 29 | * Add the [./backoffice.md|backoffice]. |
| 30 | * Update internal Unicode character tables, used in regular expression |
| 31 | handling, from version 10.0 to 11.0. |
| 32 | * Improvements to the "Security Audit" administration page |
| 33 | * Added the [/help?cmd=branch|fossil branch current] command. |
| 34 | * Update the built-in SQLite to version 3.25.1. |
| 35 | * Some code and interfaces are in place to support sending and |
| 36 | receiving email directly via SMTP, but this feature is not yet |
| 37 | complete or ready for production use. |
| 38 | |
| 39 | <a name='v2_6'></a> |
| 40 |
+1
-1
| --- www/index.wiki | ||
| +++ www/index.wiki | ||
| @@ -34,11 +34,11 @@ | ||
| 34 | 34 | Fossil has a built-in, |
| 35 | 35 | [https://fossil-scm.org/skins/index.html | themeable], |
| 36 | 36 | and intuitive [./webui.wiki | web interface] |
| 37 | 37 | with a rich variety of information pages |
| 38 | 38 | ([./webpage-ex.md|examples]) promoting situational awareness. |
| 39 | - | |
| 39 | + <p> | |
| 40 | 40 | This entire website is just a running instance of Fossil. |
| 41 | 41 | The pages you see here are all [./wikitheory.wiki | wiki] or |
| 42 | 42 | [./embeddeddoc.wiki | embedded documentation] or (in the case of |
| 43 | 43 | the [/uv/download.html|download] page) |
| 44 | 44 | [./unvers.wiki | unversioned files]. |
| 45 | 45 |
| --- www/index.wiki | |
| +++ www/index.wiki | |
| @@ -34,11 +34,11 @@ | |
| 34 | Fossil has a built-in, |
| 35 | [https://fossil-scm.org/skins/index.html | themeable], |
| 36 | and intuitive [./webui.wiki | web interface] |
| 37 | with a rich variety of information pages |
| 38 | ([./webpage-ex.md|examples]) promoting situational awareness. |
| 39 | |
| 40 | This entire website is just a running instance of Fossil. |
| 41 | The pages you see here are all [./wikitheory.wiki | wiki] or |
| 42 | [./embeddeddoc.wiki | embedded documentation] or (in the case of |
| 43 | the [/uv/download.html|download] page) |
| 44 | [./unvers.wiki | unversioned files]. |
| 45 |
| --- www/index.wiki | |
| +++ www/index.wiki | |
| @@ -34,11 +34,11 @@ | |
| 34 | Fossil has a built-in, |
| 35 | [https://fossil-scm.org/skins/index.html | themeable], |
| 36 | and intuitive [./webui.wiki | web interface] |
| 37 | with a rich variety of information pages |
| 38 | ([./webpage-ex.md|examples]) promoting situational awareness. |
| 39 | <p> |
| 40 | This entire website is just a running instance of Fossil. |
| 41 | The pages you see here are all [./wikitheory.wiki | wiki] or |
| 42 | [./embeddeddoc.wiki | embedded documentation] or (in the case of |
| 43 | the [/uv/download.html|download] page) |
| 44 | [./unvers.wiki | unversioned files]. |
| 45 |