summaryrefslogtreecommitdiff
path: root/indra
AgeCommit message (Collapse)Author
2024-10-22Make llcoro::scheduler log coros that run too long between yields.Nat Goodspeed
Introduce LLCoros::CoroData::mHistogram, a map of cutoff times (bucket breakpoints) with counts of occurrences. The idea is that mHistogram counts how many times the real time taken by a particular coroutine resumption falls into one of those buckets. Initialize the map with guessed buckets; these are set in llcoros.cpp so they can be changed without requiring extensive rebuilds. scheduler::pick_next() now records the timestamp and fiber context just before the fiber manager resumes the next coroutine. If the next pick_next() call reveals that the previous resumption took longer than the minimum bucket breakpoint, it increments the appropriate bucket counter and logs the instance. LLCoros::toplevel() reports nonzero mHistogram entries on coroutine termination.
2024-10-22LLCoprocedurePool::coprocedureInvokerCoro() sets status to task nameNat Goodspeed
LLCoprocedurePool coroutines are generic; its coroutine name alone doesn't tell us much. We can only know what one is doing by its current task name. Use LLCoros::setStatus() to associate the task name with the coroutine.
2024-10-22Eliminate double names for coros + "empty name is main" convention.Nat Goodspeed
Instead, introduce bool CoroData::isMain and test that. Use "main" for the name of the main coroutine. That eliminates the logname() method, also the llcoro::logname() free function. It also obviates the alternate CoroData constructor. Use boost::fibers::fiber::id as the LLInstanceTracker key for CoroData, instead of the coroutine name. Introduce get_CoroData(id), also getName(id). Extract static CoroData for the main coroutine to main_CoroData() so both get_CoroData() overloads can use it. Ditch unused get_CoroData(string) parameter: now get_CoroData(). Introduce LLCoros::mNameMap for lookup by name (e.g. killreq()). CoroData's constructor puts an entry into mNameMap; the destructor removes it. Since mNameMap is thread_local (unlike an LLInstanceTracker key), that theoretically permits duplicate coroutine names on different threads. Introduce mPrefixMap to help generate distinct coroutine names, instead of a single scalar. Introduce CoroData::getName(), and use it in both LLCoros::getName() overloads. CoroData::getName() appends mStatus if it's not empty. This is useful for disambiguating generic pool coroutines based on the current task.
2024-10-22Merge branch 'main' into 2024.09-ExtraFPSErik Kundiman
2024-10-22Regex for matching physics extension stub's httpErik Kundiman
2024-10-22Dynamic Arch PKGBUILD valuesErik Kundiman
Set PACKAGE to ON.
2024-10-22Revert "LL physics extensions stub"Erik Kundiman
This reverts commit 45b9eed30320c6281efcfb748098a8789b15f15f.
2024-10-22Revert "First attempt to fix unicode input"Erik Kundiman
This reverts commit aaa8cb5a37a720ff67792d0a31fec793b03b3742.
2024-10-22Revert "IME composition is now replaced by the result"Erik Kundiman
This reverts commit 60592ae0d7a98e071e516fcac70c5bf1427f20be.
2024-10-21Issue #2907: Process metadata sent along with chats of type ↵Rider Linden
IM_NOTHING_SPECIAL, The metadata can contain information about the bot status of the sender. It may also contain a system-injected notification that is displayed to the agent as part of the 1:1 chat window.
2024-10-21Toolbar command from Ansarielgwigz
https://github.com/FirestormViewer/phoenix-firestorm/commit/bcc7406ccc22d5c8d73fe3200da3c6a36d903a10#diff-d16d50e343f4f0926f7ebac63ec9ad3ef3ebab8f575dfe520042d0ab00ef8836R2404
2024-10-21Firestorm's resync animations menu optiongwigz
2024-10-21Merge pull request #2896 from secondlife/v-2895cosmic-linden
secondlife/viewer#2895: Fix Windows cmake not detecting latest python
2024-10-21Merge branch 'develop' into nat/frame-profile-statsNat Goodspeed
2024-10-21Regenerate viewer stats for frame profile dump fileNat Goodspeed
instead of reporting the most recent previous viewer stats blob.
2024-10-21panel_preferences_sound.xml -> Move channel number spinnersecretfoxtail
restore left_pad="10" to left="260"
2024-10-20panel_preferences_sound.xml adjustmentsecretfoxtail
Fix stream channel spinner & noise supression combo overlap
2024-10-21Merge branch 'main' into 2024.09-ExtraFPSErik Kundiman
2024-10-21Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into ↵Erik Kundiman
2024.09-ExtraFPS
2024-10-20viewer#2741 Don't reallocate image conversion buffer all the timeAndrey Kleshchev
2024-10-20Working Arch port but CEF & WebRTC are still brokenErik Kundiman
I've tried using FMOD instead, but CEF didn't work either. At first I used crow-misia's WebRTC build but it would cause a segmentation fault, but LL's build seems to break CEF. Gotta find a way so CM's build doesn't crash the viewer. PKGBUILD should be moved to indra/newview as an .in to be configured by CMake for dynamic version numbers, and adjust the instruction too to run makepkg -R from the folder where the generated PKGBUILD will be.
2024-10-19Further revert llrender to LL'sErik Kundiman
This might fix the black screen problem on Apple GPU.
2024-10-19Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into ↵Erik Kundiman
2024.09-ExtraFPS
2024-10-18secondlife/viewer#2895: Fix Windows cmake not detecting latest pythonCosmic Linden
2024-10-18viewer#2889 Fixed mixed up water settingsAndrey Kleshchev
2024-10-18temporary workaround for #2870: disable SDL2 on macleviathan
2024-10-18viewer#2884 CleanupAndrey Kleshchev
2024-10-18viewer#2884 Convert webrtc and experience coroutines into idle callbacksAndrey Kleshchev
2024-10-18#2303 An error occured while trying to connect to voiceAlexander Gavriliuk
2024-10-18Merge branch 'main' into 2024.09-ExtraFPSErik Kundiman
2024-10-18Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into ↵Erik Kundiman
2024.09-ExtraFPS
2024-10-18Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into ↵Erik Kundiman
2024.09-ExtraFPS
2024-10-17Merge branch 'develop' into nat/frame-profile-statsNat Goodspeed
2024-10-17Add the latest viewer stats packet into Frame Profile dump file.Nat Goodspeed
2024-10-17#2572 Voice dot appears next to avatar's name in Conversations floaterAlexander Gavriliuk
2024-10-17Resolve maint-c post merge shutdown issue #2Andrey Kleshchev
2024-10-17Resolve maint-c post merge shutdown issue (#2872)Andrey Kleshchev
2024-10-17Post-merge fix: "upload to folder" regressionAndrey Lihatskiy
2024-10-17Merge pull request #2805 from secondlife/maxim/lua-nearby-avatarsMaxim Nikolenko
Lua api to get info about nearby avatars and objects
2024-10-16Add a response with result when taking snapshot; and other clean upMnikolenko Productengine
2024-10-16Apply changes from 55f2103adc36db0d3f068a31a144e15465226e13 to ↵Ansariel Hiller
LLFolderViewItem::drawFavoriteIcon (#2867)
2024-10-16Remove dependency on libwayland-dev (#2865)AiraYumi
2024-10-16#2112 Provide SL Grid Map coordinates for Official Viewer Users pleaseAlexander Gavriliuk
2024-10-15Fix more merge issues:Ansariel
* Re-apply changes from a620e58daccf92b5b8d61347312739720ed2b51a * Fix duplicate code resulting from 826236f1bc065fba257d7954d11ac98c59493445
2024-10-15Add missing overridesAnsariel
2024-10-15Convert BOOL to boolAnsariel
2024-10-15Fix merge issues:Ansariel
* Restore changes from 21947778baaca205615a71a97ac8f563c998fdd3 to llwindow/llwindowwin32.cpp * Restore changes from 3758618949684641fc94b5c9478d9002706213cc to newview/llinspecttexture.cpp * Fix apparent merge error in LLInventoryPanel::itemChanged * Restore changes from 1eeecfa1a8bf43a8980217ce34e3b5f4458483e0 in newview/llpaneloutfitsinventory.h * Restore changes from b9633c17e373bfe55b29228996e8473eb041466d in newview/llpaneloutfitsinventory.h & newview/llpanelwearing.cpp * Restore changes from f660f1f0fda4d2363d351fa550b4f8818b46c2c3 in newview/llviewertexture.cpp * Restore changes from b9633c17e373bfe55b29228996e8473eb041466d & 98f7d73d46fdc045759023eda6409e8c791f5cb2 in newview/lloutfitgallery.cpp and newview/lloutfitslist.cpp * Replace changes from 23729442aab7130f3368d433e8a5a9dd45ff6b98 with current implementation in develop branch * Fix more broken changes in LLViewerTexture::saveRawImage * Restore the changes in LLMath both from develop and maint-c * Fix all kind of other merge errors
2024-10-15Merge branch 'develop' into maxim/lua-nearby-avatarsNat Goodspeed
2024-10-15viewer#1472 Fix some mirror parameters not adjustingAndrey Kleshchev
combo box only recognizes value "6"
2024-10-15Merge remote-tracking branch 'origin/release/2024.09-ExtraFPS' into developBrad Linden