Commit Graph

35251 Commits

Author SHA1 Message Date
Scott Kostyshak
ce071eec92 Update docs to 2.2.0beta1 format 2016-02-09 21:38:47 -05:00
Scott Kostyshak
939a1e01d5 Update NEWS for 2.2.0beta1 2016-02-09 21:33:07 -05:00
Scott Kostyshak
8359475f7a Update ANNOUNCE for 2.2.0beta1 2016-02-09 21:33:01 -05:00
Scott Kostyshak
693ca643fc RELEASE-NOTES: document tabular-feature change 2016-02-09 19:13:43 -05:00
Guillaume Munch
e56820bea4 Do not save \origin when \save_transient_properties is false (#9958)
\origin is a transient property in the sense that in a collaborative context
each co-author is going to have a different value for it. Moreover, \save_origin
is a global (lyxrc) setting that cannot yet be deactivated for a single file,
but one author's setting is going to impact other authors, even those who have
set save_origin=false.

There is only one location where lyxrc.save_origin produces an effect, modified
by this patch. With this patch, everything happens as if lyxrc.save_origin was
false whenever save_transient_properties=false.

This is not a file format change. When a file has
save_transient_properties=false but an origin is set (for instance a file
produced before this patch) then the origin produces its effect before the file
is saved. This produces the same effect as if the user decided to disable
save_origin between two sessions.
2016-02-09 17:48:16 +00:00
Jean-Marc Lasgouttes
2804011957 Get rid of use_preview_ in various insets
This concerns InsetPreview, InsetIPA and InsetMathHull.

Caching such a value is bad when opening the same buffer in two views.
In this case, it is not necessary to remember use_preview_ at all,
actually.

Also remove private member dim_ which is not used and remove some trailing whitespace.

Fixes bugs #9085 abd #9957.
2016-02-09 09:54:14 +01:00
Jean-Marc Lasgouttes
a3b19c60a7 Do not record undo in the tabularFeatures helper
Since the low-level version of tabular features is only called by the high-level one, it does not make sense to record undo there. It is much better to do it once in the high-level handler, rather than 37 times (yes!) at lower level when the tabular GUI calls tabular-feature with all the settings at once.

With large tables, this avoids to keep 37 copies of the table in Undo stack.

As an added bonus, this fixes bug #9960.
2016-02-09 09:18:56 +01:00
Uwe Stöhr
77bb8b91a3 Win installer: prepare for beta 1
- also add support to detect JabRef 3.x
- also add support to detect Pandoc
- some minor improvements
2016-02-09 00:31:57 +01:00
Uwe Stöhr
97dfacfffa Italian doc files: some updates from Claudio 2016-02-08 21:09:01 +01:00
Kornel Benko
49b6a89a14 Make ja/splash.lyx compilable again.
Using a second language (english) leads to errors if not using babel.
2016-02-08 11:02:34 +01:00
Uwe Stöhr
abae532b57 Win installer: new Brazilian translation 2016-02-05 01:31:42 +01:00
Uwe Stöhr
28e6174be7 InsetBox.cpp: fix bug #8712 2016-02-05 00:49:17 +01:00
Jean-Marc Lasgouttes
31471496fd Allow breaking a row element at a leading/trailing space
When an inset is separated from the adjacent string by a space, it is
reasonable to be able to break the string after the space.
Unfortunately, QTextLayout does not do that.

This patch reverts the workaround inserted in 71378268 and replaces it
with a different trick: the string is enlosed between a pair of
zero-width non breaking space characters, so that the leading/trailing
spaces are now normal spaces, where QTextLayout will agree to break
the string.

    Fixes bug #9921 for good.
2016-02-04 08:45:27 +01:00
Uwe Stöhr
af966e1ee3 Windows installer: updated translation by Koji
- also add a note
2016-02-04 00:13:21 +01:00
Uwe Stöhr
667bb0fd2a French Tutorial.lyx: update by Jean-Pierre 2016-02-03 21:53:50 +01:00
Uwe Stöhr
43ea63197d Japanese UserGuide.lyx: updates by Koji 2016-02-03 21:46:32 +01:00
Jean-Marc Lasgouttes
169cf7c24d When selecting whole row, reset properly the pit()
Since different cells in a row can have different number of paragraph, take care of setting cur.pit() when selecting a row/column.

Fixes bug #9955
2016-02-03 09:48:29 +01:00
Uwe Stöhr
67fa69ce6b New Brazilian splash.lyx from Georger
- therefore split Portuguese into Brazilian and Portugal
2016-02-03 01:24:58 +01:00
Uwe Stöhr
4c1eb393b3 pt_BR.po: update by Georger 2016-02-03 01:10:32 +01:00
Uwe Stöhr
86826df4aa ia.po: repair 4 c-format errors 2016-02-03 01:04:42 +01:00
Uwe Stöhr
12559b33c3 Math.lyx: remove a misleading info
mathed simply does not yet support \parbox
2016-02-03 00:51:50 +01:00
Uwe Stöhr
0d30333ec6 acmsiggraph.layout: revert c1e0b243 partly 2016-02-03 00:03:55 +01:00
Uwe Stöhr
cdcd66333e ia.po: update by Giovanni 2016-02-02 23:43:47 +01:00
Enrico Forestieri
340acadee8 Translate a few sentences in it/splash.lyx 2016-02-02 01:41:34 +01:00
Günter Milde
fa75f57603 ctest export tests: document requirements.
Add suggestion for policy for "reuse" of documentation files.
2016-02-01 23:56:37 +01:00
Uwe Stöhr
6cddc4617b Spanish splash.lyx: translation from Ignacio 2016-02-01 21:41:08 +01:00
Uwe Stöhr
aa9e14c68f Ukrainian translations: updates by Yuri 2016-02-01 21:32:56 +01:00
Uwe Stöhr
5ff2286c28 French translations: updates by Jean-Pierre 2016-02-01 21:31:36 +01:00
Uwe Stöhr
bd3dd7873a Merge branch 'master' of git.lyx.org:lyx 2016-01-31 21:27:47 +01:00
Uwe Stöhr
4848c43ac0 splash.lyx: add note for Linux installations (part 2/2)
- this topic appears from time to time so it is useful to add a note.
- update also a non-existing menu name
2016-01-31 21:26:20 +01:00
Scott Kostyshak
d5694318ef Document need to use same subset if --rerun-failed
When running the tests with ctest, --rerun-failed can be used to run
the tests that failed on the previous run. However, the same subset
must be specified because it is the test numbers that are used to
index which tests failed on the previous run. For example, it would
be incorrect to do the following:

  ctest -R export
  ctest --rerun-failed

The following is correct:

  ctest -R export
  ctest -R export --rerun-failed
2016-01-31 15:22:10 -05:00
Uwe Stöhr
b0370857b4 splash.lyx: add note for Linux installations (part 1)
- this topic appears from time to time so it is useful to add a note.
- update also a non-existing menu name
2016-01-31 21:16:29 +01:00
Guillaume Munch
bcfa3547be minor cleanup 2016-01-31 16:02:18 +00:00
Uwe Stöhr
bac98eaf4b Spanish Tutorial.lyx and Intro.lyx: updates by Ignacio 2016-01-31 15:28:45 +01:00
Georg Baum
de3e5280f6 Open tex2lyx input files with correct encoding
We open the input file now twice: The first time in latin1 encoding to read
the document encoding from the preamble. This does always work, since
traditional TeX does not allow non-ASCII contents without an encoding changing
command (except for comments, but we do not need them, and using latin1 rather
than utf8 ensures that they do not produce an iconv exception, but are simply
recored with wrong characters), and we do detect the utf8 based TeX engines
XeTeX and LuaTeX as well. The second time we open the file directly with the
document encoding.

This fixes a few tex2lyx tests on OS X, since changing the encoding of an
open file steam does not work with clang on OS X. Files using more than one
encoding are still broken, but all single-encoding files are fixed now.
2016-01-31 12:54:59 +01:00
Georg Baum
92d0835e14 Avoid encoding changes of open streams if possible
Changing the codecvt_facet of a file stream after the file has been opened
does not work with clang on OS X. Therefore we avoid it if possible (i. e. the
new encoding is the same as the old one).
2016-01-31 12:49:17 +01:00
Georg Baum
250b058192 Do not use static objects in Preamble
This does not make any difference currently, since the only instance of the
Preamble class is a global one, but it is cleaner and will be needed for
parsing the encoding with a second Preamble instance.
2016-01-31 12:37:22 +01:00
Uwe Stöhr
7b35843b0f Spanish Tutorial.lyx: remove non-existing menu 2016-01-30 20:36:48 +01:00
Uwe Stöhr
5ebf8cd649 UserGuide.lyx: document longtable -> multi-page table 2016-01-30 20:28:46 +01:00
Uwe Stöhr
130ee11f63 Spanish UserGuide.lyx: updates by Ignacio 2016-01-30 20:25:51 +01:00
Uwe Stöhr
4dce8d4da4 tex2lyx testfiles: update fileformat 2016-01-30 02:17:45 +01:00
Uwe Stöhr
11689bec64 UserGuide.lyx: an update 2016-01-30 01:26:27 +01:00
Uwe Stöhr
962d5b1c20 Spanish doc files: updates by Ignacio 2016-01-30 00:55:21 +01:00
Uwe Stöhr
f3527f914e es.po: updates by Ignacio 2016-01-30 00:31:51 +01:00
Georg Baum
5727cb2d43 Use consistent iconv encoding names
We should stick to the names used in lib/encodings. iconv has many aliases,
but fi we ever compare names it is better to use only one variant.
2016-01-29 20:38:40 +01:00
Jean-Marc Lasgouttes
8d091cfe78 Avoid making tabular too large when using a caption in longtable mode
This is a fixup to commit cdb9f043, which fixed bug #9757.

It is necessary to make a special case for inserting an InsetCaption
in a tabular cell, because this commonly happens in longtable mode.

Fixes bug #9945.
2016-01-29 10:05:48 +01:00
Uwe Stöhr
78ce4edbd2 French doc files: updates from Jean-Pierre 2016-01-29 00:31:08 +01:00
Uwe Stöhr
64d7fd3955 fr.po: small update from Jean-Pierre 2016-01-29 00:25:08 +01:00
Uwe Stöhr
d6489afa5d IOP-article.lyx: avoid some preamble code 2016-01-29 00:20:43 +01:00
Enrico Forestieri
9edbeef7b7 Make sure the cursor is in texted 2016-01-28 14:13:17 +01:00