Commit Graph

472 Commits

Author SHA1 Message Date
Sergey Pak
a38c0facac IDEA-305325: handle case when plugin is incompatible with other IDE
GitOrigin-RevId: 5fd7858970fc6eadd64067f4536a441186668a42
2023-08-18 17:19:10 +00:00
Sergey Pak
e80b821c81 Settings Sync tests - proper handle dependencies
GitOrigin-RevId: dfae87eddd085410bbb08cb7ceafc99f97e27d85
2023-08-18 17:19:10 +00:00
Sergey Pak
2c93825924 don't always save settings inside SettingsSyncBridge.initialize (that fixes IDEA-327756)
GitOrigin-RevId: 4317708182eb7f96187a0a889850529cbd53ebc9
2023-08-18 16:35:23 +00:00
Pavel Porvatov
edbf3b5222 [Kotlin UI DSL] Moving API into common platform place
GitOrigin-RevId: d1140b983c8944f3f768e1ab9ade93e31bb5dfa7
2023-08-18 10:51:27 +00:00
Roman Shevchenko
3cfce73c12 [project] "replacing custom Path extensions with stdlib/JRE calls" follow-up (IJ-CR-113140)
GitOrigin-RevId: 7e504515ec634642ada41f02ec41e1afd49044ac
2023-08-17 09:11:01 +00:00
Roman Shevchenko
c5bace558b Cleanup (suppression)
GitOrigin-RevId: 1ed493d07a98e93a0aa0011f84be79596541c5c4
2023-08-15 07:07:02 +00:00
Roman Shevchenko
89053429fa [platform] fixing NSFE in SettingsSyncIdeMediatorImpl#writeStatesToAppConfig
GitOrigin-RevId: b163cc9d5438a25c95b0623b13561e5c077cf49f
2023-08-15 07:07:01 +00:00
Vladimir Krivosheev
9649497aef reduce visibility
GitOrigin-RevId: c44a92db578b68af55eb8a4bcec564a880d91838
2023-08-12 13:14:01 +00:00
Vladimir Krivosheev
8dd13764a9 IDEA-326151 update hash algo for icons
GitOrigin-RevId: bb8f3acd0314190362619afb86151270b893f082
2023-08-09 14:46:20 +00:00
Roman Shevchenko
99b4cda0cf [project] replacing more custom Path extensions with stdlib/JRE calls
GitOrigin-RevId: ee0ef4c4273d9aa73314d77bf9697f6b656fe8fc
2023-08-08 21:50:39 +00:00
Roman Shevchenko
386eee00be [project] replacing custom Path extensions with stdlib/JRE calls
GitOrigin-RevId: 521524062de528211d495d08b32afcd2132d7ebd
2023-08-04 17:11:22 +00:00
denis.kuznetsov
d9bc5a8812 Fix classes visibility for Rider
GitOrigin-RevId: cdba461d0d3fcdf356b9698eb0808ef9e2747966
2023-07-28 14:23:46 +00:00
Sergey Pak
ad42c64a20 don't ask check productionServerUrl on init (EA-890991 T: HttpRequests.process)
GitOrigin-RevId: fb7f94a943a4719c6256ae0cc5c6159562dc9264
2023-07-27 20:47:44 +00:00
Sergey Pak
656937249f 1. IDEA-326189 Cannot invoke "org.eclipse.jgit.lib.AnyObjectId.hashCode()" because "id" is null (Add init commit, if repo is empty)
2. Disable sync, if init failed

GitOrigin-RevId: ec3e290d5b4a9aa926a0cfd4812a11edaf134f3d
2023-07-27 19:59:52 +00:00
Vladimir Krivosheev
28a6a27c37 preload FileBasedIndex in a controlled manner to avoid thread contention and blocking
GitOrigin-RevId: 23d1aff2a10c2bee9690710884b63e38dd3b243d
2023-07-26 20:58:09 +00:00
Vladimir Krivosheev
7167f05ab1 SettingsSyncSettings - do not depend on PathMacros
GitOrigin-RevId: 8ed12ecdb0e5260cc8ad7499c611c7f4ddc8915e
2023-07-26 20:58:08 +00:00
Vladimir Krivosheev
9b5bf1a2be SettingsSynchronizer - don't implement several EP as one class
GitOrigin-RevId: 806103ac2e63f103a558a8ccf93c307763282901
2023-07-26 20:57:24 +00:00
Vladimir Krivosheev
fbe7cfb413 Refactored code to use modern async scope execution
Code in the SettingsSync and related classes have been adjusted to use modern async execution instead of scheduled tasks. This refactor allows for better execution management and reduces code complexity. Async execution is now used for settings synchronization, initialization and migration. It also includes changes in method usage, like replacing 'SettingsSynchronizer.syncSettings()' with 'fireSettingsChanged()'. The changes make the code base cleaner and more efficient.

GitOrigin-RevId: 69d2e033a056d4ec9d4558300c3c684a493ea27b
2023-07-26 20:57:23 +00:00
Vladimir Krivosheev
23518d8762 execute app init listeners in parallel to critical service preloading
GitOrigin-RevId: e7ae0d9a339fc99a00f8cddab606f49baf4b3fe0
2023-07-26 20:57:19 +00:00
Sergey Pak
19f66484c3 IDEA-326191 Settings Sync dialog ignores the user settings
GitOrigin-RevId: f9990425d7237f5621ecd72fef7de1ab498a6c6f
2023-07-24 20:44:52 +00:00
Vladimir Krivosheev
920807e07a convert PluginManagerCore to kotlin
GitOrigin-RevId: 623c6539d672489b0f42182e2e8866deae0ff4c2
2023-07-20 19:29:30 +00:00
Sergey Pak
e7406897da refactor (get rid of duplicate component reloading code) - it's already on componentReloading.kt
GitOrigin-RevId: df0f31b359b41ab33d430a8f34bf236e11ec6df6
2023-07-18 20:51:26 +00:00
Roman Shevchenko
abb490446a Cleanup (NIO migration; minor optimization; typos; formatting)
GitOrigin-RevId: 910b9df35a8e0e49b642c30ae10707280504079c
2023-07-18 02:33:37 +00:00
Sergey Pak
4fe10f858e IDEA-298525 Fix bliking Settings Sync Tests with Real Server
GitOrigin-RevId: f12c537d4b01428fa2dd9d358dd7119eb5b9e234
2023-07-14 16:44:18 +00:00
Sergey Pak
dd24f99204 IDEA-324914 LaF-Scheme mapping incorrectly applied after update from settings sync
GitOrigin-RevId: 5850131c2ce03ea4bd4232483f6e657a5a37c46e
2023-07-13 21:03:31 +00:00
Filipp Vakhitov
39672a62c5 IDEA-291623 Show a warning if the settings pack exceeds some reasonably big limit
GitOrigin-RevId: 75a34604baff0474b930c5f88c5ea61cc3539976
2023-07-11 18:53:17 +00:00
Filipp Vakhitov
b20b0dcb54 IDEA-324476 Fix text in restart required dialog
GitOrigin-RevId: 79f141fca96644ca46aeae48b3dd36effedf8e92
2023-07-11 18:53:14 +00:00
Filipp Vakhitov
acd1b02ed0 IDEA-324476 Fix text in restart required dialog
GitOrigin-RevId: 964dd3763cd5afdab9200fbd635414dfb9969a92
2023-07-11 18:53:11 +00:00
Sergey Pak
da992dce67 IDEA-308635 respect dialog checkboxes
GitOrigin-RevId: 278a64b223fbcb1ba40f1b4b130cd46904d70e8a
2023-07-06 23:55:14 +00:00
Nikolay Chashnikov
79a65925c7 [settings] synchronize settings of storages with RoamingType.DISABLED in process-per-connection mode
Before, StreamProvider wasn't called for a storage with RoamingType.DISABLED, and this caused problems with persisting such settings in JetBrains Client when separate processes are used for different connections (CWM-8334, RDCT-366).
Now StreamProvider is used for all types of storages, and the existing implementations were changed to skip storages with RoamingType.DISABLED.

In order to keep the old behavior, when a storage which type was changed to DISABLED is deleted from StreamProvider, a new method 'deleteIfObsolete' is added and implemented in IcsManager and CloudConfigStreamProvider (SettingsSyncIdeMediatorImpl didn't do that before). This is a temporary solution to minimize the amount of code changes, it would be better to implement this logic in 'StreamProvider::write' method, but this requires getting rid of 'isAvailable' calls, so this should be done later.

GitOrigin-RevId: 2c660d18ca6ba0c66aed9c01d68bbae0bc323edb
2023-07-06 13:51:37 +00:00
Vladislav.Yaroshchuk
a8ace86e27 IJI-1182 Enable Maven dependencies checksum verification
GitOrigin-RevId: c092a94aafbffc6378dce963e3df6272ded9c092
2023-07-03 15:37:15 +00:00
Sergey Pak
c93bd5aa79 fix test (failing after 30667dad)
GitOrigin-RevId: 68b4cca16a56570142e7adba2a42ff0b1b6072bb
2023-06-28 20:49:21 +00:00
Sergey Pak
f99e64d95c IDEA-299147 Don't spam the log with network failure exceptions when being offline
reduce excessive logging of settings sync errors. 
Consume consequent similar IOExceptions

move checking of cross-ide-sync to Communicator and fail methods in case of network errors (don't duplicate queries)

Merge-request: IJ-MR-109126
Merged-by: Sergey Pak <Sergey.Pak@jetbrains.com>

GitOrigin-RevId: 1da23d7e5c7e94f329acecb0362b74a4d17da79b
2023-06-21 20:40:32 +00:00
Sergey Pak
74e666836f IDEA-303622 Show restart dialog in all necessary cases
GitOrigin-RevId: 092035d284bf313c0984f65500c93b4db59dd5bb
2023-06-20 13:58:29 +00:00
Sergey Pak
4754f8b5c7 make tests with mock server closer to ones with real server
GitOrigin-RevId: b9f44b8150c48f9817f5a094c38f255f9e9d4c0b
2023-06-20 11:46:16 +00:00
Alex Plate
acde44da72 [Workspace Model] [IDEA-320676] Rename jps module of workspace model
GitOrigin-RevId: 146fda1ce8b8e436eb48070e8cf96f2c654ea6a2
2023-06-19 09:35:11 +00:00
Nikolay Chashnikov
814bfee1cb [rdct] use correct paths to files under options directory in shared config (RDCT-6)
Paths to configuration files under idea.config.path/options directory are passed to StreamProvider without 'options/' prefix, so it should be added manually.

GitOrigin-RevId: 9e006725f992594258458dee4d2676545a879dfb
2023-06-13 16:13:31 +00:00
Nikolay Chashnikov
aa702a80e4 [rdct] refactoring: move code from settingsSync to platform and reuse in RDCT (RDCT-6)
This is needed to avoid code duplication, and also fixes NPE when `null` is passed as `changedStorages` to `ComponentStoreImpl.doInitComponent` from SharedConfigFolderUtil.

GitOrigin-RevId: 743a0920493886983ffc5653f15fbfc7c4231c7a
2023-06-13 16:13:21 +00:00
Sergey Pak
54b2c346d7 IDEA-314885 Add link to download the Marketplace Licensing Support plugin from Settings Sync
bundle comments

GitOrigin-RevId: 1407eb3c67b19ce16f15c38109b8291853dedbe5
2023-06-12 17:40:35 +00:00
Sergey Pak
3a71abcb50 stabilize settings sync tests by enforcing queue flush
GitOrigin-RevId: f81967b439744a0647b035fae457ae5857bedb5f
2023-06-07 00:18:56 +00:00
Sergey Pak
cb593dfd78 use empty name/email if JBA doesn't provide one (EA-844607)
GitOrigin-RevId: 1e6c897231e791d34ca3440ff6f4adc22bd6016f
2023-06-06 22:16:04 +00:00
Maxim.Kolmakov
0b35a83656 Don't force enabling cross ide sync if it's already enabled
GitOrigin-RevId: d6c9bb2706a1c19734bdc621a0cf2d7de402512a
2023-06-02 15:29:02 +00:00
Konstantin Nisht
3e1034005a [platform] IJPL-8: Add explicit blockingContext on the boundary coroutine and old code
GitOrigin-RevId: 032e5e2012cfabba540a25024051ec68a1da403f
2023-06-01 11:36:29 +00:00
Alexey Belkov
3cf90b1a36 Apply Kotlin inspection "Variable declaration could be moved inside 'when'"
GitOrigin-RevId: 5c55b548b940f7bfba46f353d4ced63f33ec5f47
2023-06-01 10:41:44 +00:00
Sergey Pak
b336fb9156 IDEA-305325 Settings Sync silently disables plugins if they are disabled on other machine because of some error
GitOrigin-RevId: 4f05ad621ad4520c31ae4a622bf9ca0e46a88346
2023-05-31 17:12:34 +00:00
Sergey Pak
13f454b6ae IDEA-302344 Don't read global Git config for operations with settings sync
fix method name in GitRepositoryManager:
1. migrate to shared library version
2. Fix packaging and licenses tests
3. Use the same library name

GitOrigin-RevId: 7521ad96622a812164ab59177f32d6e21fde462e
2023-05-31 01:55:20 +00:00
Sergey Pak
262f0f57cb Add PluginEnableStateChangedListener and process only plugins that were explicitly enabled/disabled.
GitOrigin-RevId: 784e328579c5c79dbc21dae8f1d7379cc46ed432
2023-05-31 01:52:47 +00:00
Sergey Pak
329180b4a2 IDEA-303581 Do not disable Settings Sync when plugin state change has failed
slightly refactor SettingsSyncPluginInstallerImpl to make it suitable for testing

GitOrigin-RevId: 7d77a3e578bdb4ed61ae98b7f94d22bbe92c4413
2023-05-30 20:48:16 +00:00
Anna Koehler
8918124ca3 Some improvements in the related to the integration tests code
GitOrigin-RevId: 39b8eed0e4a7f4ddf69eaec2da9b0be55a8ead03
2023-05-30 19:47:18 +00:00
Alexey Belkov
d1ba5fdfe4 Apply Kotlin inspection "Unnecessary parentheses in function call with lambda" on whole project
GitOrigin-RevId: 230592b099eebd411f7dcfb5cc04fcdee7540e09
2023-05-27 14:22:22 +00:00