Miguel de Icaza [Tue, 9 Feb 2010 06:56:28 +0000 (06:56 -0000)]
2010-02-08 Miguel de Icaza <miguel@novell.com>
* namespace.cs (CompletionGetTypesStartingWith): Do not include
private types in the completion results.
svn path=/trunk/mcs/; revision=151082
Zoltan Varga [Tue, 9 Feb 2010 01:39:19 +0000 (01:39 -0000)]
2010-02-09 Zoltan Varga <vargaz@gmail.com>
* unwind.c (mono_unwind_frame): Use read32 for reading a 32 bit value, since it
might be unaligned.
svn path=/trunk/mono/; revision=151076
Mark Probst [Tue, 9 Feb 2010 01:00:49 +0000 (01:00 -0000)]
2010-02-09 Mark Probst <mark.probst@gmail.com>
* threads.c: Removed two assertions that were too strict. Added a
clarifying comment. Fixes #577090.
svn path=/trunk/mono/; revision=151074
Carlos Alberto Cortez [Tue, 9 Feb 2010 00:34:05 +0000 (00:34 -0000)]
2010-02-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* UnixRegistryApi.cs: When retrieving the registry keys from file in a
unix system, if the value returned by a SecurityElement is null,
use String.Empty, since at this point we know that this registry key
*exists* and *cannot* have a null value, as specified in the public
api.
Fixes #543206.
svn path=/trunk/mcs/; revision=151070
Jonathan Pobst [Mon, 8 Feb 2010 20:39:41 +0000 (20:39 -0000)]
2010-02-08 Jonathan Pobst <monkey@jpobst.com>
Fix msvc build.
svn path=/trunk/mono/; revision=151059
Jonathan Pobst [Mon, 8 Feb 2010 20:02:40 +0000 (20:02 -0000)]
Remove files that have colons in them to fix SVN for Windows users.
svn path=/trunk/mcs/; revision=151053
Zoltan Varga [Mon, 8 Feb 2010 19:34:07 +0000 (19:34 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_code): Create the ut trampolines here, so they work for
llvm methods too.
svn path=/trunk/mono/; revision=151052
Zoltan Varga [Mon, 8 Feb 2010 18:37:44 +0000 (18:37 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_code): Don't add the llvm label prefix to 'methods', since
it is not an LLVM generated symbol.
svn path=/trunk/mono/; revision=151049
Zoltan Varga [Mon, 8 Feb 2010 18:33:15 +0000 (18:33 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (emit_entry_bb): Fix the handling of simd types.
svn path=/trunk/mono/; revision=151047
Zoltan Varga [Mon, 8 Feb 2010 18:01:56 +0000 (18:01 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (handle_castclass): Turn off the more efficient isinst/castclass
implementation in gshared mode because it causes regressions.
svn path=/trunk/mono/; revision=151043
Zoltan Varga [Mon, 8 Feb 2010 17:44:28 +0000 (17:44 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c: Add a stat for the number of calls to trampolines.
svn path=/trunk/mono/; revision=151041
Zoltan Varga [Mon, 8 Feb 2010 17:28:37 +0000 (17:28 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* image-writer.c (asm_writer_emit_global): Don't prepend the global prefix, it
should be done by the caller.
svn path=/trunk/mono/; revision=151040
Zoltan Varga [Mon, 8 Feb 2010 17:04:35 +0000 (17:04 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_emit_method): Don't make the debug symbols global.
svn path=/trunk/mono/; revision=151037
Zoltan Varga [Mon, 8 Feb 2010 16:51:09 +0000 (16:51 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_code): Add the llvm label prefix before 'methods'.
svn path=/trunk/mono/; revision=151036
Zoltan Varga [Mon, 8 Feb 2010 16:35:52 +0000 (16:35 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mini_jit_info_table_find): Search the root domain as well,
since mono_jit_info_table_find () doesn't do it anymore.
* mini-generic-sharing.c debugger-agent.c: Call mini_jit_info_table_find ()
instead of mono_jit_info_table_find ().
svn path=/trunk/mono/; revision=151032
Zoltan Varga [Mon, 8 Feb 2010 16:35:46 +0000 (16:35 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* domain.c (mono_jit_info_table_find): Avoid looking in the root domain, since
the caller has no way of knowing the domain which owns the returned MonoJitInfo.
* appdomain.c (create_exceptions): Call mono_thread_push/popappdomain_ref ().
svn path=/trunk/mono/; revision=151031
Atsushi Eno [Mon, 8 Feb 2010 15:25:17 +0000 (15:25 -0000)]
2010-02-08 Atsushi Enomoto <atsushi@ximian.com>
* MetadataBundle.cs, MetadataSet.cs : rename former to latter.
* System.ServiceModel.dll.sources:
renamed MetadataBundle.cs to MetadataSet.cs.
svn path=/trunk/mcs/; revision=151027
Atsushi Eno [Mon, 8 Feb 2010 12:01:11 +0000 (12:01 -0000)]
2010-02-08 Atsushi Enomoto <atsushi@ximian.com>
* XsdDataContractImporter.cs : do not add primitive ArrayOfxxx types.
* XsdDataContractImporterTest.cs : add test that ArrayOfxxx type
is not added.
* schema1.xsd, schema2.xsd : new test files.
svn path=/trunk/mcs/; revision=151021
Zoltan Varga [Mon, 8 Feb 2010 10:24:30 +0000 (10:24 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* WaitHandleTest.cs: Add a test for #576039.
svn path=/trunk/mcs/; revision=151018
Zoltan Varga [Mon, 8 Feb 2010 10:24:21 +0000 (10:24 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* WaitHandle.cs (CheckArray): Check that the handles array is not null.
Fixes #576039.
svn path=/trunk/mcs/; revision=151017
Marek Safar [Mon, 8 Feb 2010 10:10:40 +0000 (10:10 -0000)]
New test.
svn path=/trunk/mcs/; revision=151014
Marek Safar [Mon, 8 Feb 2010 10:09:43 +0000 (10:09 -0000)]
2010-02-08 Marek Safar <marek.safar@gmail.com>
A fix for bug #577029
* anonymous.cs: Fixed TypeBuilder* check.
svn path=/trunk/mcs/; revision=151013
Zoltan Varga [Mon, 8 Feb 2010 10:05:24 +0000 (10:05 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* verify.c (mono_type_get_stack_name): Fix a warning.
svn path=/trunk/mono/; revision=151011
Zoltan Varga [Mon, 8 Feb 2010 10:03:14 +0000 (10:03 -0000)]
Fix the build.
svn path=/trunk/mono/; revision=151010
Zoltan Varga [Mon, 8 Feb 2010 09:54:03 +0000 (09:54 -0000)]
2010-02-08 Zoltan Varga <vargaz@gmail.com>
* library.make (install-local): Install the compiled aot lib too.
* executable.make (install-local): Ditto.
svn path=/trunk/mcs/; revision=151009
Ankit Jain [Mon, 8 Feb 2010 08:16:47 +0000 (08:16 -0000)]
* lc.1: Fix typos.
svn path=/trunk/mono/; revision=151004
Atsushi Eno [Mon, 8 Feb 2010 07:29:51 +0000 (07:29 -0000)]
2010-02-08 Atsushi Enomoto <atsushi@ximian.com>
* XsdDataContractImporter.cs : some generated attributes are put
on enums too.
svn path=/trunk/mcs/; revision=151003
Miguel de Icaza [Sun, 7 Feb 2010 15:14:30 +0000 (15:14 -0000)]
Ship Mono.Cecil as well
svn path=/trunk/mcs/; revision=151002
Miguel de Icaza [Sun, 7 Feb 2010 15:09:40 +0000 (15:09 -0000)]
Begin stubs for Mono.Cecil
svn path=/trunk/mcs/; revision=151001
Ankit Jain [Sun, 7 Feb 2010 11:40:30 +0000 (11:40 -0000)]
In class/Microsoft.Build.Tasks:
* Microsoft.Build.Tasks.dll.sources: Add LC.cs
* Microsoft.Build.Tasks_test.dll.sources: Add LCTest.cs
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* LC.cs: New.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* LCTest.cs: New.
In class/Microsoft.Build.Utilities/Microsoft.Build.Utilities:
* ToolTask.cs (SkipTaskExecution): Use ValidateParameters method.
Remove some MonoTODOs.
In tools/xbuild:
* xbuild/Microsoft.Common.targets: Add targets for compiling
licx (license) files.
* xbuild/Microsoft.Common.tasks: Add LC task.
svn path=/trunk/mcs/; revision=150997
Marek Habersack [Sun, 7 Feb 2010 08:44:06 +0000 (08:44 -0000)]
Do not use colons in file names, it's not supported by windows
svn path=/trunk/mcs/; revision=150996
Zoltan Varga [Sun, 7 Feb 2010 05:07:40 +0000 (05:07 -0000)]
2010-02-07 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c aot-runtime.c: Add support for MONO_WRAPPER_WRITE_BARRIER.
svn path=/trunk/mono/; revision=150992
Zoltan Varga [Sun, 7 Feb 2010 05:02:28 +0000 (05:02 -0000)]
2010-02-07 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (encode_method_ref): Update after the removal of
mono_gc_get_managed_allocator_type ().
svn path=/trunk/mono/; revision=150991
Zoltan Varga [Sun, 7 Feb 2010 05:02:21 +0000 (05:02 -0000)]
2010-02-07 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_wrapper_info): Rename from
mono_marshal_wrapper_info_from_wrapper.
* marshal.c (mono_marshal_set_wrapper_info): Rename from
mono_marshal_method_set_wrapper_data, and export.
* boehm-gc.c sgen-gc.c null-gc.c: Get rid of mono_gc_get_allocator_type, store
the allocator type in a AllocatorWrapperInfo structure instead, which is accesible
by calling mono_marshal_get_wrapper_info ().
svn path=/trunk/mono/; revision=150990
Chris Toshok [Sun, 7 Feb 2010 04:26:45 +0000 (04:26 -0000)]
2010-02-06 Chris Toshok <toshok@ximian.com>
* AppDomain.cs (SetupInformationNoCopy): make this internal for
moonlight.
svn path=/trunk/mcs/; revision=150988
Zoltan Varga [Sun, 7 Feb 2010 04:24:07 +0000 (04:24 -0000)]
2010-02-07 Zoltan Varga <vargaz@gmail.com>
* sgen-gc.c (mono_gc_get_managed_allocator): Add a specialized allocator for
small objects which does no size checks.
svn path=/trunk/mono/; revision=150987
Zoltan Varga [Sun, 7 Feb 2010 00:16:56 +0000 (00:16 -0000)]
2010-02-07 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Place a seq point just before a RET.
Fixes #564538.
svn path=/trunk/mono/; revision=150982
Zoltan Varga [Sat, 6 Feb 2010 21:45:28 +0000 (21:45 -0000)]
2010-02-06 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (handle_castclass): Use the icall for classes with variant
generic params as well.
(handle_isinst): Ditto.
svn path=/trunk/mono/; revision=150980
Zoltan Varga [Sat, 6 Feb 2010 20:54:27 +0000 (20:54 -0000)]
2010-02-06 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c: Make isninst/castclass checks in gshared code more efficient
instead of always calling an icall.
svn path=/trunk/mono/; revision=150979
Marek Habersack [Sat, 6 Feb 2010 16:11:53 +0000 (16:11 -0000)]
Modified the assemblies collection to match what is found in .NET 4.0
svn path=/trunk/mono/; revision=150977
Michael Barker [Sat, 6 Feb 2010 12:01:42 +0000 (12:01 -0000)]
2010-02-06 Michael Barker <mike@middlesoft.co.uk>
* ConnectionException.cs: Added additional text to aid debugging.
svn path=/trunk/mcs/; revision=150976
Miguel de Icaza [Sat, 6 Feb 2010 09:02:58 +0000 (09:02 -0000)]
2010-02-05 Miguel de Icaza <miguel@novell.com>
* getline.cs (NextAvailable): Fix off-by-one error
svn path=/trunk/mcs/; revision=150975
Miguel de Icaza [Sat, 6 Feb 2010 08:14:28 +0000 (08:14 -0000)]
2010-02-06 Miguel de Icaza <miguel@novell.com>
* eval.cs (CompileBlock): Also undo if there are problems during
semantic analysis, fixes various cases where invalid C# code would
be reported, but the internal changes would not be undone.
svn path=/trunk/mcs/; revision=150974
Miguel de Icaza [Sat, 6 Feb 2010 08:12:21 +0000 (08:12 -0000)]
Update repl.txt notes
svn path=/trunk/mcs/; revision=150973
Miguel de Icaza [Sat, 6 Feb 2010 08:12:03 +0000 (08:12 -0000)]
Indent
svn path=/trunk/mcs/; revision=150972
Zoltan Varga [Sat, 6 Feb 2010 00:56:43 +0000 (00:56 -0000)]
2010-02-06 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_llvm_file): Take into account trampolines etc when
computing the size of the got.
svn path=/trunk/mono/; revision=150965
Zoltan Varga [Sat, 6 Feb 2010 00:04:54 +0000 (00:04 -0000)]
2010-02-06 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_code): Change the way the 'methods' symbol is emitted
when using LLVM. Instead of emitting it as an LLVM method, emit it using
the assembly directive '.set' so it points to the first LLVM emitted method.
svn path=/trunk/mono/; revision=150964
Rodrigo Kumpera [Fri, 5 Feb 2010 21:18:19 +0000 (21:18 -0000)]
2010-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* PropertyInfoTest.cs: Make tests for GetIndexParameters() work.
svn path=/trunk/mcs/; revision=150958
Rodrigo Kumpera [Fri, 5 Feb 2010 20:21:51 +0000 (20:21 -0000)]
2010-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* MethodInfoTest.cs: New test for GetParameters() returning the
* interned array.
* PropertyInfoTest.cs: New tests for GetIndexParameters().
svn path=/trunk/mcs/; revision=150946
Rodrigo Kumpera [Fri, 5 Feb 2010 20:21:42 +0000 (20:21 -0000)]
2010-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* MonoMethod.cs (GetParameters): Must return a copy instead of
* the interned array.
* MonoMethod.cs (Invoke): Skip array clone in GetParameters.
* MonoProperty.cs (GetIndexParameters): Properly handle
* write-only indexed properties.
Return a ParameterInfo object bound to the properly and not to
the method.
* ParameterInfo.cs: Add new constructor that copies all fields
* but Member.
* ParameterInfo.cs (MetadataToken): Properly handle tokens of
* non-method members.
svn path=/trunk/mcs/; revision=150945
Rodrigo Kumpera [Fri, 5 Feb 2010 20:20:55 +0000 (20:20 -0000)]
2010-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* icall-def.h: Rename get_MetadataToken to GetMetadataToken.
svn path=/trunk/mono/; revision=150944
Carlos Alberto Cortez [Fri, 5 Feb 2010 13:44:00 +0000 (13:44 -0000)]
2010-02-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MaskedTextProviderTest.cs: New tests for ToString and
ToDisplayString, specifically when IsPassword is true.
svn path=/trunk/mcs/; revision=150927
Carlos Alberto Cortez [Fri, 5 Feb 2010 13:26:42 +0000 (13:26 -0000)]
2010-02-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MaskedTextProvider.cs: In ToString() if we are a password, use the
prompt char in the places where no char has been filled in yet, instead of
putting the password char.
Fixes #360407.
svn path=/trunk/mcs/; revision=150926
Rodrigo Kumpera [Fri, 5 Feb 2010 12:57:50 +0000 (12:57 -0000)]
2010-02-05 Rodrigo Kumpera <rkumpera@novell.com>
* RemotingServices.cs (InternalExecuteMessage): Properly
handle generic methods. We can't call MakeGenericMethod on
a non GMD method.
svn path=/trunk/mcs/; revision=150925
Ankit Jain [Fri, 5 Feb 2010 12:20:52 +0000 (12:20 -0000)]
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
Fix bug #576579.
* CreateManifestResourceName.cs: Use TargetPath metadata, as the link
name.
* CreateCSharpManifestResourceName.cs:
* CreateVisualBasicManifestResourceName.cs: Prefer linkname over
filename, if available.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* CreateCSharpManifestResourceNameTest.cs:
* CreateVisualBasicManifestResourceNameTest.cs:
Add new tests for TargetPath metadata.
In class/Microsoft.Build.Tasks/Test/resources:
* junk.txt: New.
svn path=/trunk/mcs/; revision=150924
Atsushi Eno [Fri, 5 Feb 2010 11:12:56 +0000 (11:12 -0000)]
2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
* HttpTransportBindingElement.cs : ... and add MONOTOUCH on #ifs.
svn path=/trunk/mcs/; revision=150920
Atsushi Eno [Fri, 5 Feb 2010 05:46:47 +0000 (05:46 -0000)]
2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBaseTest.cs : on unixy filesystems "/foobar"
is parsed as an absolute URI.
svn path=/trunk/mcs/; revision=150913
Atsushi Eno [Fri, 5 Feb 2010 05:42:08 +0000 (05:42 -0000)]
2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
* NetTcpBindingTest.cs : port 808 is not generally available
for non-privileged users.
svn path=/trunk/mcs/; revision=150912
Atsushi Eno [Fri, 5 Feb 2010 05:26:28 +0000 (05:26 -0000)]
2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
* SilverlightClientConfigLoader.cs : public->internal.
svn path=/trunk/mcs/; revision=150911
Atsushi Eno [Fri, 5 Feb 2010 02:21:37 +0000 (02:21 -0000)]
2010-02-05 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs, HttpTransportBindingElement.cs :
enable authentication schemes on monotouch.
* Dummy_2_1.cs : remove AuthenticationSchemes. It blocks MT support.
svn path=/trunk/mcs/; revision=150909
Rodrigo Kumpera [Thu, 4 Feb 2010 22:24:27 +0000 (22:24 -0000)]
2010-02-04 Rodrigo Kumpera <rkumpera@novell.com>
* mini.c (mini_method_verify): Report the method which failed to verify.
svn path=/trunk/mono/; revision=150890
Rodrigo Kumpera [Thu, 4 Feb 2010 22:24:19 +0000 (22:24 -0000)]
2010-02-04 Rodrigo Kumpera <rkumpera@novell.com>
* method-to-ir.c (mono_method_to_ir): Use the new basic block formation pass
to avoid JIT'ng dead basic blocks. This is the same behavior as the
runtime MS verifier.
svn path=/trunk/mono/; revision=150889
Rodrigo Kumpera [Thu, 4 Feb 2010 22:24:10 +0000 (22:24 -0000)]
2010-02-04 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (mono_method_verify): Use the new basic block formation pass
to avoid verifying dead basic blocks. This is the same behavior as the
runtime MS verifier.
svn path=/trunk/mono/; revision=150888
Rodrigo Kumpera [Thu, 4 Feb 2010 22:24:01 +0000 (22:24 -0000)]
2010-02-04 Rodrigo Kumpera <rkumpera@novell.com>
* mono-basic-block.c:
* mono-basic-block.h: New implementation of a basic block formation pass.
The formation pass does static liveness analysis as well to detect dead
basic blocks.
svn path=/trunk/mono/; revision=150887
Rodrigo Kumpera [Thu, 4 Feb 2010 22:23:53 +0000 (22:23 -0000)]
2010-02-04 Rodrigo Kumpera <rkumpera@novell.com>
* make_endfilter_test.sh: Fix this test to not have a throw that make some of the
endfilter unreachable.
svn path=/trunk/mono/; revision=150886
Rodrigo Kumpera [Thu, 4 Feb 2010 22:23:45 +0000 (22:23 -0000)]
2010-02-04 Rodrigo Kumpera <rkumpera@novell.com>
* invalid_branch_in_between_prefix_and_instruction.il:
* invalid_empty_filter_block.il:
* make_endfilter_test.sh
* make_endfinally_test.sh: Bunch of OSX and test fixes.
svn path=/trunk/mono/; revision=150885
Ankit Jain [Thu, 4 Feb 2010 18:25:40 +0000 (18:25 -0000)]
* xbuild/Microsoft.Common.targets (_RecordCleanFile): Append list of
current build files to list of previous build files.
(_GetCleanFileWrites): Rename items to be obvious of the contents.
(CoreClean): Delete the file list also.
svn path=/trunk/mcs/; revision=150874
Ankit Jain [Thu, 4 Feb 2010 17:29:57 +0000 (17:29 -0000)]
In class/Microsoft.Build.Tasks:
* Microsoft.Build.Tasks_test.dll.sources: Added
WriteLinesToFileTest.cs
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
* WriteLinesToFile.cs: Delete the file if there is nothing to
be written and overwrite==true.
In class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks:
* WriteLinesToFileTest.cs: New.
svn path=/trunk/mcs/; revision=150873
Atsushi Eno [Thu, 4 Feb 2010 15:03:47 +0000 (15:03 -0000)]
2010-02-04 Astushi Enomoto <atsushi@ximian.com>
* Dummy.cs, net_2_1_raw_System.ServiceModel.dll.sources : add some
classes out of dummy, for monotouch (hidden in 2.1 profile).
* ClientCredentials.cs, ContractDescription.cs,
IEndpointBehavior.cs, IOperationBehavior.cs : add monotouch support
for client behavior.
svn path=/trunk/mcs/; revision=150863
Miguel de Icaza [Thu, 4 Feb 2010 14:39:09 +0000 (14:39 -0000)]
2010-02-04 Miguel de Icaza <miguel@novell.com>
* Take advantage of the Describe feature.
svn path=/trunk/mcs/; revision=150859
Miguel de Icaza [Thu, 4 Feb 2010 14:38:20 +0000 (14:38 -0000)]
Documentation update
svn path=/trunk/mcs/; revision=150858
Miguel de Icaza [Thu, 4 Feb 2010 14:38:08 +0000 (14:38 -0000)]
2010-02-03 Miguel de Icaza <miguel@novell.com>
* driver.cs: Change the --fatal flag to allow a number to be
passed, this ignores the first N fatal errors. Useful to debug
errors that do not happen on the first hit.
* cs-parser.jay (invocation_expression): accept both the
CLOSE_PARENS and COMPLETE_COMPLETION, this allows completions
inside an invocation.
* driver.cs: Expose FatalErrors.
* eval.cs: Initialize the printer's Fatal property from the
Driver's FatalError flag, this allows csharp --fatal to work
again.
Add support for calling Describe (typeof (TYPE)) if the expression
entered is a TYPE.
svn path=/trunk/mcs/; revision=150857
Marek Habersack [Thu, 4 Feb 2010 13:53:55 +0000 (13:53 -0000)]
2010-02-03 Marek Habersack <mhabersack@novell.com>
* AssemblyInfo.cs: added back InternalsVisibleTo for the test
assembly - it's needed to access CacheItemPriorityQueue
2010-02-03 Marek Habersack <mhabersack@novell.com>
* OutputCache.cs: DefaultProviderName checks if there was any
provider configured and, if not, returns a built-in provider's
name.
* SqlCacheDependencyAdmin.cs: added
* OutputCacheProviderCollection.cs: added
* OutputCacheProvider.cs: added
* OutputCacheModule.cs: uses the 4.0 extensible output cache
provider model now (also internally in the 2.0 profile)
OutputCacheProvider is retrieved on every request using
HttpApplication.GetOutputCacheProviderName (4.0+). In the 2.0
profile an instance of InMemoryOutputCacheProvider is always
returned.
* InMemoryOutputCacheProvider.cs: default output cache provider
for ASP.NET 4.0, also used internally in the 2.0 profile.
* CachedVaryBy.cs: made the generated key shorter
* CacheItemPriorityQueueDebug.cs: debugging support for
CacheItemPriorityQueue. Most of the code is compiled only when the
DEBUG macro is defined. Debugging support includes recording of
the queue operations sequence which is output to an XML file on
appdomain shutdown. The recorded sequence files can be used to
generate NUnit test cases for the priority queue (see
../Test/tools/README)
* CacheItemPriorityQueue.cs: rewritten using an array based heap
instead of a binary tree based one - implementation is simpler,
faster and more elegant. Heap is initially 32 entries long and
its size is doubled every time it fills up. After reaching a
threshold (8192 entries currently) it is shrunk to the number of
items + 1/3 of item count in order to preserve memory.
* CacheItem.cs: added a Guid field to easier distinguish items
(mostly for debugging purposes)
* CacheDependency.cs: minor performance improvements
* Cache.cs: better handling of timer periods
2010-02-03 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: GetOutputCacheProviderName returns the value
of OutputCache.DefaultProviderName
* HttpRuntime.cs: internal cache is used to hold the dependencies
now.
2010-02-03 Marek Habersack <mhabersack@novell.com>
* CacheItemPriorityQueueTest_generated.cs: added
* CacheItemPriorityQueueTest.cs: added
2010-02-04 Marek Habersack <mhabersack@novell.com>
* Helpers.cs: added a helper method for checking of HTML mentions
any .NET exceptions.
2010-02-03 Marek Habersack <mhabersack@novell.com>
* Makefile: added targets to compile cache priority queue tests
generator and to generate the tests themselves
svn path=/trunk/mcs/; revision=150855
Atsushi Eno [Thu, 4 Feb 2010 11:52:57 +0000 (11:52 -0000)]
2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcher.cs : now I can enable service throttling to
handle more than one concurrent channels as ASP.NET reply channel
got fixed.
* HTTP_listener_notes.txt: Fixed some wrong description, simplified
some, and updated some.
svn path=/trunk/mcs/; revision=150851
Atsushi Eno [Thu, 4 Feb 2010 11:09:03 +0000 (11:09 -0000)]
2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : a wait handle could be used for more than one
requests and hence it sometimes blocked one reply channel. Now
it creates a wait handle for each ASP.NET request so that such
multiple use should not occur. This should fix blocking on
concurrent requests (it indeed fixes as long as I can see).
* HTTP_listener_notes.txt: some notes updated.
svn path=/trunk/mcs/; revision=150850
Atsushi Eno [Thu, 4 Feb 2010 09:10:18 +0000 (09:10 -0000)]
2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
* AspNetReplyChannel.cs : remove garbage output.
svn path=/trunk/mcs/; revision=150843
Atsushi Eno [Thu, 4 Feb 2010 08:49:58 +0000 (08:49 -0000)]
2010-02-04 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : Use lock when it tries to create the service
host.
svn path=/trunk/mcs/; revision=150842
Zoltan Varga [Thu, 4 Feb 2010 07:26:51 +0000 (07:26 -0000)]
Add a test for vtype instances + SetValue ().
svn path=/trunk/mono/; revision=150839
Zoltan Varga [Thu, 4 Feb 2010 07:26:45 +0000 (07:26 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (decode_value): Fix decoding of vtype instances. Fixes
#561962.
svn path=/trunk/mono/; revision=150838
Zoltan Varga [Thu, 4 Feb 2010 06:39:17 +0000 (06:39 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_native_wrapper): Emit a null check for the
'this' argument in icalls.
svn path=/trunk/mono/; revision=150834
Carlos Alberto Cortez [Thu, 4 Feb 2010 06:06:45 +0000 (06:06 -0000)]
2010-02-03 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* StatusStrip.cs:
* XplatX11.cs:
* X11Structs: Implement the new BeginMoveResize method, designed to
instruct the window manager to init a resize operation on a top level
form. This is used by StatusStrip.
* XplatUI.cs:
* XplatUIDriver.cs:
* XplatUIWin32.cs:
* XplatUICarbon.cs: Fill the gaps by creating stubs and updating the
method calls.
Fixes #573299.
svn path=/trunk/mcs/; revision=150833
Zoltan Varga [Thu, 4 Feb 2010 05:39:11 +0000 (05:39 -0000)]
Really fix the build.
svn path=/trunk/mono/; revision=150832
Zoltan Varga [Thu, 4 Feb 2010 05:38:09 +0000 (05:38 -0000)]
Fix the build.
svn path=/trunk/mono/; revision=150831
Geoff Norton [Thu, 4 Feb 2010 05:37:57 +0000 (05:37 -0000)]
Move the last commit around a bit to make it a tad saner
svn path=/trunk/mono/; revision=150830
Geoff Norton [Thu, 4 Feb 2010 05:37:07 +0000 (05:37 -0000)]
make eglib work with c++
svn path=/trunk/mono/; revision=150829
Zoltan Varga [Thu, 4 Feb 2010 05:06:18 +0000 (05:06 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* dtest.cs: Add a test for TypeMirror.EnumUnderlyingType.
svn path=/trunk/mono/; revision=150828
Zoltan Varga [Thu, 4 Feb 2010 05:05:19 +0000 (05:05 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* TypeMirror.cs (EnumUnderlyingType): New property.
* EnumMirror.cs: Use it.
svn path=/trunk/mcs/; revision=150826
Zoltan Varga [Thu, 4 Feb 2010 04:48:32 +0000 (04:48 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c: Init the jit module only when first JITting.
svn path=/trunk/mono/; revision=150825
Geoff Norton [Thu, 4 Feb 2010 04:45:10 +0000 (04:45 -0000)]
fix compiling xdebug with DISABLE_AOT || DISABLE_JIT
svn path=/trunk/mono/; revision=150824
Zoltan Varga [Thu, 4 Feb 2010 04:38:53 +0000 (04:38 -0000)]
Fix another case.
svn path=/trunk/mono/; revision=150823
Zoltan Varga [Thu, 4 Feb 2010 04:03:15 +0000 (04:03 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_plt): Fix the naming of plt entries of llvm+darwin.
svn path=/trunk/mono/; revision=150822
Zoltan Varga [Thu, 4 Feb 2010 04:03:09 +0000 (04:03 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (get_plt_entry): Make the plt entries have hidden visibility.
svn path=/trunk/mono/; revision=150821
Zoltan Varga [Thu, 4 Feb 2010 03:44:00 +0000 (03:44 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* mini-llvm.c (mono_llvm_emit_aot_module): Remove the dummy got after it is
replaced with the real got.
svn path=/trunk/mono/; revision=150820
Zoltan Varga [Thu, 4 Feb 2010 03:36:26 +0000 (03:36 -0000)]
Fix the previous change.
svn path=/trunk/mono/; revision=150819
Zoltan Varga [Thu, 4 Feb 2010 03:03:06 +0000 (03:03 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* dtest.cs dtest-app.cs: Add tests for TypeMirror.IsEnum and
VirtualMachine.CreateEnumMirror ().
svn path=/trunk/mono/; revision=150816
Zoltan Varga [Thu, 4 Feb 2010 03:03:00 +0000 (03:03 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (type_commands): Return the enumness if the type as well.
svn path=/trunk/mono/; revision=150815
Zoltan Varga [Thu, 4 Feb 2010 03:00:31 +0000 (03:00 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* VirtualMachine.cs (CreateEnumMirror): New method to create an EnumMirror.
* AppDomainMirror.cs (GetCorrespondingType): New method to return a TypeMirror
corresponding to a primitive type.
* TypeMirror.cs (IsEnum): Implement.
* EnumMirror.cs (.ctor): New internal constructor called from CreateEnumMirror
which does lots of error checking.
svn path=/trunk/mcs/; revision=150813
Zoltan Varga [Thu, 4 Feb 2010 01:45:01 +0000 (01:45 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* image-writer.c: Reduce the amount of #ifdefs a bit.
* aot-compiler.c: Reduce the amount of #ifdefs. Add beginnings of support for
llvm on darwin/arm.
svn path=/trunk/mono/; revision=150806
Marek Habersack [Thu, 4 Feb 2010 01:01:18 +0000 (01:01 -0000)]
2010-02-04 Marek Habersack <mhabersack@novell.com>
* PreservationFile.cs: updated the BuildResulTypeCode enum
* BuildManager.cs: LoadCompiled now adds all the assemblies built
from the App_Code directory to the BuildManager.CodeAssemblies
collection. Fixes bug #576810
svn path=/trunk/mcs/; revision=150802
Zoltan Varga [Thu, 4 Feb 2010 00:08:11 +0000 (00:08 -0000)]
2010-02-04 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (mono_compile_assembly): Handle asmonly+llvm mode.
* mini-llvm.c (mono_llvm_emit_method): Don't make the 'type_info' symbols
global.
svn path=/trunk/mono/; revision=150800