Raja R Harinath [Fri, 16 Apr 2004 11:11:29 +0000 (11:11 -0000)]
Test for #56300.
svn path=/trunk/mcs/; revision=25599
Raja R Harinath [Fri, 16 Apr 2004 11:11:08 +0000 (11:11 -0000)]
(TypeContainer.AddIndexer): Use
'ExplicitInterfaceName' to determine if interface name was
explicitly specified. 'InterfaceType' is not initialized at this time.
(TypeContainer.DefineIndexers): Remove use of temporary list. The
Indexers array is already in the required order. Initialize
'IndexerName' only if there are normal indexers.
(TypeContainer.DoDefineMembers): Don't initialize IndexerName.
(TypeContainer.Emit): Emit DefaultMember attribute only if
IndexerName is initialized.
Fixes #56300.
svn path=/trunk/mcs/; revision=25598
Gonzalo Paniagua Javier [Fri, 16 Apr 2004 10:53:06 +0000 (10:53 -0000)]
2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* FileStream.cs: only pass the async flag set to true when opening the
file and AIO is supported by the underlying system. Fixes bug #56883.
svn path=/trunk/mcs/; revision=25597
Lluis Sanchez [Fri, 16 Apr 2004 10:17:25 +0000 (10:17 -0000)]
* TcpClientChannel.cs: Initialize the sink provider in the default
constructor.
svn path=/trunk/mcs/; revision=25596
Ravindra [Fri, 16 Apr 2004 10:06:57 +0000 (10:06 -0000)]
Minor fixes to Pen.cs, Pens.cs, Solidbrush.cs and coding style/cosmetic changes to Brushes.cs SystemBrushes.cs SystemPens.cs.
svn path=/trunk/mcs/; revision=25595
Zoltan Varga [Fri, 16 Apr 2004 09:51:42 +0000 (09:51 -0000)]
2004-04-16 Zoltan Varga <vargaz@freemail.hu>
* exceptions.cs: Add regression test for bug #56782.
svn path=/trunk/mono/; revision=25594
Anirban Bhattacharjee [Fri, 16 Apr 2004 09:51:25 +0000 (09:51 -0000)]
few module related test cases
svn path=/trunk/mcs/; revision=25593
Zoltan Varga [Fri, 16 Apr 2004 09:51:05 +0000 (09:51 -0000)]
2004-04-16 Zoltan Varga <vargaz@freemail.hu>
* exceptions-*.c (mono_arch_handle_exception): Do not overwrite the
original stack trace if an exception is rethrown. Fixes #56782. Oh,
the beauty of fixing the same thing in 5 different files...
svn path=/trunk/mono/; revision=25592
Gonzalo Paniagua Javier [Fri, 16 Apr 2004 09:47:57 +0000 (09:47 -0000)]
2004-04-16 David Sheldon <dave-mono@earth.li>
* DecimalFormatter.cs: Don't append a decimal point after the
end of a number. ((decimal)1).ToString("P0") should be "100 %", not
"100. %"
svn path=/trunk/mcs/; revision=25591
Anirban Bhattacharjee [Fri, 16 Apr 2004 09:32:00 +0000 (09:32 -0000)]
* mb-parser.jay: few clean-ups
svn path=/trunk/mcs/; revision=25590
Anirban Bhattacharjee [Fri, 16 Apr 2004 08:57:19 +0000 (08:57 -0000)]
* class.cs: Duplicate entry point exception number changed
Checked delaration of Types, fields, methods as Protected if they are member of Module type
* const.cs: Checked delaration of constructor as Protected if it is member of Module type
* driver.cs: exception number is changed for "Entry point does not exist" exception
svn path=/trunk/mcs/; revision=25589
Ravindra [Fri, 16 Apr 2004 06:03:36 +0000 (06:03 -0000)]
Adding TestSystemPens.cs to the test sources list.
svn path=/trunk/mcs/; revision=25588
Ravindra [Fri, 16 Apr 2004 06:01:13 +0000 (06:01 -0000)]
Added tests for SystemPens.cs.
svn path=/trunk/mcs/; revision=25587
Gonzalo Paniagua Javier [Fri, 16 Apr 2004 05:25:28 +0000 (05:25 -0000)]
2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HttpUtility.cs: return null in HtmlDecode for null input instead of
throwing an exception. Patch by Jan Jaros (bug #57083).
svn path=/trunk/mcs/; revision=25586
Gonzalo Paniagua Javier [Fri, 16 Apr 2004 04:51:44 +0000 (04:51 -0000)]
2004-04-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Cache.cs: fix from Jan Jaros for NullRef (bug #56996).
svn path=/trunk/mcs/; revision=25583
Miguel de Icaza [Fri, 16 Apr 2004 03:05:41 +0000 (03:05 -0000)]
Flush
svn path=/trunk/mono/; revision=25579
Jean-Marc Andre [Thu, 15 Apr 2004 21:48:37 +0000 (21:48 -0000)]
2004-04-15 Jean-Marc Andre <jeanmarc.andre@cpe.fr>
* SoapFormatter.cs, SoapWriter.cs, SoapReader.cs, SoapTypeMapper.cs:
Some parts of the code have been rewritten to make it easier
to understand and maintain.
AssemblyFormat and TypeFormat are implemented.
* ISoapParser.cs, ISoapReader.cs, ISoapWriter.cs, SoapCommon.cs,
ObjectReader.cs, ObjectWriter.cs, SoapParser.cs, SoapTypeMapping.cs:
Removed for the same reasons as above.
* SerializationTest.cs:
New unit test.
svn path=/trunk/mcs/; revision=25570
Carlos Guzmán Álvarez [Thu, 15 Apr 2004 20:13:35 +0000 (20:13 -0000)]
2004-04-15 Carlos Guzman Alvarez <carlosga@telefonica.net>
* Mono.Security.Protocol.Tls/SslClientStream.cs:
* Mono.Security.Protocol.Tls/SslServerStream.cs:
* Mono.Security.Protocol.Tls/Alert.cs:
* Mono.Security.Protocol.Tls/RecordProtocol.cs:
* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
* Mono.Security.Protocol.Tls/Context.cs:
* Mono.Security.Protocol.Tls/TlsException.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerHello.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientFinished.cs:
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:
- Reworked Alert and Exception (TlsException) handling.
* Mono.Security.Protocol.Tls/TlsClientSettings.cs:
- Added new CertificateRSA property.
* Mono.Security.Protocol.Tls/SslHandshakeHash.cs:
- Added two new methods: CreateSignature and VerifySignature.
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
- Added Ssl3 implementation.
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
- Added initial implementation.
svn path=/trunk/mcs/; revision=25568
Bernie Solomon [Thu, 15 Apr 2004 18:08:12 +0000 (18:08 -0000)]
2004-04-15 Bernie Solomon <bernard@ugsolutions.com>
* icall.c: #include mono-config.h
svn path=/trunk/mono/; revision=25562
Zoltan Varga [Thu, 15 Apr 2004 17:53:50 +0000 (17:53 -0000)]
2004-04-15 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_method_to_ir): Do not compute coverage for inlined
methods.
svn path=/trunk/mono/; revision=25561
Carlos Guzmán Álvarez [Thu, 15 Apr 2004 16:43:07 +0000 (16:43 -0000)]
2004-04-15 Carlos Guzman Alvarez <carlosga@telefonica.net>
* Mono.Security.Protocol.Tls/SslClientStream.cs:
* Mono.Security.Protocol.Tls/SslServerStream.cs:
* Mono.Security.Protocol.Tls/Alert.cs:
* Mono.Security.Protocol.Tls/RecordProtocol.cs:
* Mono.Security.Protocol.Tls/ClientRecordProtocol.cs:
* Mono.Security.Protocol.Tls/ServerRecordProtocol.cs:
* Mono.Security.Protocol.Tls/Context.cs:
* Mono.Security.Protocol.Tls/TlsException.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificate.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerHello.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientFinished.cs:
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientHello.cs:
- Reworked Alert and Exception (TlsException) handling.
* Mono.Security.Protocol.Tls/TlsClientSettings.cs:
- Added new CertificateRSA property.
* Mono.Security.Protocol.Tls/SslHandshakeHash.cs:
- Added two new methods: CreateSignature and VerifySignature.
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
- Added Ssl3 implementation.
* Mono.Security.Protocol.Tls.Handshake.Server/TlsClientCertificateVerify.cs:
- Added initial implementation.
svn path=/trunk/mcs/; revision=25558
Lluis Sanchez [Thu, 15 Apr 2004 16:08:12 +0000 (16:08 -0000)]
* XmlSchemaExporter.cs: When checking if a map has been exported or not,
don't use type name for array types, since we can have different classes
that represent the same array type (for example StringCollection and
string[]).
svn path=/trunk/mcs/; revision=25557
Jackson Harper [Thu, 15 Apr 2004 15:49:17 +0000 (15:49 -0000)]
* culture-info-tables.h: Fix date formats for en-US culture.
svn path=/trunk/mono/; revision=25556
Paolo Molaro [Thu, 15 Apr 2004 15:19:01 +0000 (15:19 -0000)]
Remove references to the docs which were moved to another dir.
svn path=/trunk/mono/; revision=25554
Dick Porter [Thu, 15 Apr 2004 14:50:08 +0000 (14:50 -0000)]
2004-04-15 Dick Porter <dick@ximian.com>
* io-private.h:
* io.c: Rewrite FindFirstFile and FindNextFile using scandir(3)
and fnmatch(3) instead of glob(3). glob() can't cope with being
given filenames containing metachars. This fixes bug 40557.
svn path=/trunk/mono/; revision=25553
Lluis Sanchez [Thu, 15 Apr 2004 14:40:58 +0000 (14:40 -0000)]
* ThreadPool.cs: Added GetMinThreads and SetMinThreads.
* Timer.cs: In Change, return false if the timer has been disposed.
In Dispose, notify the WaitHandle.
svn path=/trunk/mcs/; revision=25552
Lluis Sanchez [Thu, 15 Apr 2004 14:37:39 +0000 (14:37 -0000)]
* icall.c: Registered icalls for ThreadPool.GetMinThreads and
ThreadPool.SetMinThreads.
* threadpool.c: Implemented ThreadPool.GetMinThreads and
ThreadPool.SetMinThreads.
svn path=/trunk/mono/; revision=25551
Bernie Solomon [Thu, 15 Apr 2004 14:36:07 +0000 (14:36 -0000)]
2004-04-15 Bernie Solomon <bernard@ugsolutions.com>
Somehow missed my ChangeLog change of 2004-04-08
svn path=/trunk/mcs/; revision=25550
Jordi Mas i Hernandez [Thu, 15 Apr 2004 14:21:43 +0000 (14:21 -0000)]
fixes typo
svn path=/trunk/mcs/; revision=25549
Jordi Mas i Hernandez [Thu, 15 Apr 2004 14:13:41 +0000 (14:13 -0000)]
makes sample cleaner and nicer
svn path=/trunk/mcs/; revision=25548
Benjamin Jemlich [Thu, 15 Apr 2004 14:07:59 +0000 (14:07 -0000)]
2004-04-15 Benjamin Jemlich <pcgod@gmx.net>
* enum.cs (Enum.DefineType): Don't allow char as type for enum.
Fixes #57007
svn path=/trunk/mcs/; revision=25547
Paolo Molaro [Thu, 15 Apr 2004 13:01:59 +0000 (13:01 -0000)]
Thu Apr 15 15:36:40 CEST 2004 Paolo Molaro <lupus@ximian.com>
* mono-config.c: also load the .config file in the directory
where the assembly was found.
svn path=/trunk/mono/; revision=25546
Paolo Molaro [Thu, 15 Apr 2004 11:58:01 +0000 (11:58 -0000)]
Remove meaningless call.
svn path=/trunk/mono/; revision=25542
Paolo Molaro [Thu, 15 Apr 2004 11:57:16 +0000 (11:57 -0000)]
Thu Apr 15 14:24:49 CEST 2004 Paolo Molaro <lupus@ximian.com>
* assembly.c: load per-assembly config files.
* icall.c: decrapified code to get the config dir and moved to
mono-config.c.
* image.h, loader.c, loader.h, mono-config.c, mono-config.h: allow
per-assembly config files. When doing a dll map lookup give precedence
to the per-assembly data.
svn path=/trunk/mono/; revision=25541
Sanja Gupta [Thu, 15 Apr 2004 11:28:27 +0000 (11:28 -0000)]
ChangeLog: Updated ChangeLog
Icon.cs: Added more missing bits and fixed the problem of Icon not getting
saved in proper format.
svn path=/trunk/mcs/; revision=25540
Umadevi S [Thu, 15 Apr 2004 11:17:30 +0000 (11:17 -0000)]
2004-04-15 Umadevi S (sumadevi@novell.com)
* Copy/Clone methods in DataSet
* ForeignKeyConstraint - implemented ctor in which datatable name is given.
svn path=/trunk/mcs/; revision=25539
Anirban Bhattacharjee [Thu, 15 Apr 2004 11:03:23 +0000 (11:03 -0000)]
* mb-parser.jay: Classes can't be delared static impicitly as other module members
svn path=/trunk/mcs/; revision=25538
Umadevi S [Thu, 15 Apr 2004 10:50:14 +0000 (10:50 -0000)]
2004-04-15 Umadevi S (sumadevi@novell.com)
* ForeignKeyConstraintTest - constructor testing,
* DataSet - test for Clone and Copy methods.
svn path=/trunk/mcs/; revision=25537
Anirban Bhattacharjee [Thu, 15 Apr 2004 08:37:30 +0000 (08:37 -0000)]
* class.cs: Couple of bug fixes in defining default static constructor, partially imposed by the fix earlier
svn path=/trunk/mcs/; revision=25536
Atsushi Eno [Thu, 15 Apr 2004 06:50:33 +0000 (06:50 -0000)]
2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaMapper.cs : set parent key and foreign key info to
DataRelation when reading refkey constraints.
Supply constraint name for fkey.
svn path=/trunk/mcs/; revision=25535
Atsushi Eno [Thu, 15 Apr 2004 06:48:32 +0000 (06:48 -0000)]
2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
* System.Data_test.dll.sources :
added DataSetReadXmlSchemaTest.cs and DataSetAssertion.cs.
svn path=/trunk/mcs/; revision=25534
Atsushi Eno [Thu, 15 Apr 2004 06:48:09 +0000 (06:48 -0000)]
2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
* Added DataSetAssertion.cs and DataSetReadXmlSchema.cs.
* DataSetReadXmlTest.cs : separate assertion methods into
DataSetAssertion.cs. Added label argument to AssertDataTable.
svn path=/trunk/mcs/; revision=25533
Raja R Harinath [Thu, 15 Apr 2004 05:06:55 +0000 (05:06 -0000)]
* attribute.cs (Attribute.CheckAttributeType): Check for ambiguous
attributes.
Fix for #56456.
* attribute.cs (Attribute.Resolve): Check for duplicate named
attributes.
Fix for #56463.
svn path=/trunk/mcs/; revision=25532
Jackson Harper [Thu, 15 Apr 2004 04:54:49 +0000 (04:54 -0000)]
* ILParser.jay: Correct args for version numbers.
svn path=/trunk/mcs/; revision=25531
Miguel de Icaza [Thu, 15 Apr 2004 04:18:51 +0000 (04:18 -0000)]
2004-04-15 Miguel de Icaza <miguel@ximian.com>
* iterators.cs (MarkYield): track whether we are in an exception,
and generate code accordingly. Use a temporary value to store the
result for our state.
I had ignored a bit the interaction of try/catch with iterators
since their behavior was not entirely obvious, but now it is
possible to verify that our behavior is the same as MS .NET 2.0
Fixes 54814
svn path=/trunk/mcs/; revision=25530
Miguel de Icaza [Thu, 15 Apr 2004 03:13:00 +0000 (03:13 -0000)]
2004-04-14 Miguel de Icaza <miguel@ximian.com>
* iterators.cs: Avoid creating temporaries if there is no work to
do.
* expression.cs (ArrayAccess.EmitLoadOpcode): If dealing with
Enumerations, use TypeManager.EnumToUnderlying and call
recursively.
svn path=/trunk/mcs/; revision=25529
Atsushi Eno [Thu, 15 Apr 2004 02:33:19 +0000 (02:33 -0000)]
2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
* XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
mode is Auto, just ignore the schema if there is already schema info.
* DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
svn path=/trunk/mcs/; revision=25528
Atsushi Eno [Thu, 15 Apr 2004 02:28:42 +0000 (02:28 -0000)]
2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
* DataSetReadXmlTest.cs : Tests were incorrect. They should be done
against new dataset. So just added another sequential read tests.
svn path=/trunk/mcs/; revision=25527
Martin Baulig [Thu, 15 Apr 2004 01:50:04 +0000 (01:50 -0000)]
2004-04-14 Martin Baulig <martin@ximian.com>
* mono-debug-debugger.h (MonoDebuggerEvent): Removed
MONO_DEBUGGER_EVENT_TYPE_ADDED and MONO_DEBUGGER_EVENT_METHOD_ADDED
and added MONO_DEBUGGER_EVENT_RELOAD_SYMTABS.
* mono-debugger-debugger.c: While the debugger is locked, remember
whether the symbol tables have changes and send one single
MONO_DEBUGGER_EVENT_RELOAD_SYMTABS when releasing the lock.
svn path=/trunk/mono/; revision=25526
César Natarén [Thu, 15 Apr 2004 00:10:01 +0000 (00:10 -0000)]
2004-04-14 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* Added log-ops.js, we'll be adding all sort of test for logic
operators here.
svn path=/trunk/mcs/; revision=25518
César Natarén [Thu, 15 Apr 2004 00:07:55 +0000 (00:07 -0000)]
ChangeLog entry
svn path=/trunk/mcs/; revision=25517
César Natarén [Wed, 14 Apr 2004 23:57:22 +0000 (23:57 -0000)]
2004-04-14 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* expression.cs (Binary.Emit): treat boolean operator
specially. Added emit_jumping_code.
* CodeGenerator.cs: Added emit_to_boolean. Added fall_true and
fall_false, which will express all boolean expressions and control
flow conditions.
svn path=/trunk/mcs/; revision=25514
Miguel de Icaza [Wed, 14 Apr 2004 23:32:01 +0000 (23:32 -0000)]
Large iterator refactoring, needed for some changes in the anonymous methods
support. What started as an innocent 10-line patch turned into a big
witch hunt.
2004-04-14 Miguel de Icaza <miguel@ximian.com>
* expression.cs (This.Emit): Use EmitContext.EmitThis to emit our
instance variable.
(This.EmitAssign): Ditto.
* ecore.cs (FieldExpr.Emit): Remove RemapToProxy special
codepaths, we will move all the functionality into
Mono.CSharp.This
(FieldExpr.EmitAssign): Ditto.
This fixes several hidden bugs that I uncovered while doing a code
review of this today.
* codegen.cs (EmitThis): reworked so the semantics are more clear
and also support value types "this" instances.
* iterators.cs: Changed so that for iterators in value types, we
do not pass the value type as a parameter.
Initialization of the enumerator helpers is now done in the caller
instead of passing the parameters to the constructors and having
the constructor set the fields.
The fields have now `assembly' visibility instead of private.
svn path=/trunk/mcs/; revision=25513
Miguel de Icaza [Wed, 14 Apr 2004 23:18:43 +0000 (23:18 -0000)]
Add new iterators test
svn path=/trunk/mcs/; revision=25512
Andreas N [Wed, 14 Apr 2004 21:58:59 +0000 (21:58 -0000)]
removed/ added files
svn path=/trunk/mcs/; revision=25510
Andreas N [Wed, 14 Apr 2004 21:58:19 +0000 (21:58 -0000)]
2004-04-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* AssemblyInfo.cs: Removed
* TODOAttribute.cs: Removed (duplicate)
* System.Windows.Forms.Design.csproj.user
* System.Windows.Forms.Design.csproj: Removed (outdated)
* WindowsFormsComponentEditor.cs
* ComponentEditorPage.cs: Added, mostly implemented
* ComponentEditor.cs: Removed (does not belong here)
svn path=/trunk/mcs/; revision=25509
Andreas N [Wed, 14 Apr 2004 20:43:06 +0000 (20:43 -0000)]
2004-04-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* LinkArea.cs: Added attributes, implemented
svn path=/trunk/mcs/; revision=25507
Andreas N [Wed, 14 Apr 2004 20:41:00 +0000 (20:41 -0000)]
2004-04-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* win32structs: made members internal
* FileDialog.cs
* OpenFileDialog.cs
* SaveFileDialog.cs: made methods pure internal
svn path=/trunk/mcs/; revision=25506
Miguel de Icaza [Wed, 14 Apr 2004 20:17:12 +0000 (20:17 -0000)]
Added missing semicolons
svn path=/trunk/mono/; revision=25505
Andreas N [Wed, 14 Apr 2004 20:02:19 +0000 (20:02 -0000)]
2004-04-14 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* win32enum: made Msg internal
* Control.cs
* NativeWindow.cs
* ScrollableControl.cs
* Form.cs
* Application.cs
* ButtonBase.cs
* ListBox.cs
* CheckedListBox.cs
* ComboBox.cs
* TextBoxBase.cs
* DateTimePicker.cs
* GroupBox.cs
* ScrollBar.cs
* Label.cs
* ListView.cs
* StatusBar.cs
* TabControl.cs
* TrackBar.cs
* UpDownBase.cs
* Message.cs: Changes that were neccessary because of
making Msg internal
svn path=/trunk/mcs/; revision=25503
Zoltan Varga [Wed, 14 Apr 2004 19:51:56 +0000 (19:51 -0000)]
2004-04-14 Zoltan Varga <vargaz@freemail.hu>
* libtest.c pinvoke2.cs: Add test for unicode string array marshalling.
svn path=/trunk/mono/; revision=25502
Zoltan Varga [Wed, 14 Apr 2004 19:50:44 +0000 (19:50 -0000)]
2004-04-14 Zoltan Varga <vargaz@freemail.hu>
* mini.c: Add support for STRWLPARRAY marshalling convention.
svn path=/trunk/mono/; revision=25501
Zoltan Varga [Wed, 14 Apr 2004 19:48:37 +0000 (19:48 -0000)]
2004-04-14 Zoltan Varga <vargaz@freemail.hu>
* interp.c (ves_exec_method_with_context): Add support for STRWLPARRAY
marshalling convention.
svn path=/trunk/mono/; revision=25500
Zoltan Varga [Wed, 14 Apr 2004 19:46:05 +0000 (19:46 -0000)]
2004-04-14 Zoltan Varga <vargaz@freemail.hu>
* metadata.h: Add STRARRAY_STRWLPARRAY marshalling convention.
* marshal.h marshal.c (mono_marshal_string_array_to_unicode): New
function.
* marshal.c (mono_marshal_get_native_wrapper): Take CharSet into
account when marshalling string arrays. Fixes #56965.
svn path=/trunk/mono/; revision=25499
Zoltan Varga [Wed, 14 Apr 2004 19:45:32 +0000 (19:45 -0000)]
2004-04-14 Zoltan Varga <vargaz@freemail.hu>
* metadata.h: Add STRARRAY_STRWLPARRAY marshalling convention.
* marshal.h marshal.c (mono_marshal_string_array_to_unicode): New
function.
* marshal.c (mono_marshal_get_native_wrapper): Take CharSet into
account when marshalling string arrays. Fixes #56965.
svn path=/trunk/mono/; revision=25498
Atsushi Eno [Wed, 14 Apr 2004 17:29:47 +0000 (17:29 -0000)]
2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
* DataSet.cs :
- In MS output, XML declaration looks to have standalone decl (yes).
- ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
- ReadXml(reader, mode)
1) return originally specified mode, instead of (always) Auto.
2) Check empty reader.
3) Check diffgram schema and content separately.
4) When diffgram exists, remaining (the same-level) contents
won't be consumed.
5) Similar fact should be applied, but somewhat different.
InferSchema and IgnoreSchema just skips, Fragment reads both
schema and content, others just reads schema.
- Removed unused code.
* XmlDataLoader.cs :
- Read() should skip in some ReadMode.
- Don't compare schema element name as case-insensitive (well,
should schemas be checked here?)
- Avoided BuildDocument() not to create confusing DataSet
document element.
- Don't add any tables when reader has single element.
* XmlDiffLoader.cs :
When target table was not found, MS.NET doesn't raise an error.
* XmlSchemaMapper.cs :
When XmlSchema.Read() left xml reader at </xs:schema>, read once.
svn path=/trunk/mcs/; revision=25494
Atsushi Eno [Wed, 14 Apr 2004 17:27:29 +0000 (17:27 -0000)]
2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
* System.Data_test.dll.sources : added DataSetReadXmlTest.cs.
svn path=/trunk/mcs/; revision=25493
Atsushi Eno [Wed, 14 Apr 2004 17:26:22 +0000 (17:26 -0000)]
2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
* Added DataSetReadXmlTest.cs. (specific to ReadXml() in DataSet).
svn path=/trunk/mcs/; revision=25492
Sebastien Pouliot [Wed, 14 Apr 2004 16:09:29 +0000 (16:09 -0000)]
2004-04-14 Sebastien Pouliot <sebastien@ximian.com>
* UTF8EncodingTest.cs: Ajusted test 3.3.6 and 3.3.7 because MS accept
invalid UTF8 (when it shouldn't) and Mono doesn't. Both case are now
accepted by the unit tests.
svn path=/trunk/mcs/; revision=25486
Bernie Solomon [Wed, 14 Apr 2004 15:52:15 +0000 (15:52 -0000)]
2004-04-14 Bernie Solomon <bernard@ugsolutions.com>
* security.c: #warning is a GCC-ism
svn path=/trunk/mono/; revision=25483
Paolo Molaro [Wed, 14 Apr 2004 15:40:49 +0000 (15:40 -0000)]
Wed Apr 14 18:15:55 CEST 2004 Paolo Molaro <lupus@ximian.com>
* exceptions-ppc.c: missing fixes in mono_jit_walk_stack (need
to init the context to setup the regs pointer).
svn path=/trunk/mono/; revision=25482
Anirban Bhattacharjee [Wed, 14 Apr 2004 15:37:35 +0000 (15:37 -0000)]
Test cases for mbas
svn path=/trunk/mcs/; revision=25481
Anirban Bhattacharjee [Wed, 14 Apr 2004 15:30:05 +0000 (15:30 -0000)]
* class.cs: Added support for Shadows modifier in Variables
svn path=/trunk/mcs/; revision=25480
Paolo Molaro [Wed, 14 Apr 2004 15:23:46 +0000 (15:23 -0000)]
Wed Apr 14 17:59:09 CEST 2004 Paolo Molaro <lupus@ximian.com>
* exceptions-ppc.c: more exceptions work.
svn path=/trunk/mono/; revision=25479
Miguel de Icaza [Wed, 14 Apr 2004 15:18:15 +0000 (15:18 -0000)]
Update
svn path=/trunk/mono/; revision=25478
Paolo Molaro [Wed, 14 Apr 2004 15:12:40 +0000 (15:12 -0000)]
Wed Apr 14 17:46:22 CEST 2004 Paolo Molaro <lupus@ximian.com>
* mini.c: avoid reusing the same MonoInst on multiple trees: this is
not allowed.
svn path=/trunk/mono/; revision=25477
Sebastien Pouliot [Wed, 14 Apr 2004 15:05:37 +0000 (15:05 -0000)]
2004-04-14 Sebastien Pouliot <sebastien@ximian.com>
* UTF8EncodingTest.cs: Added 70 new unit tests from UTF-8-test.txt
(available from http://www.cl.cam.ac.uk/~mgk25/). Tests are adapted
so MS implementation pass them all.
svn path=/trunk/mcs/; revision=25476
Anirban Bhattacharjee [Wed, 14 Apr 2004 15:01:14 +0000 (15:01 -0000)]
* const.cs: Added support for Shadows modifier in constan
svn path=/trunk/mcs/; revision=25475
Lluis Sanchez [Wed, 14 Apr 2004 14:52:33 +0000 (14:52 -0000)]
* System.dll.sources: Added
System.ComponentModel/ReflectionEventDescriptor.cs,
System.ComponentModel/ReflectionPropertyDescriptor.cs.
svn path=/trunk/mcs/; revision=25474
Lluis Sanchez [Wed, 14 Apr 2004 14:44:09 +0000 (14:44 -0000)]
* AttributeCollection.cs: Added new internal constructor.
* DesignerAttribute.cs: Fixed property TypeId.
* EventDescriptorCollection.cs: Added internal constructor. Added new
method Filter that removes events that do not have the specified
attributes.
* MemberDescriptor.cs: Minor fixes.
* PropertyDescriptor.cs: Implemented some missing methods.
* PropertyDescriptorCollection.cs: Added internal constructor. Implemented
Sort methods.
* ReferenceConverter.cs: Removed some TODOs.
* SyntaxCheck.cs: Implemented CheckMachineName and CheckPath.
* TypeDescriptor.cs: Implemented most of missing methods.
svn path=/trunk/mcs/; revision=25473
Ravindra [Wed, 14 Apr 2004 14:30:01 +0000 (14:30 -0000)]
Adding fail conditions to the test.
svn path=/trunk/mcs/; revision=25472
Sanja Gupta [Wed, 14 Apr 2004 14:18:38 +0000 (14:18 -0000)]
ChangeLog: Updated ChangeLog
Icon.cs: Implemented more missing bits
svn path=/trunk/mcs/; revision=25471
Marek Safar [Wed, 14 Apr 2004 13:32:28 +0000 (13:32 -0000)]
2004-04-14 Marek Safar <marek.safar@seznam.cz>
* cs0612.cs,
* cs0672-2.cs: 2 new error tests.
svn path=/trunk/mcs/; revision=25470
Anirban Bhattacharjee [Wed, 14 Apr 2004 13:30:31 +0000 (13:30 -0000)]
* expression.cs: Removed the check which was stoping type instances to access the shared members
svn path=/trunk/mcs/; revision=25469
Anirban Bhattacharjee [Wed, 14 Apr 2004 13:15:22 +0000 (13:15 -0000)]
* modifiers.cs: changed exception number for invalid modifiers exception
svn path=/trunk/mcs/; revision=25468
Sebastien Pouliot [Wed, 14 Apr 2004 12:47:09 +0000 (12:47 -0000)]
2004-04-14 Sebastien Pouliot <sebastien@ximian.com>
* WindowsIdentityTest.cs: Added reflection and serialization tests.
svn path=/trunk/mcs/; revision=25467
Sebastien Pouliot [Wed, 14 Apr 2004 12:44:38 +0000 (12:44 -0000)]
2004-04-14 Sebastien Pouliot <sebastien@ximian.com>
* WindowsIdentity.cs: Implemented IDeserializationCallback and
ISerializable interfaces.
svn path=/trunk/mcs/; revision=25466
Lluis Sanchez [Wed, 14 Apr 2004 11:33:19 +0000 (11:33 -0000)]
* TypeTranslator.cs, XmlCustomFormatter.cs: Removed map from Uri to anyUri,
not present in MS.NET.
* XmlSerializationWriter.cs: Improved error message.
svn path=/trunk/mcs/; revision=25465
Lluis Sanchez [Wed, 14 Apr 2004 11:25:39 +0000 (11:25 -0000)]
ReaderWriterLockTest.cs: Added more tests for bugs 55911 and 55909.
svn path=/trunk/mcs/; revision=25464
Jordi Mas i Hernandez [Wed, 14 Apr 2004 10:51:37 +0000 (10:51 -0000)]
removes anonying warning
svn path=/trunk/mcs/; revision=25463
Anirban Bhattacharjee [Wed, 14 Apr 2004 10:47:00 +0000 (10:47 -0000)]
* mb-parser.jay: Removed 'static_constructor_declaration' - this is not required as 'constructor_declaration' implementation is good enough to handle static constructors too
* class.cs: Handling couple of negative scenarios related to static constructors and bug fixes
svn path=/trunk/mcs/; revision=25462
Paolo Molaro [Wed, 14 Apr 2004 10:31:49 +0000 (10:31 -0000)]
Consolidated a few rules to show the new monoburg feature.
svn path=/trunk/mono/; revision=25461
Paolo Molaro [Wed, 14 Apr 2004 10:10:00 +0000 (10:10 -0000)]
Wed Apr 14 12:40:54 CEST 2004 Paolo Molaro <lupus@ximian.com>
* monoburg.c, monoburg.h, monoburg.y: changed the grammar so that
the same emit code can be easily associated with multiple rules.
Coalesce identical emit functions to reduce code size (10 KB - 10 % -
with the current unchanged x86 JIT rules).
svn path=/trunk/mono/; revision=25460
Raja R Harinath [Wed, 14 Apr 2004 03:20:02 +0000 (03:20 -0000)]
($(assemblies_DATA)): Copy file into
$(srcdir). Clean up output.
($(monobins_DATA)): Likewise.
svn path=/trunk/mono/; revision=25456
Raja R Harinath [Wed, 14 Apr 2004 03:06:47 +0000 (03:06 -0000)]
(mcs-tree-safe-build): Fix typo.
svn path=/trunk/mono/; revision=25455
Atsushi Eno [Wed, 14 Apr 2004 00:22:00 +0000 (00:22 -0000)]
2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
* DataSet.cs :
- InferXmlSchema(): Throw explicit NotImplementedException now.
- Don't put XML declaration everywhere. Write just for filename arg.
- xmlns="" should not be written. Maybe WebService problem is
because default namespace is overwritten. This patch will keep
the WS problem away and actually fixes some unit tests (i.e. use
explicit String.Empty for null namespace in WriteStartElement()).
- MoveToContent() should always be called, not only when
LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
- Even XmlReadMode is DiffGram, reader might not be "diffgram"
element. As to MSDN, diffgram does not contain schema.
svn path=/trunk/mcs/; revision=25448
Sebastien Pouliot [Tue, 13 Apr 2004 23:01:12 +0000 (23:01 -0000)]
2004-04-13 Sebastien Pouliot <sebastien@ximian.com>
* icall.c: Add new icalls mapping for security.
* security.c|h: Add internal calls for WindowsIdentity,
WindowsImpersonationContext and WindowsPrincipal.
svn path=/trunk/mono/; revision=25445
Sebastien Pouliot [Tue, 13 Apr 2004 22:59:55 +0000 (22:59 -0000)]
2004-04-13 Sebastien Pouliot <sebastien@ximian.com>
* security.c|h: Removed GetUserName as glib g_get_user_name does a
better (portability) job. Added ImpersonateLoggedOnUser and
RevertToSelf.
svn path=/trunk/mono/; revision=25444
Sebastien Pouliot [Tue, 13 Apr 2004 22:58:50 +0000 (22:58 -0000)]
2004-04-13 Sebastien Pouliot <sebastien@ximian.com>
* configure.in: Added rules to check for getgrgid_r, getgrnam_r,
getpwnam_r, getpwuid_r, getresuid and setresuid.
svn path=/trunk/mono/; revision=25443
Andreas N [Tue, 13 Apr 2004 21:56:07 +0000 (21:56 -0000)]
2004-04-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* same kind of line terminators in this file and cleanup
svn path=/trunk/mcs/; revision=25442