Miguel de Icaza [Tue, 1 Jul 2008 18:44:23 +0000 (18:44 -0000)]
Thanks to Kornel, updated the license to reflect the change
svn path=/trunk/mono/; revision=106999
Miguel de Icaza [Tue, 1 Jul 2008 18:43:35 +0000 (18:43 -0000)]
MCS is dual licensed now
svn path=/trunk/mcs/; revision=106998
Gert Driesen [Tue, 1 Jul 2008 18:37:56 +0000 (18:37 -0000)]
* Tds70.cs: Avoid accessing TdsDataColumnCollection indexer.
* Tds.cs: Removed unused method.
* TdsComm.cs: Fixed compiler warning.
svn path=/trunk/mcs/; revision=106997
Zoltan Varga [Tue, 1 Jul 2008 18:03:12 +0000 (18:03 -0000)]
2008-07-01 Zoltan Varga <vargaz@gmail.com>
* Mono.Data.SybaseClient/SybaseDataReader.cs: Fix the build after the TDS changes.
svn path=/trunk/mcs/; revision=106995
Carlos Alberto Cortez [Tue, 1 Jul 2008 17:20:36 +0000 (17:20 -0000)]
2008-07-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItem.cs: Restore the initial value of bounds rect to
Rectangle.Empty, and is this value for Layout detection in virtual
mode. Fixes the tests.
svn path=/trunk/mcs/; revision=106987
Zoltan Varga [Tue, 1 Jul 2008 17:00:00 +0000 (17:00 -0000)]
2008-07-01 Zoltan Varga <vargaz@gmail.com>
* Mono.Data.SybaseClient/SybaseDataReader.cs: Fix the build after the TDS changes.
svn path=/trunk/mcs/; revision=106986
Atsushi Eno [Tue, 1 Jul 2008 13:56:49 +0000 (13:56 -0000)]
2008-07-01 Atsushi Enomoto <atsushi@ximian.com>
* ProtocolImporter.cs, HttpSimpleProtocolImporter.cs,
SoapProtocolImporter.cs : make classes partial in 2.0 profile.
svn path=/trunk/mcs/; revision=106980
Marek Habersack [Tue, 1 Jul 2008 12:33:47 +0000 (12:33 -0000)]
2008-07-01 Marek Habersack <mhabersack@novell.com>
* SqlDataReader.cs: use named properties in TdsDataColumn for the
2.0 profile.
svn path=/trunk/mcs/; revision=106976
Marek Habersack [Tue, 1 Jul 2008 12:32:09 +0000 (12:32 -0000)]
2008-07-01 Marek Habersack <mhabersack@novell.com>
* TdsDataReader.cs: use named properties in TdsDataColumn for the
2.0 profile.
svn path=/trunk/mcs/; revision=106975
Marek Habersack [Tue, 1 Jul 2008 12:30:58 +0000 (12:30 -0000)]
More updates to work started yesterday
svn path=/trunk/mcs/; revision=106974
Marek Safar [Tue, 1 Jul 2008 11:58:46 +0000 (11:58 -0000)]
Updated.
svn path=/trunk/mcs/; revision=106972
Marek Safar [Tue, 1 Jul 2008 11:46:30 +0000 (11:46 -0000)]
2008-07-01 Marek Safar <marek.safar@gmail.com>
* SqlDataReader.cs: Schema key is always a string.
svn path=/trunk/mcs/; revision=106971
Marek Habersack [Tue, 1 Jul 2008 11:18:45 +0000 (11:18 -0000)]
Revert 106966
svn path=/trunk/mcs/; revision=106970
Marek Safar [Tue, 1 Jul 2008 10:50:45 +0000 (10:50 -0000)]
Updated.
svn path=/trunk/mcs/; revision=106969
Marek Safar [Tue, 1 Jul 2008 10:31:30 +0000 (10:31 -0000)]
2008-07-01 Marek Safar <marek.safar@gmail.com>
* ContentDispositionTest.cs: Fixed broken test.
svn path=/trunk/mcs/; revision=106968
Marek Safar [Tue, 1 Jul 2008 09:25:13 +0000 (09:25 -0000)]
2008-07-01 Marek Safar <marek.safar@gmail.com>
* TdsDataColumn.cs: No need for nullables when they are all initialized.
svn path=/trunk/mcs/; revision=106966
Marek Habersack [Tue, 1 Jul 2008 01:56:21 +0000 (01:56 -0000)]
[more work tomorrow]
2008-07-01 Marek Habersack <mhabersack@novell.com>
* TdsDataColumnCollection.cs, Tds50.cs, Tds42.cs, Tds70.cs,
Tds.cs: adjust for changes below.
* TdsDataColumn.cs: use the named properties only in the 2.0
profile. The reason is that Mono.Data.TdsClient.TdsDataReader
needs to know if a property has been set or not. With 2.0 it is
easy to implement using nullable types, with 1.x it would require
using e.g. BitArray to control which field was set, and in
addition extra code would be needed to check whether a field was
set or not. Also, it would clutter the code with #ifdefs all over
the map.
svn path=/trunk/mcs/; revision=106962
Zoltan Varga [Mon, 30 Jun 2008 23:34:53 +0000 (23:34 -0000)]
2008-06-30 Zoltan Varga <vargaz@gmail.com>
* mini.c: Use domain->jit_code_hash_lock for controlling access to
domain->jit_code_hash.
svn path=/trunk/mono/; revision=106949
Zoltan Varga [Mon, 30 Jun 2008 23:33:42 +0000 (23:33 -0000)]
2008-06-30 Zoltan Varga <vargaz@gmail.com>
* domain-internals.h (struct _MonoDomain): Add 'jit_code_hash_lock' field,
which is a low level lock protecting just the 'jit_code_hash' hash table.
* domain.c: Initialize+cleanup jit_code_hash_lock.
svn path=/trunk/mono/; revision=106948
Andreas N [Mon, 30 Jun 2008 23:02:31 +0000 (23:02 -0000)]
2008-06-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* BinaryReader.cs: Fix parameter names
* BinaryWriter.cs: Fix parameter names, fix exceptions
* BufferedStream.cs: Fix parameter names
* Directory.cs: Fix parameter names, fix exceptions, optimize == "" cases
* DirectoryInfo.cs:
* DirectoryNotFoundException.cs:
* FileNotFoundException.cs:
* FileStream.cs: Fix parameter names, fix exceptions
* IOException.cs: Fix parameter names
svn path=/trunk/mcs/; revision=106943
Zoltan Varga [Mon, 30 Jun 2008 22:59:55 +0000 (22:59 -0000)]
2008-06-30 Zoltan Varga <vargaz@gmail.com>
* CapabilitiesResult.cs: Make the RandomRoboBotKeywords array static and compute it
only once.
svn path=/trunk/mcs/; revision=106942
Zoltan Varga [Mon, 30 Jun 2008 22:28:44 +0000 (22:28 -0000)]
2008-06-30 Zoltan Varga <vargaz@gmail.com>
* TdsDataColumn.cs: Do not inherit from Hashtable, add always set properties
as normal properties so code can access them without doing a hashtable lookup.
* Tds.cs Tds42.cs Tds50.cs Tds70.cs: Adapt to the TdsDataColumn changes.
svn path=/trunk/mcs/; revision=106937
Rodrigo Kumpera [Mon, 30 Jun 2008 22:20:44 +0000 (22:20 -0000)]
In .:
2008-06-30 Rodrigo Kumpera <rkumpera@novell.com>
* MethodBase.cs: Fix the 1.0 build.
svn path=/trunk/mcs/; revision=106935
Zoltan Varga [Mon, 30 Jun 2008 22:04:14 +0000 (22:04 -0000)]
2008-06-30 Zoltan Varga <vargaz@gmail.com>
* SqlDataReader.cs: Allocate 'schemaTable' lazily.
(GetSchemaValue): Avoid some hash table lookups
svn path=/trunk/mcs/; revision=106932
Andreas N [Mon, 30 Jun 2008 21:57:30 +0000 (21:57 -0000)]
2008-06-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* ContextMarshalException.cs:
* DllNotFoundException.cs:
* EntryPointNotFoundException.cs:
* FieldAccessException.cs:
* MethodAccessException.cs:
* MissingFieldException.cs:
* PlatformNotSupportedException.cs: Fix parameter names
svn path=/trunk/mcs/; revision=106930
Marek Safar [Mon, 30 Jun 2008 20:02:57 +0000 (20:02 -0000)]
New test.
svn path=/trunk/mcs/; revision=106916
Marek Safar [Mon, 30 Jun 2008 18:31:24 +0000 (18:31 -0000)]
2008-06-30 Marek Safar <marek.safar@gmail.com>
A fix for bug #396987
* expression.cs (NewInitialize): Clear local temporary variable for next run
svn path=/trunk/mcs/; revision=106910
Marek Safar [Mon, 30 Jun 2008 18:21:18 +0000 (18:21 -0000)]
Warnings cleanup.
svn path=/trunk/mcs/; revision=106908
Kornél Pál [Mon, 30 Jun 2008 16:45:14 +0000 (16:45 -0000)]
coree.c (mono_load_coree): Set coree_module_handle global variable onlyafter initialization. coree.h: Make MonoFixupExe internal. Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=106898
Jonathan Pobst [Mon, 30 Jun 2008 15:01:06 +0000 (15:01 -0000)]
2008-06-30 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms.dll.sources: Remove the "new" X11 backend. It
was never finished, is bit-rotted, and will likely never be finished.
2008-06-30 Jonathan Pobst <monkey@jpobst.com>
* XPlatUI.cs: Remove references to "new" X11 backend.
svn path=/trunk/mcs/; revision=106889
Marek Habersack [Mon, 30 Jun 2008 14:11:12 +0000 (14:11 -0000)]
2008-06-30 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: use atomic incrementation for automatic class
name creation to avoid Monitor Enter/Exit.
svn path=/trunk/mcs/; revision=106888
Marek Safar [Mon, 30 Jun 2008 13:51:32 +0000 (13:51 -0000)]
2008-06-30 Marek Safar <marek.safar@gmail.com>
* String.cs: Tweaked hash code methods for better distibution, and speed-up.
svn path=/trunk/mcs/; revision=106887
Marek Habersack [Mon, 30 Jun 2008 13:20:58 +0000 (13:20 -0000)]
2008-06-30 Marek Habersack <mhabersack@novell.com>
* AspGenerator.cs: hush the warnings and fix invalid type
comparison.
* AssemblyBuilder.cs: hush the warnings and add some debugging
CWLs.
* AspParser.cs, AppResourcesCompiler.cs, TemplateBuildProvider.cs,
CachingCompiler.cs, BaseCompiler.cs, TemplateControlCompiler.cs,
SimpleBuildProvider.cs, BuildManager.cs: hush the warnings
2008-06-30 Marek Habersack <mhabersack@novell.com>
* HtmlForm.cs: hush the warnings
2008-06-30 Marek Habersack <mhabersack@novell.com>
* ObjectDataSourceView.cs, Menu.cs, DataList.cs,
CustomValidator.cs: hush the warnings
2008-06-30 Marek Habersack <mhabersack@novell.com>
* MachineKeyRegistryStorage.cs: hush the warnings
2008-06-30 Marek Habersack <mhabersack@novell.com>
* SqliteMembershipProvider.cs, SqliteRoleProvider.cs: remove
unused method
* SqlRoleProvider.cs, AspNetDBSchemaChecker.cs: hush the warnings
2008-06-30 Marek Habersack <mhabersack@novell.com>
* UserControlParser.cs: hush the warnings and remove unnecessary
code.
* ControlCachePolicy.cs, PageParser.cs, ControlBuilder.cs,
TemplateParser.cs, SimpleWebHandlerParser.cs, TemplateControl.cs,
ApplicationFileParser.cs: hush the warnings
* Page.cs: Context is protected internal in .NET 3.5
Initialize encryption IVs before returning the transform.
* Control.cs: Hush the warnings.
2008-06-30 Marek Habersack <mhabersack@novell.com>
* HttpRuntime.cs, HttpApplication.cs: hush the warnings
* HttpContext.cs: Hush the warnings.
2008-06-30 Marek Habersack <mhabersack@novell.com>
* SqliteProfileProvider.cs: remove unused method
2008-06-30 Marek Habersack <mhabersack@novell.com>
* CompilationSection.cs: hush the warnings
svn path=/trunk/mcs/; revision=106886
Marek Safar [Mon, 30 Jun 2008 12:01:06 +0000 (12:01 -0000)]
2008-06-30 Marek Safar <marek.safar@gmail.com>
* platforms/linux.make: Enable mcs optimizations.
svn path=/trunk/mcs/; revision=106882
Marek Safar [Mon, 30 Jun 2008 11:38:02 +0000 (11:38 -0000)]
2008-06-30 Marek Safar <marek.safar@gmail.com>
* ResourceReader.cs: Cache resources enumerator in ResourceReader.
svn path=/trunk/mcs/; revision=106880
Marek Safar [Mon, 30 Jun 2008 10:44:40 +0000 (10:44 -0000)]
2008-06-30 Marek Safar <marek.safar@gmail.com>
* ResourceReader.cs: Sealed ResourceEnumerator.
svn path=/trunk/mcs/; revision=106879
Marek Habersack [Mon, 30 Jun 2008 09:13:44 +0000 (09:13 -0000)]
2008-06-30 Marek Habersack <mhabersack@novell.com>
* Page.cs: Context is protected internal in .NET 3.5
* Control.cs: in 2.0 we should return the context associated with
the current page. In 1.0 we ignore the never set field _context
and keep walking up the parent chain. Also, Context is protected
internal in .NET 3.5
svn path=/trunk/mcs/; revision=106876
Kornél Pál [Mon, 30 Jun 2008 08:32:14 +0000 (08:32 -0000)]
coree.c: Add MonoLoadImage. Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=106875
Marek Habersack [Mon, 30 Jun 2008 08:21:13 +0000 (08:21 -0000)]
2008-06-30 Marek Habersack <mhabersack@novell.com>
* HttpContext.cs: GetGlobalObjectFromFactory caches the
ResourceManager objects now. Patch from Zoltan Varga
<vargaz@gmail.com>, thanks!
The GetGlobalObjectFromFactory caches are thread local to avoid
locking.
GetResourceObject ResourceManager cache is now a thread local
Dictionary to avoid cloning.
svn path=/trunk/mcs/; revision=106874
Alp Toker [Mon, 30 Jun 2008 06:18:30 +0000 (06:18 -0000)]
2008-06-30 Alp Toker <alp@nuanti.com>
* configure.in:
* acinclude.m4: Remove concatenation syntax from doltlibtool to support
old versions of bash and re-enable dolt.
svn path=/trunk/mono/; revision=106873
Zoltan Varga [Mon, 30 Jun 2008 01:17:59 +0000 (01:17 -0000)]
2008-06-29 Zoltan Varga <vargaz@gmail.com>
* MonoCustomAttrs.cs (IsDefined): Avoid calling the .Assembly property in some
cases.
svn path=/trunk/mcs/; revision=106871
Andreas N [Sun, 29 Jun 2008 22:31:26 +0000 (22:31 -0000)]
2008-06-30 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* Char.cs: Fix formatting, rename wrong named param, remove code duplication
svn path=/trunk/mcs/; revision=106864
Miguel de Icaza [Sun, 29 Jun 2008 17:16:16 +0000 (17:16 -0000)]
Update README
svn path=/trunk/mono/; revision=106863
Rodrigo Kumpera [Sun, 29 Jun 2008 15:34:35 +0000 (15:34 -0000)]
In .:
2008-06-26 Rodrigo Kumpera <rkumpera@novell.com>
* icall.c (ves_icall_System_ValueType_Equals): Avoid allocating objects
for any primitive type.
svn path=/trunk/mono/; revision=106861
Rodrigo Kumpera [Sun, 29 Jun 2008 15:18:37 +0000 (15:18 -0000)]
In .:
2008-06-29 Rodrigo Kumpera <rkumpera@novell.com>
* valuetype-equals.cs: Tests for ValueType::Equals for all
primitive numeric types.
svn path=/trunk/mono/; revision=106860
Zoltan Varga [Sun, 29 Jun 2008 05:59:15 +0000 (05:59 -0000)]
2008-06-29 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_array_new_specific): Optimize this and the other allocation
functions a bit.
svn path=/trunk/mono/; revision=106858
Miguel de Icaza [Sun, 29 Jun 2008 05:10:16 +0000 (05:10 -0000)]
Update docs
svn path=/trunk/mono/; revision=106856
Zoltan Varga [Sun, 29 Jun 2008 04:46:48 +0000 (04:46 -0000)]
2008-06-29 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_parse_debug_options): Add 'dont-free-domains' option.
svn path=/trunk/mono/; revision=106855
Zoltan Varga [Sun, 29 Jun 2008 04:46:16 +0000 (04:46 -0000)]
2008-06-29 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_class_create_runtime_vtable): Use typed allocation in other
domains too if mono_dont_free_domains is set.
* domain-internals.h (mono_dont_free_domains): New internal option controlling
whenever to free appdomain data after it has been unloaded.
* domain.c (mono_domain_free): Don't free appdomain data if the option is set.
svn path=/trunk/mono/; revision=106854
Zoltan Varga [Sun, 29 Jun 2008 02:40:31 +0000 (02:40 -0000)]
2008-06-28 Zoltan Varga <vargaz@gmail.com>
* Enum.cs (GetUnderlyingType): Implement this using an icall.
svn path=/trunk/mcs/; revision=106852
Zoltan Varga [Sun, 29 Jun 2008 02:39:19 +0000 (02:39 -0000)]
2008-06-28 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_Enum_get_underlying_type): New icall.
(mono_method_get_equivalent_method): Fix a warning.
svn path=/trunk/mono/; revision=106851
Zoltan Varga [Sun, 29 Jun 2008 02:01:27 +0000 (02:01 -0000)]
2008-06-28 Zoltan Varga <vargaz@gmail.com>
* CompareInfo.cs: Add a cache of SimpleCollator objects.
svn path=/trunk/mcs/; revision=106850
Zoltan Varga [Sun, 29 Jun 2008 01:51:54 +0000 (01:51 -0000)]
2008-06-28 Zoltan Varga <vargaz@gmail.com>
* DataTable.cs (NewRowArray): Avoid using reflection if possible.
svn path=/trunk/mcs/; revision=106849
Zoltan Varga [Sun, 29 Jun 2008 01:50:57 +0000 (01:50 -0000)]
2008-06-28 Zoltan Varga <vargaz@gmail.com>
* Enum.cs (Format): Call IsDefined with inherited=false.
svn path=/trunk/mcs/; revision=106848
Zoltan Varga [Sun, 29 Jun 2008 00:04:37 +0000 (00:04 -0000)]
2008-06-28 Zoltan Varga <vargaz@gmail.com>
* Exception.cs: Fix a warning.
svn path=/trunk/mcs/; revision=106844
Miguel de Icaza [Sat, 28 Jun 2008 21:13:44 +0000 (21:13 -0000)]
Document more stuff, fix .Sp macro
svn path=/trunk/mono/; revision=106843
Miguel de Icaza [Sat, 28 Jun 2008 20:53:19 +0000 (20:53 -0000)]
Document an undocumented interface based on the commit message
svn path=/trunk/mcs/; revision=106842
Massimiliano Mantione [Sat, 28 Jun 2008 20:21:44 +0000 (20:21 -0000)]
When offloading flushing to the writer thread, first check that it still exists.
svn path=/trunk/mono/; revision=106841
Sebastien Pouliot [Sat, 28 Jun 2008 19:22:09 +0000 (19:22 -0000)]
2008-06-28 Sebastien Pouliot <sebastien@ximian.com>
* XmlDecryptionTransform.cs,
* XmlDsigC14NTransform.cs,
* XmlDsigEnvelopedSignatureTransform.cs,
* XmlDsigExcC14NTransform.cs,
* XmlDsigXsltTransform.cs: Replace Type.GetType("x") into typeof(x)
[Found using Gendarme AvoidTypeGetTypeForConstantStringsRule]
svn path=/trunk/mcs/; revision=106840
Sebastien Pouliot [Sat, 28 Jun 2008 18:10:41 +0000 (18:10 -0000)]
2008-06-28 Sebastien Pouliot <sebastien@ximian.com>
* Mono.Cecil.dll.sources
* Mono.Xml/MiniParser.cs:
Remove MiniParser as it is no more required (replaced by
SmallXmlParser) and save a few KB in the binary size
svn path=/trunk/mcs/; revision=106839
Sebastien Pouliot [Sat, 28 Jun 2008 18:08:33 +0000 (18:08 -0000)]
Seal non-visible classes.
svn path=/trunk/mcs/; revision=106838
Ivan Zlatev [Sat, 28 Jun 2008 17:33:27 +0000 (17:33 -0000)]
2008-06-28 Ivan N. Zlatev <contact@i-nz.net>
* Control.cs: Add an internal virtual OnDragDropEnd method
to allow controls such as ListBox, which depend on a sequence
of MouseDown+Move+End events, to handle the lack of a MouseUp
when a DnD operation is started in MouseDown.
* ListBox.cs: If a DnD operation is started in MouseDown we won't
get a MouseUp, so reset our state whenever a DnD operation ends.
svn path=/trunk/mcs/; revision=106835
Ivan Zlatev [Sat, 28 Jun 2008 17:19:54 +0000 (17:19 -0000)]
2008-06-28 Ivan N. Zlatev <contact@i-nz.net>
* CodeDomDesignerLoader.cs: Add the supplied TypeResolutionService
to the service container if one isn't present already.
svn path=/trunk/mcs/; revision=106834
Sebastien Pouliot [Sat, 28 Jun 2008 17:19:40 +0000 (17:19 -0000)]
Seal non-visible classes.
svn path=/trunk/mcs/; revision=106833
Ivan Zlatev [Sat, 28 Jun 2008 17:19:17 +0000 (17:19 -0000)]
2008-06-28 Ivan N. Zlatev <contact@i-nz.net>
* DesignSurfaceManager.cs: Set the ActiveSurface only if it
differs from the current one.
svn path=/trunk/mcs/; revision=106832
Sebastien Pouliot [Sat, 28 Jun 2008 17:18:40 +0000 (17:18 -0000)]
Seal non-visible classes.
svn path=/trunk/mcs/; revision=106831
Ivan Zlatev [Sat, 28 Jun 2008 17:18:01 +0000 (17:18 -0000)]
2008-06-28 Ivan N. Zlatev <contact@i-nz.net>
* DesignerHost.cs: Surpress remove events when unloading.
svn path=/trunk/mcs/; revision=106830
Sebastien Pouliot [Sat, 28 Jun 2008 17:17:11 +0000 (17:17 -0000)]
Seal non-visible classes.
svn path=/trunk/mcs/; revision=106829
Sebastien Pouliot [Sat, 28 Jun 2008 17:15:21 +0000 (17:15 -0000)]
Seal non-visible classes.
svn path=/trunk/mcs/; revision=106827
Sebastien Pouliot [Sat, 28 Jun 2008 17:13:29 +0000 (17:13 -0000)]
Seal non-visible classes.
svn path=/trunk/mcs/; revision=106826
Rodrigo Kumpera [Sat, 28 Jun 2008 17:10:47 +0000 (17:10 -0000)]
In .:
2008-06-28 Rodrigo Kumpera <rkumpera@novell.com>
* ResourceReader.cs (LoadResourceValues): Kill ununsed local.
* ResourceReader.cs (CreateResourceInfo): Don't return a big
struct on stack, pass it as a reference argument.
svn path=/trunk/mcs/; revision=106825
Sebastien Pouliot [Sat, 28 Jun 2008 16:49:27 +0000 (16:49 -0000)]
Mono.Cecil/AssemblyNameReference.cs: Use String.Length > 0 instead of comparing to String.Empty
svn path=/trunk/mcs/; revision=106822
Sebastien Pouliot [Sat, 28 Jun 2008 16:30:45 +0000 (16:30 -0000)]
Mono.Cecil.Metadata/MetadataToken.cs: Add a private Equals(MetadataToken) method. This allows the existing operators (== and !=) to avoid boxing, since they will prefer it to the Equals(object) method.
svn path=/trunk/mcs/; revision=106821
Massimiliano Mantione [Sat, 28 Jun 2008 16:15:35 +0000 (16:15 -0000)]
Offload more flushing to the writer thread, and fix the shutdown sequence.
svn path=/trunk/mono/; revision=106820
Sebastien Pouliot [Sat, 28 Jun 2008 16:04:10 +0000 (16:04 -0000)]
Mono.Cecil.Cil/GuidAttribute.cs: Seal attribute class
svn path=/trunk/mcs/; revision=106818
Sebastien Pouliot [Sat, 28 Jun 2008 15:52:00 +0000 (15:52 -0000)]
Mono.Cecil.Signatures/SignatureWriter.cs: Fix typo.
svn path=/trunk/mcs/; revision=106817
Zoltan Varga [Sat, 28 Jun 2008 04:15:52 +0000 (04:15 -0000)]
2008-06-28 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_message_init): Avoid looking up array types for each call.
svn path=/trunk/mono/; revision=106812
Zoltan Varga [Sat, 28 Jun 2008 03:49:27 +0000 (03:49 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_message_invoke): Avoid looking up the object[] type for each
call.
svn path=/trunk/mono/; revision=106811
Zoltan Varga [Sat, 28 Jun 2008 03:35:26 +0000 (03:35 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* Control.cs (ResolveAdapter): Avoid calling the Context property getter
multiple times.
svn path=/trunk/mcs/; revision=106809
Rodrigo Kumpera [Sat, 28 Jun 2008 03:18:14 +0000 (03:18 -0000)]
In .:
2008-06-27 Rodrigo Kumpera <rkumpera@novell.com>
* ResourceReader.cs: Avoid an extra array copy for the resource arrays.
svn path=/trunk/mcs/; revision=106808
Massimiliano Mantione [Sat, 28 Jun 2008 03:07:21 +0000 (03:07 -0000)]
Made so that at appdomain unload the buffers are flushed by the profiler worker thread (which we know is registered with the runtime).
svn path=/trunk/mono/; revision=106807
Ivan Zlatev [Sat, 28 Jun 2008 00:38:05 +0000 (00:38 -0000)]
2008-06-28 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGrid.cs: Clear the root griditem first thing when
new object/s is/are selected. Fixes some rare cases where
the View will get a paint request and won't know that the
grid is in the process of repopulating.
svn path=/trunk/mcs/; revision=106791
Atsushi Eno [Sat, 28 Jun 2008 00:07:56 +0000 (00:07 -0000)]
2008-06-27 Atsushi Enomoto <atsushi@ximian.com>
* ConfigurationErrorsExceptionTest.cs : actually
remove ignored tests.
svn path=/trunk/mcs/; revision=106790
Zoltan Varga [Fri, 27 Jun 2008 23:51:28 +0000 (23:51 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_ValueType_Equals): Optimize the comparison of enums
even more.
svn path=/trunk/mono/; revision=106789
Zoltan Varga [Fri, 27 Jun 2008 23:23:39 +0000 (23:23 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* ResourceManager.cs: Add a negative cache for culture->resource set mappings
which caches lookup failures.
* ResourceSet.cs (GetObjectInternal): Search the hash table in the ignoreCase
case too.
svn path=/trunk/mcs/; revision=106787
Rodrigo Kumpera [Fri, 27 Jun 2008 22:11:22 +0000 (22:11 -0000)]
In .:
2008-06-27 Rodrigo Kumpera <rkumpera@novell.com>
* CodePointIndexer.cs : Make TableRange a struct instead
of a class so we save 2 memory ops per ToIndex loop.
svn path=/trunk/mcs/; revision=106782
Zoltan Varga [Fri, 27 Jun 2008 21:44:47 +0000 (21:44 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* Enum.cs (FindName): Avoid calling String.Compare for the !ignoreCase case.
svn path=/trunk/mcs/; revision=106781
Rodrigo Kumpera [Fri, 27 Jun 2008 21:12:10 +0000 (21:12 -0000)]
In .:
2008-06-27 Rodrigo Kumpera <rkumpera@novell.com>
* Exception.cs: Build method traces using the
stack trace StringBuilder.
svn path=/trunk/mcs/; revision=106779
Atsushi Eno [Fri, 27 Jun 2008 21:03:18 +0000 (21:03 -0000)]
2008-06-27 Atsushi Enomoto <atsushi@ximian.com>
* SectionInfo.cs, Configuration.cs, ConfigInfo.cs,
SectionGroupInfo.cs :
eliminate XmlTextReader, first stage.
svn path=/trunk/mcs/; revision=106778
Atsushi Eno [Fri, 27 Jun 2008 20:56:26 +0000 (20:56 -0000)]
too silly to document.
svn path=/trunk/mcs/; revision=106777
Atsushi Eno [Fri, 27 Jun 2008 20:45:49 +0000 (20:45 -0000)]
2008-06-27 Atsushi Enomoto <atsushi@ximian.com>
* ConfigurationErrorsException.cs : recover from
silly change that tries to prevent debuggin by
decreasing error location information.
* ConfigurationErrorsExceptionTest.cs : mark couple
of tests as [Ignore] that blocks us from decent
implementation in the name of silly .NET compatibility.
Maybe I'll remove more silliness later.
svn path=/trunk/mcs/; revision=106776
Rodrigo Kumpera [Fri, 27 Jun 2008 20:45:31 +0000 (20:45 -0000)]
In .:
2008-06-27 Rodrigo Kumpera <rkumpera@novell.com>
* MethodBase.cs: Added tests for GetMethodFromToken.
svn path=/trunk/mcs/; revision=106775
Sebastien Pouliot [Fri, 27 Jun 2008 19:56:07 +0000 (19:56 -0000)]
2008-06-27 Sebastien Pouliot <sebastien@ximian.com>
* TestRegion.cs: Add test case for #402613 to verify Exclude.
Based on Jan Krajicek's code supplied inside the bug report.
svn path=/trunk/mcs/; revision=106769
Marek Safar [Fri, 27 Jun 2008 19:54:09 +0000 (19:54 -0000)]
2008-06-27 Marek Safar <marek.safar@gmail.com>
A test for bug #401020
svn path=/trunk/mcs/; revision=106767
Marek Safar [Fri, 27 Jun 2008 19:53:37 +0000 (19:53 -0000)]
2008-06-27 Marek Safar <marek.safar@gmail.com>
A fix for bug #401020
* ecore.cs: Both types and modifiers have to match for ref and out arguments
svn path=/trunk/mcs/; revision=106766
Marek Safar [Fri, 27 Jun 2008 18:34:55 +0000 (18:34 -0000)]
2008-06-27 Marek Safar <marek.safar@gmail.com>
A test for bug #398319
svn path=/trunk/mcs/; revision=106760
Marek Safar [Fri, 27 Jun 2008 18:34:15 +0000 (18:34 -0000)]
2008-06-27 Marek Safar <marek.safar@gmail.com>
A fix for bug #398319
* cs-parser.jay: Implemented undocumented base access expression inside
anonymous types.
svn path=/trunk/mcs/; revision=106759
Zoltan Varga [Fri, 27 Jun 2008 18:30:55 +0000 (18:30 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_delegate_trampoline): Don't pass a gsctx to
get_this_arg_from_call, let it compute it when needed.
* mini-amd64.c (mono_arch_get_this_arg_reg): Add a 'code' argument, compute
gsctx from code only when needed.
* mini-trampolines.c (get_generic_context): Rename this to
mono_get_generic_context_from_code (), and move it to generic-sharing.c, where
it can be called by the arch backends.
svn path=/trunk/mono/; revision=106758
Zoltan Varga [Fri, 27 Jun 2008 18:13:31 +0000 (18:13 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* TemplateControl.cs: Avoid collecting the automatic event info for each
instance.
svn path=/trunk/mcs/; revision=106751
Zoltan Varga [Fri, 27 Jun 2008 17:19:32 +0000 (17:19 -0000)]
2008-06-27 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_get_fields): Avoid calling setup_fields_locking () for
each iteration.
svn path=/trunk/mono/; revision=106748