summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
2024-07-07Not override CMAKE_OSX_ARCHITECTURES to one archErik Kundiman
Now you can pass -DCMAKE_OSX_ARCHITECTURES:STRING=`uname -m` or -DCMAKE_OSX_ARCHITECTURES:STRING="arm64;x86_64" and it will build as intended.
2024-07-07Link CEF & chmod a+x Dullahan execs after installErik Kundiman
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.
2024-07-07macOS install DESTINATIONs are relative paths nowErik Kundiman
but set CMAKE_INSTALL_PREFIX to newview/Megapahit.app/Contents.
2024-07-07`make install` on macOS installs CEF & DullahanErik Kundiman
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).
2024-07-07Fix paths to LibVLC files, they're in FrameworksErik Kundiman
Must have been residues before, they really were in llplugin/lib when I was doing the media plugin before.
2024-07-06Fill SLPlugin.app Frameworks directory with linksErik Kundiman
Adding custom command to fix SLPlugin's references wouldn't have any effect because fixup_bundle will overwrite them in install stage.
2024-07-06Fix paths to CEF media plugin dependenciesErik Kundiman
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.
2024-07-06Fix paths to LibVLC media plugin dependenciesErik Kundiman
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.
2024-07-06buffer optimisation llwindowsdl.cpp fixmobserveur
This commit fixes a gSavedSettings variable call
2024-07-06tuning floater : missing cmakelists.txtmobserveur
missing cmakelists.txt from previous commit
2024-07-06missing header fix in llwindowsdl.cppmobserveur
there was missing include in llwindowsdl.cpp
2024-07-05Fix for the fps limiter on intel and amd cpusmobserveur
This commit fixes the fps limiter for intel and amd cpus
2024-07-05fix for the contextual menu issue in HiDPI modemobserveur
This commit fixes an issue with the contextual menu in HiDPI mode, as well as the positioning of object hover informations.
2024-07-05Tuning floater and buffer mapping improvementsmobserveur
This commit adds the tuning floater accessible via the fps button, and improvements to the buffer mapping optimisation modes.
2024-07-05Temporary Cocoa U16 vs. SDL2 U32 key typesErik Kundiman
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.
2024-07-05`make install` on macOS copies dep libs to bundleErik Kundiman
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
2024-07-05`make install` on macOS installs SLPlugin appErik Kundiman
Turns out the custom command was only for bundling it, not necessarily installing it.
2024-07-05macOS viewer_manifest.py not run if INSTALL is ONErik Kundiman
`make install` instead should do the job. Some generations haven't been reimplemented, including build_data.json, contributors.txt, and settings_install.xml.
2024-07-05libfmod.so files installed only if USE_FMODSTUDIOErik Kundiman
2024-07-05Reindentations & tabs to spaces to conversionsErik Kundiman
2024-07-05CPack packages licenses-linux.txt as licences.txtErik Kundiman
plus some reindentations.
2024-07-05`make install` on macOS copies resources to bundleErik Kundiman
Except for SLPlugin since there's already a custom command for it.
2024-06-30Fast timer view had a maybe uninitialised variableErik Kundiman
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.
2024-06-29Linden_Dollar_Background.pngfowlerdm
More transparency
2024-06-30Linden_Dollar_Background.png tweakfowlerdm
Less ugly alternative
2024-06-30first_login_image.jpg tweakfowlerdm
add pirate theme!
2024-06-30Window_Background/Foreground adjustmentfowlerdm
Make outline slightly less transparent
2024-06-30Merge remote-tracking branch 'mobserveur/main'Erik Kundiman
2024-06-29vertex buffer optimisations for Apple GPUmobserveur
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
2024-06-29Reworked fps limiter codemobserveur
This improves the realiability of the fps limiter
2024-06-29Apple GPU Detection and Apple GPU performance optimisationsmobserveur
This commit adds a mIsApple member to the gl manager and refines the buffers optimisations for Apple GPU in llvertexbuffer.cpp
2024-06-29Get Dullahan working again on Debian/UbuntuErik Kundiman
After the Maintenance B merge, ironically it was Fedora's web functionality that worked out of the box (after only `patchelf --remove-rpath`-ing the dullahan_host binary from LL's v1.14.0-r2 release, since rpmbuild wouldn't allow non-existent paths). On Debian/Ubuntu somehow it wasn't working any more. It would complain about "No usable sandbox!" in (the new, replacing cef_log.txt) cef.log. The fix was done just by removing the chrome-sandbox' setuid permission (that's been turned on all this time following the common practice for CEF-based apps). On Fedora, it still works without setuid off. It may not have been needed after all, and it's safer anyway that we don't need to elevate the permission to use the effective UID of root to run the sandbox.
2024-06-28Faster Zoom in avatarsmobserveur
Adjusted value for MAX_ANIM_SECONDS in llagentcamera.cpp
2024-06-28fps limiter setting in app_settings.xmlmobserveur
MaxFPS settings type and description changed
2024-06-28Revert the key type from U32 to U16Erik Kundiman
It was changed in the first place to accommodate SDL2's bigger size need, since SDL2 was still used by all ports. This would conflict when maint-b gets merge later, so just revert it beforehand. With this commit, it would fail to compile for Linux & FreeBSD on main branch temporarily.
2024-06-28Apple GPU Optimisationsmobserveur
This commit massively improves 2D UI, 3D UI and 3D world rendering performance and smoothness.
2024-06-27Disable SLVersionChecker (for all platforms)Erik Kundiman
We haven't implemented our version checking anyway.
2024-06-27FontConfig's not used any more on macOSErik Kundiman
Since we stopped using SDL2 on it. It was added here before, I remember it was so it would build on macOS too.
2024-06-27Revert to using Cocoa instead of SDL2 for macOSErik Kundiman
Our SDL2-based code is kept Darwin-ready. This move was triggered by the merge with SLv's release/maint-b branch causing the viewer to show only a black screen, even though everything else seemed to be working (logging in, streaming, quitting the app). This decision also has caused numerous MPv specific window-related macOS bugs to be fixed. I wanted to commit this on the main branch, but somehow it failed to build. This move was bound to happen at the arrival of Maintenance B after all.
2024-06-26Credits for Kokua teamErik Kundiman
2024-06-26Linden_Dollar_Background.png adjustmentfowlerdm
Try adding some transparency
2024-06-26Rename "Second Life" titles when using CocoaErik Kundiman
For when not using SDL2 for macOS too. It took me a while to find where to rename these (which might be easier to find if I was on an Xcode project maybe? Not sure). I couldn't open the nib file using Xcode (opening the xib would even require me to have its format updated first). So what I did was, `plutil -convert xml1 -o SecondLife.xib SecondLife.nib` (The output could be some other name, to be honest.) Rename all "Second Life" to "Megapahit" in the generated xib, and then convert it back to binary. `plutil -convert binary1 -o SecondLife.nib SecondLife.xib` I just had to output the generated ASCII one to an existing file, so I just reverted it, no need to track any changes there. `git restore SecondLife.xib`
2024-06-26floater_about.xml: special thanksfowlerdm
fix formatting
2024-06-25Unhide one team memberErik Kundiman
2024-06-25Add more people to the teamErik Kundiman
2024-06-25Squeeze in FMOD attributionErik Kundiman
2024-06-25Replace tabs in ViewerInstall.cmake with spacesErik Kundiman
2024-06-22FMOD attributionErik Kundiman
https://www.fmod.com/attribution The credit line must include the words "FMOD Studio" and "Firelight Technologies Pty Ltd".
2024-06-19llprogressview.cpp: Correct formattingfowlerdm
Previous formatting resulted in compilation failure
2024-06-19llprogressview: comment out unused variablefowlerdm
//const S32 default_height = 28;