Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch patmaddox/search-branches Excluding Merge-Ins
This is equivalent to a diff from 94c8af02ea to 3de86b7676
2024-08-31
| ||
17:30 | Revert the temporary fix [9866c97b35] as the underlying problem has been resolved in SQLite. ... (check-in: ecaeb31f51 user: florian tags: trunk) | |
2024-08-30
| ||
09:39 | Proposed fix for the search branch bug reported in [forum:520d420d04e482b2|forum post 520d420d04]. This seems to work but could use more testing. To hit the affected query, first run (fossil fts-config index off) then (fossil search -fts ...terms...). ... (Closed-Leaf check-in: f4fdd7d385 user: stephan tags: search-branch-fix) | |
05:19 | document multiple branch search ... (Leaf check-in: 3de86b7676 user: patmaddox tags: patmaddox/search-branches) | |
05:17 | index search multiple branches ... (check-in: 6a4415e769 user: patmaddox tags: patmaddox/search-branches) | |
04:26 | plain-text search the configured doc branch Previously, it would always search trunk, but build links using the doc branch ... (check-in: 29f1fbf3ae user: patmaddox tags: patmaddox/search-branches) | |
2024-08-27
| ||
19:38 | Fix one mis-changed line in [898a70ce82a5] which would have broken builds on OS/2. ... (check-in: 94c8af02ea user: stephan tags: trunk) | |
11:19 | When stdout is not a tty, avoid doing the carriage-return-to-reuse-the-console-line trick for emiting metrics while syncing, and instead emit the stats after the end of the loop. This means that log files from cron jobs no longer contain the carriage-return clutter. ... (check-in: f8800f3464 user: stephan tags: trunk) | |
Changes to src/search.c.
︙ | |||
790 791 792 793 794 795 796 | 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 | + - - + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + | const char *zPattern, /* The query pattern */ unsigned int srchFlags /* What to search over */ ){ search_init(zPattern, "<mark>", "</mark>", " ... ", SRCHFLG_STATIC|SRCHFLG_HTML); if( (srchFlags & SRCH_DOC)!=0 ){ char *zDocGlob = db_get("doc-glob",""); char *zDocBranches = db_get("doc-branch","trunk"); |
︙ | |||
1876 1877 1878 1879 1880 1881 1882 | 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 | - + - - - - - - + - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | /* ** If the doc-glob and doc-br settings are valid for document search ** and if the latest check-in on doc-br is in the unindexed set of ** check-ins, then update all 'd' entries in FTSDOCS that have ** changed. */ static void search_update_doc_index(void){ |
︙ |
Changes to src/setup.c.
︙ | |||
2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 | 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 | + | @ <td>Search nothing. (Disables document search).</tr> @ </table> @ <hr> entry_attribute("Document Branch", 20, "doc-branch", "db", "trunk", 0); @ <p>When searching documents, use the versions of the files found at the @ type of the "Document Branch" branch. Recommended value: "trunk". @ Document search is disabled if blank. @ Comma-separate multiple branches: "trunk,docs". @ <hr> onoff_attribute("Search Check-in Comments", "search-ci", "sc", 0, 0); @ <br> onoff_attribute("Search Documents", "search-doc", "sd", 0, 0); @ <br> onoff_attribute("Search Tickets", "search-tkt", "st", 0, 0); @ <br> |
︙ |