* TaskLoggingHelper.cs (FormatString): Use the unformatted string
[mono.git] / mcs / class / Microsoft.Build.Utilities / Microsoft.Build.Utilities / ChangeLog
1 2009-09-10  Ankit Jain  <jankit@novell.com>
2
3         * TaskLoggingHelper.cs (FormatString): Use the unformatted string
4         even if the args array was empty.
5
6 2009-09-08  Ankit Jain  <jankit@novell.com>
7
8         * ToolTask.cs (LogEventsFromTextOutput): Log message even if its not
9         identified as an error or a warning.
10
11 2009-07-28  Ankit Jain  <jankit@novell.com>
12
13         * ToolTask (.ctor): Initialize Timeout value.
14         (Execute): Use HandleTaskExecutionErrors to determine task result. Set
15         exitCode to the result of ExecuteTool and let HandleTaskExecutionErrors
16         determine final result of the task.
17         (RealExecute): Rename to ..
18         (ExecuteTool): .. this. @responseFileCommands could be empty.
19         Use specified timeout value for the executing tool.
20         Rename 'compilerOutput' to 'toolOutput'. Cleanup resources in the
21         finally block. Move processing of stdout/stderr output to ..
22         (ProcessOutputFile): .. here and ..
23         (LogEventsFromTextOutput): .. here.
24         (HandleTaskExecutionErrors): Implement.
25         (DeleteTempFile): Implement.
26
27 2009-04-24  Ankit Jain  <jankit@novell.com>
28
29         * ToolTask.cs (RealExecute): Handle TypeLoadExceptions, compiler
30         crashes and report them. Borrow some tricks from md.
31         (LogEventsFromTextOutput): Ignore known non-error messages. Don't
32         log unknown lines, crashes get handled elsewhere.
33
34 2009-04-08  Ankit Jain  <jankit@novell.com>
35
36         Fix bug #491828.
37         * ToolTask.cs (LogEventsFromTextOutput): Log even in case of
38         unrecognized errors.
39
40 2009-02-25  Ankit Jain  <jankit@novell.com>
41
42         * ProcessService.cs, IAsyncOperation.cs, IProcessAsyncOperation.cs,
43         ProcessWrapper.cs: Brought in from monodevelop.
44         * ToolTask.cs: Use the new ProcessService to execute the tool. Honor
45         SkipTaskExecution (). Use response files, but log the contents of the
46         response file instead of "@foo.rsp". Support environmentOverrides.
47         (LogEventsFromTextOutput): Add null check.
48         * Exec.cs (GetWorkingDirectory): Use the workingDirectory property.
49
50 2009-02-20  Ankit Jain  <jankit@novell.com>
51
52         Fix bug #475438.
53         * ToolTask.cs (RealExecute): Check whether the target executable exists.
54         Log any execution errors.
55
56 2008-08-06  Ankit Jain  <jankit@novell.com>
57
58         * CommandLineBuilder.cs (AppendSwitchIfNotNull): Quote individual items
59         of the array.
60
61 2008-07-31  Ankit Jain  <jankit@novell.com>
62
63         * CommandLineBuilder.cs (chars): Use a char array instead of a
64         hashtable. Add ';' to the list.
65         (embeddedQuotes): Regex not required.
66         (IsQuotingRequired): Update.
67         (VerifyThrowNoEmbeddedDoubleQuotes): Update.
68         Use VerifyThrowNoEmbeddedDoubleQuotes at appropriate points (see tests).
69
70 2007-05-16  Marek Sieradzki  <marek.sieradzki@gmail.com>
71
72         * CommandLineBuilder.cs: Add quotes when there are needed.
73
74 2007-01-06  Marek Sieradzki  <marek.sieradzki@gmail.com>
75
76         * ToolLocationHelper.cs: Implemented GetPathToDotNetFramework () and
77         GetPathToDotNetFrameworkSdk ().
78
79 2006-12-29  Marek Sieradzki  <marek.sieradzki@gmail.com>
80
81         * ToolTask.cs (LogEventsFromTextOutput): This method is actually
82         protected so we can't remove second parameter.
83
84 2006-12-19  Marek Sieradzki  <marek.sieradzki@gmail.com>
85
86         * Logger.cs (FormatErrorEvent, FormatWarningEvent): Write only (a) or
87         (a,b) or (a,b,c,d).
88
89         * CommandLineBuilder.cs: Added null checks.
90
91 2006-12-18  Marek Sieradzki  <marek.sieradzki@gmail.com>
92
93         * CommandLineBuilder.cs (VerifyThrowNoEmbeddedDoubleQuotes):
94         Implemented.
95
96 2006-12-04  Marek Sieradzki  <marek.sieradzki@gmail.com>
97
98         * TaskItem.cs: Add a hack that will replace '\\' with
99         Path.DirectorySeparatorChar.
100
101 2006-12-04  Marek Sieradzki  <marek.sieradzki@gmail.com>
102
103         * ToolTask.cs: Changed importance to Normal.
104
105 2006-10-08  Marek Sieradzki  <marek.sieradzki@gmail.com>
106
107         * TaskLoggingHelper.cs: Changed "" to String.Empty.
108
109 2006-10-06  Marek Sieradzki  <marek.sieradzki@gmail.com>
110
111         * TaskLoggingHelper.cs: Made LogErrorFromException () show stack trace
112         by default.
113
114 2006-09-30  Marek Sieradzki  <marek.sieradzki@gmail.com>
115
116         * ReservedNameUtils.cs: Added a null check.
117
118 2006-06-22  Marek Sieradzki  <marek.sieradzki@gmail.com>
119
120         * ToolTask.cs: Added some [MonoTODO]s.
121
122 2006-05-27  Marek Sieradzki  <marek.sieradzki@gmail.com>
123
124         * CommandLineBuilder.cs: Corrected IsQuotingRequired ().
125         * TaskLoggingHelper.cs: Added null check.
126
127 2006-05-26  Marek Sieradzki  <marek.sieradzki@gmail.com>
128
129         * Logger.cs: Added MonoTODO.
130         * TaskLoggingHelper.cs: Changed helpKeywordPrefix to helpKeyword. It
131         looks like it's still wrong.
132
133 2006-05-03  Marek Sieradzki  <marek.sieradzki@gmail.com>
134
135         * ToolTask.cs: Fixed exit code.
136
137 2006-04-24  Marek Sieradzki  <marek.sieradzki@gmail.com>
138
139         * ToolTask.cs, TaskItem.cs: Small fixes.
140         * TaskLoggingHelper.cs: Added checking for null parameters.
141
142 2006-04-14  Marek Sieradzki  <marek.sieradzki@gmail.com>
143
144         * TaskItem.cs: Moved checking if metadata name is reserved to internal
145         class (Mono.XBuild.Utilities.ReservedNameUtils).
146
147 2006-03-29  Marek Sieradzki  <marek.sieradzki@gmail.com>
148
149         * TaskItem.cs: Coding style changes.
150
151 2006-03-29  Crestez Leonard  <cdleonard@gmail.com>
152
153         * TaskItem.cs: Cleaned up.
154
155 2006-03-11  Marek Sieradzki  <marek.sieradzki@gmail.com> 
156
157         * CommandLineBuilder.cs: Corrected exceptions throwing.
158         * TaskItem.cs: Fixed MetadataNames property.
159
160 2006-02-26  Marek Sieradzki  <marek.sieradzki@gmail.com>
161
162         * CommandLineBuilder.cs: Fixed a typo.
163         * HostObjectInitializationStatus.cs: Fixed order.
164         * ToolTask.cs: Updated for new API.
165
166 2006-02-25  Marek Sieradzki  <marek.sieradzki@gmail.com>
167
168         * HostObjectInitializationStatus.cs: Added.
169
170 2006-02-25  Marek Sieradzki  <marek.sieradzki@gmail.com> 
171
172         * CommandLineBuilder.cs, Logger.cs, TaskLoggingHelper.cs, ToolTask.cs
173         : Updated API.
174
175 2006-02-24  Marek Sieradzki  <marek.sieradzki@gmail.com> 
176
177         * AppDomainIsolatedTask.cs, Task.cs: Quick hacks to make it compile with
178         new API.
179
180 2005-09-22  Marek Sieradzki  <marek.sieradzki@gmail.com>
181
182         * CommandLineBuilder.cs, Logger.cs, AppDomainIsolatedTask.cs,
183         ToolTask.cs, TaskItem.cs, Task.cs, ToolLocationHelper.cs,
184         TargetDotNetFrameworkVersion.cs, ConcurrentLoggingHelper.cs,
185         TaskLoggingHelper.cs: Added #if NET_2_0.
186
187 2005-09-21  Marek Sieradzki  <marek.sieradzki@gmail.com>
188
189         * ToolTask.cs: Formatting.
190         * TaskItem.cs: Removed obsoleted code.
191         * ToolLocationHelper.cs: Formatting.
192
193 2005-09-09  Marek Sieradzki  <marek.sieradzki@gmail.com>
194
195         * CommandLineBuilder.cs, Logger.cs, AppDomainIsolatedTask.cs,
196         ConcurrentLoggingHelper.cs, TaskLoggingHelper.cs: Changed protected
197         fields to private.
198
199 2005-08-30  Marek Sieradzki  <marek.sieradzki@gmail.com>
200
201         * TaskItem.cs, TaskLoggingHelper.cs: Formatting.
202
203 2005-08-27  Marek Sieradzki  <marek.sieradzki@gmail.com>
204
205         * Logger.cs: Formatting.
206         * ToolTask.cs: Added error/warning handling.
207         * TaskLoggingHelper.cs: Fixed LogErrorFromException ().
208
209 2005-08-24  Marek Sieradzki  <marek.sieradzki@gmail.com>
210
211         * CommandLineBuilder.cs: Added checking for null values.
212         * ToolTask.cs: Added real execution.
213         * Task.cs: Changed all fields to private.
214         * TaskLoggingHelper.cs: Formatting.
215
216 2005-08-19  Marek Sieradzki  <marek.sieradzki@gmail.com>
217
218         * TaskItem.cs: MetadataCount fixed.
219
220 2005-08-16  Marek Sieradzki  <marek.sieradzki@gmail.com>
221
222         * Task.cs: Added creation of TaskLoggingHelper.cs.
223         * TaskLoggingHelper.cs: Ctor uses Task's BuildEngine.
224
225 2005-08-14  Marek Sieradzki  <marek.sieradzki@gmail.com>
226
227         * TaskItem.cs: Added GetMetadata and fixed other functions.
228
229 2005-08-12  Marek Sieradzki  <marek.sieradzki@gmail.com>
230
231         * CommandLineBuilder.cs: Add appending spaces (currently commented)
232         * ToolTask.cs: Add process.
233
234 2005-08-06  Marek Sieradzki  <marek.sieradzki@gmail.com>
235
236         * AppDomainIsolatedTask.cs, CommandLineBuilder.cs,
237         ConcurrentLoggingHelper.cs, Logger.cs, Task.cs, TaskItem.cs,
238         TaskLoggingHelper.cs, ToolTask.cs: Various fixes.
239
240 2005-07-13  Marek Sieradzki  <marek.sieradzki@gmail.com>
241
242         * Logger.cs, AppDomainIsolatedTask.cs, ToolTask.cs, TaskItem.cs,
243         ConcurrentLoggingHelper.cs, TaskLoggingHelper.cs: Small fixes, still
244         unusable
245
246 2005-07-05  Marek Sieradzki  <marek.sieradzki@gmail.com>
247
248         * AppDomainIsolatedTask.cs, CommandLineBuilder.cs,
249         ConcurrentLoggingHelper.cs, Logger.cs, MonoTODOAttribute.cs,
250         TargetDotNetFrameworkVersion.cs, Task.cs, TaskItem.cs,
251         TaskLoggingHelper.cs, ToolLocationHelper.cs, ToolTask.cs: Initial
252         check-in, very buggy