Commit Graph

32916 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
ba3269fd8f 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 15:51:44 +01:00
Georg Baum
ef81af7037 Fix compilation with boost 1.60
Newer boost versions use complicated type traits for boost::next and
boost::prior, which do not work with the RandomAccessList iterators.
The long term solution is to use std::next and std::prev, for now supply
simple replacements for compilers that do not support C++11 yet.

This is was cherry picked from b5963300 and 7e72c1d0d3.
2016-02-03 15:51:08 +01:00
Uwe Stöhr
28f9d61dc3 Portuguese splash.lyx: backport a translation and correction 2016-02-03 01:29:28 +01:00
Uwe Stöhr
bfbf12fb19 splash.lyx: backport some translations 2016-02-02 03:01:32 +01:00
Uwe Stöhr
e81c8cbe46 Spanish Tutorial.lyx and Intro.lyx: backport recent changes 2016-01-31 15:31:15 +01:00
Uwe Stöhr
d5183fc87e Spanish Tutorial.lyx: remove non-existing menu 2016-01-30 20:35:55 +01:00
Uwe Stöhr
5c660527d0 EmbeddedObjects.lyx: convert a TeX code inset and formatting fixes 2016-01-24 16:15:26 +01:00
Uwe Stöhr
c5b3639a2e German EmbeddedObjects.lyx: corrections and some missing translations 2016-01-24 16:08:32 +01:00
Uwe Stöhr
0ae098c66b ViewSourceUi.ui: backport bug #4430 2016-01-23 16:25:02 +01:00
Uwe Stöhr
eda0e34013 Customization.lyx: fixes and additions by Jean-Pierre 2016-01-19 00:14:35 +01:00
Jean-Marc Lasgouttes
8c6cfd912a Update to boost 1.60
Also fix a warning by backporting 43d75a07.
2016-01-14 19:08:46 +01:00
Kornel Benko
e7fcac0b5c Missed these broken links 2016-01-12 19:12:29 +01:00
Kornel Benko
acb207ed28 Correct broken links in lib/doc/fr/UserGuide.lyx 2016-01-12 18:15:11 +01:00
Uwe Stöhr
2757e7f180 French UserGuide.lyx: small update for 2.1.5 from Jean-Pierre 2016-01-11 22:35:40 +01:00
Kornel Benko
5881405688 Replaced broken links. 2016-01-11 16:15:53 +01:00
Stephan Witt
10831da171 more flexible Xcode management, reduce hard coded version numbers 2016-01-06 10:38:26 +01:00
Stephan Witt
f9d381c5c4 correct the error message for not supported automake version 2016-01-06 10:34:54 +01:00
Jean-Marc Lasgouttes
3fad30da63 Fix entering inset in visual cursor mode
Improve the test whether cursor has moved in Cursor::posVisLeft. The code for posVisRight had already been fixed for #5764 at 0730c923, but this replaces both tests by the proper == operator.

Fixes bug #9913.
2016-01-05 16:55:32 +01:00
Jean-Marc Lasgouttes
0e4442e928 When moving cursor, always reset anchor
This applies to BufferView::moveToPosition, which is used for bookmarks and initial cursor position (on loading).

Fixes bug #9912.
2016-01-05 16:44:17 +01:00
Richard Heck
9d4406268c Fix bug #9907: We get a crash if we first close a master buffer one of
whose children is also a child of another buffer, then try to close that
one.

The problem is that we do not check properly to make sure that the child
is not a child of some other buffer. Now we do.

(cherry picked from commit 0407364392)
2016-01-05 10:07:14 -05:00
Richard Heck
3799213096 Rewrite the BufferList::releaseChild method so that it only checks
whether a given child Buffer is also a child of some other parent.
Then do the releasing or resetting where this method is called.

There should be no change of behavior with this patch.

(cherry picked from commit e8ffb0c97a)
2016-01-05 10:05:51 -05:00
Richard Heck
ce7782be5b Updated French translation of linguistics manual. 2016-01-05 10:04:31 -05:00
Jean-Marc Lasgouttes
0b0167b4cc Improve visually text classes paper and foils
This does not change output, only GUI.

paper: make sure that the starred sections use proper sans serif on screen.

foils: add relevant categories to layouts
2016-01-04 19:58:50 +01:00
Stephan Witt
3f7385610c #9889 add status change log entry - forgot it in change a5e5b3ff5a 2016-01-03 17:30:30 +01:00
Stephan Witt
a5e5b3ff5a #9889 slightly improved layout management to avoid too small popup window for advanced F&R 2015-12-31 15:02:57 +01:00
Jean-Marc Lasgouttes
b01f7a6bdd Avoid swapping a cell with itself
Gcc STL debugging feature asserts when swapping an object with itself. This happens in some cases with math grids that have only one column.

A quick review of other uses of swap() in the code base did not reveal any other dubious case.

Fixes bug #9902.
2015-12-29 19:47:10 +01:00
Richard Heck
1f8fd79c41 Since '\n' and '\t' are printable characters, the second clause
never triggered, and we output them anyway.
2015-12-12 15:34:06 -05:00
Richard Heck
ca986bd33f Do not try even to hide buffers that are being processed by LyX.
Should fix #9711.

(cherry picked from commit a5ea77410e)
2015-12-12 13:24:25 -05:00
Scott Kostyshak
20a70d3aba Revert "InsetFootlike.cpp: disable listings inside footnotes"
Although aa82c1cc fixed #9321, it broke a valid use case that was
reported by a user at #9785. Hopefully we can come up with a better
fix for #9321.

This reverts commit aa82c1cc19.
2015-12-08 14:44:48 -05:00
Uwe Stöhr
6c41cd1d14 de.po: remerge file and update translations 2015-11-26 00:39:37 +01:00
Jean-Marc Lasgouttes
95bc23133a tex2lyx: Add a newline at the end of comment if not at the end of a paragraph.
When importing TeX code like
  %comment
  TEXT
the LyX document currently becomes
  [ERT %comment] TEXT
so that TEXT is now part of the comment.

Now output_comment adds a trailing newline if the token after the
comment is not a newline. Note that the newline that marks the end of
the comment has already been parsed at this point.

tex2lyx tests have been checked manually and updated.

Fixes ticket #9551.
2015-11-23 14:02:06 +01:00
Juergen Spitzmueller
45597f967c Disable Apply button in InsetParams dialogs if there is no inset to apply to.
Fixes: #9386
2015-11-20 10:57:05 +01:00
Jean-Marc Lasgouttes
147abaf234 Disable LFUN_LAYOUT when layout cannot be found
Fixes bug #8077
2015-11-17 08:53:42 +01:00
Uwe Stöhr
5c85869304 InsetMathNest.cpp: add \sideset to the autocomplete list 2015-11-17 01:06:38 +01:00
Scott Kostyshak
7dc3394139 Ammend 400db01c 2015-11-13 20:44:55 -05:00
Scott Kostyshak
400db01c2a Revert "Now math previews are correctly updated when replacing math contents inside"
This commit reverts 73ad885a and 29948eec.

Updating all previews is expensive. See #7242 for details.
2015-11-13 20:06:59 -05:00
Uwe Stöhr
07aa68d612 splash.lyx: correct a menu name and update file format 2015-11-09 02:04:09 +01:00
Richard Heck
7a9b3a57aa The cite engine info is needed by makeDocumentClass().
Fixes both #9797 and #9848.

(cherry picked from commit ba99ea5b88)
2015-11-06 16:01:22 -05:00
Juergen Spitzmueller
3cb746f9ca Decrease and unify indentation of beamer frame contents. 2015-11-06 18:42:58 +01:00
Jean-Marc Lasgouttes
ae537a5d99 Set current font correctly after inset-select-all
Since we modify directly the cursor, it is wise to make sure that the current font is updated.

Fixes bug #9719.
2015-11-06 11:12:27 +01:00
Jean-Marc Lasgouttes
fc6b7ede9c Disable setting vertical lines when using a formal table
The code in InsetTabular disables the toolbar icons and menu entries related to vertical lines.

The code in GuiTabular disables vertical lines in the Settings dialog.
Note that there was a bug in
GuiSetBorders::set(Left|Right|Top|Bottom)Enabled, where the borders
did not get drawn correctly.

Fixes bug #9816
2015-11-06 11:05:21 +01:00
Jean-Marc Lasgouttes
1f177fed77 Allow quotes in PDF text properties
PDF properties (Author, Title...) need to be quoted properly when writing (normal operation and tex2lyx). Also, reading them requires to use Lexer::getString() directly, because >> uses next(), which does not handle escapes.

Fixes bug #9830.
2015-11-06 10:59:02 +01:00
Uwe Stöhr
2fea3b7200 French EmbeddedObjects.lyx: a fix 2015-11-05 00:47:48 +01:00
Stephan Witt
164168cf2e Avoid the use of a static NSAutoreleasePool.
This seems to cause crashes on exit from time to time.
(cherry picked from commit 989c72530e)
2015-10-27 22:57:16 +01:00
Uwe Stöhr
e1e9b8e6fb modernCV.lyx: backport recent changes
- get rid of all preamble code except of one comment
- add hints how to customize the layout via LyX's document settings
2015-10-26 15:34:58 +01:00
Uwe Stöhr
2619fda1f7 Math.lyx: some style improvements 2015-10-25 18:32:03 +01:00
Uwe Stöhr
a5361d4a58 Math.lyx: few minor fixes 2015-10-25 17:23:40 +01:00
Uwe Stöhr
2038b98ad2 Math.lyx: fix a typo 2015-10-25 04:20:27 +01:00
Uwe Stöhr
d2c02f9f00 French Math.lyx: fix a typo 2015-10-25 03:57:35 +01:00
Uwe Stöhr
b102001660 Math.lyx: backport fix for \mathscr
no status entry since there was no compilation problem in branch.
2015-10-20 00:06:32 +02:00