]>
git.lyx.org Git - lyx.git/log
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.
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
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
Richard Kimberly Heck [Fri, 5 Oct 2018 01:02:51 +0000 (21:02 -0400)]
Fix part of bug #8521.
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.
Richard Kimberly Heck [Fri, 4 May 2018 17:05:36 +0000 (13:05 -0400)]
Update the Advanced F&R document class when switching buffers.
Richard Kimberly Heck [Fri, 4 May 2018 16:37:52 +0000 (12:37 -0400)]
Copy modules into the Advanced F&R pane as well.
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.
Richard Kimberly Heck [Thu, 4 Oct 2018 21:56:14 +0000 (17:56 -0400)]
Richard Kimberly Heck [Thu, 4 Oct 2018 21:32:48 +0000 (17:32 -0400)]
Fix context menu for external edit.
Richard Heck [Sat, 7 Apr 2018 02:29:04 +0000 (22:29 -0400)]
Fix bug 9798.
Nameref support for math references.
Richard Kimberly Heck [Thu, 4 Oct 2018 18:02:01 +0000 (14:02 -0400)]
Fix bug #11275.
Show module name with description.
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.
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.
Jean-Marc Lasgouttes [Thu, 4 Oct 2018 12:27:43 +0000 (14:27 +0200)]
Fixup
38f09c177b7 : limit to paint rectangle
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.
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.
Enrico Forestieri [Tue, 2 Oct 2018 19:35:06 +0000 (21:35 +0200)]
Update it.po
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
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
Kornel Benko [Tue, 2 Oct 2018 09:28:46 +0000 (11:28 +0200)]
Added Adobe Source Pro fonts to lyx-GUI
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
Richard Kimberly Heck [Sat, 29 Sep 2018 21:44:25 +0000 (17:44 -0400)]
mingw build script
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 )
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'.
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.
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 .
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'.
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
Kornel Benko [Sat, 29 Sep 2018 09:07:50 +0000 (11:07 +0200)]
Update sk.po
Juergen Spitzmueller [Sat, 29 Sep 2018 08:27:20 +0000 (10:27 +0200)]
Juergen Spitzmueller [Sat, 29 Sep 2018 08:26:11 +0000 (10:26 +0200)]
de.po
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)
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
Richard Kimberly Heck [Sat, 29 Sep 2018 02:19:39 +0000 (22:19 -0400)]
Copy over Windows installer updates from stable.
Richard Kimberly Heck [Sat, 29 Sep 2018 02:18:15 +0000 (22:18 -0400)]
Copy over cmake packaging updates from 2.3.x.
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 )
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 )
Juergen Spitzmueller [Fri, 28 Sep 2018 06:36:44 +0000 (08:36 +0200)]
Use LTR environment for forceLTR content with polyglossia
Fixes: #10548
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.
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.
Kornel Benko [Thu, 27 Sep 2018 06:36:55 +0000 (08:36 +0200)]
Added some char styles to sk/menus.bind
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
Juergen Spitzmueller [Tue, 25 Sep 2018 11:13:56 +0000 (13:13 +0200)]
Do not store empty posttext for qualified citations
Fixes: #11308
Kornel Benko [Sun, 23 Sep 2018 14:34:58 +0000 (16:34 +0200)]
Update sk.po
Juergen Spitzmueller [Sun, 23 Sep 2018 12:11:53 +0000 (14:11 +0200)]
Layout fixes
Juergen Spitzmueller [Sun, 23 Sep 2018 11:29:19 +0000 (13:29 +0200)]
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.
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
Juergen Spitzmueller [Sat, 22 Sep 2018 08:37:22 +0000 (10:37 +0200)]
GuiCitation: don't reset filter on show
Addresses #11291
Stephan Witt [Fri, 21 Sep 2018 19:50:21 +0000 (21:50 +0200)]
Less verbose framework relocation support output.
Stephan Witt [Fri, 21 Sep 2018 19:48:48 +0000 (21:48 +0200)]
Add the option build with different compiler and linker flag extensions.
Stephan Witt [Fri, 21 Sep 2018 19:47:29 +0000 (21:47 +0200)]
Check exit state of install_name_tool calls.
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.
Juergen Spitzmueller [Fri, 21 Sep 2018 16:24:21 +0000 (18:24 +0200)]
de.po
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.
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.
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.
Jean-Marc Lasgouttes [Thu, 20 Sep 2018 09:31:23 +0000 (11:31 +0200)]
Paint underline for insets too.
Fixes bug 11297.
Juergen Spitzmueller [Thu, 20 Sep 2018 09:34:44 +0000 (11:34 +0200)]
Customization: use info-inset for layout format
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.
Juergen Spitzmueller [Thu, 20 Sep 2018 09:11:44 +0000 (11:11 +0200)]
info-insert without arg is valid
it opens the info dialog.
Juergen Spitzmueller [Wed, 19 Sep 2018 08:19:19 +0000 (10:19 +0200)]
Avoid infinite loop
Fixes: #11295
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.
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 .
Jean-Marc Lasgouttes [Tue, 18 Sep 2018 21:06:36 +0000 (23:06 +0200)]
Revert "Try to please windows compiler"
This reverts commit
a8b0e64094bd4c2cb878a70ffd5e3e9d175809a8 .
Juergen Spitzmueller [Sun, 16 Sep 2018 08:34:01 +0000 (10:34 +0200)]
Fix copy-paste error.
Candidate for stable.
Juergen Spitzmueller [Sun, 16 Sep 2018 08:13:40 +0000 (10:13 +0200)]
de.po: corrections
Kornel Benko [Sat, 15 Sep 2018 17:09:19 +0000 (19:09 +0200)]
Update sk.po, shortcut/menu-accelerator conflict
Kornel Benko [Thu, 13 Sep 2018 16:34:18 +0000 (18:34 +0200)]
keytests: Add waiting time to ease lyx-logs on some commands
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
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 .
Jean-Marc Lasgouttes [Wed, 12 Sep 2018 13:14:56 +0000 (15:14 +0200)]
needauth is not needed for Sweave>LyX
Indeed this relies on tex2lyx and does not run R scripts.
The same holds for Knitr>LyX
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.
Kornel Benko [Tue, 11 Sep 2018 22:38:38 +0000 (00:38 +0200)]
Unbind conflicting shortcut in Slovak UI
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.
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 '␣'
Juergen Spitzmueller [Mon, 10 Sep 2018 10:29:22 +0000 (12:29 +0200)]
Amend
2d4ac90fd20eac once more
Only use local switch in RTL environment.
Kornel Benko [Sun, 9 Sep 2018 11:38:10 +0000 (13:38 +0200)]
Update sk.po
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.
Juergen Spitzmueller [Sat, 8 Sep 2018 10:50:42 +0000 (12:50 +0200)]
Amend
2d4ac90fd20eac
Properly close local language switch.
Juergen Spitzmueller [Sat, 8 Sep 2018 07:50:48 +0000 (09:50 +0200)]
Covington now provides subexamples itself
Candidate for stable.
Juergen Spitzmueller [Thu, 6 Sep 2018 12:46:44 +0000 (14:46 +0200)]
Fix suprious comma in book and thesis bib preview.
Fixes: #11272
Jean-Marc Lasgouttes [Wed, 5 Sep 2018 15:29:43 +0000 (17:29 +0200)]
Fixup
7b7ed64a : allow toggling limits of (over|under)brace
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.
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.
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.
Pavel Sanda [Sun, 2 Sep 2018 11:34:51 +0000 (13:34 +0200)]
* RELEASE-NOTES
Juergen Spitzmueller [Sun, 2 Sep 2018 08:17:23 +0000 (10:17 +0200)]
use masterBuffer() rather than parent()
This also catches grandparents.
Thanks, Riki.
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.
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 .
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.
Juergen Spitzmueller [Sat, 1 Sep 2018 08:45:03 +0000 (10:45 +0200)]
Fix potential null pointer detected by Coverity
Juergen Spitzmueller [Sat, 1 Sep 2018 08:41:29 +0000 (10:41 +0200)]
Fix uninitialized value revealed by Coverity
Enrico Forestieri [Thu, 30 Aug 2018 19:56:26 +0000 (21:56 +0200)]
Update format of bind and ui files
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.
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.
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.
José Matos [Wed, 29 Aug 2018 16:26:21 +0000 (17:26 +0100)]
Replace /usr/bin/env python -> /usr/bin/python3
Jean-Marc Lasgouttes [Wed, 29 Aug 2018 15:53:06 +0000 (17:53 +0200)]
Document that building with Qt5 is the default.