Jonathan Pryor [Tue, 20 Sep 2005 15:48:37 +0000 (15:48 -0000)]
* Syscall.cs: Add [Map] to AccessMode and MmapProt, as the Mono.Unix.Native
replacements go by different names (AccessModes, MmapProts), but we need
to continue generating the mapping code for these types (backward compat).
svn path=/trunk/mcs/; revision=50306
Martin Baulig [Tue, 20 Sep 2005 15:46:12 +0000 (15:46 -0000)]
2005-09-20 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.c (MonoDebuggerMetadataInfo): Added some stuff.
svn path=/trunk/mono/; revision=50305
Sebastien Pouliot [Tue, 20 Sep 2005 15:41:38 +0000 (15:41 -0000)]
add forgotten MonthChangedEventArgs unit tests to the build
svn path=/trunk/mcs/; revision=50303
Sebastien Pouliot [Tue, 20 Sep 2005 15:40:58 +0000 (15:40 -0000)]
2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
* AdCreatedEventArgsTest.cs, BaseCompareValidatorTest.cs,
CompositeControlTest.cs, DataListTest.cs, DropDownListTest.cs,
EditCommandColumnTest.cs, FontNamesConverterTest.cs, FormViewTest.cs,
ListControlTest.cs, MonthChangedEventArgsTest.cs,
RadioButtonListTest.cs, StyleTest.cs, TableCellTest.cs,
TextBoxTest.cs, TreeViewTest.cs, ValidatedControlConverterTest.cs:
Fixed tests results under 2.0 Release Candidate (for NET_2_0).
svn path=/trunk/mcs/; revision=50302
Jonathan Pryor [Tue, 20 Sep 2005 15:38:35 +0000 (15:38 -0000)]
* Syscall.cs: Mark types as [CLSCompliant(false)].
svn path=/trunk/mcs/; revision=50301
Jonathan Pryor [Tue, 20 Sep 2005 15:37:06 +0000 (15:37 -0000)]
* AssemblyInfo.cs: Mark [CLSCompliant(true)], [ComVisible(false)].
svn path=/trunk/mcs/; revision=50300
Jonathan Pryor [Tue, 20 Sep 2005 15:30:44 +0000 (15:30 -0000)]
* Makefile: Build the make-map.exe in Mono.Unix.Native; add /nowarn:0618 to
the build, so that we don't see dozens of warnings about using [Obsolete]
code.
* Mono.Unix.Native: directory added
* Mono.Posix.dll.sources: Add Mono.Unix.Native/*.cs sources.
* Mono.Unix/CdeclFunction.cs: [Obsolete]d by Mono.Unix.Native.CdeclFunction.
* Mono.Unix/make-map.cs: Remove.
* Mono.Unix/Stdlib.cs: [Obsolete] the types; use the Mono.Unix.Native.*
types instead.
* Mono.Unix/StdioFileStream.cs: Add GC.KeepAlive statements to prevent
premature GC's (FxCop suggestion).
* Mono.Unix/Syscall.cs: Remove [Map] attribute from all types;
[CLSCompliant(false)]
work; [Obsolete] all types and suggest using the Mono.Unix.Native.*
replacements; remove [IncludeAttribute] -- superseded by
Mono.Unix.Native/Syscall.cs's [HeaderAttribte] for CLS compliance.
* Mono.Unix/UnixConvert.cs: [Obsolete]d by Mono.Unix.Native.NativeConvert.
* Mono.Unix/UnixDirectory.cs, Mono.Unix/UnixDriveInfo.cs,
Mono.Unix/UnixEnvironment.cs, Mono.Unix/UnixGroup.cs,
Mono.Unix/UnixGroupInfo.cs, Mono.Unix/UnixSymbolicLinkInfo.cs,
Mono.Unix/UnixUser.cs, Mono.Unix/UnixUserInfo.cs:
Add [CLSCompliant(false)] as necessary.
* Mono.Unix/UnixFile.cs, Mono.Unix/UnixDirectory.cs,
Mono.Unix/UnixFileInfo.cs, Mono.Unix/UnixFileSystemInfo.cs:
[CLSCompliant(false)], addition of method overloads for [Obsolete]d types,
warn about changing return types.
* Mono.Unix/UnixProcess.cs, Mono.Unix/UnixStream.cs:
Add [CLSCompliant(false)] as necessary, and warn about changing property types.
* Mono.Unix.Native/ChangeLog: Started.
* Mono.Unix.Native/CdeclFunction.cs: Copied from ../Mono.Unix; change namespace.
* Mono.Unix.Native/HeaderAttribute.cs: Added
* Mono.Unix.Native/make-map.cs: Copied from ../Mono.Unix; sort type and
member names in output (makes for a more stable svn history, as
types/members won't change position anymore within generated code);
look for HeaderAttribute not IncludeAttribute for getting headers &
#defines; generate NativeConvert partial class.
* Mono.Unix.Native/NativeConvert.cs: Copied from ../Mono.Unix; change
namespace; turn into a partial class; Remove generated code (generated
code is in NativeConvert.generated.cs).
* Mono.Unix.Native/NativeConvert.generated.cs: Added
* Mono.Unix.Native/Stdlib.cs: Copied from ../Mono.Unix; change namespace;
rename Error to Errno (as Error is a "reserved word" in FxCop);
[CLSCompliant(false)] support.
* Mono.Unix.Native/Syscall.cs: Use HeaderAttribute, not IncludeAttribute,
for CLS compliance; add [CLSCompliant(false)] as needed; use NativeConvert,
not UnixConvert.
svn path=/trunk/mcs/; revision=50299
Alexander Olk [Tue, 20 Sep 2005 15:27:55 +0000 (15:27 -0000)]
2005-09-20 Alexander Olk <alex.olk@googlemail.com>
* ThemeWin32Classic.cs:
- Change some private methods/fields to protected virtual so that
they can be accessed and overriden in derived classes
- First refactoring of some methods. Derived themes now don't
need to duplicate the complete code from ThemeWin32Classic
* ThemeNice.cs:
- Added nice StatusBar
- Derive from ThemeWin32Classic and not Theme
- Removed duplicate ThemeWin32Classic code
svn path=/trunk/mcs/; revision=50298
Sebastien Pouliot [Tue, 20 Sep 2005 14:17:23 +0000 (14:17 -0000)]
2005-09-20 Sebastien Pouliot <sebastien@ximian.com>
* TestUrlPropertyAttribute.cs: Remove references to UrlTypes (removed
in 2.0 RC). Fix compilation for tests under NET_2_0.
svn path=/trunk/mcs/; revision=50297
Konstantin Triger [Tue, 20 Sep 2005 13:32:01 +0000 (13:32 -0000)]
run jay in java prebuild step
svn path=/trunk/mcs/; revision=50296
Gonzalo Paniagua Javier [Tue, 20 Sep 2005 13:29:03 +0000 (13:29 -0000)]
2005-09-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpResponseStream.cs: implemented Send(stream) for files. Fixes bug
#76145.
svn path=/trunk/mcs/; revision=50294
Jordi Mas i Hernandez [Tue, 20 Sep 2005 12:47:50 +0000 (12:47 -0000)]
* ButtonTest.cs, LabelTest.cs, ControlEventTest.cs, ScrollBarTest.cs,
LabelPropertyTest.cs, ProgressBarTest.cs, StatusBarTest.cs,
ImageListTest.cs, MonthCalendarTest.cs, ControlTest.cs,
ListBoxEventTest.cs, TreeViewTest.cs, TestImageIndexConverter.cs,
ToolBarTest.cs, MenuTest.cs
Remove all the tests that are giving errors. All of them should
be reviewed. Right now having this text throwing 40 errors do not
help at all to do regression testing. Peter has already assigned
a group of controls to every developer that will be tested and
reviewed.
2005-09-20 Ritvik Mayank <mritvik@novell.com>
svn path=/trunk/mcs/; revision=50293
Sureshkumar T [Tue, 20 Sep 2005 12:19:28 +0000 (12:19 -0000)]
In Test/System.Data:
(SortTests): Added cases for sorting order. TestCase from Marc
In System.Data:
* DataView.cs (Sort): Apply default Sorting Order if Sort property
is reset to null. Sort property handles this. Patch from Marc.
svn path=/trunk/mcs/; revision=50292
Konstantin Triger [Tue, 20 Sep 2005 12:18:49 +0000 (12:18 -0000)]
run jay in java prebuild step
svn path=/trunk/mcs/; revision=50291
Vladimir Krasnov [Tue, 20 Sep 2005 12:04:45 +0000 (12:04 -0000)]
Graphics.jvm.cs: bitmap resolution fix in DrawImage
svn path=/trunk/mcs/; revision=50290
Sureshkumar T [Tue, 20 Sep 2005 11:42:55 +0000 (11:42 -0000)]
2005-09-20 Sureshkumar T <tsureshkumar@novell.com>
* System.Data/DataTable.cs (ParseSortString): Patch from Marc Haisenko for
allowing [ & ] in DataView.Sort string.
* Test/System.Data/DataViewTest.cs: Added a case for Sort to accept columns with
'[' & ']'.
svn path=/trunk/mcs/; revision=50289
Konstantin Triger [Tue, 20 Sep 2005 11:07:18 +0000 (11:07 -0000)]
jay.vcproj to build jay on pure Win32
svn path=/trunk/mcs/; revision=50288
Ritvik Mayank [Tue, 20 Sep 2005 10:49:39 +0000 (10:49 -0000)]
Added test cases for PictureBox
svn path=/trunk/mcs/; revision=50287
Alexandre Gomes [Tue, 20 Sep 2005 10:11:31 +0000 (10:11 -0000)]
2005-09-20 Alexandre Miguel Pedro Gomes <alexmipego@gmail.com>
* OleDbConnection.cs: Verify and throw an exception if the
connection isn't valid.
svn path=/trunk/mcs/; revision=50286
Vladimir Krasnov [Tue, 20 Sep 2005 09:40:12 +0000 (09:40 -0000)]
Graphics.jvm.cs: fixed DrawImage
svn path=/trunk/mcs/; revision=50285
Vladimir Krasnov [Tue, 20 Sep 2005 09:35:49 +0000 (09:35 -0000)]
DrawingTest.cs: Added Pixel Distance comparer PDCompare()
Added PDComparer.cs
Graphics.cs: Added tests for DrawImage, fixed use pixel distance comparer
svn path=/trunk/mcs/; revision=50284
Atsushi Eno [Tue, 20 Sep 2005 09:32:41 +0000 (09:32 -0000)]
2005-09-20 Atsushi Enomoto <atsushi@ximian.com>
* SimpleCollator.cs : In IsPrefix/IsSuffix, if target is an empty string,
immediately return true.
* CompareInfoTest.cs : added empty string cases for IsPrefix/IsSuffix.
svn path=/trunk/mcs/; revision=50283
Hisham Mardam Bey [Tue, 20 Sep 2005 07:33:29 +0000 (07:33 -0000)]
* Mono.Cairo/Graphics.cs: add SelectFontFace and SetFontSize
svn path=/trunk/mcs/; revision=50282
Miguel de Icaza [Tue, 20 Sep 2005 06:16:08 +0000 (06:16 -0000)]
install the dotnet.pc file
svn path=/trunk/mono/; revision=50281
Miguel de Icaza [Tue, 20 Sep 2005 05:32:41 +0000 (05:32 -0000)]
2005-09-20 Miguel de Icaza <miguel@novell.com>
* Control.cs (ControlCollection.Add): If the value null is passed
the control is ignored.
Optimize this loop.
svn path=/trunk/mcs/; revision=50280
Ankit Jain [Tue, 20 Sep 2005 04:28:57 +0000 (04:28 -0000)]
* monodis.1: Update documentation for --output.
svn path=/trunk/mono/; revision=50278
Ankit Jain [Tue, 20 Sep 2005 04:20:18 +0000 (04:20 -0000)]
* main.c (table_list): Add --mresources to the table.
(usage): Don't add "--mresources" explicitly for usage output.
(main): Remove explicit handling for --mresources.
svn path=/trunk/mono/; revision=50277
Miguel de Icaza [Tue, 20 Sep 2005 04:15:53 +0000 (04:15 -0000)]
Update
svn path=/trunk/mono/; revision=50276
Miguel de Icaza [Tue, 20 Sep 2005 04:10:21 +0000 (04:10 -0000)]
Test new mail script
svn path=/trunk/mono/; revision=50275
Ankit Jain [Tue, 20 Sep 2005 03:57:53 +0000 (03:57 -0000)]
* main.c (main): Dump managed resources when --output is specified.
svn path=/trunk/mono/; revision=50274
Miguel de Icaza [Tue, 20 Sep 2005 03:44:06 +0000 (03:44 -0000)]
2005-09-19 Miguel de Icaza <miguel@novell.com>
* Graphics.cs: Removed restriction on the images that can be
loaded. Indexed images *can* be loaded
2005-09-19 Miguel de Icaza <miguel@novell.com>
* Makefile (EXTRA_DISTFILES): Distribute indexed.png, add resource
to build.
2005-09-19 Miguel de Icaza <miguel@novell.com>
* TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
svn path=/trunk/mcs/; revision=50273
Peter Dennis Bartok [Tue, 20 Sep 2005 03:19:34 +0000 (03:19 -0000)]
2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
* MenuAPI.cs: Replaced Application.Run() with a loop that tracks
PostQuitMessage state.
* XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
svn path=/trunk/mcs/; revision=50272
Atsushi Eno [Tue, 20 Sep 2005 03:08:17 +0000 (03:08 -0000)]
2005-09-20 Atsushi Enomoto <atsushi@ximian.com>
minimum set of XLinq implementation to run MS XLinqIntro.
svn path=/trunk/mcs/; revision=50271
Peter Dennis Bartok [Tue, 20 Sep 2005 01:54:13 +0000 (01:54 -0000)]
2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
* Application.cs: Our constructor will never get called, move
initialization to fields; fixes bug #75933
svn path=/trunk/mcs/; revision=50270
Miguel de Icaza [Mon, 19 Sep 2005 22:03:26 +0000 (22:03 -0000)]
Add inline api docs
svn path=/trunk/mono/; revision=50262
Gonzalo Paniagua Javier [Mon, 19 Sep 2005 21:02:22 +0000 (21:02 -0000)]
2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlInputButton.cs: render the onclick for doing a postback even when
there are no validators.
svn path=/trunk/mcs/; revision=50258
Gonzalo Paniagua Javier [Mon, 19 Sep 2005 21:01:20 +0000 (21:01 -0000)]
2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlInputButtonTest.cs: make sure the onclick attribute is rendered
when we have a ServerClick event registered.
svn path=/trunk/mcs/; revision=50257
Chris Toshok [Mon, 19 Sep 2005 18:53:58 +0000 (18:53 -0000)]
2005-09-19 Chris Toshok <toshok@ximian.com>
* System.Configuration/SettingsProvider.cs,
System.Configuration/SettingsPropertyValueCollection.cs,
System.Configuration/SettingsPropertyCollection.cs,
System.Configuration/SettingsProviderCollection.cs,
System.Configuration/SettingsBase.cs,
System.Configuration/SettingsSerializeAs.cs,
System.Configuration/SettingsPropertyValue.cs,
System.Configuration/SettingsProperty.cs,
System.Configuration/SettingsContext.cs,
System.Configuration/SettingsAttributeDictionary.cs: new files.
svn path=/trunk/mcs/; revision=50255
Chris Toshok [Mon, 19 Sep 2005 18:50:23 +0000 (18:50 -0000)]
2005-09-19 Chris Toshok <toshok@ximian.com>
* System.Configuration/SettingsPropertyTest.cs: new tests.
svn path=/trunk/mcs/; revision=50254
Chris Toshok [Mon, 19 Sep 2005 18:49:09 +0000 (18:49 -0000)]
2005-09-19 Chris Toshok <toshok@ximian.com>
* System.Configuration/ProviderBase.cs: nuke this - it's in
System.Configuration.Provider.
* System/InvalidDataException.cs: move this to System.IO, where it
belongs.
* System.dll.sources: track movement of InvalidDataException.cs
and removal of ProviderBase.cs
svn path=/trunk/mcs/; revision=50253
Sebastien Pouliot [Mon, 19 Sep 2005 18:43:11 +0000 (18:43 -0000)]
2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
* HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
svn path=/trunk/mcs/; revision=50252
Sebastien Pouliot [Mon, 19 Sep 2005 18:15:23 +0000 (18:15 -0000)]
Add new CAS unit tests for System.Web.UI.HtmlControls - and the forgotten HtmlInputFileTest
svn path=/trunk/mcs/; revision=50251
Sebastien Pouliot [Mon, 19 Sep 2005 18:12:27 +0000 (18:12 -0000)]
2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
* HtmlAnchorCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlAnchorTest.cs: RaisePostBackEvent now throws a NRE under 2.0 RC.
* HtmlButtonCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlContainerControlCas.cs: New. CAS unit tests.
* HtmlFormCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlFormTest.cs: Fixed rendering output under 2.0 RC.
* HtmlImageCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlInputButtonCas.cs: Added "normal" unit tests execution under
Deny Unrestricted.
* HtmlInputButtonTest.cs: Fixed attribute count for 2.0 RC.
* HtmlInputControlCas.cs: New. CAS unit tests.
* HtmlInputControlTest.cs: Fixed attribute count for 2.0 RC.
* HtmlInputCheckBoxCas.cs: Added "normal" unit tests execution under
Deny Unrestricted.
* HtmlInputCheckBoxTest.cs: Fixed attribute count for 2.0 RC (which is
now identical to 1.x results).
* HtmlInputFileCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlInputFileTest.cs: Fixed attribute count for 2.0 RC.
* HtmlInputHiddenCas.cs: Fixed attribute count for 2.0 RC.
* HtmlInputPasswordCas.cs: Added "normal" unit tests execution under
Deny Unrestricted.
* HtmlInputPasswordTest.cs: Adjusted tests as 2.0 RC removed the
ctor(string).
* HtmlInputRadioButtonCas.cs: Fixed attribute count for 2.0 RC.
* HtmlInputRadioButtonTest.cs: Added "normal" unit tests execution
under Deny Unrestricted.
* HtmlInputResetCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlInputResetTest.cs: Fixed attribute count for 2.0 RC.
* HtmlInputSubmitCas.cs: Added "normal" unit tests execution under
Deny Unrestricted.
* HtmlInputSubmitTest.cs: Fixed attribute count for 2.0 RC.
* HtmlInputTextCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlInputTextTest.cs: Fixed attribute count for 2.0 RC.
* HtmlLinkCas.cs: New. CAS unit tests.
* HtmlMetaCas.cs: New. CAS unit tests.
* HtmlMetaTest.cs: Fixed rendering for 2.0 RC (tag ending).
* HtmlSelectCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlTableCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlTableCellCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlTableRowCas.cs: Added "normal" unit tests execution under Deny
Unrestricted.
* HtmlTextAreaCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=50250
Sebastien Pouliot [Mon, 19 Sep 2005 18:09:38 +0000 (18:09 -0000)]
remove IPageHeader and UrlTypes from the build (they are not in 2.0 RC)
svn path=/trunk/mcs/; revision=50249
Sebastien Pouliot [Mon, 19 Sep 2005 18:08:33 +0000 (18:08 -0000)]
2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
* HtmlAnchor.cs: Added [SupportsEventValidation] on class and
[UrlProperty] on HRef property for 2.0.
* HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
* HtmlHead.cs: Remove IPageHeader interface.
* HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
* HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
* HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
* HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
* HtmlInputImage.cs: Added [SupportsEventValidation] on class and
[UrlProperty] on Src property for 2.0.
* HtmlInputPassword.cs: Added [SupportsEventValidation].
* HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
* HtmlInputReset.cs: Added [SupportsEventValidation].
* HtmlInputSubmit.cs: Added [SupportsEventValidation].
* HtmlInputText.cs: Added [SupportsEventValidation] on class and
re-enabled RenderAttribute for 2.0.
* HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
* HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
* HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
svn path=/trunk/mcs/; revision=50248
Sebastien Pouliot [Mon, 19 Sep 2005 18:07:12 +0000 (18:07 -0000)]
2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
* Page.cs: Remove references to IPageParser (removed from 2.0 RC). We
now use HtmlHeader directly.
* UrlPropertyAttribute.cs: Removed AllowedTypes property (2.0 RC) and
rewrote Equals to avoid dual type cast.
svn path=/trunk/mcs/; revision=50247
Miguel de Icaza [Mon, 19 Sep 2005 17:45:28 +0000 (17:45 -0000)]
Fix
svn path=/trunk/mono/; revision=50246
Zoltan Varga [Mon, 19 Sep 2005 17:29:31 +0000 (17:29 -0000)]
2005-09-19 Zoltan Varga <vargaz@gmail.com>
* docs/exception-handling.txt: Add section about libunwind.
svn path=/trunk/mono/; revision=50245
Zoltan Varga [Mon, 19 Sep 2005 17:19:53 +0000 (17:19 -0000)]
2005-09-19 Zoltan Varga <vargaz@gmail.com>
* docs/exception-handling.txt: New file.
svn path=/trunk/mono/; revision=50244
Gert Driesen [Mon, 19 Sep 2005 16:52:34 +0000 (16:52 -0000)]
* TypeConverterTests.cs: Added tests for TypeConverter.
* PropertyDescriptorCollection.cs: Added tests for PropertyDescriptorCollection.
* TypeDescriptor.cs: Remove usage of removed internal
PropertyDescriptorCollection ctor. Return read-only collection.
* PropertyDescriptorCollection.cs: Removed internal ctor taking
ArrayList. Add ctor for making read-only collection. Added
read-only checks. Implemented IsReadOnly and IsFixedSize. Empty now
returns read-only collection to match MS.NET.
* System_test.dll.sources: Added TypeConverterTest.cs and
PropertyDescriptorCollection.cs.
svn path=/trunk/mcs/; revision=50242
Miguel de Icaza [Mon, 19 Sep 2005 16:05:40 +0000 (16:05 -0000)]
Only build on 2.x
svn path=/trunk/mcs/; revision=50240
Sebastien Pouliot [Mon, 19 Sep 2005 15:20:55 +0000 (15:20 -0000)]
Add new [SupportsEventValidation] introduced in 2.0 RC
svn path=/trunk/mcs/; revision=50238
Sebastien Pouliot [Mon, 19 Sep 2005 15:19:57 +0000 (15:19 -0000)]
2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
* SupportsEventValidationAttribute.cs: New attribute added in 2.0 RC.
svn path=/trunk/mcs/; revision=50237
Zoltan Varga [Mon, 19 Sep 2005 14:20:10 +0000 (14:20 -0000)]
2005-09-19 Zoltan Varga <vargaz@gmail.com>
* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.
* icall.c (custom_attrs_defined_internal): New icall.
* reflection.c (mono_reflection_get_custom_attrs_by_type): New helper
function.
(mono_custom_attrs_construct_by_type): New helper function.
svn path=/trunk/mono/; revision=50235
Zoltan Varga [Mon, 19 Sep 2005 14:18:18 +0000 (14:18 -0000)]
2005-09-19 Zoltan Varga <vargaz@gmail.com>
* MonoCustomAttrs.cs (GetCustomAttributesInternal): Add
attributeType parameter.
(IsDefined): New icall.
* MonoCustomAttrs.cs: Avoid instantiating all custom attrs of an
object when only a specific attribute type is requested. Fixes #76062.
* Environment.cs: Bump corlib version.
svn path=/trunk/mcs/; revision=50234
Zoltan Varga [Mon, 19 Sep 2005 14:16:39 +0000 (14:16 -0000)]
2005-09-19 Zoltan Varga <vargaz@gmail.com>
* custom-attr.cs: Add tests for bug #76062.
svn path=/trunk/mono/; revision=50233
Sebastien Pouliot [Mon, 19 Sep 2005 14:07:29 +0000 (14:07 -0000)]
Added more CAS unit tests for System.Web.UI namespace
svn path=/trunk/mcs/; revision=50232
Zoltan Varga [Mon, 19 Sep 2005 14:06:25 +0000 (14:06 -0000)]
2005-09-19 Zoltan Varga <vargaz@gmail.com>
* test-driver Makefile.am: Fix detection of disabled tests.
svn path=/trunk/mono/; revision=50231
Sebastien Pouliot [Mon, 19 Sep 2005 13:55:35 +0000 (13:55 -0000)]
2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
* ControlBuilder.cs: Added BuildObject override for 2.0 profile.
* TagPrefixAttribute.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Fixed checks on ctor.
* TemplateBuilder.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* TemplateContainerAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* TemplateControl.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Fixed checks/exceptions.
Stubbed IFilterResolutionService for CAS testing.
* TemplateControlParser.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* TemplateParser.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
* ThemeableAttribute.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level. Removed IDispose interface.
* ToolboxDataAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level. Fixed IsDefaultAttribute
to work on both 1.x and 2.0 profiles.
* Triplet.cs: Added LinkDemand and (only for 1.x) InheritanceDemand
for AspNetHostingPermission with Minimal level.
* UserControl.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level. Stubbed
IFilterResolutionService for CAS testing.
* UserControlControlBuilder.cs: Added LinkDemand and InheritanceDemand
for AspNetHostingPermission with Minimal level.
* ValidationPropertyAttribute.cs: Added LinkDemand for
AspNetHostingPermission with Minimal level.
* ValidatorCollection.cs: Added LinkDemand for AspNetHostingPermission
with Minimal level.
* WebResourceAttribute.cs: Removed extra ctor and added setter to
PerformSubstitution.
* WebServiceParser.cs: Added LinkDemand and InheritanceDemand for
AspNetHostingPermission with Minimal level.
svn path=/trunk/mcs/; revision=50230
Marek Safar [Mon, 19 Sep 2005 13:43:44 +0000 (13:43 -0000)]
2005-09-19 Marek Safar <marek.safar@seznam.cz>
* compiler-tester: Reverted Martin's revert and ignore gmcs error
tests for new checks as most of them are not "valid".
svn path=/trunk/mcs/; revision=50229
Sebastien Pouliot [Mon, 19 Sep 2005 13:38:56 +0000 (13:38 -0000)]
2005-09-19 Sebastien Pouliot <sebastien@ximian.com>
* TagPrefixAttributeCas.cs: New. CAS unit tests.
* TemplateBuilderCas.cs: New. CAS unit tests.
* TemplateContainerAttributeCas.cs: New. CAS unit tests.
* TemplateControlCas.cs: New. CAS unit tests.
* ToolboxDataAttributeCas.cs: New. CAS unit tests.
* TripletCas.cs: New. CAS unit tests.
* UserControlCas.cs: New. CAS unit tests.
* UserControlControlBuilderCas.cs: New. CAS unit tests.
* ValidationPropertyAttributeCas.cs: New. CAS unit tests.
* ValidatorCollectionCas.cs: New. CAS unit tests.
svn path=/trunk/mcs/; revision=50228
Marek Safar [Mon, 19 Sep 2005 13:26:04 +0000 (13:26 -0000)]
update
svn path=/trunk/mcs/; revision=50227
Marek Safar [Mon, 19 Sep 2005 13:09:04 +0000 (13:09 -0000)]
new tests + fixes
svn path=/trunk/mcs/; revision=50226
Marek Safar [Mon, 19 Sep 2005 13:01:48 +0000 (13:01 -0000)]
2005-09-19 Marek Safar <marek.safar@seznam.cz>
* cs-parser.jay: interface_accessors replaced by
accessor_declarations.
* ecore.cs, literal.cs, statement.cs: NullLiteral holds null
location.
* statement.cs (GotoCase.Resolve): Convert null constant to
null case.
(SwitchLabel.ResolveAndReduce): Ditto.
(SwitchLabel.NullStringCase): Custom null stamp.
(Switch.SimpleSwitchEmit): Fix from NullLiteral to NullStringCase.
typemanager.cs (CSharpSignature): Don't skip first argument
for full names.
svn path=/trunk/mcs/; revision=50225
Hisham Mardam Bey [Mon, 19 Sep 2005 13:01:36 +0000 (13:01 -0000)]
* FileDialog.cs :
- Allow files to be selected properly using file name combo box.
- Add ability to change diretory (absolute / relative) using file name combo box.
svn path=/trunk/mcs/; revision=50224
Gonzalo Paniagua Javier [Mon, 19 Sep 2005 09:19:31 +0000 (09:19 -0000)]
2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpRuntime.cs: catch errors when compiling global.asax and
initializing the application. Fixes bug #76090.
svn path=/trunk/mcs/; revision=50221
Gonzalo Paniagua Javier [Mon, 19 Sep 2005 07:33:26 +0000 (07:33 -0000)]
2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TableStyle.cs: fixed typo that prevented restoring GridLines from
a saved viewstate.
* DataGrid.cs: the table does not get an auto ID. When restoring from
viewstate, use all the saved columns, not just that data bound ones. Set
the owner of the BoundColumns created. Save/restore columns.
OnItemCreated happens after the item is initialized and the data item is
set before the event and nullified after OnItemDataBound.
Add the render_table to the Controls immediately, otherwise we might get
errors from child controls such as "must be rendered inside a form".
Keep the items created in the list waiting for them.
The table uses the attributes from the DataGrid and ControlStyle.
Raise OnItemCommand on all bubble events and don't propagate bubble
event up in the hierarchy
* TableCell.cs: it does not get an automatic ID.
* BoundColumn.cs: FormatDataValue returns an empty string on null input
(there was already a test for this).
Fixes bug #76117.
svn path=/trunk/mcs/; revision=50218
Gonzalo Paniagua Javier [Mon, 19 Sep 2005 06:50:02 +0000 (06:50 -0000)]
2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DataGridTest.cs: fix expected/actual order. Added test for HeaderText
and empty ArrayList.
svn path=/trunk/mcs/; revision=50217
Gonzalo Paniagua Javier [Mon, 19 Sep 2005 05:36:33 +0000 (05:36 -0000)]
2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TableCellTest.cs: TableCell does not get an automatic ID.
svn path=/trunk/mcs/; revision=50216
Gonzalo Paniagua Javier [Mon, 19 Sep 2005 05:29:09 +0000 (05:29 -0000)]
2005-09-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* TableStyleTest.cs: added test to check that GridLines is correctly
restored in LoadViewState.
svn path=/trunk/mcs/; revision=50215
Sebastien Pouliot [Sun, 18 Sep 2005 23:59:13 +0000 (23:59 -0000)]
2005-09-18 Sebastien Pouliot <sebastien@ximian.com>
* SimpleWorkerRequestTest.cs: Ensure a trailing / in the expected path
as GetAppPathTranslated must have one (while most directory methods
don't append one).
svn path=/trunk/mcs/; revision=50211
Sebastien Pouliot [Sun, 18 Sep 2005 23:51:38 +0000 (23:51 -0000)]
2005-09-18 Sebastien Pouliot <sebastien@ximian.com>
* FormsIdentityTest.cs: Changed constructor used to create the ticket
to one that doesn't throw a NRE under MS runtime.
svn path=/trunk/mcs/; revision=50210
Miguel de Icaza [Sun, 18 Sep 2005 23:21:58 +0000 (23:21 -0000)]
2005-09-18 Miguel de Icaza <miguel@novell.com>
* Image.cs: introduce a workaround that catches errors on systems
that lack GDI+ as this is being triggered too easily when we
enumerate attributes on loaded classes.
svn path=/trunk/mcs/; revision=50208
Chris Toshok [Sun, 18 Sep 2005 22:48:27 +0000 (22:48 -0000)]
2005-09-18 Chris Toshok <toshok@ximian.com>
* HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
instead of AddAttribute when dealing with "onclick."
svn path=/trunk/mcs/; revision=50204
Miguel de Icaza [Sun, 18 Sep 2005 22:44:30 +0000 (22:44 -0000)]
Add new test for bug #76061
Fix bug #76061
Change field style
svn path=/trunk/mcs/; revision=50203
Miguel de Icaza [Sun, 18 Sep 2005 20:29:04 +0000 (20:29 -0000)]
Move from xbuild into mcs
svn path=/trunk/mcs/; revision=50201
Miguel de Icaza [Sun, 18 Sep 2005 20:28:38 +0000 (20:28 -0000)]
Move from xbuild into mcs
svn path=/trunk/mcs/; revision=50200
Miguel de Icaza [Sun, 18 Sep 2005 20:28:31 +0000 (20:28 -0000)]
Move from xbuild into mcs
svn path=/trunk/mcs/; revision=50199
Miguel de Icaza [Sun, 18 Sep 2005 20:28:17 +0000 (20:28 -0000)]
Move from xbuild into mcs
svn path=/trunk/mcs/; revision=50198
Miguel de Icaza [Sun, 18 Sep 2005 20:28:14 +0000 (20:28 -0000)]
Move from xbuild into mcs
svn path=/trunk/mcs/; revision=50197
Miguel de Icaza [Sun, 18 Sep 2005 20:28:10 +0000 (20:28 -0000)]
Move from xbuild into mcs
svn path=/trunk/mcs/; revision=50196
Miguel de Icaza [Sun, 18 Sep 2005 20:28:04 +0000 (20:28 -0000)]
Move from xbuild into mcs
svn path=/trunk/mcs/; revision=50195
Miguel de Icaza [Sun, 18 Sep 2005 20:22:07 +0000 (20:22 -0000)]
2005-09-18 Miguel de Icaza <miguel@novell.com>
* driver.cs: Set InEmacs based on the environment variable EMACS.
* location.cs (InEmacs): in this mode, do not report column
location as it confuses Emacs.
svn path=/trunk/mcs/; revision=50194
Atsushi Eno [Sun, 18 Sep 2005 05:36:02 +0000 (05:36 -0000)]
2005-09-18 Atsushi Enomoto <atsushi@ximian.com>
* CP50221.cs, GB18030Encoding.cs : because of silly design
Common/Manager expects fixed class names CPxxxxx. Fixed bug #76139.
* Handler.cs : Required changes wrt some class renames.
svn path=/trunk/mcs/; revision=50188
Gonzalo Paniagua Javier [Sat, 17 Sep 2005 23:09:52 +0000 (23:09 -0000)]
2005-09-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* DataGridColumnCollection.cs: track the view state in the newly added
items.
svn path=/trunk/mcs/; revision=50187
Zoltan Varga [Sat, 17 Sep 2005 20:58:32 +0000 (20:58 -0000)]
2005-09-17 Zoltan Varga <vargaz@freemail.hu>
* Module.cs: Remove obsolete Mvid property.
svn path=/trunk/mcs/; revision=50186
Kornél Pál [Sat, 17 Sep 2005 20:32:58 +0000 (20:32 -0000)]
Image.cs: Implemented FromHbitmap.
svn path=/trunk/mcs/; revision=50185
Zoltan Varga [Sat, 17 Sep 2005 15:04:03 +0000 (15:04 -0000)]
2005-09-17 Zoltan Varga <vargaz@freemail.hu>
* marshal.c (ves_icall_System_Runtime_InteropServices_Marshal_StringToHGlobalUni): Null
terminate the resulting string. Fixes #76123.
svn path=/trunk/mono/; revision=50182
Chris Toshok [Sat, 17 Sep 2005 00:35:17 +0000 (00:35 -0000)]
err
svn path=/trunk/mcs/; revision=50180
Zoltan Varga [Fri, 16 Sep 2005 21:12:44 +0000 (21:12 -0000)]
2005-09-16 Zoltan Varga <vargaz@gmail.com>
* mini-ia64.h: Make register masks 64 bit. Don't treat argument
registers as global registers.
svn path=/trunk/mono/; revision=50176
Jordi Mas i Hernandez [Fri, 16 Sep 2005 21:09:45 +0000 (21:09 -0000)]
2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
* ListBox.cs:
- Fixes Multicolumn listboxes item wrong calculations
- Allows to click when only one item is in the listbox
- Fixes crash when no items using keyboard navigation
svn path=/trunk/mcs/; revision=50175
Zoltan Varga [Fri, 16 Sep 2005 20:44:50 +0000 (20:44 -0000)]
2005-09-16 Zoltan Varga <vargaz@gmail.com>
* inssel-ia64.brg (stmt): Remove OP_OUTARG_REG () rules which are no
longer needed with the new register allocator.
* mini-ia64.c: Use OP_MOVE instead of OP_SETREG for reg-reg moves.
* cpu-ia64.md: Remove unused opcodes.
svn path=/trunk/mono/; revision=50174
Chris Toshok [Fri, 16 Sep 2005 20:37:27 +0000 (20:37 -0000)]
2005-09-16 Chris Toshok <toshok@ximian.com>
* Test/Microsoft.Web.UI/LabelTest.cs: new test.
* Test/Microsoft.Web.UI/ListViewTest.cs: new test.
* Test/Microsoft.Web.UI/TextBoxTest.cs: new test.
svn path=/trunk/mcs/; revision=50173
Zoltan Varga [Fri, 16 Sep 2005 19:22:07 +0000 (19:22 -0000)]
2005-09-16 Zoltan Varga <vargaz@freemail.hu>
* cpu-amd64.md: Remove unused opcodes.
* inssel-amd64.brg: Remove OP_OUTARG_REG () rules which are no longer
needed with the new register allocator.
* inssel-amd64.brg mini-amd64.c: Use OP_MOVE instead of OP_SETREG for
reg-reg moves.
svn path=/trunk/mono/; revision=50170
Alexander Olk [Fri, 16 Sep 2005 18:30:19 +0000 (18:30 -0000)]
2005-09-16 Alexander Olk <alex.olk@googlemail.com>
* ComboBox.cs: Reverted almost everything from the latest patch which
broke ComboBox
svn path=/trunk/mcs/; revision=50159
Marek Safar [Fri, 16 Sep 2005 16:57:08 +0000 (16:57 -0000)]
2005-09-16 Marek Safar <marek.safar@seznam.cz>
* compiler.csproj: Updated.
svn path=/trunk/mcs/; revision=50156
Marek Safar [Fri, 16 Sep 2005 16:55:19 +0000 (16:55 -0000)]
2005-09-16 Marek Safar <marek.safar@seznam.cz>
* cfold.cs, constant.cs, convert.cs, ecore.cs,
expression.cs, iterators.cs, literal.cs: Store constants and
literals location.
* class.cs (MemberBase.ShortName): Pass location.
* cs-parser.jay: Some location fixes.
* ecore.cs (Expression.Location): Made virtual.
svn path=/trunk/mcs/; revision=50155
Alexandre Rocha Lima e Marcondes [Fri, 16 Sep 2005 16:55:05 +0000 (16:55 -0000)]
2005-09-16 Renato Suga <renato@psl-pr.softwarelivre.org>
* mb-parser.jay:rules goto_statement and for_statement changed
in order to recognize error
BC30757
svn path=/trunk/mcs/; revision=50154
Senganal T [Fri, 16 Sep 2005 15:51:44 +0000 (15:51 -0000)]
2005-09-16 Senganal T <tsenganal@novell.com>
* System.Data.Connected.Tests.dll.sources: added more source files
* sql/sqlserver.sql: modified. added string_family, datetime_family,
modified numeric_family values.
created new database mono-test for checking -.
* Common/DataProvider.cs : Provides data for validation
DataProvider provides the data that is used for
validating Sq[DataReader. Currently it uses a dataset
to fill data from the database. Will be modified later to
get the values from a config file.
* System.Data.SqlClient/SqlCommandTest.cs: added more testcases
for connected mode
* System.Data.SqlClient/SqlConnectionTest.cs: added more testcases
for connected mode
* System.Data.SqlClient/SqlDataAdapterTest.cs: added more testcases
for connected mode
* System.Data.SqlClient/SqlDataReaderTest.cs: added more testcases
for connected mode
svn path=/trunk/mcs/; revision=50153
Martin Baulig [Fri, 16 Sep 2005 13:34:39 +0000 (13:34 -0000)]
2005-09-16 Martin Baulig <martin@ximian.com>
* mono-debug.c
(mono_debug_add_method): Ignore inflated methods for the moment.
svn path=/trunk/mono/; revision=50152