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

1804 Коммитов

Автор SHA1 Сообщение Дата
Vincent Dondain 10d7858c4f [docs] Fix binding_types_reference_guide typo 2017-01-04 15:58:49 +01:00
Rolf Bjarne Kvinge b3d2b50dca [mtouch] Auto-install locally after building in the IDE. (#1432)
Auto-install locally after building in the IDE, so that running mtouch tests
after running the mtouch project doesn't require switching to the command
line.
2017-01-03 16:34:33 -05:00
Rolf Bjarne Kvinge d3e974e2bc [mtouch tests] Build the registrar tests for the simulator. (#1431)
It's *much* faster.
2017-01-03 19:40:33 +01:00
Sebastien Pouliot dea2dde259 [linker] Update mscorlib.xml to preserve generic collection interfaces. Fixes #50290 (#1384) (#1427)
The `generic_icollection_class` condition (in class.c) does not match the mscorlib.xml descriptor file.

+ IEnumerator`1
+ IReadOnlyList`1
+ IReadOnlyCollection`1

reference:
https://bugzilla.xamarin.com/show_bug.cgi?id=50290
2017-01-03 13:03:29 -05:00
Rolf Bjarne Kvinge 5b4bc02f72 [generator] Hardcode the XamCore version instead of using ifdefs. (#1422) 2017-01-03 15:15:04 +01:00
Rolf Bjarne Kvinge d7ecfc3a14 [mtouch/mmp] Make Cache a non-static class. (#1425)
So that there can be multiple caches in the same process (which we'll have
once mtouch can compile extensions and the container app in the same process).
2017-01-03 15:14:47 +01:00
Rolf Bjarne Kvinge 4b82398c62 [xharness] Add Jenkins support for mmp regression tests. (#1426) 2017-01-02 19:36:21 +01:00
Rolf Bjarne Kvinge 9e8b43a594 [jenkins] Make jenkins non-parallel to see if it fixes #46097. (#1324)
* [jenkins] Make jenkins non-parellel to see if it fixes #46097.

* [jenkins] Limit serialization to watchos builds.

* [jenkins] Only allow Mac builds to be paralellized.
2017-01-02 16:39:43 +01:00
Rolf Bjarne Kvinge 53de436529 [tests] Update gitignore. (#1423) 2017-01-02 12:27:03 +01:00
Rolf Bjarne Kvinge 358c16caf0 [generator] Drop support for /Developer/MonoTouch. (#1421) 2017-01-02 12:01:07 +01:00
Rolf Bjarne Kvinge 3d4ad53253 [mtouch] Fix infinite recursion after d1102c80. (#1420)
Fixes this test failure:

    Xamarin.Registrar.MT4161 : Unexpected error/warning with --registrar:static:
	    error MT0000: Unexpected error - Please file a bug report at http://bugzilla.xamarin.com
2017-01-02 11:05:01 +01:00
Rolf Bjarne Kvinge 4639052153 [ContactsUI] Unify ContactsUI.Mac into ContactsUI. (#1409)
It's the only framework that uses a different api definition (and makefile
name), so merge these to make upcoming code that automatically generates the
list of frameworks per platform (based on the makefiles) simpler.
2017-01-02 09:01:13 +01:00
Rolf Bjarne Kvinge e8fa0a7251 [tests] Add a few more resources to test. (#1412) 2017-01-02 09:00:47 +01:00
Rolf Bjarne Kvinge ab21da1b85 [xharness] Add support for uninstalling apps from device. (#1413)
The new error message / number is used in mlaunch.
2017-01-02 08:58:46 +01:00
Rolf Bjarne Kvinge 0d0a1f59eb [xharness] Don't hit the network to load xml files. (#1415) 2017-01-02 08:58:14 +01:00
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