mono.git
19 years ago2004-12-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 15 Dec 2004 18:49:31 +0000 (18:49 -0000)]
2004-12-15  Sebastien Pouliot  <sebastien@ximian.com>

* UTF7Encoding.cs:  Fixed warning for unused variable.

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

19 years ago2004-12-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 15 Dec 2004 18:49:12 +0000 (18:49 -0000)]
2004-12-15  Sebastien Pouliot  <sebastien@ximian.com>

* ASN1.cs: Fixed warning for unused variable.

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

19 years ago * Stdlib.cs: Add more <stdio.h> wrappers, such as fread(3) and fwrite(3).
Jonathan Pryor [Wed, 15 Dec 2004 18:32:11 +0000 (18:32 -0000)]
  * Stdlib.cs: Add more <stdio.h> wrappers, such as fread(3) and fwrite(3).
    These will be useful in implementing System.IO.Stream subclass for
    reading/writing to a FILE*.  Fix a typo in the realloc DllImport.

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

19 years ago * Syscall.cs: Fix the sys_kill and sys_crypt declarations.
Jonathan Pryor [Wed, 15 Dec 2004 18:22:45 +0000 (18:22 -0000)]
  * Syscall.cs: Fix the sys_kill and sys_crypt declarations.
* CdeclFunction.cs: Document calling convention problems on AMD64.

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

19 years agofix this on solaris for real
Gonzalo Paniagua Javier [Wed, 15 Dec 2004 17:59:45 +0000 (17:59 -0000)]
fix this on solaris for real

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

19 years agonew tests + refresh
Marek Safar [Wed, 15 Dec 2004 17:45:35 +0000 (17:45 -0000)]
new tests + refresh

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

19 years ago2004-12-15 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 15 Dec 2004 17:15:12 +0000 (17:15 -0000)]
2004-12-15  Marek Safar  <marek.safar@seznam.cz>

* cs-parser.jay: Don't create a block for every variable.

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

19 years ago2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 15 Dec 2004 17:01:15 +0000 (17:01 -0000)]
2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* configure.in: check for ieeefp.h and isinf.
* mono/dis/dis-cil.c: added isinf() for Solaris, that does not seem to
have it. Fixes the build on Solaris.

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

19 years ago * X11Keyboard.cs: Set messages hwnd.
Jackson Harper [Wed, 15 Dec 2004 16:07:18 +0000 (16:07 -0000)]
* X11Keyboard.cs: Set messages hwnd.
* XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
post_message calls.

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

19 years ago2004-12-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 15 Dec 2004 15:58:49 +0000 (15:58 -0000)]
2004-12-15  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_patch_code): Add missing PATCH_INFO_METHOD_REL
in the AOT case.

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

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

* mini-x86.c, cpu-pentium.md, inssel-x86.brg: Fixed bug
with add function when used from Inc/dec atomic
functions. Re-enabled optimization on x86.
* mini-ops.h: renamed atomic_add functions to
allow _add to match the Interlocked::Add and
_add_next to match Interlocked::Inc/Dec.

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

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

* interlocked.cs: New test.

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

19 years ago * X11Keyboard.cs: Fix to compile with csc.
Jackson Harper [Wed, 15 Dec 2004 15:18:13 +0000 (15:18 -0000)]
* X11Keyboard.cs: Fix to compile with csc.

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

19 years agothis never happened. Forget it.
Gonzalo Paniagua Javier [Wed, 15 Dec 2004 14:22:05 +0000 (14:22 -0000)]
this never happened. Forget it.

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

19 years ago2004-12-15 Lluis Sanchez Gual <lluis@ximian.com>
Lluis Sanchez [Wed, 15 Dec 2004 14:04:20 +0000 (14:04 -0000)]
2004-12-15  Lluis Sanchez Gual  <lluis@ximian.com>

* ObjectReader.cs: Use GetField instead of GetMembers. Properties can't
be serialized, so it makes no sense to use GetMembers.

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

19 years ago2004-12-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 15 Dec 2004 13:58:32 +0000 (13:58 -0000)]
2004-12-15  Atsushi Enomoto  <atsushi@ximian.com>

* xsdtest.cs : added --v2 option that uses XmlReader.Create()
  instead of XmlValidatingReader.

* XmlFilterReader.cs : don't expect XmlReaderSettings of its source.

* XmlSchemaValidatingReader.cs : xsi:* attributes are now handled via
  XmlSchemaValidator.ValidateElement().
  Removed some obsolete overrides.

* XmlReader.cs :
  Create() should assure NameTable!=null on creating XmlTextReader.
  Now use XmlSchemaValidatingReader for all xsd validation.
* XmlTextReader2.cs :
  Don't use input reader's Settings. It is null.
* XmlReaderSettings.cs : added XmlResolver.

* XmlSchemaSet.cs : set default resolver. Clear components before
  recompilation.
* XmlSchemaValidator.cs :
  SourceUri is System.Uri.
  GetUnspecifiedDefaultAttributes() is allowed only when it is inside
  start tag.
  Added AddSchema().
  Added duplicate attribute check.
  Added ValidateElement() that takes xsi:* parameters.
  (http://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackId=7fc38ea1-c306-4fb7-8631-0e174b0ff3c6)
  HandleXsiNil() now just takes string parameter.

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

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

* Thread.cs: don't bother serializing if the CultureInfo we're setting
has the same LCID as the CurrentCulture.

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

19 years ago2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 15 Dec 2004 13:03:45 +0000 (13:03 -0000)]
2004-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpApplication.cs: reread application CultureInfo as
web.config might have changed. Fixes bug #62539.

* System.Web.Configuration/WebConfigurationSettings.cs: correctly
detect web.config changes.

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

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

* HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.

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

19 years ago- Updated to reflect Mac Driver; added mention of System.Drawing patches
Peter Dennis Bartok [Wed, 15 Dec 2004 10:48:57 +0000 (10:48 -0000)]
- Updated to reflect Mac Driver; added mention of System.Drawing patches
  for MWF support
- Credited Geoff Norton with the Mac driver

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

19 years agoWed Dec 15 11:34:13 CET 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 15 Dec 2004 10:32:58 +0000 (10:32 -0000)]
Wed Dec 15 11:34:13 CET 2004 Paolo Molaro <lupus@ximian.com>

* ModuleBuilder.cs, EnumBuilder.cs: actually add the enumbuilder
to the type list of the module (bug#70488).

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

19 years ago* configure.in ($mcsdir/build/config.make): Use $mcsdir relative
Raja R Harinath [Wed, 15 Dec 2004 09:30:42 +0000 (09:30 -0000)]
* configure.in ($mcsdir/build/config.make): Use $mcsdir relative
to the $srcdir.  Fix definition of 'prefix'.

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

19 years ago Commit correct versions of files.
Jackson Harper [Wed, 15 Dec 2004 08:48:53 +0000 (08:48 -0000)]
Commit correct versions of files.

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

19 years ago * System.Windows.Forms.dll.sources: Add keyboard love to the build.
Jackson Harper [Wed, 15 Dec 2004 08:44:34 +0000 (08:44 -0000)]
* System.Windows.Forms.dll.sources: Add keyboard love to the build.

* X11Structs.cs: Add key mask values
* XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
* X11Keyboard.cs: New file - Extrapolates and interpolates key
down/up foo into WM_CHAR foo
* KeyboardLayouts.cs: Common keyboard layouts
* XplatUIX11.cs: Add the keyboard driver. Add functionality to
post messages into the main queue.

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

19 years ago2004-12-15 Massimiliano Mantione <massi@ximian.com>
Massimiliano Mantione [Wed, 15 Dec 2004 07:39:37 +0000 (07:39 -0000)]
2004-12-15  Massimiliano Mantione  <massi@ximian.com>

* mini.c: Fixed a subtle bug in mono_method_to_ir, about the
linking of BBs to the end BB, and enabled SSAPRE also with
consprop and copyprop (which was prevented by that bug).

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

19 years ago* XmlReaderSettingsTests.cs (DefaultValue): Update DtdValidate and
Raja R Harinath [Wed, 15 Dec 2004 06:54:06 +0000 (06:54 -0000)]
* XmlReaderSettingsTests.cs (DefaultValue): Update DtdValidate and
XsdValidate references to use ValidationType.

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

19 years agoshhh
Ben Maurer [Wed, 15 Dec 2004 00:08:35 +0000 (00:08 -0000)]
shhh

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

19 years ago * Compiler.cs: mcs writes to stderr now. Also read stdout so we
Jackson Harper [Tue, 14 Dec 2004 21:46:24 +0000 (21:46 -0000)]
* Compiler.cs: mcs writes to stderr now. Also read stdout so we
do not block if mcs writes a lot of data to is.

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

19 years agoless unsafe code
Ben Maurer [Tue, 14 Dec 2004 21:45:35 +0000 (21:45 -0000)]
less unsafe code

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

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