Marek Safar [Wed, 12 May 2010 20:49:34 +0000 (20:49 -0000)]
New tests.
svn path=/trunk/mcs/; revision=157263
Marek Safar [Wed, 12 May 2010 16:39:02 +0000 (16:39 -0000)]
New test.
svn path=/trunk/mcs/; revision=157252
Marek Safar [Wed, 12 May 2010 16:38:27 +0000 (16:38 -0000)]
2010-05-12 Marek Safar <marek.safar@gmail.com>
A fix for bug #604981
* generic.cs, decl.cs, anonymous.cs: Reset more type arguments
details for nested anonymous methods stories.
svn path=/trunk/mcs/; revision=157251
Atsushi Eno [Wed, 12 May 2010 15:04:05 +0000 (15:04 -0000)]
2010-05-12 Atsushi Enomoto <atsushi@ximian.com>
* XmlNode.cs : use as-operator (isinst) to optimize certain use case.
Patch by Tom Hindle.
svn path=/trunk/mcs/; revision=157244
Atsushi Eno [Wed, 12 May 2010 15:01:17 +0000 (15:01 -0000)]
2010-05-12 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : implement On[Begin|End][Close|Open] methods.
svn path=/trunk/mcs/; revision=157243
Marek Safar [Wed, 12 May 2010 14:59:55 +0000 (14:59 -0000)]
show full stacktrace on debug
svn path=/trunk/mcs/; revision=157242
Atsushi Eno [Wed, 12 May 2010 14:46:28 +0000 (14:46 -0000)]
check in the stubs that was written while waiting for several windows builds.
svn path=/trunk/mcs/; revision=157236
Marek Habersack [Wed, 12 May 2010 11:10:03 +0000 (11:10 -0000)]
2010-05-12 Marek Habersack <mhabersack@novell.com>
* HttpServerUtility.cs: Execute checks whether
IAsyncResult.AsyncWaitHandle is not null before attempting to use
it. Fixes bug #604502
svn path=/trunk/mcs/; revision=157221
Carlos Alberto Cortez [Wed, 12 May 2010 11:02:58 +0000 (11:02 -0000)]
2010-05-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ScrollabeControlTest.cs: New test to show that DockPadding is lazyly
created.
svn path=/trunk/mcs/; revision=157220
Zoltan Varga [Wed, 12 May 2010 03:07:43 +0000 (03:07 -0000)]
2010-05-12 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (mono_arch_sigctx_to_monoctx): Simplify this now that
UCONTEXT_REG_ constants are available on linux as well.
(mono_arch_monoctx_to_sigctx): Ditto.
(mono_arch_ip_from_context): Ditto.
svn path=/trunk/mono/; revision=157196
Zoltan Varga [Wed, 12 May 2010 03:07:36 +0000 (03:07 -0000)]
2010-05-12 Zoltan Varga <vargaz@gmail.com>
* mono-sigcontext.h: Define UCONTEXT_REG_ constants for amd64 even if the gregs
array is available.
svn path=/trunk/mono/; revision=157195
Zoltan Varga [Wed, 12 May 2010 02:47:49 +0000 (02:47 -0000)]
Fix a warning.
svn path=/trunk/mono/; revision=157191
Zoltan Varga [Wed, 12 May 2010 02:45:35 +0000 (02:45 -0000)]
2010-05-12 Zoltan Varga <vargaz@gmail.com>
* dtest.cs dtest-app.cs: Add a test for pending breakpoints in domains.
svn path=/trunk/mono/; revision=157190
Zoltan Varga [Wed, 12 May 2010 02:45:17 +0000 (02:45 -0000)]
2010-05-12 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (set_breakpoint): Fix setting of pending breakpoints in
other domains.
svn path=/trunk/mono/; revision=157189
Marek Habersack [Wed, 12 May 2010 02:42:39 +0000 (02:42 -0000)]
2010-05-12 Marek Habersack <mhabersack@novell.com>
* ValidationException.cs: partially implemented
* ValidationAttribute.cs: implemented
* RequiredAttribute.cs: implemented. Fixes bug #604100
* AssociationAttribute.cs, ConcurrencyCheckAttribute.cs,
CustomValidationAttribute.cs, EditableAttribute.cs,
EnumDataTypeAttribute.cs, IValidatableObject.cs,
ValidationContext.cs, ValidationResult.cs: added
svn path=/trunk/mcs/; revision=157187
Andrew Jorgensen [Tue, 11 May 2010 22:10:43 +0000 (22:10 -0000)]
set MONO_PATH to ensure that mscorlib.dll can be found
svn path=/trunk/mono/; revision=157176
Rodrigo Kumpera [Tue, 11 May 2010 21:54:59 +0000 (21:54 -0000)]
2010-05-11 Rodrigo Kumpera <rkumpera@novell.com>
* ConditionalWeakTableTest.cs: New test suite.
svn path=/trunk/mcs/; revision=157175
Rodrigo Kumpera [Tue, 11 May 2010 21:54:51 +0000 (21:54 -0000)]
2010-05-11 Rodrigo Kumpera <rkumpera@novell.com>
* ConditionalWeakTable.cs: Implement simple open addressing
hash table with linear probing. We use a prime sized table
for an easy hashing and a target load capacity of 70%.
On a synthetic benchmark, a load factor of 70% did not cause
significant performance degradation over 60% as would be
expected.
svn path=/trunk/mcs/; revision=157174
Rodrigo Kumpera [Tue, 11 May 2010 21:54:42 +0000 (21:54 -0000)]
2010-05-11 Rodrigo Kumpera <rkumpera@novell.com>
* GC.cs: Add EPHEMERON_TOMBSTONE reandonly variable.
svn path=/trunk/mcs/; revision=157173
Marek Safar [Tue, 11 May 2010 21:25:06 +0000 (21:25 -0000)]
New test.
svn path=/trunk/mcs/; revision=157171
Marek Safar [Tue, 11 May 2010 21:24:50 +0000 (21:24 -0000)]
2010-05-11 Marek Safar <marek.safar@gmail.com>
A fix for bug #604735
* namespace.cs: Don't report namespace collision.
svn path=/trunk/mcs/; revision=157170
Marek Safar [Tue, 11 May 2010 21:00:35 +0000 (21:00 -0000)]
New test.
svn path=/trunk/mcs/; revision=157169
Marek Safar [Tue, 11 May 2010 21:00:06 +0000 (21:00 -0000)]
2010-05-11 Marek Safar <marek.safar@gmail.com>
A fix for bug #604748
* class.cs, typespec.cs: Search full imported attribute hierarchy
for AttributeUsage.
svn path=/trunk/mcs/; revision=157168
Jonathan Pobst [Tue, 11 May 2010 20:56:43 +0000 (20:56 -0000)]
Fix msvc build.
svn path=/trunk/mono/; revision=157167
Marek Safar [Tue, 11 May 2010 20:08:21 +0000 (20:08 -0000)]
New test.
svn path=/trunk/mcs/; revision=157157
Marek Safar [Tue, 11 May 2010 20:06:58 +0000 (20:06 -0000)]
2010-05-11 Marek Safar <marek.safar@gmail.com>
* namespace.cs: Ignore missing dependencies failure at
initialization.
svn path=/trunk/mcs/; revision=157156
Rodrigo Kumpera [Tue, 11 May 2010 19:31:02 +0000 (19:31 -0000)]
2010-05-11 Rodrigo Kumpera <rkumpera@novell.com>
* sgen-gc.c (clear_unreachable_ephemerons): Clear
unreachable keys with a tombstone.
* sgen-gc.c (mark_ephemerons_in_range): Ignore
tombstone keys.
svn path=/trunk/mono/; revision=157154
Rodrigo Kumpera [Tue, 11 May 2010 19:30:54 +0000 (19:30 -0000)]
2010-05-11 Rodrigo Kumpera <rkumpera@novell.com>
* icall-def.h:
* gc-internals.h:
* gc.c: New GC:get_ephemeron_tombstone.
svn path=/trunk/mono/; revision=157153
Rodrigo Kumpera [Tue, 11 May 2010 19:30:44 +0000 (19:30 -0000)]
2010-05-11 Rodrigo Kumpera <rkumpera@novell.com>
* appdomain.c (create_exceptions): Rename to
create_domain_objects. Create the ephemeron tombstone object.
* domains-internals.h (MonoDomain): Add new field for the
ephemeron tombstone.
* domain.c (mono_domain_free): Set ephemeron_tombstone to
NULL.
svn path=/trunk/mono/; revision=157152
Andrew Jorgensen [Tue, 11 May 2010 19:28:57 +0000 (19:28 -0000)]
* scripts/mono-find-*.in: Look for libmono-2.0.so.1, not libmono.so
svn path=/trunk/mono/; revision=157150
Martin Baulig [Tue, 11 May 2010 19:02:31 +0000 (19:02 -0000)]
Fix #604879: Find source file when line-number table ends with hidden line.
2010-05-11 Martin Baulig <martin@ximian.com>
* debug-mono-symfile.c
(mono_debug_symfile_get_line_numbers): Fallback to the first
non-hidden source file in the method if the line number table ends
with a hidden line.
Fixes #604879.
svn path=/trunk/mono/; revision=157148
Miguel de Icaza [Tue, 11 May 2010 18:51:27 +0000 (18:51 -0000)]
Big documentation update
svn path=/trunk/mono/; revision=157146
Miguel de Icaza [Tue, 11 May 2010 18:50:51 +0000 (18:50 -0000)]
Big documentation update
svn path=/trunk/mono/; revision=157145
Miguel de Icaza [Tue, 11 May 2010 18:24:32 +0000 (18:24 -0000)]
Remove methods that are private from the documentation
svn path=/trunk/mono/; revision=157144
Miguel de Icaza [Tue, 11 May 2010 17:05:12 +0000 (17:05 -0000)]
2010-05-11 Miguel de Icaza <miguel@novell.com>
* src/gunicode.c: Pull the Windows.h header when G_OS_WIN32 is
defined.
svn path=/trunk/mono/; revision=157138
Miguel de Icaza [Tue, 11 May 2010 17:01:35 +0000 (17:01 -0000)]
Add vasprintf to the Cygwin build
svn path=/trunk/mono/; revision=157137
Miguel de Icaza [Tue, 11 May 2010 15:45:42 +0000 (15:45 -0000)]
Update documentation to latest changes, need to document a lot of missing stuff
svn path=/trunk/mono/; revision=157134
Miguel de Icaza [Tue, 11 May 2010 14:49:26 +0000 (14:49 -0000)]
2010-05-11 Miguel de Icaza <miguel@novell.com>
* console-unix.c: Signal handlers now save and restore errno. We
have never had a bug report about this, ioctl does change errno.
Hide the unused method.
Remove internal declarations from public headers.
Document what the signal handler is doing
svn path=/trunk/mono/; revision=157132
Miguel de Icaza [Tue, 11 May 2010 14:48:56 +0000 (14:48 -0000)]
2010-05-11 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_alloc): New helper function to centralize memory allocation
for classes, allocates either from the image mempool or from the heap.
* class.c: Use mono_class_alloc to allocate memory owned by classes.
* metadata.c (free_generic_class_dependents): Free more items belonging to
generic classes.
svn path=/trunk/mono/; revision=157130
Rodrigo Kumpera [Tue, 11 May 2010 14:26:38 +0000 (14:26 -0000)]
2010-05-11 Rodrigo Kumpera <rkumpera@novell.com>
* sgen-gc.c (mono_gc_clear_domain): Both ephemerons
and dislinks must be processed before LOS since they
could end up with pointers to memory returned to the
OS.
svn path=/trunk/mono/; revision=157129
Carlos Alberto Cortez [Tue, 11 May 2010 11:59:08 +0000 (11:59 -0000)]
2010-05-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ScrollableControl.cs: It seems .Net is creating DockPadding lazyly,
which means that *any* padding for children controls is not applied
*until* DockPadding is accesed using its getter.
* FlowLayoutPanel.cs:
* TableLayoutPanel.cs:
* Form.cs: These children classes need to have the DockPadding
property available *always*, so create it for them in their respective
constructors.
Fixes #599506.
svn path=/trunk/mcs/; revision=157115
Marek Safar [Tue, 11 May 2010 10:29:51 +0000 (10:29 -0000)]
New test.
svn path=/trunk/mcs/; revision=157108
Marek Safar [Tue, 11 May 2010 10:29:32 +0000 (10:29 -0000)]
2010-05-11 Marek Safar <marek.safar@gmail.com>
A fix for bug #604640
* namespace.cs: Don't resolve using constraints too early.
svn path=/trunk/mcs/; revision=157107
Marek Safar [Tue, 11 May 2010 09:07:48 +0000 (09:07 -0000)]
new test
svn path=/trunk/mcs/; revision=157102
Marek Safar [Tue, 11 May 2010 09:03:14 +0000 (09:03 -0000)]
2010-05-11 Marek Safar <marek.safar@gmail.com>
A fix for bug #604239
* generic.cs: Copy partial type constraints to partial container.
svn path=/trunk/mcs/; revision=157101
Atsushi Eno [Tue, 11 May 2010 06:06:12 +0000 (06:06 -0000)]
2010-05-11 Atsushi Enomoto <atsushi@ximian.com>
* Makefile.am : do not try to build test on windows (fails).
* src/glib.h : fix mingw build breakage; do not include unistd.h.
svn path=/trunk/mono/; revision=157089
Zoltan Varga [Tue, 11 May 2010 00:27:38 +0000 (00:27 -0000)]
2010-05-11 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_plt): Don't align the plt to a pagesize on x86, it is
no longer needed.
svn path=/trunk/mono/; revision=157081
Zoltan Varga [Mon, 10 May 2010 22:07:12 +0000 (22:07 -0000)]
2010-05-11 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_alloc): New helper function to centralize memory allocation
for classes, allocates either from the image mempool or from the heap.
* class.c: Use mono_class_alloc to allocate memory owned by classes.
* metadata.c (free_generic_class_dependents): Free more items belonging to
generic classes.
svn path=/trunk/mono/; revision=157074
Jonathan Pobst [Mon, 10 May 2010 20:27:24 +0000 (20:27 -0000)]
Fix some warnings and typos to fix the windows build.
svn path=/trunk/mono/; revision=157068
Sebastien Pouliot [Mon, 10 May 2010 20:16:59 +0000 (20:16 -0000)]
In System.Security.Cryptography:
Allow parts required to enable SSL to be built with
In .:
2010-05-10 Sebastien Pouliot <sebastien@ximian.com>
* moonlight_bootstrap_System.dll.sources: Minimal build for
bootstrap. Does not depend on corlib's internals
* moonlight_raw_System.dll.sources: Full raw (pre-tuned) build
for Moonlight - includes SSL code
* moonlight_shared_System.dll.sources: New. Parts that are both
needed for bootstrap and raw builds
svn path=/trunk/mcs/; revision=157066
Sebastien Pouliot [Mon, 10 May 2010 20:16:50 +0000 (20:16 -0000)]
2010-05-10 Sebastien Pouliot <sebastien@ximian.com>
* SslStream.cs: Allow Moonlight to build the non-server part
of SslStream
* RemoteCertificateValidationCallback.cs: Adjust visibility for
Moonlight build
svn path=/trunk/mcs/; revision=157065
Sebastien Pouliot [Mon, 10 May 2010 20:16:38 +0000 (20:16 -0000)]
2010-05-10 Sebastien Pouliot <sebastien@ximian.com>
* PublicKey.cs
* X500DistinguishedName.cs:
* X509BasicConstraintsExtension.cs:
* X509Certificate2Collection.cs:
* X509Certificate2.cs:
* X509Certificate2Enumerator.cs:
* X509Chain.cs:
* X509ChainElementCollection.cs:
* X509ChainElement.cs:
* X509ChainElementEnumerator.cs:
* X509ChainPolicy.cs:
* X509ChainStatus.cs:
* X509EnhancedKeyUsageExtension.cs:
* X509ExtensionCollection.cs:
* X509Extension.cs:
* X509ExtensionEnumerator.cs:
* X509KeyUsageExtension.cs:
* X509KeyUsageFlags.cs:
* X509NameType.cs:
* X509Store.cs:
* X509SubjectKeyIdentifierExtension.cs:
Allow parts required to enable SSL to be built with
the moonlight profile.
* X509_2_1_bootstrap.cs: New. Ease bootstrapping 2.1
svn path=/trunk/mcs/; revision=157064
Sebastien Pouliot [Mon, 10 May 2010 20:10:33 +0000 (20:10 -0000)]
2010-05-10 Sebastien Pouliot <sebastien@ximian.com>
* AsnEncodedData.cs:
* OidCollection.cs:
* Oid.cs:
* OidEnumerator.cs:
Allow parts required to enable SSL to be builtt with
the moonlight profile.
svn path=/trunk/mcs/; revision=157063
Sebastien Pouliot [Mon, 10 May 2010 20:03:12 +0000 (20:03 -0000)]
2010-05-10 Sebastien Pouliot <sebastien@ximian.com>
* TlsClientCertificateVerify.cs: Let it compile for Moonlight -
where the file is compiled inside System.dll
svn path=/trunk/mcs/; revision=157061
Sebastien Pouliot [Mon, 10 May 2010 20:01:51 +0000 (20:01 -0000)]
2010-05-10 Sebastien Pouliot <sebastien@ximian.com>
* CipherSuite.cs:
* DebugHelper.cs:
* RecordProtocol.cs:
* SslClientStream.cs:
Let them compile for Moonlight (where the files are
compiled inside System.dll)
svn path=/trunk/mcs/; revision=157060
Sebastien Pouliot [Mon, 10 May 2010 19:59:30 +0000 (19:59 -0000)]
2010-05-10 Sebastien Pouliot <sebastien@ximian.com>
* ExtendedKeyUsageExtension.cs:
* NetscapeCertTypeExtension.cs:
* SubjectAltNameExtension.cs:
Keep them public for Moonlight. Other types in other
assemblies needs it and the linker will eventually
internalize everything.
svn path=/trunk/mcs/; revision=157059
Sebastien Pouliot [Mon, 10 May 2010 19:58:03 +0000 (19:58 -0000)]
2010-05-10 Sebastien Pouliot <sebastien@ximian.com>
* ChallengeResponse.cs: Let it compile for Moonlight (where the
file is compiled inside System.dll)
svn path=/trunk/mcs/; revision=157058
Sebastien Pouliot [Mon, 10 May 2010 19:54:05 +0000 (19:54 -0000)]
2010-05-10 Sebastien Pouliot <sebastien@ximian.com>
* X509CertificateCollection.cs:
* X509Certificate.cs:
* X509Extension.cs:
* X509Extensions.cs:
Keep them public for Moonlight. Other types in other
assemblies needs it and the linker will eventually
internalize everything.
svn path=/trunk/mcs/; revision=157057
Sebastien Pouliot [Mon, 10 May 2010 19:52:30 +0000 (19:52 -0000)]
2010-05-10 Sebastien Pouliot <sebastien@ximian.com>
* ASN1.cs: Keep it public for Moonlight. Other types in other
assemblies needs it and the linker will eventually internalize
everything.
svn path=/trunk/mcs/; revision=157056
Sebastien Pouliot [Mon, 10 May 2010 19:50:31 +0000 (19:50 -0000)]
2010-05-10 Sebastien Pouliot <sebastien@ximian.com>
* DES.cs:
* DESCryptoServiceProvider.cs:
* RC2.cs:
* RC2CryptoServiceProvider.cs:
* TripleDES.cs:
* TripleDESCryptoServiceProvider.cs:
Remove !MOONLIGHT check since we need those for SSL
svn path=/trunk/mcs/; revision=157053
Miguel de Icaza [Mon, 10 May 2010 18:24:38 +0000 (18:24 -0000)]
2010-05-10 Miguel de Icaza <miguel@novell.com>
* gfile-win32.c: Port this to use the Win32 APIs to get this
building with Cygwin.
svn path=/trunk/mono/; revision=157044
Marek Safar [Mon, 10 May 2010 11:26:27 +0000 (11:26 -0000)]
New tests.
svn path=/trunk/mcs/; revision=157009
Marek Safar [Mon, 10 May 2010 11:15:45 +0000 (11:15 -0000)]
2010-05-10 Marek Safar <marek.safar@gmail.com>
A fix for bug #557210
* import.cs: Relax underlying enum field rules.
svn path=/trunk/mcs/; revision=157008
Marek Safar [Mon, 10 May 2010 11:13:59 +0000 (11:13 -0000)]
2010-05-10 Marek Safar <marek.safar@gmail.com>
A fix for bug #603476
* property.cs: Implement IParametersMember for indexer accessors.
svn path=/trunk/mcs/; revision=157007
Marek Safar [Mon, 10 May 2010 11:12:12 +0000 (11:12 -0000)]
Print more error details
svn path=/trunk/mcs/; revision=157005
Marek Safar [Mon, 10 May 2010 10:11:08 +0000 (10:11 -0000)]
Hide exception behind error message
svn path=/trunk/mcs/; revision=156999
Carlos Alberto Cortez [Mon, 10 May 2010 05:06:12 +0000 (05:06 -0000)]
2010-05-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: Properly adjust SmallChange and LargeChange values for
our scrollbars depending on the view. Also, update the maximum allowed
value when setting the values from SetScrollValue to use the already
available information contained within them.
Fixes the remaining bits of #543785.
svn path=/trunk/mcs/; revision=156985
Zoltan Varga [Mon, 10 May 2010 02:31:53 +0000 (02:31 -0000)]
2010-05-10 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (insert_breakpoint): Print a more descriptive error message
if a breakpoint cannot be inserted.
svn path=/trunk/mono/; revision=156983
Zoltan Varga [Mon, 10 May 2010 01:45:59 +0000 (01:45 -0000)]
2010-05-10 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_reflection_method_get_handle): Handle MonoGenericMethod
as well. Fixes #604054.
svn path=/trunk/mono/; revision=156981
Daniel Nauck [Sat, 8 May 2010 20:44:52 +0000 (20:44 -0000)]
2010-05-08 Daniel Nauck <dna@mono-project.de>
* csharp.sln: enable build for jay project in Debug|Win32 configuration.
svn path=/trunk/mcs/; revision=156969
Daniel Nauck [Sat, 8 May 2010 19:12:35 +0000 (19:12 -0000)]
2010-05-08 Daniel Nauck <dna@mono-project.de>
* csharp.sln: add jay project as build dependency to Mono.CSharp project.
svn path=/trunk/mcs/; revision=156968
Daniel Nauck [Sat, 8 May 2010 18:40:37 +0000 (18:40 -0000)]
2010-05-08 Daniel Nauck <dna@mono-project.de>
* Mono.CSharp.csproj: add double quotes around path directives
in the prebuild event for jay to support
compile locations with spaces in path.
svn path=/trunk/mcs/; revision=156967
Rodrigo Kumpera [Fri, 7 May 2010 23:24:16 +0000 (23:24 -0000)]
2010-05-07 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: MS doesn't mind duplicates in the
typeref table. Move it to full verification.
Fixes #600508.
svn path=/trunk/mono/; revision=156948
Rodrigo Kumpera [Fri, 7 May 2010 23:24:08 +0000 (23:24 -0000)]
2010-05-07 Rodrigo Kumpera <rkumpera@novell.com>
* image.c (do_mono_image_load): Report verification
errors when loading an image fails.
svn path=/trunk/mono/; revision=156947
Rodrigo Kumpera [Fri, 7 May 2010 23:24:00 +0000 (23:24 -0000)]
2010-05-07 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c (mono_type_get_object): Remove chunk of code
no longer in use.
svn path=/trunk/mono/; revision=156946
Marek Habersack [Fri, 7 May 2010 23:04:51 +0000 (23:04 -0000)]
2010-05-07 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs:
Implemented 4.0 methods GetObjectFactory, GetCachedBuildDependencySet and properties
BatchCompilationEnabled, TargetFramework
svn path=/trunk/mcs/; revision=156945
Marek Habersack [Fri, 7 May 2010 23:04:40 +0000 (23:04 -0000)]
2010-05-07 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs:
Implemented 4.0 method AddReferencedAssembly.
svn path=/trunk/mcs/; revision=156944
Marek Habersack [Fri, 7 May 2010 23:04:30 +0000 (23:04 -0000)]
This test is for 4.0+ only
svn path=/trunk/mcs/; revision=156943
Marek Habersack [Fri, 7 May 2010 23:04:20 +0000 (23:04 -0000)]
2010-05-07 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs:
Implemented 4.0 method GetGlobalAsaxType.
svn path=/trunk/mcs/; revision=156942
Marek Habersack [Fri, 7 May 2010 23:04:10 +0000 (23:04 -0000)]
2010-05-07 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: implemented 4.0 methods {Create,Read}CacheFile.
Fixed signature of the GetVirtualPathDependencies method.
2010-05-07 Marek Habersack <mhabersack@novell.com>
* BuildManagerCacheFiles.cs: added - tests for
BuildManager.{Create,Read}CacheFile
svn path=/trunk/mcs/; revision=156941
Marek Habersack [Fri, 7 May 2010 23:03:59 +0000 (23:03 -0000)]
Updated tests to match recent 4.0 changes
svn path=/trunk/mcs/; revision=156940
Marek Habersack [Fri, 7 May 2010 23:03:49 +0000 (23:03 -0000)]
2010-05-06 Marek Habersack <mhabersack@novell.com>
* PreApplicationStartMethodAttribute.cs: added. New 4.0 type.
svn path=/trunk/mcs/; revision=156939
Marek Habersack [Fri, 7 May 2010 23:03:38 +0000 (23:03 -0000)]
2010-05-06 Marek Habersack <mhabersack@novell.com>
* HttpUtility.cs: HtmlEncode, UrlEncode changes for 4.0
Implemented JavaScriptStringEncode for 4.0
svn path=/trunk/mcs/; revision=156938
Marek Habersack [Fri, 7 May 2010 23:03:27 +0000 (23:03 -0000)]
2010-05-06 Marek Habersack <mhabersack@novell.com>
* HttpServerUtility.cs: added TransferRequest methods.
svn path=/trunk/mcs/; revision=156937
Marek Habersack [Fri, 7 May 2010 23:03:17 +0000 (23:03 -0000)]
2010-05-06 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs: added AspClientScriptPhysicalPath,
AspClientScriptVirtualPath, UsingIntegratedPipeline properties and
the GetNamedPermissionSet method.
svn path=/trunk/mcs/; revision=156936
Marek Habersack [Fri, 7 May 2010 23:03:06 +0000 (23:03 -0000)]
2010-05-06 Marek Habersack <mhabersack@novell.com>
* HttpResponseWrapper.cs: implemented RedirectPermantent,
RemoveOutputCacheItem methods.
Implemented the 3 argument TransmitFile method.
* HttpResponseBase.cs: implemented RedirectPermanet,
RedirectToRoute, RedirectToRoutePermanent and
RemoveOutputCacheItem 4.0 methods.
svn path=/trunk/mcs/; revision=156935
Marek Habersack [Fri, 7 May 2010 23:02:56 +0000 (23:02 -0000)]
2010-05-06 Marek Habersack <mhabersack@novell.com>
* HttpResponse.cs:
Output property no longer lazily creates a writer object - it's
created in the internal constructors. If a user sets it to null,
it remains null for good or bad.
Added Output setter for 4.0+
svn path=/trunk/mcs/; revision=156934
Marek Habersack [Fri, 7 May 2010 23:02:46 +0000 (23:02 -0000)]
2010-05-06 Marek Habersack <mhabersack@novell.com>
* HttpResponse.cs: implemented the following 4.0 methods:
RedirectPermanent, RedirectToRoute, RedirectToRoutePermanent and
RemoveOutputCacheItem.
2010-05-06 Marek Habersack <mhabersack@novell.com>
* RouteCollection.cs: GetVirtualPath throws ArgumentException
when named route is not found in the collection.
2010-05-06 Marek Habersack <mhabersack@novell.com>
* OutputCacheModule.cs: added a 2.0 internal property to return
the internal provider used in this profile.
* OutputCache.cs: added internal RemoveFromProvider method to
remove items from the indicated provider.
svn path=/trunk/mcs/; revision=156933
Marek Habersack [Fri, 7 May 2010 23:02:35 +0000 (23:02 -0000)]
2010-05-05 Marek Habersack <mhabersack@novell.com>
* HttpRequestWrapper.cs: added 4.0 properties
HttpChannelBinding and RequestContext
svn path=/trunk/mcs/; revision=156932
Marek Habersack [Fri, 7 May 2010 23:02:25 +0000 (23:02 -0000)]
2010-05-05 Marek Habersack <mhabersack@novell.com>
* HttpRequestBase.cs: added 4.0 properties HttpChannelBinding and
RequestContext
svn path=/trunk/mcs/; revision=156931
Marek Habersack [Fri, 7 May 2010 23:02:15 +0000 (23:02 -0000)]
2010-05-05 Marek Habersack <mhabersack@novell.com>
* HttpRequestBase.cs: added 4.0 property HttpChannelBinding
svn path=/trunk/mcs/; revision=156930
Marek Habersack [Fri, 7 May 2010 23:02:05 +0000 (23:02 -0000)]
2010-05-05 Marek Habersack <mhabersack@novell.com>
* HttpRequest.cs: implemented new 4.0 property - RequestContext
svn path=/trunk/mcs/; revision=156929
Marek Habersack [Fri, 7 May 2010 23:00:28 +0000 (23:00 -0000)]
2010-05-08 Marek Habersack <mhabersack@novell.com>
* Path.cs: vararg overload of Combine now correctly concatenates
segments.
The 3 and 4 argument overloads of Combine check whether the passed
segments are null or not.
2010-05-08 Marek Habersack <mhabersack@novell.com>
* PathTest.cs: added tests for the 4.0 Combine overloads.
svn path=/trunk/mcs/; revision=156928
Zoltan Varga [Fri, 7 May 2010 22:53:28 +0000 (22:53 -0000)]
2010-05-08 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_and_reloc_code): Fix a warning.
svn path=/trunk/mono/; revision=156927
Rodrigo Kumpera [Fri, 7 May 2010 22:41:43 +0000 (22:41 -0000)]
2010-05-07 Rodrigo Kumpera <rkumpera@novell.com>
* icall-def.h
* icall.c: Delete some unused icalls.
svn path=/trunk/mono/; revision=156926
Rodrigo Kumpera [Fri, 7 May 2010 22:20:13 +0000 (22:20 -0000)]
2010-05-07 Rodrigo Kumpera <rkumpera@novell.com>
* appdomain.c (mono_domain_has_type_resolve): Check for
NULL domain objects to make pedump happy.
* object.c (mono_field_get_value): Assert on NULL object.
It's the caller resposibility to check for this.
* object.c (mono_field_get_value_object): Ditto.
Fixes #601384.
svn path=/trunk/mono/; revision=156924
Andrew Jorgensen [Fri, 7 May 2010 20:56:12 +0000 (20:56 -0000)]
fix remaining rpm errors and remove glib2-devel dep (we use eglib now)
svn path=/trunk/mono/; revision=156923
Rodrigo Kumpera [Fri, 7 May 2010 20:40:42 +0000 (20:40 -0000)]
2010-05-07 Rodrigo Kumpera <rkumpera@novell.com>
* icall.c (ves_icall_type_is_subtype_of): Non iface subtype
checks can avoid doing a mono_class_init.
* icall.c: Remove mono_class_init from a bunch of icalls that
don't need it.
Hopefully we're now lazy enough to fix most victims of #601431.
svn path=/trunk/mono/; revision=156922
Zoltan Varga [Fri, 7 May 2010 20:36:09 +0000 (20:36 -0000)]
2010-05-07 Zoltan Varga <vargaz@gmail.com>
* mono-2.pc (Requires): Remove glib dependencies.
svn path=/trunk/mono/; revision=156921
Andrew Jorgensen [Fri, 7 May 2010 20:32:57 +0000 (20:32 -0000)]
Fix some compiler warning that SUSE takes seriously.
svn path=/trunk/mono/; revision=156920