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
Zoltan Varga [Fri, 7 May 2010 20:06:16 +0000 (20:06 -0000)]
2010-05-07 Zoltan Varga <vargaz@gmail.com>
* VirtualMachine.cs (ErrorHandler): Convert ABSENT_INFORMATION to
AbsentInformationException.
* AbsentInformationException.cs: New file.
svn path=/trunk/mcs/; revision=156916
Zoltan Varga [Fri, 7 May 2010 20:04:55 +0000 (20:04 -0000)]
2010-05-07 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (frame_commands): Return an error instead of asserting if
no JIT info is found for the method.
svn path=/trunk/mono/; revision=156914
Mark Probst [Fri, 7 May 2010 19:51:04 +0000 (19:51 -0000)]
2010-05-07 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Remove REMSET_ROOT_LOCATION.
svn path=/trunk/mono/; revision=156912
Mark Probst [Fri, 7 May 2010 19:49:44 +0000 (19:49 -0000)]
2010-05-07 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Remove unnecessary checks in domain clearing code.
svn path=/trunk/mono/; revision=156911
Marek Habersack [Fri, 7 May 2010 16:11:18 +0000 (16:11 -0000)]
2010-05-07 Marek Habersack <mhabersack@novell.com>
* culture-info-tables.h: updated to include en-TT culture. Fixes
bug #594035
2010-05-07 Marek Habersack <mhabersack@novell.com>
* Makefile.am (lang-data, locale-data): updated URLs for the icu
tarballs - they now live on go-mono.com
svn path=/trunk/mono/; revision=156903
Alan McGovern [Fri, 7 May 2010 09:31:56 +0000 (09:31 -0000)]
2010-05-07 Alan McGovern <amcgovern@novell.com>
* Mono.Math/BigInteger.cs: If the BigInteger is instantiated with a
zero length array, replace it with an array of length 1 so we don't
hit inexplicable IndexOutOfRange exceptions later on. Fixes #556533.
svn path=/trunk/mcs/; revision=156878
Ankit Jain [Fri, 7 May 2010 07:40:53 +0000 (07:40 -0000)]
Fix bug #599454.
* xbuild/*/Microsoft.Common.targets (PrepareForBuild): Create the
dir for the documentation file.
svn path=/trunk/mcs/; revision=156875
Rodrigo Kumpera [Fri, 7 May 2010 01:00:15 +0000 (01:00 -0000)]
2010-05-06 Rodrigo Kumpera <rkumpera@novell.com>
Move mono_class_init from mono_type_get_object to icalls.
This causes massive memory savings for Assembly::GetTypes () and
make it fail a lot less due to missing dependencies.
This is a conservative, naive change as it doesn't remove some
mono_class_init from places that might not need them. Carefull
review of those should follow.
* reflection.c (mono_type_get_object): Don't mono_class_init the
returning type.
* reflection.c:
* cominterop.c:
* icall.c:
* marshal.c: Call mono_class_init in functions receiving a MonoType
object.
First step into fixing #601431.
svn path=/trunk/mono/; revision=156867
Marek Safar [Fri, 7 May 2010 00:20:25 +0000 (00:20 -0000)]
New test.
svn path=/trunk/mcs/; revision=156866
Marek Safar [Fri, 7 May 2010 00:19:24 +0000 (00:19 -0000)]
2010-05-07 Marek Safar <marek.safar@gmail.com>
A fix for bug #601141
* class.cs: Update all partial modifiers.
svn path=/trunk/mcs/; revision=156865
Geoff Norton [Thu, 6 May 2010 23:57:43 +0000 (23:57 -0000)]
2010-04-06 Geoff Norton <gnorton@novell.com>
* OSX509Certificates.cs: Fix a crash when doing multiple certificate calls
Fix a rare but possible leak.
svn path=/trunk/mcs/; revision=156864
Rodrigo Kumpera [Thu, 6 May 2010 20:37:56 +0000 (20:37 -0000)]
2010-05-06 Rodrigo Kumpera <rkumpera@novell.com>
* ConditionalWeakTable.cs: Discard old broken version. New
version user proper runtime support. Currently it performs
linear search over the keys, which is dog slow but it's a
good start.
svn path=/trunk/mcs/; revision=156851
Rodrigo Kumpera [Thu, 6 May 2010 20:37:47 +0000 (20:37 -0000)]
2010-05-06 Rodrigo Kumpera <rkumpera@novell.com>
* GC.cs: Add new register_ephemeron_array icall.
svn path=/trunk/mcs/; revision=156850
Rodrigo Kumpera [Thu, 6 May 2010 20:16:36 +0000 (20:16 -0000)]
2010-05-06 Rodrigo Kumpera <rkumpera@novell.com>
* gc-internal.h: Add new functions required for ephemeron support.
* gc.c: Implement ves_icall_System_GC_register_ephemeron_array.
* icall-def.h: Add GC::register_ephemeron_array.
* object.c (compute_class_bitmap): sys.rt.cs.Ephemeronis an opaque type
under sgen. Its fields must not be marked.
* sgen-gc.c (mono_gc_clear_domain): Call cleanup function for ephemerons.
* sgen-gc.c (finish_gray_stack): Mark all reachable ephemerons before
handling finalizable objects. Clean dead ones after all finalizable
handling.
* sgen-gc.c (dump_heap): Add new kind of internal memory.
* sgen-gc.c (null_ephemerons_for_domain): Remove from the list ephemeron
arrays from the dead domain.
* sgen-gc.c (clear_unreachable_ephemerons): Clear dead ephemerons entries.
* sgen-gc.c (mark_ephemerons_in_range): Mark/Copy all ephemeron values
whose keys are reachable.
* sgen-gc.c (mono_gc_ephemeron_array_add): Register the array into the
list of live ephemeron arrays.
svn path=/trunk/mono/; revision=156847
Andrew Jorgensen [Thu, 6 May 2010 20:07:51 +0000 (20:07 -0000)]
first stage in spec file overhaul: make it at least work and fix the libmono devel thing
svn path=/trunk/mono/; revision=156846
Marek Safar [Thu, 6 May 2010 19:07:23 +0000 (19:07 -0000)]
New test.
svn path=/trunk/mcs/; revision=156841
Marek Safar [Thu, 6 May 2010 19:06:33 +0000 (19:06 -0000)]
2010-05-06 Marek Safar <marek.safar@gmail.com>
A fix for bug #601708
* method.cs, membercache.cs: Destructors cannot be hidden.
svn path=/trunk/mcs/; revision=156840
Marek Safar [Thu, 6 May 2010 17:59:46 +0000 (17:59 -0000)]
New test.
svn path=/trunk/mcs/; revision=156834
Marek Safar [Thu, 6 May 2010 17:55:39 +0000 (17:55 -0000)]
2010-05-06 Marek Safar <marek.safar@gmail.com>
A fix for bug #602551
* class.cs: Resursive reference of type definition is allowed.
svn path=/trunk/mcs/; revision=156832
Marek Safar [Thu, 6 May 2010 17:28:23 +0000 (17:28 -0000)]
New test.
svn path=/trunk/mcs/; revision=156830
Marek Safar [Thu, 6 May 2010 17:27:53 +0000 (17:27 -0000)]
2010-05-06 Marek Safar <marek.safar@gmail.com>
* anonymous.cs: Mutate cached storey instance types too.
svn path=/trunk/mcs/; revision=156829
Alan McGovern [Thu, 6 May 2010 17:23:01 +0000 (17:23 -0000)]
2010-05-06 Alan McGovern <amcgovern@novell.com>
* src/gmarkup.c: Fix a parser issue when skipping the xml declaration.
svn path=/trunk/mono/; revision=156824
Marek Safar [Thu, 6 May 2010 17:22:48 +0000 (17:22 -0000)]
This is correct version.
svn path=/trunk/mcs/; revision=156823
Jonathan Chambers [Thu, 6 May 2010 16:09:42 +0000 (16:09 -0000)]
2010-05-06 Jonathan Chambers <joncham@gmail.com>
* gfile-win32.c: Use __stat64 instead of _stat64.
svn path=/trunk/mono/; revision=156817
Marek Safar [Thu, 6 May 2010 16:03:59 +0000 (16:03 -0000)]
New test.
svn path=/trunk/mcs/; revision=156816
Marek Safar [Thu, 6 May 2010 15:59:19 +0000 (15:59 -0000)]
2010-05-06 Marek Safar <marek.safar@gmail.com>
A fix for bug #602443
* convert.cs: Explicit enum conversion cannot involve user operators
svn path=/trunk/mcs/; revision=156815
Carlos Alberto Cortez [Thu, 6 May 2010 11:04:43 +0000 (11:04 -0000)]
2010-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: When calculating the scrollbars, take into account the
height of the horizontal scrollbar (if visible) to assign the maximum
value for our vertical one.
Fixes #543785.
svn path=/trunk/mcs/; revision=156789
Carlos Alberto Cortez [Thu, 6 May 2010 08:55:57 +0000 (08:55 -0000)]
* TreeNodeCollection.cs: Do some clean up by renaming some of our
local vars in Add and AddSorted, so we have better readibility.
Patch from Thomas Goldstein (stifu@free.fr).
2010-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=156785
Carlos Alberto Cortez [Thu, 6 May 2010 08:27:04 +0000 (08:27 -0000)]
2010-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TreeNodeCollectionTest.cs: New test for the return value of Add with
sorting applied.
Patch from Thomas Goldstein (stifu@free.fr).
svn path=/trunk/mcs/; revision=156784
Carlos Alberto Cortez [Thu, 6 May 2010 08:21:23 +0000 (08:21 -0000)]
* TreeNodeCollection.cs: When adding a sorted node return the correct
position of that node instead of returning the count.
Patch from Thomas Goldstein (stifu@free.fr).
2010-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=156783
Carlos Alberto Cortez [Thu, 6 May 2010 08:02:30 +0000 (08:02 -0000)]
2010-05-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TreeNodeCollection.cs: In SetupNode remove the redundant check,
since we only need to have a valid tree view to call UpdateBelow.
Patch from Thomas Goldstein (stifu@free.fr).
svn path=/trunk/mcs/; revision=156778