mono.git
14 years ago2010-06-15 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 15 Jun 2010 14:56:29 +0000 (14:56 -0000)]
2010-06-15  Zoltan Varga  <vargaz@gmail.com>

* *: Add testing infrastructure by moving the tests from mono/tests.

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

14 years agoNew tests.
Marek Safar [Tue, 15 Jun 2010 14:53:52 +0000 (14:53 -0000)]
New tests.

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

14 years ago * System/Convert.cs: Instead of manually checking for NaN, Infinity,
Jonathan Pryor [Tue, 15 Jun 2010 13:55:05 +0000 (13:55 -0000)]
* System/Convert.cs: Instead of manually checking for NaN, Infinity,
  etc., use `checked` expressions to generate OverflowExceptions.
  Ensure that OverflowExceptions are generated for needed types.
  Fixes #596339
* Test/System/ConvertTest.cs: Add tests for #596339.

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

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

A fix for bug #612146
* generic.cs: Don't use fixed array for inflated type parameter
interface constraints.

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

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

* ModuleBuilderTest.cs: Disable the TestGlobalMethods () test since it's been failing
for a long time.

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

14 years ago* xbuild/*/Microsoft.Common.targets (AssemblySearchPaths): Add
Ankit Jain [Tue, 15 Jun 2010 10:56:32 +0000 (10:56 -0000)]
* xbuild/*/Microsoft.Common.targets (AssemblySearchPaths): Add
$(ReferencePath) to the search paths. This can be used to add or
override assembly search paths.

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

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

* typespec.cs: ElementTypeSpec has to use its own ITypeDefinition.

* report.cs: Unwrap elements for related symbols reporting.

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

14 years agoFixes build
Marek Safar [Tue, 15 Jun 2010 10:08:45 +0000 (10:08 -0000)]
Fixes build

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

14 years ago2010-06-15 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 15 Jun 2010 09:15:26 +0000 (09:15 -0000)]
2010-06-15  Marek Safar  <marek.safar@gmail.com>

A fix for bug #612796
* cs-tokenizer.cs: Offset correctly keywords the first character
comparison.

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

14 years ago2010-06-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Jun 2010 08:43:10 +0000 (08:43 -0000)]
2010-06-15  Atsushi Enomoto  <atsushi@ximian.com>

* TcpReplyChannel.cs : accept TCP channel on ReceiveRequest(). This
  fixes standalone tcp-transport/sample[svc|cli]5.exe test in olive
  (but not TcpTransportBindingElementTest.SimpleDuplexStreamed.)

* TcpTransportBindingElementTest.cs : add connection tests (imported
  from standalone olive tests), one is disabled for breakage.

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

14 years agoNew test
Marek Safar [Tue, 15 Jun 2010 07:57:26 +0000 (07:57 -0000)]
New test

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

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

A fix for bug #613397
* expression.cs: Removed too aggressive object initializers
optimization.

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

14 years agoRemoved extra cast
Marek Safar [Tue, 15 Jun 2010 07:47:32 +0000 (07:47 -0000)]
Removed extra cast

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

14 years agoflush comments
Marek Safar [Tue, 15 Jun 2010 07:25:46 +0000 (07:25 -0000)]
flush comments

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

14 years agoImported accessors cannot have type parameters.
Marek Safar [Tue, 15 Jun 2010 07:15:58 +0000 (07:15 -0000)]
Imported accessors cannot have type parameters.

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

14 years agoUpdated.
Marek Safar [Tue, 15 Jun 2010 07:09:56 +0000 (07:09 -0000)]
Updated.

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

14 years agoNew test.
Marek Safar [Tue, 15 Jun 2010 07:09:33 +0000 (07:09 -0000)]
New test.

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

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

* parameter.cs, property.cs, membercache.cs, decl.cs, iterators.cs,
anonymous.cs, expression.cs, support.cs, method.cs, pending.cs,
class.cs, cs-parser.jay: Simplify parsing of accessors by removing
any intermediate steps and fake nodes, also saves few MBs of memory.

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

14 years ago2010-05-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 15 Jun 2010 05:45:38 +0000 (05:45 -0000)]
2010-05-28  Atsushi Enomoto  <atsushi@ximian.com>

* TcpBinaryFrameManager.cs : lock read and write respectively.
  Finally fixed bug #567672 ('IsOneWay=false' case).

* CallbackBehaviorAttributeTest.cs : added test for bug #567672
  ('IsOneWay=false' case).

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

14 years ago2010-06-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 15 Jun 2010 01:11:02 +0000 (01:11 -0000)]
2010-06-15  Marek Habersack  <mhabersack@novell.com>

* ResourceExpressionBuilder.cs: cast the return value of
GetLocalResourceObject to appropriate type. Fixes bug #607766

* TemplateControlCompiler.cs: made CreateConvertToCall internal
static, so that it can be used from ResourceExpressionBuilder

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

14 years ago2010-06-15 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Mon, 14 Jun 2010 23:25:07 +0000 (23:25 -0000)]
2010-06-15  Marek Habersack  <mhabersack@novell.com>

* WebUIValidation_2.0.js: fail gracefully if control to validate
is not found (webForm.ValidatorGetValue and
webForm.Page_ClientValidate). Fixes bug #609478

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

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

* method-to-ir.c (mono_method_to_ir): Add support for .ctor intrinsics.

* method-to-ir.c (mini_emit_inst_for_ctor): New function for .ctor intrinsics.
For now just call simd intrinsics. This makes "x[0] = new Vector4f (10)"
translate into much nicer code.

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

14 years agooops
Geoff Norton [Mon, 14 Jun 2010 19:31:02 +0000 (19:31 -0000)]
oops

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

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

* mini-llvm.c (sig_to_llvm_sig_full): Add a 'sinfo' out argument which returns
parameter index information. Use this to simplify a lot of code.

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

14 years ago2010-06-14 Geoff Norton <gnorton@novell.com>
Geoff Norton [Mon, 14 Jun 2010 17:39:53 +0000 (17:39 -0000)]
2010-06-14  Geoff Norton  <gnorton@novell.com>

* dyn_load.c: Fix one other place where l_addr could be null on
bionic.

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

14 years agofirst pass at adding RegexOption.Compiled to constructor in tests
C.J. Adams-Collier [Mon, 14 Jun 2010 17:36:45 +0000 (17:36 -0000)]
first pass at adding RegexOption.Compiled to constructor in tests

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

14 years agoadded some noise to the gitignore filter
C.J. Adams-Collier [Mon, 14 Jun 2010 17:36:25 +0000 (17:36 -0000)]
added some noise to the gitignore filter

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

14 years ago2010-06-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 14 Jun 2010 17:23:38 +0000 (17:23 -0000)]
2010-06-16  Sebastien Pouliot  <sebastien@ximian.com>

* certmgr.cs: Fix case where DSA is used in SSL certificate (rare
enough that this was never found/reported). Suggest novell's
bugzilla (instead of ximian)

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

14 years ago * Makefile.am (EXTRA_DIST): Add runtime.h.
Jonathan Pryor [Mon, 14 Jun 2010 14:59:57 +0000 (14:59 -0000)]
* Makefile.am (EXTRA_DIST): Add runtime.h.

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

14 years ago2010-06-14 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 14 Jun 2010 14:39:47 +0000 (14:39 -0000)]
2010-06-14  Zoltan Varga  <vargaz@gmail.com>

* unwind.c (mono_unwind_decode_fde): Handle augmentions using a loop.

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

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

* object.c (build_imt_slots): Don't crash if callbacks.get_imt_trampoline is not set.

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

14 years ago2010-06-14 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 14 Jun 2010 12:31:41 +0000 (12:31 -0000)]
2010-06-14  Sebastien Pouliot  <sebastien@ximian.com>

* Consts.cs.in: Track latest SL4 release

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

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

* NetTcpBinding.cs : remove pointless EnvelopeVersion field.
* ClientRuntimeChannel.cs : disable MessageId output. It does not
  happen on TCP transport. Added FIXME comment to verify this.

  This fix makes non-first-time calls from mono client working.

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

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

* OperationInvokerHandler.cs, MessageProcessingContext.cs :
  ChannelDispatcher may be null, so check its availability before
  using it. Don't use it, when possible.
* DispatchOperation.cs : remove unused member.

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

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

* XmlDocument.cs : do not create XmlSchemaInfo instance every time
  it validates a node.

* XmlSchemaValidator.cs : limit validity initialization. In some
  cases it failed to set Invalid.

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

14 years ago2010-06-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 14 Jun 2010 06:55:54 +0000 (06:55 -0000)]
2010-06-14  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaValidator.cs : fill Validity. Fixed bug #613682.

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

14 years agoFix bug #612191, patch by Carlos Martin.
Atsushi Eno [Mon, 14 Jun 2010 06:20:36 +0000 (06:20 -0000)]
Fix bug #612191, patch by Carlos Martin.

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

14 years ago2010-05-13 Geoff Norton <gnorton@novell.com>
Geoff Norton [Sun, 13 Jun 2010 21:59:48 +0000 (21:59 -0000)]
2010-05-13  Geoff Norton  <gnorton@novell.com>

* fakepoll.h: Added for OSX
* serial.c:
* signal.c: poll on OSX is broken, so we use a select based
implementation instead.

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

14 years agoFix some warnings.
Zoltan Varga [Sun, 13 Jun 2010 04:00:43 +0000 (04:00 -0000)]
Fix some warnings.

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

14 years ago2010-06-12 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 12 Jun 2010 18:16:14 +0000 (18:16 -0000)]
2010-06-12  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (compile_method): Add a 'depth' parameter to add_generic_class too
to fix infinite generic recursion. Fixes #612702.

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

14 years ago2010-06-11 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Sat, 12 Jun 2010 01:07:30 +0000 (01:07 -0000)]
2010-06-11 Jonathan Chambers  <joncham@gmail.com>

* X509Certificate2Collection.cs: Add {} around default switch case.
* HttpListenerRequest.cs: Assign default value to variable before using.

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

14 years ago2010-06-10 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 Jun 2010 21:18:35 +0000 (21:18 -0000)]
2010-06-10  Jonathan Chambers  <joncham@gmail.com>

* Add System.Security.csproj and new configurations for Mono.Security and System.

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

14 years agoFix msvc build.
Jonathan Pobst [Fri, 11 Jun 2010 21:13:40 +0000 (21:13 -0000)]
Fix msvc build.

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

14 years ago2010-06-10 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 Jun 2010 19:43:11 +0000 (19:43 -0000)]
2010-06-10  Jonathan Chambers  <joncham@gmail.com>

* Fix jay steps in System.Xml

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

14 years ago2010-06-10 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 11 Jun 2010 17:17:16 +0000 (17:17 -0000)]
2010-06-10 Jonathan Chambers  <joncham@gmail.com>

       * Add start of building net_2_0 profile to MSBuild based build.

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

14 years ago * Monodoc/ecma-provider.cs: Reduce memory requirements when assembling
Jonathan Pryor [Fri, 11 Jun 2010 15:14:36 +0000 (15:14 -0000)]
* Monodoc/ecma-provider.cs: Reduce memory requirements when assembling
  ECMA documentation.  The problem was that we parse all the XML files
  in order to extract //summary and //remarks members, and then stored
  the XmlNodes for these members.  XmlNode keeps a ref to the creating
  XmlDocument, thus keeping the XmlNode around requires keeping the
  entire XmlDocument around; result: ~350+MB RAM is needed to assemble
  netdocs.zip (in ../../docs).  To fix, import the XmlNodes that we
  actually care about into an otherwise empty XmlDocument, so that we
  only save the nodes we need. Result: ~32MB RAM is needed.
  Fixes #602560.

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

14 years ago2010-06-11 Pete Johanson <peter@peterjohanson.com>
Pete Johanson [Fri, 11 Jun 2010 14:54:28 +0000 (14:54 -0000)]
2010-06-11  Pete Johanson  <peter@peterjohanson.com>

        * Makefile: Don't use the mono key for signing.
        * Assembly/AssemblyInfo.cs: Use the ECMA key for signing.

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

14 years ago2010-06-11 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 11 Jun 2010 14:01:20 +0000 (14:01 -0000)]
2010-06-11  Marek Safar  <marek.safar@gmail.com>

* modifiers.cs, rootcontext.cs, location.cs, cs-parser.jay: More
precise modifiers parsing.

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

14 years ago2010-06-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 11 Jun 2010 00:43:45 +0000 (00:43 -0000)]
2010-06-11  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_method_add_generic_virtual_invocation): Fix the computation of the
IMT slot which is passed to callbacks.get_imt_trampoline.

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

14 years ago2010-06-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 10 Jun 2010 22:28:52 +0000 (22:28 -0000)]
2010-06-11  Zoltan Varga  <vargaz@gmail.com>

* object.c: Use a callback to create IMT trampolines, allowing the usage of one
imt trampoline per imt slot when using LLVM.

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

14 years ago2010-06-11 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 10 Jun 2010 22:28:46 +0000 (22:28 -0000)]
2010-06-11  Zoltan Varga  <vargaz@gmail.com>

* object.c: Use a callback to create IMT trampolines, allowing the usage of one
imt trampoline per imt slot when using LLVM.

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

14 years ago * mini/mini.c (mini_cleanup): Call mono_runtime_shutdown().
Jonathan Pryor [Thu, 10 Jun 2010 21:01:08 +0000 (21:01 -0000)]
* mini/mini.c (mini_cleanup): Call mono_runtime_shutdown().
  Fixes #438454.
* metdata/object.c (mono_runtime_run_main): Move
  fire_process_exit_event() into runtime.c:mono_runtime_shutdown().
* metdata/runtime.c: Added; adds mono_runtime_shutdown(), which invokes
  the AppDomain.ProcessExit event in all AppDomains.
* tests/Makefile.am: Add test-process-exit target.
* tests/bug-438454.cs: Added; test case for #438454.
* tests/bug-438454.exe.stdout.expected: Added; expected output when
  executing bug-438454.exe, to test the ordering of the
  AppDomain.ProcessExit event wrt ThreadPool disposal.

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

14 years agoFixes build.
Marek Safar [Thu, 10 Jun 2010 18:37:08 +0000 (18:37 -0000)]
Fixes build.

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

14 years agoFix date. oops.
Jonathan Pryor [Thu, 10 Jun 2010 15:09:38 +0000 (15:09 -0000)]
Fix date.  oops.

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

14 years ago * Mono.Documentation/monodocs2html.cs: Regenerate all index.{opts.ext}
Jonathan Pryor [Thu, 10 Jun 2010 15:08:35 +0000 (15:08 -0000)]
* Mono.Documentation/monodocs2html.cs: Regenerate all index.{opts.ext}
  files if any of the source .xml files have changed.  This allows
  new <summary/> values to be inserted into the index.{opts.ext}
  files, instead of the index files being "stale".  Fixes #573121.

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

14 years agoClear unloaded types on appdomain unload.
Zoltan Varga [Thu, 10 Jun 2010 03:13:18 +0000 (03:13 -0000)]
Clear unloaded types on appdomain unload.

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

14 years agoRemove debugging code.
Jonathan Pryor [Wed, 9 Jun 2010 20:40:40 +0000 (20:40 -0000)]
Remove debugging code.

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

14 years ago * Options.cs: Remove use of 'var' so that C# 2.0 can be used.
Jonathan Pryor [Wed, 9 Jun 2010 20:38:44 +0000 (20:38 -0000)]
* Options.cs: Remove use of 'var' so that C# 2.0 can be used.

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

14 years ago * Mono.Options_test.dll.sources: Add additional sources.
Jonathan Pryor [Wed, 9 Jun 2010 20:28:01 +0000 (20:28 -0000)]
* Mono.Options_test.dll.sources: Add additional sources.
* Mono.Options/Options.cs: Fix RemoveItem() and SetItem() so that
  removing by index and using the numeric indexer work as expected.
* Test/Mono.Options/OptionSetTest.cs: Make OptionSetTest inherit from
  ListContract so that the IList<T> and ICollection<T> interfaces are
  fully tested.
* Test/Mono.Options/BaseRocksFixture.cs,
  Test/Mono.Options/CollectionContract.cs,
  Test/Mono.Options/ListContract.cs: Added; interface contract tests
  from Cadenza.

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

14 years ago * System.Collections.ObjectModel/KeyedCollection.cs: Make
Jonathan Pryor [Wed, 9 Jun 2010 20:19:58 +0000 (20:19 -0000)]
* System.Collections.ObjectModel/KeyedCollection.cs: Make
  KeyedCollection.InsertItem() exception safe, so that if the index is
  invalid (negative or too large) we don't add the entry to the
  underlying Dictionary.
* Test/System.Collections.ObjectModel/KeyedCollectionTest.cs: Verify
  exception safety of Insert().

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

14 years agoUpdated.
Marek Safar [Wed, 9 Jun 2010 19:12:35 +0000 (19:12 -0000)]
Updated.

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

14 years ago2010-06-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 9 Jun 2010 19:03:25 +0000 (19:03 -0000)]
2010-06-09  Marek Safar  <marek.safar@gmail.com>

* cs-tokenizer.cs, anonymous.cs, expression.cs, cs-parser.jay:
Fixed few shift/reduce conflicts.

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

14 years agoFixed more missing locations
Marek Safar [Wed, 9 Jun 2010 12:40:17 +0000 (12:40 -0000)]
Fixed more missing locations

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

14 years agoMore locations missing
Marek Safar [Wed, 9 Jun 2010 12:40:05 +0000 (12:40 -0000)]
More locations missing

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

14 years ago2010-06-09 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 9 Jun 2010 10:43:06 +0000 (10:43 -0000)]
2010-06-09  Marek Safar  <marek.safar@gmail.com>

* typemanager.cs, parameter.cs, dynamic.cs, typespec.cs,
expression.cs, ecore.cs, cs-parser.jay: Fully parse composed type
specifiers and stop using string in AST.

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

14 years agoFixes build.
Marek Safar [Wed, 9 Jun 2010 08:58:39 +0000 (08:58 -0000)]
Fixes build.

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

14 years agofixes build
Marek Safar [Wed, 9 Jun 2010 08:56:51 +0000 (08:56 -0000)]
fixes build

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

14 years ago2010-06-08 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 9 Jun 2010 03:32:14 +0000 (03:32 -0000)]
2010-06-08 Jonathan Chambers  <joncham@gmail.com>

* Add gacutil and sn to basic profile build.

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

14 years ago2010-06-08 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Wed, 9 Jun 2010 02:41:00 +0000 (02:41 -0000)]
2010-06-08 Jonathan Chambers  <joncham@gmail.com>

* Build jay and run before gmcs and System.Xml. The basic profile should build now.

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

14 years ago* ToolTask.cs: Don't check for tool's existence, as we might
Ankit Jain [Tue, 8 Jun 2010 20:20:19 +0000 (20:20 -0000)]
* ToolTask.cs: Don't check for tool's existence, as we might
not have the full path.

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

14 years ago2010-06-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 8 Jun 2010 17:04:16 +0000 (17:04 -0000)]
2010-06-08  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageFile.cs: Ugh, accidentally forgot to commit the changes for
in the previous commit.

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

14 years ago * Mono.Options/Options.cs: Don't overly split option values, only split
Jonathan Pryor [Tue, 8 Jun 2010 17:01:47 +0000 (17:01 -0000)]
* Mono.Options/Options.cs: Don't overly split option values, only split
  to obtain the maximum number of desired values.  This better supports
  e.g. DOS paths in multi-value values, e.g. '-DPATH=C:\tmp' would now
  create the values {"PATH", "C:\tmp"} instead of {"PATH", "C", "\tmp"}.
* Test/Mono.Options/OptionSetTest.cs: Add tests for constrained value
  splitting.

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

14 years ago * System/String.cs: Fix String.Split(String[],int,StringSplitOptions)
Jonathan Pryor [Tue, 8 Jun 2010 15:26:10 +0000 (15:26 -0000)]
* System/String.cs: Fix String.Split(String[],int,StringSplitOptions)
  so that:
  - it properly obeys the 'count' parameter; Fixes #601772.
  - "...".Split(new[]{"."}, 2, StringSplitOptions.RemoveEmptyEntries).Length==0
  - "A..".Split (new String[] { "." }, 2, StringSplitOptions.RemoveEmptyEntries) == new[]{"A"}
  - Remove duplicative array handling code by using List<String>.
* Test/System/StringTest.cs: Add tests for #601772 (i.e. take
  SplitStringChars(), change all the chars to Strings, and things
  should work).

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

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

* liveness.c (visit_bb): Make the component vregs of long vars volatile as well.
Fixes #612206.

* exceptions.cs: Add a test.

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

14 years agoFixed more wrong locations.
Marek Safar [Tue, 8 Jun 2010 15:05:44 +0000 (15:05 -0000)]
Fixed more wrong locations.

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

14 years agoRemoved unused class
Marek Safar [Tue, 8 Jun 2010 14:36:56 +0000 (14:36 -0000)]
Removed unused class

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

14 years ago2010-06-07 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Tue, 8 Jun 2010 03:12:52 +0000 (03:12 -0000)]
2010-06-07 Jonathan Chambers  <joncham@gmail.com>

* Copy *.dll.sources to *.dll.msbuild.sources during build to change '/' to '\' for Windows.

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

14 years ago * IsolatedStorageFileTest.cs: New test for GetUserStoreForSite.
Carlos Alberto Cortez [Tue, 8 Jun 2010 00:00:34 +0000 (00:00 -0000)]
* IsolatedStorageFileTest.cs: New test for GetUserStoreForSite.

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

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

14 years ago * IsolatedStorageFile.cs: GetUserStoreForSite is only throwing a
Carlos Alberto Cortez [Mon, 7 Jun 2010 23:59:34 +0000 (23:59 -0000)]
* IsolatedStorageFile.cs: GetUserStoreForSite is only throwing a
NotSupportedException.
* IsolatedStorageFileStream.cs: Implement Flush by calling the base impl.

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

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

14 years ago2010-06-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 7 Jun 2010 18:59:55 +0000 (18:59 -0000)]
2010-06-07  Marek Safar  <marek.safar@gmail.com>

* typemanager.cs, eval.cs, iterators.cs, anonymous.cs, expression.cs
method.cs, class.cs, delegate.cs, cs-parser.jay, driver.cs, visit.cs
enum.cs: Hold location of predefined types.

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

14 years ago * IsolatedStorageFileTest.cs: New test for DeleteFile.
Carlos Alberto Cortez [Mon, 7 Jun 2010 17:46:29 +0000 (17:46 -0000)]
* IsolatedStorageFileTest.cs: New test for DeleteFile.

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

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

14 years ago * IsolatedStorageFile.cs: Remove and DeleteFile must report any
Carlos Alberto Cortez [Mon, 7 Jun 2010 17:45:40 +0000 (17:45 -0000)]
* IsolatedStorageFile.cs: Remove and DeleteFile must report any
error found in our System.IO classes as IsolatedStorageException.

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

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

14 years ago2010-06-07 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Mon, 7 Jun 2010 16:39:50 +0000 (16:39 -0000)]
2010-06-07 Jonathan Chambers  <joncham@gmail.com>

* Add start of MSBuild based build.

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

14 years ago2010-06-07 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Mon, 7 Jun 2010 16:39:11 +0000 (16:39 -0000)]
2010-06-07 Jonathan Chambers  <joncham@gmail.com>

* Add start of MSBuild based build.

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

14 years ago2010-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 7 Jun 2010 15:01:11 +0000 (15:01 -0000)]
2010-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageFileTest.cs: Update our tests to catch/report the new
exceptions fired in 4.0, as well as a new test to assert that
GetDirectoryNames fires an ArgumentException if '..' is passed as part
of the path.

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

14 years ago2010-06-07 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 7 Jun 2010 15:01:00 +0000 (15:01 -0000)]
2010-06-07  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageFile.cs: Update the exceptions we are firing in 4.0
for CreateDirectory, GetFileNames and GetDirectoryNames.

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

14 years agoFix completion results.
Marek Safar [Mon, 7 Jun 2010 09:05:27 +0000 (09:05 -0000)]
Fix completion results.

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

14 years agoNew test.
Marek Safar [Mon, 7 Jun 2010 08:36:17 +0000 (08:36 -0000)]
New test.

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

14 years ago2010-06-07 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 7 Jun 2010 08:35:01 +0000 (08:35 -0000)]
2010-06-07  Marek Safar  <marek.safar@gmail.com>

A fix for bug #610878
* pending.cs: Clone cached list before modifying.

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

14 years ago2010-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 Jun 2010 20:59:33 +0000 (20:59 -0000)]
2010-06-06  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_check_method_supported): Only disable llvm for nested clauses.

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

14 years ago2010-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 Jun 2010 20:48:14 +0000 (20:48 -0000)]
2010-06-06  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_method_compile): Move the LLVM checks to a function in mini-llvm.c.

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

14 years ago2010-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 Jun 2010 20:35:26 +0000 (20:35 -0000)]
2010-06-06  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_runtime_invoke): Don't set *exc to NULL, it is now
done by the caller.

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

14 years ago2010-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 Jun 2010 20:35:20 +0000 (20:35 -0000)]
2010-06-06  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mono_jit_runtime_invoke): Initialize *exc to NULL before calling the wrapper,
so it doesn't have to do it.

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

14 years ago2010-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 6 Jun 2010 18:29:18 +0000 (18:29 -0000)]
2010-06-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageSecurityState.cs: Make our .ctor internal - so we
don't expose a public .ctor at all.

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

14 years ago2010-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 6 Jun 2010 18:22:51 +0000 (18:22 -0000)]
2010-06-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageFileTest.cs: Include check for paths outside our
storage root in our tests for MoveFile, MoveDirectory and CopyFile.

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

14 years ago2010-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 6 Jun 2010 18:21:35 +0000 (18:21 -0000)]
2010-06-06  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageFile.cs: Our 4.0 methods receiving a path should
either return false or throw an IsolatedStorageException if the path
refers to a directory outside the storage root.

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

14 years ago2010-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 Jun 2010 00:48:58 +0000 (00:48 -0000)]
2010-06-06  Zoltan Varga  <vargaz@gmail.com>

* helpers.c (mono_disassemble_code): Flush stdout, so the output from the spawned
process does not mix with ours.

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

14 years ago2010-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 Jun 2010 00:44:27 +0000 (00:44 -0000)]
2010-06-06  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Refactor this giant function into smaller
ones.

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

14 years ago2010-06-06 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 6 Jun 2010 00:05:10 +0000 (00:05 -0000)]
2010-06-06  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c method-to-ir.c ir-emit.h: When using the llvm mono branch, allow
loads/stores which can throw exceptions inside clauses.

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

14 years ago2010-06-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jun 2010 20:33:49 +0000 (20:33 -0000)]
2010-06-05  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (mono_llvm_emit_method): Fix support for finally clauses with more than
one ENDFINALLY.

* mini.c (mini_init): Register mono_resume_unwind as an icall.

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