]> git.lyx.org Git - features.git/commit
Save the document directory path only if explicitly allowed.
authorEnrico Forestieri <forenr@lyx.org>
Sat, 23 May 2015 15:49:33 +0000 (17:49 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Sat, 23 May 2015 15:49:33 +0000 (17:49 +0200)
commit260a98d295c54ba1009236cf7101a76cba20bd03
tree2fdb14433a146992ee34ab607fabb1249cdbaa51
parentbe6a6d76afea971757fffbbf81367abda199fa1f
Save the document directory path only if explicitly allowed.

A new preference is introduced for allowing the record of the document
directory path in the saved file. Without explicit consent, it is not saved.
If the origin tag contains an invalid/wrong path or garbage, LyX behaves
exactly as before, i.e., included files are simply not found.
src/BufferParams.cpp
src/LyXRC.cpp
src/LyXRC.h
src/frontends/qt4/GuiPrefs.cpp
src/frontends/qt4/ui/PrefDocHandlingUi.ui