lyx_mirror/src/support
Enrico Forestieri 306b136cc0 Fix bug #4812 (Layout in local directory lost on Save As, Copying)
The "save-as" part of the bug is fixed by extending the \textclass tag
such that, if a local layout file is used, its path relative to the
document directory is now stored together with the name. If a relative
path cannot be used, an absolute one is used but, in this case, the
document is not usable on a different platform.

The "copy" part is fixed by introducing a new \origin tag, which is
written when the file is saved. This tag stores the absolute path of
the document directory. If the document is manually copied to a
different location, the local layout file is retrivied by using
\origin (which is only updated on save).
This new tag may prove useful also for locating other files when the
document is manually moved to a different directory.

As in the original implementation the files needed for the layout
(for example, a latex class) had to be in the same directory as the
layout file, this directory has also to be added to TEXINPUTS.
2015-05-13 22:02:13 +02:00
..
linkback
mythes
tests support tests do not need QtGui anymore 2015-03-29 12:56:38 +02:00
.gitignore
AppleScript.h
AppleScript.m
AppleScriptProxy.cpp
AppleSpeller.h
AppleSpeller.m Drop runtime support for OS X 10.5 NSSpellChecker 2014-12-23 18:19:27 +01:00
bind.h Get rid of tr1 support 2014-12-23 22:18:08 +01:00
CMakeLists.txt Cmake build: QtGui now needed also for filetools.cpp 2015-03-13 14:22:12 +01:00
ConsoleApplication.cpp Start qt event loop for commandline usage 2015-01-11 14:06:17 +01:00
ConsoleApplication.h ConsoleApplication: Fix typos 2015-01-13 21:59:39 +01:00
ConsoleApplicationPrivate.h Start qt event loop for commandline usage 2015-01-11 14:06:17 +01:00
convert.cpp
convert.h
copied_ptr.h
debug.cpp
debug.h Improve llvm libc++ detection 2014-12-21 17:26:21 +01:00
docstream.cpp Remove gcc 3 traces 2015-05-10 10:01:33 +02:00
docstream.h Move otexstream out of support 2015-01-09 21:07:59 +01:00
docstring_list.h
docstring.cpp
docstring.h Remove gcc 3 traces 2015-05-10 10:01:33 +02:00
environment.cpp
environment.h
ExceptionMessage.h
FileMonitor.cpp
FileMonitor.h
FileName.cpp remove duplicated include 2015-01-08 19:55:40 +01:00
FileName.h
FileNameList.h
filetools.cpp Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
filetools.h Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
foreach.h
ForkedCalls.cpp Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
ForkedCalls.h Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
functional.h Get rid of tr1 support 2014-12-23 22:18:08 +01:00
gettext.cpp
gettext.h
gzstream.cpp
gzstream.h
kill.cpp
lassert.cpp
lassert.h
limited_stack.h
lstrings.cpp
lstrings.h
lyxalgo.h
lyxlib.h
lyxtime.cpp
lyxtime.h
Makefile.am support tests do not need QtGui anymore 2015-03-29 12:56:38 +02:00
Messages.cpp
Messages.h
metahash.h
mutex.cpp
mutex.h
numpunct_lyx_char_type.h
os_cygwin.cpp
os_unix.cpp
os_win32.cpp
os_win32.h
os.cpp
os.h
Package.cpp tex2lyx: Run configure.py if needed (bug #8539) 2014-12-29 23:46:25 +01:00
Package.h tex2lyx: Run configure.py if needed (bug #8539) 2014-12-29 23:46:25 +01:00
PathChanger.cpp
PathChanger.h
pch.h
pmprof.h
ProgressInterface.h
qstring_helpers.cpp
qstring_helpers.h
RandomAccessList.h
regex.h Use std::regex if possible 2014-12-28 18:08:18 +01:00
shared_ptr.h Get rid of tr1 support 2014-12-23 22:18:08 +01:00
socktools.cpp
socktools.h
strfwd.h Fix build with GNU libstdc++ C++11 ABI 2015-05-08 21:12:42 +02:00
Systemcall.cpp Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
Systemcall.h Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
SystemcallPrivate.h Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
TempFile.cpp Make sure a temporary file is always created in the global temporary dir. 2015-03-13 00:31:08 +01:00
TempFile.h Make sure a temporary file is always created in the global temporary dir. 2015-03-13 00:31:08 +01:00
textutils.h
Timeout.cpp Fix memory leak in TImer class. 2015-02-20 15:39:45 +01:00
Timeout.h Fix memory leak in TImer class. 2015-02-20 15:39:45 +01:00
Translator.h
trivstring.cpp Use typedef for std::basic_string in trivstring 2014-12-28 17:06:34 +01:00
trivstring.h Use typedef for std::basic_string in trivstring 2014-12-28 17:06:34 +01:00
types.h Improve source code documentation 2015-03-18 21:33:10 +01:00
unicode.cpp
unicode.h
userinfo.cpp
userinfo.h
weighted_btree.h