]> git.lyx.org Git - lyx.git/log
lyx.git
7 years agoUserGuide.lyx: correct a menu name
Uwe Stöhr [Fri, 15 Jul 2016 20:58:32 +0000 (22:58 +0200)]
UserGuide.lyx: correct a menu name

- also remove unnecessary latexpars

7 years agoAdd .dirstamp to the list of ignored files.
Richard Heck [Fri, 15 Jul 2016 17:36:15 +0000 (13:36 -0400)]
Add .dirstamp to the list of ignored files.

This seems to be generated by recent versions of automake. It isn't
an issue if you use a separate build directory, but not everyone
does that.

(cherry picked from commit 0858cdddc793a6116c94332acbfd0c5538a1e462)

7 years ago Update fr.po and status.22x
jpc [Fri, 15 Jul 2016 08:58:16 +0000 (09:58 +0100)]
 Update fr.po and status.22x

7 years agode.po: fix typo
Juergen Spitzmueller [Fri, 15 Jul 2016 06:17:42 +0000 (08:17 +0200)]
de.po: fix typo

7 years agoCorrect wrong bug reference.
Stephan Witt [Fri, 15 Jul 2016 05:29:03 +0000 (07:29 +0200)]
Correct wrong bug reference.

7 years agoRemove special code for Qt5 to manage HiDPI. It's not needed anymore and leads to...
Stephan Witt [Sat, 7 May 2016 07:56:03 +0000 (09:56 +0200)]
Remove special code for Qt5 to manage HiDPI. It's not needed anymore and leads to strange icon scaling problems in mixed resolution environment.
For reference see the screen shots in bug tracker ticket #10114.

(cherry picked from commit d5fb80ed874057da0d0b31b836052b9fa35ba269)

7 years agoUserGuide.lyx: describe a new feature of LyX 2.2.1
Uwe Stöhr [Fri, 15 Jul 2016 00:32:02 +0000 (02:32 +0200)]
UserGuide.lyx: describe a new feature of LyX 2.2.1

7 years agode.po: 2 more translations
Uwe Stöhr [Fri, 15 Jul 2016 00:31:32 +0000 (02:31 +0200)]
de.po: 2 more translations

7 years agodoc files: fix typos
Uwe Stöhr [Thu, 14 Jul 2016 23:40:03 +0000 (01:40 +0200)]
doc files: fix typos

7 years agoTutorial example file: reflect what we actually describe in the Tutorial
Uwe Stöhr [Thu, 14 Jul 2016 23:27:28 +0000 (01:27 +0200)]
Tutorial example file: reflect what we actually describe in the Tutorial

7 years agoTutorial.lyx: add a hint as requested by a user
Uwe Stöhr [Thu, 14 Jul 2016 23:26:48 +0000 (01:26 +0200)]
Tutorial.lyx: add a hint as requested by a user

7 years agode.po: some translations
Uwe Stöhr [Thu, 14 Jul 2016 22:12:25 +0000 (00:12 +0200)]
de.po: some translations

7 years agoRemerge strings.
Richard Heck [Wed, 13 Jul 2016 17:50:00 +0000 (13:50 -0400)]
Remerge strings.

7 years agoDocument save_transient_properties
Guillaume Munch [Wed, 13 Jul 2016 17:15:51 +0000 (18:15 +0100)]
Document save_transient_properties

7 years agoRevert the change of "Output" into "Format"
Guillaume Munch [Wed, 13 Jul 2016 16:44:25 +0000 (17:44 +0100)]
Revert the change of "Output" into "Format"

(Partial revert of commit 141d9d34dfb5ee5b642438f76945ee51ab931800.)

7 years agoUpdate sk.po
Kornel Benko [Wed, 13 Jul 2016 16:32:17 +0000 (18:32 +0200)]
Update sk.po

7 years agoRevert "linguistics.module: add new dependencies"
Juergen Spitzmueller [Wed, 13 Jul 2016 06:01:27 +0000 (08:01 +0200)]
Revert "linguistics.module: add new dependencies"

This reverts commit 33e550a986003a243c23b0cd16e0de76b6b0d272.

7 years agoRemerge strings.
Richard Heck [Tue, 12 Jul 2016 23:26:59 +0000 (19:26 -0400)]
Remerge strings.

8 years agoUpdate it.po
Enrico Forestieri [Tue, 12 Jul 2016 15:51:11 +0000 (17:51 +0200)]
Update it.po

8 years agostatus.22x
Guillaume Munch [Tue, 12 Jul 2016 14:02:17 +0000 (15:02 +0100)]
status.22x

8 years agoAdd line breaks
Guillaume Munch [Tue, 12 Jul 2016 13:55:20 +0000 (14:55 +0100)]
Add line breaks

2.2 still requires those

8 years agoUI for save_transient_properties
Guillaume Munch [Fri, 8 Jul 2016 15:36:05 +0000 (16:36 +0100)]
UI for save_transient_properties

Add a new checkbox "Save transient properties" to the "Output" panel in the
document properties dialog (now renamed as "Format").

This provides the front-end for the change at 5c2d04999.

(cherry picked from commit 5d292fce2dfdcdb0951f43fd023db4b20e0ed76c)

8 years agostatus.22x: mention Slovakian
Uwe Stöhr [Mon, 11 Jul 2016 22:16:22 +0000 (00:16 +0200)]
status.22x: mention Slovakian

8 years agode.po: some translations
Uwe Stöhr [Mon, 11 Jul 2016 22:14:42 +0000 (00:14 +0200)]
de.po: some translations

(still a few left)

8 years agoUpdate sk.po
Kornel Benko [Mon, 11 Jul 2016 18:47:27 +0000 (20:47 +0200)]
Update sk.po

8 years agoRemerge strings.
Richard Heck [Mon, 11 Jul 2016 18:17:48 +0000 (14:17 -0400)]
Remerge strings.

8 years agoPolyglossia is no longer restricted to XeTeX.
Juergen Spitzmueller [Mon, 11 Jul 2016 14:16:14 +0000 (16:16 +0200)]
Polyglossia is no longer restricted to XeTeX.

Thus enable the use of LuaTeX for all polyglossia-supported languages.

8 years agoClarify some comments wrt XeTeX/LuaTeX (see bug #10013)
Juergen Spitzmueller [Sun, 10 Jul 2016 09:13:13 +0000 (11:13 +0200)]
Clarify some comments wrt XeTeX/LuaTeX (see bug #10013)

8 years agoGenerate a proper error dialog title for XeTeX/LuaTeX
Juergen Spitzmueller [Sun, 10 Jul 2016 09:14:03 +0000 (11:14 +0200)]
Generate a proper error dialog title for XeTeX/LuaTeX

(see bug #10013)

Candidate for stable

8 years agofix #10199 Non-encodable characters with XeTeX and utf8-plain
Günter Milde [Sat, 11 Jun 2016 11:54:33 +0000 (13:54 +0200)]
fix #10199 Non-encodable characters with XeTeX and utf8-plain

XeTeX with TeX fonts is only safe with ASCII input encoding (see #9740)
and we therefore force "ascii" when exporting with XeTeX and 8-bit TeX-fonts.

However, "utf8-plain" is a "power-user" option, which allows to switch off LyX's
encoding of the LaTeX file:
keep this also for "XeTeX with TeX fonts".

The user is responsible to ensure all characters can be processed and are
correctly shown in the output. The provided test sample shows the problems
with this encoding without special measures (like loading fontspec in the
user-preamble or a document class).

(cherry picked from commit b170b6e40fe38e79e97c049e7b727d75bd23ed52

I just converted the test to format 508. Thanks Scott for running the
tests. -Guillaume)

8 years agoSimplify logic a bit. (This was meant to be part of a previous
Richard Heck [Sun, 10 Jul 2016 05:43:19 +0000 (01:43 -0400)]
Simplify logic a bit. (This was meant to be part of a previous
commit.)

(cherry picked from commit 2104d41f71ff39f5c3f9f5a485707633b1bfb25b)

8 years agoFix thinko in Buffer::preview. It is possible for this routine to
Richard Heck [Sun, 10 Jul 2016 05:12:42 +0000 (01:12 -0400)]
Fix thinko in Buffer::preview. It is possible for this routine to
be called when we do not have a cloned Buffer, namely, if we do not
have EXPORT_in_THREAD defined.

(cherry picked from commit d8aab4af9e6e72c835f78ba54a46687b870c25fa)

8 years agoDocument 35a78ae0e9 and 53425c7e99
Juergen Spitzmueller [Sat, 9 Jul 2016 13:13:46 +0000 (15:13 +0200)]
Document 35a78ae0e9 and 53425c7e99

8 years agoAdded missing oxygen icons to distribution
Kornel Benko [Sat, 9 Jul 2016 11:34:49 +0000 (13:34 +0200)]
Added missing oxygen icons to distribution

Like in master at 60a1827b659219a93bd1fe5dfe0490ab71d72b0e

8 years agoAdded missing ipa icons to distribution
Kornel Benko [Sat, 9 Jul 2016 11:25:33 +0000 (13:25 +0200)]
Added missing ipa icons to distribution

Like in master at 43d284e15ad6193da2508a57b5260cb85ff4cdb9

8 years agostatus.22x
Guillaume Munch [Fri, 8 Jul 2016 16:39:18 +0000 (17:39 +0100)]
status.22x

8 years agoAccessibility of document class combo box (#10035)
Guillaume Munch [Fri, 8 Jul 2016 10:29:26 +0000 (12:29 +0200)]
Accessibility of document class combo box (#10035)

* Access it with tab

* Access it with the accelerator from the title of the group

(cherry picked from commit 3e6df9796352dd8574b05934082faff0afe3f44c)

8 years agoDocument fix
Juergen Spitzmueller [Fri, 8 Jul 2016 15:41:27 +0000 (17:41 +0200)]
Document fix

8 years agoFix incompatibility of covington and beamer.
Juergen Spitzmueller [Fri, 8 Jul 2016 08:04:24 +0000 (10:04 +0200)]
Fix incompatibility of covington and beamer.

Candidate for stable.

8 years agoExport svg in xhtml, not svgz (bug 10160)
Georg Baum [Thu, 7 Jul 2016 19:45:12 +0000 (21:45 +0200)]
Export svg in xhtml, not svgz (bug 10160)

LyX did not distinguish compressed and uncompressed svg files previously.
Therefore XHTML export of vector graphics did use svgz images directly, which
is not supported by browsers. If svg and svgz are treated as two formats then
all works fine. This is also consistent with the loadable image formats
reported by qt: It reports both svg and svgz.
The gunzip dependency in converters is not new (it is already used internally),
but the gzip dependency is new, so it might not be available on windows.
This is not important at the moment, since we do not yet need to convert svg
to svgz, I only added the converter for completeness.

8 years agoBring window to front only for single-instance mode
Enrico Forestieri [Tue, 5 Jul 2016 21:19:59 +0000 (23:19 +0200)]
Bring window to front only for single-instance mode

A window manager could be configured such that to maintain a certain
stack order for the windows. It would be annoying that opening a new
file through menu brings up the window, so do this only if we are
loading a file through the lyx-server.

This commit amends f5f8c6fd, so no status line is needed.

8 years agoRecord undo when deleting end of paragraph in change tracking mode
Jean-Marc Lasgouttes [Tue, 5 Jul 2016 14:22:49 +0000 (16:22 +0200)]
Record undo when deleting end of paragraph in change tracking mode

Fixes bug #10253.
(cherry picked from commit 86c33c96a0dd026148f79b7da96fee5a0bb705bc)

8 years agoGerman UserGuide.lyx: port some typographic changes from Günter
Uwe Stöhr [Tue, 5 Jul 2016 01:01:34 +0000 (03:01 +0200)]
German UserGuide.lyx: port some typographic changes from Günter

8 years agoJapanese Customization.lyx: fix a language issue
Uwe Stöhr [Wed, 6 Jul 2016 00:23:02 +0000 (02:23 +0200)]
Japanese Customization.lyx: fix a language issue

8 years agoCustomization.lyx: fix format number as reported by Andrew Parsloe
Uwe Stöhr [Tue, 5 Jul 2016 23:58:57 +0000 (01:58 +0200)]
Customization.lyx: fix format number as reported by Andrew Parsloe

- also fix some typos and typographic mistakes and remove outdated info

8 years agoCustomization.lyx: accept changes by Richard
Uwe Stöhr [Tue, 5 Jul 2016 23:43:32 +0000 (01:43 +0200)]
Customization.lyx: accept changes by Richard

- also fix a typo

8 years agoBring window to front after loading a document
Enrico Forestieri [Mon, 4 Jul 2016 18:44:13 +0000 (20:44 +0200)]
Bring window to front after loading a document

Fixes #7875.

8 years agoFix CAS input on windows (bug 10262)
Georg Baum [Sun, 3 Jul 2016 17:48:15 +0000 (19:48 +0200)]
Fix CAS input on windows (bug 10262)

This is the well known file locking problem: The TempFile class keeps the
created file locked for the own process, and this prevents the CAS to read it.

8 years agoMath.lyx: add info contributed by Pavel
Uwe Stöhr [Sat, 2 Jul 2016 18:10:22 +0000 (20:10 +0200)]
Math.lyx: add info contributed by Pavel

8 years agodoc files: move a forgotten changelog file
Uwe Stöhr [Sat, 2 Jul 2016 18:09:57 +0000 (20:09 +0200)]
doc files: move a forgotten changelog file

8 years agoUserGuide.lyx: some minor adjustments
Uwe Stöhr [Sat, 2 Jul 2016 17:34:14 +0000 (19:34 +0200)]
UserGuide.lyx: some minor adjustments

result of a patch sent by a user

8 years agobuild5-2015.bat: correct a path
Uwe Stöhr [Sat, 2 Jul 2016 16:16:38 +0000 (18:16 +0200)]
build5-2015.bat: correct a path

8 years agoInsetSeparator.cpp:backport a compiler warning fie
Uwe Stöhr [Sat, 2 Jul 2016 16:16:03 +0000 (18:16 +0200)]
InsetSeparator.cpp:backport a compiler warning fie

45e3a8f8/lyxgit)

8 years agoMake LyX compiled by MSVC 2015 run on Vista again
Georg Baum [Sat, 2 Jul 2016 08:16:48 +0000 (10:16 +0200)]
Make LyX compiled by MSVC 2015 run on Vista again

Patch and tests from Dima Ruinskiy, comments by me. For details see discussion
in bug 10186.

8 years agoCMAKE: update path to Qt 5.6.1 and add missing build script
Uwe Stöhr [Thu, 30 Jun 2016 23:39:12 +0000 (01:39 +0200)]
CMAKE: update path to Qt 5.6.1 and add missing build script

8 years agoABOVE and CENTERED labels need special treatment.
Richard Heck [Thu, 30 Jun 2016 03:55:11 +0000 (23:55 -0400)]
ABOVE and CENTERED labels need special treatment.

Fixes bug #8843.

(cherry picked from commit 08bf9781ee86ea7fe2c9f3a0d670cad92807a017)

8 years agoMake sure we center displayed equations.
Richard Heck [Thu, 30 Jun 2016 03:18:57 +0000 (23:18 -0400)]
Make sure we center displayed equations.

(cherry picked from commit a8aa7feb8936b751f088a10764b1f3623f143c77)

8 years agoAdd class attribute for \mathbb in XHTML output. Fixes part of 8251.
Richard Heck [Thu, 30 Jun 2016 02:47:21 +0000 (22:47 -0400)]
Add class attribute for \mathbb in XHTML output. Fixes part of 8251.

Patch from Josh.

(cherry picked from commit e3625b5b8052e75e8741152bdfd313b54969c675)

8 years agoUse symbols file to lookup entities for delimiters. Fixes bug #8280.
Richard Heck [Thu, 30 Jun 2016 02:39:42 +0000 (22:39 -0400)]
Use symbols file to lookup entities for delimiters. Fixes bug #8280.

Based upon work by Josh Hieronymus.

(cherry picked from commit 04b8f5cdc4b26105ea855fb9ec5b23227dfd55cb)

8 years agoDon't be so cute with VSpace: We just output it inline now for
Richard Heck [Thu, 30 Jun 2016 01:57:35 +0000 (21:57 -0400)]
Don't be so cute with VSpace: We just output it inline now for
XHTML.

Fixes bug #8154.

(cherry picked from commit 8ea3d1f130513eaf54e6a9ad49619059cd0052b9)

8 years agoOutput column width info for XHTML.
Richard Heck [Thu, 30 Jun 2016 01:47:51 +0000 (21:47 -0400)]
Output column width info for XHTML.

(cherry picked from commit ddc28f0374478355217f975a25e544af7dbc8ea9)

8 years agoFix bug #8782: We need to query the cell, not just the inset.
Richard Heck [Thu, 30 Jun 2016 01:23:39 +0000 (21:23 -0400)]
Fix bug #8782: We need to query the cell, not just the inset.

(cherry picked from commit f49556b3ed1c4adb610b00385e60cf695f4aa914)

8 years agoWin installer: prepare for next release
Uwe Stöhr [Thu, 30 Jun 2016 00:52:26 +0000 (02:52 +0200)]
Win installer: prepare for next release

- MiKTeX fixed some issues that might have caused the problems users had with 64bit MiKTeX
- the latest MSVC 2015 update fixed potential buffer overflows in compiled programs

8 years agoAdd missing buffer update after pasting unformatted text.
Richard Heck [Wed, 29 Jun 2016 17:32:30 +0000 (13:32 -0400)]
Add missing buffer update after pasting unformatted text.

Fixes bug #8735.

(cherry picked from commit 6ecb05e6eacf823b6d0e1ebfc42a3ddf96d50bed)

8 years agoFix right_boundary properly after a row is shortened
Jean-Marc Lasgouttes [Mon, 6 Jun 2016 12:01:02 +0000 (14:01 +0200)]
Fix right_boundary properly after a row is shortened

Instead of resetting it to false, do a proper test to see whether
there is a separator at the end of the row.

Fixes bug #10180.
(cherry picked from commit 5e5440f2f3c11e26084e541d45213fa62e88db99)

8 years agoPass through for filename characters of \ecvpicture command
Kornel Benko [Wed, 29 Jun 2016 08:54:19 +0000 (10:54 +0200)]
Pass through for filename characters of \ecvpicture command

For instance in case the path contains '_', it would otherwise
be converted to '\_', and so \ecvpicture cannot find the referenced
picture.

8 years agoJSS template should load math packages automatically.
Richard Heck [Wed, 29 Jun 2016 03:38:46 +0000 (23:38 -0400)]
JSS template should load math packages automatically.

Fixes bug 9242.

8 years agoRevert "JSS template should load math packages automatically."
Richard Heck [Wed, 29 Jun 2016 03:38:15 +0000 (23:38 -0400)]
Revert "JSS template should load math packages automatically."

This reverts commit 525e01ce297e737797b9bfcfe74bbc81dc3ebe43.

8 years agoJSS template should load math packages automatically.
Richard Heck [Wed, 29 Jun 2016 03:36:40 +0000 (23:36 -0400)]
JSS template should load math packages automatically.

Fixes bug 9242.

8 years agoConvert files to unix line ends in the repo
Georg Baum [Tue, 28 Jun 2016 19:25:18 +0000 (21:25 +0200)]
Convert files to unix line ends in the repo

These files were aded with windows line ends before we did set the text=auto
attribute for all files in .gitattributes, and this caused phantom changes on
linux workspaces after .gitattributes was introduced.
Now these files appear with linux line ends on linux workspaces and with
windows line ends on windows workspaces, like all source files.

8 years agoRemove unneeded MSVC 6 project file
Georg Baum [Tue, 28 Jun 2016 19:23:55 +0000 (21:23 +0200)]
Remove unneeded MSVC 6 project file

We use cmake or autotools to build hunspell, so we don't need this.

8 years agoMake command buffer icons same size as QLineEdit height
Enrico Forestieri [Sun, 26 Jun 2016 14:58:18 +0000 (16:58 +0200)]
Make command buffer icons same size as QLineEdit height

Part of bug #10125

(cherry picked from commit 458d2015dc311844a9533ac838a2f81b0a83069f)

8 years agoMake oultliner icons same size as the toolbar icons
Enrico Forestieri [Sun, 26 Jun 2016 14:53:00 +0000 (16:53 +0200)]
Make oultliner icons same size as the toolbar icons

Part of bug #10125

(cherry picked from commit f56ee1875c9bf2665ab7377fdc3ff3ec80d9268f)

8 years agoLet "provides [fontspec|listings|subfig] 1" work.
Richard Heck [Tue, 21 Jun 2016 14:50:42 +0000 (10:50 -0400)]
Let "provides [fontspec|listings|subfig] 1" work.

(cherry picked from commit f46a52d97ff5528445c8d68d70478379f55774d9)

8 years ago* Math.lyx : One more take on maxima output.
Pavel Sanda [Sat, 25 Jun 2016 18:16:42 +0000 (11:16 -0700)]
* Math.lyx : One more take on maxima output.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg195130.html

Reported the \it behaviour to maxima bugzilla.
https://sourceforge.net/p/maxima/bugs/3181/

8 years agoFix for previous commit: We come right back through here from
Richard Heck [Sat, 25 Jun 2016 04:41:23 +0000 (00:41 -0400)]
Fix for previous commit: We come right back through here from
exportBufferAs, so we need to make sure we haven't been given
an export location.

8 years agoFix bug #8814: Ask where to export file if it is not
Richard Heck [Sat, 25 Jun 2016 02:28:38 +0000 (03:28 +0100)]
Fix bug #8814: Ask where to export file if it is not
yet saved.

8 years agoia.po: updates from Giovanni
Uwe Stöhr [Fri, 24 Jun 2016 00:16:18 +0000 (02:16 +0200)]
ia.po: updates from Giovanni

8 years agoTocWidget: fix part of #9825
Guillaume Munch [Mon, 30 May 2016 21:11:27 +0000 (22:11 +0100)]
TocWidget: fix part of #9825

(cherry picked from commit 78a5c877812a522534a79ab81eb37fe9df9bf5e5)

8 years agoMinor updates to ANNOUNCE and status.
Richard Heck [Wed, 22 Jun 2016 18:15:18 +0000 (14:15 -0400)]
Minor updates to ANNOUNCE and status.

8 years agoFix version number in ANNOUNCE.
Richard Heck [Tue, 21 Jun 2016 21:17:19 +0000 (17:17 -0400)]
Fix version number in ANNOUNCE.

8 years agoDocument change to behavior of charstyles.
Richard Heck [Tue, 21 Jun 2016 19:55:15 +0000 (15:55 -0400)]
Document change to behavior of charstyles.

8 years agoBy default, charstyles should not permit layout changes internally.
Richard Heck [Mon, 20 Jun 2016 15:30:32 +0000 (11:30 -0400)]
By default, charstyles should not permit layout changes internally.

Fixes #10237.

(cherry picked from commit 152817576adaefaa1be8f124b9feecd5c2bfd7c2)

8 years agoFix bug #10213 as discussed there: We now display the same button
Richard Heck [Tue, 14 Jun 2016 17:55:18 +0000 (18:55 +0100)]
Fix bug #10213 as discussed there: We now display the same button
whether the branch is open or closed.

(cherry picked from commit 3573b7270c717b5715f507da47e4ce238dbb987c)

8 years agoFix bug #10195
Guillaume Munch [Mon, 13 Jun 2016 23:17:38 +0000 (00:17 +0100)]
Fix bug #10195

The computation of the index of the main text entry of a row did not take into
account the fact that the entry could be optimised away.

(cherry picked from commit 947c34364c7f6a5c12ddfa7286ff504c62a1038a)

8 years agoSkip paragraph parameters for dash conversion
Georg Baum [Mon, 20 Jun 2016 18:19:24 +0000 (20:19 +0200)]
Skip paragraph parameters for dash conversion

Some of them are directly passed to LaTeX, but for all of them a token
\twohyphens or \threehyphens is not valid. This fixes bug #10243.

8 years agoAdd new module:
Richard Heck [Mon, 20 Jun 2016 15:06:31 +0000 (11:06 -0400)]
Add new module:

Provides two new styles:

1. An "In Premable" style that puts whatever is entered into it into the preamble.
   This can be used, if one wishes, to include preamble code in the body of the
   LyX document.
2. An "In Title" style that will put its contents into the body of the LaTeX
   document, but before \maketitle is issued. This is useful for making branches
   and notes in title-related material. (If you put these in a Standard layout,
   this signals to LyX to output \maketitle, which may then come too early.)

The ForceLocal machinery allows the module to be added to stable.

(cherry picked from commit a9af5333b26d719d0b85dae2c374e32e1190e15d)

8 years agoFix bug #10153: There's a mechanism in XHTML output that defers the
Richard Heck [Mon, 20 Jun 2016 14:21:22 +0000 (10:21 -0400)]
Fix bug #10153: There's a mechanism in XHTML output that defers the
output of tags until we know they're needed. In the case of HTML
tables, empty cells should of course be output, so we need to force
the tags to be output.

(cherry picked from commit 35d449c5dae11bbff53e2a35697a4fc3f03318ba)

8 years agoFix typo, and also check, if string is null.
Richard Heck [Sat, 18 Jun 2016 22:34:30 +0000 (18:34 -0400)]
Fix typo, and also check, if string is null.

8 years agoBe a bit more careful about setting and restoring the last reference
Richard Heck [Sat, 18 Jun 2016 22:27:51 +0000 (18:27 -0400)]
Be a bit more careful about setting and restoring the last reference
when we go to and return from labels.

(cherry picked from commit 68b60ec529db2e7bfe642bd09902824ea69e2fb5)

8 years agoStatus for previous commit.
Richard Heck [Sat, 18 Jun 2016 17:02:29 +0000 (13:02 -0400)]
Status for previous commit.

8 years agoFix bug #10218, in a way less invasive than it has been fixed in
Richard Heck [Sat, 18 Jun 2016 16:59:02 +0000 (12:59 -0400)]
Fix bug #10218, in a way less invasive than it has been fixed in
master. Patch due to Enrico.

8 years agoTocWidget: fix an erroneous collapse and optimise updates based on profiling
Guillaume Munch [Sun, 8 May 2016 22:56:55 +0000 (23:56 +0100)]
TocWidget: fix an erroneous collapse and optimise updates based on profiling

TocModels::reset() in GuiView::structureChanged() collapses the TocWidget, and
therefore requires an update right after, which was missing.

In fact, profiling TocWidget::updateView() shows that delaying the update is
good only for fast keypresses (essentially movement). It costs 5% of a
char-forward operation in a document with approx. 100 table of contents
items. The update optimisation has been rewritten to take this data into
account.

This also fixes #9826: Outline disclosure of subsection content disappears one
second after doubleclicking content item.

8 years agoRestore last selected label when using the "go to label" feature
Richard Heck [Mon, 6 Jun 2016 23:36:27 +0000 (19:36 -0400)]
Restore last selected label when using the "go to label" feature
of the reference dialog.

(cherry picked from commit 9d5ffa8e752213379d0ff611bd16deec1ab21c0a)

8 years agoFix version number.
Richard Heck [Fri, 3 Jun 2016 21:45:42 +0000 (17:45 -0400)]
Fix version number.

8 years agoTake inset dimension into account in row signature
Jean-Marc Lasgouttes [Fri, 3 Jun 2016 09:21:09 +0000 (11:21 +0200)]
Take inset dimension into account in row signature

In some cases, the insets may change height or width without changing
the other apsects of the row.

Fixes bug #6991 and #10182.

(cherry picked from commit 508518ad95a7fd7581bd4affd389dbe7bd6d09f1)

8 years agoFix drawing of buttonText (enforce same left/right spacing)
Jean-Marc Lasgouttes [Mon, 23 May 2016 13:24:13 +0000 (15:24 +0200)]
Fix drawing of buttonText (enforce same left/right spacing)

The computation of the width of the button was wrong. If <--> stands
for TEXT_TO_INSET_OFFSET/2 spacing, and if `[]' marks the button's
limits, then the intent is
  <-->[<-->button text<-->]<-->

Therefore the physical grey rectangle width is
   width - Inset::TEXT_TO_INSET_OFFSET

With this change, the spacing on the right of the button is not larger
than the left one.

Fixes bug #10147.
(cherry picked from commit 516d5d29dce28deab4601ec6aa714ca7ff59e6cd)

8 years agoRemove extra spacing around InsetCommand buttons
Jean-Marc Lasgouttes [Mon, 23 May 2016 14:16:05 +0000 (16:16 +0200)]
Remove extra spacing around InsetCommand buttons

There is already a spacing of 2 pixels on each side of a button (e.g.
collapsed inset). There is no need to add one extra pixel for command
insets.

Fixes part of bug #10149.
(cherry picked from commit 68149e380daad42bac69de5984ef1e21508d9cb3)

8 years agoAdd forgotten fix to status
Juergen Spitzmueller [Tue, 31 May 2016 06:51:46 +0000 (08:51 +0200)]
Add forgotten fix to status

8 years agoImplement some forgotten context menu items for arguments
Juergen Spitzmueller [Sun, 29 May 2016 10:32:53 +0000 (12:32 +0200)]
Implement some forgotten context menu items for arguments

* Dissolve context menu
* Label toggle (for conglomerate-styled arguments)

Fixes: #10150