Rodrigo Kumpera [Tue, 12 May 2009 03:31:25 +0000 (03:31 -0000)]
2009-05-11 Rodrigo Kumpera <rkumpera@novell.com>
* assembly-with-methods.cs: Mark the class with the
P/Invoke as abstract.
* cli-tables-tests.md: Add tests for implmap.
svn path=/trunk/mono/; revision=133947
Rodrigo Kumpera [Tue, 12 May 2009 03:30:29 +0000 (03:30 -0000)]
2009-05-11 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the implmap table.
Don't require that #US and #Strings be present.
svn path=/trunk/mono/; revision=133946
Gonzalo Paniagua Javier [Tue, 12 May 2009 03:14:36 +0000 (03:14 -0000)]
2009-05-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
* UdpClient.cs: if possible, avoid DNS lookups when the host name is
an IP address. Related to bug #502866.
svn path=/trunk/mcs/; revision=133944
Carlos Alberto Cortez [Tue, 12 May 2009 02:13:32 +0000 (02:13 -0000)]
2009-05-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolStripDropDownTest.cs: New test to assure the Height atfer
calculating the layout depends on ToolStripItem.GetPreferredHeight.
svn path=/trunk/mcs/; revision=133943
Carlos Alberto Cortez [Tue, 12 May 2009 02:11:19 +0000 (02:11 -0000)]
2009-05-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolStripDropDownMenu.cs: Use the height returned by
ToolStripItem.GetPreferredHeight to calculate our own height.
svn path=/trunk/mcs/; revision=133941
Sebastien Pouliot [Tue, 12 May 2009 01:54:15 +0000 (01:54 -0000)]
2009-05-11 Sebastien Pouliot <sebastien@ximian.com>
* security-core-clr.c: Delegate checks are done at creation time,
not a invocation time. Fix exception for Telerik Silverlight demo
svn path=/trunk/mono/; revision=133938
Zoltan Varga [Mon, 11 May 2009 22:52:12 +0000 (22:52 -0000)]
2009-05-12 Zoltan Varga <vargaz@gmail.com>
* collection.c (collection_thread): Get rid of all the ifdefs and
gcc attributes, simply return NULL.
svn path=/trunk/mono/; revision=133934
Tor Lillqvist [Mon, 11 May 2009 22:07:31 +0000 (22:07 -0000)]
2009-05-12 Tor Lillqvist <tml@novell.com>
* mkbundle.1: Document MONO_BUNDLED_OPTIONS.
svn path=/trunk/mono/; revision=133933
Sebastien Pouliot [Mon, 11 May 2009 21:34:04 +0000 (21:34 -0000)]
* WebHeaderCollection_2_1.cs: Headers are removed only in special
cases and never when the "this" property is used. Call ToLower
in SetHeader too in order to avoid typos.
2009-05-11 Sebastien Pouliot <sebastien@ximian.com>
svn path=/trunk/mcs/; revision=133930
Mark Probst [Mon, 11 May 2009 20:28:05 +0000 (20:28 -0000)]
Reset abort exception/state and current_appcontext early to avoid cross-context problems.
2009-05-11 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c (need_remove_object_for_domain): Remove the special
case for the Thread class.
* threads.c: Do clean-up of abort exception/state in
thread_cleanup() instead of Thread.free_internal(). Also clean up
current_appcontext. The reason we have to do that is because
those references might point into another domain and if that
domain is unloaded before the thread is finalized, they point to
invalid data.
svn path=/trunk/mono/; revision=133925
Sebastien Pouliot [Mon, 11 May 2009 19:22:21 +0000 (19:22 -0000)]
2009-05-11 Sebastien Pouliot <sebastien@ximian.com>
* HttpWebRequest_2_1.cs: Fix Accept and ContentType properties
to use, with special care, the Headers property
* WebHeaderCollection_2_1.cs (SetHeader): Add or remove header.
svn path=/trunk/mcs/; revision=133916
Tor Lillqvist [Mon, 11 May 2009 19:21:00 +0000 (19:21 -0000)]
2009-05-11 Tor Lillqvist <tml@novell.com>
* template_main.c: Enable passing options to the bundled Mono
interpreter through a MONO_BUNDLED_OPTIONS environment
variable. Requested in bug #495858.
Enable non-ASCII (arbitraty Unicode in fact) command-line
parameters to a mkbundled executable on Windows. Use
GetCommandLineW(), CommandLineToArgvW(), and then
g_utf16_to_utf8(). From bug #446172.
svn path=/trunk/mcs/; revision=133915
Atsushi Eno [Mon, 11 May 2009 17:37:07 +0000 (17:37 -0000)]
2009-05-11 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaComplexType.cs : make complex content type work like .NET
does. Patch by Jonas Larsson. Fixed bug #501814.
* XmlValidatingReaderTests.cs : test for bug #501814 by Jonas
Larsson.
svn path=/trunk/mcs/; revision=133908
Atsushi Eno [Mon, 11 May 2009 17:12:26 +0000 (17:12 -0000)]
2009-05-11 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaComplexType.cs : do not forget to clear attributes
before Compile(). Patch by Jonas Larsson. Fixed bug #501763.
* XsdValidatingReaderTest.cs : test for bug #501763 by Jonas Larsson.
svn path=/trunk/mcs/; revision=133905
Marek Habersack [Mon, 11 May 2009 17:12:11 +0000 (17:12 -0000)]
2009-05-11 Marek Habersack <mhabersack@novell.com>
* UrlPattern.cs: TrySubstitute treats defaults differently
now. They are not consulted when checking if the passed values
match the pattern, but only when substituting the values. Fixes
bug #502555
2009-05-11 Marek Habersack <mhabersack@novell.com>
* RouteCollectionTest.cs: added test for bug #502555
svn path=/trunk/mcs/; revision=133904
Atsushi Eno [Mon, 11 May 2009 16:59:42 +0000 (16:59 -0000)]
2009-05-07 Jonas Larsson <jonas.larsson@manodo.se>
* XmlAtomicValue.cs : support more type conversion. fixed bug #501666.
* XmlSchemaValidatorTests.cs : added test for bug #501666.
svn path=/trunk/mcs/; revision=133903
Zoltan Varga [Mon, 11 May 2009 13:49:16 +0000 (13:49 -0000)]
2009-05-11 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_and_reloc_code): Move the implementation of
MONO_PATCH_INFO_GOT_OFFSET to a separate arch-specific function.
(emit_plt): Fix a warning.
svn path=/trunk/mono/; revision=133895
Zoltan Varga [Mon, 11 May 2009 13:06:19 +0000 (13:06 -0000)]
2009-05-11 Zoltan Varga <vargaz@gmail.com>
* shared.c: Applied patch from Koushik K. Dutta (koush@koushikdutta.com).
Fix the build on android.
svn path=/trunk/mono/; revision=133891
Gonzalo Paniagua Javier [Mon, 11 May 2009 04:13:35 +0000 (04:13 -0000)]
fix prev patch
svn path=/trunk/mcs/; revision=133874
Gonzalo Paniagua Javier [Mon, 11 May 2009 03:55:21 +0000 (03:55 -0000)]
2009-05-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* CookieContainer.cs: matching hosts to domain names like MS does.
Bug #421827 fixed.
svn path=/trunk/mcs/; revision=133872
Carlos Alberto Cortez [Mon, 11 May 2009 02:55:26 +0000 (02:55 -0000)]
2009-05-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TreeNode.cs: When setting Checked, do a double null check, since the
current node can still get a null parent handling
TreeView.OnAfterCheck.
Fixes #502567.
svn path=/trunk/mcs/; revision=133868
Gonzalo Paniagua Javier [Mon, 11 May 2009 02:06:04 +0000 (02:06 -0000)]
2009-05-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* CustomizableFileSettingsProvider.cs: make sure 'values' is
initialized in Reset(). Fixes bug #436592.
svn path=/trunk/mcs/; revision=133866
Carlos Alberto Cortez [Mon, 11 May 2009 01:54:14 +0000 (01:54 -0000)]
2009-05-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Control.cs: When assigning ContextMenu, do a null check before
assigning its container field.
svn path=/trunk/mcs/; revision=133865
Andrés G. Aragoneses [Sun, 10 May 2009 21:26:08 +0000 (21:26 -0000)]
2009-05-10 Andy Hume <andyhume32@yahoo.co.uk>
* LinkedList.cs: Add null check. Fixes #481621.
svn path=/trunk/mcs/; revision=133864
Zoltan Varga [Sun, 10 May 2009 20:50:20 +0000 (20:50 -0000)]
Fix the build.
svn path=/trunk/mono/; revision=133863
Marek Habersack [Sun, 10 May 2009 20:29:01 +0000 (20:29 -0000)]
2009-05-10 Marek Habersack <mhabersack@novell.com>
* Makefile (TEST_RESOURCE_FILES): added
Test/mainsoft/NunitWebResources/ExpressionInListControl.aspx
2009-05-10 Marek Habersack <mhabersack@novell.com>
* AspGenerator.cs: keep processing the tag if it is not a server
one and contains expressions and no code render blocks.
2009-05-10 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompilerTest.cs: added a test for expressions in
list control items.
svn path=/trunk/mcs/; revision=133861
Andrés G. Aragoneses [Sun, 10 May 2009 20:23:28 +0000 (20:23 -0000)]
reverted merge problem in last commit
svn path=/trunk/mcs/; revision=133860
Sebastien Pouliot [Sun, 10 May 2009 20:20:13 +0000 (20:20 -0000)]
re-apply changes since Zoltan had already fixed it
svn path=/trunk/mono/; revision=133859
Andrés G. Aragoneses [Sun, 10 May 2009 20:18:03 +0000 (20:18 -0000)]
2009-05-10 Andrés G. Aragoneses <aaragoneses@novell.com>
* LinkedListTest.cs: Added NotWorking test for #481621,
converted from example code by Andy Hume <andyhume32@yahoo.co.uk>.
svn path=/trunk/mcs/; revision=133858
Sebastien Pouliot [Sun, 10 May 2009 20:15:58 +0000 (20:15 -0000)]
revert r133848 which broke monobuild
svn path=/trunk/mono/; revision=133857
Zoltan Varga [Sun, 10 May 2009 18:36:18 +0000 (18:36 -0000)]
2009-05-10 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c aot-runtime.c: Fix the build by moving is_shared_got_patch
back into aot-compiler.c to a place where the other functions shared by
the runtime and aot compiler are.
svn path=/trunk/mono/; revision=133856
Zoltan Varga [Sun, 10 May 2009 18:30:42 +0000 (18:30 -0000)]
2009-05-10 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c aot-runtime.c: Emit the got addr using a separate symbol,
as done previously, instead of in MonoAotFileInfo, since pointers might have
alignment requirements.
* mini.h: Bump AOT file format version.
svn path=/trunk/mono/; revision=133855
Sebastien Pouliot [Sun, 10 May 2009 18:18:30 +0000 (18:18 -0000)]
2009-05-10 Sebastien Pouliot <sebastien@ximian.com>
* HttpWebRequest_2_1.cs: Move Headers property logic here (as
shown by adding more unit tests)
* WebClient_2_1.cs: Add comment that Headers are not validated
there, but later.
* WebHeaderCollection_2_1.cs: Add a SetHeader method that can
work around the normal validations that the "this" property
needs to do.
svn path=/trunk/mcs/; revision=133852
Marek Habersack [Sun, 10 May 2009 18:17:33 +0000 (18:17 -0000)]
Sorry for the noise, but the property is also virtual :)
svn path=/trunk/mcs/; revision=133851
Marek Habersack [Sun, 10 May 2009 18:16:21 +0000 (18:16 -0000)]
The property is protected, not public
svn path=/trunk/mcs/; revision=133850
Marek Habersack [Sun, 10 May 2009 18:15:05 +0000 (18:15 -0000)]
2009-05-10 Marek Habersack <mhabersack@novell.com>
* DbConnection.cs: implemented the DbProviderFactory property
svn path=/trunk/mcs/; revision=133849
Miguel de Icaza [Sun, 10 May 2009 17:39:40 +0000 (17:39 -0000)]
2009-05-10 Miguel de Icaza <miguel@novell.com>
* aot-runtime.c (mono_aot_is_shared_got_patch): Move this routine
that is used at runtime from the aot-compiler.c, this makes it
work on setups that remove the AOT compiler from the output
image.
svn path=/trunk/mono/; revision=133848
Andreas Färber [Sun, 10 May 2009 13:35:21 +0000 (13:35 -0000)]
Fix build without GC
2009-05-10 Andreas Faerber <andreas.faerber@web.de>
* null-gc.c (mono_gc_weak_link_add, mono_gc_clear_domain): Fix
stub signatures.
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=133844
Miguel de Icaza [Sat, 9 May 2009 22:10:08 +0000 (22:10 -0000)]
Forgot to make this private
svn path=/trunk/mono/; revision=133842
Miguel de Icaza [Sat, 9 May 2009 22:08:35 +0000 (22:08 -0000)]
2009-05-09 Miguel de Icaza <miguel@novell.com>
* mono-value-hash.c (mono_value_hash_table_insert_replace):
Initialize variable, to quiet the compiler.
* mono-proclib.c: Eliminate two warnings.
svn path=/trunk/mono/; revision=133841
Miguel de Icaza [Sat, 9 May 2009 22:00:33 +0000 (22:00 -0000)]
2009-05-09 Miguel de Icaza <miguel@novell.com>
* verify.c, metadata-verifier.c: Add support for disabling the
verifier in some builds.
[ Sorry, my previous commit accidentally commited some work in
progress ]
svn path=/trunk/mono/; revision=133840
Miguel de Icaza [Sat, 9 May 2009 21:54:29 +0000 (21:54 -0000)]
Fix warning
svn path=/trunk/mono/; revision=133839
Miguel de Icaza [Sat, 9 May 2009 21:47:59 +0000 (21:47 -0000)]
Add support to disable the verifier
svn path=/trunk/mono/; revision=133838
Miguel de Icaza [Sat, 9 May 2009 21:47:36 +0000 (21:47 -0000)]
2009-05-09 Miguel de Icaza <miguel@novell.com>
* configure.in: Instead of reporting the various disabled features
in a loop, where a keyword might fail, report the actual disabled
features in the sections that handle them
svn path=/trunk/mono/; revision=133837
Miguel de Icaza [Sat, 9 May 2009 20:18:01 +0000 (20:18 -0000)]
Do not build the dwarfwriter if JIT/AOT are disabled
svn path=/trunk/mono/; revision=133835
Zoltan Varga [Sat, 9 May 2009 19:31:27 +0000 (19:31 -0000)]
2009-05-09 Zoltan Varga <vargaz@gmail.com>
* mini-<ARCH>.h: Kill the MONO_ARCH_ENABLE_EMIT_STATE_OPT define.
svn path=/trunk/mono/; revision=133834
Zoltan Varga [Sat, 9 May 2009 19:25:55 +0000 (19:25 -0000)]
2009-05-09 Zoltan Varga <vargaz@gmail.com>
* decompose.c (mono_decompose_long_opts): Move the ppc/sparc specific
stuff to mono_arch_decompose_long_opts ().
(mono_decompose_opcode): Remove some dead code.
svn path=/trunk/mono/; revision=133833
Miguel de Icaza [Sat, 9 May 2009 19:21:28 +0000 (19:21 -0000)]
Document
svn path=/trunk/mono/; revision=133832
Miguel de Icaza [Sat, 9 May 2009 19:19:24 +0000 (19:19 -0000)]
Document and add full_messages
svn path=/trunk/mono/; revision=133831
Miguel de Icaza [Sat, 9 May 2009 19:16:47 +0000 (19:16 -0000)]
2009-05-09 Miguel de Icaza <miguel@novell.com>
* messages.c: Split the scan into common and uncommon messages to
allow the messages that are not produced by Mono to be removed on
embedded scenarios.
svn path=/trunk/mono/; revision=133830
Miguel de Icaza [Sat, 9 May 2009 19:15:27 +0000 (19:15 -0000)]
Add new test
svn path=/trunk/mono/; revision=133829
Miguel de Icaza [Sat, 9 May 2009 17:37:51 +0000 (17:37 -0000)]
2009-05-09 Miguel de Icaza <miguel@novell.com>
* messages.c (message_string): instead of having a gigantic switch
table, use a sorted structure in memory and do a binary search on
it.
This reduces the runtime size by 49k and the debugging symbols by
400k.
svn path=/trunk/mono/; revision=133828
Miguel de Icaza [Sat, 9 May 2009 16:52:12 +0000 (16:52 -0000)]
Add a handful of extra DISABLE options to the list
svn path=/trunk/mono/; revision=133827
Sebastien Pouliot [Sat, 9 May 2009 15:46:30 +0000 (15:46 -0000)]
In Assembly:
2009-05-09 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Open up the internals to System.Windows.Browser
(needed right now), System.Windows and System.Xml (needed for an
upcoming patch).
In System.Net:
2009-05-09 Sebastien Pouliot <sebastien@ximian.com>
* WebHeaderCollection_2_1.cs: When associated with a WebRequest
the header collection items needs to be validated since not all
headers will be valid. Part of fix for DRT#532
svn path=/trunk/mcs/; revision=133826
Brad Taylor [Fri, 8 May 2009 20:28:25 +0000 (20:28 -0000)]
2009-05-08 Brad Taylor <brad@getcoded.net>
* DateTimePicker.cs: Add a UIA-specific property to ensure that if
is_checkbox_checked is changed, we won't break.
svn path=/trunk/mcs/; revision=133815
Andrés G. Aragoneses [Fri, 8 May 2009 19:53:05 +0000 (19:53 -0000)]
* ToolStripItem.cs: Prevent NRE when our holder is a
ToolStripDropDownButton and we get Select()ed.
* ToolStripMenuItemTest.cs: Improve test, and remove the
NotWorking attribute. Also remove the 'var' keywords, doh!
svn path=/trunk/mcs/; revision=133814
Carlos Alberto Cortez [Fri, 8 May 2009 19:21:27 +0000 (19:21 -0000)]
2009-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolStripControlHost.cs: New tests for DefaultSize and
OnHostedControlResize members.
svn path=/trunk/mcs/; revision=133812
Carlos Alberto Cortez [Fri, 8 May 2009 19:21:14 +0000 (19:21 -0000)]
2009-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolStripControlHost.cs: DefaultSize must return the current size of
the Control, not the value returned by GetPreferredSize. Also connect
a handle to the control Resize event, and use it to fire
OnHostedControlReize.
Fixes the remaining bits of #483146.
svn path=/trunk/mcs/; revision=133811
Carlos Alberto Cortez [Fri, 8 May 2009 19:16:11 +0000 (19:16 -0000)]
2009-05-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolStripDropDown.cs: When performing the layout, use
ToolStripItem.GetPreferredSize ().Height instead of
ToolStripItem.Height, since we are already using it that way in this
same method.
Fixes part of ##483146.
svn path=/trunk/mcs/; revision=133810
Zoltan Varga [Fri, 8 May 2009 17:59:10 +0000 (17:59 -0000)]
2009-05-08 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_setup_fields): Set class->field.first for
generic instances.
svn path=/trunk/mono/; revision=133806
Brad Taylor [Fri, 8 May 2009 15:59:11 +0000 (15:59 -0000)]
2009-05-08 Brad Taylor <brad@getcoded.net>
* DateTimePicker.cs: Wrap UIA specific code in NET_2_0 wrappers. Send
OnUIASelectionChanged when ShowCheckbox is true and the checkbox
recieves focus. Part of fix for #502029.
svn path=/trunk/mcs/; revision=133783
Andrés G. Aragoneses [Fri, 8 May 2009 15:38:43 +0000 (15:38 -0000)]
* Test/System.Windows.Forms/ToolStripMenuItemTest.cs: Simplify test.
svn path=/trunk/mcs/; revision=133780
Rodrigo Kumpera [Fri, 8 May 2009 15:34:52 +0000 (15:34 -0000)]
2009-05-08 Rodrigo Kumpera <rkumpera@novell.com>
* method-to-ir.c (mono_method_to_ir): Fix boostrap of non amd64 builds
cmethod can be null for quite a some reasons.
svn path=/trunk/mono/; revision=133779
Rodrigo Kumpera [Fri, 8 May 2009 15:27:09 +0000 (15:27 -0000)]
2009-05-08 Rodrigo Kumpera <rkumpera@novell.com>
* method-to-ir.c (mono_method_to_ir): Fix non amd64 builds.
svn path=/trunk/mono/; revision=133778
Rodrigo Kumpera [Fri, 8 May 2009 15:26:43 +0000 (15:26 -0000)]
2009-05-07 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Tests for module table.
* assembly-with-complex-type.cs: Added more stuff;
svn path=/trunk/mono/; revision=133777
Rodrigo Kumpera [Fri, 8 May 2009 15:26:26 +0000 (15:26 -0000)]
2009-05-07 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the typespec table.
svn path=/trunk/mono/; revision=133776
Rodrigo Kumpera [Fri, 8 May 2009 15:25:57 +0000 (15:25 -0000)]
2009-05-07 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Tests for module table.
* assembly-with-module.il: New file.
* Makefile: Add new dependencies.
svn path=/trunk/mono/; revision=133775
Rodrigo Kumpera [Fri, 8 May 2009 15:25:40 +0000 (15:25 -0000)]
2009-05-07 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the module table.
svn path=/trunk/mono/; revision=133774
Andrés G. Aragoneses [Fri, 8 May 2009 15:13:54 +0000 (15:13 -0000)]
* Test/System.Windows.Forms/ToolStripMenuItemTest.cs: Add yet
another non-passing test (wors in MS.NET).
svn path=/trunk/mcs/; revision=133772
Veerapuram Varadhan [Fri, 8 May 2009 14:10:33 +0000 (14:10 -0000)]
Update: included patch contributor's info
svn path=/trunk/mcs/; revision=133770
Veerapuram Varadhan [Fri, 8 May 2009 14:10:18 +0000 (14:10 -0000)]
2009-05-08 Veerapuram Varadhan <vvaradhan@novell.com>
** Fixes #497715
* SqlDataReader.cs: (GetSqlXml): Handle Xml types for TDS 8/8.1
clients as well.
* SqlParameter.cs: Map XML type properly.
svn path=/trunk/mcs/; revision=133769
Marek Safar [Fri, 8 May 2009 13:52:17 +0000 (13:52 -0000)]
New test.
svn path=/trunk/mcs/; revision=133768
Marek Safar [Fri, 8 May 2009 13:49:17 +0000 (13:49 -0000)]
2009-05-08 Marek Safar <marek.safar@gmail.com>
A fix for bug #496922
* expression: Always use temporary variable when using object
initializer.
svn path=/trunk/mcs/; revision=133767
Zoltan Varga [Fri, 8 May 2009 13:35:14 +0000 (13:35 -0000)]
2009-05-08 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_emit_call_args): Add a 'tail' flag argument.
(mono_method_to_ir): Use MONO_ARCH_USE_OP_TAIL_CALL macro to determine
whenever to make tail calls using OP_TAIL_CALL. Enable support for tail
calls returning structures by addr on amd64.
* mini-amd64.h (MONO_ARCH_USE_OP_TAIL_CALL): New arch-specific macro.
* iltests.il.in: Restructure the tail call tests a bit.
svn path=/trunk/mono/; revision=133766
Zoltan Varga [Thu, 7 May 2009 23:54:48 +0000 (23:54 -0000)]
2009-05-08 Zoltan Varga <vargaz@gmail.com>
* acinclude.m4 (dolt_supported): Add powerpc64.
svn path=/trunk/mono/; revision=133752
Zoltan Varga [Thu, 7 May 2009 23:54:41 +0000 (23:54 -0000)]
2009-05-08 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (arch_emit_got_access): Fix the aot-not-supported build.
svn path=/trunk/mono/; revision=133751
Gonzalo Paniagua Javier [Thu, 7 May 2009 21:41:52 +0000 (21:41 -0000)]
2009-05-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
* MimeTypes.cs: add silverlight related types.
svn path=/trunk/mcs/; revision=133749
Rodrigo Kumpera [Thu, 7 May 2009 19:03:57 +0000 (19:03 -0000)]
2009-05-07 Rodrigo Kumpera <rkumpera@novell.com>
* runtime/Makefile.am (mcs-compileall): Pass --security=validil
to the runtime so the assemblies are not required to be verifiable.
svn path=/trunk/mono/; revision=133737
Gonzalo Paniagua Javier [Thu, 7 May 2009 18:13:57 +0000 (18:13 -0000)]
2009-05-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Connection.cs: if the socket is already disconnected, Shutdown will
fail with a SocketException... Also, catch *all* the possible
exceptions since the socket.Close method could also throw
ObjectDisposedException.
Fixes bug #449092.
svn path=/trunk/mcs/; revision=133734
Zoltan Varga [Thu, 7 May 2009 16:52:05 +0000 (16:52 -0000)]
2009-05-07 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (add_wrappers): Add remoting-invoke-with-check wrappers
for virtual methods too.
svn path=/trunk/mono/; revision=133728
Jeffrey Stedfast [Thu, 7 May 2009 15:41:08 +0000 (15:41 -0000)]
2009-04-22 Jeffrey Stedfast <fejj@novell.com>
* src/gtimer-win32.c (g_timer_elapsed): Avoid re-querying freq by
just saving it in a static variable. Also modified microseconds
calculation to avoid overflow.
svn path=/trunk/mono/; revision=133725
Jb Evain [Thu, 7 May 2009 12:16:29 +0000 (12:16 -0000)]
2009-05-07 Jb Evain <jbevain@novell.com>
* System.Xml.Linq/XElement.cs: do a bit of refactoring to avoid
multiple ifdefs.
svn path=/trunk/mcs/; revision=133717
Sebastien Pouliot [Thu, 7 May 2009 12:09:00 +0000 (12:09 -0000)]
2009-05-07 Sebastien Pouliot <sebastien@ximian.com>
* UniqueId.cs: Fix attributes for v3.5 (and later 2.0 SP) and remove
them (in particular [SecurityTreatAsSafe]) from the NET_2_1 build.
svn path=/trunk/mcs/; revision=133716
Sebastien Pouliot [Thu, 7 May 2009 12:04:21 +0000 (12:04 -0000)]
2009-05-07 Sebastien Pouliot <sebastien@ximian.com>
* XElement.cs: Use XmlReaderSettings.DtdProcessing property instead
of ProhibitDtd for NET_2_1 code.
svn path=/trunk/mcs/; revision=133715
Jb Evain [Thu, 7 May 2009 07:25:25 +0000 (07:25 -0000)]
2009-05-07 Jb Evain <jbevain@novell.com>
* XElementTest.cs: add test for bug #501589.
svn path=/trunk/mcs/; revision=133711
Jb Evain [Thu, 7 May 2009 07:24:59 +0000 (07:24 -0000)]
2009-05-07 Jb Evain <jbevain@novell.com>
* XElement.cs (Load (XmlReader,LoadOptions)): prevent a NRE if
the provided XmlReader doesn't have existing settings.
Fixes #501589.
svn path=/trunk/mcs/; revision=133710
Miguel de Icaza [Thu, 7 May 2009 00:42:16 +0000 (00:42 -0000)]
Contribution from Pia Eriksson <pe@hallerud.se> that fixes
the CopyTo method in various generic containers.
Also fixes #497720
svn path=/trunk/mcs/; revision=133700
Rodrigo Kumpera [Wed, 6 May 2009 23:34:38 +0000 (23:34 -0000)]
2009-05-06 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Tests for methodimpl table.
* assembly-with-complex-type.cs: Added more stuff.
svn path=/trunk/mono/; revision=133699
Rodrigo Kumpera [Wed, 6 May 2009 23:34:25 +0000 (23:34 -0000)]
2009-05-06 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the methodimpl table.
svn path=/trunk/mono/; revision=133698
Rodrigo Kumpera [Wed, 6 May 2009 23:33:58 +0000 (23:33 -0000)]
2009-05-06 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Tests for property table.
* assembly-with-property.cs: Added more stuff
svn path=/trunk/mono/; revision=133697
Rodrigo Kumpera [Wed, 6 May 2009 23:33:38 +0000 (23:33 -0000)]
2009-05-06 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the property table.
svn path=/trunk/mono/; revision=133696
Rodrigo Kumpera [Wed, 6 May 2009 23:33:13 +0000 (23:33 -0000)]
2009-05-06 Rodrigo Kumpera <rkumpera@novell.com>
* gen-md-tests.c (next_token): Stop taking chars
for a token when encountering the first delimiter char.
This makes the parser less brain-dead when encountering
sequences like "foo()".
svn path=/trunk/mono/; revision=133695
Andrés G. Aragoneses [Wed, 6 May 2009 19:59:08 +0000 (19:59 -0000)]
2009-05-06 Andrés G. Aragoneses <aaragoneses@novell.com>
* ToolStripMenuItemTest.cs: add tests for Owner and OwnerItem.
svn path=/trunk/mcs/; revision=133681
Andrés G. Aragoneses [Wed, 6 May 2009 19:00:16 +0000 (19:00 -0000)]
2009-05-06 Andrés G. Aragoneses <aaragoneses@novell.com>
* ToolStripMenuItemTest.cs: more accurate test, and fix build
(namespace clash).
svn path=/trunk/mcs/; revision=133679
Raja R Harinath [Wed, 6 May 2009 18:49:05 +0000 (18:49 -0000)]
Break some circular dependencies between mono, mcs and moon
* Makefile.am (compiler-tests): Rewrite to re-build the moon
assemblies after mcs/ is built.
* runtime/Makefile.am (build_profiles) [INSTALL_2_1]: Build only
the net_2_1_raw profile.
(test_profiles): New. Mention net_2_1 profile.
(moon-do-build): New.
svn path=/trunk/mono/; revision=133678
Raja R Harinath [Wed, 6 May 2009 18:48:44 +0000 (18:48 -0000)]
* method-to-ir.c (mono_method_to_ir): Revert change of 2009-05-02.
Reverting because regression unfixed for 4 days:
Compilation of System.Net.NetworkInformation.Win32IPGlobalProperties/Win32_MIB_TCP6ROW:get_LocalEndPoint () failed with exception '(null)':
Compilation of System.Net.NetworkInformation.Win32IPGlobalProperties/Win32_MIB_TCP6ROW:get_RemoteEndPoint () failed with exception '(null)':
Compilation of System.Net.NetworkInformation.Win32IPGlobalProperties/Win32_MIB_UDP6ROW:get_LocalEndPoint () failed with exception '(null)':
../mcs/class/lib/net_2_0/System.dll verification failed
svn path=/trunk/mono/; revision=133677
Andrés G. Aragoneses [Wed, 6 May 2009 18:36:12 +0000 (18:36 -0000)]
2009-05-06 Andrés G. Aragoneses <aaragoneses@novell.com>
* ToolStripMenuItemTest.cs: Add a test for GetCurrentParent
(passes on MS.NET). Related to a11y bugs #485524 and #479397.
svn path=/trunk/mcs/; revision=133676
Mike Gorse [Wed, 6 May 2009 15:15:49 +0000 (15:15 -0000)]
* FileDialog.cs: Add UIAFocusedItemChanged to PopupButtonPanel.
Add PerformClick and PerformDoubleClick to PopupButton.
Fixes #499851.
svn path=/trunk/mcs/; revision=133665
Zoltan Varga [Wed, 6 May 2009 15:09:28 +0000 (15:09 -0000)]
2009-05-06 Zoltan Varga <vargaz@gmail.com>
* debug-mini.c (mono_debugger_method_has_breakpoint): Allow breakpoints
in dynamic methods.
svn path=/trunk/mono/; revision=133664
Zoltan Varga [Wed, 6 May 2009 15:09:19 +0000 (15:09 -0000)]
2009-05-06 Zoltan Varga <vargaz@gmail.com>
* debug-helpers.c (mono_method_desc_match): Add support for generic
glob patterns.
svn path=/trunk/mono/; revision=133663