mono.git
15 years ago2008-11-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 14 Nov 2008 06:31:29 +0000 (06:31 -0000)]
2008-11-14 Gonzalo Paniagua Javier <gonzalo@novell.com>

* DefaultWsdlHelpGenerator.aspx: use javascript instead of
HttpWebRequest to avoid a deadlock if the web service uses Session.
Bug #444343 fixed.
re: miguel

svn path=/branches/mono-2-2/mono/; revision=118834

15 years agoBackport of r118813
Marek Habersack [Fri, 14 Nov 2008 02:09:17 +0000 (02:09 -0000)]
Backport of r118813

svn path=/branches/mono-2-2/mcs/; revision=118815

15 years agoBackport of r118799
Marek Habersack [Fri, 14 Nov 2008 00:41:19 +0000 (00:41 -0000)]
Backport of r118799

svn path=/branches/mono-2-2/mcs/; revision=118800

15 years agoreset the connection on timeout exception from TDS
Veerapuram Varadhan [Thu, 13 Nov 2008 20:22:23 +0000 (20:22 -0000)]
reset the connection on timeout exception from TDS

svn path=/branches/mono-2-2/mcs/; revision=118762

15 years agoinstead of executing sp_reset_connection, set reset connection bit.
Veerapuram Varadhan [Thu, 13 Nov 2008 20:17:48 +0000 (20:17 -0000)]
instead of executing sp_reset_connection, set reset connection bit.

svn path=/branches/mono-2-2/mcs/; revision=118760

15 years agoTests ported from trunk.
Veerapuram Varadhan [Thu, 13 Nov 2008 20:15:34 +0000 (20:15 -0000)]
Tests ported from trunk.

svn path=/branches/mono-2-2/mcs/; revision=118759

15 years ago2008-11-13 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 13 Nov 2008 18:00:06 +0000 (18:00 -0000)]
2008-11-13  Bill Holmes  <billholmes54@gmail.com>

Backport of r118724.

* process.h : Adding method declaration for
  ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.

* process.c : Adding implementation for
  ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.

* icall-def.h : Registering ICALL Processs.WaitForInputIdle_internal
  to ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.

* wait.h : Adding method declaration for WaitForInputIdle.

* wait.c : Adding implementation for WaitForInputIdle.

* Process.cs : Adding an implementation for WaitForInputIdle
  to call the an internal call.  The internal call is only
  implemented properly on Windows.

Code is contributed under MIT/X11 license.

svn path=/branches/mono-2-2/mcs/; revision=118743

15 years ago2008-11-13 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 13 Nov 2008 18:00:06 +0000 (18:00 -0000)]
2008-11-13  Bill Holmes  <billholmes54@gmail.com>

Backport of r118724.

* process.h : Adding method declaration for
  ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.

* process.c : Adding implementation for
  ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.

* icall-def.h : Registering ICALL Processs.WaitForInputIdle_internal
  to ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.

* wait.h : Adding method declaration for WaitForInputIdle.

* wait.c : Adding implementation for WaitForInputIdle.

* Process.cs : Adding an implementation for WaitForInputIdle
  to call the an internal call.  The internal call is only
  implemented properly on Windows.

Code is contributed under MIT/X11 license.

svn path=/branches/mono-2-2/mono/; revision=118743

15 years agoBackported fix for bug#428139 from trunk
Veerapuram Varadhan [Thu, 13 Nov 2008 17:31:07 +0000 (17:31 -0000)]
Backported fix for bug#428139 from trunk

svn path=/branches/mono-2-2/mcs/; revision=118738

15 years ago2008-11-13 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 13 Nov 2008 17:15:35 +0000 (17:15 -0000)]
2008-11-13  Zoltan Varga  <vargaz@gmail.com>

Backport r118729 from HEAD.

* RxInterpreter.cs: Fix pc computation in various opcodes. Fixes #443841.

svn path=/branches/mono-2-2/mcs/; revision=118732

15 years ago2008-11-13 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 13 Nov 2008 15:30:22 +0000 (15:30 -0000)]
2008-11-13  Marek Safar  <marek.safar@gmail.com>

A fix for bug #444271
* anonymous.cs: Rescan parent storeys when best candidate was
undone.

svn path=/branches/mono-2-2/mcs/; revision=118720

15 years ago2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 11 Nov 2008 20:18:38 +0000 (20:18 -0000)]
2008-11-11  Rodrigo Kumpera  <rkumpera@novell.com>

* ModuleTest.cs : Add test for ResolveMethod with a methodspec
token.

Backported from trunk.

svn path=/branches/mono-2-2/mcs/; revision=118545

15 years ago2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 11 Nov 2008 20:18:13 +0000 (20:18 -0000)]
2008-11-11  Rodrigo Kumpera  <rkumpera@novell.com>

* Module.cs (ResolveMethod): Use internal method
GetMethodFromHandleNoGenericCheck to avoid the generic type
limitation of GetMethodFromHandle.

Fixes #443763.

Backported from trunk.

svn path=/branches/mono-2-2/mcs/; revision=118544

15 years ago2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 11 Nov 2008 17:15:57 +0000 (17:15 -0000)]
2008-11-11 Rodrigo Kumpera  <rkumpera@novell.com>

* ConstructorOnTypeBuilderInstTest.cs: Add test for
MetadataToken under compilation context.

Backported from trunk.

svn path=/branches/mono-2-2/mcs/; revision=118519

15 years agoWrong date in the changelog
Rodrigo Kumpera [Tue, 11 Nov 2008 17:15:29 +0000 (17:15 -0000)]
Wrong date in the changelog

svn path=/branches/mono-2-2/mcs/; revision=118518

15 years ago2008-11-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 11 Nov 2008 17:14:31 +0000 (17:14 -0000)]
2008-11-12 Rodrigo Kumpera  <rkumpera@novell.com>

        * ConstructorOnTypeBuilderInst.cs (MetadataToken): Make this
        * property
        work under compiler context. Same hack as the one applied to
        MethodOnTypeBuilderInst.

        Fixes #442610.

        Backported from trunk.

svn path=/branches/mono-2-2/mcs/; revision=118517

15 years ago2008-11-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 11 Nov 2008 11:21:15 +0000 (11:21 -0000)]
2008-11-11  Zoltan Varga  <vargaz@gmail.com>

Backport r118484 from HEAD.

* CILCompiler.cs: Implement Reference opcode.

svn path=/branches/mono-2-2/mcs/; revision=118485

15 years agoBump versions to 2.2
Andrew Jorgensen [Tue, 11 Nov 2008 00:24:15 +0000 (00:24 -0000)]
Bump versions to 2.2

svn path=/branches/mono-2-2/mono/; revision=118446

15 years ago2008-11-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 10 Nov 2008 23:04:25 +0000 (23:04 -0000)]
2008-11-11  Zoltan Varga  <vargaz@gmail.com>

* regalloc2.c (assign_spill_slots): Set cfg->rgctx_var.

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

15 years ago2008-11-10 Michael Hutchinson <mhutchinson@novell.com>
Michael Hutchinson [Mon, 10 Nov 2008 22:36:17 +0000 (22:36 -0000)]
2008-11-10  Michael Hutchinson  <mhutchinson@novell.com>

* HttpServerTransportSink.cs: Seek to beginning of server response
  stream. Fixes Bug 436995 - Xml-Rpc.net does not work since
  Mono 1.9.x.

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

15 years agoTry to fix Solaris
Miguel de Icaza [Mon, 10 Nov 2008 22:26:46 +0000 (22:26 -0000)]
Try to fix Solaris

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

15 years ago2008-11-10 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Mon, 10 Nov 2008 21:42:09 +0000 (21:42 -0000)]
2008-11-10  Bill Holmes  <billholmes54@gmail.com>

* genmdesc.vcproj, monoburg.vcproj : Adding quotes to paths in the
  post build steps.

Code is contributed under MIT/X11 license.

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

15 years ago2008-11-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 10 Nov 2008 20:58:13 +0000 (20:58 -0000)]
2008-11-10 Rodrigo Kumpera <rkumpera@novell.com>

* appdomain.c (unload_thread_main): Clean up threadpool by
calling mono_thread_pool_remove_domain_jobs.

* domain-internals.h (struct _MonoDomain): Add new fields to
help coordinate the cleanup of the threadpool.

* threadpool.c (mono_thread_pool_remove_domain_jobs): New fuction
that cleans up the threadpool of all jobs associated with an appdomain.
It does that by cleaning up the queues and making sure all active
threads are accounted.

* threadpool.c (async_invoke_io_thread): Ignore job if its domain is
unloaded or in the process of. Take this is such way that there is
no race condition between another thread starting the unload and the
current thread acknowledging it.

* threadpool.c (async_invoke_thread): Same.

* threadpool.c (start_io_thread_or_queue): Increment threadpool_jobs before
firing the new thread.

* threadpool.c (start_tpthread): Same.

* theadpool.c (append_job): Increment threadpool_jobs before queueing.

* threadpool.h: Add mono_thread_pool_remove_domain_jobs.

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

15 years ago2008-11-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 10 Nov 2008 20:54:37 +0000 (20:54 -0000)]
2008-11-10  Mark Probst  <mark.probst@gmail.com>

* mini-x86.c (mono_arch_get_argument_info): Don't align argument
space for stdcall.  Fixes regressions on Win32.

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

15 years ago2008-11-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 10 Nov 2008 20:46:00 +0000 (20:46 -0000)]
2008-11-10 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ConfigurationManager.cs: when we're dealing with an EXE hosted
application, the configuration file is the one for the AppDomain,
otherwise we might try to get a config file for a dll. Fixes the
regression in 2.0 sys.config.

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

15 years ago2008-11-10 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 10 Nov 2008 20:17:05 +0000 (20:17 -0000)]
2008-11-10  Jonathan Pobst  <monkey@jpobst.com>

* TextControl.cs: Add some order of operation to our math so
we don't end up with a negative height for our invalidate rect.
[Fixes bug #381889]

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

15 years ago2008-11-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 10 Nov 2008 19:50:40 +0000 (19:50 -0000)]
2008-11-10  Marek Safar  <marek.safar@gmail.com>

A fix for bug #442610
* anonymous.cs (MutateConstructor): More SRE hacking.

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

15 years agoBring testsuite into compilability
Raja R Harinath [Mon, 10 Nov 2008 19:39:31 +0000 (19:39 -0000)]
Bring testsuite into compilability

* OptionContextTest.cs: Fix syntax error.
* OptionTest.cs: Likewise.
* OptionSetTest.cs: Likewise.
(OptionalValues, CombinationPlatter, Exceptions): Disable for now.

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

15 years agocannot dist directories
Andrew Jorgensen [Mon, 10 Nov 2008 19:37:17 +0000 (19:37 -0000)]
cannot dist directories

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

15 years agoNew tests.
Marek Safar [Mon, 10 Nov 2008 18:55:59 +0000 (18:55 -0000)]
New tests.

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

15 years ago2008-11-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 10 Nov 2008 18:55:46 +0000 (18:55 -0000)]
2008-11-10  Marek Safar  <marek.safar@gmail.com>

A fix for bug #442579
* ecore.cs: Also initialize expanded form of a method with 1 params
parameter.

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

15 years ago2008-11-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 10 Nov 2008 18:49:08 +0000 (18:49 -0000)]
2008-11-10 Gonzalo Paniagua Javier <gonzalo@novell.com>

* CADMessages.cs: when the method is generic, return a constructed
method instead of the generic one. Fixes regression in
System.Runtime.Remoting.GenericTest::TestCrossAppDomainChannel.

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

15 years ago2008-11-10 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 10 Nov 2008 17:03:35 +0000 (17:03 -0000)]
2008-11-10  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: When our enabled changes, notify our implicit children
controls as well as our regular controls.
[Fixes bug #441523]

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

15 years ago2008-11-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 10 Nov 2008 17:03:08 +0000 (17:03 -0000)]
2008-11-10  Zoltan Varga  <vargaz@gmail.com>

* regalloc2.c (handle_reg_constraints): Avoid adding code to unreachable
bblocks.
(linear_scan): Remove an assert which doesn't seem to be needed.

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

15 years agoMon Nov 10 17:38:41 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 10 Nov 2008 16:41:54 +0000 (16:41 -0000)]
Mon Nov 10 17:38:41 CET 2008 Paolo Molaro <lupus@ximian.com>

* mono-proclib.c: adapt code for FreeBSD and hopefully other BSD
systems.

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

15 years agoMon Nov 10 17:37:08 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 10 Nov 2008 16:39:30 +0000 (16:39 -0000)]
Mon Nov 10 17:37:08 CET 2008 Paolo Molaro <lupus@ximian.com>

* configure.in: check for sys/user.h and struct kinfo_proc members.

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

15 years agoMon Nov 10 17:27:01 CET 2008 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 10 Nov 2008 16:29:35 +0000 (16:29 -0000)]
Mon Nov 10 17:27:01 CET 2008 Paolo Molaro <lupus@ximian.com>

* mono-proclib.c, mono-proclib.h: added elapsed time and parent pid.

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

15 years ago2008-11-10 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 10 Nov 2008 15:45:06 +0000 (15:45 -0000)]
2008-11-10  Zoltan Varga  <vargaz@gmail.com>

* local-propagation.c (mono_local_deadce): Avoid a call to
MONO_DELETE_INS which would screw up the instruction linking.

* mini.c (mono_decompose_op_imm): Make this work with globalra.

* regalloc2.c: Upgrade to work the current JIT code.

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

15 years ago* MetaModelTest.cs: Remove 'using System.ComponentModel' to avoid
Raja R Harinath [Mon, 10 Nov 2008 05:44:19 +0000 (05:44 -0000)]
* MetaModelTest.cs: Remove 'using System.ComponentModel' to avoid
ambiguities with the CategoryAttribute.

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

15 years agomore docs
Miguel de Icaza [Mon, 10 Nov 2008 01:52:35 +0000 (01:52 -0000)]
more docs

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

15 years agoFix
Miguel de Icaza [Mon, 10 Nov 2008 01:52:15 +0000 (01:52 -0000)]
Fix

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

15 years agomore docs
Miguel de Icaza [Mon, 10 Nov 2008 01:51:05 +0000 (01:51 -0000)]
more docs

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

15 years agomore docs
Miguel de Icaza [Mon, 10 Nov 2008 01:45:37 +0000 (01:45 -0000)]
more docs

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

15 years agomore docs
Miguel de Icaza [Mon, 10 Nov 2008 01:45:01 +0000 (01:45 -0000)]
more docs

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

15 years agoAdd CSharpLib docs
Miguel de Icaza [Sun, 9 Nov 2008 22:48:13 +0000 (22:48 -0000)]
Add CSharpLib docs

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

15 years agoAdd documentation for the evaluator
Miguel de Icaza [Sun, 9 Nov 2008 22:44:29 +0000 (22:44 -0000)]
Add documentation for the evaluator

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

15 years ago2008-11-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 9 Nov 2008 19:28:35 +0000 (19:28 -0000)]
2008-11-09  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (inline_method): Merge more basic blocks to help the AOT
case.

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

15 years ago2008-11-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 9 Nov 2008 18:45:52 +0000 (18:45 -0000)]
2008-11-09  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c: Remove some dead code.

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

15 years ago2008-11-09 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 9 Nov 2008 18:40:14 +0000 (18:40 -0000)]
2008-11-09  Zoltan Varga  <vargaz@gmail.com>

* tramp-arm.c: Use 'code' as the runnning pointer in code generation for
consistency.
(mono_arch_create_rgctx_lazy_fetch_trampoline_full): Implement aot support.

* aot-runtime.c (load_named_code): Decode the offset of lazy fetch
trampolines using sscanf since atoi doesn't work on large unsigned values.

* tramp-amd64.c (mono_arch_create_rgctx_lazy_fetch_trampoline_full):
Initialize code_size.

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

15 years agoAdding svn:eol-style for TextReaderTest.cs
Bill Holmes [Sun, 9 Nov 2008 16:25:06 +0000 (16:25 -0000)]
Adding svn:eol-style for TextReaderTest.cs

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

15 years ago2008-11-09 William Holmes <billholmes54@gmail.com>
Bill Holmes [Sun, 9 Nov 2008 15:10:46 +0000 (15:10 -0000)]
2008-11-09  William Holmes  <billholmes54@gmail.com>

* corlib_test.dll.sources: Add TextReaderTest.cs.

* TextReaderTest.cs: Added a test for the Null field of
         the TextReader.

* TextReader.cs : Adding the NullTextReader as a private class to
  the TestReader class for the Null field of the TestReader.

Code is contributed under MIT/X11 license.

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

15 years ago* SqlConnection.cs (ClearPool): Added null check.
Gert Driesen [Sun, 9 Nov 2008 14:01:56 +0000 (14:01 -0000)]
* SqlConnection.cs (ClearPool): Added null check.
* SqlConnectionTest.cs: Added test for null check in ClearPool.

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

15 years ago* TdsConnectionPool.cs: Added TdsConnectionPoolManager.GetConnection
Gert Driesen [Sun, 9 Nov 2008 13:36:37 +0000 (13:36 -0000)]
* TdsConnectionPool.cs: Added TdsConnectionPoolManager.GetConnection
overload that can be used to retrieve an existing connection pool.
Modified ResetConnectionPool () to skip free slots in the pool and to
close pooled connections that are not in use. Pooled connections that
are in use are now marked as non-pooled so that they are no longer
returned to the pool when they are closed. Fixes bug #443131.
* SqlConnection.cs: In Close, also remove reference to pool. In Open,
set TdsConnection.Pooling to false for a non-pooled connection.
Fixed ClearAllPools to no longer create a new connection for each
pool. In ClearPool, perform a lookup of the pool to clear using
the connectionstring as the pool field may refer to another pool
(as the connectionstring may have changed).
* SqlConnectionTest.cs: Added tests for ClearPool and ClearAllPools.

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

15 years agoAdd more docs
Miguel de Icaza [Sun, 9 Nov 2008 04:52:01 +0000 (04:52 -0000)]
Add more docs

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

15 years ago* System.Windows.Forms/HtmlElement.cs: Small code cleanup
Andreia Gaita [Sat, 8 Nov 2008 18:23:47 +0000 (18:23 -0000)]
* System.Windows.Forms/HtmlElement.cs: Small code cleanup

2008-11-08  Andreia Gaita <shana@jitted.com>

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

15 years ago* SWF2k5-tests.csproj: Fix the previous ChangeLog entry (bad merge).
Andreia Gaita [Sat, 8 Nov 2008 18:15:58 +0000 (18:15 -0000)]
* SWF2k5-tests.csproj: Fix the previous ChangeLog entry (bad merge).
  Update regenerated test project.

2008-11-08  Andreia Gaita <shana@jitted.com>

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

15 years ago* build-csproj2k5-tests: Added net_2_0 configuration to go along with
Andreia Gaita [Sat, 8 Nov 2008 18:05:48 +0000 (18:05 -0000)]
* build-csproj2k5-tests: Added net_2_0 configuration to go along with
  the profile targets (so MD doesn't complain at me)

2008-11-08  Andreia Gaita <shana@jitted.com>

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

15 years ago* Mono.WebBrowser/Manager.cs: Use new webkit backend if requested. If
Andreia Gaita [Sat, 8 Nov 2008 17:07:34 +0000 (17:07 -0000)]
* Mono.WebBrowser/Manager.cs: Use new webkit backend if requested. If
  it doesn't load or blows up, revert to default gecko backend.

2008-11-08  Andreia Gaita <shana@jitted.com>

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

15 years ago* SqlConnectionTest.cs: Added test for bug #383061.
Gert Driesen [Sat, 8 Nov 2008 16:53:04 +0000 (16:53 -0000)]
* SqlConnectionTest.cs: Added test for bug #383061.

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

15 years ago2008-11-08 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 8 Nov 2008 13:36:04 +0000 (13:36 -0000)]
2008-11-08  Mark Probst  <mark.probst@gmail.com>

* method-to-ir.c (mini_emit_inst_for_method): Make
Interlocked.CompareExchange work for Int arguments on 32 bit
archs, as well.

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

15 years agoMetadata updates
Marek Habersack [Sat, 8 Nov 2008 00:20:04 +0000 (00:20 -0000)]
Metadata updates

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

15 years ago2008-11-07 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Fri, 7 Nov 2008 20:58:44 +0000 (20:58 -0000)]
2008-11-07  Bill Holmes  <billholmes54@gmail.com>

* winconfig.h : Removing HAVE_DIRENT_H, HAVE_STDINT_H,
  HAVE_VISIBILITY_HIDDEN, HAVE_ZLIB for the VC builds.

* monoposixhelper.def, monoposixhelper.vcproj : added.

* mono.sln : Adding the monoposixhelper project.

Code is contributed under MIT/X11 license.

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

15 years ago2008-11-07 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 7 Nov 2008 20:05:36 +0000 (20:05 -0000)]
2008-11-07  Marek Habersack  <mhabersack@novell.com>

* HtmlFormTest.cs: added a test for the undocumented Action
property.

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

15 years agomake test 2.0 only to fix build
Jonathan Pobst [Fri, 7 Nov 2008 17:26:43 +0000 (17:26 -0000)]
make test 2.0 only to fix build

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

15 years ago2008-11-07 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 7 Nov 2008 15:26:06 +0000 (15:26 -0000)]
2008-11-07  Jonathan Pobst  <monkey@jpobst.com>

* DefaultLayout.cs: Apply patch from Jonathan Anderson that keeps
undocked autosize controls from moving when resized.
[Fixes bug #439479]

2008-11-07  Jonathan Pobst  <monkey@jpobst.com>

* DefaultLayoutTest.cs: Add some tests from Jonathan Anderson
for bug #439479.

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

15 years ago2008-11-07 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Fri, 7 Nov 2008 14:59:09 +0000 (14:59 -0000)]
2008-11-07  Bill Holmes  <billholmes54@gmail.com>

* test_eglib.vcproj : Adding unicode.c to the project.

* mono.sln : Adding the correct dependencies for e-glib.

* *.vcproj : Setting LinkLibraryDependencies=false for all
  projects and all configurations.

Code is contributed under MIT/X11 license.

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

15 years ago2008-11-07 Mark Probst <mark.probst@gmail.com>
Mark Probst [Fri, 7 Nov 2008 12:46:09 +0000 (12:46 -0000)]
2008-11-07  Mark Probst  <mark.probst@gmail.com>

* method-to-ir.c (mono_method_to_ir2): Fixed a funny commit error.

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

15 years ago2008-11-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 7 Nov 2008 07:36:09 +0000 (07:36 -0000)]
2008-11-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingNavigator.cs: MoveFirstItem should be enabled only if
position is larger than 0, not only different than 0. Also Position
and Count items should be enabled if the BindingSource is non null and
non empty.
Fixes #439961.

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

15 years ago2008-11-06 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 6 Nov 2008 21:49:15 +0000 (21:49 -0000)]
2008-11-06  Bill Holmes  <billholmes54@gmail.com>

* main.c Fix MSVC build.

Contributed under MIT/X11 license.

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

15 years ago2008-11-06 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 6 Nov 2008 21:43:45 +0000 (21:43 -0000)]
2008-11-06  Jonathan Pobst  <monkey@jpobst.com>

* DefaultLayout.cs: Apply patch from Jonathan Anderson that better
handles AutoSize controls when docked.
[Fixes bug #439443]

2008-11-06  Jonathan Pobst  <monkey@jpobst.com>

* DefaultLayoutTest.cs: Add some tests from Jonathan Anderson
for bug #439443.

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

15 years agomove back to olive
Miguel de Icaza [Thu, 6 Nov 2008 19:14:34 +0000 (19:14 -0000)]
move back to olive

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

15 years agoTake WindowsBase out
Miguel de Icaza [Thu, 6 Nov 2008 19:14:04 +0000 (19:14 -0000)]
Take WindowsBase out

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

15 years agoUpdate.
Marek Safar [Thu, 6 Nov 2008 19:07:42 +0000 (19:07 -0000)]
Update.

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

15 years ago2008-11-06 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 6 Nov 2008 19:07:30 +0000 (19:07 -0000)]
2008-11-06  Marek Safar  <marek.safar@gmail.com>

* expression.cs (UnaryMutator): Do early l-side check.

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

15 years ago2008-11-06 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 6 Nov 2008 19:04:57 +0000 (19:04 -0000)]
2008-11-06  Bill Holmes  <billholmes54@gmail.com>

* Type.cs (FindMembers):  Changing the instantiated type of the
  returned MemberInfo array to match the MemberTypes flag
  passed in argument 1.

* TypeTest.cs: TypeGetMemberReturnTypeTest added to check that the
  instantiated type of the returned MemberInfo array matches the
  MemberTypes flag passed in.

Contributed under MIT/X11 license.

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

15 years ago2008-11-06 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 6 Nov 2008 19:00:54 +0000 (19:00 -0000)]
2008-11-06  Jonathan Chambers  <joncham@gmail.com>

        * async_read.cs: Open file with Read access to avoid
        file access exception on Windows.

        * bug-349190.2.cs: Use different name for dynamic executable
        to avoid file access exception on Windows.

        Code is contributed under MIT/X11 license.

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

15 years ago2008-11-06 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 6 Nov 2008 18:48:08 +0000 (18:48 -0000)]
2008-11-06  Jonathan Chambers  <joncham@gmail.com>

        * MonoIO.cs : Add DuplicateHandle.

2008-11-06  Jonathan Chambers  <joncham@gmail.com>

        * Process.cs : Use DuplicateHandle when redirecting
        StdInput and StdOutput. Fixes bug #436291.

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

15 years ago2008-11-06 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Thu, 6 Nov 2008 18:44:51 +0000 (18:44 -0000)]
2008-11-06  Jonathan Chambers  <joncham@gmail.com>

        * file-io.c (ves_icall_System_IO_MonoIO_DuplicateHandle):
        Add support for DuplicateHandle.

        * file-io.h (ves_icall_System_IO_MonoIO_DuplicateHandle):
        Add support for DuplicateHandle.

        * icall-def.h (ves_icall_System_IO_MonoIO_DuplicateHandle):
        Add support for DuplicateHandle.

        Code is contributed under MIT/X11 license.

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

15 years ago* WindowsBase/System.IO.Packaging/Package.cs:
Alan McGovern [Thu, 6 Nov 2008 18:15:02 +0000 (18:15 -0000)]
* WindowsBase/System.IO.Packaging/Package.cs:
* WindowsBase/System.IO.Packaging/ZipPackage.cs:
* WindowsBase/System.IO.Packaging/PackagePropertiesPart.cs: Remove
  horrible hacks to load PackageProperties, PackageRelationships and
  PackageParts from a read-only stream. Other benefit is that these are
  now lazily loaded.

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

15 years ago* WindowsBase/Assembly/AssemblyInfo.cs: AssemblyFileVersion now uses
Sandy Armstrong [Thu, 6 Nov 2008 17:46:18 +0000 (17:46 -0000)]
* WindowsBase/Assembly/AssemblyInfo.cs: AssemblyFileVersion now uses
  Consts.FxFileVersion, which is "3.0.4506.648".

* WindowsBase/Makefile: Define NET_3_0 so that Consts will have the
  correct values for this assembly.

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

15 years ago2008-11-06 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 6 Nov 2008 16:48:36 +0000 (16:48 -0000)]
2008-11-06  Mark Probst  <mark.probst@gmail.com>

* class-internals.h: Make min_align into a whole byte.

* class.c: Set min_align for SIMD types to 16.

2008-11-06  Mark Probst  <mark.probst@gmail.com>

* mini-x86.c (mono_arch_allocate_vars): Make sure locals that need
alignment larger than 8 bytes are aligned correctly, too.

* mini.c: Honor the min_align field of MonoClass when laying out
the stack.

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

15 years ago2008-11-05 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 6 Nov 2008 16:37:54 +0000 (16:37 -0000)]
2008-11-05  Geoff Norton  <gnorton@novell.com>

        * attach.c: Default the attacher to enabled for all cases including
        embedded.

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

15 years agoUpdate docs
Miguel de Icaza [Thu, 6 Nov 2008 16:19:28 +0000 (16:19 -0000)]
Update docs

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

15 years ago2008-11-06 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 6 Nov 2008 16:16:28 +0000 (16:16 -0000)]
2008-11-06  Jb Evain  <jbevain@novell.com>

* Mono.Cecil.Metadata/MetadataWriter.cs: properly clean
the runtime image in case we're unsigning an assembly.

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

15 years agoUpdate this as well
Miguel de Icaza [Thu, 6 Nov 2008 16:03:56 +0000 (16:03 -0000)]
Update this as well

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

15 years agorevert broken patch
Jb Evain [Thu, 6 Nov 2008 15:51:15 +0000 (15:51 -0000)]
revert broken patch

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

15 years ago2008-11-05 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 6 Nov 2008 15:47:10 +0000 (15:47 -0000)]
2008-11-05  Jonathan Pobst  <monkey@jpobst.com>

* TabControl.cs: Don't raise SelectedIndexChanged until we have
actually modified the tab collection, so TabCount will be correct.
[Fixes bug #441896]

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

15 years agoRevert Npgsql to 1.0, because in 2.0 NpgsqlConnection.ServerVersion change its type
Miguel de Icaza [Thu, 6 Nov 2008 15:42:03 +0000 (15:42 -0000)]
Revert Npgsql to 1.0, because in 2.0 NpgsqlConnection.ServerVersion change its type

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

15 years ago2008-11-06 Alan McGovern <amcgovern@novell.com>
Alan McGovern [Thu, 6 Nov 2008 15:11:24 +0000 (15:11 -0000)]
2008-11-06  Alan McGovern  <amcgovern@novell.com>

        * Makefile.am: Missed out on a header file for minizip

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

15 years agoFix build error.
Alan McGovern [Thu, 6 Nov 2008 13:41:17 +0000 (13:41 -0000)]
Fix build error.

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

15 years ago2008-11-06 Alan McGovern <amcgovern@novell.com>
Alan McGovern [Thu, 6 Nov 2008 13:23:59 +0000 (13:23 -0000)]
2008-11-06  Alan McGovern  <amcgovern@novell.com>

        * minizip/minizip/miniunz.c :
        * Makefile.am: Removed unnecessary file from build and svn.

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

15 years ago2008-11-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 6 Nov 2008 13:06:27 +0000 (13:06 -0000)]
2008-11-06  Marek Habersack  <mhabersack@novell.com>

* ListView.cs: implemented the sorting capability.

* ListViewSortEventArgs.cs: implemented all the methods and
properties.

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

15 years ago2008-11-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 6 Nov 2008 13:00:39 +0000 (13:00 -0000)]
2008-11-06  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir2): Fix AOT support for CEE_SWITCH on arm.

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

15 years ago* WindowsBase/Test/System.Windows/RectTest.cs:
Alan McGovern [Thu, 6 Nov 2008 12:17:58 +0000 (12:17 -0000)]
* WindowsBase/Test/System.Windows/RectTest.cs:
* WindowsBase/Test/System.Windows/SizeTest.cs:
* WindowsBase/Test/System.Windows/VectorTest.cs:
* WindowsBase/Test/System.Windows/Int32RectTest.cs:
* WindowsBase/Test/System.Windows.Media/MatrixTest.cs:
* WindowsBase/Test/System.Windows/SizeConverterTest.cs:
* WindowsBase/Test/System.Windows/RectConverterTest.cs:
* WindowsBase/Test/System.Windows/PointConverterTest.cs:
* WindowsBase/Test/System.Windows/VectorConverterTest.cs:
* WindowsBase/Test/System.Windows/DependencyObjectTest.cs:
* WindowsBase/Test/System.Windows/Int32RectConverterTest.cs:
* WindowsBase/Test/System.Windows.Markup/DateTimeValueSerializerTest.cs:
  Only disable the tests which do not work.

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

15 years agoUpdated the build files
Alan McGovern [Thu, 6 Nov 2008 11:55:38 +0000 (11:55 -0000)]
Updated the build files

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

15 years ago2008-11-06 Felix Eisele <felix_eisele@gmx.de>
Alan McGovern [Thu, 6 Nov 2008 11:54:57 +0000 (11:54 -0000)]
2008-11-06 Felix Eisele <felix_eisele@gmx.de>
        * Test/System.Windows/PointTest.cs:
        All Tests pass now
        * System.Windows/Point.cs
        Complete the implementation of the class

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

15 years ago2008-11-06 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 6 Nov 2008 11:33:00 +0000 (11:33 -0000)]
2008-11-06  Marek Habersack  <mhabersack@novell.com>

* HtmlForm.cs: added the undocumented, but supported, Action
attribute. Fixes bug #442104

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

15 years agoP/Invoke the PosixHelper lib, it has minizip
Alan McGovern [Thu, 6 Nov 2008 11:25:34 +0000 (11:25 -0000)]
P/Invoke the PosixHelper lib, it has minizip

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

15 years ago2008-11-06 Alan McGovern <amcgovern@novell.com>
Alan McGovern [Thu, 6 Nov 2008 11:24:21 +0000 (11:24 -0000)]
2008-11-06  Alan McGovern  <amcgovern@novell.com>

        * minizip/*.am :
        * Makefile.am: Merged minizip build into the support code.

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

15 years agoClose the container
Marek Habersack [Thu, 6 Nov 2008 11:08:24 +0000 (11:08 -0000)]
Close the container

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