]> git.lyx.org Git - lyx.git/log
lyx.git
6 years agoPassThru paragraphs have latex_language; consider this when checking
Juergen Spitzmueller [Sun, 29 Apr 2018 11:18:05 +0000 (13:18 +0200)]
PassThru paragraphs have latex_language; consider this when checking
previous language

Fixes: #10793.
6 years agoUpdate sk.po
Kornel Benko [Sun, 29 Apr 2018 10:48:21 +0000 (12:48 +0200)]
Update sk.po

6 years agode.po: update
Juergen Spitzmueller [Sun, 29 Apr 2018 09:56:54 +0000 (11:56 +0200)]
de.po: update

6 years agoAllow adjustment of banner slogan size to localized slogan
Juergen Spitzmueller [Sun, 29 Apr 2018 09:56:17 +0000 (11:56 +0200)]
Allow adjustment of banner slogan size to localized slogan

6 years agoLocalize slogan on LyX banner
Juergen Spitzmueller [Sun, 29 Apr 2018 09:26:25 +0000 (11:26 +0200)]
Localize slogan on LyX banner

Fixes: #11107
6 years agoLanguage::fontenc(): Don't check for LaTeX font with nonTeX fonts.
Juergen Spitzmueller [Sun, 29 Apr 2018 07:21:35 +0000 (09:21 +0200)]
Language::fontenc(): Don't check for LaTeX font with nonTeX fonts.

6 years agoctests: invert ar/UserGuide_pdf4_texF
Scott Kostyshak [Sun, 29 Apr 2018 03:53:31 +0000 (23:53 -0400)]
ctests: invert ar/UserGuide_pdf4_texF

Consistent with the other ar docs, this file was never meant to
compile with TeX Fonts (for more information, see the note next to
the inversion).

6 years agoUse insert_document_option to remove Georgian when reverting.
José Matos [Sat, 28 Apr 2018 17:47:32 +0000 (18:47 +0100)]
Use insert_document_option to remove Georgian when reverting.

Less code for the same functionality. :-)

6 years agoRemove spurious spaces at the end of lines
José Matos [Sat, 28 Apr 2018 17:31:31 +0000 (18:31 +0100)]
Remove spurious spaces at the end of lines

6 years agoFix duplicate, disabled "Separated Frame Below"
Scott Kostyshak [Sat, 28 Apr 2018 03:01:01 +0000 (23:01 -0400)]
Fix duplicate, disabled "Separated Frame Below"

This commit fixes an issue where the menu option "Insert Separated
Frame Below" would show up twice, with one instance disabled. This
occurred when there was a "Standard" environment nested in a
"Frame". With this commit, the duplicate instance is removed.

6 years agoAdd new semantic functions to add an remove document options.
José Matos [Sat, 28 Apr 2018 14:10:09 +0000 (15:10 +0100)]
Add new semantic functions to add an remove document options.

The objective is to identify common operations and place them
in functions in order to improve the readability and correctness of the code.

is_document_option(document, option):
  Find if _option_ is a document option (\\options in the header).

insert_document_option(document, option):
  Insert _option_ as a document option.

remove_document_option(document, option):
  Remove _option_ as a document option.

6 years agoSmall improvement to pre-historic file format conversion.
José Matos [Sat, 28 Apr 2018 13:57:57 +0000 (14:57 +0100)]
Small improvement to pre-historic file format conversion.

6 years agoImprove the readability of lyx2lyx -l option
José Matos [Sat, 28 Apr 2018 13:42:31 +0000 (14:42 +0100)]
Improve the readability of lyx2lyx -l option

Example:
$ lyx2lyx -l
...
2.2     stable format:       508
        stable versions:     ['2.2.0', '2.2.1', '2.2.2', '2.2.3', '2.2.4']
        development formats: 475 - 507

2.3     stable format:       544
        stable versions:     ['2.3.0']
        development formats: 509 - 543

2.4     stable format:       -- not yet --
        stable versions:     -- not yet --
        development formats: 545 - 550

6 years agounicodesymbols: add general way to require a feature only for specific encodings
Juergen Spitzmueller [Sat, 28 Apr 2018 11:31:29 +0000 (13:31 +0200)]
unicodesymbols: add general way to require a feature only for specific encodings

A feature can now be required only for specific input or font encodings:
- <feature>=enc1;enc2...  Require the feature <feature> only if the
                          character is used in one if the specified font
                          or input encodings.
- <feature>!=enc1;enc2... Require the feature <feature> only if the
                          character is used in a font or input encoding
                          that is not among the specified.

6 years agoUpdate scripts to support simultaneously python 2 and 3
José Matos [Sat, 28 Apr 2018 09:51:35 +0000 (10:51 +0100)]
Update scripts to support simultaneously python 2 and 3

The fixes are simple and on line with the changes made during
the 2.3 development. It was an oversight to leave them out.

With this commit all the python scripts should be supported by
python 2 and 3.

6 years agoRework OK/Apply/Cancel UI of prefs dialog
Juergen Spitzmueller [Sat, 28 Apr 2018 09:19:26 +0000 (11:19 +0200)]
Rework OK/Apply/Cancel UI of prefs dialog

Instead of "Save" (permanently) and "Apply" (temporarily), OK and Apply
now always save permanently, unless the new checkbox "Apply to current
session only" is checked.

Addresses: #10016

6 years agoInitialize toolbarsMovable_
Scott Kostyshak [Fri, 27 Apr 2018 21:41:26 +0000 (17:41 -0400)]
Initialize toolbarsMovable_

Valgrind detected a conditional jump because this member was not
initialized.

6 years agoFix bug #11127.
Richard Kimberly Heck [Sat, 28 Apr 2018 00:13:07 +0000 (20:13 -0400)]
Fix bug #11127.

6 years agoMake the lyx2lyx test-file 'lyx_2_1_test.lyx' compilable.
Kornel Benko [Fri, 27 Apr 2018 17:58:25 +0000 (19:58 +0200)]
Make the lyx2lyx test-file 'lyx_2_1_test.lyx' compilable.

Inserted short German text to provoke loading its language feature
to babel.

6 years agoDon't add localswitch if no language changes
Juergen Spitzmueller [Fri, 27 Apr 2018 16:27:21 +0000 (18:27 +0200)]
Don't add localswitch if no language changes

6 years agoAmend 26ea1e1 for roundtrip tests
Kornel Benko [Fri, 27 Apr 2018 10:49:13 +0000 (12:49 +0200)]
Amend 26ea1e1 for roundtrip tests

6 years agoCorrect graphical reference
Kornel Benko [Fri, 27 Apr 2018 08:52:15 +0000 (10:52 +0200)]
Correct graphical reference

6 years agoClose/reopen local language switches at each par
Juergen Spitzmueller [Fri, 27 Apr 2018 07:48:14 +0000 (09:48 +0200)]
Close/reopen local language switches at each par

Fixes: #11128
6 years agoAdapt caret height to context in mathed.
Jean-Marc Lasgouttes [Thu, 26 Apr 2018 22:03:48 +0000 (00:03 +0200)]
Adapt caret height to context in mathed.

Compute a height from current font and current cell vertical
dimensions in MathData::metrics(), because this is where current font
is known.

Introduce BufferView::setCaretAscentDescent to remember this value.

This mechanism is not used for text because Cursor::current_font is
restored by undo, and the caret height would not be changed then. But
in principle it is doable.

6 years agoRework caret display code
Jean-Marc Lasgouttes [Wed, 18 Apr 2018 08:10:08 +0000 (10:10 +0200)]
Rework caret display code

The new code is much simpler: what it does is, after redrawing has
been done, to mark the cursor row as changed, so that it will be
repainted on next paint event.

This avoids some crashes at the price of possibly repainting the row
when it was not necessary.

6 years agoUpdate sk.po
Kornel Benko [Thu, 26 Apr 2018 05:29:51 +0000 (07:29 +0200)]
Update sk.po

6 years agoTry to fix bug #10989.
Richard Kimberly Heck [Thu, 26 Apr 2018 03:46:13 +0000 (23:46 -0400)]
Try to fix bug #10989.

The problem is that popping dialogs during reload can cause paint
events for which we are not ready. If this does not work, then we
can introduce a new flag, besides 'busy', for that case. But busy
does not seem to be used very widely, so hopefully this works.

6 years agoConst.
Richard Kimberly Heck [Thu, 26 Apr 2018 02:51:57 +0000 (22:51 -0400)]
Const.

6 years agoSimplify some code now that we don't need it for indexes.
Richard Kimberly Heck [Thu, 26 Apr 2018 02:22:36 +0000 (22:22 -0400)]
Simplify some code now that we don't need it for indexes.

This has the effect that inserting nomenclature entries does not
cut the selection (implicit or explicit) but rather copies it, which
seems to me to make a lot more sense. If anyone objects, let me know.

6 years agoRestore implicit word selection for inset insertion.
Richard Kimberly Heck [Thu, 26 Apr 2018 01:48:25 +0000 (21:48 -0400)]
Restore implicit word selection for inset insertion.

Modifies 83356ab9.

6 years agoImprove error message a bit more.
Richard Kimberly Heck [Wed, 25 Apr 2018 22:43:49 +0000 (18:43 -0400)]
Improve error message a bit more.

Sorry to Kornel, who had already updated sk.po!

6 years agoDon't sort the bibfiles cache.
Richard Kimberly Heck [Wed, 25 Apr 2018 17:40:37 +0000 (13:40 -0400)]
Don't sort the bibfiles cache.

This causes problems with biblatex. Instead, we sort the old and
new lists and then compare them.

6 years agoUpdate sk.po
Kornel Benko [Wed, 25 Apr 2018 17:13:23 +0000 (19:13 +0200)]
Update sk.po

6 years agoImprove error message.
Richard Kimberly Heck [Wed, 25 Apr 2018 15:52:21 +0000 (11:52 -0400)]
Improve error message.

6 years agoAdd optional flavor flag to needaux
Juergen Spitzmueller [Wed, 25 Apr 2018 11:46:05 +0000 (13:46 +0200)]
Add optional flavor flag to needaux

Also, use latex flavor if no flag is given rather than default output
format

Fixes: #9127
6 years agoctests: Test dedicated LaTeX test samples with LaTeX export only.
Kornel Benko [Wed, 25 Apr 2018 10:14:32 +0000 (12:14 +0200)]
ctests: Test dedicated LaTeX test samples with LaTeX export only.

A fixed size table cell which contains multiple paragraphs in other language

6 years agoRedo metrics after cancelling macro mode
Jean-Marc Lasgouttes [Tue, 24 Apr 2018 12:03:35 +0000 (14:03 +0200)]
Redo metrics after cancelling macro mode

When the cursor is inside a subscript that may become empty, metrics
issues can happen. This patch fixes the issue, although it is not
clear to see what the problem is.

Still, requesting a metrics update also in the case where the macro
mode is canceled makes sense.

Fixes bug #11125.

6 years agoAdd slightly improved error message.
Richard Kimberly Heck [Tue, 24 Apr 2018 00:35:39 +0000 (20:35 -0400)]
Add slightly improved error message.

(cherry picked from commit 4f0504d7780dcfcab374de069982dfcf97d9a03f)

6 years agoAdd T1 fontenc as fallback for no font
Juergen Spitzmueller [Mon, 23 Apr 2018 16:35:11 +0000 (18:35 +0200)]
Add T1 fontenc as fallback for no font

This probably needs some more thought.

6 years agoWe need the "none" return value of main_font_encoding
Juergen Spitzmueller [Mon, 23 Apr 2018 14:20:36 +0000 (16:20 +0200)]
We need the "none" return value of main_font_encoding

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"