Commit Graph

38104 Commits

Author SHA1 Message Date
Juergen Spitzmueller
323549c10c generate_contributions.py: Fix for python3 2017-12-13 12:55:17 +01:00
Jean-Marc Lasgouttes
cd9e42dc35 Improve UndoGroupHelper and use it more
Now the helper class contains logic that checks whether buffer are
known before closing them. This avoids potential crashes.

Use it in different places to siplify code. It is not clear at this
point whether it should be used everywhere.

Followup to bug #10847.
2017-12-13 11:10:49 +01:00
Jean-Marc Lasgouttes
8b107f0490 Handle properly undo groups in embedded work areas
When a buffer is in an embedded work area (adv. find&replace), it is
not found by BufferList:::exists(), and therefore the undo group
created in GuiApplication::dispatch and in the handling of
LFUN_COMMAND_SEQUENCE will not be closed.. Crashes can ensue, as
described in Ubuntu bug:
https://bugs.launchpad.net/bugs/1737429

The solution is to introduce BufferList::isInternal and act on it.

Fixes bug #10847.
2017-12-13 10:46:54 +01:00
Uwe Stöhr
4d0c1c030c GuiApplication.cpp: remove unused includes 2017-12-13 02:59:05 +01:00
Uwe Stöhr
31c43d7603 ru.po: more translations from Yuriy 2017-12-13 00:38:27 +01:00
Kornel Benko
52e5e940e2 Amend 3dcb317 2017-12-12 20:54:56 +01:00
Kornel Benko
feae67ce7b sk.po, more shortcuts 2017-12-12 20:47:25 +01:00
Kornel Benko
3dcb317c39 Add menus.bind for Slovak UI. 2017-12-12 20:44:05 +01:00
Uwe Stöhr
58811966b1 README.localization, INSTALL.Win32: update description
- kbabel was replaced by Lokalize
- Poedit must not break lines
- we need a recent gettext in the dependencies -> use the dependencies package that is up to date (also updated for Imagemagick, Python etc.)
2017-12-12 17:17:06 +01:00
Uwe Stöhr
0630546917 de.po: translate one of 3 new strings
- also update German UserGuide.lyx for consistency
2017-12-12 16:51:32 +01:00
Uwe Stöhr
a193be6077 ru.po: fix the line ending problems
the solution was to upgrade gettext to 0.19.8.1, see https://github.com/vslavik/poedit/issues/451 for details
2017-12-12 16:48:19 +01:00
Uwe Stöhr
a26da3268c generate_contributions.py: adding Yuriy to the CREDITS
- btw. generate_contributions.py is not yet ready for Python 3, see bug #10845
2017-12-12 15:30:28 +01:00
Kornel Benko
04b6c055fa Add some more accelerators to sk.po 2017-12-12 14:02:03 +01:00
Uwe Stöhr
7b105a61b2 UserGuide.lyx: distribute today's changes 2017-12-12 02:25:17 +01:00
Juergen Spitzmueller
637e4d6dfa Add D. Gloger to the credits 2017-12-11 10:18:26 +01:00
Uwe Stöhr
88404dbfae Win installer: improvement from Yuriy
- also suppress an unnecessary message
2017-12-11 00:30:47 +01:00
Juergen Spitzmueller
480c8a52f2 Some corrections wrt dashes and line breaks 2017-12-10 12:01:17 +01:00
Uwe Stöhr
917a72e3ec Win installer: new Russian translations thanks to Yuriy 2017-12-09 19:06:32 +01:00
Juergen Spitzmueller
7821cb7133 Missing "icon" in description of "info-insert"-function 2017-12-09 09:52:44 +01:00
Jean-Marc Lasgouttes
0d6a38f3d4 Remove unused variables 2017-12-08 12:16:51 +01:00
Uwe Stöhr
95bcff9924 unix2dos.py: make it ready for python 3
fixes bug #10838
2017-12-08 02:08:16 +01:00
Uwe Stöhr
56ef6db74c ru.po: remerge strings as service for Yuriy 2017-12-08 01:51:57 +01:00
Uwe Stöhr
a97b792eac EmbeddedObjects.lyx: better description for rotated table cells with line breaks 2017-12-07 00:27:45 +01:00
Uwe Stöhr
bb14e6434b InsetBranch.cpp: remove an unused include 2017-12-06 19:55:14 +01:00
Uwe Stöhr
c19c21034b InsetXXX.cpp: remove unused and duplicated includes 2017-12-06 19:35:53 +01:00
Uwe Stöhr
824133f542 UserGuide.lyx: describe how to use hyperlinks for nomenclature
- also note that toolbar icon size can be changed
2017-12-06 19:16:17 +01:00
Kornel Benko
3d85d6da7b Missing "icon" in description of "info-insert"-function 2017-12-06 15:36:31 +01:00
Uwe Stöhr
851782953b Win installer: code review
- use https in URLs
- remove unused code
- use variables if possible
- LyX 2.3.x won't support Windows Vista because Qt 5.9 does not and other third-party programs will follow soon
2017-12-06 15:28:22 +01:00
Juergen Spitzmueller
7e34e65943 Recreate citation label after paste
Fixes: #10829
2017-12-06 09:11:18 +01:00
Uwe Stöhr
91fe8e54d2 Win installer: update rsvg-convert
- also fix some typos in the license file
2017-12-06 03:06:09 +01:00
Uwe Stöhr
873bd99008 zlib: update to zlib 1.2.11
This should also be done in LyX 2.3.x now or for LyX 2.3.1.
2017-12-06 02:45:49 +01:00
Kornel Benko
7aa45eb025 Icon modified because of incompatibility to older rsvg-convert
rsvg-convert version 2.40.2 was unable to convert the previous svg-data.
2017-12-05 15:25:58 +01:00
Uwe Stöhr
9a0b3247b0 UserGuide.lyx: update description for nomenclature according to recent changes 2017-12-05 03:02:24 +01:00
Uwe Stöhr
ff1d38b551 ru.po: more work from Yuriy 2017-12-05 01:51:24 +01:00
Jean-Marc Lasgouttes
6cb6f78ae9 Fixup 16af6e7c
Avoid an extra pixel above horizontal rule.
2017-12-04 11:20:13 +01:00
Jean-Marc Lasgouttes
16af6e7c50 Implement display of roots more faithfully
This is a follow-up to 758de957.

- unify the metrics and drawing of \sqrt and \root using helper
  functions mathed_root_metrics and mathed_draw_root.

- compute the vertical spacing above the nucleus of the root following
  rule 11 of the TeXbook. In particular, it is different in inline and
  display style.

- draw the root glyph without hard-coded pixel values. Make the line
  width depend on the zoom.

more work is needed to implement properly rule 11:

- Ideally, we should use sqrt glyphs from the math fonts. Note that
  then we would get rule thickness from there.

- The positioning of the root MathData is arbitrary. It should
  follow the definition of \root...\of... in The Texbook in
  Apprendix B page 360.

Fixes bug #10814.
2017-12-04 10:58:08 +01:00
Juergen Spitzmueller
83f214d636 Do not escape makeindex chars in bibitemWidest. 2017-12-03 12:04:39 +01:00
Juergen Spitzmueller
1a78e9787e nomenclWidest(): take (proper) formatting into account. 2017-12-03 11:57:11 +01:00
Juergen Spitzmueller
938c44590c Fix thinko from b68701c4da 2017-12-03 11:36:09 +01:00
Juergen Spitzmueller
0926bb6d40 Use literal formatting in nomencl entry with math 2017-12-03 11:20:11 +01:00
Scott Kostyshak
b3f7eb6af3 Set array length from int const 2017-12-02 13:07:14 -05:00
Enrico Forestieri
f84acc0e34 Avoid asserting when reading the session file
Fixes #10824.
2017-12-02 10:46:46 +01:00
Juergen Spitzmueller
b68701c4da Escape (makeindex) special chars in nomencl if !literate
Fixes: #10825
2017-12-01 13:39:38 +01:00
Juergen Spitzmueller
dee4c46b8d Remove obsoleted nomencl workarounds 2017-12-01 12:03:51 +01:00
Kornel Benko
a5e83ded24 Update sk.po 2017-12-01 11:10:38 +01:00
Juergen Spitzmueller
3085d71481 Add nomencl strings from nomencl.sty to the po files. 2017-12-01 10:12:32 +01:00
Juergen Spitzmueller
718a353b49 Implement l7n for nomenclature. 2017-12-01 10:10:06 +01:00
Uwe Stöhr
417b854eea UserGuide.lyx: fix 2 nomenclature entries
- also assure correct language for the nomenclature list
2017-11-30 13:20:55 +01:00
Uwe Stöhr
739b6472df ru.po: re-enable Russian translations thanks to the work of Yuriy
(Yuriy's addition to the CREDITS will follow as soon as our mailing lists are working again.)
2017-11-30 01:11:36 +01:00
Uwe Stöhr
45e44894ce UserGuide.lyx: workaround for a bug in nomencl
see https://tex.stackexchange.com/questions/65913/why-nomenclature-text-is-not-english-when-loading-additional-languages-in-docume for an explanation why the name of the nomenclature can be incorrect.

nomencl is no longer under development since 12 years therefore we should switch to the glossaries package (#10015).
2017-11-30 00:52:17 +01:00