Age | Commit message (Collapse) | Author |
|
security fix:
* r57836: Implement explicitly some interface methods to get rid of
the "!" errors on CorCompare.
* r60253: Make sure generated file names are unique. Fixes bug #76125
and #78230.
* r65441: Create files in a temporary subdirectory, for security reasons.
svn path=/branches/mono-1-1-13-8/mcs/; revision=66309
|
|
svn path=/branches/mono-1-1-13/mcs/; revision=60558
|
|
svn path=/branches/mono-1-1-13/mcs/; revision=60552
|
|
svn path=/branches/mono-1-1-13/mcs/; revision=60544
|
|
svn path=/branches/mono-1-1-13/mcs/; revision=60543
|
|
* ILParser.jay (native_type | K_ERROR): Use NativeType.Error for the
value.
(native_type | K_LPSTRUCT): Likewise for K_LPSTRUCT.
In class/PEAPI:
* Metadata.cs (NativeType): Add LPStruct and Error.
svn path=/branches/mono-1-1-13/mcs/; revision=60501
|
|
* ILTables.cs (keywords): Add 'property' for NET_2_0.
In ilasm/parser:
* ILParser.jay: Add K_PROPERTY.
svn path=/branches/mono-1-1-13/mcs/; revision=60493
|
|
* MethodDef.cs (MethodDef.AddLabel): Throw exception for duplicate
labels.
In ilasm/errors:
* err-dup-label.il: New.
svn path=/branches/mono-1-1-13/mcs/; revision=60460
|
|
* test-sn-key.il: New. Added test case when /key is used but the IL
source doesn't include a .publickey directive or any attribute that
loads the public key.
* test-sn-module.il: New. Added test case when /key is used when
assembling a netmodule (signing shouldn't occur).
Backporting
svn path=/branches/mono-1-1-13/mcs/; revision=60458
|
|
* CodeGen.cs (CodeGen.data_list): Change to ..
(CodeGen.data_table): .. a hashtable.
(CodeGen.AddDataDef): Update to throw exception for duplicate .data
labels.
(CodeGen.GetDataConst): Update to use data_table.
In ilasm/errors:
* err-dup-datalabel.il: New.
svn path=/branches/mono-1-1-13/mcs/; revision=60455
|
|
* Driver.cs: Move up the loading of the strongname key pair to allow
embedding the public part into the assembly. Also don't try to sign
netmodules.
svn path=/branches/mono-1-1-13/mcs/; revision=60450
|
|
* ResponseStream.cs:
* HttpListenerResponse.cs: allow 0 length POST. Patch by Horst Reiterer.
Closes bug #78316.
svn path=/branches/mono-1-1-13/mcs/; revision=60366
|
|
* ExecutionContext.cs: Don't capture the compressed stack unless the
security manager is active (this wasn't ready to be called in
production code).
svn path=/branches/mono-1-1-13/mcs/; revision=60300
|
|
* MonoField.cs (GetValue,SetValue): throw a TargetException
when the field is non static and the target is null.
svn path=/branches/mono-1-1-13/mcs/; revision=60233
|
|
* UnexceptionalStreamReader.cs (Read): Fix for #78218, where we
consumed characters from the input even when the count was not set
to zero, causing some characters to be missing in some
circumstances.
svn path=/branches/mono-1-1-13/mcs/; revision=60077
|
|
* WebConnection.cs: reset the challenge and the status code when
creating the tunnel and sending the proxy auth. headers. Improve error
message when there's an error creating the tunnel.
* HttpWebRequest.cs: don't trigger an early throw for a POST that gets
a 401 or 407 response.
svn path=/branches/mono-1-1-13/mcs/; revision=60023
|
|
* WebConnectionData.cs:
* WebConnection.cs:
* HttpWebRequest.cs: when tunneling an ssl conneciton through a proxy,
we were not handling a proxy authentication request. Fixes bug #78150
take 2.
svn path=/branches/mono-1-1-13/mcs/; revision=59953
|
|
* HttpApplicationFactory.cs: make sure that the application start event
is run before any request is processed.
svn path=/branches/mono-1-1-13/mcs/; revision=59893
|
|
svn path=/branches/mono-1-1-13/mcs/; revision=59823
|
|
* HttpServerUtility.cs: don't reset the query string in Execute() when
the path does not contain it and we have one from the previous request.
Fixes bug #78177.
svn path=/branches/mono-1-1-13/mcs/; revision=59817
|
|
* test-module.il: New. Test for a netmodule.
In ilasm/codegen:
* CodeGen.cs (CodeGen.ctor): Remove 'is_assembly' param.
(CodeGen.Write): Emit assembly manifest only if the source
had it.
In ilasm:
* Driver.cs (DriverMain.Run): Update use of CodeGen.ctor .
In class/PEAPI:
* PEAPI.cs (PEFile.WritePEFile): ReserveStrongNameSignatureSpace only if
we have assembly manifest.
svn path=/branches/mono-1-1-13/mcs/; revision=59797
|
|
* HtmlInputRadioButton.cs: Value returns the ID only when there's no
"value" set. Fixes bug #78101.
svn path=/branches/mono-1-1-13/mcs/; revision=59772
|
|
* HtmlInputRadioButtonTest.cs: added test for bug #78101.
svn path=/branches/mono-1-1-13/mcs/; revision=59771
|
|
* corlib.dll.sources: Add System.IO/FileOptions.cs.
svn path=/branches/mono-1-1-13/mcs/; revision=59754
|
|
* FileStream.cs: Add new net 2.0 ctor.
* FileOptions.cs: New file.
svn path=/branches/mono-1-1-13/mcs/; revision=59753
|
|
* FileStream.cs: Add new net 2.0 ctor.
* FileOptions.cs: New file.
svn path=/trunk/mcs/; revision=59750
|
|
* SslCipherSuite.cs: Enable abbreviated handshakes for SSL3 too.
svn path=/branches/mono-1-1-13/mcs/; revision=59746
|
|
* SslCipherSuite.cs: Enable abbreviated handshakes for SSL3 too.
svn path=/trunk/mcs/; revision=59745
|
|
* poll.cs: New test tool contributed by Simon Brys for bug #78085.
It's a good test for the abbreviated handshake.
* Makefile: Build/clean for poll.exe
svn path=/trunk/mcs/; revision=59744
|
|
Fix cs1655.cs
* codegen.cs (EmitContext.InRefOutArgumentResolving): Remove.
* expression.cs (EmptyExpression.LValueMemberOutAccess): New.
(LocalVariableReference.DoResolveBase): Use it to implement new
CS1655 check.
(IndexerAccess.DoResolveLValue): Handle LValueMemberOutAccess.
(Argument.Resolve): Simplify. Move CS1510 check ...
* ecore.cs (Expression.ResolveLValue): ... here.
(UnboxCast.DoResolveLValue): Handle LValueMemberOutAccess.
(PropertyExpr.DoResolveLValue): Likewise.
(FieldExpr.Report_AssignToReadonly): Likewise.
(FieldExpr.DoResolve): Add 'out_access' argument. Use
LValueMemberAccess or LValueMemberOutAccess on instance depending
on it.
(FieldExpr.DoResolveLValue): Pass 'out_access' argument to
DoResolve as appropriate.
svn path=/trunk/mcs/; revision=59731
|
|
* Test/System.Data/DataTableTest2.cs : Test Duplicate values are handled appropriatly
during table loading ( BeginLoadData , EndLoadData). Test LoadDataRow
behaves appropriately if called outside BeginLoadData,EndLoadData.
* System.Data/DataRowCollection.cs :
- Find : If search on the table using PrimaryKey fails and if
index is not being maintained (during table load), search the
entire table.
- Find (int) : Removed. Deadcode.
- Clear :
- Not necessary to delete each row from the Index.
Just reset the Indexes after cleaning up the row
collection.
- Simplify dependency check for child tables
* System.Data/DataTable.cs :
- LoadDataRow :
- Do not use DataRowCollection.Find to search for
existing records as this wud check even newly loaded rows.
Use Index.Find.
- Do not add new records to Index. Update Index only
if an existing record is modified. New records will be
taken care by EndLoadData.
svn path=/trunk/mcs/; revision=59730
|
|
* WinSerialPort.cs: Inital import of the backend stream
for Windows support.
svn path=/trunk/mcs/; revision=59729
|
|
* XmlTextWriter.cs : fix for bug #78148. set_Formatting() is not
rejected after writing some content. I totally disagree on that
it should be allowed, but here is the fix.
* XmlTextWriterTests.cs : test for bug #78148.
svn path=/trunk/mcs/; revision=59722
|
|
* WebProxy.cs: a .ctor was not forwarding the 'credentials' argument.
This fixes bug #78150. Also fix the bypass check for local requests.
svn path=/branches/mono-1-1-13/mcs/; revision=59716
|
|
* WebProxy.cs: a .ctor was not forwarding the 'credentials' argument.
This fixes bug #78150. Also fix the bypass check for local requests.
svn path=/trunk/mcs/; revision=59715
|
|
* WebProxy.cs: removed bogus ^M.
svn path=/trunk/mcs/; revision=59714
|
|
* BitmapData.cs: Updated to match the BitmapData structure
from libgdiplus r59689.
svn path=/trunk/mcs/; revision=59709
|
|
marked NotWorking).
* System.Xml_test.dll.sources: Added Test/System.Xml.Serialization/
XmlCodeExporterTests.cs.
svn path=/trunk/mcs/; revision=59707
|
|
* BaseCompiler.cs: for 2.0, emit the correct namespace and class
names in the case where you use "NS.ClassName" in the Inherits
attribute. Fixes bug #78135.
svn path=/trunk/mcs/; revision=59706
|
|
* CachingCompiler.cs: no need to play the Wait/PulseAll game, as we
already acquired the lock even when we might have not created the 'key'
to the compilation ticket.
svn path=/trunk/mcs/; revision=59705
|
|
* SessionConfig.cs: Avoid a cast.
* SessionDictionary.cs: Remove unused internal methods.
* SessionId.cs: Const-ify internal/private values.
* SessionStateModule.cs: Const-ify internal/private values.
svn path=/branches/mono-1-1-13/mcs/; revision=59702
|
|
* LinearGradientBrushTest.cs: Remove "NonWorking" from many test
cases. Added more test cases for non-invertible matrix and to ensure
all matrix-based transformation are correct.
svn path=/trunk/mcs/; revision=59699
|
|
* mcs/expression.cs (Invocation.VerifyArgumentsCompat): Don't try
implicit conversions on 'out' and 'ref' arguments.
* gmcs/expression.cs: Likewise.
* errors/cs1502-7.cs: New test from #75800.
svn path=/trunk/mcs/; revision=59696
|
|
improve clarity. Remove dead code.
* gmcs/expression.cs: Likewise.
svn path=/trunk/mcs/; revision=59695
|
|
Fix #66031
* statement.cs (Block.UsageWarning): Allow VariableInfo to be null.
(Catch.Resolve): Resolve VarBlock if it exists.
In errors:
* cs0168-2.cs: New test from #66031.
svn path=/trunk/mcs/; revision=59691
|
|
GenerateCodeFromNamespace.
* System_test.dll.sources: Added CodeGeneratorFromNamespaceTest.cs from
Microsoft.VisualBasic.
* CodeGenerator.cs: Output empty line between types if
BlankLinesBetweenMembers option is set.
* VBCodeGenerator.cs: Empty line and comments should be output after
namespace imports.
* CodeGeneratorFromNamespaceTest.cs: Added tests for namespace imports
and types.
svn path=/trunk/mcs/; revision=59690
|
|
svn path=/trunk/mcs/; revision=59688
|
|
is bound; Menu.cs: fixed binding
svn path=/trunk/mcs/; revision=59687
|
|
instances of non-native registry types (meaning int, string, string[]
or byte[]) to string. This avoids returning an instance of a non-native
registry type in calls to UnixRegistryApi.GetValue. Allow instances of
non-native registry types in UnixRegistryApi.SetValue. Fixes bug #78132.
* RegistryKeyTest.cs: Added tests for bug #78132.
svn path=/trunk/mcs/; revision=59685
|
|
svn path=/trunk/mcs/; revision=59682
|