Fossil

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

110 check-ins using file src/sync.c version 31bb79a1

2020-08-26
13:31
Merge in trunk (version-2.12.1) ... (check-in: 62c31630 user: george tags: wiki-history)
2020-08-20
13:27
Version 2.12.1 ... (Leaf check-in: b98ce23d user: drh tags: release, branch-2.12, version-2.12.1)
13:01
2.12.1 release candidate with security fixes. ... (check-in: 40feec32 user: drh tags: branch-2.12)
00:04
Report the use of FOSSIL_LEGACY_ALLOW_SYMLINKS in the output "fossil version -v". ... (Leaf check-in: 89d950ef user: drh tags: sec2020-2.12-patch)
2020-08-19
21:08
The allow-symlinks setting is disabled by default and is not versionable, unless Fossil is compiled with the FOSSIL_LEGACY_ALLOW_SYMLINKS flag, in which case it follows the historic behavior. ... (check-in: cdc90f0c user: drh tags: sec2020-2.12-patch)
12:58
Merge additional symlink fixes. Back out comment-only changes from url.c. ... (check-in: 0ea17c2b user: drh tags: sec2020-2.12-patch)
09:57
Increase the version number to 2.12.1. ... (check-in: 32646b27 user: drh tags: branch-2.12)
01:07
Cherrypick key fixes from the sec2020 branch in order to devise a minimal patch to get us to version 2.12.1. ... (check-in: fe1264d3 user: drh tags: sec2020-2.12-patch)
2020-08-18
21:03
Cherrypick [d2d8894bb2]: fossil.storage.clear() is now also sandboxed - no longer nuking all state for all repos on the same origin. ... (check-in: d0988e67 user: stephan tags: branch-2.12)
20:51
Merged in [923affb930a27b], which reinstates localStorage but sandboxes access to fossil.storage on a per-repo basis. ... (check-in: 21fbd473 user: stephan tags: branch-2.12)
19:10
Updated changelog and index for 2.12.1, with a tentative release date of Aug. 19th (that's tomorrow in 3 hours, CET). ... (check-in: c8e8ab9c user: stephan tags: branch-2.12)
18:44
Backported in [5b9a4c90594d8ea6], as explained in detail at https://fossil-scm.org/forum/forumpost/0f56c9edd9. ... (check-in: af383a7b user: stephan tags: branch-2.12)
2020-08-17
22:34
Add more tests. ... (check-in: 92704d1c user: mistachkin tags: sec2020)
22:27
Simplify error message. ... (check-in: 1bb0b3a8 user: mistachkin tags: sec2020)
22:22
Fixes for reserved names case sensitivity, coding style adjustments, more tests. ... (check-in: fde20bc0 user: mistachkin tags: sec2020)
20:51
Add tests for the reserved names. ... (check-in: df720b28 user: mistachkin tags: sec2020)
20:03
Identify security-sensitive settings. ... (check-in: 3bccd7ff user: drh tags: sec2020)
19:59
Every database connection now has a default authorizer, which calls out to an operation-specific authorizer if needed. ... (check-in: f98ef3c1 user: drh tags: sec2020)
18:57
Enhance the db_prepare() and db_static_prepare() utility routines so that they throw an error if handed more than one SQL statement. This might help prevent SQL injection attacks. ... (check-in: be0d95ad user: drh tags: sec2020)
18:20
Merge in reject-ckout-db branch. ... (check-in: 8c16884a user: stephan tags: sec2020)
17:50
Fixed [17d00c20dd9f] by adding NULL check on F- and E-card UUID tokens. ... (Closed-Leaf check-in: 458f30fc user: stephan tags: reject-ckout-db)
17:34
The allow-symlinks setting is no longer versionable and is off by default. The allow-symlinks setting no longer propagates with a clone. The help text for allow-symlinks discourages its use. There is a new --symlink flag on "fossil open" to permit the use of symlinks on an open, for the adventurous. Ticket [f9831fdef1d4edcc]. ... (check-in: ff98dd5a user: drh tags: sec2020)
17:34
Added checks of (-wal, -shm, -journal) db suffixes. ... (check-in: 4ed1a294 user: stephan tags: reject-ckout-db)
16:10
Moved is_fossil_ckout_db_name() from db.c to file.c and renamed it filename_is_ckout_db(). Integrated the check into manifest_parse(), but testing it requires temporarily #if'ing out the Z-card check, which is one of the first validations. ... (check-in: 6c19baa0 user: stephan tags: reject-ckout-db)
15:40
switch/case style tweak, per request. ... (check-in: 9784e5cd user: stephan tags: reject-ckout-db)
15:17
Part 1 of ticket [980a72dedd]: efficient check for determining whether a filename ends with a checkout db name. ... (check-in: ddd1273e user: stephan tags: reject-ckout-db)
15:11
Identify security-sensitive settings. ... (Closed-Leaf check-in: aa4c3afc user: drh tags: sec2020-config-protection)
14:09
Set an authorizer when running the ticket-table SQL. Ticket [56b82836ffba9952]. ... (check-in: fb413840 user: drh tags: sec2020)
09:16
Prohibit redirects from HTTP or HTTPS over to SSH or FILE. Fix for ticket [61613b0a9cf843b6]. ... (check-in: 253dbd15 user: drh tags: sec2020)
07:02
Reinstate symlink capability. (Unintended change with prior symlink test?) ... (check-in: c840617b user: andygoth tags: trunk)
2020-08-16
23:09
Add the "test-symlink-list" command. ... (check-in: de38906f user: drh tags: trunk)
22:35
Pointed 'latest release' entry at the 2.12 changelog, per forum post. ... (check-in: dba21929 user: stephan tags: trunk)
19:08
Enhance the db_repository_filename() routine to return the canonical filename. ... (check-in: f304c569 user: drh tags: trunk)
17:47
Fix the manifest_reparent_checkin() routine so that the "parent" tag will actually work. ... (check-in: 2bdbbc8a user: drh tags: trunk)
17:18
Mention the "fossil backup" command in the 2.12 change log. ... (check-in: a02bcb03 user: drh tags: trunk)
16:49
Fixed file_extension() to behave like its docs say it does, which would have made [5a9ac6ca3e] unnecessary. ... (check-in: f95e47b6 user: stephan tags: trunk)
16:35
Fix the release version on the home page. ... (check-in: 4c450330 user: drh tags: trunk)
16:06
Fix segfault in /artifact introduced by check-in [b699040d701464ce] and reported on the forum. ... (check-in: 5a9ac6ca user: drh tags: trunk)
15:52
Reworked fossil.toast to support normal/warning/error-level toasts. Alas, animating a toast's appearance and disappearance proved to be beyond my current skills. ... (check-in: 4368f529 user: stephan tags: trunk)
15:51
Fixed a recursion bug in fossil.dom.append(e,array) (currently unused, but will be soon). ... (check-in: 2018954b user: drh tags: trunk)
15:51
Disable HTTPS redirect for the "test-http" command. That command is used by the "ssh:" transport method and redirects to https will break ssh: transport. ... (check-in: ea6365a8 user: drh tags: trunk)
15:49
Fixed a recursion bug in fossil.dom.append(e,array) (currently unused, but will be soon). ... (Closed-Leaf check-in: 154f6484 user: stephan tags: bad-merge)
15:47
Disable HTTPS redirect for the "test-http" command. That command is used by the "ssh:" transport method and redirects to https will break ssh: transport. ... (check-in: edf63d73 user: drh tags: bad-merge)
15:30
Close multi-remote-fix branch because the issue is now resolved. See https://fossil-scm.org/forum/forumpost/158a67cc53 for some information on what was going on. The solution was to reopen the configuration after it was being prematurely closed. ... (check-in: 4c16a249 user: andygoth tags: bad-merge)
15:20
Fix the "fossil clone" command so that it works with "file:" URLs. ... (check-in: 9d2b7cab user: drh tags: trunk)
15:03
Put the date on the 2.12 release. Start a change-log for 2.13. ... (check-in: 522e7204 user: drh tags: trunk)
14:31
Remove "(pending)" from 2.12 changelog now that 2.12 is released ... (check-in: dcc90ab5 user: andygoth tags: trunk)
14:08
When compiling with FOSSIL_DEBUG (from the --fossil-debug configure option) do not attempt to "compress" built-in javascript by removing comments and surplus whitespace. This makes the javascript easier to read in a debugger. ... (check-in: 41b9873b user: drh tags: trunk)
13:39
Improvements to line-numbered text output. ... (check-in: b699040d user: drh tags: trunk)
13:33
Fix scrolling bug in FF and Chrome. ... (check-in: 22f2d083 user: drh tags: trunk)
13:32
Increment the version number to 2.13 to start the next development cycle. ... (check-in: db5868e0 user: drh tags: trunk)
13:18
Version 2.12 ... (check-in: d075b619 user: drh tags: trunk, release, version-2.12)
10:05
Reverted [33610b04de8fdf56] because a subtle bug in Chrome and FF causes both browsers to break scrolling of elements if they are descendants, however deeply nested, of a fieldset element. The one known workaround for that is too fragile. This is not release-critical. ... (Closed-Leaf check-in: e5c3ffeb user: stephan tags: post-2.12-fixes)
08:13
Removed a now-unused CSS class. ... (Closed-Leaf check-in: 1cb792fd user: stephan tags: line-number-selection)
05:10
Several padding tweaks to ensure proper line/code alignment in all of the skins. ... (check-in: e0e5449a user: stephan tags: line-number-selection)
04:08
Gave the BLOCKQUOTE which surrounds file content the file-content CSS class and trimmed its margins a bit. Fixed the truncated-by-one file extension uses in the language-XYZ tag in non-line-numbered file content, caused by refactoring from this branch. ... (check-in: 62b682bd user: stephan tags: line-number-selection)
03:53
Added 'important' to 'hidden' CSS rules to ensure that its visibility-hindering attributes trump other classes' attributes. This fixes the .hidden-yet-visible toast message popup and makes .hidden more future-proof. ... (check-in: 22c592fc user: stephan tags: line-number-selection)
02:43
Made copy-to-clipboard toast message less verbose. Tapping anywhere on the clipboard buttons popup widget now activates the clipboard copy. ... (check-in: 739e4ee3 user: stephan tags: line-number-selection)
01:32
Removed some stray debug output. Added a window.CustomEvent polyfill "just in case." ... (check-in: af47d153 user: stephan tags: line-number-selection)
00:50
Removed the copy button's hard-coded post-copy behaviour (flashing) and instead fire a text-copied event. The line number selection now closes the popup widget after the copy button is triggered. Implemented a basic toast-message API using PopupWidget. ... (check-in: 8a6ccf9d user: stephan tags: line-number-selection)
2020-08-15
23:30
Renamed TooltipWidget to PopupWidget because's it's not *quite* a tooltip and we're soon going to need something closer to a genuine tooltip. Minor adjacent cleanups and code consolidation. ... (check-in: 3998ccef user: stephan tags: line-number-selection)
10:14
Shrink the line number column just a tick. ... (check-in: e5f79f4f user: stephan tags: line-number-selection)
09:58
Some CSS consolidation and got the horizontal scrollbars working on unusually wide code files. ... (check-in: 3d49b73f user: stephan tags: line-number-selection)
09:15
Added a few 'inherits' CSS properties to resolve font size mayem when hilightjs does its thing. ... (check-in: 618c6b13 user: stephan tags: line-number-selection)
08:43
Added missing fossil.copybutton.js. ... (check-in: b646e724 user: stephan tags: line-number-selection)
08:29
Optimized the mouse-based line number selection considerably, requiring far less DOM traversal. ... (check-in: 0096aa46 user: stephan tags: line-number-selection)
08:02
Doc improvements, minor cleanups. Made the URL-copy element's popup position less variable. Uplifted the flash-once and copy-to-clipboard code into the fossil.dom API. ... (check-in: 738bea54 user: stephan tags: line-number-selection)
07:41
Implemented dynamic mouse selection of source lines and clipboard tooltip to copy the line range URL. ... (check-in: 3942eb60 user: stephan tags: line-number-selection)
03:51
Reimplemented ln=... highlighting to mark the line numbers instead of the code, so that there is no interference with syntax highlighters. Adjusted two skins to use the newer line-marking CSS. ... (check-in: 14ac3e84 user: stephan tags: line-number-selection)
2020-08-14
19:25
Merged trunk to avoid style collisions later. Changed table.numbered-lines line-height from ex units to unitless, as Mozilla recommends. ... (check-in: 41f270de user: stephan tags: line-number-selection)
18:54
Consolidated the common styles of the bottom- and right-side forum post expansion toggles and resolved a layout quirk which could cause the right-side expander to sit too far to the left. ... (check-in: db1afa75 user: stephan tags: trunk)
17:57
Several forum style improvements based on forum feedback. ... (check-in: 2121b1f7 user: stephan tags: trunk)
14:38
fileedit: removed a call to blob_reserve() (optimization) because we have a report which seems to imply that it unconditionally fails on mingw 32-bit builds. ... (check-in: b99c069a user: stephan tags: trunk)
13:33
Update the built-in SQLite to the official released version 3.33.0. ... (check-in: 0d6ed8c0 user: drh tags: trunk)
12:28
Corrected the JS-side recursive argument handling for the multiple-numbered-tables case. ... (check-in: a54fa928 user: stephan tags: line-number-selection)
12:21
Added optional filename parameter to output_text_with_line_numbers() so that it can add the language-X class to the CODE element. ... (check-in: 0b3919f3 user: stephan tags: line-number-selection)
11:53
Changes line-numbered output to make line numbers selectable, as discussed in https://fossil-scm.org/forum/forumpost/dc3da10590. A couple decisions are needed before deciding whether to merge. ... (check-in: ec73edd4 user: stephan tags: line-number-selection)
2020-08-13
11:49
Re-enabled the discard-all-edits button in wikiedit and made it look the same in both wikiedit and fileedit. ... (check-in: 39a5289b user: stephan tags: trunk)
11:47
fossil.confirmer: moved the confirmation countdown to the right side of the element. This seems to be less visually jarring. ... (check-in: c09949e5 user: stephan tags: trunk)
2020-08-12
18:09
Update the change log to mention the two new virtual tables added to the "fossil sql" command. ... (check-in: d79f08df user: drh tags: trunk)
18:06
Add the "builtin" virtual table to the "fossil sql" command. This vtab provides access to all of the built-in support files. ... (check-in: c6359b4e user: drh tags: trunk)
17:20
Add new columns "formatted" and "html" to the "helptext" virtual table. ... (check-in: 53adb7dc user: drh tags: trunk)
14:07
fossil.tabs.TabManager now experimentally (and optionally, defaulting to on) assigns 'accesskey' values to each tab button equal to their 1-based index in the tab list. ... (check-in: 4cf35864 user: stephan tags: trunk)
12:56
Improved detection of potential read/write txn conflicts. Hold a write transaction on the server-side for the duration of an /xfer request, to avoid unexpected SQLITE_BUSY errors. ... (check-in: d9543f4c user: drh tags: trunk)
12:07
Added clear:both to HR elements, primarily to fix right-floating README.txt on the /dir page in some skins. ... (check-in: a4c1b36e user: stephan tags: trunk)
11:44
Minor style consistency/layout tweaks to wikiedit and fileedit. ... (check-in: e7c348f1 user: stephan tags: trunk)
11:42
Inconsequential JS cleanups. ... (check-in: 5dd9ff1c user: stephan tags: trunk)
09:45
Fixed an out-of-bounds array access in stat.c reported in the forum. ... (check-in: e70f2fbc user: stephan tags: trunk)
2020-08-11
20:00
Add the --db-verify option to the "fossil dbstat" command. This option simply runs "fossil test-integrity" after doing the other dbstat processing. It is a way to access the test-integrity functionality without using the (unsupported) "test-integrity" command. ... (check-in: 95e91b13 user: drh tags: trunk)
15:55
wikiedit: changing the page's mimetype now also marks the page as is-dirty, enabling a save. ... (check-in: 98fa23f9 user: stephan tags: trunk)
15:39
wikiedit: now uses fossil.confirmer pinSize option on confirmer buttons. Save button is no longer re-labeled during save to avoid layout reflow. Save button is now always enabled and attempting to save when there are no edits triggers an error message. ... (check-in: f94a5538 user: stephan tags: trunk)
15:29
fileedit confirmer buttons now use the new pinSize confirmer option. Minor style consistency tweak. fileedit no longer complains when discarding stashed edits when no file is loaded, and reloads the current file only if it was in the now-discarded local edits. ... (check-in: 83a95dbf user: stephan tags: trunk)
15:26
fossil.tabs API now injects a FIELDSET wrapper around all tabs so that we can disable all input elements on a tab by disabling the fieldset, the goal being to disable access to hotkeys which are mapped to elements which are in any tab other than the current one. ... (check-in: 33610b04 user: stephan tags: trunk)
15:23
Added fossil.confirmer pinSize option which tells it to try to pin the confirmation element's width to the maximum of its initial and awaiting-confirmation widths, to avoid layout reflow while awaiting confirmation. ... (check-in: b12cae85 user: stephan tags: trunk)
13:42
Added the safe-html setting to the CONFIGSET_SKIN, per discussion at /forumpost/23192a5642. ... (check-in: 333520ab user: stephan tags: trunk)
11:41
Re-added the P tags removed in [9850dd3f22db], as they're needed for proper spacing. ... (check-in: 689b7f6d user: stephan tags: trunk)
11:13
Corrected help_to_html() to escape less-than signs so that script tags in help text do not break the page. Removed a semantically illegal P tag from the HTML-format help. ... (check-in: 9850dd3f user: stephan tags: trunk)
09:29
Doc tweaks only - no code changes. ... (check-in: b5496da6 user: stephan tags: trunk)
2020-08-10
20:04
Update the built-in SQLite to the second 3.33.0 beta, as part of beta testing. ... (check-in: 9120ff5f user: drh tags: trunk)
17:38
Added a 'Save and Close' button to wikiedit. Cleaned up the styling and wrapping of the status/links menu bars in fileedit and wikiedit. Minor style tweaks to get input field borders to appear in the default skin on Chromium. ... (check-in: 3814c9ff user: stephan tags: trunk)
13:43
Merged inadvertent fork. ... (check-in: 1eb21747 user: stephan tags: trunk)
12:12
Tweaks to the change log. ... (check-in: f4c731af user: drh tags: trunk)
12:08
Improved handling of long posts in the forum. ... (check-in: c265daea user: drh tags: trunk)
11:53
/fileedit now embeds the current open leaf list and the file list for the current checkin (defaulting to the most recent leaf) in the page content, saving 2 XHR requests at startup. If passed filename= without checkin= then it tries to load the given file from the most recent leaf. ... (check-in: 5fc0f7c3 user: stephan tags: trunk)
05:38
Amend OpenBSD httpd Fossil server instructions to use the mount_mfs -P option to automatically populate the chroot /dev tree as suggested by anon on the forum. ... (check-in: 4b240ec3 user: jamsek tags: trunk)
2020-08-09
21:45
Merge in trunk; resolve conflicts ... (Leaf check-in: 7cfbf66a user: ashepilko tags: cmake-ide)
15:18
Corrected the new CSS selectors to account for plain-text posts, which use a PRE instead of DIV wrapper. Shrunk the gap between the expansion tap zone and the scrollbar to its left. ... (Closed-Leaf check-in: eef9ac05 user: stephan tags: forum-expand-post-revisited)
14:54
Re-added an important forumPostBody.overflow CSS attribute which was accidentally removed in the last edit. ... (check-in: 939b6473 user: stephan tags: forum-expand-post-revisited)
14:43
Improved(?) the way forum post expansion is handled, based on forum feedback. Added a narrow "tap zone" to the right of the post scrollbars to expand/collapse. When a post is collapsed the first time, it is shrunken much smaller than its original size. When collapsing a post, we now scroll its parent element (post header), rather than the next post, into view. ... (check-in: ebbd20c6 user: stephan tags: forum-expand-post-revisited)
13:49
Revise and simplify the list of 1st-tier commands that are shown by the "fossil help" command. ... (check-in: 84f697e5 user: drh tags: trunk)