Граф коммитов

2041 Коммитов

Автор SHA1 Сообщение Дата
Rolf Bjarne Kvinge 8aff9997c7 [tests] It's not necessary to set XS environment variables anymore. (#1416) 2017-01-02 08:57:34 +01:00
Chris Hamons b1040cb8a8 Add NSToolbarItemGroup binding (#1386) 2016-12-29 10:37:15 -06:00
Chris Hamons a59dc46fcc Fix some 10.12.2 APIs marked as 10.12.1 (#1419) 2016-12-28 08:50:10 -06:00
Chris Hamons cdf3915704 Fix EveryFrameworkSmokeTests test with MediaPlayerLibrary (#1418) 2016-12-28 08:46:46 -06:00
Rolf Bjarne Kvinge ab2548a115 [mtouch] Automatically create the output directory if it doesn't exist. (#1414) 2016-12-24 10:57:08 -05:00
Rolf Bjarne Kvinge 281f1bbe07 [xharness] Clear XCODE_DEVELOPER_DIR_PATH from the environment. (#1417) 2016-12-24 10:55:51 -05:00
Sebastien Pouliot a562ac513a [apidiff] Update XML references to match C8SR2 (10.3.1) (#1411) 2016-12-23 13:13:24 -05:00
Rolf Bjarne Kvinge d1102c800e [mtouch] Remove most static state and put it on an instance. (#1398)
* [mtouch] Remove most static state and put it on an instance.

Remove most static state, and put it on an instance (of Application) instead.

Soon we'll build multiple apps (app extensions) in the same process, and we
need to make sure we're not inadvertedly (and incorrectly) sharing state
between apps, so remove as much static state as possible to avoid any
problems.

* [mtouch] Rename GetIsUsingClang -> IsUsingClang.
2016-12-23 18:50:35 +01:00
Rolf Bjarne Kvinge 737f0d5739 [generator] Move the attributes to their own file. (#1408)
An IKVM-based generator will have the attributes in a separate assembly,
so they need to be in a different file.
2016-12-23 17:13:55 +01:00
Rolf Bjarne Kvinge 3ec3f39089 [mtouch] Always require a SDK version when building. (#1407)
* [mtouch] Always require a SDK version when building.

Technically it was required before too, but the error messages were non-optimal:
it could for instance complain that the user is using an iOS framework that
was introduced in iOS 2.0.

* [mtouch tests] Rewrite MT0060 and MT0061 tests to use MTouchTool.

This makes sure we pass --sdk to mtouch (which MTouchTool does by default), so
that we don't run into MT0025 before the errors we're testing for.
2016-12-23 17:09:39 +01:00
Rolf Bjarne Kvinge c5cc47f545 [tests] Specify ordinal string comparison for a few string operations. (#1406) 2016-12-23 17:07:18 +01:00
Rolf Bjarne Kvinge 76951ae511 [generator] Avoid propagating boolean values if we can look them up instead. (#1399) 2016-12-23 07:36:29 +01:00
Rolf Bjarne Kvinge ee5b450174 [mtouch] Remove deprecated comment. (#1402) 2016-12-23 07:35:36 +01:00
Alex Soto c71c7b93fe Merge pull request #1404 from rolfbjarne/homekit-fix-compiler-warning
[HomeKit] Fix compiler warning.
2016-12-22 23:25:11 -06:00
Vincent Dondain 064a747de3 [Doc] Introduce xamarin-analysis-doc-tool (#1374)
* [Doc] Introduce xamarin-analysis-doc-tool

This tool is responsible of producing the xamarin-analysis.md file which is
our Xamarin.Analysis rules documentation.

It will always override the content of the previous xamarin-analysis.md file.

We generate the documentation based on the existing rules in xamarin-analysis/shared/Xamarin.Analysis/Xamarin.iOS.Analysis.targets
2016-12-22 15:06:35 -05:00
Rolf Bjarne Kvinge 3f9599d3f4 [mtouch/mmp] Add better help for the --marshal-[managed|objectivec]-exceptions arguments. (#1403) 2016-12-22 20:11:50 +01:00
Rolf Bjarne Kvinge 2489f2e757 [HomeKit] Fix compiler warning.
Fix this compiler warning:

	src/HomeKit/HMEnums.cs(979,22): warning CS0618: `HomeKit.HMAccessoryCategoryType.DoorOpener' is obsolete: `Use GarageDoorOpener instead'

by rearranging fields a bit.
2016-12-22 19:20:12 +01:00
Rolf Bjarne Kvinge 9ffade2b16 [xharness] When a device from a list of multiple device candidates, order them first to make sure we select consistently. (#1401) 2016-12-22 18:55:25 +01:00
Rolf Bjarne Kvinge db4c28df61 [mtouch] Remove Classic-only file. (#1400) 2016-12-22 18:53:22 +01:00
Rolf Bjarne Kvinge 7dad48a59c [mtouch] Remove dead code. (#1397)
The (ugly) manual exit logic was only needed when interacting with the
simulator, which mtouch doesn't do anymore.
2016-12-22 17:39:10 +01:00
Rolf Bjarne Kvinge 06b15ee45d Bump mono to get fix for #50631. (#1394)
https://bugzilla.xamarin.com/show_bug.cgi?id=50631
2016-12-22 14:11:56 +01:00
Rolf Bjarne Kvinge 05e3828c26 [tests] We don't have license files anymore. (#1393) 2016-12-22 12:26:20 +01:00
Rolf Bjarne Kvinge 9ede593efe Bump mono to get fix for System.Core tests. (#1392)
And also define the FULL_AOT_RUNTIME conditional constant.
2016-12-22 11:05:31 +01:00
Rolf Bjarne Kvinge e42178e105 Bump mono to get fix for #49056. (#1390)
https://bugzilla.xamarin.com/show_bug.cgi?id=49056
2016-12-21 20:21:56 +01:00
Sebastien Pouliot 1d9356bf94 Bump mono to include fix for #47064: [linker] Fix marking types inside custom attributes. (#1376)
* Bump mono to include fix for #47064: [linker] Fix marking types inside custom attributes.

* Add unit tests for bug #47064
2016-12-21 11:52:43 +01:00
Rolf Bjarne Kvinge 335465d910 [generator] Use the specified target framework instead of ifdefs to determine if we have a reference to System.Drawing or not. (#1389) 2016-12-21 10:55:19 +01:00
Jeffrey Stedfast af22202496 [msbuild] Properly clean device-specific output directories (#1387)
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=50454
2016-12-20 13:24:24 -05:00
Rolf Bjarne Kvinge ffe3184345 [generator] Use --target-framework to specify which XM profile to target. (#1339) 2016-12-20 11:33:56 +01:00
Jeffrey Stedfast 86fcbbe715 [msbuild] Moved _CompileToNative so it runs after importing the app extensions (#1380)
Once @rolfkvinge finishes implementing support in mtouch
for code-sharing between main app and app extensions, the
mtouch command will need to run *after* the app extensions
have been copied into the app bundle.
2016-12-20 11:32:15 +01:00
joj 5405f0ac67 [msbuild] Cleanup common and mmp for remoting support (#1381) 2016-12-20 11:19:04 +01:00
Jeffrey Stedfast b37e3d42b0 [msbuild] Clean the $(AppBundleDir).mSYM directory (#1377) 2016-12-19 20:26:07 -05:00
Jeffrey Stedfast 1d79984be1 [msbuild] Use $(DeviceSpecificOutputPath) instead of $(AppBundleDir)\..\ (#1379)
Just a little cleaner/nicer.
2016-12-19 20:25:26 -05:00
Vincent Dondain 6f7c5f77d0 [binding_types_reference_guide] Fix minor typo 2016-12-19 15:25:02 -05:00
Rolf Bjarne Kvinge fe8b6916f0 [xharness] Show better info in process list. (#1365) 2016-12-19 15:18:07 +01:00
Jeffrey Stedfast b192a9c078 [msbuild] Prevent rebuilds from re-codesigning if the app bundle is unchanged (#1373)
Patch #2 for https://bugzilla.xamarin.com/show_bug.cgi?id=49097
2016-12-17 22:51:25 -05:00
Alex Soto 368c9667a7 Merge pull request #1368 from dalexsoto/bug49978
[Tests] GraphicsRendererTest.ImageDefaultFormat test changed default on iPhone 7/7+
2016-12-16 16:38:23 -06:00
Chris Hamons 378827c6ee Remove unnecessary allocations of Version in Static Registrar (#1371) 2016-12-16 15:59:12 -06:00
Chris Hamons 5ba09748a0 Merge pull request #1344 from xamarin/xcode82-master-hamons
Merge Xcode82 support into master
2016-12-16 13:56:37 -06:00
Alex Soto a4450d697a [Tests] GraphicsRendererTest.ImageDefaultFormat test changed default on iPhone 7/7+
https://bugzilla.xamarin.com/show_bug.cgi?id=49978

Disabled assert of PrefersExtendedRange because it changes its default
value on the iPhone 7/7+ making this test fail
2016-12-16 11:41:19 -06:00
Chris Hamons a9de9e304a Disable RemotingConfigruation_RemoteConfigTests for now 2016-12-16 10:58:11 -06:00
Chris Hamons ad8c904da8 Bump jenkins test timeout to 20 minutes
- MMP tests were taking consistently longer than 10
2016-12-16 10:57:48 -06:00
Jeffrey Stedfast 67fe510947 [msbuild] Codesign App Extension libs & frameworks (#1363)
This is a fixup to the PR in issue #1350.

We really only want to delay codesigning of the App Extension
*bundle*, but want to codesign any native libs and frameworks
as usual.
2016-12-16 14:30:13 +01:00
Rolf Bjarne Kvinge 1f81e38a1f [jenkins] Try to show a backtrace for processes that time out. (#1358) 2016-12-16 12:24:08 +01:00
Jeffrey Stedfast 0b05192a3d [msbuild] Delay running dsymutil and strip on App Extensions (#1351)
* [msbuild] Delay running dsymutil and strip on App Extensions

We want to run dsymutil and strip on App Extensions
from the main app bundle targets so that mtouch can
generate a shared Mono.framework in the main app bundle.

* [msbuild] Updated Archive to copy appex dsyms from the correct location
2016-12-15 16:29:31 -05:00
Jeffrey Stedfast 711bc9ab9e Msbuild delay codesign (#1350)
* [msbuild] Delay codesigning of App Extensions

Instead of codesigning App Extensions as part of the
App Extension build, we now codesign them as part of
the Codesign target of the main app project.

* [msbuild] Use an ItemGroup to define _AppExtensionCodesignProperties

By using an ItemGroup, we save all of the metadata
even if the values are null/empty. Using CreateItem,
any metadata property with a null or empty value
was not being saved in the .items file.

* [msbuild] Take advantage of %(_AppExtensionCodesignProperties.Identity)

...instead of having to use
%(_AppExtensionCodesignProperties.Filename)%(_AppExtensionCodesignProperties.Extension)
2016-12-15 16:28:55 -05:00
Jeffrey Stedfast 37d71511a3 [msbuild] Don't rewrite embedded.mobileprovision or archived-expanded… (#1359)
* [msbuild] Don't rewrite embedded.mobileprovision or archived-expanded-entitlements.xcent

This patch prevents those 2 files from being rewritten in
cases where the contents would not change from what was
already there previously.

This is a partial fix for https://bugzilla.xamarin.com/show_bug.cgi?id=49097

* [msbuild] Re-enabled the RebuildExecutable_NoModifications unit test

With the fixes to EmbedProvisioningProfile and CompileEntitlements,
this unit test now passes.
2016-12-15 15:59:55 -05:00
Alex Soto 1e003dfac1 Merge pull request #1362 from dalexsoto/docsfixerbump
[Docfixer] Bump maccore to get some docfixer changes
2016-12-15 14:32:13 -06:00
Alex Soto 35fef55ab2 Merge pull request #1361 from dalexsoto/mediaitemtest
[Tests] Avoid NRE in MediaItemTest.DefaultValues test
2016-12-15 14:28:02 -06:00
Jeffrey Stedfast 13f17660d2 [msbuild] Optimized provisioning profile lookups (#1360)
Fixes the Mac EmbedProvisionProfile task to not load every
single provisioning profile from disk in order to find the
requested provisioning profile.

Drops the need for wrappers around the use of MobileProvisionIndex
since it turns out that MobileProvisionIndex.GetMobileProvision()
already does the File.Exists() on name + ".mobileprovision" to
avoid needing to scan the index of provisioning profiles.
2016-12-15 14:39:24 -05:00
Alex Soto 9ac69344db [Docsfixer] Bump maccore to get some docsfixer changes 2016-12-15 13:13:19 -06:00