mono.git
15 years ago2008-11-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 25 Nov 2008 02:13:22 +0000 (02:13 -0000)]
2008-11-13 Gonzalo Paniagua Javier <gonzalo@novell.com>

* FtpWebRequestTest.cs: the upload test now passes with the MS
runtime. Added another test for download.

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

15 years ago2008-11-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 25 Nov 2008 02:10:49 +0000 (02:10 -0000)]
2008-11-13 Gonzalo Paniagua Javier <gonzalo@novell.com>

* FtpDataStream.cs: use the socket for reading until the end of a
stream that wasn't read entirely. Remove unused ManualResetEvent.
* FtpWebRequest.cs: set the file_name when downloading. Update the
response status after every SendCommand. Send a "OPTS utf8 on" as MS
does (the control cnc reader should do something with UTF8)

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

15 years agothose need to be in there as well
Marek Habersack [Tue, 25 Nov 2008 01:47:27 +0000 (01:47 -0000)]
those need to be in there as well

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

15 years agoThis needs to be here too :P
Marek Habersack [Tue, 25 Nov 2008 01:46:30 +0000 (01:46 -0000)]
This needs to be here too :P

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

15 years agoThis needs to be here too :P
Marek Habersack [Tue, 25 Nov 2008 01:44:55 +0000 (01:44 -0000)]
This needs to be here too :P

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

15 years agoBackport of r119699
Marek Habersack [Tue, 25 Nov 2008 01:28:55 +0000 (01:28 -0000)]
Backport of r119699

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

15 years agoBackport of r119893
Marek Habersack [Tue, 25 Nov 2008 01:27:45 +0000 (01:27 -0000)]
Backport of r119893

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

15 years agoBackport of r119800
Marek Habersack [Tue, 25 Nov 2008 01:27:24 +0000 (01:27 -0000)]
Backport of r119800

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

15 years agoBackport of r119673
Marek Habersack [Tue, 25 Nov 2008 01:26:37 +0000 (01:26 -0000)]
Backport of r119673

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

15 years agoBackport of r119661
Marek Habersack [Tue, 25 Nov 2008 01:23:35 +0000 (01:23 -0000)]
Backport of r119661

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

15 years agoBackport of r119126
Marek Habersack [Tue, 25 Nov 2008 01:22:48 +0000 (01:22 -0000)]
Backport of r119126

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

15 years agoBackport of r119378
Marek Habersack [Tue, 25 Nov 2008 01:10:41 +0000 (01:10 -0000)]
Backport of r119378

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

15 years agoBackport of r119269
Marek Habersack [Tue, 25 Nov 2008 01:10:13 +0000 (01:10 -0000)]
Backport of r119269

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

15 years agoBackport of r119233
Marek Habersack [Tue, 25 Nov 2008 01:09:43 +0000 (01:09 -0000)]
Backport of r119233

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

15 years agoBackport of r119130
Marek Habersack [Tue, 25 Nov 2008 01:09:06 +0000 (01:09 -0000)]
Backport of r119130

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

15 years agoBackport of r118917
Marek Habersack [Tue, 25 Nov 2008 01:08:29 +0000 (01:08 -0000)]
Backport of r118917

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

15 years agoBackport of r119827
Marek Habersack [Mon, 24 Nov 2008 18:48:26 +0000 (18:48 -0000)]
Backport of r119827

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

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

* Form.cs: Don't change min/max size if it is empty.
[Fixes bug #447873]

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

* FormTest.cs: Add test for bug #447873.

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

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

* XPlatUI.cs: Take new Platform.MacOSX into account.
[Fixes bug #447663]

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

15 years ago2008-11-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 21 Nov 2008 14:15:07 +0000 (14:15 -0000)]
2008-11-21 Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c (mono_method_get_equivalent_method): Make sure
method->klass->methods is inited before looping over it.

Backported from trunk.

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

15 years ago* Mono.Mozilla/DOM/ContentListener.cs: Added (oops)
Andreia Gaita [Fri, 21 Nov 2008 14:06:56 +0000 (14:06 -0000)]
* Mono.Mozilla/DOM/ContentListener.cs: Added (oops)

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

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

15 years ago* System.Drawing/Image.cs: On win32, when cloning images initialized from
Andreia Gaita [Fri, 21 Nov 2008 05:50:55 +0000 (05:50 -0000)]
* System.Drawing/Image.cs: On win32, when cloning images initialized from
  resources, also clone the underlying stream, since it needs to stay
  around for the life of the image (gdi doesn't clone the underlying
  stream when cloning images, so when the gc disposes the original, it
  will also dispose the stream, which invalidates the clone).

* System.Drawing/Bitmap.cs: Save the underlying stream when creating bitmaps from a
  clone under win32

* System.Drawing.Imaging/Metafile.cs: Save the underlying stream when creating from a
  clone under win32

[fixes #438886, Backported from r119580]

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

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

15 years ago2008-11-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 21 Nov 2008 00:23:09 +0000 (00:23 -0000)]
2008-11-20  Jonathan Pobst  <monkey@jpobst.com>

* ComboBox.cs: Call HideWindow instead of Hide when closing the dropdown
through DroppedDown so the proper events get called and state gets reset.
[Fixes bug #446805]

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

15 years ago* Mono.WebBrowser/IWebBrowser.cs, Mono.Mozilla/WebBrowser.cs: Support script
Andreia Gaita [Thu, 20 Nov 2008 19:19:56 +0000 (19:19 -0000)]
* Mono.WebBrowser/IWebBrowser.cs, Mono.Mozilla/WebBrowser.cs: Support script
  execution directly in the browser object
  [Backported, r118685]

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

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

15 years ago* Mono.Mozilla/DOM/Node.cs, Mono.Mozilla/DOM/Window.cs: Fix equality
Andreia Gaita [Thu, 20 Nov 2008 19:19:51 +0000 (19:19 -0000)]
* Mono.Mozilla/DOM/Node.cs, Mono.Mozilla/DOM/Window.cs: Fix equality
  operators
  [Backported, r118684, r119336]

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

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

15 years ago* Mono.WebBrowser.dll.sources, Mono.WebBrowser2K5.csproj,
Andreia Gaita [Thu, 20 Nov 2008 19:19:47 +0000 (19:19 -0000)]
* Mono.WebBrowser.dll.sources, Mono.WebBrowser2K5.csproj,
  Mono.Mozilla/interfaces/nsIURIContentListener.cs,
  Mono.Mozilla/DOM/ContentListener.cs: New class added to listen for load
  requests and handle content types
* Mono.WebBrowser/IWebBrowser.cs, Mono.Mozilla/WebBrowser.cs: New
  NavigationRequested event to catch load requests

[Backported, r118617]

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

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

15 years ago2008-11-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 20 Nov 2008 14:30:04 +0000 (14:30 -0000)]
2008-11-20  Zoltan Varga  <vargaz@gmail.com>

Backport of r119444.

* arm/Makefile.am (libmonoarch_arm_la_SOURCES): Don't build tramp.c, it is only
used by the interpreter.

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

15 years ago2008-11-20 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 20 Nov 2008 00:22:29 +0000 (00:22 -0000)]
2008-11-20  Zoltan Varga  <vargaz@gmail.com>

Backport of r119398.

* pinvoke2.cs: Add a test for passing/receiving generic struct instances.

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

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

Backport of r119397.

* marshal.c: Add support for MONO_TYPE_GENERICINST to some functions.
Fixes #444715. Fix a warning.

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

15 years ago * Makefile.am (EXTRA_DIST): Add mono-file-formats{.config,.source} and
Jonathan Pryor [Wed, 19 Nov 2008 13:09:00 +0000 (13:09 -0000)]
* Makefile.am (EXTRA_DIST): Add mono-file-formats{.config,.source} and
  mono-tools{.config,.source} (fixes the build).

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

15 years ago * docs.make, Makefile.am: Build mono-file-formats{.tree,.zip},
Jonathan Pryor [Wed, 19 Nov 2008 02:27:54 +0000 (02:27 -0000)]
* docs.make, Makefile.am: Build mono-file-formats{.tree,.zip},
  mono-tool{.tree,.zip} files.
* mono-file-formats.config, mono-tools.config: Alter paths to man
  pages so that they're valid for building from mono/docs.
* monoapi.make: Rename to docs.make.

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

15 years ago * docs/Makefile: Don't build mono-file-formats.*, mono-tools.*
Jonathan Pryor [Wed, 19 Nov 2008 02:27:31 +0000 (02:27 -0000)]
* docs/Makefile: Don't build mono-file-formats.*, mono-tools.*
* docs/mono-file-formats.config, docs/mono-file-formats.source,
  docs/mono-tools.config, docs/mono-tools.source: Removed (now located
  in mono/docs).

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

15 years agoThese files need to move into mono/docs to fix
Jonathan Pryor [Wed, 19 Nov 2008 02:22:52 +0000 (02:22 -0000)]
These files need to move into mono/docs to fix
https://bugzilla.novell.com/show_bug.cgi?id=445156

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

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

Backport of 119064 and 119081.

* marshal.h : cominterop_ccw_getfreethreadedmarshaler added to return the
  free threaded marshaler when QueryInterface is called on a COM callable
  wrapper requesting the IMarshal interface.

Code is contributed under MIT/X11 license.

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

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

* FieldInfoTest.cs: Test FieldInfo::GetValue on a constant of an open
generic type.

Backported from trunk.

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

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

* MonoField.cs (GetValue): Don't check for open generic types if the field
is a constant.

Backported from trunk.

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

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

* simd-intrinsics.c (vector2l_intrinsics): CompareGreaterThan requires sse 4.2
and not 4.1.

Backported from trunk.

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

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

* Vector2l.cs (CompareGreaterThan): This method requires sse 4.2
and 4.1.

Backported from trunk.

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

15 years ago2008-11-17 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 17 Nov 2008 15:39:41 +0000 (15:39 -0000)]
2008-11-17  Marek Safar  <marek.safar@gmail.com>

A fix for bug #445303
* location.cs (IsConditionalDefined): Handle undefined global
defines.

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

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

A fix for bug #444678
* expression.cs (TryReduceConstant): Always create new constant
instance.

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

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

A fix for bug #444673
* ecore.cs: Ignore open generic types when used as generic type
instance fields.

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

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

Merge r118977 from HEAD.

* mini-amd64.h: Change the monitor fastpath defines to check for
!PLATFORM_WIN32 so they work on *bsd too.

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

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