]> git.lyx.org Git - features.git/log
features.git
5 years agoUse new display() values to remove some inset hardcoding.
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.

5 years agoUnbind conflicting shortcut in Slovak UI
Kornel Benko [Tue, 11 Sep 2018 22:38:38 +0000 (00:38 +0200)]
Unbind conflicting shortcut in Slovak UI

5 years agoPlace the depth bar correctly in screen mode
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.

5 years agoCmake export tests: Ignore missing glyph for ar/UserGuide_pdf4_systemF
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 '␣'

5 years agoAmend 2d4ac90fd20eac once more
Juergen Spitzmueller [Mon, 10 Sep 2018 10:29:22 +0000 (12:29 +0200)]
Amend 2d4ac90fd20eac once more

Only use local switch in RTL environment.

5 years agoUpdate sk.po
Kornel Benko [Sun, 9 Sep 2018 11:38:10 +0000 (13:38 +0200)]
Update sk.po

5 years agoHandle branches with space in their name
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.

5 years agoAmend 2d4ac90fd20eac
Juergen Spitzmueller [Sat, 8 Sep 2018 10:50:42 +0000 (12:50 +0200)]
Amend 2d4ac90fd20eac

Properly close local language switch.

5 years agoCovington now provides subexamples itself
Juergen Spitzmueller [Sat, 8 Sep 2018 07:50:48 +0000 (09:50 +0200)]
Covington now provides subexamples itself

Candidate for stable.

5 years agoFix suprious comma in book and thesis bib preview.
Juergen Spitzmueller [Thu, 6 Sep 2018 12:46:44 +0000 (14:46 +0200)]
Fix suprious comma in book and thesis bib preview.

Fixes: #11272
5 years agoFixup 7b7ed64a: allow toggling limits of (over|under)brace
Jean-Marc Lasgouttes [Wed, 5 Sep 2018 15:29:43 +0000 (17:29 +0200)]
Fixup 7b7ed64a: allow toggling limits of (over|under)brace

5 years agoExport tests: Ignore compilations of copernicus with luatex or xetex
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.

5 years agoAllow toggling (no)limits only after mathop symbol
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.

5 years agoTry yet again try to fix bug #9158.
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.

5 years ago* RELEASE-NOTES
Pavel Sanda [Sun, 2 Sep 2018 11:34:51 +0000 (13:34 +0200)]
* RELEASE-NOTES

5 years agouse masterBuffer() rather than parent()
Juergen Spitzmueller [Sun, 2 Sep 2018 08:17:23 +0000 (10:17 +0200)]
use masterBuffer() rather than parent()

This also catches grandparents.

Thanks, Riki.

5 years agoSignal need for reload of bibinfo cache rather than doing it.
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.

5 years agoRevert "Try yet again try to fix bug #9158."
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.

5 years agoTry yet again try to fix bug #9158.
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.

5 years agoFix potential null pointer detected by Coverity
Juergen Spitzmueller [Sat, 1 Sep 2018 08:45:03 +0000 (10:45 +0200)]
Fix potential null pointer detected by Coverity

5 years agoFix uninitialized value revealed by Coverity
Juergen Spitzmueller [Sat, 1 Sep 2018 08:41:29 +0000 (10:41 +0200)]
Fix uninitialized value revealed by Coverity

5 years agoUpdate format of bind and ui files
Enrico Forestieri [Thu, 30 Aug 2018 19:56:26 +0000 (21:56 +0200)]
Update format of bind and ui files

5 years agoMove leaveInset and isInside from CursorData to DocIterator
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.

5 years agoCleanup: Rename textUndo to undoAction
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.

5 years agoGet rid of monolithic build support for autoconf
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.

5 years agoReplace /usr/bin/env python -> /usr/bin/python3
José Matos [Wed, 29 Aug 2018 16:26:21 +0000 (17:26 +0100)]
Replace /usr/bin/env python -> /usr/bin/python3

5 years agoDocument that building with Qt5 is the default.
Jean-Marc Lasgouttes [Wed, 29 Aug 2018 15:53:06 +0000 (17:53 +0200)]
Document that building with Qt5 is the default.

5 years agoFixes for README from Joel Kulesza.
Richard Kimberly Heck [Tue, 28 Aug 2018 19:27:01 +0000 (15:27 -0400)]
Fixes for README from Joel Kulesza.

Fixes #11250.

5 years agoFixes for the build script.
Richard Kimberly Heck [Tue, 28 Aug 2018 19:18:53 +0000 (15:18 -0400)]
Fixes for the build script.

(cherry picked from commit 01c23b386499e0cf3902a4e1b06e03f1fa1dcc0f)

5 years agoImprove comment
Juergen Spitzmueller [Tue, 28 Aug 2018 10:39:23 +0000 (12:39 +0200)]
Improve comment

5 years agogrammar
Juergen Spitzmueller [Tue, 28 Aug 2018 08:36:47 +0000 (10:36 +0200)]
grammar

5 years agotex2lyx: fix import of unknown commands'/environments' options
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
5 years agoTry with Qt4 when configuring for Qt5 fails
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.

5 years agoCorrect indentation
Juergen Spitzmueller [Mon, 27 Aug 2018 10:13:55 +0000 (12:13 +0200)]
Correct indentation

5 years agofix glitch with last border in table for custom arguments
Juergen Spitzmueller [Mon, 27 Aug 2018 10:13:24 +0000 (12:13 +0200)]
fix glitch with last border in table for custom arguments

5 years agotex2lyx: support V table column type
Juergen Spitzmueller [Mon, 27 Aug 2018 10:12:56 +0000 (12:12 +0200)]
tex2lyx: support V table column type

5 years agoDocument the Qt5 default in RELEASE-NOTES
Enrico Forestieri [Sun, 26 Aug 2018 15:46:35 +0000 (17:46 +0200)]
Document the Qt5 default in RELEASE-NOTES

5 years agotex2lyx: support decimal alignment in tables
Juergen Spitzmueller [Sun, 26 Aug 2018 14:17:54 +0000 (16:17 +0200)]
tex2lyx: support decimal alignment in tables

5 years agoMake Qt5 the default for building
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.

5 years agoThis has been done in f38816bf16fa
Juergen Spitzmueller [Sun, 26 Aug 2018 09:13:00 +0000 (11:13 +0200)]
This has been done in f38816bf16fa

5 years agotex2lx/TODO: minor clarifications
Juergen Spitzmueller [Sun, 26 Aug 2018 08:54:04 +0000 (10:54 +0200)]
tex2lx/TODO: minor clarifications

5 years agotex2lyx: support for plural and capitalized refstyle
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

5 years agowhitespace
Juergen Spitzmueller [Fri, 24 Aug 2018 13:33:48 +0000 (15:33 +0200)]
whitespace

5 years agoFix text direction problem with polyglossia
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.

5 years agotex2lyx: Fix import of Arabic polyglossia environment
Juergen Spitzmueller [Fri, 24 Aug 2018 12:20:43 +0000 (14:20 +0200)]
tex2lyx: Fix import of Arabic polyglossia environment

Part of #10111

5 years agoUpdate sk.po
Kornel Benko [Fri, 24 Aug 2018 11:24:32 +0000 (13:24 +0200)]
Update sk.po

5 years agoAmend 0c56808
Kornel Benko [Fri, 24 Aug 2018 11:23:16 +0000 (13:23 +0200)]
Amend 0c56808

5 years agoAmend 2877032
Kornel Benko [Fri, 24 Aug 2018 11:20:51 +0000 (13:20 +0200)]
Amend 2877032

5 years agoUpdate tex2lyx tests
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.

5 years agotex2lyx: also support rotated non-long tables
Juergen Spitzmueller [Fri, 24 Aug 2018 08:11:19 +0000 (10:11 +0200)]
tex2lyx: also support rotated non-long tables

5 years agotex2lyx: also support rotated xltabulars
Juergen Spitzmueller [Fri, 24 Aug 2018 07:39:46 +0000 (09:39 +0200)]
tex2lyx: also support rotated xltabulars

5 years agotex2lyx: support rotated longtable
Juergen Spitzmueller [Fri, 24 Aug 2018 06:50:32 +0000 (08:50 +0200)]
tex2lyx: support rotated longtable

5 years agoReplacement for chess support
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

5 years agotex2lyx: split huge else-if-clause
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.

5 years agoTypo in commit c9038e3
Kornel Benko [Wed, 22 Aug 2018 16:20:00 +0000 (18:20 +0200)]
Typo in commit c9038e3

5 years agoAdd missing entries
Kornel Benko [Wed, 22 Aug 2018 15:37:28 +0000 (17:37 +0200)]
Add missing entries

The files were added in bd6ba076bfd91e and 0c56808

5 years agotex2lyx: Fixes to the btUnit import
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.

5 years agotex2lyx: simplify btUnit parsing
Juergen Spitzmueller [Tue, 21 Aug 2018 15:33:30 +0000 (17:33 +0200)]
tex2lyx: simplify btUnit parsing

5 years agotex2lyx: support for btUnit (multibib)
Juergen Spitzmueller [Tue, 21 Aug 2018 15:18:04 +0000 (17:18 +0200)]
tex2lyx: support for btUnit (multibib)

5 years agotex2lyx: add bib encoding support.
Juergen Spitzmueller [Tue, 21 Aug 2018 06:19:24 +0000 (08:19 +0200)]
tex2lyx: add bib encoding support.

5 years agoRemove empty entry
Juergen Spitzmueller [Mon, 20 Aug 2018 16:18:48 +0000 (18:18 +0200)]
Remove empty entry

5 years agoUnified handling of IBMPlex and DejaVu fonts in lyx2lyx
Kornel Benko [Mon, 20 Aug 2018 13:47:49 +0000 (15:47 +0200)]
Unified handling of IBMPlex and DejaVu fonts in lyx2lyx

5 years agotex2lyx: support for Plex fonts
Juergen Spitzmueller [Mon, 20 Aug 2018 09:13:13 +0000 (11:13 +0200)]
tex2lyx: support for Plex fonts

5 years agode.po
Juergen Spitzmueller [Mon, 20 Aug 2018 07:43:23 +0000 (09:43 +0200)]
de.po

5 years agoFix another entry
Juergen Spitzmueller [Mon, 20 Aug 2018 07:30:06 +0000 (09:30 +0200)]
Fix another entry

5 years agoSo long, date-insert!
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.

5 years agofix CREDITS entry
Juergen Spitzmueller [Mon, 20 Aug 2018 07:21:03 +0000 (09:21 +0200)]
fix CREDITS entry

5 years agoFix contributions entry
Juergen Spitzmueller [Mon, 20 Aug 2018 06:48:35 +0000 (08:48 +0200)]
Fix contributions entry

5 years ago* layouttranslations - all hu strings reviewed by Alex.
Pavel Sanda [Sun, 19 Aug 2018 23:33:14 +0000 (01:33 +0200)]
* layouttranslations - all hu strings reviewed by Alex.

5 years agohu.po - update and remerge from Alex (taken from 2.3 branch)
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)

5 years agoKeep format entries together.
Juergen Spitzmueller [Sun, 19 Aug 2018 07:33:20 +0000 (09:33 +0200)]
Keep format entries together.

5 years agoMissed this one in 8a7c109
Kornel Benko [Sat, 18 Aug 2018 15:42:03 +0000 (17:42 +0200)]
Missed this one in 8a7c109

5 years agoAmend 24050bf, DejaVu adm IBM-Plex fonts need different scale options
Kornel Benko [Sat, 18 Aug 2018 15:10:43 +0000 (17:10 +0200)]
Amend 24050bf, DejaVu adm IBM-Plex fonts need different scale options

5 years agoUpdate sk.po
Kornel Benko [Sat, 18 Aug 2018 14:24:43 +0000 (16:24 +0200)]
Update sk.po

5 years agoAdded IBM Plex fonts to lyx-GUI
Kornel Benko [Sat, 18 Aug 2018 14:18:03 +0000 (16:18 +0200)]
Added IBM Plex fonts to lyx-GUI

This extends also 366e37c

5 years agoAdd prefs2prefs code for vcs info inset renaming
Juergen Spitzmueller [Sat, 18 Aug 2018 14:11:08 +0000 (16:11 +0200)]
Add prefs2prefs code for vcs info inset renaming

5 years agoAdd Version Control Revision to Insert > Fields
Juergen Spitzmueller [Sat, 18 Aug 2018 12:30:24 +0000 (14:30 +0200)]
Add Version Control Revision to Insert > Fields

5 years agoInsetInfo: Move validateArgument() to params
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

5 years agoFix bug #11247
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

5 years agoUpdate tex2lyx tests
Juergen Spitzmueller [Fri, 17 Aug 2018 18:34:28 +0000 (20:34 +0200)]
Update tex2lyx tests

5 years agoAmend 2d4284e89ef1
Juergen Spitzmueller [Fri, 17 Aug 2018 18:29:28 +0000 (20:29 +0200)]
Amend 2d4284e89ef1

5 years agoAdapt VCS toolbar to info-inset change
Juergen Spitzmueller [Fri, 17 Aug 2018 18:15:10 +0000 (20:15 +0200)]
Adapt VCS toolbar to info-inset change

5 years agoUpdate sk.po
Kornel Benko [Fri, 17 Aug 2018 10:37:58 +0000 (12:37 +0200)]
Update sk.po

5 years agode.po
Juergen Spitzmueller [Fri, 17 Aug 2018 09:19:14 +0000 (11:19 +0200)]
de.po

5 years agoTypo
Juergen Spitzmueller [Fri, 17 Aug 2018 09:14:45 +0000 (11:14 +0200)]
Typo

5 years agoFix line break in tooltip
Juergen Spitzmueller [Fri, 17 Aug 2018 08:32:57 +0000 (10:32 +0200)]
Fix line break in tooltip

Fixes: #11252
5 years agoIntroduce listpreamble argument type
Juergen Spitzmueller [Fri, 17 Aug 2018 08:22:32 +0000 (10:22 +0200)]
Introduce listpreamble argument type

This uses the InsetArgument interface to provide access to a document
part hitherto inaccessible by LyX: the part between \begin and the first
\item in a list (where lengths and counters can be redefined, for
instance).

Fixes: #11098
File format change, layout format change

5 years agoGrrr, including noops (like comments) can be so destructive
Kornel Benko [Tue, 14 Aug 2018 15:03:30 +0000 (17:03 +0200)]
Grrr, including noops (like comments) can be so destructive

5 years agoDisambiguate dialog buttons
Juergen Spitzmueller [Tue, 14 Aug 2018 15:03:46 +0000 (17:03 +0200)]
Disambiguate dialog buttons

Fixes: #11242
5 years agoAllow using hyperref together with aastex62
Kornel Benko [Tue, 14 Aug 2018 14:22:09 +0000 (16:22 +0200)]
Allow using hyperref together with aastex62

Also chnage some ERT-constructs in aas_sample62.lyx to
the appropriate lyx-constructs.

5 years agoctest export tests: Discard obsolete aastex tests
Kornel Benko [Tue, 14 Aug 2018 12:09:09 +0000 (14:09 +0200)]
ctest export tests: Discard obsolete aastex tests

5 years agoRemove some latex definition from aastex62 user-preamble
Kornel Benko [Tue, 14 Aug 2018 11:05:01 +0000 (13:05 +0200)]
Remove some latex definition from aastex62 user-preamble
Moved to the features of the aastex62 layout

5 years agoUse correct entry to remove an obsolete inset layout
Kornel Benko [Tue, 14 Aug 2018 10:30:28 +0000 (12:30 +0200)]
Use correct entry to remove an obsolete inset layout

5 years agoComments only
Kornel Benko [Tue, 14 Aug 2018 10:09:17 +0000 (12:09 +0200)]
Comments only

No new lokalisable strings

5 years agoUpdate sk.po
Kornel Benko [Tue, 14 Aug 2018 10:08:37 +0000 (12:08 +0200)]
Update sk.po

5 years agode.po
Juergen Spitzmueller [Tue, 14 Aug 2018 09:07:54 +0000 (11:07 +0200)]
de.po

5 years agoNew sample for aastex62
Kornel Benko [Tue, 14 Aug 2018 08:29:15 +0000 (10:29 +0200)]
New sample for aastex62
aas_sample62.lyx is a adapted version of aas_sample.lyx

5 years agoctests: ignore obsolete aastex6.cls
Kornel Benko [Tue, 14 Aug 2018 07:40:42 +0000 (09:40 +0200)]
ctests: ignore obsolete aastex6.cls
aastex6.cls is obsolete in TL18 and replaced by aastex62.cls

5 years agoNew layout for copernicus.cls
Kornel Benko [Tue, 14 Aug 2018 06:55:22 +0000 (08:55 +0200)]
New layout for copernicus.cls

TODO: Update LaTeXConfig.lyx

5 years agoNew layout for aastex62.cls
Kornel Benko [Tue, 14 Aug 2018 06:49:34 +0000 (08:49 +0200)]
New layout for aastex62.cls