]> git.lyx.org Git - lyx.git/log
lyx.git
6 years agoProbably fix #10850 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 04:25:51 +0000 (23:25 -0500)]
Probably fix #10850 compiler warnings.

6 years agoFix #10906 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 04:20:57 +0000 (23:20 -0500)]
Fix #10906 compiler warnings.

6 years agoFix #10907 compiler warnings.
Richard Heck [Sat, 16 Dec 2017 04:13:39 +0000 (23:13 -0500)]
Fix #10907 compiler warnings.

6 years agogenerate_contributions.py: review links
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

6 years agoUse a backing store on macOS
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.

6 years agodoc, templates and example files: use https for links to lyx.org
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

6 years agodoc files: review of links
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

6 years agochkconfig.ltx: correct sorting
Uwe Stöhr [Thu, 14 Dec 2017 19:18:40 +0000 (20:18 +0100)]
chkconfig.ltx: correct sorting

6 years agoUserGuide.lyx: review links
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

6 years agoexample files: use https links
Uwe Stöhr [Thu, 14 Dec 2017 15:39:14 +0000 (16:39 +0100)]
example files: use https links

6 years agoUse static_assert instead of LATTEST
Jean-Marc Lasgouttes [Thu, 14 Dec 2017 15:22:46 +0000 (16:22 +0100)]
Use static_assert instead of LATTEST

Fixes bug #10928

6 years agoRemove duplicate variable
Jean-Marc Lasgouttes [Thu, 14 Dec 2017 15:03:30 +0000 (16:03 +0100)]
Remove duplicate variable

Fixes bug #10922

6 years agoChange parameter name
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.

6 years agoSimplify code in BiblioInfo.cpp
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

6 years agoRussian splash.lyx: updates from Yuriy
Uwe Stöhr [Thu, 14 Dec 2017 13:50:03 +0000 (14:50 +0100)]
Russian splash.lyx: updates from Yuriy

6 years agoFix MSVC warning
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.

6 years agoKill MSVC warning
Jean-Marc Lasgouttes [Thu, 14 Dec 2017 12:04:52 +0000 (13:04 +0100)]
Kill MSVC warning

Fixes bug #10900.

6 years agoAvoid assignment in if() clause
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.

6 years agode.po: whitespace fix
Juergen Spitzmueller [Thu, 14 Dec 2017 07:09:03 +0000 (08:09 +0100)]
de.po: whitespace fix

6 years agode.po: a fix
Uwe Stöhr [Thu, 14 Dec 2017 02:39:30 +0000 (03:39 +0100)]
de.po: a fix

6 years agode.po: translate new strings
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

6 years agoen.po: fix a fuzzy translation
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

6 years agoFrench UserGuide.lyx: port today's changes to master
Uwe Stöhr [Thu, 14 Dec 2017 02:02:12 +0000 (03:02 +0100)]
French UserGuide.lyx: port today's changes to master

6 years agoRussian Tutorial.lyx: first step to update by Yuriy
Uwe Stöhr [Wed, 13 Dec 2017 20:15:27 +0000 (21:15 +0100)]
Russian Tutorial.lyx: first step to update by Yuriy

6 years agosk.po: Revised shortcuts for all ui-files
Kornel Benko [Wed, 13 Dec 2017 20:06:18 +0000 (21:06 +0100)]
sk.po: Revised shortcuts for all ui-files

6 years agoru.po: more work from Yuriy
Uwe Stöhr [Wed, 13 Dec 2017 16:09:50 +0000 (17:09 +0100)]
ru.po: more work from Yuriy

6 years agogenerate_contributions.py: Fix for python3
Juergen Spitzmueller [Wed, 13 Dec 2017 11:54:40 +0000 (12:54 +0100)]
generate_contributions.py: Fix for python3

6 years agoImprove UndoGroupHelper and use it more
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.

6 years agoHandle properly undo groups in embedded work areas
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.

6 years agoGuiApplication.cpp: remove unused includes
Uwe Stöhr [Wed, 13 Dec 2017 01:59:05 +0000 (02:59 +0100)]
GuiApplication.cpp: remove unused includes

6 years agoru.po: more translations from Yuriy
Uwe Stöhr [Tue, 12 Dec 2017 23:38:27 +0000 (00:38 +0100)]
ru.po: more translations from Yuriy

6 years agoAmend 3dcb317
Kornel Benko [Tue, 12 Dec 2017 19:54:56 +0000 (20:54 +0100)]
Amend 3dcb317

6 years agosk.po, more shortcuts
Kornel Benko [Tue, 12 Dec 2017 19:47:25 +0000 (20:47 +0100)]
sk.po, more shortcuts

6 years agoAdd menus.bind for Slovak UI.
Kornel Benko [Tue, 12 Dec 2017 19:44:05 +0000 (20:44 +0100)]
Add menus.bind for Slovak UI.

6 years agoREADME.localization, INSTALL.Win32: update description
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.)

6 years agode.po: translate one of 3 new strings
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

6 years agoru.po: fix the line ending problems
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

6 years agogenerate_contributions.py: adding Yuriy to the CREDITS
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

6 years agoAdd some more accelerators to sk.po
Kornel Benko [Tue, 12 Dec 2017 13:02:03 +0000 (14:02 +0100)]
Add some more accelerators to sk.po

6 years agoUserGuide.lyx: distribute today's changes
Uwe Stöhr [Tue, 12 Dec 2017 01:25:17 +0000 (02:25 +0100)]
UserGuide.lyx: distribute today's changes

6 years agoAdd D. Gloger to the credits
Juergen Spitzmueller [Mon, 11 Dec 2017 09:18:26 +0000 (10:18 +0100)]
Add D. Gloger to the credits

6 years agoWin installer: improvement from Yuriy
Uwe Stöhr [Sun, 10 Dec 2017 23:30:47 +0000 (00:30 +0100)]
Win installer: improvement from Yuriy

- also suppress an unnecessary message

6 years agoSome corrections wrt dashes and line breaks
Juergen Spitzmueller [Sun, 10 Dec 2017 11:01:17 +0000 (12:01 +0100)]
Some corrections wrt dashes and line breaks

6 years agoWin installer: new Russian translations thanks to Yuriy
Uwe Stöhr [Sat, 9 Dec 2017 18:06:32 +0000 (19:06 +0100)]
Win installer: new Russian translations thanks to Yuriy

6 years agoMissing "icon" in description of "info-insert"-function
Juergen Spitzmueller [Sat, 9 Dec 2017 08:52:44 +0000 (09:52 +0100)]
Missing "icon" in description of "info-insert"-function

6 years agoRemove unused variables
Jean-Marc Lasgouttes [Fri, 8 Dec 2017 11:16:51 +0000 (12:16 +0100)]
Remove unused variables

6 years agounix2dos.py: make it ready for python 3
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

6 years agoru.po: remerge strings as service for Yuriy
Uwe Stöhr [Fri, 8 Dec 2017 00:51:57 +0000 (01:51 +0100)]
ru.po: remerge strings as service for Yuriy

6 years agoEmbeddedObjects.lyx: better description for rotated table cells with line breaks
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

6 years agoInsetBranch.cpp: remove an unused include
Uwe Stöhr [Wed, 6 Dec 2017 18:55:14 +0000 (19:55 +0100)]
InsetBranch.cpp: remove an unused include

6 years agoInsetXXX.cpp: remove unused and duplicated includes
Uwe Stöhr [Wed, 6 Dec 2017 18:35:53 +0000 (19:35 +0100)]
InsetXXX.cpp: remove unused and duplicated includes

6 years agoUserGuide.lyx: describe how to use hyperlinks for nomenclature
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

6 years agoMissing "icon" in description of "info-insert"-function
Kornel Benko [Wed, 6 Dec 2017 14:36:31 +0000 (15:36 +0100)]
Missing "icon" in description of "info-insert"-function

6 years agoWin installer: code review
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

6 years agoRecreate citation label after paste
Juergen Spitzmueller [Wed, 6 Dec 2017 08:11:18 +0000 (09:11 +0100)]
Recreate citation label after paste

Fixes: #10829
6 years agoWin installer: update rsvg-convert
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

6 years agozlib: update to zlib 1.2.11
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.

6 years agoIcon modified because of incompatibility to older rsvg-convert
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.

6 years agoUserGuide.lyx: update description for nomenclature according to recent changes
Uwe Stöhr [Tue, 5 Dec 2017 02:02:24 +0000 (03:02 +0100)]
UserGuide.lyx: update description for nomenclature according to recent changes

6 years agoru.po: more work from Yuriy
Uwe Stöhr [Tue, 5 Dec 2017 00:51:24 +0000 (01:51 +0100)]
ru.po: more work from Yuriy

6 years agoFixup 16af6e7c
Jean-Marc Lasgouttes [Mon, 4 Dec 2017 10:20:13 +0000 (11:20 +0100)]
Fixup 16af6e7c

Avoid an extra pixel above horizontal rule.

6 years agoImplement display of roots more faithfully
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.

6 years agoDo not escape makeindex chars in bibitemWidest.
Juergen Spitzmueller [Sun, 3 Dec 2017 11:04:39 +0000 (12:04 +0100)]
Do not escape makeindex chars in bibitemWidest.

6 years agonomenclWidest(): take (proper) formatting into account.
Juergen Spitzmueller [Sun, 3 Dec 2017 10:57:11 +0000 (11:57 +0100)]
nomenclWidest(): take (proper) formatting into account.

6 years agoFix thinko from b68701c4da93a6f0f
Juergen Spitzmueller [Sun, 3 Dec 2017 10:36:09 +0000 (11:36 +0100)]
Fix thinko from b68701c4da93a6f0f

6 years agoUse literal formatting in nomencl entry with math
Juergen Spitzmueller [Sun, 3 Dec 2017 10:20:11 +0000 (11:20 +0100)]
Use literal formatting in nomencl entry with math

6 years agoSet array length from int const
Scott Kostyshak [Fri, 1 Dec 2017 18:36:21 +0000 (13:36 -0500)]
Set array length from int const

6 years agoAvoid asserting when reading the session file
Enrico Forestieri [Sat, 2 Dec 2017 09:46:46 +0000 (10:46 +0100)]
Avoid asserting when reading the session file

Fixes #10824.

6 years agoEscape (makeindex) special chars in nomencl if !literate
Juergen Spitzmueller [Fri, 1 Dec 2017 12:39:38 +0000 (13:39 +0100)]
Escape (makeindex) special chars in nomencl if !literate

Fixes: #10825
6 years agoRemove obsoleted nomencl workarounds
Juergen Spitzmueller [Fri, 1 Dec 2017 11:00:20 +0000 (12:00 +0100)]
Remove obsoleted nomencl workarounds

6 years agoUpdate sk.po
Kornel Benko [Fri, 1 Dec 2017 10:10:38 +0000 (11:10 +0100)]
Update sk.po

6 years agoAdd nomencl strings from nomencl.sty to the po files.
Juergen Spitzmueller [Fri, 1 Dec 2017 09:12:32 +0000 (10:12 +0100)]
Add nomencl strings from nomencl.sty to the po files.

6 years agoImplement l7n for nomenclature.
Juergen Spitzmueller [Fri, 1 Dec 2017 09:10:06 +0000 (10:10 +0100)]
Implement l7n for nomenclature.

6 years agoUserGuide.lyx: fix 2 nomenclature entries
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

6 years agoru.po: re-enable Russian translations thanks to the work of Yuriy
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.)

6 years agoUserGuide.lyx: workaround for a bug in nomencl
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).

6 years agoUse UndoGroupHelper to track undo group lifetime
Jean-Marc Lasgouttes [Wed, 29 Nov 2017 13:55:56 +0000 (14:55 +0100)]
Use UndoGroupHelper to track undo group lifetime

6 years agoUse range-based for loop.
Jean-Marc Lasgouttes [Wed, 29 Nov 2017 13:52:50 +0000 (14:52 +0100)]
Use range-based for loop.

6 years agoBetter handling of multiple buffers in UndoGroupHelper
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.

6 years agoRemove unused BufferView member
Jean-Marc Lasgouttes [Wed, 29 Nov 2017 11:27:57 +0000 (12:27 +0100)]
Remove unused BufferView member

6 years agoMake sure that rows are repainted when they get (un)selected
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.

6 years agoCmake build: Don't try to convert non-lyx-files.
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.

6 years agoUpdate sk.po
Kornel Benko [Tue, 28 Nov 2017 10:11:30 +0000 (11:11 +0100)]
Update sk.po

6 years ago Update French Math manual for 2.3
jpc [Tue, 28 Nov 2017 08:03:58 +0000 (09:03 +0100)]
    Update French Math manual for 2.3

6 years agoCustomization.lyx: fix bug#10809
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

6 years agoEmbeddedObjects.lyx: update table with available units
Uwe Stöhr [Mon, 27 Nov 2017 22:12:13 +0000 (23:12 +0100)]
EmbeddedObjects.lyx: update table with available units

6 years agoSplit inkscape_cl (command line) from inkscape_gui (GUI program)
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
6 years ago A couple of editions in the French Intro manual
jpc [Mon, 27 Nov 2017 17:12:50 +0000 (18:12 +0100)]
        A couple of editions in the French Intro manual

6 years agoFix bug #10809.
Richard Heck [Mon, 27 Nov 2017 03:07:28 +0000 (22:07 -0500)]
Fix bug #10809.

6 years agoFix #10819: Set title for print nomencl dialog.
Richard Heck [Mon, 27 Nov 2017 02:59:38 +0000 (21:59 -0500)]
Fix #10819: Set title for print nomencl dialog.

6 years agoMath: add a note about \tag with RTL languages
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

6 years agoUserGuide.lyx: describe \baselineskip
Uwe Stöhr [Sun, 26 Nov 2017 23:26:35 +0000 (00:26 +0100)]
UserGuide.lyx: describe \baselineskip

-also add a Spanish translation

6 years agoUserGuide.lyx: document the Literal option
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

6 years agoCmake build: Add option to use native file dialog also for linux
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

6 years agoChangelog-UserGuide-LyX_23x.txt: document recent change for the translators
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

6 years agoUserGuide.lyx: describe the new font settings options
Uwe Stöhr [Sun, 26 Nov 2017 02:36:57 +0000 (03:36 +0100)]
UserGuide.lyx: describe the new font settings options

6 years agode.po: sanitize some issues reported by poedit
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

6 years agoRemove useless code.
Richard Heck [Fri, 24 Nov 2017 23:36:09 +0000 (18:36 -0500)]
Remove useless code.

runparams was a temporary anyway.

6 years agoMinor code re-organization
Richard Heck [Fri, 24 Nov 2017 20:34:25 +0000 (15:34 -0500)]
Minor code re-organization

6 years agoFixup e64ea357
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.