Merge branch 'upstream'

Former-commit-id: d0b478b3e897f41bf2d206867201a36b11bd7aa7
This commit is contained in:
Xamarin Public Jenkins (auto-signing) 2018-06-01 08:56:28 +00:00
commit f70d3555a6
40 changed files with 52 additions and 47 deletions

View File

@ -1 +1 @@
44df991ba30f88ca18964668fe7dfeedaad59fbb f2975e434fb9a78dbc5f2ccc946c7cbf285a3a46

View File

@ -1 +1 @@
6d86be4bee4429c6d41d6bbefa217551f0d0f345 71862039cdd700167d24ff50835960834c3faaf5

View File

@ -34,7 +34,7 @@ static class Consts
// Use these assembly version constants to make code more maintainable. // Use these assembly version constants to make code more maintainable.
// //
public const string MonoVersion = "5.14.0.110"; public const string MonoVersion = "5.14.0.116";
public const string MonoCompany = "Mono development team"; public const string MonoCompany = "Mono development team";
public const string MonoProduct = "Mono Common Language Infrastructure"; public const string MonoProduct = "Mono Common Language Infrastructure";
public const string MonoCopyright = "(c) Various Mono authors"; public const string MonoCopyright = "(c) Various Mono authors";

View File

@ -937,6 +937,7 @@ namespace System.Windows.Forms
if (tabs != null && tabs.Count > 0) { if (tabs != null && tabs.Count > 0) {
foreach (PropertyTab tab in tabs) { foreach (PropertyTab tab in tabs) {
PropertyToolBarButton button = new PropertyToolBarButton (tab); PropertyToolBarButton button = new PropertyToolBarButton (tab);
button.Click += new EventHandler (toolbarbutton_clicked);
toolbar.Items.Add (button); toolbar.Items.Add (button);
if (tab.Bitmap != null) { if (tab.Bitmap != null) {
tab.Bitmap.MakeTransparent (); tab.Bitmap.MakeTransparent ();
@ -986,7 +987,7 @@ namespace System.Windows.Forms
scopes.Clear (); scopes.Clear ();
IList currentIntersection = (i == 0 ? (IList)tabAttribute.TabClasses : (IList)intersection); IList currentIntersection = (i == 0 ? (IList)tabAttribute.TabClasses : (IList)intersection);
for (int j=0; j < currentIntersection.Count; j++) { for (int j=0; j < currentIntersection.Count; j++) {
if ((Type)intersection[j] == tabAttribute.TabClasses[j]) { if ((Type)currentIntersection[j] == tabAttribute.TabClasses[j]) {
new_intersection.Add (tabAttribute.TabClasses[j]); new_intersection.Add (tabAttribute.TabClasses[j]);
scopes.Add (tabAttribute.TabScopes[j]); scopes.Add (tabAttribute.TabScopes[j]);
} }
@ -1410,8 +1411,10 @@ namespace System.Windows.Forms
toRemove.Add (i); toRemove.Add (i);
} }
foreach (int indexToRemove in toRemove) { foreach (int indexToRemove in toRemove) {
property_tabs.RemoveAt (indexToRemove); if (property_tabs.Count > indexToRemove)
property_tabs_scopes.RemoveAt (indexToRemove); property_tabs.RemoveAt (indexToRemove);
if (property_tabs_scopes.Count > indexToRemove)
property_tabs_scopes.RemoveAt (indexToRemove);
} }
property_grid.RefreshToolbar (this); property_grid.RefreshToolbar (this);
} }

View File

@ -105,16 +105,16 @@ namespace System.IO {
var result = new C (); var result = new C ();
result.Changed += (object o, FileSystemEventArgs args) => result.Changed += (object o, FileSystemEventArgs args) =>
{ ProxyDispatch (o, FileAction.Modified, args); }; Task.Run (() => ProxyDispatch (o, FileAction.Modified, args));
result.Created += (object o, FileSystemEventArgs args) => result.Created += (object o, FileSystemEventArgs args) =>
{ ProxyDispatch (o, FileAction.Added, args); }; Task.Run (() => ProxyDispatch (o, FileAction.Added, args));
result.Deleted += (object o, FileSystemEventArgs args) => result.Deleted += (object o, FileSystemEventArgs args) =>
{ ProxyDispatch (o, FileAction.Removed, args); }; Task.Run (() => ProxyDispatch (o, FileAction.Removed, args));
result.Renamed += (object o, RenamedEventArgs args) => result.Renamed += (object o, RenamedEventArgs args) =>
{ ProxyDispatch (o, FileAction.RenamedNewName, args); }; Task.Run (() => ProxyDispatch (o, FileAction.RenamedNewName, args));
result.Error += (object o, ErrorEventArgs args) => result.Error += (object o, ErrorEventArgs args) =>
{ ProxyDispatchError (handle, args); }; Task.Run (() => ProxyDispatchError (handle, args));
Operation (map_op: (in_map, out_map, event_map, _) => { Operation (map_op: (in_map, out_map, event_map, _) => {
in_map.Add (handle, result); in_map.Add (handle, result);

View File

@ -37,6 +37,7 @@ using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Security.Permissions; using System.Security.Permissions;
using System.Threading; using System.Threading;
using System.Threading.Tasks;
namespace System.IO { namespace System.IO {
[DefaultEvent("Changed")] [DefaultEvent("Changed")]
@ -114,7 +115,7 @@ namespace System.IO {
void InitWatcher () void InitWatcher ()
{ {
lock (lockobj) { lock (lockobj) {
if (watcher != null) if (watcher_handle != null)
return; return;
string managed = Environment.GetEnvironmentVariable ("MONO_MANAGED_WATCHER"); string managed = Environment.GetEnvironmentVariable ("MONO_MANAGED_WATCHER");
@ -510,17 +511,17 @@ namespace System.IO {
case FileAction.Added: case FileAction.Added:
lastData.Name = filename; lastData.Name = filename;
lastData.ChangeType = WatcherChangeTypes.Created; lastData.ChangeType = WatcherChangeTypes.Created;
OnCreated (new FileSystemEventArgs (WatcherChangeTypes.Created, path, filename)); Task.Run (() => OnCreated (new FileSystemEventArgs (WatcherChangeTypes.Created, path, filename)));
break; break;
case FileAction.Removed: case FileAction.Removed:
lastData.Name = filename; lastData.Name = filename;
lastData.ChangeType = WatcherChangeTypes.Deleted; lastData.ChangeType = WatcherChangeTypes.Deleted;
OnDeleted (new FileSystemEventArgs (WatcherChangeTypes.Deleted, path, filename)); Task.Run (() => OnDeleted (new FileSystemEventArgs (WatcherChangeTypes.Deleted, path, filename)));
break; break;
case FileAction.Modified: case FileAction.Modified:
lastData.Name = filename; lastData.Name = filename;
lastData.ChangeType = WatcherChangeTypes.Changed; lastData.ChangeType = WatcherChangeTypes.Changed;
OnChanged (new FileSystemEventArgs (WatcherChangeTypes.Changed, path, filename)); Task.Run (() => OnChanged (new FileSystemEventArgs (WatcherChangeTypes.Changed, path, filename)));
break; break;
case FileAction.RenamedOldName: case FileAction.RenamedOldName:
if (renamed != null) { if (renamed != null) {
@ -536,7 +537,8 @@ namespace System.IO {
if (renamed == null) { if (renamed == null) {
renamed = new RenamedEventArgs (WatcherChangeTypes.Renamed, path, "", filename); renamed = new RenamedEventArgs (WatcherChangeTypes.Renamed, path, "", filename);
} }
OnRenamed (renamed); var renamed_ref = renamed;
Task.Run (() => OnRenamed (renamed_ref));
renamed = null; renamed = null;
break; break;
default: default:

View File

@ -1 +1 @@
061d164b61dd4f5d7b45ea45d24beb68e090aa1d 88463079f1bc9e293ff4eeffc52b8fe7ddb4b61d

View File

@ -1 +1 @@
cb48e0acfece34c129d2f0df12736b761894e6ff 69022cbbe03b81539b541184bb204f1027e88e47

View File

@ -1 +1 @@
d9216fb81ca067b812c2af0244ab4b09fda355cc abf20bddd551faa4c03903b90d5ef125923a6a58

View File

@ -1 +1 @@
5e57c68548c3d4b813e8afcd3faa90d664d333ee 3a253a3488929d890119bb844ed58e36e6a9b20d

View File

@ -1 +1 @@
27f33bdbdeb3aeb2cd0603faa95162b9e685b44c f9d99688c9ea9c2a3c6d751ebcc47a65e35f4cd1

View File

@ -1 +1 @@
2ab602ec65de544966c6b22e2cf6c2901778f977 701fb7ddb42ec02b674abe8af949fa839afd936f

View File

@ -1 +1 @@
6f76e77a06b2bdc54f25fbd8a4f39aa04c431c44 d5beee2f9672bee46acd54553c2a6cf4f66d4a57

View File

@ -1 +1 @@
7cb730ea0b4be07c4176b3f102c6e4a6e5697768 fccf96191cc72249f43f2d18d25931f1aba8b06b

View File

@ -1 +1 @@
061d164b61dd4f5d7b45ea45d24beb68e090aa1d 88463079f1bc9e293ff4eeffc52b8fe7ddb4b61d

View File

@ -1 +1 @@
cb48e0acfece34c129d2f0df12736b761894e6ff 69022cbbe03b81539b541184bb204f1027e88e47

View File

@ -1 +1 @@
d9216fb81ca067b812c2af0244ab4b09fda355cc abf20bddd551faa4c03903b90d5ef125923a6a58

View File

@ -1 +1 @@
5e57c68548c3d4b813e8afcd3faa90d664d333ee 3a253a3488929d890119bb844ed58e36e6a9b20d

View File

@ -1 +1 @@
27f33bdbdeb3aeb2cd0603faa95162b9e685b44c f9d99688c9ea9c2a3c6d751ebcc47a65e35f4cd1

View File

@ -1 +1 @@
2ab602ec65de544966c6b22e2cf6c2901778f977 701fb7ddb42ec02b674abe8af949fa839afd936f

View File

@ -1 +1 @@
6f76e77a06b2bdc54f25fbd8a4f39aa04c431c44 d5beee2f9672bee46acd54553c2a6cf4f66d4a57

View File

@ -1 +1 @@
7cb730ea0b4be07c4176b3f102c6e4a6e5697768 fccf96191cc72249f43f2d18d25931f1aba8b06b

View File

@ -1 +1 @@
061d164b61dd4f5d7b45ea45d24beb68e090aa1d 88463079f1bc9e293ff4eeffc52b8fe7ddb4b61d

View File

@ -1 +1 @@
cb48e0acfece34c129d2f0df12736b761894e6ff 69022cbbe03b81539b541184bb204f1027e88e47

View File

@ -1 +1 @@
d9216fb81ca067b812c2af0244ab4b09fda355cc abf20bddd551faa4c03903b90d5ef125923a6a58

View File

@ -1 +1 @@
5e57c68548c3d4b813e8afcd3faa90d664d333ee 3a253a3488929d890119bb844ed58e36e6a9b20d

View File

@ -1 +1 @@
27f33bdbdeb3aeb2cd0603faa95162b9e685b44c f9d99688c9ea9c2a3c6d751ebcc47a65e35f4cd1

View File

@ -1 +1 @@
2ab602ec65de544966c6b22e2cf6c2901778f977 701fb7ddb42ec02b674abe8af949fa839afd936f

View File

@ -1 +1 @@
6f76e77a06b2bdc54f25fbd8a4f39aa04c431c44 d5beee2f9672bee46acd54553c2a6cf4f66d4a57

View File

@ -1 +1 @@
7cb730ea0b4be07c4176b3f102c6e4a6e5697768 fccf96191cc72249f43f2d18d25931f1aba8b06b

View File

@ -1 +1 @@
#define FULL_VERSION "explicit/2987232" #define FULL_VERSION "explicit/1f3334f"

Binary file not shown.

View File

@ -1 +1 @@
c4e5b70a3f59cdb005d5cdca831827f4d06f26c1 a5b96637c3a14d3ff54d08a69b9be2dab301459a

Binary file not shown.

View File

@ -1 +1 @@
a325b0f35c584b9934e4333e4d23d76b0ef1355a a62d543177eb487ce400a5c919cfc87a7c4b3880

Binary file not shown.

View File

@ -1 +1 @@
890e4f0aab1f73ab3c5f0756055d7fb60a3b2577 04ee6e6515a55fe2f33a80529c0c3ebab18fc86a

View File

@ -6,9 +6,9 @@
#, fuzzy #, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: mono 5.14.0.110\n" "Project-Id-Version: mono 5.14.0.116\n"
"Report-Msgid-Bugs-To: http://www.mono-project.com/Bugs\n" "Report-Msgid-Bugs-To: http://www.mono-project.com/Bugs\n"
"POT-Creation-Date: 2018-05-31 08:28+0000\n" "POT-Creation-Date: 2018-06-01 08:17+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"

Binary file not shown.

View File

@ -1 +1 @@
c5bd43ccb5758441f44946f9d01400aced3e69e7 da5743e70ab27b9dae6a254153bd1ac41d49b5bf