]>
git.lyx.org Git - features.git/log
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
Kornel Benko [Wed, 13 Mar 2019 13:06:18 +0000 (14:06 +0100)]
Fix #11505. Count and display number of replaced strings in FindAdv
Günter Milde [Wed, 13 Mar 2019 10:31:25 +0000 (11:31 +0100)]
Use CJKutf8 package if input encoding is "utf8" and a used language requires CJK.
CJKutf8 now used also if a secondary language requires CJK.
Günter Milde [Wed, 13 Mar 2019 10:13:44 +0000 (11:13 +0100)]
Remove special code for CJK that is no longer required (amends
e665715fc4 ).
Günter Milde [Tue, 12 Mar 2019 21:44:13 +0000 (22:44 +0100)]
ctests: dedicated test for problem with textgreek and textcyrillic.
Jean-Marc Lasgouttes [Tue, 12 Mar 2019 11:44:08 +0000 (12:44 +0100)]
Revert "Let tm be a reference here as elsewhere"
This commit was wrong because a reference variable can never be
re-assigned (it would change the original variable). I learn C++
pitfalls every day.
Fixes bug #11512.
This reverts commit
10e2c658351c237d3b35566857a533a9d08f7f65 .
Jean-Marc Lasgouttes [Tue, 12 Mar 2019 11:40:32 +0000 (12:40 +0100)]
Make TextMetrics noncopyable
This is done by declaring unimplemented private copy constructor and
assignment operator.
This breaks compilation in BufferView::textMetrics, which does a copy when
inserting a TextMetrics object in the cache. Some C++11 wizardry I will not
pretend to completely understand saves the day.
See the following page for details:
https://en.cppreference.com/w/cpp/container/map/emplace
This avoids real world bugs like #11512.
Juergen Spitzmueller [Tue, 12 Mar 2019 13:14:43 +0000 (14:14 +0100)]
Update layout versions
Juergen Spitzmueller [Tue, 12 Mar 2019 13:08:05 +0000 (14:08 +0100)]
Add NeedMBoxProtect [inset]layout option
This accesses the inulemcmd output param which protects specific commands
(\cite, \ref) in an \mbox.
This is needed in ulem and soul commands, since their complex
detokenization makes such commands (who produce multiple words via local
assignment) fail.
So now it is possible to properly support ulem and soul via
[inset]layout
Fixes a case reported in #9404
Kornel Benko [Tue, 12 Mar 2019 11:35:34 +0000 (12:35 +0100)]
Update sk.po
Juergen Spitzmueller [Tue, 12 Mar 2019 10:11:59 +0000 (11:11 +0100)]
de.po
Juergen Spitzmueller [Tue, 12 Mar 2019 08:00:59 +0000 (09:00 +0100)]
Warn if included file does not exist
Patch by Jürgen Womser-Schütz
Juergen Spitzmueller [Mon, 11 Mar 2019 15:14:13 +0000 (16:14 +0100)]
Add Jürgen Womser-Schütz to the credits
Juergen Spitzmueller [Mon, 11 Mar 2019 10:42:54 +0000 (11:42 +0100)]
revert_language: fix document language assignment
Juergen Spitzmueller [Mon, 11 Mar 2019 10:05:10 +0000 (11:05 +0100)]
thinko
Juergen Spitzmueller [Mon, 11 Mar 2019 09:56:50 +0000 (10:56 +0100)]
Dix revert_language with multiple languages per paragraph
Juergen Spitzmueller [Mon, 11 Mar 2019 09:56:12 +0000 (10:56 +0100)]
Prevent multiple insertion of language switch at document body
Juergen Spitzmueller [Mon, 11 Mar 2019 09:37:33 +0000 (10:37 +0100)]
Move function out of loop
Juergen Spitzmueller [Sun, 10 Mar 2019 15:37:31 +0000 (16:37 +0100)]
More exceptions to percent encoding
See #11511
Juergen Spitzmueller [Sun, 10 Mar 2019 12:40:29 +0000 (13:40 +0100)]
Remove misplaced comment
Juergen Spitzmueller [Sun, 10 Mar 2019 12:23:36 +0000 (13:23 +0100)]
Do not percent-encode & in urls
This is query syntax
Fixes: #11511
follows up [
c2db448ff5 /lyxgit]
Juergen Spitzmueller [Sun, 10 Mar 2019 12:09:28 +0000 (13:09 +0100)]
2de.po
;
Juergen Spitzmueller [Sun, 10 Mar 2019 12:04:15 +0000 (13:04 +0100)]
update tex2lyx tests after file format change
Juergen Spitzmueller [Sun, 10 Mar 2019 12:00:10 +0000 (13:00 +0100)]
use revert_language in more cases
Juergen Spitzmueller [Sun, 10 Mar 2019 11:43:09 +0000 (12:43 +0100)]
Further simplification
Juergen Spitzmueller [Sun, 10 Mar 2019 11:36:56 +0000 (12:36 +0100)]
lyx_2_3.py: use revert_language rather than local methods.
Juergen Spitzmueller [Sun, 10 Mar 2019 11:36:06 +0000 (12:36 +0100)]
Enhance revert_language function
This should now consider all cases (many of which were not handled so far)
Juergen Spitzmueller [Sun, 10 Mar 2019 09:31:39 +0000 (10:31 +0100)]
Correct message reference
Juergen Spitzmueller [Sun, 10 Mar 2019 09:26:20 +0000 (10:26 +0100)]
Add Joice to the credits
Juergen Spitzmueller [Sun, 10 Mar 2019 09:21:59 +0000 (10:21 +0100)]
Support for the Malayalam language
Patch by Joice Joseph
Kornel Benko [Sat, 9 Mar 2019 23:29:56 +0000 (00:29 +0100)]
FindAdv: Special handling for \dot{i} and 'ß'
Different behaviour in regexp{..} for 'İ' and 'ß':
1.) lowercase routine for 'İ' gives 'İ', so that if we are searching
while ignoring case, the string '\dot{I}' is converted to '\dot{i}'.
In this case we have to change it to 'İ' (instead of 'i', as one would expect).
2.) If 'ß' is inserted via keybord on fresh created regexp box it appears as \lyxmathsym{ß},
if pasted from the lyx-screen it appears as \text{ß}
Kornel Benko [Sat, 9 Mar 2019 20:24:21 +0000 (21:24 +0100)]
Amend
62f8b8be
The file test-insets.tex is changed, therefore the file
which is expected by tex2lyx (test-insets.lyx.lyx) has to be changed too.
Juergen Spitzmueller [Sat, 9 Mar 2019 11:00:40 +0000 (12:00 +0100)]
Do not use GUI language for shortcut info inset if no translation is available
Fixes: #11508
Now there is the opposite case which needs to be addressed:
If no translation is available for a shortcut in a non-latin-scripted
document, we need to switch the language to English.
Kornel Benko [Fri, 8 Mar 2019 21:44:00 +0000 (22:44 +0100)]
FindAdv: Expand the list of handled chars for dot below and ring above
Günter Milde [Fri, 8 Mar 2019 18:19:32 +0000 (19:19 +0100)]
ctests: Update tagging rules and comments.
Günter Milde [Fri, 8 Mar 2019 17:06:53 +0000 (18:06 +0100)]
unicodesymbols: Use \r{A} instead of \AA for "Latin letter A with ring" and "Ångström sign".
Xe/LuaTeX convert \AA to the deprecated character u212B (which is missing
in the default LatinModern font) instead of the recommended u00C5.
Also fix some of the "missing character" errors in Math.lyx if compiled with
Xe/LuaTeX which were caused by the replacement of \AA with literal u212B characters
in math-insets due to the old definitions in unicodesymbols.
Update the minimal example for failures of Math.lyx with system fonts.
Juergen Spitzmueller [Fri, 8 Mar 2019 15:48:49 +0000 (16:48 +0100)]
Silence compiler warning
Scott Kostyshak [Thu, 7 Mar 2019 22:20:37 +0000 (17:20 -0500)]
ctests: invert luainputenc-utf8_pdf5_texF
From Günter:
> OK, so in TL18 the Ukrainean "auto-date" (7 березня 2019 р.) fails with
> PDF (XeTeX) and DVI (LuaTeX) but not PDF (LuaTeX).
> Strange. Feel free to invert.