mono.git
13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

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

13 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

13 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

13 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

13 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

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

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

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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 years agoMove the general info into ns-...xml so monodoc can display it.
Zoltan Varga [Sat, 5 Jun 2010 19:01:26 +0000 (19:01 -0000)]
Move the general info into ns-...xml so monodoc can display it.

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

13 years agoReflect namespace changes.
Zoltan Varga [Sat, 5 Jun 2010 18:50:52 +0000 (18:50 -0000)]
Reflect namespace changes.

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

13 years agoReflect the namespace change.
Zoltan Varga [Sat, 5 Jun 2010 18:44:11 +0000 (18:44 -0000)]
Reflect the namespace change.

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

13 years ago2010-06-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 5 Jun 2010 18:42:41 +0000 (18:42 -0000)]
2010-06-05  Zoltan Varga  <vargaz@gmail.com>

* docs/Makefile (MONO_DIRS): Add Mono.Debugger.Soft.

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

13 years agoMove the documentation to Documentation/en.
Zoltan Varga [Sat, 5 Jun 2010 18:42:28 +0000 (18:42 -0000)]
Move the documentation to Documentation/en.

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

14 years ago2010-06-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jun 2010 09:50:43 +0000 (09:50 -0000)]
2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * sgen-los.c: Keep bitmaps on chunk usage in LOS sections to speed
        up freeing.

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

14 years ago2010-06-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jun 2010 09:45:31 +0000 (09:45 -0000)]
2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c, sgen-los.c: New LOS allocator that allocates large
        segments of memory at once, to reduce the number of mmap/munmap
        calls.

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

14 years ago2010-06-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jun 2010 08:47:48 +0000 (08:47 -0000)]
2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c, sgen-protocol.c, sgen-protocol.h: Protocol degraded
        allocations and distinguish between normal, degraded and pinned
        allocations.

2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * tools/sgen/sgen-grep-binprot.c: Updated for degraded and pinned
        allocations.

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

14 years ago2010-06-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jun 2010 08:29:32 +0000 (08:29 -0000)]
2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c, sgen-major-copying.c, sgen-marksweep.c: Make degraded
        allocations count toward major collections and trigger major
        collections from degraded allocations if appropriate.

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

14 years ago2010-06-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jun 2010 08:21:25 +0000 (08:21 -0000)]
2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * sgen-marksweep.c (ms_get_empty_block): Update heap boundaries.

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

14 years ago2010-06-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jun 2010 01:30:41 +0000 (01:30 -0000)]
2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Enable mark&sweep again.

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

14 years ago2010-06-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jun 2010 01:18:32 +0000 (01:18 -0000)]
2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c: Increase the maximum small object size to 8000 bytes.

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

14 years ago2010-06-05 Mark Probst <mark.probst@gmail.com>
Mark Probst [Sat, 5 Jun 2010 01:16:36 +0000 (01:16 -0000)]
2010-06-05  Mark Probst  <mark.probst@gmail.com>

        * sgen-gc.c, sgen-major-copying.c, sgen-marksweep.c: Have only one
        major heap allowance for minor collections, instead of two
        separate ones for small and large objects.  This reduces the
        number of major collections.

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

14 years ago2010-06-05 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 4 Jun 2010 22:47:30 +0000 (22:47 -0000)]
2010-06-05  Marek Habersack  <mhabersack@novell.com>

* PageRouteHandler.cs: implemented

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

* UrlRoutingModule.cs: 4.0 doesn't do the UrlRouting.axd magic, it
simply remaps the current handler to the one obtained from the
route.

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

* TemplateControlCompiler.cs: expression evaluation results are
wrapped in a Convert.ConvertTo* call or a typecast.

* RouteValueExpressionBuilder.cs: implemented

* RouteUrlExpressionBuilder.cs: added missing custom attributes

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

14 years agoWIP: page routing
Marek Habersack [Fri, 4 Jun 2010 22:47:15 +0000 (22:47 -0000)]
WIP: page routing

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

14 years ago 2010-05-29 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 4 Jun 2010 19:26:12 +0000 (19:26 -0000)]
2010-05-29  Marek Habersack  <mhabersack@novell.com>

     * mono-dl.c (mono_dl_build_path): modify the logic to try the
     use the passed name to build the path without suffix on the first
     run (handles situations like "somelib.so.1.0" ->
     "libsomelib.so.1.0") and, on subsequent run, append the platform
     suffix(es) (handles situations like "libsomething" ->
     "libsomething.so"). Fixes bugs #588143 and #610009

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

14 years ago2010-06-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 4 Jun 2010 17:40:42 +0000 (17:40 -0000)]
2010-06-04  Marek Safar  <marek.safar@gmail.com>

* convert.cs, typespec.cs, expression.cs: Start using array member
kind.

* import.cs, report.cs: Report better error message for runtime
reflection bugs.

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

14 years ago2010-06-04 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 4 Jun 2010 16:27:11 +0000 (16:27 -0000)]
2010-06-04  Jb Evain  <jbevain@novell.com>

* ConditionalWeakTable.cs: make sure we use positive indexes.

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

14 years ago2010-06-04 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 4 Jun 2010 16:14:35 +0000 (16:14 -0000)]
2010-06-04  Marek Habersack  <mhabersack@novell.com>

* icall.c (ves_icall_MonoType_GetEvent): be case insensitive is
the BFLAGS_IgnoreCase is raised

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

14 years ago2010-06-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 4 Jun 2010 15:26:35 +0000 (15:26 -0000)]
2010-06-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageFileTest.cs: New test case for Remove.

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

14 years ago2010-06-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 4 Jun 2010 15:26:27 +0000 (15:26 -0000)]
2010-06-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* IsolatedStorageFile.cs: In CheckOpen check that the directory for
the current storage is still valid, and throw an exception if needed.
Also, in the static Remove method call Directory.Delete only if the
directory exists, to avoid throwing an exception there.

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

14 years ago2010-06-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 4 Jun 2010 14:42:36 +0000 (14:42 -0000)]
2010-06-04  Zoltan Varga  <vargaz@gmail.com>

* dtest.cs dtest-app.cs: Add tests for StackFrame.GetVisibleVariables ().

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

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

* StackFrame.cs (GetVisibleVariables): New method to return the set of variables
visible at the current stack frame.

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

14 years agoupdate MEF to preview 9
Jb Evain [Fri, 4 Jun 2010 14:04:42 +0000 (14:04 -0000)]
update MEF to preview 9

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

14 years ago2010-06-04 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 4 Jun 2010 14:03:06 +0000 (14:03 -0000)]
2010-06-04  Jb Evain  <jbevain@novell.com>

* Exception.cs: add stub for SerializeObjectState.

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

14 years ago2010-06-04 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 4 Jun 2010 14:02:08 +0000 (14:02 -0000)]
2010-06-04  Jb Evain  <jbevain@novell.com>

* monotouch_System.Web.Services.dll.sources: add HttpEncoder from
System.Web. Fixes the build.

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