Commit Graph

24 Commits (9fdca96f8bd2211a99fe88e57b70cbecefa20b6d)

Author SHA1 Message Date
Ansariel 9fdca96f8b Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h and llunittype.h for now 2024-07-08 20:27:14 +02:00
Ansariel b42f9d836b Re-enable a lot of compiler warnings for MSVC and address the C4267 "possible loss of precision" warnings 2024-06-01 15:49:26 +02:00
Andrey Lihatskiy 1b68f71348 #824 Process source files in bulk: replace tabs with spaces, convert CRLF to LF, and trim trailing whitespaces as needed 2024-04-29 07:56:09 +03:00
Mnikolenko Productengine 9114d7a524 SL-13364 FIXED Viewer crashes when opening Spell Check floater when "SpellCheck" is FALSE 2020-06-03 15:37:08 +03:00
andreykproductengine 2752e342f6 DRTVWR-493 LLSpellcheck doesn't need separate init 2019-06-27 22:14:52 +03: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
Mnikolenko Productengine 5d7c5ea4d2 MAINT-7059 [contribution] Import of custom spellcheck dictionary fails silently 2017-01-18 12:20:55 +02: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
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
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