[corlib] Improve CancellationTokenSource test
[mono.git] / mcs / class / Microsoft.Build.Tasks / Microsoft.Build.Tasks / ChangeLog
index 8fa48b289dcd2b21a4ad86405895354e294a873e..9824ea506a99f0366f26530da95de3c460bcad45 100644 (file)
@@ -1,3 +1,385 @@
+2010-06-10  Ankit Jain  <jankit@novell.com>
+
+       * Csc.cs: Quote -define: arguments.
+
+2010-06-09  Ankit Jain  <jankit@novell.com>
+
+       * ToolTask.cs: Don't check for tool's existence, as we might
+       not have the full path.
+
+2010-05-28  Ankit Jain  <jankit@novell.com>
+
+       * AssemblyResolver.cs: Add some comments.
+
+2010-05-28  Ankit Jain  <jankit@novell.com>
+
+       * AssemblyResolver.cs (FindInDirectory): Add a 'specific_version'
+       parameter. Look for reference.{dll|exe} instead of checking all
+       files in the directory. Compare assembly names only if
+       specific_version is true.
+       (ResolveHintPathReference): Extract code to check and compare assembly
+       names to ..
+       (ResolvedReferenceFromPath): .. this.
+       (AssemblyNamesCompatible): Change default value of @specificVersion to
+       true.
+       Track api changes.
+       * ResolveAssemblyReference.cs (ResolveReference): Specify
+       'specific_version' in case of SearchPath.Directory.
+       (TryGetSpecificVersionValue): msbuild seems to look only for ',' in
+       the reference, instead of checking whether the assembly is strong
+       named.
+       (TryGetResolvedReferenceByAssemblyName): Track api changes.
+
+2010-05-28  Ankit Jain  <jankit@novell.com>
+
+       * AssemblyResolver.cs (PopulateTargetFrameworkAssemblies):
+       Handle invalid dll, add a null check.
+
+2010-04-10  Ankit Jain  <jankit@novell.com>
+
+       * GetFrameworkPath.cs (FrameworkVersion40Path): New.
+
+2010-04-10  Ankit Jain  <jankit@novell.com>
+
+       * Copy.cs: Cleanly log errors, instead of throwing exceptions.
+
+2010-04-10  Ankit Jain  <jankit@novell.com>
+
+       * Vbc.cs (LogEventsFromTextOutput):
+       * ToolTask.cs (LogEventsFromTextOutput): Emit the messages
+       that don't match the error regex, as is.
+
+2010-04-08  Ankit Jain  <jankit@novell.com>
+
+       * Copy.cs: Handle non-existant source files.
+
+2010-04-08  Ankit Jain  <jankit@novell.com>
+
+       Fix bug #594541
+       * Vbc.cs (LogEventsFromTextOutput): Override and correctly parse
+       output. Taken regex from monodevelop for this.
+
+2010-04-08  Ankit Jain  <jankit@novell.com>
+
+       * Vbc.cs (ValidateParameters): Always return true, dummy implementation.
+
+2010-04-07  Ankit Jain  <jankit@novell.com>
+
+       * MSBuild.cs: Emit global properties, if any. Sort the property
+       list.
+
+2010-04-03  Ankit Jain  <jankit@novell.com>
+
+       * Csc.cs: Use dmcs as the compiler for 4.0 profile.
+       * MSBuild.cs (ToolsVersion): New.
+       Use toolsVersion for building.
+
+2010-02-10  Ankit Jain  <jankit@novell.com>
+
+       * GenerateResource.cs (CompileResourceFile): Check File.Exists
+       for source file.
+       Don't build if the target is newer than the source file.
+       (Execute): Continue building all the resources, even if there
+       are failures for some files.
+
+2010-02-10  Ankit Jain  <jankit@novell.com>
+
+       Fix bug #558739.
+       * GenerateResource (Resgen): New. Internal task to run resgen
+       with MONO_IOMAP=drive .
+       (Execute): Use the new Resgen task to compile the resources.
+
+2010-02-06  Ankit Jain  <jankit@novell.com>
+
+       * LC.cs: New.
+
+2010-02-05  Ankit Jain  <jankit@novell.com>
+
+       Fix bug #576579.
+       * CreateManifestResourceName.cs: Use TargetPath metadata, as the link
+       name.
+       * CreateCSharpManifestResourceName.cs:
+       * CreateVisualBasicManifestResourceName.cs: Prefer linkname over
+       filename, if available.
+
+2010-02-04  Ankit Jain  <jankit@novell.com>
+
+       * WriteLinesToFile.cs: Delete the file if there is nothing to
+       be written and overwrite==true.
+
+2010-02-02     Rodrigo B. de Oliveira  <rodrigo@unity3d.com>
+
+       * AssemblyResolver.cs:
+               guard against non existing framework directory
+               (for scenarios where lib/mono/3.5 is not available).
+
+2009-12-22  Ankit Jain  <jankit@novell.com>
+
+       Fix bug #565849.
+       * CreateItem.cs: Use DirectoryScanner to handle wildcards.
+       (IsExcluded): Remove.
+
+2009-11-26  Ankit Jain  <jankit@novell.com>
+
+       * ManagedCompiler.cs (AddResponseFileCommands): *mcs doesn't
+       support /debug:pdbonly, so map it to /debug:full .
+
+2009-11-10  Ankit Jain  <jankit@novell.com>
+
+       * ToolTask.cs (ToolExe): New.
+       * Csc.cs:
+       * AL.cs: Use ToolExe instead of ToolName to construct
+       tool's full path.
+
+2009-11-09  Ankit Jain  <jankit@novell.com>
+
+       * GetFrameworkPath.cs (FrameworkVersion11Path):
+       (FrameworkVersion20Path):
+       (FrameworkVersion30Path):
+       (FrameworkVersion35Path): New.
+
+2009-10-13  Ankit Jain  <jankit@novell.com>
+
+       * ResolveAssemblyReference.cs: Fix warnings.
+
+2009-10-13  Ankit Jain  <jankit@novell.com>
+
+       * ResolveAssemblyReference.cs: Log only unique conflict warnings.
+
+2009-10-12  Ankit Jain  <jankit@novell.com>
+
+       * ResolveAssemblyReference.cs: Remove unnecessary tab in the warning
+       messages.
+
+2009-10-12  Ankit Jain  <jankit@novell.com>
+
+       * MSBuild.cs (Execute): Handle build errors.
+
+2009-10-09  Ankit Jain  <jankit@novell.com>
+
+       * Exec.cs (AddCommandLineCommands): Add '/q' for cmd.exe, to
+       turn 'echo off'. And make sure the script file on windows, has
+       a '.bat' extension, otherwise cmd.exe opens it in a text editor.
+
+2009-10-09  Ankit Jain  <jankit@novell.com>
+
+       Fix bug #545703.
+       * Exec.cs (Command): On unix, change CRLF to CR.
+
+2009-10-08  Ankit Jain  <jankit@novell.com>
+
+       * ResolveAssemblyReference.cs: Don't resolve any dependencies for
+       assemblies resolved from {PkgConfig}. Honor parent's CopyLocal for
+       dependencies.
+
+2009-10-08  Ankit Jain  <jankit@novell.com>
+
+       * MSBuild.cs (Execute): Don't share target output items,
+       always create a copy.
+
+2009-10-08  Ankit Jain  <jankit@novell.com>
+
+       * RemoveDuplicates.cs: Use item's ItemSpec as the key.
+
+2009-10-07  Ankit Jain  <jankit@novell.com>
+
+       * ManagedCompiler.cs (HandleTaskExecutionErrors): Log error if
+       required.
+
+2009-10-06  Ankit Jain  <jankit@novell.com>
+
+       * Exec.cs (ExecuteTool): Use DeleteTempFile instead of File.Delete
+       (HandleTaskExecutionErrors): Log error, if required.
+       * MSBuild.cs: Don't log error.
+       * Warning.cs: Don't log if @text is empty.
+
+2009-09-29  Ankit Jain  <jankit@novell.com>
+
+       * Exec.cs: Write the commands, which can be multiline,
+       to a temporary file, and execute that with "cmd.exe /c"
+       on windows and "sh" on non-windows.
+       (LogToolCommand): Override, and emit the commands instead
+       of the actual args passed to the shell.
+
+2009-09-28  Ankit Jain  <jankit@novell.com>
+
+       * WriteLinesToFiles.cs (Execute): Handle empty list of
+       lines.
+
+2009-09-25  Ankit Jain  <jankit@novell.com>
+
+       * FindAppConfigFile.cs: New.
+
+2009-09-24  Ankit Jain  <jankit@novell.com>
+
+       * ReadLinesFromFile.cs (Execute): Don't do anything, if
+       file is non-existant.
+
+2009-09-24  Ankit Jain  <jankit@novell.com>
+
+       * ToolTaskExtension.cs (HasLoggedErrors): Override.
+
+2009-09-23  Ankit Jain  <jankit@novell.com>
+
+       * MSBuild.cs (BuildInParallel): Add missing property.
+
+2009-09-10  Ankit Jain  <jankit@novell.com>
+
+       * AssemblyResolver.cs: Move the SearchLogger to be a list of
+       strings, so that it can be emitted with correct indentation.
+       (SearchLogger): Remove.
+       (LogSearchMessage): New.
+       (LogSearchLoggerMessages): New.
+       * ResolveAssemblyReference.cs: Track api changes.
+
+2009-09-01  Ankit Jain  <jankit@novell.com>
+
+       * ResolveAssemblyReference.cs (ResolveReference): targetFrameworkDirectories
+       can be null.
+
+2009-08-28  Ankit Jain  <jankit@novell.com>
+
+       * AssignCulture.cs, AssignTargetPath.cs,
+       CallTarget.cs, CombinePath.cs, Copy.cs,
+       CreateItem.cs, CreateManifestResourceName.cs,
+       Delete.cs, Error.cs, FindUnderPath.cs,
+       GenerateResource.cs, MSBuild.cs, MakeDir.cs,
+       Message.cs, RemoveDir.cs, RemoveDuplicates.cs,
+       ResolveAssemblyReference.cs, Touch.cs,
+       WriteLinesToFiles.cs: Add null checks and array
+       length checks.
+
+2009-08-24  Ankit Jain  <jankit@novell.com>
+
+       * LibraryPcFileCache.cs: New. From monodevelop.
+       * PcFileCache.cs: Update from monodevelop, see r140528.
+       * AssemblyResolver.cs: Track api changes.
+
+2009-08-24  Ankit Jain  <jankit@novell.com>
+
+       * CreateManifestResourceName.cs (GetResourceIdFromFileName): Spaces
+       in folder names should be converted to '_'.
+
+2009-08-18  Ankit Jain  <jankit@novell.com>
+
+       * TaskLoggingHelperExtensios.cs (.ctor): Mark internal.
+
+2009-08-18  Ankit Jain  <jankit@novell.com>
+
+       * PcFileCache.cs (PackageInfo): Mark internal.
+
+2009-08-18  Ankit Jain  <jankit@novell.com>
+
+       * AssemblyResolver.cs (FindInTargetFramework): Perform case insensitive
+       assembly name comparison. Use the new AssemblyNamesCompatible api.
+       (AssemblyNamesCompatible): Add new overload with a 'ignoreCase' param.
+
+2009-08-17  Ankit Jain  <jankit@novell.com>
+
+       * AssemblyResolver.cs (TargetFrameworkAssemblies..ctor): Make assembly
+       name lookups for target framework assemblies, case insensitive. Helps
+       with cases like "System.configuration", which vs.net is known to emit.
+
+2009-08-14  Ankit Jain  <jankit@novell.com>
+
+       * PcFileCache.cs: New. From monodevelop.
+       * AssemblyResolver.cs (ResolvePkgConfigReference): New. Use PcFileCache
+       to resolve assembly references.
+       (AssemblyNamesCompatible): If SpecificVersion is false, then compare
+       only simple names.
+       (GetResolvedReference): Rename default_value to default_copy_local_value.
+       (Cache): New.
+       (PcFileCacheContext): New.
+       (SearchPath): Add 'PkgConfig' to the enum.
+       * ResolveAssemblyReference.cs: Add support for '{PkgConfig}'. Update
+       messages.
+       * ResolvedReference.cs (FoundInSearchPathToString): Create from ..
+       (FoundInSearchPathAsString): .. this. Change this to a property to
+       allow custom "found in .. " messages.
+
+2009-07-31  Ankit Jain  <jankit@novell.com>
+
+       * MSBuild.cs (Execute): Log error if the file doesn't exist.
+
+2009-07-30  Ankit Jain  <jankit@novell.com>
+
+       * ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
+       required for IDE integration.
+       * AssemblyResolver.cs (GetResolvedReference): All the original metadata
+       should be retained. Track api changes.
+
+2009-07-30  Ankit Jain  <jankit@novell.com>
+
+       * ReadLinesFromFile.cs (Execute): Log a warning instead of an error
+       if unable to read from the file. Fix a null check. Always return
+       true.
+
+2009-07-30  Ankit Jain  <jankit@novell.com>
+
+       * Delete.cs (Execute): Log a message when deleting a file.
+
+2009-07-28  Ankit Jain  <jankit@novell.com>
+
+       * Exec.cs (AddCommandLineCommands): First word from @command is treated
+       as exec name, and rest as arguments. Extract arguments here.
+       (ExecuteTool): Don't ignore params.
+       (GenerateFullPathToTool): Extract first word as tool name.
+       (HandleTaskExecutionErrors): Honor IgnoreExitCode property.
+       (LogEventsFromTextOutput): Log as messages.
+       * ManagedCompiler.cs (HandleTaskExecutionErrors): Implement.
+
+2009-07-23  Ankit Jain  <jankit@novell.com>
+
+       * AssignProjectConfiguration.cs (Execute): Implement.
+
+2009-07-22  Ankit Jain  <jankit@novell.com>
+
+       Fix bug #517974.
+       * ResolvedReference.cs (AssemblyName): New.
+       (IsPrimary): New. Primary (eg. specified in the project file) or
+       dependent reference.
+       (FoundInSearchPathAsString): New.
+       * AssemblyResolver.cs (GetResolvedReference): Add a 'assembly name'
+       param for the new field in ResolvedReference.
+       (AssemblyNamesCompatible): Fix the check for public key token.
+       Track api changes.
+
+       * ResolveAssemblyReference.cs: Keep track of resolved assemblies,
+       prevent duplicate references and other files.
+       Process dependencies after resolving all the primary references.
+       Search for dependencies in parent assembly's dir first and then
+       the specified search paths.
+       Detect assembly version conflicts and try to resolve.
+       Improve logged messages.
+       (PrimaryReference): New.
+       (ResolveAssemblyReferenceHelper.AddUniqueFile): New extension method.
+
+2009-07-16  Ankit Jain  <jankit@novell.com>
+
+       Fix bug #519922.
+
+       * AssemblyResolver.cs (FindInDirectory): Try the @reference as a
+       filename as it is, or with different @file_extensions.
+       If @reference is a assembly name, then look for *.@file_extensions
+       for target assembly.
+       (GetAssemblyNameFromFile): Log FileNotFoundException and BadImageFormatException
+       separately, instead of a single unclear message.
+
+       Change all uses of Assembly.GetAssemblyName with GetAssemblyNameFromFile
+       which does the required error checking and logging.
+
+2009-06-12  Ankit Jain  <jankit@novell.com>
+
+       * Utilities.cs: New.
+       * AL.cs, AspNetCompiler.cs, Csc.cs,
+       SGen.cs, Vbc.cs (ToolName): Append ".bat" when running
+       on windows.
+
+2009-06-09  Ankit Jain  <jankit@novell.com>
+
+       * MSBuild.cs (Execute): Copy metadata from the @Projects items
+       to the target outputs.
+
 2009-06-08  Ankit Jain  <jankit@novell.com>
 
        * ResolvedReference.cs: Add missing file.