summaryrefslogtreecommitdiff
path: root/indra/newview
AgeCommit message (Collapse)Author
2023-09-26DRTVWR-589: Collect int table keys in vector<int>, not set<int>.Nat Goodspeed
Given that we at least have a possibility of determining the length of a Lua table in advance, we might be able to populate a vector of keys with a single initial allocation. Even if Lua reports the length incorrectly, vector::push_back() is one of the bread-and-butter operations of the library, optimized to the extent possible. Inserting elements into a set seems more likely to incur allocations. Of course, we must then sort() the vector to determine its largest key value. Also document the requirement that we use a Lua runtime compiled for C++, that is, compiled to raise errors by C++ exceptions rather than by longjmp(). We rely on temporary stack objects being properly destroyed even if errors are raised. Conventionally, with lua_tomumble(L, index), 'index' refers to the stack index of the Lua object being converted to C++. For a Lua table, talk about table keys rather than table indexes to avoid confusing the maintainer.
2023-09-25DRTVWR-589: Fix Lua table to LLSD array conversion.Nat Goodspeed
The previous implementation assumed that the Lua length function would correctly report the number of entries in a table, and that traversing a table with integer keys would produce them in numeric order. Neither assumption is true. Instead, make a preliminary pass to validate and collect indexes, and to discover the highest integer index. Armed with that, we can construct a contiguous LLSD array of correct size, and populate it with a second pass. Also add Lua-callable post_on_pump(pumpname, datablob) function.
2023-09-22DRTVWR-589: Introduce LuaFunction: simplified function registration.Nat Goodspeed
2023-09-22DRTVWR-589: Existing lua_pushmumble() functions usually return void.Nat Goodspeed
2023-09-22DRTVWR-589: lua_objlen() removed, use lua_rawlen() insteadNat Goodspeed
2023-09-21DRTVWR-589: lua_objlen() only defined in luaconf.hNat Goodspeed
2023-09-21DRTVWR-589: Merge branch 'DRTVWR-589-llsd' into DRTVWR-589Nat Goodspeed
It seems TC only builds specific v-p branches, e.g. DRTVWR-589 but not DRTVWR-589-llsd.
2023-09-21DRTVWR-589: Add lua_tollsd() and lua_pushllsd() functions.Nat Goodspeed
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-20DRTVWR-589 - added play animation and started to collect demo scriptsBrad Payne (Vir Linden)
2023-09-19Merge branch 'DRTVWR-589' of github.com:/secondlife/viewer-private into ↵Brad Payne (Vir Linden)
DRTVWR-589
2023-09-19DRTVWR-589 - click_child, limited support for pushing buttons in a floaterBrad Payne (Vir Linden)
2023-09-19lua support for notificationsMnikolenko Productengine
2023-09-18DRTVWR-589 - close_floater by nameBrad Payne (Vir Linden)
2023-09-15DRTVWR-589 - lua file browser added run button to allow re-running same scriptBrad Payne (Vir Linden)
2023-09-14DRTVWR-589 - lua support parameter to UI commandsBrad Payne (Vir Linden)
2023-09-14Merge branch 'DRTVWR-589' of github.com:/secondlife/viewer-private into ↵Brad Payne (Vir Linden)
DRTVWR-589
2023-09-14DRTVWR-589 - LUA support for UI commands, only if no parametersBrad Payne (Vir Linden)
2023-09-13autorun selected script after loginMnikolenko Productengine
2023-09-08allow to take snapshot; bind more funcs to call from luaMnikolenko Productengine
2023-09-06addcallback to display error msgMnikolenko Productengine
2023-09-05Initial prototype of embedded LUAMnikolenko Productengine
2023-08-23Increment viewer version to 6.6.15Vir Linden
following promotion of DRTVWR-582
2023-07-20SL-19948 Update estate manager and ban list limits to match new values from ↵Andrey Lihatskiy
simulator
2023-07-18Fixes for compatibility with new xcode 15 beta for any viewer branch after ↵Brad Linden
DRTVWR-577 (#232)
2023-07-18SL-19891 Make sure focusable elements clear focus on destructionAndrey Kleshchev
2023-07-17Merge pull request #285 from secondlife/marchcat/SL-19669marchcat-pe
INTL-490 Japanese Translation Update
2023-07-17Merge branch 'DRTVWR-580-maint-T' into DRTVWR-582-maint-UAndrey Lihatskiy
2023-07-17Merge branch 'main' into DRTVWR-582-maint-UAndrey Lihatskiy
# Conflicts: # doc/contributions.txt # indra/llcommon/llerrorthread.cpp
2023-07-17Increment viewer version to 6.6.14Nat Goodspeed
following promotion of DRTVWR-580
2023-07-12SL-19702 don't skip double clicks when clicking scripted objectsMnikolenko Productengine
2023-07-11SL-19728 Objects that cannot be clicked or cammed unless in edit modeAlexander Gavriliuk
2023-07-07SL-19702 restore previous double clicking behavior for objectsMaxim Nikolenko
2023-07-05Reverted changes to installer_template.msi introduced by PR #259Andrey Kleshchev
Changes do not appear to add anything sans mac's line ending which triggers coding policy protection and shouldn't be present in window's installer file.
2023-06-28DRTVWR-582: Merge branch DRTVWR-582-maint-U into contribute-frozenNat Goodspeed
to resolve conflicts in installer_template.nsi
2023-06-28SL-19572 Fix some obscure cases of residents bypasing mute listAndrey Kleshchev
2023-06-27SL-19924 Update profile type namesAndrey Kleshchev
2023-06-24SL-19805 Fix touch handling logicAlexander Gavriliuk
2023-06-23SL-19805 Follow-up fixAndrey Lihatskiy
2023-06-23SL-19805 Second Life Viewer last update made invisible parts visibleAlexander Gavriliuk
2023-06-21SL-19692 Z Offset is applied twice in MouselookAlexander Gavriliuk
2023-06-20SL-19860 Fixed messages from muted objects being shown upon loginAndrey Kleshchev
2023-06-15SL-19404 Navigation bar coordinates slightly offAlexander Gavriliuk
2023-06-09SL-19844 People floater - Remove the 'Remove friend' menu itemAlexander Gavriliuk
2023-06-07SL-19286 Avatar is upside down when viewed from belowAlexander Gavriliuk
2023-06-07SL-18328 Fix opening the right profile on click Callingcard embedded to a ↵Alexander Gavriliuk
Notecard
2023-06-04SL-19669 Restored XML formatting for the Japanese translationsAndrey Lihatskiy
2023-06-04Merge remote-tracking branch 'loque-viewer/DRTVWR-580-maint-T' into ↵Andrey Lihatskiy
marchcat/SL-19669-upd
2023-06-02SL-18251 Expand extents to include the Control Avatar boundsAlexander Gavriliuk