mono.git
9 years ago[system.net.http] Drop WebClient dependency
Marek Safar [Wed, 14 Jan 2015 20:41:09 +0000 (21:41 +0100)]
[system.net.http] Drop WebClient dependency

9 years ago[system] System.Collections.ObjectModel from reference sources
Marek Safar [Wed, 14 Jan 2015 17:56:24 +0000 (18:56 +0100)]
[system] System.Collections.ObjectModel from reference sources

9 years ago[pdb2mdb] Fix the decoding of nested scopes.
Zoltan Varga [Wed, 14 Jan 2015 18:44:29 +0000 (13:44 -0500)]
[pdb2mdb] Fix the decoding of nested scopes.

9 years ago[system] System.Collections.Specialized from reference sources
Marek Safar [Wed, 14 Jan 2015 17:42:12 +0000 (18:42 +0100)]
[system] System.Collections.Specialized from reference sources

9 years ago[system] Add UnicodeDecodingConformance, UnicodeEncodingConformance
Marek Safar [Wed, 14 Jan 2015 17:18:07 +0000 (18:18 +0100)]
[system] Add UnicodeDecodingConformance, UnicodeEncodingConformance

9 years ago[system] Switch to reference sources WebClient
Marek Safar [Wed, 14 Jan 2015 16:37:12 +0000 (17:37 +0100)]
[system] Switch to reference sources WebClient

9 years ago[system] Cookies implementation from reference sources
Marek Safar [Wed, 14 Jan 2015 15:40:43 +0000 (16:40 +0100)]
[system] Cookies implementation from reference sources

9 years ago[runtime] Do not use MONO_STRUCT_OFFSET for Win32-specific offsets.
João Matos [Wed, 14 Jan 2015 15:28:11 +0000 (15:28 +0000)]
[runtime] Do not use MONO_STRUCT_OFFSET for Win32-specific offsets.

We do not yet have auto-generated offsets for Win32 targets and this interacts in weird ways with the Android cross-compilers for Windows.

9 years agoFix mono_handle_native_sigsegv () signature in the cross compiler case.
Alex Rønne Petersen [Wed, 14 Jan 2015 12:51:38 +0000 (13:51 +0100)]
Fix mono_handle_native_sigsegv () signature in the cross compiler case.

9 years agoFix a deadlock introduced by 3f10c46468cc25ca3232a596b0316a0defc6f3e5.
Zoltan Varga [Wed, 14 Jan 2015 02:52:31 +0000 (21:52 -0500)]
Fix a deadlock introduced by 3f10c46468cc25ca3232a596b0316a0defc6f3e5.

9 years agoMerge pull request #1500 from criteo-forks/criteo
Zoltan Varga [Wed, 14 Jan 2015 01:31:07 +0000 (20:31 -0500)]
Merge pull request #1500 from criteo-forks/criteo

Fix SpinLock.TryEnter

9 years ago[bcl] Break waits in KeventWatcher by closing the command fd instead of polling.
Zoltan Varga [Tue, 13 Jan 2015 23:58:02 +0000 (18:58 -0500)]
[bcl] Break waits in KeventWatcher by closing the command fd instead of polling.

9 years ago[bcl] Put the files created by the HostFileChangeMonitor test into an additional...
Zoltan Varga [Tue, 13 Jan 2015 23:55:53 +0000 (18:55 -0500)]
[bcl] Put the files created by the HostFileChangeMonitor test into an additional subdir to avoid the file system watcher starting to watch system temporary files in the parent dir. Dispose file system watchers at the end of the test.

9 years ago[bcl] Remove NET_4_5 defines from class libs.
Zoltan Varga [Tue, 13 Jan 2015 21:34:23 +0000 (16:34 -0500)]
[bcl] Remove NET_4_5 defines from class libs.

9 years ago[bcl] Remove NET_4_5 defines from tools.
Zoltan Varga [Tue, 13 Jan 2015 21:34:11 +0000 (16:34 -0500)]
[bcl] Remove NET_4_5 defines from tools.

9 years ago[runtime] Move the monograph tool to tools/.
Zoltan Varga [Tue, 13 Jan 2015 21:25:19 +0000 (16:25 -0500)]
[runtime] Move the monograph tool to tools/.

9 years ago[bcl] Remove NET_4_0 defines from class libs.
Zoltan Varga [Tue, 13 Jan 2015 21:06:31 +0000 (16:06 -0500)]
[bcl] Remove NET_4_0 defines from class libs.

9 years ago[bcl] Remove NET_4_0 defines from tools.
Zoltan Varga [Tue, 13 Jan 2015 20:59:48 +0000 (15:59 -0500)]
[bcl] Remove NET_4_0 defines from tools.

9 years ago[bcl] Remove NET_2_0 defines from the class libs. This has been done using: unifdef...
Zoltan Varga [Tue, 13 Jan 2015 20:29:38 +0000 (15:29 -0500)]
[bcl] Remove NET_2_0 defines from the class libs. This has been done using: unifdef -t -DNET_2_0 -o <filename> <filename>.

9 years ago[bcl] Remove NET_2_0 defines from tools.
Zoltan Varga [Tue, 13 Jan 2015 20:13:27 +0000 (15:13 -0500)]
[bcl] Remove NET_2_0 defines from tools.

9 years agoRevert "[build] Add seq-points.c to the genmdesc to try to fix the Monotouch build."
João Matos [Tue, 13 Jan 2015 17:52:52 +0000 (17:52 +0000)]
Revert "[build] Add seq-points.c to the genmdesc to try to fix the Monotouch build."

This reverts commit 5510857e6b3d584152ec314cea718416c6a05332.

9 years ago[build] Updated csproj files.
Marcos Henrich [Tue, 13 Jan 2015 16:54:19 +0000 (16:54 +0000)]
[build] Updated csproj files.

9 years agoFixed msvc/scripts/genproj.cs file seperator issue on UNIX.
Marcos Henrich [Tue, 13 Jan 2015 16:43:42 +0000 (16:43 +0000)]
Fixed msvc/scripts/genproj.cs file seperator issue on UNIX.
On UNIX '\\' is a valid file name character.
In this case we have to replace '\\' for Path.GetFileNameWithoutExtension to work as expected.

9 years ago[System.ComponentModel.Composition] Updated Makefile thisdir.
Marcos Henrich [Tue, 13 Jan 2015 15:19:05 +0000 (15:19 +0000)]
[System.ComponentModel.Composition] Updated Makefile thisdir.
Old thisdir was causing problems while doing make update-csproj on top dir.

9 years ago[build] Add seq-points.c to the genmdesc to try to fix the Monotouch build.
João Matos [Tue, 13 Jan 2015 17:24:52 +0000 (17:24 +0000)]
[build] Add seq-points.c to the genmdesc to try to fix the Monotouch build.

9 years ago[system.data] refresh mobile sources
Marek Safar [Tue, 13 Jan 2015 16:02:08 +0000 (17:02 +0100)]
[system.data] refresh mobile sources

9 years ago[system.data] Update for DataSetExtensions as GetTableMappingBySchemaAction is now...
Marek Safar [Tue, 13 Jan 2015 15:11:07 +0000 (16:11 +0100)]
[system.data] Update for DataSetExtensions as GetTableMappingBySchemaAction is now more restrictive.

9 years ago[corlib] Close underlying synchronized stream. Fixes #25498
Marek Safar [Tue, 13 Jan 2015 13:57:55 +0000 (14:57 +0100)]
[corlib] Close underlying synchronized stream. Fixes #25498

9 years ago[system.net.http] Split reading headers and content in GetStreamAsync. Fixes #23966
Marek Safar [Tue, 13 Jan 2015 11:28:06 +0000 (12:28 +0100)]
[system.net.http] Split reading headers and content in GetStreamAsync. Fixes #23966

9 years ago[corlib] Add range checks to CharUnicodeInfo. Fixes #25895
Marek Safar [Tue, 13 Jan 2015 10:19:21 +0000 (11:19 +0100)]
[corlib] Add range checks to CharUnicodeInfo. Fixes #25895

9 years ago[system.data] update mobile profile
Marek Safar [Tue, 13 Jan 2015 10:02:54 +0000 (11:02 +0100)]
[system.data] update mobile profile

9 years ago[system.data] Replace connection string builder from reference sources
Marek Safar [Tue, 13 Jan 2015 09:58:45 +0000 (10:58 +0100)]
[system.data] Replace connection string builder from reference sources

9 years agoFix the build on sigaltstack platforms.
Alex Rønne Petersen [Tue, 13 Jan 2015 09:16:44 +0000 (10:16 +0100)]
Fix the build on sigaltstack platforms.

9 years agoFix the Android build; use HAVE_SYS_SYSCTL_H instead of HAVE_SYS_IOCTL_H.
Alex Rønne Petersen [Tue, 13 Jan 2015 08:43:58 +0000 (09:43 +0100)]
Fix the Android build; use HAVE_SYS_SYSCTL_H instead of HAVE_SYS_IOCTL_H.

9 years agoAdd an extension point for backtraces on native SIGSEGVs.
Alex Rønne Petersen [Tue, 13 Jan 2015 08:17:47 +0000 (09:17 +0100)]
Add an extension point for backtraces on native SIGSEGVs.

9 years agoPropagate siginfo to mono_handle_native_sigsegv ().
Alex Rønne Petersen [Tue, 13 Jan 2015 08:17:13 +0000 (09:17 +0100)]
Propagate siginfo to mono_handle_native_sigsegv ().

Some platforms (e.g. Android) need this to get a backtrace in a signal handler.

9 years ago[system.data] Replace System.Data.SqlTypes from reference sources except SqlXml which...
Marek Safar [Mon, 12 Jan 2015 23:16:10 +0000 (00:16 +0100)]
[system.data] Replace System.Data.SqlTypes from reference sources except SqlXml which depends on internal system.xml factory method

9 years ago[system.data] Switch to DbEnumerator from reference sources. Fixes #24935
Marek Safar [Mon, 12 Jan 2015 22:19:53 +0000 (23:19 +0100)]
[system.data] Switch to DbEnumerator from reference sources. Fixes #24935

9 years agoFix SpinLock.TryEnter
Guillaume Turri [Mon, 12 Jan 2015 07:42:26 +0000 (08:42 +0100)]
Fix SpinLock.TryEnter

Little and big endian cases were inverted. It can be seen e.g. from the
reference http://locklessinc.com/articles/locks, where the ticket algorithm
is given for little-endian machines

As a consequence, without this patch, if TryEnter succeeds, it increments
ticket.Value instead of ticket.User, which puts the SpinLock in a corrupted
state, and makes it impossible to release afterwards.

9 years ago[Regex] Disable IL code generation until we figure out 25671
Miguel de Icaza [Tue, 13 Jan 2015 04:23:23 +0000 (23:23 -0500)]
[Regex] Disable IL code generation until we figure out 25671

9 years ago[Mono.Posix] Add support for OSX F_NOCACHE
Miguel de Icaza [Tue, 13 Jan 2015 04:13:50 +0000 (23:13 -0500)]
[Mono.Posix] Add support for OSX F_NOCACHE

9 years ago[aot] Fix llvm support.
Zoltan Varga [Tue, 13 Jan 2015 00:38:01 +0000 (19:38 -0500)]
[aot] Fix llvm support.

9 years ago[runtime] Fix the android build.
Zoltan Varga [Mon, 12 Jan 2015 23:08:28 +0000 (18:08 -0500)]
[runtime] Fix the android build.

9 years ago[runtime] Use a guint64 for device/inode instead of dev_t/ino_t since ino_t is define...
Zoltan Varga [Mon, 12 Jan 2015 22:23:41 +0000 (17:23 -0500)]
[runtime] Use a guint64 for device/inode instead of dev_t/ino_t since ino_t is defined as 32 bit on newer android versions, but inode values can actually be 64 bit.

9 years agoFix the build.
Zoltan Varga [Mon, 12 Jan 2015 22:20:01 +0000 (17:20 -0500)]
Fix the build.

9 years ago[runtime] Remove an unused define.
Zoltan Varga [Mon, 12 Jan 2015 22:08:21 +0000 (17:08 -0500)]
[runtime] Remove an unused define.

9 years ago[bcl] Fix a race in a System.Threading.Tasks test.
Zoltan Varga [Mon, 12 Jan 2015 22:02:39 +0000 (17:02 -0500)]
[bcl] Fix a race in a System.Threading.Tasks test.

9 years ago[aot] Implement support for separate llvm object files when using static linking...
Zoltan Varga [Mon, 12 Jan 2015 21:34:32 +0000 (16:34 -0500)]
[aot] Implement support for separate llvm object files when using static linking. Enable it on all platforms.

9 years ago[arm] Fix the decoding of backward branches in mono_arch_get_call_target ().
Zoltan Varga [Mon, 12 Jan 2015 21:33:30 +0000 (16:33 -0500)]
[arm] Fix the decoding of backward branches in mono_arch_get_call_target ().

9 years ago[system] Fixes barrier file name
Marek Safar [Mon, 12 Jan 2015 19:06:52 +0000 (20:06 +0100)]
[system] Fixes barrier file name

9 years ago[aot] Add an 'llvm-outfile=' command line argument to specify the name of the assembl...
Zoltan Varga [Mon, 12 Jan 2015 18:41:54 +0000 (13:41 -0500)]
[aot] Add an 'llvm-outfile=' command line argument to specify the name of the assembly file holding the LLVM compiled code when the 'asmonly' option is used.

9 years ago[system] Replace Barrier implementation from reference sources. Fixes #25928
Marek Safar [Mon, 12 Jan 2015 16:18:42 +0000 (17:18 +0100)]
[system] Replace Barrier implementation from reference sources. Fixes #25928

9 years ago[system.net.http] ProductInfoHeader collection parsing/formatting uses special separa...
Marek Safar [Mon, 12 Jan 2015 15:45:24 +0000 (16:45 +0100)]
[system.net.http] ProductInfoHeader collection parsing/formatting uses special separators. Fixes #19881

9 years agodo not use liblog's absolute path in DllImport
Radek Doulik [Mon, 12 Jan 2015 14:24:56 +0000 (15:24 +0100)]
do not use liblog's absolute path in DllImport

 - let it for dllmap to specify the path of liblog
   https://github.com/xamarin/monodroid/commit/e834a251d65cb8f677ee7140450ea11e09dbf5c8
 - when checking if running on Android, check the 64bit liblog location as well

9 years ago[System.Runtime.Caching] Removed unused files.
Marcos Henrich [Mon, 12 Jan 2015 13:03:16 +0000 (13:03 +0000)]
[System.Runtime.Caching] Removed unused files.
referencesource files are used instead of the removed files.

9 years ago[corlib] SafeHandle dispose can be called multiple times after closing. Fixes #25850
Marek Safar [Mon, 12 Jan 2015 13:02:20 +0000 (14:02 +0100)]
[corlib] SafeHandle dispose can be called multiple times after closing. Fixes #25850

9 years ago[runtime] update_liveness2 replaced wrong binary or with or.
Marcos Henrich [Mon, 12 Jan 2015 11:32:36 +0000 (11:32 +0000)]
[runtime] update_liveness2 replaced wrong binary or with or.

9 years ago[runtime] update_liveness2 now handles OP_IL_SEQ_POINT.
Marcos Henrich [Mon, 12 Jan 2015 11:02:40 +0000 (11:02 +0000)]
[runtime] update_liveness2 now handles OP_IL_SEQ_POINT.

9 years ago[corlib] Fixes SafeHandle invalidHandleValue handling
Marek Safar [Mon, 12 Jan 2015 10:52:31 +0000 (11:52 +0100)]
[corlib] Fixes SafeHandle invalidHandleValue handling

9 years agoMerge pull request #1455 from esdrubal/caching
Marcos Henrich [Mon, 12 Jan 2015 08:27:48 +0000 (08:27 +0000)]
Merge pull request #1455 from esdrubal/caching

[System.Runtime.Caching] .NET integration.

9 years agoMerge pull request #1499 from madrang/SafeHandleTesting
Marek Safar [Sun, 11 Jan 2015 23:13:40 +0000 (00:13 +0100)]
Merge pull request #1499 from madrang/SafeHandleTesting

SafeHandle SetAsInvalid Testing

9 years agoMore strict testing of SafeHandle.
Marc-Andre Ferland [Sun, 11 Jan 2015 23:10:06 +0000 (18:10 -0500)]
More strict testing of SafeHandle.
SafeHandle.IsInvalid refer only to the handle value it self. Being true only if the handle is 0 || -1
In all cases, Releasing, Disposing or SetHandleAsInvalid does not change the handle value, so SafeHandle.IsInvalid will remain unchanged.
IsClosed will be true if the handle is released or if SetHandleAsInvalid is called.
The handle will not be released when calling Dispose if SetHandleAsInvalid was called.
The handle is not released at Dispose but when the last ref is removed by DangerousRelease

9 years agoruntime] Really fix a race condition in mono_remoting_marshal_init ().
Zoltan Varga [Sun, 11 Jan 2015 17:07:16 +0000 (12:07 -0500)]
runtime] Really fix a race condition in mono_remoting_marshal_init ().

9 years ago[aot] Enable direct llvm object file emission on x86 as well.
Zoltan Varga [Sun, 11 Jan 2015 15:31:29 +0000 (10:31 -0500)]
[aot] Enable direct llvm object file emission on x86 as well.

9 years ago[aot] Avoid duplicate symbol errors if two methods have the same cfg->method.
Zoltan Varga [Sun, 11 Jan 2015 15:26:36 +0000 (10:26 -0500)]
[aot] Avoid duplicate symbol errors if two methods have the same cfg->method.

9 years agotest_op_il_seq_point.sh now properly tests AOT compilation.
Marcos Henrich [Sun, 11 Jan 2015 13:45:45 +0000 (13:45 +0000)]
test_op_il_seq_point.sh now properly tests AOT compilation.
Added missing option --aot

9 years agotest_op_il_seq_point.sh no longer prints empty lines.
Marcos Henrich [Sun, 11 Jan 2015 13:43:49 +0000 (13:43 +0000)]
test_op_il_seq_point.sh no longer prints empty lines.

9 years agoTestDriver now has option --quiet to disable Console outputs.
Marcos Henrich [Sun, 11 Jan 2015 13:30:43 +0000 (13:30 +0000)]
TestDriver now has option --quiet to disable Console outputs.
test_op_il_seq_point.sh does not work well when TestDriver produces outputs, calling the tests with option -q solves this.

9 years ago[aot] Emit LLVM object files directly from llc on amd64.
Zoltan Varga [Sun, 11 Jan 2015 14:46:45 +0000 (09:46 -0500)]
[aot] Emit LLVM object files directly from llc on amd64.

9 years agotest_op_il_seq_point.sh now prints whole diff.
Marcos Henrich [Sun, 11 Jan 2015 10:07:08 +0000 (10:07 +0000)]
test_op_il_seq_point.sh now prints whole diff.

9 years agoFix warnings.
Zoltan Varga [Sun, 11 Jan 2015 04:04:05 +0000 (23:04 -0500)]
Fix warnings.

9 years agoFix the build.
Zoltan Varga [Sun, 11 Jan 2015 03:55:08 +0000 (22:55 -0500)]
Fix the build.

9 years agoMerge pull request #1498 from akoeplinger/fix-windows
Zoltan Varga [Sun, 11 Jan 2015 03:46:39 +0000 (22:46 -0500)]
Merge pull request #1498 from akoeplinger/fix-windows

Fix Windows build

9 years agoFix Windows build
Alexander Köplinger [Fri, 9 Jan 2015 23:10:27 +0000 (00:10 +0100)]
Fix Windows build

Some autoconf checks were missing when running on Windows.
Added stub for mono_get_local_interfaces back that was removed in b92e560d3f5e2684dfb8af954bebb6b938712598
for systems like Windows that have neither HAVE_SIOCGIFCONF nor HAVE_GETIFADDRS.

9 years ago[mcs] Auto-implemented properties must override all accessors of the overridden property
Marek Safar [Sat, 10 Jan 2015 17:50:35 +0000 (18:50 +0100)]
[mcs] Auto-implemented properties must override all accessors of the overridden property

9 years ago[mcs] Contructors cannot be extern and have a constructor initializer
Marek Safar [Sat, 10 Jan 2015 09:31:45 +0000 (10:31 +0100)]
[mcs] Contructors cannot be extern and have a constructor initializer

9 years agotest_op_il_seq_point.sh ignore diff unnecessary data.
Marcos Henrich [Sat, 10 Jan 2015 16:27:34 +0000 (16:27 +0000)]
test_op_il_seq_point.sh ignore diff unnecessary data.

9 years ago[aot] Emit a separate GOT for LLVM and JITted code, this avoids having to reference...
Zoltan Varga [Sat, 10 Jan 2015 16:24:42 +0000 (11:24 -0500)]
[aot] Emit a separate GOT for LLVM and JITted code, this avoids having to reference the extern got symbol from JITted code if the LLVM code is emitted into a separate module.

9 years agoAdd missing files to the windows build.
Zoltan Varga [Sat, 10 Jan 2015 15:07:41 +0000 (10:07 -0500)]
Add missing files to the windows build.

9 years agoFix the windows build.
Zoltan Varga [Sat, 10 Jan 2015 13:18:25 +0000 (08:18 -0500)]
Fix the windows build.

9 years ago[System.Runtime.Caching] Updated MemoryCacheTest.
Marcos Henrich [Sat, 10 Jan 2015 11:30:01 +0000 (11:30 +0000)]
[System.Runtime.Caching] Updated MemoryCacheTest.
When config PhysicalMemoryLimitPercentage is not set or set to zero MemoryCache.PhysicalMemoryLimit value will depend on the total physical memory available.

9 years ago[System.Runtime.Caching] Improved CacheUsage sorting.
Marcos Henrich [Sat, 10 Jan 2015 11:14:24 +0000 (11:14 +0000)]
[System.Runtime.Caching] Improved CacheUsage sorting.
Now even if multiple MemoryCacheEntry are added to CacheUsage with the same date time CacheEntryCollection is able to sort them for removal in the same order.

9 years ago[utils][runtime] Another rounds of header cleanup.
Rodrigo Kumpera [Sat, 10 Jan 2015 02:06:39 +0000 (21:06 -0500)]
[utils][runtime] Another rounds of header cleanup.

9 years ago[utils] Remove useless include.
Rodrigo Kumpera [Sat, 10 Jan 2015 01:10:17 +0000 (20:10 -0500)]
[utils] Remove useless include.

9 years ago[metadata] Fix the build.
Rodrigo Kumpera [Sat, 10 Jan 2015 01:09:18 +0000 (20:09 -0500)]
[metadata] Fix the build.

9 years ago[metadata] Rename security.c to mono-security.c to avoid conflicts with some weird...
Rodrigo Kumpera [Sat, 10 Jan 2015 01:03:55 +0000 (20:03 -0500)]
[metadata] Rename security.c to mono-security.c to avoid conflicts with some weird linkers.

9 years ago[io-layer] Fix another header missing a guard.
Rodrigo Kumpera [Sat, 10 Jan 2015 00:46:51 +0000 (19:46 -0500)]
[io-layer] Fix another header missing a guard.

9 years ago[metadata] Use new networking abtraction to fix targets without inet_ntop
Rodrigo Kumpera [Sat, 10 Jan 2015 00:36:39 +0000 (19:36 -0500)]
[metadata] Use new networking abtraction to fix targets without inet_ntop

9 years ago[utils] Add API to stringify a network address.
Rodrigo Kumpera [Sat, 10 Jan 2015 00:13:22 +0000 (19:13 -0500)]
[utils] Add API to stringify a network address.

9 years ago[jit] Add a MONO_PATCH_INFO_LDSTR_LIT patch type to handle strings which do not come...
Zoltan Varga [Fri, 9 Jan 2015 22:30:06 +0000 (17:30 -0500)]
[jit] Add a MONO_PATCH_INFO_LDSTR_LIT patch type to handle strings which do not come from metadata, i.e. they are used in wrappers. Fixes #25891.

9 years ago[mcs] Add string interpolation conversions
Marek Safar [Fri, 9 Jan 2015 22:26:47 +0000 (23:26 +0100)]
[mcs] Add string interpolation conversions

9 years ago[io-layer] Fix linux build.
Rodrigo Kumpera [Fri, 9 Jan 2015 20:13:01 +0000 (15:13 -0500)]
[io-layer] Fix linux build.

9 years agoMerge pull request #1497 from esdrubal/sq
Zoltan Varga [Fri, 9 Jan 2015 18:37:58 +0000 (13:37 -0500)]
Merge pull request #1497 from esdrubal/sq

Tests and fixes for OP_IL_SEQ_POINT

9 years ago[System.Runtime.Caching] MemoryCacheTest.Trim now checks LRU.
Marcos Henrich [Mon, 15 Dec 2014 15:45:20 +0000 (15:45 +0000)]
[System.Runtime.Caching] MemoryCacheTest.Trim now checks LRU.
Entries are now removed in the least recently used order.
MemoryCacheTest.Trim was updated to check that entries are removed in LRU order.

9 years ago[System.Runtime.Caching] Updated MemoryCacheTest.TestCacheSliding.
Marcos Henrich [Mon, 15 Dec 2014 11:19:34 +0000 (11:19 +0000)]
[System.Runtime.Caching] Updated MemoryCacheTest.TestCacheSliding.
Changed sliding expiration timeout from 1 second to 2 seconds.

9 years ago[System.Runtime.Caching] Updated tests default PhysicalMemoryLimit.
Marcos Henrich [Mon, 15 Dec 2014 11:13:02 +0000 (11:13 +0000)]
[System.Runtime.Caching] Updated tests default PhysicalMemoryLimit.
MemoryCache.PhysicalMemoryLimit default value is now 99 instead of 98.

9 years ago[System.Runtime.Caching] .sources now uses referecensource files.
Marcos Henrich [Mon, 15 Dec 2014 11:07:26 +0000 (11:07 +0000)]
[System.Runtime.Caching] .sources now uses referecensource files.

9 years ago[System.Runtime.Caching] Implemented referencesource missing classes.
Marcos Henrich [Mon, 15 Dec 2014 10:54:46 +0000 (10:54 +0000)]
[System.Runtime.Caching] Implemented referencesource missing classes.
Implemented classes UsageEntryRef, CacheUsage, ExpiresEntryRef and CacheExpires.

9 years ago[System.Runtime.Caching] Copied SRef.cs from .NET.
Marcos Henrich [Mon, 15 Dec 2014 10:11:37 +0000 (10:11 +0000)]
[System.Runtime.Caching] Copied SRef.cs from .NET.
.NET was using this to retrieve the size of an object graph, by using special logic on its GC.
This version of SRef is not doing that, because Mono does not provide that kind of computation.
As the changes that the GC would require to support this are not trivial, SRef returns a wrong size for now.
Known problems:
   - CacheMemoryMonitor does not trim the cache when it reaches its memory size limit.
   - IMemoryCacheManager.UpdateCacheSize is called with incorrect size.

9 years ago[System.Runtime.Caching] Copied R.Designer.cs from .NET
Marcos Henrich [Mon, 15 Dec 2014 09:52:49 +0000 (09:52 +0000)]
[System.Runtime.Caching] Copied R.Designer.cs from .NET
We will be using this version of R.Designer.cs with hard coded strings until Mono has access to .NET resources.