summaryrefslogtreecommitdiff
path: root/indra/llui
AgeCommit message (Collapse)Author
2024-04-03Merge branch 'main' into release/luau-scripting.Nat Goodspeed
2024-04-03Introduce fsyspath subclass of std::filesystem::path.Nat Goodspeed
Our std::strings are UTF-8 encoded, so conversion from std::string to std::filesystem::path must use UTF-8 decoding. The native Windows std::filesystem::path constructor and assignment operator accepting std::string use "native narrow encoding," which mangles path strings containing UTF-8 encoded non-ASCII characters. fsyspath's std::string constructor and assignment operator explicitly engage std::filesystem::u8path() to handle encoding. u8path() is deprecated in C++20, but once we adapt fsyspath's conversion to C++20 conventions, consuming code need not be modified.
2024-03-25mac build fixMaxim Nikolenko
2024-03-25Add keystroke event support and allow adding text lines to the line editorMnikolenko Productengine
2024-03-21mac build fixMnikolenko Productengine
2024-03-21Accept an array for "add_list_item" and change EVENT_LIST typeMnikolenko Productengine
2024-03-21Switch to LLDispatchListenerMnikolenko Productengine
2024-03-20LLLuaFloater code clean upMnikolenko Productengine
2024-03-19search xml file in the lib, if path is not full; add test lua floater scriptsMnikolenko Productengine
2024-03-18update to use new lua leap; initial support for scroll listMnikolenko Productengine
2024-03-15set commit callback for all buttons including minimize, maximizeMnikolenko Productengine
2024-03-14Send additional events to the script when specifiedMnikolenko Productengine
2024-03-12Initial implementation of LLLuaFloaterMnikolenko Productengine
2024-03-08Merge branch 'main' into release/luau-scripting for Emoji release.Nat Goodspeed
2024-03-05SL-17896 Don't crash silently if files are missing or out of memoryAndrey Kleshchev
Under debug LL_ERRS will show a message as well, but release won't show anything and will quit silently so show a notification when applicable.
2024-02-13Add help() function to Lua "builtins."Nat Goodspeed
help() with no argument lists all our viewer builtins. help(function, function, ...) shows help text for each named function. Each argument can be either a string or the function in question (e.g. help(help)). To support Lua-related text containing line breaks, make LLTextEditor:: pasteTextWithLinebreaks() a public template method. Change the existing implementation, which specifically accepts (const LLWString&), into its LLWString specialization. The generic template passes llconvert(arg) to that specialization, the one real implementation. Make LLFloaterLUADebug methods call pasteTextWithLinebreaks() instead of insertText(), which ignores newline characters. To allow help() to accept an actual function as well as a string name, add a lookup-by-function-pointer map to LuaFunction. (A Lua function does not store a name.) Make the constructor store an entry in the new lookup map as well as in the original registry map. Change LuaFunction::getRegistry() and getRegistered() to getState() and getRState(), respectively. Each returns a std::pair, but the first binds non-const references while the second binds const references.
2024-02-12WIP: Changes towards supporting Lua console help text.Nat Goodspeed
2024-02-08SL-20363 Add Advanced option 'Debug Unicode'Alexander Gavriliuk
2024-01-24SL-20416 Fix Crash Report 1409376 (update)Alexander Gavriliuk
2024-01-23SL-20416 Fix Crash Report 1409376Alexander Gavriliuk
2024-01-24SL-20416 Avoid of taking focus by EmojiPickerAlexander Gavriliuk
2024-01-17SL-20795 Part of previously typed emojis disappear in the 'Save settings as ↵Alexander Gavriliuk
a preset...' option of the 'Preferences' floater
2024-01-11SL-20756 The emoji in the profile floater is displayed schematicallyAlexander Gavriliuk
2024-01-04DRTVWR-589: Merge branch 'main' into DRTVWR-589Nat Goodspeed
2023-12-15Merge branch 'main' into DRTVWR-489Andrey Lihatskiy
# Conflicts: # indra/newview/fonts/DejaVu-license.txt # indra/newview/fonts/DejaVuSans-Bold.ttf # indra/newview/fonts/DejaVuSans-BoldOblique.ttf # indra/newview/fonts/DejaVuSans-Oblique.ttf # indra/newview/fonts/DejaVuSans.ttf # indra/newview/fonts/DejaVuSansMono.ttf
2023-12-05Merge branch 'main' into DRTVWR-489Alexander Gavriliuk
2023-11-30SL-19801 Log unicode characters for debugAlexander Gavriliuk
2023-11-29Merge branch 'DRTVWR-559' into marchcat/587-v-pbr-mergeAndrey Lihatskiy
# Conflicts: # indra/llcommon/CMakeLists.txt # indra/newview/llspatialpartition.cpp # indra/newview/llviewergenericmessage.cpp # indra/newview/llvoavatar.cpp
2023-11-09SL-20438 Emoji picker will dock with edge of screen if the Conversations ↵Alexander Gavriliuk
floater is dragged there
2023-11-08SL-20356 EmojiPicker - Implement arrow keys navigationAlexander Gavriliuk
2023-10-11SL-20288 Lags in Appearance floater (code format in LLAccordionCtrl)Alexander Gavriliuk
2023-10-11SL-20288 Lags in Appearance floater (code format in LLAccordionCtrl)Alexander Gavriliuk
2023-10-08Merge branch main into DRTVWR-489Alexander Gavriliuk
2023-10-07SL-20383 Fix scroll locking viewAndrey Kleshchev
2023-10-05SL-20355 Sort completion suggestions by position of the search patternAlexander Gavriliuk
2023-10-05SL-20390 Emoji Completion floater - ignore symbols in shortcodes when ↵Alexander Gavriliuk
searching by pattern
2023-10-05SL-20402 Emoji Completion floater - use vertical scrollbar when neededAlexander Gavriliuk
2023-10-03SL-20383 Fix scroll locking viewAndrey Kleshchev
2023-10-03DRTVWR-589: Merge branch 'main' of viewer-private into DRTVWR-589Nat Goodspeed
2023-10-03Merge branch 'main' into DRTVWR-587-maint-VAndrey Lihatskiy
# Conflicts: # indra/newview/llinventorymodel.cpp # indra/newview/llvovolume.cpp
2023-10-03Merge branch 'main' (DRTVWR-567) into DRTVWR-559Andrey Kleshchev
# Conflicts: # indra/newview/CMakeLists.txt # indra/newview/VIEWER_VERSION.txt # indra/newview/llagent.cpp # indra/newview/llfloaternewfeaturenotification.cpp # indra/newview/llinventorybridge.cpp # indra/newview/llinventorymodel.cpp # indra/newview/lloutfitgallery.cpp # indra/newview/llpanelmaininventory.cpp # indra/newview/llpanelmaininventory.h # indra/newview/llsidepaneltaskinfo.cpp # indra/newview/llsidepaneltaskinfo.h # indra/newview/lltexturectrl.cpp # indra/newview/lltexturectrl.h # indra/newview/llviewerinventory.cpp # indra/newview/llviewerobject.cpp # indra/newview/llviewertexturelist.cpp # indra/newview/llviewertexturelist.h # indra/newview/skins/default/xui/en/floater_new_feature_notification.xml # indra/newview/skins/default/xui/en/menu_inventory.xml
2023-10-03:xAlexander Gavriliuk
2023-10-02SL-20391 Show Emoji Completion floater after backspacing a characterAlexander Gavriliuk
2023-10-02SL-20387 Show Emoji Completion floater at the beginning of the shortcodeAlexander Gavriliuk
2023-10-02SL-20356 Allow menu navigation by tabbing around emoji menuAlexander Gavriliuk
2023-09-30DRTVWR-589: Emulate print() better, show output on Lua floater.Nat Goodspeed
Break out a lua_print_msg() function common to print_debug(), print_info() and print_warning(). Instead of accepting a single argument, lua_print_msg() accepts arbitrary arguments, passing each to the Lua tostring() function and concatenating the results. In addition to returning the combined string to its caller for level-appropriate logging, it also posts the message to a "lua output" LLEventPump for any interested party. Make LLFloaterLUADebug listen on "lua output" when the floater is constructed, storing the connection in an LLTempBoundListener to stop listening when the floater is destroyed. Append each message to the floater's output panel with a line break. Make LLTextEditor::addLineBreakChar() public. insertText("\n") only appends a little rectangle glyph. Enlarge the text capacity of the floater's output panel to be able to report whatever messages a Lua script wants to print. Add diagnostic logging for posting events from Lua, and receiving events to forward to Lua. Since lua_pop() is a macro implemented on lua_settop(), replace the awkward construct lua_pop(L, lua_gettop(L)) with lua_settop(L, 0). Use lambdas instead of std::bind() to connect LuaListener and LLLeapListener.
2023-09-21DRTVWR-589 - allow adding branch to the menuMnikolenko Productengine
2023-09-21DRTVWR-589 - adding menu items to the top menuMnikolenko Productengine
2023-09-14SL-20269 Tab's focus jumps over item when clicking on edge itemsAndrey Kleshchev
2023-09-10SL-19826 Keep scroll from acting up if selection changedAndrey Kleshchev
Unfulfilled scroll (due to fetching) persisted after selection changed