lyx_mirror/src/support
Georg Baum de3e5280f6 Open tex2lyx input files with correct encoding
We open the input file now twice: The first time in latin1 encoding to read
the document encoding from the preamble. This does always work, since
traditional TeX does not allow non-ASCII contents without an encoding changing
command (except for comments, but we do not need them, and using latin1 rather
than utf8 ensures that they do not produce an iconv exception, but are simply
recored with wrong characters), and we do detect the utf8 based TeX engines
XeTeX and LuaTeX as well. The second time we open the file directly with the
document encoding.

This fixes a few tex2lyx tests on OS X, since changing the encoding of an
open file steam does not work with clang on OS X. Files using more than one
encoding are still broken, but all single-encoding files are fixed now.
2016-01-31 12:54:59 +01:00
..
linkback Avoid the use of a static NSAutoreleasePool. 2015-10-09 08:16:24 +02:00
mythes
tests Test negative numbers as well 2015-06-28 11:27:17 +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
AppleSpeller.h
AppleSpeller.m Drop runtime support for OS X 10.5 NSSpellChecker 2014-12-23 18:19:27 +01:00
bind.h Use explicit macro to declare that we want to use C++11 2015-05-20 10:19:19 +02:00
CMakeLists.txt Cmake monolithic build: Some corrections. 2015-11-17 21:21:00 +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 Assorted cppcheck fixes 2015-10-20 09:58:46 +02:00
copied_ptr.h
debug.cpp Rename function that was ambiguous from a monolithic perspective. 2015-11-16 08:20:54 +01:00
debug.h Add some missing member variable initializations 2015-09-13 19:47:21 +02:00
docstream.cpp Open tex2lyx input files with correct encoding 2016-01-31 12:54:59 +01:00
docstream.h Open tex2lyx input files with correct encoding 2016-01-31 12:54: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
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 Comment only. 2016-01-18 14:29:37 -08:00
FileName.h #7896 add support for symlink creation by the LyX binary itself 2015-06-23 08:41:43 +02:00
FileNameList.h
filetools.cpp Fix bugs #2645 (export BIBINPUTS) and #6634 (Better support for external files in ERT) 2015-11-03 23:28:36 +01: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 Use explicit macro to declare that we want to use C++11 2015-05-20 10:19:19 +02: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 Add missing intializations 2015-10-10 21:04:28 +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 Consistency of ellipses across the UI 2015-10-05 21:16:16 +01:00
lstrings.h Consistency of ellipses across the UI 2015-10-05 21:16:16 +01:00
lyxalgo.h Use explicit macro to declare that we want to use C++11 2015-05-20 10:19:19 +02:00
lyxlib.h
lyxtime.cpp
lyxtime.h
Makefile.am Remove support for precompiled headers for autotools 2015-09-25 12:05:40 +02:00
Messages.cpp Restore lyxerr number format to decimal 2015-09-12 19:38:38 +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 Convert remaining C++ files to UTF-8 2015-12-05 19:33:24 +00:00
os_cygwin.cpp Fix bugs #2645 (export BIBINPUTS) and #6634 (Better support for external files in ERT) 2015-11-03 23:28:36 +01:00
os_unix.cpp Fix bugs #2645 (export BIBINPUTS) and #6634 (Better support for external files in ERT) 2015-11-03 23:28:36 +01:00
os_win32.cpp Fix bugs #2645 (export BIBINPUTS) and #6634 (Better support for external files in ERT) 2015-11-03 23:28:36 +01: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 use QStandardPaths::GenericDataLocation instead of QStandardPaths::DataLocation to get common user_support_dir path for all LyX binaries (LyX, tex2lyx and lyxclient) 2016-01-24 15:19:54 +01:00
Package.h tex2lyx: Run configure.py if needed (bug #8539) 2014-12-29 23:46:25 +01:00
PathChanger.cpp
PathChanger.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 Fix C++11 std::regex incompatibility 2015-11-24 20:31:14 +01:00
shared_ptr.h Support for (std|boost)::make_shared 2015-09-15 15:25:32 +01:00
socktools.cpp
socktools.h
strfwd.h msvc: Proper fix for compilation of TexRow 2015-10-20 21:29:19 +02:00
Systemcall.cpp Qt 5.6 renames signal QProcesss::error() 2016-01-24 12:07:52 -05: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 Fix file locking problem on windows (bug 9925) 2016-01-26 21:49: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 Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
trivstring.cpp Instantiate trivial_string::c_str() explicitly 2015-05-15 21:01:59 +02: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 Mark dead code as dead 2015-09-12 18:49:22 +02:00
userinfo.h
weighted_btree.h