Daniel Morgan [Mon, 30 Dec 2002 08:30:20 +0000 (08:30 -0000)]
2002-12-30 Daniel Morgan <danmorg@sc.rr.com>
* LoginDialog.cs
* DbProviderCollection.cs
* DbProvider.cs
* DataGrid.cs: save as Unix (LF) and format based on
Mono style
* SqlEditorSharp.cs: SQL editor will be used in a
notebook, keep track of that tab. Also, when text changed,
update the notebook tab to indicate text changed. Save as
Unix (LF) and monostyle format
* sqlsharpgtk.cs: add a notebook where each tab represents a SQL editor where
the selected tab could be opend or saved to a file or execute against the
database. The full filename of the selected editor tab is displayed in the title
bar. The tab gets an asterisk if the user changes the text in that text buffer.
Add a second notebook for the results to be a DataGrid or a TextView
to log messages. Add new menu items for execute and saving to
a HTML, XML, and CSV (Comma Separated Values) files. Menu item New brings up a new
editor tab. Add menu item New SQL# Window to open a new SQL# window.
svn path=/trunk/mcs/; revision=9969
Miguel de Icaza [Sun, 29 Dec 2002 19:53:17 +0000 (19:53 -0000)]
No-op for install target
svn path=/trunk/mcs/; revision=9968
Miguel de Icaza [Sun, 29 Dec 2002 19:52:17 +0000 (19:52 -0000)]
Add missing files to the build
svn path=/trunk/mcs/; revision=9967
Ville Palo [Sun, 29 Dec 2002 17:54:48 +0000 (17:54 -0000)]
ups, little fix
svn path=/trunk/mcs/; revision=9966
Ville Palo [Sun, 29 Dec 2002 16:16:24 +0000 (16:16 -0000)]
2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
* XmlDataLoader.cs: Reading diffgrams.
svn path=/trunk/mcs/; revision=9965
Ville Palo [Sun, 29 Dec 2002 14:50:14 +0000 (14:50 -0000)]
2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
* DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
* DataTable.cs: Added ChanginDataColumn () for triggering
DataColumnChanging event
svn path=/trunk/mcs/; revision=9964
Lluis Sanchez [Sun, 29 Dec 2002 12:36:37 +0000 (12:36 -0000)]
no message
svn path=/trunk/mcs/; revision=9963
Lluis Sanchez [Sun, 29 Dec 2002 12:24:45 +0000 (12:24 -0000)]
no message
svn path=/trunk/mcs/; revision=9962
Miguel de Icaza [Sun, 29 Dec 2002 08:18:36 +0000 (08:18 -0000)]
2002-12-29 Miguel de Icaza <miguel@ximian.com>
* cs-tokenizer.cs (get_cmd_arg): Fixups to allow \r to terminate
the command. This showed up while compiling the JANET source
code, which used \r as its only newline separator.
svn path=/trunk/mcs/; revision=9961
Miguel de Icaza [Sun, 29 Dec 2002 02:15:09 +0000 (02:15 -0000)]
2002-12-28 Marcus Urban <mathpup@mylinuxisp.com>
* Activator.cs: Since the documentation indicates the method
either succeeds or throws one of the listed exceptions, we weren't
expecting that CreateInstance might be returning null.
For more information on the bug, see http://bugs.ximian.com/show_bug.cgi?id=36109
svn path=/trunk/mcs/; revision=9960
Marco Ridoni [Sat, 28 Dec 2002 23:06:11 +0000 (23:06 -0000)]
Properties are working and support typed parameters. An error is
flagged if parameters haven't corresponding types.
svn path=/trunk/mcs/; revision=9959
Sebastien Pouliot [Sat, 28 Dec 2002 18:30:12 +0000 (18:30 -0000)]
2002-12-28 Sebastien Pouliot <spouliot@videotron.ca>
* X509CertificateTest.cs: Changed how the dates are compared. This
should stop the nunit errors in X509Certificate.
svn path=/trunk/mcs/; revision=9956
Ville Palo [Sat, 28 Dec 2002 16:10:35 +0000 (16:10 -0000)]
2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
* DataSet.cs: Indentations to WriteXmlSchema () and one little fix
svn path=/trunk/mcs/; revision=9953
Martin Baulig [Sat, 28 Dec 2002 14:25:29 +0000 (14:25 -0000)]
2002-12-28 Martin Baulig <martin@ximian.com>
* debug-mono-symfile.h: Increment MONO_SYMBOL_FILE_DYNAMIC_VERSION.
svn path=/trunk/mono/; revision=9947
Martin Baulig [Sat, 28 Dec 2002 14:25:10 +0000 (14:25 -0000)]
2002-12-28 Martin Baulig <martin@ximian.com>
* debug.c (MonoDebuggerInfo): Added `symbol_file_modified'; it's
incremented each time one of the symbol tables is modified.
svn path=/trunk/mono/; revision=9946
Ville Palo [Sat, 28 Dec 2002 13:03:27 +0000 (13:03 -0000)]
2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
* DataSet.cs: Indentations to WriteXml ()
svn path=/trunk/mcs/; revision=9945
Ville Palo [Sat, 28 Dec 2002 12:34:37 +0000 (12:34 -0000)]
2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
* XmlDocument.cs: XmlTextWriter.Formatting == Indented when
calling Save () -methods.
svn path=/trunk/mcs/; revision=9944
Lluis Sanchez [Sat, 28 Dec 2002 11:52:19 +0000 (11:52 -0000)]
no message
svn path=/trunk/mcs/; revision=9943
Lluis Sanchez [Sat, 28 Dec 2002 11:46:36 +0000 (11:46 -0000)]
Implemented some functions
svn path=/trunk/mcs/; revision=9942
Duncan Mak [Sat, 28 Dec 2002 09:21:30 +0000 (09:21 -0000)]
2002-12-28 Duncan Mak <duncan@ximian.com>
* unix.args (ASN1.cs): Sebastien forgot to include this file.
svn path=/trunk/mcs/; revision=9940
Atsushi Eno [Sat, 28 Dec 2002 05:35:13 +0000 (05:35 -0000)]
2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlNodeReader.cs : primitive reading implementation.
svn path=/trunk/mcs/; revision=9939
Sebastien Pouliot [Fri, 27 Dec 2002 18:36:15 +0000 (18:36 -0000)]
2002-12-27 Sebastien Pouliot <spouliot@videotron.ca>
* unix.args: added CryptoTools.cs file.
svn path=/trunk/mcs/; revision=9934
Sebastien Pouliot [Fri, 27 Dec 2002 18:32:44 +0000 (18:32 -0000)]
2002-12-27 Sebastien Pouliot <spouliot@videotron.ca>
* CryptoTools.cs: New. Shared classes for cryptography. Now
includes a KeyBuilder to generate symmetric keys and IV.
* DES.cs: Modified Key validation.
* DESCryptoServiceProvider.cs: Implemented Key and IV using
KeyBuilder.
* RC2CryptoServiceProvider.cs: Implemented Key and IV using
KeyBuilder (and removed TODO).
* RijndaelManaged.cs: Implemented Key and IV using KeyBuilder
(and removed TODO).
* SHA384Managed.cs: Changed code to remove compiler warning.
* SHA512Managed.cs: Changed code to remove compiler warning.
* SymmetricAlgorithm.cs: Removed TODO on IV.
* TripleDESCryptoServiceProvider.cs: Implemented Key and IV
using KeyBuilder (and removed TODO).
svn path=/trunk/mcs/; revision=9933
Atsushi Eno [Fri, 27 Dec 2002 16:26:25 +0000 (16:26 -0000)]
2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlDocumentTests.cs : Test for bugzilla #34743 (whitespace handling)
svn path=/trunk/mcs/; revision=9932
Atsushi Eno [Fri, 27 Dec 2002 16:15:10 +0000 (16:15 -0000)]
2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlElement.cs : quick fix for the incomplete patch of #35308 below.
svn path=/trunk/mcs/; revision=9931
Atsushi Eno [Fri, 27 Dec 2002 15:54:39 +0000 (15:54 -0000)]
2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlDocumentTests.cs : Test for bugzilla #35308 (default ns output)
* XmlElementTests.cs : Test for output of attributes with different NS.
svn path=/trunk/mcs/; revision=9930
Atsushi Eno [Fri, 27 Dec 2002 15:53:53 +0000 (15:53 -0000)]
2002-12-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlDocument.cs : removed inconsistent line-feed output.
* XmlElement.cs, XmlTextWriter.cs :
fixed for bugzilla 35308 (default ns output)
* XmlWhitespace.cs : limited output only when preserving whitespace.
svn path=/trunk/mcs/; revision=9929
Sebastien Pouliot [Fri, 27 Dec 2002 15:37:38 +0000 (15:37 -0000)]
2002-12-27 Sebastien Pouliot <spouliot@videotron.ca>
* ASN1.cs: New. Classes to manipulate Abstract Syntax Notation 1
structures.
* cert2spc.cs: New tool to generate Software Publisher Certificate
(SPC) from a list of X509 certificate and CRL.
* secutils.cs: Changed copyright notice.
* makefile: Added cert2spc.exe to Windows build.
* makefile.gnu: Added cert2spc.exe to Linux build.
svn path=/trunk/mcs/; revision=9928
Sebastien Pouliot [Fri, 27 Dec 2002 15:26:45 +0000 (15:26 -0000)]
2002-12-27 Sebastien Pouliot <spouliot@videotron.ca>
* ASN1.cs: New. Updated ASN1 classes for X509Certificate that can
now be reused for other tools (like Cert2Spc). Classes are marked
internal so they cannot be reused from outside corlib (for
compatibility with MS implementation).
* X509Certificate.cs: Removed all ASN1 classes from file.
svn path=/trunk/mcs/; revision=9927
Ville Palo [Fri, 27 Dec 2002 14:20:49 +0000 (14:20 -0000)]
2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
* list: Added System.Data/XmlDataLoader.cs
svn path=/trunk/mcs/; revision=9924
Ville Palo [Fri, 27 Dec 2002 14:18:27 +0000 (14:18 -0000)]
2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
* DataSet.cs:
* XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
class XmlDataLoader.cs
svn path=/trunk/mcs/; revision=9923
Jeroen Janssen [Fri, 27 Dec 2002 10:54:39 +0000 (10:54 -0000)]
2002-12-27 Jeroen Janssen <japj@darius.demon.nl>
* fixed url for System.Windows.Forms in the class status
svn path=/trunk/mono/; revision=9916
Sebastien Pouliot [Fri, 27 Dec 2002 00:57:42 +0000 (00:57 -0000)]
2002-12-26 Sebastien Pouliot <spouliot@videotron.ca>
* X509Certificate.cs: Fixed the date issue (again). Time was
converted to local time then ajusted to Pacific time. Now time
is kept (internally) as UTC and correct (-8) to Pacific when shown.
Changed Authenticode signature detection and removed debugging code.
svn path=/trunk/mcs/; revision=9914
Ville Palo [Thu, 26 Dec 2002 19:09:56 +0000 (19:09 -0000)]
2002-12-26 Ville Palo <vi64pa@koti.soon.fi>
* own_schema.xsd: XmlSchema for testing ReadXmlSchema() -method
* DataSetTest.cs: Added more Xml-tests.
svn path=/trunk/mcs/; revision=9913
Miguel de Icaza [Tue, 24 Dec 2002 18:46:41 +0000 (18:46 -0000)]
Add SDL.NET bindings, reorganize
svn path=/trunk/mono/; revision=9866
Alejandro Sánchez Acosta [Tue, 24 Dec 2002 14:33:51 +0000 (14:33 -0000)]
Added cs0208.cs test error.
svn path=/trunk/mcs/; revision=9861
Alejandro Sánchez Acosta [Tue, 24 Dec 2002 14:23:39 +0000 (14:23 -0000)]
Added cs0202.cs test error.
svn path=/trunk/mcs/; revision=9860
Alejandro Sánchez Acosta [Tue, 24 Dec 2002 14:10:16 +0000 (14:10 -0000)]
Added cs0197 test error.
svn path=/trunk/mcs/; revision=9859
Sebastien Pouliot [Tue, 24 Dec 2002 03:48:49 +0000 (03:48 -0000)]
2002-12-23 Sebastien Pouliot <spouliot@videotron.ca>
* AssemblyNameTest.cs: Added test for non-signed assembly (which
returns an empty array - i.e. not null like an empty assembly).
svn path=/trunk/mcs/; revision=9857
Sebastien Pouliot [Tue, 24 Dec 2002 03:47:27 +0000 (03:47 -0000)]
2002-12-23 Sebastien Pouliot <spouliot@videotron.ca>
* AssemblyName.cs: GetPublicKey now return an empty array (not null)
when an assembly isn't signed with a StrongName (to match MS
implementation) and null when no assembly is referenced. Also removed
commented code (no bug reported so it was probably not used).
svn path=/trunk/mcs/; revision=9856
Miguel de Icaza [Tue, 24 Dec 2002 01:43:09 +0000 (01:43 -0000)]
Also distribute sqlsharp
svn path=/trunk/mono/; revision=9855
Miguel de Icaza [Mon, 23 Dec 2002 22:32:58 +0000 (22:32 -0000)]
Add secutil to the distribution
svn path=/trunk/mono/; revision=9851
Atsushi Eno [Mon, 23 Dec 2002 17:35:55 +0000 (17:35 -0000)]
2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlAttribute.cs, XmlDocument.cs, XmlTextReader.cs:
Implemented XmlTextReader.ReadAttributeValue().
Added internal ReadAttributeNodeValue().
Fixed XmlAttribute.InnerXml to use these methods.
* XmlDocument.cs, XmlDocumentFragment.cs, XmlElement.cs, XmlNode.cs:
Implemented XmlDocument.ReadNode() and removed ConstructDOM().
Other changes are replacing them.
svn path=/trunk/mcs/; revision=9848
Atsushi Eno [Mon, 23 Dec 2002 16:24:38 +0000 (16:24 -0000)]
2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlDocumentTests.cs, XmlWhitespaceTests.cs:
fixed whitespace handling (in relation to Ville's patch).
svn path=/trunk/mcs/; revision=9846
Atsushi Eno [Mon, 23 Dec 2002 16:23:36 +0000 (16:23 -0000)]
2002-12-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlDocument.cs: patch by Ville (fixed default PreserveWhitespace)
svn path=/trunk/mcs/; revision=9845
Alejandro Sánchez Acosta [Mon, 23 Dec 2002 13:56:18 +0000 (13:56 -0000)]
Added cs0192.cs test file.
svn path=/trunk/mcs/; revision=9842
Alejandro Sánchez Acosta [Mon, 23 Dec 2002 12:54:57 +0000 (12:54 -0000)]
Added cs0170 test error.
svn path=/trunk/mcs/; revision=9841
Alejandro Sánchez Acosta [Mon, 23 Dec 2002 12:40:24 +0000 (12:40 -0000)]
Added cs0156 test error.
svn path=/trunk/mcs/; revision=9840
Nick Drochak [Mon, 23 Dec 2002 01:14:01 +0000 (01:14 -0000)]
2002-12-23 Nick Drochak <ndrochak@gol.com>
* System_test.build: Fix build. Need to link with System.Xml.dll
svn path=/trunk/mcs/; revision=9837
Sebastien Pouliot [Sun, 22 Dec 2002 16:09:46 +0000 (16:09 -0000)]
2002-12-22 Sebastien Pouliot <spouliot@videotron.ca>
* secutils.cs: New tool to extract strongname and X509 certificate
from assembly (or other signed files).
* makefile: Added secutil.exe to Windows build.
* makefile.gnu: Added secutil.exe to Linux build.
svn path=/trunk/mcs/; revision=9836
Sebastien Pouliot [Sun, 22 Dec 2002 16:08:11 +0000 (16:08 -0000)]
2002-12-22 Sebastien Pouliot <spouliot@videotron.ca>
* X509Certificate.cs: Completed CreateFromSignedFile. Added a new
internal constructor so Publisher (and the related classes) can
create a X509Certificate object which return null dates (for both
GetEffectiveDateString and GetExpirationDateString methods).
svn path=/trunk/mcs/; revision=9835
Miguel de Icaza [Sun, 22 Dec 2002 06:44:47 +0000 (06:44 -0000)]
2002-12-22 Miguel de Icaza <miguel@ximian.com>
* ecore.cs (FieldExpr.DoResolve): Instead of throwing an
exception, report error 120 `object reference required'.
* driver.cs: Add --pause option, used during to measure the size
of the process as it goes with --timestamp.
svn path=/trunk/mcs/; revision=9833
Miguel de Icaza [Sun, 22 Dec 2002 06:39:28 +0000 (06:39 -0000)]
Add another one
svn path=/trunk/mcs/; revision=9832
Tim Coleman [Sun, 22 Dec 2002 06:26:20 +0000 (06:26 -0000)]
2002-12-22 Tim Coleman <tim@timcoleman.com>
* Mono.Data.Tds.Protocol/TdsComm.cs:
Change GetString to NOT explicitly add a NUL
to the end of the string since Encoder.GetString ()
will do that.
svn path=/trunk/mcs/; revision=9831
Rachel Hestilow [Sun, 22 Dec 2002 06:14:11 +0000 (06:14 -0000)]
2002-12-22 Rachel Hestilow <hestilow@ximian.com>
* marshal.c (mono_marshal_get_runtime_invoke): Support MONO_TYPE_CHAR
as a boxed return type.
svn path=/trunk/mono/; revision=9830
Miguel de Icaza [Sun, 22 Dec 2002 05:37:37 +0000 (05:37 -0000)]
Move configuration information that is used when compiling code that links
to Mono into a define that we can ship in mono.pc
Remove the dependency on config.h from mono/metadata/exception.h
svn path=/trunk/mono/; revision=9829
Miguel de Icaza [Sun, 22 Dec 2002 04:34:21 +0000 (04:34 -0000)]
Add this change as well
svn path=/trunk/mcs/; revision=9827
Jonathan Pryor [Sun, 22 Dec 2002 03:47:57 +0000 (03:47 -0000)]
Initial patch to use Switches to limit the trace messages that are generated.
svn path=/trunk/mcs/; revision=9826
Miguel de Icaza [Sun, 22 Dec 2002 01:59:57 +0000 (01:59 -0000)]
2002-12-21 Miguel de Icaza <miguel@ximian.com>
* appdomain.c
(ves_icall_System_AppDomainSetup_InitAppDomainSetup): Use
g_build_filename to properly get separators on the filename created.
svn path=/trunk/mono/; revision=9825
Miguel de Icaza [Sat, 21 Dec 2002 23:10:15 +0000 (23:10 -0000)]
Add new test, I forgot to add this a few weeks ago test-178.cs
svn path=/trunk/mcs/; revision=9824
Miguel de Icaza [Sat, 21 Dec 2002 23:04:23 +0000 (23:04 -0000)]
Re-enable code
svn path=/trunk/mcs/; revision=9823
Miguel de Icaza [Sat, 21 Dec 2002 23:00:04 +0000 (23:00 -0000)]
2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
* RealProxy.cs: Added ObjectIdentity property.
Implemented CrateObjRef.
* RemotingProxy.cs: Added Identity parameter to constructor
2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
* ServerContextTerminatorSink.cs: Added
* ServerObjectTerminatorSink.cs: Added
* StackBuilderSink.cs: Added
2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
* LeaseSink.cs: Added
2002-12-20 Lluis Sanchez Gual <lsg@ctv.es>
* ObjRef.cs: Implementation now based on methods of RemotingServices.
* RemotingServices.cs: Remoting information now kept in Identity objects.
All methods adapted to work with identities.
Renamed ExecuteMessage to InternalExecuteMessage. ExecuteMessage should
not make a direct call to the object.
* Identity.cs: added.
svn path=/trunk/mcs/; revision=9822
Miguel de Icaza [Sat, 21 Dec 2002 22:53:35 +0000 (22:53 -0000)]
Add new field that reflects changes to corlib for remoting
svn path=/trunk/mono/; revision=9821
Ravi Pratap M [Sat, 21 Dec 2002 19:48:56 +0000 (19:48 -0000)]
2002-12-21 Ravi Pratap <ravi@ximian.com>
* test-171.cs : Fix up since it wasn't working because of some
array code bug. That is a separate problem ;-)
svn path=/trunk/mcs/; revision=9820
Alejandro Sánchez Acosta [Sat, 21 Dec 2002 19:07:54 +0000 (19:07 -0000)]
Added cs0163.cs test error.
svn path=/trunk/mcs/; revision=9819
Alejandro Sánchez Acosta [Sat, 21 Dec 2002 18:59:18 +0000 (18:59 -0000)]
Added cs0161.cs test file.
svn path=/trunk/mcs/; revision=9818
Nick Drochak [Sat, 21 Dec 2002 14:15:43 +0000 (14:15 -0000)]
2002-12-21 Nick Drochak <ndrochak@gol.com>
* all: make tests build and run under nunit2
svn path=/trunk/mcs/; revision=9817
Nick Drochak [Sat, 21 Dec 2002 14:13:26 +0000 (14:13 -0000)]
Needed to build test dll
svn path=/trunk/mcs/; revision=9816
Nick Drochak [Sat, 21 Dec 2002 13:29:25 +0000 (13:29 -0000)]
2002-12-21 Nick Drochak <ndrochak@gol.com>
* AllTests2.cs: Helper file for unit tests
svn path=/trunk/mcs/; revision=9815
Paolo Molaro [Sat, 21 Dec 2002 13:25:30 +0000 (13:25 -0000)]
Fix build breakers.
svn path=/trunk/mcs/; revision=9814
Miguel de Icaza [Sat, 21 Dec 2002 08:17:00 +0000 (08:17 -0000)]
2002-12-21 Miguel de Icaza <miguel@ximian.com>
* cs-tokenizer.cs: Small fix to the parser: compute the ascii
number before adding it.
svn path=/trunk/mcs/; revision=9813
Miguel de Icaza [Sat, 21 Dec 2002 08:06:25 +0000 (08:06 -0000)]
Revert
svn path=/trunk/mcs/; revision=9812
Miguel de Icaza [Sat, 21 Dec 2002 08:03:06 +0000 (08:03 -0000)]
Added files for Lluis.
svn path=/trunk/mcs/; revision=9811
Miguel de Icaza [Sat, 21 Dec 2002 07:58:55 +0000 (07:58 -0000)]
2002-12-21 Miguel de Icaza <miguel@ximian.com>
* object.h: Small change, introduce MonoMarshalByRefObject to
track the layout of that structure in the C# universe as we make
changes there.
svn path=/trunk/mono/; revision=9810
Ravi Pratap M [Sat, 21 Dec 2002 07:27:52 +0000 (07:27 -0000)]
2002-12-21 Ravi Pratap <ravi@ximian.com>
* ecore.cs (StandardImplicitConversion): When in an unsafe
context, we allow conversion between void * to any other pointer
type. This fixes bug #35973.
svn path=/trunk/mcs/; revision=9809
Ravi Pratap M [Sat, 21 Dec 2002 07:25:18 +0000 (07:25 -0000)]
2002-12-21 Ravi Pratap <ravi@ximain.com>
* test-171.cs : This was mysteriously absent. Add new test in its
place.
svn path=/trunk/mcs/; revision=9808
Jonathan Pryor [Sat, 21 Dec 2002 03:50:07 +0000 (03:50 -0000)]
New/Updated test cases. Fixed TraceTest so that it isn't causing test
failures anymore. Added SwitchesTest (to test switches) and
DiagnosticsConfigurationHandler to test .config file handling.
Issues: while the DiagnosticsConfigurationHandlerTest is reasonably
self-contained, SwitchesTest is not. To properly test switches, we need a
.exe and a .exe.config file. The needed .exe.config file that SwitchesTest
depends on is present in `test-config-file', but I'm unsure where to place it
(much less what to name it).
Additionally, SwitchesTest generates test failures at this time, principally
because of the lack of .config file support in the test system.
Finally, makefile.gnu & system_linux_test.args was changed to use the newly
added tests and to reference System.Xml.dll, which is used by
DiagnosticsConfigurationHandlerTest.
svn path=/trunk/mcs/; revision=9807
Jonathan Pryor [Sat, 21 Dec 2002 03:38:12 +0000 (03:38 -0000)]
DiagnosticsConfigurationHandler.cs:
Don't assume that optional attributes are always present
<assert/> can't have any child nodes
Change in semantics: if the attribute isn't present, GetAttribute()
returns null, not "". This allows us to differentiate between an attribute
not being present and an attribute with an empty value.
Translate exceptions if a TraceListener type is invalid
ChangeLog: Update for the previous changes I forgot to record
svn path=/trunk/mcs/; revision=9806
Miguel de Icaza [Sat, 21 Dec 2002 00:14:16 +0000 (00:14 -0000)]
Fix from Matt Kunze to add the other Process.Start overloads
svn path=/trunk/mcs/; revision=9800
Atsushi Eno [Fri, 20 Dec 2002 18:13:32 +0000 (18:13 -0000)]
2002-12-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlTextWriterTests.cs (TestAttributeNamespacesXmlnsXmlns):
fixed bug in the testcase (in relation to JD Conley's patch).
svn path=/trunk/mcs/; revision=9799
Atsushi Eno [Fri, 20 Dec 2002 18:12:54 +0000 (18:12 -0000)]
2002-12-21 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
* XmlElement.cs, XmlTextWriter.cs, XmlWriter.cs:
patch by JD Conley <jconley@winfessor.com>.
(Fix for xmlns attribute output.)
svn path=/trunk/mcs/; revision=9798
Gonzalo Paniagua Javier [Fri, 20 Dec 2002 13:49:48 +0000 (13:49 -0000)]
2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* System.Web/HttpCookie.cs: send 'expires' in the header.
* System.Web.Security/FormsAuthenticationModule.cs: remove debug lines.
* System.Web.UI/BaseParser.cs: a couple of path fixes to make it work
when the page is not in the root directory.
* System.Web.Util/UrlUtils.cs: fixed IsRelativeUrl and IsRootUrl.
svn path=/trunk/mcs/; revision=9797
Jackson Harper [Fri, 20 Dec 2002 09:12:11 +0000 (09:12 -0000)]
Use Path.GetFileNameWithoutExtension so an exception is not thrown when extensionless outputs are used
svn path=/trunk/mcs/; revision=9795
Jackson Harper [Fri, 20 Dec 2002 08:58:03 +0000 (08:58 -0000)]
Copy constructor does not attempt to merge if it recieves a null ref
svn path=/trunk/mcs/; revision=9794
Gonzalo Paniagua Javier [Fri, 20 Dec 2002 08:22:50 +0000 (08:22 -0000)]
2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* regex.cs: fixed little mistake (closes #35860).
svn path=/trunk/mcs/; revision=9793
Gonzalo Paniagua Javier [Fri, 20 Dec 2002 06:50:35 +0000 (06:50 -0000)]
check the _controls is not null
svn path=/trunk/mcs/; revision=9792
Gonzalo Paniagua Javier [Fri, 20 Dec 2002 04:07:50 +0000 (04:07 -0000)]
2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* rootcontext.cs: fixed compilation of corlib.
svn path=/trunk/mcs/; revision=9790
Gonzalo Paniagua Javier [Fri, 20 Dec 2002 01:38:56 +0000 (01:38 -0000)]
2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LinkLabel.cs:
* ListView.cs: fixed the build with csc.
svn path=/trunk/mcs/; revision=9789
Gonzalo Paniagua Javier [Fri, 20 Dec 2002 01:16:28 +0000 (01:16 -0000)]
2002-12-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Control.cs: fixed PreRenderRecursiveInternal. Thanks to kojoadams for
reporting the bug.
svn path=/trunk/mcs/; revision=9788
Jonathan Pryor [Fri, 20 Dec 2002 00:04:00 +0000 (00:04 -0000)]
IndentLevel and IndentSize shouldn't be hardcoded; they should be set to
whatever TraceImpl is using (which in turn may have been set by the .config
file, so we should get the user-specified values in added listeners).
svn path=/trunk/mcs/; revision=9787
Jonathan Pryor [Thu, 19 Dec 2002 23:36:00 +0000 (23:36 -0000)]
* TraceListener.cs: Make sure that indents are initially written. This allows
code that uses Trace.Indent() before a Trace.WriteLine() to be indented
properly.
* TraceImpl.cs: provide a static constructor to explicitly specify the
ordering of initialization, in particular the ordering of
TraceImpl.Listeners and the reading of the .config file (by accessing
DiagnosticsConfiguration.Settings). This (hopefully) ensures that the
Listeners collection is initialized before the .config file is read in, as
the DiagnosticsConfigurationHandler will directly modify the listeners
collection.
The DiagnosticsConfigurationHandler assumes this so that it can <add/> and
<remove/> trace listeners and set the logfile for the DefaultTraceListener.
svn path=/trunk/mcs/; revision=9786
Miguel de Icaza [Thu, 19 Dec 2002 22:31:34 +0000 (22:31 -0000)]
2002-12-19 Miguel de Icaza <miguel@ximian.com>
* attribute.cs (Attributes.Contains): Add new method.
* class.cs (MethodCore.LabelParameters): if the parameter is an
`out' parameter, check that no attribute `[In]' has been passed.
svn path=/trunk/mcs/; revision=9785
Miguel de Icaza [Thu, 19 Dec 2002 22:08:46 +0000 (22:08 -0000)]
update
svn path=/trunk/mono/; revision=9784
Miguel de Icaza [Thu, 19 Dec 2002 22:04:24 +0000 (22:04 -0000)]
Fix the test
svn path=/trunk/mcs/; revision=9783
César Natarén [Thu, 19 Dec 2002 21:56:08 +0000 (21:56 -0000)]
Added file cs0230.cs
svn path=/trunk/mcs/; revision=9782
Miguel de Icaza [Thu, 19 Dec 2002 21:21:58 +0000 (21:21 -0000)]
2002-12-14 Jaroslaw Kowalski <jarek@atm.com.pl>
* decl.cs: Added special case to allow overrides on "protected
internal" methods
svn path=/trunk/mcs/; revision=9781
César Natarén [Thu, 19 Dec 2002 21:09:35 +0000 (21:09 -0000)]
Added file cs0225.cs
svn path=/trunk/mcs/; revision=9780
Marco Ridoni [Thu, 19 Dec 2002 20:57:05 +0000 (20:57 -0000)]
Minor changes
svn path=/trunk/mcs/; revision=9779
Dennis Hayes [Thu, 19 Dec 2002 20:46:21 +0000 (20:46 -0000)]
monir tweaks
svn path=/trunk/mcs/; revision=9777
Marco Ridoni [Thu, 19 Dec 2002 20:41:20 +0000 (20:41 -0000)]
A few fixes to make properties work properly (not totally fixed yet)
svn path=/trunk/mcs/; revision=9776