mono.git
13 years ago2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 5 Jul 2010 17:29:24 +0000 (17:29 -0000)]
2010-07-05  Atsushi Enomoto  <atsushi@ximian.com>

* ChannelDispatcher.cs :
  moved IChannelDispatcherBoundListener from HttpChannelListener.cs.

* SvcHttpHandler.cs : removed old code and #if blocks.

* HttpStandaloneReplyChannel.cs
  HttpStandaloneRequestContext.cs
  HttpStandaloneChannelListener.cs
  HttpReplyChannel.cs
  HttpRequestContext.cs
  HttpChannelListener.cs : renamed former 3 files to latter 3 files.

* System.ServiceModel.dll.sources :
  renamed new HTTP channel listener implementation sources, and
  removed old sources.

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

13 years agoNew test.
Marek Safar [Mon, 5 Jul 2010 17:29:06 +0000 (17:29 -0000)]
New test.

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

13 years ago2010-07-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 5 Jul 2010 17:28:32 +0000 (17:28 -0000)]
2010-07-05  Marek Safar  <marek.safar@gmail.com>

* context.cs, expression.cs, ecore.cs: BaseThis is fully based on
this expression (Fixes #619904).

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

13 years agoDocument MONO_GC_DEBUG
Miguel de Icaza [Mon, 5 Jul 2010 17:08:18 +0000 (17:08 -0000)]
Document MONO_GC_DEBUG

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

13 years ago2010-07-05 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 5 Jul 2010 16:58:13 +0000 (16:58 -0000)]
2010-07-05  Jb Evain  <jbevain@novell.com>

* TypeTest.cs: prefixed TypedReference with global:: to
remove confusion with the test suite namespace.

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

13 years agoMore tests.
Marek Safar [Mon, 5 Jul 2010 14:49:00 +0000 (14:49 -0000)]
More tests.

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

13 years ago2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 5 Jul 2010 14:48:32 +0000 (14:48 -0000)]
2010-07-05  Atsushi Enomoto  <atsushi@ximian.com>

* HttpStandaloneReplyChannel.cs, HttpChannelListenerEntry.cs,
  HttpContextInfo.cs, HttpListenerManager.cs,
  HttpStandaloneRequestContext.cs, HttpListenerManagerTable.cs:
  Fixed wsdl support in the new codebase, so enabled it again, and
  made significant changes for ASP.NET integration. Now ASP.NET
  implementation switched to the new one.

* SvcHttpHandler.cs : add required code for new ASP.NET HTTP stack.
  Support for new and old stack (both) are temporarily enabled.
* HttpTransportBindingElement.cs : switch to new ASP.NET stack.

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

13 years ago2010-07-05 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 5 Jul 2010 14:47:35 +0000 (14:47 -0000)]
2010-07-05  Marek Safar  <marek.safar@gmail.com>

* membercache.cs, class.cs: Don't use base member to check for
property or indexer base implementation.

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

13 years agoAdd mono_debugger_get_thread_abort_signal() helper function.
Martin Baulig [Mon, 5 Jul 2010 14:35:02 +0000 (14:35 -0000)]
Add mono_debugger_get_thread_abort_signal() helper function.
2010-06-07  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.c (mono_debugger_get_thread_abort_signal):
New helper function since mono_thread_get_abort_signal() is now
internal.

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

13 years agoKill glib dependencies from debug-mono.h and debug-mono-symfile.h.
Martin Baulig [Mon, 5 Jul 2010 14:34:53 +0000 (14:34 -0000)]
Kill glib dependencies from debug-mono.h and debug-mono-symfile.h.
2010-06-07  Martin Baulig  <martin@ximian.com>

* mono-debug.h, debug-mono-symfile.h: Kill glib dependencies.

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

13 years agoNew tests.
Marek Safar [Mon, 5 Jul 2010 14:24:16 +0000 (14:24 -0000)]
New tests.

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

13 years agoApply r159782 from the mono-2-6-branch.
Martin Baulig [Mon, 5 Jul 2010 14:06:09 +0000 (14:06 -0000)]
Apply r159782 from the mono-2-6-branch.
2010-07-05  Martin Baulig  <martin@ximian.com>

* exceptions-x86.c (mono_arch_handle_exception): Port this to
Windows; apply my patch from r159782 in the mono-2-6 branch.

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

13 years agoAdd missing Clone
Marek Safar [Mon, 5 Jul 2010 12:44:56 +0000 (12:44 -0000)]
Add missing Clone

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

13 years ago2010-07-05 Rolf Bjarne Kvinge <RKvinge@novell.com>
Rolf Bjarne Kvinge [Mon, 5 Jul 2010 12:01:21 +0000 (12:01 -0000)]
2010-07-05  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* AssemblyInfo.cs: Re-remove [StringFreezing], [DefaultDependency] and
[InternalsVisibleTo] from NET_2_1 builds.

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

13 years agoIn .:
Rolf Bjarne Kvinge [Mon, 5 Jul 2010 10:50:44 +0000 (10:50 -0000)]
In .:
2010-07-05  Rolf Bjarne Kvinge  <RKvinge@novell.com>

* configure.in: Restore the AM_CONDITIONAL debugger supported, we need it to
include/exclude assembler files from the build in the makefile.

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

* Makefile.am: Don't build the debug assembler files if we're building without
debugger support.

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

13 years ago2010-07-05 Dick Porter <dporter@codicesoftware.com>
Dick Porter [Mon, 5 Jul 2010 10:38:25 +0000 (10:38 -0000)]
2010-07-05  Dick Porter  <dporter@codicesoftware.com>

* MenuAPI.cs: Only handle mnemonic key shortcuts when the context
menu is visible.  Fixes bug 616739.

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

13 years agoMore tests.
Marek Safar [Mon, 5 Jul 2010 09:43:44 +0000 (09:43 -0000)]
More tests.

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

13 years ago2010-07-05 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 5 Jul 2010 09:31:51 +0000 (09:31 -0000)]
2010-07-05  Atsushi Enomoto  <atsushi@ximian.com>

* HttpStandaloneReplyChannel.cs
  HttpContextInfo.cs
  HttpListenerManager.cs
  HttpStandaloneRequestContext.cs
  HttpListenerManagerTable.cs : revert previous changes, regression
  on wsdl support.

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

13 years ago2010-07-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 4 Jul 2010 22:31:28 +0000 (22:31 -0000)]
2010-07-05  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (arch_emit_unbox_trampoline): Fix this after the callconv changes.

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

13 years ago2010-07-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 4 Jul 2010 21:31:42 +0000 (21:31 -0000)]
2010-07-04 Gonzalo Paniagua Javier <gonzalo@novell.com>

* Process.cs: ignore processes that finish while we are looking for
processes by name. Fixes bug #596779.

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

13 years ago2010-07-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 4 Jul 2010 21:04:42 +0000 (21:04 -0000)]
2010-07-04  Zoltan Varga  <vargaz@gmail.com>

* tramp-arm.c (mono_arch_create_generic_trampoline): Fix the max trampoline
length.

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

13 years ago2010-07-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 4 Jul 2010 20:38:50 +0000 (20:38 -0000)]
2010-07-04  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.h (MonoContext): Get rid of the 'ebp' field, use
regs [ARMREG_FP] instead.

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

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

* unwind.c (decode_lsda): Use read32 for reading 32 bit quantities.

* tramp-arm.c (mono_arch_create_generic_trampoline): Save the original sp to
lmf->iregs [ARMREG_IP] to be consistent with mono_arch_emit_prolog ().

* mini-arm.h (MonoLMF): Remove unused fregs field, add comments for other fields.

* exceptions-arm.c: Clean up the handling of LMFs. Add LLVM exception trampolines.

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

13 years ago2010-07-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
Gonzalo Paniagua Javier [Sun, 4 Jul 2010 16:47:49 +0000 (16:47 -0000)]
2010-07-04 Gonzalo Paniagua Javier <gonzalo@novell.com>

* metadata/file-io.c: don't prepend anything to the names returned
from FindFirst/FindNext.
* io-layer/io.c: don't strip out directory paths in the pattern.

Second half of the fix for 580090.

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

13 years ago2010-05-27 William Holmes <billholmes54@gmail.com>
Gonzalo Paniagua Javier [Sun, 4 Jul 2010 16:41:33 +0000 (16:41 -0000)]
2010-05-27  William Holmes  <billholmes54@gmail.com>

* Directory.cs (ValidateDirectoryListing): Removing an unnecessary
Path.Combine call. Part of the fix for bug #580090.

Code is contributed under MIT/X11 license.

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

13 years ago2010-05-27 William Holmes <billholmes54@gmail.com>
Gonzalo Paniagua Javier [Sun, 4 Jul 2010 16:39:26 +0000 (16:39 -0000)]
2010-05-27  William Holmes  <billholmes54@gmail.com>

* DirectoryTest.cs: Adding test for bug 580090.

Code is contributed under MIT/X11 license.

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

13 years agoFix the build.
Zoltan Varga [Sun, 4 Jul 2010 00:50:48 +0000 (00:50 -0000)]
Fix the build.

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

13 years ago2010-07-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 4 Jul 2010 00:48:13 +0000 (00:48 -0000)]
2010-07-04  Zoltan Varga  <vargaz@gmail.com>

* mini-arm.c: Always use V5 for passing IMT/RGCTX when running under LLVM.

* method-to-ir.c (emit_imt_argument): Fix LLVM support for architectures
without IMT_REG defined (ARM).

* exceptions-arm.c: Add LLVM throw exception trampolines, add xdebug info for
the trampolines.

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

13 years ago2010-07-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 3 Jul 2010 17:24:37 +0000 (17:24 -0000)]
2010-07-03  Zoltan Varga  <vargaz@gmail.com>

* mini-llvm.c (process_bb): Disable OP_MEMORY_BARRIER on arm.

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

13 years agoeol-style
Marek Safar [Sat, 3 Jul 2010 16:01:57 +0000 (16:01 -0000)]
eol-style

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

13 years agoNew test.
Marek Safar [Sat, 3 Jul 2010 15:42:27 +0000 (15:42 -0000)]
New test.

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

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

** Fixes #609935
* TdsMetaParameter.cs (Prepare): Use GetActualSize() instead of
Size property to calculate the length of a nvarchar param.

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

13 years ago2010-07-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 3 Jul 2010 15:33:19 +0000 (15:33 -0000)]
2010-07-03  Marek Safar  <marek.safar@gmail.com>

* membercache.cs: Copy Membercache member state flags for 2 stage
inflate (Fixes #619555).

* ecore.cs: Use resolved accessors everywhere.

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

13 years agoFix the build
Geoff Norton [Sat, 3 Jul 2010 15:06:41 +0000 (15:06 -0000)]
Fix the build

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

13 years agoExport mono_object_to_string and mono_string_to_utf8_checked.
Michael Hutchinson [Fri, 2 Jul 2010 22:02:32 +0000 (22:02 -0000)]
Export mono_object_to_string and mono_string_to_utf8_checked.

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

13 years ago2010-07-02 Michael Hutchinson <mhutchinson@novell.com>
Michael Hutchinson [Fri, 2 Jul 2010 21:41:02 +0000 (21:41 -0000)]
2010-07-02  Michael Hutchinson  <mhutchinson@novell.com>

* object-internals.h, object.h: Make mono_string_to_utf_8_checked
public, as mono_string_to_utf_8 is deprecated.

* object.(c|h): Added mono_object_to_string, a public helper function
that calls ToString on a MonoObject and returns a MonoString.

* object.c (mono_print_unhandled_exception): Use mono_object_to_string.

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

13 years ago2010-07-02 Michael Hutchinson <mhutchinson@novell.com>
Michael Hutchinson [Fri, 2 Jul 2010 21:39:06 +0000 (21:39 -0000)]
2010-07-02  Michael Hutchinson  <mhutchinson@novell.com>

* Makefile.am: Add mono-error.h to public headers.
* mono-error.h: Use public version of API.

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

13 years ago This commit introduces a few 4.0 rendering changes which break some tests. The...
Marek Habersack [Fri, 2 Jul 2010 19:12:31 +0000 (19:12 -0000)]
This commit introduces a few 4.0 rendering changes which break some tests. The broken tests
    fail to work on .NET 4.0 as well, for the most part. I will fix them next week.

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

     * TemplateControlParser.cs: added support for ClientIDMode
     property

     * Control.cs: implemented 4.0 features - ClientIDMode and
     RenderingCompatibility.

     * ClientIDMode.cs, IDataKeysControl.cs: added

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

     * Menu.cs: 4.0 API updates.

     * GridView.cs: implemented 4.0 properties -
     SortedAscendingCellStyle, SortedAscendingHeaderStyle,
     SortedDescendingCellStyle, SortedDescendingHeaderStyle,
     ClientIDRowSuffix, ClientIDRowSuffixDataKeys, ShowHeaderWhenEmpty
     along with associated rendering changes.

     * DetailsView.cs, FormView.cs, GridView.cs: 4.0 API changes -
     renamed ShowPage to SetPageIndex and made it public.
     Added 4.0 interfaces to inheritance list and implemented them.

     * DataKeyArray.cs: added internal constructor which accepts IList
     instead of ArrayList. Changed the 'keys' field type to IList.

     * ContainedTable.cs: the 'id' attribute must be rendered last.

     * CheckBox.cs, CheckBoxList.cs, SiteMapPath.cs, Table.cs,
     TableStyle.cs, TextBox.cs, WebControl.cs: 4.0 rendering changes.

     * Calendar.cs, CompositeControl.cs, DropDownList.cs, HyperLink.cs,
     Image.cs, ImageButton.cs, Label.cs, LinkButton.cs, LoginName.cs,
     Panel.cs, Table.cs, TableCell.cs, TableRow.cs:
     added new 4.0 property, SupportsDisabledAttribute.

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

     * VersionConverter.cs: added support for checking whether the
     passed version is equal or more than a specified minimal version.

     * PagesSection.cs: added two 4.0 properties - ClientIDMode and
     ControlRenderingCompatibilityVersion

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

     * TemplateControlCompiler.cs: added support for ClientIDMode 4.0
     property

     * PageCompiler.cs, UserControlCompiler.cs: AddStatementsToInitTop
     must call the base implementation.

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

13 years agoFix Windows build by adding mono-publib.c to MSVC project.
Michael Hutchinson [Fri, 2 Jul 2010 16:58:10 +0000 (16:58 -0000)]
Fix Windows build by adding mono-publib.c to MSVC project.

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

13 years ago2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 2 Jul 2010 16:28:03 +0000 (16:28 -0000)]
2010-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* MessageProcessingContext.cs : update possibly-updated ReplyMessage
  to send, by message inspectors. Fix by Clovis Ribeiro, should fix
  bug #619534.

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

13 years ago2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 2 Jul 2010 16:10:21 +0000 (16:10 -0000)]
2010-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* HttpStandaloneReplyChannel.cs, HttpStandaloneRequestContext.cs:
  add more code that the asp.net stuff will become like.

* SvcHttpHandlerFactory.cs : remove unused code.
* SvcHttpHandler.cs : ditto. Add some code for what new asp.net
  support will look like.

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

13 years ago2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 2 Jul 2010 15:47:08 +0000 (15:47 -0000)]
2010-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* HttpStandaloneReplyChannel.cs, HttpListenerManager.cs,
  HttpStandaloneRequestContext.cs :
  refactoring, to add ASP.NET implementation. (not in use yet)

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

14 years ago2010-07-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 2 Jul 2010 14:40:34 +0000 (14:40 -0000)]
2010-07-02  Zoltan Varga  <vargaz@gmail.com>

* mini.h: Applied patch from Elijah Taylor (elijahtaylor@google.com). Fix some
definitions to match their declarations and vice-versa.

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

14 years ago2010-07-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 2 Jul 2010 14:38:47 +0000 (14:38 -0000)]
2010-07-02  Zoltan Varga  <vargaz@gmail.com>

* src/glib.h: Define gboolean as int32_t to match mono_bool.

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

14 years ago2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 2 Jul 2010 11:29:23 +0000 (11:29 -0000)]
2010-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* HttpContextInfo.cs, HttpListenerManager.cs,
  HttpListenerManagerTable.cs : add implementation for ASP.NET, not
  in use yet.

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

14 years ago2010-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 2 Jul 2010 11:18:25 +0000 (11:18 -0000)]
2010-07-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #360820
* membercache.cs, property.cs: Check accessors of base property and
not the closest one.

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

14 years ago2010-07-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 2 Jul 2010 10:55:16 +0000 (10:55 -0000)]
2010-07-02  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ThemeWin32Classic.cs: The images drawn in the column header must be
vertically centered. Fixes #616432.
Patch by Thomas Goldstein (stifu@free.fr).

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

14 years ago2010-07-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 2 Jul 2010 09:39:36 +0000 (09:39 -0000)]
2010-07-02  Marek Safar  <marek.safar@gmail.com>

* modifiers.cs, membercache.cs, import.cs, class.cs: Moved imported
override method checks into import.

* expression.cs: Removed redundant check.

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

14 years agoAdd definitions to sgen-archdep so that sgen will build cleanly
Neale Ferguson [Fri, 2 Jul 2010 01:48:38 +0000 (01:48 -0000)]
Add definitions to sgen-archdep so that sgen will build cleanly
Eliminate a couple of warnings

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

14 years ago2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 1 Jul 2010 22:55:20 +0000 (22:55 -0000)]
2010-07-02  Atsushi Enomoto  <atsushi@ximian.com>

* Message.cs, MessageImpl.cs, MessageBufferImpl.cs : remove BodyId.
  XML attributes on s:Body are handled appropriately, not limited to
  wsu:Id. Added several required overrides to Message and
  MessageBuffer implementation classes.
* SecureMessageGenerator.cs : so, don't use BodyId. Treat it as a
  specific case but still fallback.

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

14 years ago2010-07-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 1 Jul 2010 22:51:33 +0000 (22:51 -0000)]
2010-07-02  Atsushi Enomoto <atsushi@ximian.com>

* DTMXPathDocumentBuilder2.cs : update in sync with sys.xml.

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

14 years agoNew test.
Marek Safar [Thu, 1 Jul 2010 14:44:31 +0000 (14:44 -0000)]
New test.

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

14 years ago2010-07-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 1 Jul 2010 14:34:11 +0000 (14:34 -0000)]
2010-07-01  Zoltan Varga  <vargaz@gmail.com>

* filewatcher.h filewatcher.h decimal.c threads-types.h: Applied patch
from Elijah Taylor (elijahtaylor@google.com). Fix some definitions to
match their declarations and vice-versa.

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

14 years agoWed Jun 30 12:08:36 CEST 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 1 Jul 2010 12:33:40 +0000 (12:33 -0000)]
Wed Jun 30 12:08:36 CEST 2010 Paolo Molaro <lupus@ximian.com>

* class-internals.h, domain-internals.h: mark functions that are
needed by the llvm module.

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

14 years agoRemoved explicit casts
Marek Safar [Thu, 1 Jul 2010 08:04:05 +0000 (08:04 -0000)]
Removed explicit casts

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

14 years ago2010-07-01 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Thu, 1 Jul 2010 07:58:51 +0000 (07:58 -0000)]
2010-07-01  Marek Habersack  <mhabersack@novell.com>

* WebRequest.cs: DefaultCachePolicy and CachePolicy return a
NoCacheNoStore policy in all cases now. Workaround for bug #583934

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

14 years ago2010-07-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 1 Jul 2010 00:16:35 +0000 (00:16 -0000)]
2010-07-01  Zoltan Varga  <vargaz@gmail.com>

* Makefile.am (common_sources): Add mini-llvm.h.

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

14 years ago2010-07-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 30 Jun 2010 23:46:51 +0000 (23:46 -0000)]
2010-07-01  Zoltan Varga  <vargaz@gmail.com>

* unwind.c (mono_unwind_decode_fde): Fix the decoding of the lsda offset.

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

14 years ago2010-06-30 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 30 Jun 2010 18:24:29 +0000 (18:24 -0000)]
2010-06-30 Rodrigo Kumpera  <rkumpera@novell.com>

* assembly.c (framework_assemblies): Add 3.5 assemblies.

* domain-internals.h (MonoRuntimeInfo): Increase version_sets
by one to have room to remap 3.5 assemblies.

* domain.c (supported_runtimes): Add 3.5 remapping information.

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

14 years ago2010-06-30 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 30 Jun 2010 17:36:59 +0000 (17:36 -0000)]
2010-06-30 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (mono_image_create_token): Handle a
FieldBuilder from a different assembly.

Fixes #611836.

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

14 years ago2010-06-30 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 30 Jun 2010 17:36:51 +0000 (17:36 -0000)]
2010-06-30 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (do_store_static_field): Improve error
message.

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

14 years agoDoc stub flush for the net_4_0 profile.
Jonathan Pryor [Wed, 30 Jun 2010 16:05:31 +0000 (16:05 -0000)]
Doc stub flush for the net_4_0 profile.

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

14 years ago2010-06-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 30 Jun 2010 15:19:46 +0000 (15:19 -0000)]
2010-06-30  Zoltan Varga  <vargaz@gmail.com>

* mini.c (mini_cleanup): Avoid calling mono_runtime_shutdown () if cross
compiling.

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

14 years agoFixed.
Marek Safar [Wed, 30 Jun 2010 14:51:01 +0000 (14:51 -0000)]
Fixed.

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

14 years ago2010-06-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 30 Jun 2010 14:50:48 +0000 (14:50 -0000)]
2010-06-30  Marek Safar  <marek.safar@gmail.com>

* nullable.cs, expression.cs, statement.cs, method.cs, ecore.cs,
delegate.cs, cs-parser.jay, visit.cs: Use MemberAccess to resolve
base access expression, it has all bits done correctly.

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

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

* support.cs: Removed unused code.

* ecore.cs: Don't use memberlookup for operators.

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

14 years agoWed Jun 30 12:10:57 CEST 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 30 Jun 2010 10:13:49 +0000 (10:13 -0000)]
Wed Jun 30 12:10:57 CEST 2010 Paolo Molaro <lupus@ximian.com>

* Makefile.am, mini-llvm.h, mini-unwind.h, mini.c, mini.h, xdebug.c:
implemt the option of loading the llvm backend from a module so
that we can have a single binary and the bloat from llvm is
only experienced when it is actually loaded.

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

14 years agoWed Jun 30 12:06:33 CEST 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 30 Jun 2010 10:07:29 +0000 (10:07 -0000)]
Wed Jun 30 12:06:33 CEST 2010 Paolo Molaro <lupus@ximian.com>

* mono-compiler.h: define MONO_LLVM_INTERNAL for internal functions
that may be needed by the llvm backend module.

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

14 years agotyping too much today
Marek Safar [Wed, 30 Jun 2010 10:06:04 +0000 (10:06 -0000)]
typing too much today

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

14 years agoWed Jun 30 12:05:21 CEST 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 30 Jun 2010 10:05:52 +0000 (10:05 -0000)]
Wed Jun 30 12:05:21 CEST 2010 Paolo Molaro <lupus@ximian.com>

* configure.in: added option to load llvm from a module.

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

14 years agoWed Jun 30 12:02:39 CEST 2010 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 30 Jun 2010 10:03:29 +0000 (10:03 -0000)]
Wed Jun 30 12:02:39 CEST 2010 Paolo Molaro <lupus@ximian.com>

* mini-llvm.c: remove direct access to mono_defaults.

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

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

* typemanager.cs, membercache.cs, convert.cs, expression.cs,
ecore.cs: Replace remaining MethodLookup with correct user operator
lookup (to do correct deep lookup). Clean up most of outstanding
quirks in binary operator overload resolution.

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

14 years agoFix the build
Marek Habersack [Wed, 30 Jun 2010 07:14:36 +0000 (07:14 -0000)]
Fix the build

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

14 years ago2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 30 Jun 2010 07:05:11 +0000 (07:05 -0000)]
2010-06-30  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDefaultWriter.cs : add state management support.
* XmlWriter.cs : use above feature for "null Settings in source
  writer" case. This brings some minor .NET compatibility and
  should fix bug #607697.

* XmlWriterTests.cs : remove NotWorking everywhere.

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

14 years ago2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 30 Jun 2010 06:40:47 +0000 (06:40 -0000)]
2010-06-30  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDefaultWriter.cs : new source (which I once wrote for relaxng
  and corcompare).
* XmlWriter.cs : in some cases XmlWriter.Create() returns a new
  wrapping writer instance.
  If there was no Settings specified, return null.

* System.Xml.dll.sources,
  moonlight_raw_System.Xml.dll.sources,
  monotouch_System.Xml.dll.sources : add DefaultXmlWriter.cs.

* XmlWriterTests.cs : add a bit more assertions.
  Remove NotWorking from some tests.

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

14 years ago2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 30 Jun 2010 01:19:44 +0000 (01:19 -0000)]
2010-06-30  Atsushi Enomoto  <atsushi@ximian.com>

* XmlWriterTests.cs : more notes and assertions.

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

14 years ago2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 30 Jun 2010 00:19:44 +0000 (00:19 -0000)]
2010-06-30  Atsushi Enomoto  <atsushi@ximian.com>

* XmlWriterTests.cs : more notes and tests.

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

14 years ago2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 29 Jun 2010 23:20:44 +0000 (23:20 -0000)]
2010-06-30  Atsushi Enomoto  <atsushi@ximian.com>

* XmlWriterTests.cs : refine failure conditions.

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

14 years ago2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 29 Jun 2010 22:51:10 +0000 (22:51 -0000)]
2010-06-30  Atsushi Enomoto  <atsushi@ximian.com>

* XmlWriterTests.cs : add test matrix for understanding things.
  Make those test names consistent. Mark as NotWorking.

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

14 years ago2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 29 Jun 2010 22:27:28 +0000 (22:27 -0000)]
2010-06-30  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile: move back Mvc2.

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

14 years ago2010-06-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 29 Jun 2010 22:24:11 +0000 (22:24 -0000)]
2010-06-30  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile: add S.R.DurableInstancing dir to 4.0.

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

14 years agoI had some hack in this library too.
Atsushi Eno [Tue, 29 Jun 2010 22:22:37 +0000 (22:22 -0000)]
I had some hack in this library too.

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

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

* assembly.c: Revert r159692 since it breaks loading 3.5
assemblies under 2.0.

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

14 years ago2010-06-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 29 Jun 2010 20:58:15 +0000 (20:58 -0000)]
2010-06-29 Rodrigo Kumpera  <rkumpera@novell.com>

* TypeTest.cs: Add tests for #612780.

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

14 years ago2010-06-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 29 Jun 2010 20:56:20 +0000 (20:56 -0000)]
2010-06-29 Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c (ves_icall_Type_make_array_type): Raise a TLE if a
TypedByRef is passed.

* icall.c (ves_icall_Type_make_byref_type): Ditto.

* icall.c (ves_icall_Type_MakePointerType): Ditto.

Fixes #612780.

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

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

* mini-arm.c (mono_arch_get_vcall_slot): This is no longer used on ARM, so make it
a no-op.

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

14 years ago2010-06-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 29 Jun 2010 20:18:52 +0000 (20:18 -0000)]
2010-06-29 Rodrigo Kumpera  <rkumpera@novell.com>

* assembly.c: Add a few more assemblies to the list of framework
assemblies.

Fixes #617714.

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

14 years ago2010-06-29 Geoff Norton <gnorton@novell.com>
Geoff Norton [Tue, 29 Jun 2010 19:54:35 +0000 (19:54 -0000)]
2010-06-29  Geoff Norton  <gnorton@novell.com>

* atomics.h: Implement armv6+ variants of our atomics.

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

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

* include/private/gc_locks.h: Implement armv6+ variants of
GC_test_and_set

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

14 years ago2010-06-09 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 29 Jun 2010 19:50:49 +0000 (19:50 -0000)]
2010-06-09 Rodrigo Kumpera  <rkumpera@novell.com>

* Actions.cs: Add missing v4 type forwarding.

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

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

* mini-trampolines.c (mono_vcall_trampoline): Fix a warning.

* mini-x86.c (mono_arch_get_vcall_slot): Remove most cases as the only caller
is now mono_arch_nullify_class_init_trampoline ().
(mono_arch_output_basic_block): Remove the special casing from the CALL_MEMBASE
opcodes, they are no longer needed.

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

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

* mini-amd64.c (mono_arch_get_vcall_slot): Remove most cases as the only caller is
now mono_arch_nullify_class_init_trampoline ().
(mono_arch_output_basic_block): Remove the special casing from the CALL_MEMBASE
opcodes, they are no longer needed.

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

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

* mini-trampolines.c (mono_vcall_trampoline): Use the LLVM method of obtaining the
vtable on platforms which support it.

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

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

* driver.c: Print the full LLVM version we are compiled against in --version.

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

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

* configure.in: Add a define for the full LLVM version to config.h.

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

14 years agoFixed typo
Marek Safar [Tue, 29 Jun 2010 17:22:49 +0000 (17:22 -0000)]
Fixed typo

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

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

* aot-runtime.c (decode_exception_debug_info): Separate the LLVM and non-LLVM code
a bit better. Decode nesting information to fix eh support for llvm+aot.

* aot-compiler.c (emit_exception_debug_info): Encode nesting information for LLVM
methods.

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

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

* mini-llvm.c (mono_llvm_cleanup): Dispose the aot module too.

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

14 years ago2010-06-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 29 Jun 2010 15:05:25 +0000 (15:05 -0000)]
2010-06-29  Sebastien Pouliot  <sebastien@ximian.com>

* ComplexBindingPropertiesAttribute.cs:
* DefaultBindingPropertyAttribute.cs:
* DefaultEventAttribute.cs:
* DefaultPropertyAttribute.cs:
Fix GetHashCode so that values are equals if Equals
return true
* DesignTimeVisibleAttribute.cs: Fix default value for Visible.

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

14 years agoFix Attribute.GetHashCode to match MS behavior (needed for Moonlight)
Sebastien Pouliot [Tue, 29 Jun 2010 15:02:14 +0000 (15:02 -0000)]
Fix Attribute.GetHashCode to match MS behavior (needed for Moonlight)

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