]> git.lyx.org Git - lyx.git/log
lyx.git
7 years agoUnhide buffers that are marked dirty as a result of external modifications
Guillaume MM [Sat, 10 Jun 2017 19:51:44 +0000 (21:51 +0200)]
Unhide buffers that are marked dirty as a result of external modifications

Several comments in the code point to the fact that hidden buffers are assumed
to be clean.

The other solution was to adapt the closing & saving code to take into account
hidden dirty buffers. Experience shows that it is more useful to unhide the
buffers at the moment of the external modification, in the context of a git
workflow where one has to reload the modified children buffers one-by-one.

Fixes crash at #10603

7 years agoRemove FileMonitorBlocker which does not work reliably on all platforms
Guillaume MM [Sat, 10 Jun 2017 21:45:57 +0000 (23:45 +0200)]
Remove FileMonitorBlocker which does not work reliably on all platforms

7 years agoIf the external modification is a deletion, do not ask for reloading.
Guillaume MM [Mon, 5 Jun 2017 20:04:07 +0000 (22:04 +0200)]
If the external modification is a deletion, do not ask for reloading.

The behavour when hitting "reload" on a deleted file was also confusing.

7 years agoPrevent false positives in external modifications
Guillaume MM [Fri, 12 May 2017 23:00:30 +0000 (01:00 +0200)]
Prevent false positives in external modifications

When the Buffer is notified to be externally modified, check that the
file contents have changed using the checksum.

Document the shortcoming of FileMonitorBlocker.

Fixes #10642.

7 years agoProperly track the lifetime of signals2::slots (#8261)
Guillaume MM [Sun, 28 May 2017 11:25:53 +0000 (13:25 +0200)]
Properly track the lifetime of signals2::slots (#8261)

Starting at 61b2bd5e, boost::bind was progressively replaced with
std::bind. They are not interchangeable though. boost::bind implements
the tracking of boost::signals{,2}::trackable objects. Now that
std::bind has completely replaced boost::bind, tracking never occurred.

This commit replaces boost::signals2::trackable with the new preferred
boost::signals2 methods: scoped_connections or slot::track_foreign. The
support::Trackable class introduced is less safe but easier for transitioning
old code.

Fixes the crash at #8261.

7 years agoAdjust minted options
Enrico Forestieri [Sun, 11 Jun 2017 15:47:31 +0000 (17:47 +0200)]
Adjust minted options

- Remove "chapter" and "section" as this are to be passed as class
  options and are otherwise not recognized.

- Let onoff=false for all TRUEFALSE parameters, otherwise only the
  form option=true is accepted and option=false does not validate,
  generating a lot of confusion.

7 years agode.po
Juergen Spitzmueller [Sun, 11 Jun 2017 14:42:35 +0000 (16:42 +0200)]
de.po

7 years agoUpdate sk.po
Kornel Benko [Sun, 11 Jun 2017 12:51:03 +0000 (14:51 +0200)]
Update sk.po

7 years agoCmake build: Totally missed lokalization of lib/citeengines/*.citeengines.
Kornel Benko [Sun, 11 Jun 2017 12:39:51 +0000 (14:39 +0200)]
Cmake build: Totally missed lokalization of lib/citeengines/*.citeengines.

7 years agoRemerge strings again after last change
Enrico Forestieri [Sun, 11 Jun 2017 12:02:02 +0000 (14:02 +0200)]
Remerge strings again after last change

7 years agoAdd accelerator
Enrico Forestieri [Sun, 11 Jun 2017 11:58:34 +0000 (13:58 +0200)]
Add accelerator

7 years agoAdd documentation for minted
Enrico Forestieri [Sun, 11 Jun 2017 11:42:35 +0000 (13:42 +0200)]
Add documentation for minted

7 years agoUnify translations
Enrico Forestieri [Sun, 11 Jun 2017 10:34:17 +0000 (12:34 +0200)]
Unify translations

This entry is shared by both listings and minted, so no need to use
different strings.

7 years agoUpdate layouttranslations and remerge po files.
Enrico Forestieri [Sun, 11 Jun 2017 10:24:24 +0000 (12:24 +0200)]
Update layouttranslations and remerge po files.

Only the new field "List of Listings" with same translation as
for "Listings[[List of Listings]]" has been added. No other change
has been done, so layouttranslations might actually change again
when automatically updated.

7 years agoUpdate sk.po
Kornel Benko [Sun, 11 Jun 2017 09:41:51 +0000 (11:41 +0200)]
Update sk.po

7 years agoChange the name of the "List of listings" for minted
Enrico Forestieri [Sun, 11 Jun 2017 08:38:44 +0000 (10:38 +0200)]
Change the name of the "List of listings" for minted

I actually checked that minted calls "List of Listings" the list of
listings, contrarily to the listings package.

7 years agoMake a string translatable
Guillaume MM [Sun, 11 Jun 2017 04:01:04 +0000 (06:01 +0200)]
Make a string translatable

7 years agoClearer message when about to discard an unsaved document entirely.
Guillaume MM [Sun, 11 Jun 2017 04:01:04 +0000 (06:01 +0200)]
Clearer message when about to discard an unsaved document entirely.

7 years agoQuote backspace in string
Enrico Forestieri [Sat, 10 Jun 2017 21:12:49 +0000 (23:12 +0200)]
Quote backspace in string

7 years agoWas forgetting to add the caption to the list of listings
Enrico Forestieri [Sat, 10 Jun 2017 19:00:43 +0000 (21:00 +0200)]
Was forgetting to add the caption to the list of listings

7 years agoAllow captions also on non-floating minted listings
Enrico Forestieri [Sat, 10 Jun 2017 16:43:23 +0000 (18:43 +0200)]
Allow captions also on non-floating minted listings

Minted provides for captions only with floating listings. However,
listings always allows captions, and our machinery is geared accordingly.
So, instead of discriminating the floating and non-floating cases,
always allow for captions with minted, too. When minted does not provide
for a caption, we will provide one.
In the child document case the caption will always be before the listing,
while for the inset case the caption will be before the listing if it
is entered as the first line, after the listing otherwise.

7 years agoOops: currentData() is Qt 5 only.
Juergen Spitzmueller [Sat, 10 Jun 2017 16:17:43 +0000 (18:17 +0200)]
Oops: currentData() is Qt 5 only.

7 years agoCorrect restoration of citation style selection between engine switches
Juergen Spitzmueller [Sat, 10 Jun 2017 12:29:07 +0000 (14:29 +0200)]
Correct restoration of citation style selection between engine switches

We stored the combo position index, but this changes on engine switch.

This also fixes a crash due to out-of-bound index at engine switch.

Fixes: #10692
7 years agoWas forgetting this at 4722e955
Enrico Forestieri [Sat, 10 Jun 2017 00:43:16 +0000 (02:43 +0200)]
Was forgetting this at 4722e955

7 years agoRemove the minted external template
Enrico Forestieri [Fri, 9 Jun 2017 22:12:22 +0000 (00:12 +0200)]
Remove the minted external template

That functionality is now provided by the new support for minted.
Also change the example file and accordingly rename it.

7 years agoTypo in comment
Scott Kostyshak [Fri, 9 Jun 2017 17:15:58 +0000 (13:15 -0400)]
Typo in comment

7 years agodoc - last updates are from 2015.
Pavel Sanda [Fri, 9 Jun 2017 10:49:58 +0000 (12:49 +0200)]
doc - last updates are from 2015.

7 years agoAmend fd075614
Enrico Forestieri [Fri, 9 Jun 2017 10:35:01 +0000 (12:35 +0200)]
Amend fd075614

Actually, only when using minted it is not possible to insert a
caption in a non-floating listing.

7 years agoGive a 2 pixels space for markers around math objects
Jean-Marc Lasgouttes [Thu, 8 Jun 2017 13:22:03 +0000 (15:22 +0200)]
Give a 2 pixels space for markers around math objects

This is necessary when markers are nested. Ideally this should only be
done when there is risk of nesting.

Fixes (part of?) bug #10688.

7 years ago Update fr.po
jpc [Fri, 9 Jun 2017 07:39:24 +0000 (09:39 +0200)]
     Update fr.po

7 years agoExtend minted support to listings as child documents
Enrico Forestieri [Thu, 8 Jun 2017 17:33:54 +0000 (19:33 +0200)]
Extend minted support to listings as child documents

This was slipping through the cracks, apparently...

7 years agoUpdate translation of Listings by Jari-Matti Mäkelä
Kornel Benko [Thu, 8 Jun 2017 17:32:11 +0000 (19:32 +0200)]
Update translation of Listings by Jari-Matti Mäkelä

Correction for layouttranslations from  Jari-Matti Mäkelä <jmjmak@utu.fi>

7 years agoUpdate fi.po
Kornel Benko [Thu, 8 Jun 2017 17:28:06 +0000 (19:28 +0200)]
Update fi.po

Translations from Jari-Matti Mäkelä <jmjmak@utu.fi>

7 years agoUpdate sk.po
Kornel Benko [Thu, 8 Jun 2017 15:59:56 +0000 (17:59 +0200)]
Update sk.po

7 years agoAmend 268ae66: Enable use of '\\' chars and empty lines in HelpText
Kornel Benko [Thu, 8 Jun 2017 15:57:32 +0000 (17:57 +0200)]
Amend 268ae66: Enable use of '\\' chars and empty lines in HelpText

7 years agoRevert "Fix drawing of collpsable insets"
Jean-Marc Lasgouttes [Thu, 8 Jun 2017 14:47:26 +0000 (16:47 +0200)]
Revert "Fix drawing of collpsable insets"

This was definitely not meant to be pushed, especially since I
reverted it recently. Sorry folks.

This reverts commit 6fc72a1a1ffc6abb321ce1b7921eed5655302b40.

7 years agoRevert "Fix bad cursor positioning when entering an inset"
Jean-Marc Lasgouttes [Thu, 8 Jun 2017 14:46:49 +0000 (16:46 +0200)]
Revert "Fix bad cursor positioning when entering an inset"

This is not ready yet.

This reverts commit 7ca7873112314963c3a43987f32484749ec3af58.

7 years agoRevert "Give a 2 pixels space for markers around math objects"
Jean-Marc Lasgouttes [Thu, 8 Jun 2017 14:46:19 +0000 (16:46 +0200)]
Revert "Give a 2 pixels space for markers around math objects"

This is not ready yet.

This reverts commit 5a3962958f2a2c5370b302d6dfea0967343b9a46.

7 years agoProperly use top/bottom edit marker for grid inset
Jean-Marc Lasgouttes [Thu, 8 Jun 2017 14:03:14 +0000 (16:03 +0200)]
Properly use top/bottom edit marker for grid inset

This was an oversight when marker() was introduced.

Fixes part of #10688.

7 years agoGive a 2 pixels space for markers around math objects
Jean-Marc Lasgouttes [Thu, 8 Jun 2017 13:22:03 +0000 (15:22 +0200)]
Give a 2 pixels space for markers around math objects

7 years agoFix bad cursor positioning when entering an inset
Jean-Marc Lasgouttes [Thu, 8 Jun 2017 09:35:05 +0000 (11:35 +0200)]
Fix bad cursor positioning when entering an inset

The test added at 359aef92 was incorrect. Actually, Inset::editXY
returns the inset when it is edited and also when it is not, which
can be confusing. So if we are unlucky and the slices positions in the
text area and in the inner inset match, the code below triggers and
many bad things can happen.

editXY() should probably have a documented way to indicate whether the
cursor has entered the inset, although the test used right now is
probably OK. The inset value is useful mainly for context menus or
tasks that need to know which inset the (x, y) coordinates
point to.

Note finally that the documentation of TextMetrics::editXY is
incorrect concerning the return value. It will return a non-null value
if the cursor is on a not editable inset.

Fixes #10691.

7 years agoFix drawing of collpsable insets
Jean-Marc Lasgouttes [Wed, 7 Jun 2017 10:20:33 +0000 (12:20 +0200)]
Fix drawing of collpsable insets

This is a follow-up to e194c9ce. There was actually no reason to let
InsetCollapsable and InsetText draw their own background. It is more
correct to remove the existing code and let the generic
Inset::drawBackground take command.

This allows to revert d207e85c.

Fixes bug #10587.

7 years agoSimplify preamble code when using listings
Enrico Forestieri [Thu, 8 Jun 2017 02:24:29 +0000 (04:24 +0200)]
Simplify preamble code when using listings

Following an idea from Guillame.

7 years agoOvertake layout translations from fi.po, ja.po, zh_CN.po
Kornel Benko [Wed, 7 Jun 2017 16:27:32 +0000 (18:27 +0200)]
Overtake layout translations from fi.po, ja.po, zh_CN.po

7 years agoUpdate sk.po
Kornel Benko [Wed, 7 Jun 2017 16:20:53 +0000 (18:20 +0200)]
Update sk.po

7 years agoDon't allow captions in non-floating listings
Enrico Forestieri [Wed, 7 Jun 2017 16:15:59 +0000 (18:15 +0200)]
Don't allow captions in non-floating listings

It was possible to insert a caption in a listing not marked as
floating. This didn't cause errors but the caption simply was
disappearing in the output.

7 years agoRevert "Fix drawing of collpsable insets"
Jean-Marc Lasgouttes [Wed, 7 Jun 2017 14:01:11 +0000 (16:01 +0200)]
Revert "Fix drawing of collpsable insets"

This patch cuses unintended issues (see #10587).

This reverts commit 18fb9cd7f9886295dbae66eb6ac060f9ac367f2d.

7 years agoFix a small glitch
Enrico Forestieri [Wed, 7 Jun 2017 13:31:13 +0000 (15:31 +0200)]
Fix a small glitch

When choosing a code language that has dialects in the languages
combo box, the dialects combo gets activated also when minted is
in use. However, minted does not support the concept of dialects
and the combo should not be enabled. This is harmless because the
dialects are simply ignored and the dialects status is restored
after apply, but it may fool the user in thinking that a dialect
can be actually selected. So, always disable it with minted.

7 years agoFix drawing of collpsable insets
Jean-Marc Lasgouttes [Wed, 7 Jun 2017 10:20:33 +0000 (12:20 +0200)]
Fix drawing of collpsable insets

This is a follow-up to e194c9ce. There was actually no reason to let
InsetCollapsable and InsetText draw their own background. It is more
correct to remove the existing code and let the generic
Inset::drawBackground take command.

This allows to revert d207e85c.

Fixes bug #10587.

7 years agoFix warning about signed/unsigned
Jean-Marc Lasgouttes [Wed, 7 Jun 2017 09:05:29 +0000 (11:05 +0200)]
Fix warning about signed/unsigned

7 years agoOutput default mathindent value as "default"
Jean-Marc Lasgouttes [Wed, 24 May 2017 13:40:36 +0000 (15:40 +0200)]
Output default mathindent value as "default"

This is like parindent now. The old code would avoid outputing the
value when it was empty (default indentation).

Fixes bug #10657.

7 years agoAdd another minted example
Enrico Forestieri [Wed, 7 Jun 2017 00:28:21 +0000 (02:28 +0200)]
Add another minted example

This one illustrates the usage of the new minted support.

7 years agoRename the minted 'lang' external template option as 'language'
Enrico Forestieri [Tue, 6 Jun 2017 23:25:35 +0000 (01:25 +0200)]
Rename the minted 'lang' external template option as 'language'

This is for consistency with the newly introduced support in the
listings inset, where the option name is dictated by the listings
package and cannot be changed.

7 years agoFix bug #9101
Enrico Forestieri [Tue, 6 Jun 2017 22:55:23 +0000 (00:55 +0200)]
Fix bug #9101

Update the listings inset to optionally use the minted package
(instead of the listings one) for typesetting code listings.
Only one of the two packages can be used in a document, but it
is possible to switch packages without issues if the used options
are the same. If a switch is made and the options differ, one needs
to manually adjust them if they were entered in the advanced options
tab, or apply again the gui settings.
Note that minted requires the -shell-escape option for the latex
backend and the installation of additional software (python pygments).

7 years agoFix bug #10295.
Richard Heck [Mon, 3 Apr 2017 00:59:23 +0000 (20:59 -0400)]
Fix bug #10295.

As it was, the comparison buffer was sharing a DocumentClass with
the buffer from which the document settings are taken.

7 years agoFix border when inserting column (#10538, #9306)
Scott Kostyshak [Sun, 4 Jun 2017 19:06:18 +0000 (15:06 -0400)]
Fix border when inserting column (#10538, #9306)

When inserting a column in tabular, the border of the new column
should be copied from the border of the (previously) right-most
column.

Also remove a redundant line. The line

    setRightLine(i, true);

was only reached if rightLine(i) was true.

Patch from Daniel Ramöller.

7 years agoScript to finxing linebreaks in po-files.
Kornel Benko [Sun, 4 Jun 2017 16:32:47 +0000 (18:32 +0200)]
Script to finxing linebreaks in po-files.

Bad linebreaks could slip in if merging from branch on a Windows OS.

7 years agoFix up 0cf394dd
Enrico Forestieri [Sun, 4 Jun 2017 01:28:49 +0000 (03:28 +0200)]
Fix up 0cf394dd

7 years agoDo not output a \par inside a local language switch command
Enrico Forestieri [Sun, 4 Jun 2017 01:12:41 +0000 (03:12 +0200)]
Do not output a \par inside a local language switch command

7 years agoaa.lyx: fix mixed layouts causing wrong PDF output
Scott Kostyshak [Sat, 3 Jun 2017 22:52:04 +0000 (18:52 -0400)]
aa.lyx: fix mixed layouts causing wrong PDF output

LyX correctly gave a warning about mixing InTitle layouts: There was
a LyX note in a Title environment, then there were standard
environments, and then a Title environment. This setup caused
several missing elements in the PDF.

Simply changing the Title environment of the Note to standard solved
the problems: The PDF output is now correct and LyX no longer gives
a warning.

7 years agoUpdate a .lyx format
Scott Kostyshak [Sat, 3 Jun 2017 22:50:37 +0000 (18:50 -0400)]
Update a .lyx format

7 years agosubequations.lyx: reference LyX module
Scott Kostyshak [Sat, 3 Jun 2017 22:14:55 +0000 (18:14 -0400)]
subequations.lyx: reference LyX module

Reference the LyX module instead of the LaTeX amsmath package.

7 years agoUpdate a .lyx format and add \origin
Scott Kostyshak [Sat, 3 Jun 2017 21:33:31 +0000 (17:33 -0400)]
Update a .lyx format and add \origin

7 years agoAdd subequations module and example (#10029)
Scott Kostyshak [Sat, 3 Jun 2017 21:12:39 +0000 (17:12 -0400)]
Add subequations module and example (#10029)

The module allows to use the subequations environment.

There is still a pending request to implement this environment
natively in LyX's mathed.

Contributed by Joel Kulesza.

7 years agoANNOUNCE: give warnings about using a pre-release
Scott Kostyshak [Sat, 3 Jun 2017 18:56:42 +0000 (14:56 -0400)]
ANNOUNCE: give warnings about using a pre-release

In general, make the ANNOUNCE sound a little less celebratory and
a little more precautionary. The celebratory version will be used
for the final release.

7 years agoUpdate ANNOUNCE
Scott Kostyshak [Sat, 3 Jun 2017 18:56:24 +0000 (14:56 -0400)]
Update ANNOUNCE

Update the pre-release to beta1, even though we are not ready to
release it yet.

7 years agoFix bugs #10650 and #9598
Enrico Forestieri [Sat, 3 Jun 2017 15:26:05 +0000 (17:26 +0200)]
Fix bugs #10650 and #9598

7 years agoUpdate it.po
Enrico Forestieri [Sat, 3 Jun 2017 14:10:15 +0000 (16:10 +0200)]
Update it.po

7 years agoRELEASE-NOTES: explain new mixing layouts warning
Scott Kostyshak [Thu, 1 Jun 2017 20:15:52 +0000 (16:15 -0400)]
RELEASE-NOTES: explain new mixing layouts warning

7 years agoCmake export tests: Ignore some acmart tests for now
Kornel Benko [Thu, 1 Jun 2017 09:07:22 +0000 (11:07 +0200)]
Cmake export tests: Ignore some acmart tests for now

7 years agomake tests: Disable sessions handling
Kornel Benko [Thu, 1 Jun 2017 07:19:29 +0000 (09:19 +0200)]
make tests: Disable sessions handling

We use prefTest.pl to allow use of external programs
while testing exports.
The change here affects only the keytests though.

7 years agoUse unified mail address of the translator also in pt_BR.po
Kornel Benko [Wed, 31 May 2017 08:33:58 +0000 (10:33 +0200)]
Use unified mail address of the translator also in pt_BR.po

7 years agoFix bug #10685
Enrico Forestieri [Tue, 30 May 2017 15:49:59 +0000 (17:49 +0200)]
Fix bug #10685

Make sure to properly nest \begin{lang} and \end{lang} tags even
when no language package is selected. In this case, LyX assumes
that babel is being used, so the language names might be wrong
if the user arranged for using polyglossia in the preamble.
Nevertheless, we assure that the produced output is syntactically
correct, so that by adding proper preamble code a correct output
is still possible.

7 years agoUpdate sk.po
Kornel Benko [Tue, 30 May 2017 10:34:08 +0000 (12:34 +0200)]
Update sk.po

7 years agoFix .po files
Kornel Benko [Tue, 30 May 2017 09:30:02 +0000 (11:30 +0200)]
Fix .po files

7 years agoKeep track of the last manually set state of the literal
Richard Heck [Tue, 30 May 2017 02:53:11 +0000 (22:53 -0400)]
Keep track of the last manually set state of the literal
checkbox in the citation dialog. Use that information to
set it appropriately for new citations.

7 years agoA couple minor changes to minted example
Scott Kostyshak [Mon, 29 May 2017 21:59:07 +0000 (17:59 -0400)]
A couple minor changes to minted example

7 years agoRevert a gratuitous change
Enrico Forestieri [Mon, 29 May 2017 21:22:14 +0000 (23:22 +0200)]
Revert a gratuitous change

This commit reverts a change made at 3bc08a76 that was causing
changed output. See:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg200509.html

7 years agokeytests: Do not save the session info in bug-10636-test
Kornel Benko [Mon, 29 May 2017 11:53:39 +0000 (13:53 +0200)]
keytests: Do not save the session info in bug-10636-test

Otherwise the following tests start with 'display source code' enabled.

7 years agoAdd some clarifying comments
Enrico Forestieri [Mon, 29 May 2017 10:00:25 +0000 (12:00 +0200)]
Add some clarifying comments

7 years agoSmall tweak
Enrico Forestieri [Sun, 28 May 2017 21:46:51 +0000 (23:46 +0200)]
Small tweak

7 years agoAdd an external template for minted
Enrico Forestieri [Sun, 28 May 2017 21:43:19 +0000 (23:43 +0200)]
Add an external template for minted

See #9095

7 years agoAdd test for #10636 (fixed in master)
Kornel Benko [Sat, 27 May 2017 17:53:32 +0000 (19:53 +0200)]
Add test for #10636 (fixed in master)

7 years agoAdd author information for inkscape external template
Guillaume MM [Sat, 27 May 2017 13:01:24 +0000 (15:01 +0200)]
Add author information for inkscape external template

7 years agokeytests: Add a small delay to each special key
Kornel Benko [Sat, 27 May 2017 09:09:26 +0000 (11:09 +0200)]
keytests: Add a small delay to each special key

keytest.py: This gives the os some time to update the status.
  All keys with modifier and all possible shortcuts are affected.

Shortcut use corrected in findadv-11-in.txt and findadv-17-in.txt

7 years agoAdd binding for post argument 1.
Juergen Spitzmueller [Fri, 26 May 2017 07:39:15 +0000 (09:39 +0200)]
Add binding for post argument 1.

7 years agoRevert 3ceb5034
Enrico Forestieri [Thu, 25 May 2017 17:06:52 +0000 (19:06 +0200)]
Revert 3ceb5034

This does not work when the footnote contains multiple paragraphs
and the font properties are changed outside the inset.

7 years agoFix coverity warning
Guillaume MM [Thu, 25 May 2017 14:40:41 +0000 (16:40 +0200)]
Fix coverity warning

7 years agokeytests: rewritten testcases to use the new searching engine searchPatterns.pl
Kornel Benko [Wed, 24 May 2017 14:29:32 +0000 (16:29 +0200)]
keytests: rewritten testcases to use the new searching engine searchPatterns.pl

7 years agoTake in account end of paragraph marker for inset width
Jean-Marc Lasgouttes [Wed, 24 May 2017 12:05:06 +0000 (14:05 +0200)]
Take in account end of paragraph marker for inset width

When an inset wants to use the whole available width, it is necessary
to take into account that some of this width may already be taken by
the end-of-paragraph (pilcrow) marker.

Fixes bug #10537.

7 years agoLet command inset honor inheritFont() on screen
Jean-Marc Lasgouttes [Wed, 24 May 2017 09:28:08 +0000 (11:28 +0200)]
Let command inset honor inheritFont() on screen

The RenderButton object now has a inherit_font_ property. It is set
depending on the value of Inset::inheritFont().

This is a better fix than 55533804, which caused bugs #10682 and #10677.

Fixes bug #10258

7 years agoRevert "Add possibility for command inset to inherit enclosing font"
Jean-Marc Lasgouttes [Tue, 23 May 2017 14:50:53 +0000 (16:50 +0200)]
Revert "Add possibility for command inset to inherit enclosing font"

The new method was badly named, it was not supposed to override the
existing inheritFont.

Fixes bug #10682.

This reverts commit 555338048d417d4532fe954239a0e9e29dd5ee6d.

7 years agoRevert "InsetHyperlink: inherit font (#10677)"
Jean-Marc Lasgouttes [Tue, 23 May 2017 15:05:51 +0000 (17:05 +0200)]
Revert "InsetHyperlink: inherit font (#10677)"

This will be replaced with a better fix (see #10682).

This reverts commit c643da99d79d1971fd5c4079955d868a40254e63.

7 years agoFix bug #10263
Enrico Forestieri [Tue, 23 May 2017 22:24:54 +0000 (00:24 +0200)]
Fix bug #10263

7 years agokeytests: Adapt to new shortcuts.
Kornel Benko [Mon, 22 May 2017 16:42:44 +0000 (18:42 +0200)]
keytests: Adapt to new shortcuts.

Also, due to resolved shortcut clash in slovak gui, there is now no need to
select 'search whole words' twice.
(\Ac\Ac ==> \Ae)

7 years agoUpdate sk.po. Correct a shortcut/menu clash
Kornel Benko [Mon, 22 May 2017 16:39:33 +0000 (18:39 +0200)]
Update sk.po. Correct a shortcut/menu clash

7 years agoCmake tests: remove handling of bindings in user.bind.
Kornel Benko [Mon, 22 May 2017 06:56:42 +0000 (08:56 +0200)]
Cmake tests: remove handling of bindings in user.bind.

It is done now by keytest.py

7 years agokeytests: Move shortcut handling into own class
Kornel Benko [Mon, 22 May 2017 06:48:16 +0000 (08:48 +0200)]
keytests: Move shortcut handling into own class

7 years agoMath.lyx: describe new math features
Uwe Stöhr [Sun, 21 May 2017 23:48:07 +0000 (01:48 +0200)]
Math.lyx: describe new math features

7 years agoinkscape.xtemplate: fixes issues 3, 6 and 7 of bug #10679
Uwe Stöhr [Sun, 21 May 2017 21:57:53 +0000 (23:57 +0200)]
inkscape.xtemplate: fixes issues 3, 6 and 7 of bug #10679