mono.git
20 years ago * parser.cs: Allow creating a regular expression using {,n} as the
Jackson Harper [Tue, 25 May 2004 17:29:44 +0000 (17:29 -0000)]
    * parser.cs: Allow creating a regular expression using {,n} as the
specified. The min bounds is set to -1, I am not completely sure
if that is what it is supposed to be but MS does not set it to 0
based on testing. Patch by dave-gnome-bugs@earth.li. Fixes bug
#56761.

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

20 years ago2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 25 May 2004 17:10:39 +0000 (17:10 -0000)]
2004-05-25  Sebastien Pouliot  <sebastien@ximian.com>

* String.cs: Fixed reported exception for PadLeft|Right. Fixed
possible integer overflow in methods that takes index and count
as parameters.

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

20 years agofix name
Jackson Harper [Tue, 25 May 2004 17:05:32 +0000 (17:05 -0000)]
fix name

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

20 years ago2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 May 2004 16:49:14 +0000 (16:49 -0000)]
2004-05-25  Atsushi Enomoto  <atsushi@ximian.com>

* culture-info-tables.h: reflecting locale-builder updates.

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

20 years ago2004-05-25 18:30 CET Patrik Torstensson <totte@hiddenpeaks.com>
Patrik Torstensson [Tue, 25 May 2004 16:45:08 +0000 (16:45 -0000)]
2004-05-25 18:30 CET Patrik Torstensson <totte@hiddenpeaks.com>

* configure.in: Check for trunc instead of truncl (HAVE_TRUNC)

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

20 years agoadded wrapmode examples
Jordi Mas i Hernandez [Tue, 25 May 2004 16:08:52 +0000 (16:08 -0000)]
added wrapmode examples

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

20 years ago2004-05-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 May 2004 15:44:12 +0000 (15:44 -0000)]
2004-05-26  Atsushi Enomoto  <atsushi@ximian.com>

* supp/pl.xml,
  supp/ja.xml : Added overriding formats. pl.xml fixes bug #58186.

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

20 years ago * Makefile.am: Extract xml files.
Jackson Harper [Tue, 25 May 2004 15:41:50 +0000 (15:41 -0000)]
    * Makefile.am: Extract xml files.

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

20 years ago * locales.c: When creating the current culture use the $LANGs
Jackson Harper [Tue, 25 May 2004 15:17:00 +0000 (15:17 -0000)]
    * locales.c: When creating the current culture use the $LANGs
specific culture. So DateTimeFormat and NumberFormat entries are created.

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

20 years ago2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 25 May 2004 14:25:57 +0000 (14:25 -0000)]
2004-05-25  Sebastien Pouliot  <sebastien@ximian.com>

* StringTest.cs: Added tests for special cases like
s.LastIndexOf ('o', s.Length, 1) fail but
s.LastIndexOf ("o", s.Length, 1) works.

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

20 years ago * XmlSerializationReader.cs: Check for empty element when reading an array
Lluis Sanchez [Tue, 25 May 2004 13:49:22 +0000 (13:49 -0000)]
* XmlSerializationReader.cs: Check for empty element when reading an array
  element. This fixes bug #59003. Thanks Atsushi!

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

20 years ago2004-05-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 25 May 2004 13:23:36 +0000 (13:23 -0000)]
2004-05-25  Zoltan Varga  <vargaz@freemail.hu>

* String.cs: Add new Strcpy icalls which take a char array as
parameter.

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

20 years ago2004-05-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 25 May 2004 13:19:38 +0000 (13:19 -0000)]
2004-05-25  Zoltan Varga  <vargaz@freemail.hu>

* string-icalls.{h,c} icalls.c: Add new icalls for Strcpy which take
a char array as parameter.

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

20 years ago2004-05-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 25 May 2004 13:13:09 +0000 (13:13 -0000)]
2004-05-25  Zoltan Varga  <vargaz@freemail.hu>

* jit-icalls.c: Remove the broken approximation for truncl, doing
no conversion is better.

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

20 years ago2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 25 May 2004 12:56:02 +0000 (12:56 -0000)]
2004-05-25  Sebastien Pouliot  <sebastien@ximian.com>

* ConvertTest.cs: New tests for prefixed hexadecimal strings and
negative byte convertion.
* StringTest.cs: Added new tests for integer overflow and negatives.

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

20 years ago2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 May 2004 12:44:48 +0000 (12:44 -0000)]
2004-05-25  Atsushi Enomoto <atsushi@ximian.com>

* DateTime.cs : added more invariant format patterns. This should
  really fix bug #57656.

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

20 years agoNew test
Marek Safar [Tue, 25 May 2004 12:43:41 +0000 (12:43 -0000)]
New test

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

20 years ago2004-05-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 25 May 2004 12:29:28 +0000 (12:29 -0000)]
2004-05-25  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (handle_stack_args): Avoid reusing variables for stack slots.
Fixes #58863.

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

20 years ago2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>
Patrik Torstensson [Tue, 25 May 2004 12:28:09 +0000 (12:28 -0000)]
2004-05-25 14:14 CET Patrik Torstensson <totte@hiddenpeaks.com>

* BitConverter.cs (ToBoolean): Return true or false instead
of unsafe returing byte as bool. Fixes bug #58874.

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

20 years ago2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 May 2004 12:21:51 +0000 (12:21 -0000)]
2004-05-25  Atsushi Enomoto <atsushi@ximian.com>

* DateTime.cs : In ToString(string, IFormatProvider), use "G" if
  string format argument is null. This should fix bug #57656.

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

20 years ago* BindingCollection.cs: Fixed this[string] property.
Lluis Sanchez [Tue, 25 May 2004 12:18:31 +0000 (12:18 -0000)]
* BindingCollection.cs: Fixed this[string] property.

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

20 years agoTue May 25 14:33:56 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 25 May 2004 11:55:12 +0000 (11:55 -0000)]
Tue May 25 14:33:56 CEST 2004 Paolo Molaro <lupus@ximian.com>

* mini-ops.h, mini-ppc.c, cpu-g4.md, inssel-ppc.brg: eliminate the use
of the mcrxr instruction which is not available on some processors
even if it's documented to be. Implement add and sub overflow correctly
(still not complete for long unsigned). Speed up icalls a bit.

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

20 years ago* HttpServerChannel.cs: Take unused port if the provided prot is 0.
Lluis Sanchez [Tue, 25 May 2004 11:34:08 +0000 (11:34 -0000)]
* HttpServerChannel.cs: Take unused port if the provided prot is 0.

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

20 years ago2004-05-25 13:01 CET Patrik Torstenson <totte@hiddenpeaks.com>
Patrik Torstensson [Tue, 25 May 2004 11:15:40 +0000 (11:15 -0000)]
2004-05-25 13:01 CET Patrik Torstenson <totte@hiddenpeaks.com>

* mini.c (mono_jit_compile_method_with_opt): Make sure that
we run .cctor in the current domain instead of target_domain.

Fixes bug #58558, .cctor not being called in -O=shared.

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

20 years ago * Version.cs: Rename of data fields to match those in Microsoft.NET.
Lluis Sanchez [Tue, 25 May 2004 10:25:06 +0000 (10:25 -0000)]
* Version.cs: Rename of data fields to match those in Microsoft.NET.
  Patch by PAF@design.ru.

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

20 years agoMore tests for div, rem.
Paolo Molaro [Tue, 25 May 2004 10:13:30 +0000 (10:13 -0000)]
More tests for div, rem.

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

20 years agoTue May 25 12:46:50 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 25 May 2004 10:02:28 +0000 (10:02 -0000)]
Tue May 25 12:46:50 CEST 2004 Paolo Molaro <lupus@ximian.com>

* mini-ppc.h, jit-icalls.c: added explicit checks for divide by zero.

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

20 years ago * ScriptCompilerInfo.cs: the name used to load the Microsoft.JScript
Lluis Sanchez [Tue, 25 May 2004 09:09:33 +0000 (09:09 -0000)]
    * ScriptCompilerInfo.cs: the name used to load the Microsoft.JScript
          assembly should not include the .dll extension.

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

20 years agoNew tests
Marek Safar [Tue, 25 May 2004 08:35:08 +0000 (08:35 -0000)]
New tests

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

20 years ago2004-05-25 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 25 May 2004 06:14:42 +0000 (06:14 -0000)]
2004-05-25  Atsushi Enomoto <atsushi@ximian.com>

* PrintDialog.cs : Build fix related to win32functions.cs changes.

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

20 years ago2004-05-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 25 May 2004 04:01:54 +0000 (04:01 -0000)]
2004-05-25  Miguel de Icaza  <miguel@ximian.com>

* location.cs: In the new compiler listing a file twice is a
warning, not an error.

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

20 years ago2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 25 May 2004 00:49:50 +0000 (00:49 -0000)]
2004-05-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Data.OracleClient/OracleCommand.cs:
* System.Data.OracleClient/OracleDataReader.cs:
* System.Data.OracleClient.Oci/OciStatementHandle.cs: patch by Eduard
Nesiba that implements autocommit behavior for non query statement
which is out of transaction. In previous implementation changed rows
stayed locked until client disconnect and hasRows proper settings.

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

20 years ago2004-05-24 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 25 May 2004 00:30:53 +0000 (00:30 -0000)]
2004-05-24  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* StrictEquality.cs, JSFieldInfo.cs: got it back to Microsoft.JScript namespace.

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

20 years ago2004-05-24 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 25 May 2004 00:29:10 +0000 (00:29 -0000)]
2004-05-24  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* StrictEquality.cs: got it back to Microsoft.JScript namespace.

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

20 years agoupdates from grammar changes
César Natarén [Tue, 25 May 2004 00:27:54 +0000 (00:27 -0000)]
updates from grammar changes

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

20 years ago2004-05-24 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 25 May 2004 00:25:44 +0000 (00:25 -0000)]
2004-05-24  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* Statement.cs: Added code generation support for 'switch' statement.

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

20 years ago2004-05-24 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 25 May 2004 00:23:59 +0000 (00:23 -0000)]
2004-05-24  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>
* Added switch.js

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

20 years ago2004-05-24 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 25 May 2004 00:21:16 +0000 (00:21 -0000)]
2004-05-24  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g: added 'using' for
System.Collections. Allow 'switch' statement building of its
ast. Added parent parameter to constructor of With. Build
inside_for ast.

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

20 years ago2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 25 May 2004 00:15:15 +0000 (00:15 -0000)]
2004-05-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DateTimeTest.cs: test for bug 56436.

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

20 years ago2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 25 May 2004 00:14:20 +0000 (00:14 -0000)]
2004-05-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DateTime.cs: allow double quotes in the formats. Don't set
next_not_digit to true in presence of single or double quotes. Patch by
Martin Probst.

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

20 years ago- Added ActiveMdiChild method
Peter Dennis Bartok [Tue, 25 May 2004 00:04:10 +0000 (00:04 -0000)]
- Added ActiveMdiChild method

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

20 years ago- Fixed translation of wine pathnames to their unix counterpart
Peter Dennis Bartok [Mon, 24 May 2004 23:34:20 +0000 (23:34 -0000)]
- Fixed translation of wine pathnames to their unix counterpart
- Added loading of comdlg32 for wine to enable usage of common dialogs.
- Moved the comdlg32 functions into the Win32 section

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

20 years ago2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 24 May 2004 21:56:42 +0000 (21:56 -0000)]
2004-05-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DirectoryTest.cs: added test from bug 58875.

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

20 years agono more IsEmptyString
Gonzalo Paniagua Javier [Mon, 24 May 2004 21:49:55 +0000 (21:49 -0000)]
no more IsEmptyString

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

20 years ago2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 24 May 2004 21:36:27 +0000 (21:36 -0000)]
2004-05-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Directory.cs: ERROR_FILE_NOT_FOUND in FindFirstFile means there are
no files, but the directory was found. Fixes bug #58875.

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

20 years ago2004-05-24 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 24 May 2004 20:57:39 +0000 (20:57 -0000)]
2004-05-24 Ben Maurer  <bmaurer@users.sourceforge.net>

* mini-x86.c (EMIT_COND_BRANCH): If an OP_LABEL has an offset
which can be done with an imm8, do it that way.
(mono_arch_output_basic_block): ditto for a jmp
(mono_arch_emit_prolog): Computate maximum offset of a label.

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

20 years ago(Close): Remember to set the 'closed' flag.
Duncan Mak [Mon, 24 May 2004 20:29:04 +0000 (20:29 -0000)]
(Close): Remember to set the 'closed' flag.

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

20 years agoFix embarrassing typo.
Duncan Mak [Mon, 24 May 2004 20:27:58 +0000 (20:27 -0000)]
Fix embarrassing typo.

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

20 years ago2004-05-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 24 May 2004 20:15:47 +0000 (20:15 -0000)]
2004-05-24  Sebastien Pouliot  <sebastien@ximian.com>

* StreamReader.cs: Add checks for null encoding. Fixed possible integer
overflow and ArgumentNullException in Read.

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

20 years ago2004-05-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 24 May 2004 20:15:03 +0000 (20:15 -0000)]
2004-05-24  Martin Baulig  <martin@ximian.com>

* enum.cs (Enum.DefineType): For the `BaseType' to be a
TypeLookupExpression; otherwise, report a CS1008.  Fixes #58571.

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

20 years ago2004-05-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 24 May 2004 20:13:55 +0000 (20:13 -0000)]
2004-05-24  Sebastien Pouliot  <sebastien@ximian.com>

* StreamReaderTest.cs: New tests for integer overflow and null handling

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

20 years agoNew test.
Martin Baulig [Mon, 24 May 2004 20:13:16 +0000 (20:13 -0000)]
New test.

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

20 years ago* DirectoryInfo.cs:
Duncan Mak [Mon, 24 May 2004 19:49:18 +0000 (19:49 -0000)]
* DirectoryInfo.cs:
* FileInfo.cs: Reformat the whole file to use DOS line endings.
(MoveTo): Return if the destination of Move is the same as the file's
current location.

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

20 years ago2004-05-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 24 May 2004 19:41:33 +0000 (19:41 -0000)]
2004-05-24  Martin Baulig  <martin@ximian.com>

* decl.cs (DeclSpace.FindType): Try doing an alias lookup before
walking the `using' list.  Fixes #53921.

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

20 years ago2004-05-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 24 May 2004 19:37:17 +0000 (19:37 -0000)]
2004-05-24  Martin Baulig  <martin@ximian.com>

* test-260.cs: New test for #53921.

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

20 years ago2004-05-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 24 May 2004 19:29:11 +0000 (19:29 -0000)]
2004-05-24  Sebastien Pouliot  <sebastien@ximian.com>

* StreamWriter.cs: Add dispose check to Write(char) and Write(char[]),
AutoFlush. Fixed possible integer overflow in Write(char[],int,int).

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

20 years ago2004-05-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 24 May 2004 19:27:51 +0000 (19:27 -0000)]
2004-05-24  Sebastien Pouliot  <sebastien@ximian.com>

* StreamWriterTest.cs: New tests for integer overflow, disposed
exceptions and null handling.

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

20 years agoRemove debug messages
Duncan Mak [Mon, 24 May 2004 19:17:23 +0000 (19:17 -0000)]
Remove debug messages

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

20 years ago2004-05-22 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 24 May 2004 18:45:35 +0000 (18:45 -0000)]
2004-05-22  Duncan Mak  <duncan@ximian.com>

* Directory.cs: Reformat the whole file to use Unix line endings
for consistency.
(GetFileSystemEntries): If pattern is String.Empty, always
return an empty string array. Throw the ArgumentException if path
is an empty string (determined using the new helper method)
(IsEmptyString): Returns true on an empty string or a string with
only whitespace characters.

* Path.cs (GetPathRoot): Throw an ArgumentException if the path
argument is String.Empty.

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

20 years agoInner release
Miguel de Icaza [Mon, 24 May 2004 18:28:03 +0000 (18:28 -0000)]
Inner release

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

20 years ago- Added loading of common dialog dll
Peter Dennis Bartok [Mon, 24 May 2004 18:24:38 +0000 (18:24 -0000)]
- Added loading of common dialog dll

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

20 years ago2004-05-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 24 May 2004 18:24:29 +0000 (18:24 -0000)]
2004-05-24  Sebastien Pouliot  <sebastien@ximian.com>

* StringWriter.cs: Fixed possible integer overflow in Write. Changed
spaces for tabs.

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

20 years ago2004-05-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 24 May 2004 18:21:08 +0000 (18:21 -0000)]
2004-05-24  Sebastien Pouliot  <sebastien@ximian.com>

* StringWriterTest.cs: New tests for integer overflow and disposed
exceptions.

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

20 years ago2004-05-24 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Mon, 24 May 2004 17:52:43 +0000 (17:52 -0000)]
2004-05-24  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* With.cs: code generation support for 'with' stm.

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

20 years ago * image.c: In mono_image_open(), always use an absolute path name to
Lluis Sanchez [Mon, 24 May 2004 16:40:10 +0000 (16:40 -0000)]
* image.c: In mono_image_open(), always use an absolute path name to
  look for already loaded images.

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

20 years ago2004-05-24 18:18 CET Patrik Torstenson <totte@hiddenpeaks.com>
Patrik Torstensson [Mon, 24 May 2004 16:38:32 +0000 (16:38 -0000)]
2004-05-24 18:18 CET Patrik Torstenson <totte@hiddenpeaks.com>

* mini-x86.c (mono_arch_local_regalloc): the reg allocator
now tries to allocate prefered physical reg's for virtual
regs. This reduces the number of emited spills/loads with
20-30% on our core assemblies.

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

20 years ago2004-05-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 24 May 2004 16:35:10 +0000 (16:35 -0000)]
2004-05-24  Martin Baulig  <martin@ximian.com>

* test-259.cs: New test for #55251.

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

20 years ago2004-05-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 24 May 2004 16:34:42 +0000 (16:34 -0000)]
2004-05-24  Martin Baulig  <martin@ximian.com>

* const.cs (Const.LookupConstantValue): Added support for
EmptyCast's; fixes #55251.

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

20 years ago2004-05-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 24 May 2004 16:17:38 +0000 (16:17 -0000)]
2004-05-24  Martin Baulig  <martin@ximian.com>

* test-258.cs: New test for #58584.

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

20 years ago2004-05-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 24 May 2004 15:39:39 +0000 (15:39 -0000)]
2004-05-24  Sebastien Pouliot  <sebastien@ximian.com>

* MemoryStream.cs: Fixed exception reporting to match MS Fx. Fixed the
condition to allow zeroization of existing data when we shrink the
stream.

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

20 years agoMon May 24 18:21:51 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 24 May 2004 15:38:19 +0000 (15:38 -0000)]
Mon May 24 18:21:51 CEST 2004 Paolo Molaro <lupus@ximian.com>

* jit-icalls.c: truncl() is not needed and trunc() is
the correct thing to do anyway (bug #58287).

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

20 years ago2004-05-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 24 May 2004 15:36:14 +0000 (15:36 -0000)]
2004-05-24  Sebastien Pouliot  <sebastien@ximian.com>

* MemoryStreamTest.cs: Test that we zeroize old data when we manipulate
the length of the stream. Verify that we throw the same exceptions as
MS fx.

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

20 years ago2004-05-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 24 May 2004 15:34:49 +0000 (15:34 -0000)]
2004-05-24  Martin Baulig  <martin@ximian.com>

* ecore.cs (SimpleName.SimpleNameResolve): Renamed to
DoSimpleNameResolve() and provide a SimpleNameResolve() wrapper
which does the CS0135 check.  The reason is that we first need to
check whether the variable actually exists.

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

20 years ago2004-05-24 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 24 May 2004 15:09:12 +0000 (15:09 -0000)]
2004-05-24  Martin Baulig  <martin@ximian.com>

* class.cs (MemberBase.DoDefine): Use DeclSpace.FindType() rather
than RootContext.LookupType() to find the explicit interface
type.  Fixes #58584.

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

20 years agoFew tests on property grammar
Anirban Bhattacharjee [Mon, 24 May 2004 14:48:13 +0000 (14:48 -0000)]
Few tests on property grammar

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

20 years ago* class.cs: Check for ReadOnly and WriteOnly modifiers added to property
Anirban Bhattacharjee [Mon, 24 May 2004 14:41:36 +0000 (14:41 -0000)]
* class.cs: Check for ReadOnly and WriteOnly modifiers added to property

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

20 years ago * mb-paresr.jay: Support for abstruct property is added
Anirban Bhattacharjee [Mon, 24 May 2004 14:37:20 +0000 (14:37 -0000)]
 * mb-paresr.jay: Support for abstruct property is added

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

20 years ago2004-05-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 24 May 2004 14:32:56 +0000 (14:32 -0000)]
2004-05-24  Sebastien Pouliot  <sebastien@ximian.com>

* icall.c: Added define for CSIDL_FLAG_CREATE (0x8000) in case it is
missing in the windows build (like older cygwin include files).

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

20 years ago * SoapClientMessage.cs: Get the MethodInfo from the corresponding
Lluis Sanchez [Mon, 24 May 2004 14:03:37 +0000 (14:03 -0000)]
* SoapClientMessage.cs: Get the MethodInfo from the corresponding
  SoapMethodStubInfo.

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

20 years ago2004-05-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 24 May 2004 12:59:48 +0000 (12:59 -0000)]
2004-05-24  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.c (mono_arch_flush_icache): Call sync_instruction_memory
if available.

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

20 years ago2004-05-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 24 May 2004 12:56:12 +0000 (12:56 -0000)]
2004-05-24  Zoltan Varga  <vargaz@freemail.hu>

* AppDomainSetup.cs (InitAppDomainSetup): This one returns void.

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

20 years ago * Driver.cs: Filter on GetFiles so we only get the xml locale
Jackson Harper [Mon, 24 May 2004 12:52:23 +0000 (12:52 -0000)]
    * Driver.cs: Filter on GetFiles so we only get the xml locale
          files.

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

20 years ago * StringCollection.cs: Renamed internal variable to make serialization
Lluis Sanchez [Mon, 24 May 2004 11:33:48 +0000 (11:33 -0000)]
* StringCollection.cs: Renamed internal variable to make serialization
  compatible with MS.NET.

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

20 years ago * Hashtable.cs: Renamed internal class to make serialization compatible
Lluis Sanchez [Mon, 24 May 2004 11:20:08 +0000 (11:20 -0000)]
* Hashtable.cs: Renamed internal class to make serialization compatible
  with MS.NET.

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

20 years ago2004-05-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 24 May 2004 11:14:46 +0000 (11:14 -0000)]
2004-05-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Page.cs: call DeterminePostBackMode only once per request. Patch by
Evain Jb.

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

20 years agoMon May 24 13:36:53 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 24 May 2004 10:57:38 +0000 (10:57 -0000)]
Mon May 24 13:36:53 CEST 2004 Paolo Molaro <lupus@ximian.com>

* monograph.c: default assembly name is "mscorlib" now.

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

20 years ago * ContractReference.cs: convert relative import uris to absolute uris.
Lluis Sanchez [Mon, 24 May 2004 10:44:17 +0000 (10:44 -0000)]
* ContractReference.cs: convert relative import uris to absolute uris.
* DiscoveryClientProtocol.cs: Before resolving a reference, always
  set the Url property.

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

20 years ago* ProtocolImporter.cs: issue a warning if no services have been found.
Lluis Sanchez [Mon, 24 May 2004 10:42:05 +0000 (10:42 -0000)]
* ProtocolImporter.cs: issue a warning if no services have been found.

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

20 years ago2004-05-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 24 May 2004 10:40:09 +0000 (10:40 -0000)]
2004-05-24  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaBuiltInDataypeTests.cs : 'Z' is not allowed here (maybe it
  is 'T' that was wanted). More kind error message in Fail().

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

20 years ago* MonoWSDL.cs: Get the name of the generated file from the first WSDL doc
Lluis Sanchez [Mon, 24 May 2004 10:39:05 +0000 (10:39 -0000)]
* MonoWSDL.cs: Get the name of the generated file from the first WSDL doc
that has a service. Don't print exception on error.

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

20 years ago* Makefile: Simplify. Use executable.make.
Raja R Harinath [Mon, 24 May 2004 10:37:00 +0000 (10:37 -0000)]
* Makefile: Simplify.  Use executable.make.
* mcs.exe.sources: New file.  List of sources of mcs.exe.

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

20 years agoMon May 24 12:49:45 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 24 May 2004 10:10:28 +0000 (10:10 -0000)]
Mon May 24 12:49:45 CEST 2004 Paolo Molaro <lupus@ximian.com>

* driver.c: enable loop optimizations by default.

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

20 years ago(EXTRA_FLAGS): Remove.
Raja R Harinath [Mon, 24 May 2004 09:33:14 +0000 (09:33 -0000)]
(EXTRA_FLAGS): Remove.
(LIBRARY_COMPILE) [!HAVE_SYSTEM_XML]: Use $(BOOT_COMPILE) for
non-Xml first build.
(all-local) [!SECOND_PASS]: Simplify.

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

20 years ago* library.make (LIBRARY_COMPILE): New define.
Raja R Harinath [Mon, 24 May 2004 09:30:22 +0000 (09:30 -0000)]
* library.make (LIBRARY_COMPILE): New define.
($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).

* executable.make (uninstall-local): Use PROGRAM_INSTALL_DIR.

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

20 years agoremove unnecessary code, since bug 57706 is fixed
Jordi Mas i Hernandez [Mon, 24 May 2004 09:29:54 +0000 (09:29 -0000)]
remove unnecessary code, since bug 57706 is fixed

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

20 years ago(PROGRAM_INSTALL_DIR): Install mbas into
Raja R Harinath [Mon, 24 May 2004 08:45:19 +0000 (08:45 -0000)]
(PROGRAM_INSTALL_DIR): Install mbas into
$(prefix)/lib/mono/1.0.

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

20 years ago(PROGRAM_INSTALL_DIR): Allow makefile to specify
Raja R Harinath [Mon, 24 May 2004 08:43:27 +0000 (08:43 -0000)]
(PROGRAM_INSTALL_DIR): Allow makefile to specify
a different directory for installation.

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

20 years agoMon May 24 11:13:46 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 24 May 2004 08:35:20 +0000 (08:35 -0000)]
Mon May 24 11:13:46 CEST 2004 Paolo Molaro <lupus@ximian.com>

* mini-x86.c: fix calc of max loop size when aligning loops start.

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

20 years ago2004-05-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 24 May 2004 07:45:24 +0000 (07:45 -0000)]
2004-05-24  Atsushi Enomoto <atsushi@ximian.com>

* NamedNodeMap.cs : Modified. "domestic or street" does not mean
  the exact literal node name, but it means "either 'domestic' or
  'street'". We always return fixed values.

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

20 years ago2004-05-24 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 24 May 2004 07:44:24 +0000 (07:44 -0000)]
2004-05-24  Atsushi Enomoto <atsushi@ximian.com>

* Document.cs : am sure that element nodes are up to 36, not 37
  (maybe counting the element that is in unused entity value?).

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