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 More careful NSAutoreleasePool management 2014-08-26 08:22:12 +02:00
mythes
tests support tests do not need QtGui anymore 2015-03-29 12:56:38 +02:00
.gitignore
AppleScript.h
AppleScript.m Updates to AppleScript support, and documentaoin for it. 2014-03-05 15:46:27 -05:00
AppleScriptProxy.cpp Fix whitespace 2012-12-17 21:38:55 +01:00
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 Fix bug #9193: Spacing modification not exact 2014-07-12 19:12:08 +02:00
convert.h
copied_ptr.h
debug.cpp This is the result of an audit of all static variables, looking 2014-04-21 11:51:57 -04:00
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 Make encoding conversions thread safe 2013-10-10 21:20:44 +02:00
docstring.h Remove gcc 3 traces 2015-05-10 10:01:33 +02:00
environment.cpp This is the result of an audit of all static variables, looking 2014-04-21 11:51:57 -04:00
environment.h Fix bug #8537: LyX creates the environment variable LC_ALL 2013-02-12 12:14:06 +01:00
ExceptionMessage.h Add a bunch of comments about the different exceptions. 2013-04-25 17:22:07 -04:00
FileMonitor.cpp
FileMonitor.h
FileName.cpp remove duplicated include 2015-01-08 19:55:40 +01:00
FileName.h Remove unsafe method FileName::tempName() 2014-06-09 13:05:50 +02:00
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 Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
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 Implement native reading of mo files. 2013-05-30 22:10:01 +02:00
gettext.h Implement native reading of mo files. 2013-05-30 22:10:01 +02:00
gzstream.cpp
gzstream.h Revert "qt5: Fix use of zlib" 2013-05-14 17:34:51 +02:00
kill.cpp
lassert.cpp print callstack on assert 2014-08-27 19:48:42 +02:00
lassert.h print callstack on assert 2014-08-27 19:48:42 +02:00
limited_stack.h
lstrings.cpp Fix typo spotted by cppcheck 2014-07-05 18:01:19 +02:00
lstrings.h Fix bug #9146. 2014-06-05 17:33:25 +02:00
lyxalgo.h
lyxlib.h
lyxtime.cpp Rename misleading function name from_gmtime() to form_asctime_utc() 2013-01-09 13:45:58 +01:00
lyxtime.h Rename misleading function name from_gmtime() to form_asctime_utc() 2013-01-09 13:45:58 +01:00
Makefile.am support tests do not need QtGui anymore 2015-03-29 12:56:38 +02:00
Messages.cpp Turn an error message into a Debug::LOCALE warning 2014-05-06 14:29:42 +02:00
Messages.h Fix crash at startup for tex2ylx and lyxclient 2013-05-31 11:59:52 +02:00
metahash.h
mutex.cpp Remove questionable Mutex copy code 2013-10-08 22:06:55 +02:00
mutex.h Remove questionable Mutex copy code 2013-10-08 22:06:55 +02:00
numpunct_lyx_char_type.h
os_cygwin.cpp Fix compatibility issue with 64-bit cygwin. 2014-07-11 16:49:10 +02:00
os_unix.cpp FSPathMakeRef is deprecated: use LSOpenFromURLSpec instead of LSOpenFromRefSpec 2014-08-24 12:49:34 +02:00
os_win32.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
os_win32.h
os.cpp This is the result of an audit of all static variables, looking 2014-04-21 11:51:57 -04:00
os.h Fix problem with python and change of PATH 2014-03-29 22:19:03 +01:00
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 Remove unused Mac specific code 2013-02-12 12:29:33 +01:00
PathChanger.h Remove unused Mac specific code 2013-02-12 12:29:33 +01:00
pch.h
pmprof.h Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
ProgressInterface.h On Linux show in crash message box the backtrace 2014-06-14 11:25:25 +02:00
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 Comment some headers before I ditch them again. 2012-11-18 17:42:32 +01:00
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 Make ASCII test more explicit. 2012-12-30 20:52:49 +01:00
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 Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
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 Make IconvProcessor::Impl noncopyable 2014-07-01 22:23:06 +02:00
unicode.h Make IconvProcessor::Impl noncopyable 2014-07-01 22:23:06 +02:00
userinfo.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
userinfo.h
weighted_btree.h