Граф коммитов

4318 Коммитов

Автор SHA1 Сообщение Дата
bmanikm d129831d6f In some console environment, leftPadding is negative. Fixing below exception by adding check on leftPadding value.
C:\NuGet.exe list id:nuget.core -source "https://www.nuget.org/api/v2" -NonInteractive -Verbosity detailed
System.ArgumentOutOfRangeException: Non-negative number required.
Parameter name: totalWidth
   at System.String.PadHelper(Int32 totalWidth, Char paddingChar, Boolean isRightPadded)
   at NuGet.Common.Console.PrintJustified(Int32 startIndex, String text, Int32 maxWidth)
   at NuGet.Common.Console.PrintJustified(Int32 startIndex, String text)
   at NuGet.Commands.ListCommand.ExecuteCommand()
   at NuGet.Commands.Command.Execute()
   at NuGet.Program.Main(String[] args)
2014-04-08 11:45:42 -07:00
feiling 9c1cb3548b Change test UpdatePackageInAllProjects to use local repo. 2014-04-04 15:22:34 -07:00
feiling e58b644e98 Delete the nuget.exe in the root, which is not needed. 2014-04-04 14:59:09 -07:00
feiling 10393e7a4c Merge branch '2.8.1' 2014-04-03 15:52:56 -07:00
feiling 8137761729 Merge branch 'phoneblue' into 2.8.1 2014-04-03 14:47:34 -07:00
feiling cc01846395 Fix the name of a functional test. 2014-04-01 10:20:52 -07:00
feiling 50fd609851 Fix the name of a functional test. 2014-03-28 16:02:57 -07:00
feiling cc2e2eb4c6 Adding more expected error codes to MockServer. 2014-03-28 11:01:49 -07:00
feiling e31b9756c2 Adding more expected error codes to MockServer. 2014-03-28 10:58:40 -07:00
deepakaravindr ebf5c12272 Bump version to 2.6.1 2014-03-26 11:00:43 -07:00
feiling 763f255961 Fix functional test UpdatePackageInAllProjects, because Ninject 3.2.0 was
recently released on 3/21/2014. So the ninject packages installed in the
test are now upgraded to version 3.2.0.
2014-03-25 14:01:16 -07:00
feiling 55133d7bdb Fix functional test UpdatePackageInAllProjects, because Ninject 3.2.0 was
recently released on 3/21/2014. So the ninject packages installed in the
test are now upgraded to version 3.2.0.
2014-03-25 13:59:41 -07:00
deepakaravindr 42ec778ad7 WebMatrix Bug:4086
Update setter IsLicensePageVisible to refresh property changed
on 'IsUpdatingAll' and 'NotUpdatingAll'. This chains the responsibility
instead of doing the change in multiple places
2014-03-24 20:12:38 -07:00
feiling 933374fd73 Add more unit tests for nuget.exe with http source. 2014-03-24 10:53:03 -07:00
feiling 76d52bb158 Add more unit tests for nuget.exe with http source. 2014-03-21 10:51:22 -07:00
deepakaravindr f1ab78b807 Upgrade to NuGet.Core.2.6.0 2014-03-21 10:39:39 -07:00
feiling e20d3886a3 Fix the performance problem in nuget.exe install.
The problem is that nuget.exe gets all versions of a package to find the
latest version, thus making many http calls, when it can just make one
call to get the latest version.

The cause of the problem:
- nuget.exe creates an AggregateRepository as the source repro;
- but AggregateRepository doesn't implement ILatestPackageLookup, so
  nuget falls back to the method of getting all packages to find the
  latest version.

The fix is to explicitly use ILatestPackageLookup on repositories inside
the AggregateRepository.
2014-03-20 14:29:34 -07:00
feiling 3589835d44 Fix the performance problem in nuget.exe install.
The problem is that nuget.exe gets all versions of a package to find the
latest version, thus making many http calls, when it can just make one
call to get the latest version.

The cause of the problem:
- nuget.exe creates an AggregateRepository as the source repro;
- but AggregateRepository doesn't implement ILatestPackageLookup, so
  nuget falls back to the method of getting all packages to find the
  latest version.

The fix is to explicitly use ILatestPackageLookup on repositories inside
the AggregateRepository.
2014-03-19 15:49:49 -07:00
feiling 471fba4e22 Increase the timeout value in test PushCommand_PushToServerWontRetryForever 2014-03-17 21:26:12 -07:00
feiling 8d0139c5ed Increase the timeout value in test PushCommand_PushToServerWontRetryForever 2014-03-17 21:09:14 -07:00
feiling c2d2935732 Fix unit tests 2014-03-17 14:40:05 -07:00
feiling 14da8530d6 Fix unit tests 2014-03-17 14:23:30 -07:00
Garrett Serack 62d5d6e6fd Added an extension method to make it easy for to restrict an IQueryable<IPackage> to the latest version. Handy when consuming NuGet from an application that can't use Linq directly. 2014-03-17 11:05:20 -07:00
Garrett Serack b2e60f75b2 Added an extension method to make it easy for to restrict an IQueryable<IPackage> to the latest version. Handy when consuming NuGet from an application that can't use Linq directly. 2014-03-17 11:01:52 -07:00
feiling 317ffd2829 Tweak to unit test 2014-03-17 11:00:12 -07:00
feiling 894c14b6cc Tweak to unit test 2014-03-17 10:57:58 -07:00
feiling a89db60398 Add unit test for the bug that "nuget.exe push" will retry forever
instead of asking for user's password when NuGet.Server uses Windows
Authentication.
2014-03-17 10:42:47 -07:00
feiling 312a4af536 Add unit test for the bug that "nuget.exe push" will retry forever
instead of asking for user's password when NuGet.Server uses Windows
Authentication.
2014-03-13 17:13:12 -07:00
deepakaravindr 480caebde1 AppDomain.CreateInstance failing...
Added a AssemblyResolve handler to handle this issue
2014-03-13 16:36:44 -07:00
feiling 20ba1592ce Tweak to unit test 2014-03-13 15:17:07 -07:00
juste c0d20d7328 Improved SharedAssetsProject check 2014-03-13 14:45:38 -07:00
feiling 1962d09122 Tweak to unit test 2014-03-13 14:42:11 -07:00
feiling e3b351c4b1 Add unit test for issue 4050 (push to server does not follow redirection). 2014-03-13 13:55:00 -07:00
feiling 04899087cb Add unit test for issue 4050 (push to server does not follow redirection). 2014-03-13 10:16:35 -07:00
feiling 2cda345ffd Fix of work item 4050: push does not follow redirect. 2014-03-12 10:22:24 -07:00
feiling 8c9a15c36a Fix of work item 4050: push does not follow redirect. 2014-03-12 10:18:24 -07:00
deepakaravindr a2762d5550 Update nuspec as part of WebMatrix-Bug-4068: Upgrade to fixed NuGet.Core.2.5.1 2014-03-11 17:54:38 -07:00
deepakaravindr cf1e7ea321 WebMatrix-Bug-4068: Upgrade to fixed NuGet.Core.2.5.1 2014-03-11 12:30:09 -07:00
feiling 6c62b543c7 Make sure that when both packages.project.config and packages.config exist,
PackagesConfig should be set to packages.project.config.
2014-03-11 10:46:25 -07:00
feiling d91dd890a4 Make sure that when both packages.project.config and packages.config exist,
PackagesConfig should be set to packages.project.config.
2014-03-10 09:27:07 -07:00
juste f07506b053 NuGetPackageImportStamp project property 2014-03-09 20:35:55 -07:00
juste c1fd93208e NuGetPackageImportStamp project property 2014-03-07 16:18:18 -08:00
feiling 1736519f21 Fix of issue 4051: Nuget.targets broken on mono xbuild
- Don't use property functions on mono xbuild since they are not supported.
- Also, replace <Choose> since again, it's not well supported on mono xbuild.
2014-03-05 09:17:43 -08:00
feiling 3fc9e44b50 Fix of issue 4051: Nuget.targets broken on mono xbuild
- Don't use property functions on mono xbuild since they are not supported.
- Also, replace <Choose> since again, it's not well supported on mono xbuild.
2014-03-04 14:59:00 -08:00
feiling 2493476a8d Revert the change in d2cea6818c. The
problem is that weak event pattern can't be used when running from
command line.

The fix is to check the event sender instead.
Also, added assert to prevent using weak event pattern in command line.
2014-03-04 13:22:50 -08:00
juste 57631e3502 Adding IsSharedProject check 2014-03-03 17:39:12 -08:00
feiling 89edd98713 Revert the change in d2cea6818c. The
problem is that weak event pattern can't be used when running from
command line.

The fix is to check the event sender instead.
Also, added assert to prevent using weak event pattern in command line.
2014-02-28 13:31:26 -08:00
juste fba62fc288 Enable Test-EnablePackageRestoreOnCpsProjects 2014-02-27 14:48:06 -08:00
juste 73b5e5fc14 Enable Test-EnablePackageRestoreOnCpsProjects 2014-02-27 14:46:55 -08:00
juste ef404b5159 Invoke the restore wait dialog on the UI thread 2014-02-26 15:59:58 -08:00