Marek Safar [Mon, 7 Apr 2008 15:58:19 +0000 (15:58 -0000)]
2008-04-07 Marek Safar <marek.safar@gmail.com>
A fix for bug #377485
* assign.cs, expression.cs, decl.cs, class.cs, ecore.cs, namespace.cs:
Propagate location for extension method groups. Report conversion failure at
right place.
svn path=/trunk/mcs/; revision=100026
Rodrigo Kumpera [Mon, 7 Apr 2008 15:50:54 +0000 (15:50 -0000)]
2008-04-07 Rodrigo Kumpera <rkumpera@novell.com>
* make_unary_test.sh: Clear the stack before ret.
* make_test.sh: Added tests for ckfinite.
svn path=/trunk/mono/; revision=100025
Marek Safar [Mon, 7 Apr 2008 15:07:17 +0000 (15:07 -0000)]
Another update
svn path=/trunk/mcs/; revision=100023
Marek Safar [Mon, 7 Apr 2008 14:59:53 +0000 (14:59 -0000)]
Put back EmptyConstantCast.
svn path=/trunk/mcs/; revision=100022
Marek Safar [Mon, 7 Apr 2008 14:51:11 +0000 (14:51 -0000)]
2008-04-07 Marek Safar <marek.safar@gmail.com>
* Makefile: Enabled IL regressions check for gmcs profile.
svn path=/trunk/mcs/; revision=100021
Marek Safar [Mon, 7 Apr 2008 14:49:53 +0000 (14:49 -0000)]
Updated after Hari's changes.
svn path=/trunk/mcs/; revision=100020
Marek Safar [Mon, 7 Apr 2008 14:49:08 +0000 (14:49 -0000)]
New tests.
svn path=/trunk/mcs/; revision=100019
Marek Safar [Mon, 7 Apr 2008 14:43:21 +0000 (14:43 -0000)]
2008-04-07 Marek Safar <marek.safar@gmail.com>
* anonymous.cs, expression.cs, ecore.cs, typemanager.cs: Implemented
ListInit and Field expressions.
svn path=/trunk/mcs/; revision=100018
Raja R Harinath [Mon, 7 Apr 2008 14:34:47 +0000 (14:34 -0000)]
Fix comment about avoiding creating proxies.
svn path=/trunk/mcs/; revision=100017
Marek Safar [Mon, 7 Apr 2008 11:36:25 +0000 (11:36 -0000)]
2008-04-07 Marek Safar <marek.safar@gmail.com>
* compiler-tester.cs: Don't report IL reduction as regression.
svn path=/trunk/mcs/; revision=100011
Dick Porter [Mon, 7 Apr 2008 11:12:10 +0000 (11:12 -0000)]
2008-04-07 Dick Porter <dick@ximian.com>
* Thread.cs: Fix throwing of exceptions when manipulating
ApartmentState. Fixes part of bug 324338.
svn path=/trunk/mcs/; revision=100010
Ivan Zlatev [Mon, 7 Apr 2008 01:25:00 +0000 (01:25 -0000)]
2008-04-07 Ivan N. Zlatev <contact@i-nz.net>
* ReflectionPropertyDescriptor.cs: ReadOnlyAttribute has a Default,
so there is no need for a null reference check. Fixes the attr_ro unused
value warning during compilation.
svn path=/trunk/mcs/; revision=100000
Carlos Alberto Cortez [Sun, 6 Apr 2008 23:31:32 +0000 (23:31 -0000)]
* BindingSourceTest.cs: Enable some old not working tests.
2008-04-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=99990
Carlos Alberto Cortez [Sun, 6 Apr 2008 23:20:48 +0000 (23:20 -0000)]
2008-04-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* DataBindingTests.cs: Enable some CurrencyManager tests.
svn path=/trunk/mcs/; revision=99989
Gert Driesen [Sun, 6 Apr 2008 19:17:24 +0000 (19:17 -0000)]
* WebBrowserBase.cs: Added missing attributes and fixed attributes.
Fixed line endings.
* WebBrowser.cs: Added missing attributes and fixed attributes. Fixed
line endings.
* MaskedTextBox.cs: Added missing attribute. Code formatting.
* PageSetupDialog.cs: Added missing attribute. Code formatting.
* HtmlWindowCollection.cs: Code formatting. Fixed line endings.
* ImeMode.cs: Added missing field.
* HtmlWindow.cs: Code formatting. Fixed line endings.
* HtmlElement.cs: Code formatting. Fixed line endings. Fixed compiler
warnings.
* HtmlHistory.cs: Code formatting. Fixed line endings.
* HtmlDocument.cs: Code formatting. Fixed line endings.
* ToolStripPanel.cs: Added missing IList implementation.
* HtmlElementCollection.cs: Code formatting. Fixed line endings.
svn path=/trunk/mcs/; revision=99971
Geoff Norton [Sun, 6 Apr 2008 15:02:40 +0000 (15:02 -0000)]
In Test/System.Net:
2008-04-06 Geoff Norton <gnorton@novell.com>
* HttpListener2Test.cs:
* HttpListenerRequestTest.cs: HttpListener Basic authenticationt test
from Maciej Paszta <paszczi@go2.pl>
svn path=/trunk/mcs/; revision=99957
Geoff Norton [Sun, 6 Apr 2008 15:00:31 +0000 (15:00 -0000)]
In System.Net:
2008-04-06 <gnorton@novell.com>
* ListenerAsyncContext.cs: Fix Basic authentication support. Patch from
Maciej Paszta <paszczi@go2.pl>
svn path=/trunk/mcs/; revision=99956
Gert Driesen [Sun, 6 Apr 2008 09:44:07 +0000 (09:44 -0000)]
* BindingContext.cs: Changed argument names to fix corcompare errors.
* DataGridView.cs: Removed extra explicit interface implementation
of IDropTarget. Code formatting.
* FlowLayoutPanel.cs: Changed argument names to fix corcompare errors.
* ComboBox.cs: Changed argument names to fix corcompare errors.
* DataGridTextBoxColumn.cs: Changed argument names to fix corcompare
errors.
* GridColumnStylesCollection.cs: Changed argument names to fix
corcompare errors. Removed extra tabs.
* GridTableStylesCollection.cs: Changed argument names to fix corcompare
errors.
* Control.cs: Changed argument names to fix corcompare errors. Code
formatting. Removed extra explicit IList implementation.
* TextBox.cs: Changed argument names to fix corcompare errors. Code
formatting. Use string.Empty instead of "".
* GridItemCollection.cs: Changed argument names to fix corcompare
errors. Code formatting.
* DataGridViewTopLeftHeaderCell.cs: Changed argument names to fix
corcompare errors. Code formatting.
* ImageList.cs: Changed argument names to fix corcompare errors.
* ToolStripItem.cs: Changed argument names to fix corcompare errors.
* DataGridViewRowCollection.cs: Changed argument names to fix
corcompare errors. Code formatting.
* TableLayoutPanel.cs: Changed argument names to fix corcompare errors.
* DataGridViewSelectedCellCollection.cs: Changed argument names to
fix corcompare errors. Code formatting.
* DataGridViewComboBoxCell.cs: Changed argument names to fix
corcompare errors. Code formatting.
* LinkLabel.cs: Changed argument names to fix corcompare errors.
* TreeNode.cs: Changed argument names to fix corcompare errors. Code
formatting.
* PropertyGrid.cs: Changed argument names to fix corcompare errors.
Code formatting.
* BindingSource.cs: Changed argument names to fix corcompare errors.
Removed extra explicit interface implementations.
* DataGridViewSelectedRowCollection.cs: Changed argument names to
fix corcompare errors. Code formatting.
* ToolStripItemCollection.cs: Removed extra explicit interface
implementation of IList.ReadOnly.
* DataGridViewColumnCollection.cs: Changed argument names to fix
corcompare errors. Code formatting.
* DataGridViewRow.cs: Rename converter to match MS. Code formatting.
* ListView.cs: Changed argument names to fix corcompare errors.
* DataGridViewHeaderCell.cs: Changed argument names to fix corcompare
errors.
* DataGridBoolColumn.cs: Changed argument names to fix corcompare
errors.
* ListBindingHelper.cs: Changed argument names to fix corcompare
errors.
* DataGridViewSelectedColumnCollection.cs: Changed argument names to
fix corcompare errors. Code formatting.
* ToolStripPanel.cs: Removed extra explicit implementation of
IDropTarget interface.
* ListBox.cs: Changed argument names to fix corcompare errors. Code
formatting. Removed extra tabs and spaces.
* DataGridViewCellCollection.cs: Changed argument names to fix
corcompare errors.
* Help.cs: Changed argument names to fix corcompare errors. Code
formatting.
* TabControl.cs: Changed argument names to fix corcompare errors.
* DataGridColumnStyle.cs: Changed argument names to fix corcompare
errors.
* TableLayoutSettings.cs: Changed argument names to fix corcompare
errors.
svn path=/trunk/mcs/; revision=99949
Gert Driesen [Sun, 6 Apr 2008 08:45:14 +0000 (08:45 -0000)]
Fixed commit date.
svn path=/trunk/mcs/; revision=99948
Gert Driesen [Sun, 6 Apr 2008 08:44:51 +0000 (08:44 -0000)]
* PropertiesTab.cs: Modified argument name to fix corcompare error.
svn path=/trunk/mcs/; revision=99947
Gert Driesen [Sun, 6 Apr 2008 08:43:40 +0000 (08:43 -0000)]
Modified argument name to fix corcompare error.
svn path=/trunk/mcs/; revision=99946
Roei Erez [Sun, 6 Apr 2008 07:10:03 +0000 (07:10 -0000)]
some modifications to the project file.
svn path=/trunk/mcs/; revision=99945
Carlos Alberto Cortez [Sat, 5 Apr 2008 23:11:18 +0000 (23:11 -0000)]
* ListBindingHelper.cs: When returning properties, only return those
that are browsable. Also, don't do a linear search of the properties,
but use the indexer of the PropertyDescriptorCollection class.
2008-04-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=99941
Carlos Alberto Cortez [Sat, 5 Apr 2008 22:45:01 +0000 (22:45 -0000)]
2008-04-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingSourceTest.cs: Add new tests for GetRelatedCurrencyManager
method.
svn path=/trunk/mcs/; revision=99940
Carlos Alberto Cortez [Sat, 5 Apr 2008 22:41:23 +0000 (22:41 -0000)]
2008-04-05 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingSource.cs: Implement GetRelatedCurrencyManager by adding a
Dictionary containing the related (child) currency managers. Also,
when setting DataSource, add datasource to our List if it is not a list.
svn path=/trunk/mcs/; revision=99939
Raja R Harinath [Sat, 5 Apr 2008 20:41:24 +0000 (20:41 -0000)]
Some cleanups
* iterators.cs (Iterator.EmitMoveNext): Remove try/fault wrapper.
Since $PC is always -1 inside the body of MoveNext, the fault
handler is a no-op.
* flowanalysis.cs (FlowBranchingException.EmitFinally): Kill.
* statement.cs (ExceptionStatement.emit_finally): Likewise.
(ExceptionStatement.ResolveFinally): Drop 'branching' argument.
svn path=/trunk/mcs/; revision=99931
Raja R Harinath [Sat, 5 Apr 2008 20:14:00 +0000 (20:14 -0000)]
The denouement! Fix #324708
* iterators.cs (Iterator.EmitMoveNext): Reset $PC to -1 on entry.
(Iterator.EmitYieldBreak): We no longer need to reset $PC.
* statement.cs (ExceptionStatement.DoEmit): Actually emit the
'finally' inside the finally clause.
svn path=/trunk/mcs/; revision=99929
Raja R Harinath [Sat, 5 Apr 2008 19:33:20 +0000 (19:33 -0000)]
Now that we're sure no one jumps into the middle of a try/finally, let's
start emitting them in iterators
* statement.cs (ExceptionStatement.DoEmit): Emit try/finally block
inside an iterator. Don't emit the body of the 'finally' inside
the finally clause yet.
svn path=/trunk/mcs/; revision=99928
Gert Driesen [Sat, 5 Apr 2008 19:19:19 +0000 (19:19 -0000)]
* Makefile: Removed TODO from DISTFILES.
svn path=/trunk/mcs/; revision=99927
Gert Driesen [Sat, 5 Apr 2008 19:17:53 +0000 (19:17 -0000)]
* TODO: Removed, as all items are obsolete.
svn path=/trunk/mcs/; revision=99926
Gert Driesen [Sat, 5 Apr 2008 19:16:04 +0000 (19:16 -0000)]
Set eol-style to native.
svn path=/trunk/mcs/; revision=99925
Gert Driesen [Sat, 5 Apr 2008 19:13:26 +0000 (19:13 -0000)]
* cormissing.css: Properly indent parameters. Added support for
collapse/expand of nested delegates, interfaces of delegates/enums
and event accessors.
svn path=/trunk/mono/; revision=99923
Raja R Harinath [Sat, 5 Apr 2008 18:50:25 +0000 (18:50 -0000)]
Use the ResumableStatement infrastructure for MoveNext ()
* iterators.cs (Iterator.EmitMoveNext_NoResumePoints): New.
(Iterator.EmitMoveNext): Use 'resume_points'. Get rid of
'old_resume_points'. Move dispatcher upfront.
(Iterator.MarkYield): Mark the 'resume_point' of a Yield.
* statement.cs (ExceptionStatement.DoEmit): Emit a dispatcher if
in an enumerator. This encodes the main fix in this patch series
-- we can only jump into the first instruction of a try from the
outside, but we want to emit try/finally regions in iterators and
resume in the middle of them.
svn path=/trunk/mcs/; revision=99922
Raja R Harinath [Sat, 5 Apr 2008 18:49:09 +0000 (18:49 -0000)]
* statement.cs (ExceptionStatement.ResolveFinally): Move setting
of NeedReturnLabel here.
svn path=/trunk/mcs/; revision=99921
Raja R Harinath [Sat, 5 Apr 2008 14:56:08 +0000 (14:56 -0000)]
Introduce a common point for emitting try/finally to IL
* statement.cs (ExceptionStatement.DoEmit): New. Combines all the
features of the various subclasses, which are now driven by ...
(ExceptionStatement.EmitPreTryBody): ... this and ...
(ExceptionStatement.EmitTryBody): ... this and the original EmitFinallyBody.
(TryFinally, Lock, Using, UsingTemporary, DisposableWrapper):
Remove DoEmit and update to follow above protocol.
svn path=/trunk/mcs/; revision=99911
Raja R Harinath [Sat, 5 Apr 2008 14:55:38 +0000 (14:55 -0000)]
A cute little optimization to the generated Dispose method
* statement.cs (ExceptionStatement.EmitForDispose): If all labels
of the dispatcher are the same, skip emitting the 'switch'.
* iterator.cs (Iterator.EmitDispose): Update to changes.
svn path=/trunk/mcs/; revision=99910
Raja R Harinath [Sat, 5 Apr 2008 14:55:06 +0000 (14:55 -0000)]
Clean up handling of 'using' statement
* statement.cs (UsingTemporary): New. Carved out of ...
(Using): ... this. Simplify drastically. Handle exactly one variable.
* cs-parser.jay (using_statement): Split. Create UsingTemporary
or Using as appropriate. If there are multiple variable declared,
create nested Using statements.
(resource_acquisition): Kill.
svn path=/trunk/mcs/; revision=99909
Jordi Mas i Hernandez [Sat, 5 Apr 2008 14:19:40 +0000 (14:19 -0000)]
2008-04-05 Jordi Mas i Hernandez <jordimash@gmail.com>
* ScaledFont.cs: Adds class to encapsulate scaled font API
* Mono.Cairo.dll.sources: Adds new class
* Context.cs: Access to Scaled Fonts
* NativeMethods.cs: Add some missing scale_font APIs and fixes
svn path=/trunk/mcs/; revision=99906
Ivan Zlatev [Sat, 5 Apr 2008 14:16:56 +0000 (14:16 -0000)]
2008-04-05 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridTextBox.cs: Fix background color of the buttons.
* PropertyGridView.cs: Make the entry less jumpy.
svn path=/trunk/mcs/; revision=99905
Ivan Zlatev [Sat, 5 Apr 2008 13:41:00 +0000 (13:41 -0000)]
2008-04-05 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGrid.cs: Fix unused variable warnings.
svn path=/trunk/mcs/; revision=99904
Ivan Zlatev [Sat, 5 Apr 2008 13:23:53 +0000 (13:23 -0000)]
2008-04-05 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridView.cs: Fix expansion via [+] misbehavior on
double-click. It expanded it once in the mouse down and then
again in the double-click handler.
svn path=/trunk/mcs/; revision=99903
Raja R Harinath [Sat, 5 Apr 2008 10:04:13 +0000 (10:04 -0000)]
* statement.cs (ExceptionStatement.EmitForDispose): Use
EmitFinallyBody, not EmitFinally.
svn path=/trunk/mcs/; revision=99900
Raja R Harinath [Sat, 5 Apr 2008 08:50:38 +0000 (08:50 -0000)]
* flowanalysis.cs (FlowBranching.StealFinallyClauses): Remove.
* iterator.cs: Update to changes.
svn path=/trunk/mcs/; revision=99899
Raja R Harinath [Sat, 5 Apr 2008 08:07:35 +0000 (08:07 -0000)]
Start using the ResumableStatement infrastructure
* statement.cs (ResumeableStatement.PrepareForDispose): New.
(ResumableStatement.EmitForDispose): New.
(ExceptionStatement): Override them.
* iterators.cs (Iterator.EmitDispose): Use PrepareForDispose and
EmitForDispose to create the body of the Dispose method. Don't
use OldResumePoint.
svn path=/trunk/mcs/; revision=99898
Raja R Harinath [Sat, 5 Apr 2008 08:07:08 +0000 (08:07 -0000)]
Some more refactoring to move resume-point collection into the Iterator
* iterator.cs (Iterator.AddResumePoint): Move here from ...
* statement.cs (Toplevel.AddResumePoint): ... here.
(Toplevel.MoveNextStatement.Resolve): Create FlowBranchingIterator.
* flowanalysis.cs (FlowBranchingIterator): New.
* codegen.cs (EmitContext): Update to changes.
svn path=/trunk/mcs/; revision=99897
Gert Driesen [Sat, 5 Apr 2008 07:31:37 +0000 (07:31 -0000)]
* mono-api-diff.cs: Output type for extra classes, to allow it to
show up on class status pages.
svn path=/trunk/mcs/; revision=99896
Gert Driesen [Sat, 5 Apr 2008 07:19:13 +0000 (07:19 -0000)]
* cormissing.css: Allow nested enums and parameters to be collapsed.
svn path=/trunk/mono/; revision=99895
Ivan Zlatev [Fri, 4 Apr 2008 22:52:17 +0000 (22:52 -0000)]
2008-04-04 Ivan N. Zlatev <contact@i-nz.net>
* GridEntry.cs: ICustomTypeDescriptor support for PropertyOwner,
TypeConverter and UITypeEditors.
svn path=/trunk/mcs/; revision=99892
Zoltan Varga [Fri, 4 Apr 2008 22:17:19 +0000 (22:17 -0000)]
2008-04-05 Zoltan Varga <vargaz@gmail.com>
* mini.c (check_for_method_verify): Remove the mscorlib comment since it is no
longer valid.
svn path=/trunk/mono/; revision=99891
Rodrigo Kumpera [Fri, 4 Apr 2008 21:59:42 +0000 (21:59 -0000)]
2008-04-04 Rodrigo Kumpera <rkumpera@novell.com>
* mini.c (check_for_method_verify): Enabling verification of
corlib if mono_verify_all is set. Bugs in the verifier preventing that
have been fixed.
svn path=/trunk/mono/; revision=99890
Rodrigo Kumpera [Fri, 4 Apr 2008 21:47:31 +0000 (21:47 -0000)]
2008-04-04 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_conversion): Improved error message to something
more meanfull.
* verify.c (check_is_valid_type_for_field_ops): Fix to work
with primitive types.
svn path=/trunk/mono/; revision=99889
Raja R Harinath [Fri, 4 Apr 2008 20:18:30 +0000 (20:18 -0000)]
Minor cleanups
* iterators.cs (Iterator.OldResumePoint): Rename from ResumePoint.
(Iterator.old_resume_points): Rename from 'resume_points'.
(Iterator.MoveNextStatement): Remove unused class.
svn path=/trunk/mcs/; revision=99882
Raja R Harinath [Fri, 4 Apr 2008 20:18:03 +0000 (20:18 -0000)]
New infrastructure for try/finally in iterators (still unused)
* flowanalysis.cs (FlowBranching.AddResumePoint): New.
(FlowBranchingToplevel.AddResumePoint): Hook into
ToplevelBlock.AddResumePoint.
(FlowBranchingTryCatch): Move CS01626 and CS01631 checks here.
(FlowBranchingException): Hook into ExceptionBlock.AddResumePoint.
* statement.cs (ToplevelBlock.AddResumePoint): New. Collect
resume points and assign program-counter values.
(ExceptionBlock.AddResumePoint): Collect resume points for
de-muxer at the top of try block.
* iterators.cs (Yield.CheckContext): Simplify.
(Yield.Resolve): Use FlowBranching.AddResumePoint.
svn path=/trunk/mcs/; revision=99881
Raja R Harinath [Fri, 4 Apr 2008 20:17:36 +0000 (20:17 -0000)]
Some more refactoring
* flowanalysis.cs (FlowBranching.AddReturnOrigin): Change Location
argument to an ExitStatement.
(FlowBranchingException): Refactor saved origins code.
* statement.cs (ExitStatement): Update to cahges.
* iterator.cs (YieldBreak): Likewise.
svn path=/trunk/mcs/; revision=99880
Raja R Harinath [Fri, 4 Apr 2008 20:17:10 +0000 (20:17 -0000)]
Some simple refactoring
* statement.cs (ResumableStatement): New. Common base class for
YieldReturn and ExceptionStatement.
(ExitStatement): New. Common base class for Return and YieldBreak.
(Return): Update to changes.
* iterator.cs (YieldBreak): Likewise.
* lambda.cs (ContextualReturn): Likewise.
svn path=/trunk/mcs/; revision=99879
Rodrigo Kumpera [Fri, 4 Apr 2008 19:02:56 +0000 (19:02 -0000)]
2008-04-04 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Added tail prefix checking. Marked icall
as unverifible.
svn path=/trunk/mono/; revision=99877
Rodrigo Kumpera [Fri, 4 Apr 2008 19:01:42 +0000 (19:01 -0000)]
2008-04-04 Rodrigo Kumpera <rkumpera@novell.com>
* make_tail_call_test.sh: New test generator for
tail prefix.
* make_test.sh: Added tests using the new generator.
svn path=/trunk/mono/; revision=99876
Rodrigo Kumpera [Fri, 4 Apr 2008 18:32:59 +0000 (18:32 -0000)]
2008-04-04 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Fix the detection of branches to the middle
of an instruction.
svn path=/trunk/mono/; revision=99873
Rodrigo Kumpera [Fri, 4 Apr 2008 18:32:15 +0000 (18:32 -0000)]
2008-04-04 Rodrigo Kumpera <rkumpera@novell.com>
* invalid_branch_middle_of_instruction.il: Recent
work on prefixes broke the verification for branching
in the middle of an instruction.
svn path=/trunk/mono/; revision=99872
Andreia Gaita [Fri, 4 Apr 2008 18:27:32 +0000 (18:27 -0000)]
* Mono.Mozilla/DOM/Element.cs,
* Mono.Mozilla/DOM/HTMLElement.cs,
* Mono.WebBrowser/DOM/IElement.cs: Implement ClientWidth, ClientHeight,
ScrollWidth, ScrollHeight, ScrollLeft, ScrollTop, OffsetHeight,
OffsetWidth, OffsetLeft, OffsetTop, OffsetParent, Disabled.
2008-04-04 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=99871
Andreia Gaita [Fri, 4 Apr 2008 18:22:05 +0000 (18:22 -0000)]
* Mono.Mozilla/DOM/Document.cs: Differentiate between html and non-html
elements when creating the wrapper object for the active element, as
certain properties are only implemented in html elements.
2008-04-04 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=99870
Andreia Gaita [Fri, 4 Apr 2008 18:19:11 +0000 (18:19 -0000)]
* Mono.Mozilla/AsciiString.cs, Mono.Mozilla/UniString.cs: Fix for string
getter cache, always mark the string as dirty when fetching the handle.
2008-04-04 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=99869
Ivan Zlatev [Fri, 4 Apr 2008 18:08:03 +0000 (18:08 -0000)]
2008-04-04 Ivan N. Zlatev <contact@i-nz.net>
* Control.cs: Visibility should be set synchronously,
so we must also redraw once it is and not rely on layouting or
other code to repaint.
[Fixes bug #339898]
svn path=/trunk/mcs/; revision=99868
Dick Porter [Fri, 4 Apr 2008 17:18:47 +0000 (17:18 -0000)]
2008-04-04 Dick Porter <dick@ximian.com>
* File.cs: Pretty up the file share exception with the path name.
2008-04-04 Dick Porter <dick@ximian.com>
* FileTest.cs: Test moving a file when the access mode disallows
it. Test from Eric Albright <albright@wesay.org>, see bug 377049.
svn path=/trunk/mcs/; revision=99860
Dick Porter [Fri, 4 Apr 2008 17:17:32 +0000 (17:17 -0000)]
2008-04-04 Dick Porter <dick@ximian.com>
* io.c (MoveFile): Check file shares before moving a file. Fixes
bug 377049.
svn path=/trunk/mono/; revision=99859
Dick Porter [Fri, 4 Apr 2008 16:24:23 +0000 (16:24 -0000)]
2008-04-04 Dick Porter <dick@ximian.com>
* error.c (errno_to_WSA): handle ENODEV. Fixes the reopened part
of bug 324035.
svn path=/trunk/mono/; revision=99850
Zoltan Varga [Fri, 4 Apr 2008 15:42:28 +0000 (15:42 -0000)]
2008-04-04 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (throw_exception): Unify the win32/non-win32 cases, save
caller saved registers as well.
svn path=/trunk/mono/; revision=99847
Jonathan Pobst [Fri, 4 Apr 2008 14:48:39 +0000 (14:48 -0000)]
2008-04-04 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewCell.cs: Respect DataGridView.GridColor.
svn path=/trunk/mcs/; revision=99845
Dick Porter [Fri, 4 Apr 2008 14:41:05 +0000 (14:41 -0000)]
Shut gcc up
svn path=/trunk/mono/; revision=99844
Dick Porter [Fri, 4 Apr 2008 14:20:59 +0000 (14:20 -0000)]
2008-04-04 Dick Porter <dick@ximian.com>
* processes.c (GetModuleInformation):
* versioninfo.h:
* versioninfo.c: 64bit fixes
svn path=/trunk/mono/; revision=99843
Bill Holmes [Fri, 4 Apr 2008 13:56:07 +0000 (13:56 -0000)]
2008-04-04 Bill Holmes <billholmes54@gmail.com>
* runburg.bat, runmdesc.bat: Reverting back to r97888. The PATH was correct before.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=99840
Raja R Harinath [Fri, 4 Apr 2008 10:55:58 +0000 (10:55 -0000)]
Fix #377028
* ecore.cs (Expression.ResolveAsTypeStep): If '!silent' attempt to
emit a meaningful error message.
svn path=/trunk/mcs/; revision=99835
Raja R Harinath [Fri, 4 Apr 2008 10:55:40 +0000 (10:55 -0000)]
remove gcs0019-9.cs
svn path=/trunk/mcs/; revision=99834
Zoltan Varga [Fri, 4 Apr 2008 10:26:38 +0000 (10:26 -0000)]
2008-04-04 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (mono_arch_get_restore_context): Restore most caller
saved registers as well.
svn path=/trunk/mono/; revision=99833
Raja R Harinath [Fri, 4 Apr 2008 08:19:51 +0000 (08:19 -0000)]
Fix #324765, #319508
* flowanalysis.cs (VariableInfo.IsEverAssigned): New.
(VariableInfo.SetAssigned): Set it.
* statement.cs (Block.UsageWarning): Use 'IsEverAssigned' to
determine if CS0219 or CS0168 is appropriate. Don't use
flow-analysis information.
(Block.Resolve): Use ec.EndFlowBranching, not ec.DoEndFlowBranching.
* codegen.cs (EmitContext.DoEndFlowBranching): Kill. Inline into ...
(EmitContext.EndFlowBranching): ... this.
svn path=/trunk/mcs/; revision=99830
Raja R Harinath [Fri, 4 Apr 2008 08:19:33 +0000 (08:19 -0000)]
add gtest-380.cs
svn path=/trunk/mcs/; revision=99829
Raja R Harinath [Fri, 4 Apr 2008 08:19:11 +0000 (08:19 -0000)]
Fix nunit failures
* String.cs (EndsWith) [CultureInfo variant]: Handle null 'culture'.
(StartsWith, EndsWith, IndexOf, LastIndexOf) [StringComparison variant]:
Throw exception on invalid StringComparison.
svn path=/trunk/mcs/; revision=99828
Jonathan Pobst [Thu, 3 Apr 2008 23:04:24 +0000 (23:04 -0000)]
2008-04-03 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: Invalidate when the alpha channel is less than 255,
not only when control is transparent.
svn path=/trunk/mcs/; revision=99811
Jonathan Pobst [Thu, 3 Apr 2008 22:44:42 +0000 (22:44 -0000)]
2008-04-03 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewRowPrePaintEventArgs.cs, DataGridViewRowPostPaintEventArgs.cs:
Implement some painting convenience methods that threw NIEX.
svn path=/trunk/mcs/; revision=99807
Rodrigo Kumpera [Thu, 3 Apr 2008 21:11:56 +0000 (21:11 -0000)]
2008-04-03 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Implemented verification of volatile. and
unaligned. prefix. Check if a type is valid after retrieving it.
svn path=/trunk/mono/; revision=99803
Jonathan Pobst [Thu, 3 Apr 2008 21:04:29 +0000 (21:04 -0000)]
2008-04-03 Jonathan Pobst <monkey@jpobst.com>
* DataGridView.cs: Call CellMouse[Enter|Move|Leave] properly.
* DataGridViewLinkCell.cs: Implement.
2008-04-03 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewLinkCellTest.cs: Add.
2008-04-03 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms_test.dll.sources: Add DataGridViewLinkCellTest.cs.
svn path=/trunk/mcs/; revision=99802
Ivan Zlatev [Thu, 3 Apr 2008 18:34:54 +0000 (18:34 -0000)]
2008-04-03 Ivan N. Zlatev <contact@i-nz.net>
* CollectionEditor.cs:
- Handle removing multiple items at once.
- Select the previous item after removal of other(s).
svn path=/trunk/mcs/; revision=99788
Ivan Zlatev [Thu, 3 Apr 2008 17:38:52 +0000 (17:38 -0000)]
2008-04-03 Ivan N. Zlatev <contact@i-nz.net>
* GridEntry.cs: Report the conversion exception error description.
[Fixes bug #375792]
svn path=/trunk/mcs/; revision=99784
Jonathan Pobst [Thu, 3 Apr 2008 16:52:08 +0000 (16:52 -0000)]
2008-04-03 Jonathan Pobst <monkey@jpobst.com>
* TimerTest.cs: Disable a finicky test that occasionally fails.
svn path=/trunk/mcs/; revision=99775
Ivan Zlatev [Thu, 3 Apr 2008 16:50:15 +0000 (16:50 -0000)]
2008-04-03 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridView.cs: Do not scroll to item on resize.
[Fixes bug #375789]
svn path=/trunk/mcs/; revision=99774
Ivan Zlatev [Thu, 3 Apr 2008 16:39:18 +0000 (16:39 -0000)]
2008-04-03 Ivan N. Zlatev <contact@i-nz.net>
* CollectionEditor.cs: The display name of an object in the
list is not static. It can dynamically change when the object
get's modified.
[Fixes bug #375786]
svn path=/trunk/mcs/; revision=99772
Juraj Skripsky [Thu, 3 Apr 2008 15:27:00 +0000 (15:27 -0000)]
2008-04-03 Juraj Skripsky <js@hotfeet.ch>
* Attachment.cs (InitName): Use Path.GetFileName instead of Substring hack.
Fixes bug #366947.
svn path=/trunk/mcs/; revision=99754
Dick Porter [Thu, 3 Apr 2008 15:26:53 +0000 (15:26 -0000)]
2008-04-03 Dick Porter <dick@ximian.com>
* DirectoryTest.cs: Enable tests now that bug 346123 is fixed.
svn path=/trunk/mcs/; revision=99753
Dick Porter [Thu, 3 Apr 2008 15:25:38 +0000 (15:25 -0000)]
2008-04-03 Dick Porter <dick@ximian.com>
* io-portability.c (_wapi_basename, _wapi_dirname): Only turn \
into / when MONO_IOMAP is in effect. Fixes bug 346123.
svn path=/trunk/mono/; revision=99752
Marek Safar [Thu, 3 Apr 2008 14:49:06 +0000 (14:49 -0000)]
New test.
svn path=/trunk/mcs/; revision=99748
Marek Safar [Thu, 3 Apr 2008 14:48:56 +0000 (14:48 -0000)]
2008-04-03 Marek Safar <marek.safar@gmail.com>
* class.cs, typemanager.cs: Emit volatile field with IsVolatile modifier.
svn path=/trunk/mcs/; revision=99747
Sasha Kogan [Thu, 3 Apr 2008 14:28:08 +0000 (14:28 -0000)]
TARGET_JVM: Add msbuild project files & test scripts.
svn path=/trunk/mcs/; revision=99746
Raja R Harinath [Thu, 3 Apr 2008 14:22:26 +0000 (14:22 -0000)]
Fix minor IL regression
* statement.cs (TryCatch..ctor): Add 'inside_try_finally' argument.
(TryCatch.DoEmit): Use it to avoid creating another ExceptionBlock.
* cs-parser.jay (try_statement): Update to changes.
svn path=/trunk/mcs/; revision=99745
Dick Porter [Thu, 3 Apr 2008 13:22:47 +0000 (13:22 -0000)]
2008-04-03 Dick Porter <dick@ximian.com>
* timefuncs.c (GetTickCount): Use mono_msec_ticks(), see bug
347476.
svn path=/trunk/mono/; revision=99743
Marek Safar [Thu, 3 Apr 2008 10:42:56 +0000 (10:42 -0000)]
New test.
svn path=/trunk/mcs/; revision=99737
Marek Safar [Thu, 3 Apr 2008 10:42:43 +0000 (10:42 -0000)]
2008-04-03 Marek Safar <marek.safar@gmail.com>
A fix for bug #376508
* convert.cs, expression.cs: Fixed difference between ImplicitConversion and
ImplicitConversionExists.
svn path=/trunk/mcs/; revision=99736
Marek Safar [Thu, 3 Apr 2008 10:06:18 +0000 (10:06 -0000)]
More tests.
svn path=/trunk/mcs/; revision=99735
Marek Safar [Thu, 3 Apr 2008 10:05:31 +0000 (10:05 -0000)]
New test.
svn path=/trunk/mcs/; revision=99734
Marek Safar [Thu, 3 Apr 2008 10:05:05 +0000 (10:05 -0000)]
2008-04-03 Marek Safar <marek.safar@gmail.com>
* expression.cs (Binary): Added remaining binary operators to expression
tree builder.
* nullable.cs: Optimize shift with null argument.
svn path=/trunk/mcs/; revision=99733
Marek Safar [Thu, 3 Apr 2008 10:01:13 +0000 (10:01 -0000)]
MD reformating issues
svn path=/trunk/mcs/; revision=99732