mono.git
14 years ago2009-08-12 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 12 Aug 2009 13:25:52 +0000 (13:25 -0000)]
2009-08-12  Mark Probst  <mark.probst@gmail.com>

* gc.c: #define GC_dont_gc if we're compiling with SGen.

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

14 years ago2009-08-12 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 12 Aug 2009 12:29:17 +0000 (12:29 -0000)]
2009-08-12  Mark Probst  <mark.probst@gmail.com>

* domain.c (mono_domain_free): Free a domain's mono_g_hash_tables
before clearing a domain in the GC.

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

14 years ago2009-08-12 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 12 Aug 2009 12:00:10 +0000 (12:00 -0000)]
2009-08-12  Mark Probst  <mark.probst@gmail.com>

* exception.c (mono_exception_from_name_domain): Actually create
the exception in the specified domain.

* appdomain.c (mono_domain_create_appdomain_internal): Create the
OutOfMemoryException a bit later so that the domain is inialized
"enough" that it works.

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

14 years ago2009-08-12 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 12 Aug 2009 11:15:52 +0000 (11:15 -0000)]
2009-08-12  Mark Probst  <mark.probst@gmail.com>

* threads.c (thread_cleanup): Clean up the cached_culture_info
array to prevent cross-domain references.

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

14 years ago2009-08-12 Mark Probst <mark.probst@gmail.com>
Mark Probst [Wed, 12 Aug 2009 11:03:37 +0000 (11:03 -0000)]
2009-08-12  Mark Probst  <mark.probst@gmail.com>

* mono-hash.c (mono_g_hash_mark): If the keys are managed objects,
rehash the table after marking.

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

14 years ago2009-08-11 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Tue, 11 Aug 2009 21:44:25 +0000 (21:44 -0000)]
2009-08-11  Jérémie Laval  <jeremie.laval@gmail.com>

* Future.cs: Add static to Factory property

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

14 years ago* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Yet another
Andrés G. Aragoneses [Tue, 11 Aug 2009 21:39:05 +0000 (21:39 -0000)]
* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Yet another
blacklisted element (SW.dll is not linked).

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

14 years ago2009-08-11 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Tue, 11 Aug 2009 21:10:04 +0000 (21:10 -0000)]
2009-08-11  Jérémie Laval  <jeremie.laval@gmail.com>

In build/common/:
   * Consts.cs.in: Add BOOTSTRAP_NET_4_0.

In class/corlib/System.Collections.Concurrent/:
   * ConcurrentQueue.cs:
   * IProducerConsumerCollection.cs: Add BOOTSTRAP_NET_4_0.

In class/corlib/System.Runtime.CompilerServices/:
   * TypeForwardedFromAttribute.cs: Add BOOTSTRAP_NET_4_0.

In class/corlib/System.Threading/:
   * Watch.cs:
   * SpinWait.cs:
   * CountdownEvent.cs:
   * CancellationToken.cs:
   * ICancelableOperation.cs:
   * CancellationTokenSource.cs:
   * CancellationTokenRegistration.cs: Add BOOTSTRAP_NET_4_0.

In class/corlib/System/:
   * Funcs.cs:
   * Action.cs:
   * AggregateException.cs: Add BOOTSTRAP_NET_4_0.

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

14 years ago* syntax.cs (BackslashNumber.ResolveReference): Improve ECMAScript semantics.
Raja R Harinath [Tue, 11 Aug 2009 19:11:26 +0000 (19:11 -0000)]
* syntax.cs (BackslashNumber.ResolveReference): Improve ECMAScript semantics.

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

14 years ago2009-08-11 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Tue, 11 Aug 2009 18:47:49 +0000 (18:47 -0000)]
2009-08-11  Jérémie Laval  <jeremie.laval@gmail.com>

    * Make Task.WaitAny use safest continuation mechanism rather than old hack

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

14 years ago2009-08-11 Jérémie Laval <jeremie.laval@gmail.com>
Jérémie Laval [Tue, 11 Aug 2009 18:47:31 +0000 (18:47 -0000)]
2009-08-11  Jérémie Laval  <jeremie.laval@gmail.com>

    * Update unit tests
    * Moved BlockingCollection and Barrier in System.dll (with assorted fixes)
    * Fix wrong signature in TaskFactory<T>
    * Update .dll.sources files
    * Move AggregateException in System namespace
    * Remove While in Parallel
    * Correct Wait(CancellationToken) signature in CountdownEvent
    * update corlib.dll.sources

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

14 years ago2009-08-11 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 11 Aug 2009 17:41:28 +0000 (17:41 -0000)]
2009-08-11  Ivan N. Zlatev  <contact@i-nz.net>

* SplitContainer.cs: Avoid updating the splitter distance if it hasn't
moved. Updating the distance was causing a re-layout which was resetting
the clicks counter and preventing DoubleClick from every firing.
[Fixes bug #521387]

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

14 years ago2009-08-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 11 Aug 2009 16:13:36 +0000 (16:13 -0000)]
2009-08-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DataGrid.cs: When a new TableStyle is added, don't create new
columns for it unless it is empty - this is the correct way to both
respect the columns if they were provided by our user, or create them
for him in case the column collection is empty.
Fixes #323111.

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

14 years ago2009-08-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 11 Aug 2009 15:09:11 +0000 (15:09 -0000)]
2009-08-11 Gonzalo Paniagua Javier <gonzalo@novell.com>

* DefaultWsdlHelpGenerator.aspx: the 'Message Layout' can now handle
self-referencing types. Fixes bug #529353.

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

14 years ago* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Blacklist more
Andrés G. Aragoneses [Tue, 11 Aug 2009 14:35:50 +0000 (14:35 -0000)]
* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Blacklist more
stuff.

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

14 years ago* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Blacklist our
Andrés G. Aragoneses [Tue, 11 Aug 2009 14:26:46 +0000 (14:26 -0000)]
* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Blacklist our
bridge.

* tuner/ChangeLog:

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

14 years agoTue Aug 11 14:38:57 CEST 2009 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 11 Aug 2009 12:40:27 +0000 (12:40 -0000)]
Tue Aug 11 14:38:57 CEST 2009 Paolo Molaro <lupus@ximian.com>

* metadata.c: more documentation for MonoType accessors.

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

14 years ago* sqlserver7.sql: Added script for SQL Server 7.0, with unicode
Gert Driesen [Tue, 11 Aug 2009 11:47:32 +0000 (11:47 -0000)]
* sqlserver7.sql: Added script for SQL Server 7.0, with unicode
encoding (as isql7 does not deal well with utf-8).

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

14 years ago2009-08-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 11 Aug 2009 11:27:42 +0000 (11:27 -0000)]
2009-08-11  Atsushi Enomoto  <atsushi@ximian.com>

* ClientBase.cs : (ChannelBase) now ClientRuntimeChannel demands an
  explicit address.

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

14 years ago2009-08-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 11 Aug 2009 11:08:13 +0000 (11:08 -0000)]
2009-08-11  Atsushi Enomoto  <atsushi@ximian.com>

* WebChannelFactory.cs : added missing constructors.

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

14 years agoNew test.
Marek Safar [Tue, 11 Aug 2009 10:19:48 +0000 (10:19 -0000)]
New test.

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

14 years ago2009-08-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 11 Aug 2009 10:19:13 +0000 (10:19 -0000)]
2009-08-11  Marek Safar  <marek.safar@gmail.com>

* generic.cs, lambda.cs, anonymous.cs, statement.cs, generic-mcs.cs,
codegen.cs: Finding the best common type of a set of expressions for
lambda statements.

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

14 years ago2009-08-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 11 Aug 2009 08:14:30 +0000 (08:14 -0000)]
2009-08-11  Atsushi Enomoto  <atsushi@ximian.com>

* IOperationInvoker.cs : fix interface.
* DefaultOperationInvoker.cs : refresh implementation of the above.
* BaseMessagesFormatter.cs, OperationInvokerHandler.cs :
  dependent changes for above.

* ServiceHostBase.cs : use new IOperationInvoker implementation.

* System.ServiceModel.dll.sources: add DefaultOperationInvoker.cs.

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

14 years ago2009-08-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 11 Aug 2009 07:20:13 +0000 (07:20 -0000)]
2009-08-11  Atsushi Enomoto  <atsushi@ximian.com>

* DataContractSerializerOperationBehavior.cs : add missing members.

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

14 years ago2009-08-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 11 Aug 2009 06:59:48 +0000 (06:59 -0000)]
2009-08-11  Atsushi Enomoto  <atsushi@ximian.com>

* MetadataExchangeClient.cs : add missing async methods.

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

14 years ago2009-08-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 11 Aug 2009 06:47:27 +0000 (06:47 -0000)]
2009-08-11  Atsushi Enomoto  <atsushi@ximian.com>

* MetadataResolver.cs : added remaining methods.
* MetadataExchangeClient.cs : a bit of required changes for above.

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

14 years ago2009-08-11 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 11 Aug 2009 06:45:58 +0000 (06:45 -0000)]
2009-08-11  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceDebugBehavior.cs, ServiceMetadataBehavior.cs :
  add Binding properties. Properties are now auto.
* ServiceMetadataExtension.cs : take Binding too to build dispatcher.

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

14 years agoFix incorrect size definitions where the tail array isn't a list of pointers
Raja R Harinath [Tue, 11 Aug 2009 06:30:39 +0000 (06:30 -0000)]
Fix incorrect size definitions where the tail array isn't a list of pointers

* class-internals.h (MONO_SIZEOF_MARSHAL_TYPE): Use offsetof to define size.
* domain-internals.h (MONO_SIZEOF_JIT_INFO): Likewise.
* metadata.h (MONO_SIZEOF_TYPE): Likewise.
* reflection.h (MONO_SIZEOF_CUSTOM_ATTR_INFO): Likewise.

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

14 years ago2009-08-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 11 Aug 2009 05:26:27 +0000 (05:26 -0000)]
2009-08-11 Gonzalo Paniagua Javier <gonzalo@novell.com>

* reflection.h:
* reflection.c: MONO_SIZEOF_CUSTOM_ATTR_INFO.

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

14 years ago2009-08-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 11 Aug 2009 05:18:54 +0000 (05:18 -0000)]
2009-08-11 Gonzalo Paniagua Javier <gonzalo@novell.com>

* metadata.c:
* loader.c:
* metadata-internals.h:
* method-builder.c:
* reflection.c: use MONO_SIZEOF_METHOD_HEADER.

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

14 years agoSIZEOF
Gonzalo Paniagua Javier [Tue, 11 Aug 2009 05:13:29 +0000 (05:13 -0000)]
SIZEOF

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

14 years ago2009-08-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 11 Aug 2009 05:13:11 +0000 (05:13 -0000)]
2009-08-11 Gonzalo Paniagua Javier <gonzalo@novell.com>

* cominterop.c:
* metadata.c:
* metadata.h:
* loader.c:
* marshal.c:
* reflection.c: #define for sizeof in MonoType and
MonoMethodSignature.

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

14 years ago2009-08-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 11 Aug 2009 04:49:15 +0000 (04:49 -0000)]
2009-08-11 Gonzalo Paniagua Javier <gonzalo@novell.com>

* metadata/domain.c:
* metadata/domain-internals.h:
* mini/exceptions-arm.c:
* mini/exceptions-hppa.c:
* mini/mini.c:
* mini/exceptions-s390x.c:
* mini/exceptions-mips.c:
* mini/exceptions-ppc.c:
* mini/exceptions-sparc.c:
* mini/exceptions-alpha.c:
* mini/aot-runtime.c:
* mini/mini-trampolines.c:
* mini/exceptions-x86.c:
* mini/exceptions-s390.c: add and use #define's instead of sizeof()
for MonoJitInfo and MonoJitInfoTable.

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

14 years ago2009-08-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Tue, 11 Aug 2009 04:31:25 +0000 (04:31 -0000)]
2009-08-11 Gonzalo Paniagua Javier <gonzalo@novell.com>

* object.c:
* class.h: use #define instead of sizeof() for MonoRemoteClass.

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

14 years ago2009-08-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 10 Aug 2009 21:58:39 +0000 (21:58 -0000)]
2009-08-10 Gonzalo Paniagua Javier <gonzalo@novell.com>

* metadata/metadata.c:
* metadata/metadata.h:
* metadata/object.c:
* metadata/class-internals.h:
* metadata/generic-sharing.c:
* metadata/marshal.c:
* mini/tramp-arm.c:
* mini/tramp-amd64.c:
* mini/tramp-ppc.c:
* mini/tramp-x86.c: use a #define instead of sizeof() for a few
structures that use a zero-length array.

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

14 years ago2009-08-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Mon, 10 Aug 2009 21:40:30 +0000 (21:40 -0000)]
2009-08-10 Gonzalo Paniagua Javier <gonzalo@novell.com>

* monobitset.h: add comment.

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

14 years agoVS does not support zero-length arrays
Gonzalo Paniagua Javier [Mon, 10 Aug 2009 19:55:57 +0000 (19:55 -0000)]
VS does not support zero-length arrays

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

14 years agoregexp backreferences: Implement fallback to octal numbers, and ECMAScript semantics.
Raja R Harinath [Mon, 10 Aug 2009 16:25:10 +0000 (16:25 -0000)]
regexp backreferences: Implement fallback to octal numbers, and ECMAScript semantics.

* syntax.cs (BackslashNumber.ResolveReference): Implement fallback
to octal numbers, and ECMAScript semantics.
* parser.cs (ResolveReferences): Use it.
* RegexMatchTests.cs (RegexTrial0054..60): New.

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

14 years agoDistinguish between the potentially ambiguous \nnn and the non-ambiguous \k<...>...
Raja R Harinath [Mon, 10 Aug 2009 16:24:45 +0000 (16:24 -0000)]
Distinguish between the potentially ambiguous \nnn and the non-ambiguous \k<...> back-references

* syntax.cs (BackslashNumber): New class.
* parser.cs (ParseSpecial): Create it instead of 'Reference' if a
numeric backreference is seen.

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

14 years agoRegex.IsMatch("abcab", @"(?<ab>ab)c\1")
Raja R Harinath [Mon, 10 Aug 2009 16:24:21 +0000 (16:24 -0000)]
Regex.IsMatch("abcab", @"(?<ab>ab)c\1")

* System.Text.RegularExpressions/parser.cs (ResolveReferences):
Allow named groups to be referred-to by their group numbers too.
* RegexMatchTests.cs (RegexTrial0053): New.

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

14 years ago* tuner/Mono.Tuner/MoonlightA11yProcessor.cs: Move FIXME to a better
Andrés G. Aragoneses [Mon, 10 Aug 2009 15:36:40 +0000 (15:36 -0000)]
* tuner/Mono.Tuner/MoonlightA11yProcessor.cs: Move FIXME to a better
place. Fix NRE.

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

14 years ago2009-08-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 10 Aug 2009 14:55:40 +0000 (14:55 -0000)]
2009-08-10  Atsushi Enomoto  <atsushi@ximian.com>

* MoonlightChannelBaseExtension.cs : fixed a couple of generated
  code to compile on .NET (not in mcs yet; some nested generics bug).

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

14 years ago2009-08-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 10 Aug 2009 14:34:55 +0000 (14:34 -0000)]
2009-08-10  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DataGrid.cs: Actually call BindColumns in the handler for
ListManager.MetaDataChanged, since the current code is already taking
into account the scenario when a custom table style is used - this was
confusing us before, and that's why we commented the call to
BindColumns. Also call CallAreasAndInvalidate, to properly reflect the
changes as needed.
Fixes #465021.

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

14 years ago * DataGridTest.cs: Don't use DataGrid.Rows.Add() for our latest test,
Carlos Alberto Cortez [Mon, 10 Aug 2009 14:33:00 +0000 (14:33 -0000)]
* DataGridTest.cs: Don't use DataGrid.Rows.Add() for our latest test,
since it is 2.0. Use DataGrid.NewRow() instead.

2009-08-10  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

14 years ago2009-08-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 10 Aug 2009 14:22:21 +0000 (14:22 -0000)]
2009-08-10  Atsushi Enomoto  <atsushi@ximian.com>

* Driver.cs, CommandLineOptions.cs : add moonlight proxy generator
  support.
* MoonlightChannelBaseExtension.cs : new, moonlight proxy generator.
  Implemented as I[Service|Operation]ContractGenerationExtension.
* svcutil.exe.sources : add above.

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

14 years ago2009-08-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 10 Aug 2009 13:30:34 +0000 (13:30 -0000)]
2009-08-10  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceContractGenerator.cs : removed ChannelBase proxy stuff,
  which will be moved to svcutil source.
  The targets for extension should be the interface, not the client
  class.

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

14 years ago2009-08-10 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 10 Aug 2009 13:12:58 +0000 (13:12 -0000)]
2009-08-10  Marek Safar <marek.safar@gmail.com>

* CSharpInvokeBinder.cs, CSharpGetMemberBinder.cs,
CSharpInvokeMemberBinder.cs: Defer fallback for now.

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

14 years ago2009-08-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 10 Aug 2009 11:38:23 +0000 (11:38 -0000)]
2009-08-10  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceContractGenerator.cs,
  OperationContractGenerationContext.cs : support extensions i.e.
  IServiceContractGenerationExtension and IOperation...(ditto) .

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

14 years ago2009-08-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 10 Aug 2009 08:04:55 +0000 (08:04 -0000)]
2009-08-10  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DataGridTest.cs: New test for the interaction between DataSource and
TableStyles.

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

14 years ago2009-08-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 10 Aug 2009 07:52:45 +0000 (07:52 -0000)]
2009-08-10  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DataGrid.cs: When setting the data source, if we have a user
provided table style available, force a complete bind in case the
column styles for that table style is empty.

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

14 years ago2009-08-10 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 10 Aug 2009 07:16:23 +0000 (07:16 -0000)]
2009-08-10  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceContractGenerator.cs : first step to add moonlight-based
  client proxy generator (it is not supported in 3.5. needs to be
  enabled by some hook, such as reflection-based hack).

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

14 years ago2009-08-09 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sun, 9 Aug 2009 16:01:18 +0000 (16:01 -0000)]
2009-08-09  Miguel de Icaza  <miguel@novell.com>

* ConsoleLogger.cs: Change the format of the error and warnings
strings to work when invoked inside Emacs by not rendering the
column if available, by using lowercase "error"/"warning" strings
instead of camelcased versions and to not have unnecessary padding.

2009-07-31  Ankit Jain  <jankit@novell.com>

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

14 years agoUpdate
Miguel de Icaza [Sun, 9 Aug 2009 15:42:31 +0000 (15:42 -0000)]
Update

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

14 years ago2009-08-09 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 9 Aug 2009 12:19:59 +0000 (12:19 -0000)]
2009-08-09  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridViewCell.cs: Handle null and DBNull values.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 8 Aug 2009 00:35:39 +0000 (00:35 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ContractDescription.cs : wcf & 2.1 is specially annoying land :(

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

14 years ago2009-08-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 7 Aug 2009 23:39:30 +0000 (23:39 -0000)]
2009-08-07 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs: Implement almost all methods required
to move to inherit from System.Type. The only missing methods
are Is(Array|Pointer|ByRef)Impl and GetElementType since the
runtime still generates weird instances for generics instances
of non-SRE types with SRE types as generic arguments.

2009-08-07 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClassTest.cs: Test for methods that must
throw.

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

14 years ago2009-08-07 Andrés G. Aragoneses <aaragoneses@novell.com>
Andrés G. Aragoneses [Fri, 7 Aug 2009 20:13:28 +0000 (20:13 -0000)]
2009-08-07  Andrés G. Aragoneses  <aaragoneses@novell.com>

        * tuner/Mono.Tuner/MoonlightA11yProcessor.cs: Don't use var.
        Remove debug spew.

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

14 years agooops, removed commented code
Andrés G. Aragoneses [Fri, 7 Aug 2009 20:08:30 +0000 (20:08 -0000)]
oops, removed commented code

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

14 years ago* tuner/Mono.Tuner/InjectSecurityAttributes.cs: Make an enum
Andrés G. Aragoneses [Fri, 7 Aug 2009 20:05:52 +0000 (20:05 -0000)]
* tuner/Mono.Tuner/InjectSecurityAttributes.cs: Make an enum
protected.

* tuner/Mono.Tuner/MoonlightA11yProcessor.cs: Prevent Type*Exceptions
because of badly placed SC attrib on methods.

* tuner/Mono.Tuner/MoonlightA11yDescriptorGenerator.cs: Typo in
comment.

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

14 years ago2009-08-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 7 Aug 2009 20:01:53 +0000 (20:01 -0000)]
2009-08-07 Rodrigo Kumpera  <rkumpera@novell.com>

* ListBindingHelper.cs: Fix the 1.0 build by making this type available
under that profile.

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

14 years ago2009-08-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 7 Aug 2009 19:28:02 +0000 (19:28 -0000)]
2009-08-07 Rodrigo Kumpera  <rkumpera@novell.com>

* DynamicMethodTest.cs: Add regression test for bug #529238.

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

14 years agohard code the authentication modules for monotouch
Jb Evain [Fri, 7 Aug 2009 19:27:22 +0000 (19:27 -0000)]
hard code the authentication modules for monotouch

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

14 years ago2009-08-07 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 7 Aug 2009 19:10:11 +0000 (19:10 -0000)]
2009-08-07  Rodrigo Kumpera  <rkumpera@novell.com>

* method-to-ir.c (mono_method_to_ir/CEE_CONSTRAINED_): Handle the
case when the method is dynamic. Fixes #529238.

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

14 years ago2009-08-07 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 7 Aug 2009 18:24:55 +0000 (18:24 -0000)]
2009-08-07  Ivan N. Zlatev  <contact@i-nz.net>

* CurrencyManager.cs: Remove duplicate code.

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

14 years ago2009-08-07 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 7 Aug 2009 18:24:25 +0000 (18:24 -0000)]
2009-08-07  Ivan N. Zlatev  <contact@i-nz.net>

* DataGridView.cs, DataGridViewCell.cs, DataGridViewColumn.cs:
Massive population performance boost. From seconds to ms.
[Fixes bug #528887]

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

14 years agoAdd missing files.
Zoltan Varga [Fri, 7 Aug 2009 15:14:25 +0000 (15:14 -0000)]
Add missing files.

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

14 years ago2009-08-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 7 Aug 2009 10:55:45 +0000 (10:55 -0000)]
2009-08-07  Marek Safar  <marek.safar@gmail.com>

* AppDomain.cs: IsHomogenous always returns true for now.

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

14 years agoNew tests.
Marek Safar [Fri, 7 Aug 2009 10:53:03 +0000 (10:53 -0000)]
New tests.

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

14 years ago2009-08-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 7 Aug 2009 10:51:18 +0000 (10:51 -0000)]
2009-08-07  Marek Safar  <marek.safar@gmail.com>

* dynamic.cs, expression.cs: More dynamic conversions.

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

14 years ago2009-08-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 7 Aug 2009 10:49:24 +0000 (10:49 -0000)]
2009-08-07  Marek Safar <marek.safar@gmail.com>

* CSharpInvokeBinder.cs, CSharpGetIndexBinder.cs, Extensions.cs,
CSharpArgumentInfo.cs, CSharpInvokeMemberBinder.cs,
CSharpSetIndexBinder.cs: Skip overhead arguments.

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

14 years ago2009-08-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 7 Aug 2009 10:44:50 +0000 (10:44 -0000)]
2009-08-07  Marek Safar  <marek.safar@gmail.com>

* Enumerable.cs (Skip): Optimized and fixed int.MaxValue overflow.

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

14 years agoWrong file name.
Marek Safar [Fri, 7 Aug 2009 08:54:13 +0000 (08:54 -0000)]
Wrong file name.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 08:26:53 +0000 (08:26 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* PeerDuplexChannel.cs : add fixme comment and remove extra FIXME.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:33:38 +0000 (06:33 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceRuntimeChannel.cs : change .ctor() args.
  Add proxy hook methods that simply calls those in callback
  ClientRuntimeChannel.

* InputOrReplyRequestProcessor.cs : now it could return an instance
  of dynamically generated proxy over DuplexServiceRuntimeChannel.

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

14 years ago2009-08-07 Astushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:31:22 +0000 (06:31 -0000)]
2009-08-07  Astushi Enomoto  <atsushi@ximian.com>

* System.ServiceModel.dll.sources: add ServiceProxyGenerator.cs.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:27:33 +0000 (06:27 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ContractDescriptionGenerator.cs : add new contract getter to
  create callback contract type (which does not demand
  ServiceContractAttribute).

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:25:58 +0000 (06:25 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceHostBase.cs : create callback runtime here, if required.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:24:08 +0000 (06:24 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntime.cs : oops, it should have been committed at a time.
  Change .ctor() args. Make some properties auto.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:21:50 +0000 (06:21 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : factory was not fully optional. Add
  contextChannel argument to make room for duplex callback channel.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:20:19 +0000 (06:20 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceEndpoint.cs, ContractDescription.cs : moved client runtime
  creator from former to latter.

* ClientProxyGenerator.cs : split client-specific code generation
  from those common to service callback generation.
* ServiceProxyGenerator.cs : new file, uses common basis above.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:12:21 +0000 (06:12 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* DispatchRuntime.cs : callback runtime is set later.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 06:07:14 +0000 (06:07 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* IPeerConnectorContract.cs : add callback contract.

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

14 years ago2009-08-06 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 7 Aug 2009 02:59:03 +0000 (02:59 -0000)]
2009-08-06  Miguel de Icaza  <miguel@novell.com>

* generic.cs: This loop was incorrect, it was increment ii, but
checking for `i'.  This was a change introduced to fix #327497,
now we fix #424012.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 02:47:01 +0000 (02:47 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* MessageHeader.cs : fill IsReferenceParameter.

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

14 years ago2009-08-06 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Fri, 7 Aug 2009 02:40:27 +0000 (02:40 -0000)]
2009-08-06  Miguel de Icaza  <miguel@novell.com>

* class.cs: Catch another case for cs0533 error, fixes #324782.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 02:30:33 +0000 (02:30 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ServiceRuntimeChannel.cs : created derived duplex type.

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

14 years ago2009-08-07 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 7 Aug 2009 02:29:12 +0000 (02:29 -0000)]
2009-08-07  Atsushi Enomoto  <atsushi@ximian.com>

* ClientRuntimeChannel.cs : close/abort channels.
  factory is optional now.

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

14 years ago2009-08-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 7 Aug 2009 01:58:29 +0000 (01:58 -0000)]
2009-08-06  Rodrigo Kumpera  <rkumpera@novell.com>

* object-internals.h (MonoReflectionMethodOnTypeBuilderInst): Add new fields
to handle inflated generic methods.

* appdomain.c: Bump corlib version.

* reflection.c (mono_image_get_method_on_inst_token): Handle generic method
instances.

* reflection.c (fixup_method): Same

* reflection.c (resolve_object): Same.

* reflection.c (inflate_method): Replace a g_assert_not_reached with a
g_error and a decent message.

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

14 years ago2009-08-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 7 Aug 2009 01:56:45 +0000 (01:56 -0000)]
2009-08-06 Rodrigo Kumpera  <rkumpera@novell.com>

* Environment.cs: Bump corlib version.

2009-08-06 Rodrigo Kumpera  <rkumpera@novell.com>

* MonoGenericClass.cs (InflateType): Add support to inflate
generic method arguments.

* MonoGenericClass.cs (GetMethod): Remove restriction
with generic methods.

2009-08-06 Rodrigo Kumpera  <rkumpera@novell.com>

* MethodOnTypeBuilderInstTest.cs: Add tests for
generic method instances over generic type instances.

2009-08-06 Rodrigo Kumpera  <rkumpera@novell.com>

* MethodBuilder.cs: Mark generic_params internal.

* MethodOnTypeBuilderInst.cs: Add fields to support
inflated generic methods. Implement generics related
methods.

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

14 years ago2009-08-06 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 7 Aug 2009 01:56:21 +0000 (01:56 -0000)]
2009-08-06 Rodrigo Kumpera  <rkumpera@novell.com>

* typemanager.cs (GetGenericArguments): SRE returns null for
generic methods on type builder instances if they are not generic
themselves. For example, for Foo<int>::Bar() it returns null, but
not for Foo<int>::Bar<>() or Foo<int>::Bar<double>().

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

14 years ago2009-08-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 6 Aug 2009 19:55:14 +0000 (19:55 -0000)]
2009-08-06  Zoltan Varga  <vargaz@gmail.com>

* *.*: Applied patch from Marcus Griep <marcus@griep.us>. Update
C5 to v.1.1.0.

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

14 years ago * mdoc.exe.sources: Add ../../build/common/Consts.cs to the build.
Jonathan Pryor [Thu, 6 Aug 2009 18:40:22 +0000 (18:40 -0000)]
* mdoc.exe.sources: Add ../../build/common/Consts.cs to the build.
* Mono.Documentation/mdoc.cs: mdoc version is Consts.MonoVersion, not
  some hard-coded, perpetually out-of-date version.

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

14 years ago2009-08-06 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 6 Aug 2009 18:14:23 +0000 (18:14 -0000)]
2009-08-06  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/BaseAssemblyResolver.cs:
Do not crash when the GAC folder can't be found.

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

14 years agoUpdated
Marek Safar [Thu, 6 Aug 2009 15:22:24 +0000 (15:22 -0000)]
Updated

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

14 years agoMissing eol-style
Marek Safar [Thu, 6 Aug 2009 15:18:16 +0000 (15:18 -0000)]
Missing eol-style

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

14 years agoChangeLog
Marek Safar [Thu, 6 Aug 2009 15:04:18 +0000 (15:04 -0000)]
ChangeLog

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

14 years agoGet the domain from the object because it could not yet be available globally.
Massimiliano Mantione [Thu, 6 Aug 2009 14:56:47 +0000 (14:56 -0000)]
Get the domain from the object because it could not yet be available globally.

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

14 years agoProfiler writer thread code cleanup.
Massimiliano Mantione [Thu, 6 Aug 2009 14:56:36 +0000 (14:56 -0000)]
Profiler writer thread code cleanup.

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

14 years ago2009-08-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 6 Aug 2009 14:51:39 +0000 (14:51 -0000)]
2009-08-04  Marek Safar  <marek.safar@gmail.com>

* Updated to r26623.

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

14 years agoAdd some 4.0 bits
Marek Safar [Thu, 6 Aug 2009 14:49:56 +0000 (14:49 -0000)]
Add some 4.0 bits

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