summaryrefslogtreecommitdiff
path: root/indra/newview/llpresetsmanager.cpp
AgeCommit message (Collapse)Author
2024-05-01Merge branch 'marchcat/w-whitespace' into marchcat/x-ws-mergeAndrey Lihatskiy
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
2023-11-13SL-20277 ignore both settings when loading camera presetMaxim Nikolenko
2023-09-11SL-20277 remove settings from camera presetsMnikolenko Productengine
2022-06-21SL-17635 remove unused variablesMaxim Nikolenko
2020-04-28SL-13133 Numerical camera preset names sorting order fixAndrey Lihatskiy
2020-04-20SL-12904 FIXED Camera Preset does not restore correctly when sittingMnikolenko Productengine
2020-04-10SL-12994 FIXED [Camera Presets] Zoom fraction should be saved as a part of ↵Mnikolenko Productengine
Camera preset, not as separate setting
2020-04-07SL-12991 [Camera Presets] Sort all Camera preset lists in the same wayMnikolenko Productengine
2020-04-07SL-12991 [Camera Presets] Sort all Camera preset lists in the same wayMnikolenko Productengine
2020-01-30SL-12618 FIXED The camera zoom position is incorrect after selecting the ↵maxim_productengine
preset in some cases
2020-01-08SL-12510 Revert changes and separate 'Save Graphic Preset' floaterMnikolenko Productengine
2019-12-18SL-12424 WIP Save mousewheel zoom fraction in presetmaxim_productengine
2019-12-10SL-12429 Use different setting name to prevent crash on old viewermaxim_productengine
2019-11-19SL-12186 Don't copy templates from app_settings directory, because it's ↵maxim_productengine
excessive
2019-11-15SL-12186 Correctly populate list after creating default presetsmaxim_productengine
2019-11-13SL-12186 WIP Get rid of excessive offset settings as we moved to store data ↵maxim_productengine
in xml
2019-11-13SL-12186 WIP Use appropriate offset names when saving presetsmaxim_productengine
2019-11-12SL-12186 WIP Added ability to reset default presets and updated item list in ↵maxim_productengine
'My camera presets' floater
2019-11-08SL-12186 WIP Add new 'My camera presets' floatermaxim_productengine
2019-11-08SL-12186 WIP Minor updates for 'Camera controls' and 'Save preset' floatersmaxim_productengine
2019-11-04SL-12186 WIP Updating UI for camera controls, including presetsMnikolenko Productengine
2019-10-29Fix crash on startup and restore missing settingsMnikolenko Productengine
2019-03-12Backout tabs v spaces changes.Graham Linden
'warn-on-failure:no-tabs'
2019-03-11Tabs -> spaces.Graham Linden
2018-09-26Merge to 5.2.0Graham Linden
2018-08-22MAINT-8926 Don't allow overwritting default presetandreykproductengine
2018-01-30disambiguate boost list assignment by using a const for the valueOz Linden
2018-01-19merge changes for 5.1.0-releaseOz Linden
2018-01-18STORM-2145 Use string constant rather than a hardcoded string.Jonathan Yap
2018-01-16STORM-2145 Deal with preset files with spaces correctlyJonathan Yap
2018-01-16STORM-2145 Change line ending type of preset filesJonathan Yap
2018-01-15STORM-2145 Get current preset indicator to work properlyJonathan Yap
2018-01-14STORM-2145 Added copying of initial preset filesJonathan Yap
2018-01-13STORM-2145 Added a small floaterJonathan Yap
2018-01-12STORM-2145 Merge up to viewer-releaseJonathan Yap
2017-12-20MAINT-8087: Use env vars from VMP for AppData\Roaming and Local.Nat Goodspeed
On Windows, when logged in with a non-ASCII username, every one of the three documented APIs -- SHGetSpecialFolderPath(), SHGetFolderPath() and SHGetKnownFolderPath() -- fails to retrieve any pathname at all. We cannot account for the fact that the oldest of these continues to work with the release viewer and within a Python script (though not, curiously, from a Python interactive session). With a non-ASCII username, they consistently fail when called from an Alex Ivy viewer build: "The filename, directory name, or volume label syntax is incorrect." Empirically, with a non-ASCII username, the preset APPDATA and LOCALAPPDATA environment variables are also useless, e.g. c:\Users\??????\AppData\Roaming where those are, yup, actual question marks. Empirically, the VMP is able to successfully call SHGetFolderPath() to retrieve both AppData\Roaming and AppData\Local. Therefore, we make the VMP set the APPDATA and LOCALAPPDATA environment variables to the UTF-8 encoded correct pathnames. Instead of calling SHGetSomethingFolderPath() at all, make LLDir_Win32 retrieve those environment variables. Make LLFile::mkdir() treat "directory already exists" as a success case. Every single call fell into one of two categories: either it didn't check success at all, or it tested specially to exempt errno == EEXIST. Migrate that test into mkdir(); eliminate it from call sites. Make LLDir::append() and add() convenience functions accept variadic arguments. Replace add(add()...) constructs, as well as clumsy concatenations of directory names and getDirDelimiter(), with simple variadic add() calls.
2017-05-08DRTVWR-418: Fix vector assignment for C++03.Nat Goodspeed
For the time being we're still compiling for production with C++03. Although assigning an initializer list to a vector is valid C++11, in C++03 mode clang rejects it.
2017-02-23STORM-2145 Camera Presets -- some initial workJonathan Yap
2017-02-23DRTVWR-418: Fix a round of compile errors surfaced by -std=c++11.Nat Goodspeed
These are mostly things that were in fact erroneous, but accepted by older compilers. This changeset has not yet been built with Visual Studio 2013 or Linux gcc, even with -std=c++11. This changeset has not been built *without* -std=c++11. It should be used in conjunction with a corresponding change to LL_BUILD_DARWIN_BASE_SWITCHES in viewer-build-variables/variables. This is a work in progress. We do not assert that this changeset completes the work needed to turn on -std=c++11, even on the Mac.
2016-10-12MAINT-6813 Opening Preferences floater takes too much time to open on login ↵Mnikolenko Productengine
screen on some machines
2016-07-05MAINT-6550 Graphic preset name including "\" causes preset to be unusable & ↵Mnikolenko Productengine
preset cannot be deleted.
2016-05-27MAINT-6435 Deafult preset should set the same settings as the "Reset to ↵AndreyL ProductEngine
recommended settings" button
2016-03-23improve settings error log, and make type conversion methods staticOz Linden
2016-02-19FIXED Graphics presets do not work properly when localized "Default" stringAnsariel
2015-09-28MAINT-5542: fix initialization of Default graphics preset so that it is ↵Oz Linden
selectable
2015-08-19STORM-2120 Make graphics presets account specificOz Linden
2015-06-19workarounds to get this building again; note: review mute list caching ↵Oz Linden
change before promoting
2015-02-19STORM-2082 Fix edge case bugJonathan Yap
2015-01-21STORM-2082 Put "Default" at the top of the non-Delete comboboxes.Jonathan Yap