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
Carlos Alberto Cortez [Thu, 3 Apr 2008 01:33:12 +0000 (01:33 -0000)]
* BindingContextTest.cs: New test for ICurrencyManagerProvider
instances passed as data sources.
2008-04-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=99715
Carlos Alberto Cortez [Thu, 3 Apr 2008 01:32:16 +0000 (01:32 -0000)]
* BindingContext.cs: When retrieving a BindingManagerBase, if the
dataSource parameter is ICurrencyManagerProvider, then return
ICurrencyManagerProvider.CurrencyManager/GetRelatedCurrencyManager
instead of creating a new one.
2008-04-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=99714
Jonathan Pobst [Wed, 2 Apr 2008 23:54:15 +0000 (23:54 -0000)]
Forgot to disable the font dependent tests before committing.
svn path=/trunk/mcs/; revision=99713
Rodrigo Kumpera [Wed, 2 Apr 2008 23:35:37 +0000 (23:35 -0000)]
2008-04-02 Rodrigo Kumpera <rkumpera@novell.com>
* mono-profiler-logging.c: Fix the arm build. G_BREAKPOINT() does
a "raise(SIGTRAL)" and in some platforms <signal.h> must be included.
svn path=/trunk/mono/; revision=99712
Miguel de Icaza [Wed, 2 Apr 2008 23:24:08 +0000 (23:24 -0000)]
Make easier to track
svn path=/trunk/mcs/; revision=99710
Miguel de Icaza [Wed, 2 Apr 2008 23:23:43 +0000 (23:23 -0000)]
Add uncommited patch
svn path=/trunk/mcs/; revision=99709
Miguel de Icaza [Wed, 2 Apr 2008 23:21:34 +0000 (23:21 -0000)]
Revert this patch, it regressed the compiler and System.Web
svn path=/trunk/mcs/; revision=99708
Marek Habersack [Wed, 2 Apr 2008 22:53:23 +0000 (22:53 -0000)]
2008-04-03 Marek Habersack <mhabersack@novell.com>
* DataListTest.cs: added test for bug #376519
(SelectedValue_SelectedIndex
2008-04-03 Marek Habersack <mhabersack@novell.com>
* DataList.cs: use the value of SelectedIndex, not selectedIndex,
to return the key value in the SelectedValue property. Fixes bug
#376519. Patch from Sergey Kuleshov <svyatogor@gmail.com>, thanks
2008-04-03 Marek Habersack <mhabersack@novell.com>
* HtmlFormTest.cs: indirect test for bug #376352 is 2.0+ only.
svn path=/trunk/mcs/; revision=99704
Rodrigo Kumpera [Wed, 2 Apr 2008 22:26:03 +0000 (22:26 -0000)]
2008-04-02 Rodrigo Kumpera <rkumpera@novell.com>
* make_prefix_test.sh: New test generator for
instruction prefix.
* make_testS: Added tests using the new generator.
svn path=/trunk/mono/; revision=99699
Carlos Alberto Cortez [Wed, 2 Apr 2008 21:48:22 +0000 (21:48 -0000)]
2008-04-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingSourceTest.cs: New test for type instances as data sources.
svn path=/trunk/mcs/; revision=99697
Carlos Alberto Cortez [Wed, 2 Apr 2008 21:46:30 +0000 (21:46 -0000)]
2008-04-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingSource.cs: Implement support for Type instances as
DataSource.
svn path=/trunk/mcs/; revision=99696
Marek Habersack [Wed, 2 Apr 2008 21:29:36 +0000 (21:29 -0000)]
2008-04-02 Marek Habersack <mhabersack@novell.com>
* HtmlFormTest.cs: added an indirect test for bug #376352
(HttpRequest.QueryStringRaw internal property) - Mono only.
2008-04-02 Marek Habersack <mhabersack@novell.com>
* Page.cs: make SetContext internal (used from tests).
svn path=/trunk/mcs/; revision=99694
Raja R Harinath [Wed, 2 Apr 2008 20:37:13 +0000 (20:37 -0000)]
* statement.cs (TryFinally.need_exc_block): Delete.
(TryFinally): Update to changes.
svn path=/trunk/mcs/; revision=99684
Jonathan Pobst [Wed, 2 Apr 2008 20:16:37 +0000 (20:16 -0000)]
2008-04-02 Jonathan Pobst <monkey@jpobst.com>
* DataGridView.cs: Minor cleanups and call CellMouseUp.
* DataGridViewCell.cs: Make some painting routines internally virtual.
* DataGridViewButtonCell.cs: Implement.
2008-04-02 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewButtonCellTest.cs: Add.
2008-04-02 Jonathan Pobst <monkey@jpobst.com>
* System.Windows.Forms_test.dll.sources: Add DataGridViewButtonCellTest.cs.
svn path=/trunk/mcs/; revision=99681
Atsushi Eno [Wed, 2 Apr 2008 20:01:31 +0000 (20:01 -0000)]
2008-04-02 Atsushi Enomoto <atsushi@ximian.com>
* XsdParticleValidationState.cs : a choice with only empty particle
children is emptiable. Fixed bug #376395.
* XsdValidatingReaderTests.cs : added test for bug #376395.
* 376395.xml, 376395.xsd : new test files.
* Makefile : extra distfiles (376395.xml, 376395.xsd).
svn path=/trunk/mcs/; revision=99679
Raja R Harinath [Wed, 2 Apr 2008 19:49:55 +0000 (19:49 -0000)]
Now all ExceptionStatements are unconditional
* statement.cs (CollectionForeach.DisposableWrapper): New.
Extract out the try/finally code into a new wrapper.
(CollectionForeach.Resolve): Use it to simplify the code.
svn path=/trunk/mcs/; revision=99678
Raja R Harinath [Wed, 2 Apr 2008 19:49:11 +0000 (19:49 -0000)]
Start at simplifying ExceptionStatement semantics a bit
* statement.cs (TryCatch, TryFinally): Split 'Try' into two pieces.
* cs-parser.jay (try_statement): Update to changes.
(opt_catch_clauses): Remove.
* flowanalysis.cs: Update to changes.
(FlowBranching.BranchingType.TryCatch): New.
(FlowBranchingTryCatch): New.
svn path=/trunk/mcs/; revision=99677
Raja R Harinath [Wed, 2 Apr 2008 19:48:29 +0000 (19:48 -0000)]
Minor cleanups in flowanalysis.cs
* flowanalysis.cs (FlowBranching.BranchingType.SwitchSection): Kill.
(FlowBranching.CreateBranching): Update to changes.
(FlowBranchingBlock.AddSibling): Add sanity check.
* codegen.cs (EmitContext.StartFlowBranching) <Block variant>:
Update to changes.
svn path=/trunk/mcs/; revision=99676
Raja R Harinath [Wed, 2 Apr 2008 19:47:46 +0000 (19:47 -0000)]
* iterators.cs (Iterator.MarkFinally): Remove.
* statement.cs (ExceptionStatement): Update to changes.
This introduces a slight regression into already broken semantics.
This will be fixed properly when the final fix for #324708 is applied.
svn path=/trunk/mcs/; revision=99675
Raja R Harinath [Wed, 2 Apr 2008 19:47:07 +0000 (19:47 -0000)]
Add support for skipping over finally blocks at runtime. First
in a series to fix #324708
* iterators.cs (Iterator.SkipFinally): New LocalBuilder.
(Iterator.EmitMoveNext): Initialize it.
* statement.cs (ExceptionStatement.EmitFinally): Use it to emit a
branch over the body of the 'finally' clause.
svn path=/trunk/mcs/; revision=99674
Raja R Harinath [Wed, 2 Apr 2008 19:46:29 +0000 (19:46 -0000)]
Avoid lopsided use of Foo/DoFoo names
* statement.cs (ExpressionStatement.EmitFinallyBody):
Rename from EmitFinally.
(ExpressionStatement.EmitFinally): Rename from DoEmitFinally.
* iterator.cs: Update to changes.
svn path=/trunk/mcs/; revision=99673
Raja R Harinath [Wed, 2 Apr 2008 17:53:55 +0000 (17:53 -0000)]
* String.cs (IndexOfOrdinalUnchecked): Fix crasher.
svn path=/trunk/mcs/; revision=99661
Rodrigo Kumpera [Wed, 2 Apr 2008 17:26:39 +0000 (17:26 -0000)]
2008-04-02 Rodrigo Kumpera <rkumpera@novell.com>
* make_type_constraint_test.sh: New test generator for
constraints on generic type arguments.
* make_testS: Added tests using the new generator.
svn path=/trunk/mono/; revision=99659
Marek Habersack [Wed, 2 Apr 2008 17:18:10 +0000 (17:18 -0000)]
2008-04-02 Marek Habersack <mhabersack@novell.com>
* HttpRequest.cs: make sure QueryStringRaw is always returned with
a leading '?' and that we return something meaningful even if the
url components weren't collected before. Fixes bug #376352
svn path=/trunk/mcs/; revision=99658
Andreas N [Wed, 2 Apr 2008 17:11:25 +0000 (17:11 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* ProxyAttribute.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99657
Andreas N [Wed, 2 Apr 2008 17:10:51 +0000 (17:10 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* ClientSponsor.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99656
Andreas N [Wed, 2 Apr 2008 17:10:19 +0000 (17:10 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* IEnumVARIANT.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99655
Andreas N [Wed, 2 Apr 2008 17:09:39 +0000 (17:09 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* _EventInfo.cs
* _FieldInfo.cs
* _MemberInfo.cs
* _MethodBase.cs
* _MethodInfo.cs
* _PropertyInfo.cs
* _Type.cs
* ArrayWithOffset.cs
* BestFitMappingAttribute.cs
* Marshal.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99654
Andreas N [Wed, 2 Apr 2008 17:07:49 +0000 (17:07 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* ReliabilityContractAttribute.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99653
Andreas N [Wed, 2 Apr 2008 17:07:17 +0000 (17:07 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* IndexerNameAttribute.cs
* MethodImplAttribute.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99652
Andreas N [Wed, 2 Apr 2008 17:06:33 +0000 (17:06 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* IReflect.cs
* MethodInfo.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99651
Andreas N [Wed, 2 Apr 2008 17:05:37 +0000 (17:05 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* SymbolToken.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99650
Andreas N [Wed, 2 Apr 2008 17:04:59 +0000 (17:04 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* DebuggerTypeProxyAttribute.cs
* StackFrame.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99649
Andreas N [Wed, 2 Apr 2008 17:04:10 +0000 (17:04 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* ReadOnlyCollection.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99648
Andreas N [Wed, 2 Apr 2008 17:02:20 +0000 (17:02 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* KeyNotFoundException.cs
* KeyValuePair.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99647
Andreas N [Wed, 2 Apr 2008 17:01:36 +0000 (17:01 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* ArrayList.cs
* DictionaryBase.cs
* IEqualityComparer.cs
* Queue.cs
* SortedList.cs
* Stack.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99646
Marek Safar [Wed, 2 Apr 2008 15:28:18 +0000 (15:28 -0000)]
New tests, msg updates.
svn path=/trunk/mcs/; revision=99639
Marek Safar [Wed, 2 Apr 2008 15:27:52 +0000 (15:27 -0000)]
2008-04-02 Marek Safar <marek.safar@gmail.com>
* ecore.cs, expression.cs, nullable.cs: ConditionalLogicalOperator is now
based on UserOperatorCall. More binary nullable operators clean up.
svn path=/trunk/mcs/; revision=99638
Jonathan Pobst [Wed, 2 Apr 2008 15:06:33 +0000 (15:06 -0000)]
2008-04-02 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: We always need to invalidate our children with
transparent backgrounds when we are invalidated.
[Fixes bug #376081]
svn path=/trunk/mcs/; revision=99637
Martin Baulig [Wed, 2 Apr 2008 14:40:32 +0000 (14:40 -0000)]
2008-04-02 Martin Baulig <martin@ximian.com>
* *.cs: Remove the `#if !DISABLE_TERRANIA_CHANGES' conditionals.
svn path=/trunk/mcs/; revision=99636
Martin Baulig [Wed, 2 Apr 2008 14:40:20 +0000 (14:40 -0000)]
2008-04-02 Martin Baulig <martin@ximian.com>
* symbolwriter.cs: Remove the `#if !DISABLE_TERRANIA_CHANGES' conditionals.
svn path=/trunk/mcs/; revision=99635
Marek Safar [Wed, 2 Apr 2008 12:02:24 +0000 (12:02 -0000)]
Added more tests.
svn path=/trunk/mcs/; revision=99634
Marek Safar [Wed, 2 Apr 2008 11:55:43 +0000 (11:55 -0000)]
2008-04-02 Marek Safar <marek.safar@gmail.com>
* nullable.cs: Merge user and empty conversions when lifting expression
trees.
* expression.cs (StringConcat): Implemented expression tree representation.
svn path=/trunk/mcs/; revision=99633
Atsushi Eno [Wed, 2 Apr 2008 09:23:41 +0000 (09:23 -0000)]
2008-04-02 Atsushi Enomoto <atsushi@ximian.com>
* XPathEditableDocument.cs : it should not expect ParentNode for
OwnerElement. Fixed bug #376210.
* XPathEditableNavigatorTests.cs : added test for bug #376210.
svn path=/trunk/mcs/; revision=99629
Andreas N [Wed, 2 Apr 2008 08:32:38 +0000 (08:32 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* StringComparer.cs
* String.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99625
Atsushi Eno [Wed, 2 Apr 2008 08:23:10 +0000 (08:23 -0000)]
2008-04-02 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigator.cs : fixed InnerXml to not give up with root node.
Indent InnerXml. Fixed bug #376191.
* XPathNavigatorTests.cs : added test for bug #376191.
svn path=/trunk/mcs/; revision=99623
Andreas N [Wed, 2 Apr 2008 07:45:41 +0000 (07:45 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* IFormatterConverter.cs
* SerializationException.cs
* StreamingContext.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99619
Andreas N [Wed, 2 Apr 2008 07:44:20 +0000 (07:44 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* VerificationException.cs
* SecurityElement.cs
* SecurityContext.cs
* NamedPermissionSet.cs
* HostProtectionException.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99618
Andreas N [Wed, 2 Apr 2008 07:43:42 +0000 (07:43 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* CompoundAce.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99617
Andreas N [Wed, 2 Apr 2008 07:33:03 +0000 (07:33 -0000)]
2008-04-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* BinaryFormatter.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99614
Atsushi Eno [Wed, 2 Apr 2008 06:55:00 +0000 (06:55 -0000)]
2008-04-02 Atsushi Enomoto <atsushi@ximian.com>
* SortKey.cs : check null arguments. Fixed bug #376171.
* SortKeyTest.cs : new test, for bug #376171.
* corlib_test.dll.sources : added SortKeyTest.cs.
svn path=/trunk/mcs/; revision=99609
Carlos Alberto Cortez [Wed, 2 Apr 2008 06:54:22 +0000 (06:54 -0000)]
2008-04-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* BindingSourceTest.cs: New test for ICancelAddNew support.
* CurrencyManagerTest.cs: Likewise.
svn path=/trunk/mcs/; revision=99608
Carlos Alberto Cortez [Wed, 2 Apr 2008 06:49:39 +0000 (06:49 -0000)]
* BindingSource.cs: EndEdit and CancelEdit should call EndCurrentEdit
and CancelCurrentEdit on CurrencyManager respectively. Implement
support for ICancelAddNew too.
2008-04-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=99607
Jonathan Pobst [Wed, 2 Apr 2008 02:27:49 +0000 (02:27 -0000)]
2008-04-01 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewTest.cs: Commit the rest of my test so the tests
compile.
svn path=/trunk/mcs/; revision=99606
Carlos Alberto Cortez [Tue, 1 Apr 2008 23:48:10 +0000 (23:48 -0000)]
2008-04-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* CurrencyManager.cs: When calling EndCurrentEdit/CancelCurrentEdit,
call EndNew/CancelNew if list is ICancelAddNew.
svn path=/trunk/mcs/; revision=99597
Andreas N [Tue, 1 Apr 2008 22:53:49 +0000 (22:53 -0000)]
2008-04-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* Char.cs: Fix parameter names
svn path=/trunk/mcs/; revision=99590
Jonathan Pobst [Tue, 1 Apr 2008 22:50:43 +0000 (22:50 -0000)]
2008-04-01 Jonathan Pobst <monkey@jpobst.com>
* DataGridView.cs: Guard against an exception while painting
if there are no rows.
svn path=/trunk/mcs/; revision=99589
Jonathan Pobst [Tue, 1 Apr 2008 22:26:21 +0000 (22:26 -0000)]
2008-04-01 Jonathan Pobst <monkey@jpobst.com>
* DataGridView.cs: Implement a bunch of keyboard commands.
2008-04-01 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewTest.cs: Add tests for IsInputChar and IsInputKey.
svn path=/trunk/mcs/; revision=99585
Marek Habersack [Tue, 1 Apr 2008 19:47:06 +0000 (19:47 -0000)]
2008-04-01 Marek Habersack <mhabersack@novell.com>
* TemplateControl.cs: ParseControl implemented for the 2.0
profile.
* UserControlParser.cs: added support for compiling controls
without input file (e.g. from TemplateControl.ParseControl).
* TemplateParser.cs: implemented VirtualPathProvider support for
registering UserControls.
If there is no input file path provided, auto-generate the class
name in the ClassName property getter.
svn path=/trunk/mcs/; revision=99570
Andreas N [Tue, 1 Apr 2008 19:42:34 +0000 (19:42 -0000)]
2008-04-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* String.cs: Update of String that moves all remaining non-culture-sensitive
code to managed C# code. Improves performance for most cases and most methods
allows code-optimizations tools to perform better optimizations by removing the
internalcalls. Reduces the total number of lines of code used for String.
Allows code duplication reduction in several other classes and the runtime.
* StringComparer.cs: Remove duplicate code and call relevant String methods.
* StringBuilder.cs: Use the new managed String functions.
svn path=/trunk/mcs/; revision=99569
Andreas N [Tue, 1 Apr 2008 19:41:36 +0000 (19:41 -0000)]
2008-04-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* StringTest.cs: New tests for string to check for several corner-cases
and parameter errors.
svn path=/trunk/mcs/; revision=99568
Marek Safar [Tue, 1 Apr 2008 18:45:59 +0000 (18:45 -0000)]
New test.
svn path=/trunk/mcs/; revision=99561
Marek Safar [Tue, 1 Apr 2008 18:45:34 +0000 (18:45 -0000)]
2008-04-01 Marek Safar <marek.safar@gmail.com>
* nullable.cs: When lifting null literal and a user operator exists, no call
is made.
svn path=/trunk/mcs/; revision=99560
Marek Habersack [Tue, 1 Apr 2008 17:33:08 +0000 (17:33 -0000)]
2008-04-01 Marek Habersack <mhabersack@novell.com>
* SqlParameter.cs: ConvertToFrameworkType must handle empty
strings gracefully - a DBNull.Value must be returned in this
case.
* SqlCommand.cs: DeriveParameters should split the stored
procedure name into the schema name and procedure name before
querying its parameters.
svn path=/trunk/mcs/; revision=99553
Marek Safar [Tue, 1 Apr 2008 17:24:10 +0000 (17:24 -0000)]
New test.
svn path=/trunk/mcs/; revision=99552
Marek Safar [Tue, 1 Apr 2008 17:23:56 +0000 (17:23 -0000)]
2008-04-01 Marek Safar <marek.safar@gmail.com>
* nullable.cs, ecore.cs, expression.cs: Convert null arithmetic to lifted
null.
svn path=/trunk/mcs/; revision=99551
Dick Porter [Tue, 1 Apr 2008 16:39:15 +0000 (16:39 -0000)]
2008-04-01 Dick Porter <dick@ximian.com>
* versioninfo.c (get_string_block): Refine the fix for bug 354856
(r93661) so that it also fixes the new part of bug 374600.
2008-04-01 Dick Porter <dick@ximian.com>
* process.c (process_get_fileversion): If there's no string block,
set the file language to en_US. Fixes the other new part of bug
374600.
svn path=/trunk/mono/; revision=99545
Marek Safar [Tue, 1 Apr 2008 16:16:17 +0000 (16:16 -0000)]
2008-04-01 Marek Safar <marek.safar@gmail.com>
* nullable.cs, expression.cs: Use namespace instead heavily nested
monster abstract class.
svn path=/trunk/mcs/; revision=99542
Marek Safar [Tue, 1 Apr 2008 16:04:49 +0000 (16:04 -0000)]
Fixed.
svn path=/trunk/mcs/; revision=99538
Marek Safar [Tue, 1 Apr 2008 16:00:51 +0000 (16:00 -0000)]
New test + update.
svn path=/trunk/mcs/; revision=99537
Marek Safar [Tue, 1 Apr 2008 16:00:02 +0000 (16:00 -0000)]
2008-04-01 Marek Safar <marek.safar@gmail.com>
* ecore.cs, convert.cs, constant.cs, nullable.cs, expression.cs: Implemented
lifting of null literal and user operators. Clean up of some temporary
nullable hacks.
svn path=/trunk/mcs/; revision=99535
Marek Habersack [Tue, 1 Apr 2008 15:59:42 +0000 (15:59 -0000)]
2008-04-01 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: set context.Handler to the detected handler
object before firing application events. Fixes bug #372897
svn path=/trunk/mcs/; revision=99534
Lluis Sanchez [Tue, 1 Apr 2008 14:26:05 +0000 (14:26 -0000)]
* System.Xml.Serialization/XmlSerializerTestClasses.cs,
System.Xml.Serialization/XmlSerializerTests.cs: Test nullable
enums.
svn path=/trunk/mcs/; revision=99517
Lluis Sanchez [Tue, 1 Apr 2008 14:22:17 +0000 (14:22 -0000)]
* ProtocolImporter.cs: Use the binding name as class name for the
proxy.
* SoapProtocolImporter.cs: Use the element name as field name for soap
headers. In 2.0, generate a property for accessing the field.
svn path=/trunk/mcs/; revision=99514
Lluis Sanchez [Tue, 1 Apr 2008 14:18:44 +0000 (14:18 -0000)]
* TypeData.cs: Prefix with a '@' type names that are equal to keywords.
* XmlSerializationReaderInterpreter.cs,
XmlSerializationWriterInterpreter.cs: Properly handle nullable enum
values.
* SerializationCodeGenerator.cs: Properly handle nullable enum values.
Don't generate read flags for text collectors (avoid var not used
warning).
* XmlReflectionImporter.cs: Assign the MappedType to text collector
members. It is needed when the member is an enum.
svn path=/trunk/mcs/; revision=99512
Ivan Zlatev [Tue, 1 Apr 2008 14:12:35 +0000 (14:12 -0000)]
2008-04-01 Ivan N. Zlatev <contact@i-nz.net>
* ColorEditor.cs: Cache the editor contorl instead of creating
it each time.
svn path=/trunk/mcs/; revision=99511
Eyal Alalouf [Tue, 1 Apr 2008 11:37:11 +0000 (11:37 -0000)]
Improve ToString perf of primitive types.
svn path=/trunk/mcs/; revision=99502
Marek Safar [Tue, 1 Apr 2008 09:44:52 +0000 (09:44 -0000)]
VS signature update
svn path=/trunk/mcs/; revision=99499
Miguel de Icaza [Mon, 31 Mar 2008 22:22:08 +0000 (22:22 -0000)]
2008-03-31 Miguel de Icaza <miguel@novell.com>
* serial.c (write_serial): Avoid infinite loops, see #375580.
svn path=/trunk/mono/; revision=99480
Marek Habersack [Mon, 31 Mar 2008 22:03:33 +0000 (22:03 -0000)]
2008-03-31 Marek Habersack <mhabersack@novell.com>
* StaticFileHandler.cs: added code to use custom
VirtualPathProvider, if present, to serve files from virtual
storage.
* HttpResponse.cs: added two internal TransmitFile overloads which
take a VirtualFile as a parameter.
2008-04-01 Marek Habersack <mhabersack@novell.com>
* HostingEnvironment.cs: initialize custom VPP on
registration.
Added an internal boolena property to signal if we're using a
custom VPP or not (HaveCustomVPP)
svn path=/trunk/mcs/; revision=99479
Jonathan Pobst [Mon, 31 Mar 2008 20:12:04 +0000 (20:12 -0000)]
2008-03-31 Jonathan Pobst <monkey@jpobst.com>
* ToolBar.cs: Don't do our painting if UserPaint is set. If UserPaint
isn't set, don't call OnPaint. [Fixes bug #375300]
svn path=/trunk/mcs/; revision=99468
Mark Probst [Mon, 31 Mar 2008 19:41:05 +0000 (19:41 -0000)]
2008-03-31 Mark Probst <mark.probst@gmail.com>
* Makefile.am: Re-enabled CoreCLR security tests. Fixes #362626.
svn path=/trunk/mono/; revision=99464
Mark Probst [Mon, 31 Mar 2008 19:20:17 +0000 (19:20 -0000)]
2008-03-31 Mark Probst <mark.probst@gmail.com>
* MonoMethod.cs: Don't do CAS security checks in Invoke for 2.1
profile.
2008-03-31 Mark Probst <mark.probst@gmail.com>
* MonoType.cs: Don't do CAS security checks in CheckMethodSecurity
for 2.1 profile.
svn path=/trunk/mcs/; revision=99461
Gert Driesen [Mon, 31 Mar 2008 19:05:33 +0000 (19:05 -0000)]
* XmlCodeExporterTests.cs: Remove CWL.
svn path=/trunk/mcs/; revision=99459
Gert Driesen [Mon, 31 Mar 2008 19:04:17 +0000 (19:04 -0000)]
* XmlDocumentTests.cs: Fixed line endings.
* XmlAttributeCollectionTests.cs: Fixed line endings.
* XmlDocumentEventTests.cs: Fixed line endings.
* XmlNodeTests.cs: Fixed line endings.
* XsdValidatingReaderTests.cs: Fixed line endings.
* XmlDocumentTypeTests.cs: Fixed line endings.
* XmlEntityReferenceTests.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=99458