Age | Commit message (Collapse) | Author |
|
Slightly reduce transparency
|
|
We don't rely on viewer_manifest.py's extract_names any more to
generate the contributors list, it's implemented in CMake now, using
sed, paste, and sort.
|
|
|
|
This would be done in viewer_manifest.py on SLv. This needed to be
reimplemented, and now it is, just using CMake.
|
|
`cpack -G Bundle` just wouldn't play along well with code-signing
and also broke Dullahan/CEF.
The creation of the link to Applications in the AppleScript is now
needed since we don't rely on CPack to make it for us any more.
|
|
since the variable PACKAGE is not available to check any more by
that stage.
|
|
Just set CMAKE_INSTALL_PREFIX to the newview/Megapahit.app/Contents/Resources
inside your build folder, and set PACKAGE to OFF.
|
|
|
|
Root project finally renamed to Megapahit, which has a nice effect of
CPack: - Run preinstall target for: Megapahit
CPack: - Install project: Megapahit []
but it's really because CPack Bundle file couldn't be renamed via
CPACK_PACKAGE_NAME like on DEB, RPM, and FREEBSD.
CPack determines its own destination root folder, which is Resources
(I didn't find a way to set it to Contents).
fixup_bundle is now run on the .app deep inside CPack staging folders
so that the dependency copies will be included in the DMG.
|
|
Modify default layout to hopefully be more tidy and useful
|
|
Remove unneeded backgrounds
|
|
remove more unneeded unneeded background panels
|
|
|
|
which would be to determine which media plugins should be added as
dependencies.
Plus minimise diff from SLv code.
|
|
|
|
otherwise those executables couldn't be read and therefore couldn't
be copied for bundle preparation, for example.
|
|
They're custom anyway so very unlikely to be reused in other projects.
TinyGLTF.cmake changes here just to minimise diff, the include
directory setting does not have any effect (just like in TinyEXR.cmake).
|
|
Somehow it wouldn't work.
|
|
cause SLPlugin's Frameworks wouldn't exist yet before installation.
|
|
Now you can pass -DCMAKE_OSX_ARCHITECTURES:STRING=`uname -m` or
-DCMAKE_OSX_ARCHITECTURES:STRING="arm64;x86_64" and it will build
as intended.
|
|
otherwise fixup_bundle would try to fix DullahanHelper executables
when otool -L somehow can't find files that contain spaces in their
names. By postponing the chmod until after fixup_bundle is called,
fixup_bundle will ignore the DullahanHelper apps since they contain
no executables yet by that time.
Apart from that, trying to link to CEF would fail before installation
cause SLPlugin's Frameworks directory wouldn't exist yet.
|
|
but set CMAKE_INSTALL_PREFIX to newview/Megapahit.app/Contents.
|
|
Using file(CHMOD ... PERMISSIONS .._EXECUTE) somehow didn't work,
so I had to set it to reinstall the Dullahan executables, and they
are the only files that are required to be executable (CEF framework
and the .dylibs aren't).
|
|
Must have been residues before, they really were in llplugin/lib
when I was doing the media plugin before.
|
|
Adding custom command to fix SLPlugin's references wouldn't have
any effect because fixup_bundle will overwrite them in install stage.
|
|
Explanation just like previous commit.
There's a reference fix that doesn't seem to be valid any more.
First of all, the path leading to CEF framework would be wrong,
and secondly, the plugin doesn't seem to link to CEF.
|
|
Somehow fixup_bundle misses fixing the plugins.
These fixes are in effect when MacPorts is used, though it wouldn't
hurt if you're using HomeBrew, it's just you'd need to add the
references to the HomeBrew libraries just like the MacPorts ones.
|
|
This commit fixes a gSavedSettings variable call
|
|
missing cmakelists.txt from previous commit
|
|
there was missing include in llwindowsdl.cpp
|
|
This commit fixes the fps limiter for intel and amd cpus
|
|
This commit fixes an issue with the contextual menu in HiDPI mode,
as well as the positioning of object hover informations.
|
|
This commit adds the tuning floater accessible via the fps button,
and improvements to the buffer mapping optimisation modes.
|
|
Even when maint-b is merged to main, webrtc-voice will very likely
still have to wait until it's merged with main to get maint-b's
changes. I'll worry about the conflicts later, just so any branch
would build on SDL2 or not without any patches.
|
|
I couldn't get CEF & Dullahan copied using this function.
fixup_bundle on SLPlugin.app was considered invalid, however, SLPlugin
itself gets install_name_tool changed but pointing to a non-existent
Frameworks directory that would be in the SLPlugin.app bundle.
We will have to create and fill such directory with links to the upper
(the root viewer app bundle Frameworks') library copies ourselves.
We wouldn't want fixup_bundle to successfully fill SLPlugin's Frameworks
with copies instead of links anyway.
See:
`man cmake-modules`
https://cmake.org/cmake/help/book/mastering-cmake/chapter/Install.html
|
|
Turns out the custom command was only for bundling it, not
necessarily installing it.
|
|
`make install` instead should do the job.
Some generations haven't been reimplemented, including
build_data.json, contributors.txt, and settings_install.xml.
|
|
|
|
|
|
plus some reindentations.
|
|
Except for SLPlugin since there's already a custom command for it.
|
|
that GCC did't like. Adding a compile flag to the file didn't help
somehow. So we're just initialising it with float 0.0.
|
|
More transparency
|
|
Less ugly alternative
|
|
add pirate theme!
|
|
Make outline slightly less transparent
|
|
|
|
The vertex buffer will use the original mapping for non Apple GPUs and the new optimized mapping for Apple GPUs.
It needs the Apple gpu detection in the gl manager
|
|
This improves the realiability of the fps limiter
|
|
This commit adds a mIsApple member to the gl manager and refines the buffers optimisations for Apple GPU in llvertexbuffer.cpp
|