]>
git.lyx.org Git - lyx.git/log
Jean-Marc Lasgouttes [Thu, 20 Sep 2018 21:21:41 +0000 (23:21 +0200)]
Ignore horizontal wheel scrolling in workarea
We do not know what to do with horizontal scrolling events, so we ignore them.
Note that the code has to be different between Qt4 and Qt5.
Fixes bug #11257.
Jean-Marc Lasgouttes [Thu, 20 Sep 2018 20:15:12 +0000 (22:15 +0200)]
Avoid crash with cursor down in math
This can happen when the inset that contains the cursor is outside of
the screen.
THis is only a workaround. The real solution would be a
processUpdateFlags(FitCursor) call, but the code is not ready for that
yet.
Fixes bug #11296.
Jean-Marc Lasgouttes [Thu, 20 Sep 2018 09:31:23 +0000 (11:31 +0200)]
Paint underline for insets too.
Fixes bug 11297.
Juergen Spitzmueller [Thu, 20 Sep 2018 09:34:44 +0000 (11:34 +0200)]
Customization: use info-inset for layout format
Juergen Spitzmueller [Thu, 20 Sep 2018 09:33:03 +0000 (11:33 +0200)]
Implement layout format in insetinfo
The docs refer to the outdated layout formats. The inset prevents this.
Juergen Spitzmueller [Thu, 20 Sep 2018 09:11:44 +0000 (11:11 +0200)]
info-insert without arg is valid
it opens the info dialog.
Juergen Spitzmueller [Wed, 19 Sep 2018 08:19:19 +0000 (10:19 +0200)]
Avoid infinite loop
Fixes: #11295
Jean-Marc Lasgouttes [Tue, 18 Sep 2018 21:18:17 +0000 (23:18 +0200)]
Use std::move in InsetText::updateBuffer for notes and friends
Avoid as much as possible to do full copies of all counters, since
that can be expensive. Unfortunately, it is only posible when we want
to restore the saved counters.
An earlier version (
05d3a649 ) defined swap() for Counter, but caused
problems on windows.
Part of bug #5973.
Jean-Marc Lasgouttes [Tue, 18 Sep 2018 21:07:48 +0000 (23:07 +0200)]
Revert "Use swap in InsetText::updateBuffer for notes ad friends"
This reverts commit
05d3a649521e0e8524209ae9deae75c30ff01e93 .
Jean-Marc Lasgouttes [Tue, 18 Sep 2018 21:06:36 +0000 (23:06 +0200)]
Revert "Try to please windows compiler"
This reverts commit
a8b0e64094bd4c2cb878a70ffd5e3e9d175809a8 .
Juergen Spitzmueller [Sun, 16 Sep 2018 08:34:01 +0000 (10:34 +0200)]
Fix copy-paste error.
Candidate for stable.
Juergen Spitzmueller [Sun, 16 Sep 2018 08:13:40 +0000 (10:13 +0200)]
de.po: corrections
Kornel Benko [Sat, 15 Sep 2018 17:09:19 +0000 (19:09 +0200)]
Update sk.po, shortcut/menu-accelerator conflict
Kornel Benko [Thu, 13 Sep 2018 16:34:18 +0000 (18:34 +0200)]
keytests: Add waiting time to ease lyx-logs on some commands
Kornel Benko [Thu, 13 Sep 2018 14:51:07 +0000 (16:51 +0200)]
keytests: Adapt test 'keytest/bug-10636' to changed binding for source preview
Jean-Marc Lasgouttes [Wed, 12 Sep 2018 13:26:15 +0000 (15:26 +0200)]
Revert "Use new display() values to remove some inset hardcoding."
This is a work in progress that committed by mistake.
This reverts commit
b28ec44476d3f2c5858d06596ed5bd975012ec33 .
Jean-Marc Lasgouttes [Wed, 12 Sep 2018 13:14:56 +0000 (15:14 +0200)]
needauth is not needed for Sweave>LyX
Indeed this relies on tex2lyx and does not run R scripts.
The same holds for Knitr>LyX
Jean-Marc Lasgouttes [Tue, 22 Mar 2016 15:53:25 +0000 (16:53 +0100)]
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.
Kornel Benko [Tue, 11 Sep 2018 22:38:38 +0000 (00:38 +0200)]
Unbind conflicting shortcut in Slovak UI
Jean-Marc Lasgouttes [Tue, 11 Sep 2018 14:45:48 +0000 (16:45 +0200)]
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.
Kornel Benko [Mon, 10 Sep 2018 12:06:12 +0000 (14:06 +0200)]
Cmake export tests: Ignore missing glyph for ar/UserGuide_pdf4_systemF
Scheherezade font misses glyph '␣'
Juergen Spitzmueller [Mon, 10 Sep 2018 10:29:22 +0000 (12:29 +0200)]
Amend
2d4ac90fd20eac once more
Only use local switch in RTL environment.
Kornel Benko [Sun, 9 Sep 2018 11:38:10 +0000 (13:38 +0200)]
Update sk.po
Jean-Marc Lasgouttes [Fri, 7 Sep 2018 13:49:21 +0000 (15:49 +0200)]
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.
Juergen Spitzmueller [Sat, 8 Sep 2018 10:50:42 +0000 (12:50 +0200)]
Amend
2d4ac90fd20eac
Properly close local language switch.
Juergen Spitzmueller [Sat, 8 Sep 2018 07:50:48 +0000 (09:50 +0200)]
Covington now provides subexamples itself
Candidate for stable.
Juergen Spitzmueller [Thu, 6 Sep 2018 12:46:44 +0000 (14:46 +0200)]
Fix suprious comma in book and thesis bib preview.
Fixes: #11272
Jean-Marc Lasgouttes [Wed, 5 Sep 2018 15:29:43 +0000 (17:29 +0200)]
Fixup
7b7ed64a : allow toggling limits of (over|under)brace
Kornel Benko [Tue, 4 Sep 2018 13:48:14 +0000 (15:48 +0200)]
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.
Jean-Marc Lasgouttes [Mon, 3 Sep 2018 15:49:54 +0000 (17:49 +0200)]
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.
Richard Kimberly Heck [Sun, 2 Sep 2018 04:10:01 +0000 (00:10 -0400)]
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.
Pavel Sanda [Sun, 2 Sep 2018 11:34:51 +0000 (13:34 +0200)]
* RELEASE-NOTES
Juergen Spitzmueller [Sun, 2 Sep 2018 08:17:23 +0000 (10:17 +0200)]
use masterBuffer() rather than parent()
This also catches grandparents.
Thanks, Riki.
Richard Kimberly Heck [Sun, 2 Sep 2018 04:16:45 +0000 (00:16 -0400)]
Signal need for reload of bibinfo cache rather than doing it.
Richard Kimberly Heck [Sun, 2 Sep 2018 04:09:11 +0000 (00:09 -0400)]
Revert "Try yet again try to fix bug #9158."
(Unintentionally committed.)
This reverts commit
7b29d4e7aae2d9edfb990a871e2f754ff625597e .
Richard Kimberly Heck [Sat, 1 Sep 2018 19:16:01 +0000 (15:16 -0400)]
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.
Juergen Spitzmueller [Sat, 1 Sep 2018 08:45:03 +0000 (10:45 +0200)]
Fix potential null pointer detected by Coverity
Juergen Spitzmueller [Sat, 1 Sep 2018 08:41:29 +0000 (10:41 +0200)]
Fix uninitialized value revealed by Coverity
Enrico Forestieri [Thu, 30 Aug 2018 19:56:26 +0000 (21:56 +0200)]
Update format of bind and ui files
Jean-Marc Lasgouttes [Sun, 26 Aug 2018 14:59:35 +0000 (16:59 +0200)]
Move leaveInset and isInside from CursorData to DocIterator
They only touch the slices of the main DocIterator.
Jean-Marc Lasgouttes [Sun, 26 Aug 2018 14:47:25 +0000 (16:47 +0200)]
Cleanup: Rename textUndo to undoAction
This is not limited to text, but also handles math.
Same change to textRedo.
Jean-Marc Lasgouttes [Wed, 29 Aug 2018 16:07:52 +0000 (18:07 +0200)]
Get rid of monolithic build support for autoconf
It is not useful anymore on modern machines with several cores.
José Matos [Wed, 29 Aug 2018 16:26:21 +0000 (17:26 +0100)]
Replace /usr/bin/env python -> /usr/bin/python3
Jean-Marc Lasgouttes [Wed, 29 Aug 2018 15:53:06 +0000 (17:53 +0200)]
Document that building with Qt5 is the default.
Richard Kimberly Heck [Tue, 28 Aug 2018 19:27:01 +0000 (15:27 -0400)]
Fixes for README from Joel Kulesza.
Fixes #11250.
Richard Kimberly Heck [Tue, 28 Aug 2018 19:18:53 +0000 (15:18 -0400)]
Fixes for the build script.
(cherry picked from commit
01c23b386499e0cf3902a4e1b06e03f1fa1dcc0f )
Juergen Spitzmueller [Tue, 28 Aug 2018 10:39:23 +0000 (12:39 +0200)]
Improve comment
Juergen Spitzmueller [Tue, 28 Aug 2018 08:36:47 +0000 (10:36 +0200)]
grammar
Juergen Spitzmueller [Tue, 28 Aug 2018 08:31:29 +0000 (10:31 +0200)]
tex2lyx: fix import of unknown commands'/environments' options
If we detect options via hasOpt(), output the brackets as ERT.
Fixes: #8685
Enrico Forestieri [Mon, 27 Aug 2018 14:31:51 +0000 (16:31 +0200)]
Try with Qt4 when configuring for Qt5 fails
This allows to avoid using --disable-qt5 when only the Qt4 libraries
are available.
Juergen Spitzmueller [Mon, 27 Aug 2018 10:13:55 +0000 (12:13 +0200)]
Correct indentation
Juergen Spitzmueller [Mon, 27 Aug 2018 10:13:24 +0000 (12:13 +0200)]
fix glitch with last border in table for custom arguments
Juergen Spitzmueller [Mon, 27 Aug 2018 10:12:56 +0000 (12:12 +0200)]
tex2lyx: support V table column type
Enrico Forestieri [Sun, 26 Aug 2018 15:46:35 +0000 (17:46 +0200)]
Document the Qt5 default in RELEASE-NOTES
Juergen Spitzmueller [Sun, 26 Aug 2018 14:17:54 +0000 (16:17 +0200)]
tex2lyx: support decimal alignment in tables
Enrico Forestieri [Sun, 26 Aug 2018 13:02:59 +0000 (15:02 +0200)]
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.
Juergen Spitzmueller [Sun, 26 Aug 2018 09:13:00 +0000 (11:13 +0200)]
This has been done in
f38816bf16fa
Juergen Spitzmueller [Sun, 26 Aug 2018 08:54:04 +0000 (10:54 +0200)]
tex2lx/TODO: minor clarifications
Juergen Spitzmueller [Sun, 26 Aug 2018 07:48:23 +0000 (09:48 +0200)]
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
Juergen Spitzmueller [Fri, 24 Aug 2018 13:33:48 +0000 (15:33 +0200)]
whitespace
Juergen Spitzmueller [Fri, 24 Aug 2018 13:02:26 +0000 (15:02 +0200)]
Fix text direction problem with polyglossia
If an RTL language is set via environment in polyglossia, only a nested
\\text<lang> command will reset the direction for LTR languages
Fixes rest of # 10111.
Juergen Spitzmueller [Fri, 24 Aug 2018 12:20:43 +0000 (14:20 +0200)]
tex2lyx: Fix import of Arabic polyglossia environment
Part of #10111
Kornel Benko [Fri, 24 Aug 2018 11:24:32 +0000 (13:24 +0200)]
Update sk.po
Kornel Benko [Fri, 24 Aug 2018 11:23:16 +0000 (13:23 +0200)]
Kornel Benko [Fri, 24 Aug 2018 11:20:51 +0000 (13:20 +0200)]
Juergen Spitzmueller [Fri, 24 Aug 2018 08:19:55 +0000 (10:19 +0200)]
Update tex2lyx tests
LyX itself also doesn't write "rotate" if it is 0. So tex2lyx is now
closer to LyX, and the new tests output is correct.
Juergen Spitzmueller [Fri, 24 Aug 2018 08:11:19 +0000 (10:11 +0200)]
tex2lyx: also support rotated non-long tables
Juergen Spitzmueller [Fri, 24 Aug 2018 07:39:46 +0000 (09:39 +0200)]
tex2lyx: also support rotated xltabulars
Juergen Spitzmueller [Fri, 24 Aug 2018 06:50:32 +0000 (08:50 +0200)]
tex2lyx: support rotated longtable
Kornel Benko [Thu, 23 Aug 2018 09:58:32 +0000 (11:58 +0200)]
Replacement for chess support
This layout does not use lyxskak.sty, which depends on skak.sty
Instead it uses chessboard.sty, depending on chessfss and xskak.
Compiles and displays fine with pdflatex, XeTeX
but still does not compile with lualatex.
We are now able again to mark fields and moves on the chessboard
Juergen Spitzmueller [Wed, 22 Aug 2018 16:49:16 +0000 (18:49 +0200)]
tex2lyx: split huge else-if-clause
Use a loop instead and break out after a condition is met. This prevents
problems on windows where the number of else-if-conditions is limited.
Kornel Benko [Wed, 22 Aug 2018 16:20:00 +0000 (18:20 +0200)]
Kornel Benko [Wed, 22 Aug 2018 15:37:28 +0000 (17:37 +0200)]
Add missing entries
The files were added in
bd6ba07 ,
6bfd91e and
0c56808
Juergen Spitzmueller [Wed, 22 Aug 2018 06:39:13 +0000 (08:39 +0200)]
tex2lyx: Fixes to the btUnit import
1. Do not attempt to mix diverging btUnits (e.g., chapters and sections).
2. use parse_text to properly parse the contents.
Juergen Spitzmueller [Tue, 21 Aug 2018 15:33:30 +0000 (17:33 +0200)]
tex2lyx: simplify btUnit parsing
Juergen Spitzmueller [Tue, 21 Aug 2018 15:18:04 +0000 (17:18 +0200)]
tex2lyx: support for btUnit (multibib)
Juergen Spitzmueller [Tue, 21 Aug 2018 06:19:24 +0000 (08:19 +0200)]
tex2lyx: add bib encoding support.
Juergen Spitzmueller [Mon, 20 Aug 2018 16:18:48 +0000 (18:18 +0200)]
Remove empty entry
Kornel Benko [Mon, 20 Aug 2018 13:47:49 +0000 (15:47 +0200)]
Unified handling of IBMPlex and DejaVu fonts in lyx2lyx
Juergen Spitzmueller [Mon, 20 Aug 2018 09:13:13 +0000 (11:13 +0200)]
tex2lyx: support for Plex fonts
Juergen Spitzmueller [Mon, 20 Aug 2018 07:43:23 +0000 (09:43 +0200)]
de.po
Juergen Spitzmueller [Mon, 20 Aug 2018 07:30:06 +0000 (09:30 +0200)]
Fix another entry
Juergen Spitzmueller [Mon, 20 Aug 2018 07:25:22 +0000 (09:25 +0200)]
So long, date-insert!
This function is superseded by info-insert date, which is much mightier
and more flexible.
Juergen Spitzmueller [Mon, 20 Aug 2018 07:21:03 +0000 (09:21 +0200)]
fix CREDITS entry
Juergen Spitzmueller [Mon, 20 Aug 2018 06:48:35 +0000 (08:48 +0200)]
Fix contributions entry
Pavel Sanda [Sun, 19 Aug 2018 23:33:14 +0000 (01:33 +0200)]
* layouttranslations - all hu strings reviewed by Alex.
Pavel Sanda [Sun, 19 Aug 2018 23:28:59 +0000 (01:28 +0200)]
hu.po - update and remerge from Alex (taken from 2.3 branch)
Juergen Spitzmueller [Sun, 19 Aug 2018 07:33:20 +0000 (09:33 +0200)]
Keep format entries together.
Kornel Benko [Sat, 18 Aug 2018 15:42:03 +0000 (17:42 +0200)]
Missed this one in
8a7c109
Kornel Benko [Sat, 18 Aug 2018 15:10:43 +0000 (17:10 +0200)]
Amend
24050bf , DejaVu adm IBM-Plex fonts need different scale options
Kornel Benko [Sat, 18 Aug 2018 14:24:43 +0000 (16:24 +0200)]
Update sk.po
Kornel Benko [Sat, 18 Aug 2018 14:18:03 +0000 (16:18 +0200)]
Added IBM Plex fonts to lyx-GUI
This extends also
366e37c
Juergen Spitzmueller [Sat, 18 Aug 2018 14:11:08 +0000 (16:11 +0200)]
Add prefs2prefs code for vcs info inset renaming
Juergen Spitzmueller [Sat, 18 Aug 2018 12:30:24 +0000 (14:30 +0200)]
Add Version Control Revision to Insert > Fields
Juergen Spitzmueller [Sat, 18 Aug 2018 12:29:15 +0000 (14:29 +0200)]
InsetInfo: Move validateArgument() to params
and use it for LFUN_INFO_INSERT validation
Enrico Forestieri [Fri, 17 Aug 2018 20:28:03 +0000 (22:28 +0200)]
Fix bug #11247
async is a reserved keyword in python 3.7
Juergen Spitzmueller [Fri, 17 Aug 2018 18:34:28 +0000 (20:34 +0200)]
Update tex2lyx tests
Juergen Spitzmueller [Fri, 17 Aug 2018 18:29:28 +0000 (20:29 +0200)]
Juergen Spitzmueller [Fri, 17 Aug 2018 18:15:10 +0000 (20:15 +0200)]
Adapt VCS toolbar to info-inset change
Kornel Benko [Fri, 17 Aug 2018 10:37:58 +0000 (12:37 +0200)]
Update sk.po