mono.git
19 years ago * Compiler.cs: mcs writes to stderr now.
Jackson Harper [Tue, 14 Dec 2004 21:11:55 +0000 (21:11 -0000)]
* Compiler.cs: mcs writes to stderr now.

svn path=/trunk/mcs/; revision=37759

19 years ago2004-12-14 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 14 Dec 2004 20:43:14 +0000 (20:43 -0000)]
2004-12-14  Miguel de Icaza  <miguel@ximian.com>

* location.cs: Provide extra information.

svn path=/trunk/mcs/; revision=37758

19 years agoAdd new test
Miguel de Icaza [Tue, 14 Dec 2004 20:42:04 +0000 (20:42 -0000)]
Add new test

svn path=/trunk/mcs/; revision=37757

19 years agoRemove warning
Miguel de Icaza [Tue, 14 Dec 2004 19:05:35 +0000 (19:05 -0000)]
Remove warning

svn path=/trunk/mcs/; revision=37756

19 years agoRemove warning
Miguel de Icaza [Tue, 14 Dec 2004 19:04:34 +0000 (19:04 -0000)]
Remove warning

svn path=/trunk/mcs/; revision=37755

19 years agoMake this quiet, like MCS
Miguel de Icaza [Tue, 14 Dec 2004 18:33:35 +0000 (18:33 -0000)]
Make this quiet, like MCS

svn path=/trunk/mcs/; revision=37754

19 years ago2004-12-14 Patrik Torstensson <patrik.torstensson@gmail.com>
Patrik Torstensson [Tue, 14 Dec 2004 17:10:37 +0000 (17:10 -0000)]
2004-12-14  Patrik Torstensson  <patrik.torstensson@gmail.com>

* mini-x86.c: disabling the Interlocked optimizing code.

svn path=/trunk/mono/; revision=37752

19 years ago2004-12-14 Ritvik Mayank <mritvik@novell.com>
Ritvik Mayank [Tue, 14 Dec 2004 15:14:32 +0000 (15:14 -0000)]
2004-12-14  Ritvik Mayank  <mritvik@novell.com>

*AssignmentStatements5.vb: Removed, as it was not a proper runtime test
*BoolLiteralTest1.vb: Likewise
*CharacterLiterals1.vb: Likewise
*IntegerLiteralTest4.vb: Likewise

2004-12-14  Ritvik Mayank  <mritvik@novell.com>

*AssignmentStatements3.vb: Convert to nunit
*AssignmentStatements4.vb: Likewise
*Inheritance1.vb: Likewise
*IntegerLiteral1.vb: Likewise
*IntegerLiteralTest1.vb: Likewise
*IntegerLiteralTest2.vb: Likewise
*IntegerLiteralTest3.vb: Likewise
*LiteralNothing1.vb: Likewise
*ShiftOperators1.vb: Likewise
*StringLiterals1.vb: Likewise
*ConditionalStatements1.vb: Likewise
*DecimalLiteral1.vb: Likewise
*DoubleLiteral1.vb: Likewise
*LikeOperator1.vb: Likewise
*LocalVariables1.vb: Likewise
*LogicalOperators1.vb: Likewise
*LongLiteral1.vb: Likewise
*LoopStatements1.vb: Likewise
*RelationalOperators1.vb: Likewise
*SyncLock1.vb: Likewise

svn path=/trunk/mcs/; revision=37750

19 years agoAdd a target to build a selection of locales and a bit of docs.
Paolo Molaro [Tue, 14 Dec 2004 14:56:35 +0000 (14:56 -0000)]
Add a target to build a selection of locales and a bit of docs.

svn path=/trunk/mono/; revision=37749

19 years ago2004-12-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 14 Dec 2004 14:10:01 +0000 (14:10 -0000)]
2004-12-14  Zoltan Varga  <vargaz@freemail.hu>

* threads.h threads.c appdomain.c: Clear the culture_info field of
all threads during unloading if they point to an object in the dying
appdomain.

svn path=/trunk/mono/; revision=37748

19 years ago2004-12-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 14 Dec 2004 13:46:26 +0000 (13:46 -0000)]
2004-12-14  Zoltan Varga  <vargaz@freemail.hu>

* Thread.cs: Optimize CurrentCulture to avoid initializing the
serialization infrastructure in the common case when the culture is
not set explicitly.

svn path=/trunk/mcs/; revision=37747

19 years ago2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 13:32:24 +0000 (13:32 -0000)]
2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebConnectionStream.cs: remove unneeded check. Write detects and
triggers the exception now.

svn path=/trunk/mcs/; revision=37745

19 years ago2004-12-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 14 Dec 2004 13:26:04 +0000 (13:26 -0000)]
2004-12-14  Zoltan Varga  <vargaz@freemail.hu>

* aot.c (load_aot_module): Move reading of got_addr after the AOT
file version check.

svn path=/trunk/mono/; revision=37744

19 years ago2004-12-14 Patrik Torstensson <patrik.torstensson@gmail.com>
Patrik Torstensson [Tue, 14 Dec 2004 13:22:03 +0000 (13:22 -0000)]
2004-12-14  Patrik Torstensson  <patrik.torstensson@gmail.com>

* mini-x86.c, inssel-x86.brg, cpu-pentium.md: removed _imm
interlocked optimization due lack of support on x86, rewrote
exchange to take into account that base may be in eax.

xsp works again; activated Interlocked optimizing code.

svn path=/trunk/mono/; revision=37743

19 years ago2004-12-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 14 Dec 2004 13:18:01 +0000 (13:18 -0000)]
2004-12-14  Zoltan Varga  <vargaz@freemail.hu>

* mini.h (MONO_AOT_FILE_VERSION): Bump AOT file version.

svn path=/trunk/mono/; revision=37742

19 years ago2004-12-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 14 Dec 2004 13:16:04 +0000 (13:16 -0000)]
2004-12-13  Zoltan Varga  <vargaz@freemail.hu>

* mini-ops.h: Add new opcodes.

* mini.h: Add new patch types. Add got_var to MonoCompile.

* mini.h mini-x86.c mini-amd64.c aot.c: Rename
mono_arch_get_aot_patch_offset () to mono_arch_get_patch_offset () and
make it work with all kinds of patchable code.

* inssel.brg inssel-x86.brg: Add new rules dealing with computing the
address of the GOT, and referencing entries in the GOT.

* mini.c: Add code to load the GOT address if needed by an opcode.

* aot.c mini-x86.h mini-x86.c cpu-pentium.md: Add support for position
independent AOT code on the x86 using an elf-style Global Offset Table.

svn path=/trunk/mono/; revision=37741

19 years ago2004-12-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 14 Dec 2004 13:15:39 +0000 (13:15 -0000)]
2004-12-13  Zoltan Varga  <vargaz@freemail.hu>

* mini-ops.h: Add new opcodes.

* mini.h: Add new patch types. Add got_var to MonoCompile.

* mini.h mini-x86.c mini-amd64.c aot.c: Rename
mono_arch_get_aot_patch_offset () to mono_arch_get_patch_offset () and
make it work with all kinds of patchable code.

* inssel.brg inssel-x86.brg: Add new rules dealing with computing the
address of the GOT, and referencing entries in the GOT.

* mini.c: Add code to load the GOT address if needed by an opcode.

* aot.c mini-x86.h mini-x86.c cpu-pentium.md: Add support for position
independent AOT code on the x86 using an elf-style Global Offset Table.

svn path=/trunk/mono/; revision=37740

19 years ago2004-12-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Dec 2004 12:09:23 +0000 (12:09 -0000)]
2004-12-14  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.dll.sources : added XmlSchemaValidatingReader.

* XmlSchemaValidatingReader.cs : new file; another XmlReader
  implementation that handles XSD validation. It is an reference
  application for XmlSchemaValidator.
* XsdValidatingReader.cs : Use readerLineInfo for IXmlLineInfo.

* XmlReaderSettings.cs : XsdValidate and DtdValidate are now
  ValidationType.
* XmlReader.cs : In Create(), use XmlSchemaValidatingReader for xsd
  validation.

* XmlSchemaValidator.cs : implemented basic validation feature.

svn path=/trunk/mcs/; revision=37739

19 years ago* profiles/basic.make (do-profile-check): Rename from
Raja R Harinath [Tue, 14 Dec 2004 12:04:08 +0000 (12:04 -0000)]
* profiles/basic.make (do-profile-check): Rename from
'real-profile-check'.  Rewrite slightly to use 'make' to build the
sanity check.
(clean-profile): Remove the files.

svn path=/trunk/mcs/; revision=37738

19 years ago* mono/mini/Makefile.am (RUNTIME): Set MONO_SHARED_DIR.
Raja R Harinath [Tue, 14 Dec 2004 12:01:26 +0000 (12:01 -0000)]
* mono/mini/Makefile.am (RUNTIME): Set MONO_SHARED_DIR.
* mono/tests/Makefile.am (TEST_PROG_RUN, JITTEST_PROG_RUN): Set MONO_SHARED_DIR.

svn path=/trunk/mono/; revision=37737

19 years ago* runtime/mono-wrapper.in (MONO_SHARED_DIR): Set. Ensures that
Raja R Harinath [Tue, 14 Dec 2004 10:55:56 +0000 (10:55 -0000)]
* runtime/mono-wrapper.in (MONO_SHARED_DIR): Set.  Ensures that
state isn't shared between an installed runtime and the in-tree
runtime, and also ensure that both 'make check' and 'make
distcheck' can run in parallel.
* runtime/Makefile.am (clean-local): Remove the .wapi directory.

svn path=/trunk/mono/; revision=37736

19 years ago* MethodDef.cs (CreateSignature): Add a space in generated signature.
Raja R Harinath [Tue, 14 Dec 2004 10:20:05 +0000 (10:20 -0000)]
* MethodDef.cs (CreateSignature): Add a space in generated signature.

svn path=/trunk/mcs/; revision=37735

19 years agoCopied remotely
Marek Safar [Tue, 14 Dec 2004 10:18:54 +0000 (10:18 -0000)]
Copied remotely

svn path=/trunk/mcs/; revision=37734

19 years ago2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 09:55:06 +0000 (09:55 -0000)]
2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AuthenticationManager.cs: don't lock on a public Type.
* HttpWebRequest.cs: read the error response for auth. errors.

svn path=/trunk/mcs/; revision=37732

19 years ago2004-12-14 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 14 Dec 2004 09:12:05 +0000 (09:12 -0000)]
2004-12-14  Marek Safar  <marek.safar@seznam.cz>

* cs-parser.jay: Changed warning level for 642 to 4 until Miguel
find a conclusion.

* class.cs: Changed warning level for 169 to avoid developer
displeasure from warning flooding. It will be changed back when they
fix most of current BCL warnings.

* RootContext.cs: Pushed default WarningLevel to 3.

* statement.cs: Removed unused variable.

svn path=/trunk/mcs/; revision=37731

19 years agotypos
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 08:56:04 +0000 (08:56 -0000)]
typos

svn path=/trunk/mono/; revision=37730

19 years ago2004-12-14 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 14 Dec 2004 07:45:28 +0000 (07:45 -0000)]
2004-12-14 Marek Safar <marek.safar@seznam.cz>

* cs0418-2.cs, cs0418.cs, cs0441.cs, cs0662.cs
cs0724.cs, cs1004.cs, cs1521-2.cs, cs1521.cs,
cs1558.cs, cs1576.cs, cs3017.cs, cs3018-2.cs,
cs3018.cs, cs3021.cs, cs3022.cs, cs3023.cs, cs3025.cs:
New error tests.

svn path=/trunk/mcs/; revision=37729

19 years ago2004-12-14 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 14 Dec 2004 07:35:28 +0000 (07:35 -0000)]
2004-12-14  Marek Safar  <marek.safar@seznam.cz>

* class.cs (TypeContainer.GetClassBases): Add error 1521 report.
(TypeContainer.MethodModifiersValid): Refactored to use MemberCore.
Add error 502 report.
(StaticClass.DefineType): Add error 441 report.
(Class.AllowedModifiersProp): New virtual property as temporary
extension to AllowedModifiers.
(Class.DefineType): Add error 418 report. Moved ModFlags check here
to share implementation with StaticClass and don't call virtual
methods from ctor.

* driver.cs (MainDriver): Add error 1558 test.

* parameter.cs (Parameter.ApplyAttributeBuilder): Add error 662
report. Moved error 36 test here.

* statement.cs (Throw.Resolve): Add error 724 report.

* typemanager.cs: Add out_attribute_type core type.

svn path=/trunk/mcs/; revision=37728

19 years agostdout->stderr
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 07:28:08 +0000 (07:28 -0000)]
stdout->stderr

svn path=/trunk/mcs/; revision=37727

19 years ago2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 05:26:52 +0000 (05:26 -0000)]
2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ControlCollection.cs: fix off-by-one and store a null at the end to
remove the reference to the removed control.

svn path=/trunk/mcs/; revision=37725

19 years ago2004-12-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 14 Dec 2004 05:22:26 +0000 (05:22 -0000)]
2004-12-14  Atsushi Enomoto <atsushi@ximian.com>

* XsdIdentityState.cs : use validation exception for 2.0.
  ProcessMatch() does not have to return bool. Use break and continue
  and reduced indentation.
* XsdValidatingReader.cs : use validation exception for 2.0.
  Added new XsdIDManager class and id handling is delegated to it.
  XmlQualifiedName -> QName. AssessElementLocallyValidElement() does
  not need XmlSchemaElement (it is context). Moved some static
  methods to XmlSchemaUtil.cs. Collected key constraints stuff to a
  region.

* XmlSchemaUtil.cs : added FindAttributeDeclaration() and
  AttributeWildcardItemValid().

svn path=/trunk/mcs/; revision=37724

19 years ago2004-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 04:57:19 +0000 (04:57 -0000)]
2004-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CSharpCodeCompiler.cs: ignore the 'BETA SOFTWARE blah' from gmcs.

svn path=/trunk/mcs/; revision=37723

19 years ago2004-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 03:43:25 +0000 (03:43 -0000)]
2004-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* File.cs: delegate to the runtime the task of checking for destination
file existence in Move.

svn path=/trunk/mcs/; revision=37714

19 years ago2004-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 14 Dec 2004 03:43:08 +0000 (03:43 -0000)]
2004-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* io.c: check for the existence of 'dest' and set ERROR_ALREADY_EXISTS
if it exists and is not the same as 'src'.

svn path=/trunk/mono/; revision=37713

19 years ago2004-12-13 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Tue, 14 Dec 2004 03:14:58 +0000 (03:14 -0000)]
2004-12-13  Ben Maurer  <bmaurer@ximian.com>

* CultureInfo.cs: Store TextInfo data. Hand it over to TextInfo.
* TextInfo.cs: Rewrote props to use the textinfo data stored in
unmanaged code.

svn path=/trunk/mcs/; revision=37712

19 years agoIn tools/locale-builder:
Ben Maurer [Tue, 14 Dec 2004 03:13:41 +0000 (03:13 -0000)]
In tools/locale-builder:
2004-12-13  Ben Maurer  <bmaurer@ximian.com>
* CultureInfoEntry.cs (AppendTableRow): Stringify the
textinfoentry
* TextInfoEntry.cs: New file for textinfo data
* textinfo.xml: textinfo data
* Driver.cs: Harness all the stuff above
* Makefile.am: add new files

In mono/metadata:
2004-12-13  Ben Maurer  <bmaurer@ximian.com>
* culture-info.h (TextInfoEntry): New struct
* object-internals.h: sync with managed
* locales.c: fill the `text_info_data' field
* culture-info-tables.h: update

svn path=/trunk/mono/; revision=37711

19 years ago * caspol.1: Add documentation for -strong option;
Sebastien Pouliot [Tue, 14 Dec 2004 02:02:59 +0000 (02:02 -0000)]
    * caspol.1: Add documentation for -strong option;
        * certmgr.1: Add documentation for -ssl options, samples and
        known issues.
        * mono.1: Fix files location for certificate stores.

svn path=/trunk/mono/; revision=37710

19 years ago2004-12-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 14 Dec 2004 01:58:24 +0000 (01:58 -0000)]
2004-12-13  Sebastien Pouliot  <sebastien@ximian.com>

* certmgr.cs: Add a new -ssl action to download and add the
certificates from an SSL connection into thr right stores.

svn path=/trunk/mcs/; revision=37709

19 years ago2004-12-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 14 Dec 2004 01:55:08 +0000 (01:55 -0000)]
2004-12-13  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate.cs: Directly use the MD2 class when compiled in
Mono.Security.dll assembly (even if not configured in machine.config).

svn path=/trunk/mcs/; revision=37708

19 years ago2004-12-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 14 Dec 2004 01:53:40 +0000 (01:53 -0000)]
2004-12-13  Sebastien Pouliot  <sebastien@ximian.com>

* SslClientStream.cs: New internal property, ServerCertificates, to
"easily" retreive the server's certificate chain using reflection.

svn path=/trunk/mcs/; revision=37707

19 years ago2004-12-13 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 14 Dec 2004 00:32:51 +0000 (00:32 -0000)]
2004-12-13  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* expression.cs: emit code for null literal.

svn path=/trunk/mcs/; revision=37706

19 years ago2004-12-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 13 Dec 2004 23:12:16 +0000 (23:12 -0000)]
2004-12-13  Miguel de Icaza  <miguel@ximian.com>

* MethodDef.cs (CreateSignature, CreateVarargsSignature): They now
take a return type as it is valid to have multiple methods with
the same name and parameters, that only differ on the return type.

I am not sure of the fix from ILParser.jay, and would love if
Jackson can sort that one out, I put what seemed to be a
signature, but I do not understand what it actually does there.

svn path=/trunk/mcs/; revision=37705

19 years ago2004-12-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 13 Dec 2004 22:51:58 +0000 (22:51 -0000)]
2004-12-13  Miguel de Icaza  <miguel@ximian.com>

* dis-cil.c, dump.c: Encode special constant +Inf, -Inf and NaN
using hex constants instead of letting libc print the values.

svn path=/trunk/mono/; revision=37704

19 years ago * outline.cs (OutlineType, OutlineOperator, OperatorFromName):
Dan Winship [Mon, 13 Dec 2004 22:16:15 +0000 (22:16 -0000)]
    * outline.cs (OutlineType, OutlineOperator, OperatorFromName):
        Show overloaded operators and type conversions.
        (FormatType): fix the logic here so that, eg "System.Int32"
        becomes "int" rather than "Int32" when looking at a type in the
        System namespace.

svn path=/trunk/mcs/; revision=37703

19 years ago2004-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 13 Dec 2004 21:55:33 +0000 (21:55 -0000)]
2004-12-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mini-x86.c: disabling the Interlocked optimizing code. It segfaults
when running xsp.

svn path=/trunk/mono/; revision=37702

19 years agoMon Dec 13 18:10:50 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 13 Dec 2004 17:12:38 +0000 (17:12 -0000)]
Mon Dec 13 18:10:50 CET 2004 Paolo Molaro <lupus@ximian.com>

* Makefile.am, monodiet.c: add monodiet, an IL code garbage
collector.

svn path=/trunk/mono/; revision=37696

19 years ago2004-12-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 13 Dec 2004 17:11:24 +0000 (17:11 -0000)]
2004-12-13  Atsushi Enomoto <atsushi@ximian.com>

* XsdKeyTable.cs : eliminated XmlReader dependency.
* XsdValidatingReader.cs :
  AssertIdentityConstraints() is now splited to selector validation
  and field validation. Extracted EndKeyrefValidation() to process
  keyref constraints.
  Added ReadExternalSchema() and commonized xsi:schemaLocation
  handling and xsi:noNamespaceSchemaLocation handling.
* XsdIdentityState.cs :
  Eliminated XsdValidatingReader dependency.
  In XsdKeyEntryField, renamed KeySequence to OwnerSequence.
  XsdKeyEntryFieldCollection is now based on CollectionBase.
  In XsdKeyEntry, FieldMatches() is renamed to ProcessMatch() and
  modified to accept splited XsdValidatingReader members.
* XsdIdentityPath.cs : added default .ctor() and IsAttribute property.

svn path=/trunk/mcs/; revision=37695

19 years ago2004-12-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 13 Dec 2004 16:45:19 +0000 (16:45 -0000)]
2004-12-11  Atsushi Enomoto <atsushi@ximian.com>

* XsdIdentityState.cs,
  XsdIdentityPath.cs,
  XsdKeyTable.cs : fixed mixed line ending.

svn path=/trunk/mcs/; revision=37694

19 years agoMon Dec 13 17:11:37 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 13 Dec 2004 16:10:26 +0000 (16:10 -0000)]
Mon Dec 13 17:11:37 CET 2004 Paolo Molaro <lupus@ximian.com>

* configure.in, mono/interpreter/Makefile.am: disable
mint by default on architectures that use the JIT.

svn path=/trunk/mono/; revision=37693

19 years agoUpdate list of remaining tasks
Alp Toker [Mon, 13 Dec 2004 15:42:40 +0000 (15:42 -0000)]
Update list of remaining tasks

svn path=/trunk/mcs/; revision=37692

19 years ago2004-12-13 Patrik Torstensson <patrik.torstensson@gmail.com>
Patrik Torstensson [Mon, 13 Dec 2004 14:37:14 +0000 (14:37 -0000)]
2004-12-13  Patrik Torstensson  <patrik.torstensson@gmail.com>

* mini-x86.c,mini-ops.h,inssel-x86.brg,cpu-pentium.md: Implementation of Interlocked:Increment/Decrement/Add
as inline ops.
(mini-x86.c (mono_arch_get_inst_for_method and mono_arch_output_basic_block))

svn path=/trunk/mono/; revision=37691

19 years agoupdate swf guidelines
Jordi Mas i Hernandez [Mon, 13 Dec 2004 11:11:13 +0000 (11:11 -0000)]
update swf guidelines

svn path=/trunk/mcs/; revision=37690

19 years agobutton fixes
Jordi Mas i Hernandez [Mon, 13 Dec 2004 10:45:22 +0000 (10:45 -0000)]
button fixes

svn path=/trunk/mcs/; revision=37689

19 years agoupdated CSharp.Debugger location
Marek Safar [Mon, 13 Dec 2004 08:21:03 +0000 (08:21 -0000)]
updated CSharp.Debugger location

svn path=/trunk/mcs/; revision=37688

19 years ago2004-12-13 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 13 Dec 2004 08:19:53 +0000 (08:19 -0000)]
2004-12-13  Marek Safar  <marek.safar@seznam.cz>

* class.cs (TypeContainer.VerifyClsCompliance): Add error
3018 report.
(PropertyBase.VerifyClsCompliance): Add errror 3025 report.

* codegen.cs (ModuleClass.ApplyAttributeBuilder): Add error
3017 report.

* decl.cs (MemberCore.VerifyClsCompliance): Add warning 3021.

* parameter.cs (ReturnParameter.ApplyAttributeBuilder):
Add error 3023 report.
(Parameter.ApplyAttributeBuilder): Add error 3022 report.

* tree.cs (RootTypes.IsClsCompliaceRequired): Add fake
implementation.

svn path=/trunk/mcs/; revision=37687

19 years agomore svn property cleanups
Raja R Harinath [Mon, 13 Dec 2004 06:20:37 +0000 (06:20 -0000)]
more svn property cleanups

svn path=/trunk/mcs/; revision=37686

19 years ago* INSTALL.txt: Minor updates to reflect build changes.
Raja R Harinath [Mon, 13 Dec 2004 06:17:48 +0000 (06:17 -0000)]
* INSTALL.txt: Minor updates to reflect build changes.

svn path=/trunk/mcs/; revision=37685

19 years agoremove svn:executable from *.cs *.c *.h
Raja R Harinath [Mon, 13 Dec 2004 06:06:57 +0000 (06:06 -0000)]
remove svn:executable from *.cs *.c *.h

svn path=/trunk/mono/; revision=37683

19 years agoremove svn:executable from *.cs *.c *.h
Raja R Harinath [Mon, 13 Dec 2004 06:05:53 +0000 (06:05 -0000)]
remove svn:executable from *.cs *.c *.h

svn path=/trunk/mono/; revision=37682

19 years agoremove svn:executable from *.cs
Raja R Harinath [Mon, 13 Dec 2004 06:03:33 +0000 (06:03 -0000)]
remove svn:executable from *.cs

svn path=/trunk/mono/; revision=37681

19 years ago2004-12-12 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Mon, 13 Dec 2004 04:06:59 +0000 (04:06 -0000)]
2004-12-12  Geoff Norton  <gnorton@customerdna.com>

        * exceptions-ppc.c: Reorder code so gcc3.4 can compile it
        * mini-ppc.c: Unify mono_arch_patch_code with changes in r37636.

svn path=/trunk/mono/; revision=37680

19 years ago2004-12-12 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 13 Dec 2004 03:50:01 +0000 (03:50 -0000)]
2004-12-12  Duncan Mak  <duncan@ximian.com>

* mini-ppc.c (mono_arch_patch_code): Hopefully made this build
again. `patch_info->table_size' is no longer valid after Zoltan's
commit #37636.

svn path=/trunk/mono/; revision=37679

19 years agoUpdate to latest changes
Miguel de Icaza [Mon, 13 Dec 2004 02:37:12 +0000 (02:37 -0000)]
Update to latest changes

svn path=/trunk/mono/; revision=37677

19 years agoAdd
Miguel de Icaza [Mon, 13 Dec 2004 01:57:05 +0000 (01:57 -0000)]
Add

svn path=/trunk/mono/; revision=37676

19 years agoUpdate
Miguel de Icaza [Mon, 13 Dec 2004 01:56:44 +0000 (01:56 -0000)]
Update

svn path=/trunk/mono/; revision=37675

19 years ago Explicit casts in generated code to avoid compiler warnings.
Alp Toker [Mon, 13 Dec 2004 01:55:54 +0000 (01:55 -0000)]
  Explicit casts in generated code to avoid compiler warnings.

svn path=/trunk/mcs/; revision=37673

19 years ago2004-12-13 Alp Toker <alp@atoker.com>
Alp Toker [Mon, 13 Dec 2004 01:29:38 +0000 (01:29 -0000)]
2004-12-13  Alp Toker  <alp@atoker.com>

  * cilc.cs:
  Use the GObject of the object if it already has one, rather than creating a
  new GObject instance of our own. Store the reference to the MonoObject in
  a GObject data field.

svn path=/trunk/mcs/; revision=37672

19 years ago2004-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 12 Dec 2004 22:59:11 +0000 (22:59 -0000)]
2004-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: set webResponse back to null when redirecting.
Fix the previous patch so that it reads the whole response even if
auto-redirect is not enabled. Closes bug #70484.

svn path=/trunk/mcs/; revision=37670

19 years ago2004-12-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 12 Dec 2004 21:14:29 +0000 (21:14 -0000)]
2004-12-12  Zoltan Varga  <vargaz@freemail.hu>

* XmlTextReader.cs: Work around a compiler bug in csc 2.0 beta 1.

svn path=/trunk/mcs/; revision=37668

19 years ago2004-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 12 Dec 2004 20:43:09 +0000 (20:43 -0000)]
2004-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebResponse.cs: added ReadAll method.

* WebConnection.cs: in HandleError, set the response error after
closing the socket. Use an async. delegate to finish reading any prior
WebConnectionStream.

* HttpWebRequest.cs: for error responses that allow content, read the
stream immediately. Fixes bug #70483.

svn path=/trunk/mcs/; revision=37664

19 years ago2004-12-12 John Luke <john.luke@gmail.com>
John Luke [Sun, 12 Dec 2004 18:24:29 +0000 (18:24 -0000)]
2004-12-12  John Luke  <john.luke@gmail.com>

        * driver.cs (AddArgs): take -- into account when
        adding arguments, fixes bug 65710

svn path=/trunk/mcs/; revision=37663

19 years ago2004-12-12 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sun, 12 Dec 2004 17:33:27 +0000 (17:33 -0000)]
2004-12-12  Ben Maurer  <bmaurer@ximian.com>

* icall.c (ves_icall_ModuleBuilder_getToken): Check for null
(ves_icall_ModuleBuilder_getMethodToken): Ditto

svn path=/trunk/mono/; revision=37662

19 years ago* MonthCalendar.cs: Implemented click-hold for next/previous month
John BouAntoun [Sun, 12 Dec 2004 10:45:32 +0000 (10:45 -0000)]
* MonthCalendar.cs: Implemented click-hold for next/previous month
  and date selection

svn path=/trunk/mcs/; revision=37660

19 years ago * cilc.cs:
Alp Toker [Sun, 12 Dec 2004 05:55:08 +0000 (05:55 -0000)]
  * cilc.cs:
  Initial support for namespaceless assemblies.
  C keyword avoidance.

svn path=/trunk/mcs/; revision=37659

19 years ago Initial support for namespaceless assemblies.
Alp Toker [Sun, 12 Dec 2004 05:07:15 +0000 (05:07 -0000)]
  Initial support for namespaceless assemblies.

svn path=/trunk/mcs/; revision=37658

19 years ago2004-12-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 12 Dec 2004 04:36:33 +0000 (04:36 -0000)]
2004-12-12  Martin Baulig  <martin@ximian.com>

* expression.cs (Unary.TryReduceNegative): Added support for
SByteConstant and ByteConstant.
(Unary.Reduce): Check error values from TryReduceNegative().

svn path=/trunk/mcs/; revision=37657

19 years ago2004-12-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 12 Dec 2004 04:36:21 +0000 (04:36 -0000)]
2004-12-12  Martin Baulig  <martin@ximian.com>

* expression.cs (Unary.TryReduceNegative): Added support for
SByteConstant and ByteConstant.
(Unary.Reduce): Check error values from TryReduceNegative().

svn path=/trunk/mcs/; revision=37656

19 years ago2004-12-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 12 Dec 2004 03:26:45 +0000 (03:26 -0000)]
2004-12-12  Martin Baulig  <martin@ximian.com>

* mini.c (mono_method_to_ir): Only call mono_debug_init_method()
if we are the "real" method, ie. not an inlined method inside it.

svn path=/trunk/mono/; revision=37652

19 years ago2004-12-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 12 Dec 2004 03:25:30 +0000 (03:25 -0000)]
2004-12-12  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.c (write_type): If we're an enum and the
builtin types have already been initialized, call mono_class_init().

svn path=/trunk/mono/; revision=37651

19 years ago Consider types registered ByVal but not in main registry as unregistered.
Alp Toker [Sun, 12 Dec 2004 03:12:10 +0000 (03:12 -0000)]
  Consider types registered ByVal but not in main registry as unregistered.
  Mark out some more ByVal types.

svn path=/trunk/mcs/; revision=37650

19 years ago2004-12-12 Alp Toker <alp@atoker.com>
Alp Toker [Sun, 12 Dec 2004 03:04:21 +0000 (03:04 -0000)]
2004-12-12  Alp Toker  <alp@atoker.com>

  * cilc.cs:
  * Test.cs:
  * demo.c:
  First stab at return values, and associated updates to the demo.

svn path=/trunk/mcs/; revision=37649

19 years agoIn mini:
Ben Maurer [Sun, 12 Dec 2004 01:47:54 +0000 (01:47 -0000)]
In mini:
2004-12-11  Ben Maurer  <bmaurer@ximian.com>

* mini.c (CEE_LDSFLD): Make sure that the vtable has been init'd
before we look in the special fields table. This fixes
../tests/thread-static-init.cs.

In tests:
2004-12-11  Ben Maurer  <bmaurer@ximian.com>

* thread-static-init.cs: New test.

svn path=/trunk/mono/; revision=37647

19 years ago* X11Structs.cs:
Peter Dennis Bartok [Sun, 12 Dec 2004 01:10:02 +0000 (01:10 -0000)]
* X11Structs.cs:
  - Added XKeyboardState (moved from XplatUIX11.cs)
  - Added XCreateGC related enums and structures
  - Added GXFunction for XSetFunction

* XplatUIStructs.cs: Added missing WS_EX_xxx definitions

* XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  CaretVisible() calls

* ToolTip.cs: Added code to prevent stealing focus from app windows

* XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  DestroyCaret, SetCaretPos and CaretVisible)

* XplatUIX11.cs:
  - Added implementation for caret functions
  - Moved hover variables into a struct, to make it a bit easier
    on the eyes and to debug
  - Removed XKeyboardState (moved to XplatUIX11.cs)
  - Moved Keyboard properties into the properties region

* Control.cs (get_Region): Control.CreateGraphics is the appropriate
  call to get a graphics context for our control

* XplatUIOSX.cs: Added empty overrides for the new caret functions

* TreeView.cs: Fixed bug. No matter what color was set it would always
  return SystemColors.Window

* XplatUIWin32.cs: Implemented caret overrides

svn path=/trunk/mcs/; revision=37646

19 years ago2004-12-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 11 Dec 2004 22:48:15 +0000 (22:48 -0000)]
2004-12-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mini.c: return immediately after setting OP_ARRAY_RANK or CEE_LDLEN
for Array get_Rank and get_Length. Fixes bug #70465.

svn path=/trunk/mono/; revision=37644

19 years ago2004-12-11 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Sat, 11 Dec 2004 21:59:49 +0000 (21:59 -0000)]
2004-12-11  Ben Maurer  <bmaurer@ximian.com>

* BinaryReader.cs (ReadByte): Check for exceptions here.

svn path=/trunk/mcs/; revision=37642

19 years agoSet the proper variables in the 'mcs' dir, so that there are no side-effects
Miguel de Icaza [Sat, 11 Dec 2004 21:40:14 +0000 (21:40 -0000)]
Set the proper variables in the 'mcs' dir, so that there are no side-effects

svn path=/trunk/mono/; revision=37641

19 years ago Add check to see if a registered type IsExternal
Alp Toker [Sat, 11 Dec 2004 21:25:24 +0000 (21:25 -0000)]
  Add check to see if a registered type IsExternal

svn path=/trunk/mcs/; revision=37640

19 years ago2004-12-11 Alp Toker <alp@atoker.com>
Alp Toker [Sat, 11 Dec 2004 20:50:55 +0000 (20:50 -0000)]
2004-12-11  Alp Toker  <alp@atoker.com>

  * cilc.cs:
  First stab at initialising delegates using method pointers.
  Convert the type registry management and reporting methods to use strings,
  making way for tie-in with native GObject hierarchies.
  Recursive conflict avoidance for the GObject class struct etc.
  Treat byref values properly.
  Support tie-in with existing GObject hierarchy.
  Use argc parity to decide the generation mode.
  Update usage help string.
  * res-Makefile:
  Use passed CFLAGS.
  Only rebuild modified targets if bundle is defined, not everything.
  * README:
  More usage examples.

svn path=/trunk/mcs/; revision=37638

19 years ago2004-12-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 11 Dec 2004 16:18:52 +0000 (16:18 -0000)]
2004-12-11  Zoltan Varga  <vargaz@freemail.hu>

* mini.h mini.c aot.c: Put the bblock table for a SWITCH patch into a
separate structure to reduce the size of MonoJumpInfo.

svn path=/trunk/mono/; revision=37636

19 years agoMove these changelog entries where they belong
Geoff Norton [Sat, 11 Dec 2004 08:05:13 +0000 (08:05 -0000)]
Move these changelog entries where they belong

svn path=/trunk/mcs/; revision=37634

19 years ago2004-12-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 11 Dec 2004 07:40:23 +0000 (07:40 -0000)]
2004-12-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CookieContainer.cs: quote the port number.

svn path=/trunk/mcs/; revision=37630

19 years ago2004-12-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 11 Dec 2004 07:38:12 +0000 (07:38 -0000)]
2004-12-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* net_1_1/DefaultWsdlHelpGenerator.aspx:
* net_2_0/DefaultWsdlHelpGenerator.aspx: now that CookieContainer is
more like what it should be, we need to pass the URI too. Fixes bug
#70435.

svn path=/trunk/mono/; revision=37629

19 years ago2004-12-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 11 Dec 2004 05:17:48 +0000 (05:17 -0000)]
2004-12-11  Atsushi Enomoto <atsushi@ximian.com>

* XsdValidatingReader.cs,
  XsdIdentityState.cs : more refactoring.
  Reduced XmlReader dependency in identity constraint classes.
  Hide State in XsdValidationContext.
  Simplify character validation and state resetting.
  Need more event deligation on ExamineAdditionalSchema().
  Just cache attribute type directly instead of QName.
  Use XmlSchemaUtil.ReadTypedValue() common code.

svn path=/trunk/mcs/; revision=37627

19 years ago2004-12-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 11 Dec 2004 05:09:42 +0000 (05:09 -0000)]
2004-12-11  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaUtil.cs : added static ReadTypedValie().
* XmlSchemaInference.cs : compile at the end of inference.

svn path=/trunk/mcs/; revision=37626

19 years ago2004-12-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 11 Dec 2004 04:20:23 +0000 (04:20 -0000)]
2004-12-11  Martin Baulig  <martin@ximian.com>

* support.cs (ReflectionParameters.ParameterName): If we have a
`gpd', call `ParameterName' on it.

* parameter.cs (Parameter.GetParameterAttributes): New static method.

* pending.cs (PendingImplementation.DefineProxy): Call
DefineParameter() for all of the MethodBuilder's arguments.

svn path=/trunk/mcs/; revision=37625

19 years agoOnly quote typedef's.
Martin Baulig [Sat, 11 Dec 2004 04:07:32 +0000 (04:07 -0000)]
Only quote typedef's.

svn path=/trunk/mono/; revision=37624

19 years agoDon't escape typespec's.
Martin Baulig [Sat, 11 Dec 2004 01:40:48 +0000 (01:40 -0000)]
Don't escape typespec's.

svn path=/trunk/mono/; revision=37622

19 years ago2004-12-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 11 Dec 2004 01:10:45 +0000 (01:10 -0000)]
2004-12-11  Martin Baulig  <martin@ximian.com>

* get.c (get_typespec): Added `gboolean is_def' argument; removed
the special case for MONO_TYPE_VAR/MVAR and pass `is_def' down to
dis_stringify_type().
(get_escaped_name): Allow `!'.

svn path=/trunk/mono/; revision=37621

19 years ago2004-12-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 11 Dec 2004 00:52:53 +0000 (00:52 -0000)]
2004-12-11  Martin Baulig  <martin@ximian.com>

* get.c (get_token): Escape typedefs, typerefs and typespecs.

svn path=/trunk/mono/; revision=37620

19 years ago2004-12-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 11 Dec 2004 00:49:38 +0000 (00:49 -0000)]
2004-12-11  Martin Baulig  <martin@ximian.com>

* get.c (get_escaped_name): Correctly escape nested classes.

svn path=/trunk/mono/; revision=37619