* StreamReaderTest.cs: added test for exception when the nase stream is
closed. Make the reader.CurrentEncoding test work.
svn path=/trunk/mcs/; revision=12320
* HttpWebRequest.cs: implemented IDisposable, make the request stream
read only. Changed the way of disposing the socket.
* HttpWebResponse.cs: wrapped the socket in a write-only NetworkStream,
handle chunked transfer encoding (no more hangs), added serialization
stuff, call CheckDisposed at the beginning of methods/properties (not
in a finally clause).
svn path=/trunk/mcs/; revision=12283
* list.unix: New. All C# files required to build the assembly.
* makefile.gnu: New. Makefile to build the assembly under Linux.
svn path=/trunk/mcs/; revision=12278
* cert2spc.cs: Update to use the new PKCS7 class (from Mono.Security
assembly) and AssemblyInfo.cs. Older version was located in /mcs/tools.
* makefile: New. PROTOTYPE makefile (not tested) for Linux.
* secutil.cs: Updated to use AssemblyInfo.cs. Older version was located
in /mcs/tools.
* sectools.build: New. NAnt build file to build all security tools.
svn path=/trunk/mcs/; revision=12277
* SoftwarePublisherCertificate.cs: New. Class to load or create
SPC files (which are PKCS#7 files containing only certificates
and CRL).
svn path=/trunk/mcs/; revision=12273
* ASN1.cs: Updated ASN1 class (from corlib). This file will,
eventually, be automagically synched with corlib.
* ASN1Convert.cs: New. Helper class to convert from and to
ASN1 structures.
* PKCS7.cs: New. Basic implementation of CMS (Cryptographic
Message Syntax Standard).
svn path=/trunk/mcs/; revision=12272
* AssemblyInfo.cs: New. Global assembly attributes (version and
copyright) for security tools.
* README: New. Important information about the Mono's security tools
svn path=/trunk/mcs/; revision=12268
SmtpMessage - A more sofisticated mail container than MailMessage
MailAddress - A class that represents a mail address
MailAddressCollection - A collection of mail adresses
Theese classes where added to support the funtionality of serveral
recievers and Cc and Bcc. And also to ensure the format of the
address strings.
svn path=/trunk/mcs/; revision=12230
* category.cs (CategoryUtils.CategoryFromName): Use StartsWith
("Is") instead of a substring for (0,2) which was throwing an
exception causing Category.None to be returned
svn path=/trunk/mcs/; revision=12228
* debug-jit.c, debug-jit.h: New files. Moved all JIT-specific
stuff here.
* debug.c (mono_debug_add_method): Moved to debug-jit.c.
(mono_debug_handle, mono_debug_initialized): Made them global.
(replace_suffix): Removed, this isn't used anymore.
(record_line_number): Moved to debug-jit.c.
(debug_generate_method_lines): Moved to debug-jit.c
(generate_line_number): Renamed to
_mono_debug_generate_line_number() and made it global.
(debug_update_il_offsets): Moved to debug-jit.c
(mono_debug_get_image): Renamed to _mono_debug_get_image() and made
it global.
(address_from_il_offset): Renamed to
_mono_debug_address_from_il_offset() and made it global.
(il_offset_from_position): Moved to debug-jit.c
(lookup_method): Renamed to _mono_debug_lookup_method() and made
it global.
(mono_debug_add_method): Moved to debug-jit.c.
(mono_debug_create_notification_function): Use two new functions
mono_debug_codegen_breakpoint() and mono_debug_codegen_ret()
instead of x86_breakpoint() and x86_ret().
svn path=/trunk/mono/; revision=12217
* System.Security.build: Added a new output System.Security_cmp.dll
which links with mscorlib. This version is to be used to generate
the class status web page (required for CorCompare).
svn path=/trunk/mcs/; revision=12200
* makefile: System.Security (corlib) class status now compared
with System.Security_cmp.dll (mscorlib) as required for CorCompare.
svn path=/trunk/mono/; revision=12199
* mb-parser.jay: added rule for Imports with alias
* mb-parser.jay: Friend (internal) modifier was missing,
Shared modifier was expecting Static token erroneously
Modules must accept only a static constructor rule added
Constant declaration rule added
* makefile & makefile.gnu : actually run the compiled program on test target
svn path=/trunk/mcs/; revision=12191
* XmlDocumentFragment.cs, XmlElement.cs :
modified InnerXml (fragment type from Element to DocumentFragment).
* XmlElement.cs : fixed WriteTo() ns check.
* XmlNamespaceManager.cs : MS.NET allows Add() used two or more times.
* XmlNode.cs : fixed ConstructNamespaceManager().
* XmlConstructs.cs : added IsSpace, IsName, IsNameStart, IsNCName,
IsPubid with an int arg.
* XmlReader.cs : changed to use XmlChar.cs (its role is as same as
XmlConstructs.cs).
* XmlTextReader.cs :
improved error messages with line info.
/ checking matching start and end tags.
/ prevents the apperance of multiple root elements. (patch by Erik)
fixed and refactored ReadInnerXml() and ReadOuterXml()
changed to use XmlChar.cs.
* XmlTextWriter.cs : changed to put element's xmlns at CloseStartTag ()
(It will help c14n implementation.)
/ blocks multiple attribute output with element node.
svn path=/trunk/mcs/; revision=12186
* System.Data.OracleClient.Oci/IOciDescriptorHandle.cs:
* System.Data.OracleClient.Oci/IOciHandle.cs:
* System.Data.OracleClient.Oci/OciDescriptorType.cs:
Removed. These are no longer used.
* System.Data.OracleClient.Oci/OciParameterDescriptor.cs:
Add new class
* list:
Add System.Data.OracleClient.Oci/OciParameterDescriptor.cs
Rem System.Data.OracleClient.Oci/IOciDescriptorHandle.cs
Rem System.Data.OracleClient.Oci/IOciHandle.cs
Rem System.Data.OracleClient.Oci/OciDescriptorType.cs
* System.Data.OracleClient/OciGlue.cs:
Move the OCIAttrGet* methods into OciHandle
* System.Data.OracleClient/OracleDataReader.cs:
* System.Data.OracleClient/OracleParameter.cs:
Change the way that columns are bound and described
* System.Data.OracleClient.Oci/OciBindHandle.cs:
* System.Data.OracleClient.Oci/OciDefineHandle.cs:
* System.Data.OracleClient.Oci/OciDescriptorHandle.cs:
* System.Data.OracleClient.Oci/OciEnvironmentHandle.cs:
* System.Data.OracleClient.Oci/OciErrorHandle.cs:
* System.Data.OracleClient.Oci/OciHandle.cs:
* System.Data.OracleClient.Oci/OciLobLocator.cs:
* System.Data.OracleClient.Oci/OciServerHandle.cs:
* System.Data.OracleClient.Oci/OciServiceHandle.cs:
* System.Data.OracleClient.Oci/OciSessionHandle.cs:
* System.Data.OracleClient.Oci/OciStatementHandle.cs:
* System.Data.OracleClient.Oci/OciTransactionHandle.cs:
All handles now derive from OciHandle, and these classes
have been rewritten as such. Also attempted to implement
the Dispose () methods for these classes.
* System.Data.OracleClient.Oci/OciHandleType.cs:
Add descriptor types into here because handles and
descriptors are used in many of the same OCI functions.
svn path=/trunk/mcs/; revision=12176
* NameValueCollection.cs: Uncoment constructor, an old MCS bug
prevented this from working. Removed test for nullitude of col,
as it would have aborted anyways on the dereference in the base
constructor call.
svn path=/trunk/mcs/; revision=12163
* Double.cs: Changed ToString method. Added NumberFormatInfo support
with DoubleFormatter class.
* Single.cs: Changed ToString method. Added NumberFormatInfo support
with SingleFormatter class.
* DoubleFormatter.cs: New class with Double formatting functions.
* SingleFormatter.cs: New class with Single formatting functions.
svn path=/trunk/mono/; revision=12162
* Double.cs: Changed ToString method. Added NumberFormatInfo support
with DoubleFormatter class.
* Single.cs: Changed ToString method. Added NumberFormatInfo support
with SingleFormatter class.
* DoubleFormatter.cs: New class with Double formatting functions.
* SingleFormatter.cs: New class with Single formatting functions.
svn path=/trunk/mcs/; revision=12162
* RSACryptoServiceProvider.cs: Delay keypair generation event when
keysize is a constructor parameter (major speed improvment when
importing keys). Removed NotSupportedException when CspParameter is
used in constructor (required for forthcoming security tools).
svn path=/trunk/mcs/; revision=12161
* System.Security_test.build: Updated build file to stop linking
with MS assemblies (and like with Mono's corlib instead).
svn path=/trunk/mcs/; revision=12159
* DSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
XML generation).
* RSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
XML generation).
* XmlDsigBase64Transform.cs: Fixed problem when using XPath.
svn path=/trunk/mcs/; revision=12158
* System.Security.build: Updated build file to stop linking with
MS assemblies (and like with Mono's corlib instead).
svn path=/trunk/mcs/; revision=12157
* RealProxy.cs: Added stubs for some missing methods.
* RemotingProxy.cs: The activation constructor now creates the ConstructionCall
message and collects the context properties.
Activation of objects now use IActivator instances.
svn path=/trunk/mcs/; revision=12140
Some other minor corrections.
* EnvoyTerminatorSink.cs: Message now redirected to current context's client sink chain.
* MethodCall.cs: Added method for copying messages.
svn path=/trunk/mcs/; revision=12139
Implemented creation of the client context, server context, object and envoy sinks.
Added method for creating a new context.
* CrossContextChannel.cs : Removed check for construction messages. Now construction
go through the IActivators.
svn path=/trunk/mcs/; revision=12137
of activation attributes. This is used by System.Activator.
Added method for creating a ConstructionCall from a list of activation attributes.
This is used from RemotingProxy.
* ConstructionLevelActivator.cs: Added. Implements an IActivator that constructs an object.
* ContextLevelActivator.cs: Added. Implements an IActivator that constructs a context.
* RemoteActivationAttribute.cs: Added.
* RemoteActivator.cs: Used RemoteActivationAttribute in the creation of the server object.
* UrlAttribute.cs: Removed some "throw new NotImplementedException ()".
svn path=/trunk/mcs/; revision=12135
* ObjRef.cs: Added internal helper method for getting the server type of an ObjRef.
* RemotingServices.cs: Implemented Disconnect method. Added support for custom proxy
creating using ProxyAttribute. Added support for activation attributes in creation
of proxies. Some other minor corrections.
* ServerIdentity.cs: minor corrections.
svn path=/trunk/mcs/; revision=12134
* mb-tokenizer.cs : new semi-keywords: Compare, Explicit, Strict, On, Off, Binary, Text
* mb-parser.jay: tokens for above semi-keywords, and rules for option directives
* driver.cs: integrates command line options with parser flags for option directives
* makefile & makefile.gnu : added 'verbose' target that uses --verbose switch to compile
the test source and pipes it through 'less', also added a Extended Syntax source
svn path=/trunk/mcs/; revision=12133
a domain. Added internal call for getting the default context.
* appdomain.h: Added context variable in MonoDomain struct.
* domain.c: mono_domain_set also sets the default context of the domain
* icall.c: Mapped internal method InternalGetDefaultContext.
* object.c: mono_object_get_virtual_method returns always a remoting
wrapper if the object is a transparent proxy.
mono_runtime_invoke_array: when creating an object by calling the
constructor, if the created object is a proxy, then the constructor should
be called using the a remoting wrapper.
svn path=/trunk/mono/; revision=12131
* io.c (CreateFile): Try opening directories readonly, so that
timestamps can be adjusted. Patch by Elan Feingold
<[email protected]>.
svn path=/trunk/mono/; revision=12121
* socket-io.c (create_sockaddr_from_object): Rename sockaddr_un
variable so it compiles on solaris. Problem spotted by
Christopher Taylor <[email protected]>
svn path=/trunk/mono/; revision=12120
* list: added SessionConfig.cs and SessionStateSectionHandler.cs
* System.Web/HttpHelper.cs: store the values in an ArrayList to get
them in correct order.
* System.Web.Configuration/ModuleItem.cs: it's not public.
* System.Web.Configuration/ModulesConfiguration.cs: it's not public.
* System.Web.SessionState/SessionConfig.cs:
* System.Web.SessionState/SessionStateSectionHandler.cs: new files to
read <sessionState> configuration.
svn path=/trunk/mcs/; revision=12118
* DirectoryInfo.cs: changed ToString to match MS behavior.
* Path.cs: further fixes to GetDirectoryName to return null in the
same cases that MS does.
Fixes bug #38387.
svn path=/trunk/mcs/; revision=12105
* DSAKeyValue.cs: New XML generation is commented. Old string technique
did a better job to match MS implementation.
* DataObject.cs: Replaced XML generation from StringBuilder to XmlElement.
* KeyInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
* KeyInfoName.cs: Replaced XML generation from StringBuilder to XmlElement.
* KeyInfoNode.cs: Replaced XML generation from StringBuilder to XmlElement.
* KeyInfoRetrievalMethod.cs: Replaced XML generation from StringBuilder to XmlElement.
* KeyInfoX509Data.cs: Replaced XML generation from StringBuilder to XmlElement.
* RSAKeyValue.cs: New XML generation is commented. Old string technique
did a better job to match MS implementation.
* Reference.cs: Replaced XML generation from StringBuilder to XmlElement.
* Signature.cs: Replaced XML generation from StringBuilder to XmlElement.
* SignedInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
* SignedXml.cs: Replaced XML generation from StringBuilder to XmlElement.
* Transform.cs: Replaced XML generation from StringBuilder to XmlElement.
* XmlDsigEnvelopedSignatureTransform.cs: Added missing Algorithm URL.
* XmlDsigXPathTransform.cs: Added missing Algorithm URL.
* XmlSignature.cs: New. Private contants (construct similar to WSE).
svn path=/trunk/mcs/; revision=12100
* X509CertificateCollection.cs: Fixed bugs in AddRange
(added the collection not the certificates in the collection).
svn path=/trunk/mcs/; revision=12091
* unix.args: added ModuleResolveEventHandler.cs
* System.Reflection/Assembly.cs: added missing stuff. Only ModuleResolve
event is left out to avoid changing MonoReflectionAssembly by now.
* System.Reflection/ModuleResolveEventHandler.cs: delegate.
svn path=/trunk/mcs/; revision=12083
* ILGenerator.cs (Emit): Add fixup for already created methods and
fields. Do not add fixup for types since their table index do not
change any more.
svn path=/trunk/mcs/; revision=12067
* reflection.h reflection.c: Encode already created dynamic methods
and fields correctly as a DEF instead of a REF.
* reflection.c: Get rid of the force_ref argument to
mono_image_typedef_or_ref since it was wrong in the first place.
svn path=/trunk/mono/; revision=12066
* reflection.c: Emit types in the order their TypeBuilders were
created. Previously, a new table index was assigned to each type before
the tables were emitted. This was wrong because the signature blob
might already refer to a type by its original table index.
svn path=/trunk/mono/; revision=12062
* Socket.cs: patch from Elan Feingold <[email protected]>. Fixes
NullReferenceException when the callback is null.
svn path=/trunk/mcs/; revision=12056
* DateTime.cs: FileTime is expressed in Universal time, and as such must
be converted before subtracting the magic offset.
* DateTime.cs: Strings in the format "2003-02-27T10:05:03-11:00" (note
the timezone at the end) *must* be parsed by DateTime.Parse() for
compatibility with Microsoft.
svn path=/trunk/mcs/; revision=12038
* metadata.c metadata.h (mono_metadata_nesting_typedef): changed to
iterate over the NESTEDCLASS table using a linear search since the
table is not guaranteed to be sorted by the secondary key.
* class.c (mono_class_create_from_typedef): fixed up call to
mono_metadata_nesting_typedef.
svn path=/trunk/mono/; revision=12035
* DataSet.cs: Changed WriteTable so that it now calls the newly written
WriteObjectXml to direct the call to the respective XmlConvert method.
This fixes the wrong format written to XML files of bool, float,
double, DateTime and TimeSpan types.
svn path=/trunk/mcs/; revision=12032
* XmlConvert.cs: fixed the most ToXXX(string) and ToString(XXX)
methods to make them compatible with the XML Schema Spec from W3C
ToString(TimeSpan) is still outstanding
svn path=/trunk/mcs/; revision=12031
* ecore.cs (Expression.MemberLookup): Don't create a
MethodGroupExpr for something which is not a method. Fixes#38291.
svn path=/trunk/mcs/; revision=12027
* System.Data.OracleClient/OracleConnection.cs:
Rollback transactions when connection closes if they
are open.
* System.Data.OracleClient/OracleDataReader.cs:
Implement GetOracleLob ()
* System.Data.OracleClient/OracleLob.cs:
Implement some of the details, like Read/Write/Seek
* System.Data.OracleClient.Oci/OciBindHandle.cs:
Remove debug message.
* System.Data.OracleClient.Oci/OciDefineHandle.cs:
Add LOB support.
* System.Data.OracleClient.Oci/OciEnvironmentHandle.cs:
Minor formatting changes
* System.Data.OracleClient.Oci/OciLobLocator.cs:
Huge amounts of code to make it work. Lots of ugly
OCI P/Invoke code.
* Test/TestOracleClient.cs:
Improve the LOBTest.
svn path=/trunk/mcs/; revision=12021
* TypeBuilder.cs (DefineInitializedData): Removed unnecessary assignments.
* ModuleBuilder.cs (DefineInitializedData): Do not call
TypeBuilder::DefineInitializedData since that would mean defining a
nested type of the global type, which is wrong. Instead define a
new public type as MS does.
* ModuleBuilder.cs (DefineUninitializedData): Ditto.
svn path=/trunk/mcs/; revision=11999
* ActivatorTest.cs: Unregister the channel like it should.
* MarshalByRefTest.cs: Take out my hack.
Both from Jean-Marc Andr [[email protected]].
svn path=/trunk/mcs/; revision=11995
* class.cs (MemberBase.CheckParameters): Also check that the type
is unmanaged if it is a pointer.
* expression.cs (SizeOf.Resolve): Add location information.
* statement.cs (Block.EmitMeta): Flag error (208) if a pointer to
a managed type is declared.
svn path=/trunk/mcs/; revision=11983
* MemoryStream.cs:
(ToArray): return only the portion of the buffer that contains
data, not the whole buffer. (note: this makes XmlDocument.Load work
again with documents that have a <?xml without the 'encoding'
attribute, which makes gtk-sharp generator work again).
svn path=/trunk/mcs/; revision=11979
* class.cs: Very sad. Am backing out the speed up changes
introduced by the ArrayList -> Array in the TypeContainer, as they
were not actually that much faster, and introduced a bug (no error
reports on duplicated methods).
svn path=/trunk/mcs/; revision=11977
Although we are resolving for LValues, we will let the Assign code
take care of that (it will be called again from Resolve). This
basically allows code like this:
class X { X operator + (X x, object o) {} X this [int idx] { get; set; } }
class Y { void A (X x) { x [0] += o; }
The problem was that the indexer was trying to resolve for
set_Item (idx, object o) and never finding one. The real set_Item
was set_Item (idx, X). By delaying the process we get the right
semantics.
Fixes bug: 36505
svn path=/trunk/mcs/; revision=11973
* assign.cs (CompoundAssign.DoLResolve): Resolve the original
source first, this will guarantee that we have a valid expression
before calling in lower levels functions that will require a
resolved object. Then use this original_source in the
target.ResolveLValue instead of the original source that was
passed to us.
svn path=/trunk/mcs/; revision=11972
* DbDataAdapter.cs: Added support for filling when schema is present.
Fixed incorrect behavior when ColumnMapping is present
when more than one fields have the same name. Implemented Dispose.
Fixed error when there is no ColumnMapping at all.
Still have some problems in finding the correct TableMapping
because the SourceTable name is not present in BuildSchema
svn path=/trunk/mcs/; revision=11963
* DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
* DataRelationCollection.cs: Implemented AddRange and Contains.
Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
Reimplemented most Add methods to eliminate duplicated checks.
Centralized RelationName generation procedure in GetNextDefaultRelationName.
svn path=/trunk/mcs/; revision=11945
* DataColumn.cs: Fixed wrong storage representation of Expression
(using empty string instead of null) so that ToString() returns nothing.
* DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
auto column naming now works as expected. Reimplemented some Add methods
to eliminate code duplication.
svn path=/trunk/mcs/; revision=11943
* DbDataAdapter.cs: The original code might pass a null DataTableMapping
value which is then used to create a RowUpdatingEventArgs
instance. So RowUpdatingEvent handler (for instance
CommandBuilder) could get null DataTableMapping which
might be unexpected. The patch makes sure that a non-null
DataTableMapping is passed.
svn path=/trunk/mcs/; revision=11930
* statement.cs (Block.Emit): Override this and set ec.CurrentBlock
while calling DoEmit ().
* codegen.cs (EmitContext.Mark): Don't mark locations in other
source files; if you use the #line directive inside a method, the
compiler stops emitting line numbers for the debugger until it
reaches the end of the method or another #line directive which
restores the original file.
svn path=/trunk/mcs/; revision=11880
* statement.cs (Block.AddChildVariableNames): We need to call this
recursively, not just for our immediate children.
svn path=/trunk/mcs/; revision=11868
* class.cs (Event.Define): Always make the field private, like csc does.
* typemanager.cs (TypeManager.RealMemberLookup): Make events
actually work, fixes bug #37521.
svn path=/trunk/mcs/; revision=11867
When adding any tests here, please do also add them to the
README.tests !
The following tests are still missing:
test-176 test-177 test-179 test-180 test-181 test-182 test-183
test-184
svn path=/trunk/mcs/; revision=11864
* delegate.cs: When creating the various temporary "Parameters"
classes, make sure that we call the ComputeAndDefineParameterTypes
on those new parameters (just like we do with the formal ones), to
allow them to be resolved in the context of the DeclSpace.
This fixes the bug that Dick observed in Bugzilla #38530.
svn path=/trunk/mcs/; revision=11857
* expression.cs (ResolveMemberAccess): When resolving a constant,
do not attempt to pull a constant if the value was not able to
generate a valid constant.
* const.cs (LookupConstantValue): Do not report more errors than required.
svn path=/trunk/mcs/; revision=11848
* class.cs : As, per vbc, there is a rootnamespace now, --main wasn't working anymore,
because it was expecting a fully qualified class name.
We now also test the name passed prepended by the rootnamespace.
* class.cs : Corrected warning "The keyword new is required on `Mono.CSharp.Property.Emit'
because it hides inherited member `PropertyBase.Emit'", by making it virtual
in PropertyBase and override in Property.
* makefile.gnu : test and test-gtk targets now depend on mbas.exe
svn path=/trunk/mcs/; revision=11845
* reflection.c: define RTSpecialName automatically for constructors for
compatibility with MS.NET.
* reflection.c (mono_reflection_create_runtime_class): initialize
nested_in field of dynamically created classes.
svn path=/trunk/mono/; revision=11840
* System.Data.OracleClient/OracleDateTime.cs:
* System.Data.OracleClient/OracleInfoMessageEventArgs.cs:
* System.Data.OracleClient/OracleInfoMessageEventHandler.cs:
* System.Data.OracleClient/OracleMonthSpan.cs:
* System.Data.OracleClient/OraclePermission.cs:
* System.Data.OracleClient/OraclePermissionAttribute.cs:
* System.Data.OracleClient/OracleTimeSpan.cs:
* System.Data.OracleClient.Oci/IOciDescriptorHandle.cs:
* System.Data.OracleClient.Oci/OciDescriptorHandle.cs:
* System.Data.OracleClient.Oci/OciLobLocator.cs:
New classes added. Some based on .NET docs,
others (internal) based on getting some LOB
support (doesn't actually work yet).
* list:
Add new files
* System.Data.OracleClient/OracleBFile.cs:
* System.Data.OracleClient/OracleBinary.cs:
* System.Data.OracleClient/OracleLob.cs:
* System.Data.OracleClient/OracleNumber.cs:
* System.Data.OracleClient/OracleString.cs:
Change handling of NULL object based on new
discovery.
* System.Data.OracleClient/OracleCommand.cs:
* System.Data.OracleClient/OracleDataReader.cs:
Typo fix.
* System.Data.OracleClient.Oci/OciDefineHandle.cs:
* System.Data.OracleClient.Oci/OciEnvironmentHandle.cs:
Add some code to handle LOBs. Still more to
come.
* Test/TestOracleClient.cs:
New test for LOB added.
svn path=/trunk/mcs/; revision=11828
* appdomain.h appdomain.c:
(mono_domain_try_type_resolve): split the
name_or_tb argument into a name and a tb argument.
(mono_domain_has_type_resolve): new function to check whenever the
application has registered a TypeResolve event handler.
* icall.c reflection.h reflection.c: move the type resolve logic into
mono_reflection_get_type () so it will be invoked when
Assembly::GetType () is called.
* reflection.c:
(mono_reflection_get_type): renamed to get_type_internal.
(mono_reflection_get_type): fixed type name generation so it works
for nested types too.
(mono_reflection_get_type): call has_type_resolve () to avoid the
costly type name generation if there is no resolve event handler.
svn path=/trunk/mono/; revision=11813
* processes.c (GetCurrentProcessId): Use the current process
handle to return the process ID, as getpid() is unreliable
(linuxthreads gives each thread a different pid). Fixes bug
37550.
svn path=/trunk/mono/; revision=11804
invocation for the Mono runtime.
Dick and Paolo reported:
pthread remappes the sigrtmin signal, so it needs to be loaded from the start of the lifetime of the app
svn path=/trunk/mono/; revision=11801
* All: Updated tests for NUnit2. Some big tests where splited in
smaller ones.
* XmlDsigC14NTransformTest.cs: New, but almost empty, test suite.
* XmlDsigC14NWithCommentsTransformTest.cs: New, but almost empty,
test suite.
svn path=/trunk/mcs/; revision=11751
* DataTable.cs: DataTable.CaseSensitive follows parent
DataSet.CaseSensitive property if DataTable.CaseSensitive has never
been changed directly from DataTable
svn path=/trunk/mcs/; revision=11744
* mb-parser.jay : eliminated reduce/reduce conflict on duplicated rank_specifier rule
by renaming the one using brackets to bracketed_rank_specifier
svn path=/trunk/mcs/; revision=11728
* RemotingProxy.cs: Added new constructor for client activated objects.
Added method that handles construction messages.
svn path=/trunk/mcs/; revision=11727
* ServerContextTerminatorSink.cs: Added support for construction messages.
* MethodCall.cs: Implemented serialization support. Added support for IInternalMessage.
* MethodDictionary.cs: Added support for IInternalMessage.
* MethodResponse.cs: Added serialization support. Added support for IInternalMessage.
* MonoMethodMessage.cs: Added support for IInternalMessage.
* ReturnMessage.cs: Added support for IInternalMessage.
* ClientContextTerminatorSink.cs: Added.
* ConstructionCall.cs: Added.
* ConstructionCallDictionary.cs: Added.
* ConstructionResponse.cs: Added.
* EnvoyTerminatorSink.cs: Added.
svn path=/trunk/mcs/; revision=11726
* ObjRef.cs: Implemented EnvoySink property
* RemotingConfiguration.cs: now enables proxy creation for types registered
as ClientActivatedType or WellKnownClientType.
* RemotingServices.cs: Added support for ContextBoundObjects.
Added methods for creating proxies.
* ServerIdentity.cs: Added initialization of envoy sink.
* EnvoyInfo.cs: Added. It is an implementation on IEnvoyInfo.
svn path=/trunk/mcs/; revision=11722
used to cache the managed methods used to create proxies and make
remote invocation of methods.
* class.h: Added in MonoVTable a flag to indicate that a class needs
to be remotely created.
* object.c: Modified the method mono_class_vtable(). It now initializes
the remote flag of the vtable. Modified mono_object_new_specific(),
so now it checks the remote flag.
* icall.c: Added a couple of internal methods, one for enabling instance
creation interception for a type, and one for creating objects bypassing
the remote check.
svn path=/trunk/mono/; revision=11721
* InternalDataCollectionBase.cs: revert change to field
to fix build
* DataViewManager.cs
* DataView.cs
* DataTable.cs
* DataSet.cs: commented use of DesignerAttribute
because it broke the build. According to MSDN,
DesignerAttribute does not have a zero-argument constructor
svn path=/trunk/mcs/; revision=11716
* System.Data.OracleClient/OciBindHandle.cs:
* list:
Add new class
* System.Data.OracleClient/OracleCommand.cs:
Add transaction logic for rollback/commit,
attaching to oracle service context, and a
couple of test cases.
Add Parameter handling
* System.Data.OracleClient/OracleDataReader.cs:
Change GetValue call
* System.Data.OracleClient/OracleParameter.cs:
Make this work
* System.Data.OracleClient/OracleType.cs:
Add values to enum
* System.Data.OracleClient.Oci/OciDefineHandle.cs:
Add GetValue call which is used by data reader
* System.Data.OracleClient.Oci/OciStatementHandle.cs:
Add parameter logic
* Test/TestOracleClient.cs:
Add some new test cases.
svn path=/trunk/mcs/; revision=11709
* class.cs: Changed all the various members that can be part of a
class from being an ArrayList to be an Array of the right type.
During the DefineType type_list, interface_list, delegate_list and
enum_list are turned into types, interfaces, delegates and enums
arrays.
And during the member population, indexer_list, event_list,
constant_list, field_list, instance_constructor_list, method_list,
operator_list and property_list are turned into their real arrays.
Although we could probably perform this operation earlier, for
good error reporting we need to keep the lists and remove the
lists for longer than required.
This optimization was triggered by Paolo profiling the compiler
speed on the output of `gen-sample-program.pl' perl script.
* decl.cs (DeclSpace.ResolveType): Set the ContainerType, so we do
not crash in methods like MemberLookupFailed that use this field.
This problem arises when the compiler fails to resolve a type
during interface type definition for example.
svn path=/trunk/mcs/; revision=11708
* debug-mono-symfile.c (ves_icall_MonoDebugger_GetMethodToken):
New interncall to get a method's metadata token.
* icall.c ("System.Reflection.Assembly::MonoDebugger_GetMethodToken"):
New interncall for the debugger.
svn path=/trunk/mono/; revision=11702
* MonoSymbolTable.cs (MethodIndexEntry): New public struct.
* MonoSymbolFile.cs (MonoSymbolFile.GetMethodByToken): New method.
svn path=/trunk/mcs/; revision=11700
* XmlSchemaAnnotation.cs : expect the correct closing tag on <appinfo>
and <documentation> elements. (patch by Peter Pentchev)
* XmlSchemaObjectEnumerator.cs : cast properly to XmlSchemaObject
instead of XmlSchema. (patch by Peter Pentchev)
svn path=/trunk/mcs/; revision=11699
* FileStream.cs: Make FileMode.Append work, and check for Seeking
back over old data (undocumented ms behaviour, throws an exception
if you try). Fixes bug 35975.
svn path=/trunk/mcs/; revision=11693
* MonoSymbolFile.cs (MonoSymbolFile.Assembly): New public property.
* MonoSymbolTable.cs (MethodEntry.MethodBase): New public property.
(MethodEntry.LocalTypes): New public variable.
svn path=/trunk/mcs/; revision=11688
* MonoSymbolFile.cs (MethodEntry.ThisTypeIndex): Renamed to
ClassTypeIndex; provide this for all methods so we can get the
class of static methods.
svn path=/trunk/mcs/; revision=11685
Compress some code
* CheckSum.cs: Access Lfanew through property not field.
* CorHeader.cs: Convert to class, use Read and Write methods.
* DOSHeader.cs: Convert to class, use Read and Write methods,
and Init method for creating new DOSHeaders
* DataDir.cs: Convert to class, use Read and Write methods.
* Image.cs: Access lfanew through property, add Write method.
* PEHeader.cs: Convert to class, use Read and Write methods.
* PEUtils.cs: Add GetString method for converting byte pointers
to strings.
* RVA.cs: Add Write method
* Section.cs: Use PEUtils.GetString method instead of new string (byte*)
* makefuile.gnu: Compile all the files I want compiled ;-)
svn path=/trunk/mcs/; revision=11683
* Rows.cs: Cast a bunch of enums to int when displaying
them otherwise an Exception is thrown.,
this is probably a bug but I haven't had
time to track it down yet.
* StringHeap.cs: Use PEUtils.GetString instead of new string (byte*)
svn path=/trunk/mcs/; revision=11682
* DataTableRelationCollection.cs: removed file
because its internally in file DataRelationCollection.cs
2003-02-18 Alan Tam <[email protected]>
* DataRelation.cs: Added storage required to hold the relations.
Checking of constraints are not implemented yet.
* DataRelationCollection.cs: Implemented DataSetRelationCollection
and DataTableRelationCollection, both as inner class of the abstract class
DataRelationCollection (like Microsoft although not documented in ECMA).
* DataRow.cs: Implemented GetChildRows in a extremely slow way.
Need to implement caching like Microsoft later.
* DataSet.cs: Uncomment DataRelation related members. Uncomment
code for Nested XML. Implemented WriteTable(XmlWriter, DataRow[],
XmlWriteMode) for use of Nested XML. Fixed a wrong modifier in
GetSerializationData.
* DataTable.cs: Uncomment DataRelation related members.
svn path=/trunk/mcs/; revision=11670
* System.Data.OracleClient/OracleCommand.cs:
* System.Data.OracleClient/OracleTransaction.cs:
* System.Data.OracleClient.Oci/OciTransactionHandle.cs:
* Test/TestOracleClient.cs:
Add transaction logic for rollback/commit,
attaching to oracle service context, and a
couple of test cases.
svn path=/trunk/mcs/; revision=11669
* XmlDocument.cs:
(Load (string)): hack to workaround some issues with Uri.Parse. Once
Parse is fixed, remove the hack.
svn path=/trunk/mcs/; revision=11659
* System.Web/HttpApplicationFactory.cs: Global.asax takes precedence
over global.asax if it exists.
* System.Web/HttpRequest.cs: use allowCrossAppMapping in MapPath.
* System.Web.Hosting/AppDomainFactory.cs: Web.config takes precedence
over web.config.
* System.Web.Hosting/ApplicationHost.cs: removed hacks to work around
an old bug.
svn path=/trunk/mcs/; revision=11649
* System.Web/HttpApplication.cs: CreateHttpHandler is now internal.
* System.Web/HttpRequest.cs: allow setting QueryStringRaw, which
invalidates the data obtained from the previous value. Added internal
SetFilePath method.
* System.Web/HttpServerUtility.cs: implemented Execute and GetLastError.
* System.Web.Configuration/HandlerFactoryConfiguration.cs: first search
in the mappings of this instance, then in the parent.
svn path=/trunk/mcs/; revision=11642
* FileStream.cs: Don't close the handle if the stream doesn't own
it. Patch from Raymond Penners ([email protected]), bug
35623.
svn path=/trunk/mcs/; revision=11641
* reflection.c:
(assembly_name_to_aname): jump over unknown properties (i've found
something like: 'type, assembly, version=xxx, custom=null, public...',
so now will ignore custom=null and still get the rest of the values).
svn path=/trunk/mono/; revision=11640
* System/AppDomain.cs: implemented GetCurrentThreadId ().
* System.Threading/Thread.cs: made the thread_id for the current thread
accesible through an internal property.
svn path=/trunk/mcs/; revision=11638
* threads.c: Have Thread.Start() wait for a semaphore to signal
that the thread has set up all its local data. This fixes bug
34323, where Abort() raced the new thread's TLS data.
Also removes the handle_store() call from start_wrapper, because
threads are now always created suspended and there is no longer a
race between the parent and child threads to store the info.
svn path=/trunk/mono/; revision=11637
* Thread.cs: Added the Start semaphore field to the class. Update
the thread state after Start() has returned, not before.
svn path=/trunk/mcs/; revision=11636
* icall.c:
(GetEntryAssembly): if the domain has not invoked
AppDomain.ExecuteAssembly yet, return the assembly of the default
AppDomain.
svn path=/trunk/mono/; revision=11632
* typemanager.cs (IsSpecialMethod): The correct way of figuring
out if a method is special is to see if it is declared in a
property or event, or whether it is one of the predefined operator
names. This should fix correctly #36804.
svn path=/trunk/mcs/; revision=11630
* Socket.cs: make Worker.Connect and Receive work with non-blocking
sockets. May be Receive* and Send* in Worker need to do the same. I'll
wait for bug reports. Set IsCompleted to true before invoking the end
callback. Fixes bug #38136.
svn path=/trunk/mcs/; revision=11629
* TdsConnection.cs: - parse data source for 2 possible uses:
"Server=hostname",
"Server=hostname,port" and open the connection based on the
resulting server name and port.
svn path=/trunk/mcs/; revision=11626
* SybaseConnection.cs: - parse data source for 2 possible uses:
"Server=hostname",
"Server=hostname,port" and open the connection based on the
resulting server name and port.
svn path=/trunk/mcs/; revision=11625
* TestSqlConnection.cs: added test file
to test SqlClient, SybaseClient, and TdsClient
and connections
* System.Data_test.build: excluded
TestSqlConnection.cs from NUnit tests
svn path=/trunk/mcs/; revision=11624
* ChangeLog: added this file
* SqlConnection.cs: - parse data source for 3 possible uses:
"Server=hostname",
"Server=hostname\\instancename",
"Server=hostname,port" and open the connection based on the
resulting server name and port.
- Added support for named instances
by discovery of the sql server tcp port via the sql monitor (udp port 1434)
thanks to Phillip Jerkins ([email protected]) contribution.
Also, thanks to Gonzalo and Tim for their help with timeouts.
svn path=/trunk/mcs/; revision=11623
* SqlSharpCli.cs: fix typos and when the
provider is set to oracle, it should default
to not using the simple reader
svn path=/trunk/mcs/; revision=11616
* sqlsharpgtk.cs: fixes to get data
from an Oracle 8i database via
Mono's System.Data.OracleClient. It
can only output the results to the TextView
because the Oracle provider does not have
a data adapter yet.
svn path=/trunk/mcs/; revision=11615
* System.Data.OracleClient.Oci/OciStatementHandle.cs
* System.Data.OracleClient.Oci/OciColumnInfo.cs
* System.Data.OracleClient/OciGlue.cs
* System.Data.OracleClient/OracleDataReader.cs: fixes
to display character data in SQL# command-line
and GTK# versions
* Test/TestOracleClient.cs: updated test to
include reading data via the OracleDataReader
* System.Data.OracleClient/OracleConnection.cs: removed
debug code
svn path=/trunk/mcs/; revision=11614
The goal here is to remove the dependency on EmptyCast.Peel ().
Killing it completely.
The problem is that currently in a number of places where
constants are expected, we have to "probe" for an EmptyCast, and
Peel, which is not the correct thing to do, as this will be
repetitive and will likely lead to errors.
The idea is to remove any EmptyCasts that are used in casts that
can be reduced to constants, so we only have to cope with
constants.
This bug hunt was triggered by Bug 37363 and the desire to remove
the duplicate pattern where we were "peeling" emptycasts to check
whether they were constants. Now constants will always be
constants.
* ecore.cs: Use an enumconstant here instead of wrapping with
EmptyCast.
* expression.cs (Cast.TryReduce): Ah, the tricky EnumConstant was
throwing me off. By handling this we can get rid of a few hacks.
* statement.cs (Switch): Removed Peel() code.
svn path=/trunk/mcs/; revision=11610
* image.c, image.h, class.c, assembly.c: move module loading
to MonoImage. When loading metadata, consider alignemnet from
the start of metadata, not from the metadata address in memory.
svn path=/trunk/mono/; revision=11605
* list: forgot to add this one.
* System.Web.Compilation/AspGenerator.cs: corrected typo and wrong fix.
* System.Web.UI/Control.cs: have i definitely fixed naming container
stuff this time?
* System.Web.UI/LosFormatter.cs: activated binary serialization code.
* System.Web.UI.WebControls/ButtonColumn.cs: fixed a couple of infinite
loop problems and render correctly the header of the column.
* System.Web.UI.WebControls/DataGridTableInternal.cs: don't assign a
default ID to this control.
* System.Web.UI.WebControls/LinkButton.cs: raise bubble event in
OnCommand.
* System.Web.UI.WebControls/TableCellCollection.cs: fixed the index
returned by Add.
* System.Web.UI.WebControls/TableRowCollection.cs: ditto.
svn path=/trunk/mcs/; revision=11601
* class-status.in: Added assembly System.Security and link to crypto
status page.
* crypto: Corrected html typo (too bold ;-).
svn path=/trunk/mono/; revision=11596
* delegate.cs: The signature for EndInvoke should contain any ref
or out parameters as well. We were not doing this in the past.
svn path=/trunk/mcs/; revision=11591
* x86.brg: Implemented CONV_OVF_[I|U]4 (freg), this fixes the issues
with the "checked" keyword. Closes bugs #33421 and #35280 (JIT not mint)
svn path=/trunk/mono/; revision=11582
* checked.cs: New test that tests that the runtime throws correct overflow
exceptions during execution of checked keyword.
svn path=/trunk/mono/; revision=11576
* Control.cs:
(AddedControl): fixed default id assignation when the sequence of
AddedControl until it's included in the page or one of its controls
does not pass through a naming container.
svn path=/trunk/mcs/; revision=11573
* System.Data.OracleClient.Oci/OciColumnInfo.cs:
* System.Data.OracleClient.Oci/OciDataType.cs:
* System.Data.OracleClient.Oci/OciDefineHandle.cs:
* list:
New classes added
* System.Data.OracleClient/OciGlue.cs:
Changes to AttrGet functions
* System.Data.OracleClient/OracleCommand.cs:
* System.Data.OracleClient/OracleDataReader.cs:
Start some work on getting data reader going
* System.Data.OracleClient.Oci/OciAttributeType.cs:
Add DisplayName
* System.Data.OracleClient.Oci/OciStatementHandle.cs:
Add code to get schema for query, as well as
define output values.
svn path=/trunk/mcs/; revision=11571
* AspElements.cs: get the property Type for controls that use
ParseChildren with a property name.
* AspGenerator.cs: generate correct signature for the method that
adds controls to the default property in ParseChildren.
svn path=/trunk/mcs/; revision=11552
* reflection.c (mono_reflection_get_custom_attrs): Added support for
AssemblyBuilder objects. Factored out custom attribute creation into
a separate function.
(create_custom_attr): new function to create custom attributes.
svn path=/trunk/mono/; revision=11551
* ActivatorTest.cs:
* MarshalByRefTest.cs: New unit tests from Jean-Marc Andr
[[email protected]]. One failure on .NET in the latter.
svn path=/trunk/mcs/; revision=11547
* GlobalizationConfiguration.cs: added internal fields to hold the
values in the globalization node.
* GlobalizationConfigurationHandler.cs: handler to load
<system.web/globalization> section.
svn path=/trunk/mcs/; revision=11543
* HttpApplication.cs: only execute the EndRequest step on error
condition or request marked as completed. This prevent page events from
being called when, for example, the url authorization module forbids
the request.
svn path=/trunk/mcs/; revision=11541
* ecore.cs (FieldExpr.AddressOf): In the particular case of This
and structs, we do not want to load the instance variable
svn path=/trunk/mcs/; revision=11540
* Makefile.am: Got tired of typing the full pathname to pedump.
Until there is another option, am installing this.
svn path=/trunk/mono/; revision=11534
* ecore.cs (ImplicitReferenceConversion,
ImplicitReferenceConversionExists): enum_type has to be handled
like an object reference (implicit conversions exists from this to
object), but the regular IsClass and IsValueType tests will never
return true for this one.
Also we use TypeManager.IsValueType instead of type.IsValueType,
just for consistency with the rest of the code (this is only
needed if we ever use the construct exposed by test-180.cs inside
corlib, which we dont today).
svn path=/trunk/mcs/; revision=11533
* added argument.cs (extracted from expression.cs) makefiles corrected
* mb-parser.jay : eliminated reduce/reduce conflict on opt_argument_list rule,
by putting and if to make a argument list with just an empty argument list become an empty list
svn path=/trunk/mcs/; revision=11524
* list: added AuthorizationConfig and AuthorizationConfigHandler.
* System.Web/HttpRequest.cs: implemented the indexer.
* System.Web.Configuration/AuthorizationConfigHandler.cs: handler for
system.web/authorization section.
* System.Web.Configuration/AuthorizationConfig.cs: keeps record of
authorization configuration.
* System.Web.Security/FormsAuthentication.cs: implemented
RedirectFromLoginPage and GetRedirectUrl.
* System.Web.Security/FormsAuthenticationModule.cs: redirect to the
login page when a 401 error happens.
* System.Web.Security/UrlAuthorizationModule.cs: check for valid user
or render error page.
svn path=/trunk/mcs/; revision=11512
* configure.in: added check for sys/un.h.
* mono/metadata/socket-io.c: support AF_UNIX and use the same layout as
MS, not the one they documented (bytes 0 and 1 are the family).
svn path=/trunk/mono/; revision=11511
* System.Data.SqlClient/SqlConnection.cs:
* System.Data.SqlClient/SqlDataReader.cs:
Close the data reader properly, and be sure
to close the data reader when the connection
is closed.
svn path=/trunk/mcs/; revision=11492
* threads-types.h:
* monitor.c: Rewrote Monitor, making lock much faster and
Pulse/Wait work as specified. Also uses much fewer handles, and only
creates them as needed.
* exception.c: Added SynchronizationLockException
* threads.c: Deleted old Monitor implementation. The new one is
in a new file.
2003-02-11 Dick Porter <[email protected]>
* timefuncs.h:
* timefuncs.c: Added GetTickCount()
svn path=/trunk/mono/; revision=11483
* trampoline.c (arch_create_jit_trampoline): This function should
allways return a trampoline for managed methods. Fixes bug #29859.
svn path=/trunk/mono/; revision=11480
* list: added a couple of new files.
* System.Web/HtmlizedException.cs: base class for exceptions that makes
it easy to generate error pages.
* System.Web/HttpException.cs: improved error displaying.
* System.Web/HttpRuntime.cs: removed debugging output.
* System.Web.Compilation/AspGenerator.cs: throw ParseException on parse
error.
* System.Web.Compilation/AspParser.cs: added Line and Column props.
* System.Web.Compilation/CompilationException.cs: derives now from
HtmlizedException.
* System.Web.Compilation/CompilationResult.cs: added fileName field.
Fixed set_ExitCode.
* System.Web.Compilation/GlobalAsaxCompiler.cs:
* System.Web.Compilation/PageCompiler.cs:
* System.Web.Compilation/UserControlCompiler.cs: pass the file name in
the CompilationResult.
* System.Web.Compilation/ParseException.cs: new exception.
svn path=/trunk/mcs/; revision=11467
* library.build:
Disable OracleClient build on Windows so that I don't
break the build. I'm developing on Linux at present.
svn path=/trunk/mcs/; revision=11456
* class.c: handled TypedReference type code. Set the correct size for
class data. Setup interface_offsets for interface classes, too.
svn path=/trunk/mono/; revision=11447
* Mono.CSharp.Debugger.build: passing the /r using an 'arg' node works.
The <include> node wasn't getting to the compiler. This fixes build
breakage on cygwin.
* MonoSymbolFile.cs: Qualify which Min method. Fixes build breakage
on cygwin.
svn path=/trunk/mcs/; revision=11441
* ConstructorBuilder.cs:
- Added basic error checking to all methods according to the MSDN docs.
- modified a lot of methods to throw NotSupportedException, to comply
with MS.NET.
svn path=/trunk/mcs/; revision=11440
* TypeBuilder.cs:
- Added basic error checking to all methods according to the MSDN docs.
- fixed AssemblyQualifiedName.
- implemented 'Size'.
- modified a lot of methods to throw NotSupportedException, to comply
with MS.NET.
- changes tested by running a full bootstrap.
svn path=/trunk/mcs/; revision=11437
* InstrBase.cs: Take a Class instead of CodeGen when emiting
* Method.cs: Replace MethodInfo property with MethodBuilder property,
Add resolve method
* Instructions.cs: Take Class instead of CodeGen when emitting,
get member methods from Class.
* TypeManager.cs: Add set indexer
svn path=/trunk/mcs/; revision=11431
* AssemblyBuilder.cs (AssemblyBuilder.methods): Removed. This was
a hack for the symbol writer which is no longer needed.
svn path=/trunk/mcs/; revision=11423
* namespace.cs (Namespace..ctor): Added SourceFile argument.
(Namespace.DefineNamespaces): New static public method; this is
called when we're compiling with debugging to add all namespaces
to the symbol file.
* tree.cs (Tree.RecordNamespace): Added SourceFile argument and
pass it to the Namespace's .ctor.
* symbolwriter.cs (SymbolWriter.OpenMethod): Added TypeContainer
and MethodBase arguments; pass the namespace ID to the symwriter;
pass the MethodBase instead of the token to the symwriter.
(SymbolWriter.DefineNamespace): New method to add a namespace to
the symbol file.
svn path=/trunk/mcs/; revision=11419
* MonoSymbolWrtier.cs (SourceFile): Derive from SourceFileEntry.
(SourceBlock): We don't need source lines here.
(SourceMethod): We're always constructed with source info.
* MonoSymbolTable.cs: Added support for namespaces.
(NamespaceEntry): New struct.
(SourceFileEntry.DefineNamespace): New method.
(MethodEntry.BuildLineNumberTable): The table is already sorted,
so we don't need to do this here.
svn path=/trunk/mcs/; revision=11417
* interp.c: added a dummy mono_runtime_install_handlers function to
avoid crashing when ves_pinvoke_method tries to call it.
svn path=/trunk/mono/; revision=11411
* symbolwriter.cs: New file. This is a wrapper around
ISymbolWriter with a cleaner API. We'll dynamically Invoke()
methods here in near future.
svn path=/trunk/mcs/; revision=11410
* codegen.cs (EmitContext.Mark): Just pass the arguments to
ILGenerator.MarkSequencePoint() which are actually used by the
symbol writer.
svn path=/trunk/mcs/; revision=11407
* IMonoSymbolWriter.cs (MarkSequencePoint): New method which takes
just the required arguments as scalars, not arrays.
* ILGenerator.cs (ILGenerator.MarkSequencePoint): Use that new
interface method; unnecessarily creating such a large number of
arrays is both slow and too memory consuming.
svn path=/trunk/mcs/; revision=11406
* location.cs (SourceFile): New public sealed class. This
contains the name and an index which is used in the location's token.
(Location): Reserve an appropriate number of bits in the token for
the source file instead of walking over that list, this gives us a
really huge performance improvement when compiling with debugging.
* driver.cs (Driver.parse, Driver.tokenize_file): Take a
`SourceFile' argument instead of a string.
(Driver.ProcessFile): Add all the files via Location.AddFile(),
but don't parse/tokenize here, we need to generate the list of all
source files before we do that.
(Driver.ProcessFiles): New static function. Parses/tokenizes all
the files.
* cs-parser.jay (CSharpParser): Take a `SourceFile' argument
instead of a string.
* cs-tokenizer.cs (Tokenizer): Take `SourceFile' argument instead
of a string.
svn path=/trunk/mcs/; revision=11405
* loader.c: implemented MEMBERREF_PARENT_TYPEDEF.
* metadata.c, reflection.c: missing MONO_TYPE_TYPEDBYREF handling.
* object.c: fixed mono_object_get_virtual_method () for interfaces.
* verify.c: check for code that runs after the end of the method.
svn path=/trunk/mono/; revision=11398
* Control.cs: give different default names depending on the place where
it is assigned. Implemented ResolveURl (no more ~ rendered in
attributes!).
svn path=/trunk/mcs/; revision=11392
* System.Data.OracleClient/OciGlueLib_BCC_win32.make:
* System.Data.OracleClient/OciGlueLib_MSVC_win32.make:
change name of library to ociglue.dll
* System.Data.OracleClient/ociglue.c:
Use the "database" parameter as TNSNAME.
* System.Data.OracleClient/OciGlue.cs:
Change DllImport from "System.Data.OracleClient.ociglue.dll" to
"ociglue".
* System.Data.OracleClient/OciGlueLib_GCC_linux.make:
added makefile for ociglue shared lib on Linux platform
and compiler gcc.
svn path=/trunk/mcs/; revision=11387
* CodeGen.cs: Add TypeManager attribute
* InstrBase.cs: Take a CodeGen in Emit method
* Instructions.cs: Take a CodeGen in Emit method, handle arg lists better
* Method.cs: Handle local variables better
svn path=/trunk/mcs/; revision=11382
* System.Data.OracleClient/OciGlueLib_GCC_linux.make:
added makefile for ociglue shared lib on Linux platform
and compiler gcc.
svn path=/trunk/mcs/; revision=11381
* MethodBuilder.cs: Added error checking to methods so they conform to
MSDN docs. Implemented 'GetModule' and 'CallingConvention' members.
Some other tweaks to improve compatibility with MS .NET.
* TypeBuilder.cs: Added 'is_created' property which will be used for
checking 'type is already created' errors.
svn path=/trunk/mcs/; revision=11354
* CryptoTools.cs: Renamed namespace to match new location.
* PKCS1.cs: Renamed namespace to match new location.
* HMACAlgorithm.cs: New. Generic class to implement HMAC
using any hash algorithm (was in S.S.C.HMACSHA1.cs).
* MACAlgorithm.cs: New. Generic class to implement MAC
using any symmetric algorithm (was in S.S.C.MACTripleDES.cs).
svn path=/trunk/mcs/; revision=11346
* MonoSymbolFile.cs (MonoSymbolFile.ReadSymbolFile): New public
static method, returns null (without throwing an exception) if the
assembly doesn't have any debugging info.
svn path=/trunk/mcs/; revision=11312
* debug-mono-symfile.c: Reflected latest symwriter changes.
(mono_debug_create_mono_symbol_file): Removed.
(mono_debug_open_mono_symbol_file): Take an argument which
specifies whether to create a dynamic symbol file.
svn path=/trunk/mono/; revision=11310
* driver.cs: Removed the `--debug-args' command line argument.
* codegen.cs (CodeGen.SaveSymbols): Removed, this is now done
automatically by the AsssemblyBuilder.
(CodeGen.InitializeSymbolWriter): We don't need to call any
initialization function on the symbol writer anymore. This method
doesn't take any arguments.
svn path=/trunk/mcs/; revision=11301
* ModuleBuilder.cs (.ctor): Added `bool IsMainModule' argument.
(Save): New internal method; creates the module's symbol file if
we're compiling with debugging information.
* AssemblyBuilder.cs (EmbedResource): Added internal overloaded
version of this method which takes a `byte[] blob' instead of a file.
(DefineDynamicMethod): If this is the first module, tell the
ModuleBuilder that this is the main module.
(Save): Call a new interncall `build_metadata' to create the final
metadata and save all the symbol files before creating the actual
output.
* IMonoSymbolWriter.cs: New public class; it is in the namespace
Mono.CSharp.Debugger. The Mono symbol writer implements this interface.
svn path=/trunk/mcs/; revision=11299
* reflection.c (mono_image_build_metadata): Make this public,
protect it against being called multiple times, don't create
resources and don't build the compressed metadata here.
(mono_image_create_pefile): Do this here.
* icall.c
("System.Reflection.Emit.AssemblyBuilder::build_metadata"): Added.
svn path=/trunk/mono/; revision=11298
* MonoSymbolFile.cs: The symbol file is now a resource in the
assembly instead of a separate file.
* MonoSymbolTable.cs: Did a few more cleanups, sort the line
number table and remove duplicate line numbers.
svn path=/trunk/mcs/; revision=11295
Removed implementation of CreateObjRef. Now it is implemented in the derived classes.
* ServerIdentity.cs: Added implementation of CreateObjRef.
* RemotingServices.cs: Changed implementation of GetRemoteObject and GetClientIdentity.
Now they only have and ObjRef as input parameter. This is the objref received from
the server. Unmarshal() also checks if the objref is for a well known object.
In this case, a proxy is always created, but if not, it tries to get the real object.
* ObjRef.cs: Added some flags that have info for marshalling/unmarshalling.
Changed behavior of IsPossibleToCAD. Now returns false. Returning true makes serialization
of this ObjRef to fail in the target AD. Added method UpdateChannelInfo.
svn path=/trunk/mcs/; revision=11292
* marshal.c (mono_marshal_get_remoting_invoke_with_check): new
function. works like remoting invoke, but does a check for the Proxy first.
svn path=/trunk/mono/; revision=11271
* library.build: added Mono.Security.Win32 to build, test and
clean. There's no makefile.gnu for this assembly as it is
specific to Win32.
svn path=/trunk/mcs/; revision=11266
* MD2CryptoServiceProviderTest.cs: New. Run the MD2Test
unit tests using MD2CryptoServiceProvider class.
* MD2Test.cs: New. Implement the test vectors included
in RFC1319.
* MD4CryptoServiceProviderTest.cs: New. Run the MD4Test
unit tests using MD4CryptoServiceProvider class.
* MD4Test.cs: New. Implement the test vectors included
in RFC1320.
* MD5CryptoServiceProviderTest.cs: New. Run the MD5Test
unit tests using MD5CryptoServiceProvider class.
* MD5Test.cs: New. Implement the test vectors included
in RFC1321.
* RandomNumberGeneratorTest.cs: New. FIPS140 randomness
tests.
* SHA1CryptoServiceProviderTest.cs: New. Run the SHA1Test
unit tests using SHA1CryptoServiceProvider class.
* SHA1Test.cs: New. Implement the test vectors included
in FIPS186.
svn path=/trunk/mcs/; revision=11263
* HttpApplication.cs: display the error instead of hanging when we get
any error before the last step of the request.
svn path=/trunk/mcs/; revision=11261
* CapiContext.cs: New. Class to acquire and release an
unmanaged context with CryptoAPI.
* CapiHash.cs: New. Base class to handle hash algorithms.
* CapiRandomNumberGenerator.cs: New. Base class to handle
random number generation.
* CryptoAPI.cs: Wrapper class around CryptoAPI.
* MD2.cs: Abstract class for Message Digest 2 (RFC1319).
* MD2CryptoServiceProvider.cs: Unmanaged MD2 implementation.
* MD4.cs: Abstract class for Message Digest 4 (RFC1320).
* MD4CryptoServiceProvider.cs: Unmanaged MD4 implementation.
* MD5CryptoServiceProvider.cs: Unmanaged MD5 implementation.
* RNGCryptoServiceProvider.cs: Unmanaged RNG implementation.
* MD2CryptoServiceProvider.cs: Unmanaged SHA1 implementation.
svn path=/trunk/mcs/; revision=11259
* Mono.Security.Win32.build: New. NAnt build file. As this
assembly works only on Windows there are no makefile.gnu.
* README: New. Describe how to use (and not to use) this
assembly.
svn path=/trunk/mcs/; revision=11258
* System.Runtime.Remoting.Channels.Tcp/TcpClientTransportSink.cs:
* System.Runtime.Remoting.Channels.Tcp/TcpMessageIO.cs:
* System.Runtime.Remoting.Channels.Tcp/TcpServerChannel.cs:
Change MessageType to MessageStatus so the code is
more clear
svn path=/trunk/mcs/; revision=11254
* marshal.c (mono_marshal_get_native_wrapper): only allocate an
array of pointers.
(mono_marshal_get_ldfld_wrapper): only generate necessary ldfld wrappers.
(mono_marshal_get_stfld_wrapper): only generate necessary stfld wrappers.
svn path=/trunk/mono/; revision=11242
* object.c (mono_store_remote_field_new): used by the new jit
instead of mono_store_remote_field
(mono_load_remote_field_new): used by the new jit
instead of mono_load_remote_field
svn path=/trunk/mono/; revision=11241
* appdomain.c: changed unload to take the domain id instead
of domain
* icall.c: changed icall for AppDomain.Unload to AppDomain.InternalUnload
svn path=/trunk/mono/; revision=11237
* CryptoConfig.cs: Added initital support for "machine.config"
(limited to algorithms, not OIDs). Modified CreateFromName to use
the fully qualified class names (and removed xmldsig hack). Added
algorithm names documented in book ".NET Framework Security".
svn path=/trunk/mcs/; revision=11228
Modified the symbol file format to speed up method looks by name
and cleaned this up a lot.
* MonoSymbolFile.cs: New public class. This is now a public class
and writes and reads the symbol file.
* IMonoBinaryReader.cs: Removed.
* MonoSymbolTable.cs: Set version number to 29.
svn path=/trunk/mcs/; revision=11223
* FileTest.cs: Have setup remove files before testing as well in case
tests were interrupted before TearDown could be called in a previous
run. Also test for specific exception in TestGetCreationTime ().
svn path=/trunk/mcs/; revision=11209
* configure.in: added check for sys/un.h.
* mono/metadata/socket-io.c: support AF_UNIX and use the same layout as
MS, not the one they documented (bytes 0 and 1 are the family).
svn path=/trunk/mono/; revision=11207
* ReturnMessage.cs: Removed internal dependence to MonoMethodMessage. It is not needed now.
* MonoMethodMessage.cs: Now only has method call keys in the dictionary.
* MethodReturnDictionary.cs, MethodCallDictionary.cs: Made public the list of
method keys. This list is used in MessageFormatter.
* MethodDictionary.cs: Corrected some minor bugs.
* MethodCall.cs: minor correction on constructor.
svn path=/trunk/mcs/; revision=11199
* LeaseSink.cs: implemented renewal of lease.
* Lease.cs: Added. It is an implementation of ILease.
* LeaseManager.cs: Added. Tracks lifetime of remote objects.
svn path=/trunk/mcs/; revision=11198
* ServerIdentity.cs: added. Implements identity funtionality specific to server objects
* RemotingServices.cs: Modified to work with new types of identities.
* RemotingConfiguration.cs: Modified to work with new types of identities.
* ObjRef.cs: Added initialization of channel info in default constructor.
* Identity.cs: Added support for WellKnownService objects.
svn path=/trunk/mcs/; revision=11196
* reflection.c: added support for SignatureHelper tokens, which is
needed by the Calli opcode.
* reflection.h: track changes to SignatureHelper class.
* metadata.c (mono_metadata_parse_signature): handle dynamic tokens.
svn path=/trunk/mono/; revision=11192
* PasswordDeriveBytesTest.cs: Added some new tests to complete
coverage.
* RSAPKCS1SignatureDeformatterTest.cs: Added test for null and
invalid hash algorithm.
svn path=/trunk/mcs/; revision=11188
* PasswordDeriveBytes.cs: Finally got the derivation right. The
class can now derive keys up to 1000 * HashSize (same limit as MS).
* RSAPKCS1SignatureDeformatter.cs: No need to create the hash object
in this class - the OID is enough.
svn path=/trunk/mcs/; revision=11187
* rootcontext.cs : added RootNamespace member
* mb-parser.jay : use RootContext.RootNamespace to initialize outermost namespace
* driver.cs :
- implement rootnamespace parameter, and defaults it to the output file name
- like vbc if no source file name is provided just show help
svn path=/trunk/mcs/; revision=11179
* RemotingServices.cs:
(GetMethodBaseFromMethodMessage): fixed to make it also work with
internal methods without MethodSignature (see ApplicationHost.cs).
svn path=/trunk/mcs/; revision=11178
* corlib.build: fixes so corlib_cmp and corlib_res builds, need to
check if we need the libs and if they still are correct.
svn path=/trunk/mcs/; revision=11169
* MethodResponse.cs: Implemented
* MethodCall.cs: added support for Cross appdomain messages, implemented some
missing methods.
* MethodDictionary.cs: made serializible and added methods to get internal properties.
* MonoMethodMessage.cs: internal dictionary is now serializible
* ReturnMessage.cs: made serializible
* ErrorMessage.cs: typo fix
* CADMessage.cs: new file, implements cross appdomain messages, both call and return.
Princip of this classes is to move unmutable objects and primitivs between appdomains
without marshalling. This increase performance a lot of the cross appdomain channel.
svn path=/trunk/mcs/; revision=11161
* RealProxy.cs: changed excption behavior and added serialization helpers,
changed so it don't create a new TP for each gettp call.
* RemotingProxy.cs: added functions to short cut calls to GetHashCode and GetType,
same behavior as MS.
svn path=/trunk/mcs/; revision=11157
* appdomain.[c|h], domain.c :
- Added support for getting a domain via domain id
- Support for setting and getting domain from System.AppDomain
(used in cross appdomain channel)
- Added support for get/set for a MonoAppContext on a thread
(Context class in System.Runtime.Remoting.Contexts),
- Removed hack in Get/SetData and ExecuteAssembly.
* icall.c : renamed GetTransparantProxy to InternalGetTransparantProxy to allow
the managed world to get control when a proxy is created.
* icall.c (ves_icall_InternalExecute) : bug fix, must return empty array
svn path=/trunk/mono/; revision=11156
* System.Web.Compilation/AspParser.cs: the parser fires events when it
parses an element.
* System.Web.UI/SimpleWebHandlerParser.cs:
* System.Web.Compilation/GlobalAsaxCompiler.cs:
* System.Web.Compilation/PageCompiler.cs:
* System.Web.Compilation/UserControlCompiler.cs:
* System.Web.Compilation/AspElements.cs: modified to use the new parser
interface.
* System.Web.Compilation/AspGenerator.cs: modified to use the new
parser. Merge multiple text strings into one single LiteralControl.
* System.Web.Compilation/AspTokenizer.cs: added Line and Column properties.
svn path=/trunk/mcs/; revision=11146
* debug.c (mono_debug_add_wrapper): Lookup the wrapper method in a
hash table; we need to provide the correct code_size.
svn path=/trunk/mono/; revision=11137
* jit.c (mono_jit_compile_method): Call mono_debug_add_wrapper()
to add the interncall to the symbol file.
* debug.c (mono_debug_add_wrapper): New public function.
svn path=/trunk/mono/; revision=11126
* Class.cs: Test for entry point of methods, and set Assembly entrypoint
* CodeGen.cs: Add method to set an Assemblys entry point
* Method.cs: Add IsEntryPoint property
* Method.cs Add MethodInfo property, and set this while Emiting
* Instructions.cs: Add new InstrCall instruction
svn path=/trunk/mcs/; revision=11118
* AsymmetricSignatureFormatter.cs: Call abstract SetHashAlgorithm
when CreateSignature(hash) is called.
* CryptoStream.cs: Fixed some issues in constructor.
* DSACryptoServiceProvider.cs: Fixed a bug (1 chance in 256) that
a signature could be less than 40 bytes (which is invalid).
svn path=/trunk/mcs/; revision=11107
* Modules.cs: Oups - not implemented. Added MonoTODO to most methods
so it's real status get reflected correctly on the web site.
svn path=/trunk/mcs/; revision=11106
grammar (even if it still needs a hook in the parser).
Event declaration has been added
Fixed a few bugs in the grammar and in FixuPtypes, a helper function used
to declare fields and local vars.
svn path=/trunk/mcs/; revision=11091
* MemoryStream.cs: use BlockCopyInternal instead of Array.Copy, this is
the same way as MS does it (performance improvement)
svn path=/trunk/mcs/; revision=11077
* ArrayList.cs (RemoveAt): duplicated the the code from RemoveRange
here, since RemoveAt raises a different exception than RemoveRange
when the index is out-of-range. Fixes the ArrayList unit tests.
* ArrayList.cs (RemoveRange): fixed indentation.
svn path=/trunk/mcs/; revision=11075
* X509CertificateCollection.cs: Replaced the use of the private
ArrayList by the protected InnerList (from CollectionBase) so
Count property now works.
svn path=/trunk/mcs/; revision=11072
* TimeZoneTest.cs: Added "Eastern Standard Time" to the test.
This won't be complete until all time zone are added (added a
Fail for unsupported TimeZones).
svn path=/trunk/mcs/; revision=11071
* StringBuilder.cs: fix the constructor: 'value' can be NULL,
'capacity' must be >=0, use defaultCapacity only if capacity equals 0.
This fixes the StringBuilder unit tests.
svn path=/trunk/mcs/; revision=11069
* ExpressionElement.cs: Added new file. This file is for parsing
and DataData.Select () -methods and DataColumn.Expression -property
* DataTable.cs: Implemented Select(string) -method
svn path=/trunk/mcs/; revision=11060
* ByteTest.cs: Updated Setup to support my Locale. Better but
probably still incomplete.
* DoubleTest.cs: Updated Setup to support my Locale. You can now
use a comma (or anything else) instead of a dot (.).
* ConvertTest.cs: Updated TestToDecimal and TestToDouble to
support my Locale. You can now use a comma (or anything else)
instead of a dot (.).
svn path=/trunk/mcs/; revision=11037
* BrowsableAttribute.cs: this attribute applies to All. Since the fix
to bug #37380, mcs complained about this when compiling System.Data.
svn path=/trunk/mcs/; revision=11036
* System/MonoCustomAttrs.cs: fixed shortcut in GetCustomAttributes.
The argument ICustomAttributeProvider can be of other types different
from Type. Handle it.
* System.Reflection/MonoMethod.cs: implemented GetBaseDefinition ().
* System.Reflection.Emit/MethodBuilder.cs: GetBaseDefinition () returns
this.
Fixes bug #37380.
svn path=/trunk/mcs/; revision=11035
* MonoMethod.cs: Added support for serialization for MonoMethod and MonoCMethod
* ReflectionSerializationHolder.cs: Support class for serialization
svn path=/trunk/mcs/; revision=11030
* Directory.cs (GetFileSystemEntries): moved error handling to the
correct instance of GetFileSystemEntries so all callers can enjoy it.
svn path=/trunk/mcs/; revision=11029
* makefile.gnu: compile and run with debugging enabled.
* makefile.gnu: added SUBDIR variable to enable building a subset of
the tests, saving on compilation time during development.
* run_test.sh: updated to nunit2.
svn path=/trunk/mcs/; revision=11028
* System.Web/HttpRequest.cs: added BaseVirtualDir property and use it
in MapPath.
* System.Web.UI.HtmlControls/HtmlControl.cs: _tagName is now internal.
* System.Web.UI.HtmlControls/HtmlGenericControl.cs: use the field in
HtmlControl to keep the tag name.
* System.Web.Util/UrlUtils.cs: fixed Combine ().
svn path=/trunk/mcs/; revision=11027
* RemotingConfiguration.cs: Implemented most of methods (Configure is not working yet).
* ObjRef.cs: Added initialization of channel info in default constructor.
* Identity.cs: Added support for WellKnownService objects.
svn path=/trunk/mcs/; revision=11020
* marshal.c, marshal.h: use larger integers in mono_mb_emit_add_to_local()
to avoid overflows (bug spotted and fixed by Jerome Laban <[email protected]>).
svn path=/trunk/mono/; revision=11002
* Npgsql.build: got it to work for Windows build
* Npgsql/Npgsql.build
* Npgsql/Npgsql.cmbx
* Npgsql/Npgsql.prjx: removed files not needed
svn path=/trunk/mcs/; revision=11001
* added the Npgsql (Npgsql is a .Net Data Provider for PostgreSQL)
from http://gborg.postgresql.org/project/npgsql/projdisplay.php
by adding the following files and directories to the mcs module
in mono-cvs.ximian.com at mcs/class:
Npgsql (directory)
ChangeLog
Makefile
Npgsql.build
RELEASENOTES.txt
TODO.txt
makefile.gnu
LICENSE.txt
README.txt
STATUS.txt
list
Npgsql/Npgsql (directory)
Npgsql/AssemblyInfo.cs
Npgsql/NpgsqlAsciiRow.cs
Npgsql/NpgsqlBackEndKeyData.cs
Npgsql/NpgsqlClosedState.cs
Npgsql/NpgsqlCommand.cs
Npgsql/NpgsqlConnectedState.cs
Npgsql/NpgsqlConnection.cs
Npgsql/NpgsqlConnector.cs
Npgsql/NpgsqlConnectorPool.cs
Npgsql/NpgsqlDataAdapter.cs
Npgsql/NpgsqlDataReader.cs
Npgsql/NpgsqlEventLog.cs
Npgsql/NpgsqlException.cs
Npgsql/NpgsqlMediator.cs
Npgsql/NpgsqlMessageTypes.cs
Npgsql/NpgsqlParameter.cs
Npgsql/NpgsqlParameterCollection.cs
Npgsql/NpgsqlPasswordPacket.cs
Npgsql/NpgsqlQuery.cs
Npgsql/NpgsqlReadyState.cs
Npgsql/NpgsqlResultSet.cs
Npgsql/NpgsqlRowDescription.cs
Npgsql/NpgsqlStartupPacket.cs
Npgsql/NpgsqlStartupState.cs
Npgsql/NpgsqlState.cs
Npgsql/NpgsqlTransaction.cs
Npgsql/PGUtil.cs
svn path=/trunk/mcs/; revision=11000
* configure.in: added WIN32_THREADS flag when building under windows.
It seems that the header files of the gc do not always define it when
GC_WIN32_THREADS is defined.
svn path=/trunk/mono/; revision=10993
* DateTime.cs: fix FromFileTime so the time returned by
File::GetLastModificationTime etc. is in the correct timezone.
svn path=/trunk/mcs/; revision=10985
* RemotingSurrogateSelector.cs: Added serialization support for MBR's.
* RemotingSurrogate.cs: Moved ObjRefSurrogate and MBRSurrogate to new file.
* ErrorMessage.cs: Dummy used when an exception occours.
* MonoMethodMessage.cs: Added Serializable and support for be created with null methods
svn path=/trunk/mcs/; revision=10979
* ArrayTest.cs: Avoid nulls in arrays. This crashes mono.
* ConsoleTest.cs: Ignore some tests that hang mono.
* ConvertTest.cs: Ignore some tests that hang mono.
svn path=/trunk/mcs/; revision=10969
* exception.c (ves_icall_get_trace): avoid crash if the exception is
not yet thrown.
* exception.c (ves_icall_get_trace): avoid crash on unmanaged frames.
svn path=/trunk/mono/; revision=10960
* icall.c: (ves_icall_System_CurrentTimeZone_GetTimeZoneData): raise an
exception instead of going into an infinite loop on dates which it
can't yet handle.
* string-icalls.c (ves_icall_System_String_get_Chars): raise
out-of-range exception if needed.
* class.c (mono_class_setup_vtable): allow a virtual method to provide
an implementation for an interface method and to override an inherited
method at the same time.
Imagine a scenario when a virtual method is used to override a
virtual abstract method in a parent class, and this same method
provides an implementation for an method inherited from an interface.
In this case, the interface resolution code will set im->slot, which
means that the virtual method override pass will skip this method
which means a pointer to the abstract method inherited from the parent
will remain in the vtable of this non-abstract class.
* class.c: (mono_class_setup_vtable): continue search for a real
method if only an abstract method is found.
svn path=/trunk/mono/; revision=10959
* IListControl.cs : A private class hacked.
* PagedControl.cs : Fixed typo error (OnPageChange)
* List.cs : Stubbed almost all methods. Will
implement tommorrow. Time to sleep.
* MobileListItemCollection.cs
: Finally, a collection class will bite
me all. ;-)
svn path=/trunk/mcs/; revision=10955
* List.cs, PagedControl.cs
: Was I drunk? or Sleeping when I wrote
the classes? I mixed up the methods.
Reorganizing.
* PagedControl.cs : Completed.
svn path=/trunk/mcs/; revision=10954
* class.c (mono_class_setup_vtable): pass the override info as an
argument.
* class.c (mono_class_setup_vtable): set the slot of overriding methods
correctly.
* reflection.c (ensure_runtime_vtable); add support for method
overrides.
svn path=/trunk/mono/; revision=10949
* reflection.c (resolution_scope_from_image): Hack to work to work with
dynamic assemblies.
* reflection.c (mono_image_typedef_or_ref): renamed to ..._aux and
added a 'force_ref' argument to force this function to allways return
a TypeRef. This is needed by mono_image_get_memberref_token ().
svn path=/trunk/mono/; revision=10948
* reflection.c (mono_image_get_type_info): interfaces really don't have
a parent.
* reflection.c (mono_image_basic_init): fill out missing fields of
image structure.
* reflection.c (mono_image_basic_init): Invoke assembly load hooks for
dynamic assemblies. This is required so dynamic assemblies show up in
AppDomain.GetAssemblies (), emit an AssembyLoadEvent, gets searched by
Type::GetType() etc. This is consistent with MS behaviour.
* image.c image.h reflection.c: add newly created classes to the name
cache so mono_class_get () will find them.
svn path=/trunk/mono/; revision=10946
First part of changes to get IKVM.NET running under mono.
* appdomain.h, appdomain.c: added new function
mono_domain_try_type_resolve() which will emit TypeResolve events.
This function will call AppDomain::DoTypeResolve to do the actual work.
* class.h, class.c, loader.c, object.c, reflection.h, reflection.c:
moved existing code dealing with dynamic tokens to a new function
called mono_reflection_lookup_dynamic_token (). This function will
raise TypeResolve events when appropriate. Since reflection.c is not
part of libmetadata, a new hook function called
mono_lookup_dynamic_token() is added to class.c which will call this.
* assembly.h assembly.c: make the invoke_load_hook function public,
so it can be called for dynamic assemblies.
* icall.c (ves_icall_System_Runtime_CompilerServices_RuntimeHelpers_RunClassConstructor): skip interfaces since they do not have initializers.
* icall.c (ves_icall_type_from_name): emit a TypeResolve event if the
type isn't found.
* reflection.c reflection.h: change MonoDynamicAssembly.tokens to a
MonoGHashTable, since it contains pointers to objects which the GC
needs to track.
* assembly.c (search_loaded): remove unused variable.
svn path=/trunk/mono/; revision=10944
* expression.cs (IndexerAccess.DoResolve): Before trying to resolve
any indexer, it's needed to build a list with all the indexers in the
hierarchy (AllGetters), else we have problems. Fixes#35653.
svn path=/trunk/mcs/; revision=10932
* AssemblyBuilder.cs (Save): Set the executable bit at the end.
This uses a non-official enumeration value to call SetFileAttributes.
svn path=/trunk/mcs/; revision=10928
* io.c (SetFileAttributes): This routine is not currently
implemented for the general case, but I added a special case to
set the executable bit on Linux.
svn path=/trunk/mono/; revision=10926
* System.Data/DataColumn.cs: fix to not check for DataType being set
* System.Data/DataRow.cs: misc fixes
* Test/SqlTest.cs: accept connection parameters from
command line instead of being hard coded
* Test/System.Data_test.build: exclude building SqlTest.cs
* Test/System.Data/DataRowTest.cs
* Test/System.Data/DataColumnTest.cs: added new tests and numbered
all the tests so they can be easily identified
* Test/System.Data/DataRelationTest.cs: commented code that calls
DataSet's BeginEdit() and EndEdit() which causes a compile error
svn path=/trunk/mcs/; revision=10916
* DbEnumerator.cs: why does the runtime throw an invalid cast here? The
object is an Int16... Gotta fill a bug report and when fixed undo this
patch.
svn path=/trunk/mcs/; revision=10914
* DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
CreateColumnSet. Set the owner of the column when auto generated.
In PrepareControlHierarchyForItem, fixed for loop bound.
* LinkButtonInternal.cs: fixed infinite recursion bug.
Fixes bug #37124.
svn path=/trunk/mcs/; revision=10910
* threads.c (start_wrapper): Moved the initialization of
`start_func' above the mono_new_thread_init() call to which we
pass it as argument.
svn path=/trunk/mono/; revision=10886
* System.Data/DataColumn.cs: fixes to be like .NET -
when setting AllowDBNull to false, determine if there is
any data that has DBNull.Value, implement AutoIncrement, do not
allow changing the DataType of the column if data has already been
set, check if the DataType is supported,
* System.Data/DataColumnCollection.cs: handle default ColumnName
like .NET
* System.Data/DataRow.cs: fixes to be like .NET - a
data column gets initialized to all DBNull.Values not null,
implement AutoIncrement, when setting ItemArray if the item array being
set has less items than the number of columns in the table set those last
columns to DBNull.Value, after setting ItemArray values do an EndEdit(),
both a null and DBNull.Value get set to a DBNull.Value, only use DefaultValue
and AutoIncrement if the value is set to null while DBNull.Value only gets set
to DBNull.Value
svn path=/trunk/mcs/; revision=10882
* ObjectReader.cs (ReadNextObject): Call
RaiseDeserializationEvent() on the ObjectManager when we're done
reading the whole graph.
svn path=/trunk/mcs/; revision=10873
* Math.cs: Remove Pow's implementation body as it was wrong. The
C code does the right thing. The code was trying to handle a
number of cases, and that was incorrect.
svn path=/trunk/mcs/; revision=10869
* UniqueConstraint.cs: Do not set columns Unique property true
as a default.
* ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
svn path=/trunk/mcs/; revision=10867
* XslTransform.cs: don't free the xml document used for the style sheet.
xmlFreeStylesheet already does it. Correctly close the element tag for
elements that don't have children. Added a couple of checks more.
svn path=/trunk/mcs/; revision=10858
Cast functions (CStr(), CBool(), etc) supported
ByRef parameters now work
A few fixes for optional parameters and structure declaration
String concatenation operator supported (to be debugged)
svn path=/trunk/mcs/; revision=10849
* XslTransform.cs: fixed a couple of Transform overloads and changed the
library name in DllImport to make it work on windows too.
svn path=/trunk/mcs/; revision=10841
Fixes bugs 34263 and 31333.
(All tests still behave the same way - 4 fails)
2003-01-23 Dick Porter <[email protected]>
* threads.c (start_wrapper): Create a Thread object if needed, so
the Main() thread can do the class initialisation in a subthread
that has been set up to allow managed code execution.
Pass the thread ID instead of the MonoThread pointer to the thread
start and attach callbacks. This change is required, because the
jit thread start callback must be called _before_ the Thread
object can be created.
(mono_thread_init): Removed much object creation code that is no
longer needed. No managed code is called from here now.
* object.c (mono_runtime_exec_managed_code): Create a subthread
for Main, and call back to the runtime to use it.
Set the exit code when Main exits.
* gc.c: Make sure domain finalisation happens in a subthread.
Re-enable threaded GC, fixing bug 31333 (again).
* environment.c: System.Environment internall calls (so far just
ExitCode is here, the others are still in icall.c)
* appdomain.c (mono_runtime_cleanup): All threads running managed
code should have finished before mono_runtime_cleanup() is
reached, so no need to clean up threads.
2003-01-23 Dick Porter <[email protected]>
* mono.c: Use mono_runtime_exec_managed_code() to run all managed
code in a subthread.
* jit.c: Changed thread start and attach callbacks to pass the
thread ID, not the MonoThread pointer. Arrange that managed code
execution will fail an assertion in the main thread, just to be
sure.
2003-01-23 Dick Porter <[email protected]>
* interp.c: Use mono_runtime_exec_managed_code() to run all
managed code in a subthread.
svn path=/trunk/mono/; revision=10838
This is a compiler for the MonoBASIC language,
which is a superset of Visual Basic.NET
Usage: mbas [options] SOURCE-FILES
Options:
-? --help Show this help list
--about About the MonoBASIC compiler
--addmodule=PARAM [NOT IMPLEMENTED YET]Reference metadata from specified module
--baseaddress=PARAM [NOT IMPLEMENTED YET]The base address for a library or module (hex)
--bugreport=PARAM [NOT IMPLEMENTED YET]Create bug report file
--checked [Mono] Set default context to checked
-d --define=PARAM [NOT IMPLEMENTED YET]Declares global conditional compilation symbol(s). symbol list:name=value,...
--debug Emit debugging information
--debug-args=PARAM [Mono] Debugger arguments
--debug:full Emit full debugging information (default)
--debug:pdbonly [IGNORED]Emit PDB file only
--delaysign [NOT IMPLEMENTED YET]Delay-sign the assembly using only the public portion of the strong name key
--fatal [Mono] Makes errors fatal
--ignorewarn=PARAM [Mono] Ignores warning number PARAM
--imports=PARAM [NOT IMPLEMENTED YET]Declare global Imports for namespaces in referenced metadata files. import list:namespace,...
--keycontainer=PARAM [NOT IMPLEMENTED YET]Specifies a strong name key container
--keyfile=PARAM [NOT IMPLEMENTED YET]Specifies a strong name key file
--libpath=PARAM [NOT IMPLEMENTED YET]List of directories to search for metada references (semi-colon delimited)
--linkpaths=PARAM [Mono] Adds path to the assembly link path
--linkresource=PARAM [NOT IMPLEMENTED YET]Adds the specified file as an embedded assembly resource
-m --main=PARAM Specifies the Class or Module that contains Sub Main.It can also be a Class that inherits from System.Windows.Forms.Form.
--noconfig [Mono] Disables implicit references to assemblies
--nologo [NOT IMPLEMENTED YET]Do not display compiler copyright banner
--nostdlib [Mono] Don't assume the standard library
--nowarn Disable warnings
-o --out=PARAM Specifies the output file name
--optimize [NOT IMPLEMENTED YET]Enable optimizations
--optioncompare:binary [NOT IMPLEMENTED YET]Specifies binary-style string comparisons. This is the default
--optioncompare:text [NOT IMPLEMENTED YET]Specifies text-style string comparisons.
--optionexplicit [NOT IMPLEMENTED YET]Require explicit declaration of variables
--optionstrict [NOT IMPLEMENTED YET]Enforce strict language semantics
--parse [Mono] Only parses the source file (for debugging the tokenizer)
--quiet [NOT IMPLEMENTED YET]Quiet output mode
--recurse=PARAM [NOT IMPLEMENTED YET]Include all files in the current directory and subdirectories according to the wildcard
--removeintchecks [NOT IMPLEMENTED YET]Remove integer checks. Default off.
--resource=PARAM Adds the specified file as an embedded assembly resource
--rootnamespace=PARAM [NOT IMPLEMENTED YET]Specifies de root namespace for all type declarations
-r --reference=PARAM References metadata from the specified assembly
--stacktrace [Mono] Shows stack trace at Error location
--target=PARAM Specifies the target type for the output file (exe [default], winexe, library, module)
--timestamp [Mono] Displays time stamps of various compiler events
--tokenize [Mono] Only tokenizes source files
--unsafe [Mono] Allows unsafe code
--usage Show usage syntax and exit
--utf8output [NOT IMPLEMENTED YET]Emit compiler output in UTF8 character encoding
-v --verbose Display verbose messages
--warnaserror Treat warnings as errors
--win32icon=PARAM [NOT IMPLEMENTED YET]Specifies a Win32 icon file (.ico) for the default Win32 resources
--win32resource=PARAM [NOT IMPLEMENTED YET]Specifies a Win32 resource file (.res)
--wlevel=PARAM [Mono] Sets warning level (the highest is 4, the default)
svn path=/trunk/mcs/; revision=10833
* System/System.Net.Sockets/NetworkStream.cs: the check for disposed
should not be done in the finally clause.
* corlib/System.IO/BufferedStream.cs: don't try to write a 0 sized
array on when flushing the stream.
Fixes bug #37045.
svn path=/trunk/mcs/; revision=10825
* debug.c: Reverted Gonzalo's last change since it is wrong.
We're also using the debugging code on Windows, for instance the
stabs stuff when running in gdb. I hope this code still builds on
Windows; if not, we need to fix this.
Moved all the mono debugger support code into the debugger itself;
when debugging a managed application, the debugger new launches a
small unmanaged wrapper application which contains this stuff.
* debug.h (MonoDebuggerIOLayer): New public typedef; this is just
initialized to an array of function pointers to the io-layer
function; they don't seem to be public in the `libmono' library.
(mono_debugger_event): New public function. Sends the debugger an
event if we're running in the Mono Debugger and does nothing otherwise.
* mono.c: Don't initialize the Mono Debugger here.
* jit.c (mono_debug_insert_breakpoint): Removed, this isn't used anymore.
(mono_thread_start_cb, mono_thread_attach_cb): Call
mono_debugger_event() to send the debugger a callback.
svn path=/trunk/mono/; revision=10807
* appdomain.h (MonoThreadStartCB): Added `MonoThread *thread' and
`gpointer func' arguments.
(MonoThreadAttachCB): New typedef; like the old MonoThreadStartCB,
but added `MonoThread *thread' argument.
(mono_runtime_init): The last argument is now a MonoThreadAttachCB.
* threads.c (mono_new_thread_init): Added `gpointer func' argument
and pass it to the mono_thread_start_cb callback.
(mono_install_thread_callbacks): New public function to install a
set of callbacks which are set by the debugger.
(mono_thread_init): The last argument is now a MonoThreadAttachCB.
svn path=/trunk/mono/; revision=10806
2003-01-16 Martin Baulig <[email protected]>
Added special support for the Mono Debugger to send it a
notification each time a thread is created or exited.
* timed-thread.h (TimedThread): Added `pid' and `start_sem'.
* timed-thread.c (timed_thread_start_routine): If
`mono_debugger_threads_debug' is non-zero, set `thread->pid' and
post the `thread->start_sem'.
(_wapi_timed_thread_create): If `mono_debugger_threads_debug' is
non-zero, wait for the `thread->start_sem' before returning.
* threads.c (mono_debugger_threads_debug): New global variable
which is set by the Mono Debugger.
(mono_debugger_thread_info): New global variable.
(update_debugger_thread_info): When running inside the Mono
Debugger (`mono_debugger_threads_debug' is non-zero), update the
`mono_debugger_thread_info' array. This function is called (while
owning the `thread_hash_mutex') each time the `thread_hash' is
modified.
svn path=/trunk/mono/; revision=10804
* configure.in: Set version number to 0.19.1.
Heads up: I'm going to commit some changes to the debugger
which'll require you to use this new runtime, so if you update the
debugger from CVS, you also need this new runtime.
svn path=/trunk/mono/; revision=10803
* XslTransform.cs: implemented all Load and Transform methods. It uses
libxml2 and libxslt. No more temp files. It's slow and memory consuming,
but, well, that's XSLT... ;-). Idea from Zdravko Tashev.
Now the Xsl web control works.
svn path=/trunk/mcs/; revision=10800
* System.Xml/XmlTextWriter.cs: throw an exception if WriteEndDocument is
called without a prior call to WriteStartDocument.
svn path=/trunk/mcs/; revision=10799
* AspGenerator.cs:
* BaseCompiler.cs:
* CachingCompiler.cs: changes to work around spaces and
directory-separators in the local filesystem.
svn path=/trunk/mcs/; revision=10780
* added the following fix from Jackson Harper <[email protected]>
* class.c (mono_ptr_class_get): correctly set access levels of pointers
(mono_array_class_get): correctly set access levels of arrays
svn path=/trunk/mono/; revision=10771
* debug.c (initialize_debugger_support): ifdef out the call to
mono_debugger_init_thread_debug for the release.
Someone should look into why its not defined. I think the problem
is what Dick pointed out somewhere: code in io-layer is not
supposed to ever be used in Windows, so code for the debugger that
lives there must be moved elsewhere.
svn path=/trunk/mono/; revision=10746
* Tds70.cs:
(FormatParameter): send input/output parameter names. This way we don't
depend on the parameter position being different of the index in the
parameter collection.
svn path=/trunk/mcs/; revision=10735
* System.Web.Compilation/AspGenerator.cs: removed unused variable. Added
support for properties/fields of type string [].
* System.Web.UI.WebControls/DataList.cs: handle the exception when
adding new keys to DataKeysArray.
svn path=/trunk/mcs/; revision=10734
* doc/ibmdb2: added file which is new web page
about IBM DB2 data provider at Mono.Data.DB2Client
* makefile
* commands: added ibmdb2 web page to go-mono web site
* doc/ado-net: added a couple more developers email, plus made the
email spam resistant, added Mono's DB2 data provider to list,
added more info about the ProviderFactory and retrieving data using
ADO.NET from ASP.NET, add notes about testing, misc cleanup
* doc/mysql
* doc/postgresql
* doc/sqlclient
* doc/oracle
* doc/tdsclient
* doc/firebird
* doc/oledb
* doc/odbc
* doc/sybase
* doc/sqlite: added testing notes and C# examples
* doc/gtk-sharp: added links for GTK# for Windows
svn path=/trunk/mono/; revision=10712
* CryptoTools.cs: Added internal class BlockProcessor to help
implementation of block-based algorithms (like MAC and HMAC).
* HMACSHA1.cs: Refactored to remove dependencies on CryptoStream,
better constructors and Dispose support.
* MACTripleDES.cs: Refactored to reuse new HMACSHA1 stuff, better
constructors.
svn path=/trunk/mcs/; revision=10702
* IsolatedStorageFile.cs: Added missing [CLSCompliant(false)]
to CurrentSize and MaximumSize to fix compilation (at least
under Windows/csc).
svn path=/trunk/mcs/; revision=10701
* XmlNamespaceManager.cs : fundamental change of LookupPrefix to return
null when no matching uri.
* XmlElement.cs : removed unnecessary xmlns output.
* XmlNode.cs : GetPrefixOfNamespace fix along with the change above.
* XmlTextWriter.cs : LookupPrefix and WriteStartElementInternal fix
along with the change above, and moved timing of 'xmlns' output
to CloseStartElement.
* XmlWriter.cs: modified WriteStartAttribute, same as yesterday.
svn path=/trunk/mcs/; revision=10699
Well, a partial implementation, anyway. Enough of an implementation to run
example 21-17 from "Programming C#, 2nd Edition" (O'Reilly Press).
There are several issues remaining, such as proper behavior under Win32 (I'm
sure looking up the HOME environment variable won't be correct) and security
issues (docs suggest that isolated storage should have a limited size to
prevent DOS attacks, and that Isolated Storage is intended to be used by
untrusted apps).
This will suffice as a first pass of the code.
System.IO.FileStream changes are because IsolatedStorageFileStream needed to
override a virtual property, which FileStream didn't expose. (Rather odd,
that.)
svn path=/trunk/mcs/; revision=10694
* KeyInfo.cs: Changed some protected declaration to private.
* KeyInfoName.cs: Changed some protected declaration to private.
* KeyInfoNode.cs: Changed some protected declaration to private.
* KeyInfoRetrievalMethod.cs: Changed some protected declaration to private.
* KeyInfoX509Data.cs: Changed some protected declaration to private.
* Transform.cs: Changed some protected declaration to private.
* XmlDsigBase64Transform.cs: Changed some protected declaration to private.
* XmlDsigC14NTransform.cs: Changed some protected declaration to private.
* XmlDsigC14NWithCommentsTransform.cs: Changed some protected declaration to private.
* XmlDsigEnvelopedSignatureTransform.cs: Changed some protected declaration to private.
* XmlDsigXPathTransform.cs: Changed some protected declaration to private.
* XmlDsigXsltTransform.cs: Changed some protected declaration to private.
svn path=/trunk/mcs/; revision=10636
* cs-parser.jay: Small fix: we were not comparing the constructor
name correctly. Thanks to Zoltan for the initial pointer.
svn path=/trunk/mcs/; revision=10635
* ParameterInfo.cs: modified constructor so it allows the
ParameterBuilder to be null and add a 'position' argument which will
be used when pb is null.
* MethodBuilder.cs ConstructorBuilder.cs: modify GetParameters() so it
returns information even when the app did not use DefineParameter() to
define the parameters.
* ConstructorBuilder.cs (ctor): allways define SpecialName attribute
for constructors as done by MS.
svn path=/trunk/mcs/; revision=10631
Mono.Data.DB2Client/DB2ClientCommand.cs: ExecuteReader non executes a command against the DB, as it should
Mono.Data.DB2Client/DB2ClientConstants.cs: Added more constants, mostly for SQLDriverConnect.
Mono.Data.DB2Client/DB2ClientException.cs: Now can get all errors from the DB2 error stack.
Mono.Data.DB2Client/DB2ClientPrototypes.cs: Added SQLDriverConnect prototype.
Mono.Data.DB2Client/DB2ClientTransaction.cs: Changed to work with new handle returned from DB2CLientConnect.
svn path=/trunk/mcs/; revision=10629
* System.Web/HttpRequest.cs: implemented CurrentExecutionFilePath.
* System.Web.UI/Control.cs: some more tweaks to naming containers stuff.
* System.Web.UI/DataBinder.cs: don't throw exception if the container
is null.
* System.Web.UI/Page.cs: now we can render client scripts, startup
scripts and hidden fields. Only render __VIEWSTATE if there is someone
that will take care of it.
(RaisePostBackEvents): first try the last one that required raise event,
then try __EVENTTARGET.
* System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
* System.Web.UI.WebControls/BaseDataList.cs: what can I say for this
one? I spent so many time until I finally found this that I'm gonna
miss this f....g bug... ;-). Farewell. Now we can get events from
image buttons inside Data*.
* System.Web.UI.WebControls/DataList.cs: now the value stored in
ViewState for item count is correct.
svn path=/trunk/mcs/; revision=10627
* SurrogateSelector.cs: completed implementation.
* SerializationInfo.cs: corrected a bug in GetValue method.
* ObjectIDGenerator.cs: corrected a bug. Now it does not give the same
id for two different instances that return true when calling Equal.
svn path=/trunk/mcs/; revision=10615
* debug.c: Don't use mono_once here. Reworked the API a bit to
use `mono_debug_' and `debug_' for the general debugging API and
`mono_debugger_' and `debugger_' for the Mono Debugger stuff.
svn path=/trunk/mono/; revision=10608
"The buffer of a closed System.IO.MemoryStream is still available, and the
System.IO.MemoryStream.ToArray and System.IO.MemoryStream.GetBuffer methods
can be called successfully."
svn path=/trunk/mcs/; revision=10601
* Mono.Data.Db2Client/DB2ClientConnection.cs: added parsing and setting
of connection string values. Prior to this change, the server, username, and
authentication were hard-coded.
* Mono.Data.Db2Client/DB2ClientUtils.cs: prevent warning about
unreachable code
* Test/TestDB2Conn/TestDB2Conn.cs: modify test to accept
database, username, and password from command line. Also, test
a CREATE TABLE statement with ExecuteNonQuery()
svn path=/trunk/mcs/; revision=10595
* exception.[ch]:
(mono_get_exception_type_initialization): new function.
* object.c: throw a TypeInitializationException when an exception is
thrown invoking the class constructor.
svn path=/trunk/mono/; revision=10593
* makefile.gnu: added --unsafe command line option, needed for unsafe
code. The IBM DB2 provider now compiles on Mono.
svn path=/trunk/mcs/; revision=10585
* debug.c (debugger_thread_func): We don't need to `raise
(SIGSTOP)' anymore; the thread manager already takes care of this.
svn path=/trunk/mono/; revision=10581
* exception.c (arch_handle_exception): exclude runtime invoke
wrapper from the stack trace
* jit.c (mono_cfg_new): allocate extra space to store esp (used by exceptions)
(mono_thread_start_cb): save an additional LMF at thread start
svn path=/trunk/mono/; revision=10577
* jit.c (mono_runtime_install_handlers): Use SYS_sigaction() for
the mono_thread_get_abort_signal () - this is SIGUSR1 on FreeBSD
and the LinuxThreads port doesn't allow you to override the handler.
[FIXME: This avoids an assertion failure on startup, but there's
still an issue with thread termination.]
svn path=/trunk/mono/; revision=10576
* configure.in (GTHREAD_LIBS, GTHREAD_CFLAGS): Removed the gthread
check again, we're now using the mono/io-layer for this.
svn path=/trunk/mono/; revision=10575
Added special support for the Mono Debugger to send it a
notification each time a thread is created or exited.
* timed-thread.h (TimedThread): Added `pid' and `start_sem'.
* timed-thread.c (timed_thread_start_routine): If
`mono_debugger_threads_debug' is non-zero, set `thread->pid' and
post the `thread->start_sem'.
(_wapi_timed_thread_create): If `mono_debugger_threads_debug' is
non-zero, wait for the `thread->start_sem' before returning.
* threads.c (mono_debugger_threads_debug): New global variable
which is set by the Mono Debugger.
(mono_debugger_thread_info): New global variable.
(update_debugger_thread_info): When running inside the Mono
Debugger (`mono_debugger_threads_debug' is non-zero), update the
`mono_debugger_thread_info' array. This function is called (while
owning the `thread_hash_mutex') each time the `thread_hash' is
modified.
svn path=/trunk/mono/; revision=10573
* Control.cs: fixes in UniqueID, FindControl, AddedControl,
UnloadRecursive, InitRecursive. Reduced the size of __VIEWSTATE. Made
FindControl work with NamingContainers.
* ControlCollection.cs: notify the parent when clearing the collection.
* LosFormatter.cs: Added debugging output and generate a valid
viewstate even for unknown types.
* Page.cs: GetPostBackEventReference now uses UniqueID. Reduced
viewstate.
svn path=/trunk/mcs/; revision=10569
* HttpContext.cs: store the errors in an arraylist instead of an array.
* HttpRequest.cs: bah.
* HttpRuntime.cs: display last error in the context.
svn path=/trunk/mcs/; revision=10567
* icall.c:
(ves_icall_type_from_name): make it work as MS. Ie, if no assembly name
provided, look for the type in the calling assembly and then in
mscorlib; if the assembly name is provided, only try that one.
svn path=/trunk/mono/; revision=10556
* cs-parser.jay: Only perform the constructor checks here if we
are named like the class; This will help provider a better
error. The constructor path is taken when a type definition is
not found, but most likely the user forgot to add the type, so
report that rather than the constructor error.
svn path=/trunk/mcs/; revision=10548
Displayers (Console, Gtk#, System.Windows.FOrms) are under the `displayers'
directory.
Finders (How nodes are found) are under the `finders' directory.
Formatters (how nodes are displayed) are under the `formatters' directory.
Miguel did the actual movement of CVS files so that file history wouldn't be
lost. Hence no corresponding "cvs add" for this "cvs remove".
svn path=/trunk/mcs/; revision=10531
* jit.c (mono_jit_compile_method): make sure runtime_init is called
(mono_analyze_stack): make sure runtime_init is called
svn path=/trunk/mono/; revision=10502
* debug.c (debugger_update_symbol_file_table): Moved all the
functionality into debugger_update_symbol_file_table_internal();
the latter one will be called from the background thread while
already owning the lock. This'll allow us to step into
debugger_update_symbol_file_table() in the debugger and debug it.
svn path=/trunk/mono/; revision=10494
* Makefile.am: Link against gthread.
* jit.c: After realizing that mono-mutex doesn't work either
because it doesn't support recursive mutexes on FreeBSD, rewrote
the whole thread stuff to use gthread. This seems to fix this
weird deadlock in the debugger as well.
svn path=/trunk/mono/; revision=10492
* ilasm/parser/ScannerAdapter.cs: Implement the new cleanup method
in the tokenizer. This fixes the build.
* skeleton.cs (cleanpup): Rename to cleanup to make it look more consistent.
* cs-tokenizer.cs (Cleanup): Rename to 'cleanup' to make it more
consistent with other methods.
svn path=/trunk/mcs/; revision=10471
* DateTimeTest.cs: Use 2003, since that' the year now. Need to work
on this test so we don't have it fail each new year.
svn path=/trunk/mcs/; revision=10451
* ArrayList.cs (RemoveRange): Patch for allowing zero-size
removal at the end of a list. It also cleans up the argument
checking code so the raised exceptions have the same message as
under MS.NET.
svn path=/trunk/mcs/; revision=10426
* HashAlgorithmTest.cs: Added new test for null streams.
* MACTripleDESTest.cs: New. Test suite par MAC using 3DES.
svn path=/trunk/mcs/; revision=10416
* MACTripleDES.cs: Now working (the problem was with my stream usage
which was removed for performance reason).
* TripleDES.cs: Fixed key generation (wasn't called and returned
null).
svn path=/trunk/mcs/; revision=10415
PropertyFormat properties).
Fix a bug where the ReflectionNodeFinder wouldn't display the value of static
properties (it was using an invalid instance reference).
svn path=/trunk/mcs/; revision=10372
* list.unix (CSharpCodeCompiler): Add
Microsoft.Charp.CSharpCodeCompiler for Sean Kasun.
* CSharpCodeCompiler.cs:
* CSharpCodeProvider.cs: Patch from Sean Kasun
<[email protected]> to implement CSharpCodeCompiler.
* CompilerErrorCollection.cs:
* CompilerParameters.cs: Patch from Sean Kasun
<[email protected]> implementing most of the MonoTODOs in
CompilerErrorCollection and the CompilerParameters overloads in CompilerParameters.cs.
svn path=/trunk/mcs/; revision=10362
* TypeBuilder.cs (DefineInitializedData): Call DefineNestedType()
instead of DefineType() so the auxiliary types do not pollute the
global namespace. This is consistent with the behaviour of MS .NET.
svn path=/trunk/mcs/; revision=10358
This allows ``type-reflector.exe'' (no arguments) to open a Gtk# window which
can be later used to open an Assembly.
svn path=/trunk/mcs/; revision=10336
doesn't require them.
For example, it's sensible for a GUI program to load without having any
assembly loaded, so there's no reason for assemblies/types to be specified.
This allows us to do:
type-reflector --displayer=gtk
And get an empty Gtk# window (which can be later filled by using
File->Open...).
svn path=/trunk/mcs/; revision=10335
namespace, partition into namespaces according to purpose. For example, all
formatters (CSharp, VB, Default, etc.) are moved to the
Mono.TypeReflector.Formatters namespace.
Similar things were done for finders and displayers.
svn path=/trunk/mcs/; revision=10330
* HttpApplication.cs: keep _lasterror if no context. Attach
application events *after* modules initialization (if not, User is not
set when the user handler is called).
* HttpApplicationFactory.cs: made all methods related to
AttachEvents static. I will fix OnStart/OnEnd for application and
session later.
* HttpRequest.cs: don't initialize cookies twice.
svn path=/trunk/mcs/; revision=10326
* RNGCryptoServiceProvider.cs: Changed methods interacting with
the runtime as Internal<MethodName>. This will allow to make the
class Windows-compatible by doing a switch at runtime.
svn path=/trunk/mcs/; revision=10324
* AppDomain.cs: implemented DoCallBack method.
* MonoType.cs:
(GetConstructorImpl): when the flag is BindingFlags.Default, set it to
Public, Instance.
NUnit2 tests start moving.
svn path=/trunk/mcs/; revision=10321
mono-hackers: how to provide support for what the build platform provides.
For example, if you're on Windows and have System.Windows.Forms but not Gtk#,
the default compile should give you System.Windows.Forms support and console
output.
If you're on Linux with Gtk# and no System.Windows.Forms, you should get Gtk#
support from the default compile.
Next trick: default to the GUI displayer, not the console displayer, if
--displayer isn't specified. I have no idea how to pull that off...
svn path=/trunk/mcs/; revision=10320
* Page.cs: make it fire the LoadData related events also for controls
such as ImageButton, whose variable(s) in the query string are of the
form ctrl_name.x and only fire them once per control.
svn path=/trunk/mcs/; revision=10318
- Exit partly implemented (behaves like 'break' in C#)
- Arrays working (still very buggy and work only if declared
statically - e.g. Dim MyArray(2,3) - but the plumbing is in place)
- Field and Local declarations have been re-coded in the grammar
svn path=/trunk/mcs/; revision=10316
HAVE_GUI_SWF) by placing this information within type-reflector.exe.config.
This also provides for user-provided formatters/finders/displayers. They
merely need to write a class and add it to the appropriate section.
svn path=/trunk/mcs/; revision=10315
* ecore.cs:
* expression.cs:
* typemanager.cs: fixes to allow mcs compile corlib with the new
Type.IsSubclassOf fix.
svn path=/trunk/mcs/; revision=10310
The biggest change is a System.Windows.Forms front-end. It doesn't look as
nice (visually) as the Gtk# front-end, but it's better because it works.
Mwa-ha-ha-ha. Err, sorry.
To be more specific, the Gtk# front-end works, but (at present) it must build
the entire tree at once, during initialization.
The swf front-end doesn't. When you attempt to expand a node, it's at *that*
point that it looks for sub-nodes, allowing you to use (for example) the
reflection finder (--finder=reflection) and start clicking lots of `+' signs
to get properties of properties of properties... (Make sure verbose output is
enabled to see what I mean.)
This is the approach I want Gtk# to ultimately follow, as soon as I figure out
how to do that (read: Gtk# allows me to do it cleanly).
svn path=/trunk/mcs/; revision=10297
* cs-parser.jay (fixed_statement): take a type instead of a
pointer_type, so we can produce a better error message later.
* statement.cs (Fixed.Resolve): Flag types that are not pointers
as an error.
svn path=/trunk/mcs/; revision=10294
* statement.cs: First populate the pinned variables, then emit the
statement, then clear the variables. Before I was emitting the
code once for each fixed piece.
svn path=/trunk/mcs/; revision=10291
* marshal.c (mono_marshal_get_icall_wrapper): like
mono_marshal_get_native_wrapper, but simpler and use a MonoMethodSignature
instead of a MonoMethod.
svn path=/trunk/mono/; revision=10282
* statement.cs (FlowBranching.CheckOutParameters): `struct_params'
lives in the same number space than `param_map'. Fixes#36154.
svn path=/trunk/mcs/; revision=10276
* DataGrid.cs: default value for ShowHeaders is true. Fixed style for
Header and Footer.
* DataGridColumn.cs: added SetOwner method.
* DataGridColumnCollection.cs: set the owner of the column when added.
svn path=/trunk/mcs/; revision=10272
* TypeDescriptor.cs: use ICustomTypeDescriptor if the component
implements it. It's done for GetProperties and should be done for the
rest of methods present in ICustomTypeDescriptor.
svn path=/trunk/mcs/; revision=10262
* list: added System.Data/DataTablePropertyDescriptor.cs
* System.Data/DataColumnPropertyDescriptor.cs: fixed typo.
* System.Data/DataViewManagerListItemTypeDescriptor.cs: added new
internal property to get the DataViewManager and removed TablePD class.
* System.Data/DataTablePropertyDescriptor.cs: TablePD class is now this
one as suggested by danmorg.
svn path=/trunk/mcs/; revision=10261
* cs-parser.jay (constructor_declaration): Set the
Constructor.ModFlags before probing for it. This makes the
compiler report 514, 515 and 132 (the code was there, but got
broken).
svn path=/trunk/mcs/; revision=10260
* statement.cs (Goto.Resolve): Set `Returns' to ALWAYS.
(GotoDefault.Resolve): Set `Returns' to ALWAYS.
(GotoCase.Resolve): Set `Returns' to ALWAYS. Fixes the test-49 problem on windows
svn path=/trunk/mcs/; revision=10257
* AspComponentFoundry.cs: reworked to allow same prefix for multiple
controls. You can register 1 assembly plus any number of user controls
under the same prefix.
* AspGenerator.cs: don't add duplicate 'using' for the same namespace.
Hack to allow @Register access to assemblies in other places than bin
directory.
svn path=/trunk/mcs/; revision=10225
* XmlDataLoader.cs: Moved diffgram stuff to new internal class
XmlDiffLoader.
* XmlDiffLoader.cs: new class for diffgrams. Added handling of
diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
svn path=/trunk/mcs/; revision=10220
* AspElements.cs: added 'codebehind' attribute for page, control and
application. It's ignored by MS, but allowed. Fixed typo.
svn path=/trunk/mcs/; revision=10217
* DataView.cs: made dataViewManager internal.
* DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
properties of the object, but the values of the columns present in a
row.
* DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
which returns a PropertyDescriptorCollection. Created a new class
derived from PropertyDescriptor that treats Table as an object whose
properties are DataRowView.
svn path=/trunk/mcs/; revision=10212
* debug.c: Correctly handle the `debugger_finished_mutex'; it is
only unlocked by the pthread_cond_wait() in mono_debugger_wait().
svn path=/trunk/mono/; revision=10199
* CryptoAPITransform.cs: Removed all TODO. This class will not be
used by Mono. MS uses it with <algo>CryptoServiceProvider classes
to provide a common ICryptoTransform access to CryptoAPI.
svn path=/trunk/mcs/; revision=10197
* COMException.cs: New. Minimal (incomplete - i'm not using COM)
implementation because this is thrown when dealing with Software
Publisher Certificates (SPC) in X509Certificate.
svn path=/trunk/mcs/; revision=10190
* Hash.cs: Added [Serializable] and ISerializable to class declaration.
Changed how the hash algorithm are created (now use system default
implementation). Added some exception handling.
svn path=/trunk/mcs/; revision=10189
* AspGenerator.cs: don't generate instance fields for pages/controls
when the base class specified in the Inherits attribute already has
them. Closes bug #36262.
svn path=/trunk/mcs/; revision=10167
* debug.c (mono_debugger_jit_exec): Custom version of mono_jit_exec();
this is used when we're running inside the Mono Debugger
(mono_debugger_wait): Put the waiting code into a function of its own.
* mono.c (main): Call mono_debugger_jit_exec() instead of
mono_jit_exec() if we're running inside the Mono Debugger.
svn path=/trunk/mono/; revision=10160
* debug.h (MonoDebugFormat): Added
`MONO_DEBUG_FORMAT_MONO_DEBUGGER'; this allows us to check whether
we're running inside the Mono Debugger prior to the args parsing.
svn path=/trunk/mono/; revision=10159
* System.Web/HttpApplication.cs: added new state to handle default
authentication.
* System.Web.Configuration/HttpModulesConfigurationHandler.cs: add
a default authentication module at the end of the list.
* System.Web.Configuration/ModuleItem.cs: new constructor.
* System.Web.Security/DefaultAuthenticationModule.cs: implemented. It
just create a default unauthenticated user when no one else provided one.
* System.Web.Security/FormsAuthenticationModule.cs: removed debug output.
* System.Web.UI/Control.cs:
(AddedControl): take the children to the same state of the parent.
(InitRecursive): set the page of the children.
* System.Web.UI/Page.cs: removed one line (it's done a few lines above).
* System.Web.UI/UserControl.cs:
(OnInit): always call InitializeAsUserControl
(InitializeAsUserControl): sets the page for the control.
svn path=/trunk/mcs/; revision=10114
* debug.c (release_symbol_file_table): Only call this if we're
actually modifying the symbol tables.
(mono_debug_open): Always set the `mono_debugger_class_init_func'
for MONO_DEBUG_FORMAT_MONO; this stuff should also go into core dumps.
svn path=/trunk/mono/; revision=10113
Class declaration modified to better conform to MS'VB.NET grammar
Preliminary support for Array declarations (not working yet)
svn path=/trunk/mcs/; revision=10103
* RC2CryptoServiceProvider.cs: Now about 2 time faster by inlining
methods and changing to UInt16 (instead of UInt32).
svn path=/trunk/mcs/; revision=10091
* debug.c (mono_debugger_trampoline_breakpoint_callback): New
function. This is called from the breakpoint trampoline to signal
the debugger and wait until it has reload the symbol tables.
* trampoline.c (get_breakpoint_trampoline): Call the new
mono_debugger_trampoline_breakpoint_callback() in the breakpoint
trampoline just before the breakpoint.
svn path=/trunk/mono/; revision=10083
close the parens. Allows better use of vi's paren-matching functionality in
output, avoids issues with "}}" format specifier in string.Format.
NodeInfo.cs: handle MemberTypes.NestedType, which is returned under .NET for
nested types. Without this, .NET generates error messages for nested types.
svn path=/trunk/mcs/; revision=10059
* RijndaelManaged.cs: Now 7 (encrypt) to 10 (decrypt) times faster
by removing allocation inside intensively called methods, using pre-
calculated tables instead of Mult_GF methods and inlining most methods.
svn path=/trunk/mcs/; revision=10052
* DataSet.cs:
- Added XmlReader and XmlWriter Closing.
- Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
* XmlSchemaMapper.cs
- Much better way IMHO to map xmlschema than the old one in
DataSet.cs. Its, more flexible, cleaner, ...
svn path=/trunk/mcs/; revision=10028
When I wasn't recovering from stomach flu, anyway...
All in all, a good Christmas.
Summary:
- Made tools/makefile.gnu recursive, much like the top-level makefile.gnu.
This was principally done so that the type-reflector install target could
install additional files (currently it installs type-reflector.exe and
type-reflector.exe.config; this may expand in the future).
- Massive cleanup/improvements to type-reflector
The biggest news is that a Gtk# front-end exists for type-reflector now. It
is incomplete (due to my learning Gtk# with this program) and needs
improvement, but it works... Sort of.
It's not enabled by default, as I don't want to require that the
Gtk#/Gnome#/Glade# assemblies be available to build mcs from CVS.
To enable the type-reflector Gtk# front-end, do two things:
- Rebuild type-reflector: cd tools/type-reflector && make -f makefile.gnu gui
- When running, specify the --displayer=gtk parameter, e.g.
type-reflector.exe --displayer=gtk -S .
svn path=/trunk/mcs/; revision=10020
* AsymmetricAlgorithm.cs: Removed ValidKeySize (method only present
in SymmetricAlgorithm).
* DSA.cs: Change ZeroizePrivateKey from protected to internal.
* DSACryptoServiceProvider.cs: Added some case where we need to check
for keypairGenerated.
* RSA.cs: Change ZeroizePrivateKey from protected to internal.
* RSACryptoServiceProvider.cs: Key were never generated with the default
(no parameter) constructor. Now checks for keypairGenerated in methods.
* SignatureDescription.cs: Added CreateDeformatter in RSAPKCS1SHA1-
SignatureDescription to please corcompare (it just call it's ancestor).
svn path=/trunk/mcs/; revision=10019
* debug-mono-symfile.c: Completely rewrote the type section.
Instead of using individual malloc()ed fields, we use one big
continuous memory area and offsets into this area.
See the comments in the source code for details.
svn path=/trunk/mono/; revision=10011
* CryptoStream.cs: Implemented core. Not sure about many details -
but it run the samples now (#30256).
* CryptoStreamMode.cs: Added [Serializable] to enum declaration.
* SymmetricAlgorithm.cs: Made some changes required for CryptoStream
and to match more closely MS implementation. Also added little
optimizations in TransformBlock.
svn path=/trunk/mcs/; revision=10006
* debug.c (MonoDebuggerInfo): Put back `symbol_file_modified'.
This variable now specifies that the symbol tables have been
modified after the last notification has been send. The debugger
uses this flag to check whether it needs to reload the symbol
tables or not.
(debugger_compile_method): Just send a notification to the
debugger, but don't set the modified flag. It may or may not be
set when the debugger gets the notification - depending on whether
the JIT compilation added a new method to the symbol tables.
svn path=/trunk/mono/; revision=9999
* debug.c (debugger_compile_method): This is a wrapper around
mono_compile_method() which always sends a notification to the
debugger.
svn path=/trunk/mono/; revision=9997
* debug.c: Reload the symbol file table before sending the
notification event to the debugger.
(MonoDebuggerInfo): Removed `update_symbol_file_table'.
svn path=/trunk/mono/; revision=9995
2002-12-27 Daniel Cazzulino <[email protected]>
* CacheEntry.cs: several changes. New constants, use of constants
defined in Cache.cs, modified locks to optimize perf. Fixed property
sets which weren't using the keyword value to set the new values
(don't know how this worked before!).
* Cache.cs: changed singleton implementation to only create the object
when actually used. Changed Insert overloads to use constants
defined instead of hard values.
* ExpiresBuchets: major changes. All locking now uses ReaderWriterLock
class. Bucket now efectively reuses free indexes from removed items
to avoid unnecessary expansions. Expansion now uses Array.CopyTo to
add elements to the new list. Added private Int32Collection to
handle int indexes efficiently (thanks Shawn Van Ness). See comments
there.
svn path=/trunk/mcs/; revision=9985
* debug.c: When running under the mono debugger, create a special
debugger thread; always protect the symbol tables with a mutex.
svn path=/trunk/mono/; revision=9980
* debug-mono-symfile.h (MonoSymbolFileMethodAddress): Include the
line number table in this data blob instead of using an external
pointer.
svn path=/trunk/mono/; revision=9979
* 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
* 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
* 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
* X509CertificateTest.cs: Changed how the dates are compared. This
should stop the nunit errors in X509Certificate.
svn path=/trunk/mcs/; revision=9956
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
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
* 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
* RealProxy.cs: Added ObjectIdentity property.
Implemented CrateObjRef.
* RemotingProxy.cs: Added Identity parameter to constructor
2002-12-20 Lluis Sanchez Gual <[email protected]>
* ServerContextTerminatorSink.cs: Added
* ServerObjectTerminatorSink.cs: Added
* StackBuilderSink.cs: Added
2002-12-20 Lluis Sanchez Gual <[email protected]>
* LeaseSink.cs: Added
2002-12-20 Lluis Sanchez Gual <[email protected]>
* 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
* 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
* 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
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
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
* XmlTextWriterTests.cs (TestAttributeNamespacesXmlnsXmlns):
fixed bug in the testcase (in relation to JD Conley's patch).
svn path=/trunk/mcs/; revision=9799
* 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
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
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
* 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
* object.c: removed assert to allow static fields on interfaces.
* loader.c: a TypeSpec may be used for any type, not just arrays.
svn path=/trunk/mono/; revision=9768
* System.Web.Configuration/AuthConfig.cs: LoginUrl defaults to login.aspx.
* System.Web.Security/FormsAuthentication.cs: return a null ticket when
an exception is thrown creating it. Implemented RenewTicketIfOld.
* System.Web.Security/FormsAuthenticationModule.cs: implemented event
handlers for AuthenticateRequest and EndRequest.
* System.Web.Security/FormsAuthenticationTicket.cs: implemented
SetDates and Clone methods.
svn path=/trunk/mcs/; revision=9764
* AspGenerator.cs: generate code like 'control.XXX = value' also for
public fields (properties were being handled in that way too).
svn path=/trunk/mcs/; revision=9762
* ConfigXmlDocument.cs: don't jump over the first element.
* ConfigurationSettings.cs: pass doc.DocumentElement instead of doc.
This used to work until i tried to access one attribute of the first
element and realized that the element was not the expected!
This change does not affect the configuration handlers that only use
ChildNodes property on the XmlNode they get as argument.
svn path=/trunk/mcs/; revision=9760
* attribute.cs (Attributes.AddAttributeSection): Rename to this
since it makes much more sense.
(Attributes.ctor): Don't require a Location parameter.
* rootcontext.cs (AddGlobalAttributeSection): Rename again.
* attribute.cs (ApplyAttributes): Remove extra Location parameters
since we already have that information per attribute.
* everywhere : make appropriate changes.
* class.cs (LabelParameters): Write the code which actually
applies attributes to the return type. We can't do this on the MS
.NET runtime so we flag a warning in the case an exception is
thrown.
svn path=/trunk/mcs/; revision=9757
* configure.in: moved struct tm field tm_gmtoff check before the check
for timezone global variable. This makes Timezone work for me (debian
sid, linux, x86, which has both the field and the global variables).
svn path=/trunk/mono/; revision=9749
Switch derived classes should match that of .NET.
Go forth and use Swiches! ;-)
ChangeLog:
* BooleanSwitch.cs: Complete re-write. It works now.
* DefaultTraceListener.cs:
- Use `const' strings, so I don't worry about copy/paste errors
- Give `AssertUiEnabled' an actual backing member
* DiagnosticsConfigurationHandler.cs: To avoid race conditions, let the
configuration handler set .config-specified properties on
DefaultTraceListener (AssertUiEnabled, LogFileName) and TraceImpl
(AutoFlush, IndentSize).
* Switch.cs: Near complete re-write. Actually works, and is (should be)
comformant with .NET behavior. Changed member names because they were
confusing me. (Yes, that doesn't say much about my memory.)
* TextWriterTraceListener.cs: Append text to already existing files, don't
overwrite them.
* TraceImpl.cs:
- Added private destructor, to ensure no instances are created.
- Move members declarations to be closer to each other.
* TraceSwitch.cs: Complete re-write. It works now.
svn path=/trunk/mcs/; revision=9747
* System.Web/HttpApplicationFactory.cs: add the context as parameter
when building the application Type.
* System.Web/HttpCookie.cs: new internal constructor.
* System.Web/HttpCookieCollection.cs: new internal method to make a
cookie expire.
* System.Web/HttpRequest.cs: MapPath fixes.
* System.Web/HttpResponse.cs: implemented ApplyAppPathModifier.
* System.Web/HttpRuntime.cs: fixed typo in AppDomainAppVirtualPath.
* System.Web.Compilation/AspGenerator.cs: now it uses the current
HttpContext when creating user controls. TemplateSourceDirectory is no
longer a dummy value.
* System.Web.Compilation/GlobalAsaxCompiler.cs:
* System.Web.Compilation/PageCompiler.cs:
* System.Web.Compilation/UserControlCompiler.cs: set the context which
will be used to locate the files.
* System.Web.UI/BaseParser.cs: use MapPath and context to locate files.
* System.Web.UI/Control.cs: implemented MapPathSecure.
* System.Web.UI/TemplateControl.cs: use UrlUtils to generate the path.
* System.Web.UI/TemplateControlParser.cs: use the context and MapPath.
* System.Web.UI/UserControl.cs: implemented MapPath.
* System.Web.UI/UserControlParser.cs: added context parameter to
constructor.
* System.Web.Util/PathUtil.cs: removed.
* System.Web.Util/UrlUtils.cs: fixed Combine to handle '~'.
svn path=/trunk/mcs/; revision=9737
* class.cs (MethodCore.LabelParameters): Remove the extra
Type [] parameter since it is completely unnecessary. Instead
pass in the method's attributes so that we can extract
the "return" attribute.
svn path=/trunk/mcs/; revision=9736
* cs-parser.jay (parse): Use Report.Error to flag errors instead
of ignoring it and letting the compile continue.
* typemanager.cs (ChangeType): use an extra argument to return an
error condition instead of throwing an exception.
svn path=/trunk/mcs/; revision=9726
* FormsAuthentication.cs: implemented Authenticate, unencrypted Encrypt
and Decrypt, HashPasswordForStoringInConfigFile and Initialize.
* FormsAuthenticationTicket.cs: set cookiePath to the default when no
other provided.
svn path=/trunk/mcs/; revision=9722
* AuthConfig.cs:
* AuthenticationConfigHandler.cs: handler and helper class for
system.web/authentication configuration section.
* HttpHandlersSectionHandler.cs: check for null in attributes.
* MachineKeyConfig.cs:
* MachineKeyConfigHandler.cs: handler and helper class for
system.web/machineKey tag.
svn path=/trunk/mcs/; revision=9720
* HttpContext.cs: hack to create a default user when there's no one.
Implemented GetConfig (string).
* HttpRequest.cs: fixes to MapPath (string).
svn path=/trunk/mcs/; revision=9718
* DataSet.cs: implemented DefaultViewManager and GetList.
* DataViewManager.cs: a bit of work on IList and ITypedList needed by
DataList in System.Web.
* DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
DataViewManager.
svn path=/trunk/mcs/; revision=9715
AllTests.cs: Added StrongNamePublicKeyBlobTest suite.
StrongNamePublicKeyBlobTest.cs: New. Test suite for
StrongNamePublicKeyBlob.
svn path=/trunk/mcs/; revision=9708
* AllTests.cs: Added test suites for Publisher and
PublisherMembershipCondition.
* PublisherTest.cs: New. Test suite for Publisher (complete).
* PublisherMembershipConditionTest.cs: New. Test suite for Publisher
PublisherMembershipCondition (incomplete).
svn path=/trunk/mcs/; revision=9697
* Directory.cs: Some fixes to SMB shares handling, and not compiling
with csc, mcs compiles it correctly (mcs bug 35652)
svn path=/trunk/mcs/; revision=9694
* Directory.cs: Some fixes related to correct some exceptions thrown
2002-12-11 Eduardo Garcia Cebollero <[email protected]>
* Directory.cs: Some Exceptions added, fixed GetParent(),
CreateDirectory() should work with unix, native windows and
windows samba shares. Converted end-lines from dos-mode to unix-mode
2002-12-08 Eduardo Garcia Cebollero <[email protected]>
* Directory.cs: CreateDirectory works now with Absolute paths
too, not only with relative ones.
svn path=/trunk/mcs/; revision=9693
* X509CertificateTest.cs: Uncommented the GetEffectiveDateString and
GetExpirationDateString tests. Added a test for ToString(true).
svn path=/trunk/mcs/; revision=9688
* X509Certificate.cs: Fixed the date issue. MS implementation always
return the local time for Pacific (GMT-8). Added ToString() and changed
some protected to private to please corcompare.
svn path=/trunk/mcs/; revision=9687
* Transform.resources: Add file. This is technically a generated file,
but it will never change for us since we get the sources from the nunit
project anyway.
svn path=/trunk/mcs/; revision=9672
remove a configuration setting, you'd get an exception saying that there was
no factory for it (i.e. it had already been removed).
svn path=/trunk/mcs/; revision=9664
* DefaultTraceListener.cs: now OutputDebugStringW is called from an
internal call (update your runtime!). No more warnings in linux.
svn path=/trunk/mcs/; revision=9661
* makefile.gnu: added file for linux build
* win32.make: update file for windows build
* DataGrid.cs: since SetColumnTypes has been fixed in GTK#,
update its use here
* sqlsharpgtk.cs: change Console.WriteLine()s to Error()s or
get rid of the Console.WriteLine()s. Created new menus Session
and Command and move some menu items. Implement new menu items
File - New, Open, Save, and Save As
* FileSelectionDialog.cs: added file
to make it easier to use the FileSelection dialog
* SqlEditorSharp.cs: added public methods
LoadFromFile, SaveToFile, and Clear
svn path=/trunk/mcs/; revision=9657
* System.Web.Compilation/AspGenerator.cs: added support for
AutoEventWireup attribute in @Page and @Control.
* System.Web.Compilation/CompilationResult.cs:
* System.Web.Compilation/GlobalAsaxCompiler.cs:
* System.Web.Compilation/PageCompiler.cs:
* System.Web.Compilation/UserControlCompiler.cs: store the options.
* System.Web.UI/Control.cs: added AutoEventWireup internal property.
* System.Web.UI/Page.cs: removed page events wire up from here.
* System.Web.UI/TemplateControl.cs: new method WireupAutomaticEvents to
hook up page and user controls events.
* System.Web.UI/TemplateControlParser.cs: process the options that are
applicable once we have the instance of the control.
* System.Web.UI/TemplateParser.cs: also stores the options.
* System.Web.UI/UserControl.cs: hook up events before initializing the
control.
svn path=/trunk/mcs/; revision=9623
* gc.h, gc-internal.h: Rename header for GC internal calls to
gc-internal.h from gc.h as to not clash with Boehm GC having its
header installed as <gc.h> in outside include paths.
* appdomain.c, gc.c, icall.c, object.c: Account for aforementioned.
* threads.c: If SIGRTMIN is not defined, fall back to SIGUSR1.
svn path=/trunk/mono/; revision=9612
* class.cs: Remove some dead code.
* cs-parser.jay: Estimate the number of methods needed
(RootContext.MethodCount);
* cs-tokenizer.cs: Use char arrays for parsing identifiers and
numbers instead of StringBuilders.
* support.cs (PtrHashtable): Add constructor with initial size;
We can now reduce reallocations of the method table.
svn path=/trunk/mcs/; revision=9611
* System.Web.UI/Control.cs: new method to set bindingContainer value.
* System.Web.UI/TemplateControl.cs: added controls are not binding
containers.
* System.Web.UI.WebControls/DataList.cs: for header and footer don't
use data source. Instantiate in the DataListItem, not in the DataList.
databind-template.aspx works now.
svn path=/trunk/mcs/; revision=9594
* daemon.c, handles-private.h, handles.c, wapi-private.h:
Check for an implementation which says it supports
_POSIX_THREAD_PROCESS_SHARED, rather than just one that
defines the symbol. Defined but with a value of -1 still
means that it is unsupported.
svn path=/trunk/mono/; revision=9591
System.Drawing in driver.cs is referenced by default (just for now)
Added an extra define (EXTRA_DEFAULT_REFS) in driver.cs to allow default
referencing of a bigger set of system assemblies. Off by default.
svn path=/trunk/mcs/; revision=9590
* Encoding.cs: g_get_encoding () returns "ASCII". In Default, when the
encoding is not found, default to UTF8Unmarked. Removed comment in
UnixConsoleEncoding, because it's now Default, which gets the
encoding internally using g_get_encoding ().
svn path=/trunk/mcs/; revision=9584
* list: Modified file.
* System.Web/HttpRuntime.cs: avoid nulls and exception when getting
resource format strings.
* System.Web/StaticFileHandler.cs: added file name to error message.
* System.Web.Compilation/AspElements.cs: new method Tag.GetElements
used to parse the inner contents of a tag looking for data binding or
code render tags.
New property HtmlControlTag.ParseChildren allows
differentiation of a couple of HtmlControls that has children as
properties (namely HtmlTable and HtmlTableRow).
* System.Web.Compilation/AspGenerator.cs: fixed container semantics to
match BindingContainer one. Implemented Inherits attribute for page and
control.
Support HtmlControls that has ChildrenAsProperties.
Generate code for data binding functions that matches the semantic of
Container.
Handle data bound and code render attribute values.
Set proper value return for TemplateSourceDirectory. Should be relative
to appPath.
* System.Web.Compilation/BaseCompiler.cs: moved CompilerOptions and
References handling here.
* System.Web.Compilation/CachingCompiler.cs: copy result of compilation.
* System.Web.Compilation/CompilationException.cs: simple ToString ()
implementation.
* System.Web.Compilation/CompilationResult.cs: implemented CopyFrom and
ToString.
* System.Web.Compilation/GlobalAsaxCompiler.cs:
* System.Web.Compilation/PageCompiler.cs:
* System.Web.Compilation/UserControlCompiler.cs: removed
CompilerOptions as it's now handled in the base class. Get all the
types in the generated assembly and look for one that derives from
the correct Type.
* System.Web.UI/Control.cs: implemented TemplateSourceDirectory.
* System.Web.UI/TemplateControl.cs: implemented LoadControl and
LoadTemplate.
* System.Web.Util/PathUtil.cs: some path handling methods that are not
available in Path.
svn path=/trunk/mcs/; revision=9583
* attribute.cs (ApplyAttributes): Keep track of the emitted
attributes on a per-target basis. This fixes bug #35413.
svn path=/trunk/mcs/; revision=9557
* test-102.cs : Improve to catch the case when an attribute
can be emitted twice for the same program element but with
different targets.
svn path=/trunk/mcs/; revision=9556
* driver.cs (MainDriver): On rotor encoding 28591 does not exist,
default to the Windows 1252 encoding.
(UnixParseOption): Support version, thanks to Alp for the missing
pointer.
* AssemblyInfo.cs: Add nice assembly information.
* cs-tokenizer.cs: Add fix from Felix to the #if/#else handler
(bug 35169).
* cs-parser.jay: Allow a trailing comma before the close bracked
in the attribute_section production.
svn path=/trunk/mcs/; revision=9553
* doc/oracle: added file which is
a new web page oracle.html
* doc/ado-net: clean up and add link
to oracle.html
* doc/web/commands
* doc/web/makefile: added oracle.html
svn path=/trunk/mono/; revision=9549
* ecore.cs (FieldExpr.AddressOf): Until I figure out why the
address of the instance was being taken, I will take this out,
svn path=/trunk/mcs/; revision=9544
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs:
(Disconnect): close the stream and set connected to false.
(NextResult): check if after DoneProc we have a ColumnMetadata + Row,
which holds the values for the output parameters and read them.
(LoadRow): add the values to outputParameters if DoneProc.
When executing a stored procedure, we execute the procedure and then
select the parameter values.
* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds70.cs:
(BuildParameters): check Parameters.
* Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsComm.cs: added Close () to
close the stream.
* Mono.Data.Tds/Mono.Data.Tds.Protocol/TdsConnectionParameters.cs:
initialize all the string to be empty.
* System.Data/System.Data.SqlClient/SqlCommand.cs:
(CloseReader): don't get the output parameters here.
(GetOutputParameters): don't skip the stream. The parameters will be
there.
* System.Data/System.Data.SqlClient/SqlConnection.cs: don't try to
execute 'sp_reset_connection'.
* System.Data/System.Data.SqlClient/SqlDataReader.cs: get the output
parameters after the end of the results.
svn path=/trunk/mcs/; revision=9534
* Monitor.cs:
* Thread.cs:
* ThreadPool.cs:
* Timer.cs:
* WaitHandle.cs: Use TotalMilliseconds to convert a TimeSpan to
ms, not Milliseconds.
svn path=/trunk/mcs/; revision=9533
* Makefile
* SqlSharpCli.build: change target
from SqlSharpCli.exe
to sqlsharp.exe
* README: mention how to run SQL#
svn path=/trunk/mcs/; revision=9530
* typemanager.cs (AreMultipleAllowed): Take care of the most
obvious case where attribute type is not in the current assembly -
stupid me ;-)
svn path=/trunk/mcs/; revision=9515
* library.build: add Mono.GetOptions to windows build
* Mono.GetOptions/Mono.GetOptions.build: add file
for windows build
svn path=/trunk/mcs/; revision=9499
* appdomain.c: fix buglet when building exe file name. Handle full
assembly name (needed after latest changes to AssemblyName).
* image.c:
(mono_image_close): free some hashtables.
svn path=/trunk/mono/; revision=9490
DataSet ds=DataTools.FillDataSet(conn, "select * from author");
</pre>
<p>Here's some sample code on displaying a list <br>
of configured ADO.NET providers:
<pre>
Console.WriteLine("Configured Providers:");
foreach (Provider p in ProviderFactory.Providers)
Console.WriteLine(p.Description);
</pre>
<p>A Super lazy overload to the FillDataSet method (in <br>
DataTools.cs) that will fill a dataset in one line of code.
<pre>
DataSet ds=DataTools.FillDataSet("PubsConnStr", "select * from authors");
</pre>
** About Configuration Files
<p>Information about <a href="http://msdn.microsoft.com/library/en-us/vbcon/html/vboriintroductiontoapplicationsettingstorage.asp?frame=true">app.config</a> files
can be found at <a href="http://msdn.microsoft.com/">MSDN</a>.
<p>See the mcs/class/Mono.Data/app.config for sample configuration file in<br>
mcs source. Basically, if your application is named blah.exe, <br>
you would create an app.config file named blah.exe.config
<p>Here's a sample app.config file showing the provider <br>
declarations along with sample connection strings:
The <a href="http://msdn.microsoft.com/net">Microsoft.NET site.</a>
The Microsoft .NET Framework 1.0 can be downloaded <a href="http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/000/976/msdncompositedoc.xml&frame=true">here</a>
The Microsoft .NET Framework 1.0 can be downloaded <a
New methods that are not documented in 1.0, are documented <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/framewrkaddend.asp">here</a>
New methods that are not documented in 1.0, are documented <a
Another implementation of the CLI and C# compiler.
* A Free (GFDL) tutorial on C# in Spanish with examples, slides, and extras (under development). Get it <a href="http://geneura.ugr.es/~jaime/csharp/">here</a>.
* <a
href="http://codigolivre.org.br/projects/monoqle">Project MonoQLE:</a> a C# Message Queue Server.
Sorry only in portuguese, for now.
* A Free (GFDL) tutorial on C# in Spanish with
examples, slides, and extras (under development). Get it <a
Loaded 100 of 1812 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.