Cursor Agent and Daniel Imms
1d125ac715
Restructure common into layered folders (issue #5963 )
...
Reorganize src/common into platform (base, encoding, data, buffer,
parser, input), integration (services, terminal), and public API layers.
- Move core utilities to common/base/
- Move TextDecoder to common/encoding/
- Move Types, CircularList, Color, TaskQueue, SortedList to common/services/
- Move CoreTerminal, InputHandler, WindowsMode to common/terminal/
- Define ICharset in common/data/Charsets.ts (re-exported from Types)
- Update imports across src/, addons/, and test/
- Add per-layer tsconfig.json files and REARCHITECTURE.md
- Root common/tsconfig.json remains the composite build entry
Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com >
2026-05-30 16:12:18 +00:00
Jörg Breitbart
dc1ae4514b
package upgrades & linter fixes
2026-05-09 17:42:49 +02:00
Daniel Imms
eccbc60aa0
Migrate to tsgo
...
Fixes #5689
2026-02-13 06:59:24 -08:00
Daniel Imms
6ef653e589
Merge remote-tracking branch 'upstream/master' into de_vs
2026-02-03 07:05:50 -08:00
Daniel Imms
d36af624cf
Remove vs/, fix lint and build
2026-02-02 06:10:43 -08:00
Daniel Imms
8f9045ed88
Merge pull request #5664 from Tyriar/renderer_tests_wsl
...
Get playwright tests reliably passing in wsl
2026-02-01 08:54:30 -08:00
Daniel Imms
6a3d2480e0
Get playwright tests reliably passing in wsl
2026-02-01 08:35:49 -08:00
Daniel Imms
5316cb0812
Remove some easy any usages
2026-02-01 07:48:40 -08:00
Daniel Imms
eea03cf0a9
Use lightweight versions of most vs/ imports
2026-01-31 22:52:19 -08:00
Daniel Imms
bad7e329df
Add @typescript-eslint/prefer-nullish-coalescing eslint rule
2026-01-31 08:43:05 -08:00
Nick Gregory
a8c9128841
improve SearchLineCache performance
2026-01-07 16:04:49 -08:00
Daniel Imms
f50028abce
Add onBeforeSearch and onAfterSearch APIs
...
Fixes #5444
2025-12-27 14:32:39 -08:00
Daniel Imms
5d3564bb38
Ensure activeMatchBackground decoration is on top
...
Fixes #5369
2025-12-27 06:30:02 -08:00
Daniel Imms
30691e8b46
v6.0.0, bump addon versions, publish unicode graphemes
...
Part of #5147
2025-12-21 12:49:37 -08:00
Daniel Imms
da4ab8a01e
Remove peer dependency, generate lock files
2025-11-23 09:35:43 -08:00
Daniel Imms
c56336b32b
Fix unit tests
2025-09-26 17:49:20 +09:00
Daniel Imms
d11f411c17
Bring back respecting of cached search term
2025-09-26 17:09:54 +09:00
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
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
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
0307e2c586
Fix finding terms across wrapped lines
...
Fixes #5336
2025-05-08 11:40:17 -07:00
Daniel Imms
763d2e773a
Match coding style of repo
2025-01-07 05:38:11 -08:00
Anouar Touati
baf5cf45c3
fixes : #5270 regex case-sensitive should behave like monaco
2025-01-06 16:43:03 -05:00
Daniel Imms
144bdb5dd0
Move over to vs disposables
2024-07-14 16:19:20 -07:00
Daniel Imms
aee936264b
Move to MutableDisposable in vs
2024-07-14 16:09:53 -07:00
Daniel Imms
03c2b2f68e
Fix addon resolve path
2024-07-14 08:52:15 -07:00
Daniel Imms
68e0eb714d
Add vs resolve to addons
2024-07-14 08:47:03 -07:00
Daniel Imms
9141b525a6
Migrate rest of EventEmitter to base/ Emitter
2024-07-14 08:06:48 -07:00
Daniel Imms
2fc8acf81e
Publish addon mjs files
2024-07-07 09:15:25 -07:00
Daniel Imms
faed3e7c80
Move playwright tests to use project references
2024-07-07 09:06:26 -07:00
Daniel Imms
057abba08b
mjs and js
2024-07-05 11:48:42 -07:00
Daniel Imms
1f11c7e46c
Get sources building with esbuild
2024-07-05 08:46:15 -07:00
Daniel Imms
795839cbe1
Merge pull request #5085 from Tyriar/addon_tests
...
Run other integration tests in CI
2024-07-03 08:51:45 -07:00
Daniel Imms
a1b2a1c5ee
\n -> \r\n on non-Windows
2024-07-03 08:44:49 -07:00
Daniel Imms
11b9eb4a1c
Use fixed dimensions on search test
2024-07-03 08:09:15 -07:00