Fossil

Timeline
Login

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

50 most recent check-ins by user dmestas

2026-11-24
22:46
In the delta_create() and delta_apply() SQL functions, pass an empty string in place of the null pointer that SQLite gives for a zero-length target of delta_create() or source of delta_apply(), so that memcpy() is not given a null pointer for it. (leaf check-in: db595fc435 ... user: dmestas tags: small-fixes)
20:42
In the Refined skins, draw horizontal rules in chat messages in the message's text color so they show on colored bubbles. (leaf check-in: 4081bf2e3c ... user: dmestas tags: trunk)
19:41
In http_exchange(), check a redirect target in a local URL before it replaces g.url. A refused redirect now leaves g.url unchanged, so a later pass of sync --all and the remote named by sync -v use the original URL, and the connection is closed by its own kind. (check-in: 71f60497bb ... user: dmestas tags: small-fixes)
11:31
In cgi_handle_ssh_http_request(), keep a copy, never freed, of the Content-Length of later requests on one ssh connection, not a pointer into the line buffer. The body reader, /test_env and /ext see the value sent; a later request with none uses an earlier length, so such a GET may get a 400. (check-in: 9b13c41f07 ... user: dmestas tags: small-fixes)
2026-11-23
20:30
Merge small-fixes into trunk: fixes for the git and svn importers, Range and redirect replies, TH1 commands, URL and proxy handling in sync, the login cookie and access checks on /ambiguous and /info, and refusal of a second fossil= in an ssh URL. (check-in: 75d41911e0 ... user: dmestas tags: trunk)
14:28
Merge refined-skins-chat into trunk: iOS chat input and contrast fixes for the Refined skins. (check-in: 13ebb6cc82 ... user: dmestas tags: trunk)
10:53
In the Refined skins, stop iOS Safari zooming into the chat field and other form fields, draw the compact chat border around the field alone, space the chat buttons, and darken links in light-mode chat messages. (closed check-in: 6c4b609643 ... user: dmestas tags: refined-skins-chat)
00:11
In import --svn, do not give a copied file the executable permission of its source when the copy's property delta deletes svn:executable, as --deltas and svnrdump dumps record it. A revision whose only change is such a copy now gets a check-in, as with a full dump. (check-in: d3c5c08fd8 ... user: dmestas tags: small-fixes)
00:11
In login_redirect_to_g(), check only a fossil-goto value that begins with http: or https: in lower case against the base URL, and redirect to any other value relative to this host, as trunk does. This narrows [fb3970684d]. (check-in: f0abcad3b9 ... user: dmestas tags: small-fixes)
00:11
On /timeline with d=, stop the list at an ft= name that is not a tag only when it names a check-in dated after the d= check-in, and otherwise ignore it as trunk does, so an unknown or ambiguous name no longer gives an error page. This narrows [e94701edb2]. (check-in: 75f83fce6d ... user: dmestas tags: small-fixes)
2026-11-22
17:51
Merge 48aa175c12 into small-fixes, so that the branch has one leaf. (check-in: 0d6bc5dac9 ... user: dmestas tags: small-fixes)
15:34
Merge trunk into small-fixes. (check-in: c432a911d1 ... user: dmestas tags: small-fixes)
15:21
Merge small-fixes into trunk: fixes for the sync client and server, configuration import and export, artifact checks, and the robot check. (check-in: e38cf10d12 ... user: dmestas tags: trunk)
12:06
On the /bloblist page, take an n= of less than one as one, so that the index of ranges is finite, and compute the end of the range so that a large n= does not overflow. (check-in: 256a070d8c ... user: dmestas tags: small-fixes)
11:47
For /timeline with d= and ft=NAME, resolve NAME as a check-in name when it is not a tag. The fallback looked up the bt= parameter instead, so ft= with a hash was ignored. A name that cannot be resolved is now an error, as for bt=. (check-in: e94701edb2 ... user: dmestas tags: small-fixes)
11:47
In "fossil whatis" for an ambiguous name, count a ticket among the meanings, so that it is numbered after the artifacts before it, and omit the separator before a ticket that is the first meaning listed, which made the --json output invalid. (check-in: cf33e7e2ed ... user: dmestas tags: small-fixes)
11:47
Quote the "tags" key in the JSON written by "fossil whatis --json" and the whatis() SQL function, so that the output is valid JSON for an artifact that has tags. (check-in: eb35f976d3 ... user: dmestas tags: small-fixes)
11:47
For /bloblist?recent, show every artifact when the repository holds no more than the N asked for, instead of an empty table, and show N rows rather than N+1 otherwise. (check-in: b8d34ca683 ... user: dmestas tags: small-fixes)
11:47
In symbolic_name_to_rid(), resolve rid:N only when N is the record number of an entry in the blob table, so that a number that names nothing or is too large is unresolved rather than passed through or wrapped. A bare "rid:" with a type is no longer an SQL error. (check-in: 0495461514 ... user: dmestas tags: small-fixes)
11:46
Back out the change that removed every trailing /xfer from the Location of a redirect: a repository whose own path ends in /xfer was then sent to the wrong place. (check-in: aca3f56250 ... user: dmestas tags: small-fixes)
11:46
In url_enable_proxy(), name a refused proxy by its canonical URL, which leaves out any password, rather than as it was given. (check-in: 87529b45a7 ... user: dmestas tags: small-fixes)
11:45
When rendering text with TH1 blocks, do not write out the source of a block whose script ends with break, continue or return. Rendering stops at such a block, as it did before. (check-in: 8e21f80cff ... user: dmestas tags: small-fixes)
11:45
In the TH1 artifact command, treat an ambiguous name, with or without a file name, as an error rather than passing a negative record number on to the content and manifest routines. (check-in: f5f2e47d27 ... user: dmestas tags: small-fixes)
11:36
Make the TH1 http command check for an http: or https: URL before parsing it, so that an argument with another scheme, or with none, is a script error and does not end the process with "unknown repository". (check-in: 4a5d3e9c96 ... user: dmestas tags: small-fixes)
11:36
Make http_last_trace_reply() return NULL when the reply file is missing, so that "fossil clone --httptrace" reports the failed clone when the server sent no reply, in place of "no such file". (check-in: 1ef35bf12c ... user: dmestas tags: small-fixes)
11:36
In http_exchange(), when a reply is shorter than its Content-Length, shrink the reply to the bytes received, so that "fossil test-httpmsg" does not print uninitialized memory after them. (check-in: a5ff4ba843 ... user: dmestas tags: small-fixes)
11:36
In http_exchange(), when stripping HTML tags from an error reply of the server, drop the ">" that ends each tag too. (check-in: 11fe4dd111 ... user: dmestas tags: small-fixes)
11:36
In http_exchange(), remove every trailing /xfer from the Location of a redirect, not only the last one. (check-in: 0e3a63b526 ... user: dmestas tags: small-fixes)
11:36
In url_parse_local(), begin the fossil= part of the canonical URL with "?" also when the URL has more than one fossil= query parameter. (check-in: fabf3e1d51 ... user: dmestas tags: small-fixes)
11:36
Make url_full() and url_nouser() put the "/" between host and path of an ssh: URL that has a user name. "fossil remote hyperlink" and "fossil test-urlparser" printed such a URL without it. (check-in: f5eb8933f9 ... user: dmestas tags: small-fixes)
11:36
In http_exchange(), set the proxy up again after following a redirect, so that the request to the new location also goes through the proxy. (check-in: d9cd6aa143 ... user: dmestas tags: small-fixes)
11:36
In url_enable_proxy(), refuse a proxy that is a file: or ssh: URL or the name of a repository file. Such a value took the place of the remote, so that a clone copied the file named as the proxy, or ssh was run. (check-in: d71dee530e ... user: dmestas tags: small-fixes)
11:36
In http_build_login_card(), send no login card when a sync started from the /xfersetup page has a user name in its URL and no saved password. The missing password was passed on as a null pointer. (check-in: ea6766e3ae ... user: dmestas tags: small-fixes)
11:13
Require Read permission for the page that /info shows for a cluster artifact, which lists the hashes and descriptions of the artifacts the cluster names. (check-in: 464ec546f1 ... user: dmestas tags: small-fixes)
11:10
On the /ambiguous page, list matching tickets only for users with RdTkt and matching technotes only for users with RdWiki, as the pages that show them require. (check-in: 01b165a2d8 ... user: dmestas tags: small-fixes)
11:03
Require Read permission for the /ambiguous page, which lists the artifacts whose hash begins with a given prefix, with their descriptions. A user without Read, including one with only forum, ticket or technote rights, now gets the login page there, also from /info, /forumpost and /forumthread with an ambiguous prefix, and so does a request with no name. (check-in: db14caf571 ... user: dmestas tags: small-fixes)
11:02
In the TH1 query command, stop when the remaining SQL holds no statement and nothing was consumed, as at a NUL byte, rather than trying the same text again for ever. (check-in: 11e2cce1f9 ... user: dmestas tags: small-fixes)
2026-11-21
21:38
Correct the usage text of the TH1 randhex and http commands, which named the repository and regexp commands. (check-in: 6cce924fa9 ... user: dmestas tags: small-fixes)
21:38
Add builtin_try_request_js(), which reports an unknown file or a full queue to its caller, and use it for the TH1 builtin_request_js command so that a bad name in a script is a script error and not a panic. (check-in: 1989267acf ... user: dmestas tags: small-fixes)
21:38
Have the TH1 "unversioned list" and "unversioned content" commands treat a repository with no unversioned table as one with no unversioned files, instead of stopping with a database error. (check-in: 9429e85416 ... user: dmestas tags: small-fixes)
21:38
In the TH1 query command, prepare the text that remains after each statement rather than the whole argument again, so that SQL holding more than one statement runs each in turn instead of looping forever on the first. (check-in: b0a9eb3934 ... user: dmestas tags: small-fixes)
21:38
Have the TH1 combobox command fail with a script error when its TEXT-LIST argument is not a well-formed list, instead of using the unset results of Th_SplitList(). (check-in: 6bcb3a6c45 ... user: dmestas tags: small-fixes)
21:38
In the TH1 setting and http commands, do not look for "--" past the last argument when the only argument is an option, and do not take an empty first argument of http as -asynchronous. (check-in: eac7c5f36c ... user: dmestas tags: small-fixes)
21:38
Make the output buffer of the TH1 randhex command large enough for 100 hex digits and the terminating zero, so that "randhex 50" does not write one byte past its end. (check-in: 7fa067b18b ... user: dmestas tags: small-fixes)
15:17
In cgi_redirect_with_status(), end the redirect target at its first control character, so that a redirect target taken from a request cannot add header lines to the reply. (check-in: 94412d502b ... user: dmestas tags: small-fixes)
15:11
In login_redirect_to_g(), follow the fossil-goto value only when it names a page of this repository, and go to the home page otherwise. The value may come from a query or form field, so a login link could send the user to another site. (check-in: fb3970684d ... user: dmestas tags: small-fixes)
15:08
In url_parse_local(), do not strip the leading character of an empty ssh: path. This read one byte past its allocation, and for a URL with a query or fragment but no path it took part of the query or fragment as the path. (check-in: d57dbc4b5f ... user: dmestas tags: small-fixes)
15:08
In login_check_credentials(), stop parsing the login cookie when a slash is its last character, so that the parser no longer steps past the end of its copy of the value. (check-in: 26b61eb322 ... user: dmestas tags: small-fixes)
15:05
Enlarge the static buffer in fossil_expand_datetime() by one byte so that a compact date with a trailing Z, when rounded up, no longer writes its terminating zero past the end. (check-in: 19f1544e2b ... user: dmestas tags: small-fixes)
12:09
In parse_mark(), refuse a marks line whose type is neither c nor b, which was taken as a mark with no name, so that fossil export --import-marks no longer crashes on such a line and import no longer accepts it silently. (check-in: ad6172d525 ... user: dmestas tags: small-fixes)