Commit Graph

39703 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
0920872ebd Revert "Try to please windows compiler"
This reverts commit a8b0e64094.
2018-09-18 23:06:36 +02:00
Juergen Spitzmueller
305d449a47 Fix copy-paste error.
Candidate for stable.
2018-09-16 10:34:01 +02:00
Juergen Spitzmueller
7f4b81a9f7 de.po: corrections 2018-09-16 10:14:21 +02:00
Kornel Benko
db8de17426 Update sk.po, shortcut/menu-accelerator conflict 2018-09-15 19:09:19 +02:00
Kornel Benko
f2399f42fe keytests: Add waiting time to ease lyx-logs on some commands 2018-09-13 18:34:18 +02:00
Kornel Benko
2f1c9f67b0 keytests: Adapt test 'keytest/bug-10636' to changed binding for source preview 2018-09-13 16:51:07 +02:00
Jean-Marc Lasgouttes
ad29b0067f Revert "Use new display() values to remove some inset hardcoding."
This is a work in progress that committed by mistake.

This reverts commit b28ec44476.
2018-09-12 15:26:15 +02:00
Jean-Marc Lasgouttes
23dbacb636 needauth is not needed for Sweave>LyX
Indeed this relies on tex2lyx and does not run R scripts.

The same holds for Knitr>LyX
2018-09-12 15:14:56 +02:00
Jean-Marc Lasgouttes
b28ec44476 Use new display() values to remove some inset hardcoding.
The enum is now made of flags that can be combined.

This introduces several new values for Inset::DisplayType:
BreakBefore, BreakAfter and Display=BreakBefore|BreakAfter. This
last value replaces AlignCenter.

Additionally the flags NoBoundary and CanBreakAfter are introduced for
future use.

Now a left aligned displayed inset will be defined as Display|LeftAlign.

A newline inset is characterized as BreakAfter.

This structure is used in breakRow to avoid explicit calls to
isNewline() or isEnvSeparator(). More improvements will be built on
top of this.

Additionally several redundant display() methods (which returned
Inline) have been removed.
2018-09-12 11:38:01 +02:00
Kornel Benko
fd50c8e4d8 Unbind conflicting shortcut in Slovak UI 2018-09-12 00:38:38 +02:00
Jean-Marc Lasgouttes
7485225cc6 Place the depth bar correctly in screen mode
In full screen mode, it is possible to restrict the text width. In
this case, the paint bar should not be painted outside of this
restricted area.

Fixes bug #11286.
2018-09-11 16:45:48 +02:00
Kornel Benko
20c280bdfc Cmake export tests: Ignore missing glyph for ar/UserGuide_pdf4_systemF
Scheherezade font misses glyph '␣'
2018-09-10 14:06:12 +02:00
Juergen Spitzmueller
e158d661b9 Amend 2d4ac90fd2 once more
Only use local switch in RTL environment.
2018-09-10 12:29:22 +02:00
Kornel Benko
db269f5fad Update sk.po 2018-09-09 13:38:10 +02:00
Jean-Marc Lasgouttes
819cf53c22 Handle branches with space in their name
1/ Handle space in color name in set-color (with quoting)

2/ read properly branch inset when name has a space

Fixes bug #11108.
2018-09-08 13:07:07 +02:00
Juergen Spitzmueller
1116335977 Amend 2d4ac90fd2
Properly close local language switch.
2018-09-08 12:50:42 +02:00
Juergen Spitzmueller
ab16bb7eb9 Covington now provides subexamples itself
Candidate for stable.
2018-09-08 09:50:48 +02:00
Juergen Spitzmueller
399a4d7e71 Fix suprious comma in book and thesis bib preview.
Fixes: #11272
2018-09-06 14:46:44 +02:00
Jean-Marc Lasgouttes
6cfd733dea Fixup 7b7ed64a: allow toggling limits of (over|under)brace 2018-09-05 17:31:05 +02:00
Kornel Benko
d49deef4f9 Export tests: Ignore compilations of copernicus with luatex or xetex
The compilations fail because the macro
	\DeclareUnicodeCharacter
is not defined. Also the sequence
	  \ifnum\pdfoutput=\z@
is making troubles.

The exports to previous lyx-versions is disabled too,
because there is no layout defined there.
2018-09-04 15:56:21 +02:00
Jean-Marc Lasgouttes
7b7ed64a0e Allow toggling (no)limits only after mathop symbol
In particular, introduce the new InsetMathScript::allowLimits method
that checks for that and honor it in getStatus/ddoDispatch.
2018-09-03 17:55:27 +02:00
Richard Kimberly Heck
6014492699 Try yet again try to fix bug #9158.
The problem with the previous attempt was that, every time through
updateBuffer, we looked up the file location using kpsewhich, which
took too long on Windows. The new solution is to cache that info, and
to look it up only when we need it.

Previously, this info would have been re-read whenever we parsed the
bibfiles. So we re-read it now whenever the bibinfo cache is invalid,
which is less often, but should be good enough. We can add more such
re-reads if need be.
2018-09-02 11:50:03 -04:00
Pavel Sanda
2d4ac410dc * RELEASE-NOTES 2018-09-02 13:34:51 +02:00
Juergen Spitzmueller
5f7b553a1c use masterBuffer() rather than parent()
This also catches grandparents.

Thanks, Riki.
2018-09-02 10:17:23 +02:00
Richard Kimberly Heck
2bb8bd3ec4 Signal need for reload of bibinfo cache rather than doing it. 2018-09-02 00:16:45 -04:00
Richard Kimberly Heck
a3e87dad80 Revert "Try yet again try to fix bug #9158."
(Unintentionally committed.)

This reverts commit 7b29d4e7aa.
2018-09-02 00:09:19 -04:00
Richard Kimberly Heck
7b29d4e7aa Try yet again try to fix bug #9158.
The problem with the previous attempt was that, every time through
updateBuffer, we looked up the file location using kpsewhich, which
took too long on Windows. The new solution is to cache that info, and
to look it up only when we need it.

Previously, this info would have been re-read whenever we parsed the
bibfiles. So we re-read it now whenever the bibinfo cache is invalid,
which is less often, but should be good enough. We can add more such
re-reads if need be.
2018-09-01 23:13:00 -04:00
Juergen Spitzmueller
bc644d131c Fix potential null pointer detected by Coverity 2018-09-01 10:45:03 +02:00
Juergen Spitzmueller
5279f3e11f Fix uninitialized value revealed by Coverity 2018-09-01 10:41:29 +02:00
Enrico Forestieri
b277ac5390 Update format of bind and ui files 2018-08-30 21:56:26 +02:00
Jean-Marc Lasgouttes
4727e2becf Move leaveInset and isInside from CursorData to DocIterator
They only touch the slices of the main DocIterator.
2018-08-30 14:17:53 +02:00
Jean-Marc Lasgouttes
86398b5d91 Cleanup: Rename textUndo to undoAction
This is not limited to text, but also handles math.

Same change to textRedo.
2018-08-30 14:17:53 +02:00
Jean-Marc Lasgouttes
dd8fd3d90a Get rid of monolithic build support for autoconf
It is not useful anymore on modern machines with several cores.
2018-08-30 11:35:37 +02:00
José Matos
cac27076ea Replace /usr/bin/env python -> /usr/bin/python3 2018-08-29 17:26:21 +01:00
Jean-Marc Lasgouttes
913c190989 Document that building with Qt5 is the default. 2018-08-29 17:53:06 +02:00
Richard Kimberly Heck
ceafc558ab Fixes for README from Joel Kulesza.
Fixes #11250.
2018-08-28 15:27:01 -04:00
Richard Kimberly Heck
29b80c802c Fixes for the build script.
(cherry picked from commit 01c23b3864)
2018-08-28 15:19:48 -04:00
Juergen Spitzmueller
9c33723632 Improve comment 2018-08-28 12:39:23 +02:00
Juergen Spitzmueller
fe2e3841eb grammar 2018-08-28 10:36:47 +02:00
Juergen Spitzmueller
da62299f37 tex2lyx: fix import of unknown commands'/environments' options
If we detect options via hasOpt(), output the brackets as ERT.

Fixes: #8685
2018-08-28 10:31:29 +02:00
Enrico Forestieri
0cab640035 Try with Qt4 when configuring for Qt5 fails
This allows to avoid using --disable-qt5 when only the Qt4 libraries
are available.
2018-08-27 16:31:51 +02:00
Juergen Spitzmueller
9f99f3073a Correct indentation 2018-08-27 12:13:55 +02:00
Juergen Spitzmueller
a3ed99b211 fix glitch with last border in table for custom arguments 2018-08-27 12:13:24 +02:00
Juergen Spitzmueller
64ad077c9c tex2lyx: support V table column type 2018-08-27 12:12:56 +02:00
Enrico Forestieri
c480889077 Document the Qt5 default in RELEASE-NOTES 2018-08-26 17:47:40 +02:00
Juergen Spitzmueller
8ef2558dc2 tex2lyx: support decimal alignment in tables 2018-08-26 16:17:54 +02:00
Enrico Forestieri
a7ea98a30a Make Qt5 the default for building
Until now, building with Qt5 required using --enable-qt5.
This is no more necessary. To build with Qt4 one should now
use --disable-qt5 or, equivalently, --enable-qt5=no.
2018-08-26 15:02:59 +02:00
Juergen Spitzmueller
af42dfedf6 This has been done in f38816bf16 2018-08-26 11:13:00 +02:00
Juergen Spitzmueller
fc9b4fb6a8 tex2lx/TODO: minor clarifications 2018-08-26 10:54:04 +02:00
Juergen Spitzmueller
faf40fb408 tex2lyx: support for plural and capitalized refstyle
Also fix a glitch in non-refstyle import (getOpt() returns the option
with delimiter, so do not add them in ERT once more)

Candidate for stable
2018-08-26 09:48:23 +02:00