]>
git.lyx.org Git - lyx.git/log
Richard Heck [Sat, 16 Dec 2017 14:30:12 +0000 (09:30 -0500)]
Properly fix #10863 compiler warnings.
Also change a few variable names, so as not to use "it" with
range-based for loops.
Richard Heck [Sat, 16 Dec 2017 14:22:41 +0000 (09:22 -0500)]
Revert "Fix #10863 compiler warnings."
This reverts commit
b684ec39eaaf7d5b0270bf8109b8e281fa8c5d9f .
Uwe Stöhr [Sat, 16 Dec 2017 13:24:17 +0000 (14:24 +0100)]
splash.lyx: link https://www.lyx.org/Walkthrough
It is a good idea from Yuriy to link it, especially for the languages where we don't have other docs than the splash file.
Uwe Stöhr [Sat, 16 Dec 2017 12:09:39 +0000 (13:09 +0100)]
gzstream.cpp: whitespace fix
Richard Heck [Sat, 16 Dec 2017 05:59:07 +0000 (00:59 -0500)]
Fix #10894 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 05:55:45 +0000 (00:55 -0500)]
Fix #10891 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 05:50:35 +0000 (00:50 -0500)]
Fix #10887 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 05:48:34 +0000 (00:48 -0500)]
Fix #10884 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 05:46:16 +0000 (00:46 -0500)]
Fix #10874 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 05:03:36 +0000 (00:03 -0500)]
Fix #10872 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 04:59:19 +0000 (23:59 -0500)]
Fix #10868 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 04:54:50 +0000 (23:54 -0500)]
Fix #10865 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 04:53:45 +0000 (23:53 -0500)]
Fix #10864 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 04:50:23 +0000 (23:50 -0500)]
Fix #10863 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 04:47:20 +0000 (23:47 -0500)]
Fix #10862 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 04:43:47 +0000 (23:43 -0500)]
Fix #10859 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 04:41:32 +0000 (23:41 -0500)]
Fix #10858 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 04:28:33 +0000 (23:28 -0500)]
Fix #10852 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 04:25:51 +0000 (23:25 -0500)]
Probably fix #10850 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 04:20:57 +0000 (23:20 -0500)]
Fix #10906 compiler warnings.
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.