dependabot[bot]
7e0ea282f4
Bump webpack from 5.76.0 to 5.94.0 ( #238 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.76.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.76.0...v5.94.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-30 12:51:28 +02:00
Alec Larson
167bbbd509
feat: add child combinator ">" (and fix a specificity bug) ( #233 )
...
* feat: fix 2 bugs and add child combinator ">"
Bug: Just because a trie element exists for a more specific scope doesn‘t mean its parent scopes will match, so we need to collect the trie elements with less specific scopes too.
Bug: If the number of scope names in both rules‘ scope paths are not
equal, the parent scope names won‘t be compared at all. Instead, the rule with
the longest scope path is preferred. This goes against the TextMate
manual (https://macromates.com/manual/en/scope_selectors ). In
particular, the following line in “Ranking Matches”:
> Rules 1 and 2 applied again to the scope selector when removing the deepest element (in the case of a tie)
Feature: Add support for the child combinator (the `>` operator). This
allows for styling a parent-child relationship specifically.
* fix: proceed to next scope after successful match
* fix: increment parent indexes after comparison
* chore: add comments and some small improvements
* test: add 3 new cases
- One for the new child combinator
- One for bug 1 ("Theme resolving falls back to less specific rules")
- One for bug 2 ("Theme resolving should give deeper scopes higher specificity")
* chore(revert): undo bug 1 fix
After trying to reproduce the alleged bug, I realized it‘s not a bug. When a ThemeTrieElement is created, it inherits the `_rulesWithParentScopes` array of its parent element, which is guaranteed to be populated due to the lexicographical sorting of the theme rules in `resolveParsedThemeRules`.
* test: remove test case for non-existent bug
…and update the other bug‘s test case to actually fail on the main branch
2024-07-06 11:56:49 +00:00
Alexandru Dima
fe490c36e1
bump version ( #235 )
2024-07-06 13:56:22 +02:00
dependabot[bot]
6c4ccaa686
Bump braces from 3.0.2 to 3.0.3 ( #234 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-02 13:59:12 +02:00
Alexandru Dima
09effd8b74
Remove unused fixtures (fixes CodeQL warning) ( #223 )
2024-01-08 11:07:50 +01:00
Raymond Zhao
33a62b6673
fix: fix CodeQL issues ( #222 )
2023-12-18 18:38:28 +01:00
Dirk Bäumer
0ac19dc561
Disable rich navigation workflow ( #221 )
2023-12-15 10:36:26 +01:00
Raymond Zhao
8b07a3c2be
Fix PoliCheck issues ( #212 )
2023-09-18 11:29:35 -07:00
NotWearingPants
bda8f3c985
use padStart instead of a loop ( #181 )
2023-09-15 10:17:19 +00:00
dependabot[bot]
b6bbee8d53
Bump webpack from 5.50.0 to 5.76.0 ( #205 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.50.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.50.0...v5.76.0 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-22 08:27:10 +01:00
Ladislau Szomoru
49585ce9a4
Engineering - remove custom code to create git tag ( #204 )
2023-03-14 13:09:13 +01:00
Henning Dieterichs
0245d1ff93
Merge pull request #203 from microsoft/medieval-rattlesnake
...
Publish tag on release, fixes #202
2023-03-10 13:22:14 +01:00
Henning Dieterichs
a2d7394edb
Publish tag on release, fixes #202
2023-03-10 11:00:04 +01:00
Alexandru Dima
94d689280c
Add `batch:true` to pipeline ( #201 )
2023-03-02 14:23:28 +01:00
Henning Dieterichs
88baacf1a6
Merge pull request #196 from microsoft/hediet/favourable-skunk
...
Bump version to 9.0.0
2023-02-17 12:16:51 +01:00
Henning Dieterichs
d80e58a5ad
Fixes #198 ( #199 )
2023-02-15 19:39:20 +01:00
Henning Dieterichs
e5658be7af
Merge pull request #197 from microsoft/hediet/respective-bedbug
...
Resolved conversations from PR.
2023-02-15 17:28:15 +01:00
Henning Dieterichs
5c3f08bea8
Resolved conversations from PR.
2023-02-15 16:55:12 +01:00
Henning Dieterichs
6260f7189f
Merge pull request #195 from microsoft/hediet/heavy-flamingo
...
Makes rule ids stable and enables state diffing
2023-02-15 16:45:48 +01:00
Henning Dieterichs
a05a1c5d35
Some code cleanup
2023-02-15 16:04:01 +01:00
Henning Dieterichs
42dac586c5
Fixes ci
2023-02-15 15:06:36 +01:00
Henning Dieterichs
7cf58521ba
Bump version to 9.0.0
2023-02-15 15:04:28 +01:00
Henning Dieterichs
16ac8e9940
Makes rule ids stable and enables state diffing
2023-02-15 14:58:47 +01:00
Henning Dieterichs
f7f4a9dff9
Merge pull request #191 from microsoft/hediet/quiet-nightingale
...
Export IRawTheme & Increase version
2022-12-05 13:58:46 +01:00
Henning Dieterichs
2e2ea81cba
Set version to 8.0.0
2022-12-05 13:55:23 +01:00
Henning Dieterichs
64ce87d6e7
Export IRawTheme
2022-12-05 13:54:24 +01:00
Alexandru Dima
eb0bdb899d
Ensure breaking changes get a major version ( #190 )
2022-11-25 23:27:44 +01:00
Alexandru Dima
52f92bdbde
Merge pull request #188 from microsoft/dependabot/npm_and_yarn/minimatch-3.1.2
...
Bump minimatch from 3.0.4 to 3.1.2
2022-11-22 09:39:40 +01:00
Alexandru Dima
ea1205eb01
update repo settings ( #189 )
2022-11-22 09:28:58 +01:00
dependabot[bot]
d4353a8384
Bump minimatch from 3.0.4 to 3.1.2
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 21:03:49 +00:00
Logan Ramos
fa78ff5997
Merge pull request #187 from microsoft/lramos15/removePrChat-auto
...
Remove PR Chat
2022-11-21 16:03:08 -05:00
Logan Ramos
767d9702c7
Remove PR Chat
2022-11-21 15:40:32 -05:00
Ladislau Szomoru
374a5a351c
React to template changes ( #186 )
2022-11-03 15:12:06 +01:00
Alexandru Dima
bfd45ab37e
Fix the build pipeline ( #184 )
2022-10-13 17:37:11 +02:00
Alexandru Dima
4960c0c524
bump version ( #183 )
2022-10-13 14:59:27 +02:00
Ladislau Szomoru
46d780037f
Engineering - Scaffold pipeline ( #182 )
...
* Scaffold pipeline
* Specify buildPlatforms
2022-10-13 14:43:37 +02:00
Alexandru Dima
da6f5f884c
Merge pull request #180 from microsoft/dependabot/npm_and_yarn/terser-5.14.2
...
Bump terser from 5.7.1 to 5.14.2
2022-07-29 17:07:01 +02:00
dependabot[bot]
1448d7c95f
Bump terser from 5.7.1 to 5.14.2
...
Bumps [terser](https://github.com/terser/terser ) from 5.7.1 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 01:45:10 +00:00
Alexandru Dima
caab3de34a
Merge pull request #176 from microsoft/lramos15/prChat
2022-06-01 15:18:08 +02:00
Logan Ramos
bdf9aa415c
Add pr chat
2022-06-01 09:11:54 -04:00
Henning Dieterichs
e8d1fc5d04
Merge pull request #172 from microsoft/hediet/refactoring
...
refactoring
2022-05-09 15:06:14 +02:00
Henning Dieterichs
98b4c2ff8b
Uses webpack copy plugin to include all d.ts files in the release.
2022-05-09 10:18:24 +02:00
Henning Dieterichs
4e4f43da82
Adds skipped test.
2022-05-09 09:23:21 +02:00
Henning Dieterichs
b0ba245c00
collectPatternsRecursive -> collectPatterns
2022-05-09 09:07:42 +02:00
Henning Dieterichs
2f20a750ee
Makes fields of CompiledRule private.
2022-05-06 19:11:54 +02:00
Henning Dieterichs
d574ab9781
Moving symbols around
2022-05-06 17:57:18 +02:00
Henning Dieterichs
449bfc4fd3
Gets rid of first parameter of collectPatternsRecursive
2022-05-06 17:52:01 +02:00
Henning Dieterichs
84ed948413
Inlines constant parameter handleAnchors
2022-05-05 15:14:10 +02:00
Henning Dieterichs
8e2c37dc89
More refactoring.
2022-05-05 13:54:44 +02:00
Henning Dieterichs
770a995c06
Introducing RuleId type
2022-05-04 14:58:59 +02:00