mono.git
15 years ago2009-05-07 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-05-07 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-05-07 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-05-07 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago* Test/System.Windows.Forms/ToolStripMenuItemTest.cs: Add yet
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

15 years agoUpdate: included patch contributor's info
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

15 years ago2009-05-08 Veerapuram Varadhan <vvaradhan@novell.com>
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

15 years agoNew test.
Marek Safar [Fri, 8 May 2009 13:52:17 +0000 (13:52 -0000)]
New test.

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

15 years ago2009-05-08 Marek Safar <marek.safar@gmail.com>
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

15 years ago2009-05-08 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-05-08 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-05-08 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-05-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

15 years ago2009-05-07 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-05-07 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

15 years ago2009-05-07 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-04-22 Jeffrey Stedfast <fejj@novell.com>
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

15 years ago2009-05-07 Jb Evain <jbevain@novell.com>
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

15 years ago2009-05-07 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2009-05-07 Sebastien Pouliot <sebastien@ximian.com>
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

15 years ago2009-05-07 Jb Evain <jbevain@novell.com>
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

15 years ago2009-05-07 Jb Evain <jbevain@novell.com>
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

15 years agoContribution from Pia Eriksson <pe@hallerud.se> that fixes
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

15 years ago2009-05-06 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-05-06 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-05-06 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-05-06 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-05-06 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago2009-05-06 Andrés G. Aragoneses <aaragoneses@novell.com>
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

15 years ago2009-05-06 Andrés G. Aragoneses <aaragoneses@novell.com>
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

15 years agoBreak some circular dependencies between mono, mcs and moon
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

15 years ago* method-to-ir.c (mono_method_to_ir): Revert change of 2009-05-02.
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

15 years ago2009-05-06 Andrés G. Aragoneses <aaragoneses@novell.com>
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

15 years ago* FileDialog.cs: Add UIAFocusedItemChanged to PopupButtonPanel.
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

15 years ago2009-05-06 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-05-06 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-05-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 6 May 2009 15:09:11 +0000 (15:09 -0000)]
2009-05-06  Zoltan Varga  <vargaz@gmail.com>

* dwarfwriter.c (emit_class_dwarf_info): Add support for generic
instances.

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

15 years ago* FileInfoTest.cs: Wrap Replace() tests in #if NET_2_0.
Raja R Harinath [Wed, 6 May 2009 13:35:46 +0000 (13:35 -0000)]
* FileInfoTest.cs: Wrap Replace() tests in #if NET_2_0.

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

15 years ago2009-05-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 6 May 2009 13:31:30 +0000 (13:31 -0000)]
2009-05-06  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c aot-runtime.c: Use our own hash function instead of
g_str_hash () which can change.

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

15 years ago2009-05-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 6 May 2009 13:31:21 +0000 (13:31 -0000)]
2009-05-06  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c aot-runtime.c: Use our own hash function instead of
g_str_hash () which can change.

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

15 years ago2009-05-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 6 May 2009 10:44:38 +0000 (10:44 -0000)]
2009-05-06  Zoltan Varga  <vargaz@gmail.com>

* driver.c (mini_regression): Disable optimizations not supported by
the cpu. Fixes #500019.

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

15 years ago2009-05-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 6 May 2009 10:44:29 +0000 (10:44 -0000)]
2009-05-06  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (mono_aot_get_unwind_info): Fix the --enable-minimal=aot
build.

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

15 years ago2009-05-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 6 May 2009 00:19:21 +0000 (00:19 -0000)]
2009-05-05 Rodrigo Kumpera  <rkumpera@novell.com>

* cli-tables-tests.md: Tests for propertymap table.

* assembly-with-cas.cs: New test file for producing tests
for property tables.

* Makefile: Add new dependencies.

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

15 years ago2009-05-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 6 May 2009 00:19:08 +0000 (00:19 -0000)]
2009-05-05 Rodrigo Kumpera  <rkumpera@novell.com>

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

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

15 years ago2009-05-05 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 6 May 2009 00:18:41 +0000 (00:18 -0000)]
2009-05-05 Rodrigo Kumpera  <rkumpera@novell.com>

* cli-tables-tests.md: Tests for event table.

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

15 years ago2009-05-04 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 6 May 2009 00:18:24 +0000 (00:18 -0000)]
2009-05-04 Rodrigo Kumpera  <rkumpera@novell.com>

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

* metadata-verify.c (search_sorted_table): Fix offset
calculation.

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

15 years ago2009-05-06 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 5 May 2009 23:20:33 +0000 (23:20 -0000)]
2009-05-06  Lluis Sanchez Gual  <lluis@novell.com>

* Lease.cs: Don't use ArrayList.Remove() to remove sponsors because
it will end calling Equals, which may crash if the sponsor is not
available anymore. Just compare references.

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

15 years ago2009-05-06 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Tue, 5 May 2009 23:20:13 +0000 (23:20 -0000)]
2009-05-06  Lluis Sanchez Gual  <lluis@novell.com>

* RealProxy.cs: If async dispatch crashes, don't propagate the
exception. The exception will be raised when calling EndInvoke.

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

15 years agoAdd this too
Miguel de Icaza [Tue, 5 May 2009 22:59:33 +0000 (22:59 -0000)]
Add this too

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

15 years ago2009-05-05 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 5 May 2009 22:58:16 +0000 (22:58 -0000)]
2009-05-05  Miguel de Icaza  <miguel@novell.com>

* Contribution from David Uvalle <david.uvalle@gmail.com> that
implements FileInfo.Replace.

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

15 years ago2009-05-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 5 May 2009 22:36:00 +0000 (22:36 -0000)]
2009-05-06  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Update the OP_TLS_GET implementation
to the latest LLVM code.

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

15 years ago2009-05-05 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 5 May 2009 21:27:58 +0000 (21:27 -0000)]
2009-05-05  Geoff Norton  <gnorton@novell.com>

        * tests-config: This file is generated by configure.

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

15 years ago2009-05-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 5 May 2009 20:47:02 +0000 (20:47 -0000)]
2009-05-05  Marek Habersack  <mhabersack@novell.com>

* TemplateParser.cs: PageParserFilterType uses
HttpApplication.LoadType so that it is able to load the filter
from App_Code or with not fully qualified type names.

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

15 years ago2009-05-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 5 May 2009 19:28:49 +0000 (19:28 -0000)]
2009-05-05  Zoltan Varga  <vargaz@gmail.com>

* genmdesc.pl (load_opcodes): Fix this after the TARGET_... changes.

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

15 years ago2009-05-05 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 5 May 2009 18:29:47 +0000 (18:29 -0000)]
2009-05-05  Miguel de Icaza  <miguel@novell.com>

* Contribution from Martin Brenn to fix #498154.

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

15 years agoDo not build docs if cross compiling or the mcs build is disabled
Miguel de Icaza [Tue, 5 May 2009 17:41:56 +0000 (17:41 -0000)]
Do not build docs if cross compiling or the mcs build is disabled

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

15 years agoFix this too
Miguel de Icaza [Tue, 5 May 2009 17:22:53 +0000 (17:22 -0000)]
Fix this too

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

15 years agoFix the pkg.m4 nonsense in eglib as well
Miguel de Icaza [Tue, 5 May 2009 15:13:57 +0000 (15:13 -0000)]
Fix the pkg.m4 nonsense in eglib as well

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

15 years ago2009-05-05 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Tue, 5 May 2009 15:08:59 +0000 (15:08 -0000)]
2009-05-05  Miguel de Icaza  <miguel@novell.com>

* configure.in: Reduce configure-time dependencies by using
pkg-config the way it was originally intended to be used, and not
with the incredibly lame and painful inducing pkg.m4 file.

I am on a quest to remove this gratuitous dep on pkg.m4 that is
making people's lives miserable around the globe, just because
someone can not be bothered to learn the shell if construct.

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

15 years ago2009-05-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 5 May 2009 13:17:30 +0000 (13:17 -0000)]
2009-05-05  Marek Habersack  <mhabersack@novell.com>

* UrlPattern.cs: Match adds defaults values should some keys be
missing from the url. Fixes bug #500739

* Route.cs: a small GetRouteData loop optimization

2009-05-05  Marek Habersack  <mhabersack@novell.com>

* RouteTest.cs: added test for bug #500739

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

15 years ago2009-05-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 5 May 2009 12:30:25 +0000 (12:30 -0000)]
2009-05-05  Marek Habersack  <mhabersack@novell.com>

* Methods.cs: if SoapRpcMethodAttribute doesn't specify the action
or the action name is an empty string, generate the Action in
SoapMethodStubInfo constructor. Fixes bug #459790

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

15 years ago2009-05-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 5 May 2009 09:03:30 +0000 (09:03 -0000)]
2009-05-05  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: RemoveFailedAssemblies wraps the compilation
exception to be rethrown in a HttpException instance.

* AspGenerator.cs: create a Location and pass it to the parser
before calling AddDirective from GetInheritedType, so that we get
meaningful exception messages with source, line information etc.

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

15 years ago2009-05-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 4 May 2009 21:34:54 +0000 (21:34 -0000)]
2009-05-04  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Implement TLS support on
x86/amd64.

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

15 years ago2009-05-04 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Mon, 4 May 2009 21:03:01 +0000 (21:03 -0000)]
2009-05-04  Bill Holmes  <billholmes54@gmail.com>

* eglib.vcproj, genmdesc.vcproj, libgc.vcproj, libmono.vcproj,
  mono.vcproj,monoposixhelper.vcproj :  Adding TARGET_X86 and
  TARGET_AMD64 preprocessor definitions to the Win32 and x64 targets.

Code is contributed under MIT/X11 license.

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

15 years ago * TranslationResources.resx (ErrOperationAborted): Send viewers of
Jonathan Pryor [Mon, 4 May 2009 17:43:31 +0000 (17:43 -0000)]
* TranslationResources.resx (ErrOperationAborted): Send viewers of
  this message to the Wiki for possible reasons they may get an
  exception (and how to fix it).

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

15 years agoForgot to commit
Miguel de Icaza [Mon, 4 May 2009 16:13:29 +0000 (16:13 -0000)]
Forgot to commit

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

15 years ago* TabControl.cs: call Focus() to emit GotFocus event at the
Andrés G. Aragoneses [Mon, 4 May 2009 16:04:57 +0000 (16:04 -0000)]
* TabControl.cs: call Focus() to emit GotFocus event at the
proper time when SelectionIndex changes. Fixes #499887.

* TabControlTest.cs: More accurate test for bug#499887 showing
the SelectedIndex at the moment of the event (passes on Vista).

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

15 years ago2009-05-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 4 May 2009 13:29:32 +0000 (13:29 -0000)]
2009-05-04  Marek Habersack  <mhabersack@novell.com>

* ThemeDirectoryBuildProvider.cs: use new AspGenerator constructor
which takes AspComponentFoundery as its
parameter. AspGenerator.RootBuilder isn't initialized until after
the parser is initialized.

* TemplateControlCompiler.cs: make sure to call
ProcessGeneratedCode on each instance of ControlBuilder after it's
fully generated. Fixes bug #500075

* TemplateBuildProvider.cs: moved the directive regex to
AspGenerator

* BaseCompiler.cs: added two internal properties, BaseType and
DerivedType, which are used in calls to
ControlBuilder.ProcessGeneratedCode. Fixes bug #500075

* AspGenerator.cs: implemented a work around for our parser
limitation which is unable to extract the page/control's base type
before parsing the actual file contents. This is necessary to
support ASP.NET MVC's "generic" Inherits attribute. The reason we
need to find out what the base type is before parsing the file is
that we need to look at the type's custom attributes to see if a
root control builder type is specified (which is what ASP.NET MVC
does) and, if yes, use it instead of the default type. Fixes bug
#500075

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

* TemplateParser.cs: take RootBuilder from the associated
generator.
Allow the main page directive to be added twice if the parser
needs it. Used by AspGenerator when extracting the inherited type
name before actual parsing. Fixes bug #500075

* FileLevelControlBuilderAttribute.cs,
FileLevelPageControlBuilder.cs, FileLevelUserControlBuilder.cs:
implemented

* ControlBuilder.cs: added a new internal property,
DataBindingMethod.
Implemented ProcessGeneratedCode.

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

15 years ago2009-05-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 4 May 2009 06:26:44 +0000 (06:26 -0000)]
2009-05-04  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (encode_patch_list): Simplify this considerably as we are
no longer saving offsets, so just save the patch types along with the other
info.
* aot-runtime.c (load_patch_info): Update after the changes to
encode_patch_list ().
(decode_got_entry): Removed, merged into load_patch_info ().
(is_shared_got_patch): Removed, call the same function from
aot-compiler.c.

* mini.h: Bump aot file format version.

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

15 years ago2009-05-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 4 May 2009 05:56:28 +0000 (05:56 -0000)]
2009-05-04  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c aot-runtime.c: Resurrect static linking support. Kill the
half-finished no-dlsym code.

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

15 years ago2009-05-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 4 May 2009 05:07:31 +0000 (05:07 -0000)]
2009-05-04  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (load_method): Kill the old and bit-rotten use_loaded_code
option.

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

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

* mini-<ARCH>.h mini-trampolines.c aot-runtime.c: Kill the
MONO_ARCH_HAVE_CREATE_TRAMPOLINE_FROM_TOKEN define.

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

15 years ago2009-05-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 4 May 2009 03:40:01 +0000 (03:40 -0000)]
2009-05-03 Gonzalo Paniagua Javier <gonzalo@novell.com>

* TermInfoDriver.cs: replace Peek with DataAvailable.

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

15 years ago2009-05-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 4 May 2009 03:14:29 +0000 (03:14 -0000)]
2009-05-03 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Ping.cs: we just need the address(es), not a host entry. This avoids
querying the DNS server(s) when the target is an IP address.

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

15 years ago2009-05-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 3 May 2009 18:16:53 +0000 (18:16 -0000)]
2009-05-03  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* MonthCalendar.cs: In SetBoundsCore always do the bounds check to
have valid values, even if BoundSpecified is not including
Size/Height/Width - this is useful when we are in a control using Dock
or Anchor.
Fixes part of #483146.

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

15 years agoFix compiler build, make sure generated solutions include the actual HintPath so...
Miguel de Icaza [Sun, 3 May 2009 18:03:02 +0000 (18:03 -0000)]
Fix compiler build, make sure generated solutions include the actual HintPath so VS does not turn lib/basic/System.dll into GAC system.dll, so pass the entire relative path

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

15 years agoUpdate to support the compiler buidl
Miguel de Icaza [Sun, 3 May 2009 17:52:22 +0000 (17:52 -0000)]
Update to support the compiler buidl

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

15 years agoUpdate
Miguel de Icaza [Sun, 3 May 2009 17:18:09 +0000 (17:18 -0000)]
Update

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

15 years ago2009-05-03 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 3 May 2009 13:41:29 +0000 (13:41 -0000)]
2009-05-03  Sebastien Pouliot  <sebastien@ximian.com>

* MethodInfoTest.cs: Add test cases from Joachim Ante for bug
#500385.

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

15 years ago2009-05-03 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 3 May 2009 12:46:27 +0000 (12:46 -0000)]
2009-05-03  Martin Baulig  <martin@ximian.com>

* debug-debugger.c (debugger_insert_source_breakpoint): Don't call
mono_debugger_insert_method_breakpoint() since the class init
handler we're inserting at the top of the method already gives us
a notification.

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

15 years ago2009-05-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 2 May 2009 19:55:48 +0000 (19:55 -0000)]
2009-05-02  Atsushi Enomoto  <atsushi@ximian.com>

* CredentialCache.cs : implement all not-implemented methods.
  Patch by Mineda Nozomi. Close bug #499556.

* CredentialCacheTest.cs : new tests for get/add/remove.
  Patch by Mineda Nozomi.

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

15 years agoThe support
Miguel de Icaza [Sat, 2 May 2009 17:40:29 +0000 (17:40 -0000)]
The support

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

15 years agoSupport the compiler
Miguel de Icaza [Sat, 2 May 2009 17:39:36 +0000 (17:39 -0000)]
Support the compiler

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

15 years agoFor MCS, override csproj-local to report the right compiler
Miguel de Icaza [Sat, 2 May 2009 17:26:59 +0000 (17:26 -0000)]
For MCS, override csproj-local to report the right compiler

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

15 years agoForgot to commit this
Miguel de Icaza [Sat, 2 May 2009 16:05:58 +0000 (16:05 -0000)]
Forgot to commit this

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

15 years agoThis now builds System.Xml-basic
Miguel de Icaza [Sat, 2 May 2009 15:30:28 +0000 (15:30 -0000)]
This now builds System.Xml-basic

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

15 years ago2009-05-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 2 May 2009 14:55:29 +0000 (14:55 -0000)]
2009-05-02  Zoltan Varga  <vargaz@gmail.com>

* tramp-amd64.c (mono_arch_get_static_rgctx_trampoline): Increase the
buffer length to work with AOT code.

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

15 years agoIn System.Security:
Sebastien Pouliot [Sat, 2 May 2009 14:22:17 +0000 (14:22 -0000)]
In System.Security:
2009-05-02  Sebastien Pouliot  <sebastien@ximian.com>

* CodeAccessPermission.cs (ThrowSecurityException): Don't include
CAS-specific information when throwing a SecurityException in
NET_2_1

In System:
2009-05-02  Sebastien Pouliot  <sebastien@ximian.com>

* Console.cs: Remove Windows-specific p/invokes and SSC code
from the NET_2_1 build.

In System.Security.Cryptography.X509Certificates:
2009-05-02  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate.cs: Remove code to initialize from an handle
in NET_2_1 since this is only possible from Windows and would be
SC anyway.

In System.Reflection:
2009-05-02  Sebastien Pouliot  <sebastien@ximian.com>

* Assembly.cs: Exclude CAS-specific code for NET_2_1

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

15 years ago2009-05-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 2 May 2009 13:59:16 +0000 (13:59 -0000)]
2009-05-02  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir): Handle loading errors in the
ldfld/stfld opcodes.

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

15 years agoTry this
Miguel de Icaza [Sat, 2 May 2009 06:36:24 +0000 (06:36 -0000)]
Try this

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

15 years agoBuidl jay as well
Miguel de Icaza [Sat, 2 May 2009 06:30:13 +0000 (06:30 -0000)]
Buidl jay as well

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

15 years agoFurther tuneups
Miguel de Icaza [Sat, 2 May 2009 06:21:46 +0000 (06:21 -0000)]
Further tuneups

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

15 years agoUpdate
Miguel de Icaza [Sat, 2 May 2009 06:10:44 +0000 (06:10 -0000)]
Update

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

15 years agofix
Miguel de Icaza [Sat, 2 May 2009 06:08:19 +0000 (06:08 -0000)]
fix

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

15 years agoMore generated files
Miguel de Icaza [Sat, 2 May 2009 06:05:19 +0000 (06:05 -0000)]
More generated files

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

15 years agoUse new define: TARGET_X86 on VS as well
Miguel de Icaza [Sat, 2 May 2009 05:56:10 +0000 (05:56 -0000)]
Use new define: TARGET_X86 on VS as well

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

15 years agoBetter debug
Miguel de Icaza [Sat, 2 May 2009 05:53:35 +0000 (05:53 -0000)]
Better debug

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

15 years agoUpdate
Miguel de Icaza [Sat, 2 May 2009 05:53:05 +0000 (05:53 -0000)]
Update

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

15 years agoMove dead code
Miguel de Icaza [Sat, 2 May 2009 05:30:59 +0000 (05:30 -0000)]
Move dead code

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

15 years agoChangeLog conflict changes
Veerapuram Varadhan [Sat, 2 May 2009 05:25:09 +0000 (05:25 -0000)]
ChangeLog conflict changes

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