Commit Graph

29492 Commits

Author SHA1 Message Date
Juergen Spitzmueller
e9a9c0fd1b Correct language code of traditional Chinese (#8970) 2014-02-13 14:20:52 +01:00
Juergen Spitzmueller
6a3ef6a134 Do not crash with empty (invalid) math environments (part of #8359) 2014-02-10 19:25:57 +01:00
Juergen Spitzmueller
adc78fac32 Fix LFUN_MATH_AMS_MATRIX: it was possible to generate corrupt documents (part of #8359) 2014-02-10 19:22:49 +01:00
Juergen Spitzmueller
07baa69875 Do not issue module warnings when just cloning a buffer (#8864) 2014-02-10 08:40:35 +01:00
Juergen Spitzmueller
8431f55f73 Rerun makeindex if all nomencl entries have been removed (#8905) 2014-02-10 07:47:47 +01:00
Uwe Stöhr
a09bdcaa68 German UserGuide.lyx: add missing section about proper names 2014-02-10 01:20:01 +01:00
Uwe Stöhr
401d87f1a3 lyx2lyx/Preamble.cpp: fix bug 8723 also for branch 2014-02-09 23:23:51 +01:00
Uwe Stöhr
5726535d96 BufferParams.cpp: fix bug #8613 also for branch 2014-02-09 23:17:38 +01:00
Juergen Spitzmueller
b6b1ab890d Rerun makeindex if all nomencl entries have been removed (#8905) 2014-02-09 14:00:05 +01:00
Uwe Stöhr
6a8269033b status.20x: document today's fixes 2014-02-08 05:46:12 +01:00
Vincent van Ravesteijn
ea6f56d564 Compare: Add the authors from the 'other' document
Otherwise the resulting document may contain references to authors that are not present in the author list, which results in a crash.

Fixes-bug: #8769
2014-02-07 23:54:41 +01:00
Vincent van Ravesteijn
1f13491f06 Return true to indicate we might have invalidated the cursor
If we don't do so, Cursor::notifyCursorLeavesOrEnters might continue with
an invalidated cursor.

Fixes-bug: #8329
2014-02-07 23:54:32 +01:00
Vincent van Ravesteijn
e8242cbee6 Do not try to track_change an auto-deleted bibitem
We are not capable of handling two bibitems within one biblio paragraph.
That's why we have functions like Paragraph::brokenBiblio() and
Paragraph::fixBiblio(). So, if we fix the biblio by deleting the second
bibitem, we should not keep it as deleted.

This code caused a crash because the inset was released, but still kept as
deleted.

Fixes-bug: #8646.
2014-02-07 23:54:21 +01:00
Vincent van Ravesteijn
a6fce04f39 Fix wrong painting of lines right of multicol
We should skip the other cells that are part of the multicolumn before we find the cell right to the current one.

Fixes-bug: #8082
2014-02-07 23:23:02 +01:00
Uwe Stöhr
690cdcdac5 fr.po: update for Branch from Jean-Pierre 2014-02-02 23:59:47 +01:00
Richard Heck
d3c39e99ac Typo. 2014-01-31 09:40:45 -05:00
Richard Heck
ef0fc5732f Update build script. 2014-01-31 09:40:45 -05:00
Uwe Stöhr
2831c728f3 Merge branch '2.0.x' of git.lyx.org:lyx into 2.0.x 2014-01-30 01:13:03 +01:00
Uwe Stöhr
a71090c02d UserGuide.lyx: fix a typo spotted by Hartmut 2014-01-30 01:12:37 +01:00
Stephan Witt
00a7f002db Fix the missing dynamic menus in general and restore correctly from fullscreen. 2014-01-29 19:20:01 +01:00
Richard Heck
3ac29dd9be Status update for last commit. 2014-01-29 11:41:32 -05:00
Jean-Marc Lasgouttes
d187be8205 Do not skip space at start of row (fixes #8947, #8838)
TextMetrics::getColumnNearX (x -> pos translation) has special code to
ignore spaces at the beginning of a row, but neither the display code
nor TextMetrics::cursorX (pos->x translation) follow this logic. One
might argue that spaces should actually be ignored (like LaTeX does),
but this leads to UI issues and is probably too difficult to
implement.
(cherry picked from commit bab58480bc)
2014-01-29 11:38:45 -05:00
Richard Heck
8c07f7fcc0 Fix bug discovered by Kornel. See
http://marc.info/?l=lyx-devel&m=138590578911716&w=2
If you look at Buffer.cpp, around line 4351, there was a comment about bug 5699. We are seeing the
same crash. The problem is that, although the master does have a GUI, that GUI is in a different window. So the structureChanged() call we do during updateBuffer() is for the TOC in that window, not the TOC in the window we are actually in. So our TocModel::toc_ has been reset and is invalid, though the widget itself has not been updated and looks fine.

This patch tests whether the master is in the same window as the buffer we are updating.

A problem remains, which is noted in a comment.

(cherry picked from commit 3f62601a8f)

Conflicts:
	src/Buffer.cpp
2014-01-29 11:35:48 -05:00
Jean-Marc Lasgouttes
75bab51a8a Fix a couple of compilation warnings 2014-01-28 12:08:35 +01:00
Jean-Marc Lasgouttes
a01c0e495f Handle undo in `branch-add' LFUN
Backport of 2a99afee94.
2014-01-28 11:48:49 +01:00
Jean-Marc Lasgouttes
e4cf514e4a Quick workaround for detection of Qt/Mac using pkg-config 2014-01-28 11:32:50 +01:00
Stephan Witt
535c9ea078 Override QMainWindow::menuBar() in LyX GuiView class on Mac OSX.
This fixes the issue with missing menu entry for "Insert Branch <branch name>".
2014-01-26 18:40:23 +01:00
Richard Heck
fa8e4906de Use "#!/usr/bin/env python", as elsewhere.
(cherry picked from commit 5d94d1b3bf)
2014-01-26 11:40:07 -05:00
Richard Heck
7608adaa02 Remerge strings. 2014-01-24 12:46:04 -05:00
Richard Heck
2b0f11dd2d Reset status.20x. 2014-01-24 12:45:18 -05:00
Richard Heck
a9f9c1bc6e Add comment. 2014-01-24 12:41:22 -05:00
Richard Heck
38b8d09761 Back to development mode. 2014-01-24 12:39:44 -05:00
Stephan Witt
5a5d6a524c Work around a bug with crash on view close on Mac OSX.
See also https://bugreports.qt-project.org/browse/QTBUG-25399
It improves the situation with LyX ticket #8063 and fixes #8062 for Cocoa builds
2014-01-20 21:22:59 +01:00
Uwe Stöhr
bf67e60f3a fr.po: translations from Jean-Pierre 2014-01-13 00:27:35 +01:00
Uwe Stöhr
ade0748fb4 ar.po: updates from Hatim 2014-01-13 00:24:34 +01:00
Stephan Witt
6410fc9870 correct quote placement to avoid the „Syntax Warning“ of cmake 2014-01-09 11:48:38 +01:00
Stephan Witt
85bd5428cb back port from trunk:
fix Symbols dialog box grid size in case of broken QFontMetrics::maxWidth()
2014-01-04 20:37:38 +01:00
Stephan Witt
75093fee99 back port trunk version of build script
* add Xcode 5 support
* add Qt 5 support
* add _XOPEN_SOURCE define - needed to compile environment.cpp
* gettext library build included
* newer versions of 3rd party libraries
* change coding style of sub shell invocation
2013-12-30 23:31:13 +01:00
Richard Heck
676701476b Typo. 2013-12-16 14:29:52 -05:00
Richard Heck
465e82f388 Remerge strings. 2013-12-16 14:22:38 -05:00
Richard Heck
c8bca4c889 Prepare for 2.0.7. 2013-12-16 14:21:56 -05:00
Richard Heck
65e827b42d New Spanish translation from Ignacio. 2013-12-05 09:54:29 -05:00
Uwe Stöhr
d195f6e6bb sv.po: updates for LyX 2.0.7 from Jim 2013-12-04 01:17:59 +01:00
Richard Heck
4f09c28bdd Fix bug #8727: Text::breakParagraph() was always setting the default
layout, even if the paragraph in question requires plain layout.
(cherry picked from commit f8f1232465)
2013-12-01 13:29:45 -05:00
Pavel Sanda
0a4e9691eb * cs.po 2013-11-30 20:06:43 -08:00
Juergen Spitzmueller
6fbe5b6691 French User Guide updates by Jean-Pierre 2013-11-30 11:55:13 +01:00
Uwe Stöhr
6c1a5bcfe5 uk.po: updates by Yuri 2013-11-26 22:49:26 +01:00
Juergen Spitzmueller
32db57f085 de.po 2013-11-25 07:48:40 +01:00
Uwe Stöhr
723a301438 nn.po: translation updates from Ingar 2013-11-25 01:25:18 +01:00
Enrico Forestieri
3f5e720f81 Update it.po 2013-11-24 23:26:27 +01:00