mono.git
15 years ago2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 29 Apr 2009 02:51:56 +0000 (02:51 -0000)]
2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>

* TdsConnectionPool.cs: if GetConnection() fails to create a
connection, try again several times and then throw. Improved
ResetConnectionPool() so that it does not immediately close
connections in use. Don't re-add connections that have been closed.

* Tds.cs: Connected tests the socket connection too. Made Disconnect()
not throw.

* TdsComm.cs: set more socket options (timeout and NoDelay) and have a
single entry point for reading from the stream.

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

15 years ago2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Apr 2009 02:02:56 +0000 (02:02 -0000)]
2009-04-28 Rodrigo Kumpera  <rkumpera@novell.com>

* gen-md-tests.c: Fix stream header calculation.

* cli-tables-tests.md: Tests for constant.

* assembly-with-constants.cs: New test file for producing tests
for constant table.

* Makefile: Add new dependencies and do some cleanup.

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

15 years ago2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Apr 2009 02:02:45 +0000 (02:02 -0000)]
2009-04-28 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Verify the constant table.

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

15 years ago2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Apr 2009 02:02:15 +0000 (02:02 -0000)]
2009-04-28 Rodrigo Kumpera  <rkumpera@novell.com>

* cli-tables-tests.md: Tests for memberref.

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

15 years ago2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Apr 2009 02:02:05 +0000 (02:02 -0000)]
2009-04-28 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Verify the memberef table.

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

15 years ago2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Apr 2009 02:01:41 +0000 (02:01 -0000)]
2009-04-28 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (get_coded_index_token): Remove
dead argument.

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

15 years ago2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Apr 2009 02:01:18 +0000 (02:01 -0000)]
2009-04-28 Rodrigo Kumpera  <rkumpera@novell.com>

* assembly-with-complex-type.cs: Add more types and methods to be used generating tests.

* cli-tables-tests.md: Tests for interfaceimpl.

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

15 years ago2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Apr 2009 02:01:03 +0000 (02:01 -0000)]
2009-04-28 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Verify the interfaceimpl table.

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

15 years ago2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Apr 2009 02:00:40 +0000 (02:00 -0000)]
2009-04-28 Rodrigo Kumpera  <rkumpera@novell.com>

* valid_ldflda_owned_field_on_cctor.il: Fix visibility of .ctor.

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

15 years ago2009-04-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 29 Apr 2009 02:00:25 +0000 (02:00 -0000)]
2009-04-28 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Improve error message.

* debug-helpers.c (mono_type_get_desc): Harden the code that
deals with VAR and MVAR.

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

15 years agoprop
Miguel de Icaza [Tue, 28 Apr 2009 22:36:21 +0000 (22:36 -0000)]
prop

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

15 years agoFox
Miguel de Icaza [Tue, 28 Apr 2009 22:35:59 +0000 (22:35 -0000)]
Fox

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

15 years agoAdd targets
Miguel de Icaza [Tue, 28 Apr 2009 22:00:44 +0000 (22:00 -0000)]
Add targets

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

15 years agoAdd proxy scripts
Miguel de Icaza [Tue, 28 Apr 2009 22:00:11 +0000 (22:00 -0000)]
Add proxy scripts

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

15 years agocsproj generator
Miguel de Icaza [Tue, 28 Apr 2009 21:52:06 +0000 (21:52 -0000)]
csproj generator

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

15 years ago2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 28 Apr 2009 21:47:22 +0000 (21:47 -0000)]
2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>

* DefaultModelBinder.cs: workaround for bug #499009.

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

15 years ago2009-04-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 28 Apr 2009 21:22:13 +0000 (21:22 -0000)]
2009-04-28  Zoltan Varga  <vargaz@gmail.com>

* *.h *.c: Use TARGET_<ARCH> defines instead of __<arch>__ defines in the
JIT code.

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

15 years ago2009-04-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 28 Apr 2009 21:22:05 +0000 (21:22 -0000)]
2009-04-28  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Define a TARGET_<ARCH> preprocessor symbol for some
architectures.

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

15 years agoFix the ChangeLog to reflect what's actually in SVN.
Martin Baulig [Tue, 28 Apr 2009 21:05:24 +0000 (21:05 -0000)]
Fix the ChangeLog to reflect what's actually in SVN.

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

15 years ago2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Apr 2009 18:55:59 +0000 (18:55 -0000)]
2009-04-28  Atsushi Enomoto  <atsushi@ximian.com>

* TcpDuplexSessionChannel.cs : implement in-band dictionary support
  in [MC-NMF] and [MC-NBFSE], used in duplex channels. Added some
  comments for magic numbers based on [MC-NMF].

* BinaryMessageEncodingBindingElementTest.cs, binary-message.raw:
  new test files.

* System.ServiceModel.dll_test.sources: added
  BinaryMessageEncodingBindingElementTest.cs.

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

15 years ago2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Apr 2009 18:50:16 +0000 (18:50 -0000)]
2009-04-28  Atsushi Enomoto  <atsushi@ximian.com>

* BinaryMessageEncoder.cs : implement part of in-band dictionary
  support for [MC-NBFSE] record in [MC-NMF], in this class.

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

15 years ago2009-04-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Apr 2009 18:46:45 +0000 (18:46 -0000)]
2009-04-28  Atsushi Enomoto  <atsushi@ximian.com>

* BinaryMessageEncodingBindingElement.cs : clear extra public members.

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

15 years ago2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 28 Apr 2009 18:44:40 +0000 (18:44 -0000)]
2009-04-27  Atsushi Enomoto  <atsushi@ximian.com>

* XmlBinaryDictionaryReader.cs : several fixes;
  - Name property was always empty.
  - Value property was always empty for attributes.
  - TextIndex node type was not supported.
  - node reset at Read() was incomplete.
  - attribute Prefix for single character had wrong value.
  - namespace nodes did not appear as attribute nodes.
  - attribute value node must be always single. Another text node
    means a text child of the element, not the following attr value.
  tests will go in sys.servicemodel.

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

15 years ago2009-04-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 28 Apr 2009 18:11:45 +0000 (18:11 -0000)]
2009-04-28  Zoltan Varga  <vargaz@gmail.com>

* image.c (mono_image_fixup_vtable): Avoid casting an lvalue. Fixes
part of #498692.

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

15 years ago2009-04-28 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 28 Apr 2009 18:11:37 +0000 (18:11 -0000)]
2009-04-28  Zoltan Varga  <vargaz@gmail.com>

* misc.c (GC_init): Avoid casting an lvalue. Fixes part of #498692.

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

15 years ago2009-04-23 Tom Hindle <tom_hindle@sil.org>
Zoltan Varga [Tue, 28 Apr 2009 17:58:08 +0000 (17:58 -0000)]
2009-04-23 Tom Hindle <tom_hindle@sil.org>

* cominterop.c (ves_icall_System_Runtime_InteropServices_Marshal_ReleaseComObjectInternal):
changed to match .Net behaviour of not aborting on additional calls to ReleaseComObject.

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

15 years ago2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 28 Apr 2009 17:47:15 +0000 (17:47 -0000)]
2009-04-28 Gonzalo Paniagua Javier <gonzalo@novell.com>

* ConsoleTraceListener.cs: add an internal constructor that takes a
string argument. Used when 'initializeData' is set.
* DiagnosticsConfigurationHandler.cs: try internal constructors when
the assembly is System.
Fixes bug #498853.

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

15 years agoUpdate
Miguel de Icaza [Tue, 28 Apr 2009 17:46:09 +0000 (17:46 -0000)]
Update

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

15 years agoUpdate
Miguel de Icaza [Tue, 28 Apr 2009 17:28:42 +0000 (17:28 -0000)]
Update

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

15 years agoAdd more compat flags
Miguel de Icaza [Tue, 28 Apr 2009 17:14:03 +0000 (17:14 -0000)]
Add more compat flags

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

15 years agoNew test.
Marek Safar [Tue, 28 Apr 2009 17:04:57 +0000 (17:04 -0000)]
New test.

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

15 years ago2009-04-28 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 28 Apr 2009 17:02:37 +0000 (17:02 -0000)]
2009-04-28  Marek Safar  <marek.safar@gmail.com>

A fix for bug #495112
* class.cs (IsUnmanagedType): Handle recursive unmanaged types using
local cache.

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

15 years agoIn Test/System.Xml:
Sebastien Pouliot [Tue, 28 Apr 2009 15:55:19 +0000 (15:55 -0000)]
In Test/System.Xml:
2009-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* XmlReaderCommonTests.cs: Add test case for an empty string url

In System.Xml:
2009-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* XmlTextReader.cs (InitializeContext): Under NET_2_1 do not give
a second change using Path.GetFullPath. (GetStreamFromUrl) Add
extra validations that would be missed in NET_2_1

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

15 years ago2009-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 28 Apr 2009 15:49:07 +0000 (15:49 -0000)]
2009-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* XmlReaderSettings.cs: Add MaxCharactersInDocument property for
NET_2_1 profile
* XmlUrlResolver.cs: Cleanup #ifdef NET_2_1 inside this file
since this is not used anymore in Moonlight

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

15 years agoIn System.Xml:
Sebastien Pouliot [Tue, 28 Apr 2009 15:36:50 +0000 (15:36 -0000)]
In System.Xml:
2009-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* XmlXapResolver.cs: Remove dependency on XmlUrlResolver. Small
fixes wrt new unit tests (inside moon-unit).

In .:
2009-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* net_2_1_raw_System.Xml.dll.sources: Remove XmlUrlResolver.cs
and the associated [SecuritySafeCritical] that it required

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

15 years agoIn Test/System.Xml:
Sebastien Pouliot [Tue, 28 Apr 2009 15:23:37 +0000 (15:23 -0000)]
In Test/System.Xml:
2009-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* XmlResolverTest.cs: New. Unit tests for base features.

In System.Xml:
2009-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* XmlResolver.cs: Small fixes wrt new unit tests. Add SupportsType
method for NET_2_1 profile.

In .:
2009-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* System.Xml_test.dll.sources: Add System.Xml/XmlResolverTest.cs to
the unit tests

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

15 years agoUpdate: +EXPR was never supported, just EXPR
Miguel de Icaza [Tue, 28 Apr 2009 14:53:29 +0000 (14:53 -0000)]
Update: +EXPR was never supported, just EXPR

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

15 years ago2009-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 28 Apr 2009 14:08:15 +0000 (14:08 -0000)]
2009-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* security-core-clr.c: Avoid redundant checks for platform code,
e.g. check for method and for class (very common) and check
for class and outer class (less common)...

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

15 years ago2009-04-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 28 Apr 2009 12:35:47 +0000 (12:35 -0000)]
2009-04-28  Sebastien Pouliot  <sebastien@ximian.com>

* SocketException_2_1.cs: Remove extra ctor and property unused in 2.1

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

15 years ago2009-04-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 28 Apr 2009 12:14:16 +0000 (12:14 -0000)]
2009-04-28  Marek Habersack  <mhabersack@novell.com>

* GridView.cs: implemented ColumnsGenerator and enabled its use in
CreateColumns.

* DetailsView.cs: implemented the RowsGenerator property and
enabled its use in CreateFieldSet.

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

15 years ago2009-04-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 28 Apr 2009 08:39:43 +0000 (08:39 -0000)]
2009-04-28  Marek Habersack  <mhabersack@novell.com>

* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/LinkInHeadWithEmbeddedExpression.aspx

2009-04-28  Marek Habersack  <mhabersack@novell.com>

* TemplateControlCompilerTest.cs: added test for bug #498637

2009-04-28  Marek Habersack  <mhabersack@novell.com>

* AspGenerator.cs: ProcessTag doesn't process a tag which is not
server-side and which has declarative expressions embedded. Fixes
bug #498637

2009-04-28  Marek Habersack  <mhabersack@novell.com>

* NunitWebResources/LinkInHeadWithEmbeddedExpression.aspx: added

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

15 years agoHandle 3.5 profile better. Fix the build too
Raja R Harinath [Tue, 28 Apr 2009 07:28:38 +0000 (07:28 -0000)]
Handle 3.5 profile better.  Fix the build too

* Makefile (NAME_SUFFIX): New.
(LIBRARY_NAME): Use it.
(TEST_MCS_FLAGS): Don't mention name of library.  Use NAME_SUFFIX
as appropriate when referring to other msbuild dlls.

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

15 years ago2009-04-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 28 Apr 2009 01:42:29 +0000 (01:42 -0000)]
2009-04-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ComboBox.cs: When losing the focus, if our textbox is not null,
close its auto complete list, if any.
Fixes part of #489339.

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

15 years agosvn path=/trunk/mcs/; revision=132797
Miguel de Icaza [Mon, 27 Apr 2009 23:33:46 +0000 (23:33 -0000)]
svn path=/trunk/mcs/; revision=132797

15 years agoOnly include the headers if available
Miguel de Icaza [Mon, 27 Apr 2009 23:07:17 +0000 (23:07 -0000)]
Only include the headers if available

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

15 years agoMakefile: Add missing Test/XmlFiles/496192.x* files to dist
Sebastien Pouliot [Mon, 27 Apr 2009 21:17:06 +0000 (21:17 -0000)]
Makefile: Add missing Test/XmlFiles/496192.x* files to dist

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

15 years ago2009-04-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 27 Apr 2009 21:12:30 +0000 (21:12 -0000)]
2009-04-27  Sebastien Pouliot  <sebastien@ximian.com>

* StreamReaderTest.cs: Fix build for NET_1_1

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

15 years ago2009-04-27 Andrés G. Aragoneses <aaragoneses@novell.com>
Andrés G. Aragoneses [Mon, 27 Apr 2009 20:32:41 +0000 (20:32 -0000)]
2009-04-27  Andrés G. Aragoneses  <aaragoneses@novell.com>

        * ListView.cs: Make OnColumnClick +internal to be used by a11y.

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

15 years ago2009-04-27 Brad Taylor <brad@getcoded.net>
Brad Taylor [Mon, 27 Apr 2009 20:20:33 +0000 (20:20 -0000)]
2009-04-27  Brad Taylor  <brad@getcoded.net>

* ToolStripButton.cs: Emit an internal event when CheckOnClick is
changed.

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

15 years ago2009-04-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 27 Apr 2009 20:06:04 +0000 (20:06 -0000)]
2009-04-27  Zoltan Varga  <vargaz@gmail.com>

* custom-attr.cs: Add a test for #498545.

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

15 years ago2009-04-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 27 Apr 2009 20:05:55 +0000 (20:05 -0000)]
2009-04-27  Zoltan Varga  <vargaz@gmail.com>

* reflection.c: Avoid returning random cattrs for synthetic methods.
Fixes #498545.

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

15 years ago2009-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 27 Apr 2009 20:05:43 +0000 (20:05 -0000)]
2009-04-26  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (mono_aot_create_specific_trampoline): Add a stat for the
number of trampolines used in full-aot mode.

* aot-compiler.c: Add an ntrampolines option to set the number of
trampolines emitted in full-aot mode.

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

15 years agoIn System.Security:
Sebastien Pouliot [Mon, 27 Apr 2009 19:07:56 +0000 (19:07 -0000)]
In System.Security:
2009-04-27  Sebastien Pouliot  <sebastien@ximian.com>

* SecurityException.cs: Remove CAS-specific stuff from ToString
* SecurityManager.cs: Do not include for NET_2_1 build
* SecurityManager_2_1.cs: Alternate implementation for NET_2_1

In .:
2009-04-27  Sebastien Pouliot  <sebastien@ximian.com>

* corlib.dll.sources: Add new specific to 2.1 version of some
classes.

In System.Security.Policy:
2009-04-27  Sebastien Pouliot  <sebastien@ximian.com>

* Evidence.cs: Custom GetDefaultHostEvidence for NET_2_1
* Hash.cs: Do not include for NET_2_1 build
* HashMembershipCondition.cs: Do not include for NET_2_1 build
* PolicyLevel.cs: Do not include for NET_2_1 build
* PolicyLevel_2_1.cs: Alternate implementation for NET_2_1
* Zone.cs: Do not include for NET_2_1 build
* ZoneMembershipCondition.cs: Do not include for NET_2_1 build

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

15 years ago2009-04-27 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 27 Apr 2009 16:33:52 +0000 (16:33 -0000)]
2009-04-27 Gonzalo Paniagua Javier <gonzalo@novell.com>

* assembly.c: assemblies in the GAC should never be shadow-copied.

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

15 years ago* Engine.cs (BuildProjectFile): Set project's GlobalProperties to the
Ankit Jain [Mon, 27 Apr 2009 16:20:09 +0000 (16:20 -0000)]
* Engine.cs (BuildProjectFile): Set project's GlobalProperties to the
one passed as argument.

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

15 years ago2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 27 Apr 2009 15:56:10 +0000 (15:56 -0000)]
2009-04-27  Atsushi Enomoto  <atsushi@ximian.com>

* TcpDuplexSessionChannel.cs : implemented some channel methods.

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

15 years ago2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 27 Apr 2009 15:54:40 +0000 (15:54 -0000)]
2009-04-27  Atsushi Enomoto  <atsushi@ximian.com>

* BinaryMessageEncoder.cs : use XmlDictionary specified as [MC-NBFS].

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

15 years ago2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 27 Apr 2009 14:40:43 +0000 (14:40 -0000)]
2009-04-27  Atsushi Enomoto  <atsushi@ximian.com>

* DispatchRuntime.cs : some comment.
* ChannelDispatcher.cs : ongoing changes to handle listeners and
  accepted channels at more precise state. Listeners are opened,
  without accepting channels. Some setup code is done at OnOpen(),
  while some are done at OnOpened().

* ServiceHost.cs : split dispatcher open from dispatcher loop start.
  Use DispatchRuntime.Type to specify service type.

* ChannelDispatcherTest.cs : added a couple of EndpointDispatcher
  state tests.

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

15 years ago2009-04-27 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 27 Apr 2009 14:33:12 +0000 (14:33 -0000)]
2009-04-27  Jb Evain  <jbevain@novell.com>

* sync with CodePlex r10923.

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

15 years agoImprove support for compiling vb.net projects.
Ankit Jain [Mon, 27 Apr 2009 11:42:12 +0000 (11:42 -0000)]
Improve support for compiling vb.net projects.

In class/Microsoft.Build.Tasks:

* Microsoft.Build.Tasks_test.dll.sources: Added
CreateVisualBasicManifestResourceNameTest.cs .

In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:

* CreateCSharpManifestResourceName.cs (GetResourceIdFromFileName): Move
to ..
* CreateManifestResourceName.cs: .. here.
* CreateVisualBasicManifestResourceName.cs: Implement.

In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:

* CreateVisualBasicManifestResourceNameTest.cs: New.

In class/Microsoft.Build.Tasks/Test/resources:

* Sample.vb: New.

In tools/xbuild:

* xbuild/Microsoft.VisualBasic.targets: Update to use
CreateVisualBasicManifestResourceName task, and fix compiler params.

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

15 years ago* Vbc.cs (AddResponseFileCommands): Escape DefineConstants as it can
Ankit Jain [Mon, 27 Apr 2009 11:41:53 +0000 (11:41 -0000)]
* Vbc.cs (AddResponseFileCommands): Escape DefineConstants as it can
contain double quotes itself. Fix /doc switch.
(EscapeDoubleQuotes): New.

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

15 years ago* TaskEngine.cs (Prepare): Emit a useful error message property value
Ankit Jain [Mon, 27 Apr 2009 11:41:38 +0000 (11:41 -0000)]
* TaskEngine.cs (Prepare): Emit a useful error message property value
can't be converted to required type.

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

15 years ago* ExpressionCollection.cs (ConvertToObject): Allow true/on/yes
Ankit Jain [Mon, 27 Apr 2009 11:41:06 +0000 (11:41 -0000)]
* ExpressionCollection.cs (ConvertToObject): Allow true/on/yes
as valid true values for bool, and corresponding for false.

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

15 years ago2009-04-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 27 Apr 2009 08:28:29 +0000 (08:28 -0000)]
2009-04-27  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelManagerBase.cs : implement Open/CloseTimeout correctly.

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

15 years ago2009-04-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 27 Apr 2009 06:09:22 +0000 (06:09 -0000)]
2009-04-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* XplatUIX11.cs: Properly support UTF8 when handling the
SelectionRequest event - this is helpful supporting some window
managers, such KDE, that explictly request the text in utf8, as
opposed to gnome, that supports ascii.
Fixes #489393.

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

15 years ago2009-04-26 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 27 Apr 2009 02:05:40 +0000 (02:05 -0000)]
2009-04-26  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ToolStripDropDownItem.cs: When assigning a new
ToolStripDropDownMenu, let it know we are its OwnerItem. This way the
Capture duties performed by Application/ToolStripManager are handled
nicely and we don't end up in an inconsisten stat.
Fixes #492815.

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

15 years ago2009-04-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 26 Apr 2009 22:39:33 +0000 (22:39 -0000)]
2009-04-27  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Implement OP_CHECK_THIS using
a volatile load. Get rid of get_tempname (), llvm assigns names
automatically.

* mini-llvm-cpp.cpp (mono_llvm_build_volatile_load): New instruction
builder function.

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

15 years ago2009-04-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 26 Apr 2009 22:27:03 +0000 (22:27 -0000)]
2009-04-27  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Don't call LLVMGetParam on
a value.

* abcremoval.c (REPORT_ABC_REMOVAL): Don't output messages at verbose
level 1.

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

15 years ago2009-04-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 26 Apr 2009 22:13:51 +0000 (22:13 -0000)]
2009-04-27  Zoltan Varga  <vargaz@gmail.com>

* mini-codegen.c (mono_local_regalloc): Prevent sreg1/dreg to be allocated
to the same register as a fixed sreg2. Fixes #497271.

* iltests.il.in: Add a new test.

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

15 years ago2009-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 26 Apr 2009 18:34:15 +0000 (18:34 -0000)]
2009-04-26  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c: Use moves instead of pushes for passing arguments on the
stack, since pushes complicate exception handling.

* exceptions-amd64.c (mono_arch_find_jit_info): Don't pop the arguments of
the stack if they are passed using moves.

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

15 years ago2009-04-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 26 Apr 2009 18:31:57 +0000 (18:31 -0000)]
2009-04-26  Zoltan Varga  <vargaz@gmail.com>

* mini-trampolines.c (mono_llvm_vcall_trampoline): Add an assert.

* method-to-ir.c (mono_method_to_ir): Disable fast virtual generic methods
when using llvm.

* mini-llvm.c (mono_llvm_emit_method): Call jit icall wrappers, not the
icalls themselves. Convert arguments of FCOMPARE. Convert the destination
of FMOVE if it is an R4.

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

15 years agoDisable track resurrection hashes if using SGen.
Mark Probst [Sun, 26 Apr 2009 10:04:27 +0000 (10:04 -0000)]
Disable track resurrection hashes if using SGen.

2009-04-26  Mark Probst  <mark.probst@gmail.com>

        * domain.c, domain-internals.h: Disable
        track_resurrection_{objects,handles}_hash in MonoDomain if using
        SGen.

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

15 years agoAdd comment after much debate
Miguel de Icaza [Sat, 25 Apr 2009 19:34:34 +0000 (19:34 -0000)]
Add comment after much debate

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

15 years ago2009-04-25 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 25 Apr 2009 19:32:34 +0000 (19:32 -0000)]
2009-04-25  Miguel de Icaza  <miguel@novell.com>

* TermInfoDriver.cs: Use the new StreamReader.DataAvailable to
load all the data that was added into the `stdin' stream when we
did the `Read'.

2009-04-25  Miguel de Icaza  <miguel@novell.com>

* StreamReader.cs (DataAvailable): New internal function to work
around the fact that StreamReaders are now blocking on Peek(), and
that our own Console.TermInfoDriver used Peek() as a way of
probing if there was data on a stream before to avoid blocking. o

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

15 years agoApply Gonzalo's patch to fix TermInfoDriver after his StreamReader changes
Miguel de Icaza [Sat, 25 Apr 2009 19:00:32 +0000 (19:00 -0000)]
Apply Gonzalo's patch to fix TermInfoDriver after his StreamReader changes

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

15 years agoReapply
Miguel de Icaza [Sat, 25 Apr 2009 18:59:23 +0000 (18:59 -0000)]
Reapply

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

15 years ago2009-04-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 25 Apr 2009 18:47:02 +0000 (18:47 -0000)]
2009-04-25  Zoltan Varga  <vargaz@gmail.com>

* mini-ops.h: Add OP_LLVM_OUTARG_VT opcode.

* mini.h (LLVMCallInfo): New structure to store calling convention
information for the LLVM back end similar to the CallInfo structures in
the back-ends.

* mini-amd64.c (mono_arch_get_llvm_call_info): New arch function to return
call information in a format usable by LLVM.
(mono_arch_emit_call): Move the LLVM handling code to mono_llvm_emit_call ().

* method-to-ir.c (mono_emit_call_args): Emit calls using
mono_llvm_emit_call () when compiling using LLVM.

* mini-llvm.c: Implement support for passing/receiving valuetypes. Add
comments to all functions. Fix memory leaks. Add a public init/cleanup
function.

* mini.c: Call the llvm init/cleanup functions in mini_init()/cleanup().

* method-to-ir.c (handle_array_new): Disable llvm when calling the vararg
mono_array_new_va () jit icall.

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

15 years ago2009-04-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 25 Apr 2009 16:50:06 +0000 (16:50 -0000)]
2009-04-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ToolStrip.cs: Even if we are not exactly a MenuStrip instance, close
any ToolStripDropDownItem when receiving a mouse down event in an
empty area.

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

15 years ago2009-04-25 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 25 Apr 2009 15:57:46 +0000 (15:57 -0000)]
2009-04-25  Sebastien Pouliot  <sebastien@ximian.com>

* *.cs: Exclude the files for the NET_2_1 profile, since they are
unneeded and adds a bunch (23) [SecuritySafeCritical] to audit for
Moonlight

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

15 years ago2009-04-24 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 25 Apr 2009 15:20:12 +0000 (15:20 -0000)]
2009-04-24  Sebastien Pouliot  <sebastien@ximian.com>

* Environment.cs: #ifdef out code that use the registry for the
NET_2_1 profile and some other properties (2) that added
[SecuritySafeCritical] methods to audit inside Moonlight.

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

15 years ago2009-04-25 Daniel Nauck <dna@mono-project.de>
Daniel Nauck [Sat, 25 Apr 2009 14:43:42 +0000 (14:43 -0000)]
2009-04-25 Daniel Nauck <dna@mono-project.de>

        Fix bug #484649:
        * LoggerInfo.cs: fixed the parsing of the /logger: argument as described in
        http://msdn.microsoft.com/en-us/library/ms164311.aspx
        Added logger class detection if it's not explicit specified in the argument.

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

15 years ago2009-04-25 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Sat, 25 Apr 2009 11:48:33 +0000 (11:48 -0000)]
2009-04-25  Jonathan Chambers  <joncham@gmail.com>

        * Makefile: Add Microsoft.Build.* to 3.5 profile.

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

15 years ago2009-04-24 Kostyantyn Gushtin, Yevgen Kiruha, Serhiy Naumenko, Serhiy Stetskovych...
Zoltan Varga [Sat, 25 Apr 2009 03:39:40 +0000 (03:39 -0000)]
2009-04-24  Kostyantyn Gushtin, Yevgen Kiruha, Serhiy Naumenko, Serhiy Stetskovych and Ian Dichkovsky <mono@n-ix.com.ua>

* include/private/gcconfig.h: Changes to support 64-bit ABI on MIPS.
Add an additional condition for a proper defining of  ALIGNMENT
and CPP_WORDSZ.

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

15 years ago * src/**/*: Add missing files (doh!). Fixes the build.
Jonathan Pryor [Sat, 25 Apr 2009 00:52:17 +0000 (00:52 -0000)]
* src/**/*: Add missing files (doh!).  Fixes the build.

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

15 years ago2009-04-24 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 25 Apr 2009 00:21:08 +0000 (00:21 -0000)]
2009-04-24  Miguel de Icaza  <miguel@novell.com>

* complete.cs: No idea how gonzalo got a null in the list, but
avoid crashing.

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

15 years ago * src/**/*: Flush; syncs to DbLinq r1053. Adds
Jonathan Pryor [Fri, 24 Apr 2009 23:47:48 +0000 (23:47 -0000)]
* src/**/*: Flush; syncs to DbLinq r1053.  Adds
  DataContext(string,MappingSource) support, the beginnings of object
  tracking, more tests...

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

15 years agoRevert 132601, 132602 as it made the csharp console stop working
Miguel de Icaza [Fri, 24 Apr 2009 23:43:12 +0000 (23:43 -0000)]
Revert 132601, 132602 as it made the csharp console stop working

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

15 years agoWithout this I am unable to install
Miguel de Icaza [Fri, 24 Apr 2009 22:38:55 +0000 (22:38 -0000)]
Without this I am unable to install

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

15 years ago2009-04-24 Rodrigo Kumpera <kumpera@gmail.com>
Rodrigo Kumpera [Fri, 24 Apr 2009 22:32:18 +0000 (22:32 -0000)]
2009-04-24  Rodrigo Kumpera  <kumpera@gmail.com>

* get.c (dis_stringify_method_signature_full): Don't assert
if no marshal info is found.

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

15 years ago2009-04-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 24 Apr 2009 22:31:54 +0000 (22:31 -0000)]
2009-04-24 Rodrigo Kumpera  <rkumpera@novell.com>

* assembly-with-params.cs: New test file with all sort of param kinds.

* assembly-with-methods.cs: Added more stuff to test paramlist.

* Makefile: Add new dependencies.

* cli-tables-tests.md: Tests for methoddef's paramlist.
Tests for the param table.

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

15 years ago2009-04-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 24 Apr 2009 22:31:39 +0000 (22:31 -0000)]
2009-04-24 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c: Verify the param table.

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

15 years ago2009-04-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 24 Apr 2009 22:31:09 +0000 (22:31 -0000)]
2009-04-24 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (verify_typedef_table): Range check FieldList and
MethodList.

* metadata-verify.c (verify_method_table): Proper check the ParamList
field.

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

15 years ago2009-04-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 24 Apr 2009 22:30:34 +0000 (22:30 -0000)]
2009-04-24 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata-verify.c (verify_method_table): Check for runtime
implemented functions such as delegate .ctors. Remove spurious
printf.

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

15 years ago2009-04-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 24 Apr 2009 22:29:52 +0000 (22:29 -0000)]
2009-04-24 Rodrigo Kumpera  <rkumpera@novell.com>

* pedump.c: Proper initialize the runtime forcing the 2.0 profile.

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

15 years agoUpdate this
Miguel de Icaza [Fri, 24 Apr 2009 21:41:32 +0000 (21:41 -0000)]
Update this

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

15 years agoReapply this patch, but keep in mind, it does introduce
Miguel de Icaza [Fri, 24 Apr 2009 21:30:34 +0000 (21:30 -0000)]
Reapply this patch, but keep in mind, it does introduce
a new shift/reduce conflict which is bothering me:

625: shift/reduce conflict (shift 452, reduce 890) on COMPLETE_COMPLETION
state 625
member_initializer : non_assignment_expression . opt_COMPLETE_COMPLETION  (452)
opt_COMPLETE_COMPLETION : .  (890)

COMPLETE_COMPLETION  shift 452
CLOSE_BRACE  reduce 890
COMMA  reduce 890

opt_COMPLETE_COMPLETION  goto 807

2009-04-24  Miguel de Icaza  <miguel@novell.com>

* complete.cs (CompletionElementInitializer): New completion class
to support completing inside a C# 3 element initializer, so this
allows completion for Silverlight situations where it is very
common to do:

new TextBlock () { Fo<TAB>

(CompletionSimpleName): Expose the prefix that was
passed to the simple name.

* cs-parser.jay (object_or_collection_initializer): Add support
for element_initializers.

* expression.cs (CollectionOrObjectInitializers.DoResolve):
special case completion expressions as this method aggressively
collects data before it operates, and errors were being thrown
earlier than we were able to complete.

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

15 years ago2009-04-24 Andrés G. Aragoneses <aaragoneses@novell.com>
Andrés G. Aragoneses [Fri, 24 Apr 2009 21:27:27 +0000 (21:27 -0000)]
2009-04-24  Andrés G. Aragoneses  <aaragoneses@novell.com>

        * ToolBarButton.cs: add UIA events for style and dropdownmenu changes.

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

15 years ago2009-04-24 Andrés G. Aragoneses <aaragoneses@novell.com>
Andrés G. Aragoneses [Fri, 24 Apr 2009 21:23:28 +0000 (21:23 -0000)]
2009-04-24  Andrés G. Aragoneses  <aaragoneses@novell.com>

        * ToolBarButton.cs: rename a method to include UIA prefix.

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

15 years agodoh, fix build
Andrés G. Aragoneses [Fri, 24 Apr 2009 21:21:31 +0000 (21:21 -0000)]
doh, fix build

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

15 years ago2009-04-24 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Fri, 24 Apr 2009 21:20:07 +0000 (21:20 -0000)]
2009-04-24  Bill Holmes  <billholmes54@gmail.com>

Fixing the glib targets for Winx64.

* libmono.vcproj, mono.vcproj: Correcting the ProgramDatabaseFile
  value for the Winx64 glib build.

* mono.sln: Enabling the glib targets for Winx64.

Code is contributed under MIT/X11 license.

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