]> git.lyx.org Git - lyx.git/log
lyx.git
6 years agoCustomization.lyx: distribute all tracked changes
Uwe Stöhr [Mon, 12 Feb 2018 17:53:12 +0000 (18:53 +0100)]
Customization.lyx: distribute all tracked changes

6 years agoUpdated Basque localization by Iñaki Larrañaga Murgoitio
Juergen Spitzmueller [Mon, 12 Feb 2018 16:33:01 +0000 (17:33 +0100)]
Updated Basque localization by Iñaki Larrañaga Murgoitio

6 years agoThere is actually a home for obsolete templates in Makefile
Jean-Marc Lasgouttes [Mon, 12 Feb 2018 16:19:10 +0000 (17:19 +0100)]
There is actually a home for obsolete templates in Makefile

Fixup to 24fd7d2b.

6 years agoUse parMetrics to access the par_metrics_ map
Jean-Marc Lasgouttes [Mon, 12 Feb 2018 16:11:09 +0000 (17:11 +0100)]
Use parMetrics to access the par_metrics_ map

In cursorY, it is dangerous to access par_petrics_[0], since one does
not know whether metrics have been computed for this paragraph (which
may be off-screen).

It is safer to use parMetrics(0), that will compute the paragraph
metrics as needed.

Fixes bug #8120.

6 years agoRemove template AGUTeX.lyx from Makefile
Jean-Marc Lasgouttes [Mon, 12 Feb 2018 16:06:19 +0000 (17:06 +0100)]
Remove template AGUTeX.lyx from Makefile

6 years agoImplement buffer-anonymize more efficiently
Jean-Marc Lasgouttes [Wed, 7 Feb 2018 14:35:46 +0000 (15:35 +0100)]
Implement buffer-anonymize more efficiently

The work is done now in Paragraph::anonymize().

Move the handling of the lfun to Buffer class.

6 years ago Remove sections 6.7 and 6.4 from Additional manual (obsolete classes egs and...
jpc [Mon, 12 Feb 2018 10:30:18 +0000 (11:30 +0100)]
   Remove sections 6.7 and 6.4 from Additional manual (obsolete classes egs and aguplus)
       Edit LaTeXConfig.lyx accordingly
       Move teaplates/AGUTeX.lyx to teaplates/obsolete

6 years agobiblatex-natbib.citeengine: Remove erroneous blank
Juergen Spitzmueller [Sun, 11 Feb 2018 15:43:14 +0000 (16:43 +0100)]
biblatex-natbib.citeengine: Remove erroneous blank

6 years agoDisable BUFFER_EXPORT and BUFFER_EXPORT_AS while buffer is processed
Juergen Spitzmueller [Sun, 11 Feb 2018 08:50:38 +0000 (09:50 +0100)]
Disable BUFFER_EXPORT and BUFFER_EXPORT_AS while buffer is processed

I am rather irritated we didn't do this already, since synchronous runs
with BUFFER_VIEW or BUFFER_UPDATE leads to all sorts of problems,
including crashes.

Fixes the crash in #8338 (but not the bug itself).

6 years agoru.po: is now 100% translated
Uwe Stöhr [Sat, 10 Feb 2018 18:34:42 +0000 (19:34 +0100)]
ru.po: is now 100% translated

big respect to Yuriy!

6 years agoamend 71fea633266
Juergen Spitzmueller [Sat, 10 Feb 2018 18:02:35 +0000 (19:02 +0100)]
amend 71fea633266

6 years agoDisable CheckTeX while buffer is processed
Juergen Spitzmueller [Sat, 10 Feb 2018 17:18:43 +0000 (18:18 +0100)]
Disable CheckTeX while buffer is processed

Since CheckTeX itself processes the tex file, a synchronous run with
a TeX process can lead to all sorts of conflicts, including crashes.

Fixes: #7434.
6 years agoFix race condition in processFuncRequestQueue
Juergen Spitzmueller [Sat, 10 Feb 2018 14:35:12 +0000 (15:35 +0100)]
Fix race condition in processFuncRequestQueue

The issue here was that the element was only removed from the queue
after the func request was processed, but within that process, other
function could access the queue, so the queue could even be empty
when this function finally wanted to remove the item.

Fixes: #10406.
6 years agoCmake build: Allow cross-compiling with mingw again
Kornel Benko [Sat, 10 Feb 2018 10:21:08 +0000 (11:21 +0100)]
Cmake build: Allow cross-compiling with mingw again

1.) The check for "QT_USES_X11" expects the created application
  to run, but the '.exe' file does not run on linux.
2.) Don't use megered build anymore, it is not faster
  on multi-processor machines anyway

6 years agoFix Windows compiler warning about double declaration of "it"
Juergen Spitzmueller [Sat, 10 Feb 2018 07:21:48 +0000 (08:21 +0100)]
Fix Windows compiler warning about double declaration of "it"

See #10912

6 years agoCosmetics per JMarc's suggestions.
Pavel Sanda [Fri, 9 Feb 2018 22:46:14 +0000 (23:46 +0100)]
Cosmetics per JMarc's suggestions.

6 years agoAvoid an infinite loop
Enrico Forestieri [Fri, 9 Feb 2018 22:35:33 +0000 (23:35 +0100)]
Avoid an infinite loop

When pasting "\big" without any following delimiter, avoid
processing the same token again and again. For unknown reasons,
the delim docstring turns out to always be not empty: even when
it simply contains a '0' (no delimiter follows), its length is 1.

Fixes bug #11027.

6 years agolyx2lyx fixes and cleanup.
Günter Milde [Fri, 9 Feb 2018 15:49:23 +0000 (16:49 +0100)]
lyx2lyx fixes and cleanup.

Don't insert empty line when translating QuoteInsets to literal
quotes.

Fix regexp pattern in re/convert_dashligatures.

Adjust logic in re/convert_dash(ligatur)es.

6 years agotex2lyx: normalize bib and bst paths
Juergen Spitzmueller [Fri, 9 Feb 2018 12:23:50 +0000 (13:23 +0100)]
tex2lyx: normalize bib and bst paths

Fixes: #7637
6 years agoFix child document regex in scanLogFile
Juergen Spitzmueller [Fri, 9 Feb 2018 10:42:18 +0000 (11:42 +0100)]
Fix child document regex in scanLogFile

Several problems:
* The regex failed at names such as 1_text_2_text.tex
  (returned "2_text.tex)
* The regex failed at names such as 12_text.tex
  (returned "2_text.tex)
* Masters with digits in the name (2018_text.tex) were
  tracked as their own children

6 years agoUpdate sk.po
Kornel Benko [Thu, 8 Feb 2018 22:33:54 +0000 (23:33 +0100)]
Update sk.po

6 years agoProper naming of LFUN_SET_GRAPHICS_GROUP.
Pavel Sanda [Thu, 8 Feb 2018 20:59:41 +0000 (21:59 +0100)]
Proper naming of LFUN_SET_GRAPHICS_GROUP.

6 years agoGroup similar lfuns.
Pavel Sanda [Thu, 8 Feb 2018 20:53:08 +0000 (21:53 +0100)]
Group similar lfuns.

6 years agoUnify graphics-groups inside marked block functionality.
Pavel Sanda [Thu, 8 Feb 2018 20:33:37 +0000 (21:33 +0100)]
Unify graphics-groups inside marked block functionality.

Fixes #11026.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203683.html

6 years agoReset cur.pit() when pasting into tables.
Juergen Spitzmueller [Thu, 8 Feb 2018 18:06:35 +0000 (19:06 +0100)]
Reset cur.pit() when pasting into tables.

The number of paragraphs can change here, so pit() can become invalid.

Fixes: #9983
6 years agoRevert "Mark follow-up paragraphs in a paragraph group as nested."
Juergen Spitzmueller [Thu, 8 Feb 2018 16:00:41 +0000 (17:00 +0100)]
Revert "Mark follow-up paragraphs in a paragraph group as nested."

This reverts commit 761a542551bc944c0efef0d123c2b71631d2652a.

6 years agoConsider class-provided citation engines
Juergen Spitzmueller [Thu, 8 Feb 2018 12:25:19 +0000 (13:25 +0100)]
Consider class-provided citation engines

Do not attempt to load, nor allow to set, a different engine in this
case.

Fixes: #11022
6 years agoRemove createTempFile method
Juergen Spitzmueller [Thu, 8 Feb 2018 11:16:30 +0000 (12:16 +0100)]
Remove createTempFile method

and use the new and safer tempFileName() method instead for the creation
of temporary directories

6 years agoRe-add method to get a temporary file name without persistent QTemporaryFile object
Juergen Spitzmueller [Thu, 8 Feb 2018 10:31:23 +0000 (11:31 +0100)]
Re-add method to get a temporary file name without persistent QTemporaryFile object

This is needed for cases where the temp file has to be manually removed
at some point (e.g., if temp files are used as conversion target, and
the initial file only serves as a placeholder), since QTemporaryFile
objects cannot be manually removed at least on Windows (they are always
kept open internally even after close()). See
​http://lists.qt-project.org/pipermail/interest/2013-August/008352.html

In order to avoid race conditions due to duplicate names (the issue why
the old method was removed), we record all used temp file names.

Fixes: #9139
6 years ago* comment
Pavel Sanda [Wed, 7 Feb 2018 22:24:05 +0000 (23:24 +0100)]
* comment

6 years ago* comment
Pavel Sanda [Wed, 7 Feb 2018 22:19:20 +0000 (23:19 +0100)]
* comment

6 years agolyx2lyx refactoring.
Günter Milde [Wed, 7 Feb 2018 17:46:24 +0000 (18:46 +0100)]
lyx2lyx refactoring.

Avoid duplicate code. Fix some corner-cases.

6 years agoctests: Update dedicated lyx2lyx tests.
Günter Milde [Tue, 6 Feb 2018 13:32:08 +0000 (14:32 +0100)]
ctests: Update dedicated lyx2lyx tests.

6 years agoNew lyx2lyx parser tools find_substring() and set_bool_value().
Günter Milde [Mon, 5 Feb 2018 22:19:43 +0000 (23:19 +0100)]
New lyx2lyx parser tools find_substring() and set_bool_value().

6 years agoAdd missing break and polish formatting.
Juergen Spitzmueller [Wed, 7 Feb 2018 09:16:05 +0000 (10:16 +0100)]
Add missing break and polish formatting.

6 years agoDo not show "Abstract" label in KOMA classes
Juergen Spitzmueller [Tue, 6 Feb 2018 17:39:00 +0000 (18:39 +0100)]
Do not show "Abstract" label in KOMA classes

This is not output by those classes (per default).

6 years agoDo not use English, but the context language, when pasting from math
Juergen Spitzmueller [Tue, 6 Feb 2018 13:10:12 +0000 (14:10 +0100)]
Do not use English, but the context language, when pasting from math

Fixes: #2596
6 years agoDo not use English, but the context language, when pasting from LaTeX
Juergen Spitzmueller [Tue, 6 Feb 2018 12:20:45 +0000 (13:20 +0100)]
Do not use English, but the context language, when pasting from LaTeX

Fixes: #9199
6 years agoAdd missing connection.
Juergen Spitzmueller [Tue, 6 Feb 2018 11:45:22 +0000 (12:45 +0100)]
Add missing connection.

This activates the OK/Apply when a biblatex style file is changed
manually

6 years agoru.po: translations from Yuriy
Uwe Stöhr [Sun, 4 Feb 2018 22:41:17 +0000 (23:41 +0100)]
ru.po: translations from Yuriy

6 years agoar.po: updates from Hatim
Uwe Stöhr [Sun, 4 Feb 2018 14:34:47 +0000 (15:34 +0100)]
ar.po: updates from Hatim

6 years agoAdd newlines around \backslash in put_cmd_in_ert.
Günter Milde [Sun, 4 Feb 2018 09:16:54 +0000 (10:16 +0100)]
Add newlines around \backslash in put_cmd_in_ert.

Fix for 2fce4d49ee.

6 years agoUse re.match to find regexp at begin of string/line.
Günter Milde [Sun, 4 Feb 2018 09:08:07 +0000 (10:08 +0100)]
Use re.match to find regexp at begin of string/line.

Consistently use the re.match() or the match() method of a
regexp object to find a match at the begin of a line.
This is faster than re.find('^...').

Cf. https://stackoverflow.com/questions/180986/what-is-the-difference-between-re-search-and-re-match
(The subtle difference for multi-line strings is irrelevant for
configure.py, as we match line-wise.)

6 years agoforgotten glitch
Pavel Sanda [Sat, 3 Feb 2018 21:43:00 +0000 (22:43 +0100)]
forgotten glitch

6 years agoLFUN_DOC_ANONYMIZE -> LFUN_BUFFER_ANONYMIZE per JMarc's suggestion.
Pavel Sanda [Sat, 3 Feb 2018 21:05:49 +0000 (22:05 +0100)]
LFUN_DOC_ANONYMIZE -> LFUN_BUFFER_ANONYMIZE per JMarc's suggestion.

6 years agoFix sideset hints, part of bug #11015.
Pavel Sanda [Sat, 3 Feb 2018 16:51:00 +0000 (17:51 +0100)]
Fix sideset hints, part of bug #11015.

6 years agoAdd LFUN_DOC_ANONYMIZE, quick fix for #7259.
Pavel Sanda [Fri, 2 Feb 2018 22:42:56 +0000 (23:42 +0100)]
Add LFUN_DOC_ANONYMIZE, quick fix for #7259.

6 years ago* doxy
Pavel Sanda [Fri, 2 Feb 2018 22:42:33 +0000 (23:42 +0100)]
* doxy

6 years agosv.po: updates from Jim
Uwe Stöhr [Fri, 2 Feb 2018 20:30:23 +0000 (21:30 +0100)]
sv.po: updates from Jim

6 years agoHarden a few of the other regexes, too.
Richard Heck [Fri, 2 Feb 2018 03:14:51 +0000 (22:14 -0500)]
Harden a few of the other regexes, too.

I've tested this and get no difference of output.

6 years agoMake module and citeengine regexes a little more discerning.
Richard Heck [Fri, 2 Feb 2018 03:10:54 +0000 (22:10 -0500)]
Make module and citeengine regexes a little more discerning.

6 years agoDouble escape binary regexes in module and citeengine searches.
Richard Heck [Fri, 2 Feb 2018 03:08:55 +0000 (22:08 -0500)]
Double escape binary regexes in module and citeengine searches.

See previous commit for explanation.

6 years agoDouble escape binary regex in lyx2lyx and fix line-ending problem.
Richard Heck [Fri, 2 Feb 2018 02:58:29 +0000 (21:58 -0500)]
Double escape binary regex in lyx2lyx and fix line-ending problem.

When we switched from r'...' to b'...', this required strings used
as input to re.compile to be double-escaped. It's not an issue with
"\s", because "\s" has no special meaning in a string.

Also, printing in binary mode did not output a line ending.

6 years agoEnable CompressorProxy for all Workareas (incl. EmbeddedWorkarea)
Juergen Spitzmueller [Thu, 1 Feb 2018 13:58:49 +0000 (14:58 +0100)]
Enable CompressorProxy for all Workareas (incl. EmbeddedWorkarea)

This fixes the Advanced F&R.

6 years agoFrench docs: remove a file that was accidentally committed
Uwe Stöhr [Thu, 1 Feb 2018 04:19:08 +0000 (05:19 +0100)]
French docs: remove a file that was accidentally committed

6 years agopt_BR.po: updates from Georger
Uwe Stöhr [Thu, 1 Feb 2018 04:11:17 +0000 (05:11 +0100)]
pt_BR.po: updates from Georger

- He also reviewed layouttranslations and says it is OK

6 years agoFix Cursor::sanitize
Jean-Marc Lasgouttes [Tue, 16 Jan 2018 15:00:07 +0000 (16:00 +0100)]
Fix Cursor::sanitize

This is a follow-up to 02028c0b12ba9.

Fix two bugs introduced when moving Cursor::sanitize() to CursorData:

* the setBuffer that is supposed to set buffer from bufferview became
  a no-op.

* new_word_ is now part of CursorData, but it is sanitized only in
  Cursor::sanitize().

Additionally, make all protected CursorData data members private to enforce
encapsulation.

6 years agolyx2lyx refactoring.
Günter Milde [Wed, 31 Jan 2018 14:09:32 +0000 (15:09 +0100)]
lyx2lyx refactoring.

* use unicode.transform() instead of loop over replacements
* telling variable names
* remove trailing whitespace
* documentation update
* don't set use_ligature_dashes if both dash types are found
* remove spurious warning, normalize indentation, and use
  Python idioms in revert_baselineskip()

6 years ago Remove unappropriate French style command from preamble
jpc [Wed, 31 Jan 2018 16:48:04 +0000 (17:48 +0100)]
      Remove unappropriate French style command from preamble

6 years agoMake CursorData::checkNewWordPosition() more robust
Jean-Marc Lasgouttes [Wed, 31 Jan 2018 15:26:45 +0000 (16:26 +0100)]
Make CursorData::checkNewWordPosition() more robust

Before accessing things like new_word_.lastpos(), it is better to make
sure that new_word_ points to something that exists. Therefore, the
call to fixIfBroken() is moved in first position.

Other changes: inTexted() is replaced by a more general test that
current inset has not changed; test idx() in addition to pit().

6 years agoRemove spurious no-break space.
Günter Milde [Wed, 31 Jan 2018 09:59:21 +0000 (10:59 +0100)]
Remove spurious no-break space.

6 years agoru.po: more translations from Yuriy
Uwe Stöhr [Wed, 31 Jan 2018 04:48:21 +0000 (05:48 +0100)]
ru.po: more translations from Yuriy

6 years agoFrench Additional.lyx: sync with branch
Uwe Stöhr [Wed, 31 Jan 2018 04:47:41 +0000 (05:47 +0100)]
French Additional.lyx: sync with branch

6 years agoUse LaTeX macros instead of Latin transcription for Greek characters.
Günter Milde [Tue, 30 Jan 2018 20:58:12 +0000 (21:58 +0100)]
Use LaTeX macros instead of Latin transcription for Greek characters.

Use the LaTeX internal character representation (LICR) macros
provided by lgrenc.def (since version 0.8 from 2013-05-13)
in lib/unicodesymbols. This fixes the PDF bookmarks (except for the
legacy input encoding iso-8859-7) and solves the problem of a missing
"v" character in Libertine LGR fonts (see lyx-users from 2018-01-29).

The ctest unicodesymbols/008-greek-and-coptic_iso8859-7_pdf2" now fails
(due to #9681). This is not a regression, as it is already
"unreliable" (wrong output, Latin character instead of Greek).

Drop compatibility definition of \~ as perispomeni accent
(that was required with lgrenc.def < 0.8).

6 years agoDo not use "ligature dashes" with French documents.
Günter Milde [Tue, 30 Jan 2018 20:43:38 +0000 (21:43 +0100)]
Do not use "ligature dashes" with French documents.

In Spanish and French, dashes around parenthetical statements
are treated similar to brackets: line breaks are not allowed
on the inner side. Use of "breakable" dashes risks accidential
line breaks after the "opening" dash.
(Ligature dashes allow line breaks even if a no-break space follows.)

6 years agoAdd support for enchant 2.x
Jean-Marc Lasgouttes [Wed, 24 Jan 2018 15:19:34 +0000 (16:19 +0100)]
Add support for enchant 2.x

As of enchant 2.x, it is required to create a Broker instance instead
of relying on a static one provided by the library.

Add autoconf and cmake (courtesy of Kornel) tests that check whether
one can indeed instantiate a Broker object, and act on the result in a
new broker() helper function.

Fixes bug #10986.

6 years agoOnce more, the libertine font package has been renamed.
Juergen Spitzmueller [Tue, 30 Jan 2018 07:16:06 +0000 (08:16 +0100)]
Once more, the libertine font package has been renamed.

Take the newest one, if present.

Candidate for 2.3.x.

6 years agoMerge branch 'master' of git.lyx.org:lyx
Uwe Stöhr [Mon, 29 Jan 2018 14:10:13 +0000 (15:10 +0100)]
Merge branch 'master' of git.lyx.org:lyx

6 years agoFrench EmbeddedObjects.lyx: sync document settings with English version
Uwe Stöhr [Mon, 29 Jan 2018 14:10:02 +0000 (15:10 +0100)]
French EmbeddedObjects.lyx: sync document settings with English version

- English EmbeddedObjects.lyx: correct a typo

6 years agoFixup 6b6fa94c: coverity says there are more possible exceptions.
Jean-Marc Lasgouttes [Mon, 29 Jan 2018 14:05:31 +0000 (15:05 +0100)]
Fixup 6b6fa94c: coverity says there are more possible exceptions.

The bulk of the changes is indentation.

6 years agoCatch exceptions to please coverity
Jean-Marc Lasgouttes [Mon, 29 Jan 2018 12:50:09 +0000 (13:50 +0100)]
Catch exceptions to please coverity

Actually, the possible exception path is from replaceEnvironmentPath.
It would be better if coverity was able to asses that our hardcoded
regexp:s are correct.

6 years agoAdd Bibliography to the Outliner.
Juergen Spitzmueller [Mon, 29 Jan 2018 08:09:51 +0000 (09:09 +0100)]
Add Bibliography to the Outliner.

Fixes: #11001, #7724.
6 years agoWhitespace
Juergen Spitzmueller [Mon, 29 Jan 2018 07:37:25 +0000 (08:37 +0100)]
Whitespace

6 years agoFix bug #11055.
Richard Heck [Mon, 29 Jan 2018 04:33:45 +0000 (23:33 -0500)]
Fix bug #11055.

See also https://marc.info/?l=lyx-devel&m=151709211602688&w=2.

6 years agoWhitespace.
Richard Heck [Mon, 29 Jan 2018 04:02:30 +0000 (23:02 -0500)]
Whitespace.

6 years agoAdditional.lyx: port recent changes
Uwe Stöhr [Mon, 29 Jan 2018 00:35:23 +0000 (01:35 +0100)]
Additional.lyx: port recent changes

6 years agoUpdate it.po
Enrico Forestieri [Sun, 28 Jan 2018 12:00:33 +0000 (13:00 +0100)]
Update it.po

6 years agoru.po: last minute changes for RC from Yuriy
Uwe Stöhr [Sun, 28 Jan 2018 00:18:04 +0000 (01:18 +0100)]
ru.po: last minute changes for RC from Yuriy

6 years ago* cs.po
Pavel Sanda [Sat, 27 Jan 2018 22:20:39 +0000 (23:20 +0100)]
* cs.po

6 years agoDocument B_ in cite style definitions
Juergen Spitzmueller [Sat, 27 Jan 2018 13:53:18 +0000 (14:53 +0100)]
Document B_ in cite style definitions

6 years agoDifferentiate Buffer strings and GUI strings in citeengines
Juergen Spitzmueller [Sat, 27 Jan 2018 13:26:36 +0000 (14:26 +0100)]
Differentiate Buffer strings and GUI strings in citeengines

The former need to be translated to the buffer language, the latter to
the GUI language.

Fixes: #10946
6 years agoMake sure to add at least one element in row if possible
Jean-Marc Lasgouttes [Sat, 27 Jan 2018 11:29:27 +0000 (12:29 +0100)]
Make sure to add at least one element in row if possible

breakRow should only produce an empty row when there is nothing left
in the paragraph.

Fixes bug #10996.

6 years agoUse proper localization chain for Box special width/height
Juergen Spitzmueller [Sat, 27 Jan 2018 11:26:01 +0000 (12:26 +0100)]
Use proper localization chain for Box special width/height

Fixes: #11000
6 years agode.po: update
Juergen Spitzmueller [Sat, 27 Jan 2018 10:21:12 +0000 (11:21 +0100)]
de.po: update

6 years agoMake another GUI string translatable
Juergen Spitzmueller [Sat, 27 Jan 2018 10:20:11 +0000 (11:20 +0100)]
Make another GUI string translatable

Part of #10999.

6 years agoMake GUI string translatable
Juergen Spitzmueller [Sat, 27 Jan 2018 09:57:33 +0000 (10:57 +0100)]
Make GUI string translatable

Part of #10999

6 years ago* layouttranslations - update ar, ru, el
Pavel Sanda [Fri, 26 Jan 2018 18:49:40 +0000 (19:49 +0100)]
* layouttranslations - update ar, ru, el

6 years agoFix embarrassing thinko (fixup 1a969fa4a61)
Jean-Marc Lasgouttes [Fri, 26 Jan 2018 09:06:28 +0000 (10:06 +0100)]
Fix embarrassing thinko (fixup 1a969fa4a61)

Now people know for sure that I sometimes forget to test that code
actually works before committing. It was so straightforward, what
could possibly go wrong?

6 years agoProperly communicate forced encodings
Juergen Spitzmueller [Fri, 26 Jan 2018 07:38:52 +0000 (08:38 +0100)]
Properly communicate forced encodings

This is currently only relevant fo InsetListings, which falls back to
a fixed-width encoding under specific conditions. It is now possible
to query the inset about that and report the correct encoding in
DocIterator::getEncoding.

Addresses the second part of #10995

6 years agoAccount for custom encoding in DocIteratior::getEncoding
Juergen Spitzmueller [Fri, 26 Jan 2018 07:37:06 +0000 (08:37 +0100)]
Account for custom encoding in DocIteratior::getEncoding

Addresses #10995

6 years agoru.po: translations from Yuriy
Uwe Stöhr [Thu, 25 Jan 2018 23:15:36 +0000 (00:15 +0100)]
ru.po: translations from Yuriy

6 years agoNew method zoomedPixel to compute pixel amount also in HiDpi
Jean-Marc Lasgouttes [Thu, 25 Jan 2018 21:06:03 +0000 (22:06 +0100)]
New method zoomedPixel to compute pixel amount also in HiDpi

The function does not use for now any information from the BufferView
(only lyxrc), but this should eventually change if we want to honor
multi monitor setups properly.

6 years agopo files: port some recent changes to master
Uwe Stöhr [Thu, 25 Jan 2018 16:51:04 +0000 (17:51 +0100)]
po files: port some recent changes to master

- e.g. enable el.po in LINGUAS

6 years agoCorrectly output a single char_type
Enrico Forestieri [Thu, 25 Jan 2018 08:40:36 +0000 (09:40 +0100)]
Correctly output a single char_type

On platforms where char_type is typedef'd to an integral type
rather than to wchar_t, when using the insertion operator <<
a single char_type is output as the number corresponding to the
code point of the character rather than as the character itself.
In this case, one has to use put().

6 years agoCorrect \origin in the new ru examples
Scott Kostyshak [Thu, 25 Jan 2018 04:43:34 +0000 (23:43 -0500)]
Correct \origin in the new ru examples

6 years agoCmake tests: New lyx2lyx tests
Kornel Benko [Wed, 24 Jan 2018 19:56:21 +0000 (20:56 +0100)]
Cmake tests: New lyx2lyx tests

Created by Günter Milde, after having corrected plenty of lyx2lyx errors
showing with repeated lyx2lyx calls.

6 years agoFix lyx2lyx dash conversion and make it faster.
Günter Milde [Wed, 24 Jan 2018 16:38:19 +0000 (17:38 +0100)]
Fix lyx2lyx dash conversion and make it faster.

6 years agoDedicated test samples for lyx2lyx ctests.
Günter Milde [Wed, 24 Jan 2018 16:35:43 +0000 (17:35 +0100)]
Dedicated test samples for lyx2lyx ctests.

6 years agoBetter debug message
Jean-Marc Lasgouttes [Wed, 24 Jan 2018 13:05:57 +0000 (14:05 +0100)]
Better debug message

6 years agoWin installer: upgrade to Qt 5.9.4
Uwe Stöhr [Wed, 24 Jan 2018 02:26:02 +0000 (03:26 +0100)]
Win installer: upgrade to Qt 5.9.4