lyx_mirror/development
Jean-Marc Lasgouttes d2ea4aaebb Fix bug #8537: LyX creates the environment variable LC_ALL
The current code is not able to unset an environment variable, only to set it to an empty value. This patch refactors a bit the Message class and uses a new EnvChanger helper class that allows to change temporarily an environment variable and that is able to unset variables if needed.

The patch also adds new functions hasEnv and unsetEnv in environment.cpp.

Open issues:
 * there may be systems where unsetenv is not available and putenv("name=") does not do the right thing;
 * unsetenv may lead to leaks on some platforms.
 * when using unsetenv, we may need to remove strings from the internal map that setEnv uses.
2013-02-15 18:23:48 +01:00
..
attic Move old file into attic 2010-04-16 17:06:16 +00:00
autotests Fixing behavior of Lang directive in test cases, by setting LANGUAGE variable, in addition to LANG one. 2012-12-09 20:20:05 +00:00
cmake Fix bug #8537: LyX creates the environment variable LC_ALL 2013-02-15 18:23:48 +01:00
coding Fix bibliography indentation throughout LyX 2.0 source (part of #7458). 2013-01-12 08:38:45 +01:00
cygwin Setup .gitignore for generated files, now for branch. 2012-03-23 14:14:34 -04:00
HTML Update HTML notes again. 2011-04-03 13:38:05 +00:00
keystest
lyxserver Remove obsolete source file. 2010-02-18 09:58:20 +00:00
MacOSX Add property list entries for high resolution display on Mac 2012-09-30 11:31:03 +02:00
mathmacros
qmake * lyx.pro: remove non-existant files. 2011-03-19 13:16:45 +00:00
scons scons/scons_manifest.py: not that developers are using SCons anymore but we should keep the branch compilable 2012-03-03 12:50:45 +00:00
tools Fix a couple issues with the lyx-build script. 2012-11-03 18:54:10 -04:00
Win32 Windows installer: Update code for QtPlugins 2012-05-13 21:00:40 +02:00
.gitignore Setup .gitignore for generated files, now for branch. 2012-03-23 14:14:34 -04:00
FORMAT FORMAT for last change. 2011-02-15 18:05:01 +00:00
LyX-Mac-binary-release.sh do not use config.guess anymore 2012-01-26 15:30:58 +00:00
lyx.package.README
lyx.rpm.README Update version strings 2010-03-16 09:25:30 +00:00
lyx.spec.in Update version strings 2010-03-16 09:25:30 +00:00
Makefile.am package python script 2011-11-26 10:02:48 +00:00