Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
50 events by user stephan occurring around 2020-05-15 03:35:05.
2020-05-17
| ||
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) | |