Fossil

Timeline
Login

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

233 events for the month beginning 2020-05-01 by user stephan

Following month ↑
2020-05-29
08:05
Move default_css.txt to default.css, treat it like a builtin file, and remove mkcss, as the recent style.css reorg obviates the need for mkcss. ... (check-in: 0c19cd0a86 user: stephan tags: default.css)
2020-05-28
17:21
The new blob_reserve() now triggers blob_panic() if asked to allocate more than blob_append_full() internally allows for (not quite 2GB), to avoid a corner case that blob_reserve() could be used to accidentally bypass that internal limit. ... (check-in: e714b8427c user: stephan tags: trunk)
13:44
Per forum discussion, moved the /fileedit ajax dispatching back down below the login check, but have it emit a JSON response if an ajax route was requested, else an HTML response. ... (check-in: 62263b9cb0 user: stephan tags: trunk)
13:27
fossil.fetch() now uses onreadystatechange instead of onload because the latter does not handle connection errors and timeouts. Added timeout option to fossil.fetch() with a default of 15s. Corrected non-closing of a failed transaction when fileedit/commit fails. ... (check-in: 6849d9a557 user: stephan tags: trunk)
12:16
Moved /fileedit permissions check below the ajax dispatching check, as ajax bootstrapping performs that check itself, along with a CSRF check for write-mode requests, and emits a JSON-format response (as opposed to HTML) if it fails. ... (check-in: 13e26db403 user: stephan tags: trunk)
12:02
Removed fileedit-glob from the list of syncable config options. It must be explicitly set on each repo where it is desired. ... (check-in: d6341b3a55 user: stephan tags: trunk)
10:22 Edit [064c1c95889feef2|064c1c9588]: Edit check-in comment. ... (artifact: 1810a0f202 user: stephan)
09:47
Added /fileedit to changes.wiki. ... (check-in: 2c9aa1b939 user: stephan tags: trunk)
09:40
Introducing the /fileedit page. ... (check-in: 1243bf3999 user: stephan tags: trunk)
09:18
Reworked how style.css is emitted: all default rules first, then page-specific rules (if passed name=PAGENAME and if builtin file style.PAGENAME.css exists), then the skin. This increases the default style.css output by only approx. 800 bytes before compression (approx. 300 after compression). Has no visual impact on existing built-in skins, and none is expected on 3rd-party skin edits. See [https://fossil-scm.org/forum/forumpost/d63ff33063|/forumpost/d63ff33063] for discussion. ... (check-in: 064c1c9588 user: stephan tags: trunk)
08:55
Editing forum posts now applies delta compression to the edits. ... (check-in: 5b7888c994 user: stephan tags: trunk)
08:48
Add --reset flag to add/rm/addremove commands. ... (check-in: e0fc98caa1 user: stephan tags: trunk)
2020-05-27
19:22
Updated release version number in index.wiki. ... (check-in: c0a91653ab user: stephan tags: trunk)
07:56
s/checkin/check-in/ in the help tab, per forum feedback. ... (Closed-Leaf check-in: 91948d3afa user: stephan tags: fileedit-ajaxify)
2020-05-26
07:42
Removed a no-longer-true line from the fileedit help tab. ... (check-in: 616333e5ba user: stephan tags: fileedit-ajaxify)
07:16
Merged in trunk. ... (Closed-Leaf check-in: 58ee06450c user: stephan tags: unaddremove-command)
06:56
merged in trunk ... (Closed-Leaf check-in: a2b0ed37af user: stephan tags: forum-edit-deltify)
06:47
merged in trunk. ... (Closed-Leaf check-in: fe018289e3 user: stephan tags: style-css-revamp)
06:43
Merged in trunk. ... (check-in: 559807ba86 user: stephan tags: fileedit-ajaxify)
2020-05-21
06:32
Added a doc section about CSRF/HTTP Referrer. Other minor doc/message cleanups. ... (check-in: 6de7e48021 user: stephan tags: fileedit-ajaxify)
2020-05-18
12:32
Reverted [5abc0f6e7] because testing has shown the referrer to simply be too fragile and subject to browser-side whims (which also includes the option to send only the scheme and host, without the path, as the referrer, which breaks what that commit did). Now style.css supports both style.css/pagename and style.css?page=name, preferring the former, pending a decision on which one of those syntaxes the other devs prefer. ... (check-in: 45341a2869 user: stephan tags: style-css-revamp)
06:05
Internal commentary on the validity of the global UI enable/disable approach to XHR handling. ... (check-in: 7a95a0f178 user: stephan tags: fileedit-ajaxify)
05:19
Added optional fossil.fetch() beforesend/aftersend callbacks to allow us to... /efilepage now disables all input elements while AJAX requests are in-flight and updates the page with a 'wait' cursor. ... (check-in: 7e197260fd user: stephan tags: fileedit-ajaxify)
03:48 Edit [5abc0f6e79dfbfc5|5abc0f6e79]: Edit check-in comment. ... (artifact: 2e8f174c4b user: stephan)
03:41
Replaced style.css?page=xxx with style.css/page, like the [style-css-revamp] branch does. ... (check-in: bc40707425 user: stephan tags: fileedit-ajaxify)
03:38
Removed doc/help references to "overriding" CSS rules, as that no longer applies in this branch. ... (check-in: a21e26684f user: stephan tags: style-css-revamp)
03:24
All /fileedit/ajax requests now do a CSRF check and fail with 403 if CSRF seems likely. ... (check-in: 88a69253cd user: stephan tags: fileedit-ajaxify)
02:59
style.css now checks for a builtin file named after the first path component of the referer (sic), rather than PD("name"), however, we still have to emit style.css/PAGENAME in $stylesheet_url in order to pick up the the page-specific CSS, otherwise /style.css?id=... is the same for all pages and a page with its own style may pick up a cached copy without its own styles, or with the styles from another page. ... (check-in: 5abc0f6e79 user: stephan tags: style-css-revamp)
2020-05-17
19:55
Removed accidental dual-emit of skin-level CSS. Copy/paste bug. ... (check-in: eddb5ac552 user: stephan tags: style-css-revamp)
19:49
Eliminated an unnecessary allocation. Code style conformance tweaks. ... (check-in: e2a9fe4bc8 user: stephan tags: style-css-revamp)
18:56
Cherrypick [100c67fa] for bootstrap skin fix. ... (check-in: 06c7d57d18 user: stephan tags: style-css-revamp)
17:52
Proof of concept for my proposal of reworking how style.css emits CSS, as discussed in [https://fossil-scm.org/forum/forumpost/d63ff33063|forumpost/d63ff33063]. ... (check-in: ae10ddf330 user: stephan tags: style-css-revamp)
17:07
Merged in trunk. ... (check-in: b9b746e50f user: stephan tags: fileedit-ajaxify)
06:40
Minor style improvements. Dry-run mode is now OFF by default. Reordered checkboxes on the commit tab. Eliminated a couple more uses of the term 'stash' (for local edits), to avoid potential confusion with fossil's stash feature. ... (check-in: 42f2cd77d5 user: stephan tags: fileedit-ajaxify)
06:09
More style tweaks. ... (check-in: 0209fa3277 user: stephan tags: fileedit-ajaxify)
04:50
Updated bootstrap skin header to use $stylesheet_url instead of hard-coding the name and params. ... (check-in: 100c67fa50 user: stephan tags: fileedit-ajaxify)
04:45
Fixed input-with-label > label style for skins which set label display to block. ... (check-in: 0002b7d714 user: stephan tags: fileedit-ajaxify)
04:08
Replaced /fileedit?ajax=blah with /fileedit/blah. This simplifies the passing of URL arguments, eliminating it in several cases, and just looks nicer. ... (check-in: 2c4e7c3785 user: stephan tags: fileedit-ajaxify)
03:35
Several layout tweaks. The 'Prefer delta?' option is now checked by default if the repo contains any deltas and the forbid-delta-manifests setting is not true (that setting trumps this checkbox, in any case). ... (check-in: 25f5f592d1 user: stephan tags: fileedit-ajaxify)
03:32
Moved fileedit-specific CSS to style.fileedit.css, as enabled by previous commit [d661c12cbade]. ... (check-in: 95f1753ffb user: stephan tags: fileedit-ajaxify)
03:19
Extended style.css to optionally be able to load page-specific CSS if the 'page' URL param is provided and a builtin file named style.{{page}}.css is found. The stylesheet_url TH1 var now adds URL param page=g.zPath if builtin file style.{{g.zPath}}.css is available. ... (check-in: d661c12cba user: stephan tags: fileedit-ajaxify)
2020-05-16
17:05
Clear the preview/diff views after a non-dry-run commit. Added toggle to include (or not) manifest in the commit response. Added branch name to finfo objects from the server so that we have the branch names for stashed non-leaf edits. Extended fossil.connectPagePreviewers() to be able to optionally specify methods, instead of element IDs, for the 'from' source and 'to' target, in order to support custom editor/preview widgets. ... (check-in: b5944d4ede user: stephan tags: fileedit-ajaxify)
06:34
Removed the hard-coded restriction against using /fileedit on the main fossil repo and tweaked an error message. ... (check-in: 3c795e877c user: stephan tags: fileedit-ajaxify)
05:42
Include the branch name, if known, in stashed fileinfo objects, and use a longer hash prefix for storing checkin-to-branch mappings (noting that the record does not notice if a checkin is later moved to another branch). (We only know the branch names of leaf checkins we've loaded, but now cache them in persistent storage if possible.) Renamed an internal cache key for consistency. ... (check-in: 8573443f32 user: stephan tags: fileedit-ajaxify)
05:03
Added widget to browse/select locally-edited files. Related cleanups and refactoring. ... (check-in: aefceac57c user: stephan tags: fileedit-ajaxify)
2020-05-15
22:13
Added fileedit-content-replaced event for notification when content is replaced. Clear preview/diff views on fileedit-content-replaced. Changed the interface for providing custom content getter/setter. Fixed the load file button in the file selection widget - it's no longer cleared. ... (check-in: 6f2649b9b0 user: stephan tags: fileedit-ajaxify)
19:25
Simplified the previous commit considerably. ... (check-in: 525bec99a3 user: stephan tags: fileedit-ajaxify)
19:11
Corrected fossil.storage's use of hasOwnProperty() for the case of the fallback transient storage object. ... (check-in: a863592e08 user: stephan tags: fileedit-ajaxify)
18:54
Completed a half-written sentence in the fileedit docs. ... (check-in: d701631ec7 user: stephan tags: fileedit-ajaxify)
18:43
/fileedit now uses fileStorage or sessionStorage, if available, to store unsaved local edits to the 7 most recently edited checkin/file combinations. TODO: make that configurable and offer a widget to manage that stash and quickly switch between those files. It warns loudly if persistent storage is not available. ... (check-in: d130f35687 user: stephan tags: fileedit-ajaxify)
04:40
Modernized sbsdiff.js a tiny bit, adapted it to optionally be callable multiple times via fossil.page.tweakSbsDiffs(), and activate that when fileedit's sbs diff is refreshed. ... (check-in: dd46579617 user: stephan tags: fileedit-ajaxify)
04:20
Internally rearranged how diff flags are passed around, in anticipation of having to refactor for wiki/forum diffs. Added annotate/blame links to /fileedit's first tab. ... (check-in: 39a5241b6f user: stephan tags: fileedit-ajaxify)
04:20 Edit [2cccc12d0482cc13|2cccc12d04]: Edit check-in comment. ... (artifact: 8e7ab9706d user: stephan)
04:19 Edit [d9fffa4c58686fa5|d9fffa4c58]: Edit check-in comment. ... (artifact: 97fcf6980b user: stephan)
03:35
Cleaned up some JSON output using the new %!j format. ... (check-in: d9fffa4c58 user: stephan tags: fileedit-ajaxify)
03:34
Added %!j to %j, which means to include double quotes around the resulting JSON string, and added the corresponding flag to encode_json_string_literal(). ... (check-in: 2cccc12d04 user: stephan tags: fileedit-ajaxify)
02:39
Fixed multi-line commit comment (was not being submitted with commit) and change page title to reflect the file being edited, both per forum feedback. ... (check-in: ef2166a0ac user: stephan tags: fileedit-ajaxify)
02:27
Added submenu Edit entry, when appropriate, to /file, per forum feedback. ... (check-in: 4818e7fdac user: stephan tags: fileedit-ajaxify)
01:35
Fix a potential null deref in sample JS code. ... (check-in: d361947c8d user: stephan tags: fileedit-ajaxify)
2020-05-14
23:34
EOL conversion: had neglected to pass that option on in the ajax request. Fixed a bug which caused duplicate CRs to get injected into force-to-windows-EOL conversions. ... (check-in: 439f446df6 user: stephan tags: fileedit-ajaxify)
15:10
Restructured fileedit-page.md to give more space to/explanation of each caveat/warning bullet point (each of which is now in its own subsection). ... (check-in: 33146972e6 user: stephan tags: fileedit-ajaxify)
07:29
Added a warning about EOL normalization of files with mixed EOL styles. ... (check-in: b83ff3f421 user: stephan tags: fileedit-ajaxify)
07:14
Added www/fileedit-page.md, documenting how to integrate syntax highlighting and replace the editor widget. Added fossil.page.replaceEditorElement() to facility replacing the editor widget. ... (check-in: 909a48e378 user: stephan tags: fileedit-ajaxify)
04:46
Expanded the fileedit-preview-updated event data to include the mimetype and preview mode so that listeners can make a better-informed decision about how/whether to handle the content. ... (check-in: e988ed904a user: stephan tags: fileedit-ajaxify)
04:32
Added fileedit-preview-updated event, for use in hooking up 3rd-party syntax highlighting to the preview. (Tested locally with highlightjs.) ... (check-in: 8e293f959a user: stephan tags: fileedit-ajaxify)
04:14
Removed some dead code. ... (check-in: 4619c9a772 user: stephan tags: fileedit-ajaxify)
04:13
Added a parameter to encode_json_string_literal() to allow it to return its output string length, saving a strlen() call in vxprintf() %j. ... (check-in: 57edd18144 user: stephan tags: fileedit-ajaxify)
03:55
Minor help text, style, and layout tweaks. ... (check-in: 28b2261b75 user: stephan tags: fileedit-ajaxify)
03:39
The filename/version block on the first fileedit tab is now generated completely dynamically, rather than being filled out with '???' with broken links before a file is loaded. ... (check-in: 371b162ff3 user: stephan tags: fileedit-ajaxify)
03:00
fileedit: now gets the file perms via the response header and updates the Is Executable checkbox accordingly. Similary, mimetype is now harvested from the response headers and is used, in place of file extensions, for the "is this a wiki page?" determination. Added fossil-level event infrastructure to allow pages to communicate page-specific events to skin-injected/user-supplied JS code, and fileedit now emits a fileedit-file-loaded event when it loads a new file. Replaced old uses of the term "save" with "commit", per forum feedback. ... (check-in: f1b2e509e7 user: stephan tags: fileedit-ajaxify)
2020-05-13
16:44
Minor doc fix. ... (check-in: ae594780d1 user: stephan tags: fileedit-ajaxify)
16:41
The programmatically-generated input-with-label elements now use an inner LABEL, instead of SPAN, and auto-generated INPUT element IDs to go with the labels (which require an ID). ... (check-in: b46d11b871 user: stephan tags: fileedit-ajaxify)
2020-05-12
21:57 Edit [7699d14104504454|7699d14104]: Mark "Closed". ... (artifact: c89d69603a user: stephan)
21:57 Edit [2d9d276b7fc94e0e|2d9d276b7f]: Mark "Closed". ... (artifact: 3ea9b316e9 user: stephan)
21:56 Edit [eae6f32f1cffcd60|eae6f32f1c]: Mark "Closed". ... (artifact: 8edb11c4f1 user: stephan)
21:56 Edit [108ccef535bae660|108ccef535]: Mark "Closed". ... (artifact: af80453f8b user: stephan)
21:56 Edit [ae8f6f2b7aa851e8|ae8f6f2b7a]: Mark "Closed". ... (artifact: 4eea2a2151 user: stephan)
21:56 Edit [618420b1b8381e35|618420b1b8]: Mark "Closed". ... (artifact: 3409efa892 user: stephan)
21:56 Edit [488dcfada1ff1d8f|488dcfada1]: Mark "Closed". ... (artifact: bb92d02142 user: stephan)
21:56 Edit [4932465eccfe6fae|4932465ecc]: Mark "Closed". ... (artifact: 91335b5742 user: stephan)
21:56 Edit [dad37196fb01c078|dad37196fb]: Mark "Closed". ... (artifact: b8b14941fa user: stephan)
21:56 Edit [39e165afb3646b9a|39e165afb3]: Mark "Closed". ... (artifact: 118c7021d9 user: stephan)
21:56 Edit [8841f6d48fa215ec|8841f6d48f]: Mark "Closed". ... (artifact: cdbc7b1d85 user: stephan)
21:56 Edit [f2035f27f10b7f07|f2035f27f1]: Mark "Closed". ... (artifact: 731113d1f3 user: stephan)
21:56 Edit [26b7b16a7c923f15|26b7b16a7c]: Mark "Closed". ... (artifact: 8a3364ea70 user: stephan)
21:56 Edit [ce4d3fce528a3ad9|ce4d3fce52]: Mark "Closed". ... (artifact: cd1f8d2de6 user: stephan)
21:56 Edit [96d1add988b3be64|96d1add988]: Mark "Closed". ... (artifact: 47311c7928 user: stephan)
21:56 Edit [46dc6537f8482386|46dc6537f8]: Mark "Closed". ... (artifact: 2f51519107 user: stephan)
21:56 Edit [e751da62cb204703|e751da62cb]: Mark "Closed". ... (artifact: b891e853ad user: stephan)
21:56 Edit [b794218f01df1235|b794218f01]: Mark "Closed". ... (artifact: 3c348325d6 user: stephan)
21:56 Edit [9f2a03bbb81cc50b|9f2a03bbb8]: Mark "Closed". ... (artifact: 985ebf66d5 user: stephan)
21:56 Edit [c3e3ceb9b645ffee|c3e3ceb9b6]: Mark "Closed". ... (artifact: 83e10a8738 user: stephan)
21:36
Merged in trunk. ... (check-in: a2ec603335 user: stephan tags: forum-edit-deltify)
16:26
Fixed a potential corner-case bug which would have broken fossil.fetch() if a user had defined their own fossil.fetch.onerror() impl before calling fossil.fetch() the first time. ... (check-in: 695dde004c user: stephan tags: fileedit-ajaxify)
15:10
Merged in trunk for various menu item fixes before deployment to my server. ... (check-in: 8cc7953b9a user: stephan tags: fileedit-ajaxify)
13:25
/fileedit now accommodates relative links in wiki-rendered previews by dynamically adjusting/restoring the base.href when the preview tab is selected/deselected, and the backend can now report to the client, via response header, which rendering mode was selected, allowing the UI to adjust from 'Guess' to the current format. ... (check-in: 2bec2c758f user: stephan tags: fileedit-ajaxify)
13:19
Added the tab manager before-switch-from event. ... (check-in: 2863abf5c5 user: stephan tags: fileedit-ajaxify)
13:18
Added fossil.fetch() responseHeaders option to pass on one or more response headers to the onload() callback. ... (check-in: bbb738d07d user: stephan tags: fileedit-ajaxify)
10:24
/fileedit now squelches errors related to 'missing' URL args, as they are now optional. It also now displays an informative warning at the top of the page if fileedit-glob is not set or is empty. Added a hint about hyperlink in the preview page. Added a Help tab with useful(?) tips. ... (check-in: c145140d3e user: stephan tags: fileedit-ajaxify)
08:54
Double-clicking the status message bar now clears the message (useful when a long HTML-format error comes in via ajax). Removed the unsightly 'new and experimental' banner. ... (check-in: ff7ad7125f user: stephan tags: fileedit-ajaxify)
08:48
Merged in trunk. Minor help text corrections for add/rm --reset. ... (check-in: 822f3aee48 user: stephan tags: unaddremove-command)
08:39 Edit [49a77b5184ef2f5a|49a77b5184]: Mark "Closed". ... (artifact: 7e453c6c50 user: stephan)
08:39 Edit [7c1568e3a03d70b9|7c1568e3a0]: Mark "Closed". ... (artifact: b009e0a013 user: stephan)
08:39 Edit [e33ed0c55a7e9011|e33ed0c55a]: Mark "Closed". ... (artifact: 560d7952d7 user: stephan)
08:39 Edit [38b52a5f0c0a710b|38b52a5f0c]: Mark "Closed". ... (artifact: a53fb99a25 user: stephan)
08:39 Edit [ff4a4fe6b2b1db43|ff4a4fe6b2]: Mark "Closed". ... (artifact: a6d287cfba user: stephan)
08:39 Edit [0cd368f1bfde792e|0cd368f1bf]: Mark "Closed". ... (artifact: 0afd5eef80 user: stephan)
08:39 Edit [972dc1c632998e2c|972dc1c632]: Mark "Closed". ... (artifact: 6bc16d39c1 user: stephan)
08:39 Edit [82bb1901cde6fe59|82bb1901cd]: Mark "Closed". ... (artifact: 1758b55103 user: stephan)
08:28
After committing, reload the leaves/files list. Added a reload button to the leaves/files widget. Several style improvements. ... (check-in: 2318c419c9 user: stephan tags: fileedit-ajaxify)
2020-05-11
23:03 Edit [e184992161fdf362|e184992161]: Edit check-in comment. ... (artifact: 95ba0ff400 user: stephan)
13:03
Replaced the /fileedit_AJAX_ROUTE calls with /fileedit?ajax=ROUTE_NAME to eliminate the dispatch-time and help-system bloat. ... (check-in: 9f26fd1eee user: stephan tags: fileedit-ajaxify)
12:06
Removed a trailing 'ajax' WEBPAGE flag which should not have been checked in. ... (check-in: 50a6a75ba1 user: stephan tags: fileedit-ajaxify)
12:02
CSS which should have been in the previous commit. ... (check-in: b49df0b991 user: stephan tags: fileedit-ajaxify)
12:02 Edit [e6dce6a16afe2188|e6dce6a16a]: Mark "Closed". ... (artifact: c1c7b22809 user: stephan)
12:02 Edit [1a6876db8decace4|1a6876db8d]: Mark "Closed". ... (artifact: 86ef00551d user: stephan)
12:02 Edit [a298a0e2f95c001a|a298a0e2f9]: Mark "Closed". ... (artifact: b4914a812f user: stephan)
12:02 Edit [a1814d501565aeea|a1814d5015]: Mark "Closed". ... (artifact: f9866229f1 user: stephan)
12:02 Edit [4e0274bbc336de42|4e0274bbc3]: Mark "Closed". ... (artifact: 4afba4cf2e user: stephan)
12:02 Edit [5a587ba5705d3fe2|5a587ba570]: Mark "Closed". ... (artifact: ca039b9c43 user: stephan)
12:02 Edit [d23f98877d8e0525|d23f98877d]: Mark "Closed". ... (artifact: 04c32f86b9 user: stephan)
12:02 Edit [6a84934b4411c663|6a84934b44]: Mark "Closed". ... (artifact: f780fffdd1 user: stephan)
12:02 Edit [1765c18d94da3fe5|1765c18d94]: Mark "Closed". ... (artifact: 46be4fae1f user: stephan)
12:02 Edit [a67e2683ed9cdb28|a67e2683ed]: Mark "Closed". ... (artifact: 0b0f6242e1 user: stephan)
12:02 Edit [27a4518e13c41e60|27a4518e13]: Mark "Closed". ... (artifact: b6f25d9a0f user: stephan)
12:02 Edit [dcee34b25f4f4a1f|dcee34b25f]: Mark "Closed". ... (artifact: 7d082de613 user: stephan)
12:02 Edit [c95d7a9c3d323ee0|c95d7a9c3d]: Mark "Closed". ... (artifact: a837b1ab23 user: stephan)
12:02 Edit [d1b68cc0f3c29a63|d1b68cc0f3]: Mark "Closed". ... (artifact: c22c9ca94e user: stephan)
12:02 Edit [6a39f43dc06f966f|6a39f43dc0]: Mark "Closed". ... (artifact: d19e047e86 user: stephan)
12:02 Edit [de9c2f08d7406839|de9c2f08d7]: Mark "Closed". ... (artifact: 079a504586 user: stephan)
12:02 Edit [396eceb9e41290e3|396eceb9e4]: Mark "Closed". ... (artifact: 940dbbac21 user: stephan)
12:02 Edit [0328d681815001ae|0328d68181]: Mark "Closed". ... (artifact: 991ba89eee user: stephan)
12:02 Edit [b21df7ecafa5a2b1|b21df7ecaf]: Mark "Closed". ... (artifact: bdc07898bc user: stephan)
12:02 Edit [463df97c06e408b2|463df97c06]: Mark "Closed". ... (artifact: afa71e7baf user: stephan)
12:02 Edit [19844445d0bd8fcb|19844445d0]: Mark "Closed". ... (artifact: 507a82f56e user: stephan)
12:02 Edit [3f31dc65977d9998|3f31dc6597]: Mark "Closed". ... (artifact: 9f7ba17630 user: stephan)
12:02 Edit [57b585276b8b9c42|57b585276b]: Mark "Closed". ... (artifact: 7f969ceb56 user: stephan)
12:02 Edit [7872db8516d7d482|7872db8516]: Mark "Closed". ... (artifact: b31c766796 user: stephan)
12:02 Edit [d5f6e08c09fe75bf|d5f6e08c09]: Mark "Closed". ... (artifact: 311f60a182 user: stephan)
12:02 Edit [979a75de0633768c|979a75de06]: Mark "Closed". ... (artifact: 1ae76f884a user: stephan)
12:02 Edit [a8c37c2c48e88875|a8c37c2c48]: Mark "Closed". ... (artifact: e69af9d4fa user: stephan)
12:02 Edit [5d8551bfa1d1ebbe|5d8551bfa1]: Mark "Closed". ... (artifact: d014bc6782 user: stephan)
12:02 Edit [9a023e0d6cb1b195|9a023e0d6c]: Mark "Closed". ... (artifact: c2613ff3ab user: stephan)
12:02 Edit [ef8b9da03f051039|ef8b9da03f]: Mark "Closed". ... (artifact: 719471009c user: stephan)
12:02 Edit [56169d0775ca4bb4|56169d0775]: Mark "Closed". ... (artifact: b41874c94c user: stephan)
12:02 Edit [4fb3675a1a5b9962|4fb3675a1a]: Mark "Closed". ... (artifact: f192c3490c user: stephan)
12:02 Edit [13ba9a50df093d59|13ba9a50df]: Mark "Closed". ... (artifact: 74a35cc435 user: stephan)
12:02 Edit [ad98226090901206|ad98226090]: Mark "Closed". ... (artifact: a19db3c8ef user: stephan)
12:02 Edit [22d9cff0c326374e|22d9cff0c3]: Mark "Closed". ... (artifact: 0ee881d3b7 user: stephan)
12:02 Edit [927264ab5a877174|927264ab5a]: Mark "Closed". ... (artifact: 815c7b48d0 user: stephan)
11:59 Edit [3c19422b6e4c643e|3c19422b6e]: Mark "Closed". ... (artifact: 9ac60b0636 user: stephan)
11:59 Edit [413ebeb12e24c090|413ebeb12e]: Mark "Closed". ... (artifact: 8887f12bb1 user: stephan)
11:59 Edit [f88368742db24bb4|f88368742d]: Mark "Closed". ... (artifact: c313bf2c7f user: stephan)
11:59 Edit [6916054dc87d1fca|6916054dc8]: Mark "Closed". ... (artifact: 980c03dbe3 user: stephan)
11:59 Edit [1dfb33e879b7f904|1dfb33e879]: Mark "Closed". ... (artifact: c186682900 user: stephan)
11:59 Edit [861a885c747e5e9d|861a885c74]: Mark "Closed". ... (artifact: 529fc947b9 user: stephan)
11:59 Edit [0fd61810c4929bc9|0fd61810c4]: Mark "Closed". ... (artifact: 9173d64535 user: stephan)
11:59 Edit [624bc1c66283914f|624bc1c662]: Mark "Closed". ... (artifact: 30e7b9b26f user: stephan)
11:59 Edit [df9057276087d6af|df90572760]: Mark "Closed". ... (artifact: abf42f7790 user: stephan)
11:59 Edit [5d49162a31df64da|5d49162a31]: Mark "Closed". ... (artifact: e28437eb6b user: stephan)
11:59 Edit [47cc9dfec89c25da|47cc9dfec8]: Mark "Closed". ... (artifact: ee4cee45c1 user: stephan)
11:59 Edit [51868cb12fe74cc7|51868cb12f]: Mark "Closed". ... (artifact: dfca6a7b1f user: stephan)
11:51
/fileedit no longer requires URL arguments: it has a leaf checkin/file selection list on the first tab. ... (check-in: e184992161 user: stephan tags: fileedit-ajaxify)
07:56 Edit [8d4ce834ed9bd423|8d4ce834ed]: Mark "Closed". ... (artifact: 0b604695f7 user: stephan)
2020-05-10
19:51
Fixed a semantic collision in the fileedit 'column' CSS class, which means something different in the /dir page. This fixes mis-alignment of the commit button. ... (check-in: d0a83a38f5 user: stephan tags: fileedit-ajaxify)
19:42
Minor tooltip tweaks. ... (check-in: 0b1085d724 user: stephan tags: fileedit-ajaxify)
14:50
Merge in trunk for fossil_exe_id() and use it, instead of md5, as the builtin/*.js cache-buster value. ... (check-in: 7e43119a91 user: stephan tags: fileedit-ajaxify)
09:16
Minor efficiency hack in style_emit_script_builtin() and swapped a potentially problematic ordering of two JS includes. ... (check-in: c60ad868b4 user: stephan tags: fileedit-ajaxify)
08:47
Several small style tweaks. Changed style_labeled_checkbox() parameter order for better readability. TabManager class now supports events alerting before/after a tab is switched to. Added auto-refresh of preview when the preview tab is activated, with a checkbox to disable it for slow connections and/or large documents (the refresh button still works as before). ... (check-in: ee175636aa user: stephan tags: fileedit-ajaxify)
2020-05-09
13:56
Disable rendering of the comment mime type selection list, as it's not honored/implemented where comments are rendered. ... (check-in: 875b60bccd user: stephan tags: fileedit-ajaxify)
12:54
Determine which comment editing mode to enable based on which of the editor fields is hidden by default, so that we stay in sync if the C side changes. ... (check-in: a4314603f7 user: stephan tags: fileedit-ajaxify)
12:36
Added style_select_list_str(), selection list for commit comment mime type, and a toggle to switch between single- and multi-line comment editing modes. ... (check-in: 4d5004ef2d user: stephan tags: fileedit-ajaxify)
2020-05-08
14:15
Swapped the style_emit_script_builtin() parameters for consistency with style_emit_script_tag(). ... (check-in: 02240eec90 user: stephan tags: fileedit-ajaxify)
14:00
Delay the initial filepage loadFile() until a windows.load event. This seems to eliminate what appears to have been a race between that call and the filepage init code. ... (check-in: 07d0bcc598 user: stephan tags: fileedit-ajaxify)
12:39
/fileedit now accepts 'fn' and 'ci' as undocumented aliases for 'filename' resp. 'checkin', for consistency with some other pages. style_emit_script_builtin() now includes a cache-buster on URLs (a prefix of the builtin content's MD5 hash). ... (check-in: 3733293a01 user: stephan tags: fileedit-ajaxify)
2020-05-07
12:52
Normalized the various input-with-label elements to use SPAN wrappers instead of DIV. ... (check-in: 53b31b0814 user: stephan tags: fileedit-ajaxify)
11:12
doc typo ... (check-in: a62594e58d user: stephan tags: fileedit-ajaxify)
09:04
Removed a local temp foo.js which got picked up by makemake.tcl :/. ... (check-in: 8a98762b81 user: stephan tags: fileedit-ajaxify)
02:36
Merged in trunk. ... (check-in: 087c5d1f3e user: stephan tags: fileedit-ajaxify)
01:45
Removed a bit of comment which confused the help generator and broke building test-builtin-list... and yet somehow built once? ... (check-in: 6ba0e14df7 user: stephan tags: trunk)
01:19
Added hash_digits() info to fossil.config object and added fossil.hashDigits(). Factored out fileedit JS use of innerHTML where possible. Reworked the Version Info tab a bit. ... (check-in: 29567e6e7e user: stephan tags: fileedit-ajaxify)
00:16
Added -verbose/-v flag to test-builtin-list to output a total count and size. ... (check-in: 7df467810e user: stephan tags: trunk)
2020-05-06
23:53
Added a 'tick' mode to fossil.confirmer to more easily allow the triggering element to be visibly updated to reflect the countdown state. The editor's discard/reload button now visibly counts down from 3 if clicked. ... (check-in: 3da4b94c44 user: stephan tags: fileedit-ajaxify)
22:57
Improved the tab control styling, and no longer use buttons so that their :focus style doesn't break the appearance. Fixed some CSS which no longer matched after removal of the outer wrapping FORM element. ... (check-in: a84f6458c0 user: stephan tags: fileedit-ajaxify)
17:52
Renamed the file=filename, r=checkin query params to filename=..., checkin=..., for consistency with the annotate/blame URLs and possibly others. ... (check-in: 6b7805e056 user: stephan tags: fileedit-ajaxify)
17:37
s/f-post-/f-preview-/. ... (check-in: 99bd288bce user: stephan tags: fileedit-ajaxify)
17:33
First step in the automation of connecting an editor widget to a preview-mode widget, as demo'd in [https://fossil-scm.org/forum/forumpost/d44564bad4|/forumpost/d44564bad4]. ... (check-in: 7ede6122e5 user: stephan tags: fileedit-ajaxify)
05:21
cosmetic internal tweaks. ... (check-in: bb71f9ecd2 user: stephan tags: fileedit-ajaxify)
04:52
Minor code style improvements, fixed a couple jquery-isms in the confirmer port, added the ability to select tabs by number and pre-select a specific tab, removed a superfluous C function. ... (check-in: 9085ec2351 user: stephan tags: fileedit-ajaxify)
03:30
Removed a bogus, but harmless, JS dep and corrected some copy/pasted docs. ... (check-in: 2abc1ff42a user: stephan tags: fileedit-ajaxify)
03:19
Removed devious hard tabs which slipped in while porting. ... (check-in: 626c45609e user: stephan tags: fileedit-ajaxify)
03:02
Added fossil.confirmer JS API to offer a non-intrusive click confirmation mechanism. Re-activated the /filepage content reload button with a confirmation click required. ... (check-in: e70ab3a368 user: stephan tags: fileedit-ajaxify)
01:58
Removed the FORM element - it was superfluous and particularly stubborn in how it responded to every button. ... (check-in: 7635d9345d user: stephan tags: fileedit-ajaxify)
01:51
Reworked how /fileedit loads its JS - it now fetches them rather than embedding them inline. Moved fossil.fetch() docs from style.c into the JS file. ... (check-in: b48212f6ea user: stephan tags: fileedit-ajaxify)
2020-05-05
23:54
Re-added the editor font size selector. Added a button to discard/reload edits, but it's too easy to activate by accident, so it's disabled until we have a common confirmation mechanism in place. Added timestamp to fossil.message() and fossil.error() output. ... (check-in: 25dfd243a1 user: stephan tags: fileedit-ajaxify)
23:31
Added missing checks for negative result value from symbolic_name_to_rid() (indicating an ambiguous name). ... (check-in: d8c21f2f09 user: stephan tags: fileedit-ajaxify)
22:18
Added option to render HTML previews inline, as opposed to in an iframe. Layout improvements in the preview/diff/commit tabs. ... (check-in: bd81a5f601 user: stephan tags: fileedit-ajaxify)
21:49
Temporarily(?) removed the editor font size adjustment dropdown, as it currently has no proper home in the new layout. ... (check-in: 413a0ce83f user: stephan tags: fileedit-ajaxify)
21:41
Unified diff now produces empty output when the diff is empty, insead of an empty wrapper element. ... (check-in: 146e867eb5 user: stephan tags: fileedit-ajaxify)
17:23
Doc updates and corrections. ... (check-in: e7659e7265 user: stephan tags: fileedit-ajaxify)
16:51
Completely overhauled the /fileedit layout, using a homebrew tabbed interface. ... (check-in: 33ffe5762b user: stephan tags: fileedit-ajaxify)
11:51
/fileedit_content now only uses application/octet-stream for files which explicitly have that type via mimetype_by_name() or which look like binary content, falling back to text/plain, per suggestion in the discussion thread. ... (check-in: 4270ecb3a2 user: stephan tags: fileedit-ajaxify)
08:41
Numerous minor cleanups. ... (check-in: f54ac21745 user: stephan tags: fileedit-ajaxify)
06:48
Ajaxified commit. All that's left is cleanup and prettification. ... (check-in: 1a6c5090ce user: stephan tags: fileedit-ajaxify)
04:06
Initial work on ajaxifying /fileedit. Fetching content, preview, and diffs are ajax'd, but save is not yet. ... (check-in: 8edf9dbfc2 user: stephan tags: fileedit-ajaxify)
2020-05-04
23:26
Moved some generic fileedit code to style.c. Refactored /fileedit to not require JS to update version info, making this impl pure no-JS. Now to ajaxify it... ... (Closed-Leaf check-in: 8d4ce834ed user: stephan tags: checkin-without-checkout)
20:16
Added /fileedit links to /finfo and /artifact. ... (check-in: fe925e7d6d user: stephan tags: checkin-without-checkout)
17:48
Add the submit button IDs programmatically (was previously hand-coded), to avoid them getting out of sync with their enum. ... (check-in: 032a0326e8 user: stephan tags: checkin-without-checkout)
17:44
Added SBS/unified diff to /fileedit. ... (check-in: ae8e24d021 user: stephan tags: checkin-without-checkout)
16:22
Style improvements and code consolidation. ... (check-in: 67a2bfb0dc user: stephan tags: checkin-without-checkout)
13:12
Added preview render mode selection list. ... (check-in: 65b6c01afd user: stephan tags: checkin-without-checkout)
12:46
Implemented HTML-in-iframe preview. Related internal cleanups. ... (check-in: ac309281e6 user: stephan tags: checkin-without-checkout)
12:10
Implemented preview mode for plain text and wiki/embedded doc, but how to populate the necessary iframe for HTML preview, without a URL back to the preview content, eludes me. ... (check-in: 079030faaf user: stephan tags: checkin-without-checkout)
07:54
Merged in trunk. ... (check-in: 628c39fb60 user: stephan tags: unaddremove-command)
2020-05-03
14:57
Moved /fileedit and friends to fileedit.c. ... (check-in: 6cdb091adb user: stephan tags: checkin-without-checkout)
14:38
Removed a couple dangling undefs from the previous commit. ... (check-in: dcc977628f user: stephan tags: checkin-without-checkout)
09:05 Changes to wiki page "branch/checkin-without-checkout" ... (artifact: 4a620041d3 user: stephan)
2020-05-02
22:34
Removed some irrelevant comments. ... (check-in: 7243aea14a user: stephan tags: checkin-without-checkout)
21:57
Fixed a double-free caused by refactoring. Was being triggered in web mode but not CLI mode, strangely enough, though the code was hit by both. Other minor cleanups and fixes. ... (check-in: 6f749dfbc8 user: stephan tags: checkin-without-checkout)
20:52
Fixed copy/paste error which caused the comment text to get duplicated into the N-card. ... (check-in: 2ee462843a user: stephan tags: checkin-without-checkout)
20:46
Fixed a bogus bit of css. ... (check-in: b203f2e967 user: stephan tags: checkin-without-checkout)
17:50
Improved some labels and help text and corrected the 'hint' styling to encompass elements outside of the FORM element. ... (check-in: f41eb6964c user: stephan tags: checkin-without-checkout)
17:41
Comment updates. ... (check-in: 43d6e3caf2 user: stephan tags: checkin-without-checkout)
16:48
Minor error message improvements. ... (check-in: 80345fd14e user: stephan tags: checkin-without-checkout)
16:43
Instead of injecting multiple mini-scripts, queue up script code and emit it in one anonymous function at the end. Update the version number and permalink after saving so that we're basing on the new version. ... (check-in: 6407b6ca37 user: stephan tags: checkin-without-checkout)
15:03
Added fileedit-glob setting (/fileedit whitelist) and honor it in /fileedit. Added mini-checkin options to specifically convert EOLs to Unix or Windows styles. /fileedit saving now more or less works, but still needs to update the 'r' value after editing or else we're stuck at the old parent version. ... (check-in: 33861414ae user: stephan tags: checkin-without-checkout)
2020-05-01
15:22 Added wiki page "branch/checkin-without-checkout" ... (artifact: f74fdba8b7 user: stephan)
14:22
Initial work on /fileedit page. First dry-run save was just performed. ... (check-in: fbd31f2049 user: stephan tags: checkin-without-checkout)
07:47
Got basic /fileedit page skeleton in place. It can load/display a file, with some limits, but cannot yet do anything with it. ... (check-in: b5e3bc9e41 user: stephan tags: checkin-without-checkout)
07:33
Added quotes around the URLs passed to the browser for the ui command so that URL parameters containing an ampersand get passed on correctly. ... (check-in: 126d34fb32 user: stephan tags: checkin-without-checkout)
05:38
Mini-checkin now pre-allocates some memory for the output manifest. Internal doc updates. ... (check-in: bfe7750e94 user: stephan tags: checkin-without-checkout)
05:37
Added blob_reserve() for use with a manifest-generation optimization. ... (check-in: 972cc5f9ac user: stephan tags: checkin-without-checkout)
05:00
Re-implemented and drastically simplified the mini-checkin F-card generator. ... (check-in: 39262b420a user: stephan tags: checkin-without-checkout)
Previous month ↓