Jackson Harper [Mon, 25 Sep 2006 20:07:48 +0000 (20:07 -0000)]
* TextBoxBase.cs: When text is set bail if we are setting to the
previous value.
svn path=/trunk/mcs/; revision=65891
Paolo Molaro [Mon, 25 Sep 2006 18:59:25 +0000 (18:59 -0000)]
Fix for last millennium compilers.
svn path=/trunk/mono/; revision=65889
Jackson Harper [Mon, 25 Sep 2006 16:56:35 +0000 (16:56 -0000)]
* TextControl.cs: Fix print out in debug method.
svn path=/trunk/mcs/; revision=65887
Martin Baulig [Mon, 25 Sep 2006 15:42:25 +0000 (15:42 -0000)]
2006-09-25 Martin Baulig <martin@ximian.com>
* class.cs: Completely unified with the gmcs version.
svn path=/trunk/mcs/; revision=65886
Martin Baulig [Mon, 25 Sep 2006 14:15:09 +0000 (14:15 -0000)]
2006-09-25 Martin Baulig <martin@ximian.com>
* typemanager.cs (TypeManager.IsNullableType): New public function.
(TypeManager.IsNullableTypeOf): Likewise.
(TypeManager.IsNullableValueType): Likewise.
* class.cs (MethodCore): Added the `GenericMethod' argument from
gmcs and also unified all classes derived from `MethodCore' with gmcs.
svn path=/trunk/mcs/; revision=65884
Andrew Skiba [Mon, 25 Sep 2006 13:52:28 +0000 (13:52 -0000)]
NunitWeb test suite - create separate versions of Web.config for mono and for .Net
svn path=/trunk/mcs/; revision=65882
Paolo Molaro [Mon, 25 Sep 2006 11:50:33 +0000 (11:50 -0000)]
Mon Sep 25 13:29:53 CEST 2006 Paolo Molaro <lupus@ximian.com>
* rand.c: fix read loop to correctly handle EINTR.
svn path=/trunk/mono/; revision=65881
Igor Zelmanovich [Mon, 25 Sep 2006 11:48:43 +0000 (11:48 -0000)]
2006-09-25 Igor Zelmanovich <igorz@mainsoft.com>
* DataBoundControl.cs: fixed: DataBind flow
GetData return "empty" DataSourceView when no DataSource and DataSourceID
was assigned to cause PerformDataBinding be called.
svn path=/trunk/mcs/; revision=65880
Igor Zelmanovich [Mon, 25 Sep 2006 11:26:45 +0000 (11:26 -0000)]
* Page.cs: fixed: Cross-page postback feature in ASP.NET 2.0
When page is invoked by cross-page posting, PreviousPage processed all live-cycle up to OnLoadComplite included.
IsPostBack, IsCallBack and IsCrossPagePostBack returns relevant values.
svn path=/trunk/mcs/; revision=65879
Paolo Molaro [Mon, 25 Sep 2006 09:40:16 +0000 (09:40 -0000)]
Documentation updates.
svn path=/trunk/mono/; revision=65878
Paolo Molaro [Mon, 25 Sep 2006 09:36:47 +0000 (09:36 -0000)]
Mon Sep 25 11:33:06 CEST 2006 Paolo Molaro <lupus@ximian.com>
* Makefile.am, icall-def.h, icall.c, verify.c: changed the way
internal calls are defined to keep methods closer to the declaring
type and allow a significant reduction in runtime relocations and
memory usage.
svn path=/trunk/mono/; revision=65877
Paolo Molaro [Mon, 25 Sep 2006 09:32:40 +0000 (09:32 -0000)]
Thu Sep 21 19:30:04 CEST 2006 Paolo Molaro <lupus@ximian.com>
* class.c, object.c, class-internals.h, reflection.c:
for arrays, store element_size inside MonoClass (speedup
for array object creation).
svn path=/trunk/mono/; revision=65876
Paolo Molaro [Mon, 25 Sep 2006 09:08:19 +0000 (09:08 -0000)]
Mon Sep 25 11:05:24 CEST 2006 Paolo Molaro <lupus@ximian.com>
* mini.h, driver.c, optflags-def.h, Makefile.am: reduce runtime
relocations and memory requirements, put the optimization flags
definitions in their own file.
svn path=/trunk/mono/; revision=65875
Raja R Harinath [Sun, 24 Sep 2006 18:40:53 +0000 (18:40 -0000)]
* mcs/convert.cs: Unify with gmcs version.
* gmcs/convert.cs: Remove after unification with mcs source.
svn path=/trunk/mcs/; revision=65870
Gonzalo Paniagua Javier [Sun, 24 Sep 2006 18:25:48 +0000 (18:25 -0000)]
remove writelines
svn path=/trunk/mcs/; revision=65869
Gonzalo Paniagua Javier [Sun, 24 Sep 2006 18:21:08 +0000 (18:21 -0000)]
2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DataList.cs: use ExtractTemplateRows to determine if the style is
applied to the Table in a template or to its rows. Fixes bug #78058.
svn path=/trunk/mcs/; revision=65868
Raja R Harinath [Sun, 24 Sep 2006 17:41:15 +0000 (17:41 -0000)]
* FileInfoTest.cs (IsReadOnly): Fix compilation. Mark as NotWorking.
svn path=/trunk/mcs/; revision=65867
Zoltan Varga [Sun, 24 Sep 2006 17:11:12 +0000 (17:11 -0000)]
2006-09-24 Zoltan Varga <vargaz@gmail.com>
* jit-icalls.c (mono_helper_stelem_ref): Remove this unused helper function.
* mini.c (mini_init): Remove reference to mono_helper_stelem_ref.
svn path=/trunk/mono/; revision=65866
Marek Safar [Sun, 24 Sep 2006 16:09:59 +0000 (16:09 -0000)]
New tests.
svn path=/trunk/mcs/; revision=65863
Marek Safar [Sun, 24 Sep 2006 16:09:21 +0000 (16:09 -0000)]
2006-09-24 Marek Safar <marek.safar@seznam.cz>
* decl.cs (DeclSpace.VerifyClsCompliance): When type has type parameters
verify them as well.
* report.cs: New warning.
GMCS:
2006-09-24 Marek Safar <marek.safar@seznam.cz>
* class.cs (MemberBase.VerifyClsCompliance): When method has type
parameters verify them as well.
* generic.cs (Constraints.VerifyClsCompliance): Verify CLS-Compliance of
the type parameter constraints.
(Generics.VerifyClsCompliance): Ditto.
svn path=/trunk/mcs/; revision=65862
Joshua Tauberer [Sun, 24 Sep 2006 15:20:00 +0000 (15:20 -0000)]
Allow the Mono.CompilerServices.SymbolWriter.MonoSymbolFile class to be created without passing a System.Reflection.Assembly so that we can use this lib with Cecil.
svn path=/trunk/mcs/; revision=65859
Gonzalo Paniagua Javier [Sun, 24 Sep 2006 14:52:17 +0000 (14:52 -0000)]
2006-09-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* FileInfoTest.cs: improved IsReadOnly test case. Patch by Joel Reed.
svn path=/trunk/mcs/; revision=65854
Gonzalo Paniagua Javier [Sun, 24 Sep 2006 14:40:04 +0000 (14:40 -0000)]
revert my last patch. It broke a test
svn path=/trunk/mcs/; revision=65853
Marek Safar [Sun, 24 Sep 2006 13:03:14 +0000 (13:03 -0000)]
New tests.
svn path=/trunk/mcs/; revision=65851
Marek Safar [Sun, 24 Sep 2006 13:02:30 +0000 (13:02 -0000)]
2006-09-24 Marek Safar <marek.safar@seznam.cz>
* anonymous.cs (AnonymousMethod.Compatible): Cannot generate arguments
for anonymous block with out argument.
svn path=/trunk/mcs/; revision=65850
Alexander Olk [Sun, 24 Sep 2006 11:55:32 +0000 (11:55 -0000)]
Also, send the FontXXXTextBox mouse wheel event to the corresponding
FontXXXListBoxes to match ms.
svn path=/trunk/mcs/; revision=65846
Marek Safar [Sun, 24 Sep 2006 10:15:28 +0000 (10:15 -0000)]
New test based on #77754
svn path=/trunk/mcs/; revision=65845
Alexander Olk [Sun, 24 Sep 2006 09:54:29 +0000 (09:54 -0000)]
2006-09-24 Alexander Olk <alex.olk@googlemail.com>
* FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
It is now possible to change the selected index in a FontXXXListBox
with the up and down arrow keys from the FontXXXTextBoxes.
svn path=/trunk/mcs/; revision=65844
Marek Safar [Sat, 23 Sep 2006 23:25:33 +0000 (23:25 -0000)]
Add extra test.
svn path=/trunk/mcs/; revision=65843
Marek Safar [Sat, 23 Sep 2006 23:15:46 +0000 (23:15 -0000)]
New tests, update.
svn path=/trunk/mcs/; revision=65841
Marek Safar [Sat, 23 Sep 2006 23:15:13 +0000 (23:15 -0000)]
2006-09-24 Marek Safar <marek.safar@seznam.cz>
* class.cs (ClassOrStruct.VerifyMembers): Fixed to report correctly
not used private events only.
svn path=/trunk/mcs/; revision=65840
Marek Safar [Sat, 23 Sep 2006 18:43:01 +0000 (18:43 -0000)]
Warnings.
svn path=/trunk/mcs/; revision=65836
Marek Safar [Sat, 23 Sep 2006 18:41:27 +0000 (18:41 -0000)]
Updated.
svn path=/trunk/mcs/; revision=65835
Marek Safar [Sat, 23 Sep 2006 18:39:27 +0000 (18:39 -0000)]
New tests.
svn path=/trunk/mcs/; revision=65834
Marek Safar [Sat, 23 Sep 2006 18:37:59 +0000 (18:37 -0000)]
2006-09-23 Marek Safar <marek.safar@seznam.cz>
* cfold.cs (BinaryFold): On the guest to unify empty constant cast.
* const.cs (Const.Define): Check for constant type.
(Const.IsConstantTypeValid): Looks for valid constant types.
* convert.cs (ImplicitReferenceConversion): NullCast to EmptyConstantCast.
* ecore.cs (EmptyConstantCast): New common class for all constant based
EmptyCast(s).
* expression.cs (Is.DoResolve): Handle null constant especially.
(New.DoResolve): Check for new void().
(MemberAccess.DoResolve): Cope with all kind of nulls.
* literal.cs (NullConstant): Uses EmptyConstantCast.
(NullDefault): Based on EmptyConstantCast.
(NullLiteral): Uses EmptyConstantCast.
* statement.cs (Block.ResolveMeta): Check for constant type.
GMCS:
2006-09-23 Marek Safar <marek.safar@seznam.cz>
* convert.cs (ImplicitReferenceConversion): NullCast to EmptyConstantCast.
* cs-parser.jay: Parse correctly cast of default (T).
* generic.cs (DefaultValueExpression.DoResolve): Check for void type.
Store original type via EmptyConstantCast.
svn path=/trunk/mcs/; revision=65833
Sebastien Pouliot [Sat, 23 Sep 2006 00:23:00 +0000 (00:23 -0000)]
2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
* SystemInformationTest.cs: Add tests case for MenuFont.
svn path=/trunk/mcs/; revision=65831
Sebastien Pouliot [Sat, 23 Sep 2006 00:22:13 +0000 (00:22 -0000)]
2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
* SystemInformation.cs: Return a clone of the theme's MenuFont because
anyone can dispose it, anytime. All other properties returns enums,
structs or basic types so they don't need such tricks.
svn path=/trunk/mcs/; revision=65830
Zoltan Varga [Fri, 22 Sep 2006 18:00:01 +0000 (18:00 -0000)]
2006-09-22 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (add_valuetype): Fix an uninitialized memory issue.
svn path=/trunk/mono/; revision=65824
Gert Driesen [Fri, 22 Sep 2006 17:52:55 +0000 (17:52 -0000)]
* AssemblyInfo.cs: AssemblyConfiguration and AssemblyTrademark
attributes are 1.1 only. Added AssemblyFileVersion, Debuggable and
CompilationRelaxtations attribute for 2.0 profile.
* ServiceProcessInstaller.cs: Added missing ServiceProcessDescription
attribute.
* ServiceAccount.cs: Removed extra Serializable attribute.
* ServiceInstaller.cs: Added ServiceProcessDescriptions.
* ServiceBase.cs: Added descriptions for ServiceProcessDescription
as reported by class status. Modified return type of OnPowerEvent
from void to bool.
* ServiceController.cs: Added description for class-level
ServiceProcessDescription. Added TypeConverter for ServiceName.
* TimeoutException.cs: Added ctor introduced in 2.0 profile.
* System.ServiceProcess.dll.sources: Added ServiceNameConverter.cs.
* ServiceNameConverter.cs: Dummy implementation to fix class status.
svn path=/trunk/mcs/; revision=65823
Jackson Harper [Fri, 22 Sep 2006 17:30:08 +0000 (17:30 -0000)]
* XplatUI.cs:
* XplatUIWin32.cs:
* Clipboard.cs:
* DataFormats.cs:
* XplatUIDriver.cs: Update interface to add a primary selection
flag, so the driver can use the primary selection buffer if
needed.
* XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
* RichTextBox.cs: We need to supply the data object to paste now
(so we can choose to supply CLIPBOARD or PRIMARY).
* TextBoxBase.cs: Supply data object to paste (see above).
- Middle click uses the primary selection data object.
svn path=/trunk/mcs/; revision=65821
Martin Baulig [Fri, 22 Sep 2006 16:34:42 +0000 (16:34 -0000)]
2006-09-22 Martin Baulig <martin@ximian.com>
* delegate.cs, attribute.cs: Merged with the gmcs versions.
svn path=/trunk/mcs/; revision=65820
Sebastien Pouliot [Fri, 22 Sep 2006 14:18:55 +0000 (14:18 -0000)]
2006-09-22 Sebastien Pouliot <sebastien@ximian.com>
* TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
like handling bad ranges (start, length) and hotkey prefix handling.
svn path=/trunk/mcs/; revision=65819
Raja R Harinath [Fri, 22 Sep 2006 14:14:55 +0000 (14:14 -0000)]
* test-531.cs, test-531-lib.il: New test from #79451.
svn path=/trunk/mcs/; revision=65817
Raja R Harinath [Fri, 22 Sep 2006 14:09:55 +0000 (14:09 -0000)]
* literal.cs (NullDefault): The type of default(IFoo) is 'IFoo',
not the null type.
svn path=/trunk/mcs/; revision=65816
Raja R Harinath [Fri, 22 Sep 2006 13:54:51 +0000 (13:54 -0000)]
Fix part of #79451
* typemanager.cs (Closure.Filter): Consider PrivateScope attributes.
* decl.cs (DeclSpace.FindMemberToOverride): Likewise. Reorganize
code slightly.
svn path=/trunk/mcs/; revision=65815
Martin Baulig [Fri, 22 Sep 2006 13:46:09 +0000 (13:46 -0000)]
2006-09-22 Martin Baulig <martin@ximian.com>
Revert Paolo's change from r65776.
svn path=/trunk/mono/; revision=65814
Raja R Harinath [Fri, 22 Sep 2006 12:25:25 +0000 (12:25 -0000)]
Oops -- dim can be empty.
svn path=/trunk/mcs/; revision=65813
Martin Baulig [Fri, 22 Sep 2006 12:23:51 +0000 (12:23 -0000)]
2006-09-22 Martin Baulig <martin@ximian.com>
* ecore.cs: Merged with the gmcs version.
* generic.cs (ConstructedType): New dummy class.
(TypeArguments): Don't make this abstract.
* typemanager.cs
(TypeManager.IsGenericTypeDefinition): New method.
(TypeManager.GetGenericFieldDefinition): Moved here from gmcs.
svn path=/trunk/mcs/; revision=65812
Raja R Harinath [Fri, 22 Sep 2006 12:22:20 +0000 (12:22 -0000)]
* expression.cs (ComposedCast): Check for arrays of TypedReference
before creating the type, not after.
svn path=/trunk/mcs/; revision=65811
Miguel de Icaza [Fri, 22 Sep 2006 07:57:59 +0000 (07:57 -0000)]
Update
svn path=/trunk/mono/; revision=65809
Atsushi Eno [Fri, 22 Sep 2006 04:32:02 +0000 (04:32 -0000)]
2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
* EncryptedXml.cs : use Padding member instead of const ISO10126 (though
I doubt it should be there). Use it in DecryptData().
* EncryptedXmlTest.cs, EncryptedXmlSample3.xml :
another decryption test for padding sanity.
* Makefile:
Added Test/S.S.C.Xml/EncryptedXmlSample3.xml to EXTRA_DISTFILES.
svn path=/trunk/mcs/; revision=65804
Atsushi Eno [Fri, 22 Sep 2006 03:21:03 +0000 (03:21 -0000)]
2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
* XmlNameEntryCache.cs : It should expand temporary buffer even at
initial state. Fixed bug #79468.
* XmlDocumentTests.cs : added bug #79468 case.
svn path=/trunk/mcs/; revision=65803
Gonzalo Paniagua Javier [Fri, 22 Sep 2006 02:54:31 +0000 (02:54 -0000)]
2006-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Test/System.IO/FileInfoTest.cs:
* System.IO/FileInfo.cs: added 2.0 IsReadOnly. Patch by Joel Reed.
svn path=/trunk/mcs/; revision=65802
Gonzalo Paniagua Javier [Fri, 22 Sep 2006 02:50:24 +0000 (02:50 -0000)]
2006-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* FileInfo.cs: eol-style.
svn path=/trunk/mcs/; revision=65801
Atsushi Eno [Fri, 22 Sep 2006 01:16:12 +0000 (01:16 -0000)]
2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
* EncryptedXml.cs : implement orthodox padding on encryption.
* EncryptedXmlTest.cs : added roundtrip sample i.e. encryption test.
svn path=/trunk/mcs/; revision=65800
Marek Safar [Thu, 21 Sep 2006 21:32:38 +0000 (21:32 -0000)]
New tests.
svn path=/trunk/mcs/; revision=65797
Marek Safar [Thu, 21 Sep 2006 21:25:50 +0000 (21:25 -0000)]
New tests.
svn path=/trunk/mcs/; revision=65796
Marek Safar [Thu, 21 Sep 2006 21:24:28 +0000 (21:24 -0000)]
2006-09-21 Marek Safar <marek.safar@seznam.cz>
* cfold.cs, const.cs, enum.cs, statement.cs: Updated
after ToType change.
* constant.cs (Constant.ImplicitConversionRequired): Designed to used
when constant must be implicitly convertible.
* convert.cs (ImplicitReferenceConversion): Reuse ToType.
* ecore.cs (NullCast): Derives from NullConstant.
* expression.cs (Is.DoResolve): Removed useless variables.
(Conditional.DoResolve): Quick hack for `Foo () ? null : null'.
(New.Constantify): Add enum support.
(MemberAccess.DoResolve): Add warning when accessing null constant or
variable.
* generic.cs (GenericConstraints.IsReferenceType): Another dummy
property.
* literal.cs (NullConstant): New abstract class with common
functionality for all null specializations.
(NullDefault): Represents default(X) when result can be
reduced to null.
(NullLiteral): Updated.
* report.cs: Add new warning.
GMCS:
2006-09-21 Marek Safar <marek.safar@seznam.cz>
* convert.cs (ImplicitReferenceConversion): Reuse ToType.
* ecore.cs (NullCast): Derives from NullConstant.
* generic.cs (DefaultValueExpression): Fixed to cope with the constant
results.
svn path=/trunk/mcs/; revision=65795
Gert Driesen [Thu, 21 Sep 2006 19:04:59 +0000 (19:04 -0000)]
* ArithmeticException.cs: Modified default message to match MS, to
ensure a local regression test passes on both Mono and .NET.
svn path=/trunk/mcs/; revision=65793
Gert Driesen [Thu, 21 Sep 2006 19:00:28 +0000 (19:00 -0000)]
* corlib_test.dll.sources: Added FileNotFoundExceptionTest.cs.
* Exception.cs: Marked message internal to allow derived classes to
access the raw message (without changing the public API).
* FileNotFoundException.cs: Changed message for default ctor to match
MS. Use internal message field of Exception to check whether Message
is null. On 2.0 profile, use file/assembly load failure message when
no message is set and a filename was specified. On 1.0 profile,
always use file/assembly load failure message when no message is set
(regardless of whether a filename was specified or not). Made some
cosmetic changes to ToString to have it match MS.
* FileNotFoundExceptionTest.cs: Added ctor tests.
svn path=/trunk/mcs/; revision=65792
Gert Driesen [Thu, 21 Sep 2006 18:56:18 +0000 (18:56 -0000)]
* appdomain.c: Pass NULL to mono_get_exception_file_not_found2 as
exception message to have FileNotFoundException use the default
assembly load error message. Fixes bug #79426.
* exception.c: Support NULL msg in mono_get_exception_file_not_found2.
svn path=/trunk/mono/; revision=65791
Sebastien Pouliot [Thu, 21 Sep 2006 18:34:21 +0000 (18:34 -0000)]
2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
* GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
GdipSetStringFormatTabStops functions.
* TestStringFormat.cs: Added a more complex test case for Clone.
svn path=/trunk/mcs/; revision=65790
Marek Safar [Thu, 21 Sep 2006 18:16:52 +0000 (18:16 -0000)]
Add generics.cs
svn path=/trunk/mcs/; revision=65788
Chris Toshok [Thu, 21 Sep 2006 18:15:53 +0000 (18:15 -0000)]
2006-09-21 Chris Toshok <toshok@ximian.com>
* XplatUIX11.cs: first little cleanup of the StyleSet (...) block
of SetWMStyles. It's still a rat's nest and is largely
order-dependent which I dislike immensely. This also fixes the X
button disappearing from toplevel forms.
svn path=/trunk/mcs/; revision=65787
Gonzalo Paniagua Javier [Thu, 21 Sep 2006 18:05:09 +0000 (18:05 -0000)]
2006-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* threadpool.c: (start_thread_or_queue) use the root domain when
creating the thread instead of the async object one.
svn path=/trunk/mono/; revision=65786
Mike Kestner [Thu, 21 Sep 2006 17:56:01 +0000 (17:56 -0000)]
2006-09-21 Mike Kestner <mkestner@novell.com>
* ListBox.cs: move Jordi's click/dblclick raising code to the
mouse up handler.
svn path=/trunk/mcs/; revision=65785
Paolo Molaro [Thu, 21 Sep 2006 17:33:16 +0000 (17:33 -0000)]
Thu Sep 21 19:30:04 CEST 2006 Paolo Molaro <lupus@ximian.com>
* class.c, object.c, class-internals.h, reflection.c:
for arrays, store element_size inside MonoClass (speedup
for array object creation).
svn path=/trunk/mono/; revision=65776
Jordi Mas i Hernandez [Thu, 21 Sep 2006 17:12:37 +0000 (17:12 -0000)]
2006-09-21 Jordi Mas i Hernandez <jordimash@gmail.com>
* ListBox.cs: Fixes 79450
svn path=/trunk/mcs/; revision=65775
Paolo Molaro [Thu, 21 Sep 2006 17:09:18 +0000 (17:09 -0000)]
Thu Sep 21 19:06:09 CEST 2006 Paolo Molaro <lupus@ximian.com>
* inssel.brg: use the correct function to get the size of an item
in an array, given an element class.
* aot-compiler.c: do not access class->class_size directly.
svn path=/trunk/mono/; revision=65774
Martin Baulig [Thu, 21 Sep 2006 16:32:47 +0000 (16:32 -0000)]
2006-09-21 Martin Baulig <martin@ximian.com>
* generic.cs (GenericTypeParameterBuilder): Removed this ugly hack.
svn path=/trunk/mcs/; revision=65773
Martin Baulig [Thu, 21 Sep 2006 16:30:37 +0000 (16:30 -0000)]
2006-09-21 Martin Baulig <martin@ximian.com>
* generic.cs (GenericConstraints): New dummy class.
(Constraints): Likewise.
(TypeParameter): Likewise.
(TypeParameterName): Likewise.
(GenericMethod): Likewise.
* typemanager.cs (TypeManager.GetGenericArguments): New method.
* decl.cs: Merged with the gmcs version.
svn path=/trunk/mcs/; revision=65772
Mike Kestner [Thu, 21 Sep 2006 16:23:51 +0000 (16:23 -0000)]
2006-09-21 Mike Kestner <mkestner@novell.com>
* TreeView.cs: guard against disposed conditions in UpdateScrollbars
to deal with people updating the TreeNodeCollection after the tree
is disposed. "Fixes" 79330.
svn path=/trunk/mcs/; revision=65771
Raja R Harinath [Thu, 21 Sep 2006 15:22:11 +0000 (15:22 -0000)]
* generic.cs (TypeParameter): Implement IMemberContainer.
(GenericTypeParameterBuilder): New. An abominable repugnant hack.
svn path=/trunk/mcs/; revision=65770
Paolo Molaro [Thu, 21 Sep 2006 15:08:27 +0000 (15:08 -0000)]
Thu Sep 21 17:06:43 CEST 2006 Paolo Molaro <lupus@ximian.com>
* icall.c: fixed CodeBase to use the file name and not the module
name (bug #79365).
svn path=/trunk/mono/; revision=65769
Raja R Harinath [Thu, 21 Sep 2006 14:50:06 +0000 (14:50 -0000)]
* mcs/rootcontext.cs: Unify with gmcs version.
* gmcs/rootcontext.cs: Remove after unification with mcs source.
svn path=/trunk/mcs/; revision=65768
Atsushi Eno [Thu, 21 Sep 2006 14:14:54 +0000 (14:14 -0000)]
2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
* Makefile: oops, syntax breakage.
svn path=/trunk/mcs/; revision=65767
Atsushi Eno [Thu, 21 Sep 2006 14:10:41 +0000 (14:10 -0000)]
2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
* EncryptedXml.cs :
Handle orthodox padding (xmlenc spec section 5.2). However, like
EncryptedXmlSample1, it might not exist, so make it optional.
* EncryptedXmlTest.cs, EncryptedXmlSample2.xml :
Added another case that expects correct padding processing which is
specified in W3C xmlenc spec section 5.2.
* Makefile:
Added Test/S.S.C.Xml/EncryptedXmlSample2.xml to EXTRA_DISTFILES.
svn path=/trunk/mcs/; revision=65766
Raja R Harinath [Thu, 21 Sep 2006 13:48:58 +0000 (13:48 -0000)]
In mcs:
* report.cs: Unify with gmcs version.
* typemanager.cs (AddTypeParameter, LookupTypeParameter): Move
from gmcs/generics.cs.
* generics.cs (TypeParameter): New dummy class.
In gmcs:
* report.cs: Remove after unification with mcs source.
* generic.cs (AddTypeParameter, LookupTypeParameter): Move to
mcs/typemanager.cs.
(InitGenerics, CleanUpGenerics): Remove.
svn path=/trunk/mcs/; revision=65765
Sebastien Pouliot [Thu, 21 Sep 2006 13:14:50 +0000 (13:14 -0000)]
svn path=/trunk/mcs/; revision=65764
Sebastien Pouliot [Thu, 21 Sep 2006 13:14:22 +0000 (13:14 -0000)]
2006-09-21 Sebastien Pouliot <sebastien@ximian.com>
* gdipFunctions.cs: Throw an OverflowException for the ValueOverflow
Status code.
svn path=/trunk/mcs/; revision=65763
Raja R Harinath [Thu, 21 Sep 2006 13:10:42 +0000 (13:10 -0000)]
* mcs/support.cs: Unify with gmcs version.
* gmcs/support.cs: Remove after unification with mcs source.
svn path=/trunk/mcs/; revision=65761
Atsushi Eno [Thu, 21 Sep 2006 12:50:51 +0000 (12:50 -0000)]
2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
* EncryptedXmlTest.cs :
removed problematic culture change (was for debugging).
svn path=/trunk/mcs/; revision=65760
Marek Sieradzki [Thu, 21 Sep 2006 12:04:42 +0000 (12:04 -0000)]
2006-09-21 Marek Sieradzki <marek.sieradzki@gmail.com>
* ConditionRelationalExpression.cs: Change comparers to case
insensitive.
* ImportCollection.cs: Add NotImplementedExceptions.
* BuildPropertyGroup.cs: Reformatted a bit.
* BuildProperty.cs: The same.
* Project.cs: Moved evaluation of imports before evaluation of
properties. This may "work" until importing projects is redesigned but
probably isn't correct.
svn path=/trunk/mcs/; revision=65759
Marek Sieradzki [Thu, 21 Sep 2006 11:58:40 +0000 (11:58 -0000)]
2006-09-21 Marek Sieradzki <marek.sieradzki@gmail.com>
* xbuild/Microsoft.CSharp.targets: Simplify: use PropertyGroups
instead of Targets to set properties needed by Csc task.
svn path=/trunk/mcs/; revision=65758
Paolo Molaro [Thu, 21 Sep 2006 10:12:22 +0000 (10:12 -0000)]
Thu Sep 21 12:10:56 CEST 2006 Paolo Molaro <lupus@ximian.com>
* mini.h, debug-mini.c: added a debugging function to print
info about local variables and arguments in a jitted method.
svn path=/trunk/mono/; revision=65753
Paolo Molaro [Thu, 21 Sep 2006 10:10:42 +0000 (10:10 -0000)]
Thu Sep 21 12:09:34 CEST 2006 Paolo Molaro <lupus@ximian.com>
* mono-debug.c, mono-debug.h: export find_method as
mono_debug_find_method ().
svn path=/trunk/mono/; revision=65752
Paolo Molaro [Thu, 21 Sep 2006 09:09:31 +0000 (09:09 -0000)]
Small doc updates.
svn path=/trunk/mono/; revision=65751
Atsushi Eno [Thu, 21 Sep 2006 07:25:48 +0000 (07:25 -0000)]
2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
* EncryptedXml.cs : True fix for DecryptData(). It indeed uses block size
(or possibly IV size) in Transform(), but only for stripping the heading
n bytes garbage.
* EncryptedXmlTest.cs : new file. Added practical example.
* EncryptedXmlSample1.xml, sample.pfx : support files for the above test.
* System.Security_test.dll.sources: added EncryptedXmlTest.cs.
* Makefile: added some extra test support files as EXTRA_DISTFILES.
svn path=/trunk/mcs/; revision=65750
Jordi Mas i Hernandez [Thu, 21 Sep 2006 06:23:41 +0000 (06:23 -0000)]
2006-09-21 Jordi Mas i Hernandez <jordimash@gmail.com>
* gdipFunctions.cs, Image.cs: 78315. Probably in the future we should
add the same checking for other resource release GDI API calls.
svn path=/trunk/mcs/; revision=65749
Gonzalo Paniagua Javier [Thu, 21 Sep 2006 04:54:12 +0000 (04:54 -0000)]
2006-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Test/mainsoft/NunitWeb/NunitWeb/StandardUrl.cs:
* Test/mainsoft/NunitWeb/NunitWeb/Resources/MyDerived.master:
* Test/mainsoft/NunitWeb/NunitWeb/Resources/MyPageWithDerivedMaster.aspx:
* System.Web.UI/MasterPageParser.cs:
* System.Web.dll.sources:
* System.Web.Compilation/MasterPageCompiler.cs:
* System.Web.Compilation/AspGenerator.cs: add support for the MasterType
directive for master pages.
Patch by Joel Reed.
svn path=/trunk/mcs/; revision=65748
Gonzalo Paniagua Javier [Wed, 20 Sep 2006 23:14:19 +0000 (23:14 -0000)]
2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TemplateParser.cs: patch by Joel Reed that makes use of the namespace
collection from the PagesConfiguration to add new namespaces when
generating the page/control code.
svn path=/trunk/mcs/; revision=65745
Jackson Harper [Wed, 20 Sep 2006 21:59:23 +0000 (21:59 -0000)]
* TextControl.cs: Push the cursor record onto the undo stack
before the delete action. This fixes 78651.
M ChangeLog
M TextControl.cs
svn path=/trunk/mcs/; revision=65742
Zoltan Varga [Wed, 20 Sep 2006 20:22:39 +0000 (20:22 -0000)]
2006-09-20 Zoltan Varga <vargaz@gmail.com>
* libtest.c (mono_test_marshal_stringbuilder_default): Null terminate string to
prevent random errors.
(mono_test_marshal_stringbuilder): Ditto.
svn path=/trunk/mono/; revision=65740
Gonzalo Paniagua Javier [Wed, 20 Sep 2006 19:27:20 +0000 (19:27 -0000)]
2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AspGenerator.cs: if we are tracking non-server tags for
well-formedness, handle tags that do not need to be closed (br, img,...)
Fixes bug #79437.
svn path=/trunk/mcs/; revision=65738
Zoltan Varga [Wed, 20 Sep 2006 19:08:14 +0000 (19:08 -0000)]
2006-09-20 Zoltan Varga <vargaz@gmail.com>
* Makefile (EXTRA_DISTFILES): Add test.cs to fix test-profiles.
svn path=/trunk/mcs/; revision=65736
Jonathan Chambers [Wed, 20 Sep 2006 18:48:13 +0000 (18:48 -0000)]
2006-09-20 Jonathan Chambers <joncham@gmail.com>
* PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
CreateParams. Fixes 79329.
svn path=/trunk/mcs/; revision=65735
Gonzalo Paniagua Javier [Wed, 20 Sep 2006 18:18:04 +0000 (18:18 -0000)]
2006-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* ListBox.cs: if the list is not enabled, don't require a postback.
Fixes bug #79445.
svn path=/trunk/mcs/; revision=65734
Paolo Molaro [Wed, 20 Sep 2006 18:00:18 +0000 (18:00 -0000)]
Wed Sep 20 19:59:06 CEST 2006 Paolo Molaro <lupus@ximian.com>
* debug-helpers.c, class-internals.h: added a few functions useful
when debugging under gdb.
svn path=/trunk/mono/; revision=65733
Atsushi Eno [Wed, 20 Sep 2006 17:58:51 +0000 (17:58 -0000)]
2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
* SignedXml.cs : overwrite my fix with Gert's patch on #79454 to make it
possible to handle multiple certificates.
svn path=/trunk/mcs/; revision=65732
Atsushi Eno [Wed, 20 Sep 2006 17:53:13 +0000 (17:53 -0000)]
2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
* X509Certificate2.cs : in .ctor(X509Certificate) call base copy .ctor()
as well. Fixed bug #79455.
svn path=/trunk/mcs/; revision=65731