This is an automated email from the ASF dual-hosted git repository. entl pushed a change to branch release122 in repository https://gitbox.apache.org/repos/asf/netbeans.git.
from f199e5a Merge pull request #2662 from jlahoda/backport-release1221 new fcb6f40 Use the default MIME type, when not set on the Source. new cac1545 Display Java + Truffle guest frames correctly. new 7ad961a Refresh hints in VSCode editor. new 8c14ff7 First attempt add LSP-based rename refactoring to the Java LSP Server and the LSP Client. (#2600) new d5f9df0 Make IntroduceElement fixes available as LSP CodeActions. (#2647) new 4c2c1b7 Support for default Progress action moved to non-UI. new 0ac02a4 Upgrade client library to 0.10; support ProgressHandles as WorkDoneProgress. new c1739d6 Retrofitted some modules to use now-base ProgressHandle. new 5cac518 Run action will terminate LSP client exec session on process exit. new 6b080f3 Added handler for workDone cancel notifications. new dbe4526 DAP piggybacks on LSP progress support; disabled cancel for debug/run. new 9128066 Allow to temporarily substitute different ProgressEnv for tests. new 642ac2d Remove redundant scope check. new 960f4df LSP - Go to definition enhanced with possible sources download. (#2649) new a9b14ad Be sure to remove breakpoint event interceptor, when it wasn't used. new 7e4d47f Various fixes for LSP codeAction and rename requests. (#2655) new 5c8e28e Support executor ProgressHandle cancel over DAP protocol. (#2653) new 1ed0086 LSP codeAction fixes. (#2660) new d305afa Merge pull request #2651 from entlicher/mentlicher/backportTo122 The 4665 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../modules/cpplite/editor/file/CDataObject.java | 9 +- .../modules/cpplite/editor/file/CPPDataObject.java | 9 +- .../modules/cpplite/editor/file/HDataObject.java | 9 +- .../modules/cpplite/editor/file/HPPDataObject.java | 9 +- extide/gradle/nbproject/project.xml | 10 +- .../api/execute/GradleDistributionManager.java | 3 +- .../gradle/execute/GradleDaemonExecutor.java | 3 +- ide/extexecution/nbproject/project.xml | 10 +- .../api/extexecution/ExecutionService.java | 3 +- ide/lsp.client/nbproject/project.xml | 18 + .../client/bindings/refactoring/Bundle.properties | 8 +- .../bindings/refactoring/ModificationResult.java | 430 ++++++++++++++ .../client/bindings/refactoring/Refactoring.java | 519 ++++++++++++++++- .../refactoring/RefactoringActionsProvider.java | 82 ++- .../client/bindings/refactoring/RenamePanel.form | 72 +++ .../client/bindings/refactoring/RenamePanel.java | 81 +++ ...ingUIImpl.java => RenameRefactoringUIImpl.java} | 41 +- ...UIImpl.java => WhereUsedRefactoringUIImpl.java} | 4 +- .../bindings/refactoring/tree/DiffElement.java | 150 +++++ .../org/netbeans/modules/lsp/client/TestUtils.java | 202 +++++++ ...extDocumentSyncServerCapabilityHandlerTest.java | 129 +---- .../refactoring/RenameRefactoringTest.java | 392 +++++++++++++ .../org/netbeans/modules/parsing/api/Source.java | 1 - ide/projectui/nbproject/project.xml | 10 +- .../modules/project/ui/OpenProjectList.java | 5 +- .../netbeans/modules/project/ui/groups/Group.java | 3 +- .../netbeans/modules/project/ui/zip/ExportZIP.java | 4 +- .../netbeans/modules/project/ui/zip/ImportZIP.java | 3 +- .../modules/refactoring/api/AccessorImpl.java | 12 + .../refactoring/api/RefactoringSession.java | 10 +- .../modules/refactoring/api/impl/APIAccessor.java | 5 + .../modules/refactoring/api/impl/SPIAccessor.java | 3 + .../refactoring/plugins/FileRenamePlugin.java | 2 +- .../modules/refactoring/spi/AccessorImpl.java | 6 + java/debugger.jpda.truffle/nbproject/project.xml | 2 +- .../jpda/truffle/FirstSourceURLProvider.java | 29 +- .../jpda/truffle/access/CurrentPCInfo.java | 12 + .../jpda/truffle/access/ExecutionHaltedInfo.java | 13 +- .../jpda/truffle/access/TruffleAccess.java | 215 ++++++- .../debugger/jpda/truffle/access/TruffleEval.java | 7 +- .../jpda/truffle/access/TruffleStrataProvider.java | 2 +- .../actions/PauseInGraalScriptActionProvider.java | 2 +- .../jpda/truffle/actions/StepActionProvider.java | 8 +- .../jpda/truffle/frames/TruffleStackFrame.java | 27 +- .../jpda/truffle/frames/TruffleStackInfo.java | 23 +- .../models/DebuggingTruffleActionsProvider.java | 147 ++++- .../frames/models/DebuggingTruffleTreeModel.java | 157 +++++- .../frames/models/DebuggingViewTruffleSupport.java | 28 +- .../debugger/jpda/truffle/source/Source.java | 71 ++- .../truffle/vars/impl/TruffleVariableImpl.java | 6 +- .../models/TruffleLocalVariablesTreeModel.java | 4 +- .../vars/models/TruffleVariablesTableModel.java | 2 +- .../jpda/backend/truffle/DebuggerVisualizer.java | 25 +- .../debugger/jpda/backend/truffle/FrameInfo.java | 35 +- .../debugger/jpda/backend/truffle/GuestObject.java | 4 +- .../jpda/backend/truffle/JPDATruffleAccessor.java | 42 +- .../backend/truffle/JPDATruffleDebugManager.java | 62 ++- .../jpda/backend/truffle/SourcePosition.java | 29 +- java/debugger.jpda/nbproject/project.properties | 2 +- .../modules/debugger/jpda/JPDADebuggerImpl.java | 6 +- .../modules/debugger/jpda/util/Operator.java | 42 +- .../netbeans/modules/editor/java/GoToSupport.java | 15 +- .../modules/java/hints/errors/CreateClassFix.java | 64 ++- .../IntroduceExpressionBasedMethodFix.java | 43 +- .../java/hints/introduce/IntroduceFieldFix.java | 27 +- .../java/hints/introduce/IntroduceFixBase.java | 12 +- .../java/hints/introduce/IntroduceMethodFix.java | 31 +- .../java/hints/introduce/IntroduceVariableFix.java | 39 +- .../queries/DefaultSourceLevelQueryImpl.java | 2 +- .../queries/SourceJavadocAttacherUtil.java | 51 +- java/java.lsp.server/external/binaries-list | 10 +- ...-0.9.0-license.txt => lsp4j-0.10.0-license.txt} | 4 +- .../nbcode/integration/nbproject/project.xml | 9 + .../nbcode/integration/LspProgressEnvironment.java | 14 +- java/java.lsp.server/nbproject/project.properties | 10 +- java/java.lsp.server/nbproject/project.xml | 50 +- .../modules/java/lsp/server/LspServerUtils.java | 2 +- .../lsp/server/debugging/DebugAdapterContext.java | 22 + .../java/lsp/server/debugging/Debugger.java | 51 +- .../launch/NbDisconnectRequestHandler.java | 2 + .../server/debugging/launch/NbLaunchDelegate.java | 14 + .../launch/NbLaunchWithoutDebuggingDelegate.java | 6 + .../lsp/server/progress/LspInternalHandle.java | 219 ++++++++ .../lsp/server/progress/LspProgressUIWorker.java | 91 +++ .../java/lsp/server/progress/OperationContext.java | 272 +++++++++ .../lsp/server/protocol/ConstructorGenerator.java | 16 +- .../server/protocol/NbCodeClientCapabilities.java | 20 +- .../lsp/server/protocol/NbCodeClientWrapper.java | 12 + .../modules/java/lsp/server/protocol/Server.java | 84 ++- .../server/protocol/TextDocumentServiceImpl.java | 383 +++++++++++-- .../lsp/server/ui/AbstractProgressEnvironment.java | 135 +++++ .../java/lsp/server/protocol/ServerTest.java | 616 ++++++++++++++++++++- java/java.lsp.server/vscode/src/extension.ts | 15 +- .../org/netbeans/api/java/source/TreeMaker.java | 4 + java/maven/nbproject/project.xml | 10 +- .../modules/maven/actions/CreateLibraryAction.java | 3 +- .../netbeans/modules/maven/api/NbMavenProject.java | 11 +- .../maven/execute/AbstractMavenExecutor.java | 3 +- .../maven/execute/MavenCommandLineExecutor.java | 4 +- .../maven/execute/ui/DebugPluginSourceAction.java | 2 +- .../maven/execute/ui/GotoPluginSourceAction.java | 8 +- .../modules/maven/newproject/BasicPanelVisual.java | 6 +- .../modules/maven/nodes/DependenciesNode.java | 6 +- .../modules/maven/nodes/DependencyNode.java | 8 +- .../maven/operations/RenameProjectPanel.java | 4 +- .../maven/queries/MavenSourceJavadocAttacher.java | 6 +- .../java/spi/JavaRefactoringPlugin.java | 1 + .../spi/{ => hooks}/JavaModificationResult.java | 8 +- platform/api.progress.nb/apichanges.xml | 14 + platform/api.progress.nb/manifest.mf | 2 +- .../api.progress.nb/nbproject/project.properties | 2 +- platform/api.progress.nb/nbproject/project.xml | 15 +- .../api/progress/ProgressHandleFactory.java | 189 ++++++- .../aggregate/AggregateProgressFactory.java | 13 +- .../progress/spi/ProgressUIWorkerProvider.java | 10 + .../modules/progress/spi/UIInternalHandle.java | 34 +- .../progress/module/UIInternalHandleAccessor.java} | 41 +- .../api/progress/ProgressHandleFactoryTest.java | 59 ++ .../api/progress/TestProgressEnvironment.java} | 42 +- platform/api.progress/apichanges.xml | 16 + platform/api.progress/manifest.mf | 2 +- .../org/netbeans/api/progress/ProgressHandle.java | 63 ++- .../aggregate/BasicAggregateProgressFactory.java | 37 ++ .../netbeans/modules/progress/spi/Controller.java | 16 +- .../modules/progress/spi/InternalHandle.java | 57 +- .../modules/progress/spi/ProgressEvent.java | 23 + platform/autoupdate.services/nbproject/project.xml | 10 +- .../autoupdate/services/OperationSupportImpl.java | 11 +- platform/openide.loaders/nbproject/project.xml | 2 +- .../src/org/openide/loaders/DataObject.java | 2 +- .../org/openide/loaders/DataTransferSupport.java | 2 +- .../netbeans/modules/progress/ui/ProgressUI.java | 4 +- .../netbeans/modules/progress/ui/ProviderImpl.java | 15 +- webcommon/html.angular/nbproject/project.xml | 10 +- .../netbeans/modules/html/angular/AngularDoc.java | 3 +- webcommon/html.knockout/nbproject/project.xml | 10 +- .../org/netbeans/modules/html/knockout/KODoc.java | 3 +- webcommon/javascript2.nodejs/nbproject/project.xml | 10 +- .../nodejs/editor/NodeJsDataProvider.java | 3 +- .../javascript2.requirejs/nbproject/project.xml | 10 +- .../requirejs/RequireJsDataProvider.java | 3 +- .../editor/TypeScriptDataObjectDataObject.java | 9 +- 142 files changed, 5729 insertions(+), 697 deletions(-) copy platform/api.progress.nb/nbproject/project.properties => ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/refactoring/Bundle.properties (83%) create mode 100644 ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/refactoring/ModificationResult.java create mode 100644 ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/refactoring/RenamePanel.form create mode 100644 ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/refactoring/RenamePanel.java copy ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/refactoring/{RefactoringUIImpl.java => RenameRefactoringUIImpl.java} (68%) rename ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/refactoring/{RefactoringUIImpl.java => WhereUsedRefactoringUIImpl.java} (94%) create mode 100644 ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/refactoring/tree/DiffElement.java create mode 100644 ide/lsp.client/test/unit/src/org/netbeans/modules/lsp/client/TestUtils.java create mode 100644 ide/lsp.client/test/unit/src/org/netbeans/modules/lsp/client/bindings/refactoring/RenameRefactoringTest.java rename java/java.lsp.server/external/{lsp4j-0.9.0-license.txt => lsp4j-0.10.0-license.txt} (98%) copy platform/api.progress.nb/src/org/netbeans/modules/progress/spi/ProgressUIWorkerProvider.java => java/java.lsp.server/nbcode/integration/src/org/netbeans/modules/nbcode/integration/LspProgressEnvironment.java (67%) create mode 100644 java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/progress/LspInternalHandle.java create mode 100644 java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/progress/LspProgressUIWorker.java create mode 100644 java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/progress/OperationContext.java create mode 100644 java/java.lsp.server/src/org/netbeans/modules/java/lsp/server/ui/AbstractProgressEnvironment.java rename java/refactoring.java/src/org/netbeans/modules/refactoring/java/spi/{ => hooks}/JavaModificationResult.java (84%) copy platform/{progress.ui/src/org/netbeans/modules/progress/ui/ProgressUI.java => api.progress.nb/src/org/netbeans/progress/module/UIInternalHandleAccessor.java} (51%) copy platform/{progress.ui/src/org/netbeans/modules/progress/ui/ProgressUI.java => api.progress.nb/test/unit/src/org/netbeans/api/progress/TestProgressEnvironment.java} (50%) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists