summaryrefslogtreecommitdiff
path: root/indra/llui
AgeCommit message (Collapse)Author
2024-10-04Merge remote branch 'develop' into marchcat/xcode-16Nat Goodspeed
2024-10-03#2408 The long covenant with emojis (crash fix)Alexander Gavriliuk
2024-10-03Fix LLFlatListView::getRequiredRect not overriding base class warningRye Cogtail
2024-10-02Clean up LLUI and fix/add suggestions from VS (#2746)Ansariel Hiller
2024-10-01Merge remote-tracking branch 'origin/release/2024.09-ExtraFPS' into developBrad Linden
2024-09-29Linux/GCC 13 build fix for template specialization of ↵Nicky Dasmijn
pasteTextWithLinebreaks (#2729) GCC 13 did not like having a template<> inside the class body at all. Thus turn the specialization of pasteTextWithLinebreaks into a class methode pasteTextWithLinebreaksImpl.
2024-09-27Migrate ~LLPointer()'s peculiar warning case to llpointer.cpp.Nat Goodspeed
This allows removing #include "llerror.h" from llpointer.h. Also remove #include "llmutex.h" as a heavy way to get <boost/functional/hash.hpp>. That requires adding #include "llmutex.h" to llimage.h, llnotifications.h, llwatchdog.cpp and llvolumemgr.cpp, which were inheriting it from llpointer.h.
2024-09-26Merge remote branch 'develop' into marchcat/xcode-16Nat Goodspeed
2024-09-26Fix a few more fsyspath conversions, removing explicit u8string().Nat Goodspeed
2024-09-25Adapt `fsyspath` for C++20 conventions.Nat Goodspeed
In C++20, `std::filesystem::u8path()` (that accepts a UTF-8 encoded `std::string` and returns a `std::filesystem::path`) is deprecated. Instead, to engage UTF-8 coding conversions, we're supposed to pass the `path` constructor a `std::u8string`, i.e. a `std::basic_string<char8_t>`. Since `char8_t` is a type distinct from both `char` and `unsigned char`, we must Do Something to pass a UTF-8 encoded `std::string` into `std::filesystem::path`. To avoid copying characters from a `std::string` into a temporary `std::u8string` and from there into the `std::filesystem::path`, make a `boost::transform_iterator` that accepts a `std::string_view::iterator` and adapts it to dereference `char8_t` characters. Make `fsyspath(std::string_view)` engage the base-class constructor accepting (iterator, iterator), adapting `string_view::begin()` and `end()` to deliver `char8_t` characters. Use the same tactic for `fsyspath::operator=(std::string_view)`, explicitly calling `std::filesystem::path::assign()` with the adapted iterators. To resolve ambiguities, provide both constructors and assignment operators accepting `(const std::string&)` and `(const char*)`, explicitly converting each to `std::string_view`. At the same time, `std::filesystem::path::u8string()` now returns `std::u8string` rather than `std::string`. Since `std::filesystem::path` delivers only that `std::u8string` rather than iterators into its internal representation, we can't avoid capturing it and copying to the returned `std::string`. Remove explicit `.u8string()` calls from a few existing `fsyspath` instances, now that `fsyspath` supports implicit conversion to `std::string`.
2024-09-25viewer#2646 Fix viewer ignoring Physics Shape Type changesAndrey Kleshchev
asStringRef is only valid for strings
2024-09-25Restore currently entered text in chat entry textbox after going through ↵Ansariel Hiller
history with Ctrl-PgUp/PgDown (#2680)
2024-09-24#2559 No mouseover if a link is embedded with an emojiAlexander Gavriliuk
2024-09-23Merge remote branch 'develop'into release/luau-scriptingNat Goodspeed
2024-09-22#2618 Roles and Members tab is a messAlexander Gavriliuk
2024-09-21#2618 Roles and Members tab is a mess (show ctrl pos in debug views)Alexander Gavriliuk
2024-09-19Expose LLVector4a in LLRenderAndrey Kleshchev
Avoid using a bunch of allocators. Make sure we use LLVector4a's SSE logic instead of LLVector3's. Some minor optimizations.
2024-09-18#2408 The long covenant with emojis significantly slows down some operations ↵Alexander Gavriliuk
in the viewer
2024-09-18Remove quads rendering mode entirely (#2593)Ansariel Hiller
2024-09-18viewer#2565 Optimize LLFolderViewItem::draw()Andrey Kleshchev
2024-09-17Fix Visual Studio complaints in LLTrans (#2575)Ansariel Hiller
2024-09-13Merge pull request #2548 from secondlife/lua-frame-profilenat-goodspeed
Make Develop->Render Tests->Frame Profile dump JSON to a file too (#2412)
2024-09-12Merge branch 'develop' into release/luau-scriptingNat Goodspeed
2024-09-12Fix names in group chat sometimes showing as "Loading..." and never resolve ↵Ansariel Hiller
(#2547)
2024-09-10Fix risky signature of `wchar_to_utf8chars()`. Add `ll_convert()` alias.Nat Goodspeed
`wchar_to_utf8chars()` used to require a `char*` output buffer with no length, assuming that its caller knew enough to provide a buffer of sufficient length. In fact a `char[8]` buffer suffices, but nothing in the header indicated that. Eliminate the output parameter and return `std::string`. Fix the few existing callers. Also set an `ll_convert_alias` so that `ll_convert_to<std::string>(llwchar)` directly calls `wchar_to_utf8chars()`. Replace instances of the workaround `wstring_to_utf8str(LLWString(1, llwchar))`.
2024-09-09Merge branch 'develop' into release/luau-scriptingNat Goodspeed
2024-09-09Changes towards C++20 compatibility (#2520)Ansariel Hiller
2024-09-08#459 Filters on object inventoryAlexander Gavriliuk
2024-09-07viewer#2411 Use font buffer for inventoryAndrey Kleshchev
2024-09-06Allow LLMenuGL::insert() to append as well as inserting.Nat Goodspeed
Appending is effected by passing position == getItemCount(). Until now, insert() disallowed that value, so you could insert before the last existing entry but not after it.
2024-09-05Merge branch 'release/luau-scripting' into lua-merge-devNat Goodspeed
2024-09-05Merge branch 'develop' into release/luau-scriptingNat Goodspeed
2024-09-05Merge branch 'release/luau-scripting' into lua-resultsetNat Goodspeed
2024-09-05viewer#2411 Confine font vertex buffers to static text segmentsAndrey Kleshchev
Collection of vertex buffers happens to often with segmented text.
2024-09-05viewer#2411 Use font buffer in line editorAndrey Kleshchev
2024-09-05viewer#2411 Use font buffer in text segmentsAndrey Kleshchev
2024-09-04Swat a few more buzzing BOOLs.Nat Goodspeed
2024-09-04Resolve a few unresolved merge conflicts.Nat Goodspeed
2024-09-04#2471 The Destinations ComboBox on Login Screen... (quick fix)Alexander Gavriliuk
2024-09-04viewer#2411 Cleanup #2Andrey Kleshchev
2024-09-04viewer#2411 CleanupAndrey Kleshchev
2024-09-04viewer#2411 A bit more coverage for font bufferAndrey Kleshchev
2024-09-04viewer#2411 LLFontGL::render optimizations #2Andrey Kleshchev
2024-09-04Remove usused LLButton::mBorderEnabledAndrey Kleshchev
2024-09-04viewer#2411 LLFontGL::render optimizationsAndrey Kleshchev
2024-09-03Use Lua result-set logic for "LLFloaterReg"s "getFloaterNames" op.Nat Goodspeed
This is the query that produced so many results that, before we lifted the infinite-loop interrupt limit, inspect(result) hit the limit and terminated.
2024-09-03#2471 The Destinations ComboBox on Login Screen changes the selected item to ↵Alexander Gavriliuk
the similar one
2024-08-30#2454 Scrolling by the mouse wheel does not scroll up on the unopened ↵Alexander Gavriliuk
Destination field
2024-08-28Ditch trailing spaces.Nat Goodspeed
2024-08-28Merge branch 'main' into release/luau-scripting.Nat Goodspeed