Commit Graph

32916 Commits

Author SHA1 Message Date
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
Juergen Spitzmueller
2ae6a6e57d de.po 2015-05-09 17:36:45 +02:00
Uwe Stöhr
17489ed60d add support for PDF forms to branch 2015-05-09 16:42:17 +02:00
Georg Baum
b59e1bd79b Make static variable non-static
This is still a hack, but a less dangerous one. The old code had a problem
if it was called from different threads, or if for some reason it would get
called recursively.
2015-05-08 21:52:55 +02:00
Uwe Stöhr
520a2cb15e rename pt.po to pt_PT.po 2015-05-08 00:36:11 +02:00
Jean-Marc Lasgouttes
02dcf8ce10 Revert correctly cursor font after undo a font toggle
The recordUndoSelection call was done after the modification of cursor font. This is bad.

Fixes: #9537
2015-05-07 17:25:11 +02:00
Uwe Stöhr
0299b9bf71 pt_BR.po: new translation by Georger Araujo 2015-05-06 02:14:17 +02:00
Uwe Stöhr
75fb84d5ca ar.po: some more corrections and translations by Hatim 2015-05-06 01:30:11 +02:00
Enrico Forestieri
8a015fce2f Don't update paths of non-existing files
No status line needed as this is an amendment to [4543bf28/lyxgit].
2015-05-05 22:47:46 +02:00