Marek Safar [Wed, 30 Apr 2008 17:14:17 +0000 (17:14 -0000)]
2008-04-30 Marek Safar <marek.safar@gmail.com>
* assign.cs, anonymous.cs, lambda.cs, nullable.cs, ecore.cs, linq.cs,
class.cs, iterators.cs, expression.cs, attribute.cs: Filled a few more
expression tree conversions.
svn path=/trunk/mcs/; revision=102219
Gert Driesen [Wed, 30 Apr 2008 15:06:14 +0000 (15:06 -0000)]
* corlib_test.dll.sources: Added ConstructorOnTypeBuilderInstTest.cs.
* ParameterInfo.cs: Name must default to null if no ParameterBuilder
is supplied.
* ModuleBuilder.cs (DefineType): Do not perform lookup of in cache if
name is null to allow correct exception to be thrown (in TypeBuilder
ctor).
* TypeBuilder: Moved name argument check to TypeBuilder ctor. Modified
ArgumentException parameter names to match MS. Removed duplicate check
for data length from DefineInitializedData. Modified check_name to
only throw when first character is null char.
* ConstructorBuilder.cs (GetParameters): Throw NotSupportedException
(2.0) or InvalidOperationException (1.0) when type is not yet created
and we're not in compiler context. Return empty array when no
parameters are defined.
(MethodHandle): Always throw NotSupportedException.
(DefineParameter): Prevent NRE when parameters is null.
(GetCustomAttributes): When not in compiler context, always throw
NotSupportedException.
* ConstructorOnTypeBuilderInst.cs: Delegate to ConstructorBuilder
where possible. Fixed ContainsGenericParameters and IsGenericMethod
to always return false. In MethodBase.Invoke, throw an
InvalidOperationException instead of NIE.
* MethodOnTypeBuilderInstTest.cs: Fixed exception message in comments.
* TypeBuilderTest.cs: Do not use ExpectedException to avoid false
positives. Added argument check tests for DefineEvent, DefineField,
DefineMethod, DefinePInvokeMethod and DefinePropety. Use
Type.EmptyTypes instead of constructing empty array.
* ConstructorBuilderTest.cs: Added Test attributes. Added tests
for DefineParameter and Invoke overloads. Added tests for
GetCustomAttributes overloads. Avoid use of ExpectedException.
* ModuleBuilderTest.cs: Added tests for DefineType name argument
checks.
* ConstructorOnTypeBuilderInstTest.cs: Added basic set of tests.
svn path=/trunk/mcs/; revision=102211
George Giolfan [Wed, 30 Apr 2008 15:00:42 +0000 (15:00 -0000)]
2008-04-30 George Giolfan <georgegiolfan@yahoo.com>
* TabControlPainter.cs: Ordered usings.
svn path=/trunk/mcs/; revision=102210
Gert Driesen [Wed, 30 Apr 2008 13:13:33 +0000 (13:13 -0000)]
* DirectoryTest.cs: Do not use ExpectedException to avoid false
positives. Use String.Empty instead of "".
svn path=/trunk/mcs/; revision=102200
Marek Habersack [Wed, 30 Apr 2008 12:39:18 +0000 (12:39 -0000)]
2008-04-30 Marek Habersack <mhabersack@novell.com>
* SiteMapNode.cs: the implicitResourceKey parameter to one of the
constructors sets the value of the ResourceKey property.
GetImplicitResourceString uses the provider's ResourceKey as the
global resource object key and the node's ResourceKey to construct
the resource name. Fixes bug #323994
ResourceKey setter throws an InvalidOperationException now, when
the node is read-only.
2008-04-30 Marek Habersack <mhabersack@novell.com>
* SiteMapDataSource.cs: when no starting node is found, return
null instead of Provider.RootNode. Fixes bug #323994
svn path=/trunk/mcs/; revision=102197
Jb Evain [Wed, 30 Apr 2008 12:15:37 +0000 (12:15 -0000)]
new tests
svn path=/trunk/mcs/; revision=102195
Marek Safar [Wed, 30 Apr 2008 11:53:45 +0000 (11:53 -0000)]
2008-04-30 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, ecore.cs, class.cs, expression.cs, doc.cs: Merged all
operators method details to Operator class.
svn path=/trunk/mcs/; revision=102193
Jb Evain [Wed, 30 Apr 2008 11:45:11 +0000 (11:45 -0000)]
new tests
svn path=/trunk/mcs/; revision=102191
Gert Driesen [Wed, 30 Apr 2008 09:49:39 +0000 (09:49 -0000)]
* DictionaryTest.cs: Added not working tests for bug #384723. Spaces
to tabs.
svn path=/trunk/mcs/; revision=102188
Marek Safar [Wed, 30 Apr 2008 09:38:39 +0000 (09:38 -0000)]
Added few unsafe tests.
svn path=/trunk/mcs/; revision=102185
Marek Safar [Wed, 30 Apr 2008 09:38:23 +0000 (09:38 -0000)]
New tests.
svn path=/trunk/mcs/; revision=102184
Marek Safar [Wed, 30 Apr 2008 09:38:05 +0000 (09:38 -0000)]
2008-04-30 Marek Safar <marek.safar@gmail.com>
* anonymous.cs: Pass unsafe flags to anonymous container.
* ecore.cs, expression.cs, statement.cs: Block unsafe pointer operations
inside expression tree.
svn path=/trunk/mcs/; revision=102183
Jb Evain [Wed, 30 Apr 2008 07:19:52 +0000 (07:19 -0000)]
2008-04-30 Jb Evain <jbevain@novell.com>
* EnumerableTest.cs: tests for average on int and long.
svn path=/trunk/mcs/; revision=102178
Jb Evain [Wed, 30 Apr 2008 07:19:29 +0000 (07:19 -0000)]
2008-04-30 Jb Evain <jbevain@novell.com>
* Enumerable.cs: Average (int|long): properly compute
average.
svn path=/trunk/mcs/; revision=102177
Jb Evain [Wed, 30 Apr 2008 07:11:33 +0000 (07:11 -0000)]
reformat
svn path=/trunk/mcs/; revision=102176
Atsushi Eno [Wed, 30 Apr 2008 05:54:04 +0000 (05:54 -0000)]
2008-04-30 Atsushi Enomoto <atsushi@ximian.com>
* XElement.cs, XNode.cs : XNode.ReadFrom() should not reuse
XElement.Load() which may create wrapper XmlReader.
* XNodeReaderTest.cs : added CreateReader3().
svn path=/trunk/mcs/; revision=102174
Alan McGovern [Wed, 30 Apr 2008 00:14:30 +0000 (00:14 -0000)]
Performed loop unrolling and re-rolling to reduce IL size significantly and improve perf by over 30%.
svn path=/trunk/mcs/; revision=102167
Carlos Alberto Cortez [Tue, 29 Apr 2008 23:19:06 +0000 (23:19 -0000)]
* BindingSourceTest.cs: New Filter/RemoveFilter tests.
2008-04-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=102166
Carlos Alberto Cortez [Tue, 29 Apr 2008 23:18:26 +0000 (23:18 -0000)]
2008-04-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingSource.cs: Some corrections to Filter property, as well as
setting it for our list when resetting it.
svn path=/trunk/mcs/; revision=102165
Marek Habersack [Tue, 29 Apr 2008 22:47:53 +0000 (22:47 -0000)]
2008-04-30 Marek Habersack <mhabersack@novell.com>
* ConfigurationElement.cs: HasLocalModifications considers a
property modifed locally if its origin is SetHere and it's been
marked as modified.
svn path=/trunk/mcs/; revision=102162
Carlos Alberto Cortez [Tue, 29 Apr 2008 21:30:45 +0000 (21:30 -0000)]
2008-04-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* DragAndDropTest.cs: New test.
svn path=/trunk/mcs/; revision=102152
George Giolfan [Tue, 29 Apr 2008 20:16:12 +0000 (20:16 -0000)]
2008-04-29 George Giolfan <georgegiolfan@yahoo.com>
* VisualStyleRenderer.cs: Added some code to eventually call CloseThemeData.
Suppressed calls to IsThemePartDefined and CloseThemeData when a theme handle
was not obtained.
svn path=/trunk/mcs/; revision=102147
Jonathan Pobst [Tue, 29 Apr 2008 17:04:43 +0000 (17:04 -0000)]
2008-04-29 Jonathan Pobst <monkey@jpobst.com>
* ScrollBar.cs: Don't let dragging the thumb grip set the value greater
than the maximum. Fixes reopened bug #384182.
svn path=/trunk/mcs/; revision=102141
George Giolfan [Tue, 29 Apr 2008 16:37:01 +0000 (16:37 -0000)]
2008-04-29 George Giolfan <georgegiolfan@yahoo.com>
* VisualStyleRenderer.cs: Added a special case for
VisualStyleElement.Status.Bar.Normal. IsThemePartDefined was returning false
but this element is supposed to work on the default Windows theme.
svn path=/trunk/mcs/; revision=102140
Jb Evain [Tue, 29 Apr 2008 15:53:40 +0000 (15:53 -0000)]
2008-04-29 Jb Evain <jbevain@novell.com>
* UnaryExpression.cs (EmitPrimitiveConversion): implement.
svn path=/trunk/mcs/; revision=102138
Martin Baulig [Tue, 29 Apr 2008 15:49:34 +0000 (15:49 -0000)]
2008-04-29 Martin Baulig <martin@ximian.com>
* cs-tokenizer.cs (Tokenizer.Position): Added `line'.
(Tokenizer.PopPosition): Also restore the `line'.
svn path=/trunk/mcs/; revision=102134
Marek Habersack [Tue, 29 Apr 2008 14:48:26 +0000 (14:48 -0000)]
2008-04-29 Marek Habersack <mhabersack@novell.com>
* WebConfigurationSettings.cs: if path mapping fails in
GetConfigFromFileName, fall back to the application's physical
directory.
2008-04-29 Marek Habersack <mhabersack@novell.com>
* HttpException.cs: safe guard against context being null in
GetHtmlErrorMessage.
2008-04-29 Marek Habersack <mhabersack@novell.com>
* WebServiceCompiler.cs: if compiling a body-less web service, try
to load the class type from the loaded assemblies before
attempting to find it in the assemblies on disk.
svn path=/trunk/mcs/; revision=102127
Marek Safar [Tue, 29 Apr 2008 14:18:10 +0000 (14:18 -0000)]
More tests.
svn path=/trunk/mcs/; revision=102123
Marek Safar [Tue, 29 Apr 2008 14:17:10 +0000 (14:17 -0000)]
2008-04-29 Marek Safar <marek.safar@gmail.com>
* delegate.cs: Implemented Invoke expression.
svn path=/trunk/mcs/; revision=102122
Kornél Pál [Tue, 29 Apr 2008 13:53:24 +0000 (13:53 -0000)]
Check for sys/utime.h that fixes MSVC build.
svn path=/trunk/mono/; revision=102116
Jb Evain [Tue, 29 Apr 2008 13:10:03 +0000 (13:10 -0000)]
2008-04-29 Jb Evain <jbevain@novell.com>
* HashSet.cs: clear empty slots to allow the GC to collect
their values.
svn path=/trunk/mcs/; revision=102115
Juraj Skripsky [Tue, 29 Apr 2008 12:58:17 +0000 (12:58 -0000)]
2008-04-29 Juraj Skripsky <js@hotfeet.ch>
* Dictionary.cs (Clear, Remove): Clear empty slots in keySlots
and valueSlots. Otherwise the garbage collector cannot reclaim
the referenced key/value. Fixes bug #384723.
svn path=/trunk/mcs/; revision=102114
Marek Safar [Tue, 29 Apr 2008 10:44:37 +0000 (10:44 -0000)]
New test.
svn path=/trunk/mcs/; revision=102108
Marek Safar [Tue, 29 Apr 2008 10:44:20 +0000 (10:44 -0000)]
2008-04-29 Marek Safar <marek.safar@gmail.com>
* expression.cs: Fixed equality reference comparison regression.
svn path=/trunk/mcs/; revision=102107
Marek Safar [Tue, 29 Apr 2008 10:03:04 +0000 (10:03 -0000)]
Disabled cs0019-2 when waiting for feedback
svn path=/trunk/mcs/; revision=102103
Marek Safar [Tue, 29 Apr 2008 10:01:58 +0000 (10:01 -0000)]
New tests.
svn path=/trunk/mcs/; revision=102101
Marek Safar [Tue, 29 Apr 2008 10:01:30 +0000 (10:01 -0000)]
2008-04-29 Marek Safar <marek.safar@gmail.com>
* ecore.cs: Clean up EmptyCast hack.
* expression.cs, nullable.cs: Implemented enum binary and unary operations
using correct conversion rules. Also fixes #383993.
svn path=/trunk/mcs/; revision=102100
Marek Habersack [Tue, 29 Apr 2008 09:41:11 +0000 (09:41 -0000)]
2008-04-29 Marek Habersack <grendello@gmail.com>
* System.Web.Extensions/Makefile (EXTRA_DISTFILES): include all
the Microsoft AJAX library scripts in the dist tarball.
svn path=/trunk/mcs/; revision=102099
Everaldo Canuto [Tue, 29 Apr 2008 06:56:10 +0000 (06:56 -0000)]
2008-04-28 Everaldo Canuto <ecanuto@novell.com>
* ToolStripDropDown.cs: Fix offscreen position for DropDown itens.
Fixes remaining issues of #367490.
svn path=/trunk/mcs/; revision=102096
Everaldo Canuto [Tue, 29 Apr 2008 06:47:46 +0000 (06:47 -0000)]
2008-04-28 Everaldo Canuto <ecanuto@novell.com>
* ToolStripDropDown.cs: Screen.Bound dont return right value then use
SystemInformation.WorkingArea to get max_screen value.
svn path=/trunk/mcs/; revision=102095
Carlos Alberto Cortez [Tue, 29 Apr 2008 06:06:48 +0000 (06:06 -0000)]
2008-04-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingSource.cs: Implement Filter and RemoveFilter.
svn path=/trunk/mcs/; revision=102093
Everaldo Canuto [Tue, 29 Apr 2008 05:47:04 +0000 (05:47 -0000)]
2008-04-28 Everaldo Canuto <ecanuto@novell.com>
* MenuAPI.cs: Prevent sub-menu positon to be less than zero.
svn path=/trunk/mcs/; revision=102091
Carlos Alberto Cortez [Tue, 29 Apr 2008 05:43:33 +0000 (05:43 -0000)]
2008-04-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* X11Dnd.cs: When trying to convert data and we know we started the
dnd loop, don't try to use the cached data if the loop is not running,
which means that the data has been resetted.
Fixes #378191.
svn path=/trunk/mcs/; revision=102090
Everaldo Canuto [Tue, 29 Apr 2008 05:39:50 +0000 (05:39 -0000)]
2008-04-28 Everaldo Canuto <ecanuto@novell.com>
* MenuAPI.cs: Force first menu subitem to show from left to right to mimic
win32 behavior.
svn path=/trunk/mcs/; revision=102089
Everaldo Canuto [Tue, 29 Apr 2008 05:33:14 +0000 (05:33 -0000)]
2008-04-28 Everaldo Canuto <ecanuto@novell.com>
* MenuAPI.cs: Check the screen limits before show sub-menus and prevent
it to drawn off screen edge. Fixes bug #367490.
svn path=/trunk/mcs/; revision=102088
Everaldo Canuto [Tue, 29 Apr 2008 04:22:41 +0000 (04:22 -0000)]
2008-04-28 Everaldo Canuto <ecanuto@novell.com>
* MenuAPI.cs: In PopupWindow.RefreshItems uses a temp point var to store
menu position to have only one assignment of Location var.
svn path=/trunk/mcs/; revision=102087
Everaldo Canuto [Tue, 29 Apr 2008 01:26:18 +0000 (01:26 -0000)]
2008-04-28 Everaldo Canuto <ecanuto@novell.com>
* MenuAPI.cs: Implement the right key for sub-menus. Thanks Ernesto Carrea
for this patch. Fixes bug #384115.
svn path=/trunk/mcs/; revision=102083
Zoltan Varga [Mon, 28 Apr 2008 21:13:09 +0000 (21:13 -0000)]
2008-04-28 Zoltan Varga <vargaz@gmail.com>
* configure.in: Use lowercase for 'integrity of package' for consistency.
svn path=/trunk/mono/; revision=102074
Jb Evain [Mon, 28 Apr 2008 19:17:19 +0000 (19:17 -0000)]
remove uneeded variable
svn path=/trunk/mcs/; revision=102066
Jb Evain [Mon, 28 Apr 2008 19:14:32 +0000 (19:14 -0000)]
remove uneeded local variable
svn path=/trunk/mcs/; revision=102065
Jb Evain [Mon, 28 Apr 2008 18:24:38 +0000 (18:24 -0000)]
inline variable
svn path=/trunk/mcs/; revision=102062
Jb Evain [Mon, 28 Apr 2008 18:19:56 +0000 (18:19 -0000)]
2008-04-28 Jb Evain <jbevain@novell.com>
* EmitContext.cs: deal with globals when encountering them while
compiling, and not ahead of time with a dedicated visitor.
svn path=/trunk/mcs/; revision=102061
Jonathan Pobst [Mon, 28 Apr 2008 17:17:25 +0000 (17:17 -0000)]
2008-04-28 Jonathan Pobst <monkey@jpobst.com>
* ScrollBar.cs: If SmallChange is larger than LargeChange, make them
the same. If LargeChange is zero, set a minimum size for the scroll
thumb grip. [Fixes bug #384182]
2008-04-28 Jonathan Pobst <monkey@jpobst.com>
* ScrollBarTest.cs: Add test for bug #384182.
svn path=/trunk/mcs/; revision=102057
Zoltan Varga [Mon, 28 Apr 2008 16:24:09 +0000 (16:24 -0000)]
2008-04-28 Zoltan Varga <vargaz@gmail.com>
* image.c (mono_image_strong_name_position): Fix return value when the rva is
not valid.
svn path=/trunk/mono/; revision=102054
Jonathan Pobst [Mon, 28 Apr 2008 16:21:19 +0000 (16:21 -0000)]
2008-04-28 Jonathan Pobst <monkey@jpobst.com>
* TextBoxTextRenderer.cs: Don't turn &A into a prefix for textboxen.
[Fixes bug #384181]
svn path=/trunk/mcs/; revision=102053
Kornél Pál [Mon, 28 Apr 2008 16:11:42 +0000 (16:11 -0000)]
Mono runtime: Add support for mixed-mode assemblies. Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=102052
Jonathan Pobst [Mon, 28 Apr 2008 16:03:52 +0000 (16:03 -0000)]
2008-04-28 Jonathan Pobst <monkey@jpobst.com>
* ListBox.cs: Math.Min should be Math.Max. [Fixes bug #384183]
svn path=/trunk/mcs/; revision=102051
Mark Probst [Mon, 28 Apr 2008 15:33:13 +0000 (15:33 -0000)]
2008-04-28 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c: Search for type arguments in array element
types as well.
2008-04-28 Mark Probst <mark.probst@gmail.com>
* generic-array-type.2.cs: Test case for type arguments in arrays.
* Makefile.am: Added test.
svn path=/trunk/mono/; revision=102047
George Giolfan [Mon, 28 Apr 2008 15:22:12 +0000 (15:22 -0000)]
2008-04-28 George Giolfan <georgegiolfan@yahoo.com>
* ThemeVisualStyles.cs: Added partial support for ScrollBar (based on the
patch from Ernesto).
svn path=/trunk/mcs/; revision=102046
Martin Baulig [Mon, 28 Apr 2008 15:15:11 +0000 (15:15 -0000)]
2008-04-28 Martin Baulig <martin@ximian.com>
* class.cs (Constructor.Emit): Don't emit debugging information
for generated default .ctor's.
svn path=/trunk/mcs/; revision=102045
Mark Probst [Mon, 28 Apr 2008 15:07:50 +0000 (15:07 -0000)]
2008-04-28 Mark Probst <mark.probst@gmail.com>
* tramp-amd64.c, mini-amd64.c: Preserve R11 in the trampoline by
saving it very early.
svn path=/trunk/mono/; revision=102044
Mark Probst [Mon, 28 Apr 2008 14:49:23 +0000 (14:49 -0000)]
2008-04-28 Mark Probst <mark.probst@gmail.com>
* class-internals.h, generic-sharing.c: New, small runtime generic context.
* metadata-internals.h, domain.c, image.c: Less bookkeeping is required for the new RGCTX.
* object.c: Don't setup the RGCTX when the vtable is created,
because we're setting it up lazily now.
2008-04-28 Mark Probst <mark.probst@gmail.com>
* mini.h, mini.c: Lots of code for accessing the old RGCTX
deleted. The only way to access the new RGCTX is via the
trampline.
* mini.c, mini-amd64, mini-x86.c, mini-exceptions.c: Pass the
vtable instead of the RGCTX to static methods.
* mini-tramplines.c, tramp-amd64.c, tramp-x86.c: Trampoline for
accessing the new RGCTX.
* generic-sharing.c: There is no separation between self, type
arguments and other types in the RGCTX anymore.
svn path=/trunk/mono/; revision=102043
Marek Safar [Mon, 28 Apr 2008 14:39:15 +0000 (14:39 -0000)]
Correct version
svn path=/trunk/mcs/; revision=102041
Marek Safar [Mon, 28 Apr 2008 14:37:32 +0000 (14:37 -0000)]
ushort to int optimization
svn path=/trunk/mcs/; revision=102040
Marek Safar [Mon, 28 Apr 2008 14:37:03 +0000 (14:37 -0000)]
2008-04-28 Marek Safar <marek.safar@gmail.com>
* convert.cs: Empty-cast ushort to int conversion.
svn path=/trunk/mcs/; revision=102039
Marek Habersack [Mon, 28 Apr 2008 13:46:04 +0000 (13:46 -0000)]
2008-04-28 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: ignore bad assemblies in the bin/
directory. Fixes bug #315816
svn path=/trunk/mcs/; revision=102035
Marek Habersack [Mon, 28 Apr 2008 13:35:02 +0000 (13:35 -0000)]
2008-04-28 Marek Habersack <mhabersack@novell.com>
* Cache.cs: refactoring - move the timeout setting code to
separate methods, so that it can be accessed from outside the
class. Fixes bug #382644
2008-04-28 Marek Habersack <mhabersack@novell.com>
* ISessionHandler.cs: added new method, Touch, to reset the item
timeout.
* SessionStateServerHandler.cs, SessionSQLServerHandler.cs,
SessionInProcHandler.cs: added implementation of the
ISessionHandler Touch method, to reset item timeout. Fixes bug
#382644
* StateServerItem.cs: made the Timeout property writable.
* SessionStateModule.cs: reset the item timeout after
OnSessionStart has returned. Fixes bug #382644
* RemoteStateServer.cs: added a method to reset item timeout.
svn path=/trunk/mcs/; revision=102034
George Giolfan [Mon, 28 Apr 2008 12:56:10 +0000 (12:56 -0000)]
2008-04-28 George Giolfan <georgegiolfan@yahoo.com>
* ThemeVisualStyles.cs: Added support for ControlPaint.DrawComboButton.
svn path=/trunk/mcs/; revision=102033
Geoff Norton [Mon, 28 Apr 2008 12:19:52 +0000 (12:19 -0000)]
2008-04-28 Geoff Norton <gnorton@novell.com>
* build-iphone.sh: Some updates to work with the latest SDK.
svn path=/trunk/mono/; revision=102030
George Giolfan [Mon, 28 Apr 2008 12:11:36 +0000 (12:11 -0000)]
2008-04-28 George Giolfan <georgegiolfan@yahoo.com>
* ThemeVisualStyles.cs: Added support for ControlPaint.DrawButton.
svn path=/trunk/mcs/; revision=102029
George Giolfan [Mon, 28 Apr 2008 11:43:24 +0000 (11:43 -0000)]
2008-04-28 George Giolfan <georgegiolfan@yahoo.com>
* ThemeVisualStyles.cs: Added support for ControlPaint.DrawRadioButton.
svn path=/trunk/mcs/; revision=102027
George Giolfan [Mon, 28 Apr 2008 11:18:48 +0000 (11:18 -0000)]
2008-04-28 George Giolfan <georgegiolfan@yahoo.com>
* TabControlPainter.cs: Fixed duplication.
svn path=/trunk/mcs/; revision=102026
George Giolfan [Mon, 28 Apr 2008 10:57:52 +0000 (10:57 -0000)]
2008-04-28 George Giolfan <georgegiolfan@yahoo.com>
* System.Windows.Forms.dll.sources: Added VisualStyles/TabControlPainter.cs.
* SWF.csproj, SWF2k5.csproj: Updated.
* ThemeElementsVisualStyles.cs: Added TabControlPainter.
* TabControlPainter.cs: Added.
svn path=/trunk/mcs/; revision=102025
Marek Habersack [Mon, 28 Apr 2008 10:10:23 +0000 (10:10 -0000)]
2008-04-28 Marek Habersack <mhabersack@novell.com>
* AssemblyInfo.cs: disable the ScriptResource attributes - we do
not have the translations in place. Enabling the attributes
without the .resx present, causes manifest resource missing
exceptions to be thrown. Fixes bug #84144
2008-04-28 Marek Habersack <mhabersack@novell.com>
* System.Web.Extensions/Makefile (RESOURCE_FILES): for the 2.0
profile use the 1.0.61025.0 scripts.
svn path=/trunk/mcs/; revision=102022
Marek Safar [Mon, 28 Apr 2008 09:22:31 +0000 (09:22 -0000)]
Expression cloning tests.
svn path=/trunk/mcs/; revision=102018
Marek Safar [Mon, 28 Apr 2008 09:21:01 +0000 (09:21 -0000)]
2008-04-28 Marek Safar <marek.safar@gmail.com>
A fix for bug #384191
* ecore.cs, expression.cs: Fixed expression cloning.
svn path=/trunk/mcs/; revision=102016
Marek Safar [Mon, 28 Apr 2008 08:46:34 +0000 (08:46 -0000)]
Error message
svn path=/trunk/mcs/; revision=102013
Marek Safar [Mon, 28 Apr 2008 08:46:07 +0000 (08:46 -0000)]
2008-04-28 Marek Safar <marek.safar@gmail.com>
* ecore.cs, delegate.cs, assign.cs: Few tweaks for recent changes.
svn path=/trunk/mcs/; revision=102012
George Giolfan [Mon, 28 Apr 2008 07:47:11 +0000 (07:47 -0000)]
2008-04-28 George Giolfan <georgegiolfan@yahoo.com>
* ThemeVisualStyles.cs: Added support for ControlPaint.DrawScrollButton.
svn path=/trunk/mcs/; revision=102010
Jb Evain [Mon, 28 Apr 2008 07:25:34 +0000 (07:25 -0000)]
fix the build
svn path=/trunk/mcs/; revision=102009
Sebastien Pouliot [Mon, 28 Apr 2008 00:58:57 +0000 (00:58 -0000)]
SHA1CryptoServiceProvider.cs: Quick optimization to get better results with the JIT (a bit over 25% on a 4GB file).
svn path=/trunk/mcs/; revision=102008
Jb Evain [Sun, 27 Apr 2008 20:05:13 +0000 (20:05 -0000)]
inline variable
svn path=/trunk/mcs/; revision=102005
Jb Evain [Sun, 27 Apr 2008 20:03:15 +0000 (20:03 -0000)]
refactoring
svn path=/trunk/mcs/; revision=102004
Jb Evain [Sun, 27 Apr 2008 20:00:08 +0000 (20:00 -0000)]
refactoring
svn path=/trunk/mcs/; revision=102003
Jb Evain [Sun, 27 Apr 2008 19:56:49 +0000 (19:56 -0000)]
refactoring
svn path=/trunk/mcs/; revision=102002
Raja R Harinath [Sun, 27 Apr 2008 19:53:58 +0000 (19:53 -0000)]
Fix #381559, test-638.cs, test-639.cs
* assign.cs (CompoundAssign.Helper): New wrapper.
(CompoundAssign.DoResolve): Use it to wrap the nested 'target' access.
* ecore.cs (MethodGroupExpr.VerifyArgumentsCompat) <params arguments>:
Pass unconverted expressions to the params array creation expression.
(FieldExpr.EmitAssign): Don't special-case StringConcat.
(PropertyExpr.EmitAssign): Likewise.
* expression.cs (ArrayCreation.ResolveArrayElement): Keep track of the
element if it is of kind CompoundAssign.Helper.
(ArrayCreation.Emit): If we saw a CompoundAssign.Helper, emit it
first before anything else.
(ArrayAccess.EmitAssign): Don't special-case StringConcat.
(ArrayAccess.LoadArrayAndArguments): Simplify.
svn path=/trunk/mcs/; revision=102001
Jb Evain [Sun, 27 Apr 2008 19:49:26 +0000 (19:49 -0000)]
simplification
svn path=/trunk/mcs/; revision=102000
Jb Evain [Sun, 27 Apr 2008 17:39:32 +0000 (17:39 -0000)]
2008-04-27 Jb Evain <jbevain@novell.com>
* ConstantExpression.cs (Emit): emit properly null nullable types.
svn path=/trunk/mcs/; revision=101995
Jb Evain [Sun, 27 Apr 2008 17:38:19 +0000 (17:38 -0000)]
test for emitting null nullable type
svn path=/trunk/mcs/; revision=101994
Jb Evain [Sun, 27 Apr 2008 17:15:51 +0000 (17:15 -0000)]
we pass this guy
svn path=/trunk/mcs/; revision=101993
Jb Evain [Sun, 27 Apr 2008 17:15:30 +0000 (17:15 -0000)]
2008-04-27 Jb Evain <jbevain@novell.com>
* Expression.cs: improve method finder.
svn path=/trunk/mcs/; revision=101992
George Giolfan [Sun, 27 Apr 2008 16:25:37 +0000 (16:25 -0000)]
2008-04-27 George Giolfan <georgegiolfan@yahoo.com>
* ThemeVisualStyles.cs: Added support for ButtonBase.UseVisualStyleBackColor.
svn path=/trunk/mcs/; revision=101989
Marek Safar [Sun, 27 Apr 2008 14:34:34 +0000 (14:34 -0000)]
Added typeof(void) test.
svn path=/trunk/mcs/; revision=101975
Marek Safar [Sun, 27 Apr 2008 14:29:07 +0000 (14:29 -0000)]
2008-04-27 Marek Safar <marek.safar@gmail.com>
* expression.cs: Fixed cloning of typeof(void).
svn path=/trunk/mcs/; revision=101974
George Giolfan [Sun, 27 Apr 2008 13:04:42 +0000 (13:04 -0000)]
2008-04-27 George Giolfan <georgegiolfan@yahoo.com>
* ThemeElements.cs: Fixed the code to select ThemeElementsVisualStyles.
svn path=/trunk/mcs/; revision=101973
Jb Evain [Sun, 27 Apr 2008 12:03:57 +0000 (12:03 -0000)]
rename
svn path=/trunk/mcs/; revision=101972
Raja R Harinath [Sun, 27 Apr 2008 11:58:45 +0000 (11:58 -0000)]
Move more stuff to CompoundAssign
* assign.cs (Assign.DoResolve): Remove support for EventExprs.
(Assign.Emit): Likewise. Move it to ...
(CompoundAssign.DoResolve): ... here and ...
(CompoundAssign.Emit): ... here.
(EventAddOrRemove): New helper to handle += and -= on events, and
avoid the use of BinaryDelegates.
* ecore.cs (EventExpr.DoResolveLValue): Emit CS0070 unconditionally.
(EventExpr.EmitAddOrRemove): Improve.
* delegate.cs (DelegateInvocation.DoResolve): Simplify slightly.
svn path=/trunk/mcs/; revision=101971
Raja R Harinath [Sun, 27 Apr 2008 11:58:11 +0000 (11:58 -0000)]
Some small cleanups
* cs-parser.jay (type) <namespace_or_type_name variant>: Don't
reate VarExprs for 'foo.bar.var'.
* ecore.cs (VarExpr.InferType): Rename from DoResolveLValue, which
is a highly inappropriate name for its functionality.
svn path=/trunk/mcs/; revision=101970
Andreia Gaita [Sun, 27 Apr 2008 10:37:22 +0000 (10:37 -0000)]
* System.Windows.Forms/HtmlWindow.cs,
System.Windows.Forms/HtmlHistory.cs: Throw on DomHistory getter
(it's supposed to return a reference to an mshtml interface, which
we don't support).
* System.Windows.Forms/HtmlElement.cs: Throw on DomElement getter (it's
supposed to return a reference to an mshtml interface, which we
don't support). Code formatting cleanup.
* System.Windows.Forms/HtmlDocument.cs: Add DefaultEncoding getter
implementation. Throw on DomDocument getter (it's supposed to
return a reference to an mshtml interface, which we don't support).
Code formatting cleanup.
2008-04-27 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=101968
Jb Evain [Sat, 26 Apr 2008 21:33:14 +0000 (21:33 -0000)]
no point in being stupid
svn path=/trunk/mcs/; revision=101954