Commit Graph

252 Commits

Author SHA1 Message Date
Richard Heck
dc402db113 Start 2.1.5 development. 2015-07-25 15:30:39 -04:00
Stephan Witt
ab2d9c3af0 Avoid duplicates of dictionaries and thesauri in distributed package
(cherry picked from commit f45202acde)
2015-07-23 13:12:28 +02:00
Uwe Stöhr
508110a41f sv.po: updates from Jim 2015-07-23 01:09:32 +02:00
Jean-Marc Lasgouttes
c2046bd19a Initialize correctly the default keymap
If keymaps are activated and there is a secondary keymap but no
primary one, then the pointer to the active keymap was 0x0. This can't
be good.

Fixes bug #9685.
2015-07-22 16:58:00 +02:00
Jean-Marc Lasgouttes
2109412720 Reset cursor font when entring an inset with char-forward/backward
When entering an inset from the keyboard, setCurrentFont()
was not called and thus the cursor retained the font that was set
before. This could create strange behavior that could often go
unnoticed by the user.

It is easy to imagine many other situations similar to #9597 where
the user could trigger this bug.

Fixes bug #9597.
2015-07-22 15:13:10 +02:00
Stephan Witt
bf94d97bff Update default path prefix for Mac OS to include the texbin folder inside the TeX Library path and remove old powerpc path entries.
The upcoming Mac OS version 10.11 (El Capitan) will not allow TeX the installation of links inside the /usr directory anymore.
(cherry picked from commit c11c4fd767)
2015-07-19 17:37:10 +02:00
Stephan Witt
b814639862 Fix for #9659 - Qt may send more then one close event to a window. Therefore multiple calls to unregisterView for a GuiView are possible. The first one removes the view from the list of known views, subsequent calls do nothing.
(cherry picked from commit 8a772549d7)
2015-07-18 23:11:42 +02:00
Jean-Marc Lasgouttes
a8bfb29eb2 Fix logic error in on-screen font shape
This made text in smallcaps+emph display as upright instead of plain
emph. There is no latex font for smallcaps + emph, but it is not a
reason for displaying it wrong.

Fixes bug #3519.
2015-07-17 22:22:59 +02:00
Uwe Stöhr
cd734d0b90 new French translation of the PDF-comment example file
also an update of fr.po; both by Jean-Pierre
2015-07-17 22:09:48 +02:00
Enrico Forestieri
318c5d7dd9 Properly account for font size when generating previews
Patch by Guillaume.
2015-06-25 21:31:00 +02:00
Enrico Forestieri
2cdeb945ce Assure not to miss requirements on loading with instant preview on 2015-06-25 21:18:31 +02:00
Enrico Forestieri
2a9f07336f Fix crashes related to macros and instant preview
* Fix crash when zooming after latex failed to generate any output for previews.
  This was new in 2.1.4, so no status line is needed.

* Fix crash when copying macros with instant preview on.
2015-06-25 21:04:42 +02:00
Enrico Forestieri
1151d06e81 Avoid unnecessary growth of python lists
The path argument of checkProg* was added to the PATH list in a nested
loop such that the list doubles in size each time the loop is executed,
thus also slowing down detection of missing programs.
2015-06-16 21:08:25 +02:00
Enrico Forestieri
4c92d969eb Fix bug #9354 (Preview inset does not work with math macros)
The patch also makes sure that only the macros actually used in a
math inset are included in the preview snippet. In this way, the
size of the tex file used for generating the previews does not
explode in the presence of lots of macros.
2015-06-09 20:07:48 +02:00
Juergen Spitzmueller
558100ad58 Fix bug #9598
Do not output \\par at the end of environments with size change if the
environment cosinsts of only one par.
2015-06-09 15:48:07 +02:00
Richard Heck
099b964b75 Status. 2015-06-08 12:12:32 -04:00
Juergen Spitzmueller
ebbe6c1924 Fix preview of included files in child documents (bug #9583) 2015-06-04 08:32:07 +02:00
Juergen Spitzmueller
8aed8f99d1 Fix shortcut conflict 2015-05-31 09:34:24 +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
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
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
Uwe Stöhr
d9d3bda4b4 InsetTabular.cpp: fix bug #9570 also for branch 2015-05-25 16:57:04 +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
Juergen Spitzmueller
f3398fded1 Use trimmed string in [Inset]Layout Requires.
Fixes: #9518
2015-05-19 16:58:42 +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
Juergen Spitzmueller
05dafa205d Fix tooltip line breaks. 2015-05-16 17:37:17 +02: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
Uwe Stöhr
c391d599d9 GuiBox.cpp: fix button logic (fixes bug #9543) 2015-05-10 21:59:35 +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
Uwe Stöhr
17489ed60d add support for PDF forms to branch 2015-05-09 16:42:17 +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
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
4eab7dcaf3 ar.po: backport recent changes from master 2015-05-03 02:00:25 +02:00
Uwe Stöhr
d1948bb21a Feynman-Diagramme.lyx: new German translation
FeynmanDiagrams.lyx: an adjustment and added the missing note to the French translation
2015-04-25 16:59:56 +02:00
Juergen Spitzmueller
6921cc076e Update the Finnish localization
Patch by Jari-Matti Mäkelä
2015-04-23 10:22:53 +02:00
Scott Kostyshak
73ad885a43 Update previews after doing a find/replace (#7242)
This commit addresses #7242 for normal Find/Replace. That issue was
fixed for Advanced Find at 29948eec.

(cherry picked from commit 66f527e417)

Added status.
2015-04-21 03:03:06 -04:00
Enrico Forestieri
a63af1b93a Fix output of \lightning in math mode.
The \lightning symbol is text mode only. Hence, for using it in
mathed, it must be inserted in a text mode environment such as
\mbox, \text, etc. However, as it is not marked as textmode,
LyX "helpfully" encloses it in \ensuremath everytime one tries
to put it in a text mode environment, thus defying the countermeasure.
By declaring it textmode only, LyX stops doing that and thus it can be
correctly output by simply selecting it and hitting Ctrl-M.
2015-04-12 10:35:53 +02:00
Enrico Forestieri
046c9a4b21 Add icons for the "Fonts" math panel. 2015-04-11 23:49:06 +02:00
Juergen Spitzmueller
7fbfc72e9a Remove problematic accelerator (#9495)
Seems there is no free accelerator left for the source view pane.
2015-04-11 16:47:30 +02:00