* Expression.cs (ParseOptions): New enum. Replace the bool params
of exression.Parse with this. Add option to control expansion of
metadata references.
(CopyToExpressionCollection): Track api changes.
Update all expr.Parse calls to use the new enum.
* BuildItem.cs, BuildProperty.cs, BuildTask.cs, Import.cs,
Target.cs, TargetBatchingImpl.cs, UsingTask.cs: Track api changes.
* BatchingImplBase.cs: Track api changes. Allow metadata refs
in task attributes.
* ConditionFactorExpression.cs: Allow metadata refs in conditions.
* ItemReference.cs: Allow metadata in transforms.
* TaskEngine.cs: Allow metadata refs.
* MetadataReference.cs (.ctor): Add a 'original string' param.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* TaskBatchingTest.cs: Add new tests for metadata refs found
in places other than task attributes.
svn path=/trunk/mcs/; revision=140998
In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:
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.
In class/Microsoft.Build.Engine/Test/Microsoft.Build.BuildEngine:
* UsingTaskTest.cs (TestLazyLoad{1,2,3}): New.
(TestAssemblyNameOrAssemblyFileConditionFalse): New.
(TestDuplicate1): New.
* TargetTest (CheckLoggedMessageHead): Moved to TestMessageLogger,
use that.
In class/Microsoft.Build.Engine/Test/resources:
* TestTasks.cs (Another.SameTask): New.
(Other.SameTask): New.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* TestMessageLogger.cs (CheckLoggedMessageHead): Move here from
* TaskBatchingTest.cs: .. here. Track api change.
svn path=/trunk/mcs/; revision=127830
* BuildTask.cs, ConditionFactorExpression.cs, Target.cs,
TaskEngine.cs, UsingTask.cs, ItemReference.cs, BuildItem.cs,
BatchingImpl.cs, BuildProperty.cs: Track API changes.
* Expression.cs (Parse): Added allowItems parameter and made regexes
static.
* Import.cs (Evaluate): Moved hack from tools/xbuild/Makefile here. It
will try to import a.ext when given a.EXT.
svn path=/trunk/mcs/; revision=71563
* ItemPropertyGroupingBase.cs, TaskEngineAssemblyResolver.cs: Removed
classes that were public in Beta 2 and aren't used.
* Expression.cs: Added replacement for parsing expressions char by
char. It uses regexes to find item/property/metadata references in
given text.
* ExpressionCollection.cs, BuildTask.cs, ConditionFactorExpression.cs,
Target.cs, TaskEngine.cs, BuildItemGroup.cs, UsingTask.cs, Import.cs,
BuildItem.cs, BatchingImpl.cs, BuildProperty.cs: Track API changes.
* ConditionRelationalExpression.cs: Formatting.
* OldExpression.cs: Commented everything.
* MetadataReference.cs, ItemReference.cs, PropertyReference.cs: Moved
parsing to Expression.
* BuildItem.cs: Check if project is from XML in set_Condition and
set_Exclude.
* BuildPropertyGroup.cs, Project.cs: Add ImportedProject to
Project.ctor.
* ConditionNotExpression.cs, ConditionAndExpression.cs: Check if we
can evaluate expression in CanEvaluateToBool ().
svn path=/trunk/mcs/; revision=69557
* BuildTask.cs: Implemented AddOutputItem () and AddOutputProperty ().
* UsingTaskCollection.cs: Removed [MonoTODO] and used CopyTo in CopyTo
(UsingTask[] array, int index)
* TaskEngine.cs: Reformatted PublishOutput () and added copying of
items to Project.EvaluatedItems in PublishItemGroup ();
* BuildItemGroup.cs: Added [MonoTODO].
* UsingTask.cs: Used expression for AssemblyFile to get around
problems with '\' and '/'.
* BuildItem.cs (ctor): Added null checks.
(GetMetadata): Return unevaluatedMetadata not evaluatedMetadata.
(SetMetadata): Don't escape evaluatedMetadata and escape
unevaluatedMetadata only when treatPropertyValueAsLiteral.
* BuildPropertyGroup.cs (GetEnumerator, Evaluate, RemoveProperty): Use
FromXml () instead of null checks.
(SetProperty): Escape propertyValue when it is literal.
* BuildProperty.cs: Changed exception message.
* Project.cs: Added XmlNamespaceManager and XmlNamespace internal
properties.
(GetProjectExtensions): Implemented.
svn path=/trunk/mcs/; revision=69165
* ImportCollection.cs, UsingTaskCollection.cs: Cleaned up, switched
to lists instead of hashtables.
* Import.cs: Cleaned up, moved importing from Project.cs
* BuildProperty.cs, BuildPropertyGroup.cs: Minor fixes.
* Engine.cs: Cleaned up properties.
* Project.cs: Moved importing to Import.cs, cleaned up properties,
Separated evaluation and loading.
svn path=/trunk/mcs/; revision=58663
* Target.cs, TaskEngine.cs, BuildItemGroup.cs, BuildItem.cs,
BuildPropertyGroup.cs, TargetCollection.cs, BuildProperty.cs,
Engine.cs, Project.cs, BuildTask.cs, UsingTask.cs: Separate xml
binding and evaluation, merge xml binding in constructors.
* DirectoryScanner.cs: Includes CAN be empty.
* BuildChoose.cs, ItemReference.cs, ChangeType.cs: Newline at EOF.
* ConsoleLogger.cs: Fix compilation warning.
svn path=/trunk/mcs/; revision=58226
* BatchingImpl.cs: Updated with BuildTask instead of TaskElement.
* BuildItem.cs: Updated for new API and fixed crashing on non-existent
files.
* BuildItemGroup.cs, BuildItemGroupCollection.cs, BuildProperty.cs,
BuildPropertyGroup.cs, BuildPropertyGroupCollection.cs, ConsoleLogger.cs,
Engine.cs, Project.cs, Target.cs, TargetCollection.cs: Updated for new
API.
* DirectoryScanner.cs: Fixed ordering and crashing on duplicated items.
* TaskElement.cs: Temporarily removed.
* Xml.cs: Changed to static.
svn path=/trunk/mcs/; revision=57832