107 Commits

Author SHA1 Message Date
Copilot 33e85aacfb Use SwiftSyntax 6.4 pre-release 2026-04-21 (#6628) 2026-05-03 15:59:46 +02:00
Danny Mösch e53760ed26 Use SwiftSyntax 6.4 pre-release 2026-03-31 (#6569) 2026-03-31 11:24:15 +02:00
Danny Mösch 1a01e24907 Use SwiftSyntax 6.4 pre-release 2026-03-24 (#6561) 2026-03-27 13:10:16 -04:00
Danny Mösch 6de2cc9587 Use SwiftSyntax 6.4 pre-release 2026-01-20 (#6447) 2026-01-21 00:00:37 +01:00
Danny Mösch 2d0725aca9 Use SwiftSyntax 6.4 pre-release 2025-12-15 (#6383) 2025-12-16 11:41:47 +01:00
Danny Mösch ac701c088c Improve performance of excluded files filter (#6342)
The current algorithm is like "collect all included files and subtract all excluded files".
Collecting all included and all excluded files relies on the file system. This can become slow
when the patterns used to exclude files resolve to a large number of files.

The new approach only collects all lintable files and checks them against the exclude patterns.
This can be done by in-memory string-regex-match and does therefore not require file system accesses.
The new implementation also no longer traverses directories that already match an exclude pattern.

(cherry picked from commit 152355e36f)
2025-12-07 15:58:23 +01:00
Danny Mösch ede316d453 Use SwiftSyntax 6.3 pre-release 2025-10-30 (#6330) 2025-11-01 13:34:08 +01:00
Danny Mösch 4065fc8437 Enable upcoming feature MemberImportVisibility (#6286) 2025-10-08 08:12:05 +02:00
Danny Mösch 035fcc53d5 Enable upcoming feature InferIsolatedConformances (#6285) 2025-10-07 22:18:52 +02:00
Kirill Yakimovich fbaf1e75c5 Fix Xcode project generation (#6277) 2025-10-06 18:54:59 +00:00
Danny Mösch ad793d1c5b Add new test module for tests requiring file system access (#6276)
These tests can especially not run in parallel.
2025-10-03 23:05:15 +02:00
Danny Mösch 7348cf0f4a Use SwiftSyntax 6.3 pre-release 2025-09-15 (#6206) 2025-09-29 14:59:47 +02:00
Danny Mösch 819fbaf786 Add CoreTests to Xcode test targets 2025-09-05 18:39:45 +02:00
Danny Mösch 54646f4424 Expose only TestHelpers and ExtraRulesTests as part of Bazel releases (#6235) 2025-09-05 17:30:12 +02:00
Danny Mösch 025a7bfd64 Prefer short and readable repository names (#6205) 2025-08-24 18:03:30 +02:00
Danny Mösch 81e99e973f Use SwiftSyntax 6.2 pre-release 2025-08-11 (#6185) 2025-08-24 14:16:01 +02:00
Danny Mösch 8229f45de4 Update dependencies (#6162) 2025-07-11 23:40:08 +02:00
Danny Mösch 66930722ad Update dependencies and harmonize Bazel build modes (#6097) 2025-06-17 10:22:49 +02:00
Luis Padron bf935b0226 Support rules_swift 3.0 (#6096) 2025-06-16 13:48:25 -04:00
Marcelo Fabri ad23d08cda Fix bazel project and update rules (#6056) 2025-04-20 09:37:40 +02:00
Danny Mösch 97e535cfe9 Cleanup and format Bazel files (#6007) 2025-02-22 22:02:53 +00:00
Danny Mösch 4cab6e7948 Update dependencies (#6004)
* Yams 5.3.0
* SourceKitten 0.37.0
2025-02-22 16:24:42 -05:00
Danny Mösch fcdc98a52d Revert "Improve performance of excluded files filter" (#5962)
This reverts commit 152355e36f from #5157.

# Conflicts:
#	tools/oss-check
2025-01-15 19:15:44 +01:00
Keith Smiley b1fac0d7ee Fix CryptoSwift checksum (#5961)
Missed in https://github.com/realm/SwiftLint/commit/4189010afb8bd04c9d2e5f9a38fe44808e6727ad.
2025-01-14 20:37:25 +01:00
Danny Mösch a12a1a1970 Update Xcode project generation (#5942) 2025-01-07 19:59:23 +00:00
Danny Mösch 152355e36f Improve performance of excluded files filter (#5157)
The current algorithm is like "collect all included files and subtract all excluded files".
Collecting all included and all excluded files relies on the file system. This can become slow
when the patterns used to exclude files resolve to a large number of files.

The new approach only collects all lintable files and checks them against the exclude patterns.
This can be done by in-memory string-regex-match and does therefore not require file system accesses.
2024-12-25 17:33:33 -05:00
Danny Mösch 4189010afb Update CryptoSwift with support for Musl C library (#5911) 2024-12-23 15:51:16 +00:00
Danny Mösch 1faaf10838 Adapt SwiftSyntax repository URL (#5678) 2024-07-17 20:11:52 +00:00
Danny Mösch 3a3ec07952 Fix Bazel build when bzlmod is not in use (#5580) 2024-05-15 21:26:11 +02:00
Danny Mösch 0a2878d559 Update Bazel and SPM dependencies (#5563)
SourceKitten 0.35.0
Swift Argument Parser 1.3.1
SwiftSyntax 510.0.2
2024-05-09 10:21:53 +02:00
Takuhiro Muta 17b5880550 Update CryptoSwift to 1.8.0 (#5341) 2023-11-10 16:42:34 +00:00
Danny Mösch 58928b7e40 Enforce any on existential types (#5273)
This makes syntactically clear which types are rather expensive.
2023-10-12 08:37:23 +02:00
Keith Smiley 347af1c022 Switch to swift-syntax through bzlmod (#5222) 2023-09-15 05:34:56 +02:00
Danny Mösch add15d00c2 Update SwiftSyntax to release aligned with Swift 5.9 (#5221) 2023-09-15 00:23:47 +02:00
Danny Mösch 35a78815d1 Update SwiftSyntax (#5198) 2023-09-14 22:49:55 +02:00
Danny Mösch b281a8d33a Update SwiftSyntax (#5168) 2023-08-30 22:57:10 +02:00
Danny Mösch 9873330eee Update SwiftSyntax (#5124) 2023-07-15 21:52:24 +02:00
JP Simard 5e04661e63 Mark rules_xcodeproj as a dev_dependency (#5112)
To do this, the `xcodeproj` definition needs to move out of the main
`BUILD` file, so it's now moved to `bazel/BUILD`.

The command to generate the Bazel Xcode project is now

```
bazel run //bazel:xcodeproj
```
2023-07-09 09:54:04 -04:00
JP Simard a8893431f5 Update SwiftSyntax (#5104)
Diff: https://github.com/apple/swift-syntax/compare/509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-17-a...509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-07-04-a
2023-07-06 13:33:37 -04:00
JP Simard f1c6c72add Update SwiftSyntax (#5071)
Diff: https://github.com/apple/swift-syntax/compare/509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-05-a...509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-17-a
2023-06-20 19:55:15 -04:00
JP Simard d32bf2b879 Update CryptoSwift (#5059)
Diff: https://github.com/krzyzanowskim/CryptoSwift/compare/1.7.1...1.7.2
2023-06-12 19:23:33 +00:00
JP Simard e5cf99088b Update SwiftSyntax to 509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-05-a (#5058)
Diff: https://github.com/apple/swift-syntax/compare/509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-05-02-a...509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-05-a
2023-06-12 15:22:17 -04:00
JP Simard eb6d50a04c Update SwiftSyntax to 509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-04-25-b (#4982) 2023-05-10 15:02:58 -04:00
JP Simard 6b094dd711 [SwiftSyntax] Update to latest 509.0.0 tag (#4920)
* [bazel] Remove custom SwiftSyntax BUILD file

Something similar to this has been merged upstream instead now. This
also renames the repo name to SwiftSyntax in preparation for it being in
the BCR

* [SwiftSyntax] Update to latest 509.0.0 tag

https://github.com/apple/swift-syntax/releases/tag/509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-04-25-b
2023-05-03 11:34:26 -04:00
JP Simard eaf34d7204 Move extra rules into its own module (#4949)
This will decouple building extra rules from built-in rules so that
making changes in one of those modules doesn't rebuild the other.
2023-04-27 10:37:30 -04:00
JP Simard 9c2525139a Update CryptoSwift to 1.7.1 (#4916)
To fix Swift 5.8 warnings
2023-04-21 14:15:44 +00:00
JP Simard 0f802f766a [CI] Remove update_swift_syntax.yml (#4906)
We now manually update SwiftSyntax as needed.
2023-04-18 21:35:43 +00:00
JP Simard f9b0e9f0af Update CryptoSwift to 1.7.0 (#4899) 2023-04-17 10:37:40 +00:00
JP Simard 70a56a1420 Update SwiftSyntax to 04-10 snapshot (#4887)
https://github.com/apple/swift-syntax/releases/tag/509.0.0-swift-5.9-DEVELOPMENT-SNAPSHOT-2023-04-10-a
2023-04-13 14:04:43 -04:00
Danny Mösch 58a07eb452 Update SwiftSyntax (#4852) 2023-03-31 23:12:31 +02:00