Commit Graph

39703 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
da79317ce2 Use range-based for loop. 2017-11-29 14:52:50 +01:00
Jean-Marc Lasgouttes
cc7364dfc5 Better handling of multiple buffers in UndoGroupHelper
It may happen that the buffers are visited in order buffer1,
buffer2, buffer1. In this case, we want to have only one undo group
in buffer1. The solution is to replace buffer_ with a set<Buffer*>.

A use case among others is InsetLabel::updateReferences.
2017-11-29 14:46:15 +01:00
Jean-Marc Lasgouttes
6df9cbef95 Remove unused BufferView member 2017-11-29 12:27:57 +01:00
Jean-Marc Lasgouttes
ae60749f89 Make sure that rows are repainted when they get (un)selected
The bug is the following: when selecting several paragraphs quickly
enough, some rows do not get selected.This is a consequence of the
removal of row crc, which lead to not taking into account the
selection status of the row in the decision to repaint.

The solution chosen here is to add a Row::change() helper function to
modify row members. This will set the Row changed status whenever the
value of the member changes.
2017-11-29 11:38:33 +01:00
Kornel Benko
1844d22221 Cmake build: Don't try to convert non-lyx-files.
Since they are not supposed to contain versioned strings like LYX_DIR_VER,
it is sufficient to copy them instead.
Besides, they also may be non-utf-8 coded, which would also break the conversion.
2017-11-28 19:07:24 +01:00
Kornel Benko
4c49463c61 Update sk.po 2017-11-28 11:11:30 +01:00
jpc
3e4743051e Update French Math manual for 2.3 2017-11-28 09:06:33 +01:00
Uwe Stöhr
36fba4a508 Customization.lyx: fix bug#10809
also some layout fixes to avoid writing in the page margin
2017-11-28 00:54:49 +01:00
Uwe Stöhr
71e9d3a385 EmbeddedObjects.lyx: update table with available units 2017-11-27 23:12:13 +01:00
Juergen Spitzmueller
65b44311f3 Split inkscape_cl (command line) from inkscape_gui (GUI program)
On Windows, these are two different binaries, and one fails to do the
tasks of the other. On all other OSes, the two are the same.

Fixes: #10805
2017-11-27 18:59:51 +01:00
jpc
6771b0044f A couple of editions in the French Intro manual 2017-11-27 18:12:50 +01:00
Richard Heck
0f0c5bb4b1 Fix bug #10809. 2017-11-26 22:07:28 -05:00
Richard Heck
5f9f3e49da Fix #10819: Set title for print nomencl dialog. 2017-11-26 22:00:14 -05:00
Uwe Stöhr
88085f380c Math: add a note about \tag with RTL languages
- also update a weblink
2017-11-27 02:43:14 +01:00
Uwe Stöhr
c77531a667 UserGuide.lyx: describe \baselineskip
-also add a Spanish translation
2017-11-27 00:26:35 +01:00
Uwe Stöhr
2585745643 UserGuide.lyx: document the Literal option
- also remove some now unnecessary bibliography entries
2017-11-26 19:22:20 +01:00
Kornel Benko
3b9705da19 Cmake build: Add option to use native file dialog also for linux 2017-11-26 18:50:53 +01:00
Uwe Stöhr
601ce9f21c Changelog-UserGuide-LyX_23x.txt: document recent change for the translators 2017-11-26 03:40:34 +01:00
Uwe Stöhr
1f0de77f15 UserGuide.lyx: describe the new font settings options 2017-11-26 03:36:57 +01:00
Uwe Stöhr
b0e78794b5 de.po: sanitize some issues reported by poedit
- es.po: add 3 translations
2017-11-26 03:34:00 +01:00
Richard Heck
a6258b93bc Remove useless code.
runparams was a temporary anyway.
2017-11-24 18:36:09 -05:00
Richard Heck
ab63e72fcb Minor code re-organization 2017-11-24 18:15:27 -05:00
Jean-Marc Lasgouttes
d01dd54bf1 Fixup e64ea357
Cursor at end of paragraph should be treated as if boundary was on.
2017-11-24 23:36:28 +01:00
Juergen Spitzmueller
eb2dbb8b09 Assure print function compatibility in python 2.x 2017-11-24 11:56:41 +01:00
Uwe Stöhr
bf12cebdc0 Win installer: update to Qt 5.9.3 2017-11-24 00:16:23 +01:00
Jean-Marc Lasgouttes
34285cc683 Handle properly top/bottom of inset with mac-like cursor movement
The correct behavior is to go to position 0 going up from first row,
and to end of row when going down on last row.

The targetx value of the cursor is not updated, which makes cursor
movement more natural.

Fixes bug #10701.
2017-11-23 15:52:08 +01:00
Jean-Marc Lasgouttes
e64ea3576c Avoid some caret ghosts
When the caret is at end of row, if may happen that it is drawn after
the end of the row. In this case caret blinking will not work
properly. This patch extends the row background on the left and right
by Inset::TEXT_TO_INSET_OFFSET. This is only a hack that will not work
if the caret has a ridiculous width like 6.

Additionally, introduce some (disabled) debug code that numbers the
rows on screen by painting order.

Finally, make the code that detects whether the caret was in a given
row more precise (take boundary into account).

Fixes (mostly, see above) bug #10797.
2017-11-23 15:38:17 +01:00
Juergen Spitzmueller
4f10c0a14b Use python3 print syntax 2017-11-23 08:16:10 +01:00
Richard Heck
32c112a07e Update makefile after change of filename. 2017-11-22 19:14:21 -05:00
Richard Heck
6137ff13d8 Revert "Uwe updated this on Windows, and it became lowercase."
This reverts commit 04bf467549.
2017-11-22 19:13:40 -05:00
Richard Heck
04bf467549 Uwe updated this on Windows, and it became lowercase. 2017-11-22 18:48:19 -05:00
Uwe Stöhr
913619c80a svg2pdftex.py: make print work with Python 2 and 3 2017-11-22 23:26:58 +01:00
Juergen Spitzmueller
14df9b74c4 Remove more lower-level dependencies 2017-11-22 16:45:13 +01:00
Juergen Spitzmueller
13d684fd3c Add a note about dependency declarations in layouts/modules 2017-11-22 16:42:33 +01:00
Kornel Benko
403a4981ee Restore uk/Intro.lyx and renaming due to windows ignoring capitalization instead 2017-11-22 11:17:55 +01:00
Juergen Spitzmueller
1400144a8a Remove grandchild-level dependencies.
We agreed to only check for top-level dependencies, see
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg195679.html

This reverts 30475b4b0.
2017-11-22 08:33:09 +01:00
Uwe Stöhr
1c803aaa96 Win installer: check that the Win installer is not already running 2017-11-22 00:32:25 +01:00
Uwe Stöhr
5313fd1f3d Ukrainian Footnote.png: update image 2017-11-21 23:20:31 +01:00
Kornel Benko
b7a1848775 Use existing graphic paths only, uk/Intro.lyx 2017-11-21 22:09:53 +01:00
Uwe Stöhr
bfcb9cc85a acmart.layout: fix a dependency
for the discussion about the dependencies see bug #10806
2017-11-21 22:02:00 +01:00
Juergen Spitzmueller
89e470a151 fi.po: updates by Jari-Matti Mäkelä
(cherry picked from commit 74106b9960)
2017-11-21 19:30:55 +01:00
Uwe Stöhr
54823a1cd7 Win installer: add two more required packages and correct a word
- vntex is necessary for Vietnamese, greek-fontenc for Greek
- use correct term for Farsi
2017-11-21 01:12:08 +01:00
Uwe Stöhr
76a3842271 doc files: port today's changes to master 2017-11-20 23:48:44 +01:00
Uwe Stöhr
f27c82c52e sv.po: updates from Jim 2017-11-20 22:01:26 +01:00
Uwe Stöhr
081a9035cf Win installer: big file cleanup
- update the file list in Makefile.am
- don't try to build it via CMake because this requires more than CMakeLists.txt. If it should nevertheless be built via CMake the .cmake files need to be rewritten from scratch
- remove unused and outdated files
- update  an SVG file
2017-11-20 21:05:16 +01:00
Uwe Stöhr
bdea2c6139 Win installer: another update for Packages.txt
- necessary for seminar with XeTeX
2017-11-20 21:01:14 +01:00
Kornel Benko
37d0b3f066 Use existing graphic paths only 2017-11-20 12:57:02 +01:00
Juergen Spitzmueller
538b38f78c Longtable: only output the caption contents in a caption row.
Fixes: #10791
2017-11-20 10:59:09 +01:00
Uwe Stöhr
9135eab226 template files: save them all with LyX 2.3RC1 2017-11-20 02:33:28 +01:00
Uwe Stöhr
4781d01746 Win installer: update package list
these are the packages required to compile all LyX doc, examples and template files that are not yet installed by MiKTeX on a fresh installation.
2017-11-20 02:32:48 +01:00