Sureshkumar T [Fri, 20 May 2005 10:38:30 +0000 (10:38 -0000)]
* fixed: trim connection string parameters, ignore empty params
* added a ChangeLog file under Mono.Data.SqliteClient
svn path=/trunk/mcs/; revision=44805
Peter Dennis Bartok [Fri, 20 May 2005 08:58:02 +0000 (08:58 -0000)]
2005-05-20 Peter Bartok <pbartok@novell.com>
* Cursors.cs: Added setting of cursor name
* Cursor.cs:
- Implemented constructors
- Implemented Draw and DrawStretched
- Implemented Current property
- Implemented == and != operators
- Implemented Dispose()
- Implemented ToString
- Added missing attributes
* XplatUIX11.cs:
- Added missing reset for OverrideCursor when DoEvents is called
- Fixed creation of cursor, logic was wrong
* XplatUIWin32.cs:
- Added missing reset for OverrideCursor when DoEvents is called
- Fixed creation of cursor, bit arrays were swapped
* Clipboard.cs: Removed obsolete MonoTODO attribute
svn path=/trunk/mcs/; revision=44801
Raja R Harinath [Fri, 20 May 2005 08:50:48 +0000 (08:50 -0000)]
More low-hanging fruit.
* parser.cs (Parser.Unescape): If the string doesn't contain any
'\' character, don't allocate a new string.
svn path=/trunk/mcs/; revision=44800
Raja R Harinath [Fri, 20 May 2005 08:08:59 +0000 (08:08 -0000)]
* Makefile (SUBDIRS): Add Test/standalone.
* Test/standalone/Makefile: Add.
svn path=/trunk/mcs/; revision=44799
Satya Sudha K [Fri, 20 May 2005 08:06:11 +0000 (08:06 -0000)]
Modifying the order of Named arguments
svn path=/trunk/mcs/; revision=44798
Jordi Mas i Hernandez [Fri, 20 May 2005 07:39:29 +0000 (07:39 -0000)]
* ComboBox.cs: fixes OnSelectedItemChanged
* ControlBindingsCollection.cs: fixes item range check
2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
svn path=/trunk/mcs/; revision=44797
Raja R Harinath [Fri, 20 May 2005 06:39:12 +0000 (06:39 -0000)]
Some low-hanging fruit.
* replace.cs (ReplacementEvalutator.Term.AppendResult): Renamed
from GetResult. Modified to append to a passed-in StringBuilder
rather than return a string.
(ReplacementEvaluator.Evaluate): Update.
svn path=/trunk/mcs/; revision=44795
Sureshkumar T [Fri, 20 May 2005 06:37:51 +0000 (06:37 -0000)]
* System.Data/DataTable.cs: CreateRecord :value should be set to auto
increment value or default value if the given value is null.
* Test/System.Data/DataRowCollectionTest.cs: Added a test to check Rows.Add (values
[]) with null in the collection.
svn path=/trunk/mcs/; revision=44794
Raja R Harinath [Fri, 20 May 2005 05:44:45 +0000 (05:44 -0000)]
In System.Text.RegularExpressions:
* Capture.cs, Group.cs, Match.cs: New files split out of ...
* match.cs: ... this. Remove.
In .:
* System.dll.sources: Update to reflect split-up of
System.Text.RegularExpressions/match.cs.
svn path=/trunk/mcs/; revision=44793
Raja R Harinath [Fri, 20 May 2005 05:39:43 +0000 (05:39 -0000)]
2005-05-20 Raja R Harinath <rharinath@novell.com>
* Makefile (centum_tests): Add System.Web and move corlib from ...
(default_centum_tests): ... here.
svn path=/trunk/mcs/; revision=44792
Umadevi S [Fri, 20 May 2005 05:37:42 +0000 (05:37 -0000)]
Fixed Bug 74948 - SqlParameter also takes DBNull Value.
Correct some attributes stuff of 1.1 and 2.0 for SqlParameter.cs
svn path=/trunk/mcs/; revision=44791
César Natarén [Fri, 20 May 2005 04:28:35 +0000 (04:28 -0000)]
2005-05-19 Cesar Lopez Nataren <cnataren@novell.com>
* Parser.cs: Throw NotImplementedException for function
declarations that appear inside other statements
(FunctionType.ExpressionStatement declarations). Fix the
NullReferenceException from #74970. But now exposes #75002.
svn path=/trunk/mcs/; revision=44789
Umadevi S [Fri, 20 May 2005 03:42:25 +0000 (03:42 -0000)]
System.Data.dll.sources: Added DbProviderSpecificTypePropertyAttribute.cs
svn path=/trunk/mcs/; revision=44788
Umadevi S [Fri, 20 May 2005 03:40:35 +0000 (03:40 -0000)]
Added file DbProviderSpecificTypePropertyAttribute.cs
svn path=/trunk/mcs/; revision=44787
Umadevi S [Fri, 20 May 2005 02:45:07 +0000 (02:45 -0000)]
* System.Data.dll.sources :Added SqlNotificationEventArgs.cs,OnChangeEventHandler.cs
svn path=/trunk/mcs/; revision=44786
Umadevi S [Fri, 20 May 2005 02:41:41 +0000 (02:41 -0000)]
Continuing on implementation for bulkcopy and notification
Added files SqlNotificationEventArgs.cs, OnChangeEventHandler.cs
Modified SqlRowUpdatingEventArgs.cs
svn path=/trunk/mcs/; revision=44785
Martin Baulig [Fri, 20 May 2005 00:02:44 +0000 (00:02 -0000)]
Updated.
svn path=/trunk/mcs/; revision=44779
Ben Maurer [Fri, 20 May 2005 00:02:05 +0000 (00:02 -0000)]
In System:
2005-05-19 Ben Maurer <bmaurer@ximian.com>
* Delegate.cs (Equals): Use `as' to protect in the case where !
(obj is Delegate)
In Test/System:
2005-05-19 Ben Maurer <bmaurer@ximian.com>
* MulticastDelegate.cs: Test for equals where !(obj is Delegate)
svn path=/trunk/mcs/; revision=44778
César Natarén [Thu, 19 May 2005 23:47:58 +0000 (23:47 -0000)]
svn propset svn:eol-style native ChangeLog
svn path=/trunk/mcs/; revision=44777
César Natarén [Thu, 19 May 2005 23:43:59 +0000 (23:43 -0000)]
svn propset svn:eol-style native ChangeLog
svn path=/trunk/mcs/; revision=44776
Martin Baulig [Thu, 19 May 2005 23:29:46 +0000 (23:29 -0000)]
Updated.
svn path=/trunk/mcs/; revision=44775
Martin Baulig [Thu, 19 May 2005 23:29:32 +0000 (23:29 -0000)]
2005-05-20 Martin Baulig <martin@ximian.com>
* cs-parser.jay: Fix CS0080 check; add CS0231 and CS0257 from MCS.
svn path=/trunk/mcs/; revision=44774
Martin Baulig [Thu, 19 May 2005 23:07:12 +0000 (23:07 -0000)]
Ooops, this doesn't work.
svn path=/trunk/mcs/; revision=44773
Jordi Mas i Hernandez [Thu, 19 May 2005 22:42:30 +0000 (22:42 -0000)]
2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
* UpDownBase.cs:
- Calc preferred height properly
- Implement missing properties
* NumericUpDown.cs: Implement missing events
svn path=/trunk/mcs/; revision=44772
Martin Baulig [Thu, 19 May 2005 22:14:53 +0000 (22:14 -0000)]
2005-05-20 Martin Baulig <martin@ximian.com>
* class.cs (TypeContainer.DefineType): Fix CS0698 check.
* typemanager.cs (TypeManager.IsAttributeType): New public method.
svn path=/trunk/mcs/; revision=44771
Martin Baulig [Thu, 19 May 2005 21:54:11 +0000 (21:54 -0000)]
Updated.
svn path=/trunk/mcs/; revision=44770
Martin Baulig [Thu, 19 May 2005 21:53:58 +0000 (21:53 -0000)]
2005-05-20 Martin Baulig <martin@ximian.com>
* class.cs (TypeContainer.CheckRecursiveDefinition): Removed.
(TypeContainer.DefineType): Set `InTransit = true' at the
beginning of the method.
svn path=/trunk/mcs/; revision=44769
Martin Baulig [Thu, 19 May 2005 21:34:42 +0000 (21:34 -0000)]
2005-05-20 Martin Baulig <martin@ximian.com>
* mcs-known-issues, gmcs-known-issues: Updated.
* *-expect-*, *-ignore-*: Removed; we don't need them anymore with
the new test runner.
svn path=/trunk/mcs/; revision=44767
Martin Baulig [Thu, 19 May 2005 21:25:22 +0000 (21:25 -0000)]
2005-05-20 Martin Baulig <martin@ximian.com>
* test-336.cs: Replaced with a working test.
svn path=/trunk/mcs/; revision=44766
Martin Baulig [Thu, 19 May 2005 21:24:53 +0000 (21:24 -0000)]
2005-05-19 Martin Baulig <martin@ximian.com>
* delegate.cs
(ImplicitDelegateCreation.Check): Added `bool check_only' argument
to disable error reporting.
* convert.cs (Convert.ImplicitStandardConversionExists): Use it
here since we don't want to report an error; see the new test-336.cs.
svn path=/trunk/mcs/; revision=44765
Martin Baulig [Thu, 19 May 2005 21:23:38 +0000 (21:23 -0000)]
2005-05-19 Martin Baulig <martin@ximian.com>
* delegate.cs
(ImplicitDelegateCreation.Check): Added `bool check_only' argument
to disable error reporting.
* convert.cs (Convert.ImplicitStandardConversionExists): Use it
here since we don't want to report an error; see the new test-336.cs.
svn path=/trunk/mcs/; revision=44764
Jackson Harper [Thu, 19 May 2005 21:06:53 +0000 (21:06 -0000)]
* TabControl.cs: New method that resizes the tab pages before
redrawing them. This as needed as the control is double buffered
and sizing will not be recalculated unless ResizeTabPages is
called.
* TabPage.cs: Set base.Text instead of Text in the constructor so
that UpdateOwner does not get called. Use the new Redraw method of
TabControl instead of Refresh so the sizing is recalculated.
svn path=/trunk/mcs/; revision=44763
Martin Baulig [Thu, 19 May 2005 20:34:35 +0000 (20:34 -0000)]
Updated.
svn path=/trunk/mcs/; revision=44762
Martin Baulig [Thu, 19 May 2005 20:33:23 +0000 (20:33 -0000)]
**** Merged r43214 from MCS ****
svn path=/trunk/mcs/; revision=44761
Jackson Harper [Thu, 19 May 2005 20:22:57 +0000 (20:22 -0000)]
* ThemeWin32Classic.cs: Draw the text for button tabs.
svn path=/trunk/mcs/; revision=44759
Jackson Harper [Thu, 19 May 2005 19:59:42 +0000 (19:59 -0000)]
* Control.cs: Paint control background images.
svn path=/trunk/mcs/; revision=44758
Jackson Harper [Thu, 19 May 2005 19:51:46 +0000 (19:51 -0000)]
* Control.cs: Paint control background images. Fix typo where
PaintControlBackground was not getting called correctly.
svn path=/trunk/mcs/; revision=44757
Peter Dennis Bartok [Thu, 19 May 2005 18:46:35 +0000 (18:46 -0000)]
2005-05-19 Peter Bartok <pbartok@novell.com>
* ScrollableControl.cs (DisplayRectangle): Undid my last change until
I can investigate, apparently I broke FileDialog
svn path=/trunk/mcs/; revision=44756
Sebastien Pouliot [Thu, 19 May 2005 15:11:29 +0000 (15:11 -0000)]
Added new CAS unit tests to the build _and_ do not report Obsolete warnings when compiling unit tests.
svn path=/trunk/mcs/; revision=44755
Sebastien Pouliot [Thu, 19 May 2005 15:08:29 +0000 (15:08 -0000)]
2005-05-19 Sebastien Pouliot <sebastien@ximian.com>
* DnsCas.cs: New. CAS unit tests for Dns.
* DnsTest.cs: Fixed the wrong End* method being used in AsyncResolve.
* FileWebRequestCas.cs: New. CAS unit tests for FileWebRequest.
* HttpWebRequestCas.cs: New. CAS unit tests for HttpWebRequest.
* WebRequestTest.cs: Added tests to validate exceptions.
svn path=/trunk/mcs/; revision=44754
Sebastien Pouliot [Thu, 19 May 2005 15:03:14 +0000 (15:03 -0000)]
2005-05-19 Sebastien Pouliot <sebastien@ximian.com>
* WebRequest.cs: Throw NotImplementedException (not NotSupported
Exception) for stuff that should have been abstract. No exception
is thrown by the serialization constructor.
svn path=/trunk/mcs/; revision=44753
Sebastien Pouliot [Thu, 19 May 2005 14:30:23 +0000 (14:30 -0000)]
2005-05-19 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConfig.cs: Don't use the global hashtables until the
initialization is complete.
svn path=/trunk/mcs/; revision=44752
Geoff Norton [Thu, 19 May 2005 14:27:37 +0000 (14:27 -0000)]
2005-05-19 Geoff Norton <gnorton@customerdna.com>
* List.cs (Insert): Resize the array before the shift if needed
svn path=/trunk/mcs/; revision=44751
Zoltan Varga [Thu, 19 May 2005 13:24:22 +0000 (13:24 -0000)]
2005-05-19 Zoltan Varga <vargaz@freemail.hu>
* configure.in: Handle i386-*-linux* as well. Fixes #74960.
svn path=/trunk/mono/; revision=44750
Sebastien Pouliot [Thu, 19 May 2005 13:00:59 +0000 (13:00 -0000)]
Don't warn about obsolete member in mscorlib.dll
svn path=/trunk/mcs/; revision=44749
Andrew Skiba [Thu, 19 May 2005 11:09:26 +0000 (11:09 -0000)]
* ignore.lst : ignore 2 performance tests, as we don't time them
anyway
* Makefile : store dom results in separate place, remove mainsoft
testssuite, handle reference results better
* xslttest.cs : improve reporting, improve path handling, store
results in different place
svn path=/trunk/mcs/; revision=44747
Raja R Harinath [Thu, 19 May 2005 10:04:20 +0000 (10:04 -0000)]
* statement.cs (ToplevelBlock.GetParameterReference)
(ToplevelBlock.IsParameterReference,ToplevelBlock.IsLocalParameter):
Move here from class Block.
* ecore.cs (SimpleName.SimpleNameResolve): Update to changes.
* expression.cs (ParameterReference.DoResolveBase): Likewise.
svn path=/trunk/mcs/; revision=44746
Raja R Harinath [Thu, 19 May 2005 10:03:06 +0000 (10:03 -0000)]
update
svn path=/trunk/mcs/; revision=44745
Raja R Harinath [Thu, 19 May 2005 09:40:10 +0000 (09:40 -0000)]
* ListTest.cs (TestGetRange): Add missing ';'. Actually compare
the length of the list.
svn path=/trunk/mcs/; revision=44743
Raja R Harinath [Thu, 19 May 2005 09:07:24 +0000 (09:07 -0000)]
* Console.cs (Readline) [NET_2_0]: Avoid "uninitialized variable" error.
svn path=/trunk/mcs/; revision=44742
Umadevi S [Thu, 19 May 2005 08:43:02 +0000 (08:43 -0000)]
added net 2.0 files to System.Data.dll_sources
svn path=/trunk/mcs/; revision=44741
Umadevi S [Thu, 19 May 2005 08:40:20 +0000 (08:40 -0000)]
* For implementation of bulkcopy and notifications added files
SqlBulkCopyOptions.cs,SqlBulkCopyColumnMapping.cs,SqlNotificationAuthType.cs
SqlNotificationTransports.cs,SqlRowsCopiedEventArgs.cs, SqlRowsCopiedEventHandler.cs
svn path=/trunk/mcs/; revision=44740
Marek Safar [Thu, 19 May 2005 08:21:15 +0000 (08:21 -0000)]
2005-05-19 Marek Safar <marek.safar@seznam.cz>
* AxHost.cs: Some simple properties.
* Control.cs: window must be accessible after ctor.
* Form.cs: Added TransparencyKey property.
* TextBoxBase.cs: Implemented Clear. Text property can be null.
* XplatUIWin32.cs: SetBorderStyle implemented.
svn path=/trunk/mcs/; revision=44739
Umadevi S [Thu, 19 May 2005 08:18:39 +0000 (08:18 -0000)]
Corrected types,enum values of SqlNotificationType,SqlNotificationSource,
SqlNotificationInfo and added new method in SqlRowUpdatingEventArgs.cs
(For implementation of bulkcopy/notifications)
svn path=/trunk/mcs/; revision=44738
Raja R Harinath [Thu, 19 May 2005 06:58:57 +0000 (06:58 -0000)]
svn:eol-style=native
svn path=/trunk/mcs/; revision=44737
Raja R Harinath [Thu, 19 May 2005 06:49:40 +0000 (06:49 -0000)]
svn:eol-style=native
svn path=/trunk/mcs/; revision=44736
Raja R Harinath [Thu, 19 May 2005 06:47:26 +0000 (06:47 -0000)]
svn:eol-style=native
svn path=/trunk/mcs/; revision=44735
Raja R Harinath [Thu, 19 May 2005 06:45:12 +0000 (06:45 -0000)]
svn:eol-style=ignore
svn path=/trunk/mcs/; revision=44734
Raja R Harinath [Thu, 19 May 2005 06:43:21 +0000 (06:43 -0000)]
svn:eol-style=native
svn path=/trunk/mcs/; revision=44733
Umadevi S [Thu, 19 May 2005 06:33:31 +0000 (06:33 -0000)]
.net2.0 property of RowUpdatingEventArgs.cs implemented
svn path=/trunk/mcs/; revision=44732
Miguel de Icaza [Thu, 19 May 2005 05:55:52 +0000 (05:55 -0000)]
2005-05-19 Miguel de Icaza <miguel@novell.com>
* TermInfoDriver.cs: Removed warning.
* Array.cs (Resize<T>, TrueForAll<T>, ConvertAll<TInput,TOutput>,
FindLastIndex<T>: Parameter names are normative.
Fix coding style ("Method<T>" not "Method <T>")
Throw argument exceptions per argument.
(FindAll): Fix bug, actually return the values that were computed,
not a short version of the original array.
2005-05-19 Miguel de Icaza <miguel@novell.com>
* Thread.cs: REmove warnings.
svn path=/trunk/mcs/; revision=44731
Raja R Harinath [Thu, 19 May 2005 05:17:39 +0000 (05:17 -0000)]
2005-05-19 Satya Sudha K <ksathyasudha@novell.com>
Raja R Harinath <rharinath@novell.com>
* Missing.cs (Missing.Value): Initialize.
svn path=/trunk/mcs/; revision=44730
Raja R Harinath [Thu, 19 May 2005 05:08:42 +0000 (05:08 -0000)]
Fix spurious ^M in Microsoft.JScript.dll.sources -- make dist failed due to that
svn propset eol-style:native **/*.dll.sources
svn path=/trunk/mcs/; revision=44729
Gonzalo Paniagua Javier [Thu, 19 May 2005 04:59:48 +0000 (04:59 -0000)]
2005-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Console.cs: fix error in the 2_0 side and split ReadLine in 2, one
for each framework version.
svn path=/trunk/mcs/; revision=44728
Atsushi Eno [Thu, 19 May 2005 03:16:47 +0000 (03:16 -0000)]
2005-05-19 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs, CultureInfoEntry.cs : Use hacky shallow copy to clone
zh-CHS into zh-CHT.
* culture-info-table.h : updated (real hacky solution for zh-CHT).
svn path=/trunk/mono/; revision=44727
James Willcox [Wed, 18 May 2005 23:49:01 +0000 (23:49 -0000)]
2005-05-04 James Willcox <james@ximian.com>
* DigestClient.cs: convert to a hex string with "X8" consistently
for nc-value
svn path=/trunk/mcs/; revision=44724
Zoltan Varga [Wed, 18 May 2005 23:04:02 +0000 (23:04 -0000)]
2005-05-19 Zoltan Varga <vargaz@freemail.hu>
* *-ia64*: Ongoing IA64 work.
svn path=/trunk/mono/; revision=44723
Zoltan Varga [Wed, 18 May 2005 23:02:39 +0000 (23:02 -0000)]
2005-05-19 Zoltan Varga <vargaz@freemail.hu>
* ia64/ia64-codegen.h ia64/codegen.c: Ongoing ia64 work.
svn path=/trunk/mono/; revision=44722
Miguel de Icaza [Wed, 18 May 2005 22:26:18 +0000 (22:26 -0000)]
2005-05-18 Miguel de Icaza <miguel@novell.com>
* driver.c (mono_main): Avoid crash if no argument is passed to
--break; Do not use g_error, but f_printf. And fix all other
ocurrences of the same crash.
svn path=/trunk/mono/; revision=44721
Miguel de Icaza [Wed, 18 May 2005 20:36:49 +0000 (20:36 -0000)]
2005-05-18 Miguel de Icaza <miguel@novell.com>
* List.cs (GetRange): Implement.
svn path=/trunk/mcs/; revision=44718
Sebastien Pouliot [Wed, 18 May 2005 19:46:28 +0000 (19:46 -0000)]
2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
* DeflateStreamCas.cs: New. CAS unit tests to test stack propagation
for BeginRead and BeginWrite.
* DeflateStreamTest.cs: Added tests for constructor. Fixed tests to
execute without error with 2.0 beta2. Removed "NotWorking" for some
(fixed) tests.
* GZipStreamCas.cs: New. CAS unit tests to test stack propagation
for BeginRead and BeginWrite.
* GzipStreamTest.cs: Renamed class to GZipStream. : Added tests for
constructor. Fixed tests to execute without error with 2.0 beta2.
Removed "NotWorking" for some (fixed) tests.
svn path=/trunk/mcs/; revision=44715
Sebastien Pouliot [Wed, 18 May 2005 19:40:02 +0000 (19:40 -0000)]
2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
* DeflateStream.cs: Fixed some changed/missing exceptions.
* GzipStream.cs: Renamed to GZipStream (from beta2).
svn path=/trunk/mcs/; revision=44714
Peter Dennis Bartok [Wed, 18 May 2005 19:28:00 +0000 (19:28 -0000)]
2005-05-18 Peter Bartok <pbartok@novell.com>
* System.Windows.Forms.dll.sources: Added Clipboard.cs
* SWF.csproj: Update
svn path=/trunk/mcs/; revision=44712
Peter Dennis Bartok [Wed, 18 May 2005 19:26:36 +0000 (19:26 -0000)]
* XplatUI.cs: Updated to final clipboard interface
svn path=/trunk/mcs/; revision=44711
Peter Dennis Bartok [Wed, 18 May 2005 19:25:49 +0000 (19:25 -0000)]
2005-05-18 Peter Bartok <pbartok@novell.com>
* DataObject.cs: Entries are not global but particular to the
DataObject, now it behaves that way
* XplatUIWin32.cs: Implemented Clipboard methods
* Clipboard.cs: Implemented
* ScrollableControl.cs (DisplayRectangle): Fixed calculation
* XplatUIOSX.cs: Updated to final clipboard prototypes
* XplatUIX11.cs: Implemented Clipboard methods
* XplatUIDriver.cs: Updated to final clipboard prototypes
* XplatUIStructs.cs:
- Added BITMAPINFOHEADER struct
- Added ClipboardFormats enum
* X11Structs.cs:
- Added ClipboardStruct
- Added Atom enum items for clipboard types
- Fixed atom types for Selection event structures
* DataFormats.cs:
- Added internal properties and methods for drivers to enumerate
all known formats
- Switched initialization method to allow drivers to assign their
own IDs even for the MS predefined clipboard IDs
svn path=/trunk/mcs/; revision=44710
Sebastien Pouliot [Wed, 18 May 2005 19:17:56 +0000 (19:17 -0000)]
2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
* HostProtectionAttributeTest.cs: Added tests to check for individual
removal of flags.
* SecurityPermissionAttributeTest.cs: Added tests to check for
individual removal of flags.
svn path=/trunk/mcs/; revision=44709
Sebastien Pouliot [Wed, 18 May 2005 19:16:05 +0000 (19:16 -0000)]
2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
* HostProtectionAttribute.cs: Fixes flag cleaning logical
operation (found by Jordi).
* SecurityPermissionAttribute.cs: Fixes flag cleaning logical
operation (this is the original sinner ;-).
svn path=/trunk/mcs/; revision=44708
Zoltan Varga [Wed, 18 May 2005 18:56:44 +0000 (18:56 -0000)]
2005-05-18 Zoltan Varga <vargaz@freemail.hu>
* mono-codeman.c: Align code on a 16 byte boundary on ia64.
svn path=/trunk/mono/; revision=44706
Zoltan Varga [Wed, 18 May 2005 18:55:54 +0000 (18:55 -0000)]
2005-05-18 Zoltan Varga <vargaz@freemail.hu>
* ia64/ia64-codegen.h (ia64_codegen_init): Rename macro parameter.
svn path=/trunk/mono/; revision=44705
Atsushi Eno [Wed, 18 May 2005 18:19:25 +0000 (18:19 -0000)]
2005-05-18 Atsushi Enomoto <atsushi@ximian.com>
* culture-info-table.h : zh-CHT related workaround.
svn path=/trunk/mono/; revision=44704
Atsushi Eno [Wed, 18 May 2005 18:17:42 +0000 (18:17 -0000)]
2005-05-18 Atsushi Enomoto <atsushi@ximian.com>
* Driver.cs : quick workaround for zh-CHT related breakage.
svn path=/trunk/mono/; revision=44703
Jonathan Pryor [Wed, 18 May 2005 18:04:49 +0000 (18:04 -0000)]
* map-icalls.h: Added; auto-generated file which contains Mono_Posix_*
declarations for DllImport functions in Mono.Posix.dll. This ensure
consistency between Mono.Posix.dll and MonoPosixHelper.so.
* mph.h: Add include for map-icalls.h, to ensure that all MonoPosixHelper
exports have correct prototypes.
* dirent.c, grp.c, macros.c, pwd.c, signal.c, stdio.c, sys-stat.c,
sys-time.c, utime.c: Correct prototypes to match map-icalls.h. Alas, this
"loses" information -- FILE* becomes void*, etc. -- but no semantics or
ABI should be changed (except for Mono_Posix_Syscall_utime). Some
structure names also changed to match the generated names; since the
structures are private, this shouldn't break anything.
* errno.c: Remove Mono_Posix_Syscall_SetLastError so we don't get a warning
about a missing prototype. This was never in a stable release.
* old-map.c: Include mph.h for prototype checking.
* unistd.c: SeekFlags conversion is now done in managed code so that a short
isn't passed as a parameter; Correct prototypes to match map-icalls.h.
* sys-xattr.c: fix lsetxattr/fsetxattr confusion; Correct prototypes to
match map-icalls.h.
* sys-sendfile.c: Move mph.h include so that HAVE_SYS_SENDFILE_H is used.
* sys-wait.c: Include mph.h so that prototypes are checked.
svn path=/trunk/mono/; revision=44702
Jonathan Pryor [Wed, 18 May 2005 17:51:27 +0000 (17:51 -0000)]
* Stdlib.cs: Correct Mono_Posix_Stdlib_InvokeSignalHandler export.
svn path=/trunk/mcs/; revision=44701
Miguel de Icaza [Wed, 18 May 2005 17:39:47 +0000 (17:39 -0000)]
Fix test
svn path=/trunk/mcs/; revision=44699
Jonathan Pryor [Wed, 18 May 2005 17:36:26 +0000 (17:36 -0000)]
* make-map.cs: Process the Mono.Posix namespace as well as Mono.Unix; add
mapping for Boolean => int for native type conversion.
svn path=/trunk/mcs/; revision=44698
Miguel de Icaza [Wed, 18 May 2005 17:35:38 +0000 (17:35 -0000)]
Added List tests
svn path=/trunk/mcs/; revision=44697
Miguel de Icaza [Wed, 18 May 2005 17:35:26 +0000 (17:35 -0000)]
Added List tests
svn path=/trunk/mcs/; revision=44696
Rafael Teixeira [Wed, 18 May 2005 17:31:21 +0000 (17:31 -0000)]
2005-05-18 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* Mono.GetOptions/Options.cs: Reverting ABI change on RemainingArguments (will break packaged MonoDevelop 0.7)
svn path=/trunk/mcs/; revision=44695
Miguel de Icaza [Wed, 18 May 2005 17:29:18 +0000 (17:29 -0000)]
2005-05-18 Miguel de Icaza <miguel@novell.com>
* List.cs: Do not do lazy loading of data. Not worth adding an
extra check, and not worth the bugs.
This decision wont be discussed until: a) a full List regression
test suite exists and b) performance benchmarks are created. (b)
depends on (a) or the argument wont even be heard.
svn path=/trunk/mcs/; revision=44694
Jonathan Pryor [Wed, 18 May 2005 17:25:25 +0000 (17:25 -0000)]
* make-map.cs: Add a MphPrototypeFileGenerator, which looks for DllImport
methods across all types and generates a C header file declaration for
those methods. This allows us to ensure consistency between
Mono.Posix.dll and MonoPosixHelper.so. Rename WrapperFileGenerator to
ConvertFileGenerator (it generates UnixConvert).
* MapAttribute.cs, IncludeAttribute.cs: Make these internal -- there's no
reason for external users to even know these exist.
* StdioFileStream.cs: Move GC.SuppressFinalize call to be last Dispose()
call. This follows current design guidelines, and allows an exception to
be thrown from Dispose() without un-registering the finalizer.
* Syscall.cs: Change method declarations to match MonoPosixHelper, etc.
- posix_fallocate(P) takes a size_t
- mis-spelled settimeofday(2), sethostname(2)
- exec(2) can be public; it's safe to call
- change lseek(2) so int's are passed to MonoPosixHelper.so, not shorts
- We can't allow two incompatible prototypes to exist (since C allows
only one prototype, and we're cross-checking prototypes now). Change
utime(2) so only one prototype is needed.
* UnixMarshal.cs: ErrorMarshal.ErrorTranslator and ErrorMarshal.Translate
shouldn't be public; make them internal.
* UnixStream.cs: Remove `unsafe` code block when a "safe" alternative works;
Close() should also call GC.SuppressFinalize.
svn path=/trunk/mcs/; revision=44693
Lluis Sanchez [Wed, 18 May 2005 16:27:47 +0000 (16:27 -0000)]
2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
* TreeView.cs: Always render the startup script. This fixes
bug #74949.
svn path=/trunk/mcs/; revision=44690
Lluis Sanchez [Wed, 18 May 2005 16:14:57 +0000 (16:14 -0000)]
2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
* BinaryServerFormatterSink.cs: Properly handle exceptions raised
during serialization. Fixes bug #74950.
svn path=/trunk/mcs/; revision=44689
Konstantin Triger [Wed, 18 May 2005 15:57:42 +0000 (15:57 -0000)]
init schema values with defaults if missing
svn path=/trunk/mcs/; revision=44688
Lluis Sanchez [Wed, 18 May 2005 15:55:59 +0000 (15:55 -0000)]
2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
* HttpServerChannel.cs: Catch exceptions thrown in the server thread.
In StopListening, wait for the server thread to stop before returning.
svn path=/trunk/mcs/; revision=44687
Lluis Sanchez [Wed, 18 May 2005 15:45:28 +0000 (15:45 -0000)]
2005-05-18 Lluis Sanchez Gual <lluis@novell.com>
* TcpServerChannel.cs: In StopListening, wait for the server thread
to stop before returning. This fixes bug #74962.
svn path=/trunk/mcs/; revision=44686
Sebastien Pouliot [Wed, 18 May 2005 14:44:37 +0000 (14:44 -0000)]
corlib_test.dll.sources: Added new CAS tests for System.IO.Stream.
svn path=/trunk/mcs/; revision=44685
Sebastien Pouliot [Wed, 18 May 2005 14:42:59 +0000 (14:42 -0000)]
2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
* IsolatedStorageFileStreamCas.cs: Added tests to test stack
propagation for BeginRead and BeginWrite.
svn path=/trunk/mcs/; revision=44684
Sebastien Pouliot [Wed, 18 May 2005 14:41:45 +0000 (14:41 -0000)]
2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
* StreamCas.cs: New. CAS unit tests to test stack propagation for
BeginRead and BeginWrite.
* FileStreamCas.cs: Added tests to test stack propagation for
BeginRead and BeginWrite.
svn path=/trunk/mcs/; revision=44683
Sebastien Pouliot [Wed, 18 May 2005 14:07:55 +0000 (14:07 -0000)]
2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
* CryptoConfig.cs: Changed lock pattern to second version of
http://www.skeet.org.uk/csharp/singleton.html
svn path=/trunk/mcs/; revision=44682
Martin Baulig [Wed, 18 May 2005 14:05:23 +0000 (14:05 -0000)]
2005-05-18 Martin Baulig <martin@ximian.com>
* Makefile: Updated after the last merging.
svn path=/trunk/mcs/; revision=44681