mono.git
15 years ago2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 27 Jun 2008 02:01:11 +0000 (02:01 -0000)]
2008-06-27  Ivan N. Zlatev  <contact@i-nz.net>

* XplatUIX11.cs, InternalWindowManager.cs:
If WS_EX_TOOLWINDOW is set in the CreateParams for a form MS
doesn't automagically update the FormBorderStyle, so we must
double check the CreateParams explicitly to determine if the
window is a toolwindow.
* ThemeWin32Classic.cs: Use InternalWindowManager.IsToolWindow
instead of doing custom checks.

Fixes toolwindows for the test case in bug #402446

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

15 years ago2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 27 Jun 2008 01:51:12 +0000 (01:51 -0000)]
2008-06-27  Ivan N. Zlatev  <contact@i-nz.net>

* Control.cs: Visibility of the control should be false
when the handle is destroyed in WmDestroy and not immediately
in Dispose(). This is effectively where the disposing process
ends even though the control is marked as Disposed immediately
after calling Dispose().
[Fixes bug #402446]

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

15 years ago2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 27 Jun 2008 01:35:01 +0000 (01:35 -0000)]
2008-06-27  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyDescriptorCollection.cs, EventDescriptorCollection.cs,
MemberDescriptor.cs: Implement proper sorting of descriptors by
comparing their names.
[Fixes bug #403882]

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

15 years ago2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 27 Jun 2008 01:26:33 +0000 (01:26 -0000)]
2008-06-27  Ivan N. Zlatev  <contact@i-nz.net>

* SizeConverter.cs: Fallback to CultureInfo.CurrentCulture
if supplied culture is null.
* PointConverter.cs: Fallback to CultureInfo.CurrentCulture
if supplied culture is null.
* Add tests accordingly

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

15 years ago2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 27 Jun 2008 01:16:09 +0000 (01:16 -0000)]
2008-06-27  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGridTextBox.cs: Start monitoring the mouse clicks
when the textbox gets focus.
[Fixes bug #402704]

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

15 years ago2008-06-27 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 27 Jun 2008 01:08:08 +0000 (01:08 -0000)]
2008-06-27  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGridTextBox.cs, PropertyGridView.cs:
 - Alt + Down should show the drop down editor.
 - Focus the editor when showing it
[Fixes bug #402710]

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

15 years ago2008-06-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 27 Jun 2008 00:44:55 +0000 (00:44 -0000)]
2008-06-26  Zoltan Varga  <vargaz@gmail.com>

* nBrowser/Node.cs nBrowser/Result.cs: Avoid looking up adapter types names for
every request in every assembly.

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

15 years agoNew test.
Marek Safar [Fri, 27 Jun 2008 00:11:42 +0000 (00:11 -0000)]
New test.

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

15 years ago2008-06-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 27 Jun 2008 00:11:26 +0000 (00:11 -0000)]
2008-06-26  Marek Safar  <marek.safar@gmail.com>

A fix for bug #404227
* cs-parser.jay: Parse namespace declaration using qualified identifier.

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

15 years agoRemove leftover + character
Andreia Gaita [Thu, 26 Jun 2008 23:46:21 +0000 (23:46 -0000)]
Remove leftover + character

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

15 years agoDisable DOLT by default and bring back the configure flag
Alp Toker [Thu, 26 Jun 2008 23:33:22 +0000 (23:33 -0000)]
Disable DOLT by default and bring back the configure flag

It works on most systems but seems to break the build bot.
Needs more investigation.

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

15 years agoAnother prospective fix for the build bot
Alp Toker [Thu, 26 Jun 2008 23:04:20 +0000 (23:04 -0000)]
Another prospective fix for the build bot

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

15 years ago2008-06-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 26 Jun 2008 22:51:52 +0000 (22:51 -0000)]
2008-06-26  Marek Safar  <marek.safar@gmail.com>

A test for bug #404227

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

15 years ago2008-06-27 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Thu, 26 Jun 2008 22:32:34 +0000 (22:32 -0000)]
2008-06-27  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Version.cs: Fix parameter names
UInt64.cs:
UInt32.cs:
UInt16.cs:
Int64.cs: Fix parameter names
Int32.cs: Fix parameter names; some small formatting
Int16.cs: Fix parameter names
Double.cs: Fix parameter names; small formatting
Single.cs:
SByte.cs:
Byte.cs:
Boolean.cs:
DateTime.cs:
Enum.cs:
Decimal.cs: Fix parameter names

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

15 years ago2008-06-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 26 Jun 2008 22:23:04 +0000 (22:23 -0000)]
2008-06-26  Marek Safar  <marek.safar@gmail.com>

A fix for bug #404227
* convert.cs: Fixed explicit array to interface cast.

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

15 years ago2008-06-26 Alp Toker <alp@nuanti.com>
Alp Toker [Thu, 26 Jun 2008 22:04:35 +0000 (22:04 -0000)]
2008-06-26  Alp Toker  <alp@nuanti.com>

* acinclude.m4: Prospective dolt fix for the build bot. Fix syntax to work
with older bash versions.

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

15 years agoAdded more logging code.
Massimiliano Mantione [Thu, 26 Jun 2008 21:47:25 +0000 (21:47 -0000)]
Added more logging code.

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

15 years agoIn .:
Rodrigo Kumpera [Thu, 26 Jun 2008 21:28:44 +0000 (21:28 -0000)]
In .:
2008-06-26  Rodrigo Kumpera  <rkumpera@novell.com>

* nullable_boxing.2.cs: Test if Array::GetValue box nullables
correctly.

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

15 years agoIn .:
Rodrigo Kumpera [Thu, 26 Jun 2008 21:12:57 +0000 (21:12 -0000)]
In .:
2008-06-26 Rodrigo Kumpera  <rkumpera@novell.com>

* object.c (mono_value_box): Fix boxing of nullables.

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

15 years agoNew test.
Marek Safar [Thu, 26 Jun 2008 19:25:58 +0000 (19:25 -0000)]
New test.

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

15 years ago2008-06-26 Alp Toker <alp@nuanti.com>
Alp Toker [Thu, 26 Jun 2008 19:19:33 +0000 (19:19 -0000)]
2008-06-26  Alp Toker  <alp@nuanti.com>

* acinclude.m4: Update dolt to the latest git version 5e9eef10. (The one we
had wasn't in fact the latest version and had a known bug.)

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

15 years ago2008-06-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Jun 2008 19:10:24 +0000 (19:10 -0000)]
2008-06-26  Sebastien Pouliot  <sebastien@ximian.com>

* Mono.Security_test.dll.sources: Added SubjectAltNameExtension unit
tests to the build. Patch by David Wolinsky

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

15 years ago2008-06-26 David Wolinsky <davidiw@ufl.edu>
Sebastien Pouliot [Thu, 26 Jun 2008 19:10:13 +0000 (19:10 -0000)]
2008-06-26  David Wolinsky  <davidiw@ufl.edu>

* SubjectAltNameExtension.cs: IP Addresses are handled and now
this class can be generated via the constructor from arrays.
* GeneralNames.cs: Added support to generate GeneralNames from
an arrays of strings.

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

15 years ago2008-06-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Jun 2008 19:09:34 +0000 (19:09 -0000)]
2008-06-26  Sebastien Pouliot  <sebastien@ximian.com>

* SubjectAltNameExtensionTest.cs: New. Unit tests for
SubjectAltNameExtension. Patch by David Wolinsky

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

15 years agomissed committing the sources file
Veerapuram Varadhan [Thu, 26 Jun 2008 18:38:52 +0000 (18:38 -0000)]
missed committing the sources file

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

15 years ago2008-06-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 26 Jun 2008 18:36:48 +0000 (18:36 -0000)]
2008-06-26  Zoltan Varga  <vargaz@gmail.com>

* driver.c (mono_main): Add experimental --aot-only command line option.

* mini.c: Error out when creating trampolines or JIT compiling if --aot-only is
set.

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

15 years ago2008-06-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 26 Jun 2008 18:33:19 +0000 (18:33 -0000)]
2008-06-26  Marek Safar  <marek.safar@gmail.com>

A fix for bug #403894
* delegate.cs: Mutate DelegateInvocation type.

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

15 years ago2008-06-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 26 Jun 2008 18:19:20 +0000 (18:19 -0000)]
2008-06-26  Marek Safar  <marek.safar@gmail.com>

A test for bug #379348

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

15 years ago2008-06-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 26 Jun 2008 18:17:22 +0000 (18:17 -0000)]
2008-06-26  Marek Safar  <marek.safar@gmail.com>

A fix for bug #379348
* delegate.cs: Box a load of generic parameters.

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

15 years agoNew test.
Marek Safar [Thu, 26 Jun 2008 17:43:19 +0000 (17:43 -0000)]
New test.

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

15 years ago2008-06-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 26 Jun 2008 16:50:25 +0000 (16:50 -0000)]
2008-06-26  Marek Safar  <marek.safar@gmail.com>

* expression.cs: Add an array creation arguments mutate.

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

15 years ago2008-06-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 26 Jun 2008 16:49:15 +0000 (16:49 -0000)]
2008-06-27  Atsushi Enomoto  <atsushi@ximian.com>

* DiagnosticsConfigurationHandler.cs: quick build fix (hopefully).

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

15 years ago2008-06-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 26 Jun 2008 16:28:07 +0000 (16:28 -0000)]
2008-06-26  Marek Safar  <marek.safar@gmail.com>

A test for bug #386068

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

15 years ago2008-06-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 26 Jun 2008 16:27:39 +0000 (16:27 -0000)]
2008-06-26  Marek Safar  <marek.safar@gmail.com>

A fix for bug #386068
* anonymous.cs, expression.cs: Emit correctly hoisted expression tree
parameter.

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

15 years agoImplement support for mixed-mode assemblies on Windows x64 as well. Contributed...
Kornél Pál [Thu, 26 Jun 2008 15:30:57 +0000 (15:30 -0000)]
Implement support for mixed-mode assemblies on Windows x64 as well.  Contributed under MIT/X11 license.

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

15 years ago2008-06-26 Mark Probst <mark.probst@gmail.com>
Mark Probst [Thu, 26 Jun 2008 13:48:45 +0000 (13:48 -0000)]
2008-06-26  Mark Probst  <mark.probst@gmail.com>

* generic-valuetype-interface.2.cs: Test for generic valuetypes
which implement interfaces.

* generic-valuetype-newobj.2.il, generic-valuetype-newobj2.2.il:
Test for newobj with generic valuetypes.

* Makefile.am: Tests added.

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

15 years ago2008-06-26 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 26 Jun 2008 12:49:33 +0000 (12:49 -0000)]
2008-06-26  Sebastien Pouliot  <sebastien@ximian.com>

* X509Certificate2.cs: Allow password-less ctor to (try to) open
PKCS#12 files (with an empty password).
[Fix bug #403610]

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

15 years ago* DiagnosticsConfigurationHandler.cs: On 2.0 profile, throw
Gert Driesen [Thu, 26 Jun 2008 10:54:00 +0000 (10:54 -0000)]
* DiagnosticsConfigurationHandler.cs: On 2.0 profile, throw
ConfigurationErrorsException when any attribute other than 'Name'
is found when referencing a shared listener. Fixes bug #404054.
Added support for the traceOutputOptions attribute on 2.0 profile.
Fixes bug #403583.
* ConfigXmlDocument.cs: Implement IConfigErrorInfo on all Node classes.

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

15 years ago* ConfigurationErrorsExceptionTest.cs: Added tests for ctors and
Gert Driesen [Thu, 26 Jun 2008 10:31:07 +0000 (10:31 -0000)]
* ConfigurationErrorsExceptionTest.cs: Added tests for ctors and
GetFilename/GetLineNumber overloads.
* System.Configuration_test.dll.sources: added
ConfigurationErrorsExceptionTest.cs.
* System.Configuration.dll.sources: added ConfigXmlTextReader.cs.
* ConfigurationElement.cs: Use ConfigurationErrorsException instead of
ConfigurationException, and pass reader to ConfigurationErrorsException
ctor to allow for file/linenumber info in exception message.
* ConfigurationErrorsException.cs: Removed local bareMessage field, and
use base.BareMessage field instead. Fixed Message property to only add
filename if not null or zero-length string, and only add line if not
zero. In GetFilename/GetLineNumber overloads, only try to get info if
node/reader implements IConfigErrorInfo.
* ConfigurationSection.cs: Use ConfigXmlTextReader instead of
XmlTextReader to allow for file/linenumber info in exception messages.
* ConfigXmlTextReader.cs: Added XmlTextReader that implements
IConfigErrorInfo.
* ConfigurationLocation.cs: Use ConfigXmlTextReader instead of
XmlTextReader to allow for file/linenumber info in exception messages.
* ClientConfigurationSystem.cs: Perform lazy initialization and
wrap exceptions in ConfigurationErrorsException. Fixes standalone test
t28.
* Configuration.cs: Use ConfigXmlTextReader instead of XmlTextReader
to allow for file/linenumber info in exception messages.
* ConfigInfo.cs: Fixed ThrowException to use file/number info available
in XmlTextReader for exception message.
* AppSettingsSection.cs: Use ConfigXmlTextReader instead of
XmlTextReader to allow for file/linenumber info in exception messages.
* Assert.cs: added.
* Makefile: added Assert.cs, and explicitly specify output file.
* t28.cs: Improved test.

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

15 years ago2008-06-25 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 25 Jun 2008 22:27:49 +0000 (22:27 -0000)]
2008-06-25 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c, class-internals.h: Export mono_class_get_generic_type_definition
as part of the private mono API.

* loader.c (ves_icall_System_Reflection_MethodBase_GetMethodFromHandleInternalType):
Do proper argument checking for methods that belong to generic classes.
Do proper type resolution for GMFH/2.
Fixes #377324.

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

15 years agoIn .:
Rodrigo Kumpera [Wed, 25 Jun 2008 22:23:43 +0000 (22:23 -0000)]
In .:
2008-06-25  Rodrigo Kumpera  <rkumpera@n ovell.com>

* MethodBase.cs (GetMethodFromHandle): Check if the icall returns null
and fail. This is part of the fix for #377324.

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

15 years agoIn .:
Rodrigo Kumpera [Wed, 25 Jun 2008 22:17:33 +0000 (22:17 -0000)]
In .:
2008-06-25  Rodrigo Kumpera  <rkumpera@novell.com>

* generic-ldtoken-method.2.il: Don't use GetMethodHandle/1
with methods that belong to a generic type.

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

15 years ago2008-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Jun 2008 21:43:27 +0000 (21:43 -0000)]
2008-06-25  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c: Add not-yet-usable 'full' option. Add some infrastructure code
for emitting methods which are not in the source assembly. Detect and report
failure of assembling+linking.

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

15 years ago2008-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Jun 2008 20:58:34 +0000 (20:58 -0000)]
2008-06-25  Zoltan Varga  <vargaz@gmail.com>

* configure.in: Enable dolt by default as an experiment.

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

15 years ago2008-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Jun 2008 20:54:53 +0000 (20:54 -0000)]
2008-06-25  Zoltan Varga  <vargaz@gmail.com>

* acinclude.m4: Update dolt to the latest git version.

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

15 years ago2008-06-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 25 Jun 2008 20:31:00 +0000 (20:31 -0000)]
2008-06-25  Marek Safar  <marek.safar@gmail.com>

* ecore.cs, expression.cs: Fixed broken TypeCast clone, implemented few more
CloneTo.

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

15 years agoIn .:
Rodrigo Kumpera [Wed, 25 Jun 2008 20:16:18 +0000 (20:16 -0000)]
In .:
2008-06-25 Rodrigo Kumpera  <rkumpera@novell.com>
* verify.c (do_switch): Fix a memory corruption bug with
the jump index is out of bound.

2008-06-25 Rodrigo Kumpera  <rkumpera@novell.com>

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

15 years ago2008-06-25 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Wed, 25 Jun 2008 19:37:54 +0000 (19:37 -0000)]
2008-06-25  Ivan N. Zlatev  <contact@i-nz.net>

* TypeDescriptor.cs: Fix a NRE.
[Fixes bug #403880]

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

15 years agoIn .:
Rodrigo Kumpera [Wed, 25 Jun 2008 19:27:37 +0000 (19:27 -0000)]
In .:
2008-06-24 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Disable debug code.

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

15 years ago2008-06-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 25 Jun 2008 18:33:57 +0000 (18:33 -0000)]
2008-06-25  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_klass_info): Call mono_class_setup_vtable ().

* aot-compiler.c: Move the contents of the has_glot_slots array to MonoCompile.

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

15 years agomake gendarme happy
Jb Evain [Wed, 25 Jun 2008 18:13:04 +0000 (18:13 -0000)]
make gendarme happy

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

15 years ago2008-06-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 25 Jun 2008 17:35:50 +0000 (17:35 -0000)]
2008-06-25  Marek Safar  <marek.safar@gmail.com>

A fix for bug #403518
* delegate.cs: Type correctly anonymous method new invocation.

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

15 years ago2008-06-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 25 Jun 2008 17:35:26 +0000 (17:35 -0000)]
2008-06-25  Marek Safar  <marek.safar@gmail.com>

A fix for bug #403518
* delegate.cs: Type correctly anonymous method new invocation.

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

15 years agono more unsafe code in System.Core. Yeah.
Jb Evain [Wed, 25 Jun 2008 17:34:23 +0000 (17:34 -0000)]
no more unsafe code in System.Core. Yeah.

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

15 years ago2008-06-25 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 25 Jun 2008 17:29:59 +0000 (17:29 -0000)]
2008-06-25  Jonathan Pobst  <monkey@jpobst.com>

* ThemeWin32Classic.cs: Fix from Andy for panel text for panels
that are not the first panel.
* StatusBar.cs: Ensure that the X coordinate of panels is always
stored.  Fix IList implementation of StatusBarPanelCollection to
call the regular methods.
[Fixes bug #403599, #402165]

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

15 years ago* ApplicationSettingsBaseTest.cs: Fixed line endings.
Gert Driesen [Wed, 25 Jun 2008 17:22:56 +0000 (17:22 -0000)]
* ApplicationSettingsBaseTest.cs: Fixed line endings.

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

15 years ago* DictionarySectionHandler.cs: Fixed line endings.
Gert Driesen [Wed, 25 Jun 2008 17:21:30 +0000 (17:21 -0000)]
* DictionarySectionHandler.cs: Fixed line endings.
* IgnoreSectionHandler.cs: Fixed line endings.

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

15 years ago* ConfigurationExceptionTest.cs: Added ctor tests.
Gert Driesen [Wed, 25 Jun 2008 17:18:35 +0000 (17:18 -0000)]
* ConfigurationExceptionTest.cs: Added ctor tests.
* System_test.dll.sources: Added ConfigurationExceptionTest.cs.
* ConfigurationExceptionTest.cs: Removed local bareMessage field, and
use base.Message instead. Fixed default cor to invoke String ctor of
SystemException. Fixed Message property to only add filename if not
null or zero-length string, and only add line if not zero.

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

15 years agoRecord also the domain of each statistical hit, so that mono_jit_info_table_find...
Massimiliano Mantione [Wed, 25 Jun 2008 17:09:06 +0000 (17:09 -0000)]
Record also the domain of each statistical hit, so that mono_jit_info_table_find works properly.

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

15 years agoFixed breakage introduced in r105966
Massimiliano Mantione [Wed, 25 Jun 2008 16:47:32 +0000 (16:47 -0000)]
Fixed breakage introduced in r105966

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

15 years agoblah
Jb Evain [Wed, 25 Jun 2008 16:47:16 +0000 (16:47 -0000)]
blah

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

15 years agoremove dependency to Mono.DataConverter
Jb Evain [Wed, 25 Jun 2008 16:20:40 +0000 (16:20 -0000)]
remove dependency to Mono.DataConverter

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

15 years ago2008-06-25 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 25 Jun 2008 16:20:02 +0000 (16:20 -0000)]
2008-06-25  Jb Evain  <jbevain@novell.com>

* TimeZoneInfo.cs: remove the dependance to Mono.DataConverter
which is only used to read big endian int32.

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

15 years agoIn .:
Rodrigo Kumpera [Wed, 25 Jun 2008 16:16:26 +0000 (16:16 -0000)]
In .:
2008-06-25 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (mono_image_get_methodbuilder_token): Use
mono_image_get_methodspec_token_for_generic_method_definition
instead of mono_image_get_memberref_token. We cache more memberef
entries now.

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

15 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 23:29:28 +0000 (23:29 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

A test for bug #394826

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

15 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 23:28:57 +0000 (23:28 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #394826
* anonymous.cs: Fully qualify members when resolving anonymous type internal
calls.

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

15 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 22:40:18 +0000 (22:40 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #394826
* anonymous.cs, iterators.cs: Construct generic storey only when is really
needed.

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

15 years agoIn .:
Rodrigo Kumpera [Tue, 24 Jun 2008 21:54:16 +0000 (21:54 -0000)]
In .:
2008-06-24 Rodrigo Kumpera <rkumpera@novell.com>

* valid_generic_exception_catch_clause_type.cs: Regression
test for #402606.

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

15 years ago2008-06-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 24 Jun 2008 21:51:36 +0000 (21:51 -0000)]
2008-06-24 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Inflate exception clause types.
Fixes #402606.

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

15 years ago2008-06-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 24 Jun 2008 21:04:13 +0000 (21:04 -0000)]
2008-06-24  Zoltan Varga  <vargaz@gmail.com>

* mini.h: Remove some obsolete prototypes.

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

15 years agoIn .:
Rodrigo Kumpera [Tue, 24 Jun 2008 20:38:16 +0000 (20:38 -0000)]
In .:
2008-06-24  Rodrigo Kumpera  <rkumpera@novell.com>

* mini.c: Check if stats is enabled so we don't allocate memory when not needed.

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

15 years agoupdate to changes in libraries
Raja R Harinath [Tue, 24 Jun 2008 20:35:32 +0000 (20:35 -0000)]
update to changes in libraries

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

15 years agoCommit missed file.
Zoltan Varga [Tue, 24 Jun 2008 20:34:52 +0000 (20:34 -0000)]
Commit missed file.

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

15 years agoNew test.
Marek Safar [Tue, 24 Jun 2008 20:29:22 +0000 (20:29 -0000)]
New test.

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

15 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 20:29:10 +0000 (20:29 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

* class.cs: Clone indexer parameters for localized capturing.

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

15 years agoupdate to changes in libraries
Raja R Harinath [Tue, 24 Jun 2008 20:15:45 +0000 (20:15 -0000)]
update to changes in libraries

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

15 years ago2008-06-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 24 Jun 2008 20:14:48 +0000 (20:14 -0000)]
2008-06-24 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (mono_image_get_methodbuilder_token): Don't leak
name.

* reflection.c (mono_image_get_ctorbuilder_token): Same.

* reflection.c (mono_image_create_method_token): Same.

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

15 years ago2008-06-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 24 Jun 2008 20:08:49 +0000 (20:08 -0000)]
2008-06-24  Zoltan Varga  <vargaz@gmail.com>

* mini.c: Avoid storing MonoMethod pointers in the JIT stats, store their string format instead.

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

15 years agoblah
Jb Evain [Tue, 24 Jun 2008 20:03:44 +0000 (20:03 -0000)]
blah

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

15 years agoproperty create the GroupBy iterator
Jb Evain [Tue, 24 Jun 2008 19:54:23 +0000 (19:54 -0000)]
property create the GroupBy iterator

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

15 years agowe pass this one
Jb Evain [Tue, 24 Jun 2008 19:52:48 +0000 (19:52 -0000)]
we pass this one

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

15 years agoproperly create the group join iterator
Jb Evain [Tue, 24 Jun 2008 19:52:35 +0000 (19:52 -0000)]
properly create the group join iterator

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

15 years agowe pass this one
Jb Evain [Tue, 24 Jun 2008 19:50:30 +0000 (19:50 -0000)]
we pass this one

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

15 years agoproperly create join iterator
Jb Evain [Tue, 24 Jun 2008 19:50:15 +0000 (19:50 -0000)]
properly create join iterator

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

15 years agopassing this one as well
Jb Evain [Tue, 24 Jun 2008 19:39:19 +0000 (19:39 -0000)]
passing this one as well

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

15 years agowe pass this guy
Jb Evain [Tue, 24 Jun 2008 19:36:59 +0000 (19:36 -0000)]
we pass this guy

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

15 years agofix SumNullable
Jb Evain [Tue, 24 Jun 2008 19:36:09 +0000 (19:36 -0000)]
fix SumNullable

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

15 years agowe pass those
Jb Evain [Tue, 24 Jun 2008 19:10:18 +0000 (19:10 -0000)]
we pass those

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

15 years agoIn .:
Rodrigo Kumpera [Tue, 24 Jun 2008 18:46:35 +0000 (18:46 -0000)]
In .:
2008-06-24 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c: Added mono_image_get_methodref_token_for_methodbuilder.
It does the same as mono_image_get_methodref_token but works on
MethodBuilder.

* reflection.c: Use mono_image_get_methodspec_token_for_generic_method_definition
and always generate a methodspec. This follows the old behavior and fixes
the regressions in System.Core.

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

15 years ago2008-06-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 24 Jun 2008 18:26:16 +0000 (18:26 -0000)]
2008-06-24  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Reflection_Assembly_GetTypes): Collect exceptions for classes where
don't event mono_class_get () succeeds. Fixes #402182.

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

16 years ago2008-06-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 24 Jun 2008 16:20:38 +0000 (16:20 -0000)]
2008-06-24  Mark Probst  <mark.probst@gmail.com>

* mini.c (get_object_generic_inst): Variable-sized arrays are not
supported by Visual Studio, so use alloca().

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

16 years agoNew test.
Marek Safar [Tue, 24 Jun 2008 15:41:37 +0000 (15:41 -0000)]
New test.

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

16 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 15:39:58 +0000 (15:39 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #402379
* expression.cs: Don't crash when an object initializer resolve fails.

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

16 years agoBug 10597 fix.
Sasha Kogan [Tue, 24 Jun 2008 15:04:18 +0000 (15:04 -0000)]
Bug 10597 fix.

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

16 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 13:41:56 +0000 (13:41 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #402888
* expression.cs: Mutate conditional expression.

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

16 years ago2008-06-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 24 Jun 2008 13:17:05 +0000 (13:17 -0000)]
2008-06-23  Sebastien Pouliot  <sebastien@ximian.com>

* ImageAttributes.cs: Call CheckStatus in GetAdjustedPalette before
trying to set the palette (since the values could be bad).
[Partial fix for #402172]

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

16 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 12:47:33 +0000 (12:47 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

A test for bug #401012

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

16 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 12:45:54 +0000 (12:45 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #401012
* class.cs: Keep StructLayout in shared container.

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

16 years agoNew test.
Marek Safar [Tue, 24 Jun 2008 12:26:55 +0000 (12:26 -0000)]
New test.

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

16 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 12:26:26 +0000 (12:26 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #400438
* decl.cs, class.cs: Only properties can be automatically implemented.

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