summaryrefslogtreecommitdiff
path: root/indra/llui
AgeCommit message (Collapse)Author
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-01-04DRTVWR-589: Merge branch 'main' into DRTVWR-589Nat Goodspeed
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-10-11SL-20288 Lags in Appearance floater (code format in LLAccordionCtrl)Alexander Gavriliuk
2023-10-07SL-20383 Fix scroll locking viewAndrey Kleshchev
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-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
2023-08-29SL-20205 Clipping of label "Water"Andrey Kleshchev
2023-08-23Merge branch main (DRTVWR-582) into DRTVWR-567Andrey Kleshchev
# Conflicts: # indra/newview/app_settings/settings.xml # indra/newview/llinventoryfunctions.cpp # indra/newview/llinventoryfunctions.h # indra/newview/llinventorymodel.cpp # indra/newview/llinventoryobserver.cpp # indra/newview/llinventoryobserver.h # indra/newview/skins/default/xui/ja/floater_inventory_item_properties.xml
2023-08-23Merge branch 'main' into DRTVWR-587-maint-VAndrey Lihatskiy
# Conflicts: # autobuild.xml
2023-08-23Merge remote-tracking branch 'origin/main' into DRTVWR-559Brad Linden
2023-08-02SL-20098 handleDoubleClick crashes in new inventory panelsAndrey Kleshchev
2023-07-18Merge remote-tracking branch 'origin/xcode-14.3' into DRTVWR-559 (#292)Brad Linden
2023-07-18SL-19891 Make sure focusable elements clear focus on destructionAndrey Kleshchev
2023-07-17Merge remote-tracking branch 'origin/main' into DRTVWR-559Brad Linden
2023-07-17Merge branch 'main' (DRTVWR-580) into DRTVWR-567Andrey Kleshchev
# Conflicts: # indra/llui/llfolderviewitem.cpp # indra/newview/llinventorymodel.cpp # indra/newview/llinventorymodelbackgroundfetch.cpp
2023-07-17Merge branch 'main' (DRTVWR-580) into DRTVWR-587-maint-VAndrey Kleshchev
2023-07-17Merge branch 'main' into DRTVWR-582-maint-UAndrey Lihatskiy
# Conflicts: # doc/contributions.txt # indra/llcommon/llerrorthread.cpp
2023-07-17SL-19995 FIXED The context menu is not fully displayed for the navigation barMaxim Nikolenko
2023-07-17SL-19306 A method of displaying user-customized keybindings in user-visible textAndrey Kleshchev
2023-07-01SL-19914 Inventory gallery Tab support #2Andrey Kleshchev
2023-06-30SL-19565 Prefs Bug when searching in PrefsAlexander Gavriliuk
2023-06-24SL-19604 Fix gallery view having huge ident at the bottomAndrey Kleshchev
2023-06-20SL-18977 Borders of inventory view in inventory floater seem to be cut a bitAlexander Gavriliuk
2023-06-15Revert "SL-18977 Borders of inventory view in inventory floater seem to be ↵Andrey Kleshchev
cut a bit" This reverts commit 7ac094e92105122b22b4693dafae7f0cee72d9a0. Commit breaks gallery panel, it is not ready.
2023-06-15SL-18977 Borders of inventory view in inventory floater seem to be cut a bitAlexander Gavriliuk
2023-06-12SL-19823 Additional loggingAndrey Kleshchev
2023-06-12SL-19825 do not mix bool and BOOL typesMaxim Nikolenko
2023-06-12SL-19825 clear selection when right-clicking outside of selected itemsMaxim Nikolenko
2023-06-10SL-19823 Edit not always active #5Andrey Kleshchev
2023-06-09SL-18977 Borders of inventory view in inventory floater seem to be cut a bitAlexander Gavriliuk
2023-06-03SL-19815 Gallery support for left, right, up and downAndrey Kleshchev
2023-06-02SL-19796 Creating folders in list mode does not scroll to new folderAndrey Kleshchev
2023-06-01SL-19762 fix for cropped label textMnikolenko Productengine
2023-06-01SL-18330: Merge branch 'main' of secondlife/viewer into xcode-14.3Nat Goodspeed
2023-05-31Revert "SL-19795 Unified scroll"Andrey Kleshchev
2023-05-30SL-19773 add context menu for root folder in single folder modeMaxim Nikolenko
2023-05-29SL-19787 Crash at LLUIColor::operatorAndrey Kleshchev
2023-05-26Merge branch 'xcode-14.3' into DRTVWR-582-maint-UAndrey Lihatskiy
# Conflicts: # indra/llcommon/llsdserialize.h
2023-05-25SL-19604 Creating new folders in combination views does not highlight ↵Andrey Kleshchev
created item
2023-05-23SL-19759 FIXED Adding New Folders in Single Folder view can cause all ↵Maxim Nikolenko
folders to open and shift out of view
2023-05-22SL-19752 don't try to scroll after opening the new folder in single-folder ↵Maxim Nikolenko
view to avoid crash