Commit Graph

29522 Commits

Author SHA1 Message Date
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
Richard Heck
35d37d4e4c Remerge strings. 2013-11-24 11:52:12 -05:00
Juergen Spitzmueller
65723bbe63 uk.po: update by Yuri 2013-11-18 16:05:17 +01:00
Georg Baum
a126ff8861 Fix wrong description screen font (bug #8869)
paper.cls formats the description label without bold, so LyX should do the
same on screen. Note that simply removing the Series line does not help,
because Description is already defined in some include.
2013-11-17 13:05:09 +01:00
Juergen Spitzmueller
5318d2fa7d Fix crash when using context menu in empty outliner
Fixes: #8885
2013-11-16 11:19:11 +01:00
Juergen Spitzmueller
596b9f8607 Fix shortcut clash (bug #8878)
Patch by charley
2013-11-12 16:37:33 +01:00
Juergen Spitzmueller
52fe53676a fix macro order for newsubfloat 2013-10-13 11:49:29 +02:00
Georg Baum
2ad994d1d6 Make encoding conversions thread safe
This is the result of the discussion on the list "2.1.0 Blocker". Thanks to
all contributors!
The main idea is to use thread-local storage for all static variables.
This solution does not need any mutex. For more details, see the comment in
unicode.h.
2013-10-12 13:27:05 +02:00
Kornel Benko
22c9c2e4e7 * sk.po 2013-10-11 17:40:53 +02:00
Juergen Spitzmueller
b9976f5929 Fix unbalanced bracket problem with CJK
The bug was introduced with commit [2af09e2e/lyxgit], where the unnecessary trailing bracket in CJK environments was suppresed, but not the preceding bracket (which is only output if CJK is a secondary language).
2013-10-11 12:35:22 +02:00
Kornel Benko
c8efd6f45b * sk.po 2013-10-07 14:07:20 +02:00
Jean-Marc Lasgouttes
df8d2a5a87 Fix bug #8859: crash on alignment of two cells in tabular
The solution is the same as the other text-properties lfuns: use special loops when there is a multi-cell selection.
2013-10-07 12:11:34 +02:00
Juergen Spitzmueller
e709a30e3b fr/Intro.lyx: Correction by Jean-Pierre 2013-09-15 17:03:50 +02:00
Pavel Sanda
ddea97e8eb * INSTALL - move comment from trunk. 2013-09-09 02:52:38 -07:00
Pavel Sanda
1dc02a80a2 * Additional.lyx - next xdvi glitch spotted by Fabio. 2013-09-07 18:30:17 -07:00
Pavel Sanda
7c0e80ef07 * Additional.lyx - fix lyxeditor.sh example.
Different shells seem to have different taste.
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg96590.html
(backport)
2013-09-05 11:25:58 -07:00
Richard Heck
92e574a70d Fix obvious oversight. 2013-08-30 13:17:53 -04:00
Scott Kostyshak
5d0c7de0b0 Remerge and update of ja.po (from Koji) 2013-08-29 17:59:21 -04:00
Richard Heck
cedb1d7167 The koma-script book class numbers equations by chapter.
(cherry picked from commit bac7708d4b)
2013-08-09 11:35:13 -04:00
Scott Kostyshak
ffab3440b8 Japanese docs: translations from Koji 2013-08-05 19:02:38 -04:00
Uwe Stöhr
12f66667ac csv2lyx.py: re-enable the feature to import CSV files
- the feature war broken because the file format was not updated to that of LyX 2.0.x
2013-07-27 23:56:38 +02:00