summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewscript.cpp
AgeCommit message (Collapse)Author
2026-08-17Issue https://github.com/secondlife/sl-vscode-plugin/issues/98: Refactor ↵Rider Linden
message passing into unified format.
2026-07-22Publish object inventories to external editor. (#5834)Rider Linden
* Adding tight integration flag for vscode and open code through a URL. * [WIP] Publish objects and their contents from the viewer into VS code. * [WIP] Still very much a work in progress, supports most of the core operations publish, get, write, delete, and create. Still quite a few bugs to work out. * [WIP] Object publishing checkpoint. * [checkpoint] Script tight integration with vscode, object publishing. * Number of fixed issue. * A few redundancy and performance fixes. * Some cosmetics. * I like "Explore" better than "Publish" * Object renaming, luau inventory icon, runstate, restart. * Some clean up around permissions and possible nullptr deref. * Code review feedback.
2026-04-28Refactor the LLSyntaxIDLSL/Lua into single LLSyntaxDefCache, use new cap ↵Rider Linden
when available to retrieve all language definition files and cache them locally. Retrieve the default definition files from the LSL definitions precompiled library.
2026-04-10Merge remote-tracking branch 'origin/main' into marchcat/slua-26.1.1Andrey Lihatskiy
# Conflicts: # .github/workflows/build.yaml # autobuild.xml # indra/cmake/Python.cmake # indra/newview/CMakeLists.txt # indra/newview/llappviewer.cpp # indra/newview/llappviewerwin32.cpp # indra/newview/llpanellogin.cpp
2026-03-26Some followup CR changes.Rider Linden
2026-03-26Support for metadata and script subtype.Rider Linden
2026-02-04#5359 Skip SLua scripts during bulk LSL recompileAndrey Lihatskiy
2026-01-20Merge branch 'develop-linux' into project/lua_editorAndrey Lihatskiy
# Conflicts: # indra/newview/llpreviewscript.cpp
2026-01-07Address feedback from copilotRye
Signed-off-by: Rye <rye@alchemyviewer.org>
2026-01-07Clean up LLFile and LLFilesystem operations to reduce temporaries ↵Rye
allocations and utf8->utf16 conversions Fix LLFile::tmpdir failing when temp directory is located in a unicode path on windows Add Tracy profiler tagging to LLFile that's disabled by default Replace LLFile::utf8StringToWstring with our fsyspath std::filesystem::path adapter Introduce std::filesystem::path to llifstream/llofstream wrappers Add move operators to fsyspath to match copy operator Restore LLUniqueFile RAII class for direct c file io wrapping and reducing merge conflicts with downstream code that may depend upon it Signed-off-by: Rye <rye@alchemyviewer.org>
2026-01-07#4899 Fix permissions flags on files that shouldn't be executableAndrey Kleshchev
2026-01-07Reapply "Add more functionality to LLFile and cleanup LLAPRFile""Andrey Kleshchev
# Conflicts: # indra/llcrashlogger/llcrashlock.cpp # indra/llrender/llshadermgr.cpp # indra/test/CMakeLists.txt
2025-12-31Update LLScriptEditor and friends to index line numbers from 1 when editing ↵Darl
in Lua (#5190) * Update LLScriptEditor to index line numbers from 1 when editing in Lua This is to match server-generated runtime errors that reference lines. Signed-off-by: Darl <me@darl.cat> * Update LLFloaterGotoLine and LLPreviewScript to support Lua's line/col expectations Existing behavior for LSL is preserved Fixes a bug in previous commit that causes the line number shown near the bottom of the script edit floater to be off by 1 when displaying a Lua script. Signed-off-by: Darl <me@darl.cat> * Update script editor error console goto error to reflect Lua line nums Signed-off-by: Darl <me@darl.cat> --------- Signed-off-by: Darl <me@darl.cat>
2025-10-10Allow the viewer to relaunch the external editor. It will reuse the LiveFile ↵Rider Linden
unless the file name has changed.
2025-10-07Added scripting options floater for config, switched to using config values. ↵Rider Linden
Added "runtime.debug" and "runtime.error" notifications.
2025-10-07Changes to the message protocol for script.compiled and language requests.Rider Linden
2025-10-07initial Lua types files, and switch websocket server to use a single ↵Rider Linden
connection for all scripts.
2025-10-07Expand the websocket implementation a bit. Added JSONRPC specialization.Rider Linden
2025-10-07First pass at websocket server for editing.Rider Linden
2025-05-28Merge branch 'main' into marchcat/slua-editor-mergeAndrey Lihatskiy
# Conflicts: # .github/workflows/build.yaml # indra/newview/llmeshrepository.cpp # indra/newview/llmeshrepository.h # indra/newview/llpreviewscript.h
2025-04-18Clean up LLUI and fix/add suggestions from VS (#2746)Ansariel Hiller
# Conflicts: # indra/llui/lltextbase.h # indra/llui/lltexteditor.h # indra/llwindow/llwindowsdl.cpp
2025-04-04#3867 Print script errors to disk when external editor is usedAndrey Lihatskiy
2025-03-17#3747 Use correct extension for temporary script filesAndrey Lihatskiy
2025-03-14Temporary hack to determine script language when opened from inventoryAndrey Lihatskiy
2025-03-14#3731 Remove unused codeAndrey Lihatskiy
2025-03-08#3691 Fix Reset buttonAndrey Lihatskiy
2025-03-07#3422 Code cleanupAndrey Lihatskiy
2025-03-06#3615 WIP: Store correct script compile target in inventoryAndrey Lihatskiy
2025-03-01#3615 WIP: Improve script editor code for the inventoryAndrey Lihatskiy
2025-02-25#3422 Better handling of Lua syntaxAndrey Lihatskiy
2025-02-21#3423 Use correct 'lsl-luau' compile targetAndrey Lihatskiy
2025-02-21#3423 Handle region properlyAndrey Lihatskiy
2025-02-11#3423 Gray out Lua selection on unsupported regionsAndrey Lihatskiy
2025-02-11#3423 Adapt the code to the changes on a serverAndrey Lihatskiy
2025-01-25#3423 Add Lua as Compile Target in Viewer Script EditorAlexander Gavriliuk
2024-08-18Fix findChild during draw in script editorRye Mutt
2024-08-09viewer#2061 Crash in ~LLScriptEdCore()Andrey Kleshchev
2024-06-01Re-enable a lot of compiler warnings for MSVC and address the C4267 ↵Ansariel
"possible loss of precision" warnings
2024-05-22Fix line endlingsAnsariel
2024-05-22Merge remote-tracking branch 'origin/main' into DRTVWR-600-maint-AAnsariel
# Conflicts: # autobuild.xml # indra/cmake/CMakeLists.txt # indra/cmake/GoogleMock.cmake # indra/llaudio/llaudioengine_fmodstudio.cpp # indra/llaudio/llaudioengine_fmodstudio.h # indra/llaudio/lllistener_fmodstudio.cpp # indra/llaudio/lllistener_fmodstudio.h # indra/llaudio/llstreamingaudio_fmodstudio.cpp # indra/llaudio/llstreamingaudio_fmodstudio.h # indra/llcharacter/llmultigesture.cpp # indra/llcharacter/llmultigesture.h # indra/llimage/llimage.cpp # indra/llimage/llimagepng.cpp # indra/llimage/llimageworker.cpp # indra/llimage/tests/llimageworker_test.cpp # indra/llmessage/tests/llmockhttpclient.h # indra/llprimitive/llgltfmaterial.h # indra/llrender/llfontfreetype.cpp # indra/llui/llcombobox.cpp # indra/llui/llfolderview.cpp # indra/llui/llfolderviewmodel.h # indra/llui/lllineeditor.cpp # indra/llui/lllineeditor.h # indra/llui/lltextbase.cpp # indra/llui/lltextbase.h # indra/llui/lltexteditor.cpp # indra/llui/lltextvalidate.cpp # indra/llui/lltextvalidate.h # indra/llui/lluictrl.h # indra/llui/llview.cpp # indra/llwindow/llwindowmacosx.cpp # indra/newview/app_settings/settings.xml # indra/newview/llappearancemgr.cpp # indra/newview/llappearancemgr.h # indra/newview/llavatarpropertiesprocessor.cpp # indra/newview/llavatarpropertiesprocessor.h # indra/newview/llbreadcrumbview.cpp # indra/newview/llbreadcrumbview.h # indra/newview/llbreastmotion.cpp # indra/newview/llbreastmotion.h # indra/newview/llconversationmodel.h # indra/newview/lldensityctrl.cpp # indra/newview/lldensityctrl.h # indra/newview/llface.inl # indra/newview/llfloatereditsky.cpp # indra/newview/llfloatereditwater.cpp # indra/newview/llfloateremojipicker.h # indra/newview/llfloaterimsessiontab.cpp # indra/newview/llfloaterprofiletexture.cpp # indra/newview/llfloaterprofiletexture.h # indra/newview/llgesturemgr.cpp # indra/newview/llgesturemgr.h # indra/newview/llimpanel.cpp # indra/newview/llimpanel.h # indra/newview/llinventorybridge.cpp # indra/newview/llinventorybridge.h # indra/newview/llinventoryclipboard.cpp # indra/newview/llinventoryclipboard.h # indra/newview/llinventoryfunctions.cpp # indra/newview/llinventoryfunctions.h # indra/newview/llinventorygallery.cpp # indra/newview/lllistbrowser.cpp # indra/newview/lllistbrowser.h # indra/newview/llpanelobjectinventory.cpp # indra/newview/llpanelprofile.cpp # indra/newview/llpanelprofile.h # indra/newview/llpreviewgesture.cpp # indra/newview/llsavedsettingsglue.cpp # indra/newview/llsavedsettingsglue.h # indra/newview/lltooldraganddrop.cpp # indra/newview/llurllineeditorctrl.cpp # indra/newview/llvectorperfoptions.cpp # indra/newview/llvectorperfoptions.h # indra/newview/llviewerparceloverlay.cpp # indra/newview/llviewertexlayer.cpp # indra/newview/llviewertexturelist.cpp # indra/newview/macmain.h # indra/test/test.cpp
2024-05-07secondlife/viewer#1333 BOOL to bool conversion leftovers: ternariesAlexander Gavriliuk
2024-04-29#824 Process source files in bulk: replace tabs with spaces, convert CRLF to ↵Andrey Lihatskiy
LF, and trim trailing whitespaces as needed
2024-04-11Merge branch 'main' of https://github.com/secondlife/viewer into ↵Ansariel
DRTVWR-600-maint-A # Conflicts: # indra/llcommon/llapp.cpp # indra/llcommon/llapp.h # indra/llimage/llimageworker.cpp # indra/llui/llcontainerview.cpp # indra/llui/llcontainerview.h # indra/llui/llkeywords.cpp # indra/llui/lltabcontainer.cpp # indra/llui/lltextbase.cpp # indra/newview/llappviewer.cpp # indra/newview/llfavoritesbar.cpp # indra/newview/llfavoritesbar.h # indra/newview/llfloaterimnearbychathandler.cpp # indra/newview/llfloaterpreference.cpp # indra/newview/llhudnametag.h # indra/newview/llinventorypanel.cpp # indra/newview/llinventorypanel.h # indra/newview/llmeshrepository.cpp # indra/newview/lloutfitgallery.cpp # indra/newview/lloutfitslist.cpp # indra/newview/llpaneleditwearable.cpp # indra/newview/llpanelprofilepicks.cpp # indra/newview/llpanelvoicedevicesettings.h # indra/newview/llpreviewscript.cpp # indra/newview/llpreviewscript.h # indra/newview/llselectmgr.cpp # indra/newview/lltranslate.cpp # indra/newview/llviewerassetupload.cpp # indra/newview/llviewermessage.cpp
2024-02-21Convert remaining BOOL to boolAnsariel
2024-02-21Convert BOOL to bool in lluiAnsariel
2024-02-17misc: BOOL to boolLars Næsbye Christensen
2023-11-30Merge branch 'DRTVWR-588-maint-W' into marchcat/588-w-pbr-mergeAndrey Lihatskiy
# Conflicts: # indra/llrender/llgl.cpp # indra/llrender/llvertexbuffer.cpp # indra/llui/llflatlistview.cpp # indra/newview/lldrawpoolground.cpp # indra/newview/llspatialpartition.cpp # indra/newview/lltexturefetch.cpp # indra/newview/llviewergenericmessage.cpp # indra/newview/llviewertexture.cpp # indra/newview/llvosky.cpp # indra/newview/skins/default/xui/en/floater_preferences_graphics_advanced.xml # indra/newview/skins/default/xui/en/floater_stats.xml # indra/newview/skins/default/xui/en/floater_texture_fetch_debugger.xml # indra/newview/skins/default/xui/en/notifications.xml # indra/newview/skins/default/xui/en/panel_performance_preferences.xml
2023-08-23Merge branch 'main' into DRTVWR-588-maint-WAndrey Lihatskiy
2023-08-23Merge remote-tracking branch 'origin/main' into DRTVWR-559Brad Linden
2023-08-04SL-19982 make sure 'item' is not nullMnikolenko Productengine