Commit Graph

32513 Commits

Author SHA1 Message Date
Juergen Spitzmueller
b14e5925a9 Fix View Source size
Fixes: #9084.
2014-05-02 11:03:32 +02:00
Georg Baum
90a16b3ec1 Forgot status 2014-05-01 13:53:17 +02:00
Georg Baum
b0664e0c98 Fix table rotate conversion to 2.0 format
The old code did create invalid documents, since the space between the rotate
flag dn the previous flag was removed.
2014-05-01 13:48:44 +02:00
Juergen Spitzmueller
932b81c175 Status update 2014-04-30 16:06:27 +02:00
Juergen Spitzmueller
ad203a33d5 lyx_pot.py: Do not strip blanks in HelpText.
This fixes a thinko introduced in [c5ef7cfc/lyxgit]

Fixes: #9054.
2014-04-30 16:05:02 +02:00
Juergen Spitzmueller
28705e8933 Do not write an empty default_otf_view_format.
Fixes: #9100.
2014-04-30 16:02:22 +02:00
Uwe Stöhr
ff507c1a33 status.21x: move an entry to the correct position 2014-04-29 22:27:51 +02:00
Uwe Stöhr
f8bc6e8267 CREDITS: add Min Ding and Roy Xia 2014-04-28 22:55:09 +02:00
Uwe Stöhr
f5fb48cdb5 Merge branch '2.1.x' of git.lyx.org:lyx into 2.1.x 2014-04-28 22:27:19 +02:00
Uwe Stöhr
e7e5bfc8b6 zh_CN.po: updates from Min Ding 2014-04-28 22:26:59 +02:00
Georg Baum
b73a59932e Fix lyx2lyx math package defaults (bug #9069)
lyx2lyx sets all new math packages to off when converting from old formats.
This is correct if any command which would cause an automatic package loading
exists in the document. However, it is wrong if no command exists: This leads
to problems if later a command is added (bug #9069), which is especially
annoying for templates.
The fix consists of two parts:
1) convert_use_package() considers now the used commands like
   revert_use_package(), and uses them to decide whether to set the package to
   auto or off.
2) convert_undertilde() and revert_undertilde() use a slightly adjusted copy of
   convert_use_package() and revert_use_package(), so that the bug is also
   fixed for undertilde. We cannot use the latter functions directly, because
   of "\usepackage undertilde" vs. "\use_undertilde".
2014-04-27 18:09:29 +02:00
Georg Baum
d47a556b46 Fix math package conversion to 2.0 format
When doing the lyx2lyx round trip of the 2.0.8 user guide from format
413 -> 474 -> 413 you get an invalid document, because the math packages
mhchem and undertilde are incorrectly converted.
It turned out that the old reversion code did only work for particular
package oderings. The new one works for abitrary sorted packages.
2014-04-27 18:08:24 +02:00
Georg Baum
28bde98d76 Fix data loss in user guide conversion to 2.0.x
When doing the lyx2lyx round trip of the 2.0.8 user guide from format
413 -> 474 -> 413 you do not get a zero diff. The most important problem is
caused by the conversion of the argument insets to the old syntax: This
conversion adds an additional empty line (harmless), and it destroys the
document structure if the first inset in e.g. a subsection is not an argument
inset, but e.g. an index or label inset.
The fix is quite easy: Ensure that the paragraph begin is set to the first
argument inset.
2014-04-27 18:06:34 +02:00
Georg Baum
e754d00faa Fix warning in lyx2lyx 2.0<->2.1 round trip
revert_justification() issues a warning if the \justification parameter does
not exist, and LyX itself always writes it unconditionally as well, so add it
also in lyx2lyx when converting old documents.
Currently this does not have any user visible effect, but it decouples the
default value of BufferParams::justification from the conversion of old
documents: Now it is possible to set the default to false in LyX, and old
documents will still be converted correctly.
2014-04-27 18:05:22 +02:00
Uwe Stöhr
e19dd094da README.localization: add info 2014-04-27 17:27:35 +02:00
Uwe Stöhr
aae55d3933 French doc files: translations by Jean-Pierre 2014-04-27 17:26:27 +02:00
Juergen Spitzmueller
8b7d5276b8 Fix conversion of beamer block titles that end with a non-ERT inset. 2014-04-27 09:44:43 +02:00
Richard Heck
dd44f71cf9 Fix failure to detect quoted flex insets in conversion to layout
48. Also, simplify this code.
(cherry picked from commit 7e1541dd49)
2014-04-25 17:21:32 -04:00
Enrico Forestieri
2bf8e2719c Update it.po 2014-04-24 01:07:29 +02:00
Enrico Forestieri
e38ebdf725 Update it.po 2014-04-24 01:05:13 +02:00
Scott Kostyshak
2cea5b08dc Typo 2014-04-22 14:36:14 -04:00
Scott Kostyshak
06c926e699 Do not spellcheck "code" in logical markup module 2014-04-22 14:35:18 -04:00
Juergen Spitzmueller
8f5af7c453 Bibtopic requires styles files to be passed via argument
Fixes: #9060
2014-04-22 09:32:48 +02:00
Juergen Spitzmueller
85cdab36c2 de.po: update 2014-04-21 12:19:29 +02:00
Jean-Marc Lasgouttes
6bce9abfee Respect group integrity when removing stuff from the Undo stack.
Fixes: #9079
2014-04-20 22:54:31 +02:00
Pavel Sanda
b064f09b5a * layouttranslations.review zh_CN checked.
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg98644.html
2014-04-19 10:33:41 -07:00
Pavel Sanda
214bbd81a4 Fix man page, patch from Prannoy Pilligundla. 2014-04-19 10:33:28 -07:00
Richard Heck
9a99660962 Update update-po script for new gmo generation. 2014-04-19 12:03:59 -04:00
Richard Heck
855af34657 Remerge strings. 2014-04-19 11:59:16 -04:00
Kornel Benko
6b8b314579 * sk.po 2014-04-19 09:44:41 +02:00
Richard Heck
e29574d270 Apparently, documentation changes were already in current master,
so the previous set of commits over-wrote some of what was there.
This restores the status quo ante.
2014-04-18 11:16:52 -04:00
Richard Heck
65a049dfa5 Merge branch '2.1.1-staging' into 2.1.x
Conflicts:
	lib/doc/es/EmbeddedObjects.lyx
	lib/doc/es/UserGuide.lyx
	lib/doc/fr/EmbeddedObjects.lyx
	lib/doc/ja/EmbeddedObjects.lyx
	lib/doc/ja/Intro.lyx
	lib/doc/ja/Math.lyx
	lib/doc/ja/Tutorial.lyx
	lib/doc/ja/UserGuide.lyx
	po/ja.po
	src/mathed/InsetMathNest.cpp
2014-04-18 11:08:31 -04:00
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