* main.c: MS's ildasm writes '// end of class' not '// end of
type'. The python.net tool searches for this string.
svn path=/trunk/mono/; revision=30406
* driver.c: remove loop from the default optimizations: it seems to
interact badly with some of the other options (see bug #60613).
svn path=/trunk/mono/; revision=30383
focus and scale parameters in SetBlendTriangularShape and
SetSigmaBellShape methods.
* PathGradientBrush.cs: Same as above.
svn path=/trunk/mcs/; revision=30377
* Changed comments in ikvm-jni, mono/dis, mono/interpreter,
mono/metadata, mono/monoburg and mono/utils to be C90-style instead
of C99/C++-style
svn path=/trunk/mono/; revision=30337
* DefaultWatcher.cs: fixed subdirectories notifications and don't
fail when any directory is removed. Closes bug #59840.
svn path=/trunk/mcs/; revision=30313
handling of "implicit constant expression conversions". At this
point, we already know that the conversion is possible -- we're
only checking to see which is better.
svn path=/trunk/mcs/; revision=30309
* VBCodeCompiler.cs : On windows we use fixed mono.exe and mbas.exe
located by mscorlib.dll. (The same fix as that of CSharpCodeCompiler)
svn path=/trunk/mcs/; revision=30292
* threads.c (SuspendThread):
* timed-thread.c (_wapi_timed_thread_suspend): Wrap sem_wait in a
while loop. See bug 58161.
svn path=/trunk/mono/; revision=30291
(tmpinst-dir-contents, $(tmpinst)/bin/mono.bat): Remove mono.bat
in W32. Use 'mono' and 'mcs' in W32 too.
(bootstrap) [PLATFORM_WIN32]: Back to single stage bootstrap.
* runtime/net_2_0/Makefile.am (gac_assemblies_list): Don't mention
nunit.*, IBM.Data.DB2, ICSharpCode.SharpZipLib.
Fix for #60443, the GAC .DLL-Hell.
svn path=/trunk/mono/; revision=30287
gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
If read function was called after seek function call, the
implementation was returning data from bytes already peeked and
not from the new position in stream, which we have seeked.
svn path=/trunk/mcs/; revision=30274
other varargs tets. Someday I will get this right, I don't think
today is that day though. This fix basically just makes sure to
trim the sentinel off of signatures. Also eliminated some code
duplication.
* ParamDef.cs: Make IsSentinel work for both cases of generating a
sentinel param def.
svn path=/trunk/mcs/; revision=30233
* PageParser.cs:
* UserControlParser.cs: set the page/user control base type even when no
default directive provided. Fixes bug #60572.
svn path=/trunk/mcs/; revision=30227
* SymmetricTransform.cs: The condition to keep a block is a little
more complex so it was moved as a private property.
svn path=/trunk/mcs/; revision=30223
* appdomain.c: for paths in PrivateBinPath that are absolute, there's
no need to build a new path combining that with the application base.
Fixes bug #60442.
svn path=/trunk/mono/; revision=30217
* PageParser.cs: use default trace settings from web.config and check
if trace is only requested for local connections. Fixes bug #60180.
svn path=/trunk/mcs/; revision=30206
* CryptoStreamTest.cs: Added two tests for bug #60573. One shows that
an encryptor doesn't reduce the number of block on Write while the
second shows that a decryptor does reduce the number of blocks on
Write.
svn path=/trunk/mcs/; revision=30200
* SymmetricTransform.cs: Reduce by one the number of block when
decrypting. This operation was in CryptoStream before but is only
required for decryption (which CryptoStream can't know).
Fix bug #60573.
svn path=/trunk/mcs/; revision=30199
* CryptoStream.cs: Removed the block reduction. This seems to be done
only for Decryptor so it was moved to SymmetricTransform.
svn path=/trunk/mcs/; revision=30198
* mono-debug-debugger.c (mono_debugger_unhandled_exception): Store
the `exc' object in a static object to put it into the GC's root set.
svn path=/trunk/mono/; revision=30193
* TypeBuilder.cs: handle properly the case when SetParent()
is called (requires an updated runtime, too bug#60474).
svn path=/trunk/mcs/; revision=30185
* OdbcConnection.cs: Fix: Moved env allocation to Open method.
Disconnection & freeing handles are done in Close
method to avoid simultaneous connections.
* libodbc.cs : Added constants for odbc version.
svn path=/trunk/mcs/; revision=30161
* Added test to check whether the OdbcConnection.Close method closes
all the handles.
* New files:
OdbcConnectionTest.cs - test suite for OdbcConnection class.
svn path=/trunk/mcs/; revision=30160
* flowanalysis.cs (UsageVector.MergeChild): If we're a loop and we
neither return nor throw, reset the barrier as well. Fixes#60457.
svn path=/trunk/mcs/; revision=30150
* Uri.cs : Such ctor arg string that starts with "//" should be
regarded as a local file path that will be condensed to single "/",
so handle such path differently under Windows and under *nix.
Since '\\' is a valid path character on Unix, so we should not
replace it with '/' in LocalPath.
svn path=/trunk/mcs/; revision=30142
* UriTest.cs : As Unix paths, //foo/bar never means host == foo,
file path == /bar. So on *nix environment, interpret LocalPath of
file://foo/bar as /bar, not //foo/bar.
* test-uri-list.txt, tset-uri-props.txt : We cannot test such path
that starts with "//" in automatic one, since on Windows it is
UNC host name but on Unix it is condensed to /foo style abs path.
* UriTest2.cs : Test only on windows such path that starts with "\\".
svn path=/trunk/mcs/; revision=30141
* appdomain.c: Removed the g_free on the public key token. Now copy
the pk token string into the MonoAssemblyName buffer using g_strlcpy.
* assembly.c: Added public key token string value when loading
assemblies. Fix bug #60439.
* icall.c: Added missing informations (like public key) in
GetReferencedAssemblies. Fix#60519.
* image.h: Changed definition for public key token from const char*
public_tok_value to guchar public_key_token [17];
* reflection.c: Updated for changes to public key token.
svn path=/trunk/mono/; revision=30140
* events.c (CreateEvent): When creating an auto-reset event that
is initially owned, make sure the set count starts at 1.
svn path=/trunk/mono/; revision=30137
All changes need to be reviewed and committed.
I have pulled off Rob's changes on FileSystem.cs temporarily. I will
remerge it another day or two.
svn path=/trunk/mcs/; revision=30131
* DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
schema is inside the document element (as created in XmlWriteMode
.WriteSchema), it should read schema from that non-document element.
This fixes one case reported in bug #60470.
svn path=/trunk/mcs/; revision=30130
* mono-debug.h, mono-debug-debugger.h, debug-mono-symfile.h:
mark headers as not supported, they are installed only for use by the
debugger.
svn path=/trunk/mono/; revision=30119
* MutexTest.cs: No need to ignore these tests now
* ThreadTest.cs: You can't Start() a thread that's been aborted.
Improve state tests.
svn path=/trunk/mcs/; revision=30108
* Consts.cs (UnmanagedType_80): While bootstrapping, refer to new
internal bootstrap-only define in UnmanagedType.
svn path=/trunk/mcs/; revision=30097
* configure: Patch from Mariano Su��rez-Alvarez
<[email protected]> to make configure accept jhbuild style
/prefix /usr options, and to continue past unknown options. Currently
this patch is a bit spammy with multiple unknown options, anyone
who is interested is welcome to fix this.
svn path=/trunk/mcs/; revision=30093
* exception.c (mono_get_exception_security): It's in
"System.Security", not in "System".
* mono-debug-debugger.c (mono_debugger_add_builtin_types): Add all
the exception classes.
svn path=/trunk/mono/; revision=30067
* mini/mini-exceptions.c
(mono_handle_exception): Added `gpointer original_ip' argument.
After calling mono_unhandled_exception(), call
mono_debugger_unhandled_exception() and if that returns true,
restore the context and return.
svn path=/trunk/mono/; revision=30057
* mini-ppc.c: prefer the use of relative branches so
they won't need to be patched in aot code (patch from Patrick Beard).
svn path=/trunk/mono/; revision=30046
* aot.c: patch from Patrick Beard to make the output assembly
more correct for the MacOSX assembler. Small tweak to
generate sane images on Linux/PPC, too.
svn path=/trunk/mono/; revision=30045
* DirectoryInfoTest.cs,
DirectoryTest.cs,
FileStreamTest.cs,
FileSystemInfoTest.cs:
Replace all '/' in path with Path.DirectorySeparatorChar.
svn path=/trunk/mcs/; revision=30037
* reflection.c: Load the assembly in mono_reflection_type_from_name,
if it was not loaded before. Fix parts of #60439.
svn path=/trunk/mono/; revision=30036
* marshal.c, icall.c, object.c, image.c: fix the runtime_invoke ()
code that was broken since Ben's change: wrappers are now
dependent on the method signature only again.
svn path=/trunk/mono/; revision=30032
(all-local): ... here.
* library.make ($(the_lib), $(test_lib), $(btest_lib), all-local):
Likewise.
(LIBRARY_SNK): New default define. Allows library to be signed
with a key other than mono.snk.
($(the_lib_signature_stamp)): New stamp file created when an
assembly is signed.
(install-local, uninstall-local, maybe-sign-lib): Set MONO_PATH.
svn path=/trunk/mcs/; revision=30024
* mono-sha1.c : close opened file in case of successful read. This
saves a bunch of System.Reflection Emit failures under windows.
svn path=/trunk/mono/; revision=30019
a statement. Temporarily disabled object_literal in order to test
the block structure and continue and break statements.
svn path=/trunk/mcs/; revision=30002
need to jump if the expression evaluates to true. Continue class,
replaced ParentIsItrStm with InLoop, emit jump to correct
place. Break class, implemented Resolve; deleted
ParentIsCorrect. DoWhile, While classes, set LoopBegin and
LoopEnd. While class, set LoopBegin and LoopEnd.
svn path=/trunk/mcs/; revision=29999
break and continue in order to jump to the desired place. Added
check for converting to boolean if we encounter an identifier (at need_convert_to_boolean).
svn path=/trunk/mcs/; revision=29998
* XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
inference target. For bug #60470. (MS does not support schema
document inference and results in unconsistent dataset structure.)
svn path=/trunk/mcs/; revision=29977
* DataTableCollection.cs : reset the table's DataSet to null when
removing a table from this collection.
* DataTable.cs : When Namespace is not specified explicitly, its
Namespace property reflects DataSet's Namespace if exist.
This fixes bug #60469.
svn path=/trunk/mcs/; revision=29975
* class.h, class.c: more accessors.
* metadata.h, metadata.c: prepare for hiding MonoType and
MonoMethodSignature: people should use the accessors from now on
outside of the tree.
svn path=/trunk/mono/; revision=29946
list of typerefs that matches the algorithm for creating vararg
signatures from paramdefs. This is used when creating methodref
signatures.
* MethodRef.cs: Use the new CreateVarargSignature method to create
the methods signature if it is a vararg method.
svn path=/trunk/mcs/; revision=29945
* event-private.h:
* events.c: Auto-reset events need to release one thread for each
time SetEvent() is called. Fixes bug 41292.
* threads.h:
* mutex-private.h:
* mutexes.c: Scan for mutexes that are still locked by a thread
when it exits. Fixes the MS demo app linked by bug 41292.
* wait.c (test_and_own): Make sure a handle is signalled before it
is owned.
svn path=/trunk/mono/; revision=29909
* IProcessInitializer.cs: added missing marshalling attributes
* IRegistrationHelper.cs: added missing marshalling attributes
* ImpersonationLevelOption: fixed enum field values to match MS.NET
* InstallationFlags: fixed enum field values to match MS.NET
* PropertyLockMode: fixed enum field values to match MS.NET
* PropertyReleaseMode: fixed enum field values to match MS.NET
* RegistrationHelper: added missing marshalling attributes
* RegistrationHelperTx: added missing marshalling attributes
* SynchronizationOption: fixed enum field values to match MS.NET
* TransactionIsolationLevel: fixed enum field values to match MS.NET
* TransactionVote: fixed enum field values to match MS.NET
svn path=/trunk/mcs/; revision=29895
* Makefile.am: process data before runtime, so the config file is
installed and gacutil has a chance to work (finding symlink).
svn path=/trunk/mono/; revision=29890
* mini.c, mini.h, mini-ppc.c: handle varargs methods with a special
case until bug #59509 is fixed (shows up in #60332).
svn path=/trunk/mono/; revision=29884
that mono_trace_init is called if mono_tracev is our first trace
statement is mono_tracev. Little indentation fix.
svn path=/trunk/mono/; revision=29878
* locales.c: Tell ICU the lengths of strings, it can cope with
embedded \0 then. Fixes bug 59274, and doesn't break bug 55822.
svn path=/trunk/mono/; revision=29875
* XmlDataDocumentTest2.cs : When line ending is LF, CR is preserved.
To reproduce on windows too, set NewLine as LF.
svn path=/trunk/mcs/; revision=29874
Test if files exist in the mcs/ tree before creating symlinks.
Remove symlinks before creating them again.
* runtime/net_1_1/Makefile.am (mscorlib.dll $(gac_assemblies)): Likewise.
* runtime/net_2_0/Makefile.am (mscorlib.dll $(gac_assemblies)): Likewise.
Make real bug more explicit.
svn path=/trunk/mono/; revision=29871
* DataContainer.cs - CheckedforNull before calling the relavant setmethods in each of the
SetItemForDataRecord method for all the classes.
svn path=/trunk/mcs/; revision=29866
* DateTime.cs :
- Added new common pattern "yyyy/M/dZ"
- empty string should not be compared in _ParseEnum()
- Use culture independent string comparison in _ParseString()
- Whitespace removal should be checked after '..' token check (some
pattern such like es-ES LongDatePattern contains spaces in '..').
- formats null check should be done (to throw ArgumentNullException)
in ParseExact().
- When specified one character format, dates are incorrectly regarded
as to use invariant culture.
svn path=/trunk/mcs/; revision=29863
* DateTimeTest.cs : Improved CultureIndependentTests(). Error message
contains specific locale and error location. Verified by run-test-
ondotnet and commented out X509-like pattern.(not all culture passes)
svn path=/trunk/mcs/; revision=29861
bootstrap library, we have to keep this fix even if the in-tree
mcs compiler is fixed.
* UCOMIEnumConnections.cs: Replace '(UnmanagedType) 80' in
attribute field initialization with Consts.UnmanagedType_80.
* UCOMIEnumMoniker.cs: Likewise.
* UCOMIEnumString.cs: Likewise.
* UCOMIStream.cs: Likewise.
* UCOMITypeInfo.cs: Likewise.
* UCOMITypeLib.cs: Likewise.
svn path=/trunk/mcs/; revision=29856
* CONNECTDATA.cs: have layout and charset match MS.NET
* DISPPARAMS.cs: have layout and charset match MS.NET
* ELEMDESC.cs: have layout and charset match MS.NET
* EXCEPINFO.cs: have layout and charset match MS.NET
* IDLDESC.cs: have layout and charset match MS.NET
* PARAMDESC.cs: have layout and charset match MS.NET
* STATSTG.cs: have layout and charset match MS.NET
* TYPEATTR.cs: have layout and charset match MS.NET
* TYPEDESC.cs: have layout and charset match MS.NET
* TYPELIBATTR.cs: have layout and charset match MS.NET
* VARDESC.cs: have layout and charset match MS.NET
svn path=/trunk/mcs/; revision=29848
* SqlConnection.cs - handled null being passed as a connectionstring
- checked for minimal set of parameters in connectionstring.
- handled unrecogonized keywords similar to MS.NET
svn path=/trunk/mcs/; revision=29846
* KeyInfoX509Data.cs: Removed old internal IssuerSerial for the
undocumented structure (now documented, and public, in Fx 2.0).
* X509IssuerSerial.cs: Use structure as public in NET_2_0 and as
internal before that.
svn path=/trunk/mcs/; revision=29817
* statement.cs (EmitCollectionForeach): Account for the fact that
not all valuetypes are in areas which we can take the address of.
For these variables, we store to a temporary variable. Also, make
sure that we dont emit a `callvirt' on a valuetype method.
svn path=/trunk/mcs/; revision=29812
* SqlMoney.cs: Removed old "hack" to correct scale after rounding as
Decimal has been fixed (in fact this code was moved and adapted for
Decimal as it was better than the previous fix).
svn path=/trunk/mcs/; revision=29802
* SafeArrayRankMismatchException.cs: marked serializable to match
MS.NET
* SafeArrayTypeMismatchException.cs: marked serializable to match
MS.NET
svn path=/trunk/mcs/; revision=29801
* Decimal.cs: Fixed regression in System.Data caused by the recent
changes. Adapted (and moved) the code to correct the scale from
SqlMoney.
svn path=/trunk/mcs/; revision=29795
* relaxngtest.cs : Now we can test all cases (though resulting in
failure). Catch unexpected exception and report them as such.
svn path=/trunk/mcs/; revision=29782
- Table stores default values for columns in soecial default values row. It is allocated once (in NewRow)
- DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
- OnRemoveColumn has nothing to perform by now.
svn path=/trunk/mcs/; revision=29765
- Changed access of original, current and proposed indexes to internal.
- ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
- Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
- Use DataContainer.CopyValue and default values row for faster set of default values in row.
- SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness. Care about Null and DBNull values is now in DataContainer.
- Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
- Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
- Fix in CopyState : clone column errors.
- Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
svn path=/trunk/mcs/; revision=29763
- Fix : Add() now delegates to Add(DataColumn).
- autoIncrement list holds DataColumn objects, and not just column names.
svn path=/trunk/mcs/; revision=29760
- AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
- DefaultValue fixes. Default value from now on is also stored in special record in DataTable, so we're able to set default value for the column faster (typed).
svn path=/trunk/mcs/; revision=29759
- Store and retreival of null and DBNull values reviewed.
- Added GetInt64 to support AutoIncrement of DataColumn.
- Added missing CopyValue method to BitDataContainer.
- Added FillValues method to propagate single value to whole container.
svn path=/trunk/mcs/; revision=29753
(bundle_obj): New conditional define.
(BUILT_SOURCES): Remove.
($(bundle_srcs)): Make parallel-make safe.
(libmonoruntime_la_LIBADD): Make unconditional.
(libmetadata_la_LIBADD): Make unconditional. Refer to $(bundle_obj).
(libmetadata_la_SOURCES): Don't refer to $(bundle_srcs).
svn path=/trunk/mono/; revision=29750
with MS.NET, removed TODO
* AcknowledgeTypes.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* CryptographicProviderType.cs: fixed enum field values to correspond
with MS.NET, removed TODO
* EncryptionAlgorithm.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* EncryptionRequired.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* GenericAccessRights.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* HashAlgortihm.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* MessagePriority.cs: fixed enum field values to correspond with
MS.NET, removed TODO
* MessageQueueErrorCode.cs: fixed enum field values to correspond
with MS.NET, removed TODO
* MessageQueueException.cs: marked serializable
* MessageQueuePermissionAccess.cs: fixed enum field values to
correspond with MS.NET, removed TODO
* MessageQueueTransactionStatus.cs: fixed enum field values to
correspond with MS.NET, removed TODO
* MessageQueueTransactionType.cs: fixed enum field values to
correspond with MS.NET, removed TODO
* MessageType.cs: fixed enum field values to correspond with MS.NET,
removed TODO
* StandardAccessRights.cs: fixed enum field values to correspond
with MS.NET, removed TODO
* TrusteeType.cs: fixed enum field values to correspond with MS.NET,
removed TODO
svn path=/trunk/mcs/; revision=29741
* DirectoryServicesPermissionEntry.cs: fixed serialization
compatibility with MS.NET
* DirectoryServicesPermissionEntryCollection.cs: marked serializable,
added TODO for serialization compatibility
* ReferralChasingOption.cs: changed enum field values to match MS.NET
svn path=/trunk/mcs/; revision=29739
* SignatureDescriptionTest.cs: Added missing [TestFixture] :( and
cases for the previously undocumented .ctor(SecurityElement) - which
is now, backwardly, documented in VS.NET 2005.
svn path=/trunk/mcs/; revision=29730
* DateTime.cs : Incorrect maxvalue comparison in ToUniversalTime().
Fixed ToLocalTime() as well, but it does check range for MinValue.
svn path=/trunk/mcs/; revision=29729
- check method/ctor parameters
- use target attribute for attributes in key for attributes
(if available). This allows us to differentiate between method
and return type attributes for methods
- check field values (for literal fields)
- LoadExtraData was not always called, causing certain signature
mismatches not to be reported
- now also check charset, layout and serializability of
types
* mono-api-info.cs:
- check field values of literal fields
- document parameters of method/ctors
- also output attribute applied to return type of methods
- output charset, layout and flag indicating whether type
is serializable
svn path=/trunk/mcs/; revision=29706
* timed-thread.c: Call the thread cleanup exit routine before taking
the join mutex, because this could deadlock if another thread tries
to join in the meantime. This fixes the hang-at-exit problem seen
on macos.
svn path=/trunk/mono/; revision=29689
gdipFunctions.cs: Modified Function signature for
GdipSaveImageToDelegate_linux() method for saving tiff images
to streams.
image.cs: Modified function call GdipSaveImageToDelegate_linux()
with new signature.
svn path=/trunk/mcs/; revision=29684
* test-uri-list.txt, test-uri-props.txt, test-uri-props-manual.txt :
The autogenerated test contained Unix path case. Moved to manual.
svn path=/trunk/mcs/; revision=29677
* Added Odbc tests using MySql test database
* New files:
ChangeLog
OdbcDataReaderTest.cs - test suite for OdbcDataReader class.
OdbcDataAdapterTest.cs - test suite for OdbcDataAdapter class.
svn path=/trunk/mcs/; revision=29668
* Added standalone NUnit test cases for MySql db related tests.
* Created sub-directory for System.Data.Odbc
* New Files :
MySqlTestBed.cs - Base class for all MySql db based tests.
contains instructions to run these tests.
MySqlTestBed.dll.config - configurable parameters to this test suite.
System.Data.Odbc/OdbcDataReaderTest.cs
System.Data.Odbc/OdbcDataAdapterTest.cs
svn path=/trunk/mcs/; revision=29666
build and populate net_2_0 profile.
(populate-runtime-subdir): Make into subroutine that takes list of
profiles to populate.
(faststrap): Update.
svn path=/trunk/mono/; revision=29661
* Makefile.am (bootstrap): Define to fasterstrap for W32.
(MCS_DIRS, MCS_FILES): Don't refer to Mono.CSharp.Debugger in W32.
(tmpinst-dir): Change sub-make invoke to ...
(tmpinst-dir-contents): ... this. Build 'mono.bat' in W32 instead
of 'mono' and 'mcs'.
($(tmpinst)/bin/mono.bat): New.
svn path=/trunk/mono/; revision=29659
* ecore.cs (MethodGroupExpr.Name): Revert Martin's patch.
The name needs to have the actual name of the method in order
for other tests (such as the one in OverloadResolve for Invoke
on a delegate) to work. As well, it does not really help
error reporting because the method group had multiple methods.
svn path=/trunk/mcs/; revision=29656
* UriTest2.cs : LocalPath values should vary depending on the running
environment - so replace '/' and '\\' each other.
svn path=/trunk/mcs/; revision=29655
* FloatingPointFormatter.cs: Fixed ToString which doesn't use banker's
rounding (which is the rounding provided by Math.Round). This fix bug
#60111. The code (new Round methods) should be moved elsewhere (as it
may also be required elsewhere) post Mono 1.0.
svn path=/trunk/mcs/; revision=29653
* System.Web.Compilation/BaseCompiler.cs: try getting the Type from
the cache before doing the real work. Remove temporary files right after
successful compilation.
* System.Web.Compilation/CachingCompiler.cs: added GetTypeFromCache.
* System.Web.Compilation/UserControlCompiler.cs: nothing interesting.
* System.Web.Compilation/WebServiceCompiler.cs: try getting the Type
from the cache before doing anything else. Remove temp files on
sucessful compilation.
* System.Web.UI/SimpleWebHandlerParser.cs: implemented
GetCompiledTypeFromCache. When we read the default directive, check the
cache for the Type and if present, don't keep reading and store the
type found.
* System.Web.UI/WebHandlerParser.cs:
* System.Web.UI/WebServiceParser.cs: try GetCompiledTypeFromCache
before actually compiling.
svn path=/trunk/mcs/; revision=29652
assemblies. gacutil will always make locales lowercase when
installing so this effectively makes them case insensitive.
svn path=/trunk/mono/; revision=29647
appened one. The reason for this is that the runtime expects it,
and existing makefiles user -gacdir $(destdir)/$(libdir) so auto
appending it without checking would break many things.
svn path=/trunk/mcs/; revision=29644
* ConvertTest.cs: Changed compare between Decimals (from a string
compare to Decimal.Equals) because the issue wasn't related to the
Convert class. See #60227 for more details.
svn path=/trunk/mcs/; revision=29632
* CaseInsensitiveHashCodeProvider.cs: added TODO for serialization
* SortedList.cs: added TODO for serialization
* Stack.cs: added TODO for serialization
svn path=/trunk/mcs/; revision=29626
* Decimal.cs: Fixed scale after Round (a different scale is correct
from a math point of view but affect the string representation of the
value). Note: other operations also have scale problems!
* DecimalFormatter.cs: Fixed FormatGeneral to match Fx 1.1 output.
svn path=/trunk/mcs/; revision=29625
* GregorianCalendar.cs:: added TODO for serialization
* HebrewCalendar.cs: added TODO for serialization
* HijriCalendar.cs: added TODO for serialization
* JapaneseCalendar.cs: added TODO for serialization
* JulianCalendar.cs: added TODO for serialization
* KoreanCalendar.cs: added TODO for serialization
* TaiwanCalendar.cs: added TODO for serialization
* ThaiBuddhistCalendar.cs: added TODO for serialization
svn path=/trunk/mcs/; revision=29624
* StringBuilder.cs: added TODO for serialization
* UnicodeEncoding.cs: added TODO for serialization
* UTF7Encoding.cs: added TODO for serialization
* UTF8Encoding.cs: added TODO for serialization
svn path=/trunk/mcs/; revision=29621
* DecimalTest.cs: Added test to ensure we keep/output the decimals
precision (#59425). Added tests to see how many decimals are supported
in "G" before switching to "E".
svn path=/trunk/mcs/; revision=29610
* monitor.c: New method mono_monitor_try_enter_internal, which takes a new
parameter which allows to choose whether the wait can be interrupted or
not. Also added the method mono_monitor_enter(), which locks the monitor
using an infinite wait and without allowing interruption.
In the Monitor.Enter and Wait icalls, retry the lock if the wait is
interrupted.
* object.h: Added new fields in MonoThread. suspend_event holds the event
used to susped/resume the thread. synch_lock is the lock object to use for
modifying the thread state.
* threads.c: Use the new synch_lock object for locking, instead of "this",
which can generate deadlocks.
Moved thread state change in Thread.Sleep and Thread.Join from managed
to unmanaged code. This avoids a deadlock when the thread was suspended
just after acquiring the thread lock.
In general, use mono_monitor_enter instead of mono_monitor_try_enter.
Implemented Thread.Suspend using an event instead of ThreadSuspend,
which is not fully implemented in the io-layer.
* socket-io.c: Only try IPv6 DNS lookup if IPv4 fails.
svn path=/trunk/mono/; revision=29609
Removed state changes in Sleep and Join. The state change is now done
in the icall. For accessing to internal fields lock with synch_lock
instead of this, which can be a source of deadlocks.
svn path=/trunk/mcs/; revision=29605
gdipFunctions.cs: Added delegate and StreamHelper functions, Close
and Size, required by TIFFCodec. Modifed Function signature for
GdipLoadImageFromDelegate_linux() method.
image.cs: Modified function call GdipLoadImageFromDelegate_linux()
with new signature.
svn path=/trunk/mcs/; revision=29587
used. So we can easily add stuff to modules and assemblies. Fix
the nometadata flag, it should be set when there is NO metadata
not when there is metadata.
svn path=/trunk/mcs/; revision=29562
* ExternTable.cs: Add ExternModule refs.
* ExternTypeRef.cs: Take an ExternRef which can be either an
assmebly ref or a module ref.
svn path=/trunk/mcs/; revision=29559
* NameObjectCollectionBase.cs: Now use IComparer to compare keys. This
completes a TODO and fix Remove in NameValueCollection.
svn path=/trunk/mcs/; revision=29550
* ResourceReaderTest.cs: Un-ignored an old test case (probably fixed a
long time ago). Converted tests to NUnit 2.x format to be more
specific when checking exceptions.
svn path=/trunk/mcs/; revision=29530
* 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
Each makefile follows the same pattern: it does some setup, includes
the standard make rules, and provides rules for six standard targets:
the standard make rules, and provides rules for seven standard targets:
all, install, test, run-test, clean, and dist.
"Some setup" is defining two variables: $(thisdir) and
@@ -57,7 +60,7 @@ $(SUBDIRS). $(thisdir) is the directory that the makefile lives in,
relative to the top directory (ie, class/corlib) and $(SUBDIRS)
defines the subdirectories that should be built in.
The six targets do the following:
The seven targets do the following:
* all-local builds whatever someone would expect to be built
when they just type 'make'. Most likely Foo.dll or Foo.exe
@@ -75,6 +78,8 @@ target. The idea is that 'make run-test' from the toplevel should be
able to proceed unsupervised and test everything that can be tested in
such a manner.
* run-test-ondotnet-local is a variant of run-test-local. It is used only to validate if our tests themselves works fine under Microsoft runtime (on Windows). Basically, in this target, we should not use $(TEST_RUNTIME) to test our libraries.
* clean-local removes built files; 'make clean' should leave
only files that go into a distribution tarball. (But it is not necessarily
true that all files that go into a tarball need to be left after a make clean.)
* standalone RELAX NG test program for the Test Suite
** Introduction
* Standalone test collection for Commons.Xml.Relaxng.dll
** standalone RELAX NG test program for the Test Suite
It is a test runner for James Clark's test collection.
prep.xsl is included in Jing (a Java implementation of RELAX NG validator).
copying.html is license information for prep.xsl and relaxng.rng.
prep.xsl is originally included in Jing (a Java implementation of RELAX NG
validator). copying.html is license information for prep.xsl and relaxng.rng.
** Usage
To set up test runner, you need xsltproc, which is included in libxslt.
** standalone RELAX NG Compact Syntax test program for the "anglia" test suite
It is a test runner for Jeff Rafter's "anglia" RNC test collection.
** How to build
NOTE: To set up test runner, you need xsltproc, which is included in libxslt.
(Since the stylesheet uses extensions, we cannot use our xslt engine.)
"make" will download the test collection from http://www.thaiopensource.com/relaxng/testSuite.zip , run xsltproc and create test directories and files.
"make" will do the same as "make relaxngtest.exe" and
"make anglia-test-runner.exe".
"make relaxngtest.exe" will download the test collection from
http://www.thaiopensource.com/relaxng/testSuite.zip and then run
xsltproc to split tests and create test directories and files, and finally
will compile relaxngtest.cs.
"make anglia-test-runner.exe" will download the test collection from
http://www.jeffrafter.com/anglia/anglia-test-suite.zip , and then will expand
that archive, and finally will compile anglia-test-runner.cs.
*** How to run
"make test" will run relaxngtest.exe and will output the error cases.
"make anglia-test" will run anglia-test-runner.exe and will output the
error cases.
"make test" will run the test program and will output the error cases.
Loaded 100 of 5843 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.