mono.git
20 years ago2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 May 2004 18:28:21 +0000 (18:28 -0000)]
2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* appdomain.c: don't add stuff in the private search path that is
above the application base. If application base is not set, there's
no private search path.

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

20 years agoset parent of switch's clauses
César Natarén [Fri, 28 May 2004 18:25:53 +0000 (18:25 -0000)]
set parent of switch's clauses

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

20 years ago2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 May 2004 17:54:19 +0000 (17:54 -0000)]
2004-05-28  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Update version number for beta 2.

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

20 years ago2004-05-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 May 2004 17:43:38 +0000 (17:43 -0000)]
2004-05-28  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.h (MONO_ARCH_NEED_DIV_CHECK): Define this.

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

20 years ago2004-05-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 May 2004 17:27:16 +0000 (17:27 -0000)]
2004-05-28  Zoltan Varga  <vargaz@freemail.hu>

* cpu-sparc.md mini-sparc.c: Add overflow detection to div opcodes.

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

20 years ago2004-05-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 May 2004 17:26:37 +0000 (17:26 -0000)]
2004-05-28  Zoltan Varga  <vargaz@freemail.hu>

* pinvoke3.cs libtest.c: New tests for byref struct marshalling.

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

20 years ago2004-05-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 May 2004 17:23:50 +0000 (17:23 -0000)]
2004-05-28  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_managed_wrapper): Add proper support for
byref struct arguments in native->managed marshalling.

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

20 years agoUp
Miguel de Icaza [Fri, 28 May 2004 17:14:27 +0000 (17:14 -0000)]
Up

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

20 years ago2004-05-28 Patrik Torstensson <totte@hiddenpeaks.com>
Patrik Torstensson [Fri, 28 May 2004 16:22:40 +0000 (16:22 -0000)]
2004-05-28 Patrik Torstensson <totte@hiddenpeaks.com>

* mini.c (mono_jit_runtime_invoke): Init class in this
method instead of trusting mono_jit_compile_method to
do the work (because wrappers can be in object class)

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

20 years ago2004-05-28 Patrik Torstensson <totte@hiddenpeaks.com>
Patrik Torstensson [Fri, 28 May 2004 16:21:23 +0000 (16:21 -0000)]
2004-05-28 Patrik Torstensson <totte@hiddenpeaks.com>

* marshal.c (mono_marshal_get_runtime_invoke): correctly
cache methods using signature (special case for methods
that are value type or string class)

* image.c (mono_image_close): clean up allocated GSList's
in runtime_invoke_cache.

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

20 years ago2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 May 2004 16:18:18 +0000 (16:18 -0000)]
2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* mono-config.c: set the correct path for mono_cfg_dir on windows when
there's no MONO_CFG_DIR environment variable defined.

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

20 years ago2004-05-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 May 2004 16:14:00 +0000 (16:14 -0000)]
2004-05-28  Zoltan Varga  <vargaz@freemail.hu>

* AppDomain.cs (Load): Try loading from assemblyRef.CodeBase if exists.
Fixes #59189.

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

20 years ago2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 May 2004 15:27:12 +0000 (15:27 -0000)]
2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threads.c: windows version must be >= 0x0500 to include OpenThread.

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

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

* ConvertTest.cs: Added overflow testing for integer types convertion.

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

20 years ago2004-05-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 May 2004 13:27:01 +0000 (13:27 -0000)]
2004-05-28  Zoltan Varga  <vargaz@freemail.hu>

* static-constructor.cs: Add new regression test for bug #59193.

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

20 years ago2004-05-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 May 2004 13:18:11 +0000 (13:18 -0000)]
2004-05-28  Sebastien Pouliot  <sebastien@ximian.com>

* ConvertTest.cs: Removed extra 0 from ToInt16_MinValue.

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

20 years agoI forgot
Marek Safar [Fri, 28 May 2004 12:20:06 +0000 (12:20 -0000)]
I forgot
// Compiler options: -unsafe

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

20 years agonew test
Marek Safar [Fri, 28 May 2004 12:13:03 +0000 (12:13 -0000)]
new test

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

20 years ago * threadpool.c: Really wait for 500ms after the async call, even if the wait
Lluis Sanchez [Fri, 28 May 2004 12:00:35 +0000 (12:00 -0000)]
* threadpool.c: Really wait for 500ms after the async call, even if the wait
  is interrumped.
* threads.c: In mono_thread_manage, call OpenThread to ref each handle
  before waiting for it, and call CloseHandle after the wait to unref it.
  This will make sure that handles are not disposed too early.

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

20 years ago2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 May 2004 11:44:02 +0000 (11:44 -0000)]
2004-05-28  Atsushi Enomoto  <atsushi@ximian.com>

* DateTimeFormatInfo.cs : In fact GetAllDateTimePatterns() returns
  non-unique results.  Just reordered return values looking at MS
  invariant behavior.

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

20 years ago2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 May 2004 11:40:58 +0000 (11:40 -0000)]
2004-05-28  Atsushi Enomoto <atsushi@ximian.com>

* DateTime.cs : I reverted my fix by accident :(

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

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

* setenv.cs: Fix this after marshalling changes.

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

20 years ago2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 May 2004 11:00:50 +0000 (11:00 -0000)]
2004-05-28  Atsushi Enomoto <atsushi@ximian.com>

* DateTime.cs :
  - In ToString(), Don't use culture-dependent daynames to format
    Universal/RFC1123 date/time. Also, use FullDateTimePattern for 'U'.
  - Fixed GetDateTimeFormats () that generated incorrect 'U' value
    (since the format string is the same as 'F').

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

20 years ago * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
Ravindra [Fri, 28 May 2004 08:31:46 +0000 (08:31 -0000)]
* gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
rectangles.
* Graphics.cs: Implemented Dispose method and changed Draw/Fill
rectangles implementation (This is basically done to avoid lots
of brush and pen setup happening in libgdiplus.)

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

20 years ago2004-05-27 Joerg Rosenkranz <joergr@voelcker.com>
Joerg Rosenkranz [Fri, 28 May 2004 07:28:45 +0000 (07:28 -0000)]
2004-05-27 Joerg Rosenkranz <joergr@voelcker.com>

* System.Data.OracleClient/OracleCommandBuilder.cs:
Fixed namespace.
* System.Data.OracleClient.dll.sources:
Added OracleCommandBuilder.cs.

2004-05-26 Joerg Rosenkranz <joergr@voelcker.com>

* System.Data.OracleClient.Oci/OciDefineHandle.cs:
Merged in a fix send by Rogerio Pereira Araujo
<webmaster@cisnet.com.br>: Fixed a bug with NUMBER data type
when no parameter is passed to OracleCommand.

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

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

* DateTime.cs : don't adjust utc value in ToString(). It must output
  the same time value, just adding 'Z' for UTC.

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

20 years ago2004-05-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 May 2004 06:34:26 +0000 (06:34 -0000)]
2004-05-28  Atsushi Enomoto <atsushi@ximian.com>

* DateTime.cs : in 'Z' case, remove the 'Z' char from input before
  proceeding.

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

20 years ago2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 May 2004 03:24:49 +0000 (03:24 -0000)]
2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AppDomainSetup.cs: InitAppDomainSetup is not needed now.

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

20 years ago2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 May 2004 03:22:35 +0000 (03:22 -0000)]
2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* appdomain.c:
* appdomain.h:
* icall.c: removed
ves_icall_System_AppDomainSetup_InitAppDomainSetup as it's not
needed now.

* object.c: se the application_base only for the domain that
runs Main. Fixes bug #59216,

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

20 years ago2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 May 2004 02:57:33 +0000 (02:57 -0000)]
2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* appdomain.c:
* object.c: only the domain in which Main is run have
SetupInformation.ConfigurationFile set, so moved a few lines from
appdomain.c to object.c.

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

20 years ago2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 28 May 2004 02:30:23 +0000 (02:30 -0000)]
2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* appdomain.c: we tried to load [name].(dll|exe), but according
to bug #57710, we must also try [culture]/[name].(dll|exe) and
[culture]/[name]/[name](dll|exe). This patch fixes the bug.
There's a test case attached to bug #58922.

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

20 years ago2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 May 2004 02:04:36 +0000 (02:04 -0000)]
2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>

* ConvertTest.cs: Added tests for int16 limits in various bases.

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

20 years ago2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 May 2004 01:52:38 +0000 (01:52 -0000)]
2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>

* Convert.cs: Convert with a base parameter cannot parse negative
string numbers, even "-0".

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

20 years ago2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 May 2004 01:37:50 +0000 (01:37 -0000)]
2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>

* Byte.cs: Fixed parsing for "-0" which is valid for unsigned types.
* UInt16.cs: Fixed parsing for "-0" which is valid for unsigned types.
* UInt32.cs: Fixed parsing for "-0" which is valid for unsigned types.
* UInt64.cs: Fixed parsing for "-0" which is valid for unsigned types.

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

20 years ago2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 May 2004 01:22:52 +0000 (01:22 -0000)]
2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate.cs: Rethrow original exception when parsing X.509
certificates (inside a CryptographicException) so people can see if
their changes affects certificate decoding.

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

20 years ago2004-05-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 27 May 2004 23:19:35 +0000 (23:19 -0000)]
2004-05-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DigestClient.cs: cache the sessions based on address and
credentials, not only address. Added poor men's expiration to
the session cache. Fixes bug #59202.

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

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

* ConvertTest.cs: Mode complete tests for unsigned type convertion wrt
-0, base != 10, ...

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

20 years ago2004-05-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 27 May 2004 20:47:31 +0000 (20:47 -0000)]
2004-05-27  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.c (mono_arch_output_basic_block): Fix sub.imm.

* basic-long.cs: New regression test.

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

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

* ConvertTest.cs: Another case of -0 - so many to do things, so
many way to mess them...

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

20 years ago2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 May 2004 20:04:34 +0000 (20:04 -0000)]
2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>

* ConvertTest.cs: Added case where Convert.ToByte ("-0") is legal.

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

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

* SortedList.cs: Setting Capacity to 0 returns it to it's default
value (16).

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

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

* SortedListTest.cs: Test that setting Capacity to zero return the
capacity to it's initial default (16).

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

20 years ago2004-05-27 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 27 May 2004 19:42:01 +0000 (19:42 -0000)]
2004-05-27  Miguel de Icaza  <miguel@ximian.com>

* icall.c (ves_icall_System_Text_Encoding_InternalCodePage): The
test was broken, just make sure that codepage contains utf-8
string.

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

20 years agonew test
Marek Safar [Thu, 27 May 2004 19:26:33 +0000 (19:26 -0000)]
new test

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

20 years ago2004-05-27 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 27 May 2004 19:16:56 +0000 (19:16 -0000)]
2004-05-27  Marek Safar <marek.safar@seznam.cz>

* test-263.cs: New test.

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

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

* SortedList.cs: Added missing ICloneable support to internal
enumerator. Added Capacity to the synchronized version of SortedList.

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

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

* QueueTest.cs: Test for synchronized clones.
* SortedListTest.cs: Added cases for synchronized capacity and testing
the interface from the internal enumerator.

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

20 years ago2004-05-27 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 27 May 2004 18:44:14 +0000 (18:44 -0000)]
2004-05-27  Dick Porter  <dick@ximian.com>

* FileSystemInfo.cs: Take out the error checking in Refresh(), it
broke other stuff

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

20 years ago2004-05-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 27 May 2004 18:42:54 +0000 (18:42 -0000)]
2004-05-27  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Pass CC to libgc configure.

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

20 years ago2004-05-27 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 27 May 2004 18:03:16 +0000 (18:03 -0000)]
2004-05-27  Duncan Mak  <duncan@ximian.com>

* mono-find-provides.cs
* mono-find-requires.cs: Added. These are
helper tools to help RPM packaging.

* Makefile (Module): Add mono-rpm-helpers

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

20 years ago2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 May 2004 17:54:59 +0000 (17:54 -0000)]
2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>

* DateTimeFormatInfo.cs : 'U' is in fact the same as 'F' for pattern
  strings. Thanks to kangaroo for the hint.

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

20 years agoChangeLog entries
César Natarén [Thu, 27 May 2004 17:34:06 +0000 (17:34 -0000)]
ChangeLog entries

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

20 years agoupdates from grammar changes
César Natarén [Thu, 27 May 2004 17:31:43 +0000 (17:31 -0000)]
updates from grammar changes

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

20 years ago2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 May 2004 17:30:21 +0000 (17:30 -0000)]
2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>

* Queue.cs: Fixed Count for Queue.Synchronize (Queue.Synchronize (q)).

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

20 years agoallow continue ast building tree. fixed parent references at iteration_stm
César Natarén [Thu, 27 May 2004 17:29:57 +0000 (17:29 -0000)]
allow continue ast building tree. fixed parent references at iteration_stm

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

20 years agoadded parent parameter to Continue's constructor. Added parent_is_itr_stm
César Natarén [Thu, 27 May 2004 17:28:30 +0000 (17:28 -0000)]
added parent parameter to Continue's constructor. Added parent_is_itr_stm

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

20 years agoback to Microsoft.JScript namespace
César Natarén [Thu, 27 May 2004 17:18:04 +0000 (17:18 -0000)]
back to Microsoft.JScript namespace

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

20 years agoShut up gcc warnings
Dick Porter [Thu, 27 May 2004 17:06:15 +0000 (17:06 -0000)]
Shut up gcc warnings

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

20 years ago2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 May 2004 17:04:48 +0000 (17:04 -0000)]
2004-05-27  Atsushi Enomoto <atsushi@ximian.com>

* DateTime.cs :
  - Added "yyyy/MM/dd HH:mm:ss 'GMT'" and "yyyy-MM-dd HH:mm:ss 'GMT'"
    to common formats (yes, I know it is nothing more than hack)
  - Fixed some GetDateTimeFormats() that just returned patterns.
  - For InvariantCulture, now try both supported formats and our
    predefined formats.
  - It was accepting incorrectly extraneous characters. That caused
    some UTC/non-UTC bug.
  - RFC1123 string should return universal time. Uncomment again (the
    problem should went away because of the extra characters fix above.

    With some of the changes above, fixed bug #47720.

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

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

* DateTimeFormatInfo.cs : Fixed longtimes and shorttimes (exchanged).

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

20 years ago2004-05-27 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 27 May 2004 16:25:27 +0000 (16:25 -0000)]
2004-05-27  Dick Porter  <dick@ximian.com>

* MonoIO.cs: Define icalls for Lock() and Unlock()

* FileStream.cs: Implement Lock() and Unlock().  Also improve IO
error reporting.

* FileSystemInfo.cs:
* File.cs:
* Directory.cs: Improve IO error reporting

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

20 years ago2004-05-27 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 27 May 2004 16:24:52 +0000 (16:24 -0000)]
2004-05-27  Dick Porter  <dick@ximian.com>

* io.h:
* io.c: Implemented LockFile() and UnlockFile()

2004-05-27  Dick Porter  <dick@ximian.com>

* icall.c:
* file-io.c: Implemented icalls for locking and unlocking regions
in a file.
(ves_icall_System_IO_MonoIO_FindNextFile): FindNextFile() returns
FALSE on error (fixes both compiler warning and real bug.)

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

20 years agoForgot in previous commit.
Paolo Molaro [Thu, 27 May 2004 16:24:04 +0000 (16:24 -0000)]
Forgot in previous commit.

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

20 years ago2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 May 2004 16:23:05 +0000 (16:23 -0000)]
2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>

* DateTimeFormatInfo.cs : Added some string[] fields for
  GetAllDateTimePatterns(char). The fields will be filled in metadata
  and culture info table. Added improved patterns for
  GetAllDateTimePatterns() (right now works only for invariant).
* CultureInfo.cs : Use InvariantInfo for InvariantCulture.

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

20 years ago2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 May 2004 15:58:26 +0000 (15:58 -0000)]
2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>

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

  (Added missing ChangeLog entry for 05/26)

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

20 years ago2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 May 2004 15:55:59 +0000 (15:55 -0000)]
2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>

* en_PH.xml, en_ZW.xml, fr_CA.xml, fr_CH.xml, fr_FR.xml, fr_LU.xml :
  fixed incorrect markup.

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

20 years ago * PEAPI.cs: When writing to the blob heap we always set a
Jackson Harper [Thu, 27 May 2004 15:46:15 +0000 (15:46 -0000)]
    * PEAPI.cs: When writing to the blob heap we always set a
          size.

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

20 years ago * locales.c: Fix some cut and paste errors.
Jackson Harper [Thu, 27 May 2004 15:21:33 +0000 (15:21 -0000)]
    * locales.c: Fix some cut and paste errors.

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

20 years ago * delegate.cs:
Anirban Bhattacharjee [Thu, 27 May 2004 14:48:25 +0000 (14:48 -0000)]
    * delegate.cs:
        * expression.cs:
                Few exception checks for delegete

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

20 years ago2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 May 2004 14:46:50 +0000 (14:46 -0000)]
2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>

* Hashtable.cs: Cloned synchronized Hashtables are now synchronized.

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

20 years ago2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 May 2004 14:33:38 +0000 (14:33 -0000)]
2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>

* HashtableTest.cs: Added case where a cloned hashtable must also be
synchronized (if the original was).

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

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

* QueueTest.cs: Added case to ensure that MoveNext always return
false (after the first time).

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

20 years ago * mb-parser.jay:
Anirban Bhattacharjee [Thu, 27 May 2004 14:19:52 +0000 (14:19 -0000)]
 * mb-parser.jay:
 * delegate.cs:
        Few more fixes in delegate grammar

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

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

* Queue.cs: Changed -1 to Int32.MaxValue so calling MoveNext again
(after a false) still returns false.

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

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

* Queue.cs: Fixed case where we could still get Current after the last
MoveNext.

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

20 years ago2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 May 2004 13:59:34 +0000 (13:59 -0000)]
2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>

* QueueTest.cs: Added case where we try to get Current after the last
MoveNext.

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

20 years ago2004-05-27 Nick Drochak <ndrochak@ieee.org>
Nick Drochak [Thu, 27 May 2004 13:52:07 +0000 (13:52 -0000)]
2004-05-27  Nick Drochak <ndrochak@ieee.org>

* DataRelationCollectionTest.cs: Fixed build when using csc.

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

20 years agoSorry Sorry Sorry
Patrik Torstensson [Thu, 27 May 2004 13:41:52 +0000 (13:41 -0000)]
Sorry Sorry Sorry

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

20 years ago2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
Patrik Torstensson [Thu, 27 May 2004 13:34:30 +0000 (13:34 -0000)]
2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>

* ExpiresBucket.cs (FlushExpiredItems): fix csc and a typo bug

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

20 years agoThu May 27 15:50:52 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 27 May 2004 13:11:09 +0000 (13:11 -0000)]
Thu May 27 15:50:52 CEST 2004 Paolo Molaro <lupus@ximian.com>

* cpu-g4.md, mini-ppc.c: fixes to long add/sub ovf opcodes
and div/rem checks.

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

20 years ago * monowiz.win32.nsi: normalized line-endings to unix (LF)
Gert Driesen [Thu, 27 May 2004 13:04:43 +0000 (13:04 -0000)]
 * monowiz.win32.nsi: normalized line-endings to unix (LF)

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

20 years ago2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 May 2004 12:40:08 +0000 (12:40 -0000)]
2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>

* SymmetricTransform.cs: Added missing exception handling in
TransformBlock and TransformFinalBlock.

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

20 years ago2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 May 2004 12:29:28 +0000 (12:29 -0000)]
2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>

* ARC4Managed.cs: Added missing exception handling in TransformBlock
and TransformFinalBlock.

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

20 years ago2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 May 2004 12:27:16 +0000 (12:27 -0000)]
2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>

* ARC4ManagedTest.cs: Added unit tests for exceptions coming from
ICryptoTransform interface (TransformBlock, TransformFinalBlock).

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

20 years ago2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
Patrik Torstensson [Thu, 27 May 2004 12:25:30 +0000 (12:25 -0000)]
2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>

* HttpApplicationFactory.cs: Added SignalError (still todo)

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

20 years ago2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>
Patrik Torstensson [Thu, 27 May 2004 12:15:13 +0000 (12:15 -0000)]
2004-05-27 Patrik Torstensson <totte@hiddenpeaks.com>

* CacheEntry.cs,CacheExpires.cs,ExpiresBucket.cs,
  Cache.cs : Fixed deadlock issues, fixed
  items not correctly being flushed, fixed update
  of item when expiration has been updated more
  than 1 min (placed in wrong bucket),
  fixed deadlock during cache callback when item
  is removed due to expiriation.

  Rewrite of locking handling in Cache class, leading
  to better performance and less bugs.

  This rewrite is due to a number of bugs found
  in the output caching during load (leading to memory
  leaks and deadlocks)

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

20 years ago2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 May 2004 11:57:33 +0000 (11:57 -0000)]
2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>

* SymmetricTransform.cs: Fixed possible integer overflow.

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

20 years ago2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 May 2004 11:47:56 +0000 (11:47 -0000)]
2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>

* HashAlgorithm.cs: Added missing exception handling to ComputeHash,
TransformBlock and TransformFinalBlock.

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

20 years ago2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 May 2004 11:21:20 +0000 (11:21 -0000)]
2004-05-27  Sebastien Pouliot  <sebastien@ximian.com>

* HashAlgorithmTest.cs: Added new tests to check for more exceptions.

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

20 years agoDataRow.cs :
Boris Kirzner [Thu, 27 May 2004 11:14:32 +0000 (11:14 -0000)]
DataRow.cs :
- CheckReadOnlyStatus : use typed (and faster comparing).
- EndEdit : bug fix - do not dispose record if it holds original version.
- SetValuesFromDataRecord : Take care about autoincrement columns.

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

20 years agoreindent with monostyle
Raja R Harinath [Thu, 27 May 2004 10:55:59 +0000 (10:55 -0000)]
reindent with monostyle

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

20 years ago* mb-parser.jay: Changed Delegate instantiation grammar to get it working
Anirban Bhattacharjee [Thu, 27 May 2004 10:48:04 +0000 (10:48 -0000)]
* mb-parser.jay: Changed Delegate instantiation grammar to get it working

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

20 years agorevert one unintentional change.
Raja R Harinath [Thu, 27 May 2004 10:46:03 +0000 (10:46 -0000)]
revert one unintentional change.

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

20 years agoFix formatting using 'c-indent-line-or-region' in csharp-mode.
Raja R Harinath [Thu, 27 May 2004 10:42:44 +0000 (10:42 -0000)]
Fix formatting using 'c-indent-line-or-region' in csharp-mode.
Only whitespace changes.

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

20 years ago* DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer...
Boris Kirzner [Thu, 27 May 2004 10:36:17 +0000 (10:36 -0000)]
* DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .

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

20 years agoThu May 27 12:36:53 CEST 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 27 May 2004 09:52:02 +0000 (09:52 -0000)]
Thu May 27 12:36:53 CEST 2004 Paolo Molaro <lupus@ximian.com>

* Makefile.am: fix miguel's change to build mono statically against
libmono (track build dependencies).

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

20 years ago2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 May 2004 09:47:17 +0000 (09:47 -0000)]
2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>

* SqlDecimal.cs : don't output debug message to Console.

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

20 years ago2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 May 2004 09:46:48 +0000 (09:46 -0000)]
2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>

* OleDbDataReader.cs : don't output debug message to Console.

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

20 years ago2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 May 2004 09:46:27 +0000 (09:46 -0000)]
2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>

* MergeManager.cs : don't output debug message to Console.

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

20 years ago2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 May 2004 09:29:47 +0000 (09:29 -0000)]
2004-05-27  Atsushi Enomoto <atsushi@ximian.com>

* XmlTextReaderTests.cs : added test for bug #59142.
* XmlTextWriterTests.cs : added test for bug #59154.
* XmlDocumentTests.cs : added test for bug #59155.

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