Commit Graph

32895 Commits

Author SHA1 Message Date
Uwe Stöhr
e7158ca663 Win installer: mention another update 2016-05-15 04:47:08 +02:00
Uwe Stöhr
c766013132 Win installer: update translation files
- to be in sync with the status of the installers for 2.2.x
2016-05-15 04:39:11 +02:00
Uwe Stöhr
195edd9a59 Win installer: release a new version for 2.1.4
The reason is that the default MiKTeX package server I used was permanently turned off. So new users of LyX won't currently get any missing LaTeX package but a cryptic error message from MiKTeX.
2016-05-15 04:11:28 +02:00
Uwe Stöhr
57c234f037 Tutorial.lyx: another typographic fix 2016-05-08 22:33:35 +02:00
Uwe Stöhr
c2652fac4c Tutorial.lyx: typographic fixes spotted by a user 2016-05-08 22:19:15 +02:00
Jean-Marc Lasgouttes
57cb454fbe Resources.cpp is a built source, it should not be in SOURCEFILES
We want to avoid that Resources.cpp be distributed in the tar file.

(cherry picked from commit ff17b366a0)
2016-04-29 17:36:57 +02:00
Jean-Marc Lasgouttes
631098367e Avoid narrow boxes when using \width as box width unit
When the box has a special width, one should not consider that as a fixed width. Otherwise, due to implementation quirks, the width will be set on screen as 1 inch.

A better solution would be to actually set the width by taking in account the contents width, height ans total height. This is not very difficult, but I do not know whether it would workout well in the work area.

Fixes bug #10048.
2016-04-19 11:53:48 +02:00
Jean-Marc Lasgouttes
6756637eb5 When handling mouse events, make the undo group a bit larger
notifyCursorLeave can delete empty insets in mathed.

Fixes bug #10022.
2016-04-19 11:46:02 +02:00
Jean-Marc Lasgouttes
cd499fdef4 Erase correctly math multi-cell selection
What a selection spans several cells in mathed, and a deletion occurs though LFUN_CHAR_DELETE_FORWARD for example, only the case of a proper grid was handled. When no such grid exists, all cells between the first and the last index are cleared now.

Fixes part of bug #9747.
2016-04-19 11:31:59 +02:00
Jean-Marc Lasgouttes
7799e7960c In mathed, select only current cell on double-click
Keep the behavior of split selection with triple click.

Fixes part of #9747.
2016-04-19 11:22:59 +02:00
Jean-Marc Lasgouttes
8d76be389d When a counter is stepped, reset recursively all slaves
Fixes bug #10063.
2016-04-18 12:06:06 +02:00
jpc
e408c49b2f Revision of French UserGuide 2016-04-16 18:39:05 +01:00
jpc
e9cc60a5be Backporting of recent changes about French typography 2016-04-16 09:18:35 +01:00
Richard Heck
7b896e0db8 Fix problem reported by Kornel in this thread:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg193248.html
The static InsetLayout could be initialized before its members were, as
JMarc realized here:
		https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg193293.html

(cherry picked from commit 23f6c1c962)

Conflicts:
	src/TextClass.cpp
2016-03-27 19:39:36 -04:00
Uwe Stöhr
51c2d11335 French UserGuide.lyx: update for branch from Jean-Pierre 2016-03-27 19:55:16 +02:00
Uwe Stöhr
e7d79e0a2d fr.po: updates for branch from Jean-Pierre 2016-03-27 19:15:06 +02:00
Guillaume Munch
30e46b7356 Fix perf issue when displaying the symbols gui (#9968)
According to callgrind, the time taken to display the symbol dialog is spent in
updateSymbolsList. No longer translate strings for every symbol. This speeds
it up more or less by a factor two.
2016-03-13 19:28:42 +00:00
Guillaume Munch
17fa787ba2 Amend 13a993fd
Correctly backport other changes.
2016-03-11 01:11:03 +00:00
Guillaume Munch
13a993fda8 Fix perf issues and crash when showing 1'100'000 items (#9968) 2016-03-11 00:29:26 +00:00
Uwe Stöhr
997349280e splash.lyx: fix hyphenation 2016-03-04 01:57:07 +01:00
Guillaume Munch
8e437f480a Amend bc858ab6
Thanks Uwe.
2016-02-25 21:23:09 +00:00
Guillaume Munch
bc858ab69d Fix SIGSEGV when introducing a new shortcut (#9869)
removeShortcut() restores default settings, therefore was used incorrectly. I
introduce deactivateShortcuts() which only removes assignments.

Clean up a bit the lack of view / model distinction (getting rid of the crashing
code at the same time).

Repair inconsistency of the selection in the "modify" case. (regression at
717d19d3c)

Make the test for existing bindings a bit more robust. (Not perfect yet.)

Focus on the item that has just been added/modified. (cosmetic)

(cherry-picked from 20a9c7a)
2016-02-24 17:20:16 +00:00
Uwe Stöhr
dc6bc435a4 InsetBox.cpp: backport fix for bug #8712 2016-02-11 23:56:02 +01:00
Kornel Benko
0bed11d960 Backport 21541a07: boost, cmake: Turn off warning that signals are deprecated 2016-02-11 18:35:05 +01:00
Uwe Stöhr
681a5ae6e3 status.21x: a typo 2016-02-09 21:00:06 +01:00
Jean-Marc Lasgouttes
b1323be32c 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 17:18:45 +01:00
Jean-Marc Lasgouttes
942b62ac0f 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.
2016-02-09 16:41:12 +01:00
Jean-Marc Lasgouttes
8d9e4a3fd3 Forgot this with ba3269fd. 2016-02-09 16:31:38 +01:00
Uwe Stöhr
a6110f266c Italian doc files: some updates from Claudio
- also backport updated images
2016-02-08 21:05:56 +01:00
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