summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-06-04floater_about.xml -> List credits in 2 columnssecretfoxtail
Use monospace font to manually format credits list in 2 columns, also fix annoying indent in licences tab
2025-06-04Re-enable GL extension loading function pointersErik Kundiman
on Windows, which might have been because I was still using MinGW back then.
2025-06-04No link to vcpkg absent Boost Regex library fileErik Kundiman
2025-06-04Fix vcpkg Boost JSON linking errorsErik Kundiman
The error was "definition of dllimport static data member not allowed", and not "definition of dllimport function not allowed" as mentioned in commit 2bf9d234aac30ed4a85282730da0ffc83acf9adf description. Basically there were about 5 offending files, and all had BOOST_JSON_REQUIRE_CONST_INIT in them. Not including json/src.hpp (that includes them among others), fixes those errors, but then there are definitions in them that are actually used by llsdjson. After doing so many searches, I came across this: https://stackoverflow.com/questions/3491990/c-definition-of-dllimport-static-data-member and just from the first paragraph in the accepted answer, I realised llsdjson can still have those definitions, just not from the offending headers, but by simply linking to Boost JSON compiled library instead.
2025-06-04Set ColladaDOM to refer to vcpkg BoostErik Kundiman
Turns out I couldn't repeat self-building ColladaDOM using SLv prebuilt Boost successfully, because of the zlib, minizip, libxml2 header directories search confusion, no matter how I tried tinkering with LL's ColladaDOM fork CXX_FLAGS and/or EXTRA_COMPILE_FLAGS settings. With vcpkg Boost, self-building ColladaDOM in the viewer CMake configuration stage goes smoothly (compiling ColladaDOM on Windows could take a while, though.. at least on my system).
2025-06-04Revert "Use LL's prebuilt Windows Boost for now"Erik Kundiman
This reverts commit 2bf9d234aac30ed4a85282730da0ffc83acf9adf.
2025-06-04Self-build ColladaDOM on WindowsErik Kundiman
Plus simplifying the SHARED to STATIC stream editing by not using the global 'g' key, cause it's only 1 instance to edit. For now, BOOST_CFLAGS & BOOST_LIBS are set to refer to SLv prebuilt binary installation, along with its library suffix. try_compile doesn't seem to "compile" it, but it does configure it, so we just execute MSBuild.exe afterwards. Last time I tried, it didn't finish building or didn't build successfully, though. So what I did is manually run MSBuild.exe on ColladaDOM's solution file, and the next CMake configuration picked up the generated library, renamed to be the same as expected when using SLv prebuilt one, so that we don't have to adjust more lines for this, it has to be copied/moved anyway, might as well rename it the same. About the WIN32 definition stream editing, somehow WIN32 is not defined in daeUtils.cpp, that it would fail at deciding which commands to compile. I did try adding /DWIN32 to CXX_FLAGS but it ruined it for the Minizip header directory search. So the hack is to just forcefully define WIN32 in that file.
2025-06-04Exclude Windows from compiling llappviewerlinuxErik Kundiman
That's why it was trying to find llwindowsdl.h, through llappviewerlinux.cpp. I had to scroll up a bit to find out that it was trying to compile llappviewerlinux.cpp. The last error message only complained about missing SDL/SDL.h (referred from llwindowsdl.h).
2025-06-03Exclude Windows from referring to LibVLC headersErik Kundiman
for now, until we are ready to enable media plugins on Windows.
2025-06-03Simple usleep implementation for WindowsErik Kundiman
Just copying from this site and adjusting it for now: https://filipivianna.blogspot.com/2010/07/usleep-on-windows-win32.html
2025-06-03Exclude Windows from using -Wno-unused-but-set-variableErik Kundiman
compile flag.
2025-06-03Exclude Windows from compiling SDL related filesErik Kundiman
2025-06-03Fix ftsystem path for including vcpkg's FT oneErik Kundiman
2025-06-03Fix vcpkg APR library names to link withErik Kundiman
2025-06-03Make vcpkg APR able to find sockaddr_in6 definitionErik Kundiman
and get rid of the error: 'apr_sockaddr_t::sin6' uses undefined struct 'sockaddr_in6'
2025-06-03Use LL's prebuilt Windows Boost for nowErik Kundiman
I got "definition of dllimport function not allowed" errors when using vcpkg's Boost. Someone else got this problem too: https://github.com/boostorg/serialization/issues/278 Hopefully later we can get back to using vcpkg's Boost.
2025-06-03Instruction for disabling VS fatal warningsErik Kundiman
otherwise we'd have to deal with every warning. Instruction for building from the command line too. Add MSBuild binary directory to PATH, and MSBuild needs its .exe extension typed too for it to be found, unlike other commands such as cmake, vcpkg, pkg-config, and so on. By default, MSBuild builds using the RelWithDebInfo configuration, hence the -p:Configuration parameter to have Release instead. I guess that's why CMake would consider CMAKE_BUILD_TYPE as not being used by the project.
2025-06-03Re-include GLEXT.cmake, but for Windows onlyErik Kundiman
There doesn't seem to be glext.h on Windows, so we'll just use the package from LL for now.
2025-06-03Revert "Promote seh_catcher() et al. to llexception.{h,cpp} for general use."Erik Kundiman
This reverts commit 71d777ea126e7f02cb46c11bdb606094ca06f75c.
2025-06-03Revert "Fix up llexception.h's cross-platform SEH wrapper."Erik Kundiman
This reverts commit 5ed8df22cd59680a685c4ada7daa5555bf59d4fe.
2025-06-02Revert "Make using the system browser for links works"Erik Kundiman
This reverts commit 0b62583eb7dd6e193d5daa2e24646bbb9f3c74e5. We have SDL for opening URLs now.
2025-06-02Revert "Stop trying to force OpenGL version on non-macOS"Erik Kundiman
This reverts commit fcdef29504a32ad85ce32c3d95ea8648aa169004. The moment 1 or 2 lines got removed, we lost core profile again.
2025-06-02Stop trying to force OpenGL version on non-macOSErik Kundiman
Turns out my old GPU is detected as complying only to 4.5 when on Linux. The fact that it's been detected as complying to 4.6 on FreeBSD this whole time, is quite ironic. I've only tested that the viewer runs with 4.6 without this on FreeBSD (the implication works), will test Linux distros next.
2025-06-01Update openSUSE Tumbleweed readme & cmakelistssecretfoxtail
Update libboost package names.
2025-06-01Add install eselect-repository to Gentoo stepsErik Kundiman
and remove the necessity of using sudo to su on FreeBSD, just like on Gentoo.
2025-05-31DisableLookAtAnimation persistencesecretfoxtail
Make DisableLookAtAnimation setting persistent across restarts.
2025-05-31Squeeze 1 more person into the teamErik Kundiman
2025-05-29Merge remote-tracking branch 'secondlife/main'Erik Kundiman
2025-05-29first_login_image placeholdersecretfoxtail
Use original, if somewhat generic landscape screenshot inplace of edited stock screenshot.
2025-05-29RenderMinFreeMainMemoryThreshold decrease & persistencesecretfoxtail
Decrease to 256 to reduce aggressive culling & make user changes to this value persistent across restarts.
2025-05-29MP_Logo.png adjustmentsecretfoxtail
Better match style of default SL_Logo.png
2025-05-29Merge branch '2025.04'Erik Kundiman
2025-05-29Fix GL init on Linux/SDL on various combinations of GPU driverRye Cogtail
2025-05-29Clean up more dead X11 code from SDL impl and modernize mouse capture with ↵Rye Cogtail
SDL_CaptureMouse
2025-05-28Merge pull request #3861 from secondlife/release/2025.04Jonathan "Geenz" Goodman
Release/2025.04
2025-05-28Clean up old linux workaroundsRye Cogtail
2025-05-28Clean up SDL window creation and fix various bugsRye Cogtail
Add support for Core and Debug GL context creation Fix window position support Fix vsync handling Add minimum GL context support
2025-05-28Fix shutdown crash from failing to clean up SDL window properlyRye Cogtail
2025-05-28Clean up SDL window event handling and implement missing functionalityRye Cogtail
Horizontal Scrollwheels Proper extra mouse button handling SDL native double click handling
2025-05-28Implement various missing functions and callbacks in SDL window backendRye Cogtail
2025-05-28Update SDL clipboard, icon flash, and url opening handlers to use native SDL ↵Rye Cogtail
functions
2025-05-28Fix name of vsync param in LLWindowSDL (#2502)Ansariel Hiller
2025-05-28Fix trailing whitespaceAndrey Lihatskiy
2025-05-28Post merge cleanup of Linux codeNicky
2025-05-27Fix mistake, don't self-build ColladaDOM on Windows for nowErik Kundiman
2025-05-27Icons adjustmentsecretfoxtail
Restore default SL_logo.png and hand.png, change MP_Logo.png to downscale of app icon.
2025-05-27res-sdl cursor tweakssecretfoxtail
misc adjustments to some of the red-sdl cursors
2025-05-27Exempt logging that prints build-time path on FBSDErik Kundiman
2025-05-27Pass configuration phase with vcpkg replacing MSYS2Erik Kundiman
I happen to be using just Git Bash for convenience for running the commands on the Windows build instructions, hence the build folder pattern to be ignored from the result of running `uname -s` there. The instructions omit the part where you install vcpkg and set the VCPKG_ROOT environment variable, cause it depends on where you install vcpkg to your liking, but the next commands will rely on that variable being set correctly. The CMake used here is MS VS 2022 Community Edition's one, since it will know where the C++ compiler is. $VCPKG_ROOT/downloads/tools/msys2/21caed2f81ec917b/mingw64/bin is where pkg-config.exe can be found. $VCPKG_ROOT/installed/`uname -m|sed 's/86_//'`-windows/tools/libxml2 is where xmllint.exe can be found (from libxml2[tools]). PKG_CONFIG_LIBDIR and PYTHON environment settings are pretty self-explanatory. The flags set on LL_BUILD are now for Visual C++ and not MinGW(64)'s GCC or Clang any more, and copied from most of the flags in the variables file from LL's build-variables repo. vcpkg's apr & apr-util packages don't seem to install their .pc files, hence the manual target_include/link_directories/libraries settings, relying on some automatically generated INTERNAL CMake variable called prefix_result. vcpkg's Boost needs the same treatment, plus some suffix. We still use LL's prebuilt libs for OpenSSL, libcurl and WebRTC. Actually too for ColladaDOM for now, but we prepare Windows ColladaDOM self-building for later. For GLM and Meshoptimizer too, it's just the checking that's skipped otherwise it would fail (but the vcpkg packages can be used). Visual C++ doesn't recognise the no-deprecated-declarations compile option. On Visual C++, the macro to denote x86-64 seems to be _M_X64 (if not added there, it would try to find sse2neon :)) We still aren't using Autobuild here for Windows either, hence the FALSE-d viewer_manifest.py based file bundling.
2025-05-27Add missing FBSD building steps & fix its depsErik Kundiman
Even though the windlight file names containing %20 & %21 isn't liked by either CPack or FBSD packaging problem will eventually have to be solved, the hack steps are small that they should just be documented, in case (more) others would like to build the FBSD package. Use custom PYTHON environment setting instead of relying on creating links named python and/or python 3 to the system Python executable. Reorder build requirements, add missing dependencies that can be set to automatically installed. The absences of some were leftovers from dependency on system ColladaDOM and GTK2 (or my failure to add some package names to the CPack dependencies, caused by the gtk2 vs. gtk20, apr vs. apr1, sdl2 vs. sdl20, etc. FBSD package/port naming confusion).