Commit Graph

32905 Commits

Author SHA1 Message Date
Uwe Stöhr
530dbcdc38 PDF-comment.lyx: describe a further feature
- also some corrections
2015-09-27 03:12:38 +02:00
Kornel Benko
e43393d599 Cmake build: Give a warning when system boost and stdlib-debug are used together
Follows commit a0f2cbd to fix bug #9736 for cmake build too.
2015-09-25 11:28:09 +02:00
Jean-Marc Lasgouttes
a0f2cbdfd2 Give a warning when system boost and stdlib-debug are used together
In general this would lead to an immediate runtime crash because the
runtime checks of libstdc++ change the layout of some STL objects.
Therefore, this will only work when the boost libraries have been
compiled with this same flag. At this time, it is not known whether
any linux distribution contains such libraries.

Fixes bug #9736.
2015-09-25 10:37:46 +02:00
Richard Heck
dfeba2abcf Typo in tutorial. 2015-09-24 18:08:25 -04:00
Uwe Stöhr
ded3375a97 PDF-comment.lyx: fix 2 typos
- de.po: correct a translation
2015-09-24 00:14:10 +02:00
Uwe Stöhr
3530ccf4cc UserGuide.lyx: backport recent changes from master 2015-09-23 22:56:42 +02:00
Uwe Stöhr
139618a5cf status.21x: remove duplicate entry 2015-09-23 22:21:56 +02:00
Uwe Stöhr
fb0c89013a pt_BR.po: update by Georger 2015-09-21 01:44:27 +02:00
Georg Baum
12ab5dd810 Work around a gcc5 bug
The old code produced crashes with gcc5 caused by calling the copy
constructor (see https://bugzilla.redhat.com/show_bug.cgi?id=1260976).
This has been filed as gcc bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67557
It is currently being marked as invalid (they claim the code is not valid and
produces undefined behaviour), but I don't think that this is correct.
Fortunately i does not matter for us whether the old code was valid or not,
since the new version is easier to understand and works with all compilers.
2015-09-15 21:28:42 +02:00
Guillaume Munch
efe5e27692 fr.po : fix accelerators for search & replace dialogs
Fix #9761
2015-09-15 17:43:37 +01:00
Guillaume Munch
c2292d1786 Remove problematic accelerator in po files (cf 3bb588f4)
Fix #9745
2015-09-15 17:43:28 +01:00
Guillaume Munch
1348c62d41 Fix bug #9754
Don't delay the update of the TOC panel on switching documents
2015-09-14 00:58:14 +01:00
Guillaume Munch
d186d708ea Fix bug #1996
\overrightarrow and related macros have a standard behaviour with respect to
sub/superscripts.
2015-09-14 00:55:35 +01:00
Uwe Stöhr
9c9cb97608 pt_BR.po: update from Georger 2015-09-13 16:59:17 +02:00
Juergen Spitzmueller
c78352af07 Fix parsing of class and category declaration line in layout files
* Omit commented-out lines
* Properly escape backslash
* Do not allow non-space chars after delaration
* Allow blanks before # comment character

Fixes: #9746
2015-09-03 09:49:20 +02:00
Richard Heck
4b647c68a1 Revert "Typo."
This reverts commit 5c940dd536.
2015-09-01 11:40:07 -04:00
Richard Heck
5c940dd536 Typo. 2015-09-01 11:02:18 -04:00
Scott Kostyshak
039f25e657 Set font in BufferView::setCursor (#9500)
This solves a few bugs related to the font not being set correctly.
For example, when putting a selection somewhere with
putSelectionAt(), the font was not reset so that before this commit
if the cursor was in an ERT, strange things could happen.
putSelectionAt() is notably used when highlighting the location
corresponding with a LaTeX error (GuiErrorList), when using find,
and when using the spellcheck. I could reproduce the bug using all
three of these.

Bug #9500 is an example of the type of bugs that this commit fixes.

(cherry picked from commit f8774a446b)
2015-08-26 17:16:23 -04:00
Jean-Marc Lasgouttes
1c8033f0c0 Reset properly the cursor font when leaving an inset to the left
There was a missing setCursorFont there.

Fixes bug #6032.
2015-08-24 10:40:21 +02:00
Jean-Marc Lasgouttes
56c4bf6c74 Properly notify insets after BufferView::doDispatch
Currently, insets are notified that the cursor entered or leaved them
in Cursor::dispatch. This is not the case for lfuns which are handled
in BufferView.

Adding the proper code allows to fix many bugs where previews are not
updated correctly.

Fixes bug #6173.
2015-08-24 10:28:09 +02:00
Jean-Marc Lasgouttes
b18fff0caa When the document language is changed, update cursor language too
Actually, the change is done only if the cursor language was the
document language already.

This fixes an trivial but annoying problem: create a new file (in
English), change language to your favourite language, then start to
write. Before this fix, the words come out in English, which does not
make sense.

Fixes bug #9586.
2015-08-24 10:16:37 +02:00
Guillaume Munch
1d0d10eaa7 Add \ensuremath to the list of math completions 2015-08-23 11:56:04 +02:00
Richard Heck
2c0965b07c Fix the copy and paste icons in the English and Spanish user guides. 2015-08-17 12:41:07 -04:00
Kornel Benko
ac9af80cfb Cmake build: Make use of QT5 available (again). 2015-08-16 11:17:02 +02:00
Uwe Stöhr
087397688d pt_BR.po: update from Georger 2015-07-31 01:06:27 +02:00
Juergen Spitzmueller
7e8c43a904 If there is an inset at cursor, connect the dialog with that, not the containing one
Fixes: #8716 ("minipage within minipage" Settings bug)

This is a potential candidate for branch, but only after some more testing.
2015-07-28 18:37:52 +02:00
Juergen Spitzmueller
0f9c2b4f04 Do not attempt to select an empty cell before inserting a longtable caption
Fixes: #9692
2015-07-28 18:33:43 +02:00
Richard Heck
dc402db113 Start 2.1.5 development. 2015-07-25 15:30:39 -04:00
Richard Heck
d6232a14f1 Adjust date after last commit. 2015-07-24 13:54:55 -04:00
Stephan Witt
ad79120210 correct symlink creation - make them relative instead of absolute
follow up of f45202acde
(cherry picked from commit 5a3c9247d8)
2015-07-24 19:21:12 +02:00
Richard Heck
f9a56913a7 Remerge strings. 2015-07-23 18:04:34 -04:00
Richard Heck
bf9fef7fc8 Prepare for 2.1.4. 2015-07-23 18:04:11 -04:00
Richard Heck
b06a7c11b5 Update Norwegian translations for 2.1.4. From Helge. 2015-07-23 16:58:44 -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
Kornel Benko
4c66627ca9 Update nb.po from Helge Hafting 2015-07-19 17:47:58 +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
ae884233ab ar.po: update from Hatim 2015-07-17 22:17:54 +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
Kornel Benko
0c16283de0 Added missing he.gmo in previous commit 2015-07-15 23:45:36 +02:00
Kornel Benko
5830d210ad Updated he.po
Patch from Guy Rutenberg.
2015-07-15 23:40:45 +02:00
Uwe Stöhr
a3578cab34 pt_BR.po: updates from Georger 2015-07-08 02:14:46 +02:00
Enrico Forestieri
5f1c593175 Remove unneeded header
Forgot this at e473ee8b
2015-07-06 23:49:56 +02:00
Enrico Forestieri
e473ee8b3f Avoid calling Buffer::getMacro inside the MathMacro copy constructor
It turns out that it is always better using the copy of the MacroData
for updating the macro_ pointer to avoid problems related to the cursor
position.

This is a further amendment to 180ecbd7.
2015-07-06 20:38:35 +02:00
Pavel Sanda
a0c2393c5d Update he.po from Guy.
http://marc.info/?l=lyx-devel&m=143578277119305&w=2
2015-07-05 14:54:58 -07:00
Pavel Sanda
f1a025f134 Remerge he.po 2015-07-05 14:52:11 -07:00