]> git.lyx.org Git - lyx.git/log
lyx.git
5 years agode.po: update
Juergen Spitzmueller [Sun, 29 Jul 2018 16:29:07 +0000 (18:29 +0200)]
de.po: update

5 years agoInsetInfo: add useful shortcuts.
Juergen Spitzmueller [Sun, 29 Jul 2018 16:28:18 +0000 (18:28 +0200)]
InsetInfo: add useful shortcuts.

5 years agoAdd Gilbert Forkel to the Credits
Juergen Spitzmueller [Sun, 29 Jul 2018 13:24:45 +0000 (15:24 +0200)]
Add Gilbert Forkel to the Credits

5 years agoFix problem of unwanted spaces caused by macro definitions
Juergen Spitzmueller [Sun, 29 Jul 2018 13:16:44 +0000 (15:16 +0200)]
Fix problem of unwanted spaces caused by macro definitions

Patch by Gilbert J. M. Forkel

Fixes: #11216
5 years agoFix bug #11214
Enrico Forestieri [Sat, 28 Jul 2018 21:07:17 +0000 (23:07 +0200)]
Fix bug #11214

The checkProg() function was separating a command from its parameters
by splitting at the first space. This was a problem if the command
was specified with a full path containing spaces. Now the checkProg()
function separates a command from the parameters by splitting at the
first non-quoted space. So, it suffices quoting a path to solve the
issue.

5 years agoReplace styles '(Begin|End)Frontmatter' with environment in elsarticle
Kornel Benko [Sat, 28 Jul 2018 12:30:25 +0000 (14:30 +0200)]
Replace styles '(Begin|End)Frontmatter' with environment in elsarticle

No change in tex or pdf output.
This does not help in compiling, but still feels more natural.

5 years agoTry to please windows compiler
Juergen Spitzmueller [Sat, 28 Jul 2018 08:26:52 +0000 (10:26 +0200)]
Try to please windows compiler

5 years agoAdd Winfred Huang to the Credits
Juergen Spitzmueller [Sat, 28 Jul 2018 07:33:43 +0000 (09:33 +0200)]
Add Winfred Huang to the Credits

5 years agozh_CN: update from Winfred Huang
Juergen Spitzmueller [Sat, 28 Jul 2018 07:28:38 +0000 (09:28 +0200)]
zh_CN: update from Winfred Huang

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.

5 years agoUpdate sk.po
Kornel Benko [Fri, 27 Jul 2018 12:12:15 +0000 (14:12 +0200)]
Update sk.po

5 years agode.po: update
Juergen Spitzmueller [Fri, 27 Jul 2018 12:06:54 +0000 (14:06 +0200)]
de.po: update

5 years agoSort out problems with InsetInfo language settings
Juergen Spitzmueller [Fri, 27 Jul 2018 10:14:37 +0000 (12:14 +0200)]
Sort out problems with InsetInfo language settings

* use the context language of the info inset (rather than the buffer
language), and translate strings accordingly

* for menu and shortcuts, use the Gui language instead

* actually care that all translatable strings end in po
(this wasn't the case).

Fixes: #5348, rest of #10463
5 years agoUpdate sk.po
Kornel Benko [Thu, 26 Jul 2018 17:18:02 +0000 (19:18 +0200)]
Update sk.po

5 years agoMake the InsetInfo dialog a bit less esoteric.
Juergen Spitzmueller [Thu, 26 Jul 2018 14:02:03 +0000 (16:02 +0200)]
Make the InsetInfo dialog a bit less esoteric.

5 years agoUse footnotehyper rather than footnote if hyperref is used
Juergen Spitzmueller [Wed, 25 Jul 2018 16:01:22 +0000 (18:01 +0200)]
Use footnotehyper rather than footnote if hyperref is used

Fixes: #11212
5 years agoRevert "Make formal table lines exagerately thick to identify \cmidrule"
Jean-Marc Lasgouttes [Wed, 25 Jul 2018 12:07:19 +0000 (14:07 +0200)]
Revert "Make formal table lines exagerately thick to identify \cmidrule"

This not the correct solution. Let's see if we find a better one.

This reverts commit d900b1fcec5093a49042d82d9e1ea90bdfb40ea2.

5 years agoFix austrian language code\n\nCandidate for stable.
Juergen Spitzmueller [Wed, 25 Jul 2018 12:59:21 +0000 (14:59 +0200)]
Fix austrian language code\n\nCandidate for stable.

5 years agoAmend 79cf3f5ec10
Juergen Spitzmueller [Wed, 25 Jul 2018 09:38:56 +0000 (11:38 +0200)]
Amend 79cf3f5ec10

Some InfoInsets have to be LTR always.

5 years agoFix text direction issue for InsetInfo in RTL context
Juergen Spitzmueller [Wed, 25 Jul 2018 09:00:00 +0000 (11:00 +0200)]
Fix text direction issue for InsetInfo in RTL context

Fixes: #10463
5 years agoImplement tri-state in GuiSetBorder
Juergen Spitzmueller [Tue, 24 Jul 2018 11:49:27 +0000 (13:49 +0200)]
Implement tri-state in GuiSetBorder

A new UNDECIDED state is used if multiple cells with differing border
settings are selected.

This prevents additional borders to be set without being asked.

Fixes: #10010
5 years agoRevert "Fix toggle-line for multi-cell selection"
Juergen Spitzmueller [Tue, 24 Jul 2018 06:48:33 +0000 (08:48 +0200)]
Revert "Fix toggle-line for multi-cell selection"

This changes the behavior of the table border toolbar in a way I am not sure everybody appreciates.

This reverts commit 022228e56f2a58d3a6a79af26e38470ebd74dcaf.

5 years agoMake formal table lines exagerately thick to identify \cmidrule
Jean-Marc Lasgouttes [Mon, 23 Jul 2018 22:07:59 +0000 (00:07 +0200)]
Make formal table lines exagerately thick to identify \cmidrule

Width is now 3 for top/bottomrule, 2 for midrule and 1 for cmidrule.
These numbers are bogus of course, but the goal is to help the user
see what he is doing.

5 years agoAmend 20976e81: remove debug messages
Jean-Marc Lasgouttes [Mon, 23 Jul 2018 21:48:52 +0000 (23:48 +0200)]
Amend 20976e81: remove debug messages

5 years agoAesthetics: off-by-one in line drawing
Jean-Marc Lasgouttes [Mon, 23 Jul 2018 15:07:48 +0000 (17:07 +0200)]
Aesthetics: off-by-one in line drawing

It is a general problem when doing graphics to know where a line
begins and where it ends pixel-wise. At the instigation of Scott, and
with the use of the kmag magnifier, this commit corrects 3 areas:

* foreign marks were larger than the row element they were supposed to
  mark. This could lead to moving lines, depending on paint ordering.

* visible spaces were drawn outside of their box (select a single
  space to see this).

* the `L' blinking caret would leave a cursor dropping because the
  horizontal part was too wide.

5 years agoFix toggle-line for multi-cell selection
Juergen Spitzmueller [Mon, 23 Jul 2018 15:00:31 +0000 (17:00 +0200)]
Fix toggle-line for multi-cell selection

5 years agoAllow to change multiple columns' width at once
Juergen Spitzmueller [Mon, 23 Jul 2018 14:36:19 +0000 (16:36 +0200)]
Allow to change multiple columns' width at once

Fixes: #11205
5 years agoDo not remove character at start of paragraph when cutting
Jean-Marc Lasgouttes [Sun, 22 Jul 2018 20:18:50 +0000 (22:18 +0200)]
Do not remove character at start of paragraph when cutting

The part of code that removed space at start of paragraph have been
there forever, but its intent is unclear. For example, cutting text at
the end of a paragraph will lead to remove space at the start of this
same paragraph.

The removal of this functionality is offset by a rewrite of DEPM that
makes it more thorough.

Fixes bug #10503.

5 years agoImprove DEPM
Jean-Marc Lasgouttes [Sun, 22 Jul 2018 20:13:44 +0000 (22:13 +0200)]
Improve DEPM

Now any sequence of spaces around old cursor will be removed, even at
start or end of paragraph. Sequences of more than 2 characters are
also taken into account.

The version of DEPM which acts on a sequence of paragraphs is also
rewritten to match the local one.

5 years agoFix bug #11203
Enrico Forestieri [Sun, 22 Jul 2018 20:22:13 +0000 (22:22 +0200)]
Fix bug #11203

Minted does not have a language option but it is possible to enter
this option in the LyX interface for compatibility with the listings
package, and also for letting to enter a language not present in the
gui. So, this option is only used for properly specifying a language
in a listing, unless it is entered in the document settings dialog.
This case was not foreseen and thus the option was being passed to
the package as is, causing havoc. With this commit the option is
still available but is used to set a default language for a new
listing in place of the default "tex" language used so far.

5 years agoAmend d41c3f27d91
Juergen Spitzmueller [Sun, 22 Jul 2018 18:04:19 +0000 (20:04 +0200)]
Amend d41c3f27d91

Quote insets are allowed in ERT.

5 years agoConsider EuropeanNumberTerminator property when determining text direction
Juergen Spitzmueller [Sun, 22 Jul 2018 10:36:38 +0000 (12:36 +0200)]
Consider EuropeanNumberTerminator property when determining text direction

Also, use EuropeanNumberSeparator information rather than relying on an
own (incomplete) list of number separators.

Fixes: #4057
5 years agoUse swap in InsetText::updateBuffer for notes ad friends
Jean-Marc Lasgouttes [Sat, 21 Jul 2018 21:58:47 +0000 (23:58 +0200)]
Use swap in InsetText::updateBuffer for notes ad friends

Avoid as much as possible to do full copies of all counters, since
that can be exensive. Unfortunately, it is just posible when we want
to restore the saved counters.

Explanations why we use friend swap is here:
https://stackoverflow.com/questions/5695548/public-friend-swap-member-function

Part of bug #5973.

5 years agoSpeed up convert_literalparam. Part of #11200.
Richard Kimberly Heck [Sun, 22 Jul 2018 02:49:49 +0000 (22:49 -0400)]
Speed up convert_literalparam. Part of #11200.

5 years agoTry to speed up convert_phrases by re-ordering the loops. Part of #11200.
Richard Kimberly Heck [Sun, 22 Jul 2018 02:32:39 +0000 (22:32 -0400)]
Try to speed up convert_phrases by re-ordering the loops. Part of #11200.

5 years agoSpeed up convert_specialchars. Part of #11200.
Richard Kimberly Heck [Tue, 17 Jul 2018 02:14:40 +0000 (22:14 -0400)]
Speed up convert_specialchars. Part of #11200.

5 years agoSpeed up convert_captionlayouts. Part of #11200.
Richard Kimberly Heck [Tue, 17 Jul 2018 02:14:36 +0000 (22:14 -0400)]
Speed up convert_captionlayouts. Part of #11200.

5 years agoUpdate sk.po, revize many accelerators, Part 2
Kornel Benko [Sat, 21 Jul 2018 21:15:16 +0000 (23:15 +0200)]
Update sk.po, revize many accelerators, Part 2

5 years agoAmend 8651cd89: only full top/bottom rules are thicker
Jean-Marc Lasgouttes [Sat, 21 Jul 2018 16:28:18 +0000 (18:28 +0200)]
Amend 8651cd89: only full top/bottom rules are thicker

5 years ago(a)mend edb2d1412482bd
Juergen Spitzmueller [Sat, 21 Jul 2018 16:33:49 +0000 (18:33 +0200)]
(a)mend edb2d1412482bd

5 years agoSet RTL tooltips RTL
Juergen Spitzmueller [Sat, 21 Jul 2018 16:23:47 +0000 (18:23 +0200)]
Set RTL tooltips RTL

Fixes: #10672
5 years agode.po: update
Juergen Spitzmueller [Sat, 21 Jul 2018 15:49:14 +0000 (17:49 +0200)]
de.po: update

5 years agofarsi needs LAE encoding as well
Juergen Spitzmueller [Sat, 21 Jul 2018 14:00:40 +0000 (16:00 +0200)]
farsi needs LAE encoding as well

5 years agoFix nesting problem with numbers in RTL text
Juergen Spitzmueller [Sat, 21 Jul 2018 13:50:35 +0000 (15:50 +0200)]
Fix nesting problem with numbers in RTL text

\textcolor must precede any \beginL

Fixes: #6283
5 years agoFix disappearing blue language underline.
Jean-Marc Lasgouttes [Fri, 20 Jul 2018 13:23:55 +0000 (15:23 +0200)]
Fix disappearing blue language underline.

Make sure that the blue language underline is not below the bottom of
the row. Otherwise, it can disappear when the next row is painted.

5 years agoAmend change b5c5083c6c035294e8a762bd5bd737a56d27317a.
Stephan Witt [Fri, 20 Jul 2018 05:29:48 +0000 (07:29 +0200)]
Amend change b5c5083c6c035294e8a762bd5bd737a56d27317a.

Remove superfluous and broken code.

5 years agoDraw top/bottom rules heavier for booktab
Jean-Marc Lasgouttes [Thu, 19 Jul 2018 22:26:41 +0000 (00:26 +0200)]
Draw top/bottom rules heavier for booktab

This gives a better idea of the TeX output, even though the width are
not correct.

5 years agoUse a unicode character for menu separator on screen
Jean-Marc Lasgouttes [Thu, 19 Jul 2018 21:05:00 +0000 (23:05 +0200)]
Use a unicode character for menu separator on screen

Additionally, use a left pointing character in a RtL setting.

5 years agoIntroduce FontMetrics::xHeight
Jean-Marc Lasgouttes [Thu, 19 Jul 2018 20:16:40 +0000 (22:16 +0200)]
Introduce FontMetrics::xHeight

Use it instead of measuring the height of character 'x'.

5 years agoFixup 30ec879d and 41ebc3fc
Jean-Marc Lasgouttes [Thu, 19 Jul 2018 19:02:31 +0000 (21:02 +0200)]
Fixup 30ec879d and 41ebc3fc

Remove the #if 0 area, which does not seem really useful. Some tweaks
to the code.

5 years agoUpdate sk.po, revize many accelerators
Kornel Benko [Wed, 18 Jul 2018 20:04:22 +0000 (22:04 +0200)]
Update sk.po, revize many accelerators

5 years agoAmend 30ec879, Add a translator as a fallback to Qt inner one
Kornel Benko [Wed, 18 Jul 2018 20:02:50 +0000 (22:02 +0200)]
Amend 30ec879, Add a translator as a fallback to Qt inner one

Add the needed strings to GuiApplication.cpp

5 years agoAdd a translator as a fallback to Qt inner one
Jean-Marc Lasgouttes [Tue, 17 Jul 2018 22:41:09 +0000 (00:41 +0200)]
Add a translator as a fallback to Qt inner one

This reuses code intended only for mac manus and generalizes it. The
list of strings to add to po files is found in
GuiTranslator::translate.

This is useful now that LyX relies on QDialogButtonBox class for its
dialogs. Indeed many languages are not covered natively by Qt.

It is possible to enable the "locace" debug channel to see what
strings are not covered and should be added to our own translation
tables.

In order to make things easier, a new method getIfFound() has been
added to the Messages class, which returns an empty string when no
translation has been found, as Qt's translate() does.

5 years agoHebrew docs: No need to mark logos as English
Scott Kostyshak [Mon, 16 Jul 2018 08:58:22 +0000 (04:58 -0400)]
Hebrew docs: No need to mark logos as English

Thanks to the fix to #10423, we can leave e.g. \LyX and \LaTeX as
the default language (which is Hebrew for these document).

5 years agoProper logos with RTL
Juergen Spitzmueller [Sun, 15 Jul 2018 18:56:55 +0000 (20:56 +0200)]
Proper logos with RTL

Fixes #10423

5 years agoPar alignment in floats must be swapped for all RTL langs, not only Hebrew
Juergen Spitzmueller [Sun, 15 Jul 2018 17:23:19 +0000 (19:23 +0200)]
Par alignment in floats must be swapped for all RTL langs, not only Hebrew

Fixes: #11029
5 years agoUpdate sk.po
Kornel Benko [Sun, 15 Jul 2018 16:13:18 +0000 (18:13 +0200)]
Update sk.po

5 years agoUpdate it.po
Enrico Forestieri [Sun, 15 Jul 2018 15:15:10 +0000 (17:15 +0200)]
Update it.po

5 years agode.po: update
Juergen Spitzmueller [Sun, 15 Jul 2018 12:47:29 +0000 (14:47 +0200)]
de.po: update

5 years agoFix bracket output in RTL languages
Juergen Spitzmueller [Sun, 15 Jul 2018 12:26:29 +0000 (14:26 +0200)]
Fix bracket output in RTL languages

This is a real mess!

Fixes: #11187
5 years agoFix quotation marks in RTL script
Juergen Spitzmueller [Sun, 15 Jul 2018 10:11:10 +0000 (12:11 +0200)]
Fix quotation marks in RTL script

Fixes: #11188
5 years agoFix command line output of convertDefault.py for ImageMagick
Juergen Spitzmueller [Fri, 13 Jul 2018 08:20:26 +0000 (10:20 +0200)]
Fix command line output of convertDefault.py for ImageMagick

Part of #11186

5 years agoUse QMessageBox for toggleWarning if possible
Juergen Spitzmueller [Tue, 10 Jul 2018 13:00:25 +0000 (15:00 +0200)]
Use QMessageBox for toggleWarning if possible

Qt 5.2 introduces the possibility to place a checkbox on a QMessageBox,
so we need no longer to use our own crude dialog.

5 years agoQDialogButtonBox for the remaining dialogs.
Juergen Spitzmueller [Tue, 10 Jul 2018 11:04:02 +0000 (13:04 +0200)]
QDialogButtonBox for the remaining dialogs.

5 years agoFix creationCode() of GuiPrintNomencl
Juergen Spitzmueller [Tue, 10 Jul 2018 09:01:49 +0000 (11:01 +0200)]
Fix creationCode() of GuiPrintNomencl

This fixes "New Inset" in that dialog.

Candidate for stable

5 years agoMore QDialogButtonBox
Juergen Spitzmueller [Tue, 10 Jul 2018 07:04:42 +0000 (09:04 +0200)]
More QDialogButtonBox

Listings through Prefs.

5 years agoDisallow any inset inside ERT
Juergen Spitzmueller [Tue, 10 Jul 2018 05:11:59 +0000 (07:11 +0200)]
Disallow any inset inside ERT

Attempting to do this crashes in master, and is not supported anyway.

5 years agoFix bug #10177.
Richard Kimberly Heck [Mon, 9 Jul 2018 01:38:00 +0000 (21:38 -0400)]
Fix bug #10177.

The left margin given at class level should apply only to the main text.

5 years agoMore QDialogButtonBox transformation
Juergen Spitzmueller [Mon, 9 Jul 2018 07:46:39 +0000 (09:46 +0200)]
More QDialogButtonBox transformation

GuiDelimiter through GuiIndex

See #11003

5 years agoAmend 0570d16a3b211
Juergen Spitzmueller [Sun, 8 Jul 2018 14:48:58 +0000 (16:48 +0200)]
Amend 0570d16a3b211

When slot[Ok|Apply|Cancel]() from GuiDialog are re-implemented, we also
need to re-implement slotButtonBox()

5 years agoStart using QDialogButtonGroup rather than manual OK etc. buttons
Juergen Spitzmueller [Sun, 8 Jul 2018 14:35:38 +0000 (16:35 +0200)]
Start using QDialogButtonGroup rather than manual OK etc. buttons

This assures the OK/Apply/Cancel/Restore buttons use the layout/style
of the OS (button order, icons).

The goal is to move all dialogs to this for 2.4.

See #11003

5 years agoUpdate sk.po
Kornel Benko [Sun, 8 Jul 2018 11:45:02 +0000 (13:45 +0200)]
Update sk.po

5 years agoMinor doc tweaks/corrections
Juergen Spitzmueller [Sun, 8 Jul 2018 10:38:56 +0000 (12:38 +0200)]
Minor doc tweaks/corrections

5 years agode.po: update
Juergen Spitzmueller [Sun, 8 Jul 2018 10:20:21 +0000 (12:20 +0200)]
de.po: update

5 years agoPolish Bib(la)TeX dialog
Juergen Spitzmueller [Sun, 8 Jul 2018 10:13:47 +0000 (12:13 +0200)]
Polish Bib(la)TeX dialog

5 years agoUpdate sk.po
Kornel Benko [Sat, 7 Jul 2018 14:14:34 +0000 (16:14 +0200)]
Update sk.po

5 years agoRevert "Remove dependences from .layout files"
Kornel Benko [Sat, 7 Jul 2018 14:08:48 +0000 (16:08 +0200)]
Revert "Remove dependences from .layout files"

Some styles are not second-level dependencies

This reverts commit 92c8a864071f02eb98bccc466bd5e98a9098fa91.

5 years agode.po: update
Juergen Spitzmueller [Sat, 7 Jul 2018 13:36:00 +0000 (15:36 +0200)]
de.po: update

5 years agoupdate tex2lyx tests
Juergen Spitzmueller [Sat, 7 Jul 2018 13:28:40 +0000 (15:28 +0200)]
update tex2lyx tests

5 years agoAdd support for bib files encoding
Juergen Spitzmueller [Sat, 7 Jul 2018 13:25:35 +0000 (15:25 +0200)]
Add support for bib files encoding

File format change.

Fixes: #6223
5 years agoRemove dependences from .layout files
Kornel Benko [Sat, 7 Jul 2018 12:13:40 +0000 (14:13 +0200)]
Remove dependences from .layout files

5 years agosk.po, some shortcut corrections
Kornel Benko [Sat, 7 Jul 2018 09:32:16 +0000 (11:32 +0200)]
sk.po, some shortcut corrections

5 years agoAmend 8da02501, Add bindings for inset-settings
Kornel Benko [Sat, 7 Jul 2018 09:29:40 +0000 (11:29 +0200)]
Amend 8da02501, Add bindings for inset-settings

Added binding to emacs.bind too

5 years agoCmake tests: Simplify creation of batch tests
Kornel Benko [Sat, 7 Jul 2018 09:25:36 +0000 (11:25 +0200)]
Cmake tests: Simplify creation of batch tests

5 years agoCmake key tests: Corrected test findadv-21
Kornel Benko [Sat, 7 Jul 2018 09:10:20 +0000 (11:10 +0200)]
Cmake key tests: Corrected test findadv-21

Uses the correct shortcuts from lib/bind/sk/menus.bind, but fails nonetheless
because the regex for advanced search cannot find the correct list type.
(That is: it cannot distinguish between 'enumerate', 'itemize', 'labeling', etc.)

5 years agoCorrectly calculate cell metrics with xtabular columns
Juergen Spitzmueller [Sat, 7 Jul 2018 07:18:47 +0000 (09:18 +0200)]
Correctly calculate cell metrics with xtabular columns

Fixes rest of #11182

5 years agoDo not expand tabular cells to maxwidth on line break
Juergen Spitzmueller [Fri, 6 Jul 2018 14:15:13 +0000 (16:15 +0200)]
Do not expand tabular cells to maxwidth on line break

Fixes part of #11182.

5 years agoAmend 9f9041db7a7e
Juergen Spitzmueller [Fri, 6 Jul 2018 12:36:41 +0000 (14:36 +0200)]
Amend 9f9041db7a7e

move cl2emult to obsolete category

5 years agoUpdate sk.po
Kornel Benko [Fri, 6 Jul 2018 09:06:46 +0000 (11:06 +0200)]
Update sk.po

5 years agode.po: update
Juergen Spitzmueller [Fri, 6 Jul 2018 08:18:06 +0000 (10:18 +0200)]
de.po: update

5 years agoRemove entry for obsolete class.
Juergen Spitzmueller [Fri, 6 Jul 2018 08:12:51 +0000 (10:12 +0200)]
Remove entry for obsolete class.

5 years agoUse more informative descriptions fro Springer layouts
Juergen Spitzmueller [Fri, 6 Jul 2018 08:09:13 +0000 (10:09 +0200)]
Use more informative descriptions fro Springer layouts

5 years agoUpdate elsarticle entry in LaTeXConfig
Juergen Spitzmueller [Thu, 5 Jul 2018 17:28:15 +0000 (19:28 +0200)]
Update elsarticle entry in LaTeXConfig

5 years agodtk.layout: Remove secondary dependencies due to change in TL2018
Kornel Benko [Thu, 5 Jul 2018 15:53:15 +0000 (17:53 +0200)]
dtk.layout: Remove secondary dependencies due to change in TL2018

5 years agoFix typo
Juergen Spitzmueller [Thu, 5 Jul 2018 15:49:46 +0000 (17:49 +0200)]
Fix typo

5 years agoFixes to input method handling
Jean-Marc Lasgouttes [Thu, 5 Jul 2018 12:01:56 +0000 (14:01 +0200)]
Fixes to input method handling

The goal of this patch is to make "self-insert <string>" act as a
sequence of individual self-insert calls. Once it is done, the
insertion of the commit string in GuiWorkArea can use that, which
fixes the issues described in bug 11183.

1/ in InsetMathNest, SELF_INSERT is rewritten to be a proper loop of
   interpretChar, instead of inserting the string as characters. This
   solves the issue of interpreting ^ properly.

2/ the text version does not need to be changed (the loop is rewritten
   using a range, though).

3/ Then {{{GuiWorkArea::inputMethodEvent}}} is changed to invoke
   directly self-insert. This removes the update issues.

Fixes bug 11183.

5 years agoAutodetect the EMF format
Enrico Forestieri [Wed, 4 Jul 2018 17:52:13 +0000 (19:52 +0200)]
Autodetect the EMF format

Otherwise it will be recognized only by the file extension, because
libmagic returns "application/octet-stream" as mime type. Moreover,
if the emf encapsulates a binary image format, it can be confused
with this other format and its preview on screen fails.

5 years agoMake toolbar icons like Itemize toggle
Jean-Marc Lasgouttes [Wed, 4 Jul 2018 10:11:24 +0000 (12:11 +0200)]
Make toolbar icons like Itemize toggle

Copy the old layout_* icons to layout-toggle_*

Fixes bug 9864.

5 years agoFix compilation on case insensitive filesystems
Enrico Forestieri [Wed, 4 Jul 2018 07:42:04 +0000 (09:42 +0200)]
Fix compilation on case insensitive filesystems

In such filesystems, including either Magic.h or magic.h does not
make any difference and the one or other file is included depending
on the search order. In this case, Magic.h was trying to include
itself instead of including magic.h.

5 years agofix compilation when libmagic is not used
Jean-Marc Lasgouttes [Tue, 3 Jul 2018 19:18:26 +0000 (21:18 +0200)]
fix compilation when libmagic is not used