mono.git
13 years ago* AbsoluteToRelativePath: New.
Ankit Jain [Fri, 16 Jul 2010 14:27:14 +0000 (14:27 -0000)]
* AbsoluteToRelativePath: New.
* RelativeToAbsolutePath: New. Taken from monodevelop.
* GetReservedMetadata: Correctly handle 'RelativeDir' .

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

13 years ago2010-07-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 16 Jul 2010 10:34:38 +0000 (10:34 -0000)]
2010-07-16  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Remove the 'LLVM backend is experimental' warning.

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

13 years ago2010-07-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 16 Jul 2010 10:34:32 +0000 (10:34 -0000)]
2010-07-16  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c: Add more SIMD instructions.

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

13 years ago2010-07-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 16 Jul 2010 08:39:18 +0000 (08:39 -0000)]
2010-07-16  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_print_unhandled_exception): Fix a warning.

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

13 years agoAdd documentation for System.Diagnostics.Contracts namespace.
Chris Bacon [Fri, 16 Jul 2010 08:28:50 +0000 (08:28 -0000)]
Add documentation for System.Diagnostics.Contracts namespace.

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

13 years agoFix a typo.
Zoltan Varga [Fri, 16 Jul 2010 08:16:50 +0000 (08:16 -0000)]
Fix a typo.

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

13 years ago2010-07-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Fri, 16 Jul 2010 05:10:35 +0000 (05:10 -0000)]
2010-07-16 Gonzalo Paniagua Javier <gonzalo@novell.com>

* mono-semaphore.c: fixes bug #622398 for real in OSX.
This was preventing the WSQ from working.

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

13 years agoSmall bug fix
Miguel de Icaza [Fri, 16 Jul 2010 04:44:17 +0000 (04:44 -0000)]
Small bug fix

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

13 years agorevert. Not needed
Gonzalo Paniagua Javier [Fri, 16 Jul 2010 03:52:00 +0000 (03:52 -0000)]
revert. Not needed

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

13 years agoMove
Miguel de Icaza [Fri, 16 Jul 2010 02:42:34 +0000 (02:42 -0000)]
Move

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

13 years agoUpdate man
Miguel de Icaza [Thu, 15 Jul 2010 22:34:31 +0000 (22:34 -0000)]
Update man

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

13 years ago2010-07-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 15 Jul 2010 22:33:14 +0000 (22:33 -0000)]
2010-07-15  Miguel de Icaza  <miguel@novell.com>

* mini.c: Allow "casts" to be passed on MONO_DEBUG as well.

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

13 years ago2010-07-15 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Thu, 15 Jul 2010 22:11:19 +0000 (22:11 -0000)]
2010-07-15 Gonzalo Paniagua Javier <gonzalo@novell.com>

* threadpool.c: use a monitor thread to start up new ones when needed.
Fixes bug #622398.

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

13 years ago2010-07-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 15 Jul 2010 19:30:33 +0000 (19:30 -0000)]
2010-07-15  Marek Habersack  <mhabersack@novell.com>

* WebControl.cs: implemented verifying that no inline style
property is set for controls which support the RenderOuterTable
property (4.0)

* IRenderOuterTable.cs: internal helper interface for controls
which support the RenderOuterTable property (for now only
ChangePassword, 3 more to come)

* ChangePassword.cs: implemented RenderOuterTable property and the
corresponding behavior of not rendering surrounding table when the
property is set to false (4.0).
Modified BaseChangePasswordContainer to not inherit from Table
anymore. Table is an instance variable (always used as the
template container in 2.0) which is optionally (and by default)
used to contain the templates.

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

13 years ago2010-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Jul 2010 19:01:04 +0000 (19:01 -0000)]
2010-07-15  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.c: Change the calling convention to pass this as first as on other
architectures. Remove some dead code from the get_vcall_slot() and the implementation
of the CALL_MEMBASE opcodes as a result.

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

13 years ago2010-07-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 15 Jul 2010 19:00:55 +0000 (19:00 -0000)]
2010-07-15  Zoltan Varga  <vargaz@gmail.com>

* wthreads.c (CreateThread): Avoid an assert if the stack size specified by the
caller is smaller than the system minimum.

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

13 years ago2010-07-15 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 15 Jul 2010 18:40:52 +0000 (18:40 -0000)]
2010-07-15  Sebastien Pouliot  <sebastien@ximian.com>

* LinearGradientBrushTest.cs: Add test case for #537396 (empty rects)

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

13 years agoAdd Punycode encoder, to be used one day by Uri.cs
Miguel de Icaza [Thu, 15 Jul 2010 18:38:11 +0000 (18:38 -0000)]
Add Punycode encoder, to be used one day by Uri.cs

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

13 years agobatch commit from local git changes.
Atsushi Eno [Thu, 15 Jul 2010 17:09:35 +0000 (17:09 -0000)]
batch commit from local git changes.

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

13 years agoupdated to the latest code from Mono.Security.
Atsushi Eno [Thu, 15 Jul 2010 17:09:00 +0000 (17:09 -0000)]
updated to the latest code from Mono.Security.

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

13 years ago2010-07-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 15 Jul 2010 16:51:09 +0000 (16:51 -0000)]
2010-07-15  Marek Habersack  <mhabersack@novell.com>

* PlaceHolder.cs, View.cs, WizardStepBase: added EnableTheming
property

* MultiViewControlBuilder.cs: added

More 2.0/4.0 metadata updates

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

13 years agoThu Jul 15 18:44:44 CEST 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 15 Jul 2010 16:47:18 +0000 (16:47 -0000)]
Thu Jul 15 18:44:44 CEST 2010 Paolo Molaro <lupus@ximian.com>

* reflection.c, class-internals.h, class.c, icall.c: support
reflection of default constant value for Re.Emit properties.

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

13 years agoApply CategoryAttribute fix to XamlDirectiveTest.cs too
Raja R Harinath [Thu, 15 Jul 2010 15:38:20 +0000 (15:38 -0000)]
Apply CategoryAttribute fix to XamlDirectiveTest.cs too

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

13 years ago2010-07-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 15 Jul 2010 04:51:52 +0000 (04:51 -0000)]
2010-07-14  Miguel de Icaza  <miguel@novell.com>

* reflection.c (load_cattr_value): Add support for encoding
DateTime constants into the blob.    Turns out that this is
required by .NET, it was only documented post 1.0.

* icall.c (ves_icall_type_GetTypeCodeInternal): Guard test for
System.Decimal and System.DateTime inside a mono_is_corlib_image
call.   A sample program showed that we could return the wrong
TypeCode just by creating a class with those names.

* class.c (mono_is_corlib_image): Exposed this to other metadata/
code.

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

13 years ago2010-07-15 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 15 Jul 2010 04:51:01 +0000 (04:51 -0000)]
2010-07-15  Miguel de Icaza  <miguel@novell.com>

* FieldBuilderTest.cs: Add new test that exercises encoding
datetime constants with SetConstant.

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

13 years agoremove extra package line and add it to each profile directory.
Atsushi Eno [Thu, 15 Jul 2010 03:56:26 +0000 (03:56 -0000)]
remove extra package line and add it to each profile directory.

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

13 years agothis too.
Atsushi Eno [Thu, 15 Jul 2010 03:53:36 +0000 (03:53 -0000)]
this too.

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

13 years agothis too.
Atsushi Eno [Thu, 15 Jul 2010 03:53:18 +0000 (03:53 -0000)]
this too.

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

13 years agoadd new 2.1-only directory.
Atsushi Eno [Thu, 15 Jul 2010 03:52:53 +0000 (03:52 -0000)]
add new 2.1-only directory.

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

13 years agoAn extra test, to give me peace of mind
Miguel de Icaza [Wed, 14 Jul 2010 23:30:51 +0000 (23:30 -0000)]
An extra test, to give me peace of mind

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

13 years ago2010-07-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 14 Jul 2010 23:30:31 +0000 (23:30 -0000)]
2010-07-14  Miguel de Icaza  <miguel@novell.com>

* DateTime.cs: This is the Retina Display of DateTime structs.
Unlike our previous Chubby DateTime that took 16 bytes of memory,
this slim version of DateTime only uses 8 bytes.

This fixes a couple of bugs 592221 and 622127.   Additionally, it
turns out that the original Microsoft documentation did not spell
this out, but newer versions of the docs state that SetConstant on
a FieldBuilder should be capable of serializing DateTimes (which
is where this issue came from).

This is necessary to fix two crashers exposed by the CLR test
suite.

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

13 years ago2010-07-14 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 14 Jul 2010 21:52:25 +0000 (21:52 -0000)]
2010-07-14  Miguel de Icaza  <miguel@novell.com>

* tests.make: Do not run the tests under the verifier until the
verifier bug is fixed so at least we can see what is going on in
our buildbots.

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

13 years ago2010-07-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 14 Jul 2010 21:46:36 +0000 (21:46 -0000)]
2010-07-14  Sebastien Pouliot  <sebastien@ximian.com>

* WebHeaderCollection_2_1.cs: Fix IEnumerable.GetEnumerator

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

13 years ago2010-07-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Wed, 14 Jul 2010 20:30:22 +0000 (20:30 -0000)]
2010-07-14 Gonzalo Paniagua Javier <gonzalo@novell.com>

* IPAddress.cs: allow values out of range as MS does.

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

13 years ago4.0/2.0 metadata updates + some test updates
Marek Habersack [Wed, 14 Jul 2010 19:46:01 +0000 (19:46 -0000)]
4.0/2.0 metadata updates + some test updates

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

13 years ago2010-07-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Jul 2010 18:24:54 +0000 (18:24 -0000)]
2010-07-14  Atsushi Enomoto  <atsushi@ximian.com>

* WebMessageEncoder.cs : support Raw message in ReadMessage() too.
  Allow null content type.

* WebMessageFormatter.cs : do not depend on WebOperationContext.
  add support for Raw format request.

* WebMessageEncodingBindingElementTest.cs : add test for null
  content type for ReadMessage() (allowed),

* WebHttpBehaviorTest.cs : add test for deserializing Raw request
  message too.

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

13 years ago2010-07-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Jul 2010 18:20:24 +0000 (18:20 -0000)]
2010-07-14  Atsushi Enomoto  <atsushi@ximian.com>

* BinaryMessageEncoder.cs, MessageEncoder.cs:
  The default content type value is null, not the ContentType value.

* HttpReplyChannel.cs : pass HTTP ContentType header value to
  MessageEncoder.ReadMessage().

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

13 years ago2010-07-14 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 14 Jul 2010 15:55:09 +0000 (15:55 -0000)]
2010-07-14  Marek Habersack  <mhabersack@novell.com>

* Menu.cs: fixed skip link rendering (no child controls are added
in the process, writing directly to HtmlTextWriter). Fixes tests
for 4.0
If StaticSubMenuIndent equals Unit.Empty on 4.0, default to using
16px as the value of the margin-left CSS attribute.

Fixed all failing tests (both 2.0 and 4.0)

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

13 years agoDon't print null on exit
Marek Safar [Wed, 14 Jul 2010 15:05:28 +0000 (15:05 -0000)]
Don't print null on exit

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

13 years ago2010-07-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 14 Jul 2010 14:55:32 +0000 (14:55 -0000)]
2010-07-14  Sebastien Pouliot  <sebastien@ximian.com>

* security-core-clr.c: Don't abort (only warn) if we cannot find
a caller for relfecting code (transparent is assumed). Fix
get_method_access_exception to accept a NULL caller.

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

13 years agoAllow completion without prefix
Marek Safar [Wed, 14 Jul 2010 14:54:54 +0000 (14:54 -0000)]
Allow completion without prefix

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

13 years agoNew tests.
Marek Safar [Wed, 14 Jul 2010 13:57:14 +0000 (13:57 -0000)]
New tests.

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

13 years ago2010-07-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 14 Jul 2010 13:55:00 +0000 (13:55 -0000)]
2010-07-14  Marek Safar  <marek.safar@gmail.com>

* namespace.cs, import.cs: When importing nested type via type
arguments set their parent type correctly (Fixes #622051).

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

13 years ago2010-07-14 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 14 Jul 2010 10:48:08 +0000 (10:48 -0000)]
2010-07-14  Marek Safar  <marek.safar@gmail.com>

A fix for bug #622104
* attribute.cs: Add default lookup flags.

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

13 years ago2010-07-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 14 Jul 2010 08:43:31 +0000 (08:43 -0000)]
2010-07-14  Atsushi Enomoto  <atsushi@ximian.com>

* WebMessageFormatter.cs : add support for Raw format.

* WebMessageEncoder.cs : support Raw message. Fixed bug #619542.

* WebHttpBehaviorTest.cs : add test for bug #619542 (not sure if it
  works on mono; run-test is broken in trunk. Verified under .NET).

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

13 years agostyle
Jb Evain [Wed, 14 Jul 2010 08:17:12 +0000 (08:17 -0000)]
style

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

13 years ago2010-07-14 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 14 Jul 2010 08:16:50 +0000 (08:16 -0000)]
2010-07-14  Jb Evain  <jbevain@novell.com>

* Enumerable.cs (Union): fix HashSet.Contains call.

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

13 years ago2010-07-13 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 14 Jul 2010 03:18:50 +0000 (03:18 -0000)]
2010-07-13  Miguel de Icaza  <miguel@novell.com>

* mini.c: LLVM is disabled by default on LLVM builds.  You can use
the MONO_ENV_OPTIONS to set the --llvm flag.

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

13 years ago2010-07-14 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 14 Jul 2010 01:16:25 +0000 (01:16 -0000)]
2010-07-14  Mark Probst  <mark.probst@gmail.com>

* sgen-gc.c: Heavy statistics on the internal allocator.

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

13 years agoOnly posix/mach semaphores return a value
Geoff Norton [Wed, 14 Jul 2010 00:44:06 +0000 (00:44 -0000)]
Only posix/mach semaphores return a value

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

13 years ago2010-07-13 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 13 Jul 2010 22:53:16 +0000 (22:53 -0000)]
2010-07-13  Mark Probst  <mark.probst@gmail.com>

* sgen-marksweep.c, sgen-gc.h: Keep track of num_empty_blocks
properly and in a thread-safe way.

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

13 years agoUpdate
Miguel de Icaza [Tue, 13 Jul 2010 22:03:59 +0000 (22:03 -0000)]
Update

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

13 years ago2010-07-13 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 13 Jul 2010 21:30:35 +0000 (21:30 -0000)]
2010-07-13  Mark Probst  <mark.probst@gmail.com>

* sgen-gc.c, sgen-marksweep.c: Make object marking thread-safe.

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

13 years ago2010-07-13 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 13 Jul 2010 21:30:06 +0000 (21:30 -0000)]
2010-07-13  Mark Probst  <mark.probst@gmail.com>

* sgen-gc.c: Versions of safe_object_get_size() and
copy_object_no_checks() that work without the object's vtable
intact, by passing the correct vtable as an argument.

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

13 years ago2010-07-13 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 13 Jul 2010 21:29:34 +0000 (21:29 -0000)]
2010-07-13  Mark Probst  <mark.probst@gmail.com>

* sgen-marksweep.c: Make allocation of major sections thread-safe.

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

13 years agoMake mono-debug.h properly safe for public use.
Michael Hutchinson [Tue, 13 Jul 2010 20:39:57 +0000 (20:39 -0000)]
Make mono-debug.h properly safe for public use.

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

13 years ago2010-07-13 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 13 Jul 2010 19:54:34 +0000 (19:54 -0000)]
2010-07-13  Marek Habersack  <mhabersack@novell.com>

* BoundField.cs: implemented HtmlEncodeFormatString property
(3.5+) and modified the way FormatDataValue works accordingly.

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

13 years ago2010-07-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 13 Jul 2010 19:25:39 +0000 (19:25 -0000)]
2010-07-13 Gonzalo Paniagua Javier <gonzalo@novell.com>

* mono-semaphore.h:
* mono-semaphore.c: use io-layer wait functions in OSX.

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

13 years ago2010-07-13 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 13 Jul 2010 17:45:17 +0000 (17:45 -0000)]
2010-07-13  Marek Habersack  <mhabersack@novell.com>

* ListBox.cs, CheckBoxList.cs, ListControl.cs: VerifyMultiSelect
is not part of the official API. MultiSelect capability validation
is performed using an internal virtual method MultiSelectOk ().

* BaseDataList.cs: OnPagePreLoad is not part of the official API

* BaseDataBoundControl.cs, BaseDataList.cs, DataListItem.cs,
ValidationSummary.cs: implemented 4.0 SupportsDisabledAttribute
property.

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

13 years ago2010-07-13 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 13 Jul 2010 16:34:23 +0000 (16:34 -0000)]
2010-07-13  Marek Habersack  <mhabersack@novell.com>

* Control.cs: moved 4.0 ClientID code to a separate method, so
that the ID_SET flag isn't set when necessary.

2010-07-13  Marek Habersack  <mhabersack@novell.com>

* Wizard.cs: wizard table doesn't contain any instances of
HtmlAnchor or Image controls. Moved rendering of the skip link
anchor to the TableCellNamingContainer class, which does that in
RenderChildren by directly writing to the passed writer. Fixes 4.0
rendering and all the failing Wizard tests.

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

13 years ago2010-07-13 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Tue, 13 Jul 2010 15:55:33 +0000 (15:55 -0000)]
2010-07-13  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes #613845
* Tds70.cs (WriteParameterInfo): Round money values to 4
* decimals.

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

13 years ago2010-07-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 13 Jul 2010 14:48:01 +0000 (14:48 -0000)]
2010-07-13  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RegistryKeyTest.cs: New tests for volatile keys.

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

13 years ago2010-07-13 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 13 Jul 2010 14:45:17 +0000 (14:45 -0000)]
2010-07-13  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RegistryKey.cs: Call the proper UnixRegistryApi.CreateSubKey overload.
* UnixRegistryApi.cs: Implement basic support for volatile keys, by
storing them in memory instead of disk. We lack the support to have
them available to other processes - and given the fact that a
workaround would be gross, just don't implement that now.

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

13 years ago2010-07-13 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 13 Jul 2010 14:35:56 +0000 (14:35 -0000)]
2010-07-13  Jb Evain  <jbevain@novell.com>

* Enumerable.cs (Except): fix HashSet.Contains call.
Fixes #621911.

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

13 years ago2010-07-12 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Tue, 13 Jul 2010 08:51:45 +0000 (08:51 -0000)]
2010-07-12  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes #569543
* Tds70.cs (ExecPrepared): Revert back to old changes.
* Tds80.cs (ExecPrepared): Override for Tds 8 version that
optimizes network bandwidth.

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

13 years ago2010-07-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 13 Jul 2010 06:13:39 +0000 (06:13 -0000)]
2010-07-13  Atsushi Enomoto  <atsushi@ximian.com>

* driver.c : windows build fix for --with-moonlight.

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

13 years ago2010-07-13 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 13 Jul 2010 03:01:07 +0000 (03:01 -0000)]
2010-07-13  Mark Probst  <mark.probst@gmail.com>

* sgen-gc.c, sgen-gc.h, sgen-los.c, sgen-major-copying.c,
sgen-marksweep.c: Update the heap boundaries thread-safe and lock
free if parallel mark is enabled.

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

13 years ago2010-07-13 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 13 Jul 2010 02:25:19 +0000 (02:25 -0000)]
2010-07-13  Mark Probst  <mark.probst@gmail.com>

* sgen-gc.c, sgen-gc.h, sgen-major-copying.c: Lock the internal
allocator if parallel mark (not committed yet) is enabled.

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

13 years ago2010-07-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 13 Jul 2010 01:28:05 +0000 (01:28 -0000)]
2010-07-12 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (inflate_mono_method): Handle dynamic
generic instances that have method.count set but
methods not. Fixes another crash from boo's test suite.

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

13 years ago2010-07-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 12 Jul 2010 22:01:35 +0000 (22:01 -0000)]
2010-07-12 Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c (ves_icall_MonoMethod_get_base_method): If
the method slot is bigger than the class vtable, return
the original method. Makes booc work again.

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

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

* verify.c (mono_generic_param_is_constraint_compatible):
The candidate type itself might satisty the required
constraints.

Fixes #621599.

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

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

* valid_generic_arg_satisty_constraint_compat_check.cs:
Regression test for #621599.

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

13 years ago2010-07-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 12 Jul 2010 17:20:57 +0000 (17:20 -0000)]
2010-07-12 Rodrigo Kumpera  <rkumpera@novell.com>

* bug-389886-3.cs: New regression test.

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

13 years ago2010-07-12 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 12 Jul 2010 15:55:36 +0000 (15:55 -0000)]
2010-07-12 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (fix_partial_generic_class): Inflate the
generic instance parent in case it was changed after
MonoGenericClass was instantiated.

Fixes one of the issues from #389886.

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

13 years ago2010-07-12 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 12 Jul 2010 15:22:11 +0000 (15:22 -0000)]
2010-07-12  Marek Safar  <marek.safar@gmail.com>

* tests.make: Run all tests under verifier.

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

13 years ago2010-07-12 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Mon, 12 Jul 2010 14:57:39 +0000 (14:57 -0000)]
2010-07-12  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* NetworkChange_2_1.cs: Don't leak exceptions to native code.

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

13 years agoIn man:
Rolf Bjarne Kvinge [Mon, 12 Jul 2010 14:53:15 +0000 (14:53 -0000)]
In man:
2010-07-12  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* mono.1: Document MONO_DEBUG's new reverse-pinvoke-exceptions option.

In mono/mini:
2010-07-12  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* mini.c|h:
* mini-exceptions.c: Add an option to MONO_DEBUG for tracking down exceptions
that reach native code from a reverse pinvoke.

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

13 years agoClean up 2 warnings
Marek Safar [Mon, 12 Jul 2010 14:22:44 +0000 (14:22 -0000)]
Clean up 2 warnings

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

13 years ago2010-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 12 Jul 2010 13:17:58 +0000 (13:17 -0000)]
2010-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* InputOrReplyProcessor.cs : remove SecurityHandler. WS-Trust must
  be handled before endpoint dispatching (it must not pass contract
  filter) and doesn't make sense to be here.
* SecurityHandler.cs : move to old-code.

* SecurityReplyChannel.cs : handle WS-Trust message here.
* SecurityRequestContext.cs : so, do not pass those messages here.

* SslSecurityTokenAuthenticator.cs,
  AuthenticatorCommunicationObject.cs,
  SecureConversationSecurityTokenAuthenticator.cs :
  add timeout argument to negotication requests.

* System.ServiceModel.dll.sources: remove SecurityHandler.cs

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

13 years ago2010-07-12 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 12 Jul 2010 12:09:52 +0000 (12:09 -0000)]
2010-07-12  Jb Evain  <jbevain@novell.com>

* Complex.cs: implement IFormattable.

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

13 years ago2010-07-12 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 12 Jul 2010 11:11:34 +0000 (11:11 -0000)]
2010-07-12  Marek Safar  <marek.safar@gmail.com>

* generic.cs: Don't use Report directly.

* expression.cs, ecore.cs: UserOperatorCall uses MethodSpec without
MethodGroupExpr, will be simplified later.

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

13 years agomove MessageSecurityBindingSupport.cs too.
Atsushi Eno [Mon, 12 Jul 2010 10:54:22 +0000 (10:54 -0000)]
move MessageSecurityBindingSupport.cs too.

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

13 years agomore internal namespace moving.
Atsushi Eno [Mon, 12 Jul 2010 10:46:21 +0000 (10:46 -0000)]
more internal namespace moving.

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

13 years ago(forgot to add new ChangeLog)
Atsushi Eno [Mon, 12 Jul 2010 10:27:31 +0000 (10:27 -0000)]
(forgot to add new ChangeLog)

2010-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* SecurityRequestContext.cs : revert extra and bogus changes I had
  locally.

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

13 years agomoved bunch of security internal classes to System.ServiceModel.Channels.Security...
Atsushi Eno [Mon, 12 Jul 2010 10:20:16 +0000 (10:20 -0000)]
moved bunch of security internal classes to System.ServiceModel.Channels.Security directory.

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

13 years ago2010-07-12 Astushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 12 Jul 2010 10:08:08 +0000 (10:08 -0000)]
2010-07-12  Astushi Enomoto  <atsushi@ximian.com>

* Dummy_2_1.cs : add internal namespaces.
* System.ServiceModel.dll.sources: add SecurityReplyChannel.cs

* SecurityReplyChannel.cs : split from SecurityChannelListener.cs.
* AsymmetricSecurityBindingElement.cs
  WSSecurityMessageHeader.cs
  SecureMessageDecryptor.cs
  SecureMessageGenerator.cs
  SecurityChannelListener.cs
  SecurityRequestContext.cs
  WSEncryptedXml.cs
  SecurityRequestChannel.cs
  SymmetricSecurityBindingElement.cs
  SecurityOutputChannel.cs
  SecurityChannelFactory.cs
  WSSignedXml.cs
  SecurityBindingElement.cs : change namespace to move to internal
  namespace directory.

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

13 years ago2010-07-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 12 Jul 2010 09:43:24 +0000 (09:43 -0000)]
2010-07-12  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs : apply ErrorHandlers to IInputChannel too.

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

13 years ago2010-07-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 11 Jul 2010 19:56:18 +0000 (19:56 -0000)]
2010-07-11  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_to_ir): Kill some duplicated code.

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

13 years ago2010-07-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 11 Jul 2010 19:38:49 +0000 (19:38 -0000)]
2010-07-11  Zoltan Varga  <vargaz@gmail.com>

* mini-<ARCH>.c (get_call_info): Call mini_type_get_underlying_type () before passing
a type to MONO_TYPE_IS_REFERENCE (), since the latter can't handle VAR/MVAR.
Fixes #620864.

* generics.cs: Add a test.

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

13 years ago2010-07-11 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sun, 11 Jul 2010 16:46:16 +0000 (16:46 -0000)]
2010-07-11 Rodrigo Kumpera  <rkumpera@novell.com>

* mini.c (mono_jit_compile_method_inner): Don't bomb out if we don't
support a given runtime implemented method.

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

13 years ago2010-07-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 11 Jul 2010 13:09:17 +0000 (13:09 -0000)]
2010-07-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* RegistryKey.cs: Add 4.0 CreateSubKey overloads taking a RegistryOptions
parameter.
* IRegistryApi.cs: Add a new overload for CreateSubKey for the 4.0
profile. Not nice, but better than to change the signature for each
profile.
* Win32RegistryApi.cs: Properly recognize a handle where a volatile
key is requested.
* UnixRegistryApi.cs: Stubbed.

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

13 years ago * Makfile.am (test-process-exit): Expected output is in $srcdir.
Jonathan Pryor [Sun, 11 Jul 2010 02:43:43 +0000 (02:43 -0000)]
* Makfile.am (test-process-exit): Expected output is in $srcdir.

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

13 years ago2010-07-10 Veerapuram Varadhan <vvaradhan@novell.com>
Veerapuram Varadhan [Sat, 10 Jul 2010 10:35:56 +0000 (10:35 -0000)]
2010-07-10  Veerapuram Varadhan  <vvaradhan@novell.com>

** Fixes 620860
* Tds70.cs (Precision): New virtual property to handle Precision
values across different Tds versions.
(WriteParameterInfo): Use defined Precision property instead of
constant value.  Also handle Ulong and long max/min values
properly.
* Tds80.cs (Precision): Override property to provide Tds 8
precision value.

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

13 years ago* Csc.cs: Quote -define: arguments.
Ankit Jain [Sat, 10 Jul 2010 10:03:36 +0000 (10:03 -0000)]
* Csc.cs: Quote -define: arguments.

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

13 years ago2010-07-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 10 Jul 2010 01:59:24 +0000 (01:59 -0000)]
2010-07-10  Mark Probst  <mark.probst@gmail.com>

* sgen-gray.c: Store only a pointer to one end of the gray queue.

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

13 years ago2010-07-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 10 Jul 2010 01:21:41 +0000 (01:21 -0000)]
2010-07-10 Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (mono_method_signature_checked): Release the domain
lock on failure.

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

13 years ago2010-07-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 10 Jul 2010 01:15:55 +0000 (01:15 -0000)]
2010-07-10 Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (mono_get_method_constrained): Properly unlock the
domain lock on failure. Use checked variant of
inflate_generic_signature.

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

13 years ago2010-07-10 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 10 Jul 2010 01:15:47 +0000 (01:15 -0000)]
2010-07-10 Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (mono_method_signature_checked): Use checked
variant of inflate_generic_signature.

Fixes #606353.

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

13 years agoStore forwarding address in the same word as the forwarding bit.
Mark Probst [Sat, 10 Jul 2010 00:48:26 +0000 (00:48 -0000)]
Store forwarding address in the same word as the forwarding bit.

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

13 years ago2010-07-10 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 10 Jul 2010 00:41:19 +0000 (00:41 -0000)]
2010-07-10  Mark Probst  <mark.probst@gmail.com>

* gc.c, gc-internal.h, sgen-gc.c, sgen-gc.h, sgen-os-mach.c: An
interface to register our Mach exception thread which will not be
suspended by stop-the-world.

2010-07-10  Mark Probst  <mark.probst@gmail.com>

* mini-darwin.c: Register the exception thread with the GC.

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