lyx_mirror/development
Jean-Marc Lasgouttes 81d863fd41 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-12 12:14:06 +01:00
..
attic Move layout editor zombie to attic. 2012-10-01 17:14:34 +02:00
autotests Add an autotest for #8540 2013-02-07 03:42:14 -05:00
cmake Fix bug #8537: LyX creates the environment variable LC_ALL 2013-02-12 12:14:06 +01:00
coding Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
cygwin Setup .gitignore for generated files 2012-03-22 02:16:12 +01:00
HTML Update HTML notes again. 2011-04-03 13:38:05 +00:00
keystest Next keystest patch from John McCabe-Dansted. 2010-01-06 22:11:59 +00:00
lyxserver Remove obsolete source file. 2010-02-18 09:58:20 +00:00
MacOSX use MKDIR_P macro 2013-02-03 19:26:21 +01:00
mathmacros * description of the math macro implementation 2008-03-15 10:54:26 +00:00
tools Handle text-only wasy symbols correctly. 2013-01-10 21:22:54 +01:00
Win32 installer: add cbgreek and lh fonts to the package list 2013-01-29 23:25:14 +01:00
.gitignore Setup .gitignore for generated files 2012-03-22 02:16:12 +01:00
expectedTestFailures Create a file to document expected test failures 2013-02-07 04:50:07 -05:00
FORMAT Introduce new beamer frame layouts 2012-12-31 13:00:46 +01:00
LyX-Mac-binary-release.sh Prepare LyX code to compile and link with Qt5: 2013-02-03 19:26:21 +01:00
lyx.package.README Creat source package with 'make package_source' from inside the build directory 2011-05-23 08:44:32 +00:00
lyx.rpm.README Typos 2012-06-05 12:22:13 +02:00
lyx.spec.in Update version strings 2010-03-16 09:25:30 +00:00
Makefile.am Add script for automatic toolbar image creation. 2012-12-16 14:44:18 +01:00