Jean-Marc Lasgouttes
455f10eae7
Revert "backing store"
...
This is not ready yet.
This reverts commit 1a2b1a3bfad7ce48e2a025d3a3dab7103fd0039c.
2019-07-01 10:38:16 +02:00
Juergen Spitzmueller
cd5c406d9a
More localization fixes
2019-06-26 12:25:53 +02:00
Juergen Spitzmueller
c703f76fe1
legacy > traditional
2019-06-26 11:14:59 +02:00
Juergen Spitzmueller
a62c4252ab
Flag GUI strings for translation
...
Still room for improvement
2019-06-26 11:04:56 +02:00
Juergen Spitzmueller
0a8294d426
Improve encoding GUI string
2019-06-26 08:57:05 +02:00
Jean-Marc Lasgouttes
1a2b1a3bfa
backing store
2019-06-25 12:39:32 +02:00
Juergen Spitzmueller
57788b8719
Fix tooltip
2019-06-22 08:35:14 +02:00
Günter Milde
71a57e0f4d
Preserve \inputencoding value when switching to non-TeX fonts.
...
With non-TeX fonts, the \inputencoding setting is overridden
by "utf8-plain" (pass-through). Keeping the old value allows
switching back to TeX fonts without the need to (re)set
the input encoding.
Also change back the GUI name of the "auto-legacy" setting
(cf. #11115 ).
2019-06-21 12:40:41 +02:00
Jean-Marc Lasgouttes
938463b5d6
Fixup 3dc54d4a: fix string encoding issues with Qt4
...
The culprit here is the constructor QString(QByteArray const &): in
Qt4, it would interpret the byte array as latin1, and in Qt5 as utf8.
Therefore it is safer to use explicitly QString::fromUtf8 instead of
this constructor.
Several places where additionally simplified, in order to avoid some
extra conversions.
2019-06-20 11:27:15 +02:00
Jean-Marc Lasgouttes
3a7142d9bf
Fix compilation with Qt4
2019-06-20 10:48:59 +02:00
Günter Milde
5fe6bc616c
Fix order of Unicode encodings in Settings combobox.
...
Ensure the default encoding "utf8" comes always first,
followed by other common variants.
The encodings were sorted based on the GUI name which leads to
the default setting moving from the top position in some localizations.
2019-06-19 21:09:16 +02:00
Günter Milde
53500242f9
Harmonize input encoding selection widgets.
...
See #11115 .
2019-06-18 15:43:34 +02:00
Jean-Marc Lasgouttes
5249eaaa60
Use <cstdint> instead of <boost/cstdint.hpp>
...
This is mandated by C++11.
2019-06-17 16:19:31 +02:00
Jean-Marc Lasgouttes
2b1515a936
Rename LM_ST_* to *_STYLE and FONT_SIZE_* to *_SIZE
...
This makes code more uniform. This is typically something that is done
at end of cycle to limit backport issues later.
2019-06-14 17:05:49 +02:00
Jean-Marc Lasgouttes
f12e796999
Revert "Rename LM_TC_* to FONT_STYLE_*"
...
Got it wrong, revert for now.
This reverts commit 67215833a174bfb1db8a259f61ed57ae67e10655.
2019-06-14 17:05:00 +02:00
Jean-Marc Lasgouttes
67215833a1
Rename LM_TC_* to FONT_STYLE_*
...
This makes code more uniform. This is typically something that is done
at end of cycle to limit backport issues later.
2019-06-14 16:42:02 +02:00
Günter Milde
c627507b3f
Revert 051de65db and implement alternative fix for remainder of #11115 .
2019-06-12 11:48:47 +02:00
Richard Kimberly Heck
acd0f2fc78
Do not show both 'hide' and 'close' options on tabs for child buffers.
...
We can only close it (as opposed to hide it) if it's not a child.
Part of #11331 .
2019-06-10 16:47:16 -04:00
Günter Milde
051de65db9
Fix remainder of #11115 .
...
Implement GUI suggestions from
https://www.lyx.org/trac/ticket/11115#comment:26
2019-06-05 11:18:36 +02:00
Richard Kimberly Heck
0d54d3b762
Allow click on the 'spinner' to cancel export.
2019-05-27 23:21:07 -04:00
Günter Milde
c83765163f
CJK package is never used with non-TeX fonts.
...
Prepare for languages that use CJK with TeX fonts and Polyglossia
with non-TeX fonts.
Korean is already supported by Polyglossia,
LyX support will follow (file version change).
2019-05-26 01:45:35 +02:00
Juergen Spitzmueller
1cafea7cf7
Read line edit label
...
Otherwise it is not clear what this means.
2019-05-24 17:51:42 +02:00
Juergen Spitzmueller
b6cb557c7d
size tweak
2019-05-24 17:39:22 +02:00
Pavel Sanda
88f4718996
lineno: convert ui GB to CB per Juergen's request
2019-05-24 15:40:09 +02:00
Juergen Spitzmueller
03d9fe3a80
Some grammar and casing fixes and tooltip improvements
2019-05-24 10:59:00 +02:00
Pavel Sanda
7f125f62d2
Introduce doc preference for line numbering.
...
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg208781.html
2019-05-23 15:13:27 +02:00
Pavel Sanda
e3707f1331
Resave NumberingUi.ui in qt5 designer
2019-05-23 15:11:39 +02:00
Richard Kimberly Heck
596b3c4522
Include all parent branches in the menu.
...
Previously, we only included branches from the master document. This
includes those from the parent, grandparent, etc, and does so in a way
that won't crash on recursive includes.
2019-05-22 22:00:31 -04:00
Richard Kimberly Heck
1842a11b3b
Change how branches are displayed on the menus.
...
Show this document's branches first in the menu, and then show the
master document's branches on a sub-menu.
2019-05-22 21:41:22 -04:00
Richard Kimberly Heck
24fefaf23d
Use ranges.
2019-05-22 21:41:22 -04:00
Richard Kimberly Heck
5fa493aa4a
Re-organize and comment code a bit.
2019-05-22 20:58:00 -04:00
Juergen Spitzmueller
3da25187a9
Prevent assert due to some odd role in older qt versions.
2019-05-14 14:05:46 +02:00
Jean-Marc Lasgouttes
6df593049c
Revert "Try to compute row height like it should be done"
...
This is not done right at all. The best is to revert for now and
think about how to do it properly.
This reverts commit 66a3d64346332e47252b37dbc0f80158738987dc.
2019-05-13 10:47:47 +02:00
Richard Kimberly Heck
051a1a56a9
Revert "GMO for BG"
...
This reverts commit 5b84f11f80d1ec160dbfa312bc2358cfd7abec72.
2019-05-12 23:30:49 -04:00
Richard Kimberly Heck
5b84f11f80
GMO for BG
2019-05-12 23:30:13 -04:00
Richard Kimberly Heck
15b90e4cc1
Rename for clarity.
2019-05-12 23:16:25 -04:00
Juergen Spitzmueller
682eabbe8e
GuiDocument: Further encoding GUI improvement
...
Move the odd "(no inputenc)" option out of the encoding list.
2019-05-12 09:10:24 +02:00
Juergen Spitzmueller
e94239e973
Correct entry string
2019-05-11 19:04:36 +02:00
Juergen Spitzmueller
83a62a6d74
Further encoding GUI improvements
2019-05-11 12:16:52 +02:00
Juergen Spitzmueller
a6116428c0
GuiDocument: Adapt to new encoding default
...
Also simplify the code.
2019-05-11 11:28:21 +02:00
Jean-Marc Lasgouttes
c3f10df95d
Move the stateText code for FontInfo to FontInfo class.
...
The first parameter of Font::stateText is now optional.
2019-05-10 10:45:40 +02:00
Günter Milde
337e3ff9a6
Fix Font selector GUI (font encoding) broken in 27ba6f282dc3.
2019-04-30 09:34:51 +02:00
Juergen Spitzmueller
e325c7cc6a
GuiIdListModel: ignore DecorationRole (icons of available list)
2019-04-20 17:50:21 +02:00
Juergen Spitzmueller
b60259fbe1
Add system/local icon to available modules list
...
Also markup modules with missing requirements (like we do for layouts)
2019-04-20 09:28:46 +02:00
Juergen Spitzmueller
c0f734bcef
Fix some listings/minted incompatibilities
...
The basic problem here is that rather than using an abstract syntax,
backend-specific param strings are produced in the listings dialog,
depending on whether listings or minted is used.
Of course this breaks if a user switches backends inbetween (s/he would
have to open and re-apply each and every listings inset!)
Do at least the most basic translations in InsetListings::latex().
A sane solution would imply the use of only one param syntax with
respective interpretation for each backend. But this would be a file
format change.
2019-04-19 19:03:29 +02:00
Juergen Spitzmueller
499167b2c5
Another quotation mark fix.
2019-04-19 14:27:27 +02:00
Juergen Spitzmueller
ac84510453
Fix quotation marks in GUI string.
2019-04-19 13:43:33 +02:00
Juergen Spitzmueller
2fa68abd00
Layout tweaking
2019-04-19 11:27:54 +02:00
Juergen Spitzmueller
7cadacb19b
The Author(Year) label format is also mandatory for numeric natbib!
2019-04-19 09:53:42 +02:00
Juergen Spitzmueller
bebc184054
Display full author list with Natbib (non-BibTeX) if requested
2019-04-19 09:33:31 +02:00