* 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
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
* Transaction support now implemented (not all table types support this)
* GetSchemaTable fixed to not use xsd (for Mono)
* Driver is now Mono-compatible!!
* TIME data type now supported
* More work to improve Timestamp data type handling
* Changed signatures of all classes to match corresponding SqlClient classes
0.60
======================
* Protocol compression using SharpZipLib (www.icsharpcode.net)
* Named pipes on Windows now working properly
* Work done to improve Timestamp data type handling
* Implemented IEnumerable on DataReader so DataGrid would work
0.50
======================
* Speed increased dramatically by removing bugging network sync code
* Driver no longer buffers rows of data (more ADO.Net compliant)
* Conversion bugs related to TIMESTAMP and DATETIME fields fixed
11/30/2003
MySql - Fixed ConnectionSTring editor dialog (thanks marco p (pomarc))
Common - UserId now supported in connection strings (thanks Jeff Neeley)
MySql - Attempting to create a parameter that is not input throws an exception (thanks Ryan Gregg)
11/29/2003
MySql - Added much documentation
11/26/2003
MySql - checked in new MultiHostStream capability. Big thanks to Dan Guisinger for this. he originally submitted the code and idea of supporting multiple machines on the connect string.
11/25/2003
MySql - Added alot of documentation.Still alot to do.
11/24/2003
MySql - Fixed speed issue with 0.73
11/14/2003
MySql - changed to Thread.Sleep(0) in MySqlDataStream to help optimize the case where it doesn't need to wait (thanks Todd German)
11/1/2003
MySql - Prepopulating the idlepools to MinPoolSize
10/31/2003
MySql - Fixed MySqlPool deadlock condition as well as stupid bug where CreateNewPooledConnection
was not ever adding new connections to the pool.
Also fixed MySqlStream.ReadBytes and ReadByte to not use TicksPerSecond which does not appear
to always be right.
(thanks Matthew J. Peddlesden)
MySql - Fix for precision and scale (thanks Matthew J. Peddlesden)
10/28/2003
MySql - Added Thread.Sleep(1) to stream reading methods to be more cpu friendly (thanks Sean McGinnis)
10/24/2003
MySql - Fixed problem where ExecuteReader would sometime return null (thanks Lloyd Dupont )
10/17/2003
MySql - Fixed major bug with null field handling (thanks Naucki)
10/15/2003
MySql - enclosed queries for max_allowed_packet and characterset inside try catch (and set defaults)
MySql - fixed problem where socket was not getting closed properly (thanks Steve!)
10/14/2003
MySql - Fixed problem where ExecuteNonQuery was not always returning the right value
10/13/2003
MySql - Fixed InternalConnection to not use @@session.max_allowed_packet but use @@max_allowed_packet. (Thanks Miguel)
10/12/2003
MySql - Added many new XML doc lines
10/10/2003
MySql - Fixed sql parsing to not send empty queries (thanks Rory)
MySql - Fixed problem where the reader was not unpeeking the packet on close
MySql - Fixed problem where user variables were not being handled (thanks Sami Vaaraniemi)
MySql - Fixed loop checking in the MySqlPool (thanks Steve M. Brown)
10/7/2003
MySql - Fixed ParameterCollection.Add method to match SqlClient (thanks Joshua Mouch)
Common & MySql - Fixed ConnectionSTring parsing to handle no and yes for boolean and not lowercase values (thanks Naucki)
10/3/2003
MySql - Added InternalConnection class, changes to pooling
Common - Implemented Persist Security Info
9/26/2003
Common - Added security.cs and version.cs to project
9/25/2003
MySql - Fixed DateTime handling in Parameter.cs (thanks Burkhard Perkens-Golomb)
MySql - Fixed parameter serialization where some types would throw a cast exception
MySql - Fixed DataReader to convert all returned values to prevent casting errors (thanks Keith Murray)
MySql - Added code to Command.ExecuteReader to return null if the initial SQL command throws an exception (thanks Burkhard Perkens-Golomb)
9/24/2003
MySql - Fixed ExecuteScalar bug introduced with restructure
9/23/2003
MySql - Restructure to allow for LOCAL DATA INFILE and better sequencing of packets
MySql - Fixed several bugs related to restructure.
9/10/2003
MySql - Early work done to support more secure passwords in Mysql 4.1. Old passwords in 4.1 not supported yet
8/22/2003
MySql- Parameters appearing after system parameters are now handled correctly (Adam M. (adammil))
MySql - strings can now be assigned directly to blob fields (Adam M.)
8/20/2003
MySql - Fixed float parameters (thanks Pent)
8/7/2003
MySql - Improved Parameter ctor and ParameterCollection.Add methods to better match SqlClient (thx Joshua Mouch )
MySql - Corrected Connection.CreateCommand to return a MySqlCommand type
MySql - Fixed connection string designer dialog box problem (thanks Abraham Guyt)
7/24/2003
MySql - Fixed problem with sending commands not always reading the response packet (thanks Joshua Mouch )
MySql - Fixed parameter serialization where some blobs types were not being handled (thanks Sean McGinnis )
7/22/2003
MySql - Removed spurious MessageBox.show from DataReader code (thanks Joshua Mouch )
7/17/2003
MySql - Fixed a nasty bug in the split sql code (thanks everyone! :-) )
*************Released 0.71***********************
7/15/2003
MySql - Fixed bug in MySqlStream where too much data could attempt to be read (thanks Peter Belbin)
7/11/2003
MySql - Implemented HasRows (thanks Nash Pherson)
MySql - Fixed bug where tables with more than 252 columns cause an exception ( thanks Joshua Kessler )
MySql - Fixed bug where SQL statements ending in ; would cause a problem ( thanks Shane Krueger )
MySql - Fixed bug in driver where error messsages were getting truncated by 1 character (thanks Shane Krueger)
7/6/2003
========MySql===============
* Made MySqlException serializable (thanks Mathias Hasselmann)
========PgSql===============
* Made PgSqlException serializable (thanks Mathias Hasselmann)
***********Released 0.70*********************
6/25/2003
========MySql===============
* Updated some of the character code pages to be more accurate
* Fixed problem where readers could be opened on connections that had readers open
* Release of 0.70
6/20/2003
========MySql===============
* Moved test to separate assembly MySqlClientTests
6/19/2003
========MySql===============
* Fixed stupid problem in driver with sequence out of order (Thanks Peter Belbin)
6/18/2003
========MySql===============
* Added some pipe tests
* Increased default max pool size to 50
* Compiles with Mono 0-24
6/17/2003
========MySql===============
* Fixed connection and data reader dispose problems
* Added String datatype handling to parameter serialization
6/13/2003
========MySql===============
* Fixed sequence problem in driver that occured after thrown exception
(thanks Burkhard Perkens-Golomb)
6/10/2003
========MySql===============
* Added support for CommandBehavior.SingleRow to DataReader
* Fixed command sql processing so quotes are better handled (thanks Theo Spears)
6/9/2003
========MySQL===============
* Fixed parsing of double, single, and decimal values to account for non-English separators.
You still have to use the right syntax if you using hard coded sql, but if you use parameters
the code will convert floating point types to use '.' appropriately internal both into the server
and out.
[ Thanks anonymous ]
* Added MySqlStream class to simplify timeOuts and driver coding.
* Fixed DataReader so that it is closed properly when the associated connection is closed.
[thanks smishra]
* Made client more SqlClient compliant so that DataReaders have to be closed before the connection
can be used to run another command
* Improved DBNull.Value handling in the fields
* Added several unit tests
* Fixed MySqlException so that the base class is actually called :-o
* Improved driver coding
=============PgSql=================
* Too many changes to document. Still basic structuring of driver. Driver not really usable yet.
5/28/2003
* Fixed bug where NextResult was returning false on the last resultset
* Added more tests for MySQL
* Improved casting problems by equating unsigned 32bit values to Int64 and usigned 16bit values to Int32, etc
5/6/2003
* Added new ctor for MySqlParameter for (name, type, size, srccol)
* Fixed bug in MySqlDataReader where it didn't check for null fieldlist before returning field count
4/23/2003
* Started adding MySqlClient unit tests (added MySqlClient/Tests folder and some test cases)
* Fixed some things in Connection String handling
4/7/2003
* Moved INIT_DB to MySqlPool. I may move it again, this is in preparation of the conference.
4/6/2003
* Fixed bug inside CommandBuilder that prevented inserts from happening properly
* Reworked some of the internals so that all three execute methods of Command worked properly
* FIxed many small bugs found during benchmarking
4/5/2003
* The first cut of CoonectionPooling is working. "min pool size" and "max pool size" are respected.
4/3/2003
* Work to enable multiple resultsets to be returned
* Character sets are handled much more intelligently now. The driver queries MySQL at startup for the default character set.
That character set is then used for conversions if that code page can be loaded. If not, then the default code
page for the current OS is used.
3/31/2003
* Added code to save the inferred type in the name,value ctor of Parameter
* Also, inferred type if value of null parameter is changed using Value property
* Converted all files to use proper Camel case. MySQL is now MySql in all files. PgSQL is now PgSql
* Added attribute to PgSql code to prevent designer from trying to show
3/17/2003
* Added MySQLDbType property to Parameter object and added proper conversion code to convert from DbType to MySQLDbType)
* Removed unused ObjectToString method from MySQLParameter.cs
* Fixed Add(..) method in ParameterCollection so that it doesn't use Add(name, value) instead.
* Fixed IndexOf and Contains in ParameterCollection to be aware that parameter names are now stored without @
* Fixed Command.ConvertSQLToBytes so it only allows characters that can be in MySQL variable names
* Fixed DataReader and Field so that blob fields read their data from Field.cs and GetBytes works right
* Added simple query builder editor to CommandText property of MySQLCommand
* Fixed CommandBuilder and Parameter serialization to account for Parameters not storing @ in their names
* Removed MySQLFieldType enum from Field.cs. Now using MySQLDbType enum
3/15/2003
* Added Designer attribute to several classes to prevent designer view when using VS.Net
3/13/2003
* Fixed Initial catalog typo in ConnectionString designer
* Removed 3 parameter ctor for MySQLParameter that conflicted with (name, type, value)
* changed MySQLParameter so paramName is now stored without leading @ (this fixed null inserts when using designer)
* Changed TypeConverter for MySQLParameter to use the ctor with all properties
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
usingSystem;
usingSystem.ComponentModel;
usingSystem.Data;
usingSystem.Text;
namespaceByteFX.Data.MySqlClient
{
/// <summary>
/// Automatically generates single-table commands used to reconcile changes made to a DataSet with the associated MySQL database. This class cannot be inherited.
/// Gets or sets the beginning character or characters to use when specifying MySql database objects (for example, tables or columns) whose names contain characters such as spaces or reserved tokens.
/// </summary>
publicstringQuotePrefix
{
get{return_QuotePrefix;}
set{_QuotePrefix=value;}
}
/// <summary>
/// Gets or sets the ending character or characters to use when specifying MySql database objects (for example, tables or columns) whose names contain characters such as spaces or reserved tokens.
/// </summary>
publicstringQuoteSuffix
{
get{return_QuoteSuffix;}
set{_QuoteSuffix=value;}
}
#endregion
#regionPublicMethods
/// <summary>
/// Retrieves parameter information from the stored procedure specified in the MySqlCommand and populates the Parameters collection of the specified MySqlCommand object.
/// This method is not currently supported since stored procedures are not available in MySql.
/// </summary>
/// <param name="command">The MySqlCommand referencing the stored procedure from which the parameter information is to be derived. The derived parameters are added to the Parameters collection of the MySqlCommand.</param>
/// <exception cref="InvalidOperationException">The command text is not a valid stored procedure name.</exception>
Loaded 100 of 2989 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.