Commit Graph

30 Commits (800eedb1959898461e97cc4d25c777c7dcc0fdfb)

Author SHA1 Message Date
Ansariel 21809adba0 FIRE-29649: Crash when opening spellcheck settings 2020-06-01 16:31:27 +02:00
Ansariel d79b79fbe2 Merge viewer-ordered-shutdown 2019-10-19 03:16:10 +02:00
andreykproductengine 2752e342f6 DRTVWR-493 LLSpellcheck doesn't need separate init 2019-06-27 22:14:52 +03:00
Ansariel 799309f890 Merge viewer-64 2018-01-04 13:09:03 +01:00
Nat Goodspeed 5002bf5660 MAINT-8087: Use env vars from VMP for AppData\Roaming and Local.
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-12-20 22:51:26 -05:00
Ansariel dd69a22834 Merge viewer-bear 2017-01-27 09:42:51 +01:00
Mnikolenko Productengine 5d7c5ea4d2 MAINT-7059 [contribution] Import of custom spellcheck dictionary fails silently 2017-01-18 12:20:55 +02:00
Ansariel 481c141ce6 FIRE-20725: Import of custom spellcheck dictionary doesn't work 2017-01-13 19:04:29 +01:00
Ansariel 3192fe832f Merge viewer-quickgraphics 2016-03-08 01:41:31 +01:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Oz Linden 5c6cf3e7fb restore the ll[io]fstream because we need them as wrappers on Windows for wide char paths; on other platforms they are now just typedefs to the std classes 2015-04-10 11:02:37 -04:00
Oz Linden 8b42c7898e replace llifstream and llofstream with std::ifstream and std::ofstream respectively 2015-04-07 17:59:28 -04:00
Oz Linden 3a57b18896 convert llifstream and llofstream to std::ifstream and std::ofstream respectively 2015-04-07 17:28:05 -04:00
Nicky 006190f2a1 Merge with tools update. 2015-05-05 13:09:27 +02:00
Oz Linden ddd5659f81 merge changes for DRTVWR-294 2013-04-19 10:11:29 -04:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Don Kjer 54cdc322b8 Fixing issues with not detecting when LLSD XML parsing fails. Changing most http error handlers to understand LLSD error responses. Fleshing out most http error handler message spam. 2013-03-05 22:05:22 -08:00
Tank_Master d4640277d0 Merge LL 3.5.3 release. 2013-07-09 16:24:58 -07:00
Tank_Master 1d43cb8943 Merge SSB push 4 2013-03-08 17:54:49 -08:00
Liny 0ec75cd9ea Copy dictionaries to a place where the viewer can find them if ran from visual studio 2012-10-17 12:27:49 -07:00
Kitty Barnett 8ef14ffb29 STORM-1887 FIXED Added words are not saved in dictionaries if main dictionary was reselected
The user's custom dictionary and ignore list are now independent of the primary dictionary.
2012-06-19 21:48:45 +02:00
Kitty Barnett d96d3d5256 STORM-276 Added the ability to remove (user-installed) dictionaries 2012-06-11 17:37:06 +02:00
Kitty Barnett 53bd3ada86 STORM-276 Distinguish between default dictionaries and user-installed dictionaries 2012-06-11 16:04:24 +02:00
Kitty Barnett 80b1a2c0a8 STORM-276 Insert braces around if/for/while loops 2012-06-11 13:39:45 +02:00
Kitty Barnett 20210455f5 STORM-276 Dictionary import functionality and floater 2012-06-04 16:10:32 +02:00
Kitty Barnett 76234b4825 STORM-276 FIXED "Add to Ignore" doesn't trigger 2012-05-31 17:08:14 +02:00
Kitty Barnett e615660823 STORM-276 Differentiate between primary and secondary dictionaries 2012-02-09 22:02:32 +01:00
Kitty Barnett 60e39343b1 STORM-276 Reworked the spell check preferences to be more robust and less error-prone 2012-02-14 21:48:22 +01:00
Kitty Barnett 49e0c38ee8 STORM-276 Added preferences panel 2012-02-03 19:45:00 +01:00
Kitty Barnett 9c66ac87fd STORM-276 Basic spellchecking framework 2012-01-20 18:06:32 +01:00