Alexis Christoforides [Wed, 23 Apr 2014 18:44:48 +0000 (14:44 -0400)]
Merge branch 'master' of https://github.com/mono/mono
Alexis Christoforides [Wed, 23 Apr 2014 18:42:45 +0000 (14:42 -0400)]
Mono version is now pulled in to configure.in from MONO_VERSION
This makes it easier to grab&use the version elsewhere in the future (e.g. in packaging)
Zoltan Varga [Wed, 23 Apr 2014 15:31:44 +0000 (17:31 +0200)]
[jit] Add some comments to register_icall ().
Marek Habersack [Wed, 23 Apr 2014 15:24:37 +0000 (17:24 +0200)]
Update test description to include full bug report url
Marek Habersack [Wed, 23 Apr 2014 15:05:19 +0000 (17:05 +0200)]
Correctly apply DST offset if the date being converted falls after Jan 1st and is within the last year's DST zone
The adjustment rule must take into account that DST can start in the previous year and extend to some initial period
of the DateTime's year. This patch makes the code take that into account and correctly applies the DST offset to the
date being converted to some target timezone.
Fixes xambug https://bugzilla.xamarin.com/show_bug.cgi?id=17155
Rodrigo Kumpera [Wed, 23 Apr 2014 13:44:56 +0000 (09:44 -0400)]
Revert "Disable bug-18026.exe when running tests in the CI environment"
This reverts commit
5699e87d5be092f3b486173e5098a1cb4413971d.
We don't disable tests that reveal regressions. This is one of such cases.
Marek Habersack [Wed, 23 Apr 2014 12:50:55 +0000 (14:50 +0200)]
A couple of fixes for TimeZoneInfo.ConvertTime.
* ConvertTime (DateTime, TimeZoneInfo) now correctly takes the date kind from the DateTime parameter
and uses it to select the source time zone according to this criteria:
if DateTime kind is Utc, use TimeZoneInfo.Utc as source, in all other cases use TimeZoneInfo.Local
* Move argument checks in ConvertTime (DateTime, TimeZoneInfo, TimeZoneInfo) so that there's no risk of a NREX
should sourceTimeZone be null.
Added relevant tests for all of the above changes.
Rodrigo Kumpera [Mon, 21 Apr 2014 21:27:34 +0000 (17:27 -0400)]
[sgen] Add a bunch of clear-at-gc variants to the test matrix.
Rolf Bjarne Kvinge [Wed, 23 Apr 2014 10:24:20 +0000 (12:24 +0200)]
[Mono.CSharp] Fix compilation for the monotouch profile with new exception filter support in mcs.
Otherwise this happens:
MCS [monotouch] Mono.CSharp.dll
../../mcs/codegen.cs(294,7): error CS1061: Type `System.Reflection.Emit.ILGenerator' does not contain
a definition for `BeginExceptFilterBlock' and no extension method `BeginExceptFilterBlock' of
type `System.Reflection.Emit.ILGenerator' could be found. Are you missing an assembly reference?
Zoltan Varga [Wed, 23 Apr 2014 07:44:11 +0000 (09:44 +0200)]
Merge pull request #1000 from ranma42/disable-18026-on-wrench
Disable bug-18026.exe when running tests in the CI environment
Andrea Canciani [Wed, 23 Apr 2014 06:56:38 +0000 (08:56 +0200)]
Disable bug-18026.exe when running tests in the CI environment
The test performed in bug-18026.exe can sometimes fail if the hazard
table gets full. Disabling it in CI testing avoids unwanted noise.
See https://bugzilla.xamarin.com/show_bug.cgi?id=19235
Zoltan Varga [Tue, 22 Apr 2014 21:16:53 +0000 (23:16 +0200)]
[sdb] Add support for DebuggerNonUserCodeAttribute.
Zoltan Varga [Sat, 19 Apr 2014 18:26:15 +0000 (20:26 +0200)]
[arm64] Add AOT support.
Zoltan Varga [Sat, 19 Apr 2014 18:16:47 +0000 (20:16 +0200)]
[arm64] Add JIT support.
Zoltan Varga [Sat, 19 Apr 2014 15:08:55 +0000 (17:08 +0200)]
[arm64] Add sgen support.
Zoltan Varga [Sat, 19 Apr 2014 15:07:09 +0000 (17:07 +0200)]
[arm64] Add context/mach support.
Zoltan Varga [Sat, 19 Apr 2014 15:03:21 +0000 (17:03 +0200)]
[arm64] Add basic port infrastructure.
Marek Safar [Tue, 22 Apr 2014 12:30:47 +0000 (14:30 +0200)]
[system] Don't terminate response reading on bad cookie value. Fixes #18868
Alexis Christoforides [Tue, 22 Apr 2014 04:00:49 +0000 (00:00 -0400)]
Merge pull request #994 from drummerhu/patch-1
xml type parameters have no size specifier
Zoltan Varga [Mon, 21 Apr 2014 19:15:24 +0000 (21:15 +0200)]
Rodrigo Kumpera [Mon, 21 Apr 2014 16:22:57 +0000 (12:22 -0400)]
[counters] Simplify things a bit by removing unsigned counter types.
Rodrigo Kumpera [Mon, 21 Apr 2014 16:19:30 +0000 (12:19 -0400)]
[counters] Add mono_counters_foreach API.
Rodrigo Kumpera [Fri, 18 Apr 2014 22:41:16 +0000 (18:41 -0400)]
[counter] Kill counter type MONO_COUNTER_TIME_INTERVAL in favor of using a proper unit type.
This makes it more explicit and will further simplify the agent.
Rodrigo Kumpera [Fri, 18 Apr 2014 22:12:03 +0000 (18:12 -0400)]
[counters] Introduce variance and units.
Rodrigo Kumpera [Fri, 18 Apr 2014 18:56:37 +0000 (14:56 -0400)]
[counters] Introduce two new counters categories, runtime and system.
The runtime category is for high level counters on runtime operations.
Things like number of threads, threadpool status, total memory consumption
and so on.
The system category is for synthetic counters that report system values
such as RSS, user time and load.
Zoltan Varga [Sat, 19 Apr 2014 18:07:42 +0000 (20:07 +0200)]
[jit] Get rid of mono_arch_nullify_plt_entry (), it works the same way on all platforms.
Alex Rønne Petersen [Sat, 19 Apr 2014 06:04:35 +0000 (08:04 +0200)]
Update CONTRIBUTING.md with info about pull request testing.
Miguel de Icaza [Sat, 19 Apr 2014 03:18:38 +0000 (23:18 -0400)]
[genproj] Steps towards making pre-build scripts cross platform; Lots more build now
Miguel de Icaza [Fri, 18 Apr 2014 22:15:06 +0000 (18:15 -0400)]
Refreshed the CSProj files to use the new output build directory
Miguel de Icaza [Fri, 18 Apr 2014 22:03:04 +0000 (18:03 -0400)]
[genproj] Set the output directory to the Mono one, not an intermediary one
Miguel de Icaza [Fri, 18 Apr 2014 21:32:15 +0000 (17:32 -0400)]
Update order.xml
Alexis Christoforides [Fri, 18 Apr 2014 22:08:16 +0000 (18:08 -0400)]
Fixed xamarin #18898 # / novell #595899
DataRowView indexer should not break on "completed" added rows (any rows other than the IsNew one)
Alex Rønne Petersen [Fri, 18 Apr 2014 17:51:34 +0000 (19:51 +0200)]
Fix my last commit to match our libgc's declaration style.
Alex Rønne Petersen [Fri, 18 Apr 2014 17:33:49 +0000 (19:33 +0200)]
Hopefully fix a build error in libgc on some compilers.
../../libgc/alloc.c: In function ‘GC_stopped_mark’:
../../libgc/alloc.c:501:9: error: implicit declaration of function ‘GC_cond_register_dynamic_libraries’ [-Werror=implicit-function-declaration]
GC_cond_register_dynamic_libraries();
Miguel de Icaza [Fri, 18 Apr 2014 14:56:53 +0000 (10:56 -0400)]
[genproj] Some hygiene changes to genproj, to be able to even digest this
Rodrigo Kumpera [Thu, 17 Apr 2014 23:25:04 +0000 (19:25 -0400)]
[sgen-bridge] Introduce accounting mode to bridge processing.
This accounting mode logs the "cost" of each bridge-object during bridge processing.
This should give a very good first clue on how expensive each object is.
Alex Rønne Petersen [Thu, 17 Apr 2014 23:07:21 +0000 (01:07 +0200)]
Really, seriously, for real fix mono/tests/Makefile.am when run with CI=1/V=1.
Martin Baulig [Thu, 17 Apr 2014 20:27:19 +0000 (22:27 +0200)]
[Http]: Correctly handle request bodies when resending with authentication.
My previous changes modified the way how we're handing the request body when
resending a request due to a 30x redirection.
Authentication is a "special" form of redirection because we sometimes need
to resend a request with additional authentication headers. Unfortunately,
I forgot this, causing a regression which is now fixed.
This has been reported as bugs #19119 and #19068.
Jeffrey Stedfast [Thu, 17 Apr 2014 20:05:39 +0000 (16:05 -0400)]
[Mono.Debugger.Soft] Throw a NotSupportedException if we encounter an unsupported IL opcode
Marek Safar [Thu, 17 Apr 2014 17:59:01 +0000 (19:59 +0200)]
[corlib] Defer TypeInfo instantiation logic in DefinedTypes. Fixes #19082
Zoltan Varga [Thu, 17 Apr 2014 15:48:09 +0000 (17:48 +0200)]
[jit] Fix an unreachable code part in mini_emit_memset (). Fixes #19083. Thanks to Bill Seurer for spotting it.
Alex Rønne Petersen [Thu, 17 Apr 2014 14:31:19 +0000 (16:31 +0200)]
Miguel de Icaza [Thu, 17 Apr 2014 14:14:34 +0000 (10:14 -0400)]
Add System.Xml.Linq to the dotnet.pkg
Alex Rønne Petersen [Thu, 17 Apr 2014 12:51:54 +0000 (14:51 +0200)]
Fix a couple of warnings in sgen-cardtable.c.
Alex Rønne Petersen [Wed, 16 Apr 2014 21:50:07 +0000 (23:50 +0200)]
Remove .travis.yml.
Travis simply doesn't give us anywhere near enough execution time
to run runtime tests + BCL tests.
Alex Rønne Petersen [Wed, 16 Apr 2014 20:56:09 +0000 (22:56 +0200)]
Ignore testlist files in mono/tests.
Alex Rønne Petersen [Wed, 16 Apr 2014 20:46:50 +0000 (22:46 +0200)]
Clean up mono/tests/Makefile.am.
This removes a lot of duplicated logic and special-casing for Wrench. There
are now only 3 important top-level targets:
* `check`: Run all stable (~fast) tests.
* `check-full`: Run all stable, unstable, and slow tests.
* `check-parallel`: Compile tests in parallel, then run `check-full`.
By default, `no-dump` is passed to the test runner. To pass `dump-output` and
get `stdout`/`stderr` dumped to console when a failure occurs, set `V` as in:
$ make check V=1
Or:
$ make check-full V=1
If you're running tests in a CI environment, it may be desirable to disable
tests that are known to be unstable. To do so, run:
$ make check CI=1
Or:
$ make check-full CI=1
Marek Safar [Thu, 17 Apr 2014 11:12:37 +0000 (13:12 +0200)]
[mcs] Fix tie breaking rules when both candidates have used default parameters
Zoltan Varga [Thu, 17 Apr 2014 10:48:04 +0000 (12:48 +0200)]
[aot] Add a separate mutex to each AOT module to reduce contention.
Zoltan Varga [Thu, 17 Apr 2014 10:33:01 +0000 (12:33 +0200)]
[jit] Use compile-time conditionals in a few places.
Zoltan Varga [Thu, 17 Apr 2014 10:29:08 +0000 (12:29 +0200)]
[llvm] Fix the decomposition of some long opcodes on 32 bit machines.
Zoltan Varga [Thu, 17 Apr 2014 09:43:51 +0000 (11:43 +0200)]
Fix the build.
Zoltan Varga [Thu, 17 Apr 2014 05:15:00 +0000 (07:15 +0200)]
[llvm] Remove unused LLVM_MONO_BRANCH define.
Zoltan Varga [Thu, 17 Apr 2014 05:10:29 +0000 (07:10 +0200)]
Disable the self-assign warning when using clang.
Zoltan Varga [Thu, 17 Apr 2014 05:06:18 +0000 (07:06 +0200)]
[llvm] Update the LLVM backend to the LLVM mono-2014-04-17-
cc117f4ad24a7ae6743ab6f08b8f5e8fc65d2d7f branch.
Zoltan Varga [Thu, 17 Apr 2014 05:05:41 +0000 (07:05 +0200)]
[llvm] Add a LLVM_API_VERSION define which is incremented in llvm every time there is a public api break. This allows the llvm backend to compile with different versions of LLVM.
Mark Probst [Tue, 15 Apr 2014 00:18:46 +0000 (17:18 -0700)]
[sgen] Counter for time we spend starting and stopping the world.
Mark Probst [Wed, 29 Jan 2014 01:32:24 +0000 (17:32 -0800)]
[sgen] Fix M&S object iteration.
When we want to iterate without sweeping, then on blocks that
have not been swept, we can only iterate over objects that are
marked.
Mark Probst [Wed, 29 Jan 2014 01:17:38 +0000 (17:17 -0800)]
[sgen] Fix CLEAR_AT_GC.
We end up with faux arrays when we’re allocating new objects, but
the nursery must be zeroed. We just zero the first few words when the
TLAB is created to get rid of the array header.
An alternative would be to erase the headers once the nursery
collection is over, which is cleaner and would only zero what we know
must be zeroed, i.e. it would catch errors in cases where we now
overwrite non-zero garbage in the nursery. That’s an unlikely case,
though, and we don’t use this debug feature often anyway.
Mark Probst [Thu, 23 Jan 2014 21:18:43 +0000 (13:18 -0800)]
[sgen] Fix remset consistency check in presence of cementing.
Mark Probst [Tue, 21 Jan 2014 22:37:23 +0000 (14:37 -0800)]
[sgen] Make binary protocol grep work without search addresses.
Mark Probst [Tue, 21 Jan 2014 22:36:15 +0000 (14:36 -0800)]
[sgen] Count cards for binary protocol.
Mark Probst [Tue, 21 Jan 2014 00:47:06 +0000 (16:47 -0800)]
[sgen] Don't scan cards in no-reference LOS objects.
Mark Probst [Fri, 17 Jan 2014 23:06:35 +0000 (15:06 -0800)]
[sgen] Make missing remset debugging easier.
Mark Probst [Fri, 17 Jan 2014 19:08:25 +0000 (11:08 -0800)]
[sgen] Small refactoring of sgen_card_table_update_mod_union().
Mark Probst [Fri, 10 Jan 2014 00:25:09 +0000 (16:25 -0800)]
[sgen] Make mod-union consistency check work again.
Mark Probst [Wed, 8 Jan 2014 21:12:27 +0000 (13:12 -0800)]
[sgen] Tool for visualizing GC pauses from binary protocols.
Mark Probst [Wed, 8 Jan 2014 18:25:30 +0000 (10:25 -0800)]
[sgen] Binary protocol entries for world stop/restart with timestamps.
Mark Probst [Tue, 7 Jan 2014 20:18:15 +0000 (12:18 -0800)]
[sgen] Enable binary protocol by default, make the heavy stuff optional.
Marek Safar [Wed, 16 Apr 2014 19:19:47 +0000 (21:19 +0200)]
[mcs] Fix parsing member access expression with await simple name
Marek Safar [Wed, 16 Apr 2014 18:04:54 +0000 (20:04 +0200)]
[mcs] Relax struct definitive assignment rules for private fields
Alex Rønne Petersen [Wed, 16 Apr 2014 16:39:16 +0000 (18:39 +0200)]
Since `make distcheck` has been fixed, use it in .travis.yml again.
Alex Rønne Petersen [Wed, 16 Apr 2014 16:19:33 +0000 (18:19 +0200)]
Flush po/... files.
Miguel de Icaza [Wed, 16 Apr 2014 16:08:57 +0000 (12:08 -0400)]
Runtime documentation will now build with srcdir != builddir
This removes an old and broken patch that did not allow for
clean builds of Mono. The old patch was so bad, that instead
of fixing the actual source of the problem (the ability to build
the runtime documentation when the source directory was not the
same as the build directory), a hack was added to circumvent
`make distcheck''s security system and changed the permissions
at build time for the source directory to become read/write.
This fixes the problem
Miguel de Icaza [Tue, 15 Apr 2014 19:54:34 +0000 (15:54 -0400)]
Update the configuration file for project builds
Miguel de Icaza [Tue, 15 Apr 2014 19:54:01 +0000 (15:54 -0400)]
Remove empty space from assembly name
Zoltan Varga [Wed, 16 Apr 2014 16:05:29 +0000 (18:05 +0200)]
[jit] Fix the lookup of the AOT version of Interlocked.Exchange<T> in full-aot mode. Fixes #19070.
Rodrigo Kumpera [Wed, 16 Apr 2014 15:34:14 +0000 (11:34 -0400)]
[win64] Fix stack probing and disable omit_fp. Fixes iltests.
Stack probing on windows must be done a page a time so we must always force it to happen on windows.
Disable omit_fp on win64 for now as it makes the tail call tests fail.
Zoltan Varga [Wed, 16 Apr 2014 15:19:31 +0000 (17:19 +0200)]
[llvm] Fix the loadable llvm build.
Marek Safar [Wed, 16 Apr 2014 14:53:13 +0000 (16:53 +0200)]
[mcs] Emit exception filters with empty stack
Marek Habersack [Tue, 15 Apr 2014 12:25:04 +0000 (14:25 +0200)]
Fall back to calling Java.Util.TimeZone.Default.ID if the persist.sys.timezone system
property is not present on the system or its value is an empty string. This ensures that
we obtain valid timezone info on systems which do not define the above property.
Part of fix for https://bugzilla.xamarin.com/show_bug.cgi?id=4902
Alex Rønne Petersen [Wed, 16 Apr 2014 12:57:02 +0000 (14:57 +0200)]
Avoid `make distcheck` in .travis.yml for now.
Alex Rønne Petersen [Wed, 16 Apr 2014 11:34:32 +0000 (13:34 +0200)]
Only build master for now.
Alex Rønne Petersen [Wed, 16 Apr 2014 11:07:49 +0000 (13:07 +0200)]
Add initial .travis.yml.
Alex Rønne Petersen [Wed, 16 Apr 2014 10:46:48 +0000 (12:46 +0200)]
Make all Python scripts Python 3-friendly.
Marek Safar [Wed, 16 Apr 2014 08:33:20 +0000 (10:33 +0200)]
Update tests
Marek Safar [Mon, 24 Feb 2014 16:42:27 +0000 (17:42 +0100)]
Update error message
Marek Safar [Fri, 21 Feb 2014 21:39:15 +0000 (22:39 +0100)]
[mcs] Initial implemntation of exception filters
Marek Safar [Thu, 30 Jan 2014 16:52:26 +0000 (17:52 +0100)]
[mcs] Primary constructors
Marek Safar [Wed, 16 Apr 2014 08:10:44 +0000 (10:10 +0200)]
Merge pull request #996 from DavidS/fixes/string-format-nre
[System] handle arguments whose ToString returns null in String.Format
David Schmitt [Wed, 16 Apr 2014 07:26:23 +0000 (09:26 +0200)]
[System] handle arguments whose ToString returns null in String.Format
When an argument to String.Format has no formatter, its ToString method
is called. This change takes care that the FormatHelper can handle
arguments whose ToString() method returns null.
Zoltan Varga [Wed, 16 Apr 2014 06:54:37 +0000 (08:54 +0200)]
[jit] Rewrite lookup_method () to reduce contention by not taking the loader lock while doing hashtable lookups.
Zoltan Varga [Wed, 16 Apr 2014 04:47:44 +0000 (06:47 +0200)]
[runtime] Add some low level locks to image sets to reduce contention and the usage of the loader lock.
Rodrigo Kumpera [Tue, 15 Apr 2014 21:54:05 +0000 (17:54 -0400)]
[runtime] Don't g_string_append an empty string when running regression tests.
Rodrigo Kumpera [Tue, 15 Apr 2014 21:53:26 +0000 (17:53 -0400)]
[windows] Win64 requires 16 bytes alignment too.
Rodrigo Kumpera [Tue, 15 Apr 2014 21:51:23 +0000 (17:51 -0400)]
[VS] Change the tools version back to v110 so it works with VS 2012.
Rodrigo Kumpera [Tue, 15 Apr 2014 21:50:36 +0000 (17:50 -0400)]
[windows] Remove sdb symbol from mono.def. Fix the build.
Marek Safar [Tue, 15 Apr 2014 21:31:27 +0000 (23:31 +0200)]
Add ICscHostObject4 skeleton
Miguel de Icaza [Tue, 15 Apr 2014 20:29:06 +0000 (16:29 -0400)]
Merge pull request #987 from StephenMcConnel/bug-18874
Adjust scrollbar display after layout if autosized children
Alexis Christoforides [Tue, 15 Apr 2014 20:10:29 +0000 (16:10 -0400)]
Added contribution guideline links in README
New section has links to guideline wiki page, and the page's Important Rules section that all contributors should be aware of.