Fossil

History of src/fossil.numbered-lines.js of a0377ebb9d1bb474
Login

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

History of file src/fossil.numbered-lines.js at check-in a0377ebb9d1bb474

2025-08-12
15:04
Revamp the Copy Buttons for a more responsive user experience. See the [branch/copybtn.js-responsive | wiki page linked to this branch] for more details. file: [9b6958161e] check-in: [32c3a210c8] user: florian branch: copybtn.js-responsive, size: 3921
2025-06-04
08:15
When creating a hyperlink via line selection and the mouse in the /file view, do not decode the inbound URL, to avoid mis-handling of filenames which contain + signs. This resolves [forum:6f276193d2cfa5ab|forum post 6f276193d2cfa5ab]. file: [d96ba4a064] check-in: [7641c82961] user: stephan branch: trunk, size: 3989
2021-03-31
22:53
Fix (URL-decode) a hyperlink that gets into clipboard when user selects a line of code (or a range of lines) and clicks "copy-to-clipboard". This affects /file, /artifact and /whatis pages. This fix may be somewhat suboptimal or incomplete: it may be worth investigating why some submenu's links are mangled on a server's side and fix it there (hint: perhaps %T and %h formatting does not play well with style_submenu_*() family of functions, see also check-in [b982c00150] and post [forum:b8ea664a57]). file: [dabbe56842] check-in: [898151877f] user: george branch: trunk, size: 4094
2020-08-24
20:49
Experimentally added '?' help buttons in wikiedit. Experimentally emit all fossil.XYZ APIs, rather than selected ones, to test whether that reduces overall transmission together with caching. DOM init-time timing workarounds to get confirmer buttons to pin their sizes properly. file: [b6eddfcdda] check-in: [9edbb7eab1] user: stephan branch: misc-js-experiments, size: 3967
2020-08-20
22:40
Using parameters to namespace functions in fossil*.js instead of the global "fossil" object. Squishes a complaint by GCC and makes the code a smidge smaller besides. file: [4cb7367499] check-in: [0f03f78a8b] user: wyoung branch: trunk, size: 3965
2020-08-18
22:53
Line numbering forum feedback: removed toast message, replaced vague 'lines X-Y' label with 'Copy link to lines X-Y', removed udc=xxx from the generated URL. file: [f97a8b5202] check-in: [7c98df4158] user: stephan branch: trunk, size: 3970
2020-08-16
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. file: [b35eb6b3c8] check-in: [4368f52961] user: stephan branch: trunk, size: 3785
02:43
Made copy-to-clipboard toast message less verbose. Tapping anywhere on the clipboard buttons popup widget now activates the clipboard copy. file: [21fddec9fc] check-in: [739e4ee339] user: stephan branch: line-number-selection, size: 3777
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. file: [e14211da29] check-in: [8a6ccf9ddd] user: stephan branch: line-number-selection, size: 3777
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. file: [37169ac313] check-in: [3998ccef44] user: stephan branch: line-number-selection, size: 3547
08:29
Optimized the mouse-based line number selection considerably, requiring far less DOM traversal. file: [b23389f23a] check-in: [0096aa4644] user: stephan branch: line-number-selection, size: 3545
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. file: [5013594290] check-in: [738bea54c0] user: stephan branch: line-number-selection, size: 3431
07:41
Implemented dynamic mouse selection of source lines and clipboard tooltip to copy the line range URL. file: [b64ba13d25] check-in: [3942eb600a] user: stephan branch: line-number-selection, size: 3495
2020-08-14
12:28
Corrected the JS-side recursive argument handling for the multiple-numbered-tables case. file: [8457488bfd] check-in: [a54fa928e2] user: stephan branch: line-number-selection, size: 1815
11:53
Added: 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. file: [558b9ccf34] check-in: [ec73edd4d0] user: stephan branch: line-number-selection, size: 1697