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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Tue, 28 Apr 2009 22:36:21 +0000 (22:36 -0000)]
prop
svn path=/trunk/mcs/; revision=132902
Miguel de Icaza [Tue, 28 Apr 2009 22:35:59 +0000 (22:35 -0000)]
Fox
svn path=/trunk/mcs/; revision=132901
Miguel de Icaza [Tue, 28 Apr 2009 22:00:44 +0000 (22:00 -0000)]
Add targets
svn path=/trunk/mcs/; revision=132899
Miguel de Icaza [Tue, 28 Apr 2009 22:00:11 +0000 (22:00 -0000)]
Add proxy scripts
svn path=/trunk/mono/; revision=132898
Miguel de Icaza [Tue, 28 Apr 2009 21:52:06 +0000 (21:52 -0000)]
csproj generator
svn path=/trunk/mcs/; revision=132897
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Tue, 28 Apr 2009 17:46:09 +0000 (17:46 -0000)]
Update
svn path=/trunk/mcs/; revision=132867
Miguel de Icaza [Tue, 28 Apr 2009 17:28:42 +0000 (17:28 -0000)]
Update
svn path=/trunk/mono/; revision=132866
Miguel de Icaza [Tue, 28 Apr 2009 17:14:03 +0000 (17:14 -0000)]
Add more compat flags
svn path=/trunk/mcs/; revision=132864
Marek Safar [Tue, 28 Apr 2009 17:04:57 +0000 (17:04 -0000)]
New test.
svn path=/trunk/mcs/; revision=132862
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Mon, 27 Apr 2009 23:33:46 +0000 (23:33 -0000)]
svn path=/trunk/mcs/; revision=132797
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Sat, 25 Apr 2009 18:59:23 +0000 (18:59 -0000)]
Reapply
svn path=/trunk/mcs/; revision=132666
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Fri, 24 Apr 2009 21:41:32 +0000 (21:41 -0000)]
Update this
svn path=/trunk/mcs/; revision=132627
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
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
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
Andrés G. Aragoneses [Fri, 24 Apr 2009 21:21:31 +0000 (21:21 -0000)]
doh, fix build
svn path=/trunk/mcs/; revision=132623
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