Sebastien Pouliot [Wed, 26 May 2004 00:25:00 +0000 (00:25 -0000)]
2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
* Removed old files from previous Nunit versions.
svn path=/trunk/mcs/; revision=28101
Sebastien Pouliot [Wed, 26 May 2004 00:23:03 +0000 (00:23 -0000)]
2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
* Update to existing files and new files for NUnit 2.1.91.
svn path=/trunk/mcs/; revision=28100
Sebastien Pouliot [Wed, 26 May 2004 00:20:24 +0000 (00:20 -0000)]
2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
Removed old files (most have been move to other assemblies).
svn path=/trunk/mcs/; revision=28099
Sebastien Pouliot [Wed, 26 May 2004 00:12:18 +0000 (00:12 -0000)]
2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
* Imported NUnit 2.1.91 (2.2 beta) source code for new assembly.
svn path=/trunk/mcs/; revision=28098
Sebastien Pouliot [Wed, 26 May 2004 00:05:37 +0000 (00:05 -0000)]
2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
* nunit.key: New. NUnit private key. Due to build issues the key
must be present in this directory.
svn path=/trunk/mcs/; revision=28097
Jordi Mas i Hernandez [Tue, 25 May 2004 23:33:31 +0000 (23:33 -0000)]
fixes compilation problem under win32 using csc
svn path=/trunk/mcs/; revision=28096
Gonzalo Paniagua Javier [Tue, 25 May 2004 22:27:41 +0000 (22:27 -0000)]
2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* OracleType.cs: fixed values for Int16 and Int32. Thanks to Artem
Zabytin for reporting this.
svn path=/trunk/mcs/; revision=28092
Jackson Harper [Tue, 25 May 2004 22:27:08 +0000 (22:27 -0000)]
* PEAPI.cs: Set the has default flag on fields when a default data
constant is assigned to them.
svn path=/trunk/mcs/; revision=28091
Gonzalo Paniagua Javier [Tue, 25 May 2004 22:23:23 +0000 (22:23 -0000)]
2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Makefile.am: don't distribute generated inssel.[ch] files.
svn path=/trunk/mono/; revision=28090
Jackson Harper [Tue, 25 May 2004 22:09:24 +0000 (22:09 -0000)]
* PEAPI.cs: Encode string constants as unicode before putting them
in the blob.
svn path=/trunk/mcs/; revision=28089
Gonzalo Paniagua Javier [Tue, 25 May 2004 21:28:41 +0000 (21:28 -0000)]
2004-05-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* IPAddress.cs:
* IPEndPoint.cs:
* IPv6Address.cs: no more warnings about IPAddress.Address.
svn path=/trunk/mcs/; revision=28086
Martin Baulig [Tue, 25 May 2004 21:15:23 +0000 (21:15 -0000)]
2004-05-25 Martin Baulig <martin@ximian.com>
* expression.cs
(MethodGroupExpr.IdenticalTypeName): New public property.
(Invocation.DoResolve): Don't report a CS0176 if the "instance"
expression actually refers to a type.
svn path=/trunk/mcs/; revision=28084
Gonzalo Paniagua Javier [Tue, 25 May 2004 21:12:04 +0000 (21:12 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=28083
Gonzalo Paniagua Javier [Tue, 25 May 2004 20:59:53 +0000 (20:59 -0000)]
2004-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web/HttpApplication.cs: set culture/uiculture from
configuration and restore it after each step. Fixes bug #52851.
* System.Web.Configuration/GlobalizationConfiguration.cs: if we have no
context, use GetAppConfig instead of GetConfig.
svn path=/trunk/mcs/; revision=28081
Ben Maurer [Tue, 25 May 2004 20:18:36 +0000 (20:18 -0000)]
2004-05-25 Ben Maurer <bmaurer@users.sourceforge.net>
* config.h.in: remove
svn path=/trunk/mono/; revision=28080
Martin Baulig [Tue, 25 May 2004 20:18:25 +0000 (20:18 -0000)]
New test.
svn path=/trunk/mcs/; revision=28079
Martin Baulig [Tue, 25 May 2004 20:16:53 +0000 (20:16 -0000)]
2004-05-25 Martin Baulig <martin@ximian.com>
* expression.cs (Invocation.DoResolve): Applied Ben Maurer's patch
for #56176 and made it actually work.
svn path=/trunk/mcs/; revision=28078
Zoltan Varga [Tue, 25 May 2004 19:21:00 +0000 (19:21 -0000)]
2004-05-25 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_jit_compile_method_with_opt): Really emit icall wrappers
into the default appdomain. Fixes #58707.
svn path=/trunk/mono/; revision=28077
Sebastien Pouliot [Tue, 25 May 2004 18:59:35 +0000 (18:59 -0000)]
2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
* Array.cs: Fixed possible integer overflow.
* BitConverter.cs: Fixed a possible integer overflow in ToString.
svn path=/trunk/mcs/; revision=28070
Sebastien Pouliot [Tue, 25 May 2004 18:53:12 +0000 (18:53 -0000)]
2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
* MethodBuilder.cs: Now use FastNewGuidArray to create new random
Guids without using CryptoConfig. Speed up for MCS.
svn path=/trunk/mcs/; revision=28069
Sebastien Pouliot [Tue, 25 May 2004 18:51:22 +0000 (18:51 -0000)]
2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
* Guid.cs: Added an internal method to create a random Guid without
using CryptoConfig (which is heavy on first use). This is only used
in S.R.E.ModuleBuilder to speedup MCS compilation.
svn path=/trunk/mcs/; revision=28068
Martin Baulig [Tue, 25 May 2004 18:51:11 +0000 (18:51 -0000)]
2004-05-25 Martin Baulig <martin@ximian.com>
* ecore.cs (Expression.CacheTemporaries): Make this virtual.
(FieldExpr, PropertyExpr): Override and implement
CacheTemporaries. Fixes #52279.
svn path=/trunk/mcs/; revision=28067
Martin Baulig [Tue, 25 May 2004 18:49:36 +0000 (18:49 -0000)]
2004-05-25 Martin Baulig <martin@ximian.com>
* test-261.cs: New test for #52279.
svn path=/trunk/mcs/; revision=28066
Jackson Harper [Tue, 25 May 2004 18:46:37 +0000 (18:46 -0000)]
* PEAPI.cs: zero RVAs for abstract, runtime, and internal call
methods.
svn path=/trunk/mcs/; revision=28065
Zoltan Varga [Tue, 25 May 2004 18:29:18 +0000 (18:29 -0000)]
2004-05-25 Zoltan Varga <vargaz@freemail.hu>
* mono-codeman.c (mono_code_manager_invalidate): On x86, fill the
memory with 0xcc (x86 break).
svn path=/trunk/mono/; revision=28064
Zoltan Varga [Tue, 25 May 2004 18:18:22 +0000 (18:18 -0000)]
2004-05-25 Zoltan Varga <vargaz@freemail.hu>
* locales.c: Fix build.
svn path=/trunk/mono/; revision=28063
Sebastien Pouliot [Tue, 25 May 2004 17:59:05 +0000 (17:59 -0000)]
2004-05-25 Sebastien Pouliot <sebastien@ximian.com>
* ArrayTest.cs: Added tests to check for integer overflow in Clear,
Copy and Reverse.
* BitConverterTest.cs: Added test to check for possible integer
overflow in ToString (byte,int,int)
svn path=/trunk/mcs/; revision=28062
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
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
Jackson Harper [Tue, 25 May 2004 17:05:32 +0000 (17:05 -0000)]
fix name
svn path=/trunk/mono/; revision=28059
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
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
Jordi Mas i Hernandez [Tue, 25 May 2004 16:08:52 +0000 (16:08 -0000)]
added wrapmode examples
svn path=/trunk/mcs/; revision=28054
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
Jackson Harper [Tue, 25 May 2004 15:41:50 +0000 (15:41 -0000)]
* Makefile.am: Extract xml files.
svn path=/trunk/mono/; revision=28052
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
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
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
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
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
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
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
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
Marek Safar [Tue, 25 May 2004 12:43:41 +0000 (12:43 -0000)]
New test
svn path=/trunk/mcs/; revision=28040
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
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
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
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
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
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
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
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
Paolo Molaro [Tue, 25 May 2004 10:13:30 +0000 (10:13 -0000)]
More tests for div, rem.
svn path=/trunk/mono/; revision=28030
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
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
Marek Safar [Tue, 25 May 2004 08:35:08 +0000 (08:35 -0000)]
New tests
svn path=/trunk/mcs/; revision=28027
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
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
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
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
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
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
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
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
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
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
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
Peter Dennis Bartok [Tue, 25 May 2004 00:04:10 +0000 (00:04 -0000)]
- Added ActiveMdiChild method
svn path=/trunk/mcs/; revision=28010
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
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
Gonzalo Paniagua Javier [Mon, 24 May 2004 21:49:55 +0000 (21:49 -0000)]
no more IsEmptyString
svn path=/trunk/mcs/; revision=28006
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
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
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
Duncan Mak [Mon, 24 May 2004 20:27:58 +0000 (20:27 -0000)]
Fix embarrassing typo.
svn path=/trunk/mcs/; revision=28001
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
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
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
Martin Baulig [Mon, 24 May 2004 20:13:16 +0000 (20:13 -0000)]
New test.
svn path=/trunk/mcs/; revision=27997
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
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
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
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
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
Duncan Mak [Mon, 24 May 2004 19:17:23 +0000 (19:17 -0000)]
Remove debug messages
svn path=/trunk/mcs/; revision=27991
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
Miguel de Icaza [Mon, 24 May 2004 18:28:03 +0000 (18:28 -0000)]
Inner release
svn path=/trunk/mono/; revision=27988
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
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
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
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
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
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
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
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
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
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
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
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
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