- terminal: Move image permission prompt to overlays.
- notifications: Pull out into dedicated file.
- notifications: Clear content when hiding.
- size notification: Use × instead of x.
- notifications: Keep it dynamically centered.
- Replace parent{Element,Node}.removeChild() with remove().
- css: Move from non-standard -webkit-transition CSS to standard transition.
- io: Drop support for UTF-8 code units in UTF-16 strings.
- Drop support for Chrome apps.
- docs: Add an example for emacs ctrl-tab.
- scrollport: Disable zoom gestures.
- terminal: Unify showOverlay APIs.
- tests: Convert MockRowProvider to ES6 class.
- prefs: Make listProfiles take the storage.
- terminal: Change Terminal constructor API to an options object.
- utils: Inline a few utility functions.
- utils: Convert Size/RowCol to ES6 classes.
- zoom: Drop browser zoom logic.
- css: Switch to standard user-select CSS property.
- test: Use a dark theme by default.
- python: Trim Python 2 boiler plate.
- change "master" to "HEAD" in most places.
- terminal: VT scroll clear when region is full screen.
- scrollport: Revert "Ignore scrolling for non-cancelable scrollwheel events."
- text-attrs: Intl.Segmenter: avoid use of next().
- parser: Add identifiers for MINUS, EQUAL, BRACKET_{LEFT,RIGHT}.
- terminal: Add background image.
- findbar: Update find bar results.
- findbar: Keep focus on FindBar after scroll.
- findbar: Set find-bar batch size to 500.
- findbar: Set sans-serif font for find bar.
- terminal: Call updateCssCharsize_() on window resize.
- findbar: Fix find bar default colors.
- findbar: Remove test variable in findbar.
- findbar: Move between find results.
- vt: Fix VT region scrolling.
- findbar: Highlight first instance of findbar result.
- findbar: Added scrollRowToMiddle function.
- findbar: Updated find-result-selected-color pref.
- findbar: Render findbar search results updated.
- keyboard: Stop passing Ctrl+Shift+B to browser.
- keyboard: Do not capture Shift+F11.
- init: Fix chrome.tabs.getCurrent to pass tab.
- findbar: Add find-result-selected-color pref.
- findbar: Render findbar search results on terminal.
- prefs: Change wording for Alt+1..9 switch tab/app behavior.
- findbar: Start implementing searching.
- findbar: Add find-result-color pref.
- storage: Convert get APIs to promises.
- terminal: Rescan font family whenever a new font is loaded.
- eslint: Check embedded <script> content.
- npm: Refresh tool versions.
- lib.init: Rewrite from callbacks to promises.
- test page: Show hterm details instead of libdot.
- i18n: Change getAcceptLanguages from callbacks to promises.
- Make ES2018 requirement official.
- test page: Load nassh translations.
- l10n: Improve some descriptions and translation tips.
- terminal: Do not scrape URIs from OSC-8 links.
- keyboard: Add chromeos ctrl+alt+z toggle chromevox as os default binding.
- contextmenu: Style context menu to match material design.
- terminal: Add an optional border to the main screen.
- html: Add missing tag.
- lint: Change default behavior to look at all files.
- hterm.py: Convert core constants to pathlib.
- keyboard: Remap Ctrl+N to call terminalPrivate.openWindow.
- terminal: Style copy toast to match material design.
- terminal: Use local color state for text overlays.
- keyboard: Ctrl+n should PASS if pref is set.
- scrollport: Fix screen visible height to avoid seeing partial bottom row.
- terminal: Style size toast to match material design.
- doc: Add info about CrOS WM shortcuts.
- scrollport: Handle padding for fold and a11y buttons.
- terminal: Fix default keybinding handling.
- terminal: Fix mouse events to adjust for screen padding.
- eslint: Enable no-multi-spacesfix checks.
- keyboard: Hide context menu for most key presses.
- closure: Update to v20200204.
- scrollport: Add padding with new screen-padding-size property.
- lint: Avoid date->number coercion.
- keymap: Do not use ^ with bools.
- accessibility_reader: Add non-null assert.
- keymap: Fix altKey typo.
- terminal: Use screen rather than body size for displayImage sizing.
- terminal: Use display none rather than positioning to hide cursor.
- scrollport: keep room for scrollbar.
- eslint: Enable default-param-last check.
- eslint: Enable no-throw-literal check.
- lint: Add missing dangling commas.
- eslint: Enable no-empty check.
- eslint: Enable prefer-rest-params check.
- mocha: Upgrade to v7.
- lint: Convert var to let/const.
- closure: Update to v20190929.
- eslint: Ban self usage.
- eslint: Disable l/I variable usage by default.
- prefs: Improve some descriptions and translation tips.
- eslint: Enable object-curly-spacing checks.
- eslint: Enable space-in-parens checks.
- eslint: Enable space-before-function-paren checks.
- eslint: Enable one-var-declaration-per-line checks.
- eslint: Enable semi-spacing checks.
- eslint: Enable comma-dangle checks.
- eslint: Enable space-infix-ops checks.
- eslint: Enable comma-spacing checks.
- eslint: Enable keyword-spacing checks.
- eslint: Enable no-control-regex checks.
- eslint: Enable no-useless-return checks.
- eslint: Enable no-useless-escape checks.
- eslint: Enable no-useless-concat checks.
- eslint: Enable spaced-comment checks.
- eslint: Enable radix check for parseInt.
- lint: Clean up remaining opt_ usage.
- lint: Add missing braces everywhere per our style guide.
- lint: Use const with for...of loops.
- a11y: Add options page button.
- colors: Use css vars.
- terminal: Use navigator.clipboard for pasting.
- keyboard: Also pass shift for pass-ctrl-t and pass-ctrl-w.
- scrollport: Remove fixed width for Page Up button to allow wider text in JA.
- prefs: keybindings-os-defaults: New preference.
- hterm: Replace minus with plus for key shortcuts.
- a11y: Use innerText instead of aria-label for announcements.
- prefs: Reword pass-X pref descriptions.
- keyboard: Delay keymap handling to allow binding overrides.
- terminal: Update charsize CSS variables when font-family changes.
- prefs: Add preferences for tab accelerators.
- word-breaks: Add more quote marks.
- scrollport: Put hidden page up/down buttons outside of .
- eslint: Enable single quote checking.
- osc52.sh: add a --force flag to ignore limits.
- doc: Split up internal documentation.
- example: Add basic backspace support in hterm.html.
- terminal: Pause cursor blinking while the user is typing.
- mkdist: Unify argument parsing & log setup.
- eslint: Enable more jsdoc checks.
- eslint: Set max-len 80.
- eslint: Enable jsdoc plugin & tag naming.
- lint: Generate deps for closure.
- hterm: Drop module.exports support.
- npm: Start packaging files.
- js: Clean up closure compilation.
- scrollport/terminal: Only scroll to end on resize if already scrolled to the end.
- lint: Fix chdir logic with default paths.
- pylint: Clean up various pylint issues in the code base.
- vtscope: Port to Python 3.
- lint: Unify helper program.
- tests: Update lib.MessageManager API usage.
- prefs: Add enable-resize-status setting.
- eslint: Turn on more rules.
- js: Fix lint and closure-compile errors.
- scrollport/terminal: Add blur() method to unfocus.
- lint: Use new closure-compiler wrapper.
- terminal: Pass commandName in Command constructor.
- tests: Disable copy-execCommand test for now for headless testing.
- load_tests: Refactor mkdeps call.
- terminal: Use local color state when processing reverse video.
- Switch from lib.f.getWhitespace to ES6 String.repeat.
- terminal: Speed up realize helpers slightly.
- screen: Set initial column count to 0.
- mkdist: Rewrite in Python.
- vt: Ignore invalid OSC-52 requests.
- tests: Add missing image Blobs & ArrayBuffers tests.
- lint: Rewrite helper in python.
- load_tests: Convert to python.
- concat: Replace arbitrary shell scripts with explicit commands.
- Convert test suite to mocha.
- tests: Bundle external data into test env.
- tests: Create fresh scrollport for each test.
- terminal: Split strings based on graphemes.
- prefs: Add cursor shape to preferences.
- scrollport: Fix line height for underline cursor.
- parser_tests: Peel negKeySeq helper out of Tests.
- tests: Fix async init with hterm.Terminal.
- tests: Move state cleanup to postambles.
- Change keymap for modifiers on Enter key.
- scrollport: Ignore scrolling for non-cancelable scrollwheel events.
- scrollport: Fix chromevox pageup/pagedown display.
- scrollport: Set offscreen selection rows as aria-hidden.
- screen: Simplify overwriteString return.
- terminal: Update replaceReferences API.
- vt: Allow ; to be omitted with OSC sequences.
- a11y: Revert "Mark offscreen rows that hold selection as hidden".
- tests: Speed up accessibility tests.
- tests: Improve execCommand tests.
- tests: Speed up pubsub tests.
- tests: Drop setDefaults usage.
- tests: Call chai asserts directly.
- tests: Switch core to chai for asserts.
- vt: Requeue data after UTF8 change.
- tests: Fix assert identity tests.
- test: Drop lib.f.alarm use.
- Drop runtime dep checks.
- io: Fix typo in type check.
- concat: Avoid non-portable %T in date format.
- io: Check for strings before ArrayBuffers.
- test: Allow tests to be selected via the URI.
- vt: Switch OSC-52 handling to TextDecoder.
- io: Accept ArrayBuffers to writeUTF8.
- Limit X10 encoding to 127 for now.
- io: Flip UTF8/UTF16 helpers.
- vt/io: Move UTF-8 handling to hterm.Terminal.IO.
- Switch to ES6 Symbol.
- Import Text{De,En}coder polyfills.
- vt: Support mime types with inline image display.
- tests: Move utf8 decoder test out of hterm.
- vt: Switch OSC-52 handling to lib.decodeUTF8.
- vt: Drop unused {de,en}codeUTF8 helpers.
- doc: Start a section about hterm.Terminal.IO encodings.
- Update to libdot 1.26. openWindow & new codec helpers.
- Optimize image display with Blobs & ArrayBuffers.
- Workaround touch focus bug on CrOS.
- Initialising iframe contents asynchronously on FF.
- Add support for new Clipboard API for copying text.
- Push selection logic down into copySelectionToClipboard.
- Fix paste event on Firefox.
- terminal: Stop passing down this.document_ when copying.
- Switch to array buffers for sending tty data.
- Provide readable pref strings.
- tests: Switch to a dark theme.
- concat: Stop listing test code in deps.
- Use new lib.f.openWindow helper.
- Update to libdot 1.25. Minor improvements.
- Split default/pointer cursor style.
- Avoid using KeyboardEvent.which.
- prefs: Turn default pref settings into proper objects.
- Add
paste-on-drop
preference.
- Update to libdot 1.24. Tool improvements for supporting nightly builds.
- embed: Update examples to use lib.init.
- terminal: Move cursor color to css vars.
- Add support for a context menu.
- keyboard: Add a clearScrollback hook.
- vt: Change CSI-J-3 to clear scrollback.
- terminal: Add HTMLImageElement cast to avoid XSS compilation warnings.
- terminal: Process inverse text attr after bold-as-bright & faint.
- hterm-notify/hterm-show-file: Fix long sequences under screen.
- osc52.sh: Rewrite to match other helper scripts.
- terminal: Workaround FireFox bug with selectAllChildren.
- Update to libdot 1.23. Build improvements, i18n helpers, and npm support.
- mouse: Support horizontal mouse scroll wheel events.
- keyboard: Add more keyboard binding callbacks.
- mouse: Disable default handling for mouse buttons 3 & 4.
- keyboard: Ignore Tab keys in onKeyPress_.
- etc: osc52.el: Fix terminal detection.
- build: mkdist: Delete dead code.
- a11y: Ensure the Page Up button isn't shown when the ScrollPort is focussed.
- build: Convert concat to a python script.
- a11y: Only announce a space character if it is the character actually printed to the screen.
- a11y: Mark offscreen rows that hold selection as hidden.
- a11y: Update the selection when accessibility is enabled even if it's collapsed.
- test: Remove invalid page-down-all-rows-visible test.
- a11y: Add announcements of the Space character.
- a11y: Handle announcements of selection changes.
- a11y: Simplify handling of duplicate live output.
- a11y: Change to have a role="log".
- a11y: Announce messages shown by showOverlay.
- a11y: Fix announcement of current scrolled percentage.
- a11y: Don't announce page up/down at the top/bottom of the screen.
- a11y: Fix an assertion failure in hterm.AccessibilityReader.
- test: Add simple test page.
- test: Add/update various test data files.
- a11y: Make it possible to enable/disable accessibility at runtime.
- a11y: Announce the current screen content on Page up/down.
- a11y: Add skip-links to allow screen readers to scroll the terminal.
- prefs: Add COLORTERM to default env.
- vt: Automatically hide the mouse cursor while typing.
- vt: Improve & document mouse cursor customization.
- Update to libdot 1.22. Unicode 11.0.0 updates and new helpers.
- osc52.vim: Split base64 output when using get_OSC52_DCS for screen.
- keyboard: Add media key handling only for Chrome OS systems.
- keyboard: Cleanly handle Firefox keyboard deviations.
- keyboard: Update Chromebook media bindings.
- build: Fix base64 usage on macOS.
- vt: Strip most control chars out for bracketed paste.
- keyboard: Improve addKeyDef documentation.
- mouse: Don't use user-configured word break matches when ctrl-clicking on urls.
- mouse: Double click should expand selection whether "copy-on-select" is on or off.
- a11y: Hide invisible elements from the screen reader.
- a11y: Add the aria-readonly attribute to the x-screen element.
- vt: Fix initial cursor display to match internal state.
- vtscope: Fix python-3 print func handling.
- prefs: Add Noto Sans Mono to the default font list.
- Clean up code a bit to pass linting.
- a11y: Add basic support for announcing command output to AT in hterm.
- a11y: Improve accessibility command output.
- tests: Add callbacks with image loading.
- terminal: Preserve selection when scrolling collapsed selections.
- Crush all images.
- tests: Fix floating point rounding error in Terminal.dimensions.
- vt: Unbreak legacy mouse wheel encoding.
- vt: Implement OSC 104 (color reset) support.
- vt: DECALN: Fix cursor position.
- prefs: Improve descriptions and translation tips.
- Add support for changing underline style/color.
- README: document our mirrors/release sites.
- Fix typo in autocapitalize attribute.
- Send a signal when the frame is made visible.
- Document expected coding style.
- Fix fallback git value.
- Fix typo in mouse wheel reporting (for newer tmux).
- Add sanity check on user font size.
- Overhaul SGR 38/48 handling for ISO 8613-6.
- Fix osc52 vim script in tmux.
- Allow F11 when running in a tab for fullscreen.
- Implement OSC 110/111/112.
- Set charset=utf-8 in html files.
- Check document character set at startup.
- Fix typo in blink preference handling (broke in hterm-1.69).
- change default terminal encoding to utf8
- invert drag & drop format preferences
- handle ISO-8613-6 SGR subparameters
- default all character maps to US/ASCII when resetting
- fix reset after custom text attributes
- separate terminal full & soft reset code paths
- move vt reset calls into the terminal layer
- reset SGR attributes during soft resets
- move cursor save/restore state from per-terminal to per-screen
- rename CHA comments to match DEC docs
- support DECSET 1007 for controlling alternate scroll mode
- hoist openUrl to main namespace
- support OSC 8 for hyperlinking text
- add localization logic
- drop max-string-sequence support
- add a test to keep nassh translations in sync
- allow keybindings for unknown keys
- add a default PASS mapping for the Clear key
- use new lib.f.getOs helper
- include all profiles all the time when backing up
- implement OSC 1337 file display/transfer
- Fix parsing multiple SGR true color sequences.
- Add support for double underlining (SGR 21).
- Document a few more CSI options.
- Fix handling of inverse text with true colors.
- Simplify invisible text processing.
- Fix DECSET/DECRST 1048 handling.
- Stop changing color palettes when restoring cursor state.
- Handle X10 & X11 mouse reporting modes.
- Support UTF-8 & SGR mouse reporting modes.
- Optimize mouse move reporting.
- Return early on mouse move events when possible.
- Implement FocusIn/Out events.
- Finish implementing enable-clipboard-write.
- Document more OSC sequences.
- Document source code.
- Implement OSC 12 (text cursor color).
- io: buffer data when in background.
- io: add a hideOverlay helper.
- Report meta key too with CSI sequences.
- Handle drag & drop nicely.
- Stop mangling input from IMEs/etc...
- Drop duplicate resize call.
- Fix console warning.
- Fix container matching logic wrt ascii & blink settings.
- Switch to Node constants.
- Update the embedding document.
- Restore cursor style after ringing the bell.
- Fix replacing wide chars with narrow chars.
- Do not warn about unknown sequences by default.
- Avoid recalculating string display widths when possible.
- Move initial cursor location off screen again during startup.
- Fix processing of split ST sequences across buffers.
- Fix overlaying/inserting combining characters.
- Add ids to more internal elements for debugging.
- Disable drag & drop of text/content.
- Fix helper scripts/docs to use POSIX portable \033 instead of \e with printf.
- Drop support for old Chrome <21 versions with storage setup.
- Rewrite Unicode processing to avoid stripping combining characters.
- Make encoding state internal and add setEncoding callback to the API.
- Stop matching 8-bit control codes in utf8 mode.
- Add a pref for default terminal encoding.
- Add a helper/document for the new notification position.
- Switch cursor positioning to use CSS vars.
- Restore native pasting as a fallback for the open web.
- Change default G1 character map to US/ASCII.
- Change DECCKM mouse wheel events to default to off.
- Add support for DOCS for transitioning to UTF-8 (ESC+%).
- Open links on macOS via cmd+click.
- Fix URL opening for Chrome v2 apps.
- Support disabling DECCKM mouse wheel events.
- Fix wide char width handling and simplify in general via CSS vars.
- Use ES6 String.repeat to simplify char size measurements.
- Force height of all lines/chars to match to avoid glyphs drawing lines too high or low and making rendering overall inconsistent.
- Fix mouse move reporting (regression in hterm-1.65).
- Clarify modifiers in keyboard bindings.
- Invert touchscreen scrolling to match OS direction.
- Document hterm JS language (browser/runtime) requirements.
- Drop support for GR character maps (which have never actually worked).
- Add tests for hterm.VT.CharacterMap code.
- Clean up the hterm.VT.CharacterMap classes.
- Add reset & setOverrides helpers to hterm.VT.CharacterMap for customization.
- Add a new hterm.VT.CharacterMaps container class. API breakage warning: hterm.VT.CharacterMap.maps no longer exists. Any users of it will need to instantiate hterm.VT.CharacterMaps and use that API.
- Change mouse wheel scrolling when DECCKM is active to run only on the alt screen (and never the primary screen).
- Add support for custom notifications (iTerm2's OSC-9 and URxvt's OSC-777:notify module).
- Initial support for making virtual keyboards show up (for phones/tablets).
- Fix clicking of mailto: links.
- Fix ctrl+clicking in empty space (caused internal errors).
- Change Ctrl+V and Ctrl+Shift+V to invoke pasting directly instead of relying on the OS/browser to do so (makes macOS consistent).
- Include a terminal icon in all notifications.
- Use new lib.f.createEnum helper.
- Move from non-standard -webkit-flex CSS to standard flex names.
- Delay display of iframe dialog until it's finished loading. API breakage warning: Your app needs to transmit a terminal-info-ok message back after it has received & finished processing the terminal-info message.
- Fix CrOS OS detection with middle mouse pasting.
- Make word break selections into a user preference.
- Move from non-standard proto to standard Object.create/prototype.
- Add a sep option for pasting on mouse right click events.
- Move from non-standard MouseEvent.which to standard MouseEvent.button. API breakage warning: The mouse-paste-button option needs to be updated if it has been changed from the "auto" setting.
- Document keyboard bindings API & user settings.
- Make keyboard binding parsing more robust to bad inputs.
- Make keyboard bindings more flexible (mixed case and more button aliases).
- Change the mouse cursor based on mouse reporting mode (cursor<->text bar).
- Support mouse wheel scrolling when DECCKM is active by emitting up/down arrow key presses automatically.
- Start documenting all supported control sequences.
- Shift+up/down arrow keys now scroll the terminal by one line.
- Disable the "window header" bar since it's been empty for a while.
- Update the test UI by showing progress in the title bar.
- Fix hterm.terminal.getCursorRow API.
- Add a user-css-text preference for injecting custom CSS directly.
- Update ocs52.sh helper to POSIX shell.
- Convert to standard 'wheel' event and drop support for non-standard 'mousewheel' and 'DOMMouseScroll' events. This also brings support for line & page scrolling in addition to existing pixel based.
- Add support for scrolling via touch. Only scrolling is supported currently.
- Improve standards conformance by ignoring leading zeros in CSI commands.
- Add support for xterm beam cursor control (CSI+ q 5 & 6).
- Add support for xterm fg/bg color control (OSC+10 & OSC+11).
- Add support for rxvt scrollbar toggle (DECSET/DECRST 30).
- Simplify handling of FF/HPA/NUL (should only be an internal cleanup).
- Fix typos in DECIC & DECDC CSI sequences.
- Add support for HPR (Character Position Relative).
- Fix hterm_all.js to include all of hterm source files.
- Add support for blinking text via CSS animations.
- Improve test UI to include results in the HTML output.
- Fix handling of the alt key across alt+tab window switches (for alt-backspace-is-meta-backspace preference).
- On ctrl-click, if a URL is selected, launch a new tab with the URL.
- Update test lists to match all the existing ones.
- Polish documentation/comments.
- Fix missing last line with some fonts/zoom levels.
- Allow keyboard shortcuts to be more easily bound by users.
- Fix horizontal cursor tracking broken by the misrendering fix.
- Fix hexToRGB parsing of more formats.
- Fix misrendering of last line with some resolutions.
- Update window.postMessage API to work with Chrome M54+.
- In hterm_terminal.js, use Terminal.prototype.copySelectionToClipboard, rather than the raw hterm.copySelectionToClipboard.
- Fix race on IE with scrollport initialization.
- Fix ctrl-shift-esc handling on OS X.
- Always use the text cursor in the terminal.
- Fix 8-bit help text in options page.
- Allow zoom warning to be dismissed.
- Fix mouse reporting. Previously users had to click, then move the mouse before mouse reporting would start.
- Deal with surrogate pairs more properly.
- Add customizable keybindings.
- hterm_preference_manager.js: Group prefs into categories, declare input types rather than guess based on default value, improve layout.
- Shifts out the G1 character set with the \x18 cancel control code.
- Enables terminal font resizing for the numeric +/- keys.
- Avoid changing e.shiftKey property.
- Add faint SGR mode.
- Fix cursor blink on soft reset.
- Fix lib.colors.mix.
- Fix rgbToHex for red values lower than 16.
- Add strikethrough mode.
- Fix DECSET 1039 to actually affect what Alt sends.
- Add key code for right Command key.
- Add character map overrides preference.
- Fix transition from blinking cursor to invisible cursor.
- Fix concealed/invisible text for default background.
-
Add a preference to select the preferred AltGr heuristic. This replaces the change from 1.52, which prevented the use of Ctrl-Alt-... on all platforms. The new preference takes one of the following values:
null: Autodetect based on navigator.locale: 'en-us' => 'none', else => 'right-alt' 'none': Disable any AltGr related munging. 'ctrl-alt': Assume Ctrl+Alt means AltGr. 'left-alt': Assume left Alt means AltGr. 'right-alt': Assume right Alt means AltGr.
The default value is null. Autodection won't work in many cases, and the left-alt/right-alt tracking will have issues if the window loses focus while the alt key is down, but this may be the best we can do on the web.
-
Assume that Ctrl-Alt-[Printable] means AltGr-[Printable]. After this change, we ignore the ctrl/alt modifiers when they appear in keydown, leaving it up to the browser to send the correct key code in the keypress event. This fixes a longstanding issue with international keyboards where users could not type characters/symbols that required use of AltGr.
We will still have trouble on the mac, which does not set Ctrl+Alt when AltGr is used.
BUG=chromium:211925
-
Fix for issue where cursor would dissappear at non-100% zoom levels.
-
Prevent navigation via media keys.
-
Capture fullscreen ESC.
-
Fix mouse wheel scrolling in FF.
- Change log update to reflect previous commits.
- Tmux sends OSC 52 as "ESC ] 52 ; ; ... BEL", but we failed to recognize the sequence because we expect a "clipboard identifier" character between the two semicolons. We toss out the clipboard identifier anyway, so making it optional makes tmux clipboard integration work.
- Send OSC H/OSC F for HOME/END when in application cursor mode, rather than application keypad mode.
- Place ruler text inside a span to fix issues on Firefox.
- Improve zoom keyboard handling on Mac and Firefox.
- Fix "CSI u" sequence.
- Remove the height + 1 underscore hack.
- Add parser routine and set css class for vt_tiledata support. Users will still need to add a custom stylesheet to see vt tiles.
- Allow double-click selections to start with "." or "~".
- Disable terminal cursor hiding when vt mouse tracking is enabled.
- If the terminal cursor is hidden because it's under the mouse cursor, restore the visibility when the terminal cursor moves.
- Always restore the selection after a copy operation, if we can. The clearSelectionAfterCopy option shouldn't come in to play here. We should only be clearing the selection after a delay, which means we'll always need to restore after a copy.
- Chrome 38 returns fractional dimensions for nodes that were set to a fractional size, where previous versions did not. However, a node contained by such a node whose width is set to '100%' returns only the integer portion of the width. This patch makes us round up rather than set a fractional terminal width, and adjusts the test to exepect this behavior.
- Version 1.44 introduced an issue with right-click paste where focusing the paste target would force the page to scroll 1000px past the end of the terminal. Now we place the paste target within the visible bounds of the terminal, but nehind it in z-index.
- Add the trailing 'px' in the css top/left property. Chrome is ok without it, but it's required on Firefox.
- Fix Firefox detection in hterm.ScrollPort..decorate.
- Implement bracketed paste, BUG=chromium:393622
- Fix flash on paste, BUG=chromium:390357, BUG=chromium:394568
- Fix hollow-cursor-after-paste issue, BUG=chromium:390357
- Fix reverse-wrap.
- Add a 'cursor-blink-cycle' preference which can be a number or a two-number array. If two numbers are provided, the first is how long a blinking cursor should be on, the second is how long it should be off. If a single number is given it's used for both on and off. Anything else results in a fast blinking cursor. BUG=chromium:366206
- Hide terminal cursor when mouse cursor is over it, BUG=chromium:365910
- Implement reverse wraparound, add a test.
- This code depended on a user action, but the preference observers aren't run in the context of an action. For now, it's up to the embedder to request the permission in hterm's behalf.
- Use window.document.title (not this.document_.title) as the default notification text.
- Add 'clear-selection-after-copy' preference, defaults to true. Set to false to turn off hterm's policy of clearing your current selection after copying.
- Add 'use-default-window-copy' preference, needed in some environments (open web, certain browsers) to make copy actually work.
- Add 'desktop-notification-bell' preference, to show a desktop notification when the terminal bell is rung.
- Add 'east-asian-ambiguous-as-two-column' preference, defaults to false. Set to true to treat characters of ambiguous width as two columns wide.
- Implement italic character attributes. "CSI [ 3 m" to enable, "CSI [ 23 m" to disable.
- s/selection.collapse()/selection.collapseToEnd(). The former now throws an exception in Chrome if called with no arguments, which breaks our attempts to block local selection when vt mouse is enabled.
- Add 'pass-meta-v' preference so Mac users can decide between Meta-V and Meta-Shift-V for paste.
-
Add a 'ctrl-c-copy' preference. When this is set to false, the default setting, Ctrl-C will always send ^C while Ctrl-Shift-C will copy if there is an active selection and send ^C if not.
When 'ctrl-c-copy' set to true the meaning of the shift key is reversed.
On the open web, the only reliable cross-browser configuration is with ctrl-c-copy set to true, as this allows the browser's built-in Ctrl-C handler to do its job. Embedders can call term.getPrefs().changeDefault( 'ctrl-c-copy', true) to adjust the default preference value in these situations.
- Fix double-paste issue introduced in 1.36.
- First round of IE compatibility fixes.
- Add first round of Firefox compatibility fixes.
- Add telemetry data for wss-based relay connections.
- Update --config=google.
- Add ssh-agent plumbing.
- Remote lib_fs.js dependency.
- Adds a preference to control whether or not the bold attribute from ESC "[ ... m" sequences also triggers bright colors. Preference is on by default to match the behavior of xterm (and previous versions of hterm). Switch it off to enable bold font face in non-bright colors. This is especially useful if you've overidden your 16 color palette to something other than the typical 8-dark/8-bright scheme.
- In the default state (true) hterm works the same as before. If set to false, ctrl-shift-plus/minus/zero controls zoom, and ctrl-minus sends ^_.
-
Previously we allowed "local" selection (that which happens by default in Chrome) to stay enabled for mouse mode 1001 (report mouseup/down only). This caused a few issues. I didn't realize at the time that emacs used this mouseup/down positions to set an active region, which conflicts with the local selection. You tend wind up with a confusing partial overlap of the two selections. Additionally, with copy-on-select enabled, the mouseup event was consumed by the terminal and never sent to the host.
This change disables local selection when we're in mode 1001. Local selection was disabled in mode 1002, report mousedown/up/movement, which is preferred by vi.
Our "mouse-cell-motion-trick" was all about allowing local selection in mode 1002, so that's been removed too. I doubt this preference was widely used.
The change adds the ability to use alt-click to override the current mouse state, so that you can make a local selection even while in mode 1001/1002. Alt was chosen as its the only modifier key which can't be sent with a mouse event, though if you're depending on alt === meta, you'll lose the ability to send meta-mouse sequences. If your local window manager already maps alt-click to something, then you can add any other modifier in addition to alt (say, alt-ctrl-mousedown) to defeat your existing binding.
- Re-implement zoom detection in terms of the currentScale property of svg elements. This requires the svg element to be in the topmost document, or at least not in the "about:blank" document that the scrollport creates so it may not be perfect, but it's better than nothing.
- BUG=chromium:340699: Auto copy doesn't work. Now I see why the "select bags" aren't enough. Even for the simplest case where we're copying an on-screen selection we need to use Terminal.prototype.copySelectionToClipboard to handle copy of wrapped lines. This fix reverts the changes from 1.28 and 1.29 in favor of just scheduling the copy on a timeout, which defeats the recursive copy blocker.
- Revert "Scrolling Speedups" change (which never got a distinct hterm version number). This caused issues with selections scrolled out of the visible area.
- BUG=chromium:340699: Auto copy doesn't work. AFAICT, the e.clipboardData.setData call wasn't actually doing anything. The scrollport's "select bags" were doing the right thing though, so we have that going for us. It's likely that the recursive "copy" was required in older versions of Chrome, but it doesn't seem to be necessary anymore.
- Fix the "Selection Copied" message from OSC 52 based copies.
- BUG=chromium:340699: Auto copy doesn't work. Use e.clipboardData.setData, rather than causing a recursive document.execCommand("copy").
- Teaches hterm about the difference between halfwidth and fullwidth characters.
- Add a 'user-css' preference, which will load a user-defined css file (by url) into the terminal document. This could be used to load a web font, or to style the terminal in perverse ways.
- Fix an issue where DECSET 1002 failed if received while a mouse button was down.
- Add option to swap Ctrl-V/Ctrl-Shift-V.
- Fix cursor sizing regression. syncCursorPosition_ is now only about the position of the cursor, restyleCursor_ now sets cursor width, in addition to height and cursor shape related stuff. Call restyleCursor_ from onResize_.
- Prevent the terminal overlay (hterm.Terminal.prototype.showOverlay) from taking focus if it happens to get clicked.
- Fix the overlay timeout tracking to fix cases where showOverlay is called again before the previous overlay has timed out.
- hterm 1.19 attempted to ignore full-screen scroll regions, but the patch got the variable names wrong. This fixes them.
- BUG=266128, Clear line-overflow state when inserting text. This keeps us from accidentally re-using the overflow state of text that was already visible on the line.
- BUG=232390, Ignore erase-characters and erase-in-line escapes when the cursor has overflowed the terminal width. This deviates from xterm, but matches gnome-terminal and other modern emulators.
- BUG=266197, If the host attempts to set the VT scroll region to be the entire terminal height, we remove the scroll region entirely. This lets full-screen apps overflow into the local scrollback buffer, which makes screen and tmux much more pleasant to use.
- Implement cursor shape changes via DECSCUSR.
- Implement cursor shape changes via OSC 50 CursorShape (as described in http://vim.wikia.com/wiki/Change_cursor_shape_in_different_modes.)
- Don't blink the cursor when the terminal is unfocused.
- On double-click, expand the text selection to make it easy to select URLs or other interesting substrings.
- 1.15 got the treatment of the areas above/below the scroll region wrong.
- getVTScrollBottom returns the row count if there is no vt scroll region in effect, need to read the vtScrollBottom_ property directly instead.
- BUG=chromium:223140, Terminal viewer doesn't handle horizontally split curses application correctly.
- Fix the hterm.windowType detection to not barf when hterm is used in a Chrome packaged app.
- New builds of Chrome removed document.width/height, so we're not able to use them to detect the zoom factor. Disabled zoom detection when these properties are missing until we have a better solution.
- Fix libdot/changelog/(version|date) resources.
- Fix jscompiler errors.
- Stop printing "CSI K", "CSI ? J", and "ESC #" sequences with bad params.
- Shell script changes to pacify BSD.
- Fix the browser-zoom detection so we show the zoom warning again.
- Splits 'character-encoding' into two preferences so send and receive encodings can be set independently.
- Refactor Terminal.keyboard.onKeyDown_ to allow Ctrl+Alt+(printable) key combinations.
- Fix regression in Terminal..onPaste_.
- Adds a 'character-encoding' preference which can be set to 'utf-8' (default) or 'raw'. When set to 'utf-8' hterm's behavior is unchanged from previous versions. When set to 'raw', hterm will not attempt to decode input or encode output.
- Clear e.shiftKey in hterm_keyboard_keymap.js' sh() function so that hterm_keyboard.js doesn't apply its own shift key munging.
- BUG=chromium:245700: Call preventDefault on mousewheel events that we've handled.
- Pass width and height in io.onTerminalResize again, which regressed in the previous commit.
- BUG=245120: Add 'enable-dec12' preference, off by default, which allows the host to control the cursor blink state via DEC private mode 12.
- This installs a default onTerminalResize handler on the hterm.Terminal.IO object that records the most recent terminal size as io.columnCount and io.rowCount. This gives consumers synchronous access to these values without having to wire up the event handler themselves.
- BUG=chromium:233008, PASS shift-ctrl-L (CrOS screen lock combo)
- BUG=chromium:226819, Handle clearing screen when not scrolled to bottom
- BUG=chromium:174410, Fix to allow Alt-Backspace to send Meta-Backspace
- BUG=chromium:226752, Don't trap media keys (e.g. Mute) by default.
- Fix bug that made terminal bell only ring once.
- Fix base64 encoding of the bell audio.
- Break out of a parseUntilStringTerminator_ if an embedded ESC is found (other than the one that may appear as part of a 7-bit ST), or if the sequence has been going on for too long (measured by the wall clock).
- BUG=chromium:191050, Map Chrome OS top-row keys to function keys.
- BUG=chromum-os:30792, beeps accumulate - leads to non stop beeping
- BUG=chromum-os:35288, scroll-on-output doesn't appear to work
- BUG=chromum-os:39645, Application keypad doesn't work properly
- Move nassh related files out into ../nassh/.
- Add hterm_resources.concat.
- Add bin/export.sh and related concat/ lists.