Commit Graph

570 Commits

Author SHA1 Message Date
Alexander Zolotov
21df1791de [textmate] add matching timeout (IJPL-159310)
(cherry picked from commit 226cca19649e4b3519cf8dae137f4108f5af0b75)

IJ-CR-166227

GitOrigin-RevId: 39234cf628f8553f945b91b0e8a72128f952a3c4
2025-06-24 08:34:01 +00:00
Vladimir Krivosheev
b935234c91 IJ-MR-162467 don't export intellij.platform.projectModel
GitOrigin-RevId: 11c0bf5ca0f3a6d892658a2b149d85cace9aa2b8
2025-06-14 13:00:48 +00:00
Vladimir Krivosheev
ef0323d07c IJ-MR-162467 don't export intellij.platform.core
GitOrigin-RevId: 05f350c1c087be1bf9b46d8bdac5345a65f55958
2025-06-13 21:52:48 +00:00
Maria Filipanova
9052ceba4d IJPL-185506: include psi & psi.impl as content modules, add some missing backend dependencies
GitOrigin-RevId: b74ac7059d3ca6e1f43fd4168c84737db2d95752
2025-06-05 22:45:02 +00:00
Nikolay Chashnikov
c037841853 [spellchecker] convert intellij.spellchecker to a content module (IJPL-189900)
This is needed to have an explicit dependency on the backend in it (IJPL-188916), and also to convert XML modules it depend on in content modules as well.

The new module is registered in common-ide-modules.xml to include it in all IntelliJ-based IDEs as before.

A plugin alias 'com.intellij.modules.spellchecker' is introduced to allow adding dependency on the new module without using a v2 'dependencies' tag. Existing plugins which depend on intellij.spellchecker are updated to have an explicit dependency. The change shouldn't affect external plugins which use classes from 'intellij.spellchecker' because the new module will be automatically added to their dependencies.

'lucene' and 'ai.grazie.spell.gec.engine.local' libraries which were included in the main classloader of the core plugin before due to this module are temporary included in distribution of intellij.ml.llm, intellij.grazie and intellij.searchEverywhereMl plugins. This will be fixed by converting these libraries to content module in next commits.

GitOrigin-RevId: aa746fea2f6fd044cf0eaabd6589fce89133eee9
2025-06-04 14:41:40 +00:00
Vladimir Krivosheev
65fe061584 IJ-MR-162467 don't export intellij.platform.analysis
GitOrigin-RevId: fcbcb68010b58cb507fee2c47473758b999e471b
2025-06-04 11:16:33 +00:00
Nikolay Chashnikov
847d8532df [textmate] API cleanup: remove unused deprecated API scheduled for removal (IJPL-178044)
GitOrigin-RevId: 713bf2f41f98de7c09e98acade3623163b5e1563
2025-05-28 23:37:49 +00:00
Mikhail Filippov
40e854e522 IJPL-188826 bump Kotlin language version to 2.2
GitOrigin-RevId: 61c9fecae6a713d7e328e74b83186bc5d2f6bf66
2025-05-26 13:41:54 +00:00
Alexey Kudravtsev
91e7551c5a cleanup: rename file to psiFile to distinguish from VirtualFile
GitOrigin-RevId: 7af7c2fdd3836eeba440f1a8e237eff24a8b629d
2025-05-21 16:57:54 +00:00
Evgenii Novozhilov
2ad6af674b clion: fix Kconfig spelling
GitOrigin-RevId: ca23e47c6e9038bd5cff60384c06a8f570c6cf91
2025-05-20 22:28:34 +00:00
Alexander Zolotov
690c5c80c9 [textmate] fix toString implementation of TextMateToken
GitOrigin-RevId: d80f1b3c195cd8c26e5c9782edd7047c6656ec9d
2025-05-19 12:46:57 +00:00
Alexander Zolotov
d0f3aa85e9 [textmate] add missing import
GitOrigin-RevId: e449afe0e919d2bddb85f277c2eee5cd1b9886d8
2025-05-19 12:46:57 +00:00
Alexander Zolotov
f542120f36 [fleet, textmate] fix textmate empty descriptor invalid state
GitOrigin-RevId: 0f0bbac8fd5ba2c0da1895063669e983c9c62d57
2025-05-15 23:42:58 +00:00
Vladimir Krivosheev
7cf9ef2b29 update bazel files
GitOrigin-RevId: e78f86bd17affd7892fd1af8e157f033906b1865
2025-05-09 15:36:06 +00:00
Vladimir Krivosheev
644a6b2e81 IJ-MR-162467 don't export intellij.platform.editor.ui
GitOrigin-RevId: 8894abe16fb347de7649bfb2d7888b6e6fe0232c
2025-05-09 14:20:40 +00:00
Henry Wylde
067fef4544 RUBY-34028 use lockMaybeCancellable in TextMateServiceImpl#ensureInitialized
Read/write actions are sometimes dependent on data from text mate service, as it helps determine file types. However, if another thread is already initializing the service, then the current thread may block without cancellation checks until initialization is complete. Now, it's possible to check for cancellation while waiting on the lock.


(cherry picked from commit 4739498b0dea1389a89fe041e6fbd8001f6d3220)

IJ-CR-161773

GitOrigin-RevId: a0d7878666bd9d29a35faef0da57e0bd8dbfbdd1
2025-05-08 23:14:39 +00:00
Alexey Kudravtsev
5c0d28d51b fix errors in console during tests run
GitOrigin-RevId: a1d0d13b15e2d3dcac4e697ae5d16864cac930cf
2025-05-01 12:01:36 +00:00
Alexander Zolotov
1ef0d54b39 [textmate] introduce NotMatchingRegexFacade
GitOrigin-RevId: 22b7dbb4b8375e0aa0f8c70b2eb7174948fbd5b9
2025-04-30 10:03:41 +00:00
Alexander Zolotov
bda068983f [textmate] empty content is allowed for string attributes
empty regex-parameters should never match

GitOrigin-RevId: 6c0bdf35e7570713a230f58fa43a54aa77a792c5
2025-04-30 10:03:41 +00:00
Alexander Zolotov
28eefbf22d [textmate] prefer NotMatching captures to be represented by -1..-1 range
GitOrigin-RevId: 7fbc3ddb873de9d04b4f8ecae250527e315c949e
2025-04-30 10:03:41 +00:00
Alexander Zolotov
ffd34d68c8 [textmate] adjust matchData toString
GitOrigin-RevId: c7233d57e895b5fef7f624df88d74e2b7d4d1c79
2025-04-30 10:03:41 +00:00
Alexander Zolotov
bf56aa7372 [textmate] reimplement lexer tests in kotlin and drop parameterize tests as they are not supported in KMP
GitOrigin-RevId: 7f90ebfe80d989b43da77ed563f6be5f7ec9f491
2025-04-30 10:03:41 +00:00
Alexander Zolotov
bdb57fa6d7 Rename .java to .kt
GitOrigin-RevId: c21e15917dbc9af5ed0ee8d584f5bb470bfbf099
2025-04-30 10:03:41 +00:00
Alexander Zolotov
1edb14818e [textmate] move xml reader for tests to multiplatform source root
GitOrigin-RevId: cc04bb73f2464dcc74174b05cbba70e6e8d524cf
2025-04-29 10:07:10 +00:00
Alexander Zolotov
24b47e2852 [textmate] replace input streams with byte array for the sake of multiplatformability
GitOrigin-RevId: 34f10560bc0fcf5afd4b5b3ceff104beb3b85745
2025-04-29 10:07:10 +00:00
Ilia Kirianovskii
b291d798e3 [bazel] Update build files
GitOrigin-RevId: eac8470b9d5efdf71c5f0ec6cb766eeb0b16fa54
2025-04-25 16:35:11 +00:00
Alexander Zolotov
38a1bc3112 [textmate] open function to use in wasm implementations
GitOrigin-RevId: 908206d81c39b3192db4fca4df7ebd2c00c0ec44
2025-04-24 16:44:39 +00:00
Alexander Zolotov
903bae0161 [textmate] make tests portable outside monorepo
GitOrigin-RevId: 1c080765e2fd46aa99aff942c7990ba59ca0a0ec
2025-04-24 16:44:39 +00:00
Alexander Zolotov
8b246bfcc8 [textmate] allow XmlReader substitution, drop intellij.platform.xmlDom dependency
GitOrigin-RevId: bc81e50386615ac04bab7bf50b4ad929dc88fbe1
2025-04-24 16:44:39 +00:00
Alexander Zolotov
db2763e6e0 [textmate] delete deprecated method
GitOrigin-RevId: 9746d670ac8392ff9dfdc6e0c10cac79d4ae4275
2025-04-24 16:44:39 +00:00
Alexander Zolotov
4b9a6b077a [textmate] multiplatform thread local
GitOrigin-RevId: b37f20771c786d8613add7c055660bf624e138ce
2025-04-24 16:44:39 +00:00
Alexander Zolotov
17bc168a8e [textmate] mark as many things internal as possible
GitOrigin-RevId: dafaf52a58b8863787e705f13a29983a18f0a25a
2025-04-24 16:44:39 +00:00
Alexander Zolotov
80ea4834af [textmate] allow to substitute logger, hide all non-multiplatform calls behind wrappers in a single file
GitOrigin-RevId: 3bc2c250b579921146c596c9335523bd37c37d37
2025-04-24 16:44:39 +00:00
Alexander Zolotov
46571171f5 [textmate] use kotlin.atomics, encapsulate jvm-only implementations in a separate sources root
GitOrigin-RevId: 2910ddc1108d95bfeb15ceda515a427af93ec2ec
2025-04-24 16:44:39 +00:00
Alexander Zolotov
307ce7735a [textmate] replace concurrent hash map usages with atomic access to make it multi-platform
GitOrigin-RevId: 82d5baebe4be2be62e6d7ce8c3253339b55546ae
2025-04-24 16:44:39 +00:00
Alexander Zolotov
f1581cdcff [textmate] small multi-platform updates
GitOrigin-RevId: d12271e90c253cc2aa53324b61422bf498718bb2
2025-04-24 16:44:39 +00:00
Alexander Zolotov
e6ef9f0bb4 [textmate] reimplement bundle-type detection using resources loader
GitOrigin-RevId: 1c1c05036f9fa4795ceccdbb1c9437aaf3a98b91
2025-04-24 16:44:39 +00:00
Alexander Zolotov
809a4a42ed [textmate] cleanup
GitOrigin-RevId: ff7fb5b4ccaf6df621a3bec7cbd3d04e22b76a7a
2025-04-24 16:44:39 +00:00
Alexander Zolotov
46f952d20b [textmate] parametrize reading bundle process with resources reader
it will allow us to decouple from FS

GitOrigin-RevId: ad3f4f8a14c5bd04f3f705b3302b67848381469e
2025-04-24 16:44:39 +00:00
Alexander Zolotov
50ba760ca5 [textmate] add tests for not matching begin position
GitOrigin-RevId: 0a6f98b9d7ac22582bc922bb64766b478d8cdd11
2025-04-24 16:44:39 +00:00
Mikhail Filippov
493c93a4bf IJPL-182711 bump Kotlin language version
GitOrigin-RevId: 0beaed34efbd3b42a739dddd78de097b4e1d09c5
2025-04-09 14:26:59 +00:00
Vladimir Krivosheev
6524c42a41 IJ-CR-146078 IJPL-181726 pack libraries of non-V2 modules into a separate merged (per library) JAR file — update content report
GitOrigin-RevId: 2420ea8c2eba796dbad89c352344b2536b8c8614
2025-04-08 12:15:46 +00:00
Vladimir Krivosheev
ace5ff3c8e IJ-CR-146078 IJPL-181726 more compact presentation of libs in content report
GitOrigin-RevId: d4c3319240c4c9a868efcc4984839d013764e168
2025-04-03 07:04:26 +00:00
Vladimir Krivosheev
ec002fcf0a Revert "IJ-CR-146078 IJPL-181726 pack libraries of non-V2 modules into a separate merged (per library) JAR file"
This reverts commit 566ba74d166c23a11a8f74ea3939572f567c9372.

GitOrigin-RevId: c4fc3b52b5fd0ef02c2cee7d1d5cbc3000cc9e6f
2025-04-02 13:12:53 +00:00
Vladimir Krivosheev
c11f5ad1f5 IJ-CR-146078 IJPL-181726 pack libraries of non-V2 modules into a separate merged (per library) JAR file
GitOrigin-RevId: 566ba74d166c23a11a8f74ea3939572f567c9372
2025-04-02 09:31:40 +00:00
Ivan Shakhov
6da0361fca fix IDEA-356651 AE: StringUtil.repeatSymbol
(cherry picked from commit fd2b92ad120021c7839fd5b5b3fa2f7d7ed9cf48)

IJ-CR-158652

GitOrigin-RevId: d3db6e2c2bcde61916a52a3fd607510592c81b80
2025-03-28 09:23:09 +00:00
Daniil Ovchinnikov
6787fe130e mark EnterHandlerDelegateAdapter obsolete and clean up its usages
GitOrigin-RevId: 18180910770bf4c1e7b21e42970adb2d7bb602b0
2025-03-27 15:57:08 +00:00
Yuriy Artamonov
d67da625a0 [platform] IJPL-181314 Enable bundled update for platform plugins
GitOrigin-RevId: 8031e50449817db3c38b36a3e33a0f6a9855b21f
2025-03-14 20:48:10 +00:00
Liudmila Kornilova
55c36632d2 IJPL-175250 checkCancelled before starting bg tasks
GitOrigin-RevId: 2a596abdff42c7b5a554b210da8fc6725e666e12
2025-03-12 18:05:17 +00:00
Yuriy Artamonov
c10ec30325 [plugins] Move Cron, Protobuf and TextMate to Languages category
GitOrigin-RevId: 638d83ec2ad91d3bfc4e8f4093ce1721ba070dfa
2025-03-11 23:19:24 +00:00