Commit Graph

32107 Commits

Author SHA1 Message Date
Uwe Stöhr
3429b83cef UserGuide.lyx: describe the last missing new feature of LyX 2.1 2014-04-18 10:53:39 -04:00
Uwe Stöhr
e9264babe6 UserGuide.lyx: update appendix C (lyX preferences)
the only missing thing is the feature of the default length unit in the Language settings
2014-04-18 10:53:39 -04:00
Uwe Stöhr
b36a2fcc90 UserGuide.lyx: update appendix B for LyX 2.1.0 2014-04-18 10:53:39 -04:00
Uwe Stöhr
c101313c40 ja.po: update by Koji 2014-04-18 10:53:39 -04:00
Uwe Stöhr
8fc1adef7c Japanese doc files: update form Koji for LyX 2.1 2014-04-18 10:53:38 -04:00
Kornel Benko
7f10484bff Cmake build: Assign package name dynamically
This enables to install different lyx-versions simultaneously via
the package manager.
2014-04-18 10:52:48 -04:00
Juergen Spitzmueller
3501e41e81 Do not substract cursors pos from two different cells (fix assertion while doing adv search)
Fixes: #7944.(cherry picked from commit f6138ed02f47b8bbe65d3245f9e92686dc24296c)
2014-04-18 10:52:48 -04:00
Jean-Marc Lasgouttes
bd86ce71d8 Fix oversight in autotools packaging selection
The only consequence of this thinko is that the lyx.desktop and the svg icons were installed on Mac OS and Windows platform, whereas they are useless.
2014-04-18 10:52:48 -04:00
Richard Heck
6f1bba05a5 If this test fails, then we are about to crash, because we are about
to try to access whichever thing we did not find. So do an emergency
close of this Buffer.
(cherry picked from commit 5e557e7f7688e4af5bbecc49f3f7dda80afde44e)
2014-04-18 10:52:48 -04:00
Richard Heck
dfc41ceabe Typos in algorithm module.
(cherry picked from commit 9d77d373fcaa147c37378ca26899eac042e1c8ac)
2014-04-18 10:52:48 -04:00
Jean-Marc Lasgouttes
a556652f6e Do not store Languages objects in completion words lists
In the current code each paragraph contains a map<Language,
WordList*>, which means that it contains a full copy of the language
object. Since these objects contain translation tables nowadays, this
is a very bad idea.

This patch simply replaces the Language key by a string.

When loading the Userguide on linux/x86_64, the total memory
consumption decreases from 36.27MB to 31.50MB.
2014-04-18 10:52:48 -04:00
Juergen Spitzmueller
8b60088eaa In Paragraph::changeCase, correctly track the font of the changed characters (fix crash)
Fixes: #7943
2014-04-18 10:52:47 -04:00
Juergen Spitzmueller
892da302d6 Do not allow the manual insertion of a directory (without filename) into the import dialog and thus prevent an assertion.
Fixes: #7437(cherry picked from commit afd897029917a083fbeb84cccd4e6cb0a21db7ed)
2014-04-18 10:52:47 -04:00
Uwe Stöhr
b39e7a0fc1 stdmenus.inc: add move rows/columns feature to Edit menu
fixes bug #9047
2014-04-18 10:52:47 -04:00
Benjamin Piwowarski
a0cc99ff6a Fix problem with python and change of PATH
- waits that lyxrc has been read before finding python
- when the PATH changes, resets the value
- updated status.21x
2014-04-18 10:52:47 -04:00
Juergen Spitzmueller
0fd4db5c9a style 2014-04-18 10:52:47 -04:00
Juergen Spitzmueller
1cc81b1c9c Fix assertion when ChkTeX hit math.
The problem here was that we used texted-only methods (via paragraph()), which triggered the assertion as soon as we were inside math.

Fixes: #8798
2014-04-18 10:52:47 -04:00
Juergen Spitzmueller
90ce24a38d Do not crash when entering math in ct mode with merge dialog open.
Fixes: #7685.
2014-04-18 10:52:47 -04:00
Juergen Spitzmueller
4398a7b02f \lyxdeleted uses an ulem command.
Therefore we need to put \cite and \ref into \mboxes, as in our native ulem commands.

Fixes: #8806.
2014-04-18 10:52:47 -04:00
Juergen Spitzmueller
045dee3755 ulem commands can be nested. 2014-04-18 10:52:47 -04:00
Juergen Spitzmueller
dfa07c1424 Fix selection drawing after mouse-double/triple in mathed
Fixes: #8829
2014-04-18 10:52:46 -04:00
Juergen Spitzmueller
e6da35a60b InsetListings: Rewrite C-ism in C++ and fix terminator bug.
The rewriting is completely done by JMarc. The terminator bug fix has been added to that by me.

Fixes: #8985
2014-04-18 10:52:46 -04:00
Scott Kostyshak
2a6d135e55 Focus on buffer after section select in Outliner 2014-04-18 10:52:46 -04:00
Juergen Spitzmueller
0c20510171 Fix section-select when issued from outliner
Fixes: #8936
2014-04-18 10:52:46 -04:00
Uwe Stöhr
7ef74f4ee1 EmbeddedObjects.lyx, UserGuide.lyx: describe feature to move table rows/columns
the Japanese docs will be updated later because Koji is currently working on it
2014-04-18 10:52:46 -04:00
Uwe Stöhr
3f1c6eb7d5 PrefCompletionUi.ui: change label and add tooltip for word length settings
as discussed on the list with Richard
2014-04-18 10:52:45 -04:00
Richard Heck
1c63718111 Patch from Enrico fixing a problem with the lyxpak.py script when
"Add Bibliography to TOC" is used. Fixes #9044.
(cherry picked from commit 1fe2910774b5f1d673e3f85349c8d360023214db)
2014-03-22 20:21:15 -04:00
Richard Heck
1c649ce376 New status file. 2014-03-22 17:55:33 -04:00
Richard Heck
3da5fe4413 Draw a small red frame around preview images that are too small.
(cherry picked from commit 1bb7c3baafb636eb02c09ee651b4f7b7a5836b04)
2014-03-22 17:49:25 -04:00
Richard Heck
755b3131b0 Return an error if LaTeX is unable to compile the file.
(cherry picked from commit 74ba63293becb647ddc2de95c320ce93d17f6068)
2014-03-22 17:49:16 -04:00
Vincent van Ravesteijn
e83606c98a Not yet rc1: Revert "This is LyX 2.1.0rc1"
This reverts commit c571866e7f.
2014-03-20 22:15:33 +01:00
Vincent van Ravesteijn
c571866e7f This is LyX 2.1.0rc1 2014-03-20 22:11:14 +01:00
Vincent van Ravesteijn
d9e07ac654 Update ANNOUNCE 2014-03-20 22:11:14 +01:00
Vincent van Ravesteijn
aa5bf3c727 Rename break-paragraph to paragraph-break in docs 2014-03-20 22:11:14 +01:00
Vincent van Ravesteijn
7cda8f36b2 Update uifiles to latest fileformat 2014-03-20 22:11:13 +01:00
Vincent van Ravesteijn
d4ac337f0b Update bindfiles to latest fileformat 2014-03-20 22:11:13 +01:00
Vincent van Ravesteijn
819c4a31a6 Update po/gmo files 2014-03-20 11:05:59 +01:00
Vincent van Ravesteijn
9abb18e503 Windows installer: Bump preferences format 2014-03-20 08:13:26 +01:00
Scott Kostyshak
23a28e78a8 Bump RC format for commit 214f7ed2 2014-03-19 21:56:31 -04:00
Vincent van Ravesteijn
912d4a7c61 Windows installer: Fix file format entry for Lilypond-book
In preferences format 7, a mime format is added to the format entry in the
preferences file. If this entry does not exist, LyX cannot read the entry.
2014-03-19 23:11:52 +01:00
Vincent van Ravesteijn
fc22ba1642 MacOSX/lyxrc.dist.in: update to Format 14 2014-03-19 22:29:14 +01:00
Vincent van Ravesteijn
99c5a46c68 Fix comparing a pointer with a char
Fixes: #8985.
2014-03-19 21:08:50 +01:00
Vincent van Ravesteijn
3c67d6f77c Add a comment for the special code on Windows 2014-03-19 21:07:43 +01:00
Stephan Witt
97341eab7c Automatic copying and migration of elder user config directories
With a check for platform = darwin this is done on Mac only
2014-03-19 19:12:30 +01:00
Juergen Spitzmueller
aeb51be944 Re-add removed workaround (fixes #9042).
This code was commented out at [ad94e7bd/lyxgit], since we thought it was not necessary anymore and then removed at [5aede959/lyxgit]. Bug #9042 is the evidence that we were wrong.
2014-03-19 16:21:46 +01:00
Richard Heck
1c76460858 A a copule comments reminding us where preference formats should
be updated.
2014-03-19 11:05:34 -04:00
Richard Heck
1d9d51c4b3 Whitespace. 2014-03-19 11:04:56 -04:00
Vincent van Ravesteijn
d44b465efa Do not use QProcess::startDetached on Windows
QProcess::startDetached cannot provide environment variables. When the
environment variables are set using the latexEnvCmdPrefix, a console
window is shown every time a viewer is started.

On Windows, this reverts commit 5225821242.

Fixes: #9035.
2014-03-19 08:29:38 +01:00
Juergen Spitzmueller
c192745268 de.po: update 2014-03-17 14:49:20 +01:00
Jean-Marc Lasgouttes
264ea28cbd Fix bug #8837: LyX hangs on selection
The code that checks whether the cursor was at the end of a row in
Cursor::upDowninText was not able to set boundary correctly. This
causes a hang in because the cursor got stuck on a line and there is an
infinite loop BufferView::dispatch when trying to go down.

The fix is to avoid using the watered-down TextMetrics::x2pos wrapper
around getColumnNearX and use the real thing instead.

Eventually, the last user of x2pos (InsetTabular) should be fixed and
the method should go away.
2014-03-17 11:15:42 +01:00