Commit Graph

32724 Commits

Author SHA1 Message Date
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
Juergen Spitzmueller
6eed6efa02 de.po 2015-05-16 17:40:34 +02:00
Juergen Spitzmueller
05dafa205d Fix tooltip line breaks. 2015-05-16 17:37:17 +02:00
Juergen Spitzmueller
97e9c7d78c Clarify "Save compressed by default" feature (bug 7822) 2015-05-16 17:34:53 +02:00
Kornel Benko
d685adcefa Update sk.po 2015-05-15 09:30:48 +02:00
Richard Heck
efe4b68d8b Remerge strings. 2015-05-14 22:21:38 -04:00
Enrico Forestieri
5f70378496 Take into account compressed documents when creating a LyX archive. 2015-05-15 01:31:55 +02:00
Georg Baum
be41e2d16f Fix build with GNU libstdc++ C++11 ABI
The GNU libstdc++ that ships witch gcc 5 can be used with the same ABI as
older versions, or with a new ABI which is conformant to the C++11 standard.
LyX did not build if the latter was used:
https://kojipkgs.fedoraproject.org//work/tasks/1267/9651267/build.log

This is now fixed by detecting the ABI version and disabling the wrong forward
declarations. At the same time, STD_STRING_USES_COW is switched off for the
C++11 ABI version, because the std::basic_string implementation is now C++11
conformant. Since the GNU libstdc++ can also used by other compilers such as
clang, we must not test for the compiler version.
2015-05-12 21:24:05 +02:00
Juergen Spitzmueller
eaed3b94cc de.po 2015-05-11 16:15:02 +02:00
Uwe Stöhr
e682e73348 stdmenus.inc: add PDF forms example to Help menu
I forgot that when I added PDF forms.
2015-05-11 01:05:44 +02:00
Uwe Stöhr
c391d599d9 GuiBox.cpp: fix button logic (fixes bug #9543) 2015-05-10 21:59:35 +02:00
Kornel Benko
9b23be81dc Update sk.po 2015-05-09 18:48:59 +02:00
Uwe Stöhr
d03a98ce18 de.po: restore a lost translation from Jürgen 2015-05-09 18:08:40 +02:00
Uwe Stöhr
83446c2906 po-files: remerge to help the translators with the new strings 2015-05-09 18:03:51 +02:00
Juergen Spitzmueller
8558f84eee de.po 2015-05-09 17:57:18 +02:00
Juergen Spitzmueller
14618dc0f5 Split different indices in the outliner
Fixes: #7012.

Conflicts:
	src/insets/InsetIndex.cpp
2015-05-09 17:52:47 +02:00