mono.git
16 years ago2008-05-02 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 2 May 2008 15:41:31 +0000 (15:41 -0000)]
2008-05-02  George Giolfan  <georgegiolfan@yahoo.com>

* ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
ControlPaint.DrawMixedCheckBox now calls Theme.CPDrawMixedCheckBox.

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

16 years ago2008-05-02 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 2 May 2008 15:31:03 +0000 (15:31 -0000)]
2008-05-02  George Giolfan  <georgegiolfan@yahoo.com>

* ThemeVisualStyles.cs: Added support for StatusBar.

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

16 years agoFixed last TODOs
Marek Safar [Fri, 2 May 2008 15:29:58 +0000 (15:29 -0000)]
Fixed last TODOs

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

16 years ago2008-05-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 2 May 2008 15:29:35 +0000 (15:29 -0000)]
2008-05-02  Marek Safar  <marek.safar@gmail.com>

* convert.cs, literal.cs: Don't wrap implicit reference conversion to object

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

16 years ago2008-05-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 2 May 2008 15:18:57 +0000 (15:18 -0000)]
2008-05-02  Jonathan Pobst  <monkey@jpobst.com>

* DataObject.cs: Add the other IDataObject interface.

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

16 years ago2008-05-02 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 2 May 2008 15:17:08 +0000 (15:17 -0000)]
2008-05-02  George Giolfan  <georgegiolfan@yahoo.com>

* ThemeWin32Classic.cs: Refactored: extracted DrawStatusBarBackground,
DrawStatusBarSizingGrip, DrawStatusBarPanelBackground.

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

16 years ago2008-05-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 2 May 2008 15:08:29 +0000 (15:08 -0000)]
2008-05-02  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCheckBoxCell.cs, DataGridViewImageCell.cs: Fix parameter names.
* ListView.cs: Hide non-public API.
* MaskedTextBox.cs: Remove extra attribute.

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

16 years ago2008-05-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 2 May 2008 14:41:44 +0000 (14:41 -0000)]
2008-05-02  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewImageCell.cs: Use formatted value instead of value
to calculate preferred size.

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

16 years agore-add range tests that were removed for some reason
Jb Evain [Fri, 2 May 2008 12:22:22 +0000 (12:22 -0000)]
re-add range tests that were removed for some reason

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

16 years agonew orderby test
Jb Evain [Fri, 2 May 2008 12:09:35 +0000 (12:09 -0000)]
new orderby test

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

16 years ago2008-05-02 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 2 May 2008 12:08:49 +0000 (12:08 -0000)]
2008-05-02  Jb Evain  <jbevain@novell.com>

* SortSequenceContext.cs (Compare): fix key equality case
when there's a nested sort.

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

16 years ago2008-05-02 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 2 May 2008 11:58:29 +0000 (11:58 -0000)]
2008-05-02  Jonathan Chambers  <joncham@gmail.com>

* domain.c: Disable LoadLibrary support to fix Win32 build.

Code is contributed under MIT/X11 license.

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

16 years agoFix #385758
Raja R Harinath [Fri, 2 May 2008 11:46:45 +0000 (11:46 -0000)]
Fix #385758
* convert.cs (ImplicitNumericConversion): Don't modify the type of 'expr'.
* ecore.cs (EmptyCast.Create): Flatten nested EmptyCasts.

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

16 years ago2008-05-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 2 May 2008 00:52:08 +0000 (00:52 -0000)]
2008-05-02  Zoltan Varga  <vargaz@gmail.com>

* sgen-gc.c: Add support for clearing nursery memory when a tlab is allocated,
to help with cache behaviour.

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

16 years ago2008-05-01 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 1 May 2008 22:54:24 +0000 (22:54 -0000)]
2008-05-01  Miguel de Icaza  <miguel@novell.com>

* appdomain.c (mono_domain_from_appdomain): Add new accesor
method.

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

16 years ago2008-05-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 1 May 2008 21:22:42 +0000 (21:22 -0000)]
2008-05-01  Jonathan Pobst  <monkey@jpobst.com>

* ListBox.cs: Move some initialization around so that selected_indices
is not accessed before it is created.

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

16 years agooops
Jb Evain [Thu, 1 May 2008 21:07:56 +0000 (21:07 -0000)]
oops

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

16 years agoclean this mess once in for all
Jb Evain [Thu, 1 May 2008 20:45:19 +0000 (20:45 -0000)]
clean this mess once in for all

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

16 years ago2008-05-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 1 May 2008 20:33:03 +0000 (20:33 -0000)]
2008-05-01 Rodrigo Kumpera <rkumpera@novell.com>

* unverifiable_ldsfld_no_fld.il: Fixed compilation
and renamed to invalid_ldsfld_no_fld.il.

* BatchCompiler.cs: New driver to fast compile the
verifier test suite. It's about 20x faster now.

* Makefile: Use the ilasm driver for faster compilation.

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

16 years agowe now pass this guy
Jb Evain [Thu, 1 May 2008 20:23:49 +0000 (20:23 -0000)]
we now pass this guy

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

16 years ago2008-05-01 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 1 May 2008 20:21:56 +0000 (20:21 -0000)]
2008-05-01  Jb Evain  <jbevain@novell.com>

* SortDirection.cs, SortContext.cs, SortSequenceContext.cs:
new infrastructure files for nested orderby/thenby calls.
* QuickSort.cs: refactored out of OrderedSequence.cs
* OrderedEnumerable.cs, OrderedSequence.cs: refactoring
to use the new SortContext infrastructure.

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

16 years agoFixed few TODOs
Marek Safar [Thu, 1 May 2008 18:57:47 +0000 (18:57 -0000)]
Fixed few TODOs

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

16 years ago2008-05-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 1 May 2008 18:57:20 +0000 (18:57 -0000)]
2008-05-01  Marek Safar  <marek.safar@gmail.com>

* constant.cs, literal.cs: IsLiteral property for error reporting.

* ecore.cs, expression.cs: Implemented Property expression.

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

16 years ago2008-05-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 1 May 2008 18:51:58 +0000 (18:51 -0000)]
2008-05-01  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewRowCollectionTest.cs: Disable test requiring shared rows.
* DataGridViewRowTest.cs, DataGridViewCellTest.cs: Disable
tests requiring DGVComboBox.

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

16 years agoUpdate license for samples
Miguel de Icaza [Thu, 1 May 2008 18:11:05 +0000 (18:11 -0000)]
Update license for samples

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

16 years ago2008-05-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 1 May 2008 17:15:22 +0000 (17:15 -0000)]
2008-05-01  Jonathan Pobst  <monkey@jpobst.com>

* InputLanguageCollection.cs: Implement the collection better.
[Fixes bug #385506]

2008-05-01  Jonathan Pobst  <monkey@jpobst.com>

* InputLanguageTest.cs: Add test for bug #385506.

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

16 years ago2008-05-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 1 May 2008 16:54:24 +0000 (16:54 -0000)]
2008-05-01  Zoltan Varga  <vargaz@gmail.com>

* sgen-gc.c: Implement thread-local allocation and a managed allocation routine.

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

16 years ago2008-05-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 1 May 2008 16:31:17 +0000 (16:31 -0000)]
2008-05-01  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripDropDownItem.cs: Get the correct event object for
DropDownItemClicked.
* ToolStripMenuItem.cs: Raise DropDownItemClicked on our owner.
[Fixes bug #385475]

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

16 years ago2008-05-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 1 May 2008 15:41:15 +0000 (15:41 -0000)]
2008-05-01  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewRowCollection.cs: We don't currently support shared
rows.  Should fix test failures caused by previous commit.

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

16 years ago2008-05-01 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 1 May 2008 15:38:52 +0000 (15:38 -0000)]
2008-05-01  Dick Porter  <dick@ximian.com>

* process.c (process_get_fileversion): Only pass 16 bits of
language ID to VerLanguageName.  Fixes bug 381204.

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

16 years agoNew tests.
Marek Safar [Thu, 1 May 2008 15:09:18 +0000 (15:09 -0000)]
New tests.

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

16 years agoNew tests.
Marek Safar [Thu, 1 May 2008 15:09:08 +0000 (15:09 -0000)]
New tests.

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

16 years ago2008-05-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 1 May 2008 15:08:21 +0000 (15:08 -0000)]
2008-05-01  Marek Safar  <marek.safar@gmail.com>

* class.cs, modifiers.cs, flowanalysis.cs: New BACKING_FIELD flag.

* nullable.cs: Implemented nullable coalescing null operator.

* ecore.cs, expression.cs: Expression trees work.

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

16 years ago2008-05-01 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 1 May 2008 14:48:10 +0000 (14:48 -0000)]
2008-05-01  Bill Holmes  <billholmes54@gmail.com>

* src/glib.h : Adding declarations for g_ucs4_to_utf16 and g_utf16_to_ucs4.

* src/gutf8.c : Adding implementation for g_ucs4_to_utf16 and g_utf16_to_ucs4.

* test/utf8.c Adding tests for g_ucs4_to_utf16 and g_utf16_to_ucs4.

Contributed under MIT/X11 license.

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

16 years agofix formating mess
Jb Evain [Thu, 1 May 2008 10:41:31 +0000 (10:41 -0000)]
fix formating mess

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

16 years agorename ugly names
Jb Evain [Thu, 1 May 2008 10:31:27 +0000 (10:31 -0000)]
rename ugly names

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

16 years ago* ConstructorBuilderTest.cs: Use Assert class instead of deriving from
Gert Driesen [Thu, 1 May 2008 10:21:54 +0000 (10:21 -0000)]
* ConstructorBuilderTest.cs: Use Assert class instead of deriving from
deprecated Assertion class. Improved some existing tests, and avoid
creating too much TypeBuilder instances.
* ConstructorBuilder.cs: Switch arguments for AORE.

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

16 years ago2008-05-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 1 May 2008 10:19:31 +0000 (10:19 -0000)]
2008-05-01  Marek Safar  <marek.safar@gmail.com>

* ecore.cs: CreateExpressionTree is finally abstract.

* expression.cs, linq.cs: Updated.

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

16 years agooops
Jb Evain [Thu, 1 May 2008 10:17:31 +0000 (10:17 -0000)]
oops

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

16 years agomore complex orderby test case
Jb Evain [Thu, 1 May 2008 10:16:00 +0000 (10:16 -0000)]
more complex orderby test case

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

16 years agoproperties
Jb Evain [Thu, 1 May 2008 10:15:12 +0000 (10:15 -0000)]
properties

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

16 years agoNew tests.
Marek Safar [Thu, 1 May 2008 10:11:51 +0000 (10:11 -0000)]
New tests.

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

16 years ago2008-05-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 1 May 2008 10:11:39 +0000 (10:11 -0000)]
2008-05-01  Marek Safar  <marek.safar@gmail.com>

* expression.cs, ecore.cs: Block base access expression inside expression
tree.

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

16 years agoNew test.
Marek Safar [Thu, 1 May 2008 08:57:01 +0000 (08:57 -0000)]
New test.

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

16 years ago2008-05-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 1 May 2008 08:54:04 +0000 (08:54 -0000)]
2008-05-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #385058
* expression.cs: User-defined operator implementations always take
precedence over predefined operator implementations.

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

16 years agoFix compile error
Raja R Harinath [Thu, 1 May 2008 06:47:06 +0000 (06:47 -0000)]
Fix compile error

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

16 years agoInlined helper methods and made some fields local vars. Gives about 1.70x faster...
Alan McGovern [Wed, 30 Apr 2008 22:51:28 +0000 (22:51 -0000)]
Inlined helper methods and made some fields local vars. Gives about 1.70x faster performance.

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

16 years agoInlined helper methods removed unnecessary casts and made a field a local var. Gives...
Alan McGovern [Wed, 30 Apr 2008 22:16:19 +0000 (22:16 -0000)]
Inlined helper methods removed unnecessary casts and made a field a local var. Gives about 1.70x faster performance.

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

16 years ago2008-04-30 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 30 Apr 2008 22:14:23 +0000 (22:14 -0000)]
2008-04-30 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_method_verify): Fix the comparison
operator for code bounds check.

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

16 years ago2008-04-30 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 30 Apr 2008 21:44:40 +0000 (21:44 -0000)]
2008-04-30  Marek Habersack  <mhabersack@novell.com>

* HttpApplication.cs: when the Start method is called in a new
thread, the thread's culture and ui culture are set to their
defaults, thus ignoring whatever their values were in the parent
thread. This is now fixed by passing an array containing the
culture values to the Start method, so that the new thread can be
properly initialized. Fixes bug #323566

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

16 years ago2008-04-30 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 30 Apr 2008 20:25:03 +0000 (20:25 -0000)]
2008-04-30  Miguel de Icaza  <miguel@novell.com>

* WebPermission.cs (ToXml): To allow code that uses WebPermission
to be built.

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

16 years ago2008-04-30 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 30 Apr 2008 20:24:33 +0000 (20:24 -0000)]
2008-04-30  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewRow.cs: Fixes for cloning the row, ensure header cell's
datagridview gets set.  Only paint cells in visible columns.
* DataGridViewCell.cs: Draw border after cell content.
* DataGridView.cs: Invalidate after setting some properties.  Only
use visible columns.  Fit hit test bug with areas in the col/row header
area but not in a row or col.  Implement UpdateCell/Row methods.

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

16 years ago* VBCodeGenerator.cs: Fixed generated code for abstract properties.
Gert Driesen [Wed, 30 Apr 2008 18:41:21 +0000 (18:41 -0000)]
* VBCodeGenerator.cs: Fixed generated code for abstract properties.
* CodeGeneratorFromTypeTest.cs: Added tests for static and abstract
property.
* ComponentConverterTests.cs: Allow test to be compiled using csc 1.x.
* ExecutorTest.cs: Use Assert.Ignore when ping is not available.
Avoid using ExpectedException in ExecWait test, and added link to
MS bug report.

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

16 years ago2008-04-30 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 30 Apr 2008 17:59:00 +0000 (17:59 -0000)]
2008-04-30 Rodrigo Kumpera <rkumpera@novell.com>

* make_il_overflow_test.sh: New test generator
for a truncated IL stream.

* make_tests.sh: Fixed generation script. Added
tests using the new generator.

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

16 years ago2008-04-30 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 30 Apr 2008 17:55:53 +0000 (17:55 -0000)]
2008-04-30 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (mono_method_verify): Check the bounds of
all access of the code array.

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

16 years ago2008-04-30 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 30 Apr 2008 17:40:59 +0000 (17:40 -0000)]
2008-04-30  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewElement.cs: Don't throw NIEX.
* DataGridViewColumnHeaderCell.cs: Draw error icons for top left header cells.
* DataGridViewColumnDesignTimeVisibleAttribute.cs: Don't throw NIEX.
* DataGridViewCheckBoxColumn.cs: Implement ToString.
* DataGridViewCheckBoxCell.cs: Allow DBNull as a value.
* DataGridViewCell.cs: Don't raise CellFormatting for RowHeader cells,
if the user filled in the formatting Value, use it.

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

16 years ago2008-04-30 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 30 Apr 2008 17:30:14 +0000 (17:30 -0000)]
2008-04-30  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewTextBoxCell.cs: Fix for objects that cannot be cast
to a string.

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

16 years agoNew tests.
Marek Safar [Wed, 30 Apr 2008 17:15:14 +0000 (17:15 -0000)]
New tests.

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

16 years agoMore tests.
Marek Safar [Wed, 30 Apr 2008 17:14:54 +0000 (17:14 -0000)]
More tests.

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

16 years ago2008-04-30 Marek Safar <marek.safar@gmail.com>
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

16 years ago* corlib_test.dll.sources: Added ConstructorOnTypeBuilderInstTest.cs.
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

16 years ago2008-04-30 George Giolfan <georgegiolfan@yahoo.com>
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

16 years ago* DirectoryTest.cs: Do not use ExpectedException to avoid false
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

16 years ago2008-04-30 Marek Habersack <mhabersack@novell.com>
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

16 years agonew tests
Jb Evain [Wed, 30 Apr 2008 12:15:37 +0000 (12:15 -0000)]
new tests

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

16 years ago2008-04-30 Marek Safar <marek.safar@gmail.com>
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

16 years agonew tests
Jb Evain [Wed, 30 Apr 2008 11:45:11 +0000 (11:45 -0000)]
new tests

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

16 years ago* DictionaryTest.cs: Added not working tests for bug #384723. Spaces
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

16 years agoAdded few unsafe tests.
Marek Safar [Wed, 30 Apr 2008 09:38:39 +0000 (09:38 -0000)]
Added few unsafe tests.

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

16 years agoNew tests.
Marek Safar [Wed, 30 Apr 2008 09:38:23 +0000 (09:38 -0000)]
New tests.

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

16 years ago2008-04-30 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-04-30 Jb Evain <jbevain@novell.com>
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

16 years ago2008-04-30 Jb Evain <jbevain@novell.com>
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

16 years agoreformat
Jb Evain [Wed, 30 Apr 2008 07:11:33 +0000 (07:11 -0000)]
reformat

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

16 years ago2008-04-30 Atsushi Enomoto <atsushi@ximian.com>
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

16 years agoPerformed loop unrolling and re-rolling to reduce IL size significantly and improve...
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

16 years ago * BindingSourceTest.cs: New Filter/RemoveFilter tests.
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

16 years ago2008-04-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

16 years ago2008-04-30 Marek Habersack <mhabersack@novell.com>
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

16 years ago2008-04-29 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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

16 years ago2008-04-29 George Giolfan <georgegiolfan@yahoo.com>
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

16 years ago2008-04-29 Jonathan Pobst <monkey@jpobst.com>
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

16 years ago2008-04-29 George Giolfan <georgegiolfan@yahoo.com>
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

16 years ago2008-04-29 Jb Evain <jbevain@novell.com>
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

16 years ago2008-04-29 Martin Baulig <martin@ximian.com>
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

16 years ago2008-04-29 Marek Habersack <mhabersack@novell.com>
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

16 years agoMore tests.
Marek Safar [Tue, 29 Apr 2008 14:18:10 +0000 (14:18 -0000)]
More tests.

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

16 years ago2008-04-29 Marek Safar <marek.safar@gmail.com>
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

16 years agoCheck for sys/utime.h that fixes MSVC build.
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

16 years ago2008-04-29 Jb Evain <jbevain@novell.com>
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

16 years ago2008-04-29 Juraj Skripsky <js@hotfeet.ch>
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

16 years agoNew test.
Marek Safar [Tue, 29 Apr 2008 10:44:37 +0000 (10:44 -0000)]
New test.

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

16 years ago2008-04-29 Marek Safar <marek.safar@gmail.com>
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

16 years agoDisabled cs0019-2 when waiting for feedback
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

16 years agoNew tests.
Marek Safar [Tue, 29 Apr 2008 10:01:58 +0000 (10:01 -0000)]
New tests.

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

16 years ago2008-04-29 Marek Safar <marek.safar@gmail.com>
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

16 years ago2008-04-29 Marek Habersack <grendello@gmail.com>
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

16 years ago2008-04-28 Everaldo Canuto <ecanuto@novell.com>
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

16 years ago2008-04-28 Everaldo Canuto <ecanuto@novell.com>
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

16 years ago2008-04-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>
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