Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
134 check-ins using file src/file.c version d651645be8
|
2020-10-09
| ||
| 21:09 | Replace the two GIF images in the www/concepts.wiki document with Pikchrs. check-in: bd9bf24837 user: drh tags: trunk | |
|
2020-10-08
| ||
| 14:49 | Always consume the --nocgi command-line option even if it is not used. check-in: 8594e7a68a user: drh tags: trunk | |
| 08:48 | Drew better analogies between Bitcoin's answer to the 51% attack and to GitHub in the new Anonymity section of the blockchain doc to show that Fossil doesn't even try to provide the sorts of behavior that allow fully anonymous contribution to a blockchain. Closed-Leaf check-in: 87b1385dac user: wyoung tags: fossil-as-blockchain | |
| 08:10 | Added a para to the prior section. check-in: 69e0ea54a7 user: wyoung tags: fossil-as-blockchain | |
| 08:00 | Added the "Anonymity" section to the new blockchain doc. check-in: b357dc2b03 user: wyoung tags: fossil-as-blockchain | |
| 07:04 | Small clarity fix in the new CAP theorem doc check-in: 8a9facbb3e user: wyoung tags: trunk | |
| 06:42 | All but rewrote the Cryptocurrency section of the new blockchain.md doc to clarify the sorts of frauds each system has to prevent so that we can draw clearer analogies. check-in: 154d848d2e user: wyoung tags: fossil-as-blockchain | |
| 04:11 | Merged trunk changes in check-in: 95203913c0 user: wyoung tags: fossil-as-blockchain | |
| 04:11 | Added fragment identifiers to the new CAP theorem doc. check-in: 991b089925 user: wyoung tags: trunk | |
|
2020-10-07
| ||
| 07:07 | Removed an extraneous space from pikchrshow DOM output. pikchr command error output now prepends a newline to pikchr-level errors to keep line number comment alignment intact for the first line. check-in: c3b2671f6d user: stephan tags: trunk | |
| 06:59 | pikchr_process() now makes use of the as-yet-not-public PIKCHR_PLAINTEXT_ERRORS flag to maintain control of the error output DOM structure. check-in: ce3046290b user: stephan tags: trunk | |
| 05:39 | Increase maximum token size in Pikchr to 50000 bytes. Important for macros. check-in: da1ff5c2d1 user: drh tags: trunk | |
| 00:29 | Removed several weak arguments from the blockchain.md doc and added a lot more info about cryptocurrencies to show the differences between them and Fossil. Tweaked much of the preexisting material. check-in: 3d55f44376 user: wyoung tags: fossil-as-blockchain | |
|
2020-10-05
| ||
| 18:15 | Recast the blockchain.md doc as "Is Fossil a Blockchain?" (answer: mostly no) and updated all references to it to either remove the term, use "repository" instead where that's sufficiently clear, or to say either "Merkle tree" or "hash tree" instead where we need to distinguish the hash tree itself from the rest of the repo DB file's contents. ... check-in: 855578b610 user: wyoung tags: fossil-as-blockchain | |
| 17:02 | Added a new doc, "Fossil and the CAP Theorem." It distills some good info from the forum, so we can just point at it instead of recapitulating it. But it's being checked in now because an upcoming commit will refer to it. check-in: 3ddd56d0b0 user: wyoung tags: trunk | |
| 16:37 | Added "Restoring From An Encrypted Backup" section to the new backup.md doc. check-in: e0a38eb3eb user: wyoung tags: trunk | |
| 14:12 | Fixed another dangling Markdown link check-in: e5ad07dcf6 user: wyoung tags: trunk | |
| 14:10 | URL fix check-in: 56b13f2a3c user: wyoung tags: trunk | |
| 13:59 | Fixed the scp command in the new backup.md doc check-in: e3e4bec360 user: wyoung tags: trunk | |
| 13:55 | Another typo fix in the backup.md doc check-in: eb34dd52e2 user: wyoung tags: trunk | |
| 13:45 | Typo fix check-in: 21a63c8c88 user: wyoung tags: trunk | |
| 13:16 | Assorted tweaks to the new material in the gitusers doc. check-in: 09acf696d2 user: wyoung tags: trunk | |
| 12:37 | Added the "Autosync is Intransitive" section to the new backup doc. check-in: 1299d67786 user: wyoung tags: trunk | |
| 12:24 | A few small refinements to the new backup doc. check-in: ea57a2f723 user: wyoung tags: trunk | |
| 12:08 | Greatly expanded the "Autosync" section of the gitusers doc. Among other things, it now references the new backup.md doc. check-in: 3ddc1d9458 user: wyoung tags: trunk | |
| 12:07 | Added info about private branches to the new backup.md doc. check-in: 78c0c55a41 user: wyoung tags: trunk | |
| 11:54 | Added a new doc, "Backing Up a Remote Fossil Repository". check-in: 5c2ef2a2e3 user: wyoung tags: trunk | |
| 11:25 | Change instances of %s(g.zTop) into %R. check-in: a40e8a0934 user: drh tags: trunk | |
| 10:18 | Greatly expanded the "Repositories And Checkouts Are Distinct" section of the gitusers.md doc. check-in: 386fc49e3f user: wyoung tags: trunk | |
| 10:13 | uv ls/list doc patch from https://fossil-scm.org/forum/forumpost/cdc43ffe60. check-in: ecac7c4ea7 user: stephan tags: trunk | |
|
2020-10-04
| ||
| 14:35 | Exchanged most uses of %s(g.zTop) and such in the code with use of %R in Fossil's special printf() type functions. (The branch is named after just one of several of these, mprintf(), being one of the shortest names.) At the least, this is shorter, simpler code, but there is also some hope that it may fix some doubled slash problems someone is... Closed-Leaf check-in: 2907721acd user: wyoung tags: prefer-mprintf-r | |
|
2020-10-03
| ||
| 02:06 | Clarity tweaks to the new "multiple origins" scenario in the gitusers doc. check-in: 77bb3e4c33 user: wyoung tags: trunk | |
| 01:53 | Small tweaks to previous. check-in: e67c413d50 user: wyoung tags: trunk | |
| 01:38 | Added a new "multiple origin servers" section to the gitusers doc to replace the obsolete one just removed. This not only shows off Fossil's new "fossil remote add" feature set, it acts as a sort of white paper comparing Git to Fossil in a common use case scenario. check-in: e3cef726f2 user: wyoung tags: trunk | |
| 01:35 | Expanded on several points in the gitusers doc, added links to other docs, added named anchors to all of the top-level sections, and removed the obsolete section on "no multiple remotes" now that we have the "fossil remote add" feature. check-in: 2306f8164d user: wyoung tags: trunk | |
|
2020-10-02
| ||
| 22:11 | Clarified and expanded the "create branches at point of need" section of the gitusers.md doc. check-in: 331dc0d334 user: wyoung tags: trunk | |
| 21:59 | Reflected the GitHub change of "master" to "main" into our gitusers.md doc. check-in: b0ee3d5d75 user: wyoung tags: trunk | |
| 20:28 | Changed the name of docs at the end of the quickstart doc to match their actual titles. check-in: 3449d9cee9 user: wyoung tags: trunk | |
| 20:25 | Converted obsolete anchors in the quickstart doc to fragment identifiers on the headers, and added fragment IDs to all of the h2 level headers that lacked one. check-in: 8da7b15e71 user: wyoung tags: trunk | |
| 14:23 | Removed a bit of unnecessary copy/paste backwards compatibility from [15001dd013]. check-in: aae387d956 user: stephan tags: trunk | |
| 09:38 | Added --hash flag to ls -v, for consistency with status/changes, per https://fossil-scm.org/forum/forumpost/896de8f963. check-in: 15001dd013 user: stephan tags: trunk | |
|
2020-10-01
| ||
| 21:21 | Clarity pass on the rebaseharm doc following the recent Hacker News thread, to address confusions that came up there. check-in: 068e26af37 user: wyoung tags: trunk | |
| 20:59 | Removed point 4.0 from the rebaseharm doc: it said that rebase is a problem because Git makes the change immediately to the blockchain, but that's a problem with Git in general, due to its commit-then-push model, not a problem with rebase in particular. If Fossil had a rebase feature, there is no good reason to believe we would do this as well. The... check-in: 6e0dba257b user: wyoung tags: trunk | |
| 20:37 | The rebaseharm.md doc referred to rebase04.svg *twice*, so while all SVGs associated with the doc were replaced, the second became a broken link when the SVG files were removed. Simply duplicating the code with comments to try to stave off version drift for now. check-in: a61ac66b63 user: wyoung tags: trunk | |
| 18:34 | Improvements to the "fossil import" command so that it can now (hopefully) interpret "breezy" files. check-in: d82534b3ac user: drh tags: trunk | |
| 18:33 | Fix an issue with the "R" (rename)" and "C" (copy) commands when interpreting git-fast-export files. Closed-Leaf check-in: 8e5b010349 user: drh tags: breezy-fast-import | |
| 16:01 | Latest pikchr.c fixes an issue with "same" and lines that have a "to" attribute. check-in: 42caafaf3b user: drh tags: trunk | |
| 12:46 | Fix an issue with the logic that prevents Fossil control artifacts from being imported as regular files. Probably unrelated to the breezy changes. Came up during testing. check-in: 92ab247435 user: drh tags: breezy-fast-import | |
| 12:13 | An attempt to enhance the git-fast-export reader so that it can handle breezy-generated output files. check-in: ddcd35d6a5 user: drh tags: breezy-fast-import | |
|
2020-09-30
| ||
| 21:11 | Update the built-in SQLite to the latest 3.33 alpha for testing. check-in: 02c6b07eab user: drh tags: trunk | |
| 10:39 | Improved processing of nested macros in Pikchr. check-in: f7259ea07c user: drh tags: trunk | |
| 10:30 | Added "toggle" attributes to the pikchrs in the branching and rebase harm docs, so they act as inline examples of the tech. check-in: 01f6ed9c9a user: wyoung tags: trunk | |
| 08:38 | Replaced www/encode10.gif in www/delta_encoder_algorithm.wiki with a Pikchr. check-in: a9d0c2a68c user: wyoung tags: trunk | |
| 02:01 | Update Pikchr to the latest version that supports "solid". check-in: 5251d44f3a user: drh tags: trunk | |
| 00:30 | Replaced hacky invisible box workarounds for default PIC spacing in delta_format.wiki doc with more idiomatic PIC code. check-in: f345f7bc23 user: wyoung tags: trunk | |
| 00:08 | Replaced old GIF diagrams from the delta_format.wiki doc with Pikchrs. Also removed delta?.gif from test/commit-warning.test. check-in: d7c074e7fa user: wyoung tags: trunk | |
| 00:05 | Tweak to the "\n" text inside 2.1 Header of the new delta_format.wiki doc to make use of new Pikchr handling of backslashes. Closed-Leaf check-in: b72cc79526 user: wyoung tags: delta-format-pikchr | |
| 00:02 | Merged in trunk check-in: 45ff53dd6f user: wyoung tags: delta-format-pikchr | |
| 00:00 | Replaced the invisible empty box hack for left margin in the new delta_format.wiki diagrams with use of the "leftmargin" global PIC property. check-in: 1aaf9f850b user: wyoung tags: delta-format-pikchr | |
|
2020-09-29
| ||
| 23:33 | Removed unused www/CollRev?.gif and the references to it from test/commit-warning.test. Also removed obsolete references to already-removed www/branch??.gif. check-in: ec816c919e user: wyoung tags: trunk | |
| 11:44 | Fix backslash processing in pikchr. check-in: 7a9bf394b1 user: drh tags: trunk | |
| 01:07 | Removed www/rebase??.graphml, being the yEd inputs for generated SVGs replaced with Pikchrs in commit [38d6a8f3]. check-in: f3c3a099fb user: wyoung tags: trunk | |
| 00:56 | Converted www/delta?.gif to Pikchr diagrams. They're mostly faithful to the originals, but there's a bug that needs fixing in Pikchr (or worked around somehow here) before this can be merged to trunk. My posting to the pikchr forum also needs to be edited to point to a historical version of www/delta6.gif to avoid creating a dangling hyperlink whe... check-in: e0dd267b89 user: wyoung tags: delta-format-pikchr | |
|
2020-09-28
| ||
| 23:28 | Removed www/branch??.graphml: these are the yEd input files for the old SVG diagrams in www/branching.wiki, which were replaced with Pikchrs in [9ec0ccee33]. check-in: 387322d6d9 user: wyoung tags: trunk | |
| 04:03 | If I am reading this correctly, the JPEG and PNG bars are the ones increasing with each commit, not so much the TIFF bar due to using uncompressed TIFF check-in: 309af345ab user: andygoth tags: trunk | |
| 02:29 | Move change to intended location (shouldn't have been on branch) check-in: fb6b093d97 user: andygoth tags: trunk | |
| 02:29 | Make it possible to delete a check-in, tag, or branch wiki page by setting it to zero length Closed-Leaf check-in: 5b101aa706 user: andygoth tags: andygoth-html-caps | |
| 02:15 | Merge trunk, also change "Svg" to "SVG" check-in: c319f52cf7 user: andygoth tags: andygoth-html-caps | |
| 02:14 | Add support for displaying SVG files check-in: 4a53f34302 user: andygoth tags: trunk | |
| 01:54 | Capitalize "HTML" check-in: 59d27ab4ae user: andygoth tags: andygoth-html-caps | |
| 00:14 | In Pikchr: Add support for macros. Also if the width or height of an object are zero or less, then autofit the corresponding dimension. check-in: 6dd3a5b75f user: drh tags: trunk | |
|
2020-09-26
| ||
| 15:51 | Briefly mention how to invoke Pikchr from the Markdown and Fossil Wiki rule cheatsheets. check-in: 4083e5d322 user: drh tags: trunk | |
| 11:24 | Update the built-in pikchr.c to include the latest enhancements and fixes. check-in: 1347e990ac user: drh tags: trunk | |
| 11:19 | Fix to check-in [9e4ca8948a82ae5e]: Do not set "height:auto" for images in the default CSS, as doing so is not necessary for good mobile operation. check-in: 1165ed88f3 user: drh tags: trunk | |
| 10:42 | Fix check-in [b07834b386f02f73] so that it correctly handles unquoted HTML attribute values. check-in: af616bce44 user: drh tags: trunk | |
|
2020-09-25
| ||
| 03:04 | pikchrshow now squirrels away a copy of the raw response SVG, instead of fishing it out the DOM on demand, because in the latter case the browser converts u00a0 characters to nbsp elements, resulting in illegal SVG. check-in: f45cd27919 user: stephan tags: trunk | |
|
2020-09-21
| ||
| 14:21 | Latest pikchr.c fixes a variable initialization problem and adds the xmlns attribute to the SVG markup. check-in: 7de85417de user: drh tags: trunk | |
|
2020-09-20
| ||
| 22:44 | Update pikchr.c to allow "fraction of the way between" position forms to have a fraction less than 0.0 or greater than 1.0. check-in: cab87e3420 user: drh tags: trunk | |
| 15:05 | Fix the assert() statement in Pikchr so that it works on positions, not just places. check-in: 249817138c user: drh tags: trunk | |
| 07:41 | Removed multiplier from the font size calculation, as it does not work with monospace font. Changed /dir font to monospace only for testing purposes, as that one is our pathological column-width case. (Edit: closing, as this approach doesn't appear to provide any benefits over the current one.) Closed-Leaf check-in: 7e8cb38ca2 user: stephan tags: dir-columns-revisited | |
| 07:28 | An experiment in improving the /dir column flow. (Not ready to merge.) check-in: e5121a4934 user: stephan tags: dir-columns-revisited | |
|
2020-09-19
| ||
| 16:36 | Moved pikchr_process() nonce so that it also applies for error output. Added missing 'error' CSS class to the error-report PRE tag. Added mention of Ctrl-Enter in pikchshow intro text. check-in: 11e7960e51 user: stephan tags: trunk | |
| 14:03 | Mention skip in bisect options list check-in: 79499fc474 user: andygoth tags: trunk | |
| 13:58 | Clean up the fossil bisect summary per https://fossil-scm.org/forum/forumpost/00503372fc check-in: 6e45212a5b user: andygoth tags: trunk | |
| 13:10 | Documented a simpler pikchr-centering implementation for potential future use but did not activate it due to concerns about current browser-side availability. check-in: 1620841523 user: stephan tags: trunk | |
| 12:49 | Worked around an SVG rendering bug in Chrome by setting the width of all svg.pikchr to 100%, regardless of alignment (previously was only applied to centered SVGs). check-in: 4ad86dd5f7 user: stephan tags: trunk | |
| 12:45 | Squelched an ominous but harmless error from wikedit when opened with a sandbox page name using any case other than 'Sandbox'. check-in: 2e828971b2 user: stephan tags: trunk | |
| 11:04 | Update the sqlite3.h file so that the source-id is the same as sqlite3.c check-in: 09cea3cbf4 user: drh tags: trunk | |
| 04:29 | Fix a minor problem with the "behind" attribute in Pikchr check-in: e5e2dac076 user: drh tags: trunk | |
| 04:09 | Update pikchr.c with support for dist(P1,P2) and copying the layer using "same". check-in: af52ad89ca user: drh tags: trunk | |
| 00:44 | Convert the diagrams in the "Rebase Considered Harmful" document over to Pikchr. check-in: 38d6a8f30e user: drh tags: trunk | |
|
2020-09-18
| ||
| 22:55 | New pikchr.c with improved estimates for bounding boxes on text. check-in: bac677f7a9 user: drh tags: trunk | |
| 21:11 | Minor doc updates, removed some dead code. check-in: 3ec33f98f7 user: stephan tags: trunk | |
| 20:19 | Remove overflow setting on pikchr-src elements. check-in: 72f8372a2c user: stephan tags: trunk | |
| 20:01 | Added pikchr block 'source-inline' modifier for the 'source' flag which tells the latter that the sources should be rendered inline (same position as the graphic), rather than left-aligned. check-in: 3f2c0af278 user: stephan tags: trunk | |
| 19:06 | Reimplemented pikchr show/hide entirely in CSS, so it's now controlled by toggling the 'source' class on the outermost DIV element. Less JS and easier to implement in 3rd-party pikchr clients. check-in: 947c039073 user: stephan tags: trunk | |
| 17:43 | CSS workaround for centering pikchrs in Chrome. check-in: d825fcc11a user: stephan tags: trunk | |
| 16:58 | Update the built-in pikchr.c and SQLite to the latest from both trees. check-in: c3de0a9930 user: drh tags: trunk | |
| 13:18 | Be careful to honor the auto-hyperlinks setting when it is off, and not display any hyperlinks. See [forum:5a7530639a|forum post 5a7530639a] for the bug report. check-in: b190858e97 user: drh tags: trunk | |
| 11:27 | Fix minor formatting error in the HTML for hierarchical forum. check-in: 7221e497fc user: drh tags: trunk | |
| 10:32 | An alternate impl for centering pikchrs which does not rely on margin:auto. check-in: 2963f440e8 user: stephan tags: trunk | |
| 09:21 | Fixed a preview quirk which caused the pikchr click handlers to not get processed on wikiedit/fileedit previews after the first one. check-in: 052d374809 user: stephan tags: trunk | |
| 07:48 | Made the return code of a bit of new code match its docs. check-in: 539eb61f85 user: stephan tags: trunk | |
| 07:37 | The routines which emit fossil.XYZ.js modules now understand their dependencies, emit any deps in dependency order (recursively), and do not emit a given module more than once (simplifies usage and is an and overall improvement in cacheability). Added the pikchr click support to more pages. check-in: 9b2b6f5b1c user: stephan tags: trunk | |
| 05:07 | Minor C-side fossil JS API simplification to ease upcoming changes. check-in: 58d86b16bf user: stephan tags: trunk | |
| 04:10 | pikchr js: hide/show the SVG's parent element instead of the SVG, so that output from pikchr print commands is hidden when the source is shown. check-in: 43116c73fd user: stephan tags: trunk | |
| 03:28 | Clarify the origin of JS in the generated HTML. check-in: 6854244949 user: drh tags: trunk | |
| 02:54 | Always include a \n after the opening safe_html() nonce when generating Pikchr output, for improved human readability of the generated HTML. check-in: 39b2081e6e user: drh tags: trunk | |
| 01:21 | pixchr layout changes requested at https://pikchr.org/home/forumpost/504f54f61b. See the comments about alt/ctrl/meta keys. check-in: cd22f0f07d user: stephan tags: trunk | |
|
2020-09-17
| ||
| 23:44 | pikchr command doc updates. check-in: 82a0b517a7 user: stephan tags: trunk | |
| 23:25 | Removed some console.debug() output and fixed extraneous breaks which caused markdown_to_html() to stop afer processing a single tag. check-in: 67060c5090 user: stephan tags: trunk | |
| 23:11 | Renovated the pikchr click handling as discussed off-list with drh. check-in: 938bb6c708 user: stephan tags: trunk | |
| 21:09 | Toggle Pikchr between SVG and source code using ctrl-click. Or if the Pikchr was created using the "toggle" tag, an plain old single-click will suffice. check-in: d88444e265 user: drh tags: trunk | |
| 19:31 | Misuse of a potentially unsigned value, caught by clang. Only affected platforms where char is unsigned by default. check-in: 5c92bbfca7 user: stephan tags: trunk | |
| 19:30 | Toggle between SVG and Pikchr source code using the "hidden" class and use ctrl-click rather than double-click. check-in: 22ba9a41e4 user: drh tags: trunk | |
| 19:20 | Cleanup the double-click source display for Pikchr. check-in: 5634dfeb2f user: drh tags: trunk | |
| 18:04 | Put the javascript for SVG/source toggling inside of the safe-html nonce so that it survives safing. check-in: ebf5b59570 user: drh tags: trunk | |
| 17:58 | Experimental double-click to toggle between SVG and pikchr source. check-in: 3c786c6fc3 user: drh tags: trunk | |
| 17:17 | Pedantic CSS tweaks. check-in: 5b93a4da73 user: stephan tags: trunk | |
| 17:13 | pikchr source view: tentatively re-added the copy button (only in source view, not SVG), but it now switches back to SVG mode if it successfully copies the source code. check-in: d369f4f389 user: stephan tags: trunk | |
| 16:52 | pikchr mode swap: tapping on an SVG switches modes and enables the mode-select button. Leaving source view mode requires activating that button (which works like before, but is only visible in source mode). check-in: 2a2be01319 user: stephan tags: trunk | |
| 16:31 | Implemented most of the feedback from https://pikchr.org/home/forumpost/f538d8e7f7, with the exceptions being documented in that thread. /pikchrshow now longer uses the mode-swap feature (seems superfluous there) and tapping anywhere in the body, outside of the source/svg container element, now turns off those buttons on all pikchrs where they ar... check-in: 4f69773183 user: stephan tags: trunk | |
|
2020-09-16
| ||
| 22:25 | Changelog update per forum request. check-in: b816bae3f2 user: stephan tags: trunk | |
| 20:49 | In pikchr: fix minor details on drawing filled "file" objects and the "fit" operator on "cylinder" objects. check-in: db02f9b889 user: drh tags: trunk | |
| 19:01 | New pikchr.c file that fixes alignment of chopped lines. check-in: 7c28d11d9a user: drh tags: trunk | |
| 15:30 | Bug fixes in the pikchr.c tokenizer. check-in: 3676540374 user: drh tags: trunk | |
| 13:58 | Fix problems with the built-in "decompress()" SQL function. check-in: 449ab5d600 user: drh tags: trunk | |
| 13:45 | Update the built-in SQLite and Pikchr to the latest code, for testing. check-in: ecf679b289 user: drh tags: trunk | |
| 13:21 | Make an appropriate entry in the rcvfrom table when doing a git or svn import. See [forum:92db82a45e|forum post 92db82a45e] for details on the problem that this check-in attempts to fix. check-in: 59ba20f845 user: drh tags: trunk | |
| 08:04 | pikchrshow, wikiedit, and fileedit now all respond to ctrl-enter in their editor to refresh the preview. The latter two, on their preview tabs, respond to ctrl-enter to switch back to the editor and give it focus. It's now possible to edit, preview, and switch back to the same editing position without the mouse :). check-in: a1838297f9 user: stephan tags: trunk | |
| 04:14 | Update to the very latest pikchr.c file for testing. check-in: a9c54aad9c user: drh tags: trunk | |
|
2020-09-15
| ||
| 20:52 | Allow files to be converted to symlinks and vice versa without an intermediate check-in to delete them check-in: e0aebc21c6 user: andygoth tags: trunk | |
| 19:23 | Restore the ability to add symlinks located inside subdirectories check-in: 9d75d6ae88 user: andygoth tags: trunk | |
| 19:23 | Remove some end-of-line whitespace and fix some very minor comment typos and capitalization errors check-in: 0537925523 user: andygoth tags: trunk | |