lyx_mirror/src
Georg Baum 23d7d6449f Set CJK document language instead of adding a note.
Instead of annoying the user with an automatically created note in the output
document which she needs to delete manually, determine the document language
automatically for documents that use CJK. This is done using a heuristic which
roughly counts the number of characters in each language and sets the one that
is used most often. This is not perfect, but it works for the two major use
cases: A document with only some CJK parts (in this case the babel language is
used), and a document which is mainly written in one CJK language. It is only
a minor problem if the heuristic is wrong, since the TeX export is still
correct, and there is no spell checking support for CJK anyway.
Now all regression tests do pass except for some relative path issues
depending on the location of the build directory.
2012-10-06 09:38:14 +02:00
..
client Remove leftover from 16fd47ad8f. 2012-09-28 01:09:23 +02:00
frontends Add master's perspective in children's source preview 2012-10-05 14:30:20 +02:00
graphics Restore buffer parenthood if we exit already after the preamble 2012-10-05 19:26:07 +02:00
insets Do not let the children's buffer params leak into the master (#5941) 2012-10-05 09:59:44 +02:00
mathed Another witch hunting case: break-paragraph -> paragraph-break. 2012-09-29 18:06:42 +02:00
support Added check for support tests in cmake build. 2012-10-05 16:56:29 +02:00
tex2lyx Set CJK document language instead of adding a note. 2012-10-06 09:38:14 +02:00
.gitignore Setup .gitignore for generated files 2012-03-22 02:16:12 +01:00
AppleSpellChecker.cpp #7884 add check for missing dictionaries when spell check starts and popup a message box to tell the user this problem if there are no dictionaries; add /usr/share/myspell for hunspell dictionary lookup 2012-01-04 22:02:07 +00:00
AppleSpellChecker.h Implement access to hunspell's stemming function and let the Thesaurus use that (part of bug #8060). 2012-03-02 10:20:09 +00:00
AspellChecker.cpp #7884 add check for missing dictionaries when spell check starts and popup a message box to tell the user this problem if there are no dictionaries; add /usr/share/myspell for hunspell dictionary lookup 2012-01-04 22:02:07 +00:00
AspellChecker.h Implement access to hunspell's stemming function and let the Thesaurus use that (part of bug #8060). 2012-03-02 10:20:09 +00:00
Author.cpp "Performance" fixes suggested by cppcheck 2012-05-28 22:42:44 +02:00
Author.h Author: cosmetics. 2010-11-17 16:12:43 +00:00
BiblioInfo.cpp Style. 2012-05-13 13:40:22 -04:00
BiblioInfo.h Move the citation engine machinery to layouts. 2012-03-01 00:41:30 +00:00
Bidi.cpp
Bidi.h
boost.cpp
Box.cpp
Box.h
BranchList.cpp Fix crash in lyx -e latex lib/doc/Shortcuts.lyx: theApp() is 0 in batch mode. 2011-01-06 18:40:39 +00:00
BranchList.h make branch-add-insert aware of the separator ("|") [bug #6621] 2010-06-14 13:39:08 +00:00
buffer_funcs.cpp #7789 unify and fix buffer statistics 2012-01-12 07:03:24 +00:00
buffer_funcs.h #7789 unify and fix buffer statistics 2012-01-12 07:03:24 +00:00
Buffer.cpp Restore buffer parenthood if we exit already after the preamble 2012-10-05 19:26:07 +02:00
Buffer.h Add master's perspective in children's source preview 2012-10-05 14:30:20 +02:00
BufferList.cpp Do not let the parent interfere when I child document is exported/view standalone (#8100, #8101) 2012-10-03 10:41:07 +02:00
BufferList.h New function BufferList::newInternalBuffer 2012-05-12 14:36:13 +02:00
BufferParams.cpp properly validate unicode-math 2012-09-24 13:56:37 +02:00
BufferParams.h Basic UI for math (TeX) fonts 2012-09-22 17:44:00 +02:00
BufferView.cpp Whitespace 2012-09-30 16:27:11 +02:00
BufferView.h Fix crash reported by Tommaso: 2012-06-04 13:39:24 -04:00
Bullet.cpp
Bullet.h
Changes.cpp Factor out method to get a properly encoded latex string 2012-06-30 13:30:48 +02:00
Changes.h Fix bug #4213: Change tracking support for tex2lyx. 2011-11-06 17:03:59 +00:00
Chktex.cpp support: 2010-04-21 01:19:28 +00:00
Chktex.h
Citation.h Move the citation engine machinery to layouts. 2012-03-01 00:41:30 +00:00
CMakeLists.txt Added libmagic to cmake build. Should to be also adapted to windows 2012-02-22 10:07:04 +00:00
CmdDef.cpp
CmdDef.h
Color.cpp Import notefontcolor (one more step towards a working roundtrip for the LyX documentation) 2011-01-14 20:00:55 +00:00
Color.h Import notefontcolor (one more step towards a working roundtrip for the LyX documentation) 2011-01-14 20:00:55 +00:00
ColorCode.h Removal of this color was forgotten. 2010-12-04 22:41:50 +00:00
ColorSet.h
Compare.cpp Typos 2012-06-05 12:22:13 +02:00
Compare.h
CompletionList.h
Converter.cpp Properly initialize variable. This should fix the problem 2012-05-31 12:04:09 -04:00
Converter.h Just comment 2012-05-22 15:54:26 +02:00
ConverterCache.cpp support: 2010-04-21 01:19:28 +00:00
ConverterCache.h
CoordCache.cpp Just whitespace and a comment. 2011-04-25 01:46:37 +00:00
CoordCache.h Do not give access to the actual data of the CoordCache. This prevents the use of the stored pointers which might be invalid. 2011-03-23 17:43:13 +00:00
Counters.cpp Extracting translation information does not help if you don't actually 2011-04-15 11:34:06 +00:00
Counters.h OK, the previous idea, that we don't need to check the masters of other 2011-01-13 01:47:41 +00:00
Cursor.cpp Fix crash introduced in my previous commit f6b1c24b 2012-07-17 22:26:44 +02:00
Cursor.h Fix crash introduced in my previous commit f6b1c24b 2012-07-17 22:26:44 +02:00
CursorSlice.cpp Fix bug #8105: Crash when deleting math macro from the inside 2012-04-12 16:28:29 +02:00
CursorSlice.h
CutAndPaste.cpp Fix bug #7956: Assertion When Trying to Paste Into Table 2012-06-04 17:05:43 +02:00
CutAndPaste.h Deal with memory issue reported some time ago in connection with DocumentClass 2012-05-31 12:34:29 -04:00
DepTable.cpp Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +00:00
DepTable.h
Dimension.cpp
Dimension.h
DispatchResult.h Use DispatchResult also in GuiView::dispatchVC to handle messages. 2010-10-17 10:44:53 +00:00
DocIterator.cpp Fix crash with undo in nested insets introduced by commit 6ec1683 2012-08-20 17:20:59 +02:00
DocIterator.h Fix crash introduced in my previous commit f6b1c24b 2012-07-17 22:26:44 +02:00
DocumentClassPtr.h Deal with memory issue reported some time ago in connection with DocumentClass 2012-05-31 12:34:29 -04:00
EnchantChecker.cpp #7884 improved return code of EnchantChecker::check() when dictionaries are missing 2012-01-11 17:03:49 +00:00
EnchantChecker.h Implement access to hunspell's stemming function and let the Thesaurus use that (part of bug #8060). 2012-03-02 10:20:09 +00:00
Encoding.cpp properly validate unicode-math 2012-09-24 13:56:37 +02:00
Encoding.h Factor out method to get a properly encoded latex string 2012-06-30 13:30:48 +02:00
ErrorList.cpp Fix bug #7331 (No error highlighting in child documents) 2011-03-04 13:37:14 +00:00
ErrorList.h Fix bug #7331 (No error highlighting in child documents) 2011-03-04 13:37:14 +00:00
Exporter.cpp Added -E option to specify export format and destination file-name (and export folder). 2011-09-15 01:07:49 +00:00
Exporter.h Added -E option to specify export format and destination file-name (and export folder). 2011-09-15 01:07:49 +00:00
factory.cpp Add support for some basic non-unicoded IPA macros 2012-08-23 17:42:53 +02:00
factory.h
Floating.cpp Fix bug #8078: Assertions in xhtml output on Windows 2012-04-30 12:58:32 +02:00
Floating.h Change NeedsFloatPkg to UsesFloatPkg and introduce a new float tag 2011-02-02 22:28:47 +00:00
FloatList.cpp
FloatList.h
Font.cpp Add a way to surpass special English treatment in useBabel 2012-08-08 17:02:12 +02:00
Font.h Introduce a wrapper class for odocstream to help ensuring that no 2011-01-29 02:41:13 +00:00
FontEnums.h support for formal math script 2010-07-17 15:51:11 +00:00
FontInfo.cpp support for formal math script 2010-07-17 15:51:11 +00:00
FontInfo.h
FontList.cpp Typos 2012-06-05 12:22:13 +02:00
FontList.h add cache of spell checker results to speed up native speller engine on macosx 2010-09-14 05:24:04 +00:00
Format.cpp Handling of libmagic for some mime-types leads to incorrect value 'text/plain'. 2012-03-06 09:41:41 +00:00
Format.h Use libmagic for file format detection if available. 2012-02-21 20:29:44 +00:00
FuncCode.h UI for separate control of master/child branch state (#7642, part of #7643) 2012-09-30 14:59:24 +02:00
FuncRequest.cpp Handle sending a FuncRequest object to lyxerr 2012-06-07 17:21:49 +02:00
FuncRequest.h Handle sending a FuncRequest object to lyxerr 2012-06-07 17:21:49 +02:00
FuncStatus.cpp
FuncStatus.h
Graph.cpp Given how we are using this exclusion list, it makes more sense for it 2011-03-31 13:03:29 +00:00
Graph.h Given how we are using this exclusion list, it makes more sense for it 2011-03-31 13:03:29 +00:00
HSpace.cpp
HSpace.h
HunspellChecker.cpp Implement access to hunspell's stemming function and let the Thesaurus use that (part of bug #8060). 2012-03-02 10:20:09 +00:00
HunspellChecker.h Implement access to hunspell's stemming function and let the Thesaurus use that (part of bug #8060). 2012-03-02 10:20:09 +00:00
IndicesList.cpp Fix crash in lyx -e latex lib/doc/Shortcuts.lyx: theApp() is 0 in batch mode. 2011-01-06 18:40:39 +00:00
IndicesList.h Typos 2012-06-05 12:22:13 +02:00
InsetIterator.cpp
InsetIterator.h
InsetList.cpp
InsetList.h
Intl.cpp
Intl.h
KeyMap.cpp #7292 make the modifiers Option and Control act on there own on mac - adjust the key bindings to apple standards where possible 2011-02-23 14:30:41 +00:00
KeyMap.h Conversion routines for bind files. 2011-01-16 19:53:36 +00:00
KeySequence.cpp #7292 make the modifiers Option and Control act on there own on mac - adjust the key bindings to apple standards where possible 2011-02-23 14:30:41 +00:00
KeySequence.h
Language.cpp Tracking correctly available translations (take 2) 2012-09-08 16:59:19 +02:00
Language.h Tracking correctly available translations (take 2) 2012-09-08 16:59:19 +02:00
LaTeX.cpp Follow Lars' advice 2012-09-20 16:24:59 +02:00
LaTeX.h Fix biber execution om MikTeX. 2011-10-07 07:09:13 +00:00
LaTeXFeatures.cpp Recognize Provides from math fonts 2012-09-23 17:40:44 +02:00
LaTeXFeatures.h Implement Provides tag to LaTeXFonts 2012-09-19 15:46:19 +02:00
LaTeXFonts.cpp thinko: if we have requires, do not test package 2012-09-24 08:41:44 +02:00
LaTeXFonts.h Basic UI for math (TeX) fonts 2012-09-22 17:44:00 +02:00
LaTeXPackages.cpp Fix bug #4213: Change tracking support for tex2lyx. 2011-11-06 17:03:59 +00:00
LaTeXPackages.h Fix bug #4213: Change tracking support for tex2lyx. 2011-11-06 17:03:59 +00:00
Layout.cpp Fix bug #8078: Assertions in xhtml output on Windows 2012-04-30 12:58:32 +02:00
Layout.h Translations for listings insets 2012-04-10 20:21:01 +02:00
LayoutEnums.h add support for decimal alignment in tables 2010-06-05 07:44:44 +00:00
LayoutFile.cpp Exclude stdinsets.inc from basic layout if we exclude stdclass.inc 2012-05-03 16:14:38 +02:00
LayoutFile.h
LayoutModuleList.cpp "Performance" fixes suggested by cppcheck 2012-05-28 22:42:44 +02:00
LayoutModuleList.h
Length.cpp Add a preference option to specify the default length unit (cm or in). 2011-10-27 11:52:11 +00:00
Length.h
lengthcommon.cpp make it thread safe 2011-12-13 19:56:00 +00:00
Lexer.cpp Use libmagic for file format detection if available. 2012-02-21 20:29:44 +00:00
Lexer.h clang: std::string is used here, fwd is not enough 2011-12-07 16:03:37 +00:00
LyX.cpp Typos 2012-09-12 19:38:26 -04:00
LyX.h Clean up LaTeX font handling (#4999) 2012-08-16 13:23:39 +02:00
LyXAction.cpp Ronen's patch for lfun language set 2012-10-03 07:27:36 +02:00
LyXAction.h Bump LFUN format for LyX 2.1 2012-09-29 20:06:39 +02:00
lyxfind.cpp Fix the wrong cursor move when forward flag is false: 2012-07-30 14:32:29 +02:00
lyxfind.h #7564 make the move forward to next match after text replacement optional and suppress it when replace a word by selected suggestion 2011-05-18 20:33:57 +00:00
LyXRC.cpp Adding preferences format update as due to commit 4985015 (new close_buffer_with_last_view option). 2012-10-01 22:30:13 +01:00
LyXRC.h Now LyX closes the current document WA only by default (other WAs remain open). 2012-09-28 23:12:38 +01:00
LyXVC.cpp Fix bug #7338 2011-03-07 00:37:26 +00:00
LyXVC.h Load mhchem if it is requested unconditionally, fix some typos 2010-11-21 18:07:04 +00:00
lyxwinres.rc Update years 2011-01-21 13:24:23 +00:00
main.cpp Remove unneeded include. 2010-11-17 16:14:26 +00:00
Makefile.am avoid deprecated functions on Mac - use Qt instead 2012-09-23 16:06:56 +02:00
MetricsInfo.cpp Sanitize ColorChanger 2010-09-09 13:02:20 +00:00
MetricsInfo.h Sanitize ColorChanger 2010-09-09 13:02:20 +00:00
ModuleList.cpp Whitespace only. 2012-03-08 16:43:02 +00:00
ModuleList.h Fix typo 2012-03-10 21:45:01 +00:00
Mover.cpp Proper camel case for FileName.absFilename 2010-04-21 01:19:09 +00:00
Mover.h
output_docbook.cpp Fix bug #7914: Freeze on docbook export of lists and bibliography 2012-05-02 15:34:56 +02:00
output_docbook.h
output_latex.cpp do not output empty language switch commands (bug #8216) 2012-06-24 10:56:08 +02:00
output_latex.h Integrate texrow with otexstream in order to perform automatic line 2011-02-10 20:02:48 +00:00
output_plaintext.cpp Initial work to fix bug involving embedded macros and 2011-05-07 11:57:08 +00:00
output_plaintext.h
output_xhtml.cpp Compile fix 2012-07-22 11:45:39 +02:00
output_xhtml.h We need to check, in closeFontTags(), for the case where we haven't 2012-04-08 10:05:44 -04:00
output.cpp
output.h
OutputEnums.h
OutputParams.cpp Do not let the parent interfere when I child document is exported/view standalone (#8100, #8101) 2012-10-03 10:41:07 +02:00
OutputParams.h Do not let the parent interfere when I child document is exported/view standalone (#8100, #8101) 2012-10-03 10:41:07 +02:00
paper.h support for the ISO C-series paper formats; fileformat change 2010-07-13 01:06:20 +00:00
Paragraph.cpp Make tipa shortcuts work for combining chars 2012-08-21 12:48:34 +02:00
Paragraph.h Make sure that undo is recorded when magic tricks are played with InsetBibitem. 2012-07-18 15:36:58 +02:00
ParagraphList.h
ParagraphMetrics.cpp Avoid narrowing in array initializator 2012-01-07 18:29:07 +00:00
ParagraphMetrics.h
ParagraphParameters.cpp
ParagraphParameters.h
ParIterator.cpp
ParIterator.h
pch.h
PDFOptions.cpp Extend the notermination flag to math as well. 2012-03-25 15:57:38 +02:00
PDFOptions.h Complete integration of texrow with otexstream and allow automatic line 2011-02-13 21:41:44 +00:00
PersonalWordList.cpp fix msvc warning, somehow msvc thinks !line[0] is a boolean 2011-02-14 19:54:04 +00:00
PersonalWordList.h #7043 add the implementation of a persistent personal word list for LyX spell checker, aspell and hunspell backend 2010-12-02 18:52:31 +00:00
PrinterParams.cpp
PrinterParams.h
Row.cpp
Row.h
rowpainter.cpp Fix direction of brackets in Hebrew when using Polyglossia (bug #8251) 2012-07-23 14:56:00 +02:00
rowpainter.h Fix bug #953: Paint text decorations for spaces 2012-05-02 18:02:52 +02:00
Server.cpp Fix bugs #6871 and #8119. 2012-04-13 02:57:25 +02:00
Server.h The "single instance" patch. 2010-11-13 11:55:05 +00:00
ServerSocket.cpp Fix bug #8170: Crash when client disconnects unexpectedly 2012-05-24 13:55:41 +02:00
ServerSocket.h msvcUsing "using namespace std" with msvc10 makes also std::tr1::shared_ptr visible and generates conflicts with boost::shared_ptr. 2010-04-22 11:37:32 +00:00
Session.cpp No need for a deque here. 2010-12-04 23:18:52 +00:00
Session.h No need for a deque here. 2010-12-04 23:18:52 +00:00
sgml.cpp
sgml.h
Spacing.cpp
Spacing.h
SpellChecker.h Implement access to hunspell's stemming function and let the Thesaurus use that (part of bug #8060). 2012-03-02 10:20:09 +00:00
TexRow.cpp Make sure to associate each line of the exported latex code to the id/pos 2011-03-10 04:05:49 +00:00
TexRow.h Make sure to associate each line of the exported latex code to the id/pos 2011-03-10 04:05:49 +00:00
TexStream.cpp
TexStream.h
Text2.cpp Fix bug #8242: undo fails for longest label width 2012-07-16 23:39:24 +02:00
Text3.cpp Ronen's patch for lfun language set 2012-10-03 07:27:36 +02:00
Text.cpp Do not propose existing labels 2012-09-19 10:20:19 +02:00
Text.h Fix bug #8242: undo fails for longest label width 2012-07-16 23:39:24 +02:00
TextClass.cpp Fix a long-standing FIXME by resetting only the counter for top-level 2012-07-21 14:19:10 -04:00
TextClass.h Fix a long-standing FIXME by resetting only the counter for top-level 2012-07-21 14:19:10 -04:00
TextMetrics.cpp Make sure that undo is recorded when magic tricks are played with InsetBibitem. 2012-07-18 15:36:58 +02:00
TextMetrics.h Remove leftover of r36485. 2010-12-06 00:25:45 +00:00
Thesaurus.cpp Implement access to hunspell's stemming function and let the Thesaurus use that (part of bug #8060). 2012-03-02 10:20:09 +00:00
Thesaurus.h Implement access to hunspell's stemming function and let the Thesaurus use that (part of bug #8060). 2012-03-02 10:20:09 +00:00
TocBackend.cpp If we don't have a tooltip in the TOC, then use the display string 2012-01-16 15:07:04 +00:00
TocBackend.h Fix bug #6672 (part 2): Add tooltips to the outliner. 2010-04-26 00:43:08 +00:00
Trans.cpp fix compiler warnings in pedantic mode: remove trailing comma after last enum member 2010-12-17 19:56:51 +00:00
Trans.h
Undo.cpp Fix bug #8342: Endless undo group messages 2012-09-17 11:24:39 +02:00
Undo.h Fix bug #5204: Undo removes text selection 2012-07-15 18:16:09 +02:00
update_flags.h
VCBackend.cpp Another attempt at #8295. 2012-08-16 20:33:43 +02:00
VCBackend.h #7855 subversion 1.7.x support: use svn info to check if a file is under version control; this works for 1.6.x too; to avoid excessive forks of child processes check for the existence of a .svn directory in current dir and parent directories 2012-03-11 11:12:12 +00:00
version.cpp So, let's constify all globals in version.cpp... 2011-02-11 00:46:49 +00:00
version.h A font a day keeps the doctor away: Support for the Biolinum LaTeX font 2012-09-25 11:07:33 +02:00
VSpace.cpp do not hardcode packages loaded by external insets 2011-12-13 19:40:05 +00:00
VSpace.h
WordLangTuple.h Fix bug #6561: Crash when using Spellchecker's language box when cursor is in math. 2010-11-10 20:06:21 +00:00
WordList.cpp Clean up word lists on exit. Not really a concrete issue, but just 2011-10-15 13:38:52 +00:00
WordList.h Clean up word lists on exit. Not really a concrete issue, but just 2011-10-15 13:38:52 +00:00