1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467
|
2006-08-08 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeCompiler.cs: Added support for embedded resources, fixes
bug #78384. Added support for linked resources. Removed unnecessary
null check for options.ReferencedAssemblies.
2006-07-16 Andrew Skiba <andrews@mainsoft.com>
* CSharpCodeCompiler.cs: find mono.exe in mono/mini; fixes #78731
2006-04-30 Marek Safar <marek.safar@seznam.cz>
* CSharpCodeCompiler.cs: mcs does not like /r:"" syntax; fixes #78038.
2005-12-07 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: Override GeneratePrimitiveExpression to
match .NET 1.x and 2.0 for float, decimal, char, ushort, uint, ulong
and sbyte.
2005-11-30 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: No longer output semicolon and newline for
CodeVariableDeclarationStatement in for statement, fixes #75292.
Fixed NRE in GenerateEventReferenceExpression. Cosmetic changes to
code generated for iteration to match MS.NET. Temporary reduce
indentation for label and no longer escape label if its a keyword.
2005-11-26 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: Fixed GenerateComment to also write
comment chars for carriage-return (and skip linefeed, if its the
next character). Fixed output for TryCatchFinallyStatement. Fixed
GotoStatement to end with newline.
2005-11-04 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: Ignore ChecksumData of CodeChecksumPragma
if null.
2005-10-29 Sebastien Pouliot <sebastien@ximian.com>
* CSharpCodeProvider.cs: GenerateCodeFromMember method is an override
in 2.0 final.
2005-10-28 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: Use fixed signature for entrypoint method
on 1.0 profile. On 2.0 profile output custom attributes, and return
type. On 1.0 profile, also replace + with dot (for nested types).
Fixes bug #76580. Set eol-style to native.
* CSharpCodeCompiler.cs: Set eol-style to native.
* CSharpCodeProvider.cs: Set eol-style to native.
2005-10-19 Miguel de Icaza <miguel@novell.com>
* CSharpCodeCompiler.cs: Quote the directory, to fix #76469
2005-10-17 Sebastien Pouliot <sebastien@ximian.com>
* CSharpCodeProvider.cs: Added a LinkDemand and an InheritanceDemand
for FullTrust (i.e. Unrestricted permission set) at the class level.
Added [Obsolete] on CreateCompiler and CreateGenerator methods (2.0).
Stubbed new method GenerateCodeFromMember (2.0).
2005-10-15 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: Support C bracing style. Fixes bug #76286.
2005-10-07 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: Fixed supported for type arguments in
GetTypeOutput on 2.0 profile. Partial fix for bug #76286.
2005-08-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: patch from Maksim Vorobiev that prevents
InvalidOperationException if the thread running mcs is aborted.
2005-08-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: made the colon optional so that both mcs and
gmcs work.
2005-08-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: added missing colon after the line,column
parenthesis in the regex that parses the errors to make this work with
HEAD mcs.
2005-07-30 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: Fixed code generated for NewSlot members.
2005-07-24 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: Fixed generated code for enums, interfaces
and delegates to match MS.NET.
2005-07-02 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: Fixed output of ReturnTypeCustomAttributes.
2005-07-02 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: Added PrivateImplementationType support
for events, properties, methods. No longer output scope modifier
for events.
2005-06-30 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: Only consider property an indexer if
name is Item (case-insensitive comparison) and property has
parameters.
2005-06-28 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: Fixed GetTypeOutput to match MS.NET 1.x
and 2.0.
2005-06-26 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: Fixed generated code for events, fields,
properties, methods and ctors to match MS.NET.
2005-06-25 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: Also modified generated code for type-level
attributes to match MS.NET.
2005-06-25 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: Fixed generated code for assembly-level
attributes to match code generated by MS.NET.
2005-06-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: use UTF8 in the StreamWriter, as it did before
r45802 removed it accidentally. Fixes bug #75361.
2005-06-12 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeCompiler.cs: Temp source files should have extension
".cs".
2005-06-11 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeGenerator.cs: Win32 resources are supported. Fixes bug
#75218.
* CSharpCodeCompiler.cs: Clean up temporary files after compilation.
Fixes bug #75221. Added support for Win32 resources. Fixes bug
#75218.
2005-05-29 Gert Driesen <drieseng@users.sourceforge.net>
* CSharpCodeCompiler.cs: Load compiled assembly from byte array
if GenerateInMemory compiler parameter is set, set PathToAssembly
if compilation succeeded and GenerateInMemory is false.
Fixes bug #74959.
2005-04-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: fix problem with the output CS8028.
2005-02-03 Atsushi Enomoto <atsushi@ximian.com>
* CSharpCodeCompiler.cs : On windows, use gmcs under 2.0 profile too.
2005-01-19 Jonathan Pryor <jonpryor@vt.edu>
* CSharpCodeGenerator.cs: Remove extra ' ' emitted after class name in
GenerateTypeStart(). This removes a regression test failure in
MonoTests.Microsoft.CSharp.CodeGeneratorFromTypeTest.DefaultTypeTest.
2005-01-12 Lluis Sanchez Gual <lluis@novell.com>
* CSharpCodeGenerator.cs: Avoid keywords when writing enum members.
Removed the GetSafeTypeName method. It was a wrong bug fix. Type names
are expected to always use the full name form, never the alias.
2004-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: ignore the 'BETA SOFTWARE blah' from gmcs.
Use stderr to get the errors/warnings instead of stdout. Removed
obsolete lines from CreateErrorFromString.
2004-10-02 Marek Safar <marek.safar@seznam.cz>
* CSharpCodeCompiler.cs: Fix #65722.
2004-09-14 Marek Safar <marek.safar@seznam.cz>
* CSharpCodeGenerator.cs: Fix #65854.
2004-09-08 Lluis Sanchez Gual <lluis@novell.com>
* CSharpCodeGenerator.cs: Reverted change in GenerateArrayCreateExpression.
It was causing regressions.
2004-09-06 Marek Safar <marek.safar@seznam.cz>
* CSharpCodeGenerator.cs: Implemented NET_2_0 extensions
2004-09-01 Marek Safar <marek.safar@seznam.cz>
* CSharpCodeGenerator.cs : New private member dont_write_semicolon.
Used for one row "for" syntax.
(GenerateEvent): Added attributes output.
(GenerateField): Don't output access and scope modifier for enum field.
(GenerateConstructor): Added attributes output.
(QuoteSnippetString): Fixed mixed case type conversion. Replace '+'
with '.' for nested classes.
2004-07-21 Lluis Sanchez Gual <lluis@novell.com>
* CSharpCodeCompiler.cs: Hack to make code generation work in 2.0.
2004-07-13 Peter Williams <peter@newton.cx>
* CSharpCodeCompiler.cs (CompileAssemblyFromDomBatch): Include
counter in the extension so that batch compilations work.
(CompileAssemblyFromSourceBatch): Same.
2004-07-12 Fawad Halim <fawad@fawad.net>
* CSharpCodeGenerator.cs : Have GenerateField generate field sans the type for enums.
2004-06-28 Atsushi Enomoto <atsushi@ximian.com>
* CSharpCodeCompiler.cs : (only for windows) First check mcs.bat, then
check mcs.exe. It enables xsp working with mono windows installer.
2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
* CSharpCodeCompiler.cs : On windows we use fixed mono.exe and mcs.exe
located by mscorlib.dll.
2004-06-23 Jackson Harper <jackson@ximian.com>
* CSharpCodeGenerator.cs (GenerateLabeledStatement): Append a ": "
to the statement name. Make sure the statement isn't null before
writing. Patch by Alex Yakunin.
2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
* CSharpCodeGenerator.cs :
Check null argument in CreateValidIdentifier().
2004-06-21 Atsushi Enomoto <atsushi@ximian.com>
* CSharpCodeGenerator.cs : Fix for tests. Check type names in
CreateValidIdentifier. Implemented IsValidIdentifier.
2004-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: let the TempFileCollection handle the removal
of the files if needed.
2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
* CSharpCodeGenerator.cs : implemented GenerateEvent.
Delegate was output as usual class.
2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
* CSharpCodeGenerator.cs: In GetTypeOutput, never escape runtime type names.
Created a new method GetSafeTypeName to support this.
2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeGenerator.cs: patch from Jaroslaw Kowalski that fixes
CodeMethodReturnStatement(). Closes bug #54934.
2004-02-27 Jaroslaw Kowalski <jaak@zd.com.pl>
* CSharpCodeGenerator.cs: fixed static property references
in GeneratePropertyReferenceExpression
2004-02-10 Jackson Harper <jackson@ximian.com>
* CSharpCodeCompiler.cs: Use the temp files collection for
creating temp files.
2004-02-04 Jackson Harper <jackson@ximian.com>
* CSharpCodeGenerator.cs: Don't write ToThrow statement if it is
null (matches MS output). When creating comments there is a space
after the first // but not the following lines.
2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
* CSharpCodeGenerator.cs: Implemented CreateEscapedIdentifier() and
CreateValidIdentifier().
2004-01-19 Lluis Sanchez Gual <lluis@ximian.com>
* CSharpCodeGenerator.cs: Do not generate access and scope modifiers for
interface methods.
2004-01-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: when generating files from DOM, set the
encoding to UTF-8 with BOM marker. Fixes bug #52604.
2003-11-12 Lluis Sanchez Gual <lluis@ximian.com>
* CSharpCodeCompiler.cs: In BuildArgs, add "--" separator between
options and source files.
2003-10-15 Lluis Sanchez Gual <lluis@ximian.com>
* CSharpCodeGenerator.cs: added override for the method
GenerateParameterDeclarationExpression. The parameter must be
generated with a safe C# name.
2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: don't leave temporary files around.
2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
* CSharpCodeGenerator.cs: Fixed generation of array construction with
initializers. Render return type custom attributes.
2003-08-15 Jaroslaw Kowalski <jarek@atm.com.pl>
* CSharpCodeGenerator.cs:
- fixed support for method references where target
object is null
- fixed CodeThrowExceptionStatement
- disabled member access modifiers for private method
implementations
- disabled generation of empty method body for interface
declarations
- disabled generation of empty property accessor bodies
in interface declarations
- added support for indexers (properties named "Item")
- added support for chained constructor arguments and
base constructor arguments
2003-08-05 Lluis Sanchez Gual <lluis@ximian.com>
* CSharpCodeGenerator.cs: Added method GetSafeName() that checks if
a given id is a C# keyword, and returns the same if if it is not,
or @id if it is a keyword. This method is used everywhere
a name is rendered.
2003-08-05 Lluis Sanchez Gual <lluis@ximian.com>
* CSharpCodeGenerator.cs: GenerateComment(): Render multiline comments.
2003-07-30 Lluis Sanchez Gual <lluis@ximian.com>
* CSharpCodeGenerator.cs: GenerateTypeStart(): Write type custom attributes
2003-07-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* CSharpCodeCompiler.cs: Few fixes for update in CodeDom.Compiler
2003-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: ignore debug statistics in mcs output when
debug is turned on.
2003-07-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: patch from pelle.johnsen@mail.dk (Pelle
Johnsen) that fixes bug #45708.
2003-05-17 Ben Maurer <bmaurer@users.sourceforge.net>
* CSharpCodeGenerator.cs: implemented GenerateLinePragma{Start, End}.
Marked GenerateEvent as MonoTODO.
2003-04-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: add quotes around out assembly name.
2003-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs:
(CompileAssemblyFromDomBatch): add the assemblies referenced by the
CodeCompileUnits to the options.
2003-04-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeCompiler.cs: set NativeCompilerReturnValue.
2003-04-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeGenerator.cs:
(QuoteSnippetString): add a few common escape sequences.
2003-04-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeGenerator.cs: implemented GenerateSnippetMember and some
little fixes.
2003-04-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* CSharpCodeGenerator.cs: beautified conditional statements. Implemented
GenerateConstructor and GenerateTypeConstructor.
2003-01-10 Duncan Mak <duncan@ximian.com>
* CSharpCodeCompiler.cs:
* CSharpCodeProvider.cs: Patch from Sean Kasun
<skasun@azstarnet.com> to implement CSharpCodeCompiler.
2002-12-07 Jackson Harper <jackson@latitudegeo.com>
* CompilerError.cs Compiler.cs: Moving these classes to their own assembly
2002-11-11 Jackson Harper <jackson@latitudegeo.com>
* CompilerError.cs: Reordered ErrorLevel enumeration to match MS values
2002-11-11 Jackson Harper <jackson@latitudegeo.com>
* CompilerError.cs: Error levels are now lower case to match MS spec
2002-11-9 Jackson Harper <jackson@latitudegeo.com>
* CompilerError.cs: ToString() Do not show source file info if there was no source file in the error message
2002-11-6 Jackson Harper <jackson@latitudegeo.com>
* Compiler.cs: No longers waits untill mcs is finished running to read output, this should prevent
crashes from buffers filling up.
2002-11-4 Jackson Harper <jackson@latitudegeo.com>
* Compiler.cs CompilerError.cs: Fixed (C) in header
2002-11-4 Jackson Harper <jackson@latitudegeo.com>
* Compiler.cs: Added file
2002-11-4 Jackson Harper <jackson@latitudegeo.com>
* CompilerError.cs: Changed FileName property to the correct name 'SourceFile'
2002-10-30 Jackson Harper <jackson@latitudegeo.com>
* CompilerError.cs: Added class
2002-10-19 Rachel Hestilow <hestilow@ximian.com>
* CSharpCodeProvider.cs
(GeneratePropertySetValueReferenceExpression): Implement.
(GenerateField, GenerateMethod): Only call OutputAttributeDeclarations
if there are any attributes.
(GenerateProperty): Implement.
2002-10-11 Duncan Mak <duncan@ximian.com>
* CSharpCodeProvider.cs: Fix constructor visibility.
2002-05-28 Daniel Stodden <stodden@in.tum.de>
* ChangeLog: added
* CSharpCodeProvider.cs: added
* CSharpCodeGenerator.cs: C# Code Generator. Not fully complete
but doing fairly well.
|