summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-07-27SL-20053: Fix sometimes unable to unset a PBR material on a prim.Cosmic Linden
Caused by inventory item asset IDs being null. Seems suspicious. But working around it for now seems best.
2023-07-27SL-18396 PBR and blinn phong should not be allowed to be edited togetherAndrey Kleshchev
2023-07-27SL-19958 An inventory material without asset should default to a blank ↵Andrey Kleshchev
material #2
2023-07-27SL-18720 getDataBegin() and stateSort() crashesAndrey Kleshchev
No repro, but likely cause is in mOctreeNode being NULL. Marked octree group as dead when destroyed and added isDead verification
2023-07-27SL-18619 Eyes not rendering in Shape floater thumbnailsAlexander Gavriliuk
2023-07-25DRTVWR-559 Fix for depth of field causing alpha objects to poke holes in water.RunitaiLinden
2023-07-22Fix FreeBSD login problem by checking endiannessErik Kundiman
Even though the account was logged in, it would get stuck at getting region handshake. The problem was because the viewer wasn't getting the acknowledgement to the successfully sent UseCircuitCode message. I compared the message data, and it differed (from Linux) on the byte order of the Code variable (the SessionID & agent ID were right). The bytes sent to the network weren't reversed (and I was on an Intel processor).
2023-07-21Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559RunitaiLinden
2023-07-21SL-20010 Make reflection probes ignore touch actions.RunitaiLinden
2023-07-20SL-20043 notification shouldn't persist between sessionsMnikolenko Productengine
2023-07-20SL-20042 remove extra space from the message textMnikolenko Productengine
2023-07-20SL-19948 Update estate manager and ban list limits to match new values from ↵Andrey Lihatskiy
simulator
2023-07-19Merge pull request #296 from secondlife/SL-20036cosmic-linden
SL-20036: Set probe ambiance to 0 for legacy midday
2023-07-19SL-20036: Set probe ambiance to 0 for legacy middayCosmic Linden
2023-07-19DRTVWR-559 Fix for shadows not respecting double sided on opaque PBR surfacesRunitaiLinden
2023-07-19Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559RunitaiLinden
2023-07-19SL-19977 Fix for glow not getting applied to both sides of double sided alphaRunitaiLinden
2023-07-19FreeBSD gets what Darwin & Linux do on dir pickersErik Kundiman
Though without this, the viewer had still successfully built, and I didn't experience any run-time problem yet. This commit is to anticipate any directory picker related problem later, cause it seems very likely that this is needed.
2023-07-19Add FreeBSDLocalesErik Kundiman
2023-07-19FreeBSD uses Linux's feature tableErik Kundiman
instead of letting it fallback to the default which would be Window's. When using the default, somehow the viewer launched with no colours even after resetting ~/.secondlife/user_settings/settings.xml.
2023-07-19No dangling gsl warning on newview with ClangErik Kundiman
2023-07-19vefifySSLCert truth is enough for setVerifySSLHostErik Kundiman
The function takes a boolean argument anyway. This is so we don't get GCC int in bool context warning which would be treated as an error.
2023-07-19Comment out unused variables whether set or notErik Kundiman
Otherwise GCC would treat them as errors, if not suppressed.
2023-07-19FreeBSD can use llappviewerlinux tooErik Kundiman
2023-07-19FreeBSD can use lldir_linux tooErik Kundiman
2023-07-19Stubs for missing implementations that use GTKErik Kundiman
in order to get rid of undefined references to `LLFilePicker::getOpenFileModeless(LLFilePicker::ELoadFilter, void (*)(bool, std::vector<std::string, std::allocator<std::string> >&, void*), void*)' `LLFilePicker::getMultipleOpenFilesModeless(LLFilePicker::ELoadFilter, void (*)(bool, std::vector<std::string, std::allocator<std::string> >&, void*), void*)' `LLFilePicker::getSaveFileModeless(LLFilePicker::ESaveFilter, std::string const&, void (*)(bool, std::string&, void*), void*)' The UI has been relying on modeless file operations. UI implementations for Linux would fall within the GTK scope, and there haven't been implementations for these three methods yet. Even know they're defined using member functions that do nothing, and return boolean false.
2023-07-19FreeBSD gets what Linux does in file pickerErik Kundiman
2023-07-19FreeBSD gets handled too in llappviewer.cppErik Kundiman
Mostly following Linux.
2023-07-19Obtain Vorbis & Ogg flags when using system libsErik Kundiman
On some platforms, pkg-config --libs vorbis might not necessarily imply -logg. vorbisenc & vorbisfile need their own checks anyway.
2023-07-19Boost since 1.76 already internally includes v5Erik Kundiman
Including v4 would cause conflicts.
2023-07-19Fix lod variable name (supposed to be which_lod?)Erik Kundiman
2023-07-19Disable packages info when using system librariesErik Kundiman
For now. Maybe.
2023-07-19Pass texture entry pointer instead to copyTextureErik Kundiman
Otherwise on GCC the -Waddress & -Wno-nonnull-compare warnings would be treated as errors. It's a different term on Clang, which is undefined bool conversion. On Clang it's just a warning, but on AppleClang it's treated as an error. Rather than suppressing these warnings, I think it's better to just adjust the interface of copyTexture, since it isn't called that many times.
2023-07-19Undefine Status on FreeBSD tooErik Kundiman
Otherwise we'd get this. error: declaration of anonymous struct must be a definition struct Status ^ indra/llcommon/llprocess.h:284:2: warning: declaration does not declare anything [-Wmissing-declarations]
2023-07-19Mac frameworks not linked for "the remaining" OSesErik Kundiman
2023-07-19stricmp needs to be defined on FreeBSD tooErik Kundiman
2023-07-19FreeBSD follows Darwin & Linux on llpluginErik Kundiman
2023-07-19Use C++14 specifically on DAE loaderErik Kundiman
When using system vanilla COLLADA DOM, it still uses std::auto_ptr which is deprecated in C++17.
2023-07-19Cast COLLADA dom instance as instructed on its docErik Kundiman
which can be found too in the system COLLADA DOM headers.
2023-07-19DAE class declarations are when not on system libsErik Kundiman
cause they would cause ambiguity with system COLLADA DOM classes.
2023-07-19Include standard library array headerErik Kundiman
as it's not implied on some platforms that std::array would be unrecognised.
2023-07-19Fix what GCC considers as misleading indentationsErik Kundiman
The style conventions aren't really being followed that the different styles of using tabs or spaces as indentations lead to GCC considering them as misleading. It's better to just fix them (but as little as possible as to minimise this fork difference from upstream) than to supress the warnings from being treated as errors.
2023-07-19Disable g_thread_init when using system libsErik Kundiman
On GCC, compiling against a recent GTK2 version would stop on deprecated pre-processors.
2023-07-19FreeBSD has SDL keyboard & window files built tooErik Kundiman
and any Linux SDL code should be applied to FreeBSD too.
2023-07-19Explicitly mean to use boost:placeholdersErik Kundiman
Otherwise _1 and _2 would be considered undeclared in many places.
2023-07-19Include FreeBSD macro variable for GL related codeErik Kundiman
2023-07-19Stubs for missing implementations that use SDLErik Kundiman
in order to get rid of this: error: invalid new-expression of abstract class type ‘LLWindowSDL’ fullscreen, clearBg, enable_vsync, use_gl, ignore_pixel_depth, fsaa_samples); note: because the following virtual functions are pure within ‘LLWindowSDL’: class LLWindowSDL : public LLWindow ^~~~~~~~~~~ virtual void* createSharedContext() = 0; ^~~~~~~~~~~~~~~~~~~ virtual void makeContextCurrent(void* context) = 0; ^~~~~~~~~~~~~~~~~~ virtual void destroySharedContext(void* context) = 0; ^~~~~~~~~~~~~~~~~~~~ virtual void toggleVSync(bool enable_vsync) = 0; ^~~~~~~~~~~ The window has been relying on some, mostly GL context related, methods. These methods are declared abstract, so for now they're implemented using member functions that do nothing, return nothing.
2023-07-19Use system SDL on FreeBSD tooErik Kundiman
X11 is still required too, that's why it's still added for linking. On Darwin, SDL is disabled for now.
2023-07-19Set so int in bool context isn't an error on GCCErik Kundiman
and only on a specific file.
2023-07-19System OpenJPEG headers are encapsulatedErik Kundiman
For now the directory name is hardcoded since v2.5.0 is the latest and the viewer code already depends on a certain function from that version. So for now it's safe to assume that the directory name's suffix is 2.5.