summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
AgeCommit message (Collapse)Author
2024-10-04Merge pull request #2771 from secondlife/v-2472cosmic-linden
secondlife/viewer#2472: Debug tools for labeling textures
2024-10-03secondlife/viewer#2472: Also don't persist local file enumeration beyond ↵Cosmic Linden
next session
2024-10-03remove crashy LLSD ctor used by GameControlleviathan
2024-10-03more correct application of GameControl prefsleviathan
2024-10-03more correct AgentUpdate transmission logicleviathan
2024-10-03put GameControl behind a feature flagleviathan
2024-10-03Add GameControl UI for per device settingsAlexander Gavriliuk
2024-10-03more GameControl prefs UIleviathan
2024-10-03avatar_motion-->GameControl translation and flycamLeviathan Linden
2024-10-03add GameControl feature and SDL2 dependencyLeviathan Linden
2024-10-01Fix display of CEF version in about floater on linuxRye Cogtail
2024-09-30Merge pull request #2723 from RyeMutt/uniform-cleanupRye Mutt
bindDeferredShader and dead uniform cleanup
2024-09-27Remove dead llatmosphere codeRye Cogtail
2024-09-27Remove dead LLPostProcess class and related codeRye Cogtail
2024-09-24Merge pull request #2534 from secondlife/release/luau-scriptingnat-goodspeed
Add Lua scripting to develop, behind feature flag
2024-09-24Reduce memory allocations pinging the mainloop timeoutAnsariel
2024-09-23Merge remote 'release/luau-scripting' into release/luau-scriptingNat Goodspeed
2024-09-23Merge remote branch 'develop' into release/luau-scripting for Maint BNat Goodspeed
2024-09-23Merge branch 'develop' into marchcat/b-developAndrey Lihatskiy
# Conflicts: # indra/newview/llfeaturemanager.cpp # indra/newview/llviewertexturelist.cpp # indra/newview/llvoicewebrtc.cpp
2024-09-23Merge remote branch 'develop'into release/luau-scriptingNat Goodspeed
2024-09-20Merge branch 'release/luau-scripting' into lua-script-argsNat Goodspeed
2024-09-20Add ability to pass command-line arguments to a Lua script.Nat Goodspeed
Introduce `ScriptCommand` class that parses a command line into a script name and optional args, using bash-like quoting and escaping. `ScriptCommand` searches for a file with that script name on a passed list of directories; the directories may be specified relative to a particular base directory. `ScriptCommand` supports the special case of a script name containing unescaped spaces. It guarantees that either the returned script file exists, or its `error()` string is non-empty. Replace `LLLeap::create()` logic, from which `ScriptCommand` was partly derived, with a `ScriptCommand` instance. Make `LLLUAmanager::runScriptFile()` use a `ScriptCommand` instance to parse the passed command line. Subsume `LLAppViewer::init()` script-path-searching logic for `--luafile` into `ScriptCommand`. In fact that lambda now simply calls `LLLUAmanager::runScriptFile()`. Make `lluau::dostring()` accept an optional vector of script argument strings. Following PUC-Rio Lua convention, pass these arguments into a Lua script as the predefined global `arg`, and also as the script's `...` argument. `LuaState::expr()` also accepts and passes through script argument strings. Change the log tag for the Lua script interruption message: if we want it, we can still enable it, but we don't necessarily want it along with all other "Lua" DEBUG messages. Remove `LuaState::script_finished_fn`, which isn't used any more. Also remove the corresponding `LLLUAmanager::script_finished_fn`. This allows us to simplify `~LuaState()` slightly, as well as the parameter signatures for `LLLUAmanager::runScriptFile()` and `runScriptLine()`.
2024-09-19Merge branch 'main' into marchcat/b-main-syncAndrey Lihatskiy
# Conflicts: # indra/newview/llviewertexturelist.cpp
2024-09-18Add LLFloaterAbout info (esp. GPU info) to Frame Profile stats dumpNat Goodspeed
With the About info added, `getProfileStatsContext()` need not redundantly add `"channel"`, `"version"` or `"region"`. Slightly improve the efficiency of `LlsdToJson()` and `LlsdFromJson()` by preallocating the known size of the source array or map. (Unfortunately the C++ `LLSD` class offers us no way to preallocate a map.) In `LLAppViewer::getViewerInfo()`, avoid immediate successive calls to `gAgent.getRegion()`. (cherry picked from commit f4b65638879c10c832b3bb8448f82001106ffd11)
2024-09-16Add LLFloaterAbout info (esp. GPU info) to Frame Profile stats dumpNat Goodspeed
With the About info added, `getProfileStatsContext()` need not redundantly add `"channel"`, `"version"` or `"region"`. Slightly improve the efficiency of `LlsdToJson()` and `LlsdFromJson()` by preallocating the known size of the source array or map. (Unfortunately the C++ `LLSD` class offers us no way to preallocate a map.) In `LLAppViewer::getViewerInfo()`, avoid immediate successive calls to `gAgent.getRegion()`.
2024-09-13send AgentUpdate ASAP when control bits changeleviathan
2024-09-05Merge branch 'develop' into release/luau-scriptingNat Goodspeed
2024-09-04Merge branch 'release/luau-scripting' into lua-mergeNat Goodspeed
2024-09-01Restore old error handling early out logic in LLAppViewer::init() (#2475)Brad Linden
fixes secondlife/viewer#2474
2024-08-29Add simple metrics of Lua usageMaxim Nikolenko
2024-08-28Merge branch 'main' into release/luau-scripting.Nat Goodspeed
2024-08-20Merge branch 'develop' into marchcat/b-developAndrey Lihatskiy
# Conflicts: # .github/workflows/build.yaml # autobuild.xml # indra/cmake/Copy3rdPartyLibs.cmake # indra/cmake/FreeType.cmake # indra/newview/llappviewer.cpp # indra/newview/skins/default/xui/en/floater_fast_timers.xml # indra/newview/viewer_manifest.py # indra/test/test.cpp
2024-08-20Remove orphaned LLAllocator (#2348)Ansariel Hiller
2024-08-14Merge pull request #2283 from RyeMutt/reduce-thread-contentionDave Parks
Reduce thread contention between main thread and asset fetch threads
2024-08-14Enable /permissive- on MSVC for better standards conformance (#2251)Rye Mutt
* Enable /permissive- on MSVC for better C++ conformance and fix related errors * Clean up left over warning suppressions from old library or msvc versions
2024-08-14Reduce texture fetch and main thread contention from LLViewerStatsRecorder ↵Rye Mutt
via simpleton.
2024-08-14Reduce UI draw stalls from LLSpellChecker singleton via simpletonRye Mutt
2024-08-07Move #include "coro_scheduler.h" from llstartup to llappviewer.Nat Goodspeed
2024-08-07Move llcoro::scheduler::use() call from llstartup to llappviewer.Nat Goodspeed
Thanks, Maxim.
2024-08-06Merge branch 'develop' into marchcat/b-syncAndrey Lihatskiy
# Conflicts: # .github/workflows/build.yaml # autobuild.xml # indra/cmake/Audio.cmake # indra/cmake/Copy3rdPartyLibs.cmake # indra/llxml/llxmltree.cpp # indra/newview/viewer_manifest.py
2024-08-06Convert LLUI and LLRender2D to LLSimpleton to reduce overhead during ui draw ↵Rye Mutt
(#2202)
2024-08-02Search --luafile script on LuaCommandPath.Nat Goodspeed
2024-07-29small adjustment to reduce confusionAndrey Kleshchev
2024-07-29viewer#2071 Soft quit on 'out of memory' for meshes #2Andrey Kleshchev
2024-07-24Merge branch 'develop' into marchcat/b-developAndrey Lihatskiy
2024-07-18#1500 Better out of disk space handlingAlexander Gavriliuk
2024-07-18Merge branch 'release/maint-b' into marchcat/b-developAndrey Lihatskiy
# Conflicts: # autobuild.xml # indra/cmake/JsonCpp.cmake # indra/llimage/llimageworker.cpp # indra/llmessage/CMakeLists.txt # indra/llprimitive/llmodel.cpp # indra/llprimitive/llmodelloader.cpp # indra/llprimitive/llmodelloader.h # indra/llwindow/llkeyboard.cpp # indra/llwindow/llkeyboard.h # indra/llwindow/llkeyboardheadless.cpp # indra/llwindow/llkeyboardheadless.h # indra/llwindow/llkeyboardsdl.cpp # indra/llwindow/llkeyboardsdl.h # indra/llwindow/llwindowsdl.cpp # indra/llwindow/llwindowsdl.h # indra/newview/app_settings/shaders/class1/deferred/screenSpaceReflUtil.glsl # indra/newview/llappviewerlinux_api_dbus.cpp # indra/newview/llconversationloglist.cpp # indra/newview/lldirpicker.cpp # indra/newview/llfilepicker.cpp # indra/newview/llfloateremojipicker.cpp # indra/newview/llfloaterpreferencesgraphicsadvanced.cpp # indra/newview/llmodelpreview.cpp # indra/newview/lloutfitslist.cpp # indra/newview/llpanelface.cpp # indra/newview/llviewerobject.h # indra/newview/llxmlrpctransaction.cpp # indra/newview/viewer_manifest.py
2024-07-09Update tracy profiler to 0.10 (#1946)Rye Mutt
2024-07-09#1943 make sys free in texture console llmemorysavailphysicalmeminkb tell ↵Dave Parks
the truth (#1966) * Also fix for crash when applying MoaP to PBR material
2024-07-09Merge pull request #1944 from Ansariel/develop_c4244Andrey Lihatskiy
Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h and llunittype.h for now