New tests.
[mono.git] / mcs / tools / xbuild / ChangeLog
1 2009-08-19  Ankit Jain  <jankit@novell.com>
2
3         * xbuild/Microsoft.Common.targets (ResolveAssemblyReference):
4         Make SearchPaths get value from a property (AssemblySearchPaths)
5         to allow it to be overridden.
6
7 2009-08-18  Ankit Jain  <jankit@novell.com>
8
9         * SolutionParser.cs (ParseSolution): Project reference in a project
10         file, but not found in .sln file is ignored. Also, add dependencies
11         specified in the .sln file.
12
13 2009-08-14  Ankit Jain  <jankit@novell.com>
14
15         Fix bug #530368.
16         * SolutionParser.cs (AddProjectTargets): If a project name matches one
17         of the targets that we emit (Build/Clean etc), then rename to
18         "Solution:<project name>".
19
20 2009-08-14  Ankit Jain  <jankit@novell.com>
21
22         * xbuild/Microsoft.Common.targets (AllowUnsafeBlocks): Don't set any
23         default value.
24         (OutputPath): Set a default value.
25         (DeployOutputFiles): Copy only if something available to copy.
26
27 2009-08-14  Ankit Jain  <jankit@novell.com>
28
29         * SolutionParser.cs (ProjectInfo.Dependencies): Change to a dictionary
30         to keep track of corresponding ProjectInfo objects.
31         (ParseSolution): Refactor to populate the ProjectInfo.Dependencies
32         dictionary. Use AddBuildLevels to emit build levels to allow
33         parallel builds.
34         (AddProjectTargets): Dependency's projectInfo is directly available now.
35         (AddBuildLevels): New. Emit items named BuildLevelN, where each level
36         has projects that can be built in parallel. Lower levels represent
37         dependencies for higher levels.
38         (AddSolutionTargets): Instead of using CallTarget, directly use MSBuild
39         task with the new BuildLevelN stuff. Also tell the user about disabled
40         projects or missing project configs.
41         (TopologicalSort): New.
42         (Insert): New. Based on code from monodevelop.
43
44 2009-08-14  Ankit Jain  <jankit@novell.com>
45
46         * xbuild/Microsoft.Common.targets (ResolveAssemblyReference): Add
47         '{PkgConfig}' to SearchPaths.
48
49 2009-07-31  Ankit Jain  <jankit@novell.com>
50
51         * ErrorUtilities.cs (ShowUsage): Implement.
52
53 2009-07-30  Ankit Jain  <jankit@novell.com>
54
55         Fix bug #484771.
56         * xbuild/Microsoft.Common.targets (ResolveAssemblyReference): Add support
57         for $(OutDir).
58
59 2009-07-30  Ankit Jain  <jankit@novell.com>
60
61         * ErrorUtilities.cs: Set version to Consts.MonoVersion .
62
63 2009-07-30  Ankit Jain  <jankit@novell.com>
64
65         * xbuild/Microsoft.Common.targets (ResolveAssemblyReference): Output
66         ResolvedFiles to @(ReferencePath), required for IDE integration.
67
68 2009-07-30  Ankit Jain  <jankit@novell.com>
69
70         * xbuild/Microsoft.Common.targets: Implement 'Clean' target. Currently
71         just handles clean for a full build.
72
73 2009-07-28  Ankit Jain  <jankit@novell.com>
74
75         * xbuild/Microsoft.Common.targets: Add missing 'SkipUnchangedFiles=true'
76         for the Copy tasks.
77         (CopyDeployFiles*): Fix typos, Add inputs/outputs for the
78         PreserveNewest case and remove for copy always case.
79
80 2009-07-23  Ankit Jain  <jankit@novell.com>
81
82         * xbuild/Microsoft.Common.targets: Oops, forgot to remove some
83         debug stuff.
84
85 2009-07-23  Ankit Jain  <jankit@novell.com>
86
87         * Makefile: Create a lib/mono/xbuild directory for xbuild
88         extensions.
89
90 2009-07-23  Ankit Jain  <jankit@novell.com>
91
92         * xbuild/Microsoft.Common.targets (AssignProjectConfigurations): New.
93         (ResolveProjectReferences): Add dependency on AssignProjectConfigurations
94         target. Also, set the config and platform properties for the msbuild task
95         being invoked.
96         * xbuild/Microsoft.Common.tasks: Add AssignProjectConfiguration .
97
98 2009-07-22  Ankit Jain  <jankit@novell.com>
99
100         * xbuild/Microsoft.VisualBasic.targets (Vbc.References): Remove
101         "@(ChildProjectReferences)" as it gets resolved earlier
102         and is part of @(ResolvedFiles).
103
104 2009-07-22  Ankit Jain  <jankit@novell.com>
105
106         * xbuild.Microsoft.CSharp.targets (Csc.References): Remove
107         "@(ChildProjectReferences)" as it gets resolved earlier
108         and is part of @(ResolvedFiles).
109
110 2009-06-12  Ankit Jain  <jankit@novell.com>
111
112         * xbuild/Microsoft.Common.targets (ProjectDir): Fix typo.
113
114 2009-06-12  Ankit Jain  <jankit@novell.com>
115
116         * xbuild/Microsoft.Common.targets (IntermediateAssembly): Change to
117         an Item list to match msbuild.
118         * xbuild/Microsoft.CSharp.targets (IntermediateAssembly): Update for
119         above changes.
120
121 2009-06-12  Ankit Jain  <jankit@novell.com>
122
123         * Parameters.cs (.ctor): Use assembly's location to build
124         path for the default response file.
125
126 2009-06-08  Ankit Jain  <jankit@novell.com>
127
128         * xbuild/Microsoft.Common.targets: Use ResolveAssemblyReference
129         to find satellite assemblies, dependent assemblies, dependent
130         files, copy local files etc.
131         Add targets to fetch all this info for all referenced projects,
132         and copy them to the target locations. Also, copy the debug (.mdb)
133         files. Honor, "CopyToOutputDirectory" metadata.
134
135 2009-06-07  Ankit Jain  <jankit@novell.com>
136
137         * Parameters.cs (ProcessProperty): Handle invalid syntax.
138
139 2009-06-07  Ankit Jain  <jankit@novell.com>
140
141         * SolutionParser.cs (AddGeneralSettings): Don't hardcode the default
142         config/platform. Move to ..
143         (AddDefaultSolutionConfiguration): .. here.
144         (AddCurrentSolutionConfigurationContents): Use the first solution target
145         as the default config/platform or use Debug/anycpu if no config is available.
146
147 2009-05-20  Jonathan Chambers  <joncham@gmail.com>
148
149         * SolutionParser.cs (ParseSolution): Ignore vcproj projects in solutions 
150         and issue warning. 
151
152 2009-04-27  Ankit Jain  <jankit@novell.com>
153
154         * xbuild/Microsoft.VisualBasic.targets: Update to use
155         CreateVisualBasicManifestResourceName task, and fix compiler params.
156
157 2009-04-25 Daniel Nauck <dna@mono-project.de>
158
159         Fix bug #484649:
160         * LoggerInfo.cs: fixed the parsing of the /logger: argument as described in
161         http://msdn.microsoft.com/en-us/library/ms164311.aspx
162         Added logger class detection if it's not explicit specified in the argument.
163
164 2009-03-19  Ankit Jain  <jankit@novell.com>
165
166         Fix bug #484773.
167         * Main.cs (Execute): Check whether the project file exists or not.
168         * Parameters.cs (ParseArguments): Handle absolute paths too.
169
170 2009-03-13  Ankit Jain  <jankit@novell.com>
171
172         * Main.cs (Execute): Build the project/sln with current directory set to
173         the project file's dir.
174         * SolutionParser.cs (ParseSolution): Project paths are relative to
175         solution directory.
176
177 2009-03-06  Ankit Jain  <jankit@novell.com>
178
179         Fix bug #481336.
180         * SolutionParser.cs (AddWarningForMissingProjectConfiguration): New.
181         (AddProjectTargets): Emit warning for missing project configurations.
182
183 2009-02-26  Ankit Jain  <jankit@novell.com>
184
185         * xbuild/Microsoft.CSharp.targets (Csc): Fix "Resources" argument to use
186         ManifestNonResxWithCultureOnDisk instead of ManifestResourceWithNoCultureOnDisk.
187
188 2009-02-26  Ankit Jain  <jankit@novell.com>
189
190         * xbuild/Microsoft.Common.targets: Make targets extensible. Add
191         before/after hooks.
192
193 2009-02-25  Ankit Jain  <jankit@novell.com>
194
195         * xbuild/Microsoft.Common.targets: Use obj/$(Config) as the default intermediate
196         output path, instead of just obj/
197
198 2009-02-25  Ankit Jain  <jankit@novell.com>
199
200         * xbuild/Microsoft.Common.targets (CopyNonResxEmbeddedResources): New.
201         (GenerateSatelliteAssemblies): Update to use the new ManifestNonResxWithCultureOnDisk
202         instead of NonResxWithCulture.
203         * xbuild/Microsoft.CSharp.targets (Csc): Fix "Resources" argument to use
204         the new on disk file names instead of original filenames.
205
206 2009-02-25  Ankit Jain  <jankit@novell.com>
207
208         * xbuild/Microsoft.Common.targets (GetTargetPath): Add a path separator.
209
210 2009-02-25  Ankit Jain  <jankit@novell.com>
211
212         * SolutionParser.cs (ParseSolution): Report warning instead of error
213         for unknown global sections.
214
215 2009-02-21  Ankit Jain  <jankit@novell.com>
216
217         * xbuild/xbuild.rsp: Add descriptive comments.
218
219 2009-02-21  Ankit Jain  <jankit@novell.com>
220
221         * Parameters.cs (LoadResponseFile): Handle comments.
222
223 2009-02-20  Ankit Jain  <jankit@novell.com>
224
225         * SolutionParser.cs (ParseSolution): Ignore solution folders.
226
227 2009-02-20  Ankit Jain  <jankit@novell.com>
228
229         * SolutionParser.cs (ParseSolution): Ignore GlobalSection named
230         'NestedProjects'.
231
232 2009-02-20  Ankit Jain  <jankit@novell.com>
233
234         * SolutionParser.cs (ParseProjectConfigurationPlatforms): Report missing
235         project guids as Warnings and not errors. Report every missing guid only
236         once.
237
238 2009-02-20  Ankit Jain  <jankit@novell.com>
239
240         * SolutionParser.cs (projectRegex): Use '\s' to match whitespace.
241
242 2009-02-19  Jonathan Chambers  <joncham@gmail.com>
243
244         * xbuild.csproj: Add.
245         * xbuild.sln: Add.
246
247 2009-02-13  Jonathan Chambers  <joncham@gmail.com>
248
249         * SolutionParser.cs: Make Guid Regex case insensitive.
250         Handle project dependencies. The solution has explicit
251         dependencies, but we have to open projects for implicit
252         dependencies (via ProjectReferences).
253
254 2009-02-13  Jonathan Chambers  <joncham@gmail.com>
255
256         * Main.cs: Add support for .sln files.
257         * SolutionParser.cs: Class for generating project file
258         from solution file.
259         * xbuild.exe.sources: Added SolutionParser.cs.
260
261 2009-02-02  Ankit Jain  <jankit@novell.com>
262
263         * Microsoft.CSharp.targets: Add targets to generate resource ids.
264         * Microsoft.Common.targets: Add targets for generating resources,
265         generate and deploy satellite assemblies, resolve project and assembly
266         references. All intermediate build output goes into a 'obj/' dir by
267         default. 'Clean' target enabled.
268
269 2008-12-12  Ankit Jain  <jankit@novell.com>
270
271         * Microsoft.CSharp.targets: Add CreateCSharpManifestResourceName task.
272
273 2008-11-23  Ankit Jain  <jankit@novell.com>
274
275         * xbuild/Microsoft.Common.tasks: Add AssignCulture task.
276
277 2008-10-01  Ankit Jain  <jankit@novell.com>
278
279         * xbuild/Microsoft.Common.tasks: Add CallTarget and AssignTargetPath task.
280
281 2007-03-19  Marek Sieradzki  <marek.sieradzki@gmail.com>
282
283         * xbuild/Microsoft.Common.tasks: Added CombinePath task.
284
285 2007-03-10  Marek Sieradzki  <marek.sieradzki@gmail.com>
286
287         * xbuild/Microsoft.Common.tasks: Added Vbc task.
288
289         * xbuild/Microsoft.VisualBasic.targets: Added CoreCompile target for
290         VB.
291
292 2007-03-08  Marek Sieradzki  <marek.sieradzki@gmail.com>
293
294         * Microsoft.CSharp.targets: Add @(ChildProjectReferences) to
295         References.
296
297         * Microsoft.Common.targets: Add ResolveProjectReferences target.
298
299 2007-01-23  Marek Sieradzki  <marek.sieradzki@gmail.com>
300
301         * Makefile: Removed hack.
302
303 2007-01-23  Marek Sieradzki  <marek.sieradzki@gmail.com>
304
305         * Makefile: Fix Windows build.
306
307 2007-01-21  Marek Sieradzki  <marek.sieradzki@gmail.com>
308
309         * xbuild/Microsoft.VisualBasic.targets: Added.
310
311 2007-01-09  Marek Sieradzki  <marek.sieradzki@gmail.com>
312
313         * xbuild/Microsoft.Common.targets: Added $(ProjectDir).
314
315 2007-01-06  Marek Sieradzki  <marek.sieradzki@gmail.com>
316
317         * Makefile, Main.cs: Moved XBuild files to lib/mono/2.0 from
318         lib/mono/xbuild.
319
320 2006-12-19  Marek Sieradzki  <marek.sieradzki@gmail.com>
321
322         * Main.cs: Catch InvalidProjectFileException and
323         InternalLoggerException.
324
325 2006-12-16  Marek Sieradzki  <marek.sieradzki@gmail.com>
326
327         * Parameters.cs (ProcessProperty): Use SetProperty () not
328         AddNewProperty ().
329
330 2006-12-12  Marek Sieradzki  <marek.sieradzki@gmail.com>
331
332         * xbuild/Microsoft.Common.targets: Added.
333
334         * xbuild/Microsoft.CSharp.targets: Move common part to
335         Microsoft.Common.targets.
336
337 2006-12-11  Marek Sieradzki  <marek.sieradzki@gmail.com>
338
339         * xbuild/Microsoft.Common.tasks: Fix a typo (GetFrameworkPath).
340
341 2006-10-10  Marek Sieradzki  <marek.sieradzki@gmail.com>
342
343         * xbuild/Microsoft.CSharp.targets: Added empty SearchPaths to Csc.
344
345 2006-10-08  Marek Sieradzki  <marek.sieradzki@gmail.com>
346
347         * xbuild/Microsoft.CSharp.targets: Added parameters that should be
348         passed to Csc.
349
350 2006-10-05  Marek Sieradzki  <marek.sieradzki@gmail.com>
351
352         * xbuild/Microsoft.CSharp.targets: Make $(OutputPath) directory before
353         compiling and put output in this directory.
354
355 2006-09-30  Marek Sieradzki  <marek.sieradzki@gmail.com>
356
357         * xbuild/Microsoft.CSharp.targets: Use new ResolveAssemblyReference
358         task.
359         * xbuild/Microsoft.Common.tasks: Add new task (RAR).
360
361 2006-09-30  Marek Sieradzki  <marek.sieradzki@gmail.com>
362
363         * xbuild/Microsoft.CSharp.targets: Set AllowUnsafeBlocks to false when it's
364         equal to ''.
365
366 2006-09-29  Todd Berman  <tberman@off.net>
367
368         * xbuild/Microsoft.CSharp.targets: Copy over the AllowUnsafeBlocks
369         property definition.
370
371 2006-09-21  Marek Sieradzki  <marek.sieradzki@gmail.com>
372
373         * xbuild/Microsoft.CSharp.targets: Simplify: use PropertyGroups
374         instead of Targets to set properties needed by Csc task.
375
376 2006-09-20  Marek Sieradzki  <marek.sieradzki@gmail.com>
377
378         * Makefile: Fix broken build.
379
380 2006-09-20  Marek Sieradzki  <marek.sieradzki@gmail.com>
381
382         * xbuild/Microsoft.CSharp.targets: Support AssemblyName and
383         WarningLevel.
384
385 2006-09-20  Marek Sieradzki  <marek.sieradzki@gmail.com>
386
387         * Parameters.cs, Main.cs, ErrorUtilities.cs: Moved error handling to
388         new file and started to use ErrorUtilities.ReportError ()
389         instead of throw and catch. (In cases where xbuild should quit
390         instantly)
391
392 2006-06-25  Marek Sieradzki  <marek.sieradzki@gmail.com>
393
394         * Makefile, xbuild/Microsoft.CSharp.Targets: Renamed to
395         Microsoft.CSharp.targets. On make install it should be linked or
396         copied to another name.
397
398 2006-06-22  Marek Sieradzki  <marek.sieradzki@gmail.com>
399
400         * Makefile: Updated.
401         * xbuild/Microsoft.CSharp.Targets: Added hacky implementation of this
402         targets file.
403
404 2006-05-22  Marek Sieradzki  <marek.sieradzki@gmail.com>
405
406         * Main.cs: Patch from Matthew Metnetsky.
407
408 2006-04-19  Marek Sieradzki  <marek.sieradzki@gmail.com>
409
410         * XBuild.targets: Removed.
411         * xbuild/Microsoft.Build.xsd: Changed path separator.
412
413 2006-04-08  Marek Sieradzki  <marek.sieradzki@gmail.com>
414
415         * Makefile, xbuild/MSBuild/Microsoft.Build.CommonTypes.xsd: Changed
416         name of Microsoft.Build.Commontypes.xsd to
417         Microsoft.Build.CommonTypes.xsd.
418
419 2006-04-07  Marek Sieradzki  <marek.sieradzki@gmail.com>
420
421         * Makefile: Changed installation directory of schema files.
422
423 2006-03-11  Marek Sieradzki  <marek.sieradzki@gmail.com>
424
425         * Main.cs: Updated for new API.
426
427 2005-12-14  Wade Berrier <wberrier@novell.com>
428
429         * Makefile: Add missing EXTRA_DISTFILES in order to 'make install'
430
431 2005-11-05  Kornél Pál  <kornelpal@hotmail.com>
432
433         * AssemblyInfo.cs: Use Consts.MonoVersion as AssemblyVersion.
434
435 2005-09-22  Marek Sieradzki  <marek.sieradzki@gmail.com>
436
437         * Main.cs: Changed binPath to directory where all files are stored.
438         * Makefile: Added installing of additional files.
439
440 2005-09-21  Marek Sieradzki  <marek.sieradzki@gmail.com>
441
442         * LoggerInfo.cs: Changed public to internal.
443         * xbuild.exe.sources: Added reference to AssemblyLoadInfo.
444
445 2005-09-21  Marek Sieradzki  <marek.sieradzki@gmail.com>
446
447         * Microsoft.Common.tasks, xbuild.rsp, Microsoft.Build.xsd, MSBuild:
448         Moved to xbuild/.
449         * Main.cs, Pararameters.cs: Changed to use Mono.XBuild.Framework and
450         Mono.XBuild.Utilities.
451         * CommandLineException.cs, LoggerInfo.cs: Added #if NET_2_0
452         
453
454 2005-09-11  Marek Sieradzki  <marek.sieradzki@gmail.com>
455
456         * xbuild.exe.sources: Added Consts.cs from common build files.
457         * LoggerInfo.cs: Public key token update.
458         * Parameters.cs, Main.cs: Changed to use BinPath instead of hard-coded path.
459         * Makefile: Added installing of xbuild's files.
460         * Microsoft.Common.tasks: Moved from main directory and changed to use
461         assemblies from GAC.
462
463 2005-09-09  Marek Sieradzki  <marek.sieradzki@gmail.com>
464
465         * Main.cs: FxVersion.
466         * Makefile: Fixed Microsoft.Build.Utilities.dll name.
467
468 2005-09-05  Marek Sieradzki  <marek.sieradzki@gmail.com>
469
470         * Microsoft.Build.xsd, MSBuild/Microsoft.Build.Core.xsd,
471         Microsoft.Build.Commontypes.xsd: Added schema files.
472
473 2005-08-30  Marek Sieradzki  <marek.sieradzki@gmail.com>
474
475         * Main.cs, Parameters.cs: Added default target(s) handling.
476
477 2005-08-29  Marek Sieradzki  <marek.sieradzki@gmail.com>
478
479         * LoggerInfo.cs: Removed AssemblyLoadInfo property, changed to inherit
480         AssemblyLoadInfo.
481         * XBuild.targets: Updated.
482         * Parameters.cs: Removed debugging info and removed line producing
483         errors.
484         * Main.cs: Added check if engine is null.
485
486 2005-08-24  Marek Sieradzki  <marek.sieradzki@gmail.com>
487
488         * Parameters.cs, Main.cs: Changed paths to absolute paths. They should be
489         separated to .in file probably when moving to autotools.
490
491 2005-08-12  Marek Sieradzki  <marek.sieradzki@gmail.com>
492
493         * CommandLineException.cs, LoggerInfo.cs, Main.cs, Parameters.cs:
494         Added.