Igor Zelmanovich [Tue, 12 Feb 2008 14:30:39 +0000 (14:30 -0000)]
add new internal interface for extending HttpWorkerRequest.
svn path=/branches/mainsoft/gh2.2/mcs/; revision=95502
Jonathan Pryor [Tue, 12 Feb 2008 14:19:35 +0000 (14:19 -0000)]
* signal.c: Fix another build break; g_atomic_int_set() (part of GLib 2.10)
isn't present on all build machines, so use an alternate function.
svn path=/trunk/mono/; revision=95499
Roei Erez [Tue, 12 Feb 2008 13:55:28 +0000 (13:55 -0000)]
Initialize Channel uri in all cases
svn path=/trunk/mcs/; revision=95498
Marek Safar [Tue, 12 Feb 2008 13:55:27 +0000 (13:55 -0000)]
Set eol-style
svn path=/trunk/mcs/; revision=95497
Marek Safar [Tue, 12 Feb 2008 13:46:30 +0000 (13:46 -0000)]
2008-02-12 Marek Safar <marek.safar@gmail.com>
* Makefile: Fixed `qh' target to work on all machines.
* report.cs, typemanager.cs, parameter.cs, ecore.cs, class.cs, anonymous.cs,
expression.cs, codegen.cs, statement.cs, doc.cs: Replaced type IsSubclassOf
and HasElementType with TypeManager implementation.
svn path=/trunk/mcs/; revision=95496
Arina Itkes [Tue, 12 Feb 2008 12:19:06 +0000 (12:19 -0000)]
TestFile3.xml and TestFile5.xml are used only for output and should not be committed. I renamed them for future deleting.
svn path=/branches/mainsoft/gh2.2/mcs/; revision=95495
Vladimir Krasnov [Tue, 12 Feb 2008 11:51:43 +0000 (11:51 -0000)]
merge -r95489:95490
svn path=/branches/mainsoft/gh2.2/mcs/; revision=95492
Vladimir Krasnov [Tue, 12 Feb 2008 11:51:00 +0000 (11:51 -0000)]
merge -r95483:95484
svn path=/branches/mainsoft/gh2.2/mcs/; revision=95491
Vladimir Krasnov [Tue, 12 Feb 2008 11:37:20 +0000 (11:37 -0000)]
* Page.jvm.cs: StateSerializer.readExternal and writeExternal fixed to support viewstate encryption
svn path=/trunk/mcs/; revision=95490
Igor Zelmanovich [Tue, 12 Feb 2008 10:14:14 +0000 (10:14 -0000)]
merge r95486-95487
svn path=/trunk/mcs/; revision=95488
Igor Zelmanovich [Tue, 12 Feb 2008 10:01:23 +0000 (10:01 -0000)]
implement such JSF API for being compatible with using of log4j-1.2.13.jar with myfaces.
fix BUG #9871
svn path=/branches/mainsoft/gh2.2/mcs/; revision=95487
Konstantin Triger [Tue, 12 Feb 2008 09:45:14 +0000 (09:45 -0000)]
merge -r95484:95485
svn path=/branches/mainsoft/gh2.2/mcs/; revision=95486
Konstantin Triger [Tue, 12 Feb 2008 09:30:34 +0000 (09:30 -0000)]
TARGET_J2EE: reverted r80308
svn path=/trunk/mcs/; revision=95485
Vladimir Krasnov [Tue, 12 Feb 2008 09:24:34 +0000 (09:24 -0000)]
* ObjectStateFormatter.cs: revert of 91820
svn path=/trunk/mcs/; revision=95484
Igor Zelmanovich [Tue, 12 Feb 2008 09:03:31 +0000 (09:03 -0000)]
merge r95480-95481
svn path=/branches/mainsoft/gh2.2/mcs/; revision=95483
Igor Zelmanovich [Tue, 12 Feb 2008 08:56:26 +0000 (08:56 -0000)]
make Exception message more informative
svn path=/trunk/mcs/; revision=95481
Atsushi Eno [Tue, 12 Feb 2008 08:38:54 +0000 (08:38 -0000)]
2008-02-12 Atsushi Enomoto <atsushi@ximian.com>
* DefaultContext.cs : now number formatting for "R" works fine, so
just use it (and remove conditional compilation for TARGET_JVM).
svn path=/trunk/mcs/; revision=95479
Atsushi Eno [Tue, 12 Feb 2008 03:27:03 +0000 (03:27 -0000)]
2008-02-12 Atsushi Enomoto <atsushi@ximian.com>
* XElement.cs : Value is rather a value in XPath semantics than
the textual xml representation. Fixed bug #360858.
* XElementTest.cs : added test for Value (bug #360858).
svn path=/trunk/mcs/; revision=95478
Jonathan Pryor [Tue, 12 Feb 2008 01:28:38 +0000 (01:28 -0000)]
* UnixSignal.cs: Improve argument checking to match docs.
svn path=/trunk/mcs/; revision=95475
Zoltan Varga [Mon, 11 Feb 2008 22:54:49 +0000 (22:54 -0000)]
2008-02-12 Zoltan Varga <vargaz@gmail.com>
* UnixSignalTest.cs: Fix the build.
svn path=/trunk/mcs/; revision=95474
Andrew Jorgensen [Mon, 11 Feb 2008 21:55:50 +0000 (21:55 -0000)]
build System.Xml.Linq in the 2.0 profile
svn path=/trunk/mcs/; revision=95469
Zoltan Varga [Mon, 11 Feb 2008 21:29:15 +0000 (21:29 -0000)]
2008-02-11 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_layout_fields): Set class->min_align for classes using
explicit layout as well. Fixes #360375.
svn path=/trunk/mono/; revision=95468
Gert Driesen [Mon, 11 Feb 2008 20:53:27 +0000 (20:53 -0000)]
* DelegateTest.cs: Added incomplete set of (notworking) tests for
bug #360784.
svn path=/trunk/mcs/; revision=95466
Carlos Alberto Cortez [Mon, 11 Feb 2008 20:12:44 +0000 (20:12 -0000)]
2008-02-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingTest.cs: New test for 2.0 DataSourceNullValue property -
which is not working by now (but should guide us to correctly
implement some missing features in data binding).
svn path=/trunk/mcs/; revision=95462
Carlos Alberto Cortez [Mon, 11 Feb 2008 20:07:58 +0000 (20:07 -0000)]
2008-02-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Binding.cs: Implement 2.0 DataSourceNullValue property.
svn path=/trunk/mcs/; revision=95461
Ivan Zlatev [Mon, 11 Feb 2008 17:58:19 +0000 (17:58 -0000)]
2008-02-11 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridView.cs:
- Clear the controls in the drop down form after it is hidden.
- Fix Width sizing of the dropdown editors to match MSFT.
svn path=/trunk/mcs/; revision=95456
Atsushi Eno [Mon, 11 Feb 2008 16:31:45 +0000 (16:31 -0000)]
2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
* XNodeDocumentOrderComparer.cs : ancestor/descendant comparison was
broken for some cases.
* Extensions.cs : implemented InDocumentOrder<T>().
* XNodeDocumentOrderComparerTest.cs : added another test for
descendant/ancestor comparison.
* ExtensionsTest.cs : test InDocumentOrder<T>().
svn path=/trunk/mcs/; revision=95447
Ivan Zlatev [Mon, 11 Feb 2008 16:28:45 +0000 (16:28 -0000)]
2008-02-11 Ivan N. Zlatev <contact@i-nz.net>
* AnchorEditor.cs: More sensible default width.
svn path=/trunk/mcs/; revision=95446
Arina Itkes [Mon, 11 Feb 2008 16:10:56 +0000 (16:10 -0000)]
Fix tests: end of line is "\r\n" when it runs on Windows.
svn path=/branches/mainsoft/gh2.2/mcs/; revision=95445
Ivan Zlatev [Mon, 11 Feb 2008 15:55:05 +0000 (15:55 -0000)]
2008-02-11 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGridView.cs:
- Fix height for drawing the grid entry
text value, so that it clips multiline text properly.
- Fix unfocusing to match MSFT.
svn path=/trunk/mcs/; revision=95444
Atsushi Eno [Mon, 11 Feb 2008 15:25:42 +0000 (15:25 -0000)]
2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
* XName.cs : implemented GetObjectData(). It is however incompatible
with .NET (yet?).
* XNodeNavigator.cs : SchemaInfo is null.
svn path=/trunk/mcs/; revision=95442
Atsushi Eno [Mon, 11 Feb 2008 15:01:08 +0000 (15:01 -0000)]
2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
* XStreamingElement.cs : it was almost already implemented.
* XElement.cs : finish .ctor(XStreamingElement).
svn path=/trunk/mcs/; revision=95440
Ivan Zlatev [Mon, 11 Feb 2008 14:53:36 +0000 (14:53 -0000)]
2008-02-11 Ivan N. Zlatev <contact@i-nz.net>
* PropertyGrid.cs: Do not populate subgriditems unless expandable.
Fixes a bug where on repopulation after value changed items become
expandable.
svn path=/trunk/mcs/; revision=95439
Atsushi Eno [Mon, 11 Feb 2008 14:45:04 +0000 (14:45 -0000)]
2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
* XNode.cs, XElement.cs, XStreamingElement.cs, XContainer.cs,
XUtil.cs : one-object to one-XNode conversion is wrong. It could
be one-or-more nodes (i.e. when object is IEnumerable).
svn path=/trunk/mcs/; revision=95438
Atsushi Eno [Mon, 11 Feb 2008 14:20:23 +0000 (14:20 -0000)]
2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
* XNamespace.cs : make Get() and GetName() table-based.
* XNamespaceTest.cs : test Get() and GetName().
svn path=/trunk/mcs/; revision=95437
Arina Itkes [Mon, 11 Feb 2008 13:45:49 +0000 (13:45 -0000)]
dos2unix was applied
svn path=/trunk/mcs/; revision=95435
Igor Zelmanovich [Mon, 11 Feb 2008 12:54:56 +0000 (12:54 -0000)]
added TARGET_J2EE ifdef
svn path=/branches/mainsoft/gh2.2/mcs/; revision=95433
Atsushi Eno [Mon, 11 Feb 2008 11:28:51 +0000 (11:28 -0000)]
2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
* XNodeNavigator.cs : MoveToId() is not supported in this class.
* XElement.cs : allow DTD by default.
* XNodeNavigatorTest.cs : test MoveToId() (NotSupportedException,
cannot be enabled yet).
svn path=/trunk/mcs/; revision=95430
Atsushi Eno [Mon, 11 Feb 2008 11:01:37 +0000 (11:01 -0000)]
2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
* XNode.cs XElement.cs XObject.cs XDocument.cs XContainer.cs :
support LoadOptions.SetLineInfo and LoadOptions.SetBaseUri.
* XObjectTest.cs : new. Test IXmlLineInfo.
svn path=/trunk/mcs/; revision=95429
Eyal Alalouf [Mon, 11 Feb 2008 09:45:43 +0000 (09:45 -0000)]
Fix NaN and +/-Infinity ToString("R")
svn path=/trunk/mcs/; revision=95428
Atsushi Eno [Mon, 11 Feb 2008 08:21:40 +0000 (08:21 -0000)]
2008-02-11 Atsushi Enomoto <atsushi@ximian.com>
* XNodeNavigator.cs : oops, MoveToNext() always returned false.
* XNodeNavigatorTest.cs : new test (but it does not build yet).
* System.Xml.Linq_test.dll.sources : added XNodeNavigatorTest.cs.
svn path=/trunk/mcs/; revision=95427
Miguel de Icaza [Mon, 11 Feb 2008 05:59:50 +0000 (05:59 -0000)]
2008-02-11 Miguel de Icaza <miguel@novell.com>
* XAttribute.cs, XElement.cs: typecasting operators that take
values that can be null (nullable types and string) should not
throw an exception if the XAttribute is null, but return null instead.
* Added awesome test suite using awesome C-x ( C-x ) C-x e based
code generation.
svn path=/trunk/mcs/; revision=95417
Geoff Norton [Mon, 11 Feb 2008 05:42:31 +0000 (05:42 -0000)]
In .:
2008-02-11 Geoff Norton <gnorton@novell.com>
* loader.c: Guard and dereference against inflated generic methods
svn path=/trunk/mono/; revision=95415
Miguel de Icaza [Mon, 11 Feb 2008 05:36:32 +0000 (05:36 -0000)]
Add 3_5 define
svn path=/trunk/mcs/; revision=95414
Miguel de Icaza [Mon, 11 Feb 2008 05:35:09 +0000 (05:35 -0000)]
Revert, this patch does not look correct
svn path=/trunk/mcs/; revision=95413
Carlos Alberto Cortez [Mon, 11 Feb 2008 02:28:00 +0000 (02:28 -0000)]
2008-02-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingTest.cs: New test for changes in data source property (with
a 'PropertyChange' event).
svn path=/trunk/mcs/; revision=95412
Carlos Alberto Cortez [Mon, 11 Feb 2008 02:26:34 +0000 (02:26 -0000)]
2008-02-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Binding.cs: For the 2.0 profile, look for a
'PropertyChanged' event in the target control, and add checks for
DataSourceUpdateMode property to change -or not- the data source
from validation/control property change.
svn path=/trunk/mcs/; revision=95411
Sebastien Pouliot [Sun, 10 Feb 2008 20:28:55 +0000 (20:28 -0000)]
2008-02-10 Sebastien Pouliot <sebastien@ximian.com>
* NativeDapiProtection.cs: Don't call GetLastWin32Error so late and
use the value we already have from a previous call. Found using
Gendarme.
svn path=/trunk/mcs/; revision=95404
Sebastien Pouliot [Sun, 10 Feb 2008 20:26:53 +0000 (20:26 -0000)]
2008-02-10 Sebastien Pouliot <sebastien@ximian.com>
* gdipFunctions.cs: Seal GdiPlusStreamHelper class. Found using
Gendarme.
* carbonFunctions.cs: Seal Carbon class before 2.0, make it static
from 2.0. Issues reported by Gendarme.
* ColorConverter.cs: Seal internal IComparer class CompareColors.
Found using Gendarme.
* FontConverter.cs: Don't ignore result of String.Trim. Found
using Gendarme.
* Graphics.cs: Document unused FillMode on DrawCloseCurve (part
of the API but unused) and remove unused internal code. Both found
using Gendarme.
* SRDescriptionAttribute.cs: Seal internal attribute. Found using
Gendarme.
svn path=/trunk/mcs/; revision=95403
Sebastien Pouliot [Sun, 10 Feb 2008 20:21:47 +0000 (20:21 -0000)]
PrintingServicesUnix.cs: Fix AvoidToStringOnStringsRule found using Gendarme.
svn path=/trunk/mcs/; revision=95402
Juraj Skripsky [Sun, 10 Feb 2008 20:01:25 +0000 (20:01 -0000)]
2008-02-10 Juraj Skripsky <js@hotfeet.ch>
* System.dll.sources: Added ICodeDomVisitor.cs.
2008-02-10 Juraj Skripsky <js@hotfeet.ch>
* CodeObject.cs: Add empty Visit method implementation.
* CodeArgumentReferenceExpression.cs, CodeArrayCreateExpression.cs,
CodeArrayIndexerExpression.cs, CodeAssignStatement.cs,
CodeAttachEventStatement.cs, CodeBaseReferenceExpression.cs,
CodeBinaryOperatorExpression.cs, CodeCastExpression.cs,
CodeCommentStatement.cs, CodeConditionStatement.cs,
CodeConstructor.cs, CodeDefaultValueExpression.cs,
CodeDelegateCreateExpression.cs, CodeDelegateInvokeExpression.cs,
CodeDirectionExpression.cs, CodeEntryPointMethod.cs,
CodeEventReferenceExpression.cs, CodeExpressionStatement.cs,
CodeFieldReferenceExpression.cs, CodeGotoStatement.cs,
CodeIndexerExpression.cs, CodeIterationStatement.cs,
CodeLabeledStatement.cs, CodeMemberEvent.cs,
CodeMemberField.cs, CodeMemberMethod.cs,
CodeMemberProperty.cs, CodeMethodInvokeExpression.cs,
CodeMethodReferenceExpression.cs, CodeMethodReturnStatement.cs,
CodeObjectCreateExpression.cs, CodeParameterDeclarationExpression.cs,
CodePrimitiveExpression.cs, CodePropertyReferenceExpression.cs,
CodePropertySetValueReferenceExpression.cs, CodeRemoveEventStatement.cs,
CodeSnippetExpression.cs, CodeSnippetTypeMember.cs,
CodeThisReferenceExpression.cs, CodeThrowExceptionStatement.cs,
CodeTryCatchFinallyStatement.cs, CodeTypeConstructor.cs,
CodeTypeOfExpression.cs, CodeTypeReferenceExpression.cs,
CodeVariableDeclarationStatement.cs, CodeVariableReferenceExpression.cs:
Add Visit method implementation.
2008-02-10 Juraj Skripsky <js@hotfeet.ch>
* CodeGenerator.cs: Mark CurrentClass internal for NET_1_1.
Add nested Visitor class and member.
GenerateExpression, GenerateStatement, GenerateType: Use visitor.
GeneratePrimitiveExpression: Replace if-else chain with switch
on TypeCode.
svn path=/trunk/mcs/; revision=95401
Sebastien Pouliot [Sun, 10 Feb 2008 19:46:47 +0000 (19:46 -0000)]
2008-02-10 Sebastien Pouliot <sebastien@ximian.com>
* DecoderExceptionFallback.cs: Use 'is' instead of 'as' and a null
check. Found using Gendarme new UseIsOperator rule.
* EncoderExceptionFallback.cs: Use 'is' instead of 'as' and a null
check. Found using Gendarme new UseIsOperator rule.
svn path=/trunk/mcs/; revision=95400
Sebastien Pouliot [Sun, 10 Feb 2008 19:46:34 +0000 (19:46 -0000)]
2008-02-10 Sebastien Pouliot <sebastien@ximian.com>
* RealProxy.cs: Use 'is' instead of 'as' and a null check. Found
using Gendarme new UseIsOperator rule.
svn path=/trunk/mcs/; revision=95399
Sebastien Pouliot [Sun, 10 Feb 2008 19:30:47 +0000 (19:30 -0000)]
2008-02-10 Sebastien Pouliot <sebastien@ximian.com>
* DataFieldConverter.cs, DataMemberConverter.cs, DataSourceConverter.cs:
Use 'is' instead of 'as' and a null check. Found using Gendarme new
UseIsOperator rule.
svn path=/trunk/mcs/; revision=95398
Miguel de Icaza [Sun, 10 Feb 2008 18:42:58 +0000 (18:42 -0000)]
2008-02-10 Miguel de Icaza <miguel@novell.com>
* DataConverter.cs: Apply fix from Cliff Brake
<cliff.brake@gmail.com>, we were incrementing b.i in two places.
svn path=/trunk/mcs/; revision=95396
Zoltan Varga [Sun, 10 Feb 2008 18:08:27 +0000 (18:08 -0000)]
2008-02-10 Zoltan Varga <vargaz@gmail.com>
* replace.cs (NeedsGroupsOrCaptures): New property. Determines whenever the
replacement process needs access to the groups or captures properties of the
Match object.
* Group.cs: Add an internal ctor which avoids allocations.
* Match.cs: Ditto.
* BaseMachine.cs interpreter.cs: Add an optimization to avoid fully creating
Match objects during Replace () if the replacement string is simple.
svn path=/trunk/mcs/; revision=95394
Jb Evain [Sun, 10 Feb 2008 17:55:49 +0000 (17:55 -0000)]
2008-02-07 Jb Evain <jbevain@novell.com>
* Mono.Cecil/BaseAssemblyResolver.cs:
deal with 2.1 corlib on Mono.
svn path=/trunk/mcs/; revision=95392
Gert Driesen [Sun, 10 Feb 2008 17:52:56 +0000 (17:52 -0000)]
* Assembly.cs: Use icall for ToString/FullName. Fixes bug #318231.
svn path=/trunk/mcs/; revision=95391
Gert Driesen [Sun, 10 Feb 2008 17:50:54 +0000 (17:50 -0000)]
* class.c: Include Retargetable spec in assembly name.
* assembly.c: Always include PublicKeyToken spec in assembly name
(with value "null" if assembly is not signed), and include
Retargetable spec.
* icall-def.h: Added icall for Assembly.get_fullname.
* icall.c: Added icall returning the fullname of an assembly.
svn path=/trunk/mono/; revision=95390
Zoltan Varga [Sun, 10 Feb 2008 17:32:04 +0000 (17:32 -0000)]
2008-02-10 Zoltan Varga <vargaz@gmail.com>
* BaseMachine.cs Regex.cs: Make LTRReplace and RTLReplace instance methods to
avoid creating two machines for each Regex.Replace () call.
svn path=/trunk/mcs/; revision=95389
Atsushi Eno [Sun, 10 Feb 2008 14:55:50 +0000 (14:55 -0000)]
2008-02-10 Atsushi Enomoto <atsushi@ximian.com>
* XElement.cs : .ctor(XName,object) was trying to set args as its
content, not as its own fields.
* XNodeWriter.cs : check null ns and replace it with "".
Now that IsEmpty is true, set IsEmpty as false explicitly
when WriteFullEndElement() is called.
* ExtensionsTest.cs : disabled Remove() which does not compile now.
* XNodeWriterTest.cs : added test for Write[Full]EndElement() and
XElement.IsEmpty.
svn path=/trunk/mcs/; revision=95377
Gert Driesen [Sun, 10 Feb 2008 13:24:12 +0000 (13:24 -0000)]
* HttpException.cs: Avoid IndexOutOfRangeException when there are no
error lines.
svn path=/trunk/mcs/; revision=95374
Konstantin Triger [Sun, 10 Feb 2008 13:11:46 +0000 (13:11 -0000)]
TARGET_JVM: printouts for debug purposes
svn path=/trunk/mcs/; revision=95372
Atsushi Eno [Sun, 10 Feb 2008 13:07:51 +0000 (13:07 -0000)]
2008-02-10 Atsushi Enomoto <atsushi@ximian.com>
* Consts.cs.in : now that we removed 3.5 profile, those versions are
needed independently.
* AssemblyInfo.cs: use 3.5 version strings.
svn path=/trunk/mcs/; revision=95371
Konstantin Triger [Sun, 10 Feb 2008 12:27:49 +0000 (12:27 -0000)]
prevent endless recursion in AncestorIterator while collecting results
svn path=/trunk/mcs/; revision=95369
Atsushi Eno [Sun, 10 Feb 2008 12:13:23 +0000 (12:13 -0000)]
2008-02-10 Atsushi Enomoto <atsushi@ximian.com>
* Binding.cs : build fix (operator == is not overriden in 1.x. Do
not compare struct with null in 2.0).
svn path=/trunk/mcs/; revision=95368
Igor Zelmanovich [Sun, 10 Feb 2008 11:52:15 +0000 (11:52 -0000)]
added TARGET_J2EE ifdef
svn path=/trunk/mcs/; revision=95367
Luke Page [Sun, 10 Feb 2008 11:24:43 +0000 (11:24 -0000)]
2008-02-10 Luke Page <luke.a.page@gmail.com>
* MaskedTextBox.cs: UseSystemPasswordChar updates PasswordChar, PasswordChar
updates the provider and if not using a provider, uses the internal document
class implementation of password char. Also when showing text, uses display string
from the provider, instead of the actual text.
svn path=/trunk/mcs/; revision=95366
Konstantin Triger [Sun, 10 Feb 2008 08:36:04 +0000 (08:36 -0000)]
ignore null state in processRestoreState
svn path=/trunk/mcs/; revision=95360
Jonathan Pobst [Sun, 10 Feb 2008 04:05:55 +0000 (04:05 -0000)]
Try Dpi instead of Font to see if it fixes buildbot.
svn path=/trunk/mcs/; revision=95357
Miguel de Icaza [Sun, 10 Feb 2008 03:54:55 +0000 (03:54 -0000)]
2008-02-09 Miguel de Icaza <miguel@novell.com>
* Enumerable.cs (ToDictionary): Implement this overload.
svn path=/trunk/mcs/; revision=95356
Carlos Alberto Cortez [Sun, 10 Feb 2008 02:59:06 +0000 (02:59 -0000)]
* Binding.cs: Ooooops, forgot to take into account the data_source
and binding_member_info null case (it was breaking the Binding tests).
2008-02-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=95355
Carlos Alberto Cortez [Sun, 10 Feb 2008 02:47:29 +0000 (02:47 -0000)]
2008-02-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Binding.cs: Implement support for data source changes exposed by
'PropertyNameChanged' events, and update the control property as
needed.
svn path=/trunk/mcs/; revision=95354
Zoltan Varga [Sun, 10 Feb 2008 02:16:24 +0000 (02:16 -0000)]
2008-02-10 Zoltan Varga <vargaz@gmail.com>
* interpreter.cs (Eval): Remove a needless string allocation.
svn path=/trunk/mcs/; revision=95353
Miguel de Icaza [Sun, 10 Feb 2008 01:28:19 +0000 (01:28 -0000)]
2008-02-09 Miguel de Icaza <miguel@novell.com>
* XNamespace.cs: implement.
svn path=/trunk/mcs/; revision=95348
Miguel de Icaza [Sun, 10 Feb 2008 00:14:44 +0000 (00:14 -0000)]
There is no such thing as a 3.5 build: 3.5 to us is merely new API entry points which will be part of the standard 2.0 build
svn path=/trunk/mcs/; revision=95347
Zoltan Varga [Sat, 9 Feb 2008 22:56:18 +0000 (22:56 -0000)]
2008-02-10 Zoltan Varga <vargaz@gmail.com>
* UnexceptionalStreamReader.cs (Read): Optimize this to avoid making a number of
calls + creation of a string for each character read.
svn path=/trunk/mcs/; revision=95346
Miguel de Icaza [Sat, 9 Feb 2008 22:33:27 +0000 (22:33 -0000)]
Make this more useful by not outputing messages
svn path=/trunk/mcs/; revision=95345
Zoltan Varga [Sat, 9 Feb 2008 20:43:15 +0000 (20:43 -0000)]
2008-02-09 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_setup_vtable_general): Add a missing call to
mono_class_setup_methods () which is needed in the AOT case.
svn path=/trunk/mono/; revision=95343
Zoltan Varga [Sat, 9 Feb 2008 20:42:35 +0000 (20:42 -0000)]
2008-02-09 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_method_code): Add an assert.
* mini-arm.h mini-arm.c exceptions-arm.c: Modify the exception throwing code and
the IMT code so it is AOT friendly. Enable AOT for methods which call interface
methods.
svn path=/trunk/mono/; revision=95342
Daniel Nauck [Sat, 9 Feb 2008 13:43:40 +0000 (13:43 -0000)]
2008-02-09 Daniel Nauck <dna@mono-project.de>
* HttpWebResponse.cs: convert UTC/GMT Expires DateTime from a cookie
into local time, also set the HttpOnly property if available.
svn path=/trunk/mcs/; revision=95334
Jonathan Pryor [Sat, 9 Feb 2008 13:37:15 +0000 (13:37 -0000)]
* Mono.Posix_test.dll.sources: Add Mono.Unix/UnixSignalTest.cs.
* Test/Mono.Unix/UnixSignalTest.cs: Added; tests Mono.Unix.UnixSignal.
svn path=/trunk/mcs/; revision=95333
Daniel Nauck [Sat, 9 Feb 2008 13:30:33 +0000 (13:30 -0000)]
2008-02-09 Daniel Nauck <dna@mono-project.de>
* CookieContainerTest.cs: added some not working Add/Expired tests
svn path=/trunk/mcs/; revision=95332
Daniel Nauck [Sat, 9 Feb 2008 13:18:34 +0000 (13:18 -0000)]
Fixed compile error on 1.0 profile.
svn path=/trunk/mcs/; revision=95331
Daniel Nauck [Sat, 9 Feb 2008 11:49:28 +0000 (11:49 -0000)]
2008-02-09 Daniel Nauck <dna@mono-project.de>
* Cookie.cs: implemented HttpOnly
* CookieTest.cs: added tests for public fields
svn path=/trunk/mcs/; revision=95323
Gert Driesen [Sat, 9 Feb 2008 10:31:22 +0000 (10:31 -0000)]
* AppSettingsExpressionBuilder.cs: Improve exception messages. Return
"raw" appsetting value if targetType is null.
* AppSettingsExpressionBuilderTest.cs: Added and improved tests for
GetAppSetting overloads.
svn path=/trunk/mcs/; revision=95322
Carlos Alberto Cortez [Fri, 8 Feb 2008 22:50:37 +0000 (22:50 -0000)]
2008-02-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingTest.cs: Add new cases for DataSourceUpdateMode test,
and also add a 2.0 WriteValueTest test.
svn path=/trunk/mcs/; revision=95309
Carlos Alberto Cortez [Fri, 8 Feb 2008 22:48:53 +0000 (22:48 -0000)]
2008-02-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Binding.cs: Implement 2.0 WriteValue method.
svn path=/trunk/mcs/; revision=95308
Jonathan Pobst [Fri, 8 Feb 2008 21:48:24 +0000 (21:48 -0000)]
use Show, and ShowInTaskbar = false
svn path=/trunk/mcs/; revision=95306
Jonathan Pobst [Fri, 8 Feb 2008 21:46:07 +0000 (21:46 -0000)]
2008-02-08 Jonathan Pobst <monkey@jpobst.com>
* ComboBoxTest.cs: MethodScaleControl needs to take Font into
account, which PreferredHeight does. Fixes a failing test.
svn path=/trunk/mcs/; revision=95305
Carlos Alberto Cortez [Fri, 8 Feb 2008 20:17:45 +0000 (20:17 -0000)]
2008_02-08 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListControl.cs: Add setter and events for MockItem members -
we need them to test data binding.
* BindingTest.cs: Add tests for 2.0 members (ControlUpdateMode,
DataSourceUpdateMode, ReadValue), and for IsBinding property.
Mark as NotWorking IsBindingTest and DataSourceUpdateMode as they are
failing by now.
svn path=/trunk/mcs/; revision=95299
Jonathan Pobst [Fri, 8 Feb 2008 19:39:04 +0000 (19:39 -0000)]
2008-02-08 Jonathan Pobst <monkey@jpobst.com>
Commit patch from James Purcell for better AutoScale implementation:
* ScaleControl should call GetScaledBounds with the control's total size rather
than client size. GetScaledBounds should handle ignoring the borders in its
calculations. Cleaned up ScaleControl/GetScaledBounds overrides in controls
(for the most part they just call the base code now since that is fixed).
* Added ScaleChildrenInternal to allow controls to disable scaling of children
without having to override ScaleChildren (since none of .NET's controls do).
This is required for most controls in Mono that have scrollbars to prevent the
scrollbars from being moved/resized.
* Nested ContainerControls can have a different scale mode than their parent.
This is briefly mentioned in MSDN but is buggy in MS.NET (the runtime and
designer produce different results both of which look incorrect).
* Default AutoScaleMode for ContainerControl should be Inherit.
* Simplified workaround for ComboBox scaling issue.
* 1.0 style auto-scaling now uses its own methods instead of sharing 2.0's.
1.0 style auto scaling should scale the whole control's size instead of
ignoring the borders (except for Form) and the rounding is done differently to
preserve control alignment.
* ApplyAutoScaling (used for 1.0 style) should use the rounded result of
GetAutoScaleSize.
* Cleaned up fix for "Bug 355703 - Setting AutoScale = true doesn't stick".
* CurrentAutoScaleDimensions should round the estimated character width instead
of truncating.
* ListBox's GetScaledBounds should always use the height it was set to instead
of the height that was passed in. This prevents rounding errors from
accumulating quickly with IntegralHeight.
[Bug #359098]
2008-02-08 Jonathan Pobst <monkey@jpobst.com>
* FormTest.cs: Commit tests from James Purcell for his new
AutoScale implementation. [Bug #359098]
svn path=/trunk/mcs/; revision=95295
Jonathan Pryor [Fri, 8 Feb 2008 17:19:18 +0000 (17:19 -0000)]
* mono-service.cs: The return value of UnixSignal.WaitAny() changed; cope.
svn path=/trunk/mcs/; revision=95284
Marek Safar [Fri, 8 Feb 2008 17:15:06 +0000 (17:15 -0000)]
Fixed broken test.
svn path=/trunk/mcs/; revision=95282
Jonathan Pryor [Fri, 8 Feb 2008 17:07:49 +0000 (17:07 -0000)]
Remove duplicate entry.
svn path=/trunk/mcs/; revision=95278
Jonathan Pryor [Fri, 8 Feb 2008 17:05:54 +0000 (17:05 -0000)]
* UnixSignal.cs: UnixSignal.WaitAny() should have the same return type as
WaitHandle.WaitAny(). Oops.
svn path=/trunk/mcs/; revision=95277
Jonathan Pryor [Fri, 8 Feb 2008 17:05:34 +0000 (17:05 -0000)]
* signal.c: Mono_Unix_UnixSignal_WaitAny() semantic change: return the index
into the signals array of the first signaled signal if successful,
otherwise return the timeout.
svn path=/trunk/mono/; revision=95276
Sebastien Pouliot [Fri, 8 Feb 2008 16:39:59 +0000 (16:39 -0000)]
2008-02-08 Sebastien Pouliot <sebastien@ximian.com>
* Random.cs: Explain (and extend) special case in Next(min,max)
svn path=/trunk/mcs/; revision=95273
Juraj Skripsky [Fri, 8 Feb 2008 16:29:03 +0000 (16:29 -0000)]
2008-02-08 Juraj Skripsky <js@hotfeet.ch>
* Random.cs (Next): Use rounding (via implicit conversion) only on
positive values. Fixes bug 359918.
svn path=/trunk/mcs/; revision=95272
Rodrigo Kumpera [Fri, 8 Feb 2008 15:59:36 +0000 (15:59 -0000)]
2008-02-08 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (mono_type_get_stack_name): Added. Return the name for the
stack type of the given MonoType.
* verify.c (verify_type_compatibility_full): Handle the void type.
* verify.c (is_compatible_boxed_valuetype): Changed to fit the
way stack merging works.
* verify.c (store_local): Improved verification message.
* verify.c (do_branch_op): If the merging is invalid, the method
is unverifiable and not invalid. Improved error message.
* verify.c (merge_stacks): Properly merge a boxed valuetype and
a reference type diferent than System.Object. Improved error
message.
svn path=/trunk/mono/; revision=95268