Daniel Imms
ffd6dc6ab7
Fix import issue
2025-09-19 09:06:53 -07:00
Daniel Imms
2b329eb7b7
Search engine tests
2025-09-19 08:58:30 -07:00
Daniel Imms
9c5644ddc0
Add SearchEngine tests
2025-09-19 08:52:14 -07:00
Daniel Imms
a191370d54
refactor: remove unnecessary interface exports
...
- Remove export from IHighlight and IMultiHighlight interfaces
- Remove export from ISelectedDecoration interface
- Remove export from ISearchPosition interface
- Keep ISearchResult exported as it's used across multiple files
- Make ISelectedDecoration extend IDisposable for consistency
2025-09-18 13:26:43 -07:00
Daniel Imms
bf9ce3bfaf
Clean up SearchLineCache.test.ts comments
...
- Remove unnecessary inline comments from unit tests
- Add descriptive assertion messages where appropriate
- Follow coding guidelines for test comment usage
2025-09-18 13:21:07 -07:00
Daniel Imms
ca7e8ca3b7
refactor(addon-search): extract components
...
- Extract SearchEngine for core search algorithms
- Extract DecorationManager for visual decorations
- Extract SearchState for state management
- Extract SearchResultTracker for result tracking
- Simplify SearchAddon by delegating to components
- Improve modularity and maintainability
2025-09-18 07:38:42 -07:00
Daniel Imms
32e58c71fe
Refactor search addon interfaces
...
- Move ISearchAddonOptions and ISearchResultChangeEvent to types
- Make noScroll property required in IInternalSearchOptions
- Change exported interfaces to internal scope where appropriate
2025-09-18 06:25:12 -07:00
Daniel Imms
c27af4fa2e
Remove thenable from more places
2025-09-17 15:06:33 -07:00
Daniel Imms
8ffcbd98c4
Replace timeout handling with disposableTimeout
...
- Use disposableTimeout instead of manual timeout management
- Replace MutableDisposable pattern for SearchAddon highlight timeout
- Replace SearchLineCache timeout with MutableDisposable approach
- Clean up timeout disposal logic in both classes
2025-09-17 14:48:11 -07:00
Daniel Imms
304143a166
Add SearchLineCache for improved search performance
...
- Add SearchLineCache class to cache translated buffer lines
- Integrate caching into SearchAddon for line translation
- Improve search performance by avoiding repeated translation
- Add cache invalidation on terminal resize and writes
2025-09-17 14:28:03 -07:00
Daniel Imms
6ac9f59ef4
Fix tests
2025-09-17 09:16:20 -07:00
Daniel Imms
bffdc59901
Merge branch 'master' into tyriar/search-refactor
2025-09-17 08:53:54 -07:00
Daniel Imms
76a8a8e347
Refactor search addon types and internal handling
...
- Import search types from addon-search package
- Add IInternalSearchOptions interface for noScroll param
- Update _updateMatches to use internal search methods
- Pass internal options through search method chain
2025-09-17 08:52:38 -07:00
Daniel Imms
e37aba5924
Merge pull request #5399 from Tyriar/tyriar/search-constants-refactor
...
Refactor search constants and improve documentation
2025-09-17 08:16:51 -07:00
Daniel Imms
5c0107462e
Merge pull request #5379 from xtermjs/dependabot/npm_and_yarn/addons/addon-ligatures/form-data-4.0.4
...
Bump form-data from 4.0.0 to 4.0.4 in /addons/addon-ligatures
2025-09-17 08:13:12 -07:00
Daniel Imms
87a45acae7
Refactor search constants and improve documentation
...
- Convert standalone constants to Constants enum with detailed docs
- Fix spacing issue in SearchAddon class declaration
- Update all references to use Constants enum for consistency
2025-09-17 08:06:56 -07:00
Daniel Imms
6e833e5d5d
Add proper typing for search results change event
...
- Export ISearchResultChangeEvent interface in addon-search
- Use proper Event<T> typing instead of inline object
- Improve API consistency and type safety for consumers
2025-09-17 07:33:43 -07:00
Anthony Kim
95a9531ec1
Try to add tests
2025-08-20 22:49:03 -07:00
Anthony Kim
b53096f4a2
Clean code
2025-08-20 10:55:47 -07:00
Anthony Kim
687d8277e7
Fix terminal find when wrapped
2025-08-20 10:53:40 -07:00
Daniel Imms
4c0cf27cfc
Merge pull request #5334 from CodinGame/webgl-renderer-shadow-dom
...
Support shadow dom in webgl renderer
2025-07-31 08:32:44 -07:00
dependabot[bot]
9c3eb170d2
Bump form-data from 4.0.0 to 4.0.4 in /addons/addon-ligatures
...
Bumps [form-data](https://github.com/form-data/form-data ) from 4.0.0 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases )
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md )
- [Commits](https://github.com/form-data/form-data/compare/v4.0.0...v4.0.4 )
---
updated-dependencies:
- dependency-name: form-data
dependency-version: 4.0.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-21 23:07:47 +00:00
Daniel Imms
4c0c2559c3
Add note about reverse tabnapping
...
Fixes #3634
2025-06-13 08:19:31 -07:00
Loïc Mangeonjean
496b53d84d
fix: support shadow dom in webgl renderer
2025-05-20 16:31:17 +02:00
Daniel Imms
e9c547c1c6
Merge pull request #5337 from Tyriar/tyriar/5336
...
Fix finding terms across wrapped lines
2025-05-08 11:47:46 -07:00
Daniel Imms
0307e2c586
Fix finding terms across wrapped lines
...
Fixes #5336
2025-05-08 11:40:17 -07:00
Daniel Imms
2b38b65392
webgl: Ignore alpha channel when allowTransparency is false
...
Fixes #5255
Part of microsoft/vscode#204663
2025-05-07 08:05:22 -07:00
dependabot[bot]
14d0f14c82
Bump axios from 1.7.4 to 1.8.2 in /addons/addon-ligatures
...
Bumps [axios](https://github.com/axios/axios ) from 1.7.4 to 1.8.2.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v1.7.4...v1.8.2 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-14 17:44:13 +00:00
Daniel Imms
a8d43eb2ec
Fix issue where listeners remain after WebglRenderer throws
...
See microsoft/vscode#239838
2025-02-07 05:58:28 -08:00
Daniel Imms
c95ec71e09
Make ProgressAddon.onChange non undefined
...
Fixes #5288
2025-01-09 06:03:34 -08:00
Daniel Imms
dc9084b5ad
Progress polish
...
Fixes #5287
Fixes #5288
Fixes #5289
2025-01-09 05:32:36 -08:00
Daniel Imms
9caff8d778
Add note in readme about full API
2025-01-09 04:58:02 -08:00
Jörg Breitbart
6f6ce33588
Merge branch 'master' into progress-addon
2025-01-09 02:32:26 +01:00
Jörg Breitbart
8101132352
rename types, remove rc import in d.ts
2025-01-09 02:05:36 +01:00
Jörg Breitbart
96a3be3ca8
polish docs
2025-01-09 01:20:25 +01:00
jerch and Daniel Imms
75e5cc19e0
Update addons/addon-progress/typings/addon-progress.d.ts
...
Co-authored-by: Daniel Imms <2193314+Tyriar@users.noreply.github.com >
2025-01-09 01:06:18 +01:00
Daniel Imms
cfc1071c73
Fix more relative imports
2025-01-08 10:54:57 -08:00
Daniel Imms
6bcd4f0551
Add missing relative dir to imports
2025-01-08 10:45:41 -08:00
Daniel Imms
71f50b841f
Move webgl-specific types into addon
2025-01-08 10:39:06 -08:00
Daniel Imms
d70f2a462c
Move webgl-specific shared code into addon
...
Never got moved when canvas addon was removed
2025-01-08 10:35:39 -08:00
Daniel Imms
ef4a3fd933
Merge pull request #5212 from LeoDog896/patch-1
...
chore(addons/fit): fix typo
2025-01-08 09:34:07 -08:00
Daniel Imms
408d0995dd
Support detailed ligatures and variants
...
Fixes #5284
2025-01-08 06:26:15 -08:00
Jörg Breitbart
6a232765f4
borrow emitter ctor from xterm
2025-01-07 21:22:40 +01:00
Jörg Breitbart
f516346e09
fix docs
2025-01-07 20:36:02 +01:00
Jörg Breitbart
c207edd49c
make linter happy
2025-01-07 19:25:47 +01:00
Jörg Breitbart
828603cfab
fix integration test
2025-01-07 19:24:14 +01:00
Jörg Breitbart
d7cebc312e
use event from xterm.js instead of own impl
2025-01-07 19:21:51 +01:00
Jörg Breitbart
5badbd3a6f
import ProgressState type to d.ts
2025-01-07 18:22:27 +01:00
Jörg Breitbart
a1e85a4eb5
Merge branch 'master' into progress-addon
2025-01-07 16:49:09 +01:00
Daniel Imms
9e206415b8
Merge pull request #5279 from AnouarTouati/fixing-#5270
...
Fixes : #5270 regex case-sensitive should behave like monaco
2025-01-07 06:45:03 -08:00