summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-08-17Neon is used as an alternative to SSE2Erik Kundiman
on Arm systems.
2023-08-17GLibc related code is used only on a GNU systemErik Kundiman
2023-08-17Re-enable x11_detect_VRAM_kb useErik Kundiman
It's an error according to GCC when defined but not used. It could, and probably should, still be used anyway, just not the SDL version.
2023-08-16Revive alt mouse click override with X11Erik Kundiman
On SDL2, there are no more x11.lock_func or x11.unlock_func, so the camming is too sensitive, and alt tab is overridden too when it shouldn't be. It's better than nothing at all for now. This feature should be re-perfected later.
2023-08-16Revert "Try not to rely (explicitly) on X11"Erik Kundiman
This reverts commit d883a11567252d9a0baff653bb16c38817a7c21c.
2023-08-16Revive mouse wheel on SDL2Erik Kundiman
2023-08-16Try not to rely (explicitly) on X11Erik Kundiman
2023-08-15SDL 1.2 to 2.0 migrationErik Kundiman
Both keycodes and scancodes are now 32 bits, so the key type is lengthened from U16 to U32.
2023-08-07Make GCC not treat uninit-ed FetchEntry as errorErik Kundiman
2023-08-01Attempt to fix showing example image on README.mdErik Kundiman
2023-08-01Instructions on how to build on some platformsErik Kundiman
plus the ignored build directory if following the instructions.
2023-08-01Fix commit 7aa029Erik Kundiman
2023-08-01Initialise vars so they wouldn't be errors on GCCErik Kundiman
2023-08-01Set so dangling pointer is no error when using GCCErik Kundiman
2023-08-01llaudio can be installed to the system tooErik Kundiman
2023-07-30libmedia_plugin_libvlc is installed to system tooErik Kundiman
libmedia_plugin_base is now explicitly set as static, since it could be set as shared when BUILD_SHARED_LIBS is on and it's just easier to have it compiled into with every media plugin cause it's small and would only be shared by 2 dynamic libraries anyway. Trying to put a dynamic version where the media plugin can find it so the reference is not broken, seems like a hassle.
2023-07-30SLPlugin is in libexec when installed to systemErik Kundiman
2023-07-30llplugin not refer to gSavedSettings when no CEFErik Kundiman
so SLPlugin wouldn't lose reference to it when the libraries are built as dynamic.
2023-07-29Add system XMLRPC-EPI include directory for DarwinErik Kundiman
2023-07-29Darwin escapes prebuilt dir inclusion on sys libsErik Kundiman
2023-07-29Fix CMAKE_PREFIX_PATH setting syntax for DarwinErik Kundiman
2023-07-29Customise APP_NAME values to Megapahit, & the capsErik Kundiman
2023-07-29Viewer & resources can be installed on the systemErik Kundiman
2023-07-29Viewer executable name depends on CMake argumentErik Kundiman
2023-07-29The Linden libraries can be installed nowErik Kundiman
Useful when installed as shared libraries, so other viewer executables can share these libraries.
2023-07-29Setting BUILD_SHARED_LIBS on is now possibleErik Kundiman
by removing cyclic dependencies, and allowing shlib undefined on SLPlugin alone.
2023-07-29stringop truncation warnings aren't errors on GCCErik Kundiman
2023-07-29So we don't get errors from uninitialised varsErik Kundiman
when compiling newview using GCC.
2023-07-29Start adding LibVLC support when using system libsErik Kundiman
Streaming is not working yet, though. Until it's made sure that the dynamic library and plugins needed are on the paths the executable is expecting them to be.
2023-07-29Revert "VLC & CEF aren't deps when no media plugins on mac"Erik Kundiman
This reverts commit f4c8949ac66d08263845f60a7cef2ecb9c77079b.
2023-07-29Fix newer libcurl from not being able to downloadErik Kundiman
System libcurl, which is typically newer, doesn't accept when SL server responses with an invalid Content-Encoding value (usually some value that's probably meant to be put as the Content-Type value), that we'd get "unrecognized or bad HTTP Content or Transfer-Encoding" https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Encoding A way to fix this would be to just not expect decompressed contents, by letting libcurl have the default value for CURLOPT_ACCEPT_ENCODING, which is NULL.
2023-07-22Fix FreeBSD login problem by checking endiannessErik Kundiman
Even though the account was logged in, it would get stuck at getting region handshake. The problem was because the viewer wasn't getting the acknowledgement to the successfully sent UseCircuitCode message. I compared the message data, and it differed (from Linux) on the byte order of the Code variable (the SessionID & agent ID were right). The bytes sent to the network weren't reversed (and I was on an Intel processor).
2023-07-19FreeBSD gets what Darwin & Linux do on dir pickersErik Kundiman
Though without this, the viewer had still successfully built, and I didn't experience any run-time problem yet. This commit is to anticipate any directory picker related problem later, cause it seems very likely that this is needed.
2023-07-19Add FreeBSDLocalesErik Kundiman
2023-07-19FreeBSD uses Linux's feature tableErik Kundiman
instead of letting it fallback to the default which would be Window's. When using the default, somehow the viewer launched with no colours even after resetting ~/.secondlife/user_settings/settings.xml.
2023-07-19No dangling gsl warning on newview with ClangErik Kundiman
2023-07-19vefifySSLCert truth is enough for setVerifySSLHostErik Kundiman
The function takes a boolean argument anyway. This is so we don't get GCC int in bool context warning which would be treated as an error.
2023-07-19Comment out unused variables whether set or notErik Kundiman
Otherwise GCC would treat them as errors, if not suppressed.
2023-07-19FreeBSD can use llappviewerlinux tooErik Kundiman
2023-07-19FreeBSD can use lldir_linux tooErik Kundiman
2023-07-19Stubs for missing implementations that use GTKErik Kundiman
in order to get rid of undefined references to `LLFilePicker::getOpenFileModeless(LLFilePicker::ELoadFilter, void (*)(bool, std::vector<std::string, std::allocator<std::string> >&, void*), void*)' `LLFilePicker::getMultipleOpenFilesModeless(LLFilePicker::ELoadFilter, void (*)(bool, std::vector<std::string, std::allocator<std::string> >&, void*), void*)' `LLFilePicker::getSaveFileModeless(LLFilePicker::ESaveFilter, std::string const&, void (*)(bool, std::string&, void*), void*)' The UI has been relying on modeless file operations. UI implementations for Linux would fall within the GTK scope, and there haven't been implementations for these three methods yet. Even know they're defined using member functions that do nothing, and return boolean false.
2023-07-19FreeBSD gets what Linux does in file pickerErik Kundiman
2023-07-19FreeBSD gets handled too in llappviewer.cppErik Kundiman
Mostly following Linux.
2023-07-19Obtain Vorbis & Ogg flags when using system libsErik Kundiman
On some platforms, pkg-config --libs vorbis might not necessarily imply -logg. vorbisenc & vorbisfile need their own checks anyway.
2023-07-19Boost since 1.76 already internally includes v5Erik Kundiman
Including v4 would cause conflicts.
2023-07-19Fix lod variable name (supposed to be which_lod?)Erik Kundiman
2023-07-19Disable packages info when using system librariesErik Kundiman
For now. Maybe.
2023-07-19Pass texture entry pointer instead to copyTextureErik Kundiman
Otherwise on GCC the -Waddress & -Wno-nonnull-compare warnings would be treated as errors. It's a different term on Clang, which is undefined bool conversion. On Clang it's just a warning, but on AppleClang it's treated as an error. Rather than suppressing these warnings, I think it's better to just adjust the interface of copyTexture, since it isn't called that many times.
2023-07-19Undefine Status on FreeBSD tooErik Kundiman
Otherwise we'd get this. error: declaration of anonymous struct must be a definition struct Status ^ indra/llcommon/llprocess.h:284:2: warning: declaration does not declare anything [-Wmissing-declarations]
2023-07-19Mac frameworks not linked for "the remaining" OSesErik Kundiman