]> git.lyx.org Git - lyx.git/log
lyx.git
5 years agoFix Visual C++ warning
Jean-Marc Lasgouttes [Mon, 11 Feb 2019 09:43:59 +0000 (10:43 +0100)]
Fix Visual C++ warning

(cherry picked from commit 2215f4c2b43f9c282f35984182dcd958c8a27ced)

5 years agoFix algorithm for finding localized files
Jean-Marc Lasgouttes [Wed, 6 Feb 2019 14:49:53 +0000 (15:49 +0100)]
Fix algorithm for finding localized files

Now we search in priority with the GUI language, and then the
language(s) specified in the LANGUAGES environment variable.
Preoviously, the GUI language would only be considered when
LANGUAGES was not set (which was a bug).

Take this opportunity to remove old compatibility code from 2007.

(cherry picked from commit e203bf519b4dd69f17a2f8cabb6607d2f73dce71)

5 years agoFix bug #11484
Enrico Forestieri [Mon, 4 Feb 2019 09:49:02 +0000 (10:49 +0100)]
Fix bug #11484

When splitting parameters at commas, take into account that
commas inside curly braces are not parameter separators.

(cherry picked from commit 6316b9b7aed7d67c585f8c17cce5669f8cbb5d65)

5 years ago? and = must not be percent-encoded in hrefs
Juergen Spitzmueller [Tue, 29 Jan 2019 13:49:04 +0000 (14:49 +0100)]
? and = must not be percent-encoded in hrefs

Fixes: #11482
(cherry picked from commit c2db448ff558f53ebfd93920d7d40f37d9a4211c)

5 years agoUpdate it.po
Enrico Forestieri [Sun, 27 Jan 2019 10:58:18 +0000 (11:58 +0100)]
Update it.po

5 years agode.po
Juergen Spitzmueller [Fri, 25 Jan 2019 14:02:00 +0000 (15:02 +0100)]
de.po

5 years ago* cs.po
Pavel Sanda [Wed, 23 Jan 2019 22:11:36 +0000 (23:11 +0100)]
* cs.po

5 years agoFix for #11294: Wrong description for Change bars module
Daniel Ramoeller [Mon, 31 Dec 2018 11:14:46 +0000 (12:14 +0100)]
Fix for #11294: Wrong description for Change bars module

(cherry picked from commit f71723c8f333819bcaa5180fe98d9cd4c1491ba8)

5 years agoRename emergency file when it is kept.
Richard Kimberly Heck [Wed, 16 Jan 2019 16:13:53 +0000 (11:13 -0500)]
Rename emergency file when it is kept.

Otherwise, we will ask about it again next time, when the file
may have changed. Also, if we crash again, we'll over-write that
file, which we may not want to do.

See bug #11464.

(cherry picked from commit b804e8851c33b68caa5057e809a12333741dfe2e)

5 years agoAllow to type a space in front of another one
Jean-Marc Lasgouttes [Mon, 14 Jan 2019 15:37:10 +0000 (16:37 +0100)]
Allow to type a space in front of another one

This is a follow-up to 714b731e. This fixes the issue when the cursor
is in front of a space
  abc| def
and one inserts another space (to start a word). DEPM would eat one
space and produce
  abc |def
instead of
  abc | def

Additionally, fix the same_par boolean, wheich did not take the cell
index into account.

Related to ticket #11412.

(cherry picked from commit 7848d3c90c0837e8e8549db37bf4bc5cd7e7dad1)

5 years agoRemove PYTHONPATH from the environment on Windows
Enrico Forestieri [Sat, 12 Jan 2019 17:37:41 +0000 (18:37 +0100)]
Remove PYTHONPATH from the environment on Windows

This make sure to use the the modules distributed with LyX,
avoiding reconfigure failures.

(cherry picked from commit ad0c9a548bf9e0c5038f2731aef766e0d0e8c266)

5 years agoforce some symbols as macros with utf8-cjk
Juergen Spitzmueller [Sat, 12 Jan 2019 16:40:55 +0000 (17:40 +0100)]
force some symbols as macros with utf8-cjk

cherry-picked from
4786c59a8c2665a7
81af82d1e82d42f5
c2d20645be092c77

5 years agoCJKutf8 is only to be used with the dedicated utf8-cjk encoding
Juergen Spitzmueller [Sat, 12 Jan 2019 16:40:19 +0000 (17:40 +0100)]
CJKutf8 is only to be used with the dedicated utf8-cjk encoding

cherry-picked from 9982651fd684577e977d85d0bc54bea65d8c3ff1

5 years agoAdd support for U+2693 (ANCHOR)
Juergen Spitzmueller [Fri, 11 Jan 2019 15:40:41 +0000 (16:40 +0100)]
Add support for U+2693 (ANCHOR)

Fixes: #10706
(cherry picked from commit ead498f0a642b27cb9a63f76d146ba776fc7f7b6)

5 years agoReplace environment variables in PATH prefix
Enrico Forestieri [Fri, 11 Jan 2019 17:15:40 +0000 (18:15 +0100)]
Replace environment variables in PATH prefix

The PATH prefix modified through the GUI was set without
replacing embedded environment variables. This might have
caused problems on Windows with external python installations.

(cherry picked from commit 472bdf59109b4188df3bbad18ac3aa60670962aa)

5 years agoDo not consider deleted labels in ambiguity check
Juergen Spitzmueller [Wed, 9 Jan 2019 08:06:53 +0000 (09:06 +0100)]
Do not consider deleted labels in ambiguity check

This adds a new (boolean) parameter "active" to the label cache, where
we track whether a label is deleted in ct mode (the same could be done,
if wanted, for labels in notes and inactive branches).

Deleted (inactive) labels are neither considered in the uniqueness check
nor added to the outliner. This also means that undeleted references to
deleted labels are now (correctly) marked as BROKEN.

Cherry-picked from:

    [3ae6bff538/lyxgit]
    [a550a613e8/lyxgit]
    [c457ea90e/lyxgit]
    [5cfd25697/lyxgit]
    [5afacb144/lyxgit]
    [54366c38e/lyxgit]

Fixes: #6563
5 years agoWhen using polyglossia (bidi), paragraph directions don't need to be swapped
Juergen Spitzmueller [Mon, 7 Jan 2019 12:54:23 +0000 (13:54 +0100)]
When using polyglossia (bidi), paragraph directions don't need to be swapped

Bidi does that.

Fixes: #11399
(cherry picked from commit 9d20bc4e989c57dc5498f231d890a0550375a753)

5 years agostatus.23x: correct typo from 822e0133
Scott Kostyshak [Mon, 7 Jan 2019 17:15:16 +0000 (12:15 -0500)]
status.23x: correct typo from 822e0133

Thanks to José.

5 years agoko splash.lyx: specify "mj" as CJK font
Scott Kostyshak [Sun, 6 Jan 2019 19:38:54 +0000 (14:38 -0500)]
ko splash.lyx: specify "mj" as CJK font

Now (thanks to d193cd05), the Korean splash.lyx compiles
out-of-the-box with pdflatex.

Thanks to Jürgen.

(cherry picked from commit 0cfaf406c5f55b4b6a56f9f322748988b1778ec4)

5 years agoEnable error-free compilation of ko splash.lyx with xetex and lautex
Kornel Benko [Mon, 7 Jan 2019 07:37:41 +0000 (08:37 +0100)]
Enable error-free compilation of ko splash.lyx with xetex and lautex

This amends somehow 9238004c. Since the system font NanumMyeongjo
and the "mj" spec as CJK latex font are related, this change
seems appropriate.

(cherry picked from commit f092208c89500abf9ac3f56e9fbcb169ae1d4c41)

5 years agoDon't output CJK environment with non-TeX fonts
Juergen Spitzmueller [Sun, 6 Jan 2019 15:40:36 +0000 (16:40 +0100)]
Don't output CJK environment with non-TeX fonts

This amends d193cd05a8e3b.

(cherry picked from commit c9dd349bee71d9a3952f36246f684ead9ca43c2b)

5 years agoProperly implement CJKutf8
Juergen Spitzmueller [Sun, 6 Jan 2019 13:36:11 +0000 (14:36 +0100)]
Properly implement CJKutf8

If we use that, the document actually needs to be in utf8 encoding, and
the CJK environment needs to account for it.

Candidate for stable.

(cherry picked from commit d193cd05a8e3be92e34a873416a16c2a474b61cb)

5 years agoFix display of gather in lefteqn mode
Jean-Marc Lasgouttes [Thu, 4 Oct 2018 14:05:46 +0000 (16:05 +0200)]
Fix display of gather in lefteqn mode

The column is flushed when the display of equations is flushed.

Not sure what to do with RtL languages.

Fixes bug 11324.

(cherry picked from commit 7cb0284a3ffa469c4c99184725f5a3e0b4056508)

5 years agoAdd license info for inkscape start script
Stephan Witt [Sun, 6 Jan 2019 08:28:11 +0000 (09:28 +0100)]
Add license info for inkscape start script

(cherry picked from commit a4d409b194a2ba38eb2e8c1fd7af0dbf62f59cb7)

Add status log for 2.3.x

5 years agoCorrect converter configuration for inkscape on Mac
Stephan Witt [Sat, 5 Jan 2019 23:22:21 +0000 (00:22 +0100)]
Correct converter configuration for inkscape on Mac

On Mac the inkscape binary is started by a wrapper script. This script changes the
working directory internally and fails to process files with relative path names.
The previous attempt to solve it was to pass the file names with absolute names
by prepending them with the $$p variable (representing the directory name of the files).
This broke the on screen conversion (used for SVGZ to PNG e.g. in the users guide)
because here the $$p variable is undefined.

Now the wrapper script of LyX which is used to locate the Inkscape.app bundle converts
the relative path names into absolute names and the $$p variable is removed from the
converter definitions for inkscape again.

(cherry picked from commit caa1dd2aeed97330e05c0e96ae7e5bb929b0866d)

5 years agoRemove now unused routine.
Richard Kimberly Heck [Sun, 6 Jan 2019 22:50:14 +0000 (17:50 -0500)]
Remove now unused routine.

(cherry picked from commit d6b4db1a4f85b15090d15afda0b9ec6c23d28e4c)

5 years agoUse combo box data rather than looking up info from InsetRef.
Richard Kimberly Heck [Sun, 6 Jan 2019 22:45:08 +0000 (17:45 -0500)]
Use combo box data rather than looking up info from InsetRef.

(cherry picked from commit c4fdab69937d627cba1185a978e4b2d041c22eb5)

5 years agoRemove debugging code.
Richard Kimberly Heck [Sun, 6 Jan 2019 18:00:21 +0000 (13:00 -0500)]
Remove debugging code.

(cherry picked from commit b91e2b99986c0f957ba27eeba74b5ae0460d73bc)

5 years agoFix problem caused by re-ordering of menu at 5f6332bf4.
Richard Kimberly Heck [Sun, 6 Jan 2019 17:51:02 +0000 (12:51 -0500)]
Fix problem caused by re-ordering of menu at 5f6332bf4.

This broke the activation and de-activation of plural, capitalize,
etc. I guess that tells us how much those get used....

(cherry picked from commit 9b3f9cc687c5294e13555c6596184dd0e6a5d6cf)

5 years agoBibliography.lyx: minor cosmetic changes
Scott Kostyshak [Fri, 4 Jan 2019 03:27:22 +0000 (22:27 -0500)]
Bibliography.lyx: minor cosmetic changes

- Add note explaining this file should not be compiled on its own.
- Remove custom preamble.
- Remove setting of master document.

(cherry picked from commit 3ac2dd8e6c07ce115d9ddcfa3c289b3f5d0998ed)
(cherry picked from commit 91d8aea8d3e2a96ffbbbfbcbd63dfc07ace51a5c)
(cherry picked from commit 6e815d3ebaf829f18768dc0363c6a450b9483dac)

5 years agoUpdate it.po
Enrico Forestieri [Sat, 5 Jan 2019 20:57:12 +0000 (21:57 +0100)]
Update it.po

5 years agoAllow toggling (no)limits only after mathop symbol
Jean-Marc Lasgouttes [Mon, 3 Sep 2018 15:49:54 +0000 (17:49 +0200)]
Allow toggling (no)limits only after mathop symbol

In particular, introduce the new InsetMathScript::allowLimits method
that checks for that and honor it in getStatus/ddoDispatch.

Do the same for (over|under)brace

(cherry picked from commit 7b7ed64a0e760eccad5fff7fa944b983d0bed025)
(cherry picked from commit 6cfd733dea70bf26c512dea8491f79f68cb512e6)

5 years agoforgot this
Jean-Marc Lasgouttes [Sat, 5 Jan 2019 14:04:51 +0000 (15:04 +0100)]
forgot this

5 years agoFix drawing of labels in insets
Jean-Marc Lasgouttes [Fri, 4 Jan 2019 15:24:18 +0000 (16:24 +0100)]
Fix drawing of labels in insets

In many cases, the origin xo_ of insets was forgotten.

Also fix spacing between text and label in rtl

Fixes bug #11425.

(cherry picked from commit 5c1d65afee3a37d5befcf9eb55d8d50e1d8e4f13)
(cherry picked from commit 5fc035f99c42835da41d6eb6cf5a375382c06870)

5 years agoAvoid crash when using inset-select-all in tabular
Jean-Marc Lasgouttes [Fri, 4 Jan 2019 12:57:13 +0000 (13:57 +0100)]
Avoid crash when using inset-select-all in tabular

When changing cell idx, it is important to set the pit to a reasonable
value.

(cherry picked from commit a69e01d0b47aebbdfc3139533fcb7f1d0c04f156)

5 years agoFix vertical offset of fonts like MinionPro
Jean-Marc Lasgouttes [Thu, 3 Jan 2019 11:14:27 +0000 (12:14 +0100)]
Fix vertical offset of fonts like MinionPro

For some reason, adding a LTR/RTL Override unicode character before a
MinionPro string increases the ascent of the line.

This creates vertical offset issues when painting if the ascent used
as reference is the one of the font. Use the QTextLine ascent instead
for better results.

This is a followup to 1bed76e2a.

Fixes (reopened) ticket #11284.
Fixes ticket #10532.
Fixes ticket #10767.

(cherry picked from commit d8498d4785282a6f42a69f56ebd46ac32e1d2f51)

5 years agoAlways update bibfiles cache with bibliography environment before opening citation...
Juergen Spitzmueller [Fri, 4 Jan 2019 12:01:03 +0000 (13:01 +0100)]
Always update bibfiles cache with bibliography environment before opening citation dialog

We need to do this unconditionally, since there is no (trivial and non-
awkward) way to update it when the bibliography paragraphs are modified.

Fixes: #4899
(cherry picked from commit 35534231d45426a842ccad0219fbffbdbda446a0)

5 years agoCmake lyx2lyx tests: Correct use of value for \use_non_tex_fonts
Kornel Benko [Sat, 5 Jan 2019 07:34:00 +0000 (08:34 +0100)]
Cmake lyx2lyx tests: Correct use of value for \use_non_tex_fonts

Amend eec3d1eb,7568571a
We are trying to check if the resulting file after lyx2lyx
is compilable, we have to ensure that copying the original file
to the test directory does not mangle use_non_tex_fonts-entry.

(cherry picked from commit c9e62dec53aee97fff6dffcb6d8ef84331ba5c30)

5 years agolyx2lyx tests: Use the temp-dir also for converted lyx files
Kornel Benko [Fri, 4 Jan 2019 04:21:07 +0000 (05:21 +0100)]
lyx2lyx tests: Use the temp-dir also for converted lyx files

Important if including data previously copied there.
Fixes test "export/doc/Additional_lyx22"

(cherry picked from commit 7568571a24e951df8f616a4e031be2b30857b2ed)

5 years agoFix bug #11432.
Richard Kimberly Heck [Fri, 4 Jan 2019 00:12:58 +0000 (19:12 -0500)]
Fix bug #11432.

Take account of Layout::free_spacing.

(cherry picked from commit 6135824f40c55e3a6156d477f7475473a8d5ee53)

5 years agoRemove premature (and bad) optimization
Jean-Marc Lasgouttes [Wed, 2 Jan 2019 17:36:02 +0000 (18:36 +0100)]
Remove premature (and bad) optimization

When blinking the caret, it looks like a cool idea to only update the
small rectangle containing the caret. Actually it is an awful idea, since
the paint event will paint some rows, and these rows will not be
properly painted outside of the small rectangle. Unfortunately, the
painter will skip those "painted" rows on next paint events.

This leads to painting errors that depend on the ordering of "real"
and "caret" paint events. This is the reason why they only appeared
with split screens.

Quote of the day: ``The real problem is that programmers have spent far
too much time worrying about efficiency in the wrong places and at the
wrong times; premature optimization is the root of all evil (or at
least most of it) in programming.''
-- Donald Knuth, The Art of Computer Programming.

Fixes bug #11354.

(cherry picked from commit fba9f5b9e884f0a988bd77992772eb4986eecdec)

5 years agoAdd override statements to please clang
Jean-Marc Lasgouttes [Wed, 2 Jan 2019 17:49:23 +0000 (18:49 +0100)]
Add override statements to please clang

Eventually, all overridden virtual methods should be marked properly.
Currently, clang only warns about those in classes that already use
override in at least one place (which was the case dor GuiApplication).

(cherry picked from commit c8f4b68423520378d02fe9f953d94759b862dc55)

5 years agolyx2lyx tests: Copy also original lyx files to temp dir
Kornel Benko [Thu, 3 Jan 2019 07:46:26 +0000 (08:46 +0100)]
lyx2lyx tests: Copy also original lyx files to temp dir

Necessary only if the lyx-file includes some data from
a relative path, nonetheless it happens in some of our tests.

5 years agoAmend 7e1ecb65, add Bibliography.lyx to the set of not tested subdocuments
Kornel Benko [Wed, 2 Jan 2019 15:35:18 +0000 (16:35 +0100)]
Amend 7e1ecb65, add Bibliography.lyx to the set of not tested subdocuments

5 years agoAmend [324b8287/lyxgit]
Enrico Forestieri [Wed, 2 Jan 2019 08:22:56 +0000 (09:22 +0100)]
Amend [324b8287/lyxgit]

Avoid a crash by checking that a cell is not empty before
accessing its content.

No status line is needed as this amends a previous commit.

5 years agoRemove *.bbl and friends when invalidating the bib info cache
Juergen Spitzmueller [Mon, 31 Dec 2018 08:46:08 +0000 (09:46 +0100)]
Remove *.bbl and friends when invalidating the bib info cache

This avoids errors when switching engines.

The fix is already in master. We forgot to backport.

5 years agoUnbreak citing from bibliography environment
Juergen Spitzmueller [Mon, 31 Dec 2018 08:43:39 +0000 (09:43 +0100)]
Unbreak citing from bibliography environment

We need to bail out here early since otherwise the cache is prematurely
set to valid even if it is invalid with the bibliography environment.
The following checks (for timestamps of bib files) are only targeted
at bib(la)tex.

The fix is already in master.

5 years agoAmend 031d1c86: Add support for aastex62
Kornel Benko [Sun, 30 Dec 2018 08:16:47 +0000 (09:16 +0100)]
Amend 031d1c86: Add support for aastex62

5 years agode.po
Juergen Spitzmueller [Sun, 30 Dec 2018 08:01:47 +0000 (09:01 +0100)]
de.po

5 years agoUpdate sk.po
Kornel Benko [Sat, 29 Dec 2018 18:58:45 +0000 (19:58 +0100)]
Update sk.po

5 years agoAdded aastex62 example an template files
Kornel Benko [Sat, 29 Dec 2018 18:52:45 +0000 (19:52 +0100)]
Added aastex62 example an template files

This is 2.3.x- adapted copy of the versions in master tree.

5 years ago* cs.po
Pavel Sanda [Sat, 29 Dec 2018 18:22:51 +0000 (19:22 +0100)]
* cs.po

5 years agoFix some parsing glitches in Autonest and IsAutonestedBy
Juergen Spitzmueller [Sat, 29 Dec 2018 12:36:39 +0000 (13:36 +0100)]
Fix some parsing glitches in Autonest and IsAutonestedBy

Layouts can have spaces, underlines (that must be read as spaces, and
be enquoted)

Candidate for stable

(cherry picked from commit da273a944f4b720b1da5fd737ededc2f2129e9bc)

5 years agoBeamer: autonest column in columns
Juergen Spitzmueller [Sat, 29 Dec 2018 12:36:13 +0000 (13:36 +0100)]
Beamer: autonest column in columns

Candidate for stable

(cherry picked from commit 012d9b088e1e2b8ba58a1f303081cb9aba526298)

5 years agoDo not auto-insert separator for keepempty layouts
Juergen Spitzmueller [Sat, 29 Dec 2018 12:35:39 +0000 (13:35 +0100)]
Do not auto-insert separator for keepempty layouts

Candidate for stable

(cherry picked from commit 59d73f52b8afa734c02db08b075c1cdaf25611c1)

5 years agode.po
Juergen Spitzmueller [Sat, 29 Dec 2018 17:22:58 +0000 (18:22 +0100)]
de.po

5 years agoHandle bibliography irritations in thesis template
Juergen Spitzmueller [Sat, 29 Dec 2018 14:05:08 +0000 (15:05 +0100)]
Handle bibliography irritations in thesis template

Outsource the bibliography to an own child, which is then also included
in the children's "Standalone" branch

Add some clarifying notes.

Fixes: #10748
(cherry picked from commit 12aaeb259fac8e41c9e729919ff719cf7ab096e0)

5 years agoFixup LocalLayout ui after [3847e0ef/lyxgit]
Juergen Spitzmueller [Sat, 29 Dec 2018 10:47:37 +0000 (11:47 +0100)]
Fixup LocalLayout ui after [3847e0ef/lyxgit]

(cherry picked from commit a67c541d6b329ed2db6906904c1e1dbadc49aa0a)

5 years agoBackport 33284ee5c.
Pavel Sanda [Sat, 29 Dec 2018 16:55:55 +0000 (17:55 +0100)]
Backport 33284ee5c.

5 years agoNew layout file for American Mathematical Monthly.
Richard Kimberly Heck [Sat, 29 Dec 2018 16:48:02 +0000 (11:48 -0500)]
New layout file for American Mathematical Monthly.

From John Perry. See bug #10803.

5 years agoFix bug #6096.
Richard Kimberly Heck [Tue, 16 Oct 2018 02:41:22 +0000 (22:41 -0400)]
Fix bug #6096.

We used to need a hack to set the size of the layout combo, but
the code was changed in Qt 4.5 or so. Hence the appearance of this
bug in 2009. We can now just remove this hack, and all seems to
work correctly.

(cherry picked from commit d7f4346a19b69ae4f46ceba40b9e3a9744bb33f6)

5 years agoFix bug #9004.
Richard Kimberly Heck [Fri, 5 Oct 2018 00:37:03 +0000 (20:37 -0400)]
Fix bug #9004.

I'm not entirely happy with this way of doing it. It seems messy.
But there is not another clear option right now.

(cherry picked from commit 4f0ccae3990bfe1c6ce268bfb3c22f7bfe9cfc0b)

5 years agoLFUN_TEXTSTYLE_UPDATE: Do not force any unspecified settings.
Juergen Spitzmueller [Thu, 27 Dec 2018 14:29:23 +0000 (15:29 +0100)]
LFUN_TEXTSTYLE_UPDATE: Do not force any unspecified settings.

Fixes: #11111 (yay!)
(cherry picked from commit 2f9876a4102add659f42d0055ac6a6c23c764736)

5 years agoSlightly lighter icons
Juergen Spitzmueller [Thu, 27 Dec 2018 16:17:33 +0000 (17:17 +0100)]
Slightly lighter icons

All that's changed here is just the file size due to some file optimization.

Fixes: #10626
(cherry picked from commit 186597b54683e99ae7adc9d0584801265224128e)

5 years agoFix bug #11422.
Richard Kimberly Heck [Sat, 29 Dec 2018 05:23:26 +0000 (00:23 -0500)]
Fix bug #11422.

We need to load the master document before applying the params, since
otherwise the TOC reset (and other things) happen before the master
has been loaded (and set as parent).

(cherry picked from commit ac3693c04ffaa8e5bcb69884465c5508981e347e)

5 years agoFix assertion when checking if change in selection
Scott Kostyshak [Fri, 28 Dec 2018 15:40:38 +0000 (10:40 -0500)]
Fix assertion when checking if change in selection

The check for the iterator being in the same paragraph as the end of
selection was incorrect, because paragraphs in different cells could
have the same pit. We now additionally condition on having the same
idx.

This commit amends d1279875 (and thus 23de5e5e).

For discussion, see:

  https://www.mail-archive.com/search?l=mid&q=a5afd0c01a0eb9a84fd4d050d15eb23016d6f38a.camel%40lyx.org

Thanks to Jürgen.

(cherry picked from commit c5301a6495b108df5b307da39dad5be65926f76b)

5 years agoTypo
Richard Kimberly Heck [Sat, 29 Dec 2018 04:34:51 +0000 (23:34 -0500)]
Typo

(cherry picked from commit 75c8e5c0007db20ff7e803571d7227e6b11a33d0)

5 years agoFix bug #11378.
Richard Kimberly Heck [Sat, 29 Dec 2018 04:02:47 +0000 (23:02 -0500)]
Fix bug #11378.

(cherry picked from commit f11a51be35b54882e77d2cce189fedb2085412dd)

5 years agoUpdate it.po
Enrico Forestieri [Wed, 26 Dec 2018 18:07:05 +0000 (19:07 +0100)]
Update it.po

5 years agoWhen cancelling saving of a children, cancel the whole process.
Juergen Spitzmueller [Mon, 24 Dec 2018 12:02:41 +0000 (13:02 +0100)]
When cancelling saving of a children, cancel the whole process.

Fixes remainder of #11405

(cherry picked from commit 4d5120658579fbad3a19b76f9da7e044264f6c03)

5 years agoUpdate sk.po
Kornel Benko [Mon, 24 Dec 2018 11:15:40 +0000 (12:15 +0100)]
Update sk.po

5 years agode.po
Juergen Spitzmueller [Mon, 24 Dec 2018 10:55:19 +0000 (11:55 +0100)]
de.po

5 years agoAllow to restore default UI colors in prefs
Juergen Spitzmueller [Sat, 22 Dec 2018 17:44:58 +0000 (18:44 +0100)]
Allow to restore default UI colors in prefs

Patch by Daniel Ramöller (racoon), with slight modifications of mine.

Fixes: #10062
(cherry picked from commit 81e4f8dfb610ae8e6a5cc79a869030b229587b26
with minor adaptations)

5 years agostatus.23x: add entry for fix to changes in sel
Scott Kostyshak [Sun, 23 Dec 2018 20:18:35 +0000 (15:18 -0500)]
status.23x: add entry for fix to changes in sel

This status entry is for #10338, which was backported in the
previous two commits.

5 years agoFix crash when selecting text with changes
Scott Kostyshak [Fri, 27 Jul 2018 19:28:22 +0000 (15:28 -0400)]
Fix crash when selecting text with changes

When selecting text, in some cases a DocIterator could be forwarded
to a (non-existant) paragraph after the end. The critical part of
this fix is to break the loop at the correct place. The following
are additional improvements:

- increase readability by defining a bool named "in_last_par"
- use cur.selectionEnd().pit() instead of cur.selectionEnd().paragraph().id()
- use it.lastpos() instead of it.paragraph().size()

This commit fixes a regression introduced by 23de5e5e, and reported
at #11204.

Thanks to Jürgen and JMarc.

(cherry picked from commit d12798759aeb7bae77bec63098fd81f8cc9e554b)

5 years agoOnly show Accept/Reject Change options if relevant
Scott Kostyshak [Fri, 4 May 2018 22:21:54 +0000 (18:21 -0400)]
Only show Accept/Reject Change options if relevant

In the context menu for a selection, we now only show the options
"Accept Change" and "Reject Change" if there is actually a change in
the selection. Similarly, in the toolbar, the buttons are only
enabled when there is a change in the selection.

This fixes #10338.

(cherry picked from commit 23de5e5e195f8f76aea4760f0e6999a9a4174612)

5 years agoUpdate sk.po
Kornel Benko [Sat, 22 Dec 2018 09:27:28 +0000 (10:27 +0100)]
Update sk.po

5 years agode.po
Juergen Spitzmueller [Sat, 22 Dec 2018 07:57:19 +0000 (08:57 +0100)]
de.po

5 years agoGuiCharacter: Add menu to Restore button
Juergen Spitzmueller [Fri, 21 Dec 2018 11:31:25 +0000 (12:31 +0100)]
GuiCharacter: Add menu to Restore button

and allow for resetting all widgets to "No Change" besides "Default"

(cherry picked from commit ac8aac5b36e5895746aa145b20305cb909271e17)

5 years agoMake DEPM respect current cursor position.
Jean-Marc Lasgouttes [Fri, 21 Dec 2018 14:36:55 +0000 (15:36 +0100)]
Make DEPM respect current cursor position.

Spaces are now conserved when they surround current cursor. Examples:
  abc   |   def
becomes
  abc | def
after DEPM and
  abc |
is kept as it is.

Fixes ticket #11412.

(cherry picked from commit dff0c5729e6eec4c799f60171e4d0a377327ab10)

5 years agoFix bug 11346
Enrico Forestieri [Tue, 18 Dec 2018 10:39:21 +0000 (11:39 +0100)]
Fix bug 11346

Enclose in braces an optional argument of a math macro when it
starts with an incomplete script inset or ends with a delimiter
size-modifier macro.

(cherry picked from commit 2dcb73002666001ff55067abab05f6ab4a5760d9)

5 years agoAlso check for dirty children on QUIT
Juergen Spitzmueller [Thu, 20 Dec 2018 10:37:19 +0000 (11:37 +0100)]
Also check for dirty children on QUIT

Fixes rest of #11405

(cherry picked from commit 33344c601509c08d9a85ab413ea849407501a9a7)

5 years agoBackport 99bfe201208.
Pavel Sanda [Wed, 19 Dec 2018 20:47:06 +0000 (21:47 +0100)]
Backport 99bfe201208.

5 years ago* status.23x
Pavel Sanda [Tue, 18 Dec 2018 22:17:54 +0000 (23:17 +0100)]
* status.23x

5 years agoUpdate sk.po
Kornel Benko [Tue, 18 Dec 2018 07:59:58 +0000 (08:59 +0100)]
Update sk.po

5 years agode.po
Juergen Spitzmueller [Tue, 18 Dec 2018 07:44:32 +0000 (08:44 +0100)]
de.po

5 years agoGuiCharacter: Add "Reset" and "Restore Defaults" buttons
Juergen Spitzmueller [Tue, 18 Dec 2018 07:32:48 +0000 (08:32 +0100)]
GuiCharacter: Add "Reset" and "Restore Defaults" buttons

Addresses #11415

5 years agoCheck for hidden dirty child on close
Juergen Spitzmueller [Mon, 17 Dec 2018 08:11:34 +0000 (09:11 +0100)]
Check for hidden dirty child on close

Fixes: #11405
(cherry picked from commit f87218bbb50e2043d3a052803cdef0bbcdcbc338)

5 years agoFix embarrassing typo
Jean-Marc Lasgouttes [Mon, 17 Dec 2018 11:28:32 +0000 (12:28 +0100)]
Fix embarrassing typo

Not clear whether this caused any bug.

(cherry picked from commit 058c6750ac83b43819445ccf723283afb850ef91)

5 years agoGuiCharacter: INHERIT is OFF for the tristate buttons.
Juergen Spitzmueller [Mon, 17 Dec 2018 09:37:14 +0000 (10:37 +0100)]
GuiCharacter: INHERIT is OFF for the tristate buttons.

(cherry picked from commit 1b6ce0e827d58258e84ba2bf0754c6b273b123db)

5 years agoGuiCharacter: Consider default settings for underline, strikeout and language
Juergen Spitzmueller [Mon, 17 Dec 2018 09:12:02 +0000 (10:12 +0100)]
GuiCharacter: Consider default settings for underline, strikeout and language

(cherry picked from commit bf2bf2eaedadf39a6398db624c8b6c52099ca31d)

5 years agoAmend 9705b88251
Juergen Spitzmueller [Mon, 17 Dec 2018 08:03:46 +0000 (09:03 +0100)]
Amend 9705b88251

(cherry picked from commit ab5c08b3f01956d2081ff3cb34100c78a68cc90c)

5 years agoUse current_font, not real_current_font, in character dialog
Juergen Spitzmueller [Sun, 16 Dec 2018 11:29:15 +0000 (12:29 +0100)]
Use current_font, not real_current_font, in character dialog

The latter has the workarea font settings, which are not of interest
here.

Fixes: #11385
(cherry picked from commit 9705b8825172ff1158b7c1451eb1c0da214808a1)

5 years agoFix undo after breaking a nested paragraph
Jean-Marc Lasgouttes [Fri, 23 Nov 2018 15:53:53 +0000 (16:53 +0100)]
Fix undo after breaking a nested paragraph

We have to take into account that Buffer::updateBuffer can modify the document.

Fix bug #11292.

(cherry picked from commit 57feb0fed0c078903900aaea069c49207c8cb9ac)

5 years agoUpdate boost to 1.68.
Jean-Marc Lasgouttes [Sun, 16 Dec 2018 20:45:02 +0000 (21:45 +0100)]
Update boost to 1.68.

This avoid lots of warnings from gcc 8.

5 years agode.po
Juergen Spitzmueller [Sun, 16 Dec 2018 10:42:55 +0000 (11:42 +0100)]
de.po

5 years agoUpdate sk.po
Kornel Benko [Sun, 16 Dec 2018 01:14:36 +0000 (02:14 +0100)]
Update sk.po

5 years agoFix spacing.
Richard Kimberly Heck [Sat, 15 Dec 2018 17:45:47 +0000 (12:45 -0500)]
Fix spacing.

5 years agoMake sure inset buffer is correctly set in math grid
Jean-Marc Lasgouttes [Wed, 3 Oct 2018 08:39:09 +0000 (10:39 +0200)]
Make sure inset buffer is correctly set in math grid

Make MathData::setBuffer set the buffer of insets that it contains.
Remove corresponding code from InsetMathNest.

update the buffer() property in the following tabular-feature
actions : copy-row, add-row, copy-col, add-col.

(cherry picked from commit 837bcbb0433316ebe528b71e7c9952638ac1baee)

5 years agoSet buffer correctly when changing math space type.
Jean-Marc Lasgouttes [Thu, 13 Dec 2018 09:27:20 +0000 (10:27 +0100)]
Set buffer correctly when changing math space type.

Fixes bug #7747.

(cherry picked from commit 2ec25c8eef8c9acca3cb572800eab933c8564831)