fixes:
- LyX uses for a decimal alignment a multicolumn and having for a cell a multicolumn _and_ a multirow is invalid LaTeX. Therefore do not allow to set table cells to this in the dialog.
- It was impossible to unset a decimal alignment via the context menu or toolbar button.
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.
This bug was reported against the ubuntu build:
https://bugs.launchpad.net/bugs/1100046
Additionally, some extra code for avoiding double undo entries has
been removed, since this is handled by grouped undo now.
- we would need to check for a font but this doesn't work in branch. To Thus the current check is senseless because it will always fail, see #8522. Therefore I revert its addition to keep branch clean.
Note the check for wasy in branch shows the same problematic but it is there for ages.
This reverts commit 56da307e19.
Revert the achemso.layout changes because they were not that pressing (preamble stuff was supported via styles).
For modernCV I don't see another way than to let it in because it is not working as it was, neither with TeXLive 2012 nor with MiKTeX and therefore in most cases unusable
Reordering citations is one case where catching "Citation undefined
on page ..." doesn't catch the need for a bibtex rerun. This patch
ensures the proper ordering is obtained in pdf output without having
to resort to closing and reopening the LyX document.
- also change the checking order to get an at least partially working LyX if the Internet connection breaks during the installation of missing packages