Wladimir J. van der Laan
94167e2b5b
Merge #15208 : Qt: remove macOS launch-at-startup when compiled with > macOS 10.11, fix memory missmanagement
...
da6011826a730837b59aef5664f3feab4787c9bc Fix macOS launch-at-startup memory issue (Jonas Schnelli)
516437a1b70b6df87faadfd38c3d84e6dfb5eae8 Qt: remove macOS launch-at-startup option when compiled with > macOS 10.11 (Jonas Schnelli)
Pull request description:
The launch-at-startup API Bitcoin Core uses on macOS where removed in macOS 10.11 leading to a segmentation-fault due to the weak-linking when not actively compiled against SDK 10.11 (`-mmacosx-version-min=10.11`)
This PR removes the launch-at-startup feature on macOS when compiled with macOS min version > 10.11 (the default is always the macOS version you compile on).
**The depends built binaries (Gitian) are not affected since we are building with min macOS 10.10.**
Users self compiling on macOS > 10.11 can re-enable the feature by compiling with min version <= 10.11 (`CXXFLAGS="-mmacosx-version-min=10.11" CFLAGS="-mmacosx-version-min=10.11" ./configure`)
**Isn't there a new API from Apple?**
Yes, [there is](https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLoginItems.html ).
It will require to create a helper application which needs to be embedded in the .app folder (needs code signing as well). Developers willing to go down that rabbit hole are welcome.
Fixes #15142
Tree-SHA512: fa9cc4e39d5a2d2559919b7e22b7766f5e0269a361719294d4a4a2df2fd9d955e5b23b5907e68023fdeee297f652f844f3c447904bf18f9c1145348ad101c432
2019-01-22 22:53:17 +01:00
..
2019-01-21 19:46:45 +01:00
2018-08-16 20:33:50 +02:00
2018-12-29 10:15:01 +01:00
2019-01-16 16:31:37 -08:00
2019-01-09 14:48:11 +01:00
2019-01-16 13:54:18 -05:00
2018-08-09 11:31:45 -04:00
2018-12-03 00:14:33 +01:00
2018-12-17 21:02:42 -08:00
2019-01-22 22:53:17 +01:00
2019-01-21 20:28:56 +01:00
2018-12-17 21:02:42 -08:00
2019-01-06 17:45:53 +01:00
2019-01-21 19:46:45 +01:00
2018-09-07 08:21:14 -04:00
2019-01-21 19:46:45 +01:00
2019-01-21 20:28:56 +01:00
2019-01-19 22:06:14 +08:00
2018-04-13 15:37:20 -04:00
2019-01-16 13:54:18 -05:00
2019-01-16 13:54:18 -05:00
2018-12-12 14:22:12 -08:00
2019-01-05 16:16:37 +01:00
2018-12-29 10:15:01 +01:00
2018-11-04 22:46:07 -08:00
2018-12-04 19:55:04 +02:00
2018-11-05 17:03:11 +01:00
2019-01-16 13:54:18 -05:00
2019-01-16 13:54:18 -05:00
2018-11-04 22:46:07 -08:00
2018-11-05 17:03:11 +01:00
2018-08-27 18:19:33 +02:00
2018-12-07 15:40:50 +01:00
2018-12-17 21:02:42 -08:00
2018-11-23 10:17:46 +01:00
2018-11-05 09:25:15 -08:00
2018-11-13 12:41:41 -08:00
2018-12-21 23:53:29 -06:00
2018-11-06 09:12:54 -08:00
2018-08-25 17:41:00 +02:00
2018-08-13 01:24:55 +02:00
2018-07-27 07:15:02 -04:00
2019-01-03 00:10:24 +02:00
2019-01-21 19:16:45 +01:00
2018-10-07 13:11:36 +01:00
2018-11-04 22:46:07 -08:00
2018-07-27 07:15:02 -04:00
2018-08-13 13:57:15 +02:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-11-05 09:25:15 -08:00
2018-11-05 09:25:15 -08:00
2018-12-03 14:25:51 -05:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-11-05 17:03:11 +01:00
2018-07-27 07:15:02 -04:00
2018-11-04 22:46:07 -08:00
2018-11-04 22:46:07 -08:00
2018-08-27 18:19:33 +02:00
2018-09-04 13:11:26 +02:00
2018-11-04 22:46:07 -08:00
2018-11-06 11:44:40 -04:00
2018-10-19 02:29:25 +08:00
2018-12-29 10:15:01 +01:00
2018-11-05 09:25:15 -08:00
2018-11-30 18:48:58 +01:00
2018-11-04 22:46:07 -08:00
2018-08-11 09:34:47 +03:00
2019-01-05 16:16:37 +01:00
2018-09-13 10:36:41 -07:00
2019-01-16 13:54:18 -05:00
2018-11-06 11:44:40 -04:00
2018-12-29 10:15:01 +01:00
2018-07-27 07:15:02 -04:00
2018-09-13 09:58:26 +02:00
2018-09-13 10:36:41 -07:00
2018-11-04 22:46:07 -08:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-11-04 22:46:07 -08:00
2018-09-12 11:28:01 -04:00
2019-01-16 13:54:18 -05:00
2018-11-25 10:53:20 +09:00
2019-01-18 00:34:47 +00:00
2019-01-04 06:31:07 -05:00
2018-11-29 05:30:58 -06:00
2018-07-27 07:15:02 -04:00
2019-01-10 01:58:33 +01:00
2018-07-27 07:15:02 -04:00
2018-12-10 16:42:14 -05:00
2018-12-10 16:42:14 -05:00
2019-01-16 13:54:18 -05:00
2019-01-16 13:54:18 -05:00
2019-01-16 13:54:18 -05:00
2019-01-21 18:58:52 +01:00
2018-11-23 09:53:20 +01:00
2018-11-23 09:53:20 +01:00
2018-12-03 14:25:51 -05:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-11-04 22:46:07 -08:00
2018-12-29 10:15:01 +01:00
2018-07-27 07:15:02 -04:00
2018-11-05 17:03:11 +01:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2018-11-14 12:19:28 -05:00
2018-11-04 22:46:07 -08:00
2019-01-05 16:16:37 +01:00
2018-07-27 07:15:02 -04:00
2018-07-27 07:15:02 -04:00
2019-01-16 16:35:54 -08:00
2019-01-16 16:35:54 -08:00
2019-01-04 12:31:07 +01:00
2018-07-24 20:46:23 +01:00
2019-01-16 16:34:56 -08:00
2018-10-20 02:29:59 +08:00
2018-09-11 00:58:13 -04:00
2018-06-25 00:08:49 -04:00
2018-06-25 00:08:49 -04:00
2018-07-27 11:52:18 -07:00
2019-01-05 15:06:43 +01:00
2018-11-04 22:46:07 -08:00
2018-12-14 16:26:13 -05:00
2018-08-31 16:00:38 +02:00
2018-12-29 10:15:01 +01:00
2018-11-06 11:44:40 -04:00
2018-11-04 22:46:07 -08:00
2018-07-27 07:15:02 -04:00
2019-01-13 22:50:36 -08:00
2018-07-27 07:15:02 -04:00
2018-11-04 22:46:07 -08:00
2018-08-08 13:55:27 +02:00
2018-11-04 22:46:07 -08:00
2018-12-22 15:23:03 +01:00
2018-11-04 22:46:07 -08:00
2018-08-14 09:19:47 +00:00
2019-01-10 02:51:14 +01:00
2018-09-18 14:27:05 +09:00
2018-11-05 09:25:15 -08:00
2019-01-15 13:42:05 -05:00
2018-11-30 18:48:58 +01:00
2018-12-29 14:14:26 +01:00
2018-08-26 00:25:28 +02:00
2018-07-27 07:15:02 -04:00
2018-09-23 22:55:11 +02:00
2018-09-23 22:55:11 +02:00
2018-09-23 22:55:11 +02:00
2018-09-23 22:55:11 +02:00
2018-11-06 11:44:40 -04:00
2018-11-04 22:46:07 -08:00
2018-08-08 13:55:27 +02:00