26 Commits

Author SHA1 Message Date
Allan Odgaard
dc60a74e59 Include ServiceManagement among precompiled headers
This is not required by any of the current sources, but it will be required, once we remove our use of AuthorizationExecuteWithPrivileges.
2021-03-25 08:28:22 +01:00
Allan Odgaard
fe16803a72 Add os/activity.h to list of headers to precompile 2020-05-12 08:22:04 +07:00
Allan Odgaard
079377ed49 Require macOS 10.12 and remove compatibility checks 2019-10-07 21:28:16 +02:00
Allan Odgaard
087e0ce0a7 Import os/log.h when deployment target is macOS 10.12 or later 2019-07-13 08:22:00 +02:00
Allan Odgaard
69b5af7621 Include sdk-compat.h after system frameworks 2018-08-21 12:22:22 +02:00
Allan Odgaard
a0a15caa2a Introduce sdk-compat.h for redeclaring stuff in latest SDK
This is when we are not yet ready to require building with the latest SDK but need to use some of symbols defined there.
2017-09-12 20:43:52 +02:00
Ronald Wampler
1f84a3d09f Add random header as a precompiled header 2016-10-18 23:06:49 +02:00
Ronald Wampler
00a20aefb6 Revert "Disable unused-local-typedef warning for sparsehash"
This reverts commit 2c6ad9b391.

Upstream released a new version, which resolved the warnings this commit meant to suppress.
2015-10-22 16:27:40 +07:00
Ronald Wampler
2c6ad9b391 Disable unused-local-typedef warning for sparsehash
Also, disable unknown-pragmas warning for older version of clang.
2015-08-11 21:01:07 +02:00
Joachim Mårtensson
70893f4583 Use dense_hash_map for style cache 2015-05-09 21:24:38 +02:00
Allan Odgaard
0f4397769d Include the cstdlib header
This is to ensure we get the integer prototype for std::abs
2015-05-06 21:19:07 +02:00
Ronald Wampler
4aff7098a5 Use std::abs instead of abs()
This suppresses a couple of warnings with the latest version of clang shipped with Xcode 6.3.
2015-04-30 15:15:56 +02:00
Allan Odgaard
3a86535022 Move boost crc include to PCH
Also use unsigned integer for the checksum.
2014-10-18 12:36:23 +02:00
Allan Odgaard
5b47dca1e6 Add ‘sysexits.h’ as a precompiled header 2014-04-14 08:55:06 +07:00
Jacob Bandes-Storch
17e822896e Add Quick Look generator
Closes #1062
2013-07-30 23:11:49 +02:00
Allan Odgaard
ce395fa46a Make bundle item queries thread safe
Note though that mutating the bundle item index is not allowed if other threads are querying it.
2013-07-26 13:53:57 +02:00
Allan Odgaard
24f6f3bd2c Use posix_spawn instead of fork/exec
Using Apple’s POSIX_SPAWN_CLOEXEC_DEFAULT appears to be the only safe way to spawn a child process in a multi-threaded program.
2013-03-10 16:07:11 +01:00
Allan Odgaard
5e291d8a22 Improve QuickLook support
Preview can now be initiated with multiple items and while the preview panel is showing, one can use arrow up/down to switch to other items (in the file browser).
2013-01-12 13:09:19 +01:00
Allan Odgaard
efb6eb6b08 Update required headers 2012-09-30 15:25:44 +02:00
Allan Odgaard
9940e4b321 Remove unused boost headers 2012-08-30 23:05:08 +02:00
Allan Odgaard
0e96a04d76 Remove compatibility checks
Since we now require 10.7 we don’t need all of this. Keeping it around is just noise that can lead to confusion about code paths.
2012-08-29 16:02:29 +02:00
Allan Odgaard
cbe91ff831 Assume compiler support for explicit keyword
Since we require a fairly recent clang for other features, there is no reason to test for this one.
2012-08-29 14:27:35 +02:00
Jacob Bandes-Storch
c976bce24d Use 64-bit: use std::thread to avoid void* cast 2012-08-28 21:32:46 +02:00
Jacob Bandes-Storch
fd419fd0b1 Use libc++: replace __gnu_cxx with std 2012-08-28 13:30:20 +02:00
Jacob Bandes-Storch
e3aa997b06 Use libc++: replace std::tr1 with std 2012-08-28 13:30:20 +02:00
Allan Odgaard
9894969e67 Initial commit 2012-08-09 16:25:56 +02:00