Commit Graph

32905 Commits

Author SHA1 Message Date
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
Uwe Stöhr
3fd63a71b8 ar.po: remerge and fix an error 2015-05-05 02:18:18 +02:00
Uwe Stöhr
ad78805570 ar.po: update from Hatim 2015-05-05 02:14:24 +02:00
Enrico Forestieri
4543bf288d Update paths of included files when saving to a different folder.
Fixes #9528 and #5115.
2015-05-04 03:11:30 +02:00
Uwe Stöhr
8e68c2eea1 ar.po: today's updates from Hatim 2015-05-03 16:44:04 +02:00
Uwe Stöhr
4eab7dcaf3 ar.po: backport recent changes from master 2015-05-03 02:00:25 +02:00
Uwe Stöhr
7f9627dcd3 EmbeddedObjects.lyx: improve description of \cmidrule 2015-04-30 01:25:36 +02:00
Pavel Sanda
744c3acc00 Fix broken lilipond links. 2015-04-28 09:37:43 -07:00
Uwe Stöhr
45025e5d9c PDF-comment.lyx: some fixes 2015-04-27 02:34:08 +02:00
Uwe Stöhr
8026360776 pdfcomment.module: reintroduce whitespace mixture because of bug #9518 2015-04-26 18:25:03 +02:00
Juergen Spitzmueller
74c7b5d47e Add Jari-Matti Mäkelä to the credits 2015-04-26 13:47:18 +02:00
Uwe Stöhr
cdf1f6afd9 fi.po: correct the copyright year
this was accidentally set to 2008 in the last commit
2015-04-26 13:45:39 +02:00