* TimeSpan.cs: Fixed timespan with large values for hours or minutes
(overflow is only checked for days but can also occurs in hours and
minutes which uses Int32 when multiplying). The new results match MS
implementation.
svn path=/trunk/mcs/; revision=29520
* TimeSpanTest.cs: Added more cases with MinValue and MaxValue for
each parameter of the constructor. Some tests are ignored because
they are too long to run (but useful when debugging).
svn path=/trunk/mcs/; revision=29517
* configure.in: better explain that --with-nptl is not related to
NPTL, but to __thread support. Set sigaltstack support to off by
default.
svn path=/trunk/mono/; revision=29509
* file-io.c (ves_icall_System_IO_MonoIO_FindFirstFile): It was
possible to return successfully when '.' or '..' were the only
entries in a directory, but were skipped. The MonoIOStat was not
filled in in that case. Now return ERROR_NO_MORE_FILES instead.
Fixes bug 59574.
svn path=/trunk/mono/; revision=29496
differ from $(response).
(post_process): Remove, now that PLATFORM_CHANGE_SEPARATOR_CMD is
unconditional.
($(cmp_response),$(res_response)): Update.
svn path=/trunk/mcs/; revision=29491
(PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
(platform-check): Avoid bash-ism.
* library.make: Simplify uses of $(patsubst x,y,$(foo)) to $(foo:x=y).
(core_sourcefile): Rename back to ...
(sourcefile): ... this. Remove creation of redundant intermediate file.
(response): Change test for optimization, now that
PLATFORM_CHANGE_SEPARATOR_CMD is unconditional. Combine with
platform-exclude handling.
(library_CLEAN_FILES): New variable to specify clean:-able files
close to where they're defined.
(test_response, btest_response): Simplify.
* executable.make (response): Change test for optimization.
(executable_CLEAN_FILES): New define.
Maintainability improvements. Sorry, I'm still in the scratch-an-itch
mode with the build stuff :-)
svn path=/trunk/mcs/; revision=29490
* XmlUrlResolverTests.cs : Unlike MS.NET, we treats Unix absolute file
URI file:///usr/local/src as correct file path. MS.NET is not aware
of such format and parses as "host = usr, path = /local/src".
svn path=/trunk/mcs/; revision=29489
* FloatingPointFormatter.cs : Recognize '%' and '\u2030' and replace
them with matching NumberFormatInfo properties.
svn path=/trunk/mcs/; revision=29487
* Double.cs : Use IFormatProvider.GetFormat() instead of literal '-'.
* FloatingPointFormatter.cs :
Use NumberFormatInfo.NegativeSign. This change saves many XSLT test
failures.
Format Permille pattern (It is undocumented but actually available,
and used in xsl:format-number).
svn path=/trunk/mcs/; revision=29483
* FloatingPointFormatter.cs :
- Don't format more than 15 fraction digits. Don't report to Pedro
directly (removing the error message with his concent).
- When format string starts with '.', it means integral part format
is not specified. Ignore '.' characters after the first
appearance. Fixed bug #59890.
- 0.0 is formatted only before the third ';' appearance.
svn path=/trunk/mcs/; revision=29464
* driver.c: don't include abcrem in the all optimization specifier
since it slows down jit compilation too much for now.
svn path=/trunk/mono/; revision=29447
* class.cs (MemberBase.DoDefineBase): New protected method.
(MemberBase.DoDefine): Compute the `flags' in the new
DoDefineBase() which must be called first.
(Method.Define): Call DoDefineBase() first so we have the flags
when defining the generic method.
* cs-parser.jay (interface_method_declaration): Support generic methods.
svn path=/trunk/mcs/; revision=29431
* decl.cs (TypeName): Removed.
(MemberName): Removed TypeName and MemberNow; now we just have
MemberName.
* cs-parser.jay: Don't distinguish between type arguments and type
parameters in the grammar and simplified the rules a bit. The
reduce/reduce conflicts are now gone (except the one we inherited
from mcs).
svn path=/trunk/mcs/; revision=29430
* XmlTextReader.cs : Character range check is always done. It is only
character references for which check is not done when Normalization
is false.
A bit more kind error message for multiple document element error.
* XmlTextWriter.cs : Check if character is valid and entitize when
it was invalid.
svn path=/trunk/mcs/; revision=29426
* mini.c: use BIGMUL only if both operands have the same signage.
* iltests.il: Test for bug 60056. (errors related to signage in
BIGMUL).
r=lupus.
svn path=/trunk/mono/; revision=29410
* reflection.c, reflection.h: do not free custom attrs that are cached.
* icall.c: use braces to make code clearer.
svn path=/trunk/mono/; revision=29406
* expression.cs (Invocation.IsParamsMethodApplicable): We need to
call this twice: for params and varargs methods.
svn path=/trunk/mcs/; revision=29355
* Uri.cs :
- We don't have to mind '\\'.
- Fixed bug #58301. When path starts with "///" and not more than
"////" and not "///*:", handle it as unix path and set Host as
empty string. In absolute path case, port should not be parsed
and LocalPath should start with '/'.
- Handle fragment in prior to path.
svn path=/trunk/mcs/; revision=29352
* TimeSpanTest.cs: Added valid cases to parse MinValue and MaxValue.
Added invalid cases to parse under MinValue and over MaxValue.
svn path=/trunk/mcs/; revision=29345
* DateTime.cs: Added a AddRoundedMilliseconds which use the "old Mono"
rounding logic which worked for FromOADate (while the newer didn't).
svn path=/trunk/mcs/; revision=29341
overriden. Useful if the tests sourcefile is generated.
(TEST_COMPILE, BTEST_COMPILE): Allow these to be customized too.
Support enough features to build mscorlib.dll.
* library.make (core_sourcefile): New renamed from $(sourcefile).
(PLATFORM_excludes): Auto-detecting define that sees if
$(LIBRARY).$(PLATFORM)-excludes file exists.
(sourcefile): New. Possibly-built file that removes
PLATFORM_excluded files from core_sourcefile.
(test_against, test_dep): New. Allow the test assembly to be
built against a different library.
(test_lib): Allow makefile to override the name of the test
assembly.
(LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
rather than $(gacutil).
(DISTFILES, dist-local): Use core_sourcefile.
(clean-local): Remove sourcefile if it was generated.
(test_lib, btest_lib): Depend on $(test_dep).
svn path=/trunk/mcs/; revision=29338
(populate-runtime-subdir): New target. Does a
controlled "make install" in the 'mcs/' directory to populate the
'runtime' directory.
(fasterstrap): Use it.
svn path=/trunk/mono/; revision=29335
* library.make (core_sourcefile): New renamed from $(sourcefile).
(PLATFORM_excludes): Auto-detecting define that sees if
$(LIBRARY).$(PLATFORM)-excludes file exists.
(sourcefile): New. Possibly-built file that removes
PLATFORM_excluded files from core_sourcefile.
(test_against, test_dep): New. Allow the test assembly to be
built against a different library.
(test_lib): Allow makefile to override the name of the test
assembly.
(LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
rather than $(gacutil).
(DISTFILES, dist-local): Use core_sourcefile.
(clean-local): Remove sourcefile if it was generated.
(test_lib, btest_lib): Depend on $(test_dep).
svn path=/trunk/mcs/; revision=29323
* Uri.cs : Handle Windows UNC. Now we could simplify Parse(). Don't
escape windows path twice. Check scheme name as defined in RFC2396.
svn path=/trunk/mcs/; revision=29314
* ecore.cs (ResolveFlags): Add new 'Intermediate' flag to tell
that the call to Resolve is part of a MemberAccess.
(Expression.Resolve): Use it for SimpleName resolution.
(SimpleName.SimpleNameResolve, SimpleName.DoResolveAllowStatic):
Add 'intermediate' boolean argument.
(SimpleName.DoSimpleNameResolve): Likewise. Use it to disable an
error message when the SimpleName can be resolved ambiguously
between an expression and a type.
* expression.cs (MemberAccess.IdenticalNameAndTypeName): Make
public.
(MemberAccess.Resolve): Pass 'Intermediate' flag to the Resolve()
call on the left-side.
svn path=/trunk/mcs/; revision=29310
* Uri.cs : Reverted some changes. '#' should be handled when the input
string is NOT raw file path. So handle raw file paths differently.
(right now except for Windows UNC).
Cache LocalPath and don't compute every time.
svn path=/trunk/mcs/; revision=29297
* test-uri-list.txt,
test-uri-props.txt,
test-uri-props-manual.txt :
Reverted the last change. File URI handling should be common to
MS.NET. We have to change the behavior only for Unix file path.
* UriTest2.cs : Fixed just catch only UriFormatException.
svn path=/trunk/mcs/; revision=29296
* Makefile: Removed inclusion of rules.make from Makefile for two reasons :
- This Makefile as of now has no dependency on rules.make what so ever
- Because of inclusion of INTENAL_MBAS in rules.make it was causing confliction with existing INTERNAL_MBAS in this makefile and causing lots of tests to fail
svn path=/trunk/mcs/; revision=29295
* metadata.c (mono_metadata_parse_method_signature): When parsing
a MethodDef which has VarArgs, also set sentinelpos if we don't
have any parameters.
svn path=/trunk/mono/; revision=29287
* SessionSQLServerHandler.cs:
* SessionStateServerHandler.cs:
* ISessionHandler.cs: added new parameter to Init.
* SessionInProcHandler.cs: use the HttpRuntime cache to store the
sessions and handle expiration.
* SessionStateModule.cs: added OnSessionRemoved internal method that is
called whenever a session expires or is removed.
svn path=/trunk/mcs/; revision=29284
* verify.c (mono_method_verify): In CEE_CALL, use
mono_method_get_signature() to get the method's signature, unless
we're a PInvoke method.
svn path=/trunk/mono/; revision=29281
* get.c (get_methodref_signature): If we're a varargs method,
print "..." for the sentinel followed by the actual types.
svn path=/trunk/mono/; revision=29279
* expression.cs (Invocation.EmitCall): Don't use
`method.CallingConvention == CallingConventions.VarArgs' since the
method could also have `CallingConventions.HasThis'.
svn path=/trunk/mcs/; revision=29276
* XsdValidatingReader.cs : Identity check didn't work fine when
reference node appeared in front of the target key node.
This fixes bug #59889.
svn path=/trunk/mcs/; revision=29263
* BaseCompiler.cs: dynamicBase is now protected. Check
MONO_ASPNET_NODELETE here.
* TemplateControlCompiler.cs: if the type is not known but has a
TypeConverter, invoke ConvertFromString in the generated code.
* WebServiceCompiler.cs: it used a hardcoded C# compiler, now it gets
the compiler from the configuration. Also handle MONO_ASPNET_NODELETE.
* CachingCompiler.cs: updated compilation of web services and simple
web handlers.
svn path=/trunk/mcs/; revision=29255
* HttpUtility.cs: check for control characters in the string to encode
or decode and return the same string if there are none.
svn path=/trunk/mcs/; revision=29254
* DecimalTest.cs: Added rounding tests for negative values. Added more
checks to ParseFractions. Removed test TooSmall because it was a bad
interaction between a buggy corlib (buggy decimal) and the tests (i.e.
the value was legal).
svn path=/trunk/mcs/; revision=29251
* Decimal.cs: Hacked the Parse method to allow the runtime C code to
decode it properly (i.e. matching MS results). Fixed the Round method
for negative decimal numbers (moved code from Math.cs).
* Math.cs: Now use Decimal class for Round(Decimal,int). Required to
fix a bug when rounding a negative decimal.
svn path=/trunk/mcs/; revision=29250
* System.Web/HttpApplication.cs: change/restore the IPrincipal in their
own methods and make them internal.
* System.Web.Security/DefaultAuthenticationModule.cs: set the IPrincipal
for this thread once we have a user. Fixes bug #59683.
svn path=/trunk/mcs/; revision=29248
* Thread.cs:
(CurrentPrincipal): lock on CurrentThread, not typeof (Thread) and set
the thread IPrincipal if we get it from the AppDomain.
svn path=/trunk/mcs/; revision=29247
* AppDomain.cs: set the _principal to null when changing the policy.
* Console.cs: remove ClsCompliant attribute from a method marked as
internal and added comment.
svn path=/trunk/mcs/; revision=29246
message.
* Report.cs: Print error messages properly. Add an extra \n after
the assemble file message.
* ilasm.exe.sources: Add new exception, remove old one.
svn path=/trunk/mcs/; revision=29240
* typemanager.cs : GetPertinentStandardModules receives the array now with params modifier to help usage
* ecore.cs : correcting lookup of semi-qualified standard modules members - A little better but not there yet
svn path=/trunk/mcs/; revision=29239
* test-uri-list.txt,
test-uri-props.txt,
test-uri-props-manual.txt :
- Moved '#' containing file URIs to manual test patterns (I think MS
disregards '#', as conceptually reported in bug #47691).
- Removed URIs that contains "/////" that is ambiguous (is /////cygwin
directory '/cygwin', or host 'cygwin' ?).
* UriTest2.cs : explicitly show what input string is being checked
in Assert(). And also surround try...catch and show which URI failed.
svn path=/trunk/mcs/; revision=29211
from ctor
* regex.cs: fixed public API signature by renaming protected
internal fields and adding destructor, added MonoTODO attribute to
fields and method that are not yet implemented, changed not
implemented methods to throw NotImplementedException instead of
Exception, fixed names of field that are serialized
svn path=/trunk/mcs/; revision=29210
* reflection.c: make the token for a created method match
the token of the MethodBuilder it was created from
(IKVM requires this behaviour now).
svn path=/trunk/mono/; revision=29208
API of MS.NET, marked DynamicInvokeImpl and GetMethodImpl
protected to fix public API
* Enum.cs: marked ctor protected to match public API of MS.NET
* MulticastDelegate.cs: marked DynamicInvokeImpl protected to
match public API of MS.NET
svn path=/trunk/mcs/; revision=29199
generated class. Generate the correct data type for input parameters.
* SoapProtocolImporter.cs: Like in MS.NET, take the first output parameter
as the return value of the method. When generating a header variable,
use the type name as the base for the variable name, not the part name.
svn path=/trunk/mcs/; revision=29176
DiscoveryException and rethrow the included Exception instead.
* DiscoveryReference.cs: Added BaseUri property, that returns an uri
for the reference, supporting file uris.
* ContractReference.cs: Use the new property BaseUri to build the import
uri.
svn path=/trunk/mcs/; revision=29174
attributes that MS.NET generates.
* SerializationCodeGenerator.cs: Avoid duplicate generation of maps in the
same reader/writer.
* XmlCodeExporter.cs: Added support for ignore flag in maps and members.
* XmlReflectionImporter.cs: Changed GetReflectionMembers to match
MS.NET member ordering. Patch by David Taylor.
* XmlSchemaImporter.cs: When generating a choice member, set the ignore
flag. The generated enum must also not be included in the schema.
* XmlTypeMapMember.cs: Added ignore flag.
* XmlTypeMapping.cs: The AttributeMembers property now returns the
attributes in the correct order.
svn path=/trunk/mcs/; revision=29172
Don't copy from prefix. Use $(LN_S) to point to the mcs/ tree.
* runtime/net_1_1/Makefile.am (mscorlib.dll,$(gac_assemblies)):
Use $(LN_S) to point to the mcs/ tree, rather than copying.
* runtime/net_2_0/Makefile.am (mscorlib.dll,$(gac_assemblies)): Likewise.
svn path=/trunk/mono/; revision=29171
* Makefile.am (mcs-do-basic-build): Pass 'USE_BOOT_COMPILE' to sub-makes.
($(tmpinst)/etc/mono/machine.config): New target.
(tmpinst-dir.stamp): Remove and rewrite into ...
($(tmpinst)/bin/mcs): ... this and ...
($(tmpinst)/bin/mono): ... this. Update to use the in-tree machine.config.
(tmpinst-dir): Rewrite to invoke above $(tmpinst)/... targets directly.
* configure.in (AC_PROG_LN_S): New check to define $(LN_S).
svn path=/trunk/mono/; revision=29168
* DateTimeTest.cs : Added more milliseconds and pattern recognition
tests. Patch by Steven Brown (a bit modified).
svn path=/trunk/mcs/; revision=29165
* Decimal.cs: Fixed banker rounding by calling Math.Round. This won't
be a performance winner (the actual Math code has a note to wait a
better Decimal implementation) but it returns the correct results
(without adding new code in corlib or the runtime). Fix#37744.
svn path=/trunk/mcs/; revision=29153
* Uri.cs :
- Now Parse() is properly implemented. If overriden, the overriding
Parse() is used _instead of_ this class's parsing logic.
- AbsoluteUri does not escape URI string at all.
- ToString() should unescape Query. But should not unescape fragment.
And all all parts should be unescaped individually to keep ? and #.
- In relative .ctor(), handle Windows UNC as an absolute file URI.
- In some cases, hosts and paths were not properly escaped in
relative .ctor().
- Removed unused isWindowsPath.
- Escape Query.
* UriBuilder.cs : Fragment and Query aren't escaped when they are set.
svn path=/trunk/mcs/; revision=29144
* DateTime.cs :
- A bunch of fixes (patch by Steven Brown). Fraction seconds are
now represented as double. Strict token check for 'Z'.
- Pattern validity check in GetDateTimeFormats(char).
- Fixed pattern "yyyy/M/d HH:mm:ss".
svn path=/trunk/mcs/; revision=29143
* codegen.cs: Check that all referenced assemblies have a strongname
before strongnaming the compiled assembly. If not report error CS1577.
Fix bug #56563. Patch by Jackson Harper.
* typemanager.cs: Added a method to return all referenced assemblies.
Fix bug #56563. Patch by Jackson Harper.
svn path=/trunk/mcs/; revision=29141
* FieldBuilderTest.cs: Added tests for FieldBuilder (mostly
checking error conditions for now)
* EnumBuilderTest.cs: Added tests for EnumBuilder
* MethodBuilderTest.cs: Added tests for invalid parameter
indexes for created types, added test for GetHashCode
svn path=/trunk/mcs/; revision=29133
meaning throw InvalidOperationException for methods that
should not be allowed to execute when type has been
created, and throw NotSupportedException for methods and
properties that should not be called on FieldBuilder
svn path=/trunk/mcs/; revision=29132
* Makefile: Don't sign this assembly as it is fully signed during
compilation (we have the original private key). Thanks to Jackson.
svn path=/trunk/mcs/; revision=29131
appropriate Exceptions here instead.
* FileStream.cs (SetLength): Revert part of my last patch, we're
throwing ObjectDisposedException instead of IOException again.
svn path=/trunk/mcs/; revision=29123
IDictionaryEnumerator from a Hashtable, use a normal IEnumerator
from the newly added ArrayList in SerializationInfo.
* SerializationInfo.cs: Added an extra ArrayList so that we can
keep the SerializationEntrys added in the order.
(SerializationInfo, AddValue): Throw ArgumentNullException
correctly.
svn path=/trunk/mcs/; revision=29118
* HttpContext: User property returns its own "user" value because
the context can walk through different Threads. When "User" property
is changed, change "Thread.CurrentPrincipal" too.
svn path=/trunk/mcs/; revision=29113
* StrongNameManager.cs: Fix ToString() when no verificationSettings
are present (used in sn -Vl).
* sn.cs: Fixed to match documentation.
svn path=/trunk/mcs/; revision=29111
* sn.1: Updated documentation to match the tool and to include more
informations about the configuration kept in machine.config.
svn path=/trunk/mono/; revision=29110
* Driver.cs: handle single quotes in the pattern. We used to fail for,
at least, es and pt cultures with full patterns like
"EEEE d' de 'MMMM' de 'yyyy".
svn path=/trunk/mono/; revision=29098
set scope in InitStore method, removed need for extra protected
member (public API fix)
* IsolatedStorageFile.cs: use InitStore to initialize scope
svn path=/trunk/mcs/; revision=29080
runtime. This way the codebase is set properly. The codebase is
using g_filename_to_uri which expects a full path.
svn path=/trunk/mcs/; revision=29079
and load the assembly using the code base so we get the right
one. Print out the name of the non strong named assembly if one is
referenced.
svn path=/trunk/mcs/; revision=29078
* StrongName.cs: Added corlib specific code to load configuration
from machine.config to allow public key token remapping to work
with (for example) gacutil.
* StrongNameManager.cs: Now load configuration from machine.config.
svn path=/trunk/mcs/; revision=29073
* AssemblyInfo.cs: Updated version number for post beta 2.
* StrongNameManager.cs: Changed XML format to be compatible with
machine.config. Made token uppercase.
* sn.cs: Now load the token remapping configuration from
machine.config. Fixed some errors in help.
svn path=/trunk/mcs/; revision=29057
commands. Allow options to come before commands. Add the /silent
option so we can shut the tool up. And use returns instead of
Environment.Exit where appropriate.
svn path=/trunk/mcs/; revision=29054
* DateTime.cs :
- Now re-checked all common format patterns. They should be tried
with both current culture and invariant culture. Since '/' covers
'-', removed extraneous patterns. Added more common patterns
such as "yyyy-MM-dd" and X509Certificate pattern (it is valid
only after NET_1_1). Commented out 1 character format patterns.
- The format patterns we should try should not be obtained by
GetAllDateTimePatterns(). Just use 'd', 'D', 't', 'T', ... (one
character patterns), to handle UTC correctly. Examined patterns
are changed, to 1) common patterns with specified (or current)
culture, 2) common patterns with invariant, 3) The above "one
character patterns" with specified (or current) culture.
- When trying to parse some kind of patterns such as RFC1123,
always use invariant DateTimeFormatInfo so that they can avoid
parsing with culture-dependent calendar.
- Check "GMT" only when doing Parse(). Don't it when ParseExact().
- Removed extraneous '-' case. It is not special one.
- When ParseExact(), allow only '/' for '/' pattern character.
- When Parse(), allow any non-letter & non-number characters.
- When pattern is not fully parsed, reject that format.
- Added "exact" parameter to some ParseExact().
- RFC1123 pattern is (again) now parsed in local time. I regressed
some problems in previous fix.
svn path=/trunk/mcs/; revision=29051
* Driver.cs : To make "extra pattern only" xxxFormatLength possible,
fill values only when the exact element was available.
svn path=/trunk/mono/; revision=29048
* DateTimeTest.cs :
- Added TestParse3() (not-allowed pattern example), ParseUtcNonUtc()
("GMT" strings and time adjustment), TimeZoneAdjustment() ('Z'
pattern conditions) and CultureIndependentTests() (batch tests for
_all_ or almost all cultures).
- Added more Z string to X509Certificate test.
- Added ParseAllowsQueerString() [not fixed].
svn path=/trunk/mcs/; revision=29045
* locales.c
(ves_icall_System_Globalization_CompareInfo_internal_index):
(ves_icall_System_Globalization_CompareInfo_internal_index_char):
Double-check the resuls of usearches, because ICU currently
ignores most of the collator settings here. Fixes bug 59720.
svn path=/trunk/mono/; revision=29036
* locales.c
(ves_icall_System_Globalization_CompareInfo_internal_index_char):
Fix memory leak and segfault-causing typo. No idea how this one
lasted so long without being noticed.
svn path=/trunk/mono/; revision=29031
* System.Web.dll.sources: removed CSCompiler.cs
* System.Web.Compilation/CSCompiler.cs: removed.
* System.Web.Compilation/CachingCompiler.cs: language independent
compilation for single files.
* System.Web.UI/SimpleWebHandlerParser.cs:
* System.Web.UI/TemplateParser.cs: pass the language when compiling from
a file.
svn path=/trunk/mcs/; revision=29017
* assembly.c:
(mono_assembly_load): search_loaded -> mono_assembly_loaded (we didn't
own the critical section before). Removed dead code (that's done
in the preload hook).
(mono_assembly_load_with_partial_name): call the preload hook.
svn path=/trunk/mono/; revision=29014
* SimpleWebHandlerParser.cs: if we have a global.asax, move its
reference to the end to help mcs loading the assemblies. Fixes bug
#58768.
* TemplateParser.cs: same as above. Removed some kludges to workaround
loading assemblies from bin path that are now in the runtime. Don't
load the assemblies in bin if not needed, but still reference them
when compiling.
svn path=/trunk/mcs/; revision=29010
* ILGenerator.cs (TokenGenerator.GetToken): Added overloaded
version which takes a MethodInfo and a Type[].
(IlGenerator.EmitCall): When emitting a call to a varargs method,
use the new GetToken() to pass the optional argument types to the
runtime.
* ModuleBuilder.cs (ModuleBuilder.getMethodToken): New interncall.
svn path=/trunk/mcs/; revision=29000
* icall.c (ves_icall_ModuleBuilder_getMethodToken): New icall.
* metadata.c (mono_metadata_parse_method_signature): When parsing
a MethodDef which has VarArgs, set sentinelpos.
* metadata.h (MonoMethodSignature): Make `sentinalpos' a signed
`gint16' since we're using -1 for non-varargs methods.
* reflection.c
(ReflectionMethodBuilder): Added `MonoArray *opt_types'.
(method_encode_signature): Added varargs support.
(method_builder_encode_signature): Likewise.
(mono_image_get_varargs_method_token): New static method.
(mono_image_create_method_token): New public method; this is
called via an icall instead of mono_image_create_token() when
calling a varargs method.
svn path=/trunk/mono/; revision=28999
* ExceptionTest.cs: Added [Test] attributes to the test methods.
(InnerExceptionSource): Test that the InnerException's Source is
null unless it's been set.
svn path=/trunk/mcs/; revision=28997
* DateTime.cs: Fixed constructor to limit range of milliseconds from
0,999. Fixed ToType method to work for object, string and DateTime.
svn path=/trunk/mcs/; revision=28995
over ObjectDisposedException, which is not one of the exceptions
listed in the documentation). Also, instead of throwing an
ObjectDisposedException, throw an IOException.
* FileStreamTest.cs (SetLengthWithClosedBaseStream): New test for
checking that the correct exception is thrown when the base stream
is closed.
svn path=/trunk/mcs/; revision=28993
Added support for varargs methods.
* cs-tokenizer.cs (Token.ARGLIST): New token for the `__arglist'
keyword.
* cs-parser.jay: Added support for `__arglist'.
* decl.cs (MemberCache.AddMethods): Don't ignore varargs methods.
* expression.cs (Argument.AType): Added `ArgList'.
(Invocation): Added support for varargs methods.
(ArglistAccess): New public class.
(Arglist): New public class.
* parameter.cs (Parameter.Modifier): Added `ARGLIST'.
* statement.cs (Block.Flags): Added `HasVarargs'. We set this on
a method's top-level block if the method has varargs.
* support.cs (ReflectionParameters, InternalParameters): Added
support for varargs methods.
svn path=/trunk/mcs/; revision=28983
* UTF8Encoding.cs : Length check must be done only when the character
sequence is valid (i.e. should not check when it is overlongs).
See also TestThrowOnInvalid().
svn path=/trunk/mcs/; revision=28980
* DateTime.cs: Fixed OLE Automation date conversions: timezone
insensitive, wrong exception in FromOADate, handling of Min/Max
values, negative doubles where integer part is negative but
decimals are positive! Charming format ;-)
svn path=/trunk/mcs/; revision=28973
* DateTimeFormatEntry.cs : Added "all datetime patterns" support.
* Driver.cs : Added "all datetime patterns" support and fixed some
XPathNavigator use to strictly navigate to "pattern" element.
svn path=/trunk/mono/; revision=28969
* System.Web.dll.sources: removing ServerVariablesCollection. It does
not compile.
* System.Web/HttpRequest.cs: reverting patch from Alon Gazit. Uses the
above file that doesn't compile.
svn path=/trunk/mcs/; revision=28965
* class.cs: Added a AddEventHandler function and a EventHandler readonly property. Also modified define of constructor to accommodate Handles clause.
If one initialize a event handler as
Sub Handler() Handles x.Event
The handler will be initialized by the constructor of the corresponding class by calling AddHandler.
svn path=/trunk/mcs/; revision=28953
* icall.c (ves_icall_Type_GetEvents_internal): Handle the case when
the event has no add and remove methods. Fixes#59629.
svn path=/trunk/mono/; revision=28949
* class.cs: Provide location in indexer error report.
* driver.cs: Use standard names.
* namespace.cs: Catch the use of using after a namespace has been
declared also on using aliases.
svn path=/trunk/mcs/; revision=28944
* String.cs: Fixed Join in case separator parameter is null.
* TimeSpan.cs: Cache format errors during parsing and throw
FormatException only if there was no overflow.
svn path=/trunk/mcs/; revision=28939
* TimeSpanTest.cs: Added test to verify exception order when a parsed
string is both invalid (format) and contains an overflow.
svn path=/trunk/mcs/; revision=28938
* System.Web/HttpBrowserCapabilities.cs: implemented ClrVersion and
GetClrVersions.
* System.Web.Configuration/HttpCapabilitiesBase.cs: set the useragent
of the new HttpBrowserCapabilities object.
* System.Web/HttpException.cs: removed MonoTODO.
svn path=/trunk/mcs/; revision=28936
* XmlDataDocument.cs :
- It was not handling SimpleContent. This fixes bug #56951.
- It was not converting values into DataType of the DataColumn.
svn path=/trunk/mcs/; revision=28931
* ChunkStream.cs: added ChunkLeft property.
* WebConnection.cs:
(EndRead): when using small byte arrays to read from a chunked stream,
ensure we've read the chunk size and try to fulfill the request
completely. fixes bug 59653.
svn path=/trunk/mcs/; revision=28915
Added test cases for exercising \b as a word boundary operator
and as a character class in a regex. Refer bug #58256 for more
information.
svn path=/trunk/mcs/; revision=28913
debugging bug #58256. The original problem reported was about
inconsistency between the way we treat replacement patterns and the
way microsoft treats the replacement patterns in Regex.Replace(). MS
implementation is buggy and doesn't honour escape sequences in the
replacement patterns, even though the SDK claims otherwise.
svn path=/trunk/mcs/; revision=28912
* DecimalTest.cs: Added tests for default ToString(). Added tests when
Decimal is casted to an integer (trunc not rounded). Added tests to
parse very small values (#59301).
svn path=/trunk/mcs/; revision=28906
* DTDObjectModel.cs,
XmlDocument.cs : Close stream always.
* XmlNodeReader.cs : don't expect atomized name in LookupNamespace().
* XmlTextReader.cs : Namespace has was not done. Some tests depends on
this failure and to be fixed.
svn path=/trunk/mcs/; revision=28900
* DTMXPathDocumentBuilder.cs : Close XmlTextReader strictly. It might
raise an error after opening stream and before try-catch.
svn path=/trunk/mcs/; revision=28898
* XsdValidatingReader.cs : Close XmlTextReader more strictly. Exception
might be thrown in ctor() *after* stream open and before try-catch.
svn path=/trunk/mcs/; revision=28897
* X509CertificateCollection.cs: Fixed Contains which works by value
(i.e. not by object reference). Fixed Remove for null and unexisting
elements.
svn path=/trunk/mcs/; revision=28896
* HybridDictionary.cs: Fixed Contains for null argument.
* NameValueCollection.cs: Fixed Set to remove existing values. Fixed
Add(NVC) to throw same exception as MS implementation.
svn path=/trunk/mcs/; revision=28891
* HybridDictionaryTest.cs: Added cases with an empty diectionary.
* NameValueCollectionTest.cs: Added tests to add and replace (set)
existing values in collection. Added tests for CopyTo.
svn path=/trunk/mcs/; revision=28890
* Convert.cs: Fixed the convertion of negative integers (byte, short,
int and long) into string in a specific base (2, 8, 10 or 16).
svn path=/trunk/mcs/; revision=28887
* Driver.cs : Percent patterns are not properly parsed since they are
in fact not separated by '.'
* Entry.cs : Escape '\' to "\\" (for Japanese yen-sign fix).
svn path=/trunk/mono/; revision=28879
* Page.cs: IsPostBack also returns true when method is GET and we have
viewstate information in the query string. Fixes bug #58151.
svn path=/trunk/mcs/; revision=28876
* System.Web/TraceContext.cs: don't check if HttpRuntime.TraceManager
is enabled when writing.
* System.Web.Compilation/PageCompiler.cs: fixed Trace and add support
for Buffer.
* System.Web.UI/Page.cs: removed obsolete TODO. Only check if Trace is
enabled, not HttpRutime.TraceManager.
* System.Web.UI/PageParser.cs: for 'trace' we have 2 variables now.
Added support for 'buffer' attribute.
Fixes bug #58481.
svn path=/trunk/mcs/; revision=28873
* fr_CH.xml : missing updates.
* Renamed cs.xml as cs_CZ.xml and added number format.
Also renamed lt.xml as lt_LT.xml. They are files' precedence matter.
* es_NI.xml : added.
* en.xml, en_CA.xml, en_IE.xml, en_PH.xml, en_US.xml, en_ZW.xml :
Change with related to the change of NumberDecimalDigits handling.
* es_PR.xml, ja.xml, ko_KR.xml :
Added number format.
svn path=/trunk/mono/; revision=28871
* Driver.cs :
- NumberDecimalDigits are almost differently specified by locale
xml files. Almost all of them have ".###", but we need ".##" in
almost all the locale. So let's *assume* that the number of
digit is always +1 extraneous by this Driver itself.
This change accompanies with some existing supp/*.xml changes.
- For decimal patterns and currency patterns, when numeric patterns
does not have ';'-separated patterns, it ignored the whole pattern
string. Fixed it by just copying the same patterns.
- When parsing percent patterns, '%' characters were in the way.
- When the decimal part of the percent pattern ends with ".##0",
the value of PercentDecimalDigits is 2.
- Assume PercentDecimalDigits as 2 by default.
svn path=/trunk/mono/; revision=28870
* ConvertTest.cs: Added tests to convert min/max values of integer
types to strings in all bases.
* SByteTest.cs: Added test to parse min/max values.
svn path=/trunk/mcs/; revision=28869
* Binder.cs: don't crash when we have a 'null' argument Type array.
Allow it for non-value types. Fixed for both, methods and properties.
Closes bug #58846.
svn path=/trunk/mcs/; revision=28859
* Math.cs: Fixed IEEERemainder to return -0 (0x8000000000000000) when
the dividend is negative and the result is 0 (remainder).
svn path=/trunk/mcs/; revision=28845
* MathTest.cs: Added case to check for negative 0 (double) in
IEEERemainder.
* TimeSpanTest.cs: Added more asserts in existing tests cases.
Added case to check for ToString with MinValue and MaxValue.
svn path=/trunk/mcs/; revision=28840
interested in public interfaces that are implemented by a given
type. Include protected internal fields and ctors.
svn path=/trunk/mcs/; revision=28821
* ConstraintCollection.cs: to fix public API, use
DataTable.fInitInProgress to check whether initialization
of DataTable is in progress
* DataColumn.cs: added stubs for missing methods
* DataRowBuilder.cs: marked Table property internal to
fix public API
* DataSet.cs: removed extra empty destructor, marked
OnMergeFailed internal to fix public API
* DataTable.cs: use fInitInProgress field to hold init
status, to match MS.NET
* DataView.cs: added missing attributes on IsOpen
svn path=/trunk/mcs/; revision=28816
* mono-api-diff.cs: fixes event diff when we're missing attributes. Now
the class status properly shows the attributes under the event.
* mono-api-info.cs: include protected internal methods.
svn path=/trunk/mcs/; revision=28805
* BufferedStreamTest.cs: Modified two tests (using newer helper
classes) to be more specific and avoid regressions of bugs like
#59534.
* StreamHelperTest.cs: New. Helper classes that provides read-only,
write-only or non-seekable stream.
svn path=/trunk/mcs/; revision=28804
* BuiltInDatatype.cs,
XmlSchemaFacet.cs,
XmlSchemaSimpleTypeRestriction.cs,
XmlSchemaXPath.cs : modified some enum const to static readonly
(.NET 1.0 does not allow it). Use safe overload of LookupNamespace().
svn path=/trunk/mcs/; revision=28790
* XmlNamespaceManagre.cs : Fixed LookupNamespace() and LookupPrefix().
They require that names are *already* atomized.
* XmlNodeReader.cs,
XmlTextWriter.cs : use safe overload of LookupXXX().
svn path=/trunk/mcs/; revision=28789
* Compiler.cs,
GenericOutputter.cs : XmlNamespaceManager.LookupPrefix() allows only
atomized names. Fixed XPathNavigatorNsm.LookupNamespace() that
should override another overload.
svn path=/trunk/mcs/; revision=28788
* generic.cs (ConstructedType.GetMemberAccess): Renamed to
GetSimpleName() and return a SimpleName.
* ecore.cs (SimpleName.Arguments): New public field.
(SimpleName): Added overloaded ctor which takes an additional
TypeArguments argument.
(SimpleName.SimpleNameResolve): Added support for generic methods.
(MethodGroupExpr.ResolveGeneric): New public method. The code was
formerly in MemberAccess.DoResolve(), but we also need it in
SimpleNameResolve().
* expression.cs (MemberAccess.DoResolve): Use the new
MethodGroupExpr.ResolveGeneric().
svn path=/trunk/mcs/; revision=28783
* DataSet.cs : complex table content child was not properly added
when it is the only one child in the parent table. Fixed bug #53959.
svn path=/trunk/mcs/; revision=28782
* TemplateControlCompiler.cs: use CodeDelegateCreateExpression instead
of CodeObjectCreateExpression for the render method delegate. Thanks
to Jochen Wezel.
svn path=/trunk/mcs/; revision=28775
* DirectoryEntry.cs: added protected override for Dispose, marked
properties TODO
* DirectoryServicesPermissionEntryCollection.cs: added stubs for
missing protected methods
* PropertyCollection.cs: flagged field private to fix public API
* PropertyValueCollection.cs: removed empty extra methods, added
stub for missing methods to fix public API
* SearchResult.cs: removed unused local variable
* SearchResultCollection.cs: flagged field private to fix public
API, added missing property Dispose method and finalizer
svn path=/trunk/mcs/; revision=28771
to fix API compatibility with MS.NET
* XmlSerializationWriter.cs: added missing protected members
to fix API compatibility with MS.NET
svn path=/trunk/mcs/; revision=28770
* typemanager.cs (closure_private_ok, closure_invocation_type)
(closure_qualifier_type, closure_invocation_assembly)
(FilterWithClosure): Move to ...
(Closure): New internal nested class.
(Closure.CheckValidFamilyAccess): Split out from Closure.Filter.
(MemberLookup, RealMemberLookup): Add new almost_match parameter.
* ecore.cs (almostMatchedMembers): New variable to help report CS1540.
(MemberLookup, MemberLookupFailed): Use it.
* expression.cs (New.DoResolve): Treat the lookup for the
constructor as being qualified by the 'new'ed type.
(Indexers.GetIndexersForTypeOrInterface): Update.
svn path=/trunk/mcs/; revision=28761
* mono-api-info.cs: if we have a TODOAttribute, get the Comment property
value and store it in attribute 'comment'.
* mono-api-diff.cs: if we have a 'comment' keep it in the output file.
* mono-api.xsl: if we have a 'comment' set it as the title attribute
of the monoTODO gif image.
Now we can see the MonoTODO comments when browsing the class status
pages.
svn path=/trunk/mcs/; revision=28747
* attribute.cs
(GetConditionalAttributeValue): New method. Returns
condition of ConditionalAttribute.
(SearchMulti): New method. Returns all attributes of type 't'.
Use it when attribute is AllowMultiple = true.
(IsConditionalMethodExcluded): New method.
* class.cs
(Method.IsExcluded): Implemented. Returns true if method has conditional
attribute and the conditions is not defined (method is excluded).
(IMethodData): Extended interface for ConditionalAttribute support.
(PropertyMethod.IsExcluded): Implemented.
* decl.cs
(MemberCore.Flags): Excluded_Undetected, Excluded new caching flags.
* expression.cs
(Invocation.IsMethodExcluded): Checks the ConditionalAttribute
on the method.
svn path=/trunk/mcs/; revision=28745
* ObjectStateFormatter.cs : csc build fix. Protected Read()/Write()
(of other objects) are called in TypeConverterFormatter.
svn path=/trunk/mcs/; revision=28735
* AccessControlEntry.cs: removed extra finalizer
* AccessControlList.cs: removed extra finalizer
* ActiveXMessageFormatter.cs: removed extra finalizer
* BinaryMessageFormatter.cs: public API fixes
* DefaultPropertiesToSend.cs: public API fixes
* IMessageFormatter.cs: public API fixes
* Message.cs: public API fixes
* MessageEnumerator.cs: public API fixes
* MessagePropertyFilter.cs: public API fixes
* MessageQueue.cs: public API fixes
* MessageQueueAccessControlEntry.cs: public API fixes
* MessageQueueEnumerator.cs: public API fixes
* MessageQueueException.cs: public API fixes
* MessageQueueInstaller.cs: public API fixes
* MessageQueuePermission.cs: public API fixes
* MessageQueuePermissionAttribute.cs: public API fixes
* MessageQueuePermissionEntry.cs: public API fixes
* MessageQueuePermissionEntryCollection.cs: public API
fixes
* MessagingDescriptionAttribute.cs: public API fixes
* PeekCompletedEventArgs.cs: public API fixes
* ReceiveCompletedEventArgs.cs: public API fixes
* Trustee.cs: removed extra finalizer
* XmlMessageFormatter.cs: public API fixes
svn path=/trunk/mcs/; revision=28733
* mono-api-info.cs: fixed issue where counters were not output
for missing attributes if there were no other mismatches
svn path=/trunk/mcs/; revision=28727
* Makefile, executable.make, library.make, rules.make :
Added new target "run-test-ondotnet" that works what "run-test"
used to be on windows (i.e. tests our libs under MS.NET).
svn path=/trunk/mcs/; revision=28725
* TimeSpan.cs: Fixed overflow issues when delaing with big (days) time
spans. Fixed parsing when only days are presents in the string (which
should be illegal according to the documentation but is supported).
svn path=/trunk/mcs/; revision=28724
* ObjectStateFormatter.cs: before choosing the binary formatter, check
if the object type has a TypeConverter that can convert to/from string.
Fixes bug #59495.
* Page.cs: call GetViewStateString from outside the WriteLine. This
allows writing to the Response when getting the string without breaking
the HTML generated.
svn path=/trunk/mcs/; revision=28721
proxies are checked against the ones generated by MS.NET.
* services.xml: Updated service list.
* wstest.cs: new command checkdiff: generates a xml file using nunit format
with all differences between mono generated proxies and MS.NET ones.
* client/localhost/ConvRpcTest.cs: Fixed url.
svn path=/trunk/mcs/; revision=28719
* expression.cs (ArrayCreationExpression): Make this just an
`expression'. It can't be a statement, so the code here was
dead.
svn path=/trunk/mcs/; revision=28718
the 2001 one when reading the xsi type.
* MapCodeGenerator.cs: Take into account that the root namespace and element
name may have changed from one export to another of the same type. In
this case the class attributes need to be regenerated.
* SoapCodeExporter.cs, XmlCodeExporter.cs: Take the enum name from XmlType,
not ElementName. Idem for namespace.
* XmlReflectionImporter.cs: Set nullable property of XmlTypeMapping.
* XmlRootAttribute.cs: Default value for nullable is true.
* XmlSchemaImporter.cs: The root name for a class may change in some
scenarios (for example, when the type is initially exported as part of
another type and later exported as a root type).
* XmlSerializationReader.cs: In GetXsiType(), if the type attribute is not
found using the standard namespace, try getting the type using
the 2000/10 and 1999 namespaces.
* XmlTypeMapping.cs: Added IsNullable property. Updated SetRoot method.
svn path=/trunk/mcs/; revision=28711
* WebConfigurationSettings.cs: when the virtual path is not /, don't
loop forever trying to read configuration from /. Fixes bug #59480.
svn path=/trunk/mcs/; revision=28710
* Binder.cs: default score must be lower than fail_score or we'll get
an ambiguous match when no indexers given and one single match is found.
svn path=/trunk/mcs/; revision=28698
MS behavior. Always use import input parameters as System.String.
* ProtocolImporter.cs: Remove _x0020_ from type names.
* SoapProtocolImporter.cs: Fixed case of generated methods to match
MS behavior.
svn path=/trunk/mcs/; revision=28694
Fixed#56452
* class.cs (MemberBase.GetSignatureForError): New virtual method.
Use this method when MethodBuilder is null.
(MethodData.DefineMethodBuilder): Encapsulated code to the new method.
Added test for error CS0626 (MONO reports error for this situation).
(IMethodData.GetSignatureForError): Extended interface.
svn path=/trunk/mcs/; revision=28688
* mono-debug.h (MONO_DEBUGGER_VERSION): Bumped version to 41.
* debug-mono-symfile.h: Bumped symbol file version number to 37.
svn path=/trunk/mono/; revision=28679
* Binder.cs: removed ^Ms. In case of several properties matching, try
to disambiguate based on the indexer types provider and the conversions
from those into the ones of the property.
svn path=/trunk/mcs/; revision=28670
* all: move stuff around so that it builds properly.
build system cant handle building two exes from one directory.
svn path=/trunk/mcs/; revision=28667
* attribute.cs
(AttributeTester.GetObsoleteAttribute): Returns instance of
ObsoleteAttribute when type is obsolete.
* class.cs
(TypeContainer.VerifyObsoleteAttribute): Override.
(Method.GetSignatureForError): New method for usage when MethodBuilder is null.
(MethodCode.VerifyObsoleteAttribute): Override.
(MemberBase.VerifyObsoleteAttribute): Override.
* decl.cs
(MemberCore.CheckUsageOfObsoleteAttribute): Tests presence of ObsoleteAttribute
and report proper error.
*delegate.cs
Delegate.VerifyObsoleteAttribute): Override.
* ecore.cs
(Expression.CheckObsoleteAttribute): Tests presence of ObsoleteAttribute
and report proper error.
(FieldExpr.DoResolve): Added tests for ObsoleteAttribute.
* enum.cs
(Enum.GetObsoleteAttribute): Returns ObsoleteAttribute for both enum type
and enum member.
* expression.cs
(Probe.DoResolve, Cast.DoResolve, LocalVariableReference.DoResolve,
New.DoResolve, SizeOf.DoResolve, TypeOf.DoResolce, MemberAccess.DoResolve):
Added test for ObsoleteAttribute.
* statement.cs
(Catch): Derived from Statement.
svn path=/trunk/mcs/; revision=28651
* platforms/win32.make : TEST_RUNTIME should be always mono we can't
test our libs against MS.NET runtime. Think about internal call).
svn path=/trunk/mcs/; revision=28628
* SortedListTest.cs: Added new test when initial capacity is set to 0
(so it never returns to default, 16, when Capacity is set to 0) unless
Clear is called. Cleaned up unused SetUp/TearDown.
svn path=/trunk/mcs/; revision=28622
* Import.cs: removed extra XmlIgnore attribute on ServiceDescription
* Message.cs: removed extra XmlIgnore attribute on ServiceDescription
* MessageBinding.cs: removed extra DefaultValue attribute from Name,
removed extra XmlIgnoreAttribute from OperationBinding
* MessagePart.cs: removed extra XmlIgnore attribute on Message
* MimeContentBinding.cs: removed extra DefaultValue attribute on Part
* Operation.cs: removed extra XmlIgnore attribute on PortType
* OperationBinding.cs: removed extra XmlIgnore attribute on Binding
* OperationMessage.cs: removed extra XmlIgnore attribute on Operation
* Port.cs: removed extra XmlIgnore attribute on Service
* PortType.cs: removed extra XmlIgnore on ServiceDescription
* Service.cs: removed extra XmlIgnore on ServiceDescription
* ServiceDescriptionFormatExtension.cs: removed extra XmlIgnore
attribute on Parent
* SoapHeaderBinding.cs: added XmlElement attribute on Fault
* HttpSimpleProtocolImporter.cs: removed unused variable
* ServiceDescriptionImporter.cs: removed unused variable
* SoapProtocolImporter.cs: removed unused variable
svn path=/trunk/mcs/; revision=28615
* syntax.cs: re-applied my patch from 2004-05-27 plus a fix which is
emitting a Category.All if both a category and its negated value are
present.
svn path=/trunk/mcs/; revision=28609
* ArrayTest.cs: Fixed array used for some tests. Strangely the tests
didn't fail on MS runtime ?!?! but they should have!
svn path=/trunk/mcs/; revision=28606
* Array.cs: Fixed legal case where value is null.
* Byte.cs: Fixed ToString when format is an empty string (use "G").
svn path=/trunk/mcs/; revision=28603
* Guid.cs: Renamed private fields (and changed some to signed) to
match MS implementation and allow serialization to work. Fix
bug #59113.
svn path=/trunk/mcs/; revision=28602
* ArrayListTest.cs: Added new test for null in BinarySearch.
* HashtableTest.cs: Added null checking fro GetObjectData.
svn path=/trunk/mcs/; revision=28600
* FileTest.cs: Added tests to confirm that Exists never throws
exceptions even for invalid filenames or for unexisting directories.
* PathTest.cs: Added windows-specific tests that shows that
ChangeExtension validate the input patch but doesn't validate the
resulting path.
svn path=/trunk/mcs/; revision=28599
* ArrayTest.cs: Added tests for null values in BinarySearch.
* Byte.cs: Added test for default ToString format value.
svn path=/trunk/mcs/; revision=28598
* HttpRequest.cs: nullify _sRequestRootVirtualDir and baseVirtualDir
when SetFilePath is called. This way the cached values are reset and
get the right value in case someone (namely SessionStateModule +
cookieless session) changes the FilePath after the property cached its
value. Fixes bug #59364.
svn path=/trunk/mcs/; revision=28586
* DataSet.cs : When a row has no parent row but the table has parent
relation(s), that row had been always ignored.
svn path=/trunk/mcs/; revision=28572
* XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
rejected same-named tables in different hierarchy. Thanks to Boris.
svn path=/trunk/mcs/; revision=28565
* Reverted patch to namespace.cs (Use lookuptypedirect). This
caused a regression: #59343. Referencing nested classes from an
assembly stopped working.
svn path=/trunk/mcs/; revision=28560
* SignedXml.cs : partial fix for bug #59165 that does not output
namespace that conflicts with element's namespace.
svn path=/trunk/mcs/; revision=28551
* DataTableTest.cs : Added test for serialization.
* DataSetInferXmlSchemaTest.cs : Added test for schema element skip.
svn path=/trunk/mcs/; revision=28549
* Misc.cs : made Util class internal.
* RelaxngDatatypeProvider.cs : looks commit was missing.
* RelaxngException.cs : made one .ctor() internal that accepts
RdpPattern.
* RelaxngNameClas.cs : Names list should not be settable.
* RelaxngPattern.cs : RelaxngRefPattern class is internal use only.
* RelaxngPatternType.cs : there is not "Include" pattern.
svn path=/trunk/mcs/; revision=28546
* OptionDetails.cs : ShortForm member now a string to favor some simplifications, fixes for Bug 58672
* OptionList.cs : Fixes for Bug 58672 and better handling for mixed-form options (linux/windows)
svn path=/trunk/mcs/; revision=28543
* Financial.cs:
Correct IRR and MIRR method signatures and prevent public default constructor, all according to Class Status Page (corcompare)
svn path=/trunk/mcs/; revision=28530
@@ -50,7 +50,7 @@ Specifies the namespace of the XML schema element for which a class or a dataset
Specifies the programming language to use for the generated code. The only supported languages are CS (C#) and VB (Visual Basic.NET).
.TP
.I"/generator:type,assembly""/g:type,assembly"
Indicates xsd.exe to use custom CodeDomProvider to generate code. Type name must be full name. Assembly name is file name that xsd.exe tries to load.
Indicates xsd.exe to use custom CodeDomProvider to generate code. The type name must be full name. Assembly name is a local file name that is going to be loaded. The specified Type must have the default constructor.
.TP
.I"/outputdir:path""/o:path"
Specifies the directory where to generate the code or schemas.
* Makefile: Removed inclusion of rules.make from Makefile for two reasons :
- This Makefile as of now has no dependency on rules.make what so ever
- Because of inclusion of INTENAL_MBAS in rules.make it was causing confliction with existing INTERNAL_MBAS in this makefile and causing lots of tests to fail
* Makefile: Removed inclusion of rules.make from Makefile for two reasons :
- This Makefile as of now has no dependency on rules.make what so ever
- Because of inclusion of INTENAL_MBAS in rules.make it was causing confliction with existing INTERNAL_MBAS in this makefile and causing lots of tests to fail
Loaded 100 of 10393 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.