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

2800 Коммитов

Автор SHA1 Сообщение Дата
Ankit Jain 866c65468d [msbuild][mac] Fix regression in facade paths for Full/Modern projects (#2655)
Regression from:
----------------
commit e5d012c5b8
Author: Chris Hamons <chris.hamons@xamarin.com>
Date:   Mon Aug 14 13:17:10 2017 -0500

[macos] System mono should resolve non-XM libraries from system (#2480)
----------------

The way this manifests is that for (eg.) a `TargetFrameworkName=Full` project,
after the `FixTargetFrameworkDirectory`(X.M.Common.targets) target we end up with
`$(TargetFrameworkDirectory)` having value of:

    /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/mono/4.5
    /Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/4.6.1-api/Facades/

.. and the second path is incorrect. It should have been:

    /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/mono/4.5/Facades

This path fixup is done by `FixDesignTimeFacades` (X.M.msbuild.targets)
target, but this target is running *after*
`FixTargetFrameworkDirectory`, so it doesn't see the fixed facade path!

Both `FixTargetFrameworkDirectory` and `FixDesignTimeFacades` have
`AfterTargets="GetReferenceAssemblyPaths`. But since
`FixTargetFrameworkDirectory` is defined before the
`Xamarin.Mac.msbuild.targets` import, so it gets executed before
`FixDesignTimeFacades`.
2017-09-13 10:42:32 -05:00
Luis Aguilera ef423c1bab Merge pull request #2669 from xamarin/bump-856bd36
Updated reference to mono/mono@5fb9bcf
2017-09-13 08:57:06 -04:00
luis.aguilera 856bd3608e Updated reference to mono/mono@5fb9bcf 2017-09-12 18:45:35 -04:00
Luis Aguilera ebc7d9e3eb Merge pull request #2661 from chamons/d15-4-tls-fixes
Fix a few minor memory leaks in AppleTLS (#2403)
2017-09-12 15:15:20 -04:00
Chris Hamons 7ca9483a01 Fix a few minor memory leaks in AppleTLS (#2403)
- Major leak will be fixed in https://github.com/mono/mono/pull/5300
- https://bugzilla.xamarin.com/show_bug.cgi?id=56814
2017-09-12 09:52:55 -05:00
Luis Aguilera 4879ea0ce4 Merge pull request #2628 from xamarin/bump-6dff034
Updated reference to mono/mono
2017-09-10 17:02:01 -04:00
luis.aguilera 6dff034fad Updated reference to mono/mono 2017-09-08 17:52:41 -04:00
Luis Aguilera 02fe963348 Merge pull request #2627 from spouliot/d15-4-linker-branch-name
Add branch name for linker
2017-09-08 16:10:17 -04:00
Sebastien Pouliot 9778272aac Add branch name for linker 2017-09-08 16:08:56 -04:00
Luis Aguilera 37f5cb348c Merge pull request #2626 from spouliot/d15-4-branch-name-fix
Fix branch name for mono submodule (it's required by internal tooling to be accurate even if git itself does not mind)
2017-09-08 15:33:06 -04:00
Sebastien Pouliot 5da3834b1c Fix branch name for mono submodule (it's required by internal tooling to be accurate even if git itself does not mind) 2017-09-08 15:31:23 -04:00
Luis Aguilera de2468e9ff Merge pull request #2625 from xamarin/revert-2610-bump-35640b3
Revert "Updated reference to mono/mono"
2017-09-08 15:24:14 -04:00
Luis Aguilera 3a5518afb6 Revert "Updated reference to mono/mono" 2017-09-08 15:23:44 -04:00
Luis Aguilera 5ff9ed903d Merge pull request #2610 from xamarin/bump-35640b3
Updated reference to mono/mono
2017-09-07 11:17:17 -04:00
luis.aguilera 35640b38f8 Updated reference to mono/mono 2017-09-06 13:53:23 -04:00
Luis Aguilera 416f778ff5 Merge pull request #2539 from xamarin/bump-159603f
Updated reference to mono/mono
2017-08-25 15:49:54 -04:00
luis.aguilera 159603fcfa Updated reference to mono/mono 2017-08-23 20:19:55 -04:00
Luis Aguilera 43c281b483 Merge pull request #2521 from rolfbjarne/bug58778-d15-4
[d15-4][mtouch] Put 'mono_profiler_startup_log' in the symbol list. Fixes #58778. (#2501)
2017-08-23 11:29:52 -04:00
Luis Aguilera b1ff1c54e0 Merge pull request #2530 from spouliot/bug58063-d15-4
[linker] Bump linker submodule to fix #58063
2017-08-23 11:29:36 -04:00
Sebastien Pouliot f436eeb4ec [linker] Bump linker submodule to fix #58063
Pick up:

commit ebbd5b492321d092feae425e8f7aefc3c273530e (HEAD -> d15-4, origin/d15-4)
Author: Marek Safar <marek.safar@gmail.com>
Date:   Wed Aug 23 00:44:47 2017 +0200

    Don't crash on any wrong type forwader reference

reference:
https://bugzilla.xamarin.com/show_bug.cgi?id=58063
2017-08-22 21:10:13 -04:00
Rolf Bjarne Kvinge 0cfd71744b [mtouch] Put 'mono_profiler_startup_log' in the symbol list. Fixes #58778. (#2501)
We need the 'mono_profiler_startup_log' symbol when profiling is enabled, so
make sure to add the symbol to the correct list of symbols we need.

Previously we were passing `-u _mono_profiler_startup_log` to clang directly,
which is fine, but not complete, since it does not write the symbol to the
symbollist file (--symbollist=file), which means it wouldn't be preserved when
the MSBuild tasks strip the executable.

https://bugzilla.xamarin.com/show_bug.cgi?id=58778
2017-08-22 10:49:59 +02:00
Sebastien Pouliot bda3703064 Bump mono to get cecil (bump) that fix #58834 (#2508)
https://bugzilla.xamarin.com/show_bug.cgi?id=58834
2017-08-18 14:20:35 -04:00
Chris Hamons fed365d465 [macos] Add WKUIDelegate runOpenPanelWith bindings (#2495) (#2500)
- https://bugzilla.xamarin.com/show_bug.cgi?id=58758
2017-08-17 09:22:05 -05:00
Emanuel 35e1985350 [bug] Use Identity instead of FullPath on _CompressObjCBindingNativeFrameworkResources target (#2498)
Using the FullPath property breaks the build from Windows, since the metadata will contain a Windows path.

Partial fix for Bug #51759 - Getting build error for iOS sample 'Simpleapp-with-framework'

https://bugzilla.xamarin.com/show_bug.cgi?id=51759
2017-08-16 16:26:32 -04:00
Rolf Bjarne Kvinge be6d27dd45 Bump maccore to get fix for bug #55064. (#2402)
https://bugzilla.xamarin.com/show_bug.cgi?id=55064
2017-08-16 11:55:35 -04:00
Chris Hamons 58a38860d7 [macos] System mono should resolve non-XM libraries from system (#2480) (#2494)
- https://bugzilla.xamarin.com/show_bug.cgi?id=58703
- Was broken on msbuild but undetected due to https://bugzilla.xamarin.com/show_bug.cgi?id=53164
- Unified45Build_CompileToNativeOutput was broken in a recent commit bf53e6204d0950acd5f8efcce8732bd8d8
- This was not caught as the mmp tests are not run by default
- The test was bad/wrong, and checking msbuild not mmp ouput anyway, so fixing.
2017-08-15 11:58:28 -05:00
Sebastien Pouliot 6c19b5a7cb [apidiff] Update definition to new 10.12 (d15-3) stable release (#2489) 2017-08-14 20:07:12 -04:00
Chris Hamons ece368bc1b [macos] Fix 5 methods on NSApplication which were added to the wrong type (#2470) (#2474)
- https://bugzilla.xamarin.com/show_bug.cgi?id=57718
- Unable to move until XAMCORE_4_0 as would be breaking change
- NSServicesMenuRequestor APIs were never on NSApplication / NSApplicationDelegate
- RegisterServicesMenu / OrderFrontStandardAboutPanel / OrderFrontStandardAboutPanelWithOptions are only on Application, not delegate
2017-08-10 10:22:07 -05:00
Rolf Bjarne Kvinge 2ef6bdc4f5 [macos] NSApplication.Terminate should allow null (#2471) (#2472)
- https://bugzilla.xamarin.com/show_bug.cgi?id=58653
2017-08-10 08:51:26 -04:00
Vincent Dondain c73d173ba7 [modelio] Add missing Xcode 8 asserts to tests (#2467)
- Fixes bug #58535: [iOS] MDLMeshtest failures on iOS device
(https://bugzilla.xamarin.com/show_bug.cgi?id=58535)
2017-08-09 17:44:42 -04:00
Sebastien Pouliot c2701c1741 [d15-4] Bump dependencies before next alpha (#2448) 2017-08-08 15:07:14 -04:00
Rolf Bjarne Kvinge 8b37b09ac6 [msbuild][mac] Fix #58479: Assign project configurations for IDE case (#2396) (#2413)
https://bugzilla.xamarin.com/show_bug.cgi?id=58479

_AssignAppExtensionConfiguration assigns project configuration from
`$(CurrentSolutionConfigurationContents)`, using the
`AssignProjectConfiguration` task, which is set if
`$(BuildingSolutionFile)` or `$(BuildingVisualStudio)` is true. We check
only for the former. It would be simpler to just check for ..

	`$(CurrentSolutionConfigurationContents) != ''`

.. like the iOS targets. This mapping from this task is used when
invoking `GetBundleTargetPath` on the extension project:

	Properties="%(_AppExtensionReferenceWithConfigurationExistent.SetConfiguration); %(_AppExtensionReferenceWithConfigurationExistent.SetPlatform)"

Details:

This failed for a project that had a reference to an app extension
project, with VSMac/msbuild. The app extension project was being built
with `Configuration==Debug` and `Platform==x86` for which the project
does not define any properties (like `$(OutputPath)`).

When the main project is built, we invoke `GetBundleTargetPath` on
the extension project, which in this case, has a different
config+platform mapping than the one for the referencing project. But
since the earlier `AssignProjectConfiguration` was skipped due to the
incorrect condition, `GetBundleTargetPath` is invoked with no
config+platform, thus falling back to extension project's defaults.

Note: The referencing project was being built with Debug|x86 and the
referenced project was expected to be built with Debug|AnyCPU .

This project:

- VSMac/xbuild - Works
	- This happens to work because the default from the extension
	  project is Debug|AnyCPU, so even though
	  `AssignProjectConfiguration` didn't set those properties, it
	  builds just fine.

- command line xbuild/msbuild - works!
	- `AssignProjectConfiguration` works because this time the
	  condition `$(BuildingSolutionFile) == 'true'` is True.

- VSMac/msbuild - fails
	- In this case, the default case does not work because in VSMac,
	  we use `SetGlobalProperty` to set config+platform properties
	  when starting the build for the referencing project.

	- And when the referencing project builds the referenced project
	  (via `GetBundleTargetPath`), it is built with config+platform
	  global properties set, and thus defaults from the referenced
	  don't get picked up!

	  	<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>

	- With the `AssignProjectConfiguration` fix, we set the
	  properties via the `MSBuild` task, so it works.
	  But this needs to be fixed in VSMac anyway.
2017-08-03 16:04:44 -05:00
Rolf Bjarne Kvinge 75155be059 [msbuild] Strip frameworks better. (#2305) (#2400)
This can save a significant amount of space when using code-sharing: the PIX
app saved ~11mb in release mode (when stripping).

`man strip` says:

```
For dynamic shared libraries, the maximum level of stripping is usually -x (to remove all non-global symbols).

-x Remove all local symbols (saving only global symbols).
```
2017-08-02 16:06:49 +02:00
Rolf Bjarne Kvinge e2cdf61897 [runtime] Parameters passed on the stack use at least 8 bytes on x86-64. Fixes #58367. (#2399)
* [runtime] Make debug spew compile.

* [tests] Add test case for bug #58367.

https://bugzilla.xamarin.com/show_bug.cgi?id=58367

* [runtime] Parameters passed on the stack use at least 8 bytes on x86-64. Fixes #58367.

https://bugzilla.xamarin.com/show_bug.cgi?id=58367
2017-08-02 13:59:05 +02:00
Rolf Bjarne Kvinge 82d36436b0 Bump llvm. Fixes #58264. (#2391) (#2392)
https://bugzilla.xamarin.com/show_bug.cgi?id=58264
2017-08-02 08:54:16 +02:00
Rolf Bjarne Kvinge 2d9f43194f Bump mono to get fix for #58446. (#2390) (#2395)
https://bugzilla.xamarin.com/show_bug.cgi?id=58446
2017-08-01 16:50:06 -04:00
Sebastien Pouliot 7c3c8741ed [mmp] Track all sub-frameworks of ApplicationServices and CoreServices. Fixes #58415 (#2381) (#2384)
The existing custom list does not cover the needs of user code,
e.g. a reference to LaunchServices did not bring CoreServices

https://bugzilla.xamarin.com/show_bug.cgi?id=58415
2017-07-31 14:36:52 -04:00
Sebastien Pouliot c70e3b572c [mono] Bump to fix #57919 - dynamic object is not supported (#2369) (#2372)
https://bugzilla.xamarin.com/show_bug.cgi?id=57919
2017-07-26 13:55:44 -04:00
Rolf Bjarne Kvinge 80f17b0b2c Bump mono to get fixes for #57062 and #58114. (#2341) (#2346)
https://bugzilla.xamarin.com/show_bug.cgi?id=58114
https://bugzilla.xamarin.com/show_bug.cgi?id=57062
2017-07-19 08:28:26 -04:00
Rolf Bjarne Kvinge b9d30a2da3 [mtouch] Fix collecting required internal symbols which aren't in the objc_msgSend family. (#2330) (#2338)
Fix collecting required internal symbols which aren't in the objc_msgSend
family by not bailing out early for a function which isn't in the objc_msgSend
family.

Also add a test.
2017-07-18 11:43:22 -04:00
Sebastien Pouliot 0723601b2b [mono] Bump to get fix for 56452 (#2335) (#2339)
Problem Stack too big
https://bugzilla.xamarin.com/show_bug.cgi?id=56452
2017-07-18 11:40:08 -04:00
Matt Sylvia 38d3a2bfc5 Branching for d15-4 2017-07-07 14:51:39 -04:00
Rolf Bjarne Kvinge 348df7d196 [docs] Add missing entry about MT2090 errors. (#2297) 2017-07-07 17:17:39 +02:00
Matt Sylvia f30f76a523 Automated bumping to align hashes. 2017-07-06 23:31:14 -04:00
Rolf Bjarne Kvinge f5956d6cc1 [generator] Print nicer type names. (#2296)
Diff: https://gist.github.com/rolfbjarne/11f60b56f72a5f6093674ae4b7c3e6d2
2017-07-06 20:30:03 +02:00
Rolf Bjarne Kvinge cd59295f04 [src] Fix infinite recursion in make. (#2298)
For some reason the target to build OpenTK.dll.config may cause an infinite
recursion in make.

I don't understand what's happening, but we don't need OpenTK.dll.config
anymore, so just not produce/ship it anymore.
2017-07-06 13:54:58 +02:00
Rolf Bjarne Kvinge a9a68249c3 Bump mono to get fix for bug #57780. (#2293)
https://bugzilla.xamarin.com/show_bug.cgi?id=57780
2017-07-05 14:27:34 +02:00
Rolf Bjarne Kvinge fbf5d33353 [xharness] Print something every 10 minutes to not look like we're stuck. (#2289) 2017-07-04 17:57:47 +02:00
Rolf Bjarne Kvinge 492d1c9c2f [ObjCRuntime] Remove Class.RegisterMethods, it's XI/Classic only, which is dead. (#2286)
This allows us to remove a bunch of other code, which was useless and not
needed anymore, but still executed.
2017-07-04 07:29:36 +02:00
Rolf Bjarne Kvinge f610917d4e [generator] Exclude pdb files from the diff. (#2287) 2017-07-04 07:29:17 +02:00