Atsushi Eno [Wed, 20 Jun 2012 09:25:58 +0000 (18:25 +0900)]
[xbuild] fix regression; when it was remainingArgument, don't try to parse it.
eb1@sil.org [Wed, 20 Jun 2012 06:03:27 +0000 (08:03 +0200)]
Tweak control colors, and fix the fact enabled check boxes or radio buttons were darker than disabled ones, on X11. Fixes Xamarin bug 2908.
Martin Baulig [Wed, 20 Jun 2012 01:46:00 +0000 (03:46 +0200)]
Fix #4327: Properly handle exception from IComparer.Compare.
SortedList throws InvalidOperationException when IComparer.Compare
throws an Exception.
Yves Bastide [Wed, 20 Jun 2012 01:02:19 +0000 (03:02 +0200)]
Fix #2363 in Uri.CheckHostName().
FIXME: We still violate RFC 2181 by not checking the total length of the
hostname (maximum 255 bytes), but .NET doesn't check it either.
Rodrigo Kumpera [Tue, 19 Jun 2012 21:04:57 +0000 (18:04 -0300)]
Fix a ConditionalWeakTable test.
Mark Probst [Tue, 19 Jun 2012 12:08:09 +0000 (14:08 +0200)]
Fix a racy hang in thread6 test.
If the Action thread pulses the monitor before the main thread gets to
its wait then the main thread will wait forever because the monitor is
never pulsed again.
Mark Probst [Tue, 19 Jun 2012 20:00:40 +0000 (22:00 +0200)]
Merge remote-tracking branch 'public/master'
Miguel de Icaza [Tue, 19 Jun 2012 19:33:12 +0000 (15:33 -0400)]
Apply patch from Steven Boswell (ulatekh@yahoo.com) to fix #5591
Alistair Leslie-Hughes [Sun, 10 Jun 2012 10:59:42 +0000 (20:59 +1000)]
Assign values to base class.
Alistair Leslie-Hughes [Fri, 16 Mar 2012 10:37:44 +0000 (21:37 +1100)]
Return base CreateParams for Axhost
Miguel de Icaza [Tue, 19 Jun 2012 19:25:18 +0000 (15:25 -0400)]
Remove ToUpperInvariant in the 4.5 version of MEF to fix #5740
Rodrigo Kumpera [Tue, 19 Jun 2012 18:09:39 +0000 (15:09 -0300)]
Disable precise marking by default since it broke on non-apple targets as well.
Rodrigo Kumpera [Tue, 19 Jun 2012 17:18:51 +0000 (14:18 -0300)]
Fix another race in sgen's STW.
* sgen-os-*: The joined_stw states the current stage in STW
that a given thread is. We should not transition a thread
to the next one unless it needs to. IOW, don't suspend threads
already suspended and don't resume threads not suspended.
This fixes #1917.
Martin Baulig [Tue, 19 Jun 2012 17:56:02 +0000 (19:56 +0200)]
Add additional test for Convert.FromBase64String(): "==="
Martin Baulig [Tue, 19 Jun 2012 17:53:29 +0000 (10:53 -0700)]
Merge pull request #325 from adbre/iss5464
Fix for issue #5464
Marek Safar [Tue, 19 Jun 2012 17:24:37 +0000 (18:24 +0100)]
Remove some odd parser rule I could not hit
Jeremie Laval [Tue, 19 Jun 2012 16:11:58 +0000 (17:11 +0100)]
[System.Core] Prefer setting PLinq task as long running so that they don't get hit by TP timeout
Jeremie Laval [Tue, 19 Jun 2012 16:10:19 +0000 (17:10 +0100)]
[System.Core] Restore ParallelEnumerable tests
Jeremie Laval [Tue, 19 Jun 2012 16:08:54 +0000 (17:08 +0100)]
[System.Core] Defer temporary area management to external class
Jeremie Laval [Tue, 19 Jun 2012 16:05:47 +0000 (17:05 +0100)]
[System.Core] cache array comparison predicate
Jeremie Laval [Tue, 19 Jun 2012 16:05:06 +0000 (17:05 +0100)]
[System.Core] Cache ConcurrentQueue function factory
Rodrigo Kumpera [Tue, 19 Jun 2012 16:03:58 +0000 (13:03 -0300)]
Reenable a sgen test.
Rodrigo Kumpera [Tue, 19 Jun 2012 15:59:42 +0000 (12:59 -0300)]
Introduce a test-wrench target so we can disable tests only on wrench.
Rolf Bjarne Kvinge [Tue, 19 Jun 2012 14:11:10 +0000 (16:11 +0200)]
Sqlite: Map GUIDBLOB to System.Guid. Fixes #5577.
Marek Safar [Tue, 19 Jun 2012 12:56:10 +0000 (13:56 +0100)]
Add 2.0 test profile path to Microsoft.Build.Tasks
Marek Safar [Tue, 19 Jun 2012 11:36:08 +0000 (12:36 +0100)]
Disable failing test
Marek Safar [Tue, 19 Jun 2012 11:34:51 +0000 (12:34 +0100)]
Enable fixed test
Marek Safar [Tue, 19 Jun 2012 10:35:05 +0000 (11:35 +0100)]
Fix tests category
Marek Safar [Tue, 19 Jun 2012 09:54:29 +0000 (10:54 +0100)]
Fixes a warning
Marek Safar [Tue, 19 Jun 2012 09:38:03 +0000 (10:38 +0100)]
Disable more failing runtime tests
Marek Safar [Tue, 19 Jun 2012 08:20:09 +0000 (01:20 -0700)]
Merge pull request #333 from roji/master
More accurate xbuild cmdline error reporting
Shay Rojansky [Tue, 19 Jun 2012 08:07:49 +0000 (11:07 +0300)]
More accurate xbuild cmdline error reporting
When an unknown switch is passed to xbuild, an explicit "unknown switch" error is reported. Previously, the switch was interpreted as an additional argument and resulted in a "Too many project files specified" error.
Gonzalo Paniagua Javier [Tue, 19 Jun 2012 02:50:57 +0000 (22:50 -0400)]
Aborting a pending request closes the socket now
Aborting an HttpWebRequest whose request stream is not closed yet will
now close the underlying socket properly.
Fixes bug #5710.
Martin Baulig [Mon, 18 Jun 2012 23:07:31 +0000 (01:07 +0200)]
Fix async sockets: don't set Count=0 when reusing SocketAsyncEventArgs.
This reverts commit
e2e44bf6f444320947ffa124d3b7c20968e493a5 (from May
2011).
Added SocketAsyncTest.cs to test this.
Thomas Goldstein [Mon, 18 Jun 2012 21:06:00 +0000 (23:06 +0200)]
Rewrite next_pixel_offset calculation in a way that makes more sense. Should not have any effect.
Robert Wilkens [Mon, 18 Jun 2012 20:34:43 +0000 (22:34 +0200)]
Avoid crash when clicking a DataGrid row header with no data or columns. Fixes Xamarin bug 5487.
Mark Probst [Mon, 18 Jun 2012 20:17:01 +0000 (22:17 +0200)]
Merge remote-tracking branch 'public/master'
Rodrigo Kumpera [Mon, 18 Jun 2012 19:37:15 +0000 (16:37 -0300)]
Fix the String.Intern test to reflect the fact that String.Intern can return a different result.
Marek Safar [Mon, 18 Jun 2012 18:28:50 +0000 (19:28 +0100)]
Disable few more tests
Marek Safar [Mon, 18 Jun 2012 18:28:04 +0000 (19:28 +0100)]
Fix Microsoft.Build.Tasks tests
Marek Safar [Mon, 18 Jun 2012 15:29:47 +0000 (16:29 +0100)]
Disable more failing tests
Rodrigo Kumpera [Mon, 18 Jun 2012 15:12:50 +0000 (12:12 -0300)]
Improve Delegate::Combine error message.
Miguel de Icaza [Mon, 18 Jun 2012 12:41:01 +0000 (05:41 -0700)]
Merge pull request #332 from robwilkens/Bug2663-fix
Bug 2663: Regular Expression Bug Fixes
Rob Wilkens [Mon, 18 Jun 2012 11:38:57 +0000 (07:38 -0400)]
Bug 2663: Regular Expression Bug Fixes
What this fixes:
IF you were checking a regex which contained something like "(A|AB)C" and then you
checked something like "ABC" against it, it would fail previously, because its
first trip thru the regex it would match "A" first and short circuit out of the
"or" (|) then next try to match "C" but find "B" and fail. In this case, it should
be obvious that it needs to, after it fails, go back and try "AB" rather than "A"
and that's where this patch comes in.
Brief summary of each change in order that "git diff --staged" is giving them to
me:
This first one summarizes the background of goal of project:
New Function: EmitJumpTest
For when we are evaluating Alternatives (or's) we now want to be able to go back
and try or paths we haven't already tried if and only if we fail. This alternate to
EmitJump instead of jumping to target if we have a match immediately, will
on first attempt do the jump, but later if we have already tried this jump
combination, it will jump to ElseTarget, which is the equivalent of this test
failing on subsequent attempts with the same combination of 'or's passing.
RxCompiler:
EmitJumpTest isn't implemented for RxCompiler because i didn't have sample
code to test it on, so it falls back to a regular jump, nothing changes in
RxCompiler in other words other than having this required fucntion front.
arch.cs:
New OpCode added for JumpTest (see EmitJumpTest above)
compiler.cs:
EmitJumpTest added here for regular compiler, it now takes two arguments (two
items on stack) first was the standard where to jump to address, the second
argument is where to jump to in case where we have already tried this
combination)
interpreter.cs:
JumpTestEntry - What we keep track of to know if we've been here before, for
now i presumed just 'pc' (program counter') and 'ptr' (pointer - where we are)
were enough to tell us if we've been to this particular spot before.
Eval has been moved into Eval_Real
Eval if it gets called with parameters indicating we've already been here
(i.e we're being called recursively) just passes the call directly to eval_real
as-was.
Otherwise eval will loop on eval_real while we fail and haven't tried every
possible path through all the or's. (Note: The special case of where we're
running a 'test' (i.e. checking !(a|b|c) rather than just matching (a|b|c)),
and if we're running a test, we turn off JumpTestTracking while it's in its
recursive section. The reason for this is because while we can rightly check
all the options of (a|ab|abc) first for a then try again with ab then try again
with abc, we cannot do the same for a not (i.e. !(something or something else)
is really (not something AND not somtehing else), and it is not (not something
or not something else))
JumpTestList tracks our current run's JumpTest calls...
TriedCombo's tracks all the combos (all the JumpTestList results) that we've
already tried.
All calls to anything which calls Eval were modified to call eval passing
the optional new parameters that we now need, and remember if we call
eval with those parameters having a value, it will just forward the call
to Eval_Real.
This included modifying TryMatch because it calls Eval.
OpCode.JumpTest handler was added, what it does is first check if we need
to ByPass to jump to 'else' right away, which again happens when we're in
a test recursive call (Checking not, for example).
Next, it will create and populate a new JumpTestEntry with the current values.
It then calls CheckComboMatch() which sees if we match a combo already on file.
If we don't have a Match we jump to the first label (at pc+1) which is the
regular jump call. If we have a match, though, it will jump to the else label
which is now at (pc+2).
CheckComboMatch had to be broken up into two functions because it was going
too deep in terms of nesting. What it does by now should be somewhat understood
it will see if we have a match between our current run and previous runs, and
if we have a match, it returns true. If we don't have a match, it returns
false. I have some doubts about whether this function is 100% correct, there
may remain a bug or two, but it does pass all the "System" unit tests which
includes all the regular expression tests, plus it works for all the tests
in the bug report, so i have little reason to mess with it.
syntax.cs:
Here's where i modified so that when evaluating alternatives ("or"s or "|"s)
we instead call EmitJumpTest rather than just a regular EmitJump.
RegExBugs.cs:
This is the unit test (a bunch in one) which fails on mono without this patch
but succeeds with it
commit
48027ac2bdd9b60d18985ec2537eb188607f8164 1 parent
91c4180d55
This patch was originally submitted under another branch which had a bunch of
unrelated commits in it. I'm hoping if i did this right, these changes stand
alone.
Marek Safar [Mon, 18 Jun 2012 08:40:34 +0000 (01:40 -0700)]
Merge pull request #331 from viniciusjarina/uri_lite2
Removed RegularExpressions dependency from UriParser
Steven Boswell II [Mon, 18 Jun 2012 05:49:03 +0000 (07:49 +0200)]
Fix OneClickComboBoxCell test on Windows
Thomas Goldstein [Sun, 17 Jun 2012 22:20:02 +0000 (00:20 +0200)]
Reformatting to match Mono coding style guidelines
Steven Boswell II [Sun, 17 Jun 2012 22:13:56 +0000 (00:13 +0200)]
Make it so the last-edited cell change is committed rather than not lost, when the user leaves the DataGridView. Fixes Xamarin bug 5420.
Vinicius Jarina [Sun, 17 Jun 2012 22:11:46 +0000 (19:11 -0300)]
Removed RegularExpressions dependency from UriParser
Zoltan Varga [Sun, 17 Jun 2012 00:46:07 +0000 (17:46 -0700)]
Merge pull request #330 from metanest/freebsdtla_2012Jun_spike
To use thread local alloc in FreeBSD
KISHIMOTO, Makoto [Sun, 17 Jun 2012 00:02:28 +0000 (09:02 +0900)]
To use thread local alloc in FreeBSD
Zoltan Varga [Sat, 16 Jun 2012 18:48:57 +0000 (20:48 +0200)]
Change some GC defines to runtime checks in metadata/.
Zoltan Varga [Sat, 16 Jun 2012 09:58:26 +0000 (02:58 -0700)]
Merge pull request #328 from metanest/bsdsendfile_2012Jun_spike
any BSD's sendfile has 6 arguments
KISHIMOTO, Makoto [Sat, 16 Jun 2012 02:04:33 +0000 (11:04 +0900)]
any BSD's sendfile has 6 arguments
Zoltan Varga [Fri, 15 Jun 2012 23:52:15 +0000 (01:52 +0200)]
Implement column number support in sdb.
Zoltan Varga [Fri, 15 Jun 2012 21:38:55 +0000 (14:38 -0700)]
Merge pull request #327 from metanest/mincorevisibilityproblem_2012Jun_spike
mincore(2) isnot X/Ooen standard
KISHIMOTO, Makoto [Fri, 15 Jun 2012 21:15:46 +0000 (06:15 +0900)]
mincore(2) isnot X/Ooen standard
Marek Safar [Fri, 15 Jun 2012 18:33:12 +0000 (19:33 +0100)]
Testing wrench build
Marek Safar [Fri, 15 Jun 2012 15:13:59 +0000 (16:13 +0100)]
Try to fix Microsoft.Build.Tasks tests
Marek Safar [Fri, 15 Jun 2012 15:04:08 +0000 (16:04 +0100)]
Try to fix Directory.EnumerateFiles for hidden files
Marek Safar [Fri, 15 Jun 2012 13:36:09 +0000 (14:36 +0100)]
Add SqliteTest.db to dist
Atsushi Eno [Fri, 15 Jun 2012 13:03:59 +0000 (22:03 +0900)]
Do not use @ which is not always available. Use "" instead (which is not perfect but should be better).
Atsushi Eno [Fri, 15 Jun 2012 13:02:58 +0000 (22:02 +0900)]
do not bundle mscorlib.dll that is running mkbundle.exe. Bundle explicitly passed one instead.
Marek Safar [Fri, 15 Jun 2012 12:50:23 +0000 (13:50 +0100)]
Few few httplistener races
Marek Safar [Fri, 15 Jun 2012 10:24:56 +0000 (11:24 +0100)]
Print failure message
Marek Safar [Fri, 15 Jun 2012 10:21:03 +0000 (11:21 +0100)]
Update SqliteTest.db
Marek Safar [Fri, 15 Jun 2012 10:18:55 +0000 (11:18 +0100)]
Fix TestMenuItemsDispose test
Marek Safar [Fri, 15 Jun 2012 10:15:57 +0000 (11:15 +0100)]
Add timeout to webrequest tests
Marek Safar [Fri, 15 Jun 2012 09:30:18 +0000 (10:30 +0100)]
Fix column info for binary expressions
Zoltan Varga [Fri, 15 Jun 2012 07:29:40 +0000 (00:29 -0700)]
Merge pull request #326 from metanest/master
newlines at end of some files in mono/metadata/
KISHIMOTO, Makoto [Fri, 15 Jun 2012 05:02:34 +0000 (14:02 +0900)]
newlines at end of some files in mono/metadata/
Zoltan Varga [Thu, 14 Jun 2012 23:53:31 +0000 (01:53 +0200)]
Make keepalive processing in sdb resilient to the syscall interrupts caused by GCs. Fixes #4725.
Zoltan Varga [Thu, 14 Jun 2012 19:07:06 +0000 (21:07 +0200)]
Stringify SET_KEEPALIVE protocol message in sdb logging.
rick@gibbed.us [Thu, 14 Jun 2012 18:18:33 +0000 (20:18 +0200)]
Do not serialize ListViewItem.Group if it's null. Fixes Xamarin bug 3840.
Zoltan Varga [Thu, 14 Jun 2012 17:05:10 +0000 (19:05 +0200)]
Fix the AOT excluded optimization check in
94e15085d5bb0ecc9bd3e25af63c14d3a9d0e53b.
Marek Safar [Thu, 14 Jun 2012 16:11:47 +0000 (17:11 +0100)]
Disable some deadlocking plinq tests
Marek Safar [Thu, 14 Jun 2012 15:09:33 +0000 (16:09 +0100)]
Disable failing tests
Marek Safar [Thu, 14 Jun 2012 15:00:52 +0000 (16:00 +0100)]
Disable failing tests
Marek Safar [Thu, 14 Jun 2012 14:49:40 +0000 (15:49 +0100)]
Add some logging to failing test
Marek Safar [Thu, 14 Jun 2012 14:44:35 +0000 (15:44 +0100)]
Clean up some NET_2_0
Marek Safar [Thu, 14 Jun 2012 14:08:08 +0000 (15:08 +0100)]
Fix some failing tests
Marek Safar [Thu, 14 Jun 2012 13:00:51 +0000 (14:00 +0100)]
When checking override base method also check for declaring type visibility
Marek Safar [Thu, 14 Jun 2012 07:08:59 +0000 (00:08 -0700)]
Merge pull request #324 from adbre/master
Fix for bug #4814
Adam Brengesjö [Wed, 13 Jun 2012 23:28:02 +0000 (01:28 +0200)]
Padding character(s) must be at end of string.
Adam Brengesjö [Wed, 13 Jun 2012 22:02:38 +0000 (00:02 +0200)]
Add NUnit test case for bug #5464
Adam Brengesjö [Wed, 13 Jun 2012 21:24:27 +0000 (23:24 +0200)]
Add Assert.Fail if no FormatException is thrown.
Adam Brengesjö [Tue, 12 Jun 2012 15:53:12 +0000 (17:53 +0200)]
Check if number format info properties are empty first.
Fixes issue #4814
https://bugzilla.xamarin.com/show_bug.cgi?id=4814
Adam Brengesjö [Tue, 12 Jun 2012 16:20:41 +0000 (18:20 +0200)]
Add NUnit tests for bug #4814
Thomas Goldstein [Wed, 13 Jun 2012 19:23:08 +0000 (21:23 +0200)]
Fix minor whitespace issues
Thomas Goldstein [Wed, 13 Jun 2012 19:14:39 +0000 (21:14 +0200)]
Unit test for bug 3418
eb1@sil.org [Wed, 13 Jun 2012 19:13:14 +0000 (21:13 +0200)]
Make it so disposing of a Menu causes its MenuItems to get disposed too. Fixes Xamarin bug 3418.
Marek Safar [Wed, 13 Jun 2012 14:17:35 +0000 (15:17 +0100)]
Include source line column info in MDB files
Marek Safar [Wed, 13 Jun 2012 08:02:38 +0000 (09:02 +0100)]
Add Write7BitEncodedInt test
Martin Baulig [Tue, 12 Jun 2012 16:26:00 +0000 (18:26 +0200)]
Fix prepared queries.
You may pass either 0 or -1 as initial value of sp_prepare's @Handle
parameter, but not null. Tested with MS SQL 2008 RC2 Express and
MS SQL 2012 Express.
Atsushi Eno [Tue, 12 Jun 2012 10:08:13 +0000 (19:08 +0900)]
Revert "attempt to fix parallel build in RabbitMQ dir."
This reverts commit
3f89a6cfcf9e0461d538e04f75712663418c4298.
Atsushi Eno [Tue, 12 Jun 2012 10:07:50 +0000 (19:07 +0900)]
Revert "Those new hacky RabbitMQ sources files need to be included in dist."
This reverts commit
cfc5d8ae339c6212ac26ca1d522da3408a2cc508.
Atsushi Eno [Tue, 12 Jun 2012 10:07:38 +0000 (19:07 +0900)]
Revert "doh, miscopied file names."
This reverts commit
4c28538190cd04db181e1dd4e0506f44ae43c5aa.
Atsushi Eno [Tue, 12 Jun 2012 10:03:25 +0000 (19:03 +0900)]
doh, miscopied file names.
Atsushi Eno [Tue, 12 Jun 2012 09:57:48 +0000 (18:57 +0900)]
Those new hacky RabbitMQ sources files need to be included in dist.
Zoltan Varga [Tue, 12 Jun 2012 09:26:31 +0000 (11:26 +0200)]
Merge remote-tracking branch 'raof/aot-cpu-safety'