Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-20 | Merge branch 'master' into DRTVWR-501-maint | Andrey Lihatskiy | |
# Conflicts: # autobuild.xml # indra/newview/llimprocessing.cpp | |||
2020-06-30 | SL-12085 Way to debug window message processing with logcontrol | Andrey Kleshchev | |
2020-06-23 | Reverted SL-6109 keybinding changes | Andrey Kleshchev | |
Changes were moved to DRTVWR-514 | |||
2020-06-17 | SL-12085 Debug log for show() and PeekMessage | Andrey Kleshchev | |
User's viewer freezes right after setStartupState( STATE_LOGIN_CLEANUP ) and these places are primary suspects | |||
2020-06-15 | SL-12085 Debug-log window position | Andrey Kleshchev | |
2020-05-20 | Remove last occurence of DIRECTX_INCLUDE_DIR. | Nicky Dasmijn | |
2020-05-20 | Remove DirectX.cmake. With recent SDKs (dating back to at least VS 2013 | Nicky Dasmijn | |
and the 8.1 SDK) DirectX is included in the SDK and does not need any special detection logic. | |||
2020-05-11 | DRTVWR-476: Remove /showIncludes from llwindow project. | Nat Goodspeed | |
2020-05-07 | DRTVWR-476: Whack-A-Mole not working, put switch on ALL llwindow | Nat Goodspeed | |
2020-05-07 | DRTVWR-476: Add /showIncludes to additional source files. | Nat Goodspeed | |
Having it on just one source file was frustrating because the project build failed before it reached the one source file with the switch. | |||
2020-05-07 | DRTVWR-476: Diagnostically /showIncludes for Windows SDK errors | Nat Goodspeed | |
2020-05-06 | DRTVWR-476: Merge branch 'master' of lindenlab/viewer into DRTVWR-476-boost-1.72 | Nat Goodspeed | |
2020-03-25 | DRTVWR-494: Avoid keeping iterator to destroyed temporary container. | Nat Goodspeed | |
2020-03-25 | DRTVWR-494: Defend LLInstanceTracker against multi-thread usage. | Nat Goodspeed | |
The previous implementation went to some effort to crash if anyone attempted to create or destroy an LLInstanceTracker subclass instance during traversal. That restriction is manageable within a single thread, but becomes unworkable if it's possible that a given subclass might be used on more than one thread. Remove LLInstanceTracker::instance_iter, beginInstances(), endInstances(), also key_iter, beginKeys() and endKeys(). Instead, introduce key_snapshot() and instance_snapshot(), the only means of iterating over LLInstanceTracker instances. (These are intended to resemble functions, but in fact the current implementation simply presents the classes.) Iterating over a captured snapshot defends against container modifications during traversal. The term 'snapshot' reminds the coder that a new instance created during traversal will not be considered. To defend against instance deletion during traversal, a snapshot stores std::weak_ptrs which it lazily dereferences, skipping on the fly any that have expired. Dereferencing instance_snapshot::iterator gets you a reference rather than a pointer. Because some use cases want to delete all existing instances, add an instance_snapshot::deleteAll() method that extracts the pointer. Those cases used to require explicitly copying instance pointers into a separate container; instance_snapshot() now takes care of that. It remains the caller's responsibility to ensure that all instances of that LLInstanceTracker subclass were allocated on the heap. Replace unkeyed static LLInstanceTracker::getInstance(T*) -- which returned nullptr if that instance had been destroyed -- with new getWeak() method returning std::weak_ptr<T>. Caller must detect expiration of that weak_ptr. Adjust tests accordingly. Use of std::weak_ptr to detect expired instances requires engaging std::shared_ptr in the constructor. We now store shared_ptrs in the static containers (std::map for keyed, std::set for unkeyed). Make LLInstanceTrackerBase a template parameterized on the type of the static data it manages. For that reason, hoist static data class declarations out of the class definitions to an LLInstanceTrackerStuff namespace. Remove the static atomic sIterationNestDepth and its methods incrementDepth(), decrementDepth() and getDepth(), since they were used only to forbid creation and destruction during traversal. Add a std::mutex to static data. Introduce an internal LockStatic class that locks the mutex while providing a pointer to static data, making that the only way to access the static data. The LLINSTANCETRACKER_DTOR_NOEXCEPT macro goes away because we no longer expect ~LLInstanceTracker() to throw an exception in test programs. That affects LLTrace::StatBase as well as LLInstanceTracker itself. Adapt consumers to the new LLInstanceTracker API. | |||
2019-11-10 | SL-6109 Better key and table localization support and fix for key-replacing | andreykproductengine | |
2019-10-23 | MAC build fix | andreykproductengine | |
2019-10-23 | Windows build fix | andreykproductengine | |
2019-10-22 | SL-12170 Somehow crash still happens inside __try block | andreykproductengine | |
2019-10-16 | SL-12103 More reliable memory detection | andreykproductengine | |
2019-10-09 | Downstream merge from lindenlab/viewer-manul | AndreyL ProductEngine | |
2019-10-09 | Merged in lindenlab/viewer-xcode11 | AndreyL ProductEngine | |
2019-09-25 | DRTVWR-476: Track change to NSView in Xcode 11's 10.15 SDK. | Nat Goodspeed | |
2019-09-19 | SL-3221 Safeguard against crashes in LLDXHardware | andreykproductengine | |
2019-09-11 | SL-11918 [Mac] Wheel support (horizontal scroll) | Mnikolenko ProductEngine | |
2019-09-10 | SL-11910 [Win] Horizontal scroll | andreykproductengine | |
2019-09-19 | SL-6109 Implement keybindings | andreykproductengine | |
2019-09-19 | SL-6109 Extended Key-to-string functionality | andreykproductengine | |
2019-08-13 | Merged in lindenlab/viewer-bear | AndreyL ProductEngine | |
2019-08-13 | Merged in lindenlab/viewer-lynx | AndreyL ProductEngine | |
2019-08-13 | Merged in lindenlab/viewer-release | AndreyL ProductEngine | |
2019-07-19 | SL-11592 [Mac] Fixed mouse buttons ids for correct handling. | Mnikolenko ProductEngine | |
2019-07-18 | SL-11592 [Mac] Ability to bind extra mouse buttons for push to talk | andreykproductengine | |
2019-07-18 | SL-11592 [Win] Ability to bind extra mouse buttons for push to talk | andreykproductengine | |
2019-06-24 | Merged in lindenlab/viewer-release | AndreyL ProductEngine | |
2019-06-22 | Merged in lindenlab/viewer-lynx | AndreyL ProductEngine | |
2019-06-22 | Merged in lindenlab/viewer-release | AndreyL ProductEngine | |
2019-06-20 | SL-11432 FIXED [OSX] Avatar is spinning when pressing Alt+D+Command and then ↵ | Mnikolenko ProductEngine | |
releasing D key | |||
2019-06-04 | SL-11341 Skip storing the previous gamma value on Intel GPUs + more logging | AndreyL ProductEngine | |
2019-05-16 | SL-11178 FIXED [mac] Viewer crashes if another app gets focus before viewer ↵ | Mnikolenko ProductEngine | |
window is created | |||
2019-05-08 | Merged in lindenlab/viewer-release | AndreyL ProductEngine | |
2019-04-15 | SL-10888 Fixed OSX mouse issues in HiDPI mode | AndreyL ProductEngine | |
2019-04-08 | SL-10907 getWidthF32 crash in fonts | andreykproductengine | |
2019-04-02 | Merged in lindenlab/viewer-release | AndreyL ProductEngine | |
2019-03-01 | Merged in lindenlab/viewer-release | AndreyL ProductEngine | |
2019-03-01 | Merged in lindenlab/viewer-release | AndreyL ProductEngine | |
2019-02-08 | Fix issue where gamma was being corrupted on windows with night light enabled | Drake Arconis | |
2019-01-14 | Merged in ruslantproductengine/viewer-cougar-4cr-5 (pull request #41) | Andrey Lihatskiy | |
SL-10176 - [Love Me Render] MacOS Quit / Shutdown crash Approved-by: Andrey Lihatskiy <andreylproductengine@lindenlab.com> | |||
2019-01-14 | - remove getDeviceScaleFactor() and replace it to getSystemUISize() ↵ | ruslantproductengine | |
according Ansariel note | |||
2018-12-11 | SL-10153: Fix OSMessageBoxWin32() to handle non-ASCII text. | Nat Goodspeed | |
2018-12-11 | SL-10176 - [Love Me Render] MacOS Quit / Shutdown crash | ruslantproductengine | |