summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-28Update SDL clipboard, icon flash, and url opening handlers to use native SDL ↵Rye Cogtail
functions
2024-09-28Refresh linux featuretable with new options from windowsRye Cogtail
2024-09-28Fix using nvidia extension to get GL memory under linuxRye Cogtail
2024-09-28Merge pull request #2725 from RyeMutt/openal-crashRye Mutt
Fix shutdown crash from OpenAL failing to release a buffer
2024-09-29Linux/GCC 13 build fix for template specialization of ↵Nicky Dasmijn
pasteTextWithLinebreaks (#2729) GCC 13 did not like having a template<> inside the class body at all. Thus turn the specialization of pasteTextWithLinebreaks into a class methode pasteTextWithLinebreaksImpl.
2024-09-28Replace None and Success. Those are X11 defines and thus lead to compile errorsNicky
when compiling a Linux viewer.
2024-09-27Merge remote branch 'develop' into maxim/lua-uicallback-invokeNat Goodspeed
2024-09-27Merge pull request #2713 from secondlife/v-2638cosmic-linden
Don't clear big render target if all pixels will be replaced
2024-09-27secondlife/viewer#2638: Do clear smaa buffer due to discardCosmic Linden
2024-09-27Merge pull request #2724 from RyeMutt/deadpostprocessRye Mutt
Remove dead LLPostProcess class and related code
2024-09-27Fix shutdown crash from OpenAL failing to release a bufferRye Cogtail
2024-09-27Clean up LLCallstacks from postSortRye Cogtail
2024-09-27Clean up unused uniforms in bindDeferredShader and move SSAO uniforms to two ↵Rye Cogtail
shaders that use them
2024-09-27Remove dead llatmosphere codeRye Cogtail
2024-09-27Remove dead LLPostProcess class and related codeRye Cogtail
2024-09-27viewer#2653 fix texture readback not being called and not setting values ↵Andrey Kleshchev
properly Ex: Saving textures to hard drive sometimes fails
2024-09-27Merge pull request #2714 from secondlife/nat/xcode-16nat-goodspeed
Clean up llpointer.h per previous discussions.
2024-09-27Slightly streamline owning_ptr class definition.Nat Goodspeed
2024-09-27Introduce owning_ptr<T>; use it for JPEG2KEncode and JPEG2KDecode.Nat Goodspeed
owning_ptr<T> adapts std::unique_ptr<T> to be a better drop-in replacement for a legacy class that formerly stored plain T* data members, and explicitly destroyed them using domain-specific destructor functions. Directly substituting std::unique_ptr into JPEG2KEncode and JPEG2KDecode was cumbersome because every such pointer declaration required a redundant template parameter describing the deleter function passed into its constructor. Moreover, it required lots of little syntax tweaks: changing every assignment to a reset() call, changing every reference to a get() call. Using owning_ptr<T> allows us to leave the code more or less as it was before, save that assignment and destruction automatically handle the previous referenced T instance.
2024-09-27Add UI callback to invoke specified script via menuMnikolenko Productengine
2024-09-27#2711 Remove ALM text from About SLMaxim Nikolenko
2024-09-27#2674 Optimize LLWorld::renderPropertyLines() - LLRender class code formattingAlexander Gavriliuk
2024-09-27#2674 Optimize LLWorld::renderPropertyLines() - use vertexBatchPreTransformed()Alexander Gavriliuk
2024-09-27Linux GCC prefers the explicit std::string::assign() call.Nat Goodspeed
2024-09-27lltexlayerparams.h uses std::atomic<bool>, so #include <atomic>Nat Goodspeed
2024-09-27Try again to let Windows and Mac succeed despite Linux failure.Nat Goodspeed
2024-09-27Allow Windows and Mac builds to succeed despite Linux failure.Nat Goodspeed
2024-09-27Automate memory management in JPEG2KEncode and JPEG2KDecode.Nat Goodspeed
Instead of using strdup() and free() to store comment_text in JPEG2KEncode, store a std::string. Similarly, instead of manually managing pointers to encoder, decoder, image, stream and codestream_info in JPEG2KDecode and JPEG2KEncode, use std::unique_ptr for each, specifying their respective deleter functions.
2024-09-27Migrate ~LLPointer()'s peculiar warning case to llpointer.cpp.Nat Goodspeed
This allows removing #include "llerror.h" from llpointer.h. Also remove #include "llmutex.h" as a heavy way to get <boost/functional/hash.hpp>. That requires adding #include "llmutex.h" to llimage.h, llnotifications.h, llwatchdog.cpp and llvolumemgr.cpp, which were inheriting it from llpointer.h.
2024-09-27Fix lerp issues and eliminate flerp in favor of std::lerp (#2712)Ansariel Hiller
2024-09-26secondlife/viewer#2638: Don't clear big render target if all pixels will be ↵Cosmic Linden
replaced
2024-09-27Merge pull request #2700 from secondlife/maxim/lua-autopilot-devMaxim Nikolenko
Lua api for autopilot functions
2024-09-26Merge remote branch 'develop' into maxim/lua-autopilot-devNat Goodspeed
2024-09-26Ditch last instances of LL_LIBRARY_INCLUDE.Nat Goodspeed
2024-09-26get rid of extra LL in help textMnikolenko Productengine
2024-09-26viewer#2709 Fix loose triangleAndrey Kleshchev
2024-09-26#2411 Disable LLFontVertexBuffer for HUDAndrey Kleshchev
It needs a rework
2024-09-26Merge pull request #2689 from secondlife/rider/server_autopilotRider Linden
Honor FLAGS_SERVER_AUTOPILOT and don't locally override assigned agent rotation.
2024-09-26#2519 Move "MediaSoundsEarLocation" and "VoiceEarLocation" toggles to the ↵Andrey Lihatskiy
Communicate menu (#2707)
2024-09-26#2411 Allow disabling and enabling LLFontVertexBufferAndrey Kleshchev
for testing purposes
2024-09-26Merge remote branch 'develop' into marchcat/xcode-16Nat Goodspeed
2024-09-26Rename our lerp() to flerp(); call where MSVC balks at std::lerp().Nat Goodspeed
Now the lerp() in global namespace is std::lerp(), but it remains true that for some calls to std::lerp(), MSVC issues fatal argument conversion warnings. In those places, call flerp() (our historic lerp()) instead.
2024-09-26Remove whitespace for pre-commitAndrey Lihatskiy
2024-09-26Set continue-on-error for linux buildsAndrey Lihatskiy
2024-09-26Reinstate our lerp() function, avoid "math.h" header.Nat Goodspeed
For reasons that remain unclear, MSVC likes our lerp() function better than its own std::lerp() function: publishing the latter into the global namespace, instead of defining our own, produces fatal argument conversion warnings. "math.h" publishes all of <cmath> into the global namespace, which causes a GCC conflict between std::lerp() and our lerp() function. Including <cmath> instead leaves std::lerp() in the std namespace, eliminating the conflict.
2024-09-26Fix GCC ambiguous-reversed-operator errors for `LLKeyData` compares.Nat Goodspeed
`LLKeyData::operator==(const LLKeyData&)` and `operator!=(const LLKeyData&)` were not themselves `const` methods. In C++20, that can produce a fatal warning that if the compare operands were reversed, you'd get different results. Making them both `const` should fix it. While touching the method definitions, make `operator==()` more intuitive, and make `operator!=()` simply negate `operator==()` instead of restating it in reverse.
2024-09-26update LLListener and related scriptsMnikolenko Productengine
2024-09-26Ditch our own (conflicting) definition of the lerp() function.Nat Goodspeed
Hoist `std::lerp()` into the global namespace instead.
2024-09-26#include <cmath> rather than "math.h" to avoid lerp() conflict.Nat Goodspeed
GCC on Linux complains that "math.h", which hoists all the standard library math functions into the global namespace for classic C compatibility, creates a conflict between `std::lerp()` and the `lerp()` function in llmath.h. (Perhaps we should just replace our `lerp()` definition with `using std::lerp;`) Anyway, bringing in <cmath> rather than "math.h" leaves standard library math functions in the `std` namespace, avoiding the conflict.
2024-09-26Fix a few more fsyspath conversions, removing explicit u8string().Nat Goodspeed