]> git.lyx.org Git - lyx.git/log
lyx.git
6 years agoMove definition out of loop
Juergen Spitzmueller [Mon, 23 Apr 2018 14:19:41 +0000 (16:19 +0200)]
Move definition out of loop

6 years agoCmake export tests: All cyrillic tests pass no
Kornel Benko [Mon, 23 Apr 2018 12:57:21 +0000 (14:57 +0200)]
Cmake export tests: All cyrillic tests pass no

6 years agoRemove Language::fontenc()
Juergen Spitzmueller [Mon, 23 Apr 2018 10:59:57 +0000 (12:59 +0200)]
Remove Language::fontenc()

This raw vector of fontenc alternatives is not needed outside Language,
and it should actually never be used.

6 years agoCorrect fontenc for secondary languages
Juergen Spitzmueller [Mon, 23 Apr 2018 10:33:11 +0000 (12:33 +0200)]
Correct fontenc for secondary languages

6 years agoDo not require cprotect if we only have a cprotectible inset in the maintext.
Juergen Spitzmueller [Mon, 23 Apr 2018 09:04:18 +0000 (11:04 +0200)]
Do not require cprotect if we only have a cprotectible inset in the maintext.

6 years agoAdd bindings for inset-settings.
Richard Kimberly Heck [Mon, 23 Apr 2018 03:56:17 +0000 (23:56 -0400)]
Add bindings for inset-settings.

Fixes #7762.

6 years agoWhitespace
Richard Kimberly Heck [Mon, 23 Apr 2018 01:32:35 +0000 (21:32 -0400)]
Whitespace

6 years agoParagraph on top level do not need cprotection.
Juergen Spitzmueller [Sun, 22 Apr 2018 18:15:04 +0000 (20:15 +0200)]
Paragraph on top level do not need cprotection.

6 years agoAlign fontenc with document fonts
Juergen Spitzmueller [Sun, 22 Apr 2018 17:06:46 +0000 (19:06 +0200)]
Align fontenc with document fonts

Following a request by Günter, we consider the document fonts (only rm
for now) when selecting an appropriate font encoding.

See #9741

The new default font encoding setting "auto" does

* consider the font encoding needed by the language(s), which can now
  have fallback alternatives
* Consider which font encoding is provided by the document font

Thus, cm now will result in OT1 fontenc, if the language can deal with
that.

The font_enc pref is ditched: it is no longer needed.

The automatism is still very basic and is subject to extension.

File format and prefs format change.

6 years agoCmake build: Output error messages emitted by lyx_pot.py
Kornel Benko [Sun, 22 Apr 2018 10:06:47 +0000 (12:06 +0200)]
Cmake build: Output error messages emitted by lyx_pot.py

6 years agoAdapt Format-entry in unix/lyxrc.dist
Kornel Benko [Sun, 22 Apr 2018 10:02:27 +0000 (12:02 +0200)]
Adapt Format-entry in unix/lyxrc.dist

6 years agoAdapt test outline-beamer' to the synchronous batch export
Kornel Benko [Sun, 22 Apr 2018 09:59:19 +0000 (11:59 +0200)]
Adapt test outline-beamer' to the synchronous batch export

Also add the 'export'- label to this test

6 years agoOutput "textbaltic" definitions only if needed.
Juergen Spitzmueller [Sun, 22 Apr 2018 08:08:07 +0000 (10:08 +0200)]
Output "textbaltic" definitions only if needed.

6 years agoDocument Provides in languages
Juergen Spitzmueller [Sun, 22 Apr 2018 07:07:31 +0000 (09:07 +0200)]
Document Provides in languages

6 years agoComment: buffer-forall should be run synchronously
Scott Kostyshak [Sun, 22 Apr 2018 03:05:21 +0000 (23:05 -0400)]
Comment: buffer-forall should be run synchronously

As of 8be51425, "buffer-forall" joins "command-sequence" and
"repeat" in this category of LFUNs.

6 years agobuffer-forall now disables async
Scott Kostyshak [Sat, 21 Apr 2018 17:31:49 +0000 (13:31 -0400)]
buffer-forall now disables async

Before, the command

  buffer-forall buffer-export

only exported one buffer for me. With async disabled, the command
works as documented and successfully exports all buffers.

Also before, I received an assertion from

  buffer-forall buffer-close

which caused a SIGSEGV at #9422. Now, the action works as expected.

6 years agoAvoid warning.
Richard Kimberly Heck [Sun, 22 Apr 2018 01:41:47 +0000 (21:41 -0400)]
Avoid warning.

6 years agoFix problem with synchronous export.
Richard Kimberly Heck [Sat, 21 Apr 2018 23:48:59 +0000 (19:48 -0400)]
Fix problem with synchronous export.

It surprises me a bit that the code is different in this case
from the case when EXPORT_in_THREAD is not set. I should check
to see if there's a problem in the other case, too.

6 years agoWhitespace
Scott Kostyshak [Sat, 21 Apr 2018 18:16:24 +0000 (14:16 -0400)]
Whitespace

6 years ago\textcyr -> \textcyrillic
Juergen Spitzmueller [Sat, 21 Apr 2018 14:28:15 +0000 (16:28 +0200)]
\textcyr -> \textcyrillic

Use the command as defined by Babel. This allows us to use the (more
advanced) Babel command if provided instead of rolling our own.

I add a dummy file format change in case it turns out we need to
do something here for old documents (e.g. with user preamble definitions)

6 years agoAdd Provides tag to languages
Juergen Spitzmueller [Sat, 21 Apr 2018 13:47:39 +0000 (15:47 +0200)]
Add Provides tag to languages

This allows to specify macros that are provided by specific (Babel)
languages (such as \textgreek)

6 years agoDefine \textgreek only if needed
Juergen Spitzmueller [Sat, 21 Apr 2018 13:00:42 +0000 (15:00 +0200)]
Define \textgreek only if needed

Babel provides a definition if a Greek language is loaded.

Also, clarify some FIXMEs

6 years agoFactor out test for script wrapper in given font enc
Juergen Spitzmueller [Sat, 21 Apr 2018 10:55:11 +0000 (12:55 +0200)]
Factor out test for script wrapper in given font enc

6 years agoUninvert some cyrillic and greek tests
Kornel Benko [Sat, 21 Apr 2018 10:13:51 +0000 (12:13 +0200)]
Uninvert some cyrillic and greek tests

6 years agoHandle script chars in latexSurrogatePair
Juergen Spitzmueller [Sat, 21 Apr 2018 09:38:19 +0000 (11:38 +0200)]
Handle script chars in latexSurrogatePair

If we have "script chars" (\textcyr or \textgreek) combined with
combining chars, the combining chars need to go inside the script
macro.

Fixes: #6463
6 years agocosmetics
Pavel Sanda [Sat, 21 Apr 2018 08:06:27 +0000 (10:06 +0200)]
cosmetics

6 years agoHandle nested \cprotect
Juergen Spitzmueller [Sat, 21 Apr 2018 07:35:42 +0000 (09:35 +0200)]
Handle nested \cprotect

6 years agocprotect listings when needed (e.g. in a footnote)
Scott Kostyshak [Sat, 21 Apr 2018 03:35:30 +0000 (23:35 -0400)]
cprotect listings when needed (e.g. in a footnote)

This allows to put a non-inline listing in commands, such as a box,
footnote, and margin note.

Fixes #6177 and #9321.

6 years agoFix #8338.
Richard Heck [Thu, 19 Apr 2018 03:03:24 +0000 (23:03 -0400)]
Fix #8338.

The idea here is to force commands to be run syncrhonously when
they are launched via "command-sequence" or "repeat". We do this
by using a new flag in FuncRequest.

6 years agoFix for #10624.
Richard Heck [Sun, 16 Apr 2017 02:47:11 +0000 (22:47 -0400)]
Fix for #10624.

If we're in the first paragraph after a division (section, etc),
use the prefix for it.

6 years agoFix #6344.
Richard Heck [Sat, 25 Jun 2016 05:39:59 +0000 (01:39 -0400)]
Fix #6344.

For some reason, special code was added for LFUN_INDEX_INSERT
when it was not actually needed. So just delete it.

6 years agoReset counters before we re-run updateBuffer when the bibfiles change.
Richard Heck [Fri, 20 Apr 2018 02:12:44 +0000 (22:12 -0400)]
Reset counters before we re-run updateBuffer when the bibfiles change.

Fixes a bug reported by Pavel here:
  https://marc.info/?l=lyx-devel&m=152407889727665&w=2

6 years agoAlign \textgreek and \textcyr with font encoding, part II
Juergen Spitzmueller [Fri, 20 Apr 2018 18:00:01 +0000 (20:00 +0200)]
Align \textgreek and \textcyr with font encoding, part II

Also embrace encodable chars to those macros if we don't have a font
encoding that can handle the glyphs.

Fixes the remaining part of #9637

6 years agoHandle combining characters in writeScriptChars
Juergen Spitzmueller [Fri, 20 Apr 2018 16:17:18 +0000 (18:17 +0200)]
Handle combining characters in writeScriptChars

They were output in the wrong order and thus produced wrong result.

6 years agoAlign \textgreek and \textcyr with font encoding
Juergen Spitzmueller [Fri, 20 Apr 2018 16:01:16 +0000 (18:01 +0200)]
Align \textgreek and \textcyr with font encoding

Fixes part of #9637

6 years agoBetter mechanism for setting cell cell height
Jean-Marc Lasgouttes [Thu, 19 Apr 2018 11:15:43 +0000 (13:15 +0200)]
Better mechanism for setting cell cell height

When computing a cell metrics, it is now possible to specify whether it
is tight (at least as tall as 'x') or not (as tall as the max height of
the font).

Use this to make sure that grid insets have large enough cells. It
will probably appear that other cells needn't be tight. Currently, the
only cell which is known to be tight is the nucleus of the root inset.
Others should be examined one by one. It might be that the default of
MathData::metrics tight parameter should be `false'.

Fixes bug #11050.

6 years agoRevert "Makes caret height adapt to context in mathed."
Jean-Marc Lasgouttes [Fri, 20 Apr 2018 07:51:35 +0000 (09:51 +0200)]
Revert "Makes caret height adapt to context in mathed."

This will be replaced by a different solution.

This reverts commit c5ca503d92a25dc168f84b9d7c008c390f434667.

6 years agoGreyedouts can be inserted in commands/description
Scott Kostyshak [Thu, 19 Apr 2018 16:16:23 +0000 (12:16 -0400)]
Greyedouts can be inserted in commands/description

This change also applies to Comment insets. For example, Greyedout
and comment insets can now be inserted in section titles.

The usage of these insets in commands relies on the newly
implemented cprotect feature. The usage of these insets in
description items already worked fine (without cprotect).

This commit also enables modification of these insets (e.g.,
converting a LyX note to a Greyedout note) in commands.

This commit is related to #6969.

6 years agoUse \cprotect only for "simple frame" boxes
Scott Kostyshak [Wed, 18 Apr 2018 19:11:55 +0000 (15:11 -0400)]
Use \cprotect only for "simple frame" boxes

Compilation succeeds with verbatim environments for the other types
of boxes without \cprotect.

For more details, see the following ML thread:

https://www.mail-archive.com/search?l=mid&q=20180418191915.pfqbyeq44g7newro%40steph

6 years agoUpdate sk.po
Kornel Benko [Thu, 19 Apr 2018 08:16:47 +0000 (10:16 +0200)]
Update sk.po

6 years agoFix bug #11118.
Richard Heck [Thu, 19 Apr 2018 04:09:41 +0000 (00:09 -0400)]
Fix bug #11118.

Adds LFUN_MASTER_BUFFER_EXPORT.

6 years agoFormatting.
Richard Heck [Thu, 19 Apr 2018 02:42:44 +0000 (22:42 -0400)]
Formatting.

6 years agoFormatting.
Richard Heck [Thu, 19 Apr 2018 02:33:55 +0000 (22:33 -0400)]
Formatting.

6 years agocprotect Note:Greyedout insets
Scott Kostyshak [Thu, 19 Apr 2018 01:30:16 +0000 (21:30 -0400)]
cprotect Note:Greyedout insets

This is consistent with what we do for Note:Comment, and fixes
compilation of documents with a Greyedout inset inside a float
caption, which was reported here:

https://www.mail-archive.com/search?l=mid&q=20180418192851.GH6006%40atrey.karlin.mff.cuni.cz

6 years agoUpdate cursor position after committing IM string
Jean-Marc Lasgouttes [Wed, 18 Apr 2018 15:39:43 +0000 (17:39 +0200)]
Update cursor position after committing IM string

6 years agoTypo
Juergen Spitzmueller [Wed, 18 Apr 2018 14:51:24 +0000 (16:51 +0200)]
Typo

Thanks, Pavel!

6 years agoAdd a floating landscape inset
Juergen Spitzmueller [Wed, 18 Apr 2018 14:20:19 +0000 (16:20 +0200)]
Add a floating landscape inset

6 years agoUpdate email address
Juergen Spitzmueller [Wed, 18 Apr 2018 12:37:33 +0000 (14:37 +0200)]
Update email address

6 years agoAdd Landscape module
Juergen Spitzmueller [Wed, 18 Apr 2018 12:36:49 +0000 (14:36 +0200)]
Add Landscape module

Support for the (pdf)lscape package.

Fixes: #10801
6 years agoAdd support for rotated longtabulars (via [pdf]lscape)
Juergen Spitzmueller [Wed, 18 Apr 2018 11:22:29 +0000 (13:22 +0200)]
Add support for rotated longtabulars (via [pdf]lscape)

Fixes: #9194
See #9194 for why we use an earlier file format change here.

6 years agoMove LFUN_UNICODE_INSERT to BufferView, per JMarc's suggestion.
Richard Heck [Tue, 17 Apr 2018 02:49:06 +0000 (22:49 -0400)]
Move LFUN_UNICODE_INSERT to BufferView, per JMarc's suggestion.

6 years agoUse FuncRequest::getArg instead of splitting the argument
Richard Heck [Tue, 17 Apr 2018 02:32:04 +0000 (22:32 -0400)]
Use FuncRequest::getArg instead of splitting the argument
ourselves.

6 years agoAlphabetize
Richard Heck [Tue, 17 Apr 2018 01:25:19 +0000 (21:25 -0400)]
Alphabetize

6 years agoWhitespace.
Richard Heck [Sun, 15 Apr 2018 02:45:11 +0000 (22:45 -0400)]
Whitespace.

6 years agoFix some problems with background cancellation.
Richard Heck [Tue, 20 Feb 2018 03:43:44 +0000 (22:43 -0500)]
Fix some problems with background cancellation.

The problem was that, if we killed export when some graphic was
being converted, or some external template was being handled, it
would only cancel that process, and then it would just continue.
To deal with that, we need to do a few things:
1. Modify the return values for some of the Converters routines,
   and similarly the routines for external templates,  so we can
   tell when something has been canceled.
2. Throw an exception from InsetGraphics or InsetExternal when this
   has happened during export, but ONLY when the Buffer is a clone.
   We shouldn't be able to 'cancel' export when we're, say, generating
   code for the preview pane, but this keeps us on the safe side..
The exception then has to be caught, obviously, back in the export
routines in Buffer.

Probably Coverity will be unhappy about something here, but I'll
deal with that problem as it arises.

6 years agoTypo
Juergen Spitzmueller [Sun, 15 Apr 2018 16:25:31 +0000 (18:25 +0200)]
Typo

Fixes: #11113
6 years agocprotect knitr chunks
Juergen Spitzmueller [Sun, 15 Apr 2018 16:17:35 +0000 (18:17 +0200)]
cprotect knitr chunks

6 years agoSimplify
Juergen Spitzmueller [Sun, 15 Apr 2018 10:37:41 +0000 (12:37 +0200)]
Simplify

6 years agoWhitespace
Juergen Spitzmueller [Sun, 15 Apr 2018 10:31:56 +0000 (12:31 +0200)]
Whitespace

6 years agoneedsCProtection: consider LaTeXType "none"
Juergen Spitzmueller [Sun, 15 Apr 2018 10:31:27 +0000 (12:31 +0200)]
needsCProtection: consider LaTeXType "none"

6 years agoneedsCProtection(): check all insets.
Juergen Spitzmueller [Sun, 15 Apr 2018 10:29:49 +0000 (12:29 +0200)]
needsCProtection(): check all insets.

6 years agoTypo.
Richard Heck [Sun, 15 Apr 2018 00:08:40 +0000 (20:08 -0400)]
Typo.

6 years agoRefactor code showing error dialogs
Scott Kostyshak [Sun, 8 Apr 2018 21:35:09 +0000 (17:35 -0400)]
Refactor code showing error dialogs

This commit follows 8d2b121e and is not expected to change
functionality (e.g., I confirmed that the cases of #7330 and #11106
are still fixed). The advantages of this refactoring are the
following:

- Remove some preprocessor directives:
  processingThreadFinished() is only called in the case that
  EXPORT_in_THREAD is 1, so by moving some code up in the call list,
  the directives are not needed.

- If errors() is called when there is no error, there will not be unexpected
  behavior (e.g., as was the case before 8d2b121e).
  Note that errors() is still only called by the code touched by this commit
  if there is an error, but that is for efficiency and readability.

- The "from_master" argument now has a constant meaning. Before, it
  could be the case that "from_master" was set to false but that the
  master's error dialog was shown.

6 years agoTypo
Scott Kostyshak [Sat, 14 Apr 2018 17:25:35 +0000 (13:25 -0400)]
Typo

6 years agoConsider sub-subfiles on log file parsing.
Juergen Spitzmueller [Sat, 14 Apr 2018 12:33:21 +0000 (14:33 +0200)]
Consider sub-subfiles on log file parsing.

These are listed as (subfile.ext (sub-subfile.ext))

Fixes: #11112
6 years agoConsider cprotection in boxes.
Juergen Spitzmueller [Sat, 14 Apr 2018 10:57:44 +0000 (12:57 +0200)]
Consider cprotection in boxes.

6 years agoAdd cprotection support for paragraph layouts.
Juergen Spitzmueller [Sat, 14 Apr 2018 10:57:23 +0000 (12:57 +0200)]
Add cprotection support for paragraph layouts.

6 years agoLayout format update after 2ba584957cf
Juergen Spitzmueller [Sat, 14 Apr 2018 08:28:22 +0000 (10:28 +0200)]
Layout format update after 2ba584957cf

6 years agoAdd basic support for cprotect
Juergen Spitzmueller [Fri, 13 Apr 2018 15:46:37 +0000 (17:46 +0200)]
Add basic support for cprotect

This allows (some) verbatim contents in macros, such as \url's with
specific chars (#, % etc.) in section headings or footnotes (#449)
or comments in captions (#9313).

The mentioned two bugs are fixed by this commit.

Note that the implementation is still rather basic and might need
extension for other cases.

6 years agoFix invalid octal number
Jean-Marc Lasgouttes [Thu, 12 Apr 2018 08:48:50 +0000 (10:48 +0200)]
Fix invalid octal number

6 years agoFix bug #9348
Enrico Forestieri [Tue, 10 Apr 2018 20:40:02 +0000 (22:40 +0200)]
Fix bug #9348

6 years agoAmend d7020ea: Add the warn when using system hunspell in stdlib-debug mode also...
Kornel Benko [Mon, 9 Apr 2018 15:13:52 +0000 (17:13 +0200)]
Amend d7020ea: Add the warn when using system hunspell in stdlib-debug mode also for cmake

6 years agoWarn when using system hunspell in stdlib-debug mode
Jean-Marc Lasgouttes [Mon, 9 Apr 2018 13:50:50 +0000 (15:50 +0200)]
Warn when using system hunspell in stdlib-debug mode

This is what we already do with boost. Note that the warning only
triggers with the new C++ ABI.

6 years agoSet a minimal height for math rows
Jean-Marc Lasgouttes [Mon, 9 Apr 2018 10:18:24 +0000 (12:18 +0200)]
Set a minimal height for math rows

The value used here is the x height. It would be nice to see what the
TeXbook really says.

This makes a big difference with \tilde{.}, for example.

6 years agoChanged Settings->Local Layout to FixedWidth & Nowrap
Joel A. Kulesza [Thu, 25 Jan 2018 06:09:46 +0000 (23:09 -0700)]
Changed Settings->Local Layout to FixedWidth & Nowrap

This change is made in response to Ticket 10992.

The change made is consistent with those captured in Ticket 9966.

6 years agoWhitespace
Scott Kostyshak [Sun, 8 Apr 2018 21:29:37 +0000 (17:29 -0400)]
Whitespace

6 years agoLoad hyperref with a suitable driver
Juergen Spitzmueller [Sun, 8 Apr 2018 17:02:01 +0000 (19:02 +0200)]
Load hyperref with a suitable driver

This is mandatory for some features (such as bookmarks,pdfusetitle)
to work, and only a handful of drivers can be auto-detected by hyperref.

Fixes: #6418
6 years agoDo not show master's errors if compiling child
Scott Kostyshak [Sat, 7 Apr 2018 21:11:33 +0000 (17:11 -0400)]
Do not show master's errors if compiling child

If a master document is compiled and has errors, and then a child is
compiled without error, the errors from the master compilation were
shown.

The setup of the relevant code is the following:

  processingThreadFinished() calls errors().  errors() makes the
  assumption that if it is called, there must have been an error
  somewhere.

The logic of the setup is the following:

  processingThreadFinished() knows whether there was an error on
  the most recent preview/export, although it doesn't know whether
  the error is from master or child (i.e. does not know whether the
  user was compiling the child, or whether master-buffer-view was
  called).  Inside error(), if there is no error in the child, it is
  assumed the error is from master.

For the above logic to work, errors() should only be called if there
was an error.

This commit fixes #11106 and preserves the fix to #7330.

6 years agoSet correct path to (biblatex) bibliography databases that are entered relative to...
Juergen Spitzmueller [Sat, 7 Apr 2018 20:09:06 +0000 (22:09 +0200)]
Set correct path to (biblatex) bibliography databases that are entered relative to child documents.

Fixes: #11105
6 years agoWhen inserting math inset, put cursor selection in the correct cell
Jean-Marc Lasgouttes [Wed, 4 Apr 2018 16:24:14 +0000 (18:24 +0200)]
When inserting math inset, put cursor selection in the correct cell

The original use case for this bug is entering an overset inset when
there is a selection. The expected result was to have the selection
pasted in main text, but the result was to have it in the cell.

Insets already have idxFirst() that is able to set cursor to the
"entry" cell of an inset. This patch introduces firstIdx(), which is
the index of this cell and uses it in idxFirst() (idem for
lastIdx/idxLast).

As a consequence, several instances of idxFirst/idxLast can be removed.

Now for the real fix: the two places where the cell in which selection
is inserted seem to be:
* Cursor::macroModeClose
* Cursor::handleNest

These two methods are changed to insert material in the entry cell
instead of cell 0.

idxFirst/Last methods are added to InsetMathRoot and InsetMathStackrel
so that the natural entry point is the nucleus of those insets.

Finallly, a typo is fixed in InsetMathNest::edit() where enter_front
computation was incorrect.

6 years agoMakes caret height adapt to context in mathed.
Jean-Marc Lasgouttes [Tue, 20 Mar 2018 15:41:59 +0000 (16:41 +0100)]
Makes caret height adapt to context in mathed.

Set current cursor font in MathData::metrics()

Also make sure that caret dimension in mathed is not larger than inset
height.

6 years agoDo not use \tablefootnote in minipages
Juergen Spitzmueller [Wed, 4 Apr 2018 08:53:40 +0000 (10:53 +0200)]
Do not use \tablefootnote in minipages

Minipages provide their own working \footnote's

Should also go to 2.3.x.

6 years agoFix bug #11102.
Richard Heck [Tue, 3 Apr 2018 22:38:46 +0000 (18:38 -0400)]
Fix bug #11102.

Ignore deleted material when generating a proposed label.

6 years agoUpstreaming compilation patch needed for Gentoo.
Pavel Sanda [Mon, 2 Apr 2018 13:39:56 +0000 (15:39 +0200)]
Upstreaming compilation patch needed for Gentoo.

6 years agoUpdate sk.po
Kornel Benko [Mon, 2 Apr 2018 09:03:18 +0000 (11:03 +0200)]
Update sk.po

6 years ago8-char tab stops are too big in the preamble editor.
Richard Heck [Mon, 2 Apr 2018 02:07:21 +0000 (22:07 -0400)]
8-char tab stops are too big in the preamble editor.

6 years agoFix bug 11099.
Richard Heck [Mon, 2 Apr 2018 02:00:41 +0000 (22:00 -0400)]
Fix bug 11099.

Adds simple search/find functionality to preamble.

6 years agoGive full pref path in doc for date-insert
Scott Kostyshak [Sat, 31 Mar 2018 04:58:10 +0000 (00:58 -0400)]
Give full pref path in doc for date-insert

Give intermediate steps to get to "Date format" in preferences.

This change is the result of the following discussion:

  https://latex.org/forum/viewtopic.php?f=19&t=31333

6 years agoCmake build: Check for correct hunspell only if used
Kornel Benko [Fri, 30 Mar 2018 17:40:08 +0000 (19:40 +0200)]
Cmake build: Check for correct hunspell only if used

6 years agoAmend 8774ad5, Adapt to new hunspell C++ ABI for cmake
Kornel Benko [Fri, 30 Mar 2018 12:10:45 +0000 (14:10 +0200)]
Amend 8774ad5, Adapt to new hunspell C++ ABI for cmake

Replace CHECK_CXX_SOURCE_COMPILES() with TRY_COMPILE()
Discarding the link-stage mimics the behaviour used by automake.
Now the testsource is compiled regardless if hunspell
is external or not.

6 years agoAdapt to new hunspell C++ ABI for cmake
Kornel Benko [Thu, 29 Mar 2018 20:53:59 +0000 (22:53 +0200)]
Adapt to new hunspell C++ ABI for cmake

The compile test for 3rdparty hunspell is omitted,
because the macro check_cxx_source_compiles() tries also to link.
But at the time of the check, the required library is not there.

6 years agoAdapt to new hunspell C++ ABI
Juergen Spitzmueller [Thu, 29 Mar 2018 16:43:11 +0000 (18:43 +0200)]
Adapt to new hunspell C++ ABI

Fixes: #10547
CMake support still missing.

6 years agoCompile 3rdparty/hunspell in stdlib-debug mode when needed
Jean-Marc Lasgouttes [Thu, 29 Mar 2018 10:05:50 +0000 (12:05 +0200)]
Compile 3rdparty/hunspell in stdlib-debug mode when needed

A function that returns a vector<string> will lead to a crash if the
main code and the library have not been compiled with the same
stdlib-debug state. See for example:
https://stackoverflow.com/questions/4764048/stl-and-release-debug-library-mess

This is fixed by introducing a new variable STDLIB_DEBUG that contains
the flags that trigger the debug mode (autoconf only for now).

This will allow to go forward with bug #10547.

6 years ago Force babel as language package to avoid errors with non-TeX fonts
jpc [Wed, 28 Mar 2018 09:10:01 +0000 (11:10 +0200)]
 Force babel as language package to avoid errors with non-TeX fonts

6 years agoPrevent that a full source preview of a child clears the master's bibfiles cache.
Juergen Spitzmueller [Tue, 27 Mar 2018 12:29:25 +0000 (14:29 +0200)]
Prevent that a full source preview of a child clears the master's bibfiles cache.

See #9158

6 years agowasy10 font: fix glyphs codepoints 9,10,12,13.
Pavel Sanda [Mon, 26 Mar 2018 19:54:46 +0000 (21:54 +0200)]
wasy10 font: fix glyphs codepoints 9,10,12,13.

92680495b follow-up.

pointer: 9 -> 170
bell: 10 -> 171
quarternote: 12 -> 172
halfnote: 13 -> 174

This should be the final one.

6 years agoUpdate version number in lyx2lyx.
Richard Kimberly Heck [Mon, 26 Mar 2018 14:41:11 +0000 (10:41 -0400)]
Update version number in lyx2lyx.

6 years agoFix use of default biblio_style
Juergen Spitzmueller [Mon, 26 Mar 2018 13:50:35 +0000 (15:50 +0200)]
Fix use of default biblio_style

Fixes: #11088
6 years ago* stmary10.lyx
Pavel Sanda [Fri, 23 Mar 2018 10:11:21 +0000 (11:11 +0100)]
* stmary10.lyx

6 years agostmary10 font: fix glyphs codepoints 10,12,13.
Pavel Sanda [Fri, 23 Mar 2018 09:18:02 +0000 (10:18 +0100)]
stmary10 font: fix glyphs codepoints 10,12,13.

92680495b follow-up.

minuso: 10 -> 171
sslash: 12 -> 172
bbslash:13 -> 174
varcurlywedge: 9 -> 254 -> 170 (first move by Georg)