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

9971 Коммитов

Автор SHA1 Сообщение Дата
Chris Hamons ada548abcb Fix mmp script to use MAC_TARGETDIR so it works when installed from packages (#23)
- Now matches mtouch
- https://bugzilla.xamarin.com/show_bug.cgi?id=40837
2016-05-03 18:04:04 -04:00
Vincent Dondain 0970fce6ed [msbuild/tests] Add TVServicesExtension test (#21)
* [msbuild/tests] Remove car idiom from Contents.json

The car idiom is something new projects used to generate
and that actool doesn't handle anymore.

Logs were polluted by a warning: "The app icon set 'AppIcons' has an unassigned child".

* [msbuild/tests] Add tvOS extension test

We now have MyTVServicesExtension project which
comes from a simple tvOS extension template.
It is attached to MyTVApp.

The TVApp test has been updated to also build the extension.

* [msbuild/tests] Fix Action Extension version number

The action extension project now has a version number that
is matching the parent app.

Avoids warning message.
2016-05-03 13:17:38 -04:00
Alex Soto d8ace2658e [Contacts] Fix wrong delegate signature on CNContactStoreEnumerateContactsHandler (#22)
From PR https://github.com/xamarin/xamarin-macios/pull/19

The signature on  `CNContactStoreEnumerateContactsHandler` should
include a `ref`on the `bool stop` parameter in order to have the
ability to early exit the enumeration.

Ref: http://stackoverflow.com/questions/36992982/early-exit-a-cncontactstoreenumeratecontactshandler-enumeration
2016-05-03 12:03:41 -04:00
Jeffrey Stedfast 24e1e294bc Merge pull request #18 from emaf/master
Fixes AdHoc IPA with ODR failing to install from iTunes
2016-05-02 16:07:57 -04:00
Emanuel d25da2a0e3 Set IsStreamable to false if the ODR are Embed 2016-05-02 15:48:57 -03:00
Emanuel b359fae77d [ODR] Sign app bundle if the AssetPackaManifest has changed 2016-05-02 15:48:50 -03:00
Emanuel b838b603f0 Avoid codesigning embedded assetpacks for AdHoc IPA 2016-05-02 15:48:41 -03:00
Rolf Bjarne Kvinge cb6557829f [tests] Move HtmlTransform.xslt here from maccore. (#16)
Should fix this test error:

    warning: failed to load external entity "../../xamarin-macios/tests/HtmlTransform.xslt"
    cannot parse ../../xamarin-macios/tests/HtmlTransform.xslt
    make[4]: *** [test-ios-tasks] Error 4
2016-04-28 15:07:26 -04:00
Rolf Bjarne Kvinge aa7a17ccee [tests] Fix test configuration issues with file moves. (#15)
This will fix at least some of the mtouch tests.
2016-04-28 15:06:41 -04:00
Rolf Bjarne Kvinge 8886384983 Give a better and more actionable error message than a failed download when trying to provision Xcode outside of build bots. (#14) 2016-04-28 15:06:12 -04:00
Oleg Demchenko 1ad1df2bd8 [Foundation] Add null check for Observer cback (#7)
* [Foundation] Add null check to Observer cback

* [Foundation] Rename parameter name from cback to observer
2016-04-28 14:19:45 -04:00
Vincent Dondain 46c4269992 Update reference to maccore (#17)
Fix ApiSelectorTest for NSImage initByReferencingFile:

Commit 8b400722fb introduced
a new InitByReferencingFile internal method bound to initByReferencingFile:

Therefore the mac don't link tests were complaining because that selector
was used on a method and not a constructor.
2016-04-28 14:18:13 -04:00
Miguel de Icaza 6df7be5eea Update README.md 2016-04-28 11:14:18 -04:00
Geoffrey Huntley f03cc75900 corrected command-line arguments (#13) 2016-04-28 10:47:16 -04:00
Vincent Dondain 79604d52b9 Merge pull request #6 from VincentDondain/master
[appkit] Add NSImage lazy initialization
2016-04-27 16:13:03 -04:00
Rolf Bjarne Kvinge e9e4abfd3b Bump maccore to get test fix. (#12)
commit xamarin/maccore@15f20dadb1
Author: Rolf Bjarne Kvinge <rolf@xamarin.com>
Date:   Wed Apr 27 14:22:13 2016 -0400

    [tests] Fix double/single-colon target confusing in Makefile.
2016-04-27 15:36:38 -04:00
Rolf Bjarne Kvinge 5c9c058dde Add Xamarin.iOS solution file. (#11) 2016-04-27 15:36:08 -04:00
Rolf Bjarne Kvinge 57c9885ff6 [mtouch] Fix issue where we'd incorrectly compute the target executable name. (#10)
When reading a plist using NSDictionary, getting a value for a key
that doesn't exist returns null.

This changed when we switched to using our own managed plist reader,
which returns an empty string if a key doesn't exist.

Unfortunately we have code that checks if CFBundleExecutable is null,
in which case we compute the executable name using the executable
assembly, but since we started getting an empty string for
CFBundleExecutable if the key wasn't available, we now ended up wanting
to create an executable named as an empty string.

This broke our bug-13945 test case.

The fix is to continue returning null if the plist key isn't present.
2016-04-27 15:35:21 -04:00
Rolf Bjarne Kvinge 6c65faac6d Bump maccore to get updated mlaunch. (#8) 2016-04-27 14:27:31 -04:00
Rolf Bjarne Kvinge 1bf85b5d9a [README] Add a Contributing section. (#5) 2016-04-27 11:35:53 -04:00
Vincent Dondain 8b400722fb [appkit] Add NSImage lazy initialization
We were missing initByReferencingFile: which initializes
the image object lazily.

The non working use case was:

var iconFile = NSBundle.MainBundle.PathForResource ("AppIcons", "icns");
NSApplication.SharedApplication.ApplicationIconImage = new NSImage (iconFile);

In this example, the constructor is calling initWithContentsOfFile: which will
not load the right icon from the .icns file.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=40349.
2016-04-27 11:07:48 -04:00
Sebastien Pouliot 2edb2ae4f5 [linker] Fix debugging of watchOS apps when link all is used. Fixes #40641 (#3)
Watch apps are inside .dll (not .exe) and needs to be processed
differently (e.g. to register their content). The issue was that the
debugging symbols were not loaded by that code so it was not part of
the .appex for debugging.

https://bugzilla.xamarin.com/show_bug.cgi?id=40641
2016-04-26 19:01:49 -04:00
Rolf Bjarne Kvinge 2e67fb4316 Bump maccore to get test removals. 2016-04-26 18:02:02 -04:00
Rolf Bjarne Kvinge c2bcb8d73f [tests] Add bindings-framework-test. 2016-04-26 17:48:55 -04:00
Rolf Bjarne Kvinge 73ddab291c [tests] Add bindings-test. 2016-04-26 17:27:37 -04:00
Jeffrey Stedfast 7344399ccf [msbuild] Added LinkDescription support for iOS
Fixes bug #40503
2016-04-26 16:15:18 -04:00
Rolf Bjarne Kvinge 7b863816b3 [runtime] Disable the GC pump for watchOS for now.
It causes the app to crash pretty much instantly.

This way watchOS apps at least runs until the app
itself wants to run the GC.
2016-04-26 12:48:11 -04:00
Rolf Bjarne Kvinge 4aed2cf7fe Store configure configuration in configure.inc.
And leave Make.config.inc for only manual configuration.
2016-04-26 12:39:21 -04:00
Rolf Bjarne Kvinge 80939aa209 Bump maccore to master. 2016-04-26 10:33:56 -04:00
Alexander Köplinger 35419e6749 Bump mono to bring in fixes for #40624 2016-04-26 10:20:27 -04:00
Vincent Dondain 2145c468a0 [msbuild] Add tvOS AppExtension targets 2016-04-26 10:19:54 -04:00
Rolf Bjarne Kvinge fec5655dfe [mtouch/mmp] Use full path to mono. 2016-04-26 08:11:12 -04:00
Rolf Bjarne Kvinge 842a86cb0d [tests] Add test-libraries. 2016-04-26 08:00:35 -04:00
Rolf Bjarne Kvinge 804dfc6343 [mtouch/runtime] Implement support for tvOS extensions. 2016-04-25 18:15:02 -04:00
Rolf Bjarne Kvinge 00a855f2b1 [mtouch] Fix building the static registrar files. 2016-04-25 18:15:02 -04:00
Zoltan Varga 55b25bde4b [builds] Add a DISABLE_BUILDS_MAKEFILE_DEP Make.config.local variable which can be used to disable the rebuilding of mono trees under builds/ when builds/Makefile changes. 2016-04-25 18:15:01 -04:00
Rolf Bjarne Kvinge 94e35a8570 [msbuild] Xcode doesn't seem to add a UIRequiredDeviceCapabilities = 'watch-companion' anymore.
Xcode doesn't see to add a UIRequiredDeviceCapabilities = 'watch-companion'
anymore for watchos apps/extensions, not even when setting the deployment
version to 2.0.

This makes watchOS 2 apps launch in the simulator again.
2016-04-25 18:15:01 -04:00
Rolf Bjarne Kvinge d4548852b2 [mmp] Fix looking up the XamMac prefix based on the mmp path. 2016-04-25 18:15:00 -04:00
Rolf Bjarne Kvinge 4dc4580129 [mtouch] Cleanup project file a bit. 2016-04-25 18:14:59 -04:00
Rolf Bjarne Kvinge 822adc3966 [mmp] Cleanup project file a bit. 2016-04-25 18:14:58 -04:00
Rolf Bjarne Kvinge 30f0530c6a Remove unused files. 2016-04-25 18:14:58 -04:00
Rolf Bjarne Kvinge 54a503eb00 [mtouch] Fix dependencies before building the partial registrar code. 2016-04-25 18:14:57 -04:00
Rolf Bjarne Kvinge 56308e7eb6 [mmp/mtouch] Don't mkbundle anymore.
mtouch only uses Xamarin.Mac to read plists, so change to use
our purely managed plist reader in Xamarin.MacDev instead.

That makes us able to change mtouch to be a normal command-line
executable (and project).

Which makes it logical to not mkbundle mtouch anymore,
it executes just fine with the system mono (and there's
no code to protect anymore either).

And since mmp and mtouch share some files, do the same
for mmp.
2016-04-25 18:14:56 -04:00
Rolf Bjarne Kvinge c09ea1213d [mmp] Use the system monolinker.
Makes the mmp build a little bit simpler (and faster).
2016-04-25 18:14:56 -04:00
Jeffrey Stedfast b0c55a87f6 [msbuild] Fixed FileWrites logic for OptimizeImage task 2016-04-25 18:14:55 -04:00
Jeffrey Stedfast e97d69b25c [msbuild] Don't write actool/ibtool/etc outputs to FileWrites
MSBuild compares what is in FileWrites with the Outputs of the target
and any file that exists in FileWrites but *doesn't* exist in Outputs
gets deleted with the assumption that it is no longer needed via the
IncrementalClean MSBuild target.

Since these tasks cannot know what the outputs will be until the task
is run, we cannot use FileWrites.
2016-04-25 18:14:55 -04:00
Sebastien Pouliot 5d887b61ee Bump mono for linker fix. Fixes #40574
[linker] Method decorated with System.Runtime.Serialization.*Attribute must be marked, Fixes #40574

    Some serialization attributes are unlikely to have direct reference,
    from IL, but will be needed at runtime to correctly serialize (or
    deserialize) objects.

    * OnDeserializedAttribute
    * OnDeserializingAttribute
    * OnSerializedAttribute
    * OnSerializingAttribute

    This, along with aad627c5e8ddf15397c87fa2d3e18b54f929c927, fixed bug
    40574. The later part will have new unit tests in XI.

    references:
    https://bugzilla.xamarin.com/show_bug.cgi?id=40574
2016-04-25 18:14:54 -04:00
Sebastien Pouliot 9a680a7d02 [tests] Add README placeholder note 2016-04-25 16:55:12 -04:00
Sebastien Pouliot 21fd1e9655 Adjust license to match requested format 2016-04-25 16:38:57 -04:00
Rolf Bjarne Kvinge 17f15409da Bump maccore to get test updates. 2016-04-25 10:14:58 -04:00