summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewerlinux.cpp
AgeCommit message (Collapse)Author
27 hoursMerge remote-tracking branch 'secondlife/release/26.4' into 26.4Erik Kundiman
2026-08-11Merge remote-tracking branch 'origin/develop-linux' into geenz/linux-to-developJonathan "Geenz" Goodman
2026-06-04#5856 An option to prevent hibernationAndrey Kleshchev
2026-06-01Revert "Preload CEF automatically on Linux aarch64""Erik Kundiman
This reverts commit 16d3d725998f1189083c429a1cbb2cc3fb15b7da.
2025-11-16Get streaming to work again on FreeBSDErik Kundiman
There's libpthread.so and no libpthread.so.0 on FBSD and it's the other way around on GNU/Linux.
2025-10-27Fix numerous compiler warnings from GCC under Ubuntu 22.04Rye
Signed-off-by: Rye <rye@alchemyviewer.org>
2025-10-27Introduce SDL3 based windowing backend support and dir pickerRye
Signed-off-by: Rye <rye@alchemyviewer.org>
2025-10-27CMake changes for linux64 support including code from archive/developRye
Restore changes for GLIB based dbus support from archive/develop Signed-off-by: Rye <rye@alchemyviewer.org>
2025-10-01Merge tag 'Second_Life_Release#a6d4c1d3-2025.07' into 2025.07Erik Kundiman
2025-08-30Enable NVIDIA GL threaded optimisations by defaultErik Kundiman
https://www.phoronix.com/review/nvidia_threaded_opts If a user needs it to be off, then set __GL_THREADED_OPTIMIZATIONS to 0 upon launching, the built-in enabling is set not to overwrite.
2025-07-02Preload CEF automatically on Linux aarch64"Erik Kundiman
This reverts commit 6d9bda960f179aa8ea3765c10aa3140d22c74086, and add the aarch64 condition for preloading. We can't use gDirUtilp->getLLPluginDir() yet in llappviewerlinux because it's not instantiated yet in that phase.
2025-07-01Fix media_plugin_cef failing on Linux aarch64Erik Kundiman
WARNING #Plugin# llplugin/llplugininstance.cpp(106) LLPluginInstance::load: apr_dso_load of /usr/lib64/libmedia_plugin_cef.so failed with error 20019, additional info string: /usr/lib64/libcef.so: cannot allocate memory in static TLS block https://github.com/chromiumembedded/cef/issues/3616 https://github.com/chromiumembedded/cef/issues/3803 https://magpcss.org/ceforum/viewtopic.php?t=19622 I tried adding mProcessParams.envs.add("LD_PRELOAD=/usr/lib64/libcef.so"); to indra/llplugin/llpluginprocessparent.cpp, it didn't get rid of the error, but running `LD_PRELOAD=/usr/lib64/libcef.so megapahit` OR `LD_PRELOAD=/usr/lib64/libmedia_plugin_cef.so megapahit` does. It still doesn't load web pages, however, even though there are process plugin activities.
2025-02-11Fix Tracy memory profiling overloads for aligned allocationsRye
Fix disabling renderdoc support Improve ll_aligned_alloc functions on darwin for 32 and 64byte aligned by utilizing posix_memalign
2024-07-01sockaddr_in is defined in netinet/in.hErik Kundiman
2024-06-20Merge remote-tracking branch 'secondlife/release/maint-b' into maint-bErik Kundiman
2024-05-16Merge tag '7.1.7-release'Erik Kundiman
source for viewer 7.1.7.8974243247
2024-05-15Merge branch 'main' into marchcat/x-b-mergeAndrey Lihatskiy
# Conflicts: # autobuild.xml # indra/cmake/ConfigurePkgConfig.cmake # indra/cmake/ICU4C.cmake # indra/media_plugins/gstreamer010/llmediaimplgstreamer_syms.cpp # indra/media_plugins/gstreamer010/llmediaimplgstreamer_syms.h # indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h # indra/media_plugins/gstreamer010/llmediaimplgstreamervidplug.cpp # indra/media_plugins/gstreamer010/llmediaimplgstreamervidplug.h # indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp # indra/newview/llappviewerlinux_api.h # indra/newview/llappviewerlinux_api_dbus.cpp # indra/newview/llappviewerlinux_api_dbus.h # indra/newview/llfloateremojipicker.cpp # indra/newview/lloutfitslist.cpp
2024-04-29#824 Process source files in bulk: replace tabs with spaces, convert CRLF to ↵Andrey Lihatskiy
LF, and trim trailing whitespaces as needed
2024-04-05Linux viewer (ReleaseOS) resurrection (#1099)Nicky Dasmijn
Co-authored-by: AiraYumi <aira.youme@airanyumi.net>
2023-08-21Any platform can, & should, use appviewerlinux tooErik Kundiman
It's the one that plays along with SDL.
2023-08-21Revert "FreeBSD can use llappviewerlinux too"Erik Kundiman
This reverts commit 8356386f6674cf7f1e25bcd49f3266868cd5dc7d.
2023-07-19FreeBSD can use llappviewerlinux tooErik Kundiman
2023-07-19Disable g_thread_init when using system libsErik Kundiman
On GCC, compiling against a recent GTK2 version would stop on deprecated pre-processors.
2023-05-23SL-19744: Remove LLErrorThread and LLAppViewer::handleViewerCrash()Nat Goodspeed
2020-10-08DRTVWR-510 remove all LL_SOLARIS conditionalsDave Houlton
2016-06-30DRTVWR-418: Unify control flow through LLAppViewer across platforms.Nat Goodspeed
The LLApp API used to consist of init(), mainLoop(), cleanup() methods. This makes sense -- but on Mac that structure was being subverted. The method called mainLoop() was in fact being called once per frame. There was initialization code in the method, which (on Mac) needed to be skipped with an already-initialized bool. There was a 'while' loop which (on Mac) needed to be turned into an 'if' instead so the method would return after every frame. Rename LLApp::mainLoop() to frame(). Propagate through subclasses LLAppViewer and LLCrashLogger. Document the fact that frame() returns true to mean "done." (This was always the case, but had to be inferred from the code.) Rename the Mac Objective-C function mainLoop to oneFrame. Rename the C++ free function it calls from runMainLoop() to pumpMainLoop(). Add comments to llappdelegate-objc.mm explaining (inferred) control flow. Change the Linux viewer main() and the Windows viewer WINMAIN() from a single LLAppViewer::mainLoop() call to repeatedly call frame() until it returns true. Move initialization code from the top of LLAppViewer::frame() to the init() method, where it more properly belongs. Remove corresponding mMainLoopInitialized flag (and all references) from LLAppViewer. Remove 'while (! LLApp::isExiting())' (or on Mac, 'if (! LLApp::isExiting())') from LLAppViewer::frame() -- thus unindenting the whole body of the 'while' and causing many lines of apparent change. (Apologies to reviewers.) There are four LLApp states: APP_STATUS_RUNNING, APP_STATUS_QUITTING, APP_STATUS_STOPPED and APP_STATUS_ERROR. Change LLAppViewer::frame() return value from (isExiting()) (QUITTING or ERROR) to (! isRunning()). I do not know under what circumstances the state might transition to STOPPED during a frame() call, but I'm quite sure that if it does, we don't want to call frame() again. We only want a subsequent call if the state is RUNNING. Also rename mainLoop() method in LLCrashLogger subclasses LLCrashLoggerWindows, LLCrashLoggerMac, LLCrashLoggerLinux. Of course it's completely up to the frame() method whether to yield control; none of those in fact do. Honor protocol by returning true (frame() is done), even though each one's main() caller ignores the return value. In fact LLCrashLoggerWindows::mainLoop() wasn't using the return protocol correctly anyway, returning wParam or 0 or 1 -- possibly because the return protocol was never explicitly documented. It should always return true: "I'm done, don't call me again."
2015-11-10remove execute permission from many files that should not have itOz Linden
2014-04-07merge with releaseRichard Linden
2013-12-03Creating a cleaner branchAura Linden
2013-08-14BUILDFIX: converted platform-specific files over to new LL_INFOS, etc macrosRichard Linden
2013-06-04fix modified virtual function names in platform-specific modulesOz Linden
2013-04-19merge up to latest viewer-development for merge to 3.5.2Oz Linden
2013-04-02change initLogging virtual functions to void (returns were ignored anyway)Oz Linden
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2012-08-01Merge back viewer-lion, which has viewer-development and down-stream fixessimon@Simon-PC.lindenlab.com
2012-07-30MAINT-570 Fix for linux build.Dave Parks
2012-06-12PATH-735: Limit and clean up grid selectionOz Linden
2011-07-15STORM-1482 Always run the crash loggers, they will check what to do and how ↵Aaron Stone
to clean up.
2011-07-12STORM-1482 The Viewer shouldn't overwrite the crash behavior settings, some ↵Aaron Stone
cleanups to the crash reporters, and the ability to use --set GroupName.SettingName to set parameters outside of the (default) Global settings group.
2011-05-11STORM-477 Restored the backed out changeset: b62b260aa04dSeth ProductEngine
2011-03-28fix for mac/linux?Richard Linden
2011-03-28fix for linux and macRichard Linden
2011-01-13STORM-477 : backout changeset 6f5cb303d3e2Merov Linden
2011-01-11STORM-477 FIXED Re-implemented LLDir::getNextFileInDir() as an iterator object.Seth ProductEngine
- Replaced all existing usages of LLDir::getNextFileInDir() with the new directory iterator object. - Removed platform specific LLDir::getNextFileInDir() implementation.
2010-10-28STORM-480 remove unused "wrap" parameter from LLDir::getNetFileInDirOz Linden
--HG-- branch : storm-102
2010-08-13Change license from GPL to LGPL (version 2.1)Oz Linden
2010-05-27Don't try to add old stack trace files to the crash report.Lynx Linden
Such as stack_trace.log on Linux or SecondLifeException.log on Win32.
2010-05-27Removed the SyncErrorHandler from llapp and llappviewer*.Lynx Linden
This was only used for the Linux client to dump a stack trace to stack_trace.log, which is no longer needed now that we are using Google Breakpad. I also removed all of the stack printing code from llappviewerlinux.cpp.
2010-04-07Re-insert backed out SLE checkin so we can fix itRoxie Linden
2010-04-07Backed out changeset 63b699f90efdTofu Linden