The parameter passed by with -j will be forwarded to the -j
parameter of make calls. If the option is not set, a default value
is used. By passing 1, the caller can force one core only.
Usually, contribs do not support runtime handling of partial
availability well. Turning this warning into an error has several
advantages:
- It fixes feature detection for custom build scripts: If a custom
build script includes the correct header, the check will now fail
to build and replacements will be enabled. This is the case for
ffmpeg, for instance.
- Even if configure check might not fail, the build will fail
for correctly annotated functions, once they are used in the code.
This makes it very visible if new partial symbols are added, so
that they can be fixed or disabled subsequently.
refs #18476
VLC should be compiled with the latest SDK version to benefit from
new features. The currently latest SDK (10.12) already marks
availability for lots of libc functions. Unfortunately, as of now
the autotools configure checks do not support these annotations.
Therefore, lets disable known symbols which are not present on our
minimal macOS version, which is 10.7, currently.
refs #18476
This is a class for macOS versions lower than 10.10, where some image
buttons on dark backgrounds (or other colored backgrounds) would draw in
a dark color (usually black, for template images).
With this class, a tint color can be set for these buttons, it defaults
to white. This class is only intended to be used with template images.
It does not draw correctly neither on 10.7 nor on 10.10 and I found
no way to fix it, so far, therefore remove it for now, as it is just a
minor detail. It looks good with the system drawing on 10.10+ and looks
ok on 10.7.
This adds a swaputOverride function, which swaps out the implementation
of a overridden method of a Class with its base implementation from the
superclass.
The implementation of these buttons is nearly the same, so it makes no
sense to have separate classes for them.
Only reason to do so, was the inability to get the button type, which
for now is worked-around by using an IBInspectable BOOL that has to be
set, if the button is a toggle button.
Not the nicest solution, but there is no better way, as far as I know.
This is a vague assumption as the build folder could be called anything
actually or not be present at all, but for most users following the wiki
guide this will be true.
If it isn't, it will result in missing header errors, the same that
were present before this change.
This ensures Xcode is able to find vlc headers, and stops complaining
about those, as this leads to somewhat broken highlighting/completion
for some files.
Some files were missing and .h files were in this section but shouldn't,
same for XIB files. So those are removed by this commit and the missing
files were added.
Titlebar is now included into the view hierarchy by default and
simply removed for white appearance.
For fullscreen, title bar and controls bar are hidden only. Video
view in fullscreen mode has constraints with higher priority, to
reach the content view frame. In windowed mode, constraints to
title bar and controls bar have precedence.