Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-18[NuGet] Fix analyzers not used by SDK style projectsMatt Ward
Analyzer items were not being resolved so no analyzers were being passed to the type system for SDK style projects. Non-SDK style PackageReference projects were resolving Analyzer items. Projects that use a packages.config have to explicitly use Analzyer items in the project file. To fix this the CoreCompileDependsOn targets is changed to include the ResolveLockFileAnalyzers which resolves the Analyzer items. This was already working for non-SDK style PackageReference projects since the NuGet addin was adding the ResolveNuGetPackageAssets target to the CoreCompileDependsOn targets and that resolves the Analyzer items. Fixes VSTS #1047893 - Analyzers not used by SDK style projects
2020-01-17Merge pull request #8844 from mono/nuget-5.4-previewMatt Ward
[NuGet] Fix requests bypassing the native HTTP handler
2020-01-16Merge pull request #9555 from mono/fix1021581-focusable-nuget-tabsVsevolod Kukol
[NuGet] Use a custom label to allow tab focus in package management
2020-01-16[NuGet] Use a custom label to allow tab focus in package managementVsevolod Kukol
A regular label does not allow focus unless it's selectable or a link and there is no simple workaround for that. Fixes VSTS #1021581
2020-01-16[NuGet] Fix requests bypasing the native HTTP handlerMatt Ward
Restoring or installing a NuGet package into a project that uses PackageReferences would bypass the native HTTP handler. This was due to NuGet's CachingSourceProvider creating its own set of INuGetResourceProviders when it creates a set of new SourceRepository instances. This resulted in the default HttpSourceResourceProvider being used when uses Mono's HttpClientHandler. This would happen when the .nupkg was downloaded. NuGet 5.4 allows a custom NuGetResourceProvider factory to be configured instead of only when creating instances of SourceRepository. This is now used by the Package Management addin so all HTTP requests use the native HTTP handler. Fixes VSTS #918815 - Fixes NuGet requests bypassing native Http Handler
2020-01-15[NuGet] Allow license acceptance dialog to be disabledMatt Ward
Added a feature switch to allow the license acceptance dialog to be disabled. This can be done by setting the environment variable: MD_FEATURES_DISABLED=NuGetLicenseAcceptanceDialog By default the license acceptance dialog will be displayed. The feature switch can be used by automation tests to disable the dialog and the license acceptance for the NuGet package will occur without the user being prompted. Fixes VSTS #1036006 - Disable license acceptance dialog with feature switch
2020-01-15Merge pull request #9447 from mono/nrefactory-removalJose Miguel Torres
Remove various references to NRefactory that are not used
2020-01-15Merge pull request #9518 from mono/nuget-barebonecredentialproviders-take-twoMatt Ward
[NuGet] Register credential providers coming from secure plugins
2020-01-15Remove various references to NRefactory that are not usedtherzok
2020-01-09[NuGet] Fix credentials prompt being displayed on opening NuGet dialogMatt Ward
With check for updates enabled, and the NuGet command line credential provider using the session token cache, when the Manage Packages dialog was opened the dialog asking for a username and password would be displayed. The problem was that the NuGet credential service puts itself into retry mode when it is used. The retry flag is then set to true and was passed to the credential provider. The credential provider sees this is a retry and clears the session token cache so the token for the package source is not used. This then results in the credential prompt. To fix this the retry cache is reset on opening the dialog. It looks like this change was lost on switching to the manage packages dialog: ec92ab06b697236ed8e3ec43bb8fd9b8a428fe1a
2020-01-08[NuGet] Ensure custom plugin factory used in resource providerMatt Ward
The PluginResourceProvider uses PluginManager.Instance by default. We want this to use the custom PluginManager that handles running providers with Mono instead of the default one that NuGet provides.
2020-01-08[NuGet] Support .NET Framework exe credential providersMatt Ward
NuGet's PluginFactory does not launch a .NET Framework .exe with Mono which causes the IDE to run launch another instance of itself when run from the Mac bundle. To workaround this the command line arguments are modified if an .exe is being run so it is launched with the current Mono.
2020-01-08[PackageManagement] Register credential providers coming from secure pluginsJérémie Laval
This will do a barebone registration of available, plugin-based credential providers (like the Azure DevOps one) without implementing any authentication flow. The idea is that users can pre-authenticate via another mean (manual MSBuild invocation or NuGet binary) and the IDE will, at least, be able to retrieve those cached credentials.
2020-01-07Revert "[PackageManagement] Register credential providers coming from secure ↵Matt Ward
plugins" This reverts commit 09fe44563ef01c059dda3008cc194703259340d0.
2020-01-07[PackageManagement] Register credential providers coming from secure pluginsJérémie Laval
This will do a barebone registration of available, plugin-based credential providers (like the Azure DevOps one) without implementing any authentication flow. The idea is that users can pre-authenticate via another mean (manual MSBuild invocation or NuGet binary) and the IDE will, at least, be able to retrieve those cached credentials.
2019-12-23Switch to Task.CompletedTask where applicabletherzok
2019-12-19[NuGet] Native project selection dialogVsevolod Kukol
Fixes VSTS #1021688
2019-11-27Merge pull request #9387 from mono/fix1021556-nuget-accessible-tabsVsevolod Kukol
[NuGet][1021556] Make tab labels behave like real tabs with VO
2019-11-26[NuGet] Make tab labels behave like real tabs with VOVsevolod Kukol
Fixes VSTS #1021556
2019-11-26[NuGet] Announce status messages using Voice OverMatt Ward
The status message that is displayed with the spinner is now announced by Voice Over. When the status message is removed another message is announced by Voice Over to say the loading has completed or, if a search filter was entered, search was completed. If no packages are found when searching this message is also announced by Voice Over. Fixes VSTS #1022830 - Accessibility: NuGet Packages: VoiceOver is not announcing the status message.
2019-11-25[NuGet] Use ID instead of Id in user interfaceMatt Ward
Using ID allows Voice Over to announce it as I.D instead of a single word. Note that some Voice Over voices, such as English UK still announce the text incorrectly. Without changing the text to be "I.D." there does not seem to be a way of fixing this in the IDE. System Preferences on the Mac can be used to change the pronounciation for certain words if required. Fixes VSTS #1021636 - Accessibility: NuGet: Improper announcement for the "ID" word.
2019-11-25[NuGet] Use existing consolidate label for projects list viewMatt Ward
Instead of using new text for the accessibility label for the projects and versions list view re-use the existing consolidate label.
2019-11-25[NuGet] Fix column header now read for first column in Consolidate tabMatt Ward
Combine project name and check box in Consolidate tab. This fixes the problem where the check box has a column with no name. Now the check box and the project name are in the same column so Voice Over reads the column header name, the project name and the checkbox state which makes it easier to understand what the list view is displaying. Fixes VSTS #1021702 - Accessibility: NuGet Packages: Column Header name is not present for the first column.
2019-11-25[NuGet] VoiceOver reads version on Installed tabMatt Ward
Previously the download count was read by Voice Over when on the Installed tab but the version installed was displayed. Now the version is read by Voice Over. Download count is read by Voice Over on the Browse tab as before.
2019-11-25[NuGet] Add Search placeholder text to Manage Packages dialogMatt Ward
The search text box now shows 'Search' as placeholder text. Fixes VSTS #1022836 - Manage NuGet Packages_Usability: Unable to identify the instructions about search criteria.
2019-11-25[NuGet] Associate UI widgets with labels for accessibilityMatt Ward
Manage Packages dialog changes: 1. Associate labels with all combo boxes. 2. Workaround Xwt.ComboBox.Accessible.Label not working by adding an invisible label for the Package Sources combo box which has no visible label. This label is assigned to the ComboBox.Accessible.LabelWidget which works. 3. Add accessibility label for the packages list and the projects and versions list. 4. Associate package information with their corresponding labels. Fixes VSTS #1021638 - Accessibility: NuGet Packages: VoiceOver is not announcing the label for all the combo box and edit box present on the screen. Fixes VSTS #1021699 - Manage NuGet Packages_ConsolidateTab_ScreenReader: Voice Over is not announcing the table name
2019-11-12Merge pull request #9271 from mono/a11y-nuget-package-managementVsevolod Kukol
[a11y] NuGet Package Management
2019-11-12[NuGet] Unsubscribe UI events when disposingVsevolod Kukol
2019-11-11[Mac][NuGet] Use Components.SearchEntry for the Xwt.SearchEntry backendVsevolod Kukol
Xwt.GtkBackend.SearchEntry is a copy of Components.SearchEntry, but without accessibility features on macOS. Since we use that widget in PackageManagement only anway, let's just use the original widget that is accessible. We can review this once we get an updated SearchWidget backend in Xwt.Gtk. Fixes VSTS #750371
2019-11-11[NuGet] Make header labels accessibleVsevolod Kukol
2019-11-11[NuGet] Make package selection list view accessibleVsevolod Kukol
Fixes VSTS #750376
2019-11-11[NuGet] Reduce custom rendering in package selection listVsevolod Kukol
* Use regular check box cell view to select packages * Remove custom background rendering
2019-10-28Prevents not disposable parent window setting to IDE or GTC instead use ↵Jose Medrano
XwtRootWindow Fixes VSTS #961624 - "System.ObjectDisposedException: Cannot access a disposed object" error when trying to access nuget license dialog
2019-10-21[NuGet] Fix projects not being re-evaluated after packages updatedMatt Ward
Updating a package for multiple projects in one step results in the NuGet package restore that is done at the end being a no-op. This means that the project is not re-evaluated which can mean that the AvailableItemNames are not updated. Updating a single NuGet package does not have the same problem. Also fixed a problem where a PackageReference project (non-sdk) was not re-evaluated on restoring. This could also result in the AvailableItemNames not being available to the project if the project was missing its obj/project.assets.json file on being opened in the IDE.
2019-10-21[NuGet] Update multiple packages together in a batchMatt Ward
Updating two NuGet package references that have a strict dependency on a single version of another NuGet package not explicitly added to the project would fail in the Manage NuGet Packages dialog. This was because the update would be done one package at a time. Doing the update of the two NuGet packages together allows NuGet to update both so they then use the new strict dependency. Note that updating all packages in the project from the Solution window does not have this problem since there the packages are updated together in a batch. Fixes VSTS #986960 - Solution nuget updater fails to update a set of packages that all have a related dependency update
2019-10-21[NuGet] Fix dialog loss of focus on adding new package sourceMatt Ward
In Preferences - NuGet - Sources, the Add Package Source dialog would lose focus when the Browse button was used. A way to reproduce this is to tab to the Add button, press space, then tab to the Browse button in the Add Package Source dialog, press space, then press escape. The Add Package Source dialog then no longer has focus and tabbing does not work. Fixed this by explicitly setting focus back to the parent dialog when a child dialog is closed. Fixes VSTS #1003430 - Accessibility: NuGet add package source dialog browse button loses dialog focus
2019-10-01Merge pull request #8804 from ↵Greg Munn
mono/nuget-null-reference-getting-package-reference-info [NuGet] Handle NuGet addin API used when project disposed
2019-09-25[NuGet] Handle NuGet addin API used when project disposedMatt Ward
Handle a null Project.MSBuildProject when the NuGet addin's GetInstalledPackages API is called. System.NullReferenceException Object reference not set to an instance of an object MonoDevelop.PackageManagement.DotNetProjectExtensions.GetDotNetCoreTargetFrameworks(Project) MonoDevelop.PackageManagement.ProjectPackageReference.GetFramework() MonoDevelop.PackageManagement.ProjectPackageReference.CreatePackageReference() MonoDevelop.PackageManagement.PackageReferenceNuGetProject.<>c.<GetPackageReferences>b__XXX(ProjectPackageReference) System.Linq.Enumerable.SelectEnumerableIterator`2[[MonoDevelop.PackageManagement.ProjectPackageReference, MonoDevelop.PackageManagement, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3ead7498f347467b],[NuGet.Packaging.PackageReference, NuGet.Packaging, Version=5.2.0.3, Culture=neutral, PublicKeyToken=31bf3856ad364e35]].ToList() System.Linq.Enumerable.ToList[PackageReference](IEnumerable`1) MonoDevelop.PackageManagement.PackageReferenceNuGetProject.GetPackageReferences() MonoDevelop.PackageManagement.PackageReferenceNuGetProject.GetInstalledPackagesAsync(CancellationToken) MonoDevelop.PackageManagement.PackageManagementProjectOperations.<>c__XXX.<GetInstalledPackages>b__XXX() System.Threading.Tasks.Task`1[[System.Threading.Tasks.Task`1[[System.Collections.Generic.IEnumerable`1[[NuGet.Packaging.PackageReference, NuGet.Packaging, Version=5.2.0.3, Culture=neutral, PublicKeyToken=31bf3856ad364e35]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].InnerInvoke() System.Threading.Tasks.Task.Execute() Gtk.Application.Run() MonoDevelop.Ide.IdeStartup.Run(MonoDevelopOptions) MonoDevelop.Ide.IdeStartup.Main(String[],IdeCustomizer) Fixes VSTS #987260 - System.NullReferenceException exception in MonoDevelop.PackageManagement.DotNetProjectExtensions.GetDotNetCoreTargetFrameworks()
2019-09-20[Ide] Improve global search popup stringsVsevolod Kukol
2019-09-03[IDE] Drop add prefix for commands under add menuKeting Yang
1. Change "Edit References" to "Add References" 2. Drop the add prefix from the Add sub menu 3. Change "Add files" to "Existing Files" Fixes: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/974919/
2019-09-03Change the position of the command and update the condition to just "Project"Keting Yang
2019-08-27[NuGet] Update NuGet to version 5.3.0-rtm.6192Matt Ward
Matches the version included with MSBuild in Mono 6.4.0.179 Fixes VSTS #972633 Update NuGet to 5.3.0-rtm.6192 to match mono's msbuild
2019-08-22Merge pull request #8482 from ↵Matt Ward
mono/nuget-manage-packages-checkbox-selection-via-keyboard [NuGet] Allow checkboxes to be selected by keyboard in packages dialog
2019-08-21[GlobalSearch] Adds order in SearchPackages and SearchInSolutionJose Medrano
2019-08-21[GlobalSearch] Adds order priority in results based in a rankJose Medrano
2019-08-20[NuGet] Do not install package when enter pressed in search text boxMatt Ward
No longer installing the selected package in the Manage NuGet Packages dialog when the enter key is pressed. This has caused a bit of confusion and can cause a package to be installed when the user is trying to run the search. Note that the search is a search as you type so pressing the enter key has no affect. Fixes VSTS #968790 - Hitting return in a search field installs a package
2019-08-20[NuGet] Allow checkboxes to be selected by keyboard in packages dialogMatt Ward
Previously pressing space or enter would cause the selected package, or multiple packages if checked, to be installed. Now pressing space or enter checks or unchecks the package. Fixes VSTS #750399 - Accessibility: Onfocus issue has been observed while selecting packages from the list Fixes VSTS #750407 - Accessibility: Checkboxes for selecting multiple packages are not accessible through keyboard
2019-08-20Merge pull request #8468 from mono/nuget-manage-packages-testsMatt Ward
[NuGet] Fix duplicate projects in select projects dialog
2019-08-19[NuGet] Fix duplicate projects in select projects dialogMatt Ward
Checking more than one NuGet package in the Manage NuGet packages dialog when that NuGet package is installed in multiple projects could result in projects being listed multiple times in the Select Projects dialog. This was because each checked package id was being checked against all the packages installed in the project and for each match the project was being returned. This would result in the same project being listed multiple times in the dialog which was confusing. Fixes VSTS #966636 - NuGet Package Manager dialog after selecting multiple packages to uninstall unclear
2019-08-18[NuGet] Handle packages with no version in Manage Packages dialogMatt Ward
Ignore package references that have no version specified in the project. This fixes a null reference exception displayed in the Updates tab of the Manage NuGet packages dialog for an ASP.NET Core web project. Fixes VSTS #965689 - Manage NuGet Package has yellow bar with "Object reference not set to an instance of an object"