* Queue.cs: patch from Carlos Barcenilla.
public class Queue
- method: ICollection.Clone()
- Optimized. Removed unneeded instructions.
- method: public static Queue Synchronized (Queue queue)
- ArgumentNullException.ParamName must be "queue", not null.
- method: public virtual void TrimToSize()
- Must increment modCount.
private class SyncQueue
- method: public override object Clone ()
- Must return a synchronized (SyncStack) instance.
- method: public override void TrimToSize ()
- Not implemented.
svn path=/trunk/mcs/; revision=20644
* System.Web.Compilation/PageCompiler.cs: assign LCID, Culture and/or
UICulture in FrameworInitialize() if provided in @Page.
* System.Web.UI/Page.cs: fixed UICulture, LCID and Culture. Set the
thread [UI]Culture before processing the request.
* System.Web.UI/PageParser.cs: read Culture, UICulture and LCID
attributes. Added properties for these. Partially contributed by
Mohammad Damt.
Fixes bug #51511.
svn path=/trunk/mcs/; revision=20633
* expression.cs: Added new field to Call class, so it can handle more arguments.
* StringLiteral.cs (Emit) : Load the string value.
* Literal.cs: BooleanLiteral, Resolve always return true. Emit the value and box it to Boolean.
svn path=/trunk/mcs/; revision=20630
* jscript-lexer-grammar.g: define new rule 'arguments' instead of
repeating hand written rule all around. Change "." for DOT, dumb
mistake by myself. Added rule new_expr. Now we handle properly the
call_expr rule (as defined on the spec), and added a new
argument. Added subrule new_expr to left_hand_side_expr rule.
svn path=/trunk/mcs/; revision=20616
* Mono.Cairo/Object.cs:
* Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
while to find out why Cairo applications would crash sometimes.
The problem was that Cairo.Object:TargetSurface get property would
create a Surface from an IntPtr, leading to having two managed
objects owning the same unmanaged Surface.
(Surface..ctor): Make private, so only this module can create
surfaces.
(Surface.Dispose): Add disposable pattern, finalizer.
* Mono.Cairo/Object.cs: Add disposable pattern, finalizer.
svn path=/trunk/mcs/; revision=20606
* statement.cs (Block.Resolve, Block.Emit): Avoid foreach on
ArrayLists, use for loops with bounds.
* flowanalysis.cs (FlowBranching.Merge): Avoid foreach on
arraylist.
* expression.cs (Invocation.OverloadResolve): Avoid foreach on
arraylists, use for loop with bounds.
The above three changes give us a 0.071 second performance
improvement out of 3.294 seconds down to 3.223. On my machine
the above changes reduced the memory usage by 1,387 KB during
compiler bootstrap.
* cs-parser.jay (QualifiedIdentifier): New class used to represent
QualifiedIdentifiers. Before we created a new string through
concatenation, and mostly later on, the result would be
manipulated by DecomposeQI through string manipulation.
This reduced the compiler memory usage for bootstrapping from
59380 KB to 59007 KB on my machine, 373 KB, and also reduced the
compile times in 0.05 seconds.
svn path=/trunk/mcs/; revision=20605
* XmlWriter.cs : patch by Gonzalo (I modified a bit). WriteNode()
shouldn't expect non-empty element content. This will fix bug #48287.
svn path=/trunk/mcs/; revision=20591
ion `name'.
Use `info bash' to find out more about the shell in general.
Use `man -k' or `info' to find out more about commands not in this list.
A star (*) next to a name means that the command is disabled.
%[DIGITS | WORD] [&] (( expression ))
. filename :
[ arg... ] [[ expression ]]
alias [-p] [name[=value] ... ] bg [job_spec]
bind [-lpvsPVS] [-m keymap] [-f fi break [n]
builtin [shell-builtin [arg ...]] case WORD in [PATTERN [| PATTERN].
cd [-L|-P] [dir] command [-pVv] command [arg ...]
compgen [-abcdefgjksuv] [-o option complete [-abcdefgjksuv] [-pr] [-o
continue [n] declare [-afFirtx] [-p] name[=valu
dirs [-clpv] [+N] [-N] disown [-h] [-ar] [jobspec ...]
echo [-neE] [arg ...] enable [-pnds] [-a] [-f filename]
eval [arg ...] exec [-cl] [-a name] file [redirec
exit [n] export [-nf] [name[=value] ...] or
false fc [-e ename] [-nlr] [first] [last
fg [job_spec] for NAME [in WORDS ... ;] do COMMA
for (( exp1; exp2; exp3 )); do COM function NAME { COMMANDS ; } or NA
getopts optstring name [arg] hash [-lr] [-p pathname] [-dt] [na
help [-s] [pattern ...] history [-c] [-d offset] [n] or hi
if COMMANDS; then COMMANDS; [ elif jobs [-lnprs] [jobspec ...] or job
kill [-s sigspec | -n signum | -si let arg [arg ...]
local name[=value] ... logout
popd [+N | -N] [-n] printf format [arguments]
pushd [dir | +N | -N] [-n] pwd [-PL]
read [-ers] [-u fd] [-t timeout] [ readonly [-anf] [name[=value] ...]
return [n] select NAME [in WORDS ... ;] do CO
set [--abefhkmnptuvxBCHP] [-o opti shift [n]
shopt [-pqsu] [-o long-option] opt source filename
suspend [-f] test [expr]
time [-p] PIPELINE times
trap [arg] [signal_spec ...] or tr true
type [-afptP] name [name ...] typeset [-afFirtx] [-p] name[=valu
ulimit [-SHacdflmnpstuv] [limit] umask [-p] [-S] [mode]
unalias [-a] [name ...] unset [-f] [-v] [name ...]
until COMMANDS; do COMMANDS; done variables - Some variable names an
wait [n] while COMMANDS; do COMMANDS; done
{ COMMANDS ; }
VBCodeGenerator: CreateNameSpace creates Namespace after Imports
svn path=/trunk/mcs/; revision=20585
*NpgsqlCommand.cs: Fixed a problem with prepare commands in 7.3 server versions. The command was being incorrectly interpreted as needing an explicit cast.
svn path=/trunk/mcs/; revision=20584
specific brushes based on the internal (GDI+ C API) BrushType
enum.
(Brush (IntPtr)): new internal constructor.
* Pen.cs: Removed all the C# fields. We are using GDI+ completely
now.
(Pen (IntPtr)): new internal constructor.
(Pen (Brush, float)): Use GdipCreateBrush2.
(Clone): Implemented using GdipClonePen.
(Alignment, Brush, Color, Width): Use GDI+ implementations
instead.
(CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
Implemented these properties.
(CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
(MultiplyTransform, ResetTransform, RotateTransform):
(ScaleTransform, TranslateTransform): Implemented these methods.
* SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
* gdipEnums.cs (BrushType): Added new GDI+ enum.
* gdipFunctions.cs: Imported new Brush and Pen functions.
* brush.c (gdip_brush_setup): Check on the type of the brush and
delegate the implementation to the concrete Brushes,
(GdipCloneBrush, GdipDeleteBrush, GdipGetBrushType): Implemented.
* gdip.h (DashStyle): Fixed typo.
(PenAlignment, BrushType): Added new enumerations.
(GpBrush): Added new type field.
(GpPen): Added new fields: color, brush, mode, dash_array and
unit. Updated the header file to include new Pen functions.
* pen.c (convert_dash_array): Utitlity function for converting
from a float* from GDI+ to a double* for Cairo.
(GdipCreatePen2, GdipClonePen): Implemented.
(PenWidth, BrushFill, Color, PenMode, PenUnit, DashStyle):
(DashOffset, DashCount, DashArray): Implemented the Get/Set
function pairs for these properties.
(GdipGetPenCompoundArray, GdipSetPenCompoundArray):
(GdipGetPenCompoundArrayCount): Stubbed.
* solidbrush.c (gdip_solidfill_init): Utility for initializing a
SolidBrush. Sets type as BrushTypeSolidColor.
(gdip_solidfill_setup): Moved from gdip_brush_setup.
(gdip_solidfill_clone): Implementation for GdipCloneBrush for a
GpSolidFill.
(GdipSetSolidFillColor, GdipGetSolidFillColor): Implemented.
svn path=/trunk/mcs/; revision=20575
* System.Data.ObjectSpaces.Query/ObjectExpressionTests.cs:
* SupportFiles/osd.xml:
* SupportFiles/rsd.xml:
New classes added for test
svn path=/trunk/mcs/; revision=20571
* Mono.Security.dll.sources: Added MD4, MD4Managed and PKCS8 to build.
* Mono.Security_test.dll.sources: Added unit tests for MD4, MD4Managed
and PKCS8.
svn path=/trunk/mcs/; revision=20570
* MD4Test.cs: New. Contains all the test vectors provided in RFC1320
- but none are executed because MD4 is an abstract class.
* MD4ManagedTest.cs: New. Run the unit tests from MD4Test.cs using
the MD4Managed implementation of MD4.
* PKCS8Test.cs: New. Unit tests for PKCS8.
svn path=/trunk/mcs/; revision=20569
* MD4.cs: New. Asbtract class for all MD4 implementations. WARNING:
The MD4 algorithm is BROKEN (collisions) and SHOULDN'T be used in
NEW designs. However some higher level algorithms (like NTLM) requires
MD4 (and may even be secure using it). YOU'RE WARNED!
* MD4Managed.cs: New. Managed implementation of MD4 (RFC1320).
* PKCS8.cs: New. Added Private-Key Information Syntax Standard as a
building block for PKCS12.
svn path=/trunk/mcs/; revision=20568
* Expression.cs : namespace axis now traversed in reverse order, so it
requires sorting.
* Iterator.cs : UnionIterator.Clone() was incomplete.
NamespaceItarator() should be reverse order (special handling
because of XPathNavigator specification).
svn path=/trunk/mcs/; revision=20565
* XmlTextWriter.cs : When element's namespace should be overwritten by
one of its attribute, if exist as such. This fixes bug #51305.
svn path=/trunk/mcs/; revision=20564
* statement.cs (Foreach.TryType): Use DeclaredOnly to find the
GetEnumerator method.
(ProbeCollectionType): Iterate starting at the most specific type
upwards looking for a GetEnumerator
svn path=/trunk/mcs/; revision=20558
* mini.c (mono_method_to_ir): Fix tail calls with valuetype arguments.
Also optimize the case when the arguments are the same in the caller
and in the callee.
svn path=/trunk/mono/; revision=20554
* SoapHttpClientProtocol.cs: Changed the method used to check if the
result is a fault. Now the check is done inside
WebServiceHelper.ReadSoapMessage. Removed some debug writelines.
* WebServiceHelper.cs: If the message body is a fault, use the fault
serializer.
svn path=/trunk/mcs/; revision=20539
* System.Text.RegularExpressions/interpreter.cs: when evaluating a
degenerate match, restore the RepeatContext if fail. Fixes bug #42529.
* Test/System.Text.RegularExpressions/RegexBugs.cs: added tests from
bug #42529.
svn path=/trunk/mcs/; revision=20536
* exceptions-x86.c (mono_arch_find_jit_info): Restore callee saved
registers from the lmf if the method has save_lmf set.
svn path=/trunk/mono/; revision=20535
properties name. Only add a closing quote to strings if we are
still in a quote. Use BaseType == "System.Void" to determine if a
method is void. This prevents getting As Nothing functions. Many
thanks to Anirban for helping me with VB Syntax.
svn path=/trunk/mcs/; revision=20533
* Implemented DrawMenuGlyph on top of System.Drawing
* Implemented DrawStringDisabled on top of System.Drawing
* Implemented DrawSizeGrip on top of System.Drawing
* Implemented DrawSelectionFrame on top of System.Drawing
* Minor cleanups
svn path=/trunk/mcs/; revision=20532
* statement.cs (Block.LookupLabel): Also look for the label on the
children blocks. Use a hash table to keep track of visited
nodes.
svn path=/trunk/mcs/; revision=20519
* HttpWebRequest.cs: removed unneeded StringBuilder.
* WebConnection.cs: default to keep the connection open for HTTP/1.1
only or HTTP/1.0 + (Proxy-)Connection header. Fixes bug #51208.
svn path=/trunk/mcs/; revision=20513
* cfold.cs (IntConstant to UIntConstant mapping): Only return if
we actually did transform the other operand, otherwise fall back
to the common codepath that casts to long.
* cs-tokenizer.cs: Use the same code pattern as the int case.
Maybe I should do the parsing myself, and avoid depending on the
Parse routines to get this done.
svn path=/trunk/mcs/; revision=20512
* Control.cs: Add DataBindChildren for v2. Implement
glue to make Page.Eval work.
* Page: use a stack to store the current dataitem
for Eval. Implement Eval/XPath/XPathSelect
* DataBinder.cs: implement GetDataItem.
svn path=/trunk/mcs/; revision=20508
code. Fix tabbing.
* CachedVaryBy.cs: Give raw response keys a name, use the
httpmethod in the key, and delimit items with \n so it is easier
to read when debugging.
svn path=/trunk/mcs/; revision=20506
* exception.c (mono_exception_from_name_domain): New helper function.
* appdomain.c (ves_icall_System_AppDomain_createDomain): Create the
exception object in the correct domain.
* appdomain.c (ves_icall_System_AppDomain_LoadAssemblyRaw): Fix
formatting + make a copy a the input data.
svn path=/trunk/mono/; revision=20505
* FunctionDeclaration.cs: Check if values are not null first (at
Resolve). Ignore code generation is at 'Global Code'.
* VariableDeclaration.cs: Now I take care of IL generation when we
are at statements and expressions at global code, 'Global Code'
method is populated with that IL.
* CodeGenerator.cs: Added flag for 'Global Code' method
emittion. Now I call 'Emit' twice. The first for declarations the
follower for statements and expressions at global scope.
svn path=/trunk/mcs/; revision=20504
* tramp-x86.c (x86_magic_trampoline): Avoid patching in the addresses
of icall wrappers into InvokeInDomain, since these are now per-domain.
svn path=/trunk/mono/; revision=20503
* mini-ppc.h, mini-x86.h, mini.c, inssel-ppc.brg, jit-icalls.c:
make some opcode emulation and intrinsic ops enabled/disabled
according to the architecture. More fixes.
svn path=/trunk/mono/; revision=20502
* RemotingConfiguration.cs: Implemented CustomErrorsEnabled().
Added support for soapInterop configuration section.
* SoapServices.cs: Several fixes to match MS behavior.
svn path=/trunk/mcs/; revision=20474
* HttpRuntime.cs: added request queue handling.
* QueueManager.cs: simple request queue.
* TimeoutManager.cs: added some locks to prevent the enumerator used in
CheckTimeouts to be out of synch.
svn path=/trunk/mcs/; revision=20464
* Implemented DrawFocusRectangle on top of System.Drawing
* Implemented DrawGrid on top of System.Drawing
* Implemented DrawImageDisabled on top of System.Drawing
* Implemented DrawLockedFrame on top of System.Drawing
* Removed MonoTODO from undocumented MS methods
svn path=/trunk/mcs/; revision=20453
static objects data.
* SessionDictionary.cs: Remove type serialization methods, these
have been moved to a utility class. Add convenience methods for
converting to/from byte arrays.
* SessionSQLServerHandler.cs:
* SessionStateServerHandler.cs: Save/Restore static objects. Use new
to/from byte array methods.
* StateServerItem.cs: Hold static objects data.
svn path=/trunk/mcs/; revision=20439
* aot.c:
(load_aot_module): free 'info->methods' and 'info' properly. No more
"free(): invalid pointer blah" messages when you have an old aot
compiled assembly.
svn path=/trunk/mono/; revision=20432
* expression.cs: Make TypeOfVoid derive from TypeOf, so code in
attributes for example can not tell the difference between these.
The difference was only a syntax feature of the language.
svn path=/trunk/mcs/; revision=20419
* convert.cs (TryImplicitIntConversion): One line bug fix: we were
comparing 0 vs Byte.MinValue, not the value
(ImplicitConversionRequired): When reporting a conversion error,
use error 31 to print out the constant error instead of the
simpler 29.
* expression.cs: Apply fix from [email protected] (Laurent Morichetti),
which fixes bug 51347.
svn path=/trunk/mcs/; revision=20415
on the server and store session data and ids.
* StateServerItem.cs: Container for session data.
* SessionStateServerHandler.cs: Handler that communicates with the
StateServer so sessions can be stored out of process.
* SessionStateModule.cs: Allow state server mode.
svn path=/trunk/mcs/; revision=20411
* io.c: don't call g_free before testing errno as it may modify it.
If the path exists, return an error if it's not a directory. Fixes
bug #50753.
svn path=/trunk/mono/; revision=20403
* icall.c: Add new icall for creating dynamic methods.
* loader.h debug-helpers.c: Add new wrapper type for dynamic methods.
* reflection.h (MonoReflectionDynamicMethod): Fix type of bool fields.
* reflection.c (mono_reflection_create_dynamic_method): New icall to
create a dynamic method.
* reflection.c (resolve_object): New helper function.
* reflection.c: Generalize ReflectionMethodBuilder and the functions
which manipulate it so they can also work on dynamic methods.
* reflection.c (reflection_method_builder_to_mono_method): Avoid
creating the MonoReflectionMethodAux structure if it is not needed.
svn path=/trunk/mono/; revision=20393
* Parser.jay, Expression.cs, Iterator.cs :
Added ExprParens and ParensIterator classes which is used to handle
precedence of parenthesized expressions.
(e.g. consider "(preceding::*)[3]" and "preceding::[3]" )
* Expression.cs, Iterator.cs :
Added RequireSorting property for each Expr and BaseIterator classes.
SlashIterator.MoveNext() now considers correct sorting. But
considering performance, it separates two logics, sorted and sortless
depending on RequireSorting of left iterator and right expression.
* Iterator.cs :
SimpleIterator.ctor() should consider when nav is null.
FollowingIterator.MoveNext() and PrecedingIterator.MoveNext() should
not return any nodes.
AncestorIterator and AncestorOrSelfIterator copy ctr() should clone
positions.
AncestorIterator.MoveNext() should skip Root if context node is
Root itself.
FollowingIterator.MoveNext() should not handle children of context
itself.
PrecedingIterator.MoveNext() should skip its ancestors.
AxisIterator.ReverseAxis should be dependent on its containing iter.
UnionIterator.MoveNext() should consider comparison of nodes in
different document. The behavior is implementation dependent.
(see XSLT spec 12.1)
svn path=/trunk/mcs/; revision=20389
* XmlTextWriter.cs :
WriteProcessingInstruction() should check name validity.
AddMissingElementXmlns() should allow namespace emission even if it
is identical to existing one.
svn path=/trunk/mcs/; revision=20388
* XslAttribute.cs, XslElement.cs, XslLiteralElement.cs :
More precise namespace handling.
* XslCopy.cs, XslElement.cs, XslLiteralElement.cs :
Added cdata-section-elements support.
* XslNumber.cs :
Cases when value is NodeSet should be allowed.
Default output should be 1,2,3... not exception. see XSLT spec 7.7.1
svn path=/trunk/mcs/; revision=20387
(in general: cdata-section-elements support, correct document()
base uri handling, and so on)
* Compiler.cs : Use XmlSpace.Preserve to parse included stylesheet.
And move to document element. Added XslNameUtil.FromListString().
* Emitter.cs, HtmlEmitter.cs, TextEmitter.cs XmlWriterEmitter.cs :
Added WriteCDataSection().
* Outputter.cs, GenericOutputter.cs, TextOutputter.cs :
Added InsideCDataSection.
* GenericOutputter.cs :
In .ctor(), WriteState should be succeeded from output XmlWriter.
WriteNamespaceDecl() now drops declaration identical to existing one.
Removed obsolete htmlEmulation.
* XslOutput.cs : Added CDataSectionElements support.
* XslStylesheet.cs : Added BaseUri, StyleDocument and PrefixInEffect().
* XslTransformProcessor.cs :
Added Output and CurrentOutputUri. TryStylesheetNamespaceOutput()
now considers xsl:exclude-element-prefixes on literal element.
Added PushCDataState() and PopCDataState().
* XsltCompiledContext.cs : When base uri of document() target is empty,
then it should use stylesheet's BaseURI, not that of current document.
svn path=/trunk/mcs/; revision=20386
* SoapDocumentationHandler.cs: Check that the documentation page exist.
* SoapHttpClientProtocol.cs: Removed cast from WebResponse to
HttpWebResponse. This fixes bug #51281.
svn path=/trunk/mcs/; revision=20385
* ILGenerator.cs MethodBuilder.cs ConstructorBuilder.cs: Retrieve
tokens from a token generator object instead of from the ModuleBuilder,
to support the implementation of DynamicMethod. Also get rid of the
unused 'mbuilder' field.
* ModuleBuilder.cs: Create a token generator object which can be
passed to ILGenerator.
svn path=/trunk/mcs/; revision=20383
* Implemented DrawScrollButton on top of System.Drawing
* Implemented DrawRadioButton on top of System.Drawing
* Implemented DrawCheckBox on top of System.Drawing
* Implemented DrawButton on top of System.Drawing
svn path=/trunk/mcs/; revision=20375
* Npgsql/HashAlgorithm.cs:
* Npgsql/NpgsqlClosedState.cs:
* Npgsql/NpgsqlCommand.cs:
* Npgsql/NpgsqlConnectedState.cs:
* Npgsql/NpgsqlConnection.cs:
* Npgsql/NpgsqlReadyState.cs:
* Npgsql/NpgsqlStartupState.cs:
* Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
ADO.NET we need to call Dispose after using any Component like
NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
methods to Properties.
svn path=/trunk/mcs/; revision=20356
* DbDataAdapter.cs: Call command dispose in self dispose method. We
need to dispose the connections and other stuff stored in the
commands.
svn path=/trunk/mcs/; revision=20355
math in unmanaged code instead of doing it in C#.
* gdipFunctions.cs
(GdipResetWorldTransform, GdipSetWorldTransform):
(GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
* Graphics.cs: Remove unnecessary TODO, and reformatted the code.
(transform): Removed this field. Always use the
matrix associated in the GpGraphics ptr.
(DrawBeziers): Implemented.
(DrawLine): Don't need to manually invoke the transform now.
(MultiplyTransform, ResetTransform):
(ScaleTransform, TranslateTransform): Use GDI+ implementation.
(Transform): Instead of storing a Matrix in managed code, use
equivalent GDI+ functions.
* matrix.c (GdipCreateMatrix3, GdipCreateMatrix3I): Implemented.
(GdipCloneMatrix): Fixed.
(GdipShearMatrix, set_shear): Implemented.
* graphics.c:
(GdipGetWorldTransform, GdipMultiplyWorldTransform): Implemented.
(GdipRotatePenTransform, GdipTranslatePenTransform): Use GDI+
functions instead.
* gdip.h
(GdipRotatePenTransform, GdipTranslatePenTransform): Fix
signature.
(GdipCreateMatrix3, GdipCreateMatrix3I): Use const appropriately.
svn path=/trunk/mcs/; revision=20344
* Calendar.cs (SaveViewState):
- We were allocating a 11 item array, we only used 10 items,
so only allocate 10.
- We only need to save the selected dates if there are any.
* DataGrid.cs (SaveViewState):
* DataGridColumn.cs (SaveViewState):
* DataGridColumnCollection.cs (SaveViewState):
- Only return the array if there is anything in it
* Style.cs (SaveViewState):
- Only save the bits if there were changes.
* WebControl.cs (SaveViewState), (LoadViewState):
- Don't save Enabled into the viewstate here, we already
do it in the property. This just caused *EVERY* control
to have a non-null state, taking up lots of extra room
in the ViewState.
- The style will always be created with this control's
viewstate, so the style will always return null for the
viewstate. As such, we do not need to store it. We can
also reduce the triplet to a pair because of this.
svn path=/trunk/mcs/; revision=20342
* driver.cs: Applied patch from [email protected] (Gert Driesen)
which fixes the -warnaserror command line option.
svn path=/trunk/mcs/; revision=20339
* Changed line endings to unix format in SSL/TLS sources.
* Mono.Security.CryptographyoHMD5SHA1CryptoServiceProvider.cs:
- Removed file (now it's called MD5SHA1.cs)
* Mono.Security.Protocol.Tls/TlsCipherSuiteFactory.cs:
- Removed comments from AES ciphersuites.
svn path=/trunk/mcs/; revision=20335
cached page. Then store a CachedRawResponse for each combination
of varried parameters for a page.
* CachedRawResponse.cs: Do not need to store param values anymore
those are stored in the CachedVaryBy now. Get the content length
so we dont send back the entire buffer.
* CachedVaryBy.cs: New file - holds the varyby data for a page,
and a method to generate a key based on params. Right now this
only works with VaryByParams. TODO: support VaryByHeaders and
VaryByCustom.
svn path=/trunk/mcs/; revision=20334
cached page. Then store a CachedRawResponse for each combination
of varried parameters for a page.
* CachedRawResponse.cs: Do not need to store param values anymore
those are stored in the CachedVaryBy now. Get the content length
so we dont send back the entire buffer.
* CachedVaryBy.cs: New file - holds the varyby data for a page,
and a method to generate a key based on params. Right now this
only works with VaryByParams. TODO: support VaryByHeaders and
VaryByCustom.
svn path=/trunk/mcs/; revision=20333
cached repsonse so that only that amount will be written back to
the client. Add method to write a range of binary data.
* HttpCacheVaryByParams.cs: Add method to retrieve param
names.
svn path=/trunk/mcs/; revision=20331
* ObjectStateFormatter.cs: v2 file. In v1.x this will be
internal as LosFormatter will eventually use it to save
the view state.
svn path=/trunk/mcs/; revision=20329
* cfold.cs (DoNumericPromotions): During constant folding of
additions on UIntConstant, special case intconstants with
IntConstants like we do on the expression binary operator.
svn path=/trunk/mcs/; revision=20327
* Npgsql/NpgsqlClosedState.cs:
* Npgsql/NpgsqlConnectedState.cs:
* Npgsql/NpgsqlConnection.cs:
* Npgsql/NpgsqlReadyState.cs:
* Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
implementation. Now we're using TcpClient for the connection and
Stream for the abstraction layer to SslClientStream.
svn path=/trunk/mcs/; revision=20325
field to MonoAppContext and renamed thread_static_fields to a more
generic special_static_fields in MonoAppDomain, since it can now contain
context static fields.
* domain.c: Updated hashtable name.
* object.c: Replaced field_is_thread_static() for a more generic
field_is_special_static() which also checks for context static attribute.
In mono_class_vtable(), added support for static context fields.
* threads.c: Changed methods that manage thread static fields to more
generic methods so they can be reused both for thread and context static
data.
* threads.h: Declared some new methods.
svn path=/trunk/mono/; revision=20315
* TypeBuilder.cs FieldBuilder.cs MethodBuilder.cs ConstructorBuilder.cs: Add support for custom modifiers from NET 1.2.
svn path=/trunk/mcs/; revision=20306
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.2003-11-21: Jean-Marc Andre <[email protected]>
* SoapReader.cs:
Bug fixed. SerializationBinder.BindToType was not called
the right way in GetElementInfo() (switched assemblyName
and typeName). Will add a unit test in few days.
svn path=/trunk/mcs/; revision=20302
* Fully implemented all DrawBorder methods on top of System.Drawing
* Replaced the (apparently) broken double-based HLS/RGB formulas with faster integer versions
* Removed MonoTODO tags from verified and complete methods
svn path=/trunk/mcs/; revision=20300
* Mono.Security.Protocol.Tls/SslClientStream.cs:
Removed ReadByte method, use innerStream.ReadByte() method instead.
2003-11-13 Carlos Guzm��n ��lvarez <[email protected]>
* Added implementation of an SslClientStream class similar to the MS .NET Framework 1.2 documentation.
The next files are no more needed:
- TlsSession.cs
- TlsNetworkStream.cs
- TlsSocket.cs
- TlsSessionState.cs
The next files are renamed:
- TlsSessionSettings.cs -> TlsClientSettings.cs
- TlsSessionContext.cs -> TlsContext.cs
The next files are new:
- SslClientStream.cs ( the name is non definitive yet )
The next files where changed to reflect the new canges:
- TlsHandshakeMessage.cs
- TlsClientCertificate.cs
- TlsClientCertificateVerify.cs
- TlsClientFinished.cs
- TlsClientHello.cs
- TlsClientKeyExchange.cs
- TlsServerCertificate.cs
- TlsServerCertificateRequest.cs
- TlsServerFinished.cs
- TlsServerHello.cs
- TlsServerHelloDone.cs
- TlsServerKeyExchange.cs
- TlsAlert.cs
- TlsCloseNotifyAlert.cs
2003-11-12 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
- Changes for give full error message only in debug mode ( Thanks to Sebasti��n Pouliot. )
* Mono.Security.Protocol.Tls/TlsProtocol.cs:
- Renamed to SecurityProtocolType.cs ( for match .NET 1.2 )
* Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
- Renamed to MD5SHA1.cs ( Thanks to Sebasti��n Pouliot. )
* Mono.Security.Cryptography/TlsCompressionMethod.cs:
- Renamed to SecurityCompressionType.
* Mono.Security.Protocol.Tls/CipherAlgorithmType.cs:
* Mono.Security.Protocol.Tls/HashAlgorithmType.cs:
* Mono.Security.Protocol.Tls/ExchangeAlgorithmType.cs:
- New enumerations that matches .NET 1.2 definitions with some minor differences.
* Mono.Security.Protocol.Tls/CipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsCipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsSessionContext.cs:
- Added changes for make use of new enumerations.
* Mono.Security.Protocol.Tls/TlsClientStream.cs:
- Added new informative properties that matches .NET 1.2 SslClientStream
( Not all the properties are implemented yet ).
2003-11-10 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls.Alerts/TlsAlert.cs:
- Fixed invalid alert message.
* Mono.Security.Protocol.Tls/CipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
* Mono.Security.Cryptography/HMAC.cs:
* Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
- Changed ( Thanks to Sebasti��n Pouliot for his feedback )
SHA1CryptoServiceProvider sha = new SHA1CryptoServiceProvider();
MD5CryptoServiceProvider sha = new MD5CryptoServiceProvider();
to
HashAlgorithm sha = SHA1.Create();
HashAlgorithm md5 = MD5.Create();
2003-11-04 Carlos Guzm��n ��lvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
- Commented server certificate signature verification.
* Mono.Security.Protocol.Tls/TlsServerSettings.cs:
- Renamed ServerCertificates property to Certificates.
svn path=/trunk/mcs/; revision=20298
* CachedRawResponse.cs: New file - A snapshot of a response that
is stored in the cache and can be used to create a new response.
* OutputCacheModule.cs: Module for inserting and retrieving
responses from the cache.
svn path=/trunk/mcs/; revision=20272
can get the buffer size. Add method to get the buffer.
* HttpResponse.cs: Methods for getting data to cache, and setting
vars from the cache.
* HttpCachePolicy.cs: Expose a pages cache expire time.
svn path=/trunk/mcs/; revision=20268
* TemplateControlCompiler.cs: support for expressions of
System.Drawing.Size type. Allow getting Color from comma separated
numbers, which is not allowed by ColorConverter.
This makes http://www.codeproject.com/aspnet/asppopup.asp work.
svn path=/trunk/mcs/; revision=20263
* HttpSoapWebServiceHandler.cs: WebException is ok here for wrong
content encoding...
* SoapHttpClientProtocol.cs: ... but here, we should throw an
InvalidOperationException including the full response.
* WebServiceHelper.cs:
(GetContentEncoding): now fills an output variable with the name of the
content encoding used.
(InvalidOperation): new method to build the message for
InvalidOperationException.
svn path=/trunk/mcs/; revision=20261
* MailMessageWrapper.cs: fixed typo that made all messages be sent as
html, even when the body is marked as text. Path by Mohammad DAMT.
Closes bug #51177.
svn path=/trunk/mcs/; revision=20256
* XsltCompiledContext.cs : XsltGenerateId.Evaluate() should consider
node type (i.e. attribute and namespace). Removed extraneous Clone().
Fixed XsltKey.Evaluate() to use MoveToNextAttribute to iterate attrs.
svn path=/trunk/mcs/; revision=20242
* DefaultContext.cs : XPathFunctions.ToNumber() should catch overflow.
XPathFunctionId.cs : Exposed Id expression.
* Expression.cs : Added ExprLiteral.Value, and class ExprParens (it
will be used to solve evaluation precedence problem).
svn path=/trunk/mcs/; revision=20225
* Compiler.cs : Changed Keys from ArrayList to Hashtable.
XslStylesheet.cs : Added Keys support here.
* XslTransformProcessor.cs : Should call SetContext() to expressions
before evaluating current nodes.
* XsltCompiledContext.cs : 1) XsltDocument.GetDocument() should use
xsltContext. 2) XsltKey exposes KeyName, Field and NamespaceManager
for KeyPattern. It now uses CompiledStyle.FindKeys().
svn path=/trunk/mcs/; revision=20222
* System_test.dll.sources: added new RegexBugs test.
* System.Text.RegularExpressions/regex.cs:
(Split): include capture groups in the results, if any. Fixes bug
#51146.
* Test/system_linux_test.args: removed. Not needed any more.
svn path=/trunk/mcs/; revision=20219
(EndEdit) : Check that we are not in middle of ChangeEvent.
(AcceptChanges) : Detach the row.
* DataRelation.cs : throw correct exception.
*UniqueConstraint.cs : throw correct exception.
svn path=/trunk/mcs/; revision=20217
* corlib.dll.sources: Added already existing, but not added delegate
Added various classes in System.InteropServices
svn path=/trunk/mcs/; revision=20194
* ParameterCollection.cs: Implemented
* Parameter.cs: Added _owner, SetOwnerCollection and proper handling.
ToString () now matches asp.net
svn path=/trunk/mcs/; revision=20177
* expression.cs (Invocation.VerifyArgumentsCompat): Remove
debugging message.
(SizeOf.DoResolve): assign the `type_queried' field. This gets
corlib to compile.
Martin must have done most of the fixes, because corlib now builds with gmcs
svn path=/trunk/mcs/; revision=20151
* ConfigurationSettings.cs: make the *Mark objects static
because they need to be comparable across instances.
(ReadSectionGroup): You can add an element to a group declared
in the parent config files (MS.net's QuickStarts do this).
svn path=/trunk/mcs/; revision=20145
* StringBuilder.cs (Insert int, char): It is really silly and
wasteful to allocate an array here. We can just copy the value
over.
svn path=/trunk/mcs/; revision=20144
SoapClientFormatterSinkProvider.cs, SoapServerFormatterSinkProvider.cs: Small fix.
* SoapServerFormatterSink.cs: Small fix in AsyncProcessResponse.
* BinaryCore.cs, SoapCore.cs: throw an exception if an unknown property
is found.
svn path=/trunk/mcs/; revision=20131
* Graphics.cs (DrawString): Use GpRectF.
* gdipFunctions.cs: Updated method signatures.
* Graphics.cs (MultiplyTransform): Implemented using
GdipMultiplyWorldTransform from GDI+.
* gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
GpRect, to be more consistent with the C naming.
svn path=/trunk/mcs/; revision=20119
* WebConnection.cs: turns out that socket.Connected is not useful until
we actually try to send/receive data, even if the other end has already
closed the socket. Added TryReconnect() and Connected.
* WebConnectionData.cs: default value for StatusCode is 0 now.
* WebConnectionGroup.cs: reuse the connection since the beginning,
instead of opening up to ConnectionLimit and then reusing.
* WebConnectionStream.cs: reopen the socket if we're trying to reuse
one which fails on first write.
svn path=/trunk/mcs/; revision=20117
* appdomain.c (mono_runtime_get_out_of_memory_ex): New function to
return a preallocated out-of-memory exception instance.
* object.c (out_of_memory): Use the new function.
svn path=/trunk/mono/; revision=20116
* metadata.c (mono_metadata_parse_type): Handle the case when the byref
flag is before the custom modifiers. Fixes#49802.
svn path=/trunk/mono/; revision=20114
* GraphicsPathIterator.cs: Do not make this protected.
2003-11-16 Miguel de Icaza <[email protected]>
* Graphics.cs: Implement the other DrawString overloads .
2003-11-16 Miguel de Icaza <[email protected]>
* gdipStructs.cs (GdipRectF): Added utility constructor
svn path=/trunk/mcs/; revision=20092
* SqlParameterCollection.cs (Clear): Clear needs to take
the parameter out of the collection so that it can be used
again.
(Remove):
(RemoveAt): Ditto.
svn path=/trunk/mcs/; revision=20091
* pen.c (GdipResetPenTransform):
(GdipMultiplyPenTransform, GdipTranslatePenTransform):
(GdipScalePenTransform, GdipRotatePenTransform): Implemented..
* matrix.c (set_translate, set_scale, set_rotate): Helper
functions copied from Cairo. We are doing this because you can
specify the order of multiplcation in GDI+, but not in Cairo.
2003-11-15 Duncan Mak <[email protected]>
* graphics.c: Moved PI and GRADTORAD to gdip.h.
* gdip.h: Renamed GRADTORAD to DEGTORAD.
* matrix.c (GdipCloneMatrix): Fix argument order.
* matrix.c
(GdipMultiplyMatrix, GdipTranslateMatrix, GdipScaleMatrix):
(GdipRotateMatrix, GdipInvertMatrix):
(GdipTransformMatrixPoints, GdipVectorTransformMatrixPoints):
(GdipSetMatrixElements, GdipGetMatrixElements):
(GdipIsMatrixInvertible): Implemented.
* matrix.c (GdipIsMatrixIdentity, GdipIsMatrixEqual): Implemented,
but pending commit for cairo_matrix_equals to Cairo.
2003-11-15 Duncan Mak <[email protected]>
* gdipFunctions.cs: Imported matrix functions.
svn path=/trunk/mcs/; revision=20090
context.
* ConstructionCall.cs: Fixed signature of some methods.
* ConstructionResponse.cs: Fixed signature of constructor and added missing
property.
* LogicalCallContext.cs: Removed TODO.
* MethodCall.cs, MethodResponse.cs: Added support for LogicalCallContext in
consturctor.
* MethodReturnMessageWrapper.cs: Removed some unneded methods.
svn path=/trunk/mcs/; revision=20084
BinaryServerFormatterSink.cs, BinaryServerFormatterSinkProvider.cs:
Moved formatter code to BinaryCore. This adds support for the properties
"includeVersion" and "strictBinding" to the binary formatter.
* BinaryCore.cs: New file. Contains some code used by the binary formatter sinks.
* SoapClientFormatterSink.cs, SoapClientFormatterSinkProvider.cs,
SoapServerFormatterSink.cs, SoapServerFormatterSinkProvider.cs
Moved formatter code to BinaryCore. This adds support for the properties
"includeVersion" and "strictBinding" to the soap formatter.
* SoapCore.cs: New file. Contains some code used by the soap formatter sinks.
* ChannelCore.cs: New file. Implements a simple type binder used by the
formatter sinks.
svn path=/trunk/mcs/; revision=20074
* generic.cs (TypeArguments.Resolve):
`Expression.ResolveAsTypeTerminal()' returns a TypeExpr; call
`ResolveType()' on it to get the Type.
svn path=/trunk/mcs/; revision=20072
* Assembly.cs (InternalGetAssemblyName): New icall.
* AssemblyName.cs (GetAssemblyName): Implement this without loading
the assembly in question. Fixes#51035.
svn path=/trunk/mcs/; revision=20067
* assembly.c (mono_assembly_fill_assembly_name): New function to
fill out the MonoAssemblyName structure.
(mono_assembly_open): Use the new function.
* icall.c (fill_reflection_assembly_name): New helper function.
* icall.c (ves_icall_System_Reflection_Assembly_FillName): Use the
new function.
* icall.c (ves_icall_System_Reflection_Assembly_InternalGetAssemblyName): New icall.
svn path=/trunk/mono/; revision=20066
* gacutil.cs: Changed ... + Path.DirSepChar + ... to Path.Combine
Thanks to Ben Maurer. Turns out code marked as potentially not
needed was not needed, now refcounting with /u assemblyname works
as well.
svn path=/trunk/mcs/; revision=20054
* gacutil.cs: Added reference counting for installation and deletion.
An assembly will have a RefCount of 1 if --force is used.
svn path=/trunk/mcs/; revision=20053
* System/Environment.cs: use Directory in CurrentDirectory property.
We were not throwing any exception when setting the directory to an
invalid path.
* System.IO/Directory.cs:
(GetCurrentDirectory):
(SetCurrentDirectory): moved here from Environment. Handle error cases.
* System.IO/MonoIO.cs: add path to the default error message.
svn path=/trunk/mcs/; revision=20032
* class.c (mono_class_is_open_constructed_type): New public
function; checks whether a type is an open constructed type,
ie. whether it still contains type parameters.
(mono_class_inflate_generic_type): If we're a type parameter and
the inflated type is also a MONO_TYPE_(M)VAR, return the original
type.
* class.h (MonoGenericInst): Added `guint32 is_open'.
* loader.c (method_from_methodspec): Check whether we're an open
or closed constructed type and set `ginst->is_open'.
* reflection.c (mono_reflection_bind_generic_parameters): Check
whether we're an open or closed constructed type and set
`ginst->is_open'.
(mono_reflection_inflate_method_or_ctor): Don't inflate methods
from open constructed types.
svn path=/trunk/mono/; revision=20027
* reflection.c (mono_reflection_bind_generic_parameters): If we're
a generic instance (instead of a generic type declaration) with
unbound generic parameters, bind them to our actual types.
svn path=/trunk/mono/; revision=20021
Added handling of foreColor
Added handling of Pushbutton checkboxes
Added handling for three-state checkboxes
Added handling for alignment of checkbox and text
Added (incomplete) support for focus handling
svn path=/trunk/mcs/; revision=20019
* reflection.h (MonoReflectionGenericInst): Added `MonoArray *interfaces'.
* reflection.c (mono_reflection_bind_generic_parameters): If we're
an interface type, populate `res->interfaces' with instantiated
versions of all the interfaces we inherit.
svn path=/trunk/mono/; revision=20009
* MonoGenericInst.cs (MonoGenericInst): Added
`MonoGenericInst[] interfaces' field. This is only used for
interface types.
(MonoGenericInst.inflate): If we're an interface type, add the
methods from all interfaces we inherit.
svn path=/trunk/mcs/; revision=20008
* inssel-x86.brg, inssel-float.brg, mini-ops.h: move x86-specific
float rules to inssel-x86.brg: sane architectures with FP registers
don't need to implement these rules.
svn path=/trunk/mono/; revision=20006
cairo_t. We need this because this is used in matrix.c and we only
have cairo_matrix_t there.
* graphics.c: Updated calls to gdip_get_status.
* pen.c
(convert_line_cap, convert_line_join): Added static keyword.
(GdipDeletePen): Implemented.
* matrix.c
(GdipCreateMatrix2, GdipCloneMatrix, GdipInvertMatrix): Use
gdip_get_status instead of just returning Ok.
(GdipRotateMatrix, GdipScaleMatrix, GdipTranslateMatrix):
Implemented.
svn path=/trunk/mcs/; revision=19999
* DateTime.cs: Running tests in different timezones give different
results. Need to change the way these tests work. Disabling some
tests for now.
svn path=/trunk/mcs/; revision=19995
* corlib_test.dll.sources: added new ValueTypeTest.cs
* System/ValueType.cs:
(Equals): compare the fields of structs too.
(GetHashCode): combine the hash code of all the fields.
Fixes bug #50901 (will remove the icall in a couple of days).
* Test/corlib_linux_test.args: Removed file.
* Test/corlib_test.args: Removed file.
* Test/System/ValueTypeTest.cs: New file.
svn path=/trunk/mcs/; revision=19994
* Directory.cs: allow directory names without wildcards in the pattern.
Fixes bug #3 50969.
* SearchPattern.cs: made InvalidChars and WildcardChars internal.
svn path=/trunk/mcs/; revision=19990
* FileStream.cs: use the argument name when throwing exception.
* StreamReader.cs:
* StringReader.cs:
* TextReader.cs: added [In] attribute for the array in Read.
svn path=/trunk/mcs/; revision=19987
* WebConnectionStream.cs: when a callback is passed to BeginRead/Write,
wrap it and do our job before calling it. Fixes bug #48497.
svn path=/trunk/mcs/; revision=19985
* Makefile: Hacked up a bit to allow the assemblies generated to have
'Microsoft.Web.Services' as their AssemblyName.Name instead of
'Microsoft.Web.Services.1' and 'Microsoft.Web.Services.2'.
svn path=/trunk/mcs/; revision=19984
* ProtectedDataTest.cs: New. Unit tests for ProtectedData (1.2).
* ProtectedMemoryTest.cs: New. Unit tests for ProtectedMemory (1.2).
svn path=/trunk/mcs/; revision=19979
set. Add method to set Http response header data
* HttpCacheVaryByParams.cs: Add method to create a response header.
* HttpCacheability.cs: Add ServerAndPrivate and ServerAndNoCache.
* HttpResponse.cs: Set cache headers.
svn path=/trunk/mcs/; revision=19971
respective client and server channels. Added implementatoin of the
interface IChannelReceiverHook.
* HttpRemotingHandler.cs: Implemented.
* HttpRemotingHandlerFactory.cs: Implemented.
* HttpServer.cs: In general, use Stream instances instead of Socket. It is
more reusable in this way. Also improved formatting.
* HttpServerChannel.cs: Implemented support for IChannelReceiverHook.
Added new method DispatchRequest in HttpServerTransportSink that can
be reused by HttpRemotingHandler.
svn path=/trunk/mcs/; revision=19943
* mono-api-diff.cs: ensure no nested type gets in as non-nested.
(May be a bug in MS?). Added ptype and params attributes for properties.
* mono-api-info.cs: fixed some cases where there's a name duplication
(multiple attributes, properties). Fixed completion counters.
svn path=/trunk/mcs/; revision=19939
* icall.c:
(ves_icall_Type_GetInterfaces): don't return an interface twice when
it's also implemented in base classes. Fixes bug #50927.
svn path=/trunk/mono/; revision=19933
* gc.c (ves_icall_System_GC_WaitForPendingFinalizers): Avoid deadlocks
if this method is called from a finalizer. Fixes#50913.
svn path=/trunk/mono/; revision=19932
* GenericOutputter.cs : Added HTML output support. Closer xmlns handling
to Xalan tests and MS.NET implementation (only for test convenience).
* XslOutput.cs : Indent holds string rathen than bool. Its default value
varies in the context. When method="html", then default is "yes".
* XslTransformProcessor.cs : Extension element prefixes should not
be written as stylesheet namespaces.
* XsltCompiledContext.cs : Return type of generate-id() is string.
Implemented unparsed-entity-uri().
svn path=/trunk/mcs/; revision=19928
* convert.cs (ImplicitReferenceConversion): We were missing a case
(System.Enum are not value types or class types, so we need to
classify them separatedly).
svn path=/trunk/mcs/; revision=19922
* AssemblyBuilder.cs (DefineDynamicModule): Make internal method
private.
* AssemblyBuilder.cs (Save): Write out the main module at the end.
svn path=/trunk/mcs/; revision=19912
* driver.cs : /imports option now is implemented
* mb-parser.jay: support for pre-imported namespaces (the default Microsoft.VisualBasic and those from /imports)
svn path=/trunk/mcs/; revision=19902
* mb-tokenizer.cs : integer literal (Hex starts with &H not 0x), handle Octal literals (&O)
* handle unicode specialized double-quotes in string literals
* corrected some mishandling of conversions in numeric literals
* implemented support for char literals ("z"c)
* Makefile : verbose target uses verbose argument
* testmbas/WriteOK.vb: many tests for literals implemented
* literal.cs: correcting lack of a ShortLiteral class
* mb-parser.jay: removed support for unsigned int literals, added support for short int literals
svn path=/trunk/mcs/; revision=19900
* ActivatedClientTypeEntry.cs: Set the value of ObjectType in the constructor
* ActivatedServiceTypeEntry.cs, WellKnownClientTypeEntry.cs,
WellKnownServiceTypeEntry.cs: Check that the provided type is valid.
svn path=/trunk/mcs/; revision=19887
* assembly.c (mono_assembly_load_references): Disable check because it
triggers on older corlibs which lots of people have.
svn path=/trunk/mono/; revision=19881
load corlib.dll if mscorlib.dll is not found.
* assembly.h: Remove corlib name define.
* class.c:
* domain.c:
* image.c: Change corlib name to mscorlib.
svn path=/trunk/mono/; revision=19878
system directory. Also use the full file name so users can
libraries names mscorlib-o-tron.dll in a non system dir.
svn path=/trunk/mcs/; revision=19876
* mono-math.h mono-math.c: New file which contains implementations of
math functions/macros which are missing on some platforms.
svn path=/trunk/mono/; revision=19870
* Directory.cs: Adjust for missing PlatformID.Unix.
2003-11-12 Miguel de Icaza <[email protected]>
* PlatformID.cs: Remove Unix platform, we cant expose constants
that are not in the framework.
* OperatingSystem.cs: Adjust for the breakage.
* RuntimeMethodHandle.cs: Fix signature.
* Double.cs: Fix signature of TryParse.
* String.cs (Concat (object, object, object, object)): Add missing method.
* OperatingSystem.cs: Removed Equals, GetHashCode, they were not
in the .NET Framework.
* Enum.cs: Hide constructor.
Fix ToUint16 to be explicitly implemented.
* Console.cs: Add couple of extra missing methods (Write and
WriteLine overloaded)
svn path=/trunk/mcs/; revision=19857
* appdomain.h: Added loader_optimization here to sync with the C#
code, and add disallow_binding_redirects field.
svn path=/trunk/mono/; revision=19845
* Encoding.cs: Use an internal variable to track the parameters of
each encoder, since the .NET API does not expose virtual methods
in the child classes, we should not depend on that.
* ASCIIEncoding.cs, UTF7Encoding, UTF8Encoding, UnicodeEncoding:
Initialize the parameters for base class encoding here.
svn path=/trunk/mcs/; revision=19843
* mono-api-diff.cs: fixed nullref and add warning when class type do not
match.
* mono-api-info.cs: ignore private classes.
svn path=/trunk/mcs/; revision=19838
* reflection.h (MonoMethodInfo): Track changes to the managed structure.
* icall.c (ves_icall_get_method_info): Return callingConvention as
well.
* icall.c (ves_icall_System_Reflection_Assembly_GetNamespaces): Add
namespaces from the EXPORTEDTYPE table as well.
* icall.c (ves_icall_System_Reflection_Assembly_GetTypes): Merge types
from all modules inside the assembly.
svn path=/trunk/mono/; revision=19831
* CorCompare.exe.sources: not needed now.
* Makefile: updated to build the 3 exes we have now.
* mono-api-info.cs: new program. Given an assembly name, it generates
an xml file with its public data.
* mono-api-diff.cs: compares 2 xml files generated with mono-api-info
and outputs an xml file suitable for building class status pages with
mono-api.xsl.
* mono-api.xsl: small modifications to corcompare.xsl to match the new
file format.
svn path=/trunk/mcs/; revision=19821
* reflection.c (resolution_scope_from_image): Use the assembly table
from the manifest module, since other modules don't have it.
svn path=/trunk/mono/; revision=19818
* debug-helpers.c (mono_type_full_name): New helper function.
* image.h (MonoAssembly): Change 'dynamic' to a boolean.
* image.c (mono_image_load_file_for_image): New public function which
is a replacement for the load_file_for_image in class.c.
* assembly.c (mono_assembly_load_module): A wrapper for the function
above which does assembly association and reference loading too.
* class.c (mono_class_from_name): Call mono_assembly_load_module.
svn path=/trunk/mono/; revision=19817
* appdomain.c: not all of the attributes for the full assembly name
are required and the order doesn't matter. Fixes bug #50787.
svn path=/trunk/mono/; revision=19814
* Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
CanRead because the schema can be readed with or without result
rows.
svn path=/trunk/mcs/; revision=19810
* ContextsTest.cs: Unregister dynamic properties even if there is an exception.
* CrossDomainCalls.cs: New test for the cross-app domain channel.
svn path=/trunk/mcs/; revision=19799
* DataColumnMappingCollection.cs: Fix a missing exception when the
required mapping is not in the collection. MS.NET throws an
exception there.
svn path=/trunk/mcs/; revision=19797
* *.cs, mb-parser.jay: Switched all from defining/using namespace Mono.CSharp to Mono.MonoBASIC
* location.cs: SymbolDocument now returns a SymbolDocumentWriter using the right (SymLanguageType.Basic) GUID
svn path=/trunk/mcs/; revision=19794
* typemanager.cs (TypeManager.ResolveExpressionTypes): Removed.
(TypeManager.InitCoreTypes): Initialize them here, but instead of
calling `ResolveType()' on them, directly assign their `Type'.
svn path=/trunk/mcs/; revision=19791
* metadata.c
(mono_metadata_load_generic_params): Make this actually work.
* reflection.c (mono_reflection_bind_generic_parameters): If our
parent is a generic instance, pass all the `types' to it, no
matter whether it has the same number of type parameters or not.
svn path=/trunk/mono/; revision=19786
* assembly.c (mono_assembly_load_references): Move the image<->assembly
assignment code to this function so it gets called recursively for all
modules.
* image.c (load_modules): Remove the assembly assignment since it is
now done by mono_assembly_load_references.
svn path=/trunk/mono/; revision=19782
* Assembly.cs (InternalGetType): Add a 'module' argument so this
method can be used from Module as well.
* Module.cs (GetType): Implement.
* Module.cs (GetTypes): Implement.
* Module.cs: Remove some [MonoTODO] attributes from implemented methods.
svn path=/trunk/mcs/; revision=19780
* Rfc2898DeriveBytes.cs: Implementation for PKCS5 PBKDF2. It works
except for the Reset() part - which implies some kind of Resume.
svn path=/trunk/mcs/; revision=19774
* DataBoundControl.cs: Implement
* ListControl.cs: inherit from the above.
* Repeater.cs, BaseDataList.cs: should reset whenever we databind.
svn path=/trunk/mcs/; revision=19773
* DataRow.cs: Use RemoveInternal instead of Remove because the last
one uses Delete and AcceptChanges.
* DataRowCollection.cs: When removing, Delete and AcceptChanges
method from the row are called. Added an internal method that will
be used by DataRow to "physically" remove the row from the list.
svn path=/trunk/mcs/; revision=19768
* Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
CommandBuilder to the local data. Local data should be null if the
client doesn't set them.
* Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
svn path=/trunk/mcs/; revision=19767
* XslAttribute.cs : namespace should be String.Empty if no specification
exists.
* XslNumber.cs : default format string is "1". See XSLT spec. 7.7.1.
svn path=/trunk/mcs/; revision=19765
* DataRow.cs (this[]) : First check if row is deleted.
(ItemArray) : First check if row is deleted.
(SetColumnValue) : Initiate error message when null violation happens. Check for array type when
setting the value of the row.
(EndEdit) : Check that the table's row is not in loading before validating constrains.
(CheckNullConstraints) : new method for validating null constraint violations.
* DataRowCollection.cs (ValidateDataRowInternal) : Adding validation of null constraint violation.
* DataSet.cs (CaseSensitive) : After changing the value - check constrains.
(EnforceConstraints) : When changing the value to true assert all constraints.
* UniqueConstraint.cs (AssertConstraint,CalcHashValue, RowsComparer) : Adding support for case insensitive comparison.
svn path=/trunk/mcs/; revision=19764
* corlib.dll.sources: Added new 1.2 classes for System.Security.Cryptography.
* corlib_test.dll.sources: Added unit tests for some HMAC (new in 1.2).
svn path=/trunk/mcs/; revision=19763
* HMACMD5Test.cs: New. Unit test for HMAC-MD5 with test vectors from
RFC2104.
* HMACRIPEMD160Test.cs: New. Unit test for HMAC-RIPEMD160 with test
vectors from http://www.esat.kuleuven.ac.be/~bosselae/ripemd160.html.
* HMACSHA256Test.cs: New. Unit test for HMAC-SHA256.
svn path=/trunk/mcs/; revision=19762
* CryptoConfig.cs: Updated for RIPEMD160 and HMAC.
* CspKeyContainerInfo.cs: New (1.2). Information about CSP based key
containers.
* DataProtectionScope.cs: New (1.2). Enumeration for ProtectedData.
* HMAC.cs: New (1.2). Base class for all HMAC. Code is mostly copied
from internal Mono.Security.Cryptography.HMACAlgorith.cs.
* HMACMD5.cs: New (1.2). HMAC implementation using MD5.
* HMACRIPEMD160.cs: New (1.2). HMAC implementation using RIPEMD160.
* HMACSHA1.cs: Modified to derive from HMAC for .NET 1.2.
* HMACSHA256.cs: New (1.2). HMAC implementation using SHA256.
* HMACSHA384.cs: New (1.2). HMAC implementation using SHA384.
* HMACSHA512.cs: New (1.2). HMAC implementation using SHA512.
* ICspAsymmetricAlgorithm.cs: New (1.2). Interface for CSP based
asymmetric algorithm.
* KeyNumber.cs: New (1.2). Enumeration for CspKeyContainerInfo.
* MemoryProtectionScope.cs: New (1.2). Enumeration for ProtectedMemory.
* PaddingMode.cs: Added two new padding modes to enumeration (for 1.2).
* ProtectedData.cs: New (1.2). ProtectedData without protection (TODO).
* ProtectedMemory.cs: New (1.2). Stub for ProtectedMemory.
* Rfc2898DeriveBytes.cs: New (1.2). Stub for PKCS5 PBKDF2.
svn path=/trunk/mcs/; revision=19761
* class.c (mono_class_inflate_generic_method): Interface method
don't have a header.
* reflection.c (mono_image_get_methodspec_token): Take an
additional `MonoGenericInst *' argument instead of reading it from
the header; this is necessary to support interfaces.
(mono_image_create_token): Pass the `MonoGenericInst *' from the
MonoReflectionInflatedMethod to mono_image_get_methodspec_token().
(inflated_method_get_object): Take an additional `MonoGenericInst *'
argument.
* reflection.h (MonoReflectionInflatedMethod): Added
`MonoGenericInst *ginst'.
svn path=/trunk/mono/; revision=19759
* jscript-lexer-parser.g: Allow the building of numeric_literal and DECIMAL_LITERAL,
this is temporal in order to get Factorial compiled by mjs (must
build the types according to Ecma-262 spec).
* Literal.cs: Added NumericLiteral class.
2003-11-06 cesar lopez nataren <[email protected]>
svn path=/trunk/mcs/; revision=19757
* DataRowCollection.cs: To follow the specification: Remove and
RemoveAt should remove the row. But needed to call DeletingDataRow
to prepare the deleting.
* DataRow.cs: Don't call DeletingDataRow when it is called by the
method Table.Rows.Remove.
svn path=/trunk/mcs/; revision=19753
* RIPEMD160Test.cs: New. Unit test using RIPEMD160 test vectors.
* RIPEMD160Managed.cs: New. Unit tests running RIPEMD160Test using the
RIPEMD160Managed implementation.
svn path=/trunk/mcs/; revision=19752
* RIPEMD160.cs: New (1.2). Abstract class for RIPEMD160 hash from
Pieter Philippaerts ([email protected])
* RIPEMD160Managed.cs: New (1.2). Implementation of the RIPEMD160 hash
algorithm from Pieter Philippaerts ([email protected])
svn path=/trunk/mcs/; revision=19751
* UrlUtils.cs: new function to do the app mapping, but make
it return a physical path.
2003-11-08 Ben Maurer <[email protected]>
* SiteMap.cs (Init): implement a hack that doesnt need the config
stuff. Should do that later.
* SiteMapNodeCollection (OnValidate): Fix recursion.
* SiteMapProvider.cs: We dont implement some culture stuff work
around it. Fix typo.
* XmlSiteMapProvider.cs: Added.
svn path=/trunk/mcs/; revision=19749
* DataRowCollection.cs: Make the row be deleted by itself. If not,
it fails because we need to call OnRowDeleting and OnRowDeleted. It
is full implemented inside DataRow.
svn path=/trunk/mcs/; revision=19748
* X509ChainElementCollectionTest.cs: New. Unit tests for
X509ChainElementCollection.
* X509ChainElementEnumeratorTest.cs: New. Unit tests for
X509ChainElementEnumerator.
* X509ChainPolicyTest.cs: New. Unit tests for X509ChainPolicy.
* X509ChainTest.cs: New. (Incomplete) Unit tests for X509Chain.
* X509StoreTest.cs: New. (Incomplete) Unit tests for X509Store.
svn path=/trunk/mcs/; revision=19746
* OpenFlags.cs: New (1.2). Enumeration for certificate stores.
* StoreLocation.cs: New (1.2). Enumeration for certificate stores.
* StoreName.cs: New (1.2). Enumeration for certificate stores.
* X509Chain.cs: New (1.2). Class to build a certificate chain up to a
trusted anchor.
* X509ChainElement.cs: New (1.2). Element from the chain (certificate,
status and information) - only stubbed for now.
* X509ChainElementCollection.cs: New (1.2). Collection class for
X509ChainElement.
* X509ChainElementEnumerator.cs: New (1.2). Enumerator class for
X509ChainElement.
* X509ChainPolicy.cs: New (1.2). Policy to build a certificate chain.
* X509ChainStatusFlags.cs: New (1.2). Enumeration for chain status.
* X509FindType.cs: New (1.2). Enumeration for how to find X.509
certificates in stores.
* X509IncludeOption.cs: New (1.2). Enumeration for options about which
certificate(s) to store within a (pkcs7) structure.
* X509KeyUsageFlags.cs: New (1.2). Enumeration for specifying valid
usage for a keypair.
* X509NameType.cs: New (1.2). Enumeration for different types of name
that can be present inside a certificate.
* X509RevocationFlag.cs: New (1.2). Enumeration for specifying which
certificates should be verified for revocation in a chain.
* X509RevocationMode.cs: New (1.2). Enumeration for specifying how the
revocation process should find it's informations.
* X509SelectionFlag.cs: New (1.2). Enumeration about how to select
certificates (ui-related).
* X509Store.cs: New (1.2). X.509 certificate store access - not complete.
* X509VerificationFlags.cs: New (1.2). Enumeration for parameters
affecting the verification of a certificate chain.
svn path=/trunk/mcs/; revision=19745
* Makefile: Little fix for build the resources.
* Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
command.
svn path=/trunk/mcs/; revision=19744
* ContentInfoTest.cs: New. (Incomplete) Unit tests for ContentInfo.
* Pkcs7SignerTest.cs: New. New. Unit tests for Pkcs7Signer.
* RecipientInfoTest.cs: New. Unit tests for abstract class
svn path=/trunk/mcs/; revision=19743
* ContentInfo.cs: New. Class to encapsulate PKCS7 ContentInfo. Static
method GetContentType need to be completed (requires some test vectors).
* Pkcs7Signer.cs: New. Class to add attributes (authenticated and/or
authenticated), certificates and other informations to the signature.
* RecipientInfo.cs: New. Abstract class to encpasulate recipient
informations.
svn path=/trunk/mcs/; revision=19742
* Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
calls, the problem is fixed.
* Makefile: Fix one bug in the build of resources.
svn path=/trunk/mcs/; revision=19739
* class.cs (TypeContainer.GetClassBases): Use TypeExpr's for the
return value and the `out parent' parameter.
(TypeContainer.DefineType): Moved the CS0644 check into
GetClassBases(). Don't pass the interface types to the
`builder.DefineType()'/`builder.DefineNestedType()', but resolve
them later and then call `TypeBuilder.AddInterfaceImplementation()'.
* ecore.cs (TypeExpr.IsAttribute): New property.
(TypeExpr.GetInterfaces): New method.
* interface.cs (Interface.GetInterfaceTypeByName): Return a
TypeExpr instead of a Type.
(Interface.GetInterfaceBases): Return TypeExpr's instead of Type's.
(Interface.DefineType): Don't pass the interface types to the
`builder.Definetype()'/`builder.DefineNestedType()', but resolve
them later and then call `TypeBulider.AddInterfaceImplementation()'.
* typemanager.cs (TypeManager.AddUserType): Take a `TypeExpr[]'
instead of a `Type[]'.
(TypeManager.RegisterBuilder): Likewise.
(TypeManager.AddUserInterface): Likewise.
(TypeManager.ExpandInterfaces): Take a `Type[]' instead of a
`Type[]' and also return a `TypeExpr[]'.
(TypeManager.GetInterfaces): Return a `TypeExpr[]'.
svn path=/trunk/mcs/; revision=19734
* decl.cs (DeclSpace.GetTypeResolveEmitContext): Call
TypeManager.ResolveExpressionTypes().
* ecore.cs (Expression.ResolveAsTypeTerminal): Return a TypeExpr
instead of an Expression.
(TypeExpr): This is now an abstract base class for `TypeExpression'.
(TypeExpression): New public class; formerly known as `TypeExpr'.
* expression.cs (ComposedCast): Derive from TypeExpr.
* typemanager.cs (TypeManager.system_*_expr): These are now
TypExpr's instead of Expression's.
(TypeManager.ResolveExpressionTypes): New public static function;
called from DeclSpace.GetTypeResolveEmitContext() to resolve all
of them.
svn path=/trunk/mcs/; revision=19732
* Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
* Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
OnRowUpdating is called we create the command necesary for updating,
inserting or deleting any row of the DataTable/DataSet.
* Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
work. This must be removed when ResMan works.
* Npgsql/NpgsqlParameter: No more than one call to value.GetType()
is more efficient for the deep if structure types.
svn path=/trunk/mcs/; revision=19730
that the .x and .y values are not being posted, and only the x
value is being posted with the ctrl's id as the key.
svn path=/trunk/mcs/; revision=19725
* Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
change. The Command objects must not be created in the constructor.
The Commands should be in the overrided method "OnRowUpdating".
* Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
the proper exception (not MissingManifestResourceException). It is
thrown in MS.NET and in MONO. (Npgsql compiled with MCS).
svn path=/trunk/mcs/; revision=19713
* AlgorithmIdentifierTest.cs: New. Unit tests for AlgorithmIdentifier.
* CryptographicAttributeTest.cs: New. Unit tests for CryptographicAttribute.
* Pkcs9AttributeTest.cs: New. Unit tests for Pkcs9Attribute (same as for
CryptographicAttribute).
* Pkcs9DocumentDescriptionTest.cs: New. Unit tests for Pkcs9DocumentDescription.
* Pkcs9DocumentNameTest.cs: New. Unit tests for Pkcs9DocumentName.
* Pkcs9SigningTimeTest.cs: New. Unit tests for Pkcs9SigningTime.
svn path=/trunk/mcs/; revision=19710
* expression.cs (New.DoResolve): Do not dereference value that
might be a null return.
* statement.cs (Block.EmitMeta): Use the Const.ChangeType to make
sure that the constant value has the right type. Fixes an
unreported bug, similar to 50425.
* const.cs (Const.LookupConstantValue): Call
ImplicitStandardConversionExists before doing a conversion to
avoid havng the TypeManager.ChangeType do conversions.
Reduced the number of casts used
(Const.ChangeType): New routine to enable reuse of the constant
type changing code from statement.
* typemanager.cs (ChangeType): Move common initialization to
static global variables.
Fixes#50425.
svn path=/trunk/mcs/; revision=19707
* Iterator.cs: (AxisIterator.ComparablePosition): Remove. Let
it inherit from the base class. This made b[2] evaluated on
<a /><b /><c /><a /><b /><c /> return the first b node because
in the ChildIterator it was the second node and seemed to satsify
the predicate.
svn path=/trunk/mcs/; revision=19706
* AsnEncodedDataTest.cs: New. Unit tests for AsnEncodedData (.NET 1.2).
* OidTest.cs: New. Unit tests for Oid (.NET 1.2).
* OidCollectionTest.cs: New. Unit tests for OidCollection (.NET 1.2).
* OidEnumeratorTest.cs: New. Unit tests for OidEnumerator (.NET 1.2).
svn path=/trunk/mcs/; revision=19702
* AsnEncodedData.cs: New. Class to encapsulate ASN.1 data (.NET 1.2).
* Oid.cs: New. Class to encapsulate OIDs (.NET 1.2).
* OidCollection.cs: New. ICollection based class for OIDs (.NET 1.2).
* OidEnumerator.cs: New. IEnumerator based class for OIDs (.NET 1.2).
svn path=/trunk/mcs/; revision=19701
* BinarySecurityTokenTest.cs: Fixed some tests and added one for RawData.
* DecryptionKeyProviderTest.cs: New. Unit tests for DecryptionKeyProvider.
* SignatureTest.cs: Updated for WSE2 compatibility (SignatureOptions).
svn path=/trunk/mcs/; revision=19700
* BinarySecurityToken.cs: Oops unit tests were failing on this one. Also implemented RawData (it's actually used - see updated unit tests).
* DecryptionKeyProvider.cs: Basic implementation based on code I (wrongly) put in EncryptedKey.
* EncrypedKey.cs: Now calls DecryptionKeyProvider.
* SignatureOptions.cs: Updated for WSE2 compatibility (removed IncludePath*).
svn path=/trunk/mcs/; revision=19699
* VBCodeGenerator.cs: some corrections regarding missing spaces in
generated code (e. g. "Property "). QuoteSnippetString implemented.
Patch by Jochen Wezel ([email protected]).
svn path=/trunk/mcs/; revision=19697
* mini.h (mono_arch_setup_jit_tls_data): New arch specific function.
* mini.c (setup_jit_tls_data): Call the new function.
* mini-x86.c mini-ppc.c mini-sparc.c: Define the new function.
* mini-x86.c: Add experimental support for fast access to the lmf
structure under NPTL/Linux 2.6.x.
svn path=/trunk/mono/; revision=19693
updating.
* SessionSqlServerHandler.cs:
* SessionInProcHandler.cs: Accept SessionStateModule when
updating. Use new SessionId.Create method for creating session
ids.
* SessionStateModule.cs: Add a random number generator that will
be used for creating session ids. Pass this to handlers when
updating.
* SessionId.cs: New class for creating session ids.
svn path=/trunk/mcs/; revision=19689
* reflection.c
(reflection_methodbuilder_from_method_builder):
(reflection_methodbuilder_from_ctor_builder): New helper functions to
initialize a ReflectionMethodBuilder structure.
(mono_image_get_methodbuilder_token):
(mono_image_get_ctorbuilder_token): New functions to emit memberref
tokens which point to types in another module inside the same assembly.
* reflection.c: Use the new helper functions.
svn path=/trunk/mono/; revision=19686
* ldscript: Make `GC_push_all_stack', `GC_start_blocking',
`GC_end_blocking' and 'gc_thread_vtable' public; they're used by
the debugger.
svn path=/trunk/mono/; revision=19683
* icall.c loader.c reflection.c: Use ModuleBuilder->dynamic_image
instead of AssemblyBuilder->dynamic_assembly in the appropriate places.
* reflection.c (resolution_scope_from_image): Emit a moduleref if
neccesary.
* reflection.c (mono_image_build_metadata): Emit metadata only for the
current module. Emit the manifest only for the main module.
* reflection.c (mono_image_create_token): Add assertion when a
memberref needs to be created.
* reflection.c reflection.h (MonoDynamicAssembly): Remove unused fields.
* reflection.c (mono_reflection_get_custom_attrs_blob): Allocate a
larger buffer for the custom attribute blob. Fixes#50637.
svn path=/trunk/mono/; revision=19675
* Mono.Security.Protocol.Tls/CipherSuite.cs:
- Added custom padding for record encryption.
2003-11-03 Carlos Guzm�n �lvarez <[email protected]>
* Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessages.cs:
- Removed file.
* Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:
- New class for handshake hashes calculation on SSL3 protocol.
* Mono.Security.Protocol.Tls/TlsSessionContext.cs:
- Fixed mac keys clearing for SSL3 protocol.
* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
- Added changes for make use of new TlsSslHandshakeHash class.
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
- Added initial implementation for SSL3 protocol.
* Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:
- New class for md5-sha hash calculation.
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsHandshakeMessage.cs:
- Make use of new MD5SHA1CryptoServiceProvider class.
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
- Added initial implementation (not finished).
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
- Minor change to message processing.
- Changed verify method name to verifySignature.
* Mono.Security.Protocol.Tls/TlsSessionContext.cs:
- Changed handshakeHashes member to be an TlsStream.
2003-10-28 Carlos Guzm�n �lvarez <[email protected]>
* Mono.Security.Protocol.Tls/CipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsSessionSettings.cs:
* Mono.Security.Protocol.Tls/TlsServerSettings.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
- Added changes for make use of X509 classes from mono.
svn path=/trunk/mcs/; revision=19673
* convert.cs (ImplicitReferenceConversion): Somehow we allowed
every value type to go through, even if it was void. Fix that.
svn path=/trunk/mcs/; revision=19667
* ICollection.cs, IList.cs, IEnumerator.cs, IEnumerable.cs:
Started to implement the System.Collections.Generic classes.
svn path=/trunk/mcs/; revision=19666
* cs-tokenizer.cs: Use is_identifier_start_character on the start
character of the define, and the is_identifier_part_character for
the rest of the string.
svn path=/trunk/mcs/; revision=19665
* expression.cs (UnaryMutator.EmitCode): When I updated
LocalVariableReference.DoResolve, I overdid it, and dropped an
optimization done on local variable references.
svn path=/trunk/mcs/; revision=19661
to keep track if we are inside nested blocks. At
'func_decl_or_expr', now I built the FunctionDeclaration or
FunctionExpression first and then assign its body to it - this let
me get a non-null value of the FunctionExpression or
FunctionDeclaration so I can detect if it's a nested block (thanks go to Jackson!).
svn path=/trunk/mcs/; revision=19643
on all Relations.
(GetChildRows) : Adding some checks.
(GetParentRows) : Adding some checks. Fix a bug in implementation.
(SetParentRow) : Added implementation.
* DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
* DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
* ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
* MergeManager.cs : Check that the target table is not null.
svn path=/trunk/mcs/; revision=19640
* HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just return false
(which makes sense, as the custom errors *arent* enabled; ie they dont work.
* HttpResponseStream.cs: you actually can write with len = 0
* AssemblyResourceLoader.cs: New file. New v2 handler.
* Control.cs (GetWebResourceUrl): new v2 function
* Page.cs (GetWebResourceUrl): ditto.
make the JS we generate work with moz if the form is not a child
of document.
* WebResourceAttribute.cs: Added, new v2 attribute.
svn path=/trunk/mcs/; revision=19631
* Iterator.cs : Added bool ReverseAxis property to identify whether
the iterator is in reverse order or not. Added ComparablePosition
for correct position comparison for PredicateIterator and reverse-
order-axes. Modified AncestorIterator, AncestorOrSelfIterator,
PrecedingIterator and PrecedingSiblingIterator to make MoveNext()
return their nodes in document order. This fixes bugzilla #39079.
svn path=/trunk/mcs/; revision=19621
type, when instantiating alternating items use the itemTemplate if
the alternatingItem template is null. This matches MS behavoir and
fixes bug #50157.
svn path=/trunk/mcs/; revision=19610
paging is disabled. Patch by Yaron Shkop.
* PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
* TableStyle.cs (AddAttributesToRender): Render border style
collapse. Patch by Yaron Shkop.
* TableStyle.cs:
* TableItemStyle.cs:
* DataGridPagerStyle.cs: Call base copy and merge even if style is of
the wrong type. Patch by Yaron Shkop.
svn path=/trunk/mcs/; revision=19605
Reformated the code to follow GTK+ style C; renamed
types to reflect the names used in the Flat API reference. Added
implementions for Ellipses, Lines, Polygons and what not.
2003-11-01 Duncan Mak <[email protected]>
* matrix.c
(GdipCreateMatrix, GdipCreateMatrix2, GdipCloneMatrix):
(GdipDeleteMatrix, GdipInvertMatrix): Implemented; the rest of the
functions are stubbed out.
* gdip_defs.h (GpMatrixOrder): Added.
* gdip_main.h
(GpRect, GpRectF): Synonyms for Rect and RectF.
(GpMatrix): An alias of cairo_matrix_t.
* Makefile: Added matrix.c.
2003-10-28 Duncan Mak <[email protected]>
* Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
(FillEllipse, FillPolygon): implemented.
(RenderingOrigin): implemented.
* gdipFunctions.cs: Added new GDI+ equivalents.
2003-10-28 Duncan Mak <[email protected]>
* gdip_main.h, gdip_def.h:
Renamed all gdip_foo_ptr types are now GpFoo *.
Renamed Status to GpStatus.
Reformatted all C++ style comments to C style comments.
Reformatted all C function prototypes to the style used by GTK+.
* gdip_main.h (GpPoint, GpPointF): Added.
* gdip_defs.h (GpFillMode): Added.
* graphics.c (make_ellipse):
(make_polygon, make_polygon_from_integers):
(make_pie): private functions (make_foo) to be reused by DrawFoo
and FillFoo.
(convert_fill_mode): Converts a GpFillMode to a cairo_fill_rule_t.
(GdipDrawPie, GdipFillEllipse, GdipFillPolygon): Implemented.
2003-10-26 Duncan Mak <[email protected]>
* graphics.c
(GdipSetRenderingOrigin, GdipGetRenderingOrigin): Implemented.
2003-10-25 Duncan Mak <[email protected]>
* graphics.c
(GdipDrawBezier, GdipDrawBezierI):
(GdipDrawBeziers, GdipDrawBeziersI):
(GdipDrawLine, GdipDrawLineI):
(GdipDrawLines, GdipDrawLinesI): implemented.
(GdipFillRectangle):
(GdipDrawString): Make use of gdip_get_status.
* general.c
(gdip_get_status): A new function for retrieving a Status from a
cairo_t.
svn path=/trunk/mcs/; revision=19604
* ISessionHandler.cs: Add method to update the session state
data in the handler. Pass the session config to handlers when
initializing.
* SessionConfig.cs: Add StateNetworkTimeout
* SessionInProcHandler.cs: Updates because interface has
changed, all functionality is the same.
* SessionStateModule.cs: Get new config items, allow SQLServer
session manager type. Update session handlers when the session
state has been released.
* SessionStateSectionHandler.cs: Add StateNetworkTimeout
* SessionSQLServerHandler.cs: New class allows sessions to be
stored in a database.
svn path=/trunk/mcs/; revision=19596
* TypeBuilder.cs (DefineDefaultConstructor): Pass an array instead of
null to DefineConstructor, to avoid NullReferenceExceptions in the
binder code.
svn path=/trunk/mcs/; revision=19594
* reflection.h (MonoDynamicImage): New type which is currently unused,
but will be used through the ref.emit code in place of
MonoDynamicAssembly.
* reflection.h (MonoReflectionAssemblyBuilder): Track changes to the
object layout.
* reflection.c (create_dynamic_mono_image): Rewrote so it now creates
a MonoDynamicImage instead of just a MonoImage.
* reflection.h reflection.c icall.c: Move nearly all AssemblyBuilder
icalls to ModuleBuilder but keep their semantics, so they will work
with moduleb->assemblyb. This will change later.
svn path=/trunk/mono/; revision=19593
* AssemblyBuilder.cs ModuleBuilder.cs ILGenerator.cs: Move getUSIndex
and getToken methods, and the associated icalls to ModuleBuilder,
since tokens are per-module.
* AssemblyBuilder.cs ModuleBuilder.cs: Partially revert the previous
patch, since having the 'is_main' field is useful in the unmanaged
code.
* AssemblyBuilder.cs ModuleBuilder.cs: Move the metadata creation and
file creation logic to ModuleBuilder:Save (), since this needs to be
done for every module. Also move the corresponding icalls to
ModuleBuilder.
svn path=/trunk/mcs/; revision=19592
* reflection.c (mono_reflection_inflate_method_or_ctor): Set
`ginst->klass' here.
(method_encode_methodspec): Don't use the `ginst->generic_method's
klass if it's a generic instance, use `ginst->klass' in this case.
svn path=/trunk/mono/; revision=19589
and add it again with the correct name). Not based on the Visitor
pattern anymore. Deleted all the VisitFOO methods. Added a
IdentificationTable field. Added Run, Dump methods.
svn path=/trunk/mcs/; revision=19584
* Microsoft.JScript.dll.sources: Added IdentificationTable.cs,
SemanticAnalizer.cs and SymbolTable.cs to the build.
svn path=/trunk/mcs/; revision=19579
* reflection.h (MonoReflectionAssemblyBuilder): Track changes to the
object layout.
* reflection.c (mono_image_build_metadata): Avoid creation of a default
main module, since it is now done by the managed code.
svn path=/trunk/mono/; revision=19575
* AssemblyBuilder.cs ModuleBuilder.cs: First steps toward a fix for
#48700 (proper module support in Ref.Emit). Remove is_main field from
ModuleBuilder and add a mainModule field to AssemblyBuilder instead.
This is neccesary, since the main module is determined during the
Save () call: the module with the same file name as the assembly is
the main module. Also create a default main module, if one is not
existing.
svn path=/trunk/mcs/; revision=19574
* reflection.c (mono_image_get_generic_method_param_info):
Removed, use mono_image_get_generic_param_info() instead.
(mono_image_get_type_info): Write the GenericParam table before
the Method table. This is neccessary because in the GenericParam
table, type parameters of the class (ie. '!0' etc.) must come
before the ones from its generic methods (ie. '!!0' etc).
svn path=/trunk/mono/; revision=19573
can be converted to the column type.
* DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
* DataRow.cs (EndEdit) : Check if we need to validate the constraints.
(GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
* DataRowCollection.cs (Add) : Fixing a bug.
(Clear) : Before clearing the array check that there is no violation of FK constraint.
* DataSet.cs (Prefix) : If value is null chage it to empty string.
(GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
* ExpressionElement : Adding support for IN expresion.
* DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
(Select) : Adding support for DataViewwRowState.
* ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
* MergeManager.cs (MergeRow) : Fix bugs.
svn path=/trunk/mcs/; revision=19572
* expression.cs (ArrayAccess.GetStoreOpcode): Added
`out bool has_type_arg'; if set, we need to pass the type to
ig.Emit().
(ArrayAccess.GetStoreOpcode, ArrayAccess.EmitLoadOpcode): Use
Stelem_Any/Ldelem_Any for generic parameters.
svn path=/trunk/mcs/; revision=19570
* Compiler.cs : More complete attribute set gathering.
GetNamespacesToCopy() should only return Local namespaces.
* GenericOutputter.cs : Added support for indentation.
Added easy hack for html output.
More correct Prefix handling (considers already defined ones).
Namespace emmission is moved to CheckState().
* Emitter.cs, XmlWriterEmitter.cs, GenericOutputter.cs, Outputter.cs :
Added WriteFullEndElement(). (i.e. IsEmptyElement support)
* GenericOutputter.cs, Outputter.cs :
Added CanProcessAttributes property for
use-attribute-sets of xsl:copy.
* XslStylesheet.cs : Added support for stylesheet-defined xmlns decls.
Added support for exclude-result-prefixes.
* XslTransformProcessor.cs : Added support for stylesheet-defined xmlns.
svn path=/trunk/mcs/; revision=19553
* XmlDocumentNavigator.cs : Fixed MoveToFirstChild() and MoveToNext()
to skip XmlEntityReference.
* XmlTextWriter.cs : Fixed AddMissingElements() and
WriteStartAttribute() not to emit extraneous xmlns.
svn path=/trunk/mcs/; revision=19552
* reflection.c (create_generic_typespec): Take a
`MonoReflectionTypeBuilder *' instead of a `MonoType *' and get
the generic parameters from it.
svn path=/trunk/mono/; revision=19550
* mini.c (inflate_generic_field): New static method.
(mono_method_to_ir): In CEE_LDFLD and CEE_LDSFLD: if we're a
generic instance and the field is declared in a generic type, call
inflate_generic_field() to inflate it. Fixes gen-28.cs.
svn path=/trunk/mono/; revision=19549
* reflection.c (fieldref_encode_signature): Take a `MonoType *'
instead of a `MonoClassField *' since we just need the type.
(create_generic_typespec): New static function. Creates a
TypeSpec token for a generic type declaration.
(mono_image_get_generic_field_token): New static function.
(mono_image_create_token): If we're a FieldBuilder in a generic
type declaration, call mono_image_get_generic_field_token() to get
the token.
svn path=/trunk/mono/; revision=19547
* XmlTextWriter.cs : Skip multiple xmlns when element and any of
attributes have the same xmlns values.
WriteEndElement() allows open attribute (calles WriteEndAttribute()).
Indentation should be inserted between ">" and "</xxx>" .
svn path=/trunk/mcs/; revision=19546
* MonoGenericInst.cs (MonoGenericInst.initialize): Include members
from our parent classes in the `methods', `ctors' and `fields'
arrays. When inflating them, reflection now sets their
`declaring_type' and `reflected_type' fields.
(MonoInflatedMethod, MonoInflatedCtor): Added
`MonoGenericInst declaring_type' and `MonoGenericInst reflected_type'
fields and override the `DeclaringType' and `ReflectedType' properties.
svn path=/trunk/mcs/; revision=19544
* reflection.h
(MonoReflectionInflatedMethod, MonoReflectionInflatedField): Added
`MonoReflectionGenericInst *declaring_type' and
`MonoReflectionGenericInst *reflected_type' fields.
* reflection.c (mono_reflection_inflate_method_or_ctor): Take a
`MonoReflectionGenericInst *declaring_type' and a
`MonoReflectionGenericInst *reflected_type' argument instead of a
single `MonoReflectionGenericInst *type' one. Set
`res->declaring_type' and `res->reflected_type' from them.
(mono_reflection_inflate_field): Likewise.
svn path=/trunk/mono/; revision=19543
* expression.cs (Invocation.EmitCall): Use
`TypeManager.IsValueType()' to check whether it's a value type.
Don't set `struct_call' when calling a method on a type parameter.
svn path=/trunk/mcs/; revision=19541
* XmlConvert.cs: Only parse INF/-INF/NaN. Other Infinty or NAN
numbers are parsed with the respective ::Parse method.
svn path=/trunk/mcs/; revision=19534
* XmlConvert.cs: Revert my last change. INF and -INF must be
processed here because Double::Parse and Single::Parse doesn't
understand anything of parsing [-]INF.
svn path=/trunk/mcs/; revision=19533
* DateTimeTest.cs: Changed the Asserts to fix some things related to
universal time, we can't test the equality if one DateTime is into
the code and the other comes from the TimeZone. Different TimeZones,
different errors in the test.
svn path=/trunk/mcs/; revision=19530
* CrossAppDomainChannel.cs (SyncProcessMessage): Use the new
InvokeInDomain function instead of calling SetDomain.
svn path=/trunk/mcs/; revision=19525
* assembly.c (mono_assembly_open): Avoid crash if a module is loaded
with an empty ASSEMBLY table.
* reflection.c (mono_image_build_metadata): Avoid using the same loop
variable in the inner and outer loops.
svn path=/trunk/mono/; revision=19522
* DateTime.cs: Fixed Add* methods handling. Now it works properly
with extreme values (there is a bug with Overflow and Underflow in
long type).
svn path=/trunk/mcs/; revision=19515
* OASISTest.cs: New. Unit test for WSE2 OASIS descriptions.
* SaMLTest.cs: New. Unit test for WSE2 SaML descriptions.
* SMSecurityTest.cs: New. Unit test for WSE2 SMSecurity descriptions.
* XmltokTest.cs: New. Unit test for WSE2 Xmltok descriptions.
* XrMLTest.cs: New. Unit test for WSE2 XrML descriptions.
svn path=/trunk/mcs/; revision=19513
* IReplayCache.cs: New. Interface for ReplayCache.
* OASIS.cs: New. Implementation for OASIS WS-Security (prefix "wsse").
* ReplayCacheManager.cs: New. Stub, with MonoTODO, for WSE2.
* SaML.cs: New. SAML description (prefix/ns) for WS-Security.
* SecurityTokenCache.cs: New. Stub, with MonoTODO, for WSE2.
* SecurityTokenReferenceType.cs: New. Stub, with MonoTODO, for WSE2.
* SMSecurity.cs: New. Implementation for WS-Security ("wsse" and
"http://schemas.xmlsoap.org/ws/2002/12/secext").
* SMSecurityBase.cs: New. Abstract class to retrieve Prefix and Namespace.
* SynchronizedSecurityTokenCache.cs: New. Stub, with MonoTODO, for WSE2.
* WSEReplayCache.cs: New. Stub, with MonoTODO, for WSE2.
* Xmltok.cs: New. WS-Security Profile for XML-based Tokens (descriptions).
* XrML.cs: New. eXtensible rights Markup Language descriptions for WS-Security.
svn path=/trunk/mcs/; revision=19512
* DateTimeTest.cs: Removed Universal Time in ToString because in
each computer that could be different. We need more control over
that to know what the result should be.
svn path=/trunk/mcs/; revision=19511
* mini.h mini.c (mono_method_same_domain): New function to return
whenever the caller and the callee are in the same domain.
* tramp-x86.c (x86_magic_trampoline): Use the new function.
svn path=/trunk/mono/; revision=19507
* AppDomain.cs (InternalPushDomainRef): New icalls.
* AppDomain.cs (InvokeInDomain): New method to execute code in a
different appdomain.
svn path=/trunk/mcs/; revision=19506
* appdomain.c appdomain.h icall.c: Get rid of the InvokeInDomain
icalls. Instead, do everything in managed code. This is needed since
it is hard to restore the original domain etc. in unmanaged code in the
presence of undeniable exceptions.
* appdomain.c (ves_icall_System_AppDomain_InternalPushDomainRef):
New icalls to push and pop appdomain refs.
svn path=/trunk/mono/; revision=19505
* appdomain-unload.cs: New file. AppDomain Unloading tests.
* Makefile: Add new test + enable IL tests now that we have a working
ilasm.
svn path=/trunk/mono/; revision=19503
* interp.c (mono_create_method_pointer): New function which contains
the arch independent part of the method wrapper creation. Add a cache
for the wrapper code, since Delegate::Equals depends on the wrapper
address being constant for a method. Fixes#50366.
svn path=/trunk/mono/; revision=19501
* */tramp.c (mono_create_method_pointer): Rename to
mono_arch_create_method_pointer, move common code to a new function in
interp.c.
* */tramp.c (mono_create_trampoline): Rename to
mono_arch_create_trampoline for consistency.
svn path=/trunk/mono/; revision=19500
* class.c (inflate_generic_type): Renamed to
mono_class_inflate_generic_type() and made it public.
* icall.c ("System.Reflection.MonoGenericInst::inflate_field"):
New interncall.
* loader.c (mono_field_from_memberref): Also set the retklass for
typespecs.
* fielder.c (mono_image_get_inflated_field_token): New static
method; creates a metadata token for an inflated field.
(mono_image_create_token, fixup_method): Added support for
"MonoInflatedField".
(fieldbuilder_to_mono_class_field): New static function.
(mono_reflection_inflate_field): New public function.
* reflection.h
(MonoReflectionGenericInst): Added `MonoArray *fields'.
(MonoReflectionInflatedField): New typedef.
svn path=/trunk/mono/; revision=19497
* MonoGenericInst.cs (MonoInflatedField): New internal class.
(MonoGenericInst.GetFields): Override this method and inflate
the fields.
* MonoField.cs: Don't make this class sealed.
svn path=/trunk/mcs/; revision=19496
* Compiler.cs : It is not important, but attribute order became closer
to MS.NET and Xalan (assuming from OASIS tests).
svn path=/trunk/mcs/; revision=19485
* GenericOutputter.cs : Attribute wasn't overwritten its properties
because Attribute is struct it was let to another local variable.
svn path=/trunk/mcs/; revision=19484
* mini.c (MTYPE_PARAM_TO_TYPE, MTYPE_PARAM_TO_CLASS): New macros;
similar to TYPE_PARAM_TO_TYPE and TYPE_PARAM_TO_CLASS, but for
method parameters.
(mono_method_to_ir): Added support for MONO_TYPE_MVAR; similar to
MONO_TYPE_VAR, we the actual types from MTYPE_PARAM_TO_CLASS().
svn path=/trunk/mono/; revision=19482
* class.c (inflate_generic_type): Take just one `MonoGenericInst *'
argument instead of two.
(mono_class_inflate_generic_signature): Likewise.
(inflate_generic_header): Likewise.
(mono_class_inflate_generic_method): Likewise. In addition, if
`ginst->klass' is set, it becomes the new `method->klass'.
* class.h (MonoGenericInst): Removed the `gpointer mbuilder'
field.
* reflection.c (encode_generic_method_sig): Write a 0xa as the
first byte. [FIXME]
(method_encode_methodspec): If we have generic parameters, create
a MethodSpec instead of a MethodRef.
(fixup_method): Added support for "MonoInflatedMethod" and
"MonoInflatedCtor".
(mono_image_create_token): Added support for "MonoInflatedMethod"
and "MonoInflatedCtor".
(inflated_method_get_object): New static function; returns a
managed "System.Reflection.MonoInflatedMethod" object.
(mono_reflection_bind_generic_method_parameters): Return a
`MonoReflectionInflatedMethod' instead of a `MonoReflectionMethod'.
(mono_reflection_inflate_method_or_ctor): Likewise.
(mono_image_get_generic_method_param_info): Initialize unused
fields to zero.
(mono_image_get_generic_param_info): Likewise.
* reflection.h (MonoReflectionInflatedMethod): New public
typedef. Corresponds to the managed "S.R.MonoInflatedMethod" and
"S.R.MonoInflatedCtor" classes.
* loader.c (method_from_memberref): If we're a TypeSpec and it
resolves to a generic instance, inflate the method.
svn path=/trunk/mono/; revision=19481
is no post data. This fixes bug #49091.
* CheckBoxList.cs: Do not change the status of the checkboxes when
there is no post data. This fixes bug #49093.
svn path=/trunk/mcs/; revision=19465
* io.c (MoveFile): If the move crosses filesystems, try and fall
back to copy and delete. Patch from J�rg Rosenkranz
([email protected]), fixes bug 50298.
svn path=/trunk/mono/; revision=19460
* mini.c mini-ops.h inssel.brg: Implement undeniable exception
propagation.
* mini.c (sigusr1_signal_handler): Move creation of the thread abort
object here, so it is in the correct appdomain etc.
svn path=/trunk/mono/; revision=19459
* object.h (MonoThread): New field 'appdomain_refs' which holds a list
of appdomains referenced by this thread.
* threads.c
(mono_thread_push_appdomain_ref):
(mono_thread_pop_appdomain_ref): New functions to register/unregister
appdomain references.
(mono_threads_abort_appdomain_threads): New function to abort all
threads which reference a given appdomain.
(mono_thread_get_pending_exception): New function to return an
exception which needs to be re-raised at the end of catch clauses.
* threads.c: Register/unregister appdomain reference on thread
creation/destruction.
* appdomain.c (ves_icall_System_AppDomain_InternalInvokeInDomain):
Register/unregister appdomain reference.
* appdomain.c (mono_domain_unload): Add support for aborting threads.
Raise an exception in case of a timeout.
svn path=/trunk/mono/; revision=19458
correctly. DateTime.Milliseconds is the just the milliseconds part
of the time, it is not the entire time as milliseconds.
svn path=/trunk/mcs/; revision=19445
* jscript-lexer-parser.g: allow empty program files. Added type
annotations on var decl and function decl.
* VariableDeclaration.cs: added return type annotation field.
* FunctionExpression.cs: added return type parameter to constructor.
* FunctionDeclaration.cs: added return type parameter to
constructor. Added Emit method (just creates the static field at
the global object, for now).
* FunctionObject.cs: added return type to constructor. Changed
names to readable ones ;-)
svn path=/trunk/mcs/; revision=19444
* StreamReader.cs: Add checks for disposed stream from bug report
#48696 (Patrik Reali)
* TextReader.cs (Read): Return the total number of bytes read,
patch from Patrik Realli.
svn path=/trunk/mcs/; revision=19435
* strenc.h:
* strenc.c: New files, convert text to and from unicode or utf8,
and the user's chosen encoding.
2003-10-28 Dick Porter <[email protected]>
* io.c: Use the new encoding conversion to cope with non-utf8
locales in filenames.
* processes.c: Ditto for process arguments.
2003-10-28 Dick Porter <[email protected]>
* object.c (mono_runtime_run_main): Convert command-line arguments
into utf8, falling back to the user's locale encoding to do so.
svn path=/trunk/mono/; revision=19432
* mini.c tramp-x86.c tramp-sparc.c tramp-ppc.c: Use the normal
trampolines for icalls and pinvokes as well. Fixes#33569.
svn path=/trunk/mono/; revision=19427
* loader.c (mono_get_method_from_token): Avoid looking up the icalls
at this time.
* marshal.c (mono_marshal_get_native_wrapper): Lookup icalls here.
svn path=/trunk/mono/; revision=19426
* mini.c (mono_jit_compile_method_inner): Lookup icalls here if not
already done.
(mono_method_to_ir): Avoid freeing the type created returned from
mono_type_create_from_typespec, since it is put into an internal cache
by the function. Fixes pointer.exe.
svn path=/trunk/mono/; revision=19423
* DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
check null values when ending loading data.
* DataSet.cs (RejectChanges) : Imlementation.
(Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
change it to empty string.
* DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
svn path=/trunk/mcs/; revision=19421
* AsymmetricDecryptionKey.cs: Added internal property to the
asymmetric keypair.
* EncryptedData.cs: Added minimal support for decryption.
* EncryptedKey.cs: Added minimal support for decryption.
* KeyIdentifier.cs: Added internal properties to get access to
X509Certificate, DecryptionKey and EncryptionKey from the key identifier.
* Security.cs: Implemented support for EncryptedData in LoadXml and
implemented part of GetXml.
* SecurityInputFilter.cs: Now process incoming security headers (but
not ExtendedSecurity).
* SecurityOutputFilter.cs: Now uses Security class to Load/Get the
security headers (code moved into Security.cs).
svn path=/trunk/mcs/; revision=19416
* HttpRequest.cs: use the below file when it is proper.
* HttpMultipartContentParser.cs: new file for parsing
multipart/form-data
svn path=/trunk/mcs/; revision=19409
* WebServicesConfiguration.cs: Allowing the MessagingConfiguration to
stay the same one (prevents double socket binding attempts)
svn path=/trunk/mcs/; revision=19406
* XsdValidatingReader.cs : xsi:type should be normalized. More cleanup.
* XsdParticleValidationState.cs : Reverted default content processing
to lax. It is msxsdtest/wildCard/wildG038.xsd which looks incorrect.
svn path=/trunk/mcs/; revision=19405
* Microsoft.Web.Services.dll.2.sources: Added IMutableSecurityToken.cs
in Microsoft.Web.Services.Security (new in WSE2)
svn path=/trunk/mcs/; revision=19402
* EncryptedData.cs: Can now encrypt SOAP body message (no decrypt yet).
* EncryptedKey.cs: Updated symmetric key creation.
* IMutableSecurityToken.cs: New. Interface in WSE2 to clone SecurityTokens.
* ReferenceList.cs: Completed implementation.
* Security.cs: Fixed Elements and Tokens collections that weren't always created.
* SecurityOutputFilter: Added support for EncryptedData.
* SecurityToken.cs: Private member IPrincipal is now only defined for WSE2 (removed warning).
* UsernameToken.cs: Updated for WSE2.
* X509SecurityToken.cs: Added SecurityTokenReference/KeyIdentifier in KeyInfo.
svn path=/trunk/mcs/; revision=19400
* XmlConvert.cs: Support for the sign in double and single. The
processing of the infinites and nan numbers are more complex than
comparing to "INF" so we must let Double::Parse and Single::Parse
doing their job.
svn path=/trunk/mcs/; revision=19393
* appdomain.c (ves_icall_System_AppDomain_InternalIsFinalizingForUnload): New icall.
* appdomain.c (unload_thread_main): Clear class->cached_vtable if it
points to a vtable in the dying appdomain.
* appdomain.c (mono_domain_unload): Move the notification of OnUnload
listeners into unmanaged code inside the lock.
svn path=/trunk/mono/; revision=19388
* BuiltInDatatype.cs : XsdByte was incorrectly typed as byte, while
the correct binding is sbyte.
* XmlSchemaAll.cs,
XmlSchemaChoice.cs,
XmlSchemaSequence.cs,
XmlSchemaGroupBase.cs : ActualParticle now considers pointlessness
described in WXS structures 3.9.6.
Added ValidateRecurse() to support 'Recurse' validation.
* XmlSchemaComplexType.cs : Removed incorrect content type conformity
check.
* XmlSchemaElement.cs : Implemented 'RecurseAsIfGroup' validation
described in WXS structures 3.9.6. Fixed type derivation check to
do only if the base type is not anyType.
* XmlSchemaSimpleTypeRestriction.cs : Should catch Regex()
construction exception. ValidateList... and ValidateNonList... was
in reverse.
* XmlSchemaUtil.cs : Removed extra MonoTODO. Removed CheckToken().
svn path=/trunk/mcs/; revision=19385
* DTDValidatingReader.cs : Now it handles whitespace entity as
significant.
* XmlConvert.cs : As to NIST testcases, exponential support on single
and double floating point numbers.
* XmlValidatingReader.cs : If it IsDefault, then line number and line
position returns 0.
svn path=/trunk/mcs/; revision=19384
* XsdValidatingReader.cs : Removed MonoTODO which was implemented in
XmlValidatingreader as a result. Added xsi:nil normalization.
svn path=/trunk/mcs/; revision=19383
* decl.cs (DeclSpace.ResolveType): If we're a ConstructedType,
call ConstructedType.Resolve() on it.
* generic.cs (ConstructedType.Resolve): Set `type' on success.
svn path=/trunk/mcs/; revision=19382
* class.cs (TypeContainer.GetClassBases): Changed
`out Type parent' into `out TypeExpr parent'. Moved CS0644 and
CS8214 reporting here.
(TypeContainer.DefineType): GetClassBases() gives us a `TypeExpr'
instead of a `Type' for our parent. In case of a recursive
declaration (see tests/gen-23.cs for an example), our parent is a
ConstructedType and it doesn't have its type set. So, first
create our own TypeBuilder, then call constructed.Resolve() to get
the parent's type and finally TypeBuilder.SetParent() it.
* ecore.cs (TypeExpr.Name): New public virtual property.
* generic.cs
(ConstructedType): We're now a TypeExpr and not just an Expression.
(ConstructedType.ResolveAsTypeStep): Don't resolve our type
arguments here; this is done later.
(ConstructedType.Resolve): New public method to resolve the type
arguments and bind them.
svn path=/trunk/mcs/; revision=19379
* class.h (MonoGenericInst): Added `MonoClass *klass' field.
* image.h (MonoImage): Added `GHashTable *typespec_cache'.
* metadata.c (mono_metadata_parse_generic_inst): Renamed to
`do_mono_metadata_parse_generic_inst'; pass it the MonoType we're
currently parsing. Create the generic class and store it in
`generic_inst->klass' before parsing the type arguments. This is
required to support "recursive" definitions; see mcs/tests/gen-23.cs
for an example.
(mono_type_create_from_typespec): Use a new `image->typespec_cache'
to support recursive typespec entries.
* class.c (mono_class_setup_parent): If our parent is a generic
instance, we may get called before it has its name set.
(mono_class_from_generic): Splitted into
mono_class_create_from_generic() and mono_class_initialize_generic().
svn path=/trunk/mono/; revision=19378
* icall.c (ves_icall_Type_BindGenericParameters): Return a
`MonoReflectionGenericInst *' instead of a `MonoReflectionType *'.
("System.Reflection.MonoGenericInst::inflate_method"): New interncall.
("System.Reflection.MonoGenericInst::inflate_ctor"): New interncall.
* reflection.c (my_mono_class_from_mono_type): Added MONO_TYPE_GENERICINST.
(create_typespec): Likewise.
(mono_reflection_bind_generic_parameters): Return a
`MonoReflectionGenericInst *' instead of a `MonoClass *'.
(mono_reflection_inflate_method_or_ctor): New public function.
* reflection.h (MonoReflectionGenericInst): New typedef.
svn path=/trunk/mono/; revision=19376
* BuiltInDatatype.cs : Fixed incorrect inheritance of date and time.
Fixed most of date-time related types' ParseValue().
Applied Normalize() before parsing values in some ParseValue().
svn path=/trunk/mcs/; revision=19374
* AsymmetricDecryptionKey.cs: Change to license and line-ends.
* PasswordOption.cs: Inversed SendNone and SendHashed because they had
the wrong values (corcompare)
* Signature.cs: Stub completed.
* SignedXml.cs: Added interface IXmlElement and missing virtual to
CheckSignature (corcompare)
* XmlSignature.cs: Removed license from header.
svn path=/trunk/mcs/; revision=19368
* ast.cs: Added 'virtual' Emit method (I might change it to be
abstract, but I would have to added to all classes that derive
from it. I'll do it later)
* Block.cs: Added Emit method.
* CodeGnerator.cs: Restructured it (not based on the Visitor pattern
anymore) - still missing some methods, ut on the way. A nice
hacking weekend coming. Added EmitContext class.
* ScriptBlock.cs: Added Emit method.
* VariableDeclaration.cs: Changed type field from string to
Type. Added Emit method.
* VariableStatement.cs: Added Emit method.
* driver.cs: Added CodeGeneration phase (only simple var
declarations support it. More coming soon).
svn path=/trunk/mcs/; revision=19367
* SystemBrushes.cs: Some more brushe3s.
* SystemPens.cs: More pens.
* Pen.cs: Implement IDisposable, ICloneable.
* Region.cs: Add some more stubs here.
* StringFormat.cs: Add some more code here.
2003-10-24 Miguel de Icaza <[email protected]>
* GraphicsPath.cs: Stub some more.
svn path=/trunk/mcs/; revision=19365
* Better performance implementation of the method which converts a byte[] to a bytea string. Thanks Jackson Harper (jackson at ximian dot com)
svn path=/trunk/mcs/; revision=19362
* mini.c: Update after appdomain changes.
* mini.c (mono_jit_compile_method_inner): Allways compile native
method wrappers in the root domain, since there can only be one
instance of them, whose address is stored in method->info.
svn path=/trunk/mono/; revision=19360
* object.c (mono_class_proxy_vtable): Run the whole vtable construction
inside the domain lock. Fixes#49993.
* object.c (mono_class_vtable): When typed allocation is used,
allocate vtables in the GC heap instead of in the mempool, since the
vtables contain GC descriptors which are used by the collector even
after the domain owning the mempool is unloaded.
* domain.c (mono_domain_set): Rename to mono_domain_set_internal.
* domain.c (mono_domain_unload): Rename to mono_domain_free to better
reflect what it does. Also invalidate mempools instead of freeing
them if a define is set.
* appdomain.h (MonoAppDomainState): New enumeration to hold the state
of the appdomain.
* appdomain.h (_MonoDomain): New field 'finalizable_object_hash' to
hold the finalizable objects in this domain.
* appdomain.h (_MonoDomain): New field 'state' to hold the state of the
appdomain.
* appdomain.c (mono_domain_set): New function to set the current
appdomain, but only if it is not being unloaded.
* appdomain.c threads.c threadpool.c object.c: Avoid entering an
appdomain which is being unloaded.
* appdomain.c (ves_icall_System_AppDomain_InternalUnload): Prevent
unloading of the root appdomain.
* appdomain.c (ves_icall_System_AppDomain_InternalInvokeInDomain): New
icall to execute a method in another appdomain. Intended as a
replacement for InternalSetDomain, which can confuse the code
generation in the JIT.
* appdomain.c (mono_domain_is_unloading): New function to determine
whenever an appdomain is unloading.
* appdomain.c (mono_domain_unload): New function to correctly unload
an appdomain.
* assembly.c (mono_assembly_load_references): Check that an assembly
does not references itself.
* gc.c (mono_domain_finalize): Rewrote so instead of finalizing a
domain manually, it asks the finalizer thread to do it, then waits for
the result. Also added a timeout.
* icall.c: Register the new icalls.
* threads.h threads.c: Export the mono_gc_stop_world and
mono_gc_start_world functions.
svn path=/trunk/mono/; revision=19358
* DateTime.cs: When handling '-' as a date separator, MS.NET uses
the same symbol in the parse (not DateTimeFormatInfo.DateSeparator).
svn path=/trunk/mcs/; revision=19355
Updated System.Drawing, lots of cleanups.
Added JPEG encoder/decoder back to Bitmap.
We can load and save images again.
Still need work to support all formats, everywhere
PNG codec broken (but at least its plugged back).
2003-10-23 Miguel de Icaza <[email protected]>
* bitmap.c (GdipCreateBitmapFromScan0): Do not allocate buffer
here, expect that our caller to allocate that.
Do not compute the stride here, expect our caller to do this
properly.
* Use the Mono coding conventions.
2003-10-23 Miguel de Icaza <[email protected]>
* Image.cs: Kill the InternalImageInfo, everything is now done in
terms of Image and BitmapData.
* Rectangle.cs: Make this one also sequential, change from using
Point + Size to use x, y, width, height; So we can use GdiPlus.
* gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
BitmapData class argument, and instead use the [In,Out]
attributes, which will do struct marshalling on the fields. Now
we can use C#'s BitmapData directly to talk to Gdiplus.
* gdipStructs.cs: Every internal structure that has to talk to
Gdi+ is properly prefixed, to minimize the confussion.
* Bitmap.cs Bitmap (int width, int height, PixelFormat format):
Compute the stride here where we have the BPP information,
allocate a buffer of the proper size, and pass this to
GdipCreateBitmapFromScan0
* Image.cs: Implement Dispose pattern.
2003-10-23 Miguel de Icaza <[email protected]>
* JPEGCodec.cs (JSAMPARRAY): Do not allocate memory here anymore,
we will just have the JPEG library copy directly into our buffer.
(Encode, Decode): Ported to the new model which avoid copies, and
eliminates InternalImageInfo.
TODO: need to port the PNG coder/decoder, and add support for RGBA
images which got dropped from this version
* BmpCodec.cs: Rework this one to use BitmapData and Image. Do
not use the RawBytes property, instead pull the data one line at a
time, and write that out.
* ImageCodecInfo.cs: Make the encoding and decoding delegates take
a Image parameter;
* BmpCodec.cs:
* BitmapData.cs: Make this one sequential, and also mimic the
layout of GdiPlus.h so we can use this instead of making copies
back and forth.
svn path=/trunk/mcs/; revision=19354
* XsdParticleValidationState.cs : Default content processing shoule be
lax.
* XsdValidatingReader.cs : If there is no trial to get schemas for
namespaces, then validation against such namespace should be failed.
It now uses XmlSchemaAttribute.ValidatedUse instead of .Use.
* XsdWildcard.cs : Fixed incorrect intersection computing.
svn path=/trunk/mcs/; revision=19348
* XmlSchemaAll.cs,
XmlSchemaChoice.cs,
XmlSchemaGroupBase.cs,
XmlSchemaSequence.cs : Now CompiledItems went to XmlSchemaGroupBase.
* XmlSchemaAny.cs,
XmlSchemaElement.cs,
XmlSchemaGroupBase.cs,
XmlSchemaGroupRef.cs,
XmlSchemaParticle.cs,
XmlSchemaSequence.cs : Added ParticleEquals() method to compare
whether the particles are equal in the context of WXS part 1 - 3.9.6.
* XmlSchemaAny.cs : Implemented ValidateDerivationByRestriction().
* XmlSchemaAnyAttribute.cs : Removed extraneous lines and added my
responsibility on this class.
Added ValidateWildcardAllowsNamespaceName().
* XmlSchemaAttribute.cs : Added ValidatedUse which holds post-
compilation value of "Use".
* XmlSchemaAttributeGroup.cs,
XmlSchemaAttributeGroupRef.cs : Removed MonoTODO (same as some other
classes) since there is no more errors on attribute stuff ;-)
* XmlSchemaComplexType.cs : complex content extension must block
derivation from any built-in primitive types.
Fixed wildcard derivation by restriction.
ValidateDerivationByRestriction() now checks attribute related
validity of DBR (derivation by restriction).
Now uses ParticleEquals() for particle DBR check.
* XmlSchemaSequence.cs : Fixed to use CompiledItems instead of Items.
svn path=/trunk/mcs/; revision=19347
* BaseCompareValidator.cs: splitted Convert. Fixed bug #49927. The fix
was just changing && by || after the first Match.
svn path=/trunk/mcs/; revision=19345
methods. They are used in CrossAppDomainChannel to save and restore
thread's local data when switching between domains.
svn path=/trunk/mcs/; revision=19336
the name table.
* main.c (visibility_map): Fix typo, should be nested family not
family
* main.c (dis_data): Use uppercase hex to avoid name conflicts.
* get.c/get.h: New method to get an escaped name. This method will
take a name and escape it if it is an ilasm keyword, or uses a non
id char. Use escaped names for type, method, field, and parameter names.
* get.c (get_typespec): A typespec can be used for anything, so we
need to handle all types not just modified types.
* get.c (dis_stringify_object_with_class): Handle nested classes
* get.c (get_token): Add field keyword to field tokens.
svn path=/trunk/mono/; revision=19333
* NonceTest.cs: New. Unit tests for Nonce. The tests will only work for
WSE2 (as WSE1 Nonce constructor are internal)
svn path=/trunk/mcs/; revision=19331
* With.cs: added constructor and ToString. Back to the non-tmp
namespace.
* jscript-parser-lexer.g: allow with_stm tree building.
svn path=/trunk/mcs/; revision=19324
* jscript-lexer-parser.g: changed the return type from if_stm from
'If' to AST. Added tree for continue_stm. Allowed building of
Break tree.
* statement.cs: switched to internal 'If' class. Added Continue
class. Added Break class.
svn path=/trunk/mcs/; revision=19322
* System.Web/HttpApplication.cs: added AssemblyLocation property.
* System.Web.UI/DesignTimeTemplateParser.cs: added FIXME related to
PageParser.
* System.Web.UI/PageParser.cs: initialize the parser in the constructor,
not just before compiling and reference the application assembly.
* System.Web.UI/SimpleWebHandlerParser.cs: reference the assembly that
contains the application Type.
* System.Web.UI/TemplateControl.cs:
* System.Web.UI/TemplateControlParser.cs: fix BenM #1 bug. Now we pass
correct virtual path and physical path when compiling a user control.
* System.Web.UI/TemplateParser.cs: new AddApplicationAssembly ().
* System.Web.UI/UserControlParser.cs: now we get valid values in the
ctor.
Referencing the application assembly fixes bug #49652.
svn path=/trunk/mcs/; revision=19299
* reflection.h (MonoReflectionMethodAux): New structure to store
information which is rarely used, thus is not in the MonoMethod
structure.
* reflection.h (MonoDynamicAssembly): New field 'method_aux_hash' to
store the aux info.
* reflection.c (mono_methodbuilder_to_mono_method): Store param names
and marshalling info into the aux structure.
* loader.c (mono_method_get_marshal_info): Retrieve the marshal info
from the aux structure.
* loader.c (mono_method_get_param_names): Retrieve the param names from
the aux structure.
svn path=/trunk/mono/; revision=19298
* DataGrid.cs: applied patch from Yaron Shkop ([email protected])
that fixes bug #49744. Now the selection doesn't lose its data.
svn path=/trunk/mcs/; revision=19297
* TemplateControlCompiler.cs: fix bug #42994. Now we don't generate
a return statement for user controls with 'void' return type.
svn path=/trunk/mcs/; revision=19282
* XsdKeyTable.cs : Reduced compilation warning.
* XsdParticleValidationState.cs : Reduced NotImplementedException.
* XsdValidatingReader.cs : Removed XmlResolver. Implemented more simple
type validation, such as list, union and facets.
svn path=/trunk/mcs/; revision=19277
* XmlSchema.cs,
XmlSchemaUtil.cs : Reduced warning message.
* XmlSchemaAttribute.cs : NotImplementedException should no more exist.
(All things are going to be implemented.)
* BuiltInDatatype.cs : XsdInteger should not allow non-integer decimal.
* XmlSchemaSimpleType.cs : Added internal Datatype property. Implemented
list type derivation validation. Added Normalize().
* XmlSchemaSimpleTypeContent.cs : Added Normalize(). Replaced anyType
with anySimpleType.
* XmlSchemaSimpleTypeRestriction.cs : Implemented some facet validation,
such as pattern, enumeration, and length etc.
svn path=/trunk/mcs/; revision=19276
* FileIOPermissionAttributeTest.cs: Handle Short File Name vs. Long
File Name messiness. This probably needs to be worked on for the
tests to work on Linux, etc.
svn path=/trunk/mcs/; revision=19260
* convert.cs: Use `TypeManager.IsValueType' instead of
'type.IsValueType' everywhere.
* typemanager.cs (TypeManager.IsValueType): Return true for type
parameters. The reason for this is that we need to box a type
parameter when converting it to a reference type.
* cs-parser.jay: Added support for default value expressions.
* generics.cs (DefaultValueExpression): New public class.
svn path=/trunk/mcs/; revision=19257
* Makefile: Removed Mono.Security.Tls.
* Mono.Security.Tls: Removed directory, now TLS support is in
Mono.Security assembly.
svn path=/trunk/mcs/; revision=19255
* AsymmetricEncryptionKey.cs: Added internal property to get the AsymmetricAlgorithm object.
* EncryptedKey.cs: Almost complete (still lacking LoadXml).
* SymmetricEncryptionKey.cs: Added internal property to get
svn path=/trunk/mcs/; revision=19250
* Mono.Security.dll.sources: Removed AssemblyInfo.cs from build.
This file is for TLS not for the complete Mono.Security assembly.
svn path=/trunk/mcs/; revision=19241
* TcpClient.cs: Fix void Dispose (bool disposing) to follow the
pattern. It was shutting down the managed resources even in the
finalizer case, it should only do that when called from
IDisposable.Dipose.
svn path=/trunk/mcs/; revision=19238
* FileStream.cs public FileStream (string name, FileMode mode)
constructor: If we pass FileMode.Append, we can not pass
FileAccess.ReadWrite. This fixes bug 44959
svn path=/trunk/mcs/; revision=19215
can't be serialized. This fixes bug #49878.
* TypeData.cs: In ListItemType check that the collection has a valid
Add method and report an error if not.
* XmlReflectionImporter.cs: Added CheckSerializableType check call when
reflecting a collection.
svn path=/trunk/mcs/; revision=19214
* exception.c (mono_exception_from_name_msg): New helper function for
creating exceptions and initializing their message field.
* exception.c: Simplify functions using the new helper.
* exception.h exception.c (mono_get_exception_cannot_unload_appdomain):
New function.
svn path=/trunk/mono/; revision=19213
* Npgsql/NpgsqlClosedState.cs:
* Npgsql/NpgsqlConnection.cs:
* Npgsql/NpgsqlConnectedState.cs:
* Npgsql/NpgsqlReadyState.cs:
* Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
namespace is Mono.System.Protocol.Tls, before was
System.Security.Tls.
* Npgsql/Makefile: Change reference from System.Security.Tls to
Mono.Security (now Tls lives there).
svn path=/trunk/mcs/; revision=19209
* object.h object.c: Remove G_GNUC_NORETURN from the signature of
mono_raise_exception, since otherwise gcc doesn't generate the function
epilog for raise_exception, confusing the stack unwinding in the JIT.
Fixes#45043.
svn path=/trunk/mono/; revision=19197
* ecore.cs: Applied fix from Ben Maurer. We were handling in the
`internal' case regular and protected, but not allowing protected
to be evaluated later. Bug 49840
svn path=/trunk/mcs/; revision=19193
* BuiltInDatatype.cs : Implemented XsdHexBinary.Parse().
* XmlSchemaCollection.cs : Implemented CopyTo().
* XmlSchemaDatatype.cs : Added Normalize() with whitespace handling.
Added support for anySimpleType.
* XmlSchemaSimpleType.cs : Type specification named as anyType should
be mapped to anySimpleType.
* BUGS-MS.txt : Added more case note.
svn path=/trunk/mcs/; revision=19192
* XmlAttributeCollection.cs : Fixed synchronization stuff.
* XmlConvert.cs : Added two FromBinHexString() methods.
* XmlTextReader.cs : Modified to use one of the above method.
* XmlValidatingReader.cs : XsdValidatingReader.XmlResolver will be
disabled (in the next commit), so resolver won' be set to it.
Attempt to validate against XDR now throws NotSupportedException.
svn path=/trunk/mcs/; revision=19191
* Tds.cs (GetStringValue): A string length of 0xFF (255) is not
misinterpreted as special value anymore.
This is a fix to bug #49835.
svn path=/trunk/mcs/; revision=19190
* XmlNode.cs : GetPrefixOfNamespace() also contained a bug similar to
GetNamespaceOfPrefix() fixed at 2003-10-13.
* XmlTextReader.cs : ReadBase64() should keep incomplete base64 block
which remained by previous call of this method.
* XmlUrlResolver.cs : Added assertion for file Uri path's absoluteness.
* XmlValidatingReader.cs : Notice about intention of XDR won't be
supported (at least in Mono 1.0).
svn path=/trunk/mcs/; revision=19187
* BinarySecurityToken.cs: Added support for GetXml/LoadXml
* SecurityToken.cs: Better support for WSE2
* X509SecurityToken.cs: Implemented most of the TODO.
svn path=/trunk/mcs/; revision=19179
* XmlDocument.cs : CloneNode() does not copy PreserveWhitespace.
* XmlWriter.cs : Calling WriteNode() with XmlReader whose state is
XmlDeclaration now calls WriteProcessingInstruction(). This fixes
testcase XmlWriterTests.WriteNodeFullDocument().
* XmlTextWriter.cs : Added LAMESPEC comments related to above.
svn path=/trunk/mcs/; revision=19161
* MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
abstract; use an interncall in MonoMethod and a custom
implementation in MethodBuilder.
svn path=/trunk/mcs/; revision=19160
* class.c (inflate_generic_signature): Renamed to
mono_class_inflate_generic_signature() and made it public.
(my_mono_class_from_generic_parameter): New static function; if we
don't already have the generic parameter's MonoClass, create a
very simple one which is just used internally in the runtime and
not passed back to managed code.
* class.h (MonoGenericInst): Added `gpointer mbuilder' field.
* metadata.h (MonoMethodSignature): Moved the
`MonoGenericParam *gen_params' to the MonoMethodHeader.
(MonoMethodHeader): Moved the `MonoGenericParam *gen_params' here.
* icall.c (ves_icall_MethodInfo_GetGenericArguments): Renamed to
ves_icall_MonoMethod_GetGenericArguments(); this is now an
interncall on the MonoMethod class, not on MethodInfo.
(ves_icall_MethodInfo_BindGenericParameters): Removed, we're now
calling mono_reflection_bind_generic_method_parameters() directly.
* loader.c (mono_method_get_signature): If this is a MethodSpec;
return the already computed `method->signature'.
(method_from_methodspec): New static function to load a method
from a MethodSpec entry.
(mono_get_method_from_token): Call the new method_from_methodspec()
for MethodSpec tokens.
(mono_get_method_from_token): If we're a generic method, load the
type parameters.
* reflection.c (mono_image_get_memberref_token): Allow
MEMBERREF_PARENT_TYPEDEF here; this will be used in the MethodSpec
table.
(fixup_method): Added support for MONO_TABLE_METHODSPEC.
(mono_image_create_token): First check whether it's a generic
method (so we'd need to create a MethodSpec), then do the other
two alternatives.
(mono_reflection_bind_generic_method_parameters): Return a
`MonoReflectionMethod *' instead of a `MonoMethod *'; we're now
called directly from the interncall.
svn path=/trunk/mono/; revision=19159
* System.Web.UI/TemplateControl.cs: moved NoParamsInvoker class to its
own file.
* System.Web/HttpApplicationFactory.cs: use NoParamsInvoker.
* System.Web/HttpRequest.cs: support request filters.
* System.Web/HttpRequestStream.cs: mono-stylized and added new Set
method.
* System.Web/NoParamsInvoker.cs: proxy class to invoke user-provided
methods without parameters that are invoked by EventHandlers.
svn path=/trunk/mcs/; revision=19156
encoding format. This fixes bug #49568.
* XmlSerializationReaderInterpreter.cs: In encoded format, do not check
the name and namespace of the wrapper element. MS.NET doesn't do it.
This fixes bug #49729.
svn path=/trunk/mcs/; revision=19152
* Microsoft.VisualBasic/VBCodeGenerator.cs: Sub or Function generation is switched by method.ReturnType being "System.Void"
svn path=/trunk/mcs/; revision=19150
* genericparser.cs:
Don't print exception when a file is not found to be parsed
File extensions not matched are now processed with the default parser
Better handle file/directory not found exceptions, and use Report.Error in that case
* added defaultparserattribute.cs
* mb-parser.jay : Mono.MonoBASIC.Parser is now the [DefaultParser]
* location.cs version 1.4 recovered (Marco Ridoni had it overwritten with an older version)
* mb-tokenizer.cs, rootcontext.cs, tree.cs: Location constructor needs column number now
svn path=/trunk/mcs/; revision=19147
loading. ie ""quote"" should be "\"quote\"".
* dis-cil.c (dissasemble_cil): Write SEH debug info into a comment
block. Combine SEH blocks that have the same offset and length,
this prevents creating invalid SEH blocks.
svn path=/trunk/mono/; revision=19143
* Mono.Data.SqliteClient/SqliteConnection.cs
(SqliteConnection.LastInsertRowId): New property to bind the
sqlite_last_insert_rowid() call.
svn path=/trunk/mcs/; revision=19141
* MonoEvent.cs: implement ToString method as in MS.NET.
* MonoMethod.cs: fix some differences between mono and MS.NET
implementation of ToString.
svn path=/trunk/mcs/; revision=19139
* generic.cs (Constraints.Resolve): Take a DecpSpace instead of a
TypeContainer so we can also use this for Interfaces.
(TypeParameter.Resolve): Likewise.
* interface.cs (Interface.DefineType): Added support for generic
interfaces.
* cs-parser.jay: Added support for generic structs and interfaces.
svn path=/trunk/mcs/; revision=19138
* image.h (MonoAssemblyName): Add public_key and hash_alg fields.
* assembly.c (mono_assembly_open): Fill in public_key and hash_alg
fields.
* icall.c (ves_icall_System_Reflection_Assembly_FillName): Fill in
culture, hash_alg and public_key. Fixes#49555.
svn path=/trunk/mono/; revision=19128
* WebClient.cs: use Path.DirectorySeparator instead of "/" for
windows compatibility. Add some checks for file paths like
"C:/xxx/yyy/..." and like "/home/xxx/...".
svn path=/trunk/mcs/; revision=19127
* class.h (MonoGenericInst): Moved this declaration here and added
`MonoMethod *generic_method'.
* icall.c
(ves_icall_MethodInfo_GetGenericArguments): New interncall.
(ves_icall_MethodInfo_BindGenericParameters): New interncall.
* metadata.c (mono_metadata_type_equal): Two types of
MONO_TYPE_VAR or MONO_TYPE_MVAR equals if they have the same
index; ie. don't compare the address of the `MonoGenericParam'
structure.
(mono_metadata_load_generic_params): Removed the `MonoMethod
*method' argument.
* metadata.h (MonoGenericInst): Moved declaration to class.h.
(MonoMethodHeader): Added `MonoGenericInst *geninst'.
* reflection.c (method_encode_signature): Encode the number of
generic parameters.
(encode_generic_method_sig): New static function.
(method_encode_methodspec): New static function; creates an entry
in the MethodSpec table for a generic method.
(mono_image_get_methodspec_token): New static function.
(mono_image_create_token): Call mono_image_get_methodspec_token()
for generic methods.
(mono_reflection_bind_generic_method_parameters): New public
function. Instantiates a generic method.
svn path=/trunk/mono/; revision=19114
* Makefile
* LoginDialog.cs
* SqlSharpDataAdapter.cs
* sqlsharpgtk.cs: after editing these files, forgot to edit my
new email address
svn path=/trunk/mcs/; revision=19113
* Win32.make: removed file. replaced with Makefile
* Makefile: new makefile for building on Linux and Windows
* LoginDialog.cs
* SqlSharpDataAdapter.cs
* sqlsharpgtk.cs: correct compile errors
svn path=/trunk/mcs/; revision=19112
* metadata.h (MonoMethodSignature): Moved `MonoGenericParam
*gen_params' here from MonoMethodHeader.
* metadata.c (mono_metadata_parse_method_signature): If we have
generic parameters, initialize `method->gen_params' and then set
the correct `type->data.generic_param' in all the parameters.
svn path=/trunk/mono/; revision=19106
* threads.c (mono_threads_get_default_stacksize): New function to
return the default stacksize.
* gc.c (mono_gc_cleanup): Use a separate event for waiting for the
termination of the finalizer thread, since the previous method had
race conditions. Fixes#49628.
* gc.c (mono_gc_init): Use the same stacksize for the finalizer thread
as for the other managed threads.
svn path=/trunk/mono/; revision=19103
* Npgsql/NpgsqlClosedState.cs:
* Npgsql/NpgsqlConnectedState.cs:
* Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
because now it is used TlsSession and it doesn't work without
these changes.
svn path=/trunk/mcs/; revision=19097
* Makefile: changed reference from Lib/System.Security.Tls.dll to
System.Security.Tls because the last will be installed before and
separatelly.
* Lib: Removed Lib directory, moved System.Security.Tls.dll to
Mono.Security.Tls library directory.
svn path=/trunk/mcs/; revision=19094
* Iterator.cs : DescendantIterator and FollowingIterator also should
not MoveNext() after they reached to the end.
svn path=/trunk/mcs/; revision=19085
* System.Security.Tls.dll: Added Tls implementation from Carlos Guzman. Npgsql now supports SSL connections with this library.
svn path=/trunk/mcs/; revision=19081
* object.h: Add a new field to TypedRef to simplify the implementation
of the REFANY opcodes in the JIT.
* icall.c: Make use of the new field.
svn path=/trunk/mono/; revision=19078
between XmlCodeExporter and SoapCodeExporter.
* SoapCodeExporter.cs: Implemented.
* XmlCodeExporter.cs: Moved common code to MapCodeGenerator.
* XmlSerializationReaderInterpreter.cs: Fixed problem when reading
encoded bare parameter list.
* XmlTypeMapping.cs: Added method for getting member element by index.
svn path=/trunk/mcs/; revision=19069
Fixed naming of messages.
* ProtocolImporter.cs: It now iterates through all bindings. It creates
a namespace for all bindings.
* ServiceDescriptionImporter.cs: Some code moved to ProtocolImporter.
* SoapProtocolImporter.cs: Improved support for RPC format. It now is working.
svn path=/trunk/mcs/; revision=19067
* statement.cs (Switch.TableSwitchEmit): Compare the upper bound
to kb.Nlast, and not the kb.nFirst to isolate the switch
statement.
Extract the underlying type, so enumerations of long/ulong are
treated like long/ulong.
svn path=/trunk/mcs/; revision=19066
2003-10-14 Miguel de Icaza <[email protected]>
* expression.cs (New): Overload the meaning of RequestedType to
track the possible creation of the NewDelegate type, since
DoResolve is invoked more than once for new constructors on field
initialization.
See bugs: #48800 and #37014
svn path=/trunk/mcs/; revision=19064
* cs-parser.jay (declare_local_constants): Take an arraylist
instead of a single constant.
(local_constant_declaration): It should take a
constant_declarators, not a constant_declarator.
svn path=/trunk/mcs/; revision=19062
* Type.cs (Type.DeclaringMethod): For a generic method's type
parameter, return this method - otherwise, return null.
svn path=/trunk/mcs/; revision=19052
* class.c (mono_class_from_gen_param): Renamed to
mono_class_from_generic_parameter() and moved most of the
functionality from mono_reflection_define_generic_parameter()
here; ie. we create a "real" class here.
(mono_class_from_mono_type): Only allow MONO_TYPE_VAR and
MONO_TYPE_MVAR if mono_class_from_generic_parameter() has
previously been called.
* class.h (MonoGenericParam): Moved the declaration of this struct
here from metadata.h and added `MonoMethod *method'.
* icall.c (ves_icall_MonoType_get_DeclaringMethod): New
interncall.
* loader.c (mono_get_method_from_token): If we have any generic
parameters, call mono_metadata_load_generic_params() to read them
from the MONO_TABLE_GENERICPAR.
* metadata.c (mono_metadata_load_generic_params): Added
`MonoMethod *method' argument which is used MONO_TYPE_MVAR.
* metadata.h (MonoMethodSignature): Replaced
`MonoGenericInst *geninst' with `guint16 generic_param_count'.
(MonoMethodHeader): Added `MonoGenericParam *gen_params'.
* reflection.c (mono_reflection_define_generic_parameter): Moved
most of the functionality into the new
mono_class_from_generic_parameter(); set the `method' field if
we're a method parameter.
svn path=/trunk/mono/; revision=19051
* System.Web.dll.sources: new files in System.Web.Configuration.
* System.Web.Configuration/CompilationConfiguration.cs:
* System.Web.Configuration/CompilationConfigurationHandler.cs:
* System.Web.Configuration/CompilerCollection.cs:
* System.Web.Configuration/WebCompiler.cs: new files that process and
store system.web/compilation info (compilers + assemblies).
* System.Web.Configuration/HttpHandlersSectionHandler.cs: added option
for an attribute to be empty.
* System.Web.UI/BaseParser.cs: added CompilationConfig property.
* System.Web.UI/TemplateParser.cs:
* System.Web.UI/SimpleWebHandlerParser.cs: added CompilationConfig
property. Don't hardcode assembly names any more, assemblies in bin
are added depending on the configuration. The default language is
also taken from the configuration.
* System.Web.Compilation/BaseCompiler.cs: now gets the CodeCompiler
from configuration files.
In short, this changes make our ASP.NET support any language
that has CodeDom CodeCompiler and CodeGenerator.
VB.NET currently fails because of its buggy handling of options.
svn path=/trunk/mcs/; revision=19035
* icall.c: The generics API has changed in the spec since it was
added to System.Type; these modifications make it match the spec
again.
(ves_icall_Type_GetGenericParameters): Renamed to
`ves_icall_Type_GetGenericArguments'.
(ves_icall_Type_get_IsGenericTypeDefinition): New interncall.
(ves_icall_MonoType_get_HasGenericParameteres): Renamed to
`ves_icall_MonoType_get_HasGenericArguments'.
(ves_icall_MonoType_get_IsUnboundGenericParameter): Renamed to
`ves_icall_MonoType_get_IsGenericParameter'.
(ves_icall_MonoType_get_HasUnboundGenericParameters): Removed;
this is no interncall anymore.
(ves_icall_TypeBuilder_get_IsUnboundGenericParameter): Renamed to
`ves_icall_TypeBuilder_get_IsGenericParameter'.
svn path=/trunk/mono/; revision=19019
The generics API has changed in the spec since it was added here;
these modifications make it match the spec again.
* Type.cs
(GetGenericParameters): Renamed to `GetGenericArguments'.
(HasGenericParameters): Renamed to `HasGenericArguments'.
(HasUnboundGenericParameters): Renamed to `ContainsGenericParameters'.
(IsGenericTypeDefinition): New property.
(IsUnboundGenericParameter): Renamed to `IsGenericParameter'.
* MonoType.cs (ContainsGenericParameters): Implement this here;
this is no interncall anymore.
svn path=/trunk/mcs/; revision=19018
* reflection.c (mono_reflection_bind_generic_parameters): Also
inflate generic methods if we're reading the class from IL.
svn path=/trunk/mono/; revision=19017
* SoapReflectionImporter.cs, XmlReflectionImporter.cs, XmlSchemaImporter.cs:
in ImportMembersMapping, set pass the namespace to each XmlMemberMapping.
* SoapSchemaExporter.cs: Some fixes in ExportMembersMapping.
* XmlMemberMapping.cs: Fixed constructor. Now it takes the default namespace
and whether it uses encoded or literal format.
* XmlSchemaExporter.cs: Little fixes.
svn path=/trunk/mcs/; revision=19015
HttpSoapWebServiceHandler.cs, Methods.cs, SoapHttpClientProtocol.cs,
TypeStubManager.cs
Added class LogicalTypeInfo, which contains info common to all protocols
through which a web service can be accessed. Also, modified the way
Serializers are created. Instead of creating one by one, they are now
created all at once. This will make serialization creation more efficient
when the serializer code generator is in place.
* SoapRpcMethodAttribute.cs: Set the correct default values for the
properties.
* WebServiceHelper.cs: Removed unused method GetServiceNamespace().
* XmlReturnReader.cs, XmlReturnWriter.cs: Get the namespace for the return
type from LogicalTypeInfo.
svn path=/trunk/mcs/; revision=19013
Get the namespace for literal types from LogicalTypeInfo, since it may not
be the same as the service namespace.
* ProtocolReflector.cs: Access LogicalTypeInfo to get WS info common to
all protocols.
* ServiceDescription.cs: Added soap/encoded namespace.
* SoapProtocolImporter.cs: Added some bits of RPC format support.
svn path=/trunk/mcs/; revision=19011
* Delegate.cs: add the method name to the exception when it cannot be
bound.
* Exception.cs: fix nullref in Source.
svn path=/trunk/mcs/; revision=19008
* sparc/sparc-codegen.h sparc/tramp.c: add initial implementation
for V9 (64 bit), cover more 32 bit cases as well.
svn path=/trunk/mono/; revision=18995
* SessionStateModule.cs: prevent Context.State from being null if
the module is inited in another HttpApplication. Fixes#49569.
svn path=/trunk/mcs/; revision=18991
* class.cs (Method.Define): If we're a generic method, call
TypeBuilder.DefineGenericMethod () before resolving
the parameters.
(MethodData): Added .ctor which takes an additional MethodBuilder
argument; this is used for generic methods.
(MethodData.Define): Call `builder.SetGenericMethodSignature()' if
we already have a MethodBuilder.
svn path=/trunk/mcs/; revision=18985
* reflection.c (mono_reflection_define_generic_parameter): This
method isn't called directly from the icall anymore; take a
`MonoReflectionAssemblyBuilder *' so we can use this for type and
method generic parameters.
(ReflectionMethodBuilder): Added `MonoArray *generic_param'.
(method_builder_encode_signature): Encode generic parameters.
(mono_image_get_method_info): Write generic params to the
MONO_TABLE_GENERICPARAM table.
* reflection.h (MonoReflectionMethodBuilder): Added
`MonoArray *generic_params'.
* metadata.h (MonoMethodSignature): Added `MonoGenericInst *geninst'.
* icall.c (ves_icall_TypeBuilder_define_generic_parameter): Added
wrapper for mono_reflection_define_generic_parameter().
(ves_icall_MethodBuilder_define_generic_parameter): Likewise.
svn path=/trunk/mono/; revision=18984
* Makefile.am: fix so it works if builddir != srcdir
* libtest.c: (mono_test_empty_struct) make it exist for
non-GCC builds (and possibly pass depending on trampolines).
(mono_test_marshal_bool_byref) bools marshal as ints by default
svn path=/trunk/mono/; revision=18981
* threads.c (CreateThread): Wrap pthread_attr_setstacksize call in
a conditional for platforms that don't have it.
svn path=/trunk/mono/; revision=18980
* XmlDocument.cs : Fixed bugzilla #49607. Save() outputs XML
declaration even though there is no XmlDeclaration child.
* XmlTextReader.cs : Fixed Init() so that ResetState() should work.
svn path=/trunk/mcs/; revision=18976
* marshal.c (mono_marshal_get_native_wrapper): Add support for
the SetLastError pinvoke attribute.
* marshal.c (mono_marshal_set_last_error): New helper function called
by the generated code.
svn path=/trunk/mono/; revision=18971
* pinvoke2.cs pinvoke3.cs: Merge tests 4-8 into these files +
convert tests so they run with the test driver used by mini.
* pinvoke3.cs libtest.c: Add tests for class arguments and return
values.
* pinvoke4.cs pinvoke5.cs pinvoke6.cs pinvoke7.cs pinvoke8.cs: Removed.
svn path=/trunk/mono/; revision=18967
* marshal.c (mono_mb_emit_branch): New helper function.
* marshal.c (mono_mb_emit_exception): Added exception name parameter.
* marshal.c (mono_marshal_get_managed_wrapper): Added support for
classes as parameters and return values of delegates. Fixes#29256.
svn path=/trunk/mono/; revision=18962
* XmlNode.cs : GetNamespaceOfPrefix() should check Attributes existence.
And it should throw ArgumentNullException.
svn path=/trunk/mcs/; revision=18949
* XmlAttribute.cs : Fixed InnerText that did not removed its content
if there is two or more children.
* XmlNode.cs : XmlNode.cs : Fixed bugzilla #49580 (1)to return "",
(2)not to compare NodeType for detached nodes, (3)optimization to
compare element's prefix.
* XmlSecureResolver.cs : Removed extraneous members.
svn path=/trunk/mcs/; revision=18948
* System.Web.UI/Control.cs: removed some debug lines.
* System.Web.UI/Page.cs: implemented RegisterOnSubmitStatement
* System.Web.UI/TemplateControl.cs: fixed wire up for methods with no
parameters.
* System.Web.UI.HtmlControls/HtmlForm.cs: render the onsubmit attribute.
svn path=/trunk/mcs/; revision=18945
* HttpWebRequest.cs:
* HttpWebResponse.cs: better abort handling and leave the stream in a
stable status on abort.
svn path=/trunk/mcs/; revision=18943
* Lots of files changed, upgraded to nunit 2.1.4. I built and ran the
corlib test, so it seems like existing tests should still work under
this new version of nunit.
svn path=/trunk/mcs/; revision=18920
* corlib.dll.sources: Added classes for Authenticode support.
* corlib_test.dll.sources: Added unit test for SPC certificates.
svn path=/trunk/mcs/; revision=18919
* ITrustAnchors.cs: Added from Mono.Security assembly to
support Authenticode in X509Certificate.CreateFromSignedFile
* TestAnchors.cs: Added from Mono.Security assembly to
support Authenticode in X509Certificate.CreateFromSignedFile
* TrustAnchors.cs: Added from Mono.Security assembly to
support Authenticode in X509Certificate.CreateFromSignedFile
* X509CertificateCollection.cs: Added from Mono.Security assembly to
support Authenticode in X509Certificate.CreateFromSignedFile
* X509Chain.cs: Added from Mono.Security assembly to
support Authenticode in X509Certificate.CreateFromSignedFile
svn path=/trunk/mcs/; revision=18915
* AuthenticodeBase.cs: Added from Mono.Security assembly for
Authenticode support in X509Certificate.CreateFromSignedFile
* AuthenticodeDeformatter.cs: Added from Mono.Security assembly for
Authenticode support in X509Certificate.CreateFromSignedFile
svn path=/trunk/mcs/; revision=18914
* chktrust.1: New. Man page for Authenticode chktrust.exe
* signcode.1: New. Man page for Authenticode signcode.exe
* sn.1: New. Man page for StrongName sn.exe
* man.xml: Added new (and missing) entries.
svn path=/trunk/mono/; revision=18911
(cairo_reference, cairo_arc, cairo_arc_negative): New API, added.
(cairo_current_matrix): Signature changed, updated.
(cairo_surface_reference): New API.
(cairo_surface_get_matrix): Use 'out' instead of 'ref' param.
* Mono.Cairo/Surface.cs:
* Mono.Cairo/Object.cs: Added binding for new APIs listed in Cairo.cs.
(Destroy): It's supposed to return void, not IntPtr.
* cairo-api.cs: Marked as in internal class, instead of
public. Update to new Cairo API (see Mono.Cairo/Cairo.cs).
* gdk-helpers.cs (Gdk.Pixbuf.Finalize): Removed.
svn path=/trunk/mcs/; revision=18901
* Calendar.cs: apply the calendar style to the new Table, not to itself.
Fixes#49406.
* CheckBox.cs: render the hidden fields if AutoPostBack.
* Style.cs: don't render empty width/height. Small improvement in
CopyFrom.
* Table.cs: fixed condition for border width.
* TableStyle.cs:
(CopyFrom): always call the base class to copy other attributes. Fixes
bug #49408. Don't render empty 'rules' attribute.
* WebControl.cs: track viewstate when enabled. Don't overwrite source
control attributes in CopyBaseAttributes.
* ChangeLog: fixed dates.
svn path=/trunk/mcs/; revision=18878
* GenericMethodRef.cs: Basically just a wrapper around an existing
method making it into a generic method.
* GenericMethodSig.cs: Signature for a generic method.
svn path=/trunk/mcs/; revision=18876
* HttpResponse.cs:
* HttpServerUtility.cs: change the response writer in Execute. Thanks
to Rich Alimi <[email protected]> for noticing this.
svn path=/trunk/mcs/; revision=18873
* System.Web/HttpApplicationFactory.cs:
* System.Web.UI/TemplateControl.cs: support for wiring up events without
parameters.
* System.Web.Compilation/AspParser.cs:
* System.Web.Compilation/TagAttributes.cs: allow duplicated runat=server
attributes and display error page when duplicated attributes and runat
is specified.
svn path=/trunk/mcs/; revision=18872
signatures. Use this class instead of GenericTypeInst for creating
generic methods. Fix Generic call conv. according to two of my
docs it is 0x10 and only one says 0x50 so I will go with 0x10.
svn path=/trunk/mcs/; revision=18871
* Uri.cs: fixed a problem with some URIs like file://some_file.txt
It used to return "/some_file.txt/" instead of "some_file.txt" in
LocalPath. Fix handling of full path files and SMB addresses.
* UriTest.cs: added some test for "file://one_file.txt". Uri used to
fail with this URIs.
* WebClient.cs: MS.NET works right when we try OpenRead("file.txt")
but we didn't. Now, when Uri fails with an exception, it adds
"file://" before the URI and tries again.
svn path=/trunk/mcs/; revision=18870
* marshal.c (mono_marshal_get_managed_wrapper): Under windows,
delegates passed to native code must use the STDCALL calling
convention. Fixes#35987.
svn path=/trunk/mono/; revision=18858
* JSparser.cs: Updated the constructor to not receiving params.
* JScriptLexer.cs, JScriptParser.cs, JScriptParserTokenTypes.cs,
JScriptParserTokenTypes.txt: update of antlr generated files from
grammar changes.
svn path=/trunk/mcs/; revision=18851
* class.c (inflate_generic_type): If we're inflating for a generic
type instance (and not for a generic method), return
MONO_TYPE_MVAR unchanged.
svn path=/trunk/mono/; revision=18848
* System.Collections/Hashtable.cs:
* Test/System.Collections/HashtableTest.cs: patch from Carlos A.
Barcenilla ([email protected]) that includes some fixes for
Hashtable + NUnit2 tests.
svn path=/trunk/mcs/; revision=18845
* DateTime.cs: Patch from Chris Turchin: the DateTime.MaxValue
should not be TimeSpan.MaxValue, because it overflow. Set this to
be MAX_VALUE_TICKS
svn path=/trunk/mcs/; revision=18844
* reflection.c (MonoReflectionGenericParam): Added `guint32 index'.
(mono_reflection_define_generic_parameter): If `gparam->index' is
non-zero, create a MONO_TYPE_MVAR.
(encode_type): Added support for MONO_TYPE_MVAR.
svn path=/trunk/mono/; revision=18833
* class.cs (Method): Added .ctor which takes a `GenericMethod'
instead of a `DeclSpace'. This is used for generic methods.
* cs-parser.jay (method_header): Added support for generic
methods; create a `GenericMethod' instance and pass it to the
`Method's .ctor; it'll be used as the `DeclSpace' to lookup
parameters and locals.
* decl.cs (DeclSpace.SetParameterInfo): Removed Location argument
since we already have the location. Check whether we're a generic
type declaration or a generic method and create the correct type
parameter.
* generic.cs (TypeParameter): Added .ctor which takes an
additional `int index' argument. It is used for generic methods.
(TypeParameter.DefineMethod): New public method.
(GenericMethod): New public class; derives from DeclSpace and is
used for generic methods.
svn path=/trunk/mcs/; revision=18831
* class.cs (MethodCore): Added additional `DeclSpace ds' argument
to the .ctor.
(MethodCore.DoDefineParameters): Removed the TypeContainer
argument; use the DeclSpace which was passed to the .ctor instead.
(MethodCore.CheckParameter): Take a DeclSpace instead of a
TypeContainer; we only need a DeclSpace here.
svn path=/trunk/mcs/; revision=18826
* class.cs (MethodData): Added additional `DeclSpace ds' argument
to the .ctor.
(MethodData.Define, MethodData.Emit): Pass the `ds' to the
EmitContext's .ctor.
svn path=/trunk/mcs/; revision=18822
* decl.cs (DeclSpace.AsAccessible): Moved here from TypeContainer.
(AccessLevel, CheckAccessLevel, GetAccessLevel): They're used by
AsAccessible(), moved them as well.
* class.cs (TypeContainer.AsAccessible): Moved to DeclSpace.
svn path=/trunk/mcs/; revision=18821
* CultureInfo.cs: Implemented, with internal calls to ICU apart
from the Invariant culture.
* SortKey.cs:
* CompareInfo.cs: Implemented
* DateTimeFormatInfo.cs: Fixed the worst of the formatting,
construct default FullDateTimePattern on the fly.
svn path=/trunk/mcs/; revision=18820
* acconfig.h:
* configure.in: Check for ICU availability
2003-10-09 Dick Porter <[email protected]>
* icall.c:
* locales.h:
* locales.c: Internal calls for constructing CultureInfo and
related objects from libicu (if its available.)
svn path=/trunk/mono/; revision=18818
* Added DTDReader.cs. It is almost importation of XmlTextReader.
* DTDObjectModel.cs :
- More .NET-ism. Properties took place of fields.
- Imported PE set from XmlTextReader. Added location info.
- Added DTDEntityBase common to PE and GE.
- More correct text declaration handling with new XmlTextReader.
* DTDValidatingReader.cs :
- Now uses entity resolving XmlTextReader to validate attributes
correctly. Implemented standalone
- Standalone and default related validity constraints check.
* XmlImplementation.cs: Implemented HasFeature().
* XmlNode.cs : Implemented Supports().
* XmlNodeReader.cs : Modified to use XmlTextReader.SkipTextDeclaration()
* XmlParserInput.cs : Removed extraneous members.
* XmlTextReader.cs :
- All DTD related functionality now goes to DTDReader.cs
- It became old simple TextReader input style.
- Implemented GetRemainder().
- Implemented ReadBase64(), ReadBinHex() and ReadChars(), using
additional new private method ReadUntilEndTag().
- Removed incomplete MaybeTextDecl and added SkipTextDeclaration().
ReadXmlDeclaration() now became simple.
- More strict entity reference check at SetEntityReferenceProperty()
- Removed extraneous members.
* XmlWriter.cs : WriteNode(XmlNodeType.None) does not raise error.
svn path=/trunk/mcs/; revision=18812
* threadpool.c: added an argument to async_invoke_thread that is the
item to process, pass the MonoAsyncResult to the thread start function
when creating a new thread. This way we don't need to acquire any lock
when we're creating a new thread. Readded a semaphore for faster
response times (instead of that Sleep i added).
svn path=/trunk/mono/; revision=18789
* System.Net/ServicePoint.cs: preparing for recycling. Not yet finished.
* System.Net/ServicePointManager.cs: this is the one that reads config.
* System.Net/WebConnectionGroup.cs: don't read config here.
* System.Net/WebConnection.cs: added the queue again. Launch queued
requests on error.
* System.Net.Configuration/ConnectionManagementHandler.cs: the hashtable
is case insensitive now.
svn path=/trunk/mcs/; revision=18788
* XmlTextReader.cs: when we get an unexpected EOF in ReadContent, set
the state before throwing the exception if depth > 0.
svn path=/trunk/mcs/; revision=18786
* icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData):
get daylight change dates better on Windows, fix handling
of platforms without tm_gmtoff.
svn path=/trunk/mono/; revision=18783
2003-10-03 Diego Caravana <[email protected]>
* Tds70.cs: Now handles parameters of type ReturnValue and
InputOutput.
(BuildParameters): skips the ReturnValue params and builds the
set string considering the assigned value for InputOutput ones.
(BuildProcedureCall): like the preceding one plus adds the return
value to the final select.
-----
System.Data/System.Data.SqlClient/ChangeLog
2003-10-03 Diego Caravana <[email protected]>
* SqlCommand.cs: no change.
* SqlConnection.cs (Close): Added checks for null instance
variables.
* SqlParameter.cs (Direction): Now handles parameters of type
ReturnValue and InputOutput.
* SqlParameterCollection.cs (IndexOf(string)): Search for
SqlParameter object in list is done by obtaining ParameterName
attribute, not directly through list.IndexOf().
svn path=/trunk/mcs/; revision=18782
dis_generic_param_and_constraints, allow a table type to be passed
to the method so this could be used with generic methods (It is
not though).
* get.c/get.h (get_generic_param): method to stringify generic
type and method parameters.
* get.c (dis_stringify_method_signature): Add generic
parameters.
svn path=/trunk/mono/; revision=18781
a name, names are mandatory. Add method to add type parameters to
methods. Allow GenericParameters to have either a type or a
method as its owner. Also fix visibility of GenericParameters, a
GenericParameter should not be created outside of PEAPI.
svn path=/trunk/mcs/; revision=18772
* class.c (inflate_generic_method): Renamed to
mono_class_inflate_generic_method() and made public.
(mono_class_init): Don't inflate the generic methods here.
(mono_class_from_generic): Added `gboolean inflate_methods'
argument. Inflate the methods here.
* loader.c (mono_method_get_param_names): Ignore instances of
generic types for the moment.
* reflection.c (fixup_method): Added support for inflated methods.
(mono_image_create_token): Use mono_image_get_methodref_token()
for inflated methods.
(mono_custom_attrs_from_param): Ignore instances of generic types
for the moment.
(mono_reflection_bind_generic_parameters): New public function.
Moved all the functionality from
ves_icall_Type_BindGenericParameters() here and added support for
dynamic types.
(mono_reflection_define_generic_parameter): Initialize
`klass->methods' here.
* icall.c (ves_icall_Type_BindGenericParameters): Moved all the
functionality into mono_reflection_define_generic_parameter().
(ves_icall_Type_GetGenericTypeDefinition): If we're coming from a
TypeBuilder, return that TypeBuilder.
svn path=/trunk/mono/; revision=18768
* BaseValidator.cs : DetermineRenderUplevel() - Completed.
: RegisterValidatorCommonScript()
- More code, I need HELP!
: RegisterValidatorDeclaration()
- More code, I need HELP!
svn path=/trunk/mcs/; revision=18764
* System.Net/WebConnection.cs: the queue is now handled by the
threadpool. Initialize the connection data in a place where it does not
depend on the execution order of the requests in threadpool. More error
handling.
* System.Net/WebConnectionGroup.cs: use the limits in the config file
and reuse connections when the limit is reached.
* System.Net.Configuration/ConnectionManagementHandler.cs: added
GetMaxConnections to return the max. number of simultaneous connections
to a given host.
svn path=/trunk/mcs/; revision=18735
* appdomain.c: removed mono_delegate_semaphore.
* threadpool.c:
(mono_thread_pool_add): moved hash table creation inside and the thread
creation outside of the critical region.
(mono_thread_pool_finish): removed obsolete code.
(async_invoke_thread): don't use the semaphore. Use a plain Sleep and
continue or exit the thread depending on the queue.
svn path=/trunk/mono/; revision=18734
* expression.cs (Binary.Emit.GreatherThanOrEqual): Fix the code
generation for >=, as spotted by Paolo, bug 48679.
Patch from David Waite.
* cs-tokenizer.cs: Add handling for #pragma.
svn path=/trunk/mcs/; revision=18729
only needs to be shifted 1 bit. Added dis of generic constraints.
* get.c/get.h: New method for getting a TypeOrMethodDef token
* dump.c: When dumping generic parameters and generic constraints
output readable names instead of just tokens.
svn path=/trunk/mono/; revision=18727
to proxy in ClientIdentity to a WeakReference. This fixes a memory leak.
* RemotingServices.cs: Ignore first "/" char in uris when looking for
and object.
Take into account that identity now has a weak reference
of the proxy.
svn path=/trunk/mcs/; revision=18721
* cs-parser.jay: Allow for both yield and yield return in the
syntax. The anti-cobolization of C# fight will go on!
svn path=/trunk/mcs/; revision=18711
datetime and arrays of primitive types. This makes CAD much faster.
* AsyncResult.cs: Added property to store the call message.
svn path=/trunk/mcs/; revision=18706
* marshal.c (mono_marshal_get_native_wrapper): Fix marshalling of
arrays of structs. Also add a more descriptive error message when
a structure member is marshalled as LPArray.
svn path=/trunk/mono/; revision=18705
* expression.cs (ArrayCreation.EmitDynamicInitializers): When
coping with enumerations variables, we were mistakenly processing
them as a regular value type instead of built-in types. Fixes the
bug #48063
* typemanager.cs (IsBuiltinOrEnum): New method.
svn path=/trunk/mcs/; revision=18697
WebServiceBindingAttribute addition moved to SoapProtocolImporter.
Moved GetServiceUrl here (from SoapProtocolImporter).
* ServiceDescriptionImporter.cs: Added support for HttpGet and HttpPost
importers.
* SoapProtocolImporter.cs: Minor fixes.
* HttpSimpleProtocolImporter.cs, HttpGetProtocolImporter.cs,
HttpPostProtocolImporter.cs: new files that implement HttpGet and HttpPost
importers.
svn path=/trunk/mcs/; revision=18691
* HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs: Check that
HttpMethodAttribute is present in proxy's method.
* HttpSimpleClientProtocol.cs: Forgot to call InitializeRequest before
getting the request stream.
* UrlEncodedParameterWriter.cs: in Encode(), take into account that
requestEncoding can be null.
svn path=/trunk/mcs/; revision=18690
* mono/tests/pinvoke2.cs mono/tests/pinvoke11.cs
mono/tests/libtest.c: Add more pass by value struct
tests for platforms with more complex calling conventions
(Sparc V9, HPPA 64 bit).
svn path=/trunk/mono/; revision=18679
* marshal.c (mono_marshal_get_native_wrapper): Add support for
marshalling arrays of complex types. Fixes#29098. Also remove an
usused and incomplete function.
svn path=/trunk/mono/; revision=18673
* mini.c (mono_method_to_ir): Allow wrapper data for CEE_LDELEMA.
* inssel-x86.brg (OP_LOCALLOC): Fix register assignment for localloc.
* driver.c: Add support for compiling icall wrappers to --compile.
svn path=/trunk/mono/; revision=18672
* Microsoft.Web.Services.dll.sources: Removed classes from
Microsoft.Web.Services.Policy and Microsoft.Web.Services.Messaging
from the WSE 1.0 build (extra - corcompare).
svn path=/trunk/mcs/; revision=18666
* X509Certificate.cs: Class is sealed (corcompare). Implemented
GetSubjectAlternativeName for WSE2.
* X509CertificateCollection.cs: Removed Item[] set (corcompare).
svn path=/trunk/mcs/; revision=18664
* Microsoft.Web.Services.Diagnostics: Added new namespace with
internal TraceFilter.cs and public TraceInputFilter.cs and
TraceOutputFilter.cs
svn path=/trunk/mcs/; revision=18658
* SoapWebRequest.cs: Now returns a SoapWebResponse for GetResponse. Added
[MonoTODO] to the async methods.
* SoapWebResponse.cs: Added Pipeline support for output.
* WebServicesExtension.cs: Added [MonoTODO] to reflect reality
svn path=/trunk/mcs/; revision=18652
* icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData): Finally
fix timezone handling problems on Windows.
* icall.c (ves_icall_System_CurrentTimeZone_GetTimeZoneData): Avoid
asserts when the year is outside the range handled by ms the functions.
svn path=/trunk/mono/; revision=18627
* XmlConvertTests.cs : patch by Jonathan Kessler. Added more test
methods.
* XmlUrlResolverTests.cs : Renamed NullArgs to ResolveUriWithNullArgs,
and added GetEntityWithNullArgs() (though it is uncommented).
* XmlReaderCommonTests.cs : Added XML Schema-mode XmlValidatingReader
testing phase.
svn path=/trunk/mcs/; revision=18619
* ChainStream.cs: New. Allows to chain the WebRequest.GetRequestStream
so we can modify its content before sending it.
* Pipeline.cs: Fixed stupid error in ProcessOutputMessage (x++ -> x--)
* SoapContext.cs: Implemented CopyTo(SoapContext)
* SoapEnvelope.cs: New internal constructor for SoapContext
* SoapInputFilterCollection.cs: Fixed Clone() and added an internal
constructor.
* SoapOutputFilterCollection.cs: Fixed Clone() and added an internal
constructor.
* SoapWebRequest.cs: Completed TODO.
* WebServicesClientProtocol.cs: Fixed InvalidCast in GetWebResponse. But
how do we set the ResponseSoapContext ?
svn path=/trunk/mcs/; revision=18609
* XmlAttribute.cs : Removed extraneous MonoTODO.
* XmlTextWriter.cs : Implemented WriteBinHex() and WriteChars().
WriteStartElement() and WriteStartAttribute() should ignore Prefix
if namespace uri is not specified.
svn path=/trunk/mcs/; revision=18594
* XmlDocumentFragment.cs,
XmlElement.cs,
XmlEntityReference.cs : Removed extraneous MonoTODO.
* XmlNode.cs : Implemented Normalize().
* XmlNodeReader.cs :
- AttributeCount and HasAttributes should return its owner element's
value, to be consistent with XmlTextReader.
- Fixed Depth to reflect correct attribute/attribute-value iteration.
- simplified ownerElement and HasValue.
- Prefix won't return null.
- MoveToElement() should also work against attribute value nodes.
* XmlTextReader.cs : MoveToElement() should return false if it is
positioned at element itself.
svn path=/trunk/mcs/; revision=18589
* CryptoStreamTest.cs: Added test case from bugzilla #49323 from
Carlos Guzm�n �lvarez and some small tests for empty stream with
different PaddingMode (as found by Lluis Sanchez Gual).
svn path=/trunk/mcs/; revision=18587
* CryptoStream.cs: Fixed bug 49323. The CanTransformMultipleBlocks
optimization in Read has been fixed for partial blocks.
svn path=/trunk/mcs/; revision=18586
reflector if the TypeStubInfo does not provide one.
Do not create XmlSchemaExporter. Take it from the service reflector, sine
it must be reused for all protocol reflectors. Moved some code to
SoapProtocolReflector, since it cannot be reused for all reflectors.
* ServiceDescriptionReflector.cs: Reflect the type for all available
protocols.
* SoapProtocolReflector.cs: Moved here some code from ProtoclReflector.
* HttpGetProtocolReflector.cs, HttpPostProtocolReflector.cs,
HttpSimpleProtocolReflector.cs: new files.
svn path=/trunk/mcs/; revision=18576
WebServiceHandlerFactory that generates the documentation page.
* WebServiceHandlerFactory.cs: Moved the code that generates the doc page
to SoapDocumentationHandler.cs.
* HttpGetClientProtocol.cs, HttpGetWebServiceHandler.cs,
HttpPostClientProtocol.cs, HttpPostWebServiceHandler.cs,
HttpSimpleWebServiceHandler.cs, HttpSoapWebServiceHandler.cs,
SoapHttpClientProtocol.cs: Changed parameters of GetTypeStub call.
* HttpGetTypeStubInfo.cs, HttpPostTypeStubInfo.cs: Added ProtocolName
property. Added check for valid parameters.
* HttpSimpleTypeStubInfo.cs: Define return MimeFormatter in constructor.
* Methods.cs: BindingInfo and related properties moved to base TypeStubInfo.
Added properties for XmlImporter and SoapImporter.
* TypeStubManager.cs: Added BindingInfo and related properties.
Changed GetTypeStub method. Now it takes the name of the protocol for
which to get the type stub info.
* ValueCollectionParameterReader.cs: IsSupported should only return true
for input primitive parameters or array of primitives.
svn path=/trunk/mcs/; revision=18575
* System.Web.Services.Configuration/WebServicesConfigurationSectionHandler.cs: keep the file name of the configuration file around for
wsdlHelpGenerator.
* System.Web.Services.Protocols/SoapDocumentationHandler.cs: it does not
generate the documentation page any more. GetDescription and GetSchemas
are now internal.
* System.Web.Services.Protocols/WebServiceHandlerFactory.cs: generate
the documentation page without doing a Transfer () but instead creating
a Page instance from the wsdl help file. This file is located from the
configuration file that contains the <wsdlHelpGenerator> tag.
svn path=/trunk/mcs/; revision=18539
* ConfigurationSettings.cs: patch by Eric Lindvall ([email protected])
that improves performance by not reading the file more than once.
svn path=/trunk/mcs/; revision=18534
quote the module and method names, properties have specialname,
and rtspecialname flags (nothing else), dis global methods and
fields FIXME: indentation issues.
* get.h: declare get_fieldref_signature
* get.c: Fix unsigned ints (not uint), single quote argument names
(this is kinda a hack, ildasm will only single quote arg names
that are ilasm keywords), remove fixme, we know what typedbyref
means, output fieldref signatures instead of their token
value.
svn path=/trunk/mono/; revision=18517
Carlos' bug seems to stem from my failure to interpolate
the "$$" substitution pattern properly.
This fixes bug #48666
svn path=/trunk/mcs/; revision=18492
* MergeManager.cs: New file.
* DataRelationCollection.cs (AddCore): Check that a
UniqueConstraint is already exists. It loops over the Relations
instead of the Constraints.
(Add, AddCore): The relation was added twice.
* DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
svn path=/trunk/mcs/; revision=18479
common code to ServiceDescriptionReflector.
* ServiceDescriptionReflector.cs: Moved some code from ProtocolReflector.cs
svn path=/trunk/mcs/; revision=18473
Fixed handling of members with XmlTextAttribute that are arrays.
* TypeData.cs: IsComplexType now returns true for XmlNode.
* XmlSerializer.cs: Added check for null mapping in FromMappings.
* XmlTypeMapping.cs: Added helper method FindTextElement.
svn path=/trunk/mcs/; revision=18471
* ConfigurationSettings.cs: patch by Eric Lindvall ([email protected])
that improves performance by not reading the file more than once.
svn path=/trunk/mcs/; revision=18462
* Added DTMXPathNode.cs.
* Fundamental changes in whole DTM stuff. Node information is now array
of "node struct" instead of individual arrays.
svn path=/trunk/mcs/; revision=18460
* System.Web/HttpApplication.cs: pass the Uri, not the file path to
when looking for a handler.
* System.Web.Configuration/HandlerItem.cs: make it work for file names
without wildcards.
svn path=/trunk/mcs/; revision=18459
* XmlSchema.cs : Read() should keep current position of XmlReader if
it was already positioned to 'schema' element.
svn path=/trunk/mcs/; revision=18458
* DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
* DataRelation.cs (constructor): When the name of the relation is
null, it should return an empty, not "Relation".
* DataRow.cs (AcceptChanges): Added special case for
RowState.Detached.
(CancelEdit): Set editing flag to false.
(IsNull): Check that the value is DBNull.
* DataRowCollection.cs (Add): There was no check that the table of
the collection is owned by a DataSet.
* DataSet.cs (OnMergeFailed): Added.
* UniqueConstraint.cs (AssertConstraint): There was no check that
values in the row are not null, where it is a primary key
column. Also check that the row has a proposed version, if not,
get the current version when we compare the rows.
svn path=/trunk/mcs/; revision=18452
* Ok, this was the beforementioned (on -devel) WSE Makefile edit.
Right now, this builds both WSE1 and WSE2, and installs them both, as
Microsoft.Web.Services.1.dll and
Microsoft.Web.Services.2.dll respectively.
It will also install Microsoft.Web.Services.1.dll as
Microsoft.Web.Services.dll. This behaviour can be overridden by
defining DEFAULT_WSE2
This can be defined in config.make or on the commandline (i think).
I have tested clean, all, and install, but have not tested dist or
test.
dist should work, test might or might not. (however, a toplevel make
dist wont be affected, because this dir is not being built by default)
This is pure amateur makefile hackery on my part, anyone who wants
to improve on this effort, please feel free.
svn path=/trunk/mcs/; revision=18450
* DTDValidatingReader.cs : Simplified to use
XmlSchemaUtil.GetParserContext().
* XmlValidatingReader.cs : ValidationType.Auto should always use
XsdValidatingReader because xsi:schemaLocation might be used.
svn path=/trunk/mcs/; revision=18441
* inssel.brg (OP_UNBOXCAST): Fix#46027.
* inssel.brg (OP_UNBOX): Remove unused rule.
* mini.h mini.c inssel-x86.brg: Allocate one SP variable for each
region instead of one for each method. Fixes#47813.
svn path=/trunk/mono/; revision=18431
* Makefile: Set TEST_MCS_FLAGS.
* Microsoft.JScript_test.dll.sources: deleted the building of my
local test BaseVsaEngineTest.
svn path=/trunk/mcs/; revision=18422
* Microsoft.Web.Services/SoapContext.cs: Added Action, To and ReplyTo
properties.
* Microsoft.Web.Services.Addressing/
Action.cs:
Address.cs:
AttributedUri.cs:
AttributedUriString.cs:
EndpointReference.cs:
EndpointReferenceType.cs:
ReplyTo.cs:
To.cs: Partially stubbed.
* Microsoft.Web.Services.Messaging/SoapReceiver.cs: Added protected
abstract method Receive.
* Microsoft.Web.Services.Messaging/
SoapReceivers.cs:
SoapSender.cs: Partially stubbed.
* Microsoft.Web.Services.Xml/IXmlElement.cs: Moved to the Xml namespace
which is where MS has it, added the namespace to classes that needed it
* Microsoft.Web.Services.Xml/OpenAttributeElement.cs: Partially stubbed
* Microsoft.Web.Services.dll.sources: Added new files.
svn path=/trunk/mcs/; revision=18417
* BaseVsaEngine.cs: added default constructor, added exceptions
for Close (), implemented GetOption, added properties that let
know the state of the engine.
svn path=/trunk/mcs/; revision=18413
* Control.cs:
(ClearChildViewState): doh! Don't clear control viewstate but the
viewstate of possible children.
(LoadViewStateRecursive): load viewstate even when control is not
visible.
Fixes bug #49024.
The rest are just dangling ^M removed.
* DataBoundLiteralControl.cs:
(LoadViewState): we get an object [], not a string [].
svn path=/trunk/mcs/; revision=18405
* handles.c:
* processes.c: undo thinkos.
* sockets.c: set last error when socket creation fails. This shed some
light on bug #49015.
svn path=/trunk/mono/; revision=18393
* mini.c (mono_method_to_ir): Avoid inlining tail calls.
* mini.c (mono_method_to_ir): Fix tail recursion in the presence of
inlining.
* mini.c (mono_method_check_inlining): Make the inlining limit
configurable by an environment variable.
* mini.c (mono_jit_runtime_invoke): Add Gonzalo's fix for #36545.
* mini.h: Bump AOT file version.
* mini.h mini.c aot.c mini-x86.c: For relocations which refer to a
token, store the image along with the token, since the token might not
refer to the same image as the method containing the relocation,
because of inlining.
svn path=/trunk/mono/; revision=18382
* typemanager.cs (TypeManager.GetMethodFlags): Added support for
inflated generic methods.
* generics.cs (ConstructedType): Distinguish between open and
closed constructed types; correctly resolve the arguments.
svn path=/trunk/mcs/; revision=18367
* handles.c: fixed thinko. We now store the strings with their \0.
* processes.c: fixed bug #48973: we only change \ by / for the argument
to be used as command.
When getting the program name from the args, don't let the space between
them in the args.
Store the strings with their terminating \0.
svn path=/trunk/mono/; revision=18352
* System.Web.UI/Control.cs: implemented ClearChildViewState ().
* System.Web.UI.WebControls/Repeater.cs: fixed bug #48807. It needed
to use a DummyDataSource and ClearViewState only called when no items.
svn path=/trunk/mcs/; revision=18351
Added support for IncludeInSchema flag.
* SoapSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
* XmlCodeExporter.cs: Implemented AddMappingMetadata and AddMappingMetadata
methods. Added support for IncludeInSchema flag.
* XmlSchemaImporter.cs: Implemented ImportDerivedTypeMapping method.
Added support for IncludeInSchema flag.
* XmlTypeAttribute.cs: Set includeInSchema to true by default.
* XmlTypeMapping.cs: Added IncludeInSchema property.
svn path=/trunk/mcs/; revision=18348
management of exceptions. Also added support for BufferResponse flag.
* Methods.cs: Added MethodAttribute property in MethodStubInfo. Added
XmlImporter, SoapImporter and Type properties in TypeStubInfo.
* SoapMessage.cs: little fix.
svn path=/trunk/mcs/; revision=18346
Added methods for getting extension importers and reflectors.
* ProtocolImporter.cs: Implemented.
* ProtocolReflector.cs: Implemented.
* ServiceDescriptionCollection.cs: Fixed some methods for finding wsdl
elements.
* ServiceDescriptionImporter.cs: moved most of the code to ProtocolImporter.
* ServiceDescriptionReflector.cs: moved most of the code to
ProtocolReflector and SoapProtocolReflector.
* SoapProtocolImporter.cs: Implemented.
* SoapProtocolReflector.cs: Implemented.
* SoapTransportImporter.cs: Implemented.
* SoapHttpTransportImporter.cs: Implemented.
* wsdl.genxs: Added.
svn path=/trunk/mcs/; revision=18345
* Makefile: added SqlSharp to the build.
* SqlSharp/SqlSharpCli.cs: changes by Daniel Morgan to make this build
with MS runtime 1.0 and 1.1 .
svn path=/trunk/mcs/; revision=18342
pinvoke info. This isn't entirely correct because native unmanaged
methods can have pinvoke info and not have 0 RVAs PEAPI can't
handle native unmanged code though. Expose the ModuleClass so
'global' items can be referenced like this '<Module>'::foo.
svn path=/trunk/mcs/; revision=18336
* gen-11.cs, gen-12.cs: New generics tests.
* gen-13-dll.cs, gen-13.exe.cs: New generics test; this test
consists of two files and tests whether this works if it's in two
files and not just in one.
svn path=/trunk/mcs/; revision=18333
* mini.c (mono_precompile_assemblies): New function to compile
all methods in all loaded assemblies.
* mini.h driver.c: Added new optimization flag MONO_OPT_PRECOMP.
svn path=/trunk/mono/; revision=18332
* regalloc.h regalloc.c (MonoRegState): Change the type of
iassign and fassign to int*, since they can contain large negative
values if the register is spilled. Also added some comments. Fixes
#45817.
svn path=/trunk/mono/; revision=18331
* DefaultContext.cs (translate): translate ("abc", "c", "") = "ab"
not "abc".
* Iterator.cs, Expression.cs: All axes are
SimpleIterators. SimpleIterators are gaurenteed to give the same
XPathNavigator in Current. Make AxisIterator take a
SimpleIterator, not any old BaseIterator. Will allow us to make
NameTable optimizations and avoid quite a few strcmp's.
svn path=/trunk/mcs/; revision=18326
* CheckBox.cs: render the 'disabled' attribute in the correct tag.
* WebControl.cs: fixed Enabled property and save it in ViewState.
Fixes bug #48802.
svn path=/trunk/mcs/; revision=18323
* mini.h (MONO_PATCH_INFO_WRAPPER): New patch type.
* aot.c: Added support for AOT compiling methods which contain calls
to wrappers. Currently, only remoting-invoke-with-check wrappers are
handled.
svn path=/trunk/mono/; revision=18322
* marshal.c (mono_marshal_method_from_wrapper): New function to return
the original method from the wrapper method.
svn path=/trunk/mono/; revision=18321
* corlib_test.dll.sources: Remove tests that generate compile
errors. The tests are still there but its name is rmoved here.
svn path=/trunk/mcs/; revision=18313
* mini-x86.c (mono_arch_patch_code): Allways create a trampoline for
jumps, since the method we are jumping to might be domain-specific.
* aot.c: Added support for MONO_PATCH_INFO_METHOD_JUMP.
svn path=/trunk/mono/; revision=18311
* XmlDocumentNavigator.cs : Fix for bugzilla #48931. MoveToRoot() now
considers such case that target node was not adapted to the document.
* XmlNamespaceManager.cs : GetEnumerator() missed the last pair.
* XmlTextWriter.cs : use 'as' instead of 'try..catch'.
svn path=/trunk/mcs/; revision=18308
* interp.c - reinstate use of mono_marshal_get_delegate_invoke
for ordering and fix CALLI to handle wrapper. More wrapper handling
in CALL and LDSTR. Add another string conversion case.
svn path=/trunk/mono/; revision=18306
* BaseVsaEngine.cs: Implemented the properties of "the kind of
state machine" that BaseVsaEngine is. There are some tiny details
- properly marked to be fixed - missing ;-). They were: Assembly,
Evidence, GenerateDebug, IsCompiled, IsDirty, IsRunning, Language,
LCID, Name, RootMoniker, RootNamespace, Site.
svn path=/trunk/mcs/; revision=18305
* XmlNode.cs (XPathNodeType): Give more useful debugging message.
* XmlDocumentNavigator.cs (MoveToPrevious): Needs same checks as
in MoveToNext.
svn path=/trunk/mcs/; revision=18302
* icall.c (ves_icall_Type_IsGenericTypeDefinition): Removed this
interncall since it was identical to `Type.GetGenericTypeDefinition()'.
(ves_icall_Type_get_IsGenericInstance): New interncall.
svn path=/trunk/mono/; revision=18301
* Type.cs (Type.IsGenericTypeDefinition): Removed this method
since it was identical to GetGenericTypeDefinition().
(Type.IsGenericInstance): New property.
svn path=/trunk/mcs/; revision=18300
* DbDataAdapter.cs (Fill): Patch from Eran Domb, <[email protected]>.
Fixes a possible NullReferenceException, more details here:
* DataColumn.cs (Unique): Implemented.
* DataTable.cs:
* ConstraintCollection.cs:
* ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
an Exception thrown. Details:
http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
* DataRowCollection.cs (Add): There is no checking that there is
no violation of the unique constrains.
* UniqueConstraint.cs (AssertConstraint): There is no checking on
all columns in the constraint.
svn path=/trunk/mcs/; revision=18298
* mono/tests/pinvoke*.cs, delegate4.cs, marshal10.cs, marshal4.cs
marshal5.cs: remove .so from DllImport of libtest to aid portability.
svn path=/trunk/mono/; revision=18286
* Microsoft.JScript/: Deleted VsaEngine.cs and BaseVsaEngine.cs
* Microsoft.JScript.dll.sources: Changed the namespaces for VsaEngine and BaseVsaEngine.
svn path=/trunk/mcs/; revision=18280
* Microsoft.Vsa: Added VsaException.
* Microsoft.Vsa.dll.sources: Added VsaException to the build.
* Microsoft.Vsa/VsaError.cs: set the values for the enums.
svn path=/trunk/mcs/; revision=18278
* XmlNamespaceManager.cs: Rewrote PopScope() because its namespace
recovery was still not enough. Fixed GrowScopes() (incorrect index).
svn path=/trunk/mcs/; revision=18271
* interp.c: use mono_marshal_get_delegate_invoke to get delegate
invocation order consistent. Fix THROW_EX, fix ip in overflow
exceptions.
svn path=/trunk/mono/; revision=18269
* DbDataRecord.cs: The method
System.Data.Common.DbDataRecord.GetValues(object[] values) did not
put the values of the DbDataRecord into values parameter.
svn path=/trunk/mcs/; revision=18264
* DocumentContext.cs: changed constructor from internal to public,
this a kind of hack ;), but we can build mjs.exe with that change.
* driver.cs, ast.cs, VsaEngine.cs, VariableStatement.cs,
VariableDeclaration.cs, VBArrayConstructor.cs, StringObject.cs,
StringLiteral.cs, StringConstructor.cs, Statement.cs,
ScriptStream.cs, ScriptObject.cs, ScriptFunction.cs,
ScriptBlock.cs, RegExpObject.cs, RegExpConstructor.cs, Print.cs,
Package.cs, ObjectConstructor.cs, NumberObject.cs,
NumberConstructor.cs, MathObject.cs, Literal.cs,
LenientGlobalObject.cs, JSVariableField.cs, JSToken.cs,
JSScanner.cs, JSParser.cs, JSObject.cs, JSLocalField.cs,
JSFunctionAttributeEnum.cs, JSFunctionAttibute.cs, JSField.cs,
JSBuiltIn.cs, IVsaScriptScope.cs, IRedirectOutput.cs,
IActivationObject.cs, GlobalScope.cs, GlobalObject.cs,
FunctionObject.cs, FunctionExpression.cs, FunctionDeclaration.cs,
FunctionConstructor.cs, FormalParameterList.cs, ErrorObject.cs,
ErrorConstructor.cs, EnumeratorObject.cs,
EnumeratorConstructor.cs, Enum.cs, Empty.cs, DocumentContext.cs,
DateObject.cs, DateConstructor.cs, Context.cs, Closure.cs,
BooleanObject.cs, BooleanConstructor.cs, Block.cs, BinaryOp.cs,
BaseVsaEngine.cs, ArrayObject.cs, ArrayConstructor.cs,
ActiveXObjectConstructor.cs, ActivationObject.cs:
indentation comformance to mono style. Returned to
Microsoft.JScript namespace name. Now we can build
Microsoft.JScript.dll on Linux/Windows, and build mjs.exe on
linux/Windows with our Microsoft.JScript.dll. To build mjs.exe:
$(CSC) /r:Microsoft.JScript.dll driver.cs. Also changed my mind
about the namespace stuff, because I want people
to contribute NUnit tests for Microsoft.JScript public API.
* jscript-lexer-parser.g: Now we are back to Microsoft.JScript namespace.
2003-09-21 <[email protected]>
svn path=/trunk/mcs/; revision=18262
report object for giving users errors/warnings/info.
* FieldDef.cs: When a data constant is assigned to a field the
constant might not exist yet. So just take the constants name and
look it up when writting code.
* Local.cs: Starting to add some error handling. Still playing
with diff ways to do this.
* MethodDef.cs: Add some error handling for local var lookups
* TypeDef.cs: Data is allways global so it should never be added
to a class
* TypeRef.cs: Error message for lookups.
svn path=/trunk/mcs/; revision=18259
* AspGenerator.cs: don't process code render tags inside scripts. Check
the language of the script and treat javascript as verbatim input.
Fixes bug #48592.
svn path=/trunk/mcs/; revision=18254
* XmlReaderCommonTests.cs : Added ProhibitedMultipleAttributes().
Fixed ReadAttributeValue(). Now I think it is MS.NET XmlTextReader
which is rather buggy than their XmlNodeReader.
* XmlTextReaderTests.cs : Added IfNamespacesThenProhibitedAttributes()
and trivial messagefix.
svn path=/trunk/mcs/; revision=18241
* XmlTextReader.cs :
- Fix for bugzilla #48337 (containing Ben's advice on that).
- Added internal XmlTokenInfo classes. Nodes are now handled as token
objects (linked node, attributes and attribute values). Most of the
node state properties and iterating methods are changed to refer to
the token classes (except for value builder availability). Removed
fields which are never used. CompileDTDSubset() is changed in
reflection to nodeType field removal.
- Fixed Depth that should vary in moving between attributes and/or
reading attribute values.
- LineNumber and LinePosition now returns more correct location.
- Fixed Value that should still return true if its value is an empty
attribute value string.
- EntityValue is checked WFC constraints even thoug it is not used.
- All .ctor() now initializes ReadState as Initial.
- Read() should be available for attribute value constructor.
* XmlAttribute.cs : set_InnerXml() now calls reader's Read().
svn path=/trunk/mcs/; revision=18240
* XmlNamespaceManager.cs: PopScope() must retain those namespaces which
are added in the scope before PushScope() was called.
svn path=/trunk/mcs/; revision=18239
* System.Web/HttpRequest.cs: small fix needed when reading big POST
data.
* System.Web.Compilation/CachingCompiler.cs: nothing interesting.
* System.Web.UI/SimpleWebHandlerParser.cs: add the ashx/asmx file
itself to the dependencies so that it's recompiled when changed.
svn path=/trunk/mcs/; revision=18237
* jscript-lexer-parser.g: Build ast for FunctionExpression.
* JSObject.cs: we don't throw NotImplementedException anymore,
this let us use FunctionExpression to build the ast.
* FunctionExpression.cs: Added a FunctionObject as field, a
default constructor.
* FunctionObject.cs: Added default constructor.
svn path=/trunk/mcs/; revision=18229
* XmlNamespaceManager.cs: Rewrote. Uses arrays, rather than linked
lists and removes uses of Hashtable. Results in huge speed gains.
svn path=/trunk/mcs/; revision=18225
* Attribute.cs: Change to struct. Remove QName class.
* GenericOutputter.cs: use an Attribute [] rather than an
ArrayList. Allows us not to allocate Attributes, which is great
for speed. Roll our own allocation.
svn path=/trunk/mcs/; revision=18220
* driver.cs: Deleted the Jsc class. We are not generating code
now. I'm moving to provide something like mcs's EmitContext
instead of the CodeGenerator class having the Reflection.Emit
builders and ILGenerator. This driver is just for Lexical and
Parsing phases testing.
svn path=/trunk/mcs/; revision=18219
* Compiler.cs: add GetNsm to main class as well.
* XslAttribute.cs, XslElement.cs: Allow dynamically parsed names.
svn path=/trunk/mcs/; revision=18217
* Compiler.cs (ParseAvtAttribute): Get the attribue using our
internal version so we get null if the attr doesnt exist.
svn path=/trunk/mcs/; revision=18214
* ASTList.cs, ArrayLiteral.cs, BitwiseBinary.cs, Block.cs,
DebugBreak.cs, Enum.cs, Equality.cs, Eval.cs, ForIn.cs,
FunctionExpression.cs, Import.cs, In.cs, InstanceOf.cs,
Literal.cs, NumericBinary.cs, NumericUnary.cs, Package.cs,
Plus.cs, PostOrPrefixOperator.cs, Print.cs, Relational.cs,
Statement.cs, StrictEquality.cs, StringLiteral.cs, Throw.cs,
Try.cs, TypeOf.cs, VariableDeclaration.cs, With.cs, ast.cs,
: erased Visit method and made some mono indentation style changes.
* CodeGenerator.cs: commented some function calls.
* FunctionDeclaration.cs: moved function attributes to
FunctionObject class, erased Visit method.
* FunctionObject.cs: Here is where we store a function
expression/declaration info, erased Visit method.
* ScriptBlock.cs: Added a Block field, Block will contain the
source elements.
* jscript-lexer-parser.g: updated the grammar to build the program
representation based on ScriptBlock.
svn path=/trunk/mcs/; revision=18202
* Expression.cs: in NodeTypeTest dont throw an exception if it is
an unknown node type (allows for better Pattern debugging)
svn path=/trunk/mcs/; revision=18197
* assembly.c: don't call check_env from mono_assembly_load. It's
already done once in mono_assemblies_init and may cause headaches when
multiple threads are loading assemblies.
svn path=/trunk/mono/; revision=18182
* reflection.c (mono_reflection_define_generic_parameter): Don't
allocate `klass->methods', set `klass->flags' to
TYPE_ATTRIBUTE_INTERFACE, not TYPE_ATTRIBUTE_ABSTRACT.
svn path=/trunk/mono/; revision=18180
* decl.cs (MemberCache.SetupCacheForInterface): Take a
`MemberCache parent' argument. Normally, an interface doesn't
have a parent type except System.Object, but we use this in gmcs
for generic type parameters.
svn path=/trunk/mcs/; revision=18179
* decl.cs (MemberCache.SetupCacheForInterface): Take a
`MemberCache parent' argument. Normally, an interface doesn't
have a parent type except System.Object, but we use this in gmcs
for generic type parameters.
svn path=/trunk/mcs/; revision=18178
* typemanager.cs (TypeHandle.ctor): Set `IsInterface' solely based
on `type.IsInterface'; don't check whether the type has a parent
to determine whether it's an interface.
svn path=/trunk/mcs/; revision=18177
* typemanager.cs (TypeHandle.ctor): Set `IsInterface' solely based
on `type.IsInterface'; don't check whether the type has a parent
to determine whether it's an interface.
svn path=/trunk/mcs/; revision=18176
* class.c (mono_class_init): Don't create `class->methods' if it's
already initialized.
* metadata.c (mono_metadata_load_generic_params): Make this
actually work.
* reflection.c (mono_reflection_define_generic_parameter): Set
parent class and interfaces from the constraints.
* reflection.h (MonoReflectionGenericParam): Added `guint32 flags'
to keep this struct in sync with the declaration in TypeBuilder.cs.
svn path=/trunk/mono/; revision=18169
* ConditionalAttribute.cs: AllowMultiple should be true according
to bug #48598.
----------------------------------------------------------------------
svn path=/trunk/mcs/; revision=18168
* TypeBuilder.cs (TypeBuilder.CreateType): Don't append the type
parameters to the type name; ie. use `Stack' instead of `Stack<T>'.
svn path=/trunk/mcs/; revision=18146
* metadata.h (MonoType): Replaced the data's `int type_param'
field with `MonoGenericParam *generic_param'.
(MonoGenericParam): Added `MonoClass *klass'.
* class.c (mono_class_from_gen_param): Removed the
`MonoImage *image' and `int type_num' arguments.
* metadata.c (mono_metadata_parse_generic_param): New static
method; creates a MonoGenericParam which just contains the index.
(do_mono_metadata_parse_type): Call
mono_metadata_parse_generic_param() for MONO_TYPE_VAR and
MONO_TYPE_MVAR.
* reflection.c (mono_image_typedef_or_ref): Generic type
parameters may be in the same assembly, but never use a typedef
for them.
(mono_reflection_define_generic_parameter): We're now creating a
"real" class for the type parameter; it's now safe to call
mono_class_from_mono_type() on the class'es type, it'll do the
right thing.
svn path=/trunk/mono/; revision=18144
* AllTests.cs: New. Common methods to get DSA/RSA keypairs.
* AsymmetricDecryptionKeyTest.cs: New. Unit tests for AsymmetricDecryptionKey.
* AsymmetricEncryptionKeyTest.cs: New. Unit tests for AsymmetricEncryptionKey.
* AuthenticationKeyTest.cs: New. Unit tests for AuthenticationKey.
* BinarySecurityTokenTest.cs: New. Unit tests for BinarySecurityToken.
* SignatureKeyTest.cs: New. Unit tests for SignatureKey.
* SymmetricDecryptionKeyTest.cs: New. Unit tests for SymmetricDecryptionKey.
* SymmetricEncryptionKeyTest.cs: New. Unit tests for SymmetricEncryptionKey.
* UsernameTokenTest.cs: New. Unit tests for UsernameToken.
* WSSecurityTest.cs: New. Unit tests for WSSecurity.
* XmlEncryptionTest.cs: New. Unit tests for XmlEncryption.
* XmlSignatureTest.cs: New. Unit tests for XmlSignat
svn path=/trunk/mcs/; revision=18143
* Makefile: corrected testing in Windows/Cygwin (from mbas.exe to ./mbas.exe), because it was getting the installed compiler instead of the compiled one
* mb-tokenizer.cs: Redoing: Preprocessor directives must be case-insensitive (many .ToLower() used)
* driver.cs: No more 'linkpaths' option, use 'libpath' instead
svn path=/trunk/mcs/; revision=18134
* mono-debug-debugger.c (allocate_symbol_file_entry): Initialize
`symfile->range_entry_size' and `symfile->class_entry_size' here;
the `symfile' data structure must be fully initialized before it
gets added to the table.
svn path=/trunk/mono/; revision=18130
* GenericOutputter.cs: Output attributes in order recieved; not
required by spec, but useful for running test cases.
svn path=/trunk/mcs/; revision=18119
* cs-parser.jay: Fix grammar wrt. type_parameter_constraints.
* generic.cs (Constraints.Resolve): New public method; this is
called to resolve the constraint types and to check whether all
the constraints are correct.
(Constraints.Types): New public property.
(TypeParameter.Resolve): New public method; resolves all the
type's constraints.
* class.cs (TypeContainer.DefineType): Call
TypeParameter.Resolve() before actually defining the type.
svn path=/trunk/mcs/; revision=18111
* class.cs (TypeContainer.DefineType): Added an error flag to
avoid reporting duplicate CS0146's ("class definition is
circular.").
* driver.cs (Driver.MainDriver): Abort if
RootContext.ResolveTree() reported any errors.
svn path=/trunk/mcs/; revision=18108
* tramp-x86.c (x86_class_init_trampoline): New trampoline function
which calls mono_runtime_class_init and patches the call site to
avoid further calls.
(mono_arch_create_class_init_trampoline): New arch specific function
to create a class init trampoline.
(create_trampoline_code): Generalized so it can create
class init trampolines as well.
* mini.c (helper_sig_class_init_trampoline): New helper variable.
(mono_create_class_init_trampoline): New function to create and cache
class init trampolines.
(mono_find_class_init_trampoline_by_addr): New function to lookup the
vtable given the address of a class init trampoline. Used by the
patching process.
(mono_codegen): Generate a call to a trampoline instead of
mono_runtime_class_init in LDSFLD[A].
(mono_codegen): Add relocations for the new trampoline.
* mini.h mini-x86.c aot.c: Added a new relocation type:
MONO_PATCH_INFO_CLASS_INIT.
* mini.h: Bump AOT version number.
* aot.c: Create a copy of the loaded code instead of using the original
so methods which call each other will be close in memory, improving
cache behaviour.
svn path=/trunk/mono/; revision=18102
* exceptions-x86.c (mono_arch_has_unwind_info): Back out the previous
patch since it breaks the regression tests.
svn path=/trunk/mono/; revision=18101
* exceptions-x86.c (mono_arch_has_unwind_info): Added explicit check
for the register saving instruction sequence since the
frame_state_for function in glibc 2.3.2 don't seem to detect it.
svn path=/trunk/mono/; revision=18100
* AllTests.cs: New. Common methods to compare DateTimes and longs.
* ReceivedCollectionTest.cs: New. Unit tests for ReceivedCollection.
* ReceivedTest.cs: New. Unit test for Received.
* TimestampFormatExceptionTest.cs: Unit test for TimestampFormatException.
* TimestampInputFilterTest.cs: Unit test for TimestampInputFilter.
* TimestampOutputFilterTest.cs: Unit test for TimestampOutputFilter.
* TimestampTest.cs: Unit test for Timestamp.
* WSTimestampTest.cs: Unit test for WSTimestamp.
svn path=/trunk/mcs/; revision=18095
OperationCollectionTest.cs OperationMessageCollectionTest.cs
OperationMessageTest.cs PortTypeCollectionTest.cs PortTypeTest.cs
ServiceCollectionTest.cs ServiceDescriptionCollectionTest.cs
SoapBodyBindingTest.cs SoapOperationBindingTest.cs TypesTest.cs
New test files by Erik LeBel.
svn path=/trunk/mcs/; revision=18080
OperationMessageCollection.cs PortCollection.cs PortType.cs
PortTypeCollection.cs ServiceCollection.cs ServiceDescriptionCollection.cs
SoapBodyBinding.cs SoapOperationBinding.cs: Several fixes by Erik LeBel
* ServiceDescriptionImporter.cs:
* ServiceDescriptionSerializerBase.cs: regenerated after the changes in
the service description changes.
* ServiceDescriptionReflector.cs: Fixed generation of message parts in
bare format.
svn path=/trunk/mcs/; revision=18079
* TabPage.cs (constructor): added a constructor for constructing tab
pages with a title. Patch from Jonathan Hogg
<[email protected]>.
* EnumConverter.cs (ConvertFrom): Removed the special handling for
multiple values. This is done in Enum.Parse already.
* TypeDescriptor.cs (GetConverter): Does not work for enumeration
types because EnumConverter does not have a default
constructor. Fixed by changing the special handling for
enumeration types.
svn path=/trunk/mcs/; revision=18074
* FloatingPointFormatter.cs: Make the method calls more functional
for protecting the values from different threads (make it more
thread safe).
svn path=/trunk/mcs/; revision=18068
* FloatingPointFormatter.cs: Fix a bug with the negative value of
count parameter.
2003-09-12 Pedro Mart�nez Juli� <[email protected]>
* FloatingPointFormatter.cs: Applied a lot of improvements in string
construction, make use of Append/Insert with the "count" parameter.
Thanks to Ben Maurer.
svn path=/trunk/mcs/; revision=18065
* XmlTextWriterOpenElement.cs : Changed to receive prefix and localName
in .ctor().
* XmlTextWriter.cs : Changed to use above XmlTextWriterOpenElement.
Changed xmlns adding scheme. In detail, 1) WriteStartElement does not
add Namespaces immediately, but adds at AddMissingElementXmlns so
that we don't have to have extra check than namespaceManager's
LookupPrefix(). 2) Removed writtenAttributes for performance reason
since it is no more required.
svn path=/trunk/mcs/; revision=18063
* aot.c: Moved the check for MONO_LASTAOT into the initialization
function of the module.
* mini.h mini.c aot.c: Added a new optimization flag OPT_AOT for
turning on/off the usage of AOT code. Got rid of mono_no_aot and the
--no-aot command line option.
svn path=/trunk/mono/; revision=18052
* FloatingPointFormatter.cs: Applied a lot of improvements in string
construction, make use of Append/Insert with the "count" parameter.
Thanks to Ben Maurer.
svn path=/trunk/mcs/; revision=18049
* CallContext.cs: SetCurrentCallContext now returns the old context, so it
can be later restored with new new method RestoreCallContext().
* ReturnMessage.cs: Some fixes in the way the class deals with output parameters,
to match MS.NET behavior.
svn path=/trunk/mcs/; revision=18040
* inssel.brg: Refactor the interface offset table related code into
its separate functions and add support for the AOT case.
svn path=/trunk/mono/; revision=18034
* profiler.c (mono_profiler_load): Added '-time' and '-alloc' options
to the built-in profiler to turn off time and allocation profiling
respectively.
svn path=/trunk/mono/; revision=18033
* XmlReflectionImporter.cs: Changed nullable default for array items to true.
* XmlSchemaExporter.cs: Some fixes in the generation of encoded format schema.
* XmlSchemaImporter.cs: more support for encoded format.
svn path=/trunk/mcs/; revision=18032
* FloatingPointFormatter.cs: Fix a bug with Custm Format.
* FloatingPointFormatter.cs: Fix a little bug I've introduced the
last change.
svn path=/trunk/mcs/; revision=18023
* aot.c: Added mono_aot_verbose variable and made all debugging
output depend on the value of this variable.
* aot.c (mono_aot_get_method_inner): Avoid dynamic allocation of
method_label and info_label.
* mini.h mini-x86.c aot.c: Added a new relocation type
MONO_PATCH_INFO_IID for klass->interface_id.
* mini.h mini.c driver.c aot.c: Changed mono_aot_get_method to return
the MonoJitInfo structure.
* mini.c (mono_jit_compile_method): Avoid using non-shared AOT in
a non-root appdomain in shared mode.
svn path=/trunk/mono/; revision=18021
* profiler.c (mono_profiler_coverage_alloc): Use NULL instead of
g_direct_equal.
* debug-helpers.c (mono_method_full_name): Print the wrapper type
in human readable form.
svn path=/trunk/mono/; revision=18020
* DoubleFormatter.cs: A few optimizations. Now, only one object
is created to convert all double numbers.
* SingleFormatter.cs: A few optimizations. Now, only one object
is created to convert all float numbers.
* FloatingPointFormatter.cs: Split the "number type parameters" from
the "numver value and format parameters". The first ones are in the
constructor and the others are in a method.
svn path=/trunk/mcs/; revision=18019
parent type if no parent type is specified (this is what PEAPI
does) however if we are assembling corlib the System.Object type
will not have System.Object as its parent type.
svn path=/trunk/mcs/; revision=18009
* Factories.cs (DefaultImplementationNamespace): Change it from
"XrImpl" to "Cairo".
2003-09-08 Duncan Mak <[email protected]>
* gdk-helpers.cs: Remember to call gdk_init before hand.
(gdk_pixbuf_finalize): Removed, as it is no longer available
in the current API.
(Helpers): New class to contain other misc. helper functions.
(Init): Import gdk_init.
(Unref): Import g_object_unref. This should be used in place of
gdk_pixbuf_finalize.
* cairo-api.cs: Updated to reflect recent API changes.
(cairo_copy): New API.
(cairo_surface_put_image): Removed to keep updated with current
API.
(cairo_current_foo): Renamed from the old cairo_get_foo methods.
svn path=/trunk/mcs/; revision=18007
* XmlNamespaceManager.cs : GetEnumerator() should return all of the
available pairs (of prefix and namespace).
* XmlQualifiedName.cs : Quick fix for NullReferenceException in case
of name (or ns) is null. (The description of the immediate previous
changes will be inserted below.)
* XmlTextWriter.cs : Fixed WriteDocType(). Removed CheckValidName().
* XmlUrlResolver.cs : Changed not to call WebClient.Dispose() which
will release resources it had allocated.
svn path=/trunk/mcs/; revision=17996
* mini.c (mono_print_tree_nl): New function callable while debugging.
* mini.c (mono_print_code): Export this.
* mini.h (MonoCompile): Added 'jit_info' field.
* mini.c (mini_method_compile): Save the generated MonoJitInfo into
the cfg structure, since it is needed by the AOT compiler.
* mini.h (MONO_AOT_FILE_VERSION): Bump version number.
* aot.c: A major rewrite. Changes include:
- save exception tables for methods which have them.
- cache failed lookups in aot_get_method () to avoid the (slow) calls
to g_module_symbol.
- reworked the file format so it is now much smaller and needs
fewer relocation entries.
svn path=/trunk/mono/; revision=17993
* image.c (load_class_names): Use a temporary hash table to hold the
namespaces in order to avoid doing many string comparisons.
* image.h: Fix typo.
* image.c class.c rawbuffer.c reflection.c threads.c verify.c domain.c:
Pass NULL instead of g_direct_equal to the GHashTable constructor
since the NULL case is short-circuited inside g_hash_table_lookup,
leading to better performance.
svn path=/trunk/mono/; revision=17992
* metadata.c (mono_metadata_custom_attrs_from_index): New function to
obtain the first custom attribute for a given index. Depends on the
CustomAttribute table being sorted by the parent field.
* reflection.c (mono_custom_attrs_from_index): Use the new function
for better performance.
svn path=/trunk/mono/; revision=17991
* Context.cs: Added constructor and Document field.
* DocumentContext.cs: Added Name field.
* JSParser.cs: Integration of antlr's generated parser with
JSParser public API. ScriptBlock is now the principal data structure that
represents a Jscript .Net program.
* JSScanner.cs: Integration of antlr's generated lexer with
JSScanner public API.
svn path=/trunk/mcs/; revision=17988
* Referral.cs: Oops - didn't compile when WSE1 was defined
* ReferralCollection.cs: Oops - didn't compile when WSE1 was defined
svn path=/trunk/mcs/; revision=17984
* report.cs (Error, Warning): Added overloaded versions which take
a `params object[] args' and call String.Format().
svn path=/trunk/mcs/; revision=17977
* decl.cs (DeclSpace..ctor): Don't call
NamespaceEntry.DefineName() here; do it in RecordDecl() which is
called from Tree.RecordDecl(). Fixes the CS0101 reporting.
(DeclSpace.RecordDecl): New method.
* tree.cs (Tree.RecordDecl): Call ds.RecordDecl().
svn path=/trunk/mcs/; revision=17976
* class.c (mono_class_init): If we're a generic instance, inflate
all our methods instead of loading them from the image.
(mono_class_from_generic): Set `class->methods = gklass->methods'.
svn path=/trunk/mono/; revision=17970
* Microsoft.Web.Services.dll.sources: Added stubbed input/output soap
filters for Routing and Referral so Configuration can be compiled.
svn path=/trunk/mcs/; revision=17962
* DefaultContext.cs, Expresssion.cs, Parser.jay: Rewrite so that
system functions are actually expressions. Will allow for some
nice optimizations.
svn path=/trunk/mcs/; revision=17947
* EncryptedKey.cs: Fixed typo.
* Security.cs: Fixed compilation issues.
* SignedXml.cs: Fixed compilation issues.
* SignedXmlSignature.cs: Copied from System.Security assembly (where
it is known as Signature.cs) as MS duplicate the class (in WSE) to
fixed some issues.
* XmlSignature.cs: Added more missing string used in System.Security.
svn path=/trunk/mcs/; revision=17940
* Makefile: Added reference to System.Security assembly and a define
for WSE1 (required for classes shared between SS and WSE).
* Microsoft.Web.Services.dll.sources: Added (shared) files from
System.Security assembly.
svn path=/trunk/mcs/; revision=17897
* Reference.cs: Copied from System.Security assembly as MS duplicate
the class (in WSE) to fixed some issues.
* SignedInfo.cs: Copied from System.Security assembly as MS duplicate
the class (in WSE) to fixed some issues.
* SignedXml.cs: Copied from System.Security assembly as MS duplicate
the class (in WSE) to fixed some issues.
* TransformChain.cs: Copied from System.Security assembly as MS duplicate
the class (in WSE) to fixed some issues.
svn path=/trunk/mcs/; revision=17894
* BitVector32.cs (CreateSection): Check that the new
calculated offset isn't more than 32 and not that the sum of the
new offset and the number of set bits is more than 32.
(this): Perform bitwise and with the complement of the mask
shifted version (~(section.Mask << section.Offset)) and not with
the shifted version of the mask's complement (~section.Mask <<
section.Offset).
(this): Currently doesn't return the correct value when the data
in the BitVector32 instance is negative.
* ListDictionary.cs (CopyTo): If the array is null, it should
throw ArgumentNullException. If the index is less than 0, it
should throw ArgumentOutOfRangeException.
(Remove): Throw ArgumentNullException when the parameter is null.
* BitVector32Test.cs (TestNegativeIndexer, TestSectionIndexer,
TestCreateSection): new tests from Alon Gazit <[email protected]>.
* ListDictionaryTest.cs (CopyTo1, CopyTo2, Remove): New file, with
tests from Alon Gazit <[email protected]>.
svn path=/trunk/mcs/; revision=17885
* decl.cs (DeclSpace.LookupGeneric): New method.
(DeclSpace.CheckAccessLevel): Ignore generic parameters for the
moment.
* generic.cs (TypeParameterExpr): Take a TypeParameter as
argument, not just a string.
(TypeParameter.Define): New public method; this is called to
actually define the generic parameter; after this, you can use the
new `Type' property to get the type.
svn path=/trunk/mcs/; revision=17881
* decl.cs (DeclSpace.SetParameterInfo): The `constraints' argument
is now an ArrayList; initialize the result of the `TypeParameters'
property here.
(DeclSpace.GetGenericData): Removed.
(DeclSpace.LookupGeneric): Temporarily removed; we need to
implement this in a different way.
(DeclSpace.GetTypeParameters): Removed; there's now a
`TypeParameters' property.
(DeclSpace.TypeParameters): New public property.
* ecore.cs (SimpleName.ResolveAsTypeStep): Removed the generic
lookup for the moment.
* generic.cs (Constraints): Make this class public.
(TypeParameter): New public class.
svn path=/trunk/mcs/; revision=17874
* decl.cs (DeclSpace.GetTypeParameters): New method to return the
generic parameters.
* class.cs (TypeContainer.DefineType): Call
TypeBuilder.DefineGenericParameter () on all generic parameters if
this is a generic type.
svn path=/trunk/mcs/; revision=17873
* metadata.c (mono_type_size): Added MONO_TYPE_VAR and MONO_TYPE_MVAR.
* reflection.h (MonoReflectionGenericParam): New typedef.
(MonoReflectionTypeBuilder): Added `num_generic_params' and
`generic_params' fields to get the generic parameters from the
managed TypeBuilder.
* reflection.c (mono_reflection_define_generic_parameter): New function.
(mono_reflection_create_runtime_class): Encode generic parameters.
(mono_reflection_setup_generic_class): New function; this is
called after adding adding all generic params to the TypeBuilder.
(encode_type): Added MONO_TYPE_VAR.
svn path=/trunk/mono/; revision=17871
* TypeBuilder.cs (TypeBuilder.DefineGenericParameter): New public
method. We can now create generic types.
(TypeBuilder.GetGenericTypeDefinition): Override this; call the
`setup_internal_class' interncall before calling our base impl.
svn path=/trunk/mcs/; revision=17870
* aot.c: Move AOT module loading logic here from mono_assembly_open.
* aot.c: Save the optimization flags used to compile the code into
the AOT module.
* mini.h mini-x86.c mini.c aot.c: Added new types of relocations to
support emitting domain specific code.
* mini.h mini.c aot.c: Modified the JIT so the generated AOT code is
no longer domain neutral. It can be made domain neutral by compiling
with --optimize=shared.
* aot.c (mono_aot_get_method_inner): Allow sharing of AOT methods
between appdomains.
* driver.c mini.h mini.c: New --no-aot debugging option which disables
loading of AOT code.
* inssel-x86.brg: Added missing AOTCONST -> OUTARG_VT rule.
svn path=/trunk/mono/; revision=17867
* tramp-x86.c (x86_magic_trampoline): Avoid patching the calling method
if there is no domain neutrality information.
svn path=/trunk/mono/; revision=17866
* class.h class.c (mono_class_needs_cctor_run): Moved this method
here from the JIT.
* assembly.h assembly.c: Moved the AOT loading code into an assembly
load hook.
svn path=/trunk/mono/; revision=17865
* ServiceDescriptionImporter.cs: initial implementation.
* ServiceDescriptionReflector.cs: Added support for bare parameter style.
Added support for encoded format.
svn path=/trunk/mcs/; revision=17855
* reflection.h reflection.c class.h class.c: Delete duplicate
definition of mono_type_get_name () from reflection.c and export the
one in class.c.
* class.c: Class loading fixes from Bernie Solomon
([email protected]).
svn path=/trunk/mono/; revision=17841
* class.cs (MethodCore.LabelParameters): Make static and more
generic so that it can be used from other places - like interface
methods, for instance.
* interface.cs (Interface.Emit): Call LabelParameters before
emitting attributes on the InterfaceMethod.
svn path=/trunk/mcs/; revision=17833
* attribute.cs (CheckAttributeTarget): Ensure that we allow return
value attributes to be applied to ParameterBuilders.
svn path=/trunk/mcs/; revision=17831
* AssemblyInfo.cs: Updated version to 0.26.99 (all tools).
* cert2spc.cs: Updated to use Mono.Security.X509.
* chktrust.cs: Tool to validate Authenticode(tm) signatures on PE
files (including assemblies).
* signcode.cs: Tool to sign and timestamp PE files using
Authenticode(tm) compatible certificates.
* README: Updated to include a small tutorial on how to use
Authenticode(tm) to sign/verify assemblies.
* Makefile: Updated to build chktrust.exe and signcode.exe
svn path=/trunk/mcs/; revision=17813
* ITrustAnchors.cs: New. Interface to trust anchors.
* TestAnchors.cs: New. Include 2 tests anchors: Microsoft Root Agency
(for Windows compatibility) and Mono Test Root.
* TrustAnchors.cs: New. Include some widely used (commercial) code
signing root certificates.
* X509CertificateCollection.cs: New. Collection for Mono's X509
certificates.
* X509Chain.cs: New. MINIMAL certificate chaining engine to support
Authenticode(tm). VERY PARTIAL IMPLEMENTATION!!!
svn path=/trunk/mcs/; revision=17811
* AuthenticodeBase.cs: New. Base class including how to hash a
PE file.
* AuthenticodeDeformatter.cs: New. Class to decode Authenticode(tm)
signatures.
* AuthenticodeFormatter.cs: New. Class to encode a Authenticode(tm)
signature, and optionally a timestamp, into a PE file.
* SoftwarePublisherCertificate.cs: Now use Mono.Security.X509.
X509Certificate class.
svn path=/trunk/mcs/; revision=17810
* Encoding.cs (UTF8Unmarked): make it also not error out on
invalid input, that is what the Microsoft default is for the
StreamReader and BinaryReader expect (our main consumers).
svn path=/trunk/mcs/; revision=17807
* aot.c (mono_compile_assembly): Emit a symbol containing the file
format version into the generated library.
* mini-x86.c (mono_arch_patch_code): Do not emit the address of the
callee method into the caller since one of them could be shared.
* mini.h mini-x86.c aot.c: Added two new relocations so throwing
system exceptions from AOT code now works.
* tramp-x86.c (x86_magic_trampoline): Avoid patching the calling
method if it is domain neutral and the callee is not.
* graph.c (cfg_emit_one_loop_level): Fix warning.
svn path=/trunk/mono/; revision=17800
* assembly.h assembly.c: Define a file format version for AOT
libraries.
* assembly.c (mono_assembly_open): Fix leaking of MonoImage-s.
* appdomain.h (MonoJitInfo): New field to determine whenever the
code is domain neutral.
svn path=/trunk/mono/; revision=17799
* aot.c (mono_compile_assembly): Emit a symbol containing the file
format version into the generated library.
* mini-x86.c (mono_arch_patch_code): Do not emit the address of the
callee method into the caller since one of them could be shared.
* mini.h mini-x86.c aot.c: Added two new relocations so throwing
system exceptions from AOT code now works.
* tramp-x86.c (x86_magic_trampoline): Avoid patching the calling
method if it is domain neutral and the callee is not.
* graph.c (cfg_emit_one_loop_level): Fix warning.
svn path=/trunk/mono/; revision=17798
* assembly.h assembly.c: Define a file format version for AOT
libraries.
* assembly.c (mono_assembly_open): Fix leaking of MonoImage-s.
* appdomain.h (MonoJitInfo): New field to determine whenever the
code is domain neutral.
svn path=/trunk/mono/; revision=17796
- New questions & answers
- revised answers for compatibility questions
- moved some questions to more sensible categories (e.g. VB questions moved
to "Compatibility" section, away from "Mono & Microsoft").
- Spelling Fixes
Alas, all my editors (gedit & gvim) "fixed" the spelling of some names,
probably because those editors assume UTF-8 encoding... This was seen for
Carlos Perell�� and Lluis S��nchez.
svn path=/trunk/mono/; revision=17780
* win32functions.cs: Added GetUpdateRect function.
* Control.cs: Make sure to call OnPaint even if UserPaint style is not
enabled. Get the appropriate DC for WM_PAINT operations.
svn path=/trunk/mcs/; revision=17769
* interp.c: Use mono_field_from_token () in the appropriate places.
This simplifies the code and also fixes#48051.
svn path=/trunk/mono/; revision=17752
* icall.c (ves_icall_System_Web_Util_ICalls_get_machine_install_dir):
(ves_icall_System_Configuration_DefaultConfig_get_machine_config_path):
Avoid caching the result since strings must be domain specific. Fixes
#48050.
svn path=/trunk/mono/; revision=17743
* mini.c (mini_init): Call mono_marshal_init () explicitly since it
is needed by code which is executed before mono_runtime_init ().
Thanks to Bernie Solomon ([email protected]) for noticing this.
svn path=/trunk/mono/; revision=17727
* marshal.c (mono_marshal_init): Make this callable multiple times
since it is hard to find a correct place to call it.
svn path=/trunk/mono/; revision=17726
* object.c (mono_runtime_class_init): Execute static constructors in
the correct appdomain.
* image.c (build_guid_table): Handle the case when multiple images have
the same GUID.
svn path=/trunk/mono/; revision=17725
* HttpApplication.cs: ensure we do all the EndRequest steps. Don't
filter the output on error.
* HttpResponse.cs: modified DoFilter to allow bypassing filtering.
svn path=/trunk/mcs/; revision=17713
* inssel.brg (OP_UNBOXCAST): Add support for the AOT case.
* cpu-pentium.md: Fix the length of call opcodes so they include the
ESP restoring instruction. Fixes#47968.
svn path=/trunk/mono/; revision=17700
* icall.c (ves_icall_Type_BindGenericParameters): Use
`klass->generic_inst' instead of `&klass->byval_arg' in the
mono_type_get_object() call. The returned type must be
MONO_TYPE_GENERICINST and not MONO_TYPE_CLASS.
svn path=/trunk/mono/; revision=17698
* critical-sections.c: Patch from Bernie Solomon <[email protected]> to emit a warning if locking a critical section fails.
svn path=/trunk/mono/; revision=17697
* OperationMessage.cs: Added default value attribute for Name property.
* ServiceDescription.cs: Changed order of some properties, so they are
serialized in the right order.
Added GetNamespaceList(), which returns the namespaces to add when serializing
the document.
Implemented classes ServiceDescriptionSerializer and ServiceDescriptionWriter,
that extends the XmlSerializer by adding suport for XmlFormatExtensions.
* ServiceDescriptionReflector.cs: Basic implementation (no support for
extensions yet).
* SoapBinding.cs: Fixed namespace name.
* SoapBodyBinding.cs: Added null check in PartsString property.
* SoapOperationBinding.cs: Fixed namespace name.
svn path=/trunk/mcs/; revision=17693
* Methods.cs: Added SoapBindingStyle, SoapBindingUse, InputMembersMapping
and OutputMembersMapping properties in MethodStubInfo.
Use default value defined in TypeStubInfo for RequestNamespace,
ResponseNamespace and other properties.
Added class BindingInfo to store information about class bindings.
In TypeStubInfo added SoapBindingStyle, DefaultBinding, Methods and
Bindings properties.
* SoapRpcMethodAttribute.cs: Use WebServiceAttribute.DefaultNamespace constant
instead of hardcoded namespace name.
* WebServiceHandlerFactory.cs: Create new SoapDocumentationHandler for
documentation requests.
* SoapDocumentationHandler.cs: new handler that generates WS documentation.
svn path=/trunk/mcs/; revision=17692
* XmlSchemas.cs: Find method: make sure the returned object belongs to
the requested type.
* XmlSerializationReader.cs: Removed unneded virtual ReadObject method.
Add null checks for eventSource.
* XmlSerializationReaderInterpreter.cs: ReadObject is not virtual any more.
* XmlSerializationWriter.cs: In Initialize method, initialize the provided
namespece declarations. Virtual method WriteObject not needed any more.
In WriteStartElement, write the provided namespaces.
* XmlSerializationWriterInterpreter.cs: Write object is not virtual any more.
Added GetTypeMap method, that returns the map for a given type. Added some
virtual methods, so writer behavior can be extended at several places by
derived classes.
* XmlSerializer.cs: Changed behavior to match what MS.NET does. The virtual
methods CreateReader and CreateWriter are not called unless no type or
type mapping was provided in the constructor.
svn path=/trunk/mcs/; revision=17690
* mini-x86.c (mono_arch_call_opcode): Added support for
MONO_TYPE_GENERICINST.
* mini.c (check_call_signature): Added support for MONO_TYPE_GENERICINST.
svn path=/trunk/mono/; revision=17682
* cs-parser.jay (opt_type_argument_list): Use
`OP_GENERICS_LT type_arguments OP_GENERICS_GT'.
(primary_expression): Replace `qualified_identifier' with `type_name'.
(type_parameter_list): Use `OP_GENERICS_LT type_parameters OP_GENERICS_GT'.
* cs-tokenizer.cs (is_punct): When reading a `<', invoke a custom
parser to check whether it is syntactically a type parameter list;
return OP_GENERICS_LT/OP_GENERICS_GT instead of OP_LT/OP_GT in
this case.
svn path=/trunk/mcs/; revision=17675
* Makefile.am (BUILT_SOURCES): Fix compilation on platforms without
a JIT. Patch by Bernie Solomon ([email protected]).
svn path=/trunk/mono/; revision=17670
* interp.c (main): Fix the order of initialization calls so it maches
the order in the JIT.Patch by Bernie Solomon ([email protected]).
Also remove the unused ms mutex.
svn path=/trunk/mono/; revision=17669
* object.c appdomain.h: Get rid of metadata_section.
It is no longer needed and it was causing deadlocks with domain->lock.
* appdomain.c (add_assemblies_to_domain): Make it thread safe.
svn path=/trunk/mono/; revision=17661
* System.Web/HttpApplication.cs: when the request is completed or an
error happens, execute all the delegates attached to EndRequest, not
only the last one. This makes xsp/test/authtest work again.
* System.Web/HttpMethodNotAllowedHandler.cs: fixed description for http
status code.
* System.Web.Security/UrlAuthorizationModule.cs: fixed description for
status code.
* System.Web.Util/UrlUtils.cs: made Reduce work when a "/" is passed.
svn path=/trunk/mcs/; revision=17655
* statement.cs (Using.DoResolve): This is internally emitting a
try/finally clause, so we need to set ec.NeedExplicitReturn if we
do not always return. Fixes#47681.
svn path=/trunk/mcs/; revision=17634
* mini.c (get_basic_blocks): Added `unsigned char **pos' argument;
when reporting an error, set this to the actual error location.
(mono_method_to_ir): Report the correct error location if
get_basic_blocks() returned an error.
svn path=/trunk/mono/; revision=17630
* decl.cs (MemberCore): Moved WarningNotHiding(),
Error_CannotChangeAccessModifiers() and CheckMethodAgainstBase()
into MemberBase.
(AdditionResult): Make this nested in DeclSpace.
(DeclSpace.ctor): The .ctor now takes an additional NamespaceEntry
argument; call NamespaceEntry.Define() unless we're nested in a
class or struct.
* namespace.cs (Namespace.DefineName): New public function. This
is called from DeclSpace's .ctor to add
(Namespace.Lookup): Include DeclSpaces in the lookup.
* class.cs (Operator): Derive from MemberBase, not MemberCore.
* const.cs (Const): Derive from MemberBase, not MemberCore.
svn path=/trunk/mcs/; revision=17627
* mono-hash.h mono-hash.c (mono_g_hash_table_remap): New function used
to remap hashtable values during a copying collection. Not used at the
moment.
* mono-hash.c (g_hash_node_new): Restructured to avoid the global lock
in the common case.
* mono-hash.c (mono_g_hash_table_new_full): Enable the optimization of
the key function even if the client supplied g_direct_equal instead of
NULL.
svn path=/trunk/mono/; revision=17624
* DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
exception. Thanks to Mark Easton <[email protected]>.
svn path=/trunk/mcs/; revision=17622
* System.Web.UI.WebControls/CheckBox.cs: in LoadPostData, only return
true when the new data is different from the one we had. Fixed
conditions to save Checked state. Thanks to [email protected]
(Yaron Shkop).
* System.Web.UI/Page.cs: check if controls that require postback have
been changed by an event and register them to be notified of data
changed event.
Fixes bug #47869.
svn path=/trunk/mcs/; revision=17621
* assembly.c: Reworked assembly loading to make it really thread safe.
After these changes, the assembly returned by mono_assembly_open is
fully initialized, i.e. all its references assemblies are loaded.
* assembly.c (mono_image_load_references): Renamed to
mono_assembly_load_references, and made private, since clients no
longer need to call it.
* class.c: Removed calls to mono_assembly_load_references, since it was
a source of deadlocks.
* loader.h loader.c class.h class.c: Protect data structures using a
new lock, the loader lock.
* class.c (mono_class_setup_vtable): Create temporary hash tables and
GPtrArrays only when needed.
* class.c (mono_class_layout_fields): Ignore the dummy field inserted
into empty structures by mcs. Fixes pinvoke7.cs.
* domain.c (mono_init): Call a new initialization function.
svn path=/trunk/mono/; revision=17617
* appdomain.c (mono_runtime_init): Call the new initializer function
of the marshal module.
* marshal.c (mono_marshal_load_type_info): Ignore the dummy field
inserted into empty structures by mono. Fixes pinvoke7.cs.
* marshal.h marshal.c: Added locks around the wrapper caches to make
this module thread safe.
svn path=/trunk/mono/; revision=17616
* XPathNavigator.cs: "Smart" behavior in Matches. Nice 8x speed
improvement in the method (5ms/call -> .7 ms / call) measured by
monodoc's rendering of N:System.
* Expression.cs: Utility methods to support above.
svn path=/trunk/mcs/; revision=17596
* convert.cs (Convert.ExplicitReferenceConversion): When
converting from an interface type to a class, unbox if the target
type is a struct type. Fixes#47822.
svn path=/trunk/mcs/; revision=17588
enumeration of values. Removed fields to store remote call output values in
MonoAsyncResult. Not needed any more.
* object.c: Initialize call_type and async_result fields in mono_message_init.
* marshal.c: mono_delegate_begin_invoke(): for proxies, set call_type before
dispatching the message.
mono_delegate_end_invoke (): delegate to the proxy the work of waiting for the
async call to finish. To do it use a message with EndInvoke call type.
svn path=/trunk/mono/; revision=17580
* CallContext.cs: Clean current logical context before setting the new
values form LogicalCallContext (SetCurrentCallContext).
* MonoMethodMessage.cs: Added new CallType field and enum.
* StackBuilderSink.cs: Improved error message.
svn path=/trunk/mcs/; revision=17578
* mini.c (mono_type_blittable): OBJECT is not blittable.
(mono_method_blittable): Methods which have marshalling descriptors
are not blittable either. Fixes#47842.
svn path=/trunk/mono/; revision=17573
* XmlValidatingReader.cs : Implemented SchemaType. Added support for
ValidationType.Schema. Added support for XmlResolver. Fixed
ReadTypedValue() not to consume EndElement.
svn path=/trunk/mcs/; revision=17561
* SymmetricAlgorithm.cs: Fixed IV length exception for stream ciphers
(e.g. RC4) which don't uses IV. This needs more tests for small IV...
svn path=/trunk/mcs/; revision=17551
* System.Drawing.dll.sources: Add Cairo implementation.
2003-08-24 Duncan Mak <[email protected]>
Initial checkin of System.Drawing.XrImpl ported to use Cairo.
* Graphics.cs (DrawCurve):
(DrawImageUnscaled):
(IsVisible):Implement the overloads in terms of the other overloads.
(FillClosedCurve): Implement the simple APIs, the default tension
is 0.5, the default FillMode is FillMode.Alternate.
* cairo.cs: A copy of the CairoAPI class from the Mono.Cairo
assembly, with some method parameter/return type changed to better
fit the usage within System.Drawing.
* gdk-helpers.cs: Emulate some of Gdk.Pixbuf's API here,
basically the same as XrImpl's GDKfunctions.cs, but the names of
the functions are nicer, with the help of the DllImportAttribute's
EntryPoint field.
svn path=/trunk/mcs/; revision=17546
* HttpRequest.cs: quick way of checking that the path is within the
root for the application. Thanks to Johannes for reporting.
* HttpRuntime.cs: use the status code from teh exception when it'ss a
HttpException.
* StaticFileHandler.cs: forbidden is 403.
svn path=/trunk/mcs/; revision=17525
* class.cs (MethodData.Define): While checking if a method is an
interface implementation, improve the test a bit more to fix#47654.
svn path=/trunk/mcs/; revision=17523
* get.c (dis_stringify_method_signature): New argument specifying
whenever to return a fully qualified method name.
* dump.c main.c: Updated to work with the new function.
* main.c (dis_property_methods): Print fully qualified method names
for property methods. Fixes#46221.
svn path=/trunk/mono/; revision=17519
to MS.NET).
Removed try/catch from AsyncProcessRequest. If there is an exception it must
flow to the caller.
in AsyncRequestHandler, improved management of exceptions. HttpWebRequest
throws an exception if the result code is 400, 500. Is is not a communication
error, but an application or server error. The content of the body must be
deserialized like in normal responses.
In CreateWebRequest, if the stream being sent is a MemoryStream, use a more
efficient way of writing the content.
In SendAndRecieve, same as in AsyncRequestHandler. Also moved some code to a
new method named ReceiveResponse, so it can be reused from AsyncRequestHandler.
* HttpHelper.cs: Removed some debugging code that is not needed.
* HttpServer.cs: Improved formatting of some code.
In CheckRequest method, send a 100-continue response if the request has
the header: expect:100-continue.
Method SendResponse: the remoting formatter may include the result code and
reason phrase to use in the transport headers. Used them if provided.
* HttpServerChannel.cs: Use ThreadPool to create the thread that will answer
a request.
svn path=/trunk/mcs/; revision=17515
* SoapMessageFormatter.cs: Fixed some problems with out and ref parameters.
* SoapServerFormatterSink.cs: Improved catching of exceptions.
svn path=/trunk/mcs/; revision=17511
to avoid reuse of client proxies.
* CallSeq.cs: Now, "domain ID" is set manually.
* ContextsTest.cs: Added initialization of common domain id. Other small fixes.
* ReflectionCalls.cs: Get the method for the invoke for the correct type.
GetType() for a proxy to interface always return MarshalByRefObject.
* TcpCalls.cs, HttpCalls.cs: Added delegate tests.
* DelegateCalls.cs: New test suite for calls using delegates.
svn path=/trunk/mcs/; revision=17507
The following two fixes bug #40315.
* Tds.cs (ProcessEndToken): RecordsAffected was not filled
correctly. I've found out that the record count was submitted for
TdsPacketSubType.Done. So I changed the behaviour to include this
(without deeper knowledge of the TDS protocol). Patch from J�rg
Rosenkranz <[email protected]>.
* SqlCommand.cs (ExecuteNonQuery): Return
Connection.Tds.RecordsAffected if it is successful. Patch from
J�rg Rosenkranz <[email protected]>.
* ListControl.cs (DataSource): Implementation by Brian Takita
<[email protected]>.
svn path=/trunk/mcs/; revision=17498
* expression.cs (UnaryMutator.ResolveVariable): If the target is a
LocalVariableReference, ensure it's not read-only. Fixes#47536.
* statement.cs (Fixed.DoResolve): Make all variables read-only.
svn path=/trunk/mcs/; revision=17494
* ecore.cs (FieldExpr.DoResolveLValue): Static read-only fields
can only be assigned in static constructors. Fixes#47161.
svn path=/trunk/mcs/; revision=17493
Rewrote and improved the flow analysis code.
* flowbranching.cs (FlowBranching): Make this class abstract.
(FlowBranching.CreateBranching): New static function to create a
new flow branching.
(FlowBranchingBlock, FlowBranchingException): New classes.
(FlowBranching.UsageVector.Type): New public readonly field.
(FlowBranching.UsageVector.Breaks): Removed the setter.
(FlowBranching.UsageVector.Returns): Removed the setter.
(FlowBranching.UsageVector): Added Break(), Return(),
NeverReachable() and Throw() methods to modify the reachability.
(FlowBranching.UsageVector.MergeChildren): Removed, this is now
done by FlowBranching.Merge().
(FlowBranching.UsageVector.MergeChild): New method; merges the
merge result into the current vector.
(FlowBranching.Merge): New abstract method to merge a branching.
svn path=/trunk/mcs/; revision=17491
* XslVariable.cs : use newly introduced XmlNodeWriter.ctor(false) to
support for tree fragment, not only for single element.
svn path=/trunk/mcs/; revision=17476
* inssel.brg: 64bit fixes from Laurent Morichetti <[email protected]>.
* linear-scan.c, mini-ppc.h, mini-sparc.h, mini-x86.h, mini.h,
regalloc.c, regalloc.h: specify available registers in arch-specific
code and support floats in the regallocator (patch by Laurent Morichetti
<[email protected]>)
svn path=/trunk/mono/; revision=17474
* object.c (mono_object_isinst): Fix casts to TransparentProxy in
the interpreter. Patch by Bernie Solomon ([email protected]).
svn path=/trunk/mono/; revision=17467
* String.cs: Created method FormatHelper that does formatting,
using a StringBuilder.
* StringBuilder.cs
(AppendFormat) Use FormatHelper in System.String to avoid
allocating an extra StringBuilder.
(Append string, int, int), (Append char, int): Both were
allocating extra strings.
svn path=/trunk/mcs/; revision=17466
* rawbuffer.c rawbuffer.h: Make this module thread safe.
* domain.c: Make this module thread safe.
* domain.c (mono_init): Call new initialization function.
svn path=/trunk/mono/; revision=17465
* image.c (mono_image_init): Fixed warnings.
* class.c (mono_class_from_typeref): Handle assembly load failure
correctly.
* appdomain.c (add_assemblies_to_domain): Handle the case when
the references of an assembly are not yet loaded.
* metadata.c image.c assembly.c: Moved initialization of global
variables to a separate function called at startup since lazy
initialization of these variables is not thread safe.
* image.c assembly.c: Made this module thread safe by adding locks in
the appropriate places.
* domain.c (mono_init): Call the new initialization functions of the
three modules.
svn path=/trunk/mono/; revision=17458
* mini.c: mono_thread_current() can be called only after
mono_runtime_init(): rearrange code to not call it early on.
svn path=/trunk/mono/; revision=17448
make a direct call. It is proxy's work to make the call asynchronous.
mono_delegate_end_invoke(): If the targe is a proxy, just collect
the return values.
* object.cs: mono_method_call_message_new(): read AsyncResult and
state object from parameters list, if this info is requested.
* object.h: Added fields to store remote call output values in
MonoAsyncResult. Added AsyncResult field in MonoMethodMessage.
svn path=/trunk/mono/; revision=17446
TcpCalls.cs: new test suite for remoting. It tests sync calls, async calls
and reflection calls using tcp and http channels.
* CallSeq.cs, ContextHookAttribute.cs: Add methods for getting a context and
domain ids that are the same between tests runs.
* ContextsTest.cs: unregister channel on test shutdown.
svn path=/trunk/mcs/; revision=17441
* object.h: add needed fields to MonoThread.
* threads.c, threads.h: allow registering a function to cleanup data
allocated per thread by the JIT.
svn path=/trunk/mono/; revision=17437
* FieldDef.cs: Stub method for adding data values
* TypeDef.cs: Implement long form overrides, fix some backwords
variable naming, add a method to lookup data definitions.
svn path=/trunk/mcs/; revision=17434
Rosenkranz <[email protected]>. Currently, if a connection is
closed by an external event (network problem, etc.) it is pushed
back into the connection pool. The next Open call retrieves this
invalid connection which leads to exceptions when executing
statements.
This patch fixes this problem. This closes bug #47429.
svn path=/trunk/mcs/; revision=17431
* Hashtable.cs (PutImpl): Fix my previous checkin, see details
posted on bug #47692.
I really hope I don't mess up this time, because, if I do again,
it will be really embarrassing.
svn path=/trunk/mcs/; revision=17430
* ControlCollection.cs:
* EmptyControlCollection.cs: create a minimum ArrayList for this.
* BaseParser.cs: added setter for BaseVirtualDir.
* Page.cs: fixed message when restoring view state fails.
* UserControlParser.cs: set the BaseVirtualDirectory to handle the case
when a relative path to the control is given. Fixes bug #47685.
svn path=/trunk/mcs/; revision=17424
* Style.cs: the MARKED bit is not send set in ViewState unless something
is changed. Fixed TrackViewState condition.
* WebControl.cs: save the base ViewState *after* ControlStyle is done,
because it uses the same ViewState as the control. Fixes bug #47725.
svn path=/trunk/mcs/; revision=17421
* XmlDocumentNavigator.cs : Fixed MoveToFirstNamespace() that arose
infinite loop.
* XmlNamespaceManager.cs : Renamed AtomStrEq to AtomicStringEquals.
Commented out Console.Error.WriteLine().
* XmlUrlResolver.cs : Fixed ResolveUri() and GetEntity() to support
escape and unescape for relative URI string.
svn path=/trunk/mcs/; revision=17414
* Compiler.cs : Fixed XslNameUtil.FromString() so that unprefixed name
won't have default namespace. See http://www.w3.org/TR/xslt#qname
svn path=/trunk/mcs/; revision=17412
* XslTransformProcessor.cs: add support for resolving documents.
* XsltCompiledContext: add support for document () function.
svn path=/trunk/mcs/; revision=17410
* Outputter.cs, TextOutputter.cs, XmlOutputter.cs: Implement some
of the abstract methods in Outputter, making them call other
functions with default values, remove impl's in derived classes.
svn path=/trunk/mcs/; revision=17407
* Outputter.cs: s/Close/Done
* TextOutputter.cs, XmlOutputter.cs: Flush, don't close the backing.
* XslTransformProcessor.cs: Flush output when popping, pop at end.
svn path=/trunk/mcs/; revision=17406
* Outputter.cs: Add support for namespaces.
* XslCopyOf.cs, XslLiteralElement: Use namespace support in Outputter.
svn path=/trunk/mcs/; revision=17405
* Compiler.cs, XslOutput.cs, XslStylesheet.cs,
XslTransformProcessor.cs: move output logic from XslStylesheet to
Compiler.
* XslVariable.cs: sync to API changes
* ManagedXslTransform.cs: sync to API changes
svn path=/trunk/mcs/; revision=17404
* XslOutput.cs: add support for encoding.
* ManagedXslTransform.cs, XslTransformImpl.cs: Add support for
encoding.
svn path=/trunk/mcs/; revision=17395
* MethodDef.cs: Make some properties public, Add method to get a
list of parameter types. This is used to build signatures. Alow
sentinels in signatures and in param lists. Fix some tabbing.
* ParamDef.cs: Expose the parameters type so they can be used when
building signatures.
* TypeDef.cs: Add and emit overrides.
svn path=/trunk/mcs/; revision=17391
* HttpException.cs: make the unhandled error more like the MS one.
* HttpRuntime.cs: set a 500 error code on unhandled exceptions.
svn path=/trunk/mcs/; revision=17390
* HttpResponse.cs: flush headers when the body length is 0.
* StaticFileHandler.cs: added If-Modified-Since handling patch slightly
modified from the original by Piers Haken <[email protected]>.
svn path=/trunk/mcs/; revision=17387
* System.Xml.dll.source: add System.Xml/HighWaterStack.cs
* XmlChar.cs (IsWhitespace): Spare enumerator allocation.
* XmlTextWriter.cs (WriteWhitespace): Enumerators are very high in
fat, use low-fat loops instead. Even better, call the function
inside XmlChar for code reuse.
* HighWaterStack.cs (added): New class that acts like a Stack, but
helps with memory allocation.
* XmlNamespaceManager.cs, XmlParserContext.cs: Rewrote to use
HighWaterStack.
* XmlTextReader.cs: Remove orderedAttributesEnumerator variable,
use a variable that stores the position in the ArrayList.
svn path=/trunk/mcs/; revision=17385
* XmlTextWriter.cs: Begin diet. String.Format has too much
saturated fat, lets replace with the fat-free .Write ()
calls. Effects best seen when Paolo's StreamWriter patch is
applied.
svn path=/trunk/mcs/; revision=17384
* Control.cs: when we load the viewstate for a control that has children
viewstates and the child is not found, keep its viewstate around and
wait until the child is added to load the viewstate. Fixes bug #47697.
svn path=/trunk/mcs/; revision=17381
* interp.c: Get rid of duplicate definition of CHECK_MUL_OVERFLOW.
* interp.h interp.c: Get rid of VAL_VALUETA, use VAL_MP instead. Fix
the INITOBJ opcode which was the only user of VALUETA.
svn path=/trunk/mono/; revision=17380
Currently Hashtable.PutImpl has an incorrect test which causes the
key chain search to terminate as soon as a free slot is found,
causing key duplication.
svn path=/trunk/mcs/; revision=17376
* XslComment.cs, XslTemplateContent.cs: remove dead variables.
* XsltCompiledContext.cs, Compiler.cs: copy the XPathNavigator
from the stylesheet for correct namespace resolution.
* XslTransformImpl.cs: close XmlTextWriter when we create it.
svn path=/trunk/mcs/; revision=17374
* reflection.h reflection.c (mono_param_get_objects): Changed this to
return a MonoArray. This simplifies the code and also ensures that
the cache allways contains an object reference as a value.
* icall.c (ves_icall_get_parameter_info): Simplified using the new
function.
svn path=/trunk/mono/; revision=17367
* interp.c (ves_exec_method): Implemented mul.ovf correctly for int32
and int64. Implemented the conv.ovf opcodes for all argument types.
2003-08-15 Zoltan Varga <[email protected]>
(ves_exec_method): Added support for the synchronized flag to the
interpreter. Also fixed the CALLI opcode, and made exception handling
work though the managed-unmanaged barrier.
svn path=/trunk/mono/; revision=17366
* HyperLinkColumn.cs: patch from David Pickens <[email protected]>
that fixes databinding when only DataTextField or DataNavigateUrlField
is set.
svn path=/trunk/mcs/; revision=17365
* socket-io.c: patch by Bernie Solomon <[email protected]> that
fixes a problem with byte ordering when getting the address family for
a socket.
svn path=/trunk/mono/; revision=17364
* Microsoft.CSharp/CSharpCodeGenerator.cs:
- fixed support for method references where target
object is null
- fixed CodeThrowExceptionStatement
- disabled member access modifiers for private method
implementations
- disabled generation of empty method body for interface
declarations
- disabled generation of empty property accessor bodies
in interface declarations
- added support for indexers (properties named "Item")
- added support for chained constructor arguments and
base constructor arguments
* System.CodeDom/CodeTypeDeclaration.cs:
- TypeAttributes of CodeTypeDeclaration now defaults to
TypeAttributes.Public (same as MS implementation)
svn path=/trunk/mcs/; revision=17363
correct ByteFX.Data.MySqlClient (note the change in
capitalization). Thanks to Tom Wagner <[email protected]> for
spotting the error.
svn path=/trunk/mono/; revision=17360
* reflection.h reflection.c loader.c: Added support for parameter
marshalling to dynamically created types. Fixes#47295.
svn path=/trunk/mono/; revision=17356
* Report.cs: New file - All error/warning/progress reporting will
go through here.
* ilasm.exe.sources: Add report to build
svn path=/trunk/mcs/; revision=17353
* HttpResponse.cs: another patch from totte and me. This one prevents
writing output if the client have disconnected and filters the data
when there's a non-final Flush in the middle of the process.
svn path=/trunk/mcs/; revision=17343
ContextLevelActivator.cs, RemoteActivationAttribute.cs,
RemoteActivator.cs: Changed class from public to internal.
svn path=/trunk/mcs/; revision=17336
* ListControl.cs: patch by Yaacov Akiba Slama <[email protected]> that
fixes selection of values before assigning a data source and other
issues.
svn path=/trunk/mcs/; revision=17333
2003-07-17 Peter Williams <[email protected]>
* DTMXPathDocumentBuilder.cs: csc.exe is more stringent about namespaces
than mcs. We need to disambiguate System.Math from Mono.Math here.
svn path=/trunk/mcs/; revision=17331
* DTDValidatingReader.cs : Added SchemaType.
Read() Assures to return to element.
* DTDObjectModel.cs : Removed DTDEntityDeclaration.BaseURI.
* XmlReader.cs : ReadString() should be virtual in NET_1_1.
* XmlTextReader.cs : 1) Depth should consider Attribute and its values.
Introduced insideAttribute field to support them.
2) ReadAttributeValue() should consider empty string.
* XmlValidatingReader.cs :
Fixed several properties which premised as if it was already read.
Encoding and Namespaces now throws NotSupportedException for other
than XmlTextReader.
Implemented ReadTypedValue() based on IHasXmlSchemaInfo.SchemaType.
svn path=/trunk/mcs/; revision=17330
* DTMXPathDocument.cs,
DTMXPathDocumentBuilder.cs,
DTMXPathNavigator.cs :
- Implemented ID support using XmlValidatingReader.
- Prefix should be String.Empty even if XmlReader.Prefix is null.
svn path=/trunk/mcs/; revision=17328
* Compiler.cs : 1) Changed public .ctor() to receive Evidence argument
introduced in .NET 1.1. 2) XmlResolver object is required for 'res'.
svn path=/trunk/mcs/; revision=17324
* XslApplyTemplates.cs,
XslCallTemplate.cs : Should accept other than element content such
as comment and PI.
* XslNumber.cs : In Compile(), 'value' might not exist. (Think about
it later if how it should be.)
* XslTemplateContent.cs : "comment" and "number" support. (I know they
are still incomplete.)
svn path=/trunk/mcs/; revision=17323
* mb-parser.jay: ReDim statement parses many variables now (but initializers aren't allowed)
Erase statement implemented
Lots of garbage (never reduced rules) deleted
Reduce/Reduce problems eliminated (where due to having opt_modifiers duplicated inside property_declaration rule)
* statement.cs : class Redim is prepared to have ReDim Preserve copying code called,
but we need to check if that code is lying in Microsoft.VisualBasic.dll
New class Erase
svn path=/trunk/mcs/; revision=17309
* expression.cs (Indirection.CacheTemporaries): Create the
LocalTemporary with the pointer type, not its element type.
svn path=/trunk/mcs/; revision=17301
name (Cairo) is the same as the class name (also Cairo). To resolve
this ambiguity while keeping the code looking decent, the Cairo.Cairo
class is now Cairo.CairoAPI.
svn path=/trunk/mcs/; revision=17295
the enums no longer need to be nested inside the Cairo class.
* Mono.Cairo/Matrix.cs:
* Mono.Cairo/Object.cs:
* Mono.Cairo/Surface.cs: I never liked having the word 'Object' in
the name of a class, esp. now that we have namespaces. So I have
decided to rename them.
svn path=/trunk/mcs/; revision=17284
* HttpApplicationFactory.cs: use the correct Delegate.CreateDelegate
overload. The previous one only admits static methods.
svn path=/trunk/mcs/; revision=17267
* threadpool.c: when mono_async_invoke was called, no one took care of
monitoring the queue. So if the method invoked took some time and we
got new async invoke requests after 500 ms (the thread created waited
that long in WaitForSingleObject), the new async invoke was not called
until the previous one finished.
This is fixed now. Thanks to Totte for helping with it.
svn path=/trunk/mono/; revision=17266
* UdpClient.cs (Receive): Fix Bug 45633; We should do a blocking
call until a datagram is arrives from the remote host. This
removes the 512 "magic" buffer size when we did not have any data.
svn path=/trunk/mcs/; revision=17237
* Array.cs: Applied patch from Thong (Tum) Nguyen; Removed
replicated tests, and have a routine that does the heavy lifting.
2003-08-10 Miguel de Icaza <[email protected]>
* ArrayTest.cs: New test from Thong (Tum) Nguyen.
svn path=/trunk/mcs/; revision=17236
* ModifiableType.cs: Modify a types signature when the type is
modified instead of waiting untill the end. Signatures need to be
modified immediatly because they are used in method signatures and
would fail for overloaded operations if sigs weren't modified
right away.
* ExternTypeRef.cs: Add signature modifications, fix some tabbing
* GenericTypeInst.cs: Use ModifiableType as a base
* GenericTypeRef.cs: Use ModifiableType as a base
* PeapiTypeRef.cs: No longer take or modify type names.
* PrimitiveTypeRef.cs: Add signature modifications, fix some tabbing.
* Sentinel.cs: Add signature modifications, fix some tabbing.
* TypeRef.cs: Add signature modifications, fix some tabbing.
svn path=/trunk/mcs/; revision=17231
* cs-parser.jay: FIRST_KEYWORD, LAST_KEYWORD: used to know if a
token was a keyword or not.
Add `error' options where an IDENTIFIER was expected; Provide
CheckToken and CheckIdentifierToken convenience error reporting
functions.
Do not use `DeclSpace.Namespace', use `DeclSpace.NamespaceEntry'.
* decl.cs: Rename `NamespaceEntry Namespace' public field into
NameSpaceEntry NameSpaceEntry.
(LookupInterfaceOrClass): Avoid creating a full qualified name
from namespace and name: avoid doing lookups when we know the
namespace is non-existant. Use new Tree.LookupByNamespace which
looks up DeclSpaces based on their namespace, name pair.
* driver.cs: Provide a new `parser verbose' to display the
exception thrown during parsing. This is turned off by default
now, so the output of a failure from mcs is more graceful.
* namespace.cs: Track all the namespaces defined in a hashtable
for quick lookup.
(IsNamespace): New method
svn path=/trunk/mcs/; revision=17230
* DTDObjectModel.cs : added XmlResolver related members. Added
invalid entity recursion logic. Added encodingdecl check on textdecl.
* DTDValidatingReader.cs : It now implements IHasXmlParserContext.
* XmlChar.cs : IsPubidChar() should not allow TAB(	).
* XmlDocumentType.cs : 1) internal CreateDocumentType() was now changed
to receive DTDObjectModel to support other than XmlTextReader.
2) Most of its public member is now based on DTDObjectModel.
* XmlDocument.cs : 1) Synchronous change with XmlDocumentType.
2) ReadNode() now considers XmlParserContext's DTDObjectModel for
other than XmlTextReader (such as XmlValidatingReader).
* XmlNode.cs : code cleanup only.
* XmlParserInput.cs : added HasPEBuffer, used to check illegal nesting.
* XmlTextReader.cs : 1) Illegal entity reference check logic was moved
from ReadContent() to SetEntityReferenceProperties(). 2) Indentation
change on ReadEntityReference(). 3) ReadAttribute() now checks
reference to external entity reference. 4) Added textdecl encoding
check. 5) DTDObjectModel fields are now set correctly. 6) added
PERef markup nest check. 7) If PEDecl was not found, it might be WFC
violation, not only be VC violation. 8) ReadEntityDecl() now receives
its declared entity itself, and this method checks IsInternalSubset.
* XmlValidatingReader.cs : 1) Added GetInternalPerserContext().
2) ValidationType.None should be the same as Auto, not DTD (in the
future it should keep xml schema's default values).
Pending Stuff in XmlTextReader which breaks some NUnit tests;
1) SetEntityReferenceProperies() has check for illegal references.
2) ReadAttribute(bool) has similar check for illegal references.
svn path=/trunk/mcs/; revision=17218
* namespace.cs: Remove redundant call; Avoid using MakeFQN when
we know that we need to concatenate (full typename can never be
null).
* class.cs: ditto.
svn path=/trunk/mcs/; revision=17205
* XmlTextReader.cs : Checked and fixed all TryExpandPERef() invokation
and supplied SkipWhitespace() as they needed. It broke monodoc.
Fixed ReadEntityValueDecl() to get correct value.
svn path=/trunk/mcs/; revision=17203
* XmlInputStream.cs :
Fixed Initialize() that might result in incorrect buffer.
CanRead and Position should consider buffer (especially when the
stream was EOF).
CanSeek should use stream's CanSeek.
* XmlChar.cs : added GetPredefinedEntity().
* DTDObjectModel.cs :
- Modified ComputeDefaultValue() to use it.
- Fixed NormalizedDefaultValue not to expect parsed value as string.
- ResolveExternalEntity now detects invalid standalone specification.
- DTDParameterEntityDeclaration.Value is now changed to property and
keep its resolved value of literal value of external value using
new Resolve (XmlResolver) method (called only by XmlTextReader).
* DTDValidatingReader.cs :
- It now handles entity-expanded Whitespace and SignificantWhitespace
correctly. Does not raise unexpected text not allowed error.
- Fixed MoveToAttribute()s to move internal reader correctly, and
should be able to move in other cases than on element node.
- On Read()ing document type and ResolveEntity(), it now sets
XmlResolver on text reader.
- On ID constraints check and type verification, it now uses
normalized attribute or its tokenized value(s).
- Fixed ValidateAttributes() to add default values when
ValidationType is Auto.
* XmlParserContext.cs : added internal Dtd setter.
* XmlParserInput.cs :
InsertParameterEntityBuffer() should add surrounding whitespaces.
Removed unused code block.
* XmlTextReader.cs :
- Modified ReadReference(), ReadAttribute() and Dereference() to use
XmlChar.GetPredefinedEntity().
- When returning entity reference, it checks extity declaration
existence in certain conditions.
- ReadAttribute() now skips general entity replacement on reading
entity value.
- ReadText() now handles whitespace texts as XmlNodeType.Whitespace.
- ReadXmlDeclaration() holds isStandalone, which might be used in
entity reference's well-formedness check.
- internal 'DTD' now uses XmlParserContext.Dtd.
- isInternalSubset was meaningless. Now uses input stack's Count.
- Added some required SkipWhitespace().
- Several parameter entity handling changes. Added GetPEValue(name).
TryExpandPERef() now uses ImportAsPERef(). ReadParameterEntityDecl()
now uses its Resolve() when it was external PE. Now it uses value
buffer instead of currentTag, to efficiently read (included) PE.
CompileDeclaration() now uses ImportAsPERef instead of ExpandPERef().
ImportAsPERef() simply inserts the value to currentInput.
ReadEntityDecl() also uses value buffer. Removed non-used methods.
- Default attributes are now stored in normalized form.
- Dereference() now considers non-expanding predefined entities.
* XmlValidatingReader.cs : now holds Schemas, and ValidationType.Auto
is more correctly supported.
* XmlAttributeCollection.cs :
When removing default attribute, it immediately inserts the attribute.
RemoveAll() should consider default (not-removable) attributes.
* XmlDocument.cs :
Should have its default XmlResolver. Added Internal Resolver.
Some Load() should use its XmlResolver.
ImportNode() should copy its children in node level, not value level.
It also have to consider not to copy default attribute on importing
XmlElement.
* XmlDocumentType.cs : Now uses document's XmlResolver to read DTD.
* XmlAttribute.cs,
XmlDocumentFragment.cs.
XmlElement.cs : use XmlResolver on InnerXml. Removed some MonoTODO.
* XmlNodeReader.cs : GetInternalParserConext() should provide its DTD.
ResolveEntity() uses XmlResolver on entityReader.
svn path=/trunk/mcs/; revision=17202
* cs-parser.jay: bug fix, parameter was 4, not 3.
* expression.cs: Just use the property;
* statement.cs: No need for GetVariableInfo method.
svn path=/trunk/mcs/; revision=17199
the return type of a method. Since parameter positions are
zero-based, the position of the return type must be is -1.
svn path=/trunk/mcs/; revision=17192
* TypeTranslator.cs: Added support for more primitive types. Added
GetDefaultPrimitiveTypeData, which returns the type data to which a clr type
maps by default.
* XmlCodeExporter.cs: Generate XmlRoot attribute only if root element name and ns
are different from the type ns and name.
Generate class and field comments.
Fixed default attribute generation. In elements with ref attribute, it has to be
generated in the referred attribute.
* XmlReflectionImporter.cs: Added check: simple type extensions can't add new elements.
Added suport for text nodes in members of type "any".
* XmlSchemaExporter.cs: Several fixes. Fixed generation of complex types with simple
content.
* XmlSchemaImporter.cs: Several fixes. The importer now collects documentation info.
* XmlSerializationWriter.cs: WriteNamespaceDeclarations(): do not declare namespaces
that have already been declared.
WriteStartElement(): elements from schema namespace are always written with ns prefix.
* XmlTypeMapMember.cs: Added documentation property.
* XmlTypeMapping.cs: Added documentation property. Added property to check if a class map
represents a simple type.
svn path=/trunk/mcs/; revision=17175
* flowanalysis.cs (FlowReturns): This is now nested in the
`FlowBranching' class.
(MyBitVector): Moved this here from statement.cs.
(FlowBranching.SiblingType): New enum type.
(FlowBranching.CreateSibling): Added `SiblingType' argument.
svn path=/trunk/mcs/; revision=17172
a given id is a C# keyword, and returns the same if if it is not,
or @id if it is a keyword. This method is used everywhere
a name is rendered.
svn path=/trunk/mcs/; revision=17168
* DTDObjectModel.cs :
- Added validation error check (and AddError(), Errors).
- Fixed ComputeDefaultValue() to handle various references correctly.
- DTDEntityDeclaration.EntityValue became property, and added
LiteralEntityValue. The new one holds resolved value.
Added ResolveExternalEntity(). It now required root in .ctor().
* DTDValidatingReader.cs :
- Now it handles namespaced attributes (as input to xsd validator).
- Added XmlResolver property as usual XmlReader.
- Added currentEntityHandling field so that it can stand changing
XmlValidatingReader's EntityHandling dynamically.
- FilterNormalization() now requires name for getting datatypes and
can stand for non-current attribute normalization.
- Splitted ReadContent() from Read() that can be called recursively
when expanding entities.
- Now handles Entity not found error *after* resolution of entities,
as MS.NET does.
- Read()ing DTD checks its Errors and raises validation error events.
In some situations, DTD parsing may detect VC error, not WFC error.
It also strictly checks NData existence.
- Handling of entity-resolved text is a bit changed and Read()ing
element, endElement, cdata now changed to switch collecting text
and collected text.
- content type ANY should allow texts.
- Added enumerated attribute validity check.
- Added Name/Names creation rule check for ID/IDREF/IDREFS.
- Added entity existence check for ENTITY/ENTITIES attributes.
- Added NMTOKEN creation rule check for NMTOKEN/NMTOKENS.
- Fixed to remove extraneous #REQUIRED check.
- Contributing default attribute is now only applied to the case
ValidationType is DTD or None.
- ResolveEntity() now handles external entities.
Added Mono.Xml.IXmlParserContext interface support.
* XmlDocumentType.cs : Fixed to use BaseURI to build DTD model.
* XmlTextReader.cs :
- Fixed ReadAttributeValue() to reset returnEntityReference.
- Added bool MaybeTextDecl only for ResolveEntity().
- Fixed ReadWhitespace(). In fact its value is considered even if it
is in the end of the XML.
- Fixed ReadXmlDeclaration(). Now skips text declaration.
- CompileDTDSubset() now checks IGNORE/INCLUDE section end balances.
- ReadContentSpec() should set OrderType = OR for mixed model.
Fixed to set content element name correctly.
- ImportAsPERef() now skips Text declaration.
- Type of enumerated default attributes shold be string.
- Undeclared PE error is now handled as DTD's VC error, not
XmlTextReader's WFC error.
* XmlValidatingReader.cs : BaseURI should provide that of
original XmlReader's when read was not started yet.
Fixed XmlResolver to delegate to DTDValidatingReader.
* XmlAttributeCollection.cs : Acquiring attList declaration is
insufficient especially in case of lack of elementdecl.
* XmlChar.cs : (Maybe this is compact than XmlConstructs.)
added IsWhitespace(),IsNCNameChar(),IsName(),IsNCName(),IsNmToken(),
IsPubid(). Copies IsValidIANAEncoding() from XmlConstructs.
* XmlInputStream.cs : Removed "version" declaration check. It should
be done by XmlTextReader.
* XmlNodeReader.cs : added internal GetInternalParserContext() and now
it can be used in XmlValidatingReader.ResolveEntity().
ResolveEntity() sets XmlTextReader.MaybeTextDecl.
svn path=/trunk/mcs/; revision=17167
* flowanalysis.cs (FlowBranchingType): This is now nested in the
`FlowBranching' class and called `BranchingType'.
svn path=/trunk/mcs/; revision=17163
* assign.cs (Assign.DoResolve): `target' must either be an
IAssignMethod or an EventAccess; report a CS0131 otherwise. Fixes
#37319.
svn path=/trunk/mcs/; revision=17160
* XslTransformProcessor.cs: Add a table to detect when an object
is busy.
* XslAttributeSet.cs: Use the above table. Dont throw nullref
exception when no use-attribute-sets are specified.
svn path=/trunk/mcs/; revision=17159
* expression.cs (BinaryMethod): This kind of expression is created by the
Binary class if it determines that the operator has to be handled
by a method.
(BinaryDelegate): This kind of expression is created if we are
dealing with a + or - operator on delegates.
(Binary): remove method, argumetns, and DelegateOperator: when
dealing with methods,
* ecore.cs (EventExpr.EmitAddOrRemove): Update to new layout.
* statement.cs (Block): use bitfields for the three extra booleans
we had in use. Remove unused topblock parameter.
* codegen.cs: Remove unecessary argument to Block.EmitTopBlock
* assign.cs: Drop extra unneeded tests.
svn path=/trunk/mcs/; revision=17153
corresponding explicit interface implmentations.
* wine/Bitmap.cs (InitFromStream): cast to an IImage before calling
properties defined in the interface.
* wine/Bitmap.cs:
* wine/Image.cs: Reformatted.
svn path=/trunk/mcs/; revision=17152
commented out. Added missing methods that were in
System.Drawing.Image but not the interface.
* ItfBitmap.cs: Reformatted.
* Image.cs: Reformatted. Make all methods defined in the interface
non-public, and expose them only as explicit interface implementations.
* Graphics.cs (FromImage): cast xrImage to IImage.
* Bitmap.cs (InitFromStream): cast to an IImage before calling
properties defined in the interface.
* Image.cs: Reformatted.
* Graphics.cs (DrawImage): Cast wineImage to IImage before calling
interface properties.
svn path=/trunk/mcs/; revision=17148
* iterators.cs (Mapvariable): provide a mechanism to use prefixes.
* statement.cs (Foreach): Use VariableStorage instead of
LocalBuilders.
* codegen.cs (VariableStorage): New class used by clients that
require a variable stored: locals or fields for variables that
need to live across yield.
Maybe provide a convenience api for EmitThis+EmitLoad?
svn path=/trunk/mcs/; revision=17108
* CryptoStream.cs: Closing bug #40689. The Write method was re-written.
* SymmetricAlgorithm.cs: Removed Lluis previous patch (it fails a unit
test) and corrected a bug in FinalDecrypt.
* RSACryptoServiceProvider.cs: Fixed different exceptions from .NET 1.0
and 1.1.
svn path=/trunk/mcs/; revision=17090
* codegen.cs (RemapLocal, RemapLocalLValue, RemapParameter,
RemapParameterLValue): New methods that are used to turn a
precomputed FieldInfo into an expression like this:
instance.FieldInfo
The idea is to use this instead of making LocalVariableReference
have more than one meaning.
* cs-parser.jay: Add error production to BASE.
* ecore.cs: Deal with TypeManager.GetField returning null, which
is now a valid return value.
(FieldExprNoAddress): New expression for Fields whose address can
not be taken.
* expression.cs (LocalVariableReference): During the resolve
phases, create new expressions if we are in a remapping context.
Remove code that dealt with remapping here.
(ParameterReference): same.
(ProxyInstance): New expression, like the `This' expression, but
it is born fully resolved. We know what we are doing, so remove
the errors that are targeted to user-provided uses of `this'.
* statement.cs (Foreach): our variable is now stored as an
Expression; During resolution, follow the protocol, dont just
assume it will return this.
svn path=/trunk/mcs/; revision=17087
* mono-debug-debugger.c: Don't store the MonoString's vtable to
make this work for applications with multiple application domains.
svn path=/trunk/mono/; revision=17085
* StrongNameMembershipCondition.cs:
* UrlMembershipCondition.cs: (FromXml): Throw exceptions when the
headers do not match.
svn path=/trunk/mcs/; revision=17083
* StreamReader.cs (DiscardBufferedData): Do the same like on the
ms runtime: just discard the buffered data, but don't modify the
BaseStream.Position.
svn path=/trunk/mcs/; revision=17081
* support.cs (SeekableStreamReader.cs): New public class.
* cs-tokenizer.cs, cs-parser.jay, driver.cs: Use the new
SeekableStreamReader instead of the normal StreamReader.
svn path=/trunk/mcs/; revision=17080
stuff.
* SoapReflectionImporter.cs: Set the type namespace parameter when creating a map.
* TypeData.cs: Added property that returns a TypeData that represents an array of
the given TypeData.
* TypeTranslator.cs: Added GetArrayName() method.
Added TypeDatas for missing primitive types.
* XmlCodeExporter.cs: Implemented ExportMembersMapping. Fixed generation of
XmlRootAttribute. Added the namespace to all attributes being generated.
Other fixes in the generation of code.
* XmlReflectionImporter: store the namespace of the type in the maps.
* XmlSchemaExporter.cs: Several fixes. Only set the "mixed" attribute if the
class can generate text. Do not export inherited attributes of a class.
Use the new root namespace stored in the map when generating the root element.
* XmlSerializationWriter: Always write a prefix when writing a qname, even if the
namespace is the default namespace.
* XmlSerializationWriterInterpreter.cs: fixed missing "else".
* XmlTypeMapElementInfo.cs: In DataTypeNamespace property, return the type
namespace instead of the map namespace (which can be different if the type
has a XmlRoot element).
* XmlTypeMapMember.cs: Set the default value of the DefaultValue property
to System.DBNull.Value.
* XmlTypeMapMemberElement.cs: ElementInfo property: In the getter Create
the collection if it has not yet been created.
* XmlTypeMapping.cs: Added property XmlTypeNamespace which stores the namespace
of the type. It may be different from the namespace of the map if the type
has a XmlRoot element. Also added IsSimpleType property.
In ClassMap, added AllMembers property.
svn path=/trunk/mcs/; revision=17075
In Compile(): ignore included schemas that do not have a value
in SchemaLocation. It means that FindElement can return null
if the referred schema was ignored. Added check for that case.
Compile schema after reading it.
* XmlSchemaCollection.cs: The targetNamespace of a schema may
be null. Make XmlSchemaCollection work for this case.
* BuiltInDataType.cs, XmlSchemaDataType.cs: added new primitive
types: float, base64Binary, boolean.
svn path=/trunk/mcs/; revision=17074
* XmlReaderCommonTests.cs : Its XmlValidatingReader.EntityHandling
should be ExpandCharEntities.
* XmlValidatingReaderTests.cs : added ResolveEntity(),
ResolveEntity2() and ResolveEntityWithoutDTD().
svn path=/trunk/mcs/; revision=17073
* DTDValidatingReader.cs :
Added full ExpandEntities support for text node and entity reference
node (although require many usage tests). Almost all methods and
properties now have currentTextValue != null check, that field means
that there are cached (entity-resolved) text.
Implemented default attribute aware XmlLang and XmlSpace.
* XmlNodeReader.cs : ResolveEntity() should not require DTD.
svn path=/trunk/mcs/; revision=17072
Demakov <[email protected]> to fix formatting for Big power of 10
floating point values. This fixes bug #46175.
* FloatingPointFormatterTest.cs: New file. Added with one test by
Aleksey Demakov <[email protected]>.
svn path=/trunk/mcs/; revision=17057
* cs-parser.jay (CLOSE_PARENS_CAST, CLOSE_PARENS_NO_CAST,
CLOSE_PARENS_OPEN_PARENS, CLOSE_PARENS_MINUS): New tokens to
deambiguate casts and delegate invocations.
(parenthesized_expression): Use the new tokens to ensure this is
not a cast of method invocation.
* cs-tokenizer.cs (is_punct): Return one of the new special tokens
when reading a `)' and Deambiguate_CloseParens () was previously
called.
* expression.cs (ParenthesizedExpression): New class. This is
just used for the CS0075 test.
(Binary.DoResolve): Check for CS0075.
svn path=/trunk/mcs/; revision=17052
* mono-debug-debugger.c: Completely reworked the type support; the
most important thing is that we're now just using one single
`MonoType' instance per type.
svn path=/trunk/mono/; revision=17049
* ExternTypeRef.cs: Add functionality for valuetypes
* MethodDef.cs: Handle Vararg signatures individually. Fixes for
new Sentinel type in vararg signatures
* MethodRef.cs: Use new SentinelTypeRef instead of Sentinel type
ref constant.
* ParamDef.cs: New method to check if this parameter is the sentinel
* TypeRef.cs: Add some functionality for creating valuetypes
* Sentinel.cs: New type represents the sentinel
svn path=/trunk/mcs/; revision=17042
* Compiler.cs: Add method LocalNameOf, to get the local name of a
string.
* XslTransformProcessor.cs: Support for setting the XmlResolver.
* XslElement.cs, XslAttribute.cs: Better support for namespaces.
* XslAvt.cs: When precalculating, if the AVT is null (ie, the
attribute was not specified), just return null, that will be the
result.
* ManagedXslTransform.cs: use the resolver given.
svn path=/trunk/mcs/; revision=17040
* ArrayList.cs: added / so that gvim syntax highlight doesn't go crazy.
* CollectionBase.cs: fixed several bugs reported by Carlos Barcenilla
([email protected]). Most of the patch is also his.
svn path=/trunk/mcs/; revision=17036
types use LabelInfos for label references now.
* BranchInstr.cs: Take a LabelInfo instead of information on a label.
* HandlerBlock.cs: Take a LabelInfo instead of information on a label.
* MethodDef.cs: Return LabelInfo from AddLabel methods. New method for
adding a reference to a label.
svn path=/trunk/mcs/; revision=17022
* DTDObjectModel.cs : Added BaseURI (but not used yet).
DTDAttListDeclaration.ctro() now requires root dtd object model.
* DTDValidatingReader.cs : Read() now expands EntityReference if
entity handling of validating reader is ExpandEntities.
* XmlReader.cs,
XmlTextReader.cs,
XmlNodeReader.cs,
XmlValidatingReader.cs : Implemented "virtual" ReadInnerXml and
ReadOuterXml which are modified in MS.NET 1.1.
* XmlConstructs.cs : added int version of IsValid, IsInvalid,
IsContent, IsMarkup and IsNCNameStart.
Fixed int version of IsXXX() to check array index range.
Added IsValidName (string).
* XmlTextReader.cs :
- Read() handles document with non document element as an error.
- ReadText() and ReadCharacterReference() checkes illegal characters.
- ReadEntityReference() checks name validity.
- ReadProcessingInstruction() rejects such name that starts with
"xml" ignoring case, and checks attributes more strictly.
- ReadDeclaration() rejects unrecognized kind of declaration.
- In many places, added "required whitespace" check in DTD markup.
- DTD content model now disallows mixing use of '|' and ','.
svn path=/trunk/mcs/; revision=17012
* MethodDef.cs: Less elegant but more bugfree method of doing explicit
offsets for labels. Just put the offset labels in another list and
define them in another loop.
svn path=/trunk/mcs/; revision=17007
needed so the call conv can be modified for the newobj operation which
is implicitly instance.
* ExternMethodRef.cs: Expose call conv. Don't resolve vararg methods
more then once.
* GlobalMethodRef.cs: Expose call conv
* TypeSpecMethodRef.cs: Expose call conv
* MethodInstr.cs: For newobj operations set the call conv to instance
svn path=/trunk/mcs/; revision=17005
shift the words of a float64 value on ARM.
* icall.c: new icall ves_icall_System_Double_AssertEndianity to utilise
above macro.
svn path=/trunk/mono/; revision=17002
* XmlDocumentFragment.cs : I missed to add it in relation to the
previous XmlParserContext patch. Similar to XmlAttribute/XmlElement.
* XmlNodeReader.cs : removed some TODO attributes.
* DTDValidatingReader.cs,
XmlValidatingReader.cs : Implemented ResolveEntity().
svn path=/trunk/mcs/; revision=17001
* XmlSchema.cs :
- Changed missingElementTypeRefs from Hashtable to ArrayList.
- Added internal XmlSchemas for keeping imported schemas.
- Added private Compile() that takes the original rootSchema and
schema location stack for nested inclusion check.
- Added basic xs:import and xs:include support.
- Compile() is now aware of included XmlSchemaObject items.
- Changed Compile() to fill missing elements' types and that of
referencing elements.
- Read() now adds SourceUri property (although only to itself).
* XmlSchemaCollection.cs : Implemented Add().
* XmlSchemaCollectionEnumerator.cs :
Changed .ctor() to use schema collection as its argument.
Fixed Current to return hashtable's Value, instead of Current
(which returns DictionaryEntry).
* XmlSchemaComplexType.cs :
Added internal static AnyType.
Compile() is now searches for its base type into other schemas.
* XmlSchemaElement.cs : anyType is supported.
It now searches for type information after Compile().
SetReferedElementInfo() is now changed to SetSchemaType().
* XmlSchemaObjectTable.cs :
It had problems similar to schema collection. Now it uses internal
class XmlSchemaObjectTableEnumerator to support GetEnumerator().
* XmlSchemaParticle.cs : added internal class XmlSchemaParticleEmpty
and internal static Empty.
svn path=/trunk/mcs/; revision=17000
the site name.
* IsolatedStorageInfo.cs (CreateAssemblyFilename):
(CreateDomainFilename): Replace String.Format with Path.Combine.
svn path=/trunk/mcs/; revision=16967
NET_1_1.
* DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
* XmlDataDocument.cs (BaseURI):
(InnerXml):
(IsReadOnly):
(this):
(LocalName):
(Name):
(OwnerDocument):
(WriteContentTo):
(WriteTo): Removed, these do not need to be redefined, as
they are inherited from XmlDocument already.
svn path=/trunk/mcs/; revision=16966
* Compiler.cs: Add support for key, utility function to parse
QName's from the XsltContext. Store keys in the CompiledStyle, not
in the Stylesheet.
* XslKey.cs: Real implementation
* XslStylesheet.cs: Move the keys to CompiledStyle.
* XsltCompiledContext.cs: Implement the key function
* Iterator.cs: Allow creation of an EnumeratorIterator with an
XmlNamespaceManager
svn path=/trunk/mcs/; revision=16959
* unicode.c (ves_icall_System_Char_IsPunctuation): The set of
classes that are a punctuation character in .NET is not the same a
g_unichar_ispunct.
svn path=/trunk/mono/; revision=16958
* CryptoStreamTest.cs: New. Very basic test for CryptoStream + the
test case from bugzilla #46143 from Joerg Rosenkranz.
* RSACryptoServiceProviderTest.cs: Fixed some exceptions that are
different from .NET 1.0 and 1.1.
svn path=/trunk/mcs/; revision=16954
* Parser.jay:
Nested predicates (uses ExprFilter instead)
more type safety
make grammar look more like w3c spec
* Expression.cs:
remove ExprStep, ExprPredicates
NodeTest is now a NodeSet
more type-safety
* Iterator.cs:
PredicateIterator now only takes a single predicate expression
more type-safety
* XPathNavigator.cs:
simplified SelectTest
* XPathException.cs:
fixed indenting
svn path=/trunk/mcs/; revision=16953
* XmlParserContext.cs,
XmlAttribute.cs,
XmlElement.cs : Added internal Dtd and new internal XmlParserContext
.ctor() that takes DTDObjectModel. And then rewrote classes which
uses DTD information. Changed DocTypeName, InternalSubset, PublicId
and SystemId to use DTDObjectModel.
* DTDObjectModel.cs :
Added DTDObjectModel.InternalSubsetHasPEReference.
Added DTDEntityDeclaration.IsInternalSubset.
* XmlTextReader.cs :
Added internal GetInternalParserContext (to build entity reader).
Added private isIntSubset to check if the DTD subset is internal or
external, which might affect well-formedness constraints.
Changed GenerateDTDObjectModel to return the resulting DTD model.
* XmlEntityReference.cs : implemented BaseURI.
* XmlNodeReader.cs :
- Implemented ResolveEntity() and CanResolveEntity(). In fact
it leads too many changes on almost all methods and properties,
since they now must be aware of entityReader.
- fixed ownerElement that might be used to return from attribute
value to the element through parent attribtues.
- Now changed indexer to call GetAttribute() and moved actual logic
to the matching GetAttribute() methods.
svn path=/trunk/mcs/; revision=16946
* XslVariable.cs: Add IsEvaluated.
* Compiler.cs: To resolve a variable you now need to pass the
processor, so that it can be passed to IsEvaluated. A local will
only be resolved if it has already been evaluated.
* XsltCompiledContext.cs: Pass along the processor.
svn path=/trunk/mcs/; revision=16942
* configure.in, etc.: portability fixes and support for
buidling outside the srcdir from Laurent Morichetti <[email protected]>.
svn path=/trunk/mono/; revision=16937
* ManagedXslTransform.cs: Hold reference to CompiledStyle, not the
XslTransformProcessor. Will help with thread safty.
* Compiler.cs, XslTemplate.cs, XslTransformProcessor.cs: Store
variable values in the XslTransformProcessor.
* XsltCompiledContext.cs: If the scope is null, don't look there!
* Debug.cs: New method Assert
* XslApplyTemplates.cs, XslCallTemplate.cs, XslCompiledElement.cs,
XslTemplateContent.cs, XslVariable.cs:
Store variable values in the XslTransformProcessor
svn path=/trunk/mcs/; revision=16917
(GetStore): Update storage_scope accordingly.
(GetUseStoreForAssembly): Include IsolatedStorageScope.User.
(GetUseStoreForDomain): Include IsolatedStorageScope.User and
IsolatedStorageScope.Assembly.
* IsolatedStorage.cs:
(CurrentSize):
(MaximumSize): throw InvalidOperationExceptions. This is a
subclass responsibility.
(Scope): Implemented using a static field, storage_scope.
(SeparatorInternal)
(SeparatorExternal): Implemented. Use Path.DirectorySeparatorChar
for SeparatorExternal.
svn path=/trunk/mcs/; revision=16915
* CryptoStream.cs: Fixed bug #46143 (exception) - however we dont
returns the same result as MS. Class needs to be re-written.
svn path=/trunk/mcs/; revision=16908
a TypeData without a Type. Added ListItemTypeData property.
* XmlTypeMapping.cs: Added property for checking if a ListMap represents an
array of arrays. Added also a property to get the nested array map.
* XmlCodeExporter.cs: First implementation of code exporter.
svn path=/trunk/mcs/; revision=16901
* AssemblyInfo.cs: Updated version to 0.25.99 (all tools).
* MakeCert.cs: Added support for Extended Key Usage (-eku).
It's now possible to create SSL certificate with the tool.
svn path=/trunk/mcs/; revision=16897
* Makefile.am, cpu-sparc.md, exceptions-sparc.c, mini-sparc.c,
mini-sparc.h, tramp-sparc.c: Beginning of sparc support
from Mark Crichton <[email protected]> and Christopher Taylor
([email protected]).
svn path=/trunk/mono/; revision=16892
* UserControl.cs: Added attribute
* BasePartialCachingControl.cs: New class and paritally implemented
* DesignerDataBoundLiteralControl.cs: New class and implemented
* DesignTimeTemplateParser.cs:
* PartialCachingControl.cs:
* StaticPartialCachingControl.cs: New class and paritally implemented
svn path=/trunk/mcs/; revision=16883
* IntPtrStream.cs (Read): Use correct offset here; Change the
code to use a byte* instead of an IntPtr to reduce the number of
casts used.
svn path=/trunk/mcs/; revision=16858
* expression.cs (Invocation.MakeUnionSet): Patch from Lluis
Sanchez : use TypeManager.ArrayContainsMethod instead of a direct
reference comparison.
(TypeManager.ArrayContainsMethod): When we have a MethodInfo, also
examine the ReturnType for equality - this is necessary in the
cases of implicit and explicit operators whose signature also
includes the return type.
svn path=/trunk/mcs/; revision=16857
* conv-lib.cs: New Multi stage compilation test for bug #47043.
* conv-main.cs: Main for the above.
* Makefile: Update.
svn path=/trunk/mcs/; revision=16856
* ArrayList.cs: Deployed ArrayList from Tum; Fixed iterator to
allow nulls, and inline a few calls to make profiling more useful.
svn path=/trunk/mcs/; revision=16849
* IntPtrStream.cs (Read): Use Marshal.Copy instead of the now
deprecated MemCopy.
(IntPtrStream): New stream implementation, it maps to a region in
memory.
svn path=/trunk/mcs/; revision=16846
* icall.c: Add new MemCopy internalcall.
(ves_icall_System_Reflection_Assembly_GetManifestResourceInternal):
Simplified code; It is not necessary to handle all the cases here,
as the C# code takes care of it. Only handle the case of the name
resource embedded into the assembly.
Changed signature to return the data pointer and the size of the
data.
2003-07-26 Miguel de Icaza <[email protected]>
* reflection.c (mono_image_get_method_info): Allow for 0x40 to be
encoded. (Partition II.22.1.7: PInvokeAttribute:SupportsLastErr).
svn path=/trunk/mono/; revision=16843
doesn't have the mehod, look at the parent of the parent.
* object.c: mono_message_init(): use the attribute PARAM_ATTRIBUTE_OUT
to check if a parameter is an in or out parameter
(PARAM_ATTRIBUTE_IN is not set by default).
mono_method_return_message_restore(): Use mono_class_value_size to
get the size of a value type. mono_type_stack_size (parameterType)
does not return the correct value if parameterType is byRef.
mono_load_remote_field(), mono_load_remote_field_new(),
mono_store_remote_field(), mono_store_remote_field_new():
raise exception if the remote call returns an exception.
svn path=/trunk/mono/; revision=16837
* Type.cs, MonoType.cs, ArgIterator.cs: pass the handles values
to icalls, to avoid special cases in some call conventions.
svn path=/trunk/mcs/; revision=16832
makes it easier to create filters using braces, labels, or offsets
* HandlerBlock.cs: Allow handler blocks to be created using positions,
offsets, and labels.
* MethodDef.cs: Add methods to create labels all 3 ways, and emit
labels created by each of the methods.
* TryBlock.cs: Use a handler block instead of label strings. This
allows all three methods of label creation to be used.
svn path=/trunk/mcs/; revision=16828
2003-07-26 Miguel de Icaza <[email protected]>
* namespace.cs: Cache the result of the namespace computation,
instead of computing it every time.
2003-07-24 Miguel de Icaza <[email protected]>
* decl.cs: Use a global arraylist that we reuse over invocations
to avoid excesive memory consumption. Reduces memory usage on an
mcs compile by one meg (45 average).
* typemanager.cs (LookupTypeReflection): In .NET pointers are
private, work around that.
2003-07-23 Miguel de Icaza <[email protected]>
* literal.cs (IntLiteral): Define Zero and One static literals.
* cs-parser.jay (integer_literal): use static literals to reduce
memory usage for the most used literals (0, 1 and -1). 211kb
reduced in memory usage.
Replace all calls to `new ArrayList' with `new
ArrayList(4)' which is a good average number for most allocations,
and also requires only 16 bytes of memory for its buffer by
default.
This reduced MCS memory usage in seven megabytes for the RSS after
bootstrapping.
svn path=/trunk/mcs/; revision=16808
* DefaultContext.cs: count() should return a double
* Expression.cs: better support for handling non-double numbers
svn path=/trunk/mcs/; revision=16799
grammar changes
2003-07-28 Miguel de Icaza <[email protected]>
* codegen.cs: Compute IsGeneric correctly.
* cs-parser.jay: Introduce OP_GENERIC_LT for the grammar ambiguity
resolution.
Bring back (temporarily) OP_LEFT_SHIFT, OP_RIGHT_SHIFT,
OP_SHIFT_RIGHT_ASSIGN, OP_SHIFT_LEFT_ASSIGN. There were too many
regressions, and I was chasing more bugs than I required.
* interface.cs: Use expressions for base type names (like classes
and structs have been doing for a while now), and resolve that.
This patch should probably go into head as well.
This makes it one less user of FindType.
svn path=/trunk/mcs/; revision=16794
* UnionCodeGroup.cs:
* Url.cs: Added to CVS, basic functionality implemented, except
for CreateIdentityPermission (Site, Url) and the Resolve methods
in UnionCodeGroup.
svn path=/trunk/mcs/; revision=16789
* expression.cs (Invocation.OverloadResolve): Fix the algorithm to
handle params methods the correct way by forming only one
applicable set with params and normal methods in them. Earlier we
were looking at params methods only if we found no normal methods
which was not the correct thing to do.
(Invocation.BetterFunction): Take separate arguments indicating
when candidate and the best method are params methods in their
expanded form.
This fixes bugs #43367 and #46199.
svn path=/trunk/mcs/; revision=16788
* System.Xml.dll.sources: Add new files
* XslTransform.cs: Use the new XslTransformImpl class
* XslTransformImpl.cs: An abstract class for Xsl transforms
* UnmanagedXslTransform.cs: Contains the code that was in
XslTransform.cs
svn path=/trunk/mcs/; revision=16786
* DTDValidatingReader.cs : (Read,ValidateAttributes,ReadAttributeValue)
attribute declaration should be got independently of elementdecl.
* XmlAttribute.cs :
Added internal SetDefault() to mark as default.
Removed InnerText implementation that is just the same as XmlNode.
* XmlDocument.cs : id shouldn't be removed from table at 'trying' to
get matching elements. ReadAttributeNode() now sets default mark.
* XmlElement.cs : WriteTo() should ignore default attributes.
* XmlTextWriter.cs : shuold allow valid name char such as digits.
svn path=/trunk/mcs/; revision=16783
* class.cs (TypeContainer.DefineMembers): Use the base type's full
name when looking up the base class of a nested class. Fixes#46977.
svn path=/trunk/mcs/; revision=16782
* mono-debug-debugger.c (mono_debugger_runtime_invoke): New
method. This is a wrapper around mono_runtime_invoke() which
boxes the instance object if neccessary.
svn path=/trunk/mono/; revision=16779
* cs0075.cs: This test case was incorrect; according to the spec,
`(double) -1' is allowed since `double' is a builtin type.
However, `(A) -1' is not allowed where `A' is a valuetype and has
an implicit conversion from int.
svn path=/trunk/mcs/; revision=16776
* cs-parser.jay: Solve the abiguities with casts; fixes bugs
#46923 and #35459.
(CAST_FOLLOWING_TOKEN, NO_CAST_FOLLOWING_TOKEN): New tokens;
they're returned by the tokenizer in some cases to resolve
ambiguities with casts.
(invocation_expression): Tell the tokenizer to check whether the
following token may follow a cast.
(cast_expression): A cast is only a cast if it's followed by a
token which may actually follow a cast.
* expression.cs (ParenthesizedExpression): New class.
(Binary.DoResolve): Fix#35459.
svn path=/trunk/mcs/; revision=16774
* XmlDsigC14NTransformTest.cs: Corrected test for .NET 1.1 (that was a
bug in .NET 1.0). There are no more unit test failures on Windows.
svn path=/trunk/mcs/; revision=16773
fixes the problem with ilasm creating blank files if their is a
failure in the parsing phase.
* ExternTable.cs: Do not reference the assemblies untill after the
PEFile untill the Resolve phase.
svn path=/trunk/mcs/; revision=16765
sure to not resolve more then once.
* ExternMethodRef.cs: Resolve as a typespec method if neccasary
* ExternTypeRef.cs: Use modifiable type as base class
* FieldRef.cs: Make sure to not resolve more then once.
* GlobalFieldRef.cs: Make sure to not resolve more then once.
* GlobalMethodRef.cs: Make sure to not resolve more then once.
* ITypeRef.cs: Types no longer need the AsClassRef method
* MethodDef.cs: Only decriment param count for vararg methods if there
is an ellipsis on the end of the param list.
Fix little bug so return types allways get resolved.
* PeapiTypeRef.cs: Use TypeRef.Ellipsis for a place holder in bound
arrays instead of null
* PrimitiveTypeRef.cs: Use modifiable type as a base
* TypeRef.cs: Use modifable type as base, and let it do all the
modifications
* TypeSpecFieldRef.cs: Make sure to not resolve more then once.
* ModifiableType.cs: New base class for all types. This class will
handle all of the typemodification and determine whether methods
should be added to the type or the types typespec.
svn path=/trunk/mcs/; revision=16764
sure to not resolve more then once.
* ExternMethodRef.cs: Resolve as a typespec method if neccasary
* ExternTypeRef.cs: Use modifiable type as base class
* FieldRef.cs: Make sure to not resolve more then once.
* GlobalFieldRef.cs: Make sure to not resolve more then once.
* GlobalMethodRef.cs: Make sure to not resolve more then once.
* ITypeRef.cs: Types no longer need the AsClassRef method
* MethodDef.cs: Only decriment param count for vararg methods if there
is an ellipsis on the end of the param list.
Fix little bug so return types allways get resolved.
* PeapiTypeRef.cs: Use TypeRef.Ellipsis for a place holder in bound
arrays instead of null
* PrimitiveTypeRef.cs: Use modifiable type as a base
* TypeRef.cs: Use modifable type as base, and let it do all the
modifications
* TypeSpecFieldRef.cs: Make sure to not resolve more then once.
* ModifiableType.cs: New base class for all types. This class will
handle all of the typemodification and determine whether methods
should be added to the type or the types typespec.
svn path=/trunk/mcs/; revision=16761
* XmlQualifiedName.cs : fields should never be null
* Expression.cs:
* Tokenizer.cs:
don't pass null to XmlQualifiedName constructor
* XsltArgumentList.cs:
fix type conversions in ValidateParam
allow creating params with null namespaceUri
svn path=/trunk/mcs/; revision=16753
* jscript-lexer-parser.g: Changed the namespace to
Microsoft.JScript.Tmp.
* jscript-lexer-parser.g: Fixwd a typo at source_elements rule.
* jscript-lexer-parser.g: Got the name of a
global_function_declaration and also its return type if
available.
* jscript-lexer-parser.g: Added syntatic rule for print_statement.
* jscript-lexer-parser.g: Initial construction of AST for
enum_statement and package_statement.
* jscript-lexer-parser.g: Fixed the enum_statement to accept
empty enum declarations.
* jscript-lexer-parser.g: Got the type of a
veriable_declaration.
* jscript-lexer-parser.g: Initial construction of AST for
primary_expression (in particular literal).
svn path=/trunk/mcs/; revision=16738
* driver.cs: Modified the driver structure to be compatible
with our new CodeGenrator and SemanticAnalizer. I
removed the builders from Reflection.Emit to the
CodeGenerator. Added an ASTList, SemanticAnalizer and
CodeGenerator here. Adde methods Run, GenerateCode
svn path=/trunk/mcs/; revision=16737
* Decided to change temporarly namespace name
Microsoft.JScript to Microsoft.JScript.Tmp in order to be able
to run the code generated by our CIL code generator (on next
commit will come). The problem is that we don't have the
runtime support for our compiler, this involve VsaEngine class
and its "friends", which I have not found a lot of
doumentation for. If someone knows a docs place for them,
don't hesitate to send me a email pointing to them.
* Changed from public to internal Visit function at some
classes.
* Package.cs: Added Name and Members fields.
* SemanticAnalizer.cs: Added methods VisitPrint and
VisitStringLiteral.
* VariableDeclaration.cs: Added Type field.
* Visitor.cs: Changed from public to internal. Added
VisitPrint and VisitStringLiteral methods.
* VsaEngine.cs: Fixed namespace name from Microsoft.JScript to
Microsoft.JScript.Vsa and then to Microsoft.JScript.Vsa.Tmp.
svn path=/trunk/mcs/; revision=16731
for OwnerElement.IsRooted to fix the build..
* SoapServices.cs (XmlNsForClrTypeWithNsAndAssembly):
Fixed typo. It's 'Ns', but 'Ms'.
svn path=/trunk/mcs/; revision=16721
* DTDValidatingReader.cs :
- Added ID support in ValidateAttributes().
- More refined ReadAttributeValue() support for non-expanding entity
situation
- It should handle LocalName, Name, Prefix, NamespaceURI and Value
correctly when the reader is on each of the value nodes of an
attribute. Now XmlDocument.ReadNode() should work well.
* XmlDocument.cs :
- added idTable, AddIdenticalAttribute(), GetIdenticalAttribute() and
RemoveIdenticalAttribute()
- Implemented GetAttributeById().
* XmlAttributeCollection.cs :
- added private ownerDocument property and replaced
ownerElement.OwnerDocument with it.
- Added AdjustIdenticalAttribute() and it is used in SetNamedItem().
It calls XmlDocument.{Add|Remove}IdenticalAttribute().
- Added RemoveIdenticalAttribute() and it is used in Remove().
(I also added AddIdenticalAttribute() but is not used.)
svn path=/trunk/mcs/; revision=16717
* XmlDocumentType.cs :
modified private DTD to dtd and added internal DTD (the same thing).
* XmlElement.cs :
Fixed SetAttributeNode() to check if specified attribute is already
set to the other element. In fact it is W3C DOM's specification but
MS.NET 1.0 failed to catch it.
* XmlTextReader.cs :
ReadAttributeValue() should check if the value of the attribute is
already read when the whole value is entity reference.
Also, Name of text nodes should be "", not "#text"
svn path=/trunk/mcs/; revision=16716
* BuiltInDatatype.cs : XsdIDRefs.ParseValue () should be implemented.
* XmlSchemaDatatype.cs : public Whitespace and protected Normalize()
should be internal.
svn path=/trunk/mcs/; revision=16715
* error-6.cs: New test for bug #46907.
* Makefile.am (test-multi-local): Run the multi-test tests.
(all-local): Run run-test-local and test-multi-local.
svn path=/trunk/mcs/; revision=16711
* expression.cs (Indexers.Indexer): New nested struct; contains
getter, setter and the indexer's type.
(Indexers.Properties): This is now an ArrayList of
Indexers.Indexer's.
(IndexerAccess.DoResolveLValue): Correctly set the type if the
indexer doesn't have any getters.
* assign.cs (Assign.DoResolve): Also do the implicit conversions
for embedded property and indexer assignments.
svn path=/trunk/mcs/; revision=16709
* cs-tokenizer.cs (Tokenizer.xtoken): Report a CS1040 if a
preprocessor directive is not the first non-whitespace character
on a line.
svn path=/trunk/mcs/; revision=16707
* namespace.cs (NamespaceEntry.Lookup): New method; rewrote the
namespace parsing, follow the spec more closely.
* rootcontext.cs (RootContext.NamespaceLookup): Use the new
NamespaceEntry.Lookup().
svn path=/trunk/mcs/; revision=16706
* FormatterServices.cs:
(GetSerializableMembers): check that all base types are serializable
when getting their fields. Fixes bug #46875.
svn path=/trunk/mcs/; revision=16705
* XmlAttribute.cs : .ctor() shouldallow localName "xml" (not prefix)
with http://www.w3.org/XML/1998/namespace.
* XmlEntity.cs : patch by Aleksey Sanin. InnerText is now supported.
* XmlNode.cs : InnerText should handle CDATA and whitespaces.
* XmlTextReader.cs : Should allow " (#PCDATA)* " in ReadContentSpec().
* XmlTextWriter.cs : Quick fix for accepting (and writing) same-named
attributes (as MS.NET does). It isn't good way and I may change it.
svn path=/trunk/mcs/; revision=16702
a toplevel 'make run-test' doesn't recurse through all the directories twice
(once to make test, once to run-test).
svn path=/trunk/mcs/; revision=16692
* expression.cs (Invocation.OverloadResolve): Perform the check
which disallows Invoke to be directly called on a Delegate.
(Error_InvokeOnDelegate): Report error cs1533.
svn path=/trunk/mcs/; revision=16683
* everywhere: Remove uses of direct invocation of the 'Invoke'
method on a delegate type - that is error cs1533 now flagged by
mcs.
svn path=/trunk/mcs/; revision=16681
* cpu-g4.md, cpu-pentium.md: updates for new instructions.
* mini.c, mini.h: first cut at generics support: some new instructions
added and changed the behaviour of some of the existing ones.
svn path=/trunk/mono/; revision=16678
* MethodCore.cs (OverridesSomething): New public field; it's set
from TypeContainer.DefineMembers if this method overrides
something (which doesn't need to be a method). Fix#39462.
svn path=/trunk/mcs/; revision=16673
* expression.cs (Indexers.GetIndexersForType): Only look in the
interface hierarchy if the requested type is already an
interface. Fixes#46788 while keeping #46502 fixed.
svn path=/trunk/mcs/; revision=16667
* interface.cs (Populate*): Get rid of code which emits attributes
since the stage in which we emit attributes is the 'Emit' stage,
not the define stage.
(Emit): Move attribute emission for interface members here.
svn path=/trunk/mcs/; revision=16665
out parameter.
* MethodCall.cs: Improved checking if the requested client type for the target
object can be casted to the server type. Now not only checks type name,
but also the type hierarchy and implemented interfaces. Also implemented
method ToString().
* MethodResponse.cs: Imlemented ToString().
* ReturnMessage.cs: In the exception constructor, allow the request to be null.
Implemented ToString().
* StackBuilderSink.cs: Check type of parameters before calling the target method.
(a wrong type would make the runtime to crash).
svn path=/trunk/mcs/; revision=16659
* class.cs (TypeContainer.DefineMembers): Check whether all
readonly fields have been assigned and report warning CS0649 if
not.
* statement.cs (LocalInfo.IsFixed): Always return true if this is
a valuetype.
svn path=/trunk/mcs/; revision=16655
* XmlDsigC14NTransformTest.cs: New tests from Aleksey Sanin.
* XmlDsigC14NWithCommentsTransformTest.cs: New tests from
Aleksey Sanin.
svn path=/trunk/mcs/; revision=16636
* decl.cs (MemberCache.AddMethods): Reverse the order of the array
returned from GetMethods to make things consistent with the
assumptions MCS makes about ordering of methods.
This should comprehensively fix bug #45127 and it does :-)
* ecore.cs (MethodGroupExpr.DeclaringType): Correct bug - the
ordering is actually reverse.
* Clean up some debug messages I left lying around.
svn path=/trunk/mcs/; revision=16627
This compiler can not self host currently. Need to fix that.
* Makefile: compile to `gmcs.exe'
* driver.cs: Turn on v2 by default on gmcs.
* generic.cs (ConstructedType): Does no longer take a container
type argument; That will be taken care of later.
(ConstructedType.DoResolve, ConstructedType.ResolveAsTypeStep):
Use SimpleName to resolve for now, so we can continue the work on
the parser, until we get Type.GetType that understands generics.
(ConstructedType.ToString): Implement
(TypeArguments.Resolve): Resolve the child expressions as types.
* cs-parser.jay: Rename interface_constraints to
type_parameter_constraints
(namespace_or_type_name): Only use constructed types for the basic
construction, we will deal with identifier<...> later.
(type/type_name): No longer call DecomposeQI, as
namespace_or_type_name is always decoded now.
svn path=/trunk/mcs/; revision=16624
* DTDObjectModel.cs : Added DTDEntityDeclarationCollection and
DTDNotationDeclarationCollection and replaced Hashtables with them.
Added NormalizedDefaultValue property for DTDAttributeDefinition.
* DTDValidatingReader.cs :
- It now reads attribute values into value collection.
- Renamed consumedDefaultAttribute to consumedAttribute, and
inContent to insideContent.
- GetAttribute() should allow reader's other node state than element.
- MoveToNextAttribute() should move when reader is placed other than
the first attribute.
- HandleError() now supports ValidationType.None (i.e. does nothing).
- ValidateAttribute() now collects and resolves attribute value
entity references. (On the other hand, it doesn't support
EntityHandling.ExpandCharEntity.)
- NodeType shouldn't return Attribute after ReadAttributeValue().
Now only Text is supported, but must also support EntityReference.
- Add FilterNormalization() and partially support Normalization.
svn path=/trunk/mcs/; revision=16615
2003-07-20 Miguel de Icaza <[email protected]>
* cs-parser.jay (namespace_name): do not use
namespace_or_type_name, use qualified_identifier, because
namespace_or_type_name will soon return a composed expression
instead of a string.
(namespace_or_type_name): Instead of returning a string, now this
production returns an expression.
* codegen.cs (EmitContext): Setup IsGeneric property based on
whether our DeclSpace is generic, our the method is generic.
* modifier.cs (Modifiers.METHOD_GENERIC): New definition, use if
the method is generic.
* cs-parser.jay (type_arguments, opt_type_argument_list,
type_parameters, type_parameter_list, opt_type_parameter_list,
type_parameter,, opt_type_parameter_constraints_clauses,
type_parameter_constraints_clauses,
type_parameter_constraint_clause, type_parameter_constraint,
interface_constraints): Add new production
* decl.cs (DeclSpace): IsGeneric, flag to track whether this
DeclSpace is generic or not.
(DeclSpace.SetParameterInfo): New routine, used to set the
parameter info for a type.
(DeclSpace.LookupGeneric): Lookups a name, and if it is a generic,
returns a GenericTypeExpr
* ecore.cs (SimpleName.ResolveAsTypeStep): If our container is
generic, lookup the generic argument.
* attribute.cs: Do not allow TypeParameterExpressions in
Attributes.
* class.cs: Do not allow the Main method to be defined in a
Generic container.
* expression.cs (SizeOf): Do not allow generic types to be used as
arguments to sizeof.
* typemanager.cs (IsGeneric): Wrapper for Reflection when we have
it: whether a type is generic or not. Only works for types we are
currently building for now.
2003-01-21 Miguel de Icaza <[email protected]>
* generic.cs: New file, contains support code for generics.
* cs-parser.jay: Remove OP_SHIFT_LEFT, OP_SHIFT_RIGHT,
OP_SHIFT_LEFT_ASSIGN, OP_SHIFT_RIGHT_ASSIGN.
Update parser for the above removals.
* cs-tokenizer.cs: Do not handle <<= or >>= specially. This is
now taken care of in the parser.
svn path=/trunk/mcs/; revision=16612
This directory is only for the development of the generics version of MCS,
we will later fold all those changes into the main branch. But wanted to
share the code with others in the meantime instead of keeping a separate
tree.
svn path=/trunk/mcs/; revision=16611
* XmlTextReader.cs :
Read() now handles parser context stuff (BaseURI, XmlLang and
XmlSpace) correctly for an empty element.
Normalization property now doesn't throw an error. Will be used soon.
* XmlValidatingReader.cs : added ValidationType.None support (wait for
the next DTDValidatingReader update for "not firing event handler).
* XmlNodeReader.cs : jun. 30th commit seems wrong. It keeps its state.
svn path=/trunk/mcs/; revision=16609
* expression.cs (Invocation.OverloadResolve): Follow the spec more
closely: we eliminate methods in base types when we have an
applicable method in a top-level type.
Please see section 14.5.5.1 for an exact description of what goes
on.
This fixes bug #45127 and a host of other related to corlib compilation.
* ecore.cs (MethodGroupExpr.DeclaringType): The element in the
array is the method corresponding to the top-level type (this is
because of the changes made to icall.c) so we change this
accordingly.
(MethodGroupExpr.Name): This too.
* typemanager.cs (GetElementType): New method which does the right
thing when compiling corlib.
* everywhere: Make use of the above in the relevant places.
svn path=/trunk/mcs/; revision=16599
* Makefile: Boo-yah! Add corlib_plattest.dll, which is a
corlib test library built against the platform corlib. This
lets us test our corlib tests. On a non-mono-native platform
(Windows) we run those tests only; on a mono-native platform, we
run the full corlib test suite on our own tests.
* corlib_plattest.dll.excludes: Add this. (The result of
'grep Mono corlib_test.dll.sources')
* corlib_test.dll.sources: Extraneous newline was messing things
up.
svn path=/trunk/mcs/; revision=16597
* Makefile (SUBDIRS): Add System.Drawing.Design.dll to the
2003-07-23 Peter Williams <[email protected]>
* System.Drawing.dll.sources: Add Pens.cs
svn path=/trunk/mcs/; revision=16595
be public.
* StreamReader.cs (Initialize): This method is not exposed in the
API, mark as internal.
* SignatureHelper.cs: This class does not have the
SerializableAttribute.
* WaitHandle.cs (CheckDisposed): This method is not in the public
API, mark it as 'internal'.
* Environment.cs (SpecialFolder): Added 'Desktop' and 'MyComputer'
as values for NET_1_1.
(GetFolderPath): Return the empty string ("") for values of
SpecialFolder that have no corresponding equivalents in
Linux. Return "$HOME/Desktop" for SpecialFolder.DesktopDirectory
and "$HOME" for SpecialFolder.Personal.
* IntPtr.cs (GetObjectData): Mark it as an interface
implementation, instead of a public method.
* Guid.cs (NewGuid): Remove MonoTODOAttribute.
* TypeLoadException.cs (GetObjectData):
Create stubs for the fields that are being serialized.
* UIntPtr.cs: Removed erroneous CLSCompliantAttributes.
svn path=/trunk/mcs/; revision=16594
* win32functions.cs: Move functions that do not exist in WineLib
over to Win32_Wineless, so we do not trigger the warning messages
until a function tries to use them.
Win32() constructor: Set a hint on the appdomain that we would
prefer to have the System.Drawing API use the Win32 implementation
of the API.
* *.cs: Updated sources to use this.
svn path=/trunk/mcs/; revision=16591
* class.c: Fixes from Paolo in response to bug #45415 (Subclass
relationship between TypeBuilders while compiling corlib) and bug
45993 (Array types returned from the runtime while compiling
corlib were from the loaded corlib).
svn path=/trunk/mono/; revision=16588
* shared.c:
* daemon.c (maybe_exit): Avoid the race condition when the daemon is
closing but another client comes along when the shared data is still
visible. Should fix bugs 33671 and 35213.
svn path=/trunk/mono/; revision=16586
* cs-parser.jay: Replace all calls to `new ArrayList' with `new
ArrayList(4)' which is a good average number for most allocations,
and also requires only 16 bytes of memory for its buffer by
default.
This reduced MCS memory usage in seven megabytes for the RSS after
bootstrapping.
svn path=/trunk/mcs/; revision=16562
* rules.make (withmcs): Add this developer utility target.
'make withmcs' will build 'all' using $(INTERNAL_MCS) as its compiler
no matter what, for testing corlib builds or on Windows. As requested
by Ravi.
svn path=/trunk/mcs/; revision=16558
IVsaItem.cs, IVsaItems.cs, IVsaPersistSite.cs, IVsaReferenceItem.cs,
IVsaSite.cs: InterfaceTypeAttribute can only be applied to interfaces,
no to interface members. Build failed on windows.
svn path=/trunk/mcs/; revision=16549
* cs-parser.jay (invocation_expression): Moved
`OPEN_PARENS expression CLOSE_PARENS unary_expression' here from
`cast_expression', but create a InvocationOrCast which later
resolves to either an Invocation or a Cast.
* ecore.cs (ExpressionStatement.ResolveStatement): New virtual
method; call this before EmitStatement() to make sure that this
expression can be used as a statement.
* expression.cs (InvocationOrCast): New class; resolves to either
an Invocation or a Cast.
* statement.cs (StatementExpression): Call ResolveStatement() on
the ExpressionStatement before emitting it.
svn path=/trunk/mcs/; revision=16537
xml serialization. Modified method of writing schema. Now it creates
a XmlSchema object and serializes it using XmlSerializer.
* XmlConstants.cs: Added constants for data type names.
* XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
type specified in the column.
svn path=/trunk/mcs/; revision=16530
* mono/tests/Makefile.am: Add missing test. Make tests interruptable
by Ctrl-C. Add testinterp target to run the tests with the interpreter.
Do not try to build vararg.cs under mcs.
svn path=/trunk/mono/; revision=16524
* class.c (mono_class_layout_fields): Fix gc aware auto layout by
initializing real_size only once. Also fix bug #46602.
svn path=/trunk/mono/; revision=16522
* interp.c: Use the new metadata_section lock instead of metadata_lock.
Patch by Bernie Solomon ([email protected]).
svn path=/trunk/mono/; revision=16520
* syntax0068.cs, syntax0069.cs, syntax0071.cs, syntax0116.cs:
These are syntax errors which we'd need to catch in cs-parser.jay;
separate them from the other errors.
* cs0572.cs: New test.
svn path=/trunk/mcs/; revision=16497
* test-206.cs: New test for bug #46502.
2003-07-20 Martin Baulig <[email protected]>
* test-205.cs: New test for some namespace stuff.
svn path=/trunk/mcs/; revision=16496
* expression.cs (Invocation.VerifyArgumentsCompat): Check whether
`ref' and `out' attributes match; fixes#46220.
(MemberAccess.ResolveMemberAccess): You can't reference a type
through an expression; fixes#33180.
(Indexers.GetIndexersForType): Don't return the indexers from
interfaces the class implements; fixes#46502.
svn path=/trunk/mcs/; revision=16495
* decl.cs (AdditionResult): Added `Error'.
* enum.cs (AddEnumMember): Report a CS0076 if name is `value__'.
* typemanager.cs (TypeManager.ChangeType): Catch exceptions;
makes cs0031.cs actually work.
2003-07-20 Martin Baulig <[email protected]>
* namespace.cs: Fixed that bug which caused a crash when compiling
the debugger's GUI.
svn path=/trunk/mcs/; revision=16486
* object.c (mono_runtime_class_init): Take the metadata_section
mutex before obtaining the domain mutex.
* appdomain.h: Added definition of metadata_section mutex here.
* object.c: define metadata_mutex here.
2003-07-21 Miguel de Icaza <[email protected]>
* mini.c: Removed definition of metadata_shared mutex here.
2003-07-21 Miguel de Icaza <[email protected]>
* jit.c: Remove definition of metadata_section mutex from here
svn path=/trunk/mono/; revision=16485
empty array if the type is an array. Fixed.
ves_icall_MonoMethod_get_base_definition: if the base method
is abstract, get the MethodInfo from the list of methods of
the class.
* reflection.c: ParameterInfo.PositionImpl should be zero-based
and it was 1-based. Fixed in mono_param_get_objects.
svn path=/trunk/mono/; revision=16484
* CheckBoxList.cs: fixes bug reported on the list about the state of
the CheckButtons not being preserved across posts.
svn path=/trunk/mcs/; revision=16473
* Makefile: Add in corlib_res.dll, which we use as a basis
for tests on non-linux platforms. Nearly identical rules to
corlib_cmp: corlib - some files that cause the MS runtime to
barf.
* corlib_res.dll.excludes: Added.
svn path=/trunk/mcs/; revision=16462
of a generic type. ie Set<int32>
* TypeSpecFieldRef.cs: New File - A field ref that is attached to
a typespec. This can be used with modified types, and generic types.
* TypeSpecMethodRef.cs: New File - A method ref that is attached
to a typespec. This can be used with modified types, and generic types.
* GenericTypeRef.cs: Create method refs and field refs using the
new typespec classes.
* ITypeRef.cs: Types should now be able to have methods and fields
attached to them
* PeapiTypeRef.cs: Set UseTypeSpec to true if the type is modified
* PrimitiveTypeRef.cs: Add methods to attach fields and
methods. This just uses the TypeSpec* classes so I don't need to
create classrefs.
* TypeRef.cs: Set UseTypeSpec to true if a type is modified.
svn path=/trunk/mcs/; revision=16459
be added to type specs. This fixing bah-zillions of little
problems in ilasm. We can now add fields and methods to arrays,
reference types, and most importantly generics.
Add the GenericTypeInst class. This is an instance of a generic
type. ie Hash<int32, string>. GenericTypeSpecs now write their id
number as a compressed number, this matches the way the runtime
loads them and will allow generic types to have more then 255 type
parameters.
svn path=/trunk/mcs/; revision=16458
2003-07-20 Peter Williams <[email protected]>
* README.platforms: Update docs for changes below.
* platforms/win32.make (PLATFORM_CORLIB): Set this variable
to 'mscorlib.dll', instead of $(corlib) which everything links
against. *Almost* everything should link against our corlib --
with the exception of corlib_cmp and corlib_res.
* platforms/linux.make: Same here: corlib.dll
* rules.make: Define $(corlib) here.
class/corlib:
2003-07-20 Peter Williams <[email protected]>
* Makefile: Don't use real_corlib; use $(PLATFORM_CORLIB).
svn path=/trunk/mcs/; revision=16457
* nunit20/nunit-console/Makefile (PROGRAM): Put nunit-console.exe
in $(topdir)/class/lib so we can find our DLL's.
build:
2003-07-20 Peter Williams <[email protected]>
* config-default.make (TEST_RUNTIME): Use the platform runtime
to run tests, by default.
* profiles/default.make (TEST_RUNTIME): If our test runtime is
mono, use the --debug flag.
* executable.make (sourcefile): Add a basename so that we can
find the nunit sources and so we behave a bit more like
library.make
* config-default.make (TEST_HARNESS): Find nunit-console in its
new home.
svn path=/trunk/mcs/; revision=16456
* library.make ($(response)): Do a "Creating ..." line here.
* executable.make ($(response)): Same.
* config-default.make: Make warning more forceful.
* rules.make: Define a useful 'PLATFORM_MONO_NATIVE' that is
set if the platform does not have a native runtime (ie, linux).
Also reorder some definitions.
2003-07-20 Peter Williams <[email protected]>
* Created. See ../ChangeLog for entries earlier than
this.
svn path=/trunk/mcs/; revision=16453
* mono-debug.h: Set version number to 31.
(mono_debug_init): Added `MonoDomain *' argument.
* mono-debug-debugger.c: Reworked the type support; explicitly
tell the debugger about builtin types; pass the `klass' address to
the debugger.
svn path=/trunk/mono/; revision=16448
* typemanager.cs (LookupTypeReflection): Never expose types which
are NotPublic, NestedPrivate, NestedAssembly, or
NestedFamANDAssem. We used to return these, and later do a check
that would report a meaningful error, but the problem is that we
would not get the real match, if there was a name override.
svn path=/trunk/mcs/; revision=16444
* ChunkStream.cs:
(WantMore): true if we've not received the last chunk yet. Fixes
bug #45463. Thanks to Miguel for tracking this down and providing a
test case.
* WebConnection.cs: removed bogus ^M's.
* WebHeaderCollection.cs: provide more info when the header or value is
wrong.
svn path=/trunk/mcs/; revision=16441
* XmlSchema.cs : added support for collecting missing type references
at compilation-time.
* XmlSchemaType.cs, XmlSchemaComplexType.cs, XmlSchemaSimpleType.cs:
- Renamed qName to QNameInternal.
- Added BaseSchemaType and ContentTypeParticle support.
svn path=/trunk/mcs/; revision=16437
* XmlSchema.cs, XmlSchemaAll.cs, XmlSchemaAnnotated.cs,
XmlSchemaAnnotation.cs, XmlSchemaAny.cs, XmlSchemaAnyAttribute.cs,
XmlSchemaAttribute.cs, XmlSchemaAttributeGroup.cs,
XmlSchemaAttributeGroupRef.cs, XmlSchemaChoice.cs,
XmlSchemaComplexContent.cs, XmlSchemaComplexContentExtension.cs,
XmlSchemaComplexContentRestriction.cs, XmlSchemaComplexType.cs,
XmlSchemaElement.cs, XmlSchemaGroup.cs, XmlSchemaGroupRef.cs,
XmlSchemaIdentityConstraint.cs, XmlSchemaImport.cs,
XmlSchemaInclude.cs, XmlSchemaKey.cs, XmlSchemaKeyref.cs,
XmlSchemaNotation.cs, XmlSchemaObject.cs, XmlSchemaRedefine.cs,
XmlSchemaSequence.cs, XmlSchemaSimpleContent.cs,
XmlSchemaSimpleContentExtension.cs,
XmlSchemaSimpleContentRestriction.cs, XmlSchemaSimpleType.cs,
XmlSchemaSimpleTypeList.cs, XmlSchemaSimpleTypeRestriction.cs,
XmlSchemaSimpleTypeUnion.cs, XmlSchemaUnique.cs,
XmlSchemaXPath.cs,
As to Compile() and Validate(),
- Added CompilationId and check it while compiling schema components.
- Code refactory. Replaced literal xmlns with XmlSchema.Namespace
- Replaced XmlSchemaInfo with compiling XmlSchema itself (XmlSchema
also has PSVI components inside it, so passing itself seems enough).
- Related to above change, IDCollection was moved to XmlSchema, and
blockDefault/finalDefault/blockResolved/finalResolved resolution
was changed to reference only to schema.BlockDefault/FinalDefault.
- The similar change has done against XmlSchemaForm related stuff.
- Changed compilation order of schema type definitions (it is
workaround). First it compiles types, and then it compiles others.
* XmlSchemaElement.cs : added ElementType PSVI contribution support.
svn path=/trunk/mcs/; revision=16435
* DTDValidatingReader.cs :
changed base class to XmlReader and implemented IXmlLineInfo members.
changed .ctor() argument from event handler to validating reader.
Removed some #if ... #else ... #endif blocks.
Added validation event support for Read() using HandleError().
* XmlValidatingReader.cs : added internal OnValidationEvent().
* XmlDocument.cs : ReadNode() now checks reader's state more strictly.
svn path=/trunk/mcs/; revision=16430
* namespace.cs (Namespace, Name): Do not compute the namespace
name dynamically, compute it in the constructor. This reduced
memory usage by 1697 KB.
* driver.cs: Use --pause to pause at the end.
svn path=/trunk/mcs/; revision=16417
* build/library.make (dist-local): Fancy make dist magic gives
way to boring old 'for'.
* build/executable.make (dist-local): Ditto.
class/corlib:
2003-07-18 Peter Williams <[email protected]>
* Makefile (dist-local): The fancy shell script was neat, but
ultimately unnecessary and counterproductive. Alas.
svn path=/trunk/mcs/; revision=16380
* Test/Mono.Directory.LDAP/BindSimpleTest.cs: csc interprets the bare LDAP
as a namespace, not as the class. Give it the fully qualified name.
* Test/Mono.Directory.LDAP/QueryRootDSETest.cs: Same.
svn path=/trunk/mcs/; revision=16375
* Npgsql/AssemblyInfo.cs: Don't strongname the assembly, because
we can't unless corlib is strongnamed too. Not a wonderful solution,
but I don't think this ever worked anyway.
svn path=/trunk/mcs/; revision=16374
* Mono.Data.SybaseTypes/SybaseDecimal.cs: csc.exe is more
stringent about namespaces than mcs. We need to disambiguate
System.Math from Mono.Math here.
svn path=/trunk/mcs/; revision=16373
* DTMXPathDocumentBuilder.cs: csc.exe is more stringent about namespaces
than mcs. We need to disambiguate System.Math from Mono.Math here.
svn path=/trunk/mcs/; revision=16372
* FieldInfo.cs, MonoField.cs: cleanups. Cache some info and use
finer-grained icalls. Requires a matching runtime.
svn path=/trunk/mcs/; revision=16350
getting it from the "this" socket instance. Did not work
if the socket is a subclass of Socket.
Also fixed bug #35371.
svn path=/trunk/mono/; revision=16343
not necessary to query them for every object.
* ObjectWriter.cs: If the value being serialized is a value type (not boxed)
then there is no need to register it in the ObjectIDGenerator, because it is
not possible to have two references to the same value type object.
svn path=/trunk/mcs/; revision=16342
number of calls to GetType(). (Patch by Paolo).
Also added a NextId property that returns a new Id without registering
an object.
svn path=/trunk/mcs/; revision=16341
* metadata.c: fixed size for TypedByRef.
* loader.c: when searching for a method, consider the vararg amrker.
* unicode.c, decimal.c: constify some arrays.
svn path=/trunk/mono/; revision=16340
* expression.cs (LocalVariableReference.Emit, EmitAssign,
AddressOf): Do not use EmitThis, that was wrong, use the actual
this pointer.
svn path=/trunk/mcs/; revision=16323
* build/profiles/default.make: Try to make this smarter so
that we can build on Windows. Specifically, don't require
the mono runtime. Combined with the corlib $(BOOT_COMPILE) change,
this should make corlib build out of the box, I think.
2003-07-17 Peter Williams <[email protected]>
* Makefile ($(testlib)): Build with $(BOOT_COMPILE), not $(CSCOMPILE),
which sort of makes sense and is needed on Windows too.
($(corlib)): same.
$(cmplib): Don't include the makefrag to save the Windows build and some
time.
svn path=/trunk/mcs/; revision=16321
* interface.cs (Define): Do nothing here since there are no
members to populate etc. Move the attribute emission out of here
since this was just totally the wrong place to put it. Attribute
application happens during the 'Emit' phase, not in the 'Define'
phase.
(Emit): Add this method and move the attribute emission here
* rootcontext.cs (EmitCode): Call the Emit method on interface
types too.
svn path=/trunk/mcs/; revision=16308
A whole passel of build system changes. Doc updates:
* build/README.makefiles: Doc updates.
* build/profiles/net_1_0.make: Doc changes.
* INSTALL.txt: A few more touchups.
Better defaults:
* build/config-default.make (prefix): Default install prefix
should be /usr/local.
* build/profiles/bootstrap.make: This profile ...
* build/profiles/default.make: ... is now the default.
* build/profiles/atomic.make: And the default is now this.
Fixes for pre-build checks:
* Makefile: Do the platform and (new) profile checks
before the build, which took some infrastructure changes.
* build/rules.make: Allow a Makefile to specify its own all/install/etc
targets.
* build/profiles/default.make (profile-check): Add a blank
target here.
* build/profiles/atomic.make: Check for a full MCS install to
build against.
HP/UX fixes with help from Bernie Solomon:
* build/config-default.make (ECHO_ESCAPE): HP/UX 'echo'
doesn't need a -e parameter to interpret escape codes. Test for
that and define a configuration parameter.
* build/library.make ($(makefrag)): Use $(ECHO_ESCAPE)
instead of assuming that 'echo -e' will interpret escape
codes.
* build/executable.make ($(makefrag)): Here too.
A make distcheck fix:
* Makefile: Inherit the current prefix so that the build can
find the right System.Xml.dll.
And Windows build fixes with the invaluable help of Sebastian
Pouliot (in various subdirectories).
class/Mono.Data.SqliteClient:
2003-07-16 Peter Williams <[email protected]>
* Makefile (LIB_MCS_FLAGS): Add /r:System.dll here. Why wasn't
this necessary with MCS? (csc.exe needs it.)
class/System:
2003-07-16 Peter Williams <[email protected]>
* Makefile (SCARY_LIB): Flip around since what was bootstrap
is now default.
class/System/Test/System.Net:
2003-07-16 Peter Williams <[email protected]>
* IPAddressTest.cs: #if NET_1_1 for some IPv6 tests that
rely on some NET_1_1-only features.
class/System/Test/System.Net.Sockets:
2003-07-16 Peter Williams <[email protected]>
* TcpListenerTest.cs: Initialize outSock to null to
prevent an mcs compile error.
class/System.Data:
2003-07-16 Peter Williams <[email protected]>
* Makefile: Flip around for the new default build
profile. (In a separate commit)
class/System.Windows.Forms:
2003-07-16 Peter Williams <[email protected]>
* System.Windows.Forms.dll.sources: Don't build with two
AssemblyInfo.cs files.
class/corlib:
2003-07-16 Peter Williams <[email protected]>
* Makefile ($(test_makefrag)): Use $(ECHO_ESCAPE) for HP/UX
portability fixes.
(all-local): Don't build $(cmplib) by default, it's not something
most people need, and the build is broken on Windows right now anyway.
ilasm:
2003-07-16 Peter Williams <[email protected]>
* Makefile (ILParser.cs): Move this from parser/ so we avoid
slash direction issues on the Windows build.
* .cvsignore: Add ILParser.cs here.
ilasm/parser:
2003-07-16 Peter Williams <[email protected]>
* .cvsignore: ILParser.cs has been moved.
tools:
2003-07-16 Peter Williams <[email protected]>
* Makefile (DIST_ONLY_SUBDIRS): Don't build SqlSharp, it's
very old and doesn't build on Windows.
svn path=/trunk/mcs/; revision=16292
* class.cs (MethodData.Define): While checking if a method is an
interface implementation, improve the test: If we are not public
(use new test here: use the computed MethodAttributes directly,
instead of the parsed modifier flags) check if the `implementing'
method comes from an interface or not.
* pending.cs (VerifyPendingMethods): Slightly better error
message.
* makefile: add test target that does the mcs bootstrap.
svn path=/trunk/mcs/; revision=16286
* socket-io.c: Fixed compilation for gcc < 3.2.
Fixed compilation for machines that don't have AF_INET6 (thanks to
Bernie Solomon <[email protected]> for that part.)
Fixed compile warnings.
Fixed formatting and line endings.
svn path=/trunk/mono/; revision=16270
* XmlAttribute.cs :
.ctor() should reject xml- or xmlns-prefixed node.
* XmlNamespaceManager.cs :
added some xmlns validity check.
* XmlNode.cs :
optimized GetNamespaceOfPrefix() and GetPrefixOfNamespace() by
avoiding XmlNamespaceManager creation.
* XmlNodeReader.cs :
doctype node should return PUBLIC and SYSTEM for its indexer,
and Value should be internal subset,
svn path=/trunk/mcs/; revision=16266
maps with the same name and namespace. To avoid this, maps must be registered
using the real map namespace, not the default namespace (the namespace can
change if the type has a XmlType or SoapType attribute).
* XmlArrayItemAttribute.cs: Set IsNullable to true by default.
* XmlSchemaExporter.cs: Implemented method ExportMembersMapping.
Other small fixes.
* XmlSerializationWriterInterpreter.cs: GetStringValue: return null if the value
is null.
svn path=/trunk/mcs/; revision=16262
* Makefile: Make sure that we use the newly generated compiler
to run the tests, not the installed one.
Modify targets to compile and run in one go instead of separate
targets for each task.
* test-196.cs: Fix careless error - returning a value from a void
Main ().
Add it back to the test suite.
svn path=/trunk/mcs/; revision=16253
* expression.cs (OverloadResolve): Report error only if Location
is not 'Null' which means that there was a probe going on.
svn path=/trunk/mcs/; revision=16252
* Hashtable.cs: Patch from [email protected], GetEnumerator should be
returning DictionaryEntrys, instead of just the Key of the table.
svn path=/trunk/mcs/; revision=16251
* build/rules.make (dist-recursive): Fix recursive rules
to work on HP/UX /bin/sh. Patch from Bernie Solomon
<[email protected]>.
svn path=/trunk/mcs/; revision=16244
* TypeData.cs: IsComplexType now returns true for IXmlSerializable types.
* XmlAttributes.cs: Fixed bug when reading the value of DefaultValueAttribute.
* XmlReflectionImporter.cs: Set the BaseMap property of map. Several small fixes.
* XmlSchemaExporter.cs: Implemented.
* XmlSchemas.cs: Support schemas with TargetNamespace set to null.
* XmlSerializationWriter.cs: FromXmlQualifiedName (): return null if the qname is null.
GetNamespacePrefix (): no need to add xmlns attribute if namespace is null.
* XmlSerializationWriterInterpreter.cs: Fixed management of default values.
GetStringValue() returns null if the value is null, instead of empty string.
(attributes with null values are not written).
* XmlTypeMapElementInfo.cs: added IsTextElement and IsUnnamedAnyElement properties.
* XmlTypeMapMemberAttribute.cs: added DataTypeNamespace and removed DataType.
DataType value can is now in TypeData.
* XmlTypeMapMemberElement.cs: Small fix.
* XmlTypeMapping.cs: Added FindMember method and BaseMap property.
svn path=/trunk/mcs/; revision=16235
* test-204.cs: User defined conditional logical operators; bug #40505.
2003-07-14 Martin Baulig <[email protected]>
* test-203.cs: Added test for bug #33026.
svn path=/trunk/mcs/; revision=16226
* expression.cs (ConditionalLogicalOperator): New public class to
implement user defined conditional logical operators.
This is section 14.11.2 in the spec and bug #40505.
svn path=/trunk/mcs/; revision=16224
* codegen.cs (EmitContext.InFixedInitializer): New public field.
* ecore.cs (IVariable.VerifyFixed): New interface method.
* expression.cs (Unary.ResolveOperator): When resolving the `&'
operator, check whether the variable is actually fixed. Fixes bug
#36055. Set a variable definitely assigned when taking its
address as required by the spec.
* statement.cs (LocalInfo.IsFixed): New field.
(LocalInfo.MakePinned): Set `IsFixed' to true.
svn path=/trunk/mcs/; revision=16214
* attribute.cs (Attribute.Resolve): While doing a Member lookup
for .ctors, ensure that we only ask for members declared in the
attribute type (BindingFlags.DeclaredOnly).
Fixes bug #43632.
* expression.cs (Error_WrongNumArguments): Report error 1501
correctly the way CSC does.
svn path=/trunk/mcs/; revision=16210
* ServicePoint.cs: Removed Connect and GetEndPoint methods.
Removed reverse resolution when uri is literal IP address.
* WebConnection.cs: IPv6 compatibility update: Try to connect
to all addresses returned by IPHostEntry.
* WebConnectionGroup.cs: Removed unused parameter.
svn path=/trunk/mcs/; revision=16209
* DiagnosticsConfigurationHandler.cs: Removed a never used variable
* EventLog.cs: Small update to prevent a warning
* EventLogPermission.cs: Implemented or implementation added
* EventLogPermissionAttribute.cs: Implemented or implementation added
* EventLogPermissionEntry.cs: Implemented or implementation added
* EventLogPermissionEntryCollection.cs: Implemented or implementation added
* EventLogTraceListener.cs: Implemented or implementation added
* PerformanceCounterManager.cs: Implemented or implementation added
* PerformanceCounterInstaller.cs: Made internal
* PerformanceCounterCategory.cs: Implemented few members
* PerformanceCounterPermission.cs: Implemented or implementation added
* PerformanceCounterPermissionAttribute.cs: Implemented or implementation added
* PerformanceCounterPermissionEntry.cs: Implemented or implementation added
* PerformanceCounterPermissionEntryCollection.cs: Implemented or implementation added
svn path=/trunk/mcs/; revision=16177
* interp.c: Keep alloca()-d data on a free list to prevent stack
overflow errors when valuetypes are allocated in a loop. Fixes
#27420. Is the new code still faster than using malloc/free ?
* interp.c (interp_mono_runtime_invoke): Unbox value type instances
before calling the method. Fixes appdomain2.exe.
* interp.c: Fix warnings.
* interp.c: Report unhandled exceptions correctly.
* interp.c: Implement CEE_ISINST and CEE_CASTCLASS using
mono_object_isinst. Fixes bug #45539 and reflection-enum.exe.
svn path=/trunk/mono/; revision=16170
* mono/tests/cattr-object.cs: Make it run under both mono and MS.NET.
* mono/tests/struct.cs: Add test for unboxing trampolines.
* mono/tests/bug-27420.cs: new regression test.
* mono/tests/Makefile.am: skip vararg test since it does not compile
under mono. Add testinterp target. Add new tests.
svn path=/trunk/mono/; revision=16168
* test-202.cs: Added test for bug #41975.
2003-07-13 Martin Baulig <[email protected]>
* test-201.cs: Added test for bug #35631.
2003-07-12 Martin Baulig <[email protected]>
* test-200.cs: Added test for bug #45854.
svn path=/trunk/mcs/; revision=16165
* expression.cs (MemberAccess.ResolveAsTypeStep): Try to do a type
lookup on the fully qualified name, to make things like "X.X" work
where "X.X" is a fully qualified type name, but we also have a
namespace "X" in the using list. Fixes#41975.
svn path=/trunk/mcs/; revision=16164
* assign.cs (Assign.GetEmbeddedAssign): New protected virtual
function. If we're a CompoundAssign, we need to create an embedded
CompoundAssign, not an embedded Assign.
(Assign.DoResolve): Make this work for embedded CompoundAssign's.
Fixes#45854.
svn path=/trunk/mcs/; revision=16163
* class.cs (Operator.Emit): Do not emit attributes here - it is
taken care of by the Method class that we delegate too. This takes
care of bug #45876.
svn path=/trunk/mcs/; revision=16161
* interp.c: Keep alloca()-d data on a free list to prevent stack
overflow errors when valuetypes are allocated in a loop. Fixes
#27420. Is the new code still faster than using malloc/free ?
* interp.c: Fix warnings.
* interp.c: Report unhandled exceptions correctly.
svn path=/trunk/mono/; revision=16160
* class.c (mono_class_is_assignable_from): New function to implement
the is_assignable_from logic. Used by mono_object_isinst,
Type::IsAssignableFrom () and the interpreter.
* class.c (mono_class_is_subclass_of): Make all classes a subclass of
Object, even interfaces.
* object.c (mono_object_isinst): Implement in terms of
is_assignable_from.
* icall.c (ves_icall_type_is_assignable_from): New icall.
svn path=/trunk/mono/; revision=16155
* MissingNameSpace.cs: Fixed the case where a private/ internal class that per chance has a class with the same name
in the compared assembly gets compared -> now only public classes are compared.
* MissingType: Internal nested types were always compared -> internal nested types are never compared
svn path=/trunk/mcs/; revision=16149
* XmlAttribute.cs,
XmlElement.cs : Fixed CloneNode() for bug #46129.
* XmlDocument.cs : Fixed MakeReaderErrorMessage that specified invalid
String.Format arguments, and basically XmlException.ctor(
IXmlLineInfo, message) seems good idea to use.
* XmlTextReader.cs :
- Fixed .ctor(Stream, XmlNodeType, XmlParserContext) which had
required non-null context which don't have to exist.
- Added state check. Introduced 'currentState' and 'maybeTextDecl'
(for external entity) and removed hasEnteredDocument. Added
state-check logic to ReadStartTag(), ReadEndTag(), ReadText(),
ReadCData(), ReadDoctypeDecl() and ReadWhitespace().
- Replaced throw ReaderError() with throw new XmlException() and
fixed that some error hadn't thrown, only created.
- ResetState() should re-initialize existing private members other
than some specified fields.
- Private AddAttribute() should check if the same-named attribute
already exists.
* DTDObjectModel.cs : Additive declaration for ATTLIST is availabe now.
svn path=/trunk/mcs/; revision=16131
* AssemblyFlagsAttribute.cs: Added new constructor from NET 1.1.
* AssemblyFlagsAttribute.cs: Added new property from NET 1.1.
svn path=/trunk/mcs/; revision=16124
* AssemblyBuilder.cs: Added argument checking to all methods according
to the MSDN docs. Also marked DefineUnmanagedResource and its friends
as not implemented.
* ModuleBuilder.cs: Added new property FileName used by AssemblyBuilder.
svn path=/trunk/mcs/; revision=16121
Fix for this case.
* SoapHttpClientProtocol.cs: Implemented support for asynchronous calls
(BeginInvoke and EndInvoke).
svn path=/trunk/mcs/; revision=16097
* image.h image.c: Store the metadata version string in MonoImage.
* icall.c: New icall to retrieve the image version.
* reflection.c (create_dynamic_image): Fill in the image version field
* reflection.c (build_compressed_metadata): Use the image version
from the image structure.
svn path=/trunk/mono/; revision=16088
* rootcontext.cs (RootContext.NamespaceLookup): Take a DeclSpace,
not a NamespaceEntry, so we can use DeclSpace.CheckAccessLevel().
* decl.cs (DeclSpace.FindType): Use DeclSpace.CheckAccessLevel().
* typemanager.cs (TypeManager.IsAccessibleFrom): Removed.
svn path=/trunk/mcs/; revision=16087
* expression.cs (ArrayCreation): Don't use a byte blob for arrays
of decimal. Fixes#42850.
NOTE: I also fixed the created byte blob, but this doesn't work on
the MS runtime and csc never produces any byte blobs for decimal
arrays.
svn path=/trunk/mcs/; revision=16083
* SoapClientFormatterSink.cs, SoapClientFormatterSinkProvider.cs SoapServerFormatterSink.cs, SoapServerFormatterSinkProvider.cs, SoapMessageFormatter.cs: Support for the soap serialization added to the remoting infrastructure
svn path=/trunk/mcs/; revision=16062
Added support for soap extensions. Moved some code to
WebServiceHelper. Implemented support for the two types of RoutingStyle. Added support
for In and Out headers. Improved management of exceptions.
* SoapClientMessage.cs: code to retrieve soap headers moved to SoapMessage.
* SoapExtension.cs: Added methods for getting and creating soap extensions.
* SoapMessage.cs: Added methods for getting and assigning headers to an object.
* SoapServerMessage.cs: Added setter for MethodStubInfo. Other minor fixes.
* WebServiceHandler.cs: Added support for In and Out headers. Fixed management of exceptions.
* WebServiceHandlerFactory.cs: Check if the request protocol is supported.
* WebServiceHelper.cs: Added method for reading a soap request.
svn path=/trunk/mcs/; revision=16057
* jscript-lexer-parser.g: Added conditional_compilation_directive,
which is the beginning of our support for conditional compilation
statements and directives in our parser. Added
cc_on_statement, and some lexer rules for getting the needed
tokens (COND_SET, COND_DEBUG, COND_POSITION, COND_POSITION,
COND_IF, COND_ELIF, COND_ELSE, COND_END and CC_ON.
svn path=/trunk/mcs/; revision=16049
function and it no longer works with my change; ie. we're now using my
version.
2003-07-07 Miguel de Icaza <[email protected]>
* rootcontext.cs (NamespaceLookup): Accept a DeclSpace, so we can
call the CheckAccessLevel routine. Only use types that pass the
CheckAccessLevel
svn path=/trunk/mcs/; revision=16046
* BaseCompiler.cs: first look for cached items, then generate the tree.
This should speed things up.
* CachingCompiler.cs: when compiling web services, use the full path of
the .asmx file as key when caching.
* WebServiceCompiler.cs: first look for cached items, then generate
the source file.
svn path=/trunk/mcs/; revision=16045
function and it no longer works with my change; ie. we're now using my
version.
2003-07-07 Miguel de Icaza <[email protected]>
* decl.cs (DeclSpace.FindType): CheckAccessLevel on the type as
well. Sorry, this fixes the bug Gonzalo tried to fix.
svn path=/trunk/mcs/; revision=16044
* appdomain.c: modified comment.
* gc.c: finalizer_thread can call finalizers even when finished == TRUE.
That will be its last iteration when mono_gc_cleanup is called from
mono_runtime_cleanup and before the domain is unloaded.
Fixes bug #45962.
svn path=/trunk/mono/; revision=16039
* System.Web/HttpContext.cs: Session doesn't have a setter.
* System.Web/HttpResponse.cs: Request is private.
* System.Web.SessionState/SessionDictionary.cs: locking.
* System.Web.SessionState/SessionInProcHandler.cs: use the new method
instead of the setter.
svn path=/trunk/mcs/; revision=16029
2003-07-07 Miguel de Icaza <[email protected]>
* decl.cs (DeclSpace.FindType): CheckAccessLevel on the type as
well. Sorry, this fixes the bug Gonzalo tried to fix.
* rootcontext.cs (NamespaceLookup): Accept a DeclSpace, so we can
call the CheckAccessLevel routine. Only use types that pass the
CheckAccessLevel
svn path=/trunk/mcs/; revision=16027
Rewrote the handling of namespaces to fix a lot of the issues
wrt. `using' aliases etc.
* namespace.cs (Namespace): Splitted this class into a
per-assembly `Namespace' and a per-file `NamespaceEntry'.
* typemanager.cs (TypeManager.IsNamespace): Removed.
(TypeManager.ComputeNamespaces): Only compute namespaces from
loaded assemblies here, not the namespaces from the assembly we're
currently compiling.
svn path=/trunk/mcs/; revision=16025
* typemanager.cs: Reverted patch from Gonzalo, my previous patch
already fixed it.
I thought about the memory savings here, but LookupTypeReflection
is used under already very constrained scenarios. Compiling
corlib or mcs only exposes one hit, so it would not really reduce
any memory consumption.
svn path=/trunk/mcs/; revision=16022
* EventLog.cs: Removed unneccesary attribute according to corecompare
* EventLogEntry.cs: Removed unneccesary attribute according to corecompare
* Process.cs: Removed unneccesary attributes according to corecompare, added attribute
* ProcessModule.cs: Removed unneccesary attribute according to corecompare
* ProcessStartInfo.cs: Removed unneccesary attribute according to corecompare
* ProcessThread.cs: Removed unneccesary attribute according to corecompare, fixed signature
svn path=/trunk/mcs/; revision=16010
* CodeDomProvider.cs: Removed unneccesary attribute according to corecompare
* Executor.cs: Fixed signature with ref calls according to corecompare and made neccessary changes
svn path=/trunk/mcs/; revision=16008
* corlib_linux_test.args:
* corlib_test.args: added AppDomainSetupTest and fixed a couple of typos
to make this compile.
* System/AppDomainSetupTest.cs: new tests.
svn path=/trunk/mcs/; revision=16000
* VBCodeGenerator.cs: Added and nearly completely implemented
(it compiles, but the functionallity is completely untested)
(also without a working mbas the compilaton options will fail)
(once all command line arguments for mbas are final and the warning output is final
change the apropriate code to generate these options)
* VBCodeProvider.cs: Added and implemented
svn path=/trunk/mcs/; revision=15995
* CodeCompiler.cs: Nearly completely implemented
* CodeDomProvider.cs: Added missing Attribute, restyled according to style guidelines
* CodeGenerator.cs: Fixed visibilies, added missing members, implemented members, stubbed out missing member, restyled according to style guidelines
* CodeParser.cs: Added and implemented (ok no real implementation needed ;)
* CompilerErrorCollection.cs: Removed unneeded MonoTODOs, restyled according to style guidelines
* CompilerParameters.cs: Fixed wrong properties, Added Initializers, restyled according to style guidelines
* CompilerResults.cs: Added Evidence property, added initial values
* Executor.cs: Added and partially implemented (should probably be used by CodeCompiler)
* CompilerOptions.cs: Deleted this file (such a class does not exist)
svn path=/trunk/mcs/; revision=15992
* XmlDocument.cs : Load(string filename) should close its stream.
Small change for the latest DTDObjectModel change.
* XmlTextReader.cs : Changed for the latest DTDObjectModel change (all
changed methods are only related to DTD stuff).
Now uses XmlSchemaDatatype for attribute type definition.
* XmlValidatingReader : initial (limited) support for DTD validation.
It can handle only XmlTextReader.
* DTDObjectModel.cs : changed radically for initial validation support.
* added DTDAutomata.cs and DTDValidatingReader.cs.
svn path=/trunk/mcs/; revision=15983
* XmlElement.cs : Removed extraneous xmlns output support (it should
be done by XmlTextWriter).
* XmlNode.cs : InsertBefore() now checks validity of the newChild (and
most of the changes are in fact indentation changes).
* XmlWriter.cs : WriteAttributes() now can write entity references.
WriteNode() now writes xmldecl attributes correctly.
Removed namespaceManager and xmlns check logic, since it should be
done by individual XmlTextWriter.
* XmlTextWriter.cs : Patch by Jerome. AddMissingElementXmlns () has
written multiple xmlns declarations.
Moved namespaceManager from abstract XmlWriter.
Write{Start|End}Attribute() and WriteString() now checks xmlns
attribute value. (MS.NET holds value only with this write method).
svn path=/trunk/mcs/; revision=15982
* DSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
and better test coverage (based on Zoltan's logs).
* DSATest.cs: Converted to NUnit2 format. Added new tests for better unit
test coverage (import incomplete public keys).
* RSACryptoServiceProviderTest.cs: Added news unit tests for Dispose/Clear
and better test coverage (based on Zoltan's logs).
* RSATest.cs: Converted to NUnit2 format. Added new tests for better unit
test coverage (import incomplete public keys).
svn path=/trunk/mcs/; revision=15974
* AsymmetricAlgorithm.cs: Removed AsymmetricParameters (IReader) class.
Now uses the new Mono.Xml.SecurityParser (xml -> SecurityElement)
* CryptoConfig.cs: Removed CorlibHandler and CorlibReader classes. Now
uses the new Mono.Xml.SecurityParser (xml -> SecurityElement)
* DSA.cs: Removed DSAHandler (IHandler) class. Now uses the new
Mono.Xml.SecurityParser (xml -> SecurityElement)
* DSACryptoServiceProvider.cs: Added ObjectDisposedException support
and fixed bugs found in new unit tests.
* RSA.cs: Removed DSAHandler (IHandler) class. Now uses the new
Mono.Xml.SecurityParser (xml -> SecurityElement)
* RSACryptoServiceProvider.cs: Added ObjectDisposedException support
and fixed bugs found in new unit tests.
svn path=/trunk/mcs/; revision=15971
* DSAManaged.cs: Fixed bugs that appeared with the new unit tests.
* RSAManaged.cs: Fixed bugs that appeared with the new unit tests.
svn path=/trunk/mcs/; revision=15970
* pending.cs (PendingImplementation.ParentImplements): Don't
create the proxy if the parent is abstract.
* class.cs (TypeContainer.DefineIndexers): Process explicit
interface implementations first. Fixes#37714.
svn path=/trunk/mcs/; revision=15963
* XslTransform.cs : fixed WriteTree() and WriteCurrentNode() to follow
the recent changes of XPathNavigator implementations.
svn path=/trunk/mcs/; revision=15959
* expression.cs (MemberAccess.ResolveMemberAccess): Events are
defined recursively; but since we modify the input parameters
(left is set to `this' temporarily), we reset this value if the
left_is_explicit is false, which gives the original semantics to
the code.
svn path=/trunk/mcs/; revision=15953
* literal.cs (NullPointer): new class used to represent a null
literal in a pointer context.
* convert.cs (Convert.ImplicitReferenceConversion): Is the target
type is a pointer, use a NullPointer object instead of a
NullLiteral. Closes 43687
svn path=/trunk/mcs/; revision=15951
* convert.cs (ExplicitConversion): Convert pointer values using
the conv opcode to the proper type.
* ecore.cs (New): change ValueTypeVariable property into a method,
that returns whether the valuetype is suitable for being used.
* expression.cs (Binary.DoNumericPromotions): Only return if we
the int constant was a valid uint, and we can return both left and
right as uints. If not, we continue processing, to trigger the
type conversion. This fixes 39018.
svn path=/trunk/mcs/; revision=15950
* statement.cs (Block.EmitMeta): During constant resolution, set
the CurrentBlock property on the emitcontext, so that we resolve
constants propertly.
svn path=/trunk/mcs/; revision=15941
then the result object array only contain output parameters.
* Methods.cs: In class MethodStubInfo, added support from some server properties
taken from WebMethodAttribute. Now MethodStubInfo can be created without SoapDocument*
or SoapRpc* attributes, in which case takes default values from TypeStubInfo.
Added method for getting header info.
In class Fault: added constructor for creating a fault from a SoapException.
In class TypeStubInfo: new way to manage serializers for headers. Now it is possible to
get a header using a name and namespace (used when deserializing).
* SoapHttpClientProtocol.cs: moved WriteSoapEnvelope method to WebServiceHelper (so it can be shared).
Also moved other serialization stuff to WebServiceHelper.
* SoapMessage.cs: Added some convenient constructors and internal properties.
Implemented GetOutParameterValue and GetReturnValue.
* SoapServerMessage.cs: Implemented.
* WebServiceHandler.cs: Implemented method Invoke.
* WebServiceHandlerFactory.cs: Basic implementation.
* WebServiceHelper.cs: Added. Has some methods shared between client and server classes.
* HttpSoapWebServiceHandler.cs: Added. IHttpHandler implementation for HttpSoap requests.
svn path=/trunk/mcs/; revision=15909
* System.Web.Compilation/BaseCompiler.cs: made Compiler property
virtual.
* System.Web.Compilation/CachingCompiler.cs: added support for compiling
web services.
* System.Web.Compilation/WebServiceCompiler.cs: implemented.
* System.Web.UI/SimpleWebHandlerParser.cs: updated to new compilation
interface.
* System.Web.UI/TemplateParser.cs: use the new parameter when compiling.
svn path=/trunk/mcs/; revision=15892
* PKCS1.cs DSAManaged.cs: Changed strange characters in comments to
human-readable ones, since they break XML export in monocov.
svn path=/trunk/mcs/; revision=15888
* MailAddress.cs: return null instead of exception when the address is
empty.
* MailAddressCollection.cs: ignore null addresses.
* SmtpMail.cs: add the exception we get as inner exception so we know
where the error is.
Fixes bug #45746.
svn path=/trunk/mcs/; revision=15886
* codegen.cs (EmitContext.NeedExplicitReturn): New public variable.
(EmitContext.EmitTopBlock): Emit an explicit return if it's set.
* statement.cs (Try.Resolve): Set ec.NeedExplicitReturn rather
than emitting it here.
* statement.cs: Fixed some more flow analysis bugs.
svn path=/trunk/mcs/; revision=15877
* class.cs (MethodData.Define): When implementing interface
methods, set Final unless we're Virtual.
* decl.cs (MemberCore.CheckMethodAgainstBase): Make the CS0506
check work for interface methods.
svn path=/trunk/mcs/; revision=15876
* ecore.cs (EmitContext.This): Replaced this property with a
GetThis() method which takes a Location argument. This ensures
that we get the correct error location for a CS0188.
svn path=/trunk/mcs/; revision=15874
* timed-thread.c (_wapi_timed_thread_exit):
* threads.c: Let the timed thread code deal with deleting the
thread info struct. (Valgrind noticed that the join_mutex could
be locked when it was being deleted.)
svn path=/trunk/mono/; revision=15862
* XslTransform.cs (Transform): Call xsltSaveResultToFilename instead
of first reading the result into a string to conserve memory.
svn path=/trunk/mcs/; revision=15857
* object.h, reflection.h, verify.c: fixes for some 64bit issues,
mostly from a patch by Laramie Leavitt <[email protected]>.
svn path=/trunk/mono/; revision=15852
* ChangeLog: Sorry it seems that I couldn't find the right combinaison
just to commit the change to changelog (probably due to convertion to
windows).
* GenericPrincipal.cs: Fixed issues found during unit testing.
svn path=/trunk/mcs/; revision=15836
* threadpool.c (mono_async_invoke): Use mono_g_hash_table_remove when
using MonoGHashTables. Fixes threadpool bug posted to list.
svn path=/trunk/mono/; revision=15820
* ISessionHandler.cs:
* SessionInProcHandler.cs:
* SessionStateModule.cs: UpdateContext returns a bool indicating if we
started a new session. Only call session start event if that is true.
svn path=/trunk/mcs/; revision=15812
* HttpApplication.cs: prevent nullref if an error happens before context
is set.
* HttpException.cs: small fix in the stack trace sent.
* HttpUtility.cs: the lock is not needed.
svn path=/trunk/mcs/; revision=15811
* StackFrameTest.cs (TestGetMethod): Remove test for method name, since
it is not guaranteed to be 'InternalInvoke'.
svn path=/trunk/mcs/; revision=15807
* image.h, image.c: added support to load an assembly from a byte array.
* Makefile.am, assembly.c, make-bundle.pl, sample-bundle: added
assembly bundle support.
svn path=/trunk/mono/; revision=15804
* TypeData.cs: Don't use "Index" name to get indexer property. Indexer properties
can have other names.
* TypeTranslator.cs, XmlCustomFormatter.cs: Added support for "time" and "data" xml types.
* XmlReflectionImporter.cs, XmlTypeMapElementInfo.cs, XmlSerializationReader.cs,
XmlSerializationWriter.cs, XmlTypeMapElementInfo.cs, XmlTypeMapping.cs:
Fix support for DataType in class members.
* XmlSerializationReaderInterpreter.cs, XmlSerializationWriterInterpreter.cs:
Added support for array of primitive types in attributes.
svn path=/trunk/mcs/; revision=15791
* class.cs (Constructor.Define): Turn off initlocals for unsafe
constructors.
(MethodData.Define): Turn off initlocals for unsafe methods.
svn path=/trunk/mcs/; revision=15784
* mini.c, mini-ops.h, inssel.brg, mini-x86.c: optimized access to fields.
Moved inlined mempcy code to its own function so that is can be
reused. Added an inline memset function as well (optimized initobj).
* cpu-pentium.md, inssel-x86.brg: add and use lea_membase.
svn path=/trunk/mono/; revision=15780
* XmlDocumentNavigator.cs : Implemented MoveTo*Namespace() and
essentially changed most of the property handling (e.g. removed attribute
enumerator and it now became really cloneable).
* XmlNodeReader.cs : ReadInnerXml() changes its state as error
when the method is called at Initial state.
svn path=/trunk/mcs/; revision=15773
* XslTransform.cs (GetStringFromDocument): Read the result using
xsltSaveResultToString, since the XML document returned by
applyStylesheet is missing the output processing done due to the
usage of the xsl:output directive.
svn path=/trunk/mcs/; revision=15770
* SimpleWorkerRequest.cs:
-adds PATH_INFO support
- updates GetFilePathTranslated() to make use of Path.Combine()
- gets rid of the null check in GetPathInfo() (we're setting
_PathInfo to String.Empty now)
- fixed CreatePath() so that it doesn't return String.Empty if
the _AppVirtualPath is not "/" (to match MS runtime -- does
anyone know why it was returning String.Empty?)
svn path=/trunk/mcs/; revision=15758
* Console.cs: Turn off buffering for the streams returned by
OpenStandardOutput () and OpenStandardError () if the buffer size is 0.
svn path=/trunk/mcs/; revision=15744
* FileStream.cs (Dispose): Flush the buffer even if we don't own the
handle.
* FileStream.cs: Add a new constructor parameter to turn off buffering.
This is used by the Console.OpenStandard...() methods. Also fix
argument checking in InitBuffer(), so a zero buffer size is also
rejected.
svn path=/trunk/mcs/; revision=15743
* WebConnection.cs: fixed header writing the reusing a connection and
the server does not send 100-continue response.
svn path=/trunk/mcs/; revision=15726
* decl.cs (DeclSpace.CheckAccessLevel): Make this routine
complete; Fixes#37521.
* delegate.cs: Use Modifiers.TypeAttr to compute the
TypeAttributes, instead of rolling our own. This makes the flags
correct for the delegates.
svn path=/trunk/mcs/; revision=15722
* CodeAccessPermission.cs: Added missing methods. Removed old XML
documentation (present in monodoc). Added missing MonoTODO attrs.
* NamedPermissionSet.cs : Changed some code from result of unit
tests. Updated MonoTODO attributes.
* PermissionSet.cs: Added missing methods. Removed old XML
documentation (present in monodoc). Added missing MonoTODO attrs.
Added code to some methods.
* SecurityManager.cs: Added missing MonoTODO attributes.
svn path=/trunk/mcs/; revision=15710
called with maxvalue==0 or minvalue==maxvalue, MS.NET internally generates
a new random number (although it is not needed), while mono did not.
As a result, the sequence of random numbers could be different for the
same seed.
svn path=/trunk/mcs/; revision=15702
be overlodaded, so it is not good for this.
* XmlSerializationWriterInterpreter.cs: Fix ambiguity bug when getting Item property of a collection.
svn path=/trunk/mcs/; revision=15698
* ListControl.cs: save viewstate data when any of the 3 values is not
null. Fixed condition to save selection indices. Closes bug #45493.
svn path=/trunk/mcs/; revision=15661
You can review the list of current bugs by going <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FClass+Libraries&product=Mono%2FMCS&product=Mono%2FRuntime&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&order=%27Importance%27&form_name=query">here</a>
<a name="goodbugreport"/>
Check our <a href="bugs.html">Bugs</a> that contains links to
easily add a bug report, or to query the existing bugs.
<a name="goodbugreport"/>
** How to make good bug reports
A mail from Paolo to mono-devel-list contained this check list:
There are two ADO.NET data providers for <a href="http://www.postgresql.org/">PostgreSQL</a> in Mono:
When it comes to Mono and PostgreSQL, there are many ways
you can handle your data. You have many Mono Data Providers which can be used
to access data from a application written for Mono.
Then there is the future goal of having the ability to host Mono within PostgreSQL to
have the applications run on the server which makes things much faster.
* Hosting Mono in PostgreSQL
There is a project to <a href="http://gborg.postgresql.org/project/plmono/projdisplay.php">host Mono within PostgreSQL</a>.
plMono is a PostgreSQL language using the embedded Mono runtime. It provides support for writing functions in C#, or any other language that supports .NET.
* Data Providers
There are many ADO.NET data providers for <a href="http://www.postgresql.org/">PostgreSQL</a>:
There are two providers created specifically for PostgreSQL included with Mono:
<li>a .NET Managed Data Provider for PostgreSQL</li>
<li>Written in 100% C#</li>
@@ -25,6 +43,8 @@
<li>Mono.Data.PostgreSQL (deprecated)
<ul>
<li>included with Mono</li>
<li>Deprecated in favor of Npgsql</li>
<li>Exists in namespace Mono.Data.PostgreSql and assembly Mono.Data.PostgreSql</li>
@@ -37,6 +57,12 @@
</ul>
</li>
<li><a href="http://sourceforge.net/projects/mysqlnet/">ByteFX.Data</a> has a provider for PostgreSQL too, but I do not know how well it works with Mono.</li>
<li>There is another .NET data provider for PostgreSQL named <a href="http://sourceforge.net/projects/pgsqlclient/">PgSqlClient</a>, but I do not know if it works with Mono.</li>
<li>If none of the above providers meet your needs. There is the ODBC and OLEDB providers included with Mono.</li>
<li>Bugs with Mono or the data provider should be reported
in Mono's Bugzilla <a href="http://bugzilla.ximian.com/">here</a>. If you
Loaded 100 of 4437 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.