summaryrefslogtreecommitdiff
path: root/indra/newview
AgeCommit message (Collapse)Author
2024-04-14Feature/linux gtk removal (#1225)Nicky Dasmijn
* GTK remnants removal Remove old GTK code and wire up some missing fltk logic in llfilepicker This will leave linux_crash_logger as an empy stub which could be used as a skeleton in case crash logging gets implemented. Otherwise linux_crash_logger and what is left of it in some cmake files can be deleted. * Update SDL2 to latest version. This revealed openal has also a dependebcy on sndio. Consequently the dependency was moved to OPENMAL.cmake and canot be dropped. * Handle missing filetypes: FFSAVE_GLTF,FFLOAD_GLTF, FFLOAD_MATERIAL, FFLOAD_MATERIAL_TEXTURE
2024-04-12Merge branch 'main' into release/maint-bBennett Goble
2024-04-12Fix ASAN errors from LLVector4a::memcpyNonAliased16Nicky
Found by running with -fsanitze=thread Suggestion to avoid accessing invalid memory: In both cases memory will be allocated by can be accessed beyond bounds. In LLPolyMesh it can be off by at least one (+x%2). Though I am not even sure if even in best case it always will be a multiple of 16. In LLViewerJointMesh::updateFaceData the code tries to account for padding by, but the allocation in LLPolyMeshSharedData::allocateVertexData is done without any padding. Thus the sizes must not match. Replacing the calls with memcpy as a quick fix to see if the error goes away fixed address sanitzer complaining. It is up to debate if memcpy is a good replacement. LLVector4a::memcpyNonAliased16 was invented for performance. But on the other hand one could argue that nowadays every stdlib maintainer will very heavily optmize functions like memcpy themselves and could take advantage of CPU features the old LL implementation does not take into account. AVX comes to mind. In any case did I not measure any of this.
2024-04-11CI: adopt xz compressionBennett Goble
Move towards packaging artifacts with xz, which offers higher compression ratios and faster decode time.
2024-04-11Restore the fix for #945 (lost during merge #1178)Andrey Lihatskiy
2024-04-11Make sure items get removed from maps before the item itself gets destroyed,Nicky
Otherwise the viewer ends with a dangling pointer in the map
2024-04-10Fix linux some shader errors when running under WSL, related to ↵Brad Linden
secondlife/viewer#1149 (#1170)
2024-04-10Merge branch 'main' into marchcat/b-mergeAndrey Lihatskiy
# Conflicts: # indra/llrender/llgl.cpp # indra/newview/lloutfitslist.cpp
2024-04-09Increment viewer version to 7.1.6Nat Goodspeed
following promotion of secondlife/viewer #690
2024-04-09Update Linux media handling (#1146)Nicky Dasmijn
* Enable CEF browser for Linux * Disable the update for Linux, we don't have that one right now * Update build_linux.yaml We need libpulse-dev for volume_catcher Linux * Add linux_volum_catcher* files * Enable OpenAL for Linux-ReleaseOS * Linux: Update OpenAL * Update SDL2 * Add libsndio-dev to the dependencies. * Update CEF to an official LL version * Remove dupe of emoji_shortcodes * Reording autobuild does because it can and wants to * Linux: Disable NDOF for the time being. After updating the ndof 3P needs to be rebuilt and we do not have a fresh one from LL yet. Forcefully undefine LIB_NDOF, it gets defined in the build variables no matter if it is safe to define. * Remove wrestling with mutliarch and LIBGL_DRIVERS_PATH * Remove tcmalloc snippet, tcmalloc is a very faint bad dream of the past * Putting out a warning this viewer ran on a x64 arch and then suggesting to install 32 bit compat packages makes no sense at all * CEF resources need to be in lib * It;'s okay to warn about missing plugins * Linux: CEF keyboard handling * Remove old gstreamer 0.10 implementation * Linux DSO loading always had been very peculiar due to macro magic. At least now it is peculiar shared magic with only one implementation. * Remove -fPIC. We get that one from LL_BUILD * /proc/cpuinfo is not reliable to detrmine the max CPU clock. Try to determine this by reading "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq". Only if this fails go back to /proc/cpuinfo * Cleanup * Cleanup common linker and compiler flags, make it more obvious which flags are for which OS/compiler * Switch to correct plugin file * Install libpulse-dev for volume catcher. * And the runner needs libsndio-dev as well. * check for runner.os=='linux'. matrix.os is the full name of the image (limux-large).
2024-04-08Linux GHA builds (#1147)Nicky Dasmijn
* Linux GHA builds Add Ubuntu 22.04 runner and Linux dependencies Do not even try to touch ReleaseFS for Linux yet (this needs KDU, Havok, FMOD) * Lets play a game of 'guess the havok source url' * Move to linux-large runner. * ReleaseOS used OpenAL, not fmod studio (which otherwise is the default) * - Correction for Linux build dir - HAVOK / CrashReporting wrestling. HAVOK is always turned on, even for OS builds Turn this off for Linux-ReleaseOS Same with crashreporting, we need it off for now * Add missing brace * When doing a GHA build pack right into RUNNER_TEMP and then signal the created archive as our "viewer_app" * Upload Linux-ReleaseOS after build * - Need to use os.path.join and not hyst join - set_github_output_path can be called unconditionally * Remove Linux GHA build example.
2024-04-08triage#163 'Create folder from selected' misbehaves in marketplaceAndrey Kleshchev
Marketplace deliberately doesn't allow creating folders and the "New folder from selected" is a way of creating a new folder then moving selected items inside, therefore shouldn't be allowed.
2024-04-05Linux viewer (ReleaseOS) resurrection (#1099)Nicky Dasmijn
Co-authored-by: AiraYumi <aira.youme@airanyumi.net>
2024-04-03viewer#1114 Expose max impostors setting in basic graphics preferencesAndrey Kleshchev
2024-04-02Revert "Remove gender-based restrictions on shape and physics sliders"Andrey Lihatskiy
This reverts commit 1ebd23ffed912a5c8c94d109f37a2c25cf169523.
2024-04-02viewer#1104 Crash at populateFoldersListAndrey Kleshchev
Ensure folder creation callbacks remain alive
2024-04-02triage#150 on OSX any file can be chosen for model uploadAndrey Kleshchev
2024-03-27viewer#1061 Altitudes are invisible in region's environmentAndrey Kleshchev
2024-03-27Merge pull request #1063 from secondlife/marchcat/b-mergeAndrey Lihatskiy
Merge main into maint B
2024-03-27viewer-private#131 landmark panel closes after a renameAndrey Kleshchev
if destination was changed
2024-03-27Merge branch 'main' into marchcat/b-mergeAndrey Lihatskiy
2024-03-27Merge remote-tracking branch 'origin/main' into DRTVWR-588-maint-WAndrey Lihatskiy
# Conflicts: # .github/workflows/build.yaml
2024-03-26viewer#1016 Incorrect behavior of Physics Shapes renderingAndrey Kleshchev
2024-03-26Increment viewer version to 7.1.5Nat Goodspeed
following promotion of secondlife/viewer #650
2024-03-25viewer-private#217 Rotate cef log fileAndrey Kleshchev
2024-03-25viewer-private#216 Viewer fails to rename vivox logsAndrey Kleshchev
2024-03-15viewer#970 Fixed param validation warningsAndrey Kleshchev
2024-03-14viewer#945 Some worn items are missing from Avatar floater's Outfits tabAndrey Kleshchev
2024-03-12Remove invalid text color parameter from login screen #960 (#972)nerodevo
Removed parameter since 'Remember me' isn't using color emphasis. If emphasis color is desired, then let me know if 'Remember me' should use same color emphasis for consistency.
2024-03-08Remove gender-based restrictions on shape and physics slidersJamesFoxpaws
2024-03-06secondlife/viewer-issues#75: Remove "HTTP Textures" setting in Developer menuCosmic Linden
2024-03-05Issue #54 LLRender::init crashAndrey Kleshchev
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-03-02Revert "Update emoji_categories in Polish translation to slightly more ↵Andrey Kleshchev
correct erms..." This reverts commit 60debe828b87c33fdbd33e3a5fcef423e544fe55.
2024-03-01Update emoji_categories in Polish translation to slightly more correct erms...Pantera Północy
2024-03-01Merge remote-tracking branch 'origin/main' into release/gltf-maint2Brad Linden
2024-03-01Merge branch 'main' into DRTVWR-588-maint-WAndrey Lihatskiy
2024-03-01Increment viewer version to 7.1.4Nat Goodspeed
following promotion of secondlife/viewer #673
2024-02-27Issue#900 Crash at LLInventoryAddItemByAssetObserverAndrey Kleshchev
2024-02-21SL-20469 Crash at dead mRootVolp in getAttachedAvatar()Andrey Kleshchev
2024-02-12#779 Emoji picker is an unintuitive UX disasterAlexander Gavriliuk
2024-02-09#68 The 'Recently used emoji' can not be selected by the 'Tab' keyAlexander Gavriliuk
2024-02-09#746 BugSplat Crash: LLAccordionCtrlTab::showAndFocusHeader(873)Alexander Gavriliuk
2024-02-08Build fix for Visual Studio patchAlexander Gavriliuk
2024-02-08SL-20363 Add Advanced option 'Debug Unicode'Alexander Gavriliuk
2024-02-07Issue #56 Redirect Help>Report Bug to Canny instead of JiraAndrey Kleshchev
2024-02-02Issue #26 Support texture drop onto PBR materialsAndrey Kleshchev
2024-01-31Issue #24 GLTF material disappears from object playing mediaAndrey Kleshchev
Check texture type, if media is stopped, it won't be a MEDIA_TEXTURE
2024-01-30Issue #696 RenderResolutionDivisor no longer worksAndrey Kleshchev
resizeScreenTexture works if gResizeScreenTexture is true or render target was resized
2024-01-26SL-20669 Fix missed uuidAndrey Kleshchev