* Project.cs (.ctor): Init timeOfLastDirty.
[mono.git] / mcs / class / Microsoft.Build.Engine / Microsoft.Build.BuildEngine / ChangeLog
index e56651e617f3e6610224c673449b681ffff35847..1af72b57c4d4dff76fea75163aeeb95b40808679 100644 (file)
@@ -1,3 +1,253 @@
+2009-05-12  Ankit Jain  <jankit@novell.com>
+
+       * Project.cs (.ctor): Init timeOfLastDirty.
+
+2009-05-05  Miguel de Icaza  <miguel@novell.com>
+
+       * Contribution from Martin Brenn to fix #498154.
+
+2009-04-27  Ankit Jain  <jankit@novell.com>
+
+       Fix bug #497839.
+       * Engine.cs (BuildProjectFile): Set project's GlobalProperties to the
+       one passed as argument.
+
+2009-04-27  Ankit Jain  <jankit@novell.com>
+
+       * TaskEngine.cs (Prepare): Emit a useful error message property value
+       can't be converted to required type.
+
+2009-04-27  Ankit Jain  <jankit@novell.com>
+
+       * ExpressionCollection.cs (ConvertToObject): Allow true/on/yes
+       as valid true values for bool, and corresponding for false.
+
+2009-03-27  Jonathan Chambers  <joncham@gmail.com>
+
+       * BuildWhen.cs: Add basic implementation.
+       * BuildChoose.cs: Add basic implementation.
+       * BuildItem.cs (AddEvaluatedItem): Add BuiltItem to 
+       EvaluatedItemsIgnoringCondition.
+       * GroupingCollection.cs: Add evaluation of BuildChoose items.
+
+2009-03-26  Jonathan Chambers  <joncham@gmail.com>
+
+       * TaskDatabase.cs (RegisterTask): Search for class by name
+       if task was not found using GetType (which uses namespace). 
+
+2009-02-26  Ankit Jain  <jankit@novell.com>
+
+       * Target.cs: Handle target with no tasks. Log errors.
+
+2009-02-24  Ankit Jain  <jankit@novell.com>
+
+       Lazily load UsingTask tasks.
+       * UsingTask.cs (Evaluate): Register 'this' with task database,
+       but don't load it yet. Register only if condition evaluates to true.
+       Move the load logic to ..
+       (Load): .. here. Register with the specified task database.
+       * TaskDatabase.cs (RegisterUsingTask): Store the UsingTask instance
+       in a table keyed by task name, but don't load it yet.
+       (GetTypeFromClassName): Try to load UsingTask if task is not already
+       loaded. Move loading logic to ..
+       (GetTypeFromClassNameInternal): .. here.
+       (CopyTasks): Copy the usingTasks table also.
+
+2009-02-23  Ankit Jain  <jankit@novell.com>
+
+       * BuildItem.cs (AddMetadata): Allow overwriting older values.
+
+2009-02-22  Ankit Jain  <jankit@novell.com>
+
+       * BuildItem.cs: Iterate over XmlElements childnodes with XmlNode
+       instead of XmlElement. Eg. XmlComment
+
+2009-02-21  Ankit Jain  <jankit@novell.com>
+
+       * Utilities.cs (FromMSBuildPath): Copy from monodevelop.
+       * Project.cs (Load): Use FromMSBuildPath on the path.
+       (InitializeProperties): Set "MSBuildToolsPath" also.
+
+2009-02-20  Ankit Jain  <jankit@novell.com>
+
+       Fix #449683.
+       * ConditionTokenizer.cs: Handle unquoted item references (with or w/o
+       transforms) in conditions.
+       * ConditionParser.cs: Parse unquoted item, property references.
+       eg. Condition = " @(Foo->'%(Extension)') == '.exe' "
+       * Token.cs (Token.ToString): Override.
+       (TokenType.Transform): Uncomment.
+
+2009-02-12  Jonathan Chambers  <joncham@gmail.com>
+
+       * BuildProperty.cs: Value corresponds to XmlElement.InnerXml
+       no XmlElement.InnerText. This allows properties to be additional 
+       xml elements.
+
+2009-02-01  Ankit Jain  <jankit@novell.com>
+
+       * BuildEngine.cs (BuildProjectFile): Use
+       BuildSettings.DoNotResetPreviouslyBuiltTargets for building projects.
+       * Engine.cs (BuiltTargetsOutputByName): New. Table of targets already
+       built. Move logging of project start/finish to ..
+       * Project.cs: .. here. Build a target only if hasn't been built already.
+       Keep track of target outputs, and return those even if an already built
+       target has been invoked again.
+       Honor BuildSettings.None and DoNotResetPreviouslyBuiltTargets .
+
+2009-01-31  Ankit Jain  <jankit@novell.com>
+
+       * BatchingImpl.cs: Split into ..
+       * BatchingImplBase.cs: .. this,
+       * TaskBatchingImpl.cs: .. this ..
+       * TargetBatchingImpl.cs: .. and this. Implement target batching here.
+
+       * Target.cs (DoBuild): Use TargetBatchingImpl for building.
+       (Log*): Move to TargetBatchingImpl .
+       (BuildTasks): New.
+       (Engine): New.
+
+2009-01-30  Ankit Jain  <jankit@novell.com>
+
+       * TaskEngine.cs (GetObjectFromString): Empty value is allowed only for
+       arrays.
+
+2009-01-29  Ankit Jain  <jankit@novell.com>
+
+       * BuildItem.cs (child_items): Change type from BuildItemGroup to
+       List<BuildItem>.
+       (HasParent): Rename to ..
+       (HasParentItem): .. this.
+       (ParentItemGroup): Add setter.
+
+       * BuildItemGroup.cs (.ctor): Add overload with @project param.
+       (AddNewItem):
+       (AddItem): Correctly set the ParentItemGroup for new build items.
+       (ParentProject): Add setter.
+       * Project.cs: Set the project for new BuildItemGroup instances.
+       * TaskEngine.cs (PublishItemGroup): Likewise.
+
+2009-01-06  Ankit Jain  <jankit@novell.com>
+
+       * Project.cs (Build): Honor InitialTargets list.
+
+2009-01-06  Ankit Jain  <jankit@novell.com>
+
+       * BuildEngine.cs (BuildProjectFile): Use AddProperty method to specify
+       the property type also.
+       * MSBuild.cs (Execute): Parse 'Properties' task param to set global
+       properties.
+
+2009-01-06  Ankit Jain  <jankit@novell.com>
+
+       * Project.cs (Build): Correctly handle null targetNames argument.
+
+2009-01-06  Ankit Jain  <jankit@novell.com>
+
+       * Engine.cs (LogProjectStarted): Add a null check.
+
+2009-01-01  Ankit Jain  <jankit@novell.com>
+
+       * IReference.cs: New. Interface for Item/Metadata/PropertyReference.
+       * ChangeType (ToBuildItemGroup): Add 'split' param.
+       Track api changes.
+       * Expression.cs (Parse): Add a new overload with a 'split' param.
+       * ExpressionCollection.cs (Add): Add new overload for IReference,
+       remove the ones for Item/Metadata/PropertyReference.
+       (ConvertToArray): Implement correctly.
+       (ConvertToString): Track api changes.
+       (ConvertToITaskItem): Implement with ConvertToITaskItemArray.
+       (ConvertToITaskItemArray): Implement support for concat'ing expressions.
+       (AddItemsToArray): New.
+       (ConvertToITaskItemArrayFromString): Refactor a bit.
+       (ThrowCantConcatError): New.
+       * ItemReference.cs: Update.
+       * MetadataReference.cs: Update.
+       * PropertyReference.cs (ConvertToITaskItemArray): Implement.
+       (GetValue): New.
+       * BuildPropertyGroup.cs: Track api changes.
+       * TaskEngine.cs (PublishOutput): Improve exception message.
+       * Project.cs (DoLoad): Improve exception message. Add a null check.
+
+2008-12-30  Ankit Jain  <jankit@novell.com>
+
+       * MetadataReference.cs (BuildItemGroupToITaskItems): Return unique
+       metadata values for unqualified references.
+       (BuildItemGroupToITaskItemArray): Rename to ..
+       (BuildItemGroupToITaskItems): .. this.
+       (HasTaskItem): New.
+
+2008-12-18  Ankit Jain  <jankit@novell.com>
+
+       * BuildTask.cs (Execute): PublishOutput only if task runs successfully.
+
+2008-12-17  Ankit Jain  <jankit@novell.com>
+
+       * MetadataReference.cs (ConvertToITaskItemArray): In case of batching,
+       only one instance of unique metadata value is required.
+
+2008-11-22  Ankit Jain  <jankit@novell.com>
+
+       * ExpressionCollection.cs (ConvertToITaskItemArray): Add support for
+       MetadataReference.
+       * MetadataReference.cs (ConvertToITaskItemArray): New.
+       * Project.cs (GetAllItemGroups): New.
+
+2008-11-21  Ankit Jain  <jankit@novell.com>
+
+       * BatchingImpl.cs: Add task batching implementation.
+       * BuildItem.cs (GetEvaluatedMetadata): Handle built-in metadata names.
+       * ExpressionCollection.cs (Count): New.
+       (ConvertToString): Handle MetadataReference.
+       * ItemReference.cs (ConvertToString):
+       (ConvertToITaskItemArray): Use the batching api.
+       (ToString): New.
+       * MetadataReference.cs (ConvertToString): New.
+       (ToString): New.
+       * Project.cs: Add api for accessing batched items and metadata.
+       * TaskEngine.cs (PublishItemGroup): Don't clear existing values from
+       item group.
+
+2008-10-01  Ankit Jain  <jankit@novell.com>
+
+       * BuildEngine.cs (.ctor): Replace 'projectFile' param with 'project'.
+       (BuildProjectFile): If filename is null (project.LoadXml) then use
+       engine.BuildProject
+       * BuildTask.cs (InitializeTask): Track api change.
+       * Expression.cs (Parse): Skip empty entries in the expression.
+
+2008-09-24  Ankit Jain  <jankit@novell.com>
+
+       * Engine.cs: Add argument checks.
+       * Project.cs: Likewise.
+
+2007-03-06  Marek Sieradzki  <marek.sieradzki@gmail.com>
+
+       * Project.cs (Build): Add outputs to targetOutputs.
+
+2007-03-06  Marek Sieradzki  <marek.sieradzki@gmail.com>
+
+       * ExpressionCollection.cs (ConvertToArray): Simplify.
+
+2007-03-05  Marek Sieradzki  <marek.sieradzki@gmail.com>
+
+       * TaskEngine.cs, ChangeType.cs: Moved Collect* to ChangeType and
+       simplified. It still needs tests and refactoring.
+
+2007-02-22  Marek Sieradzki  <marek.sieradzki@gmail.com>
+
+       * BuildEngine.cs (BuildProjectFile): Don't crash on null
+       globalProperties.
+
+       * Target.cs: Add Outputs property.
+
+2007-02-20  Marek Sieradzki  <marek.sieradzki@gmail.com>
+
+       * Target.cs (Build): Split to GetDependencies () and BuildDependencies
+       (). Support condition.
+       
+       * BatchingImpl.cs (BatchBuildTask): Simplify.
+
 2007-02-18  Marek Sieradzki  <marek.sieradzki@gmail.com>
 
        * ExpressionCollection.cs (ConvertToITaskItemArrayFromString):