mono.git
13 years agoFix dependency specification for CoreCompile target. Log better messages
Ankit Jain [Wed, 23 Jun 2010 01:08:04 +0000 (01:08 -0000)]
Fix dependency specification for CoreCompile target. Log better messages
for dependency checks for targets.

In class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine:

* TargetBatchingImpl.cs (BuildTargetNeeded): Fix var names to
correctly reflect what they track. Log messages when skipping
or building a target.

In tools/xbuild:

* xbuild/Microsoft.CSharp.targets (CoreCompile): Fix inputs.
* xbuild/Microsoft.VisualBasic.targets (CoreCompile): Fix inputs.

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

13 years ago2010-06-23 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 23 Jun 2010 00:22:01 +0000 (00:22 -0000)]
2010-06-23  Mark Probst  <mark.probst@gmail.com>

* sgen-gc.c, sgen-los.c, sgen-marksweep.c: Fix warnings.

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

13 years ago2010-06-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 22 Jun 2010 22:22:02 +0000 (22:22 -0000)]
2010-06-22  Rodrigo Kumpera  <rkumpera@novell.com>

* src/ghashtable.c: Add code to sanity check the
hashtable contents. This is invaluable, for example,
to catch bugs where a key hashcode changes after
insertion.

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

13 years ago2010-06-22 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 22 Jun 2010 22:21:53 +0000 (22:21 -0000)]
2010-06-22 Rodrigo Kumpera  <rkumpera@novell.com>

* metadata.c (mono_metadata_type_hash): Don't hash
the type kind for dynamic types since it can change.

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

13 years ago2010-06-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Jun 2010 21:42:15 +0000 (21:42 -0000)]
2010-06-22  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir): Don't mark loads from OP_LDADDR with
MONO_INST_FAULT.

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

13 years ago2010-06-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Jun 2010 21:20:18 +0000 (21:20 -0000)]
2010-06-22  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Recalculate MONO_INST_INDIRECT flags to
allow better optimization if the OP_LDADDR which caused the flag to be set was
optimized away.

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

13 years ago2010-06-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 22 Jun 2010 21:19:06 +0000 (21:19 -0000)]
2010-06-22 Gonzalo Paniagua Javier <gonzalo@novell.com>

* UriTest.cs: exclude 2 tests in 4.0.

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

13 years ago2010-06-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 22 Jun 2010 21:18:33 +0000 (21:18 -0000)]
2010-06-22 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Uri.cs: change of behavior un 4.0.
Fixes bug #602411.

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

13 years agoBetter error recovery.
Marek Safar [Tue, 22 Jun 2010 20:35:53 +0000 (20:35 -0000)]
Better error recovery.

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

13 years ago2010-06-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 22 Jun 2010 20:10:26 +0000 (20:10 -0000)]
2010-06-22 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Ping.cs: we need to read the output to give the process time
to start. Fixes bug #591136.

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

13 years agoUpdate
Miguel de Icaza [Tue, 22 Jun 2010 19:00:56 +0000 (19:00 -0000)]
Update

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

13 years ago2010-06-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Jun 2010 18:36:56 +0000 (18:36 -0000)]
2010-06-22  Zoltan Varga  <vargaz@gmail.com>

* exceptions-amd64.c (get_throw_trampoline): Align the stack properly.

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

13 years ago2010-06-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Jun 2010 17:32:03 +0000 (17:32 -0000)]
2010-06-22  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_emit_exceptions): Pass only the type token index, not
the type token.

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

13 years ago2010-06-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Jun 2010 17:29:14 +0000 (17:29 -0000)]
2010-06-22  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (emit_entry_bb): Save the this argument only in gshared methods.

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

13 years agofix the build
Geoff Norton [Tue, 22 Jun 2010 16:30:31 +0000 (16:30 -0000)]
fix the build

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

13 years ago2010-06-22 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 22 Jun 2010 16:30:28 +0000 (16:30 -0000)]
2010-06-22  Geoff Norton  <gnorton@novell.com>

* mach-support-arm.c: Add arm support.

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

13 years agoin utils:
Geoff Norton [Tue, 22 Jun 2010 16:19:33 +0000 (16:19 -0000)]
in utils:

2010-06-22 Geoff Norton  <gnorton@novell.com>

        * mach-support-*.(c|h): We cannot allocate from the gc, so make
        these functions alloc-less.

in metadata:

2010-06-22 Geoff Norton  <gnorton@novell.com>

        * sgen-os-mach.c: We cannot call malloc from the gc, so we need to use
        alloca instead to prevent a deadlock.

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

13 years ago2010-06-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 22 Jun 2010 16:14:27 +0000 (16:14 -0000)]
2010-06-22  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs, location.cs, cs-parser.jay: Track more locations.

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

13 years ago2010-06-22 Chris Bacon <chrisbacon76@gmail.com>
Marek Safar [Tue, 22 Jun 2010 15:44:28 +0000 (15:44 -0000)]
2010-06-22  Chris Bacon <chrisbacon76@gmail.com>

* System.Diagnostics.Contract.Internal: New file.

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

13 years ago2010-06-22 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 22 Jun 2010 14:58:55 +0000 (14:58 -0000)]
2010-06-22  Geoff Norton  <gnorton@novell.com>

        * domain.c: Allow gettings the tls key, since we need it for
        cross thread tls poking in sgen-mach
        * sgen-gc.(c|h), gc-internal.h: Rework sgen into having some functions
        in external files for platform specific STW support.
        * sgen-os-mach.c: Add a new mach kernel backend implementation of STW.
        * sgen-os-posix.c: Move the existing posix signal based STW here.

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

13 years ago2010-06-22 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 22 Jun 2010 14:58:51 +0000 (14:58 -0000)]
2010-06-22  Geoff Norton  <gnorton@novell.com>

* Makefile.am
* mach-support-amd64.c
* mach-support-x86.c
* mach-support.c
* mach-support.h: Added a new suite of helpers for managing threads
on mach based kernels.

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

13 years ago2010-06-22 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 22 Jun 2010 13:30:05 +0000 (13:30 -0000)]
2010-06-22  Jb Evain  <jbevain@novell.com>

* Queryable.cs: properly set the constants types in the queryable
expression tree.

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

13 years ago- 1.1 code removal
Marek Habersack [Tue, 22 Jun 2010 12:26:13 +0000 (12:26 -0000)]
- 1.1 code removal
- coding style
- minor optimizations

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

13 years agofixicate
Jb Evain [Tue, 22 Jun 2010 12:22:03 +0000 (12:22 -0000)]
fixicate

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

13 years ago2010-06-22 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 22 Jun 2010 12:13:26 +0000 (12:13 -0000)]
2010-06-22  Jb Evain  <jbevain@novell.com>

* EnumerableQuery_T.cs
* QueryableEnumerable.cs:
override ToString.

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

13 years ago2010-06-22 Dick Porter <dporter@codicesoftware.com>
Dick Porter [Tue, 22 Jun 2010 12:07:25 +0000 (12:07 -0000)]
2010-06-22  Dick Porter  <dporter@codicesoftware.com>

* TextControl.cs, XplatUIX11.cs, XplatUICarbon.cs: Expand paint
regions slightly so that the full extents of text get painted.
Fixes bug 464464.

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

13 years agomore eol-style:native.
Atsushi Eno [Tue, 22 Jun 2010 09:28:08 +0000 (09:28 -0000)]
more eol-style:native.

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

13 years agopropset eol-style:native.
Atsushi Eno [Tue, 22 Jun 2010 09:19:27 +0000 (09:19 -0000)]
propset eol-style:native.

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

13 years agoupdate
Jb Evain [Tue, 22 Jun 2010 09:18:44 +0000 (09:18 -0000)]
update

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

13 years ago2010-06-22 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 22 Jun 2010 09:13:33 +0000 (09:13 -0000)]
2010-06-22  Jb Evain  <jbevain@novell.com>

* GuidTest.cs: add tests for #616050.

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

13 years ago2010-06-22 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 22 Jun 2010 09:13:08 +0000 (09:13 -0000)]
2010-06-22  Jb Evain  <jbevain@novell.com>

* Guid.cs: properly throw if the parsed guid has more data after
parsing a correct guid. Fixes #616050.

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

13 years ago2010-06-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Jun 2010 08:59:54 +0000 (08:59 -0000)]
2010-06-22  Atsushi Enomoto  <atsushi@ximian.com>

* WebMessageEncodingBindingElement.cs : return MessageVersion in
  GetProperty<T>(). Fixed WebHttpBinding working.

* WebMessageEncodingBindingElementTest.cs : add test for
  GetProperty<MessageVersion>().

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

13 years agoAdd few more accessors
Marek Safar [Tue, 22 Jun 2010 08:55:35 +0000 (08:55 -0000)]
Add few more accessors

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

13 years ago2010-06-22 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Jun 2010 08:46:23 +0000 (08:46 -0000)]
2010-06-22  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceBehaviorAttribute.cs : do not overwrite existing properties
  which may have been set by preceding behaviors. Fix WSDL output.
* EnvelopeVersion.cs : fix name and namespace for None property.

* HttpListenerManager.cs : add some comments.

* DispatchRuntimeTest.cs : add another line of assertion.

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

13 years ago2010-06-22 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 22 Jun 2010 08:18:42 +0000 (08:18 -0000)]
2010-06-22  Jb Evain  <jbevain@novell.com>

* ModuleBuilder.cs
* AssemblyBuilder.cs:
properly override the new net_4_0 methods in moonlight.

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

13 years ago2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 22 Jun 2010 04:03:25 +0000 (04:03 -0000)]
2010-06-21  Atsushi Enomoto  <atsushi@ximian.com>

* HttpReplyChannel.cs : use MessageVersion.None for GET messages.
* HttpChannelListener.cs : remove extra field.
* HttpListenerManager.cs : check HelpUrl existence (avoid NRE).
* HttpRequestContext.cs : reduce internal field.

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

13 years ago2010-06-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Jun 2010 03:18:53 +0000 (03:18 -0000)]
2010-06-22  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c: Fix a couple memory leaks. Get rid of a few #ifdefs.

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

13 years ago * TreeNode.cs: Clone should detect the type of the current instance
Carlos Alberto Cortez [Tue, 22 Jun 2010 00:03:08 +0000 (00:03 -0000)]
* TreeNode.cs: Clone should detect the type of the current instance
and properly create the correct object.
Fixes #613708.

2010-06-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

13 years ago2010-06-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 21 Jun 2010 22:40:34 +0000 (22:40 -0000)]
2010-06-22  Zoltan Varga  <vargaz@gmail.com>

* tramp-amd64.c (mono_arch_nullify_class_init_trampoline): Call patch_callsite ()
to handle the code sequence generated for non-near calls. Fixes #616056.

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

13 years ago2010-06-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 21 Jun 2010 22:01:57 +0000 (22:01 -0000)]
2010-06-21  Rodrigo Kumpera  <rkumpera@novell.com>

* compiler.cs: Use conditional compilation to enable
tracing to avoid code bloat.

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

13 years ago- 1.1 code removal
Marek Habersack [Mon, 21 Jun 2010 21:01:26 +0000 (21:01 -0000)]
- 1.1 code removal
- coding style
- minor optimizations

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

13 years agoFix a warning.
Zoltan Varga [Mon, 21 Jun 2010 20:52:57 +0000 (20:52 -0000)]
Fix a warning.

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

13 years ago2010-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 21 Jun 2010 20:52:50 +0000 (20:52 -0000)]
2010-06-21  Zoltan Varga  <vargaz@gmail.com>

* exceptions-x86.c (mono_arch_find_jit_info_ext): Adjust eip in the lmf case too.

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

13 years ago2010-06-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 21 Jun 2010 20:36:17 +0000 (20:36 -0000)]
2010-06-21  Rodrigo Kumpera  <rkumpera@novell.com>

* RegexBugs.cs: Regression test for #610587.

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

13 years ago2010-06-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 21 Jun 2010 20:18:20 +0000 (20:18 -0000)]
2010-06-21  Rodrigo Kumpera  <rkumpera@novell.com>

* parser.cs: Handle repetition of position assertions.

Fixes #610587.

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

13 years ago2010-06-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 21 Jun 2010 20:18:11 +0000 (20:18 -0000)]
2010-06-21  Rodrigo Kumpera  <rkumpera@novell.com>

* compiler.cs: Add new internal flag to switch on regexp
* tracing.
The code is a statc readonly variable so the JIT can eliminate
all tracing code during normal runs.

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

13 years ago 2010-06-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 21 Jun 2010 18:41:51 +0000 (18:41 -0000)]
2010-06-21  Marek Habersack  <mhabersack@novell.com>

     * BaseValidator.cs, BulletedList.cs, Calendar.cs, CheckBox.cs,
     CheckBoxList.cs, DataGrid.cs, DropDownList.cs, GridView.cs,
     HyperLink.cs, ImageButton.cs, LinkButton.cs, ListBox.cs,
     ListControl.cs, Menu.cs, RadioButton.cs, RadioButtonList.cs,
     RepeatInfo.cs, Repeater.cs, TextBox.cs, TreeView.cs,
     ValidationSummary.cs, WebControl.cs: use WebControl.IsEnabled
     instead of Enabled wherever necessary.

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

13 years ago2010-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 21 Jun 2010 18:24:10 +0000 (18:24 -0000)]
2010-06-21  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_array_to_lparray): Allow MONO_TYPE_PTR. Fixes #615952.

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

13 years ago2010-06-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 21 Jun 2010 18:21:41 +0000 (18:21 -0000)]
2010-06-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TabControl.cs: When setting SelectedIndex and the new selected tab
bounds are obscured by the scrollers, take into account the self tab
when looking for the proper bounds to adjust the slider. This is specially
important when we need to adjust the slider pos for the *last* tab page.
Fixes #615382.

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

13 years ago2010-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 21 Jun 2010 18:15:57 +0000 (18:15 -0000)]
2010-06-21  Zoltan Varga  <vargaz@gmail.com>

* exceptions-x86.c: Add a resume_unwind trampoline for LLVM.

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

13 years ago2010-06-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 21 Jun 2010 18:04:48 +0000 (18:04 -0000)]
2010-06-21  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs, anonymous.cs, expression.cs, statement.cs,
support.cs, location.cs, cs-parser.jay: Some work on full ast mode.

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

13 years ago2010-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 21 Jun 2010 17:51:36 +0000 (17:51 -0000)]
2010-06-21  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (exception_cb): For nested clauses, add the same try range to the
nesting clause too.
(mono_llvm_check_method_supported): Enable llvm for methods with nested clauses.
(mono_llvm_emit_method): Instead of calling 'mono_resume_unwind' directly, call a
trampoline which saves the context, so changes made to callee saved registers in
finally clauses are visible to a nesting catch clause.

* exceptions-amd64.c: Add a resume_unwind trampoline for LLVM.

* mini-exceptions.c (mono_handle_exception_internal): Fix support for nested clauses
in LLVM compiled code.
(mono_handle_exception_internal): Add a 'ctx' argument containing the state after
the finally handler has ran.

* mini.h (ResumeState): New structure containing information required to resume
exception handling after executing LLVM compiled finally clauses.

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

13 years ago2010-06-21 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 21 Jun 2010 16:55:13 +0000 (16:55 -0000)]
2010-06-21  Zoltan Varga  <vargaz@gmail.com>

* exceptions-amd64.c (get_throw_trampoline): Clean up the amd64 throw trampolines a
bit, by passing all the registers as one argument.

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

13 years ago2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 21 Jun 2010 13:56:53 +0000 (13:56 -0000)]
2010-06-21  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : raise an error if IChannelListener is
  already opened when it's opening.

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

13 years ago2010-06-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Jun 2010 13:25:24 +0000 (13:25 -0000)]
2010-06-21  Jb Evain  <jbevain@novell.com>

* MonoModule.cs
* Assembly.cs
* MonoAssembly.cs
* Module.cs:
Make Assembly and Module abstract on Moonlight too.

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

13 years ago2010-06-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 21 Jun 2010 13:17:41 +0000 (13:17 -0000)]
2010-06-21 Rodrigo Kumpera  <rkumpera@novell.com>

* Environment.cs: bump up corlib version.

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

13 years ago2010-06-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 21 Jun 2010 13:17:32 +0000 (13:17 -0000)]
2010-06-21 Rodrigo Kumpera  <rkumpera@novell.com>

* GenericTypeParameterBuilderTest.cs: Fix test
under v4.

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

13 years ago2010-06-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 21 Jun 2010 13:17:23 +0000 (13:17 -0000)]
2010-06-21 Rodrigo Kumpera  <rkumpera@novell.com>

* Type.cs (StructLayoutAttribute): This raises on v4.

* MonoType.cs (StructLayoutAttribute): Implement this
under v4.

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

13 years ago2010-06-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 21 Jun 2010 13:17:13 +0000 (13:17 -0000)]
2010-06-21 Rodrigo Kumpera  <rkumpera@novell.com>

* ConditionalWeakTableTest.cs: Make test more resilient.

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

13 years ago2010-06-21 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 21 Jun 2010 13:17:10 +0000 (13:17 -0000)]
2010-06-21 Rodrigo Kumpera  <rkumpera@novell.com>

* object-internals.h: Map new PropertyBuilder fields.

* reflection.c (property_encode_signature): Emit an instance
signature if property's callconv is hasthis.

* appdomain.c: Bump corlib version.

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

13 years ago2010-06-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Jun 2010 12:48:06 +0000 (12:48 -0000)]
2010-06-21  Jb Evain  <jbevain@novell.com>

* CharUnicodeInfo.cs: make static.

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

13 years ago2010-06-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Jun 2010 12:46:49 +0000 (12:46 -0000)]
2010-06-21  Jb Evain  <jbevain@novell.com>

* CultureNotFoundException.cs: add it to Moonlight.

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

13 years agoadd CultureNotFoundException
Jb Evain [Mon, 21 Jun 2010 12:45:12 +0000 (12:45 -0000)]
add CultureNotFoundException

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

13 years ago2010-06-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Jun 2010 12:39:15 +0000 (12:39 -0000)]
2010-06-21  Jb Evain  <jbevain@novell.com>

* TimeSpan.cs: add the net_4_0 parsing code in Moonlight.

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

13 years ago2010-06-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Jun 2010 12:38:39 +0000 (12:38 -0000)]
2010-06-21  Jb Evain  <jbevain@novell.com>

* TimeSpanStyles.cs: add to Moonlight.

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

13 years agoadd TimeSpanStyles
Jb Evain [Mon, 21 Jun 2010 12:38:09 +0000 (12:38 -0000)]
add TimeSpanStyles

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

13 years ago2010-06-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Jun 2010 12:34:59 +0000 (12:34 -0000)]
2010-06-21  Jb Evain  <jbevain@novell.com>

* Guid.cs: bring Parse/ParseExact/TryParse/TryParseExact in
Moonlight as well.

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

13 years ago2010-06-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Jun 2010 12:33:47 +0000 (12:33 -0000)]
2010-06-21  Jb Evain  <jbevain@novell.com>

* TypeAccessException.cs: TypeAccessException is part of moonlight 4.

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

13 years agobring TypeAccess in
Jb Evain [Mon, 21 Jun 2010 12:33:10 +0000 (12:33 -0000)]
bring TypeAccess in

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

13 years ago 2010-06-21 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 21 Jun 2010 12:31:12 +0000 (12:31 -0000)]
2010-06-21  Marek Habersack  <mhabersack@novell.com>

     * HtmlControl.cs: PreProcessRelativeReference deos not
     atribute-encode the attribute value. Fixes bug #596430

    2010-06-21  Marek Habersack  <mhabersack@novell.com>

     * HtmlImageTest.cs: fixed an invalid test.

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

13 years ago2010-06-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Jun 2010 12:27:27 +0000 (12:27 -0000)]
2010-06-21  Jb Evain  <jbevain@novell.com>

* Version.cs: bring Parse/TypeParse in for moonlight.

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

13 years ago2010-06-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Jun 2010 12:23:47 +0000 (12:23 -0000)]
2010-06-21  Jb Evain  <jbevain@novell.com>

* Array.cs: implement IStructuralComparable and IStructuralEquatable
on moonlight as well.

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

13 years ago2010-06-21 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Mon, 21 Jun 2010 12:19:53 +0000 (12:19 -0000)]
2010-06-21 Jonathan Chambers  <joncham@gmail.com>

* Add more projects for net_2_0 profile build, and add commented section with all the projects left.

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

13 years ago2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 21 Jun 2010 12:02:08 +0000 (12:02 -0000)]
2010-06-21  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : remove TODOs and unused code.
  Remove comment that is not true.

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

13 years ago2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 21 Jun 2010 11:49:11 +0000 (11:49 -0000)]
2010-06-21  Atsushi Enomoto  <atsushi@ximian.com>

* EndpointAddress.cs : implement remaining ReadFrom() overloads.
* ServiceHostBase.cs : remove extra TODOs.

* EndpointAddressTest.cs : add more ReadFrom() tests.

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

13 years ago2010-06-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Jun 2010 10:03:44 +0000 (10:03 -0000)]
2010-06-21  Jb Evain  <jbevain@novell.com>

* TimeZoneInfo.cs: fix the moonlight and monotouch build.

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

13 years ago2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 21 Jun 2010 07:44:07 +0000 (07:44 -0000)]
2010-06-21  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceThrottle.cs : take ChannelDispatcher to validate setters.

* ServiceThrottlingBehavior.cs : pass channel dispatcher for .ctor.

* ServiceHostBase.cs : remove extra throttling field.

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

13 years ago2010-06-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 21 Jun 2010 01:34:14 +0000 (01:34 -0000)]
2010-06-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TabControlPainter.cs: Actually draw the focus rectangle - TabControl
ignores the value of ShowFocusCues. Also, properly compute the bounds
for the focus rectangle, since it should include the padding of the
tab page.
Fixes bits of #515045.

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

13 years ago * TabControl.cs: Show the tooltip depending on the value
Carlos Alberto Cortez [Sun, 20 Jun 2010 23:02:53 +0000 (23:02 -0000)]
* TabControl.cs: Show the tooltip depending on the value
of ShowTooltips.
Fixes #615376.

2010-06-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

13 years ago2010-06-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 20 Jun 2010 22:30:36 +0000 (22:30 -0000)]
2010-06-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TabControl.cs: Implement ToolTip support for our tab pages.
Fixes part of #515045.

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

13 years ago2010-06-20 Jb Evain <jbevain@novell.com>
Jb Evain [Sun, 20 Jun 2010 13:14:29 +0000 (13:14 -0000)]
2010-06-20  Jb Evain  <jbevain@novell.com>

* metadata-verify.c: do not consider the assembly invalid if it
doesn't have a #Blob stream as resource assemblies don't
necessarily have one.

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

13 years ago2010-06-19 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 19 Jun 2010 20:27:37 +0000 (20:27 -0000)]
2010-06-19  Jonathan Pobst  <monkey@jpobst.com>

* FontDialog.cs: Make the 16 colors in the color drop down
match .Net.  Patch by Thomas Goldstein (stifu@free.fr).
[Fixes bug #506726]

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

13 years ago2010-06-19 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Sat, 19 Jun 2010 20:18:16 +0000 (20:18 -0000)]
2010-06-19  Jonathan Pobst  <monkey@jpobst.com>

* FontDialog.cs: Show all 16 colors in the color drop down
to match .Net.  Patch by Thomas Goldstein (stifu@free.fr).
[Fixes bug #508523]

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

13 years ago2010-06-19 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 19 Jun 2010 00:59:57 +0000 (00:59 -0000)]
2010-06-19  Zoltan Varga  <vargaz@gmail.com>

* tramp-amd64.c (mono_arch_create_generic_trampoline): Increase the buf len a little,
to avoid an assert.

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

13 years ago2010-06-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Sat, 19 Jun 2010 00:16:36 +0000 (00:16 -0000)]
2010-06-19  Marek Habersack  <mhabersack@novell.com>

* FormsAuthentication.cs: Authenticate must compare stored and
newly hashed passwords case-insensitively. Fixes bug #601727

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

13 years ago2010-06-18 Vincent Povirk <madewokherd@gmail.com>
Miguel de Icaza [Fri, 18 Jun 2010 23:36:52 +0000 (23:36 -0000)]
2010-06-18  Vincent Povirk <madewokherd@gmail.com>

        * TimeZoneInfo.cs: Applied patch from Vincent Povirk that adds
        support for reading time zone information on windows.

        This patch makes TimeZoneInfo.GetSystemTimeZones and
        FindSystemTimeZoneById work based on the registry on non-Unix
        platforms, if the appropriate registry key exists. Mono currently
        reads from /usr/share/zoneinfo, which doesn't exist on Windows.

        This should fix bug 606084.

        It won't fix the Local property on Windows. I think that requires
        a Windows API call to get the id of the local timezone.

        This was modified from the previous version to not check the
        registry on Unix platforms. (Sorry it took me so long to do
        this. I have very little time to spend on Mono-related work.)

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

13 years ago 2010-06-19 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 18 Jun 2010 23:01:39 +0000 (23:01 -0000)]
2010-06-19  Marek Habersack  <mhabersack@novell.com>

     * DataPager.cs: when rendering the ID attribute, use ClientID

    2010-06-18  Marek Habersack  <mhabersack@novell.com>

     * NumericPagerField.cs: CreateDataPagers outputs correct page
     number in query mode. Fixes bug #615315
     Rendering changes to match .NET

     * DataPagerField.cs: if query string has been handled and query
     mode is in effect, return true. Fixes bug #615315

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

13 years ago2010-06-18 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 18 Jun 2010 22:18:56 +0000 (22:18 -0000)]
2010-06-18 Rodrigo Kumpera  <rkumpera@novell.com>

* ConditionalWeakTableTest.cs: Fix another test.

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

13 years ago2010-06-08 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 18 Jun 2010 22:18:47 +0000 (22:18 -0000)]
2010-06-08 Rodrigo Kumpera  <rkumpera@novell.com>

* MethodInfoTest.cs: Fix test for variant iface.

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

13 years ago2010-06-18 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 18 Jun 2010 22:18:37 +0000 (22:18 -0000)]
2010-06-18 Rodrigo Kumpera  <rkumpera@novell.com>

* ConditionalWeakTableTest.cs: Fix it.

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

13 years ago2010-06-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Jun 2010 21:13:51 +0000 (21:13 -0000)]
2010-06-18  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_klass_info): Mark unloadable classes properly.

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

13 years agoFix a warning.
Zoltan Varga [Fri, 18 Jun 2010 20:51:41 +0000 (20:51 -0000)]
Fix a warning.

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

13 years ago2010-06-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Jun 2010 20:51:35 +0000 (20:51 -0000)]
2010-06-18  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c aot-runtime.c: Fix LLVM support.

* mini-llvm.c: When emitting OP_CALL_HANDLER, avoid branching directly to the landing
pad, branch to a new bblock instead.

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

13 years agoCleanup exception handling (no need for "By Name" anymore) and fix s390x
Neale Ferguson [Fri, 18 Jun 2010 20:41:43 +0000 (20:41 -0000)]
Cleanup exception handling (no need for "By Name" anymore) and fix s390x
IMT jump logic.

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

13 years ago2010-06-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Jun 2010 19:57:52 +0000 (19:57 -0000)]
2010-06-18  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_method_code): Use cfg->header instead of the header of
orig_method.

* exceptions-amd64.c (mono_arch_exceptions_init): Fix fullaot support.

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

13 years ago2010-06-18 Chris Toshok <toshok@ximian.com>
Chris Toshok [Fri, 18 Jun 2010 18:43:31 +0000 (18:43 -0000)]
2010-06-18  Chris Toshok  <toshok@ximian.com>

patch from Jacob Berkman:

* src/glib.h (g_mkdir): #define to mkdir
(g_ascii_strtoull): #define to strtoull

* src/gmodule.h: add G_BEGIN/END_DECLS

* src/gstr.c (g_strdupv): new function.

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

13 years ago2010-06-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 18 Jun 2010 17:53:42 +0000 (17:53 -0000)]
2010-06-18  Atsushi Enomoto  <atsushi@ximian.com>

* Rss20ItemFormatter.cs : enabled DateTimeOffset parsing.
  Fixed bug #615332, patch by Carlos Martin.

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

13 years ago2010-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 18 Jun 2010 17:23:32 +0000 (17:23 -0000)]
2010-06-18 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Uri.cs: fix serialization for relative URIs. Patch from Greg
Smolyn. Fixes bug #615320.

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

13 years ago2010-06-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 18 Jun 2010 15:33:40 +0000 (15:33 -0000)]
2010-06-18  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : Do not build more than one ChannelDispatcher
  for a Binding. Then check duplicate listen URIs, excluding mex ones.

* ChannelDispatcher.cs : add simple bool field to mark for mex channel.

* ServiceMetadataExtension.cs : use simple ChannelDispatcher.IsMex field.

* ServiceHostTest.cs : improved endpoint tests and enabled them.

* ChannelDispatcherTest.cs : had to disable a test that regressed from
  validating duplicate listen URI. Possible remedy is described too.

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

13 years ago2010-06-18 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 18 Jun 2010 14:38:03 +0000 (14:38 -0000)]
2010-06-18  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (process_bb): Add support for OP_SQRT when using the LLVM mono branch.

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