]> git.lyx.org Git - lyx.git/log
lyx.git
5 years agoAmend 74c849d, Advanced search with format
Kornel Benko [Tue, 23 Oct 2018 17:59:08 +0000 (19:59 +0200)]
Amend 74c849d, Advanced search with format

Remove macros like '\tiny ' or '\tiny{}' or '\tiny' followed by
any other non-alpha char correctly

5 years agoUse underline in (+ bold) for char match in layout
Scott Kostyshak [Tue, 23 Oct 2018 01:16:56 +0000 (21:16 -0400)]
Use underline in (+ bold) for char match in layout

When showing the match characters in, e.g., the layout box, we now
underline (in addition to bold) the matched characters. This makes
the matched characters stand out even more.

See 4b716dd6 and the following ML thread:

  https://www.mail-archive.com/search?l=mid&q=20181019155649.dqqk6u25wdcdimrj%40barna

5 years agoAdvanced search with format, preparing for selective searching
Kornel Benko [Mon, 22 Oct 2018 18:19:36 +0000 (20:19 +0200)]
Advanced search with format, preparing for selective searching

As it is now, searching with format needs ALL the features set
in order to match the pattern.
What needs to be done is a GUI specifying which of the features are
important.
1.) language
2.) font (series, shape)
3.) markup, underline, strikeout
4.) color
Having this info, the implementation is easy. Set
some variables and be done

5 years agoAmend 8d8988de: it is too early for skipping the updateMacros call
Jean-Marc Lasgouttes [Mon, 22 Oct 2018 13:29:08 +0000 (15:29 +0200)]
Amend 8d8988de: it is too early for skipping the updateMacros call

5 years agoAdvanced search with format, consider also sectioning macros
Kornel Benko [Sat, 20 Oct 2018 10:47:37 +0000 (12:47 +0200)]
Advanced search with format, consider also sectioning macros

5 years agoAdvanced search with format, refactoring
Kornel Benko [Fri, 19 Oct 2018 17:11:20 +0000 (19:11 +0200)]
Advanced search with format, refactoring

5 years agoCommented out an unused function to please a picky compiler
Kornel Benko [Fri, 19 Oct 2018 09:10:54 +0000 (11:10 +0200)]
Commented out an unused function to please a picky compiler

5 years agoCompilation fix (with qt4 at least).
Jean-Marc Lasgouttes [Fri, 19 Oct 2018 08:02:02 +0000 (10:02 +0200)]
Compilation fix (with qt4 at least).

5 years agoUse bold instead of underlining to mark the characters we're matching.
Richard Kimberly Heck [Fri, 19 Oct 2018 01:47:22 +0000 (21:47 -0400)]
Use bold instead of underlining to mark the characters we're matching.

5 years agoSimplify the code that adds underlining to the layout combo.
Richard Kimberly Heck [Fri, 19 Oct 2018 01:41:20 +0000 (21:41 -0400)]
Simplify the code that adds underlining to the layout combo.

5 years agoRefactor
Richard Kimberly Heck [Fri, 19 Oct 2018 01:11:14 +0000 (21:11 -0400)]
Refactor

5 years agoRe-organize and simplify now.
Richard Kimberly Heck [Tue, 16 Oct 2018 02:52:53 +0000 (22:52 -0400)]
Re-organize and simplify now.

5 years agoWhitespace.
Richard Kimberly Heck [Tue, 16 Oct 2018 02:46:31 +0000 (22:46 -0400)]
Whitespace.

5 years agoFix bug #6096.
Richard Kimberly Heck [Tue, 16 Oct 2018 02:41:22 +0000 (22:41 -0400)]
Fix bug #6096.

We used to need a hack to set the size of the layout combo, but
the code was changed in Qt 4.5 or so. Hence the appearance of this
bug in 2009. We can now just remove this hack, and all seems to
work correctly.

5 years agoFilter on consecutive sequences of characters.
Richard Kimberly Heck [Tue, 16 Oct 2018 00:51:34 +0000 (20:51 -0400)]
Filter on consecutive sequences of characters.

The filters for the layout combo and document class combo share a
problem: If you type "beam", e.g, in the latter case, then we will
show any document class that contains those letters, in that order,
but not necessarily consecutively. This is extremely confusing and,
as José put it, just weird. So let's fix it.

I'd call this a bug so would be happy to see this in stable, too.

5 years agoAmend(4) 7a03fa6: Advanced search with format:
Kornel Benko [Thu, 18 Oct 2018 15:37:15 +0000 (17:37 +0200)]
Amend(4) 7a03fa6: Advanced search with format:

Further normalize the latex input in case of enabled format search.

It was not enough to split the latex input on \foreignlanguage and \textcolor
macros only.
Instead also macros like \textt, or \noun etc had to be accounted for.

This patch uses therefore a different algorithm.

5 years agoAmend(3) 7a03fa6: Advanced search with format:
Kornel Benko [Mon, 15 Oct 2018 06:09:19 +0000 (08:09 +0200)]
Amend(3) 7a03fa6: Advanced search with format:

Grrr... enable the search without format again

5 years agoAmend(2) 7a03fa6: Advanced search with format:
Kornel Benko [Sun, 14 Oct 2018 18:39:13 +0000 (20:39 +0200)]
Amend(2) 7a03fa6: Advanced search with format:

Further tweeking.

5 years agoAmend edca2e0: copy && paste error
Kornel Benko [Sat, 13 Oct 2018 20:22:48 +0000 (22:22 +0200)]
Amend edca2e0: copy && paste error

5 years agoAmend 7a03fa6: Advanced search with format:
Kornel Benko [Sat, 13 Oct 2018 19:02:53 +0000 (21:02 +0200)]
Amend 7a03fa6: Advanced search with format:

In the latexified text:
* Check and handle contained regex properly
* Discard superfluos '{' preventing our search engine
  to match with the search pattern

5 years agoAmend a754912 once more
Juergen Spitzmueller [Sat, 13 Oct 2018 11:51:00 +0000 (13:51 +0200)]
Amend a754912 once more

Do not use LTR environment (bidi) at all, since it adds unwanted
paragraph breaks.

Fixes: #11338
5 years agoClear bibfile cache when set of bibliography files change
Juergen Spitzmueller [Sat, 13 Oct 2018 09:06:24 +0000 (11:06 +0200)]
Clear bibfile cache when set of bibliography files change

Part of #9158

5 years agoAdvanced search with format: Prepare latex for find
Kornel Benko [Fri, 12 Oct 2018 14:47:07 +0000 (16:47 +0200)]
Advanced search with format: Prepare latex for find

Our findadv expects something like
prefix + 'search'
so that the regex (which is latexified too)
can work on 'search'
(In the source, the prefix is denoted by lead_as_string)

The latex output contains structs like
\foreignlaguage(abc}{xx\textbf{boldxx\textcolor{blue}{blue 1 blue 2} XX}}
which would never match the simple prefix.

Now the above is converted to
\foreignlaguage(abc}{xx}\\
\foreignlaguage(abc}{\textbf{boldxx}}
\foreignlaguage(abc}{\textbf{\textcolor{blue}{blue 1 blue 2}}}\\
\foreignlaguage(abc}{\textbf{ XX}}
Of course, more than one language or color in an inset can be searched for now.

5 years agoFix bug #11332
Enrico Forestieri [Wed, 10 Oct 2018 17:41:31 +0000 (19:41 +0200)]
Fix bug #11332

Add the "hyperref-driver=dvips" option to the extra flags of the
latex->dvi converter so that the breakurl package is automatically
loaded when needed.

5 years agoAmend a754912
Juergen Spitzmueller [Tue, 9 Oct 2018 16:04:51 +0000 (18:04 +0200)]
Amend a754912

Switch logic, since isStyle() does not cover inline math

Fixes: #11338
5 years agoLoad covington later
Juergen Spitzmueller [Tue, 9 Oct 2018 08:42:38 +0000 (10:42 +0200)]
Load covington later

This solves a loading order conflict with beamer-article.

5 years agoFollowup to 9fe101e8: remove unused method.
Jean-Marc Lasgouttes [Mon, 8 Oct 2018 14:03:20 +0000 (16:03 +0200)]
Followup to 9fe101e8: remove unused method.

5 years agoRemove support for pixmap cache
Jean-Marc Lasgouttes [Sun, 7 Oct 2018 12:48:05 +0000 (14:48 +0200)]
Remove support for pixmap cache

This code has issues and there is no evidence that it improves performance.

Remove LyXRC variable \use_pixmap_cache and update rc format to 29.

Now the global pixmap cache is only used by GuiCompleter. Therefore
there is no need to reset it when fonts change.

5 years agoAmend(2) b78bdf8
Kornel Benko [Sat, 6 Oct 2018 21:50:50 +0000 (23:50 +0200)]
Amend(2) b78bdf8
Modified language handling

Still, there are problems, because sometimes the search pattern
does not contain the the requested info. So the 'find' often fails
for strings inside a list environment.

5 years agoAmend(1) b78bdf8
Kornel Benko [Sat, 6 Oct 2018 07:58:29 +0000 (09:58 +0200)]
Amend(1) b78bdf8
In advanced search:
* Ignore font sizes
* ignore \\[a-z]+par{} macros
* ignore \\inputencoding{...} macros

5 years agoAdded better handling for languages and colors for advanced F&R
Kornel Benko [Fri, 5 Oct 2018 18:26:44 +0000 (20:26 +0200)]
Added better handling for languages and colors for advanced F&R

The change is significant if the search format is not disabled.
We try to analyze the pattern string first to get needed features
for the search.
We try to analyse the searched string and if it does not
contain all expected featers (color, language, char style, char decoration)

Still some problems though

5 years agoFix part of bug #8521.
Richard Kimberly Heck [Fri, 5 Oct 2018 01:02:51 +0000 (21:02 -0400)]
Fix part of bug #8521.

5 years agoFix bug #9004.
Richard Kimberly Heck [Fri, 5 Oct 2018 00:37:03 +0000 (20:37 -0400)]
Fix bug #9004.

I'm not entirely happy with this way of doing it. It seems messy.
But there is not another clear option right now.

5 years agoUpdate the Advanced F&R document class when switching buffers.
Richard Kimberly Heck [Fri, 4 May 2018 17:05:36 +0000 (13:05 -0400)]
Update the Advanced F&R document class when switching buffers.

5 years agoCopy modules into the Advanced F&R pane as well.
Richard Kimberly Heck [Fri, 4 May 2018 16:37:52 +0000 (12:37 -0400)]
Copy modules into the Advanced F&R pane as well.

5 years agoMake tab movement visible (#10733)
Guillaume Munch [Thu, 4 Oct 2018 23:52:21 +0000 (19:52 -0400)]
Make tab movement visible (#10733)

The nice hand-made solution for moving tabs has made its time. Use Qt's feature
instead from now on.

5 years agoFix up e5fc7327.
Richard Kimberly Heck [Thu, 4 Oct 2018 21:56:14 +0000 (17:56 -0400)]
Fix up e5fc7327.

5 years agoFix context menu for external edit.
Richard Kimberly Heck [Thu, 4 Oct 2018 21:32:48 +0000 (17:32 -0400)]
Fix context menu for external edit.

5 years agoFix bug 9798.
Richard Heck [Sat, 7 Apr 2018 02:29:04 +0000 (22:29 -0400)]
Fix bug 9798.

Nameref support for math references.

5 years agoFix bug #11275.
Richard Kimberly Heck [Thu, 4 Oct 2018 18:02:01 +0000 (14:02 -0400)]
Fix bug #11275.

Show module name with description.

5 years agoExtend fix for #7404 to allow any inset collapsible to be edited
Richard Kimberly Heck [Thu, 4 Oct 2018 17:36:01 +0000 (13:36 -0400)]
Extend fix for #7404 to allow any inset collapsible to be edited
externally.

5 years agoFix display of gather in lefteqn mode
Jean-Marc Lasgouttes [Thu, 4 Oct 2018 14:05:46 +0000 (16:05 +0200)]
Fix display of gather in lefteqn mode

The column is flushed when the display of equations is flushed.

Not sure what to do with RtL languages.

Fixes bug 11324.

5 years agoFixup 38f09c177b7: limit to paint rectangle
Jean-Marc Lasgouttes [Thu, 4 Oct 2018 12:27:43 +0000 (14:27 +0200)]
Fixup 38f09c177b7: limit to paint rectangle

5 years agoWhen ignoring an update, request one for later
Jean-Marc Lasgouttes [Wed, 3 Oct 2018 13:57:11 +0000 (15:57 +0200)]
When ignoring an update, request one for later

If we were not ready to paint the screen, this does not mean that we
should give up on repainting, just potpone it.

I thought that it was bad to call update() in the paint event, but I
cannot find reference to this anymore and everything seems to work as
intended.

5 years agoMake sure inset buffer is correctly set in math grid
Jean-Marc Lasgouttes [Wed, 3 Oct 2018 08:39:09 +0000 (10:39 +0200)]
Make sure inset buffer is correctly set in math grid

Make MathData::setBuffer set the buffer of insets that it contains.
Remove corresponding code from InsetMathNest.

update the buffer() property in the following tabular-feature
actions : copy-row, add-row, copy-col, add-col.

5 years agoUpdate it.po
Enrico Forestieri [Tue, 2 Oct 2018 19:35:06 +0000 (21:35 +0200)]
Update it.po

5 years agoIncrement version to 565 due to add of adobe source pro fonts
Kornel Benko [Tue, 2 Oct 2018 15:24:47 +0000 (17:24 +0200)]
Increment version to 565 due to add of adobe source pro fonts

5 years agoAdvaced search: Added handling to search for colored text
Kornel Benko [Tue, 2 Oct 2018 09:53:01 +0000 (11:53 +0200)]
Advaced search: Added handling to search for colored text

if used with format enabled

5 years agoAdded Adobe Source Pro fonts to lyx-GUI
Kornel Benko [Tue, 2 Oct 2018 09:28:46 +0000 (11:28 +0200)]
Added Adobe Source Pro fonts to lyx-GUI

5 years agoAmend(4) 73188e3
Kornel Benko [Mon, 1 Oct 2018 10:06:42 +0000 (12:06 +0200)]
Amend(4) 73188e3
* Added textsl, texttt, uline, uuline, sout, xout to the list of possible
  leading strings.
* Account for correct number of open braces in regex.
  Now the search works for enbled format too.

This is hopefully the last amend

5 years agomingw build script
Richard Kimberly Heck [Sat, 29 Sep 2018 21:44:25 +0000 (17:44 -0400)]
mingw build script

5 years agoTry to make Windows use a versioned directory for the user dir.
Richard Kimberly Heck [Sat, 29 Sep 2018 21:26:14 +0000 (17:26 -0400)]
Try to make Windows use a versioned directory for the user dir.

(cherry picked from commit 802fd7932b713ee80bf384facd45f45a5ac22de4)
(cherry picked from commit 4478451ea164a4de891b1d26ad3b1c04ad770337)

5 years agoAmend(3) 73188e3
Kornel Benko [Sun, 30 Sep 2018 16:37:55 +0000 (18:37 +0200)]
Amend(3) 73188e3
Adapt the positional references in regex supplied by user
so that for instance '([a-z]+)\s\1' to find identical words in sequence
is changed to '([a-z]+)\s\2'.

5 years agoAmend(2) 73188e3.
Kornel Benko [Sun, 30 Sep 2018 14:08:47 +0000 (16:08 +0200)]
Amend(2) 73188e3.

Added noun, textsf and texit to the list of possible
leading strings if searche with format enabled.
Searching seems to work as intended now.

5 years agoRevert "Check for old "LyX 2.3" user directory when configuring."
Richard Kimberly Heck [Sat, 29 Sep 2018 21:30:09 +0000 (17:30 -0400)]
Revert "Check for old "LyX 2.3" user directory when configuring."

This reverts commit 1fe6352d4f75776d40b17f714af772e97a039409.

5 years agoAmend(1) 73188e3.
Kornel Benko [Sat, 29 Sep 2018 16:46:21 +0000 (18:46 +0200)]
Amend(1) 73188e3.

This is slightly better, but still not satisfying.

Enable format search
Given the latexified string
\emph{Fox jUMps}
and using emphasized regex '\w*', we find 'Fox'. That is OK.
But the next find finds ' ', which is not OK.
In contrast, searching with '\w+', we find the correct string 'jUMps'.

5 years agokeytests: regex correction in test findadv-re-04
Kornel Benko [Sat, 29 Sep 2018 10:54:22 +0000 (12:54 +0200)]
keytests: regex correction in test findadv-re-04

Use '+' instead of not working '*' as quantifier
for advanced search with format enabled

5 years agoUpdate sk.po
Kornel Benko [Sat, 29 Sep 2018 09:07:50 +0000 (11:07 +0200)]
Update sk.po

5 years agoAmend cab46ff9d1ea3
Juergen Spitzmueller [Sat, 29 Sep 2018 08:27:20 +0000 (10:27 +0200)]
Amend cab46ff9d1ea3

5 years agode.po
Juergen Spitzmueller [Sat, 29 Sep 2018 08:26:11 +0000 (10:26 +0200)]
de.po

5 years agoTry to make findadv more robust if not ignoring format
Kornel Benko [Sat, 29 Sep 2018 07:23:30 +0000 (09:23 +0200)]
Try to make findadv more robust if not ignoring format

If searching for instance '.+' , the found string expanded
to the end of search buffer. So we have to replace
'.' with '[^\}]'.
Also all constructs like '[^abc]' had to be changed to '[^abc\}]'
to not go behind the actual format.
There is still problem using '*', but constructs usin '+' seem to work now.
('.*' finds everything from first char in correct format
 to (including) end of next format change
 while '.+' find _only_ characters in correct format)

5 years agoGuiCitation: Add some tooltips for the sake of keyboard users
Juergen Spitzmueller [Sat, 29 Sep 2018 07:18:26 +0000 (09:18 +0200)]
GuiCitation: Add some tooltips for the sake of keyboard users

Addresses #11317

5 years agoCopy over Windows installer updates from stable.
Richard Kimberly Heck [Sat, 29 Sep 2018 02:19:39 +0000 (22:19 -0400)]
Copy over Windows installer updates from stable.

5 years agoCopy over cmake packaging updates from 2.3.x.
Richard Kimberly Heck [Sat, 29 Sep 2018 02:18:15 +0000 (22:18 -0400)]
Copy over cmake packaging updates from 2.3.x.

5 years agoCheck for old "LyX 2.3" user directory when configuring.
Richard Kimberly Heck [Sat, 29 Sep 2018 01:42:49 +0000 (21:42 -0400)]
Check for old "LyX 2.3" user directory when configuring.

This is due to the bad packaging in the early 2.3.x installers. We
normally do not use version suffixes on Windows, but did.

(cherry picked from commit b738aa53d13780a4e271459d72171700cba304fa)

5 years agoWindows packaging updates.
Richard Kimberly Heck [Sat, 29 Sep 2018 01:50:25 +0000 (21:50 -0400)]
Windows packaging updates.

The main change here is that we need to delete LyX2.3.exe and
tex2lyx2.3.exe from the install directory, so they are not left
there (from previous, versioned installs).

(cherry picked from commit 0cbde8a8342bf55d431133b7acdfe88b655492f0)

5 years agoUse LTR environment for forceLTR content with polyglossia
Juergen Spitzmueller [Fri, 28 Sep 2018 06:36:44 +0000 (08:36 +0200)]
Use LTR environment for forceLTR content with polyglossia

Fixes: #10548
5 years agoAllow 'module in child not used in master' warning to be disabled.
Richard Kimberly Heck [Fri, 28 Sep 2018 01:56:29 +0000 (21:56 -0400)]
Allow 'module in child not used in master' warning to be disabled.

5 years agoFix bug #11210
Enrico Forestieri [Thu, 27 Sep 2018 19:21:49 +0000 (21:21 +0200)]
Fix bug #11210

On Windows, start viewers in detached processes in order to avoid
a crash of the QProcess destructor when their thread terminates.
The opening of a console window is avoided by redirecting to the
null device all standard I/O channels.

5 years agoAdded some char styles to sk/menus.bind
Kornel Benko [Thu, 27 Sep 2018 06:36:55 +0000 (08:36 +0200)]
Added some char styles to sk/menus.bind

5 years agoAdd bibtex inset to outliner if "add to toc" is checked.
Juergen Spitzmueller [Tue, 25 Sep 2018 13:24:46 +0000 (15:24 +0200)]
Add bibtex inset to outliner if "add to toc" is checked.

Fixes #11309

5 years agoDo not store empty posttext for qualified citations
Juergen Spitzmueller [Tue, 25 Sep 2018 11:13:56 +0000 (13:13 +0200)]
Do not store empty posttext for qualified citations

Fixes: #11308
5 years agoUpdate sk.po
Kornel Benko [Sun, 23 Sep 2018 14:34:58 +0000 (16:34 +0200)]
Update sk.po

5 years agoLayout fixes
Juergen Spitzmueller [Sun, 23 Sep 2018 12:11:53 +0000 (14:11 +0200)]
Layout fixes

5 years agoAmend bf0d4d3bc268cc5
Juergen Spitzmueller [Sun, 23 Sep 2018 11:29:19 +0000 (13:29 +0200)]
Amend bf0d4d3bc268cc5

5 years agochessgame.lyx: correct advice
Juergen Spitzmueller [Sun, 23 Sep 2018 11:02:57 +0000 (13:02 +0200)]
chessgame.lyx: correct advice

(lyx)skak requires the ps route for the movement indication.

Candidate for stable.

5 years agoRework chessboard support
Juergen Spitzmueller [Sun, 23 Sep 2018 10:26:43 +0000 (12:26 +0200)]
Rework chessboard support

* Use a module rather than a layout, since this package can be used with
  any class
* Do not hardcode options and settings. The package is very flexible,
  there is no need to limit this in LyX

5 years agoGuiCitation: don't reset filter on show
Juergen Spitzmueller [Sat, 22 Sep 2018 08:37:22 +0000 (10:37 +0200)]
GuiCitation: don't reset filter on show

Addresses #11291

5 years agoLess verbose framework relocation support output.
Stephan Witt [Fri, 21 Sep 2018 19:50:21 +0000 (21:50 +0200)]
Less verbose framework relocation support output.

5 years agoAdd the option build with different compiler and linker flag extensions.
Stephan Witt [Fri, 21 Sep 2018 19:48:48 +0000 (21:48 +0200)]
Add the option build with different compiler and linker flag extensions.

5 years agoCheck exit state of install_name_tool calls.
Stephan Witt [Fri, 21 Sep 2018 19:47:29 +0000 (21:47 +0200)]
Check exit state of install_name_tool calls.

5 years agoAdd -headerpad_max_install_names option to linker calls and make run path configurati...
Stephan Witt [Fri, 21 Sep 2018 19:46:47 +0000 (21:46 +0200)]
Add -headerpad_max_install_names option to linker calls and make run path configuration consistent.

This avoids failures when running install_name_tool on Mac when creating relocatable binaries using the bundled private frameworks.

5 years agode.po
Juergen Spitzmueller [Fri, 21 Sep 2018 16:24:21 +0000 (18:24 +0200)]
de.po

5 years agoAvoid space before completion in mathed
Jean-Marc Lasgouttes [Thu, 20 Sep 2018 21:51:21 +0000 (23:51 +0200)]
Avoid space before completion in mathed

This can happen if the current element has space after it (e.g. before
a relation).

Fixes bug #11283.

5 years agoIgnore horizontal wheel scrolling in workarea
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.

5 years agoAvoid crash with cursor down in math
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.

5 years agoPaint underline for insets too.
Jean-Marc Lasgouttes [Thu, 20 Sep 2018 09:31:23 +0000 (11:31 +0200)]
Paint underline for insets too.

Fixes bug 11297.

5 years agoCustomization: use info-inset for layout format
Juergen Spitzmueller [Thu, 20 Sep 2018 09:34:44 +0000 (11:34 +0200)]
Customization: use info-inset for layout format

5 years agoImplement layout format in insetinfo
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.

5 years agoinfo-insert without arg is valid
Juergen Spitzmueller [Thu, 20 Sep 2018 09:11:44 +0000 (11:11 +0200)]
info-insert without arg is valid

it opens the info dialog.

5 years agoAvoid infinite loop
Juergen Spitzmueller [Wed, 19 Sep 2018 08:19:19 +0000 (10:19 +0200)]
Avoid infinite loop

Fixes: #11295
5 years agoUse std::move in InsetText::updateBuffer for notes and friends
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.

5 years agoRevert "Use swap in InsetText::updateBuffer for notes ad friends"
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.

5 years agoRevert "Try to please windows compiler"
Jean-Marc Lasgouttes [Tue, 18 Sep 2018 21:06:36 +0000 (23:06 +0200)]
Revert "Try to please windows compiler"

This reverts commit a8b0e64094bd4c2cb878a70ffd5e3e9d175809a8.

5 years agoFix copy-paste error.
Juergen Spitzmueller [Sun, 16 Sep 2018 08:34:01 +0000 (10:34 +0200)]
Fix copy-paste error.

Candidate for stable.

5 years agode.po: corrections
Juergen Spitzmueller [Sun, 16 Sep 2018 08:13:40 +0000 (10:13 +0200)]
de.po: corrections

5 years agoUpdate sk.po, shortcut/menu-accelerator conflict
Kornel Benko [Sat, 15 Sep 2018 17:09:19 +0000 (19:09 +0200)]
Update sk.po, shortcut/menu-accelerator conflict

5 years agokeytests: Add waiting time to ease lyx-logs on some commands
Kornel Benko [Thu, 13 Sep 2018 16:34:18 +0000 (18:34 +0200)]
keytests: Add waiting time to ease lyx-logs on some commands

5 years agokeytests: Adapt test 'keytest/bug-10636' to changed binding for source preview
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

5 years agoRevert "Use new display() values to remove some inset hardcoding."
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.