Commit Graph

32789 Commits

Author SHA1 Message Date
Scott Kostyshak
9ea4fc6e0f Revert "Update previews after pasting (#6211)"
As JMarc notes on the ML, the referenced commit modifies a full
buffer just in the middle of a dispatch action.

Further, this commit lead to an assertion [1], although it is not
clear to me whether the root cause of the assertion is the commit
that is being reverted here, or one of the issues we have with
previews and macros.

This reverts commit 6ac04e21f4.

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg187921.html
2015-06-07 12:11:43 -04:00
Richard Heck
0abf9ac79a Revert "layouttranslations: backport pt_BR additions and Arabic translation from master"
This reverts commit e44612f0f2.

Revert "layouttranslations: Arabic update by Hatim"

This reverts commit 407d5bf228.

It is not permitted to change lib/layoutranslations during a stable cycle.
2015-06-04 15:10:06 -04:00
Enrico Forestieri
7013445bdd Backport the latest changes to the instant preview scripts.
Also fix a glitch recently reported on the devel list.
No status line as this is a further amendement to b3d2ffc0.
2015-06-04 17:58:55 +02:00
Juergen Spitzmueller
ebbe6c1924 Fix preview of included files in child documents (bug #9583) 2015-06-04 08:32:07 +02:00
Uwe Stöhr
dbadd00733 Merge branch '2.1.x' of git.lyx.org:lyx into 2.1.x 2015-06-04 01:16:29 +02:00
Uwe Stöhr
e44612f0f2 layouttranslations: backport pt_BR additions and Arabic translation from master 2015-06-04 01:16:17 +02:00
Uwe Stöhr
407d5bf228 layouttranslations: Arabic update by Hatim 2015-06-04 01:12:12 +02:00
Enrico Forestieri
414dd4485e Update it.po 2015-06-03 20:39:48 +02:00
Uwe Stöhr
ae0debdc76 ar.po: backport todays' fixes and translations 2015-06-03 03:07:26 +02:00
Kornel Benko
ff8675421f Update sk.po 2015-06-02 09:33:04 +02:00
Uwe Stöhr
f1b6621fa4 fr.po: update from Jean-Pierre 2015-06-02 01:53:19 +02:00
Richard Heck
67093bcbf7 Remerge strings. 2015-06-01 17:51:47 -04:00
Uwe Stöhr
91d2277a2c ar.po: fix bug #9585 also for branch
- no status entry necessary because this was introduced by translations made after the release of LyX 2.1.3.
2015-06-01 20:34:45 +02:00
Uwe Stöhr
558d153925 pt_BR.po: update from Georger 2015-05-31 20:06:50 +02:00
Enrico Forestieri
9285f338a9 Take into account macro redefinitions when generating previews
No status line needed as this is an amendment to b3d2ffc0
2015-05-31 17:06:40 +02:00
Kornel Benko
0ff1abf23d Update sk.po 2015-05-31 12:57:27 +02:00
Scott Kostyshak
6ac04e21f4 Update previews after pasting (#6211)
The reason we want to do this is for if there is pasting across buffers.
For within buffer, the previews should already be updated. Calling the
buffer-wide updatePreviews() might seem like overkill, but actually it
should be quick because only the previews that need updating are updated
(and this check feels quick to me, although I did not profile).

If we were to loop through the pasted text and update each preview
individually, this might take more time. When updating previews
together, only one .tex file is compiled.

(cherry picked from commit 73460423ad)
2015-05-31 05:03:29 -04:00
Scott Kostyshak
71fd45b2f6 Add an explanatory note for external_templates
Clarify that a user-defined external_templates file would replace
the library version. For more information on this issue, see #3983.

(cherry picked from commit 1d28d90801)
2015-05-31 05:02:20 -04:00
Juergen Spitzmueller
ace9b53eed de.po 2015-05-31 09:44:01 +02:00
Juergen Spitzmueller
8aed8f99d1 Fix shortcut conflict 2015-05-31 09:34:24 +02:00
Uwe Stöhr
6c12eb9736 Japanese and Spanish UserGuide.lyx: fix some references 2015-05-31 04:16:05 +02:00
Uwe Stöhr
e62773dd07 configure.py: add the --nofooter option also to the python call of eLyXer
(btw. there is no executable of eLyXer available)
2015-05-31 03:17:26 +02:00
Enrico Forestieri
a158776b4f Bug #9354 is not really fixed in stable.
See http://www.lyx.org/trac/ticket/9354 for details.
2015-05-31 01:07:10 +02:00
Enrico Forestieri
53ccf579d4 Update status.21x after b3d2ffc0 2015-05-30 18:48:07 +02:00
Enrico Forestieri
b3d2ffc0fe Fix several issues with instant previews.
This is a collection of changes to the python scripts in master made
for trying to sort out the mess that had accumulated about previews.
After this audit, it turns out that bugs #6369, #9354, #9508, and #9510
are now fixed. If pdftocairo and epstopdf are vailable, it also makes
the conversion performed by the legacy conversion paths much faster
and improves the quality of the generated bitmaps.
2015-05-30 18:22:30 +02:00
Enrico Forestieri
0e2ea9d48c Fix bug #8258 (Zoom of editor doesn't zoom instant preview) 2015-05-30 18:09:28 +02:00
Enrico Forestieri
908ed2128d Fix bug #9371 (Math Preview doesn’t work in LuaTeX and XeTeX output modes by default) 2015-05-30 15:29:56 +02:00
Enrico Forestieri
052c70227b Fix typo. 2015-05-30 14:29:20 +02:00
Enrico Forestieri
043cf5a700 Fix bug #7850 (Preview of inline math misaligned) 2015-05-30 13:51:13 +02:00
Juergen Spitzmueller
1ab1f071b5 Fix test for urwclassico font (bug #9576) 2015-05-30 11:00:17 +02:00
Uwe Stöhr
f99c1ee7e1 status.21x: add entry for bug 9512 2015-05-30 02:51:21 +02:00
Uwe Stöhr
60603cf00e configure.py: add --nofooter option to hide elyXer's footer 2015-05-30 02:47:05 +02:00
Jean-Marc Lasgouttes
6e285a6e52 Create proper undo groups for advanced find and replace
Create new helper class UndoGroupHelper, which simplifies a lot the
handling of undo groups in cases like this one. The class tracks open
undo buffers and allows to switch buffers transparently.

Using the class for advanced search and replace is trivial. The class
may be useful in some other classes.

Also fix the status.21x file that had DOS end of lines and reorder a few undo-related entries.

Fixes ticket #8658
2015-05-29 19:24:36 +02:00
Jean-Marc Lasgouttes
763ecef53d Typo
Actually, commit log for 0e64c8ab also refers to bug 4394, which is wrong.
2015-05-29 12:44:45 +02:00
Jean-Marc Lasgouttes
0e64c8ab7a Fix bad font toggling after the layout has been changed.
When changing the paragraph layout, it is a good idea to call
{{{Cursor::setCurrentFont()}}} to make sure that all is in order.

Fixes bug #4394.
2015-05-28 17:01:46 +02:00
Jean-Marc Lasgouttes
ac271336dd Avoid crash with undo in a closed collapsable inset
The recipe for reproducing this crash is to do a search and replace
that changes a string present in a collapsed inset, and then undo.

This is a followup to d5eeabcf, which used editable() instead of
isActive(); this commit was amended at a6bc4a2a, since editable() is
not set properly in mathed.

Truth is, editable() is not the right property to test against, since
it is false for a collapsed inset, which does not prevent a cursor
from pointing inside. Therefore sanitize should not change the cursor
in this case.

Hopefuly, this is the last word on the subject. Alternative would be
to drop this if()-clause completely.
2015-05-27 10:55:18 +02:00
Uwe Stöhr
d9d3bda4b4 InsetTabular.cpp: fix bug #9570 also for branch 2015-05-25 16:57:04 +02:00
Uwe Stöhr
016775cc67 EmbeddedObjects.lyx: LyX supports already table cell rotations
- remove the document class option "fleqn" because it there is currently a LaTeX bug with this and this option is not really necessary
2015-05-24 23:24:05 +02:00
Uwe Stöhr
7e3f8ff30e ar.po: backport Hatim's recent changes 2015-05-24 16:15:13 +02:00
Jean-Marc Lasgouttes
d4b3de581c Remove bash-only construct from autogen.sh 2015-05-21 11:13:40 +02:00
Pavel Sanda
0b8eb5dc73 Fix default style of broadway layout.
Thanks Richard.
2015-05-19 23:30:30 -07:00
Uwe Stöhr
fec8f528fe PDF-form.lyx: some fine-tuning 2015-05-19 23:01:06 +02:00
Uwe Stöhr
648a5a4705 pdfform.module: uniform spacing
thanks Jürgen for fixing bug #9518
2015-05-19 22:02:40 +02:00
Juergen Spitzmueller
f3398fded1 Use trimmed string in [Inset]Layout Requires.
Fixes: #9518
2015-05-19 16:58:42 +02:00
Juergen Spitzmueller
183204ffba Use trimmed string in [Inset]Layout Requires.
Fixes: #9518
2015-05-19 16:55:49 +02:00
Juergen Spitzmueller
f0bb9b32d1 Provide optional trimmed version of Lexer::getString and getDocString
Prerequisite to fix #9518
2015-05-19 16:52:32 +02:00
Richard Heck
2f80c1ca33 Fix bug #9544: Mark file clean after we write it.
(cherry picked from commit 61448d8cb2)

Conflicts:
	src/Buffer.cpp
2015-05-17 16:20:32 -04:00
Enrico Forestieri
565d35ed58 Update it.po 2015-05-17 18:15:44 +02:00
Enrico Forestieri
a6843078af Also take into account bibtex bst files when saving-as.
No status line needed as this is an addition to [4543bf28/lyxgit].
2015-05-17 01:10:48 +02:00
Kornel Benko
ea3de7ba1d Update sk.po 2015-05-16 17:53:21 +02:00