]>
git.lyx.org Git - features.git/log
Kornel Benko [Sat, 23 Mar 2019 09:40:39 +0000 (10:40 +0100)]
Correctedt tests for Springer_Contributed_Books export tests
Adapt to the changed master document
Juergen Spitzmueller [Sat, 23 Mar 2019 09:17:33 +0000 (10:17 +0100)]
Add LFUN_BUFFER_WRITE_AS_TEMPLATE
Convenience function to easier save a file as template in the appropriate
templates folder.
Kornel Benko [Sat, 23 Mar 2019 09:05:18 +0000 (10:05 +0100)]
Corrected tests for chess exports
Pavel Sanda [Sat, 23 Mar 2019 08:21:24 +0000 (09:21 +0100)]
missing example
jpc [Sat, 23 Mar 2019 08:20:11 +0000 (09:20 +0100)]
Update shortcuts in fr.po
Juergen Spitzmueller [Sat, 23 Mar 2019 07:04:57 +0000 (08:04 +0100)]
Clarify soul module description
Günter Milde [Fri, 22 Mar 2019 22:57:29 +0000 (23:57 +0100)]
Adapt ctest tagging rules to the changed file names of templates and examples.
Günter Milde [Fri, 22 Mar 2019 22:54:35 +0000 (23:54 +0100)]
Add lib/unicodesymbols support for Hebrew.
Hebrew language must be set (otherwise character macros are not defined)
but this is normally no problem because it is also neede for RTL support.
Pavel Sanda [Fri, 22 Mar 2019 21:14:21 +0000 (22:14 +0100)]
Forgotten accelerators.
jpc [Fri, 22 Mar 2019 17:52:32 +0000 (18:52 +0100)]
Solve shortcut conflicts in fr.po
Juergen Spitzmueller [Fri, 22 Mar 2019 17:29:50 +0000 (18:29 +0100)]
Add soul module
Jean-Marc Lasgouttes [Fri, 22 Mar 2019 15:13:30 +0000 (16:13 +0100)]
Fix fonts used by sub/superscript in text
Several changes are needed to get things right:
* nested supersripts only work with inheritFonts=true.
* to get caret position right, it is necessary to remember the outside
font of the inset before computing metrics.
* to get the size right at insertion time, it is necessary to trigger
a metrics computation just after inset insertion.
Jean-Marc Lasgouttes [Fri, 22 Mar 2019 14:19:27 +0000 (15:19 +0100)]
Treat math style a bit more like other font features
While math style (scriptstyle,...) is not really something that can be
set, it is useful for text subscripts and superscripts and therefore
it makes sense to handle it in some places.
With this change, style is still not a first class feature, but good
enough for now. In particular, it is taken into account in update().
Jean-Marc Lasgouttes [Fri, 22 Mar 2019 13:39:36 +0000 (14:39 +0100)]
Compilation fix
Juergen Spitzmueller [Fri, 22 Mar 2019 13:22:16 +0000 (14:22 +0100)]
de.po
Juergen Spitzmueller [Fri, 22 Mar 2019 13:18:17 +0000 (14:18 +0100)]
Cosmetics
Juergen Spitzmueller [Fri, 22 Mar 2019 13:11:46 +0000 (14:11 +0100)]
Use GuiLyXFiles also for ui, kbd and bind files in prefs
Juergen Spitzmueller [Fri, 22 Mar 2019 13:10:05 +0000 (14:10 +0100)]
Disable language combo if there is nothing to select
Juergen Spitzmueller [Fri, 22 Mar 2019 13:09:40 +0000 (14:09 +0100)]
Fix duplicate language entry
Kornel Benko [Fri, 22 Mar 2019 10:47:53 +0000 (11:47 +0100)]
Update sk.po
Juergen Spitzmueller [Fri, 22 Mar 2019 10:25:20 +0000 (11:25 +0100)]
Add forgotten replacement
Juergen Spitzmueller [Fri, 22 Mar 2019 10:16:43 +0000 (11:16 +0100)]
de.po
Juergen Spitzmueller [Fri, 22 Mar 2019 10:10:49 +0000 (11:10 +0100)]
Fix problematic characters in example/template file names
For (, ) and & we use URL encoding now.
Juergen Spitzmueller [Fri, 22 Mar 2019 08:37:12 +0000 (09:37 +0100)]
Replace unnecessary ampersand in folder name
Günter Milde [Fri, 22 Mar 2019 00:13:23 +0000 (01:13 +0100)]
Fix inputencoding for documentation, examples, and templates.
* "platex" fails with "inputencoding default", if there is text in other languages.
"jis-platex" works fine, "jis-utf8" fails with German Umlauts (maybe more).
* The expert setting "inputencoding default" switches the inpute encoding
with language switches without marking this in the LaTeX source.
It is rarely required (if ever) and makes documents easy to break.
It is not required for AMS Books, Simple CV, ... (probabely a tex2lyx issue).
"utf8" and "auto" work fine.
Uwe Stöhr [Fri, 22 Mar 2019 00:18:04 +0000 (01:18 +0100)]
installer: fix a display issue
a path in the uninstaller was not visible because of missing line breaks
Uwe Stöhr [Fri, 22 Mar 2019 00:06:56 +0000 (01:06 +0100)]
installer: remove unsupported TeX distributions
MiKTeX 2.8 and TeXLive 2014 are since a while not supported
Juergen Spitzmueller [Thu, 21 Mar 2019 18:31:46 +0000 (19:31 +0100)]
Fix header case
Juergen Spitzmueller [Thu, 21 Mar 2019 18:23:33 +0000 (19:23 +0100)]
Replace Type combo, which was considered irritating, with a Type filter
The new one allows to display only user or system files.
Jean-Marc Lasgouttes [Thu, 21 Mar 2019 17:45:28 +0000 (18:45 +0100)]
typo
Günter Milde [Thu, 21 Mar 2019 16:41:14 +0000 (17:41 +0100)]
Amend
d3ec77c6338 : adapt ctest tag files.
Update the regular expressions for inversion and tagging of tests
to use the new paths for examples and templates.
Günter Milde [Thu, 21 Mar 2019 16:39:51 +0000 (17:39 +0100)]
Kluwer example fails with Polyglossia.
Kornel Benko [Thu, 21 Mar 2019 15:12:02 +0000 (16:12 +0100)]
CMake build: Rename HAVE_LONG_LONG to HAVE_LONG_LONG_INT
Kornel Benko [Thu, 21 Mar 2019 14:17:24 +0000 (15:17 +0100)]
Amend
601244ba92 : Use HAVE_LONG_LONG_INT instead of LYX_USE_LONG_LONG
Cmake changes
Juergen Spitzmueller [Thu, 21 Mar 2019 13:39:33 +0000 (14:39 +0100)]
Consider files only in lang subtrees
Kornel Benko [Thu, 21 Mar 2019 13:30:03 +0000 (14:30 +0100)]
Update sk.po
Jean-Marc Lasgouttes [Thu, 21 Mar 2019 13:05:50 +0000 (14:05 +0100)]
Use HAVE_LONG_LONG_INT instead of LYX_USE_LONG_LONG
It seems that the extra complication hurts more than it helps (for
example with OpenBSD).
Some adaptation will be needed for cmake.
Juergen Spitzmueller [Thu, 21 Mar 2019 13:18:03 +0000 (14:18 +0100)]
GuiLyXFiles: fix icons and tooltips
Juergen Spitzmueller [Thu, 21 Mar 2019 12:40:11 +0000 (13:40 +0100)]
GuiLyXFiles: prefill language combo
Kornel Benko [Thu, 21 Mar 2019 11:53:41 +0000 (12:53 +0100)]
FindAdv: Cosmetics
Remove parentheses from return statements,
add '_' to private members
Jean-Marc Lasgouttes [Thu, 21 Mar 2019 10:27:51 +0000 (11:27 +0100)]
Mark inserted/deleted end of paragraph using pilcrow
Instead of the weird corner line, display a pilcrow sign (even when
disabled in prefs) to mark inserted/deleted end of paragraph.
Incidentally, this fixes the recent placement bug of the corner line.
Jean-Marc Lasgouttes [Thu, 21 Mar 2019 09:28:16 +0000 (10:28 +0100)]
Compilation fix
For some reason I need this (maybe a Qt4/5 discrepancy).
Juergen Spitzmueller [Thu, 21 Mar 2019 08:13:09 +0000 (09:13 +0100)]
GuiLyXFiles: rework language selector
Now only the languages available for the selected file are displayed.
By default, LyX pre-selects the GUI language (and falls back to English
if this is not available). Once another language has been selected by
the user, this one is preferred before the GUI language (and the English
fallback).
Uwe Stöhr [Thu, 21 Mar 2019 01:45:21 +0000 (02:45 +0100)]
installer/setup/configure.nsh: revert an unwanted commit part
Uwe Stöhr [Thu, 21 Mar 2019 01:41:57 +0000 (02:41 +0100)]
installer: fix icon issue
LyX did not show up in the Windows Control panel with its icon
Uwe Stöhr [Thu, 21 Mar 2019 01:40:44 +0000 (02:40 +0100)]
installer: update some links
also update header info
Uwe Stöhr [Thu, 21 Mar 2019 01:35:51 +0000 (02:35 +0100)]
convertDefault.py: remove ancient restriction
there is no longer the need to restrict the image depth (on Windows since years the 16 bit depth version of ImageMagick is bundled)
Kornel Benko [Wed, 20 Mar 2019 22:20:13 +0000 (23:20 +0100)]
FindAdv: Added remaining accents(2) dgrave, textdoublegrave, rcap, textroundcap
Juergen Spitzmueller [Wed, 20 Mar 2019 17:38:07 +0000 (18:38 +0100)]
GuiLyXFiles: add icons that indicate whether a file is from user or system
Juergen Spitzmueller [Wed, 20 Mar 2019 17:37:34 +0000 (18:37 +0100)]
Add Qt-internal string for translation
Jean-Marc Lasgouttes [Wed, 20 Mar 2019 16:25:25 +0000 (17:25 +0100)]
Initialize hasTitle in Intervall constructor
I also moved around some things while I was at it.
Spotted by coverity scan.
Juergen Spitzmueller [Wed, 20 Mar 2019 11:37:55 +0000 (12:37 +0100)]
Do not close LyXFiles dialog on double-clicking header
Juergen Spitzmueller [Wed, 20 Mar 2019 11:36:39 +0000 (12:36 +0100)]
Jean-Marc Lasgouttes [Wed, 20 Mar 2019 10:45:29 +0000 (11:45 +0100)]
Compilation fix for Qt < 5.2.
Jean-Marc Lasgouttes [Wed, 20 Mar 2019 09:56:16 +0000 (10:56 +0100)]
Cache the value of GuiFontMetrics::lbearing().
This seems to be necessary on windows, where math editing can get very
slow. Note that other methods like rbearing already use a cache.
In the future all these caches for single characters shall be unified.
Scott Kostyshak [Wed, 20 Mar 2019 03:08:35 +0000 (23:08 -0400)]
ctests: inverted -> "wrong output" for 2 uk tests
These exports no longer give an error (with TL18, TL19-pre), but
have wrong output.
Scott Kostyshak [Wed, 20 Mar 2019 03:00:25 +0000 (23:00 -0400)]
Development.lyx: s/splash.lyx/Welcome.lyx/g
This follows
d3ec77c6 .
Scott Kostyshak [Wed, 20 Mar 2019 02:54:40 +0000 (22:54 -0400)]
ctest control files: s/splash.lyx/Welcome.lyx/g
This follows
d3ec77c6 .
Günter Milde [Mon, 11 Mar 2019 14:24:22 +0000 (15:24 +0100)]
Fix remainder of #9681 (textcyrillic and textgreek handling).
* Fix macro termination if \textcyrillic or \textgreek is not required
for Greek or Cyrillic letter.
* Replace "writeScriptChars" with conditionals in the character-output loop in
"Paragraph::latex" (solves "FIXME: modifying i here is not very nice...").
The font changing commands \textcyrillic and \textgreek are no longer
part of the textcommand in "lib/unicodesymbols" but added when required
in Paragraph::Private::latexSpecialChar.
Günter Milde [Tue, 19 Mar 2019 21:14:44 +0000 (22:14 +0100)]
ctest update and small documentation fixes.
Kornel Benko [Tue, 19 Mar 2019 17:29:55 +0000 (18:29 +0100)]
Update sk.po
Juergen Spitzmueller [Tue, 19 Mar 2019 16:55:19 +0000 (17:55 +0100)]
GuiLyXFiles: add language selector.
Juergen Spitzmueller [Tue, 19 Mar 2019 15:58:23 +0000 (16:58 +0100)]
GuiLyXFiles: A bit more work towards generalization
Bind and Ui files can be displayed in this dialog now (via lfun
dialog-show lyxfiles ui|bind), although it is not yet usable in prefs.
Kornel Benko [Tue, 19 Mar 2019 13:34:32 +0000 (14:34 +0100)]
Cmake build: Amend(2)
d3ec77c6 : Reorganize templates and example folders
Install files from these new directories
Juergen Spitzmueller [Tue, 19 Mar 2019 12:36:05 +0000 (13:36 +0100)]
cosmetics
Juergen Spitzmueller [Tue, 19 Mar 2019 12:29:32 +0000 (13:29 +0100)]
GuiLyXFiles: minor generalization
Kornel Benko [Tue, 19 Mar 2019 09:58:48 +0000 (10:58 +0100)]
Update sk.po
Kornel Benko [Tue, 19 Mar 2019 09:56:06 +0000 (10:56 +0100)]
Amend
d3ec77c6 : Reorganize templates and example folders
Fixed cmake tests
Juergen Spitzmueller [Tue, 19 Mar 2019 08:10:14 +0000 (09:10 +0100)]
de.po
Juergen Spitzmueller [Tue, 19 Mar 2019 08:08:44 +0000 (09:08 +0100)]
Add examples/templates dialog entries to po files.
Juergen Spitzmueller [Tue, 19 Mar 2019 07:22:22 +0000 (08:22 +0100)]
de.po
Juergen Spitzmueller [Tue, 19 Mar 2019 07:08:30 +0000 (08:08 +0100)]
Fix redundancy
Juergen Spitzmueller [Tue, 19 Mar 2019 06:42:11 +0000 (07:42 +0100)]
Fix strings
Juergen Spitzmueller [Tue, 19 Mar 2019 06:13:51 +0000 (07:13 +0100)]
Fix redundant naming
Juergen Spitzmueller [Tue, 19 Mar 2019 06:07:22 +0000 (07:07 +0100)]
Reorganize templates and example folders
Re-structure and rename files in a transparent way. Most template/example
names now correspond to the (verbose GUI) name of their layouts.
Note that this, most prominently, also changes [LANG/]splash.lyx to
something less insiderish, namely "Welcome.lyx".
Juergen Spitzmueller [Tue, 19 Mar 2019 05:59:24 +0000 (06:59 +0100)]
Add new dialog for templates and examples
This lists all respective files from user, build and system directory
in a structured way and thus allows for easier access to them.
Fixes: #2396, #6861
Kornel Benko [Mon, 18 Mar 2019 17:19:44 +0000 (18:19 +0100)]
FindAdv: Polishing
1.) Use vector for borders, because any value may be too small
if there are plenty of accented characters in a paragraph
2.) use '[\S]' instead of '.' in regex for 'accre'. The regex would
otherwise find also patterns like '\ {some text}'
Günter Milde [Mon, 18 Mar 2019 17:16:40 +0000 (18:16 +0100)]
Fix #11520 Wrong inpute encoding when master and child use different setting.
Günter Milde [Mon, 18 Mar 2019 11:49:10 +0000 (12:49 +0100)]
Warn user, if input encodings of master and child document differ.
Kornel Benko [Mon, 18 Mar 2019 11:59:40 +0000 (12:59 +0100)]
FindAdv: Added remaining accents cedilla, subring, subhat subtilde
Kornel Benko [Mon, 18 Mar 2019 08:38:34 +0000 (09:38 +0100)]
FindAdv: Casting to satisfy Windows compiler
Thanks to Jean-Marc Lasgouttes
Jean-Marc Lasgouttes [Sun, 17 Mar 2019 13:28:22 +0000 (14:28 +0100)]
Fix MSVC warning
Jean-Marc Lasgouttes [Sun, 17 Mar 2019 12:57:44 +0000 (13:57 +0100)]
Update poor man's profiler to use C++11 std::chrono
This is more portable, and the old code prevented in windows to use
instrument several classes at the same time (several .obj files,
actually).
No new feature here, bu the code is nicely slower. It might be less
efficient, I am not really at ease with how std::chrono works.
Kornel Benko [Sun, 17 Mar 2019 12:06:56 +0000 (13:06 +0100)]
FindAdv: Expand the list of handled chars for ogonek
Günter Milde [Sun, 17 Mar 2019 10:32:14 +0000 (11:32 +0100)]
ctests: update tagging scripts.
Günter Milde [Sun, 17 Mar 2019 10:31:07 +0000 (11:31 +0100)]
unicodesymbols: Add force flags for Arabic and Hebrew input encodings.
Günter Milde [Sun, 17 Mar 2019 10:20:58 +0000 (11:20 +0100)]
Amend
d53a13a : Bug 11519 only manifests if inputenc != "auto".
Günter Milde [Sat, 16 Mar 2019 16:55:44 +0000 (17:55 +0100)]
ctest for bug #11519
Günter Milde [Sat, 16 Mar 2019 12:39:56 +0000 (13:39 +0100)]
ctests: add tests for #10600 (forced inputenc "ascii" with XeTeX and TeX-fonts).
Günter Milde [Sat, 16 Mar 2019 11:59:34 +0000 (12:59 +0100)]
Small formatting and comments update.
Kornel Benko [Sat, 16 Mar 2019 10:26:20 +0000 (11:26 +0100)]
FindAdv: Correct start of search if not using regex
Do not try to find pattern inside the leading string.
Juergen Spitzmueller [Sat, 16 Mar 2019 08:03:19 +0000 (09:03 +0100)]
Handle \protect'ion of label in listings
Since listings labels are passed as an argument of their own, we need
to strip the \protect flag.
Kornel Benko [Sat, 16 Mar 2019 07:17:09 +0000 (08:17 +0100)]
Amend
7ac04a2b : Count and display number of replaced strings in FindAdv
We have to know if the previous call to search was a single replace or not,
so that we can correctly initialize the numer of replaed strings.
Juergen Spitzmueller [Fri, 15 Mar 2019 10:23:53 +0000 (11:23 +0100)]
Do not force LTR with nameref and non-TeX fonts
Fixes: #11518
Richard Kimberly Heck [Fri, 15 Mar 2019 00:28:01 +0000 (20:28 -0400)]
Fix regression concerning collapsing insets after search.
To reproduce: Do a search for text in a footnote (say) that is
currently closed. Click inside the now open footnote. It will close
by itself.
We need to know whether we can go into the inset, not whether we can
edit once we're there.
Juergen Spitzmueller [Thu, 14 Mar 2019 13:38:08 +0000 (14:38 +0100)]
Protect label in moving argument
Fixes: #9404
Juergen Spitzmueller [Thu, 14 Mar 2019 13:24:43 +0000 (14:24 +0100)]
Move labels and insets out of moving arguments
Fixes: #2154
Kornel Benko [Wed, 13 Mar 2019 18:49:11 +0000 (19:49 +0100)]
Amend
92628a29 :Try to use valid locales for testing
Kornel Benko [Wed, 13 Mar 2019 13:30:47 +0000 (14:30 +0100)]
Update sk.po
Kornel Benko [Wed, 13 Mar 2019 13:14:35 +0000 (14:14 +0100)]
Typo