]>
git.lyx.org Git - lyx.git/log
Richard Heck [Sat, 16 Dec 2017 04:13:39 +0000 (23:13 -0500)]
Fix #10907 compiler warnings.
Uwe Stöhr [Sat, 16 Dec 2017 03:06:09 +0000 (04:06 +0100)]
generate_contributions.py: review links
- use https if possible
- update links
- remove one nonexistent link
- use link to KDE's oxygen icons because these are licensed under the LGPL
Jean-Marc Lasgouttes [Sat, 25 Nov 2017 11:31:11 +0000 (12:31 +0100)]
Use a backing store on macOS
Qt on macOS does not respect the Qt::WA_OpaquePaintEvent attribute and
clears the widget backing store at each update. Therefore, we use our
own backing store in this case.
This restores a simplified version of the code that was removed at
24c29908 .
Uwe Stöhr [Fri, 15 Dec 2017 01:53:06 +0000 (02:53 +0100)]
doc, templates and example files: use https for links to lyx.org
Uwe Stöhr [Fri, 15 Dec 2017 01:31:36 +0000 (02:31 +0100)]
doc files: review of links
- correct dead links
- use https if possible
Uwe Stöhr [Thu, 14 Dec 2017 19:18:40 +0000 (20:18 +0100)]
chkconfig.ltx: correct sorting
Uwe Stöhr [Thu, 14 Dec 2017 17:50:56 +0000 (18:50 +0100)]
UserGuide.lyx: review links
- update broken links
- use https if possible
- removed outdated section
- save LyXDocs.bib with JabRef 4
Uwe Stöhr [Thu, 14 Dec 2017 15:39:14 +0000 (16:39 +0100)]
example files: use https links
Jean-Marc Lasgouttes [Thu, 14 Dec 2017 15:22:46 +0000 (16:22 +0100)]
Use static_assert instead of LATTEST
Fixes bug #10928
Jean-Marc Lasgouttes [Thu, 14 Dec 2017 15:03:30 +0000 (16:03 +0100)]
Remove duplicate variable
Fixes bug #10922
Jean-Marc Lasgouttes [Thu, 14 Dec 2017 15:00:00 +0000 (16:00 +0100)]
Change parameter name
It was a same as a Row member
Fixes bug #10921.
Jean-Marc Lasgouttes [Thu, 14 Dec 2017 14:41:54 +0000 (15:41 +0100)]
Simplify code in BiblioInfo.cpp
... and avoid MSVC warning
Fixes bug #10905
Uwe Stöhr [Thu, 14 Dec 2017 13:50:03 +0000 (14:50 +0100)]
Russian splash.lyx: updates from Yuriy
Jean-Marc Lasgouttes [Thu, 14 Dec 2017 12:39:37 +0000 (13:39 +0100)]
Fix MSVC warning
Take this occasion to simplify the code.
Fixes bug #10402.
Jean-Marc Lasgouttes [Thu, 14 Dec 2017 12:04:52 +0000 (13:04 +0100)]
Kill MSVC warning
Fixes bug #10900.
Jean-Marc Lasgouttes [Thu, 14 Dec 2017 10:22:05 +0000 (11:22 +0100)]
Avoid assignment in if() clause
The optimization they provide is not worth it IMO.
Fixes bugs #10898, #10899, #10940.
Juergen Spitzmueller [Thu, 14 Dec 2017 07:09:03 +0000 (08:09 +0100)]
de.po: whitespace fix
Uwe Stöhr [Thu, 14 Dec 2017 02:39:30 +0000 (03:39 +0100)]
de.po: a fix
Uwe Stöhr [Thu, 14 Dec 2017 02:35:11 +0000 (03:35 +0100)]
de.po: translate new strings
- also few fixes spotted by Poedit
Uwe Stöhr [Thu, 14 Dec 2017 02:06:58 +0000 (03:06 +0100)]
en.po: fix a fuzzy translation
(detected by Poedit)
- also remove 2 unnecessary translations
Uwe Stöhr [Thu, 14 Dec 2017 02:02:12 +0000 (03:02 +0100)]
French UserGuide.lyx: port today's changes to master
Uwe Stöhr [Wed, 13 Dec 2017 20:15:27 +0000 (21:15 +0100)]
Russian Tutorial.lyx: first step to update by Yuriy
Kornel Benko [Wed, 13 Dec 2017 20:06:18 +0000 (21:06 +0100)]
sk.po: Revised shortcuts for all ui-files
Uwe Stöhr [Wed, 13 Dec 2017 16:09:50 +0000 (17:09 +0100)]
ru.po: more work from Yuriy
Juergen Spitzmueller [Wed, 13 Dec 2017 11:54:40 +0000 (12:54 +0100)]
generate_contributions.py: Fix for python3
Jean-Marc Lasgouttes [Wed, 13 Dec 2017 10:10:49 +0000 (11:10 +0100)]
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.
Jean-Marc Lasgouttes [Wed, 13 Dec 2017 09:38:47 +0000 (10:38 +0100)]
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.
Uwe Stöhr [Wed, 13 Dec 2017 01:59:05 +0000 (02:59 +0100)]
GuiApplication.cpp: remove unused includes
Uwe Stöhr [Tue, 12 Dec 2017 23:38:27 +0000 (00:38 +0100)]
ru.po: more translations from Yuriy
Kornel Benko [Tue, 12 Dec 2017 19:54:56 +0000 (20:54 +0100)]
Kornel Benko [Tue, 12 Dec 2017 19:47:25 +0000 (20:47 +0100)]
sk.po, more shortcuts
Kornel Benko [Tue, 12 Dec 2017 19:44:05 +0000 (20:44 +0100)]
Add menus.bind for Slovak UI.
Uwe Stöhr [Tue, 12 Dec 2017 16:17:06 +0000 (17:17 +0100)]
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.)
Uwe Stöhr [Tue, 12 Dec 2017 15:51:32 +0000 (16:51 +0100)]
de.po: translate one of 3 new strings
- also update German UserGuide.lyx for consistency
Uwe Stöhr [Tue, 12 Dec 2017 15:48:19 +0000 (16:48 +0100)]
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
Uwe Stöhr [Tue, 12 Dec 2017 14:30:28 +0000 (15:30 +0100)]
generate_contributions.py: adding Yuriy to the CREDITS
- btw. generate_contributions.py is not yet ready for Python 3, see bug #10845
Kornel Benko [Tue, 12 Dec 2017 13:02:03 +0000 (14:02 +0100)]
Add some more accelerators to sk.po
Uwe Stöhr [Tue, 12 Dec 2017 01:25:17 +0000 (02:25 +0100)]
UserGuide.lyx: distribute today's changes
Juergen Spitzmueller [Mon, 11 Dec 2017 09:18:26 +0000 (10:18 +0100)]
Add D. Gloger to the credits
Uwe Stöhr [Sun, 10 Dec 2017 23:30:47 +0000 (00:30 +0100)]
Win installer: improvement from Yuriy
- also suppress an unnecessary message
Juergen Spitzmueller [Sun, 10 Dec 2017 11:01:17 +0000 (12:01 +0100)]
Some corrections wrt dashes and line breaks
Uwe Stöhr [Sat, 9 Dec 2017 18:06:32 +0000 (19:06 +0100)]
Win installer: new Russian translations thanks to Yuriy
Juergen Spitzmueller [Sat, 9 Dec 2017 08:52:44 +0000 (09:52 +0100)]
Missing "icon" in description of "info-insert"-function
Jean-Marc Lasgouttes [Fri, 8 Dec 2017 11:16:51 +0000 (12:16 +0100)]
Remove unused variables
Uwe Stöhr [Fri, 8 Dec 2017 01:08:16 +0000 (02:08 +0100)]
unix2dos.py: make it ready for python 3
fixes bug #10838
Uwe Stöhr [Fri, 8 Dec 2017 00:51:57 +0000 (01:51 +0100)]
ru.po: remerge strings as service for Yuriy
Uwe Stöhr [Wed, 6 Dec 2017 23:27:45 +0000 (00:27 +0100)]
EmbeddedObjects.lyx: better description for rotated table cells with line breaks
Uwe Stöhr [Wed, 6 Dec 2017 18:55:14 +0000 (19:55 +0100)]
InsetBranch.cpp: remove an unused include
Uwe Stöhr [Wed, 6 Dec 2017 18:35:53 +0000 (19:35 +0100)]
InsetXXX.cpp: remove unused and duplicated includes
Uwe Stöhr [Wed, 6 Dec 2017 18:16:17 +0000 (19:16 +0100)]
UserGuide.lyx: describe how to use hyperlinks for nomenclature
- also note that toolbar icon size can be changed
Kornel Benko [Wed, 6 Dec 2017 14:36:31 +0000 (15:36 +0100)]
Missing "icon" in description of "info-insert"-function
Uwe Stöhr [Wed, 6 Dec 2017 14:28:22 +0000 (15:28 +0100)]
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
Juergen Spitzmueller [Wed, 6 Dec 2017 08:11:18 +0000 (09:11 +0100)]
Recreate citation label after paste
Fixes: #10829
Uwe Stöhr [Wed, 6 Dec 2017 02:06:09 +0000 (03:06 +0100)]
Win installer: update rsvg-convert
- also fix some typos in the license file
Uwe Stöhr [Wed, 6 Dec 2017 01:45:49 +0000 (02:45 +0100)]
zlib: update to zlib 1.2.11
This should also be done in LyX 2.3.x now or for LyX 2.3.1.
Kornel Benko [Tue, 5 Dec 2017 14:25:58 +0000 (15:25 +0100)]
Icon modified because of incompatibility to older rsvg-convert
rsvg-convert version 2.40.2 was unable to convert the previous svg-data.
Uwe Stöhr [Tue, 5 Dec 2017 02:02:24 +0000 (03:02 +0100)]
UserGuide.lyx: update description for nomenclature according to recent changes
Uwe Stöhr [Tue, 5 Dec 2017 00:51:24 +0000 (01:51 +0100)]
ru.po: more work from Yuriy
Jean-Marc Lasgouttes [Mon, 4 Dec 2017 10:20:13 +0000 (11:20 +0100)]
Fixup
16af6e7c
Avoid an extra pixel above horizontal rule.
Jean-Marc Lasgouttes [Mon, 4 Dec 2017 09:44:49 +0000 (10:44 +0100)]
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.
Juergen Spitzmueller [Sun, 3 Dec 2017 11:04:39 +0000 (12:04 +0100)]
Do not escape makeindex chars in bibitemWidest.
Juergen Spitzmueller [Sun, 3 Dec 2017 10:57:11 +0000 (11:57 +0100)]
nomenclWidest(): take (proper) formatting into account.
Juergen Spitzmueller [Sun, 3 Dec 2017 10:36:09 +0000 (11:36 +0100)]
Juergen Spitzmueller [Sun, 3 Dec 2017 10:20:11 +0000 (11:20 +0100)]
Use literal formatting in nomencl entry with math
Scott Kostyshak [Fri, 1 Dec 2017 18:36:21 +0000 (13:36 -0500)]
Set array length from int const
Enrico Forestieri [Sat, 2 Dec 2017 09:46:46 +0000 (10:46 +0100)]
Avoid asserting when reading the session file
Fixes #10824.
Juergen Spitzmueller [Fri, 1 Dec 2017 12:39:38 +0000 (13:39 +0100)]
Escape (makeindex) special chars in nomencl if !literate
Fixes: #10825
Juergen Spitzmueller [Fri, 1 Dec 2017 11:00:20 +0000 (12:00 +0100)]
Remove obsoleted nomencl workarounds
Kornel Benko [Fri, 1 Dec 2017 10:10:38 +0000 (11:10 +0100)]
Update sk.po
Juergen Spitzmueller [Fri, 1 Dec 2017 09:12:32 +0000 (10:12 +0100)]
Add nomencl strings from nomencl.sty to the po files.
Juergen Spitzmueller [Fri, 1 Dec 2017 09:10:06 +0000 (10:10 +0100)]
Implement l7n for nomenclature.
Uwe Stöhr [Thu, 30 Nov 2017 12:20:55 +0000 (13:20 +0100)]
UserGuide.lyx: fix 2 nomenclature entries
- also assure correct language for the nomenclature list
Uwe Stöhr [Thu, 30 Nov 2017 00:11:36 +0000 (01:11 +0100)]
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.)
Uwe Stöhr [Wed, 29 Nov 2017 23:52:17 +0000 (00:52 +0100)]
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).
Jean-Marc Lasgouttes [Wed, 29 Nov 2017 13:55:56 +0000 (14:55 +0100)]
Use UndoGroupHelper to track undo group lifetime
Jean-Marc Lasgouttes [Wed, 29 Nov 2017 13:52:50 +0000 (14:52 +0100)]
Use range-based for loop.
Jean-Marc Lasgouttes [Wed, 29 Nov 2017 13:10:33 +0000 (14:10 +0100)]
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.
Jean-Marc Lasgouttes [Wed, 29 Nov 2017 11:27:57 +0000 (12:27 +0100)]
Remove unused BufferView member
Jean-Marc Lasgouttes [Wed, 29 Nov 2017 10:16:09 +0000 (11:16 +0100)]
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.
Kornel Benko [Tue, 28 Nov 2017 18:07:24 +0000 (19:07 +0100)]
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.
Kornel Benko [Tue, 28 Nov 2017 10:11:30 +0000 (11:11 +0100)]
Update sk.po
jpc [Tue, 28 Nov 2017 08:03:58 +0000 (09:03 +0100)]
Update French Math manual for 2.3
Uwe Stöhr [Mon, 27 Nov 2017 23:54:49 +0000 (00:54 +0100)]
Customization.lyx: fix bug#10809
also some layout fixes to avoid writing in the page margin
Uwe Stöhr [Mon, 27 Nov 2017 22:12:13 +0000 (23:12 +0100)]
EmbeddedObjects.lyx: update table with available units
Juergen Spitzmueller [Mon, 27 Nov 2017 17:59:51 +0000 (18:59 +0100)]
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
jpc [Mon, 27 Nov 2017 17:12:50 +0000 (18:12 +0100)]
A couple of editions in the French Intro manual
Richard Heck [Mon, 27 Nov 2017 03:07:28 +0000 (22:07 -0500)]
Fix bug #10809.
Richard Heck [Mon, 27 Nov 2017 02:59:38 +0000 (21:59 -0500)]
Fix #10819: Set title for print nomencl dialog.
Uwe Stöhr [Mon, 27 Nov 2017 01:43:14 +0000 (02:43 +0100)]
Math: add a note about \tag with RTL languages
- also update a weblink
Uwe Stöhr [Sun, 26 Nov 2017 23:26:35 +0000 (00:26 +0100)]
UserGuide.lyx: describe \baselineskip
-also add a Spanish translation
Uwe Stöhr [Sun, 26 Nov 2017 18:22:20 +0000 (19:22 +0100)]
UserGuide.lyx: document the Literal option
- also remove some now unnecessary bibliography entries
Kornel Benko [Sun, 26 Nov 2017 17:50:53 +0000 (18:50 +0100)]
Cmake build: Add option to use native file dialog also for linux
Uwe Stöhr [Sun, 26 Nov 2017 02:40:34 +0000 (03:40 +0100)]
Changelog-UserGuide-LyX_23x.txt: document recent change for the translators
Uwe Stöhr [Sun, 26 Nov 2017 02:36:57 +0000 (03:36 +0100)]
UserGuide.lyx: describe the new font settings options
Uwe Stöhr [Sun, 26 Nov 2017 02:34:00 +0000 (03:34 +0100)]
de.po: sanitize some issues reported by poedit
- es.po: add 3 translations
Richard Heck [Fri, 24 Nov 2017 23:36:09 +0000 (18:36 -0500)]
Remove useless code.
runparams was a temporary anyway.
Richard Heck [Fri, 24 Nov 2017 20:34:25 +0000 (15:34 -0500)]
Minor code re-organization
Jean-Marc Lasgouttes [Fri, 24 Nov 2017 22:36:28 +0000 (23:36 +0100)]
Fixup
e64ea357
Cursor at end of paragraph should be treated as if boundary was on.
Juergen Spitzmueller [Fri, 24 Nov 2017 10:56:41 +0000 (11:56 +0100)]
Assure print function compatibility in python 2.x
Uwe Stöhr [Thu, 23 Nov 2017 23:16:23 +0000 (00:16 +0100)]
Win installer: update to Qt 5.9.3