]> git.lyx.org Git - lyx.git/log
lyx.git
7 years agoBufferParams: rename formula_indent to math_indent etc. as requested
Uwe Stöhr [Thu, 13 Apr 2017 00:31:26 +0000 (02:31 +0200)]
BufferParams: rename formula_indent to math_indent etc. as requested

- also add flyx2lyx feature to import existing document class option as requested by JMarc
- also don't use a real default indentation length

7 years agoAvoid an assertion when compiling in debug mode with MSVC 2015
Enrico Forestieri [Wed, 12 Apr 2017 19:19:42 +0000 (21:19 +0200)]
Avoid an assertion when compiling in debug mode with MSVC 2015

Seemingly, when removing an argument from argv, and thus inserting
a null pointer to shorten the array, causes an assertion because
the null pointer is not a valid heap pointer (sic!)

Fixes bug #10440

7 years agoFontUi: Fix layout
Juergen Spitzmueller [Wed, 12 Apr 2017 10:49:38 +0000 (12:49 +0200)]
FontUi: Fix layout

The old layout resulted in a too wide dialog
(especially in some localizations)

7 years agoctests: test unicodesymbols also with utf8.
Günter Milde [Tue, 11 Apr 2017 07:51:23 +0000 (09:51 +0200)]
ctests: test unicodesymbols also with utf8.

The the default input encoding (utf8) whas somehow dropped from
the list. Restore it with explicit naming.

7 years agoTextLayout.ui: small layout fixes.
Juergen Spitzmueller [Wed, 12 Apr 2017 10:10:58 +0000 (12:10 +0200)]
TextLayout.ui: small layout fixes.

7 years agoNo need to translate number
Juergen Spitzmueller [Wed, 12 Apr 2017 09:57:43 +0000 (11:57 +0200)]
No need to translate number

7 years agode.po
Juergen Spitzmueller [Wed, 12 Apr 2017 09:53:58 +0000 (11:53 +0200)]
de.po

7 years agoInsetFloat.cpp: fix bug #10618
Uwe Stöhr [Tue, 11 Apr 2017 22:22:23 +0000 (00:22 +0200)]
InsetFloat.cpp: fix bug #10618

the label code missed to check all options (rotated, span columns)

7 years agoUpdate sk.po
Kornel Benko [Tue, 11 Apr 2017 07:27:00 +0000 (09:27 +0200)]
Update sk.po

7 years agoFORMAT: correct a date
Uwe Stöhr [Tue, 11 Apr 2017 00:03:19 +0000 (02:03 +0200)]
FORMAT: correct a date

7 years agotex2lyx: support rotated algorithm floats
Uwe Stöhr [Mon, 10 Apr 2017 22:36:00 +0000 (00:36 +0200)]
tex2lyx: support rotated algorithm floats

LyX knows algorithm floats since ages. tex2lyx's support for rotated algorithm floats has simply been forgotten.

7 years agoTextLayoutUi.ui: correct a tooltip
Uwe Stöhr [Mon, 10 Apr 2017 21:34:20 +0000 (23:34 +0200)]
TextLayoutUi.ui: correct a tooltip

7 years agoSet encoding correctly when reading layout files
Jean-Marc Lasgouttes [Mon, 10 Apr 2017 13:06:14 +0000 (15:06 +0200)]
Set encoding correctly when reading layout files

Patch from Enrico.

7 years agoTry to preserve small details from eb4a2a19
Jean-Marc Lasgouttes [Mon, 10 Apr 2017 09:21:29 +0000 (11:21 +0200)]
Try to preserve small details from eb4a2a19

Part of ticket #10569

7 years agoBetter implementation for corssOutLines
Jean-Marc Lasgouttes [Mon, 10 Apr 2017 08:27:08 +0000 (10:27 +0200)]
Better implementation for corssOutLines

When trying to do implement a LaTeX feature on screen, it is always
good to see how LaTeX does it, just in case it is easy to implement on
our side.

Then we have a correct output at all DPI sizes.

7 years agoMake output of check_Length.cpp more human readable.
Kornel Benko [Mon, 10 Apr 2017 07:57:40 +0000 (09:57 +0200)]
Make output of check_Length.cpp more human readable.

7 years agoupdate canAutoOpenFile/autoOpenFile implementation to new MacOSX API, avoid deprecate...
Stephan Witt [Sat, 8 Apr 2017 19:01:17 +0000 (21:01 +0200)]
update canAutoOpenFile/autoOpenFile implementation to new MacOSX API, avoid deprecated calls

7 years ago#9006 care to make prefs2prefs.py python 3 compatible
Stephan Witt [Sat, 8 Apr 2017 18:58:16 +0000 (20:58 +0200)]
#9006 care to make prefs2prefs.py python 3 compatible

7 years agoUpdate sk.po
Kornel Benko [Sat, 8 Apr 2017 09:43:39 +0000 (11:43 +0200)]
Update sk.po

7 years agotex2lyx: fix the preamble output
Uwe Stöhr [Sat, 8 Apr 2017 02:55:22 +0000 (04:55 +0200)]
tex2lyx: fix the preamble output

- LyX has new preamble tags. Although that they are not relevant for LaTeX they must be created by tex2lyx nevertheless
- also fix an issue that the formula indentation was always output
- update the tex2lyx tests accordingly

7 years agoupdate tex2lyx tests to latest file format
Uwe Stöhr [Sat, 8 Apr 2017 02:13:05 +0000 (04:13 +0200)]
update tex2lyx tests to latest file format

7 years agoLength.cpp: add new unit representing \baselineskip
Uwe Stöhr [Sat, 8 Apr 2017 01:30:21 +0000 (03:30 +0200)]
Length.cpp: add new unit representing \baselineskip

- fileformat change

7 years agoInsetTabular.cpp: handle crossed-out text
Uwe Stöhr [Sat, 8 Apr 2017 00:55:00 +0000 (02:55 +0200)]
InsetTabular.cpp: handle crossed-out text

7 years agoGuiDocument.cpp: commit missing part
Uwe Stöhr [Sat, 8 Apr 2017 00:16:05 +0000 (02:16 +0200)]
GuiDocument.cpp: commit missing part

This should have been committed with the previous commit but failed for an unknown reason.

7 years agoMathsUi.ui. move formula indentation to text layout as requested by Jmarc
Uwe Stöhr [Sat, 8 Apr 2017 00:12:35 +0000 (02:12 +0200)]
MathsUi.ui. move formula indentation to text layout as requested by Jmarc

7 years agoMathsUi.ui: next attempt to make it look correct also under Linux
Uwe Stöhr [Fri, 7 Apr 2017 23:39:08 +0000 (01:39 +0200)]
MathsUi.ui: next attempt to make it look correct also under Linux

7 years agoMathAtom is a unique_ptr
Guillaume MM [Sun, 2 Apr 2017 19:04:06 +0000 (21:04 +0200)]
MathAtom is a unique_ptr

Fix coverity suggestion of defining a move constructor

7 years agoMake runtests.py python3 ready
Kornel Benko [Fri, 7 Apr 2017 16:51:35 +0000 (18:51 +0200)]
Make runtests.py python3 ready

Tex2lyx tests with ctest depend on it

7 years agoAvoid using buffer() which might throw an exception
Jean-Marc Lasgouttes [Fri, 7 Apr 2017 10:04:02 +0000 (12:04 +0200)]
Avoid using buffer() which might throw an exception

Actually buffer_ is always valid on this codepath, but coverity is not
able to see that.

7 years agoAvoid using theServer() for no reason
Jean-Marc Lasgouttes [Fri, 7 Apr 2017 09:02:36 +0000 (11:02 +0200)]
Avoid using theServer() for no reason

All it brings us is threatening to throw an exception to scare coverity off.

7 years agoMathsUi.ui: adjust dimensions as requested
Uwe Stöhr [Fri, 7 Apr 2017 00:14:34 +0000 (02:14 +0200)]
MathsUi.ui: adjust dimensions as requested

7 years agoBufferParams.cpp; initialize formula_indentation with default value
Uwe Stöhr [Thu, 6 Apr 2017 23:52:48 +0000 (01:52 +0200)]
BufferParams.cpp; initialize formula_indentation with default value

- Buffer.cpp: formula_indentation will not always be output/written -> erase it

7 years agoRow::Element::x2pos: go to nearest point also over insets
Jean-Marc Lasgouttes [Thu, 6 Apr 2017 13:13:24 +0000 (15:13 +0200)]
Row::Element::x2pos: go to nearest point also over insets

getPosNearX, which is the only user of x2pos, should always return the
nearest position.

In editXY, there is a need to return the position where the inset
stands, but it is done using checkInsetHit.

This is a simplification of commit eb4a2a19, which has been reverted
at 01f0ab64a.

Fixes part of bug #10569.

7 years agoRevert "When selecting text with the mouse, inset selection happens in the middle"
Jean-Marc Lasgouttes [Sat, 1 Apr 2017 11:09:23 +0000 (13:09 +0200)]
Revert "When selecting text with the mouse, inset selection happens in the middle"

This reverts commit eb4a2a190f2640d2a6ab7146cfcc347e70b57044.

7 years agoeditXY: make cursor positionning correct over non editable inset
Jean-Marc Lasgouttes [Thu, 6 Apr 2017 13:08:50 +0000 (15:08 +0200)]
editXY: make cursor positionning correct over non editable inset

Instead of using complicated (and wrong) code, it is better to use
getPosNearX here.

Also simplify the code by removing temporary variables.

Fixes part of #10569.

7 years agoSet boundary correctly in getPosNearX
Jean-Marc Lasgouttes [Thu, 6 Apr 2017 13:05:19 +0000 (15:05 +0200)]
Set boundary correctly in getPosNearX

The code that looks whether neighbor block has a different direction
should look to the left or to the right depending on the direction of
the current block.

Fixes part of bug #10569

7 years agoRequire automake 1.14 and autoconf 2.65
Jean-Marc Lasgouttes [Thu, 6 Apr 2017 11:48:32 +0000 (13:48 +0200)]
Require automake 1.14 and autoconf 2.65

This allows to fix distclean properly, since we know that
subdir-objects is used. When it is the case, it is not a good idea for
a Makefile to use a source file which is under the control of another
one. This could not be made to work work with old automake versions
(<1.14).

Therefore we refer directly to object files in Makefile.am instead of
source files. The actually leads to less compilation in tex2lyx.

Update the code here and there to remove compatibility hacks. Update
documentation.

Re-enable the layout test and fix the Length test, which was ovewriting
memory in test_inPixels() because lyxrc did not had a correct layout.

7 years agoMake it clear that current_view_ is available when needed
Jean-Marc Lasgouttes [Wed, 5 Apr 2017 15:10:13 +0000 (17:10 +0200)]
Make it clear that current_view_ is available when needed

In particular the LATTEST in createView tells coverity that creating a
view sets it as current_view_.

7 years agoDocument new behavior of "delete" LFUNs
Scott Kostyshak [Thu, 6 Apr 2017 04:34:51 +0000 (00:34 -0400)]
Document new behavior of "delete" LFUNs

- Describe the change in RELEASE-NOTES.
- Update the example for inset-forall.

This commit follows 71623b88.

7 years agoKeep RELEASE-NOTES as ASCII
Scott Kostyshak [Thu, 6 Apr 2017 04:13:32 +0000 (00:13 -0400)]
Keep RELEASE-NOTES as ASCII

Might as well make it as simple as possible.

7 years agoRemove "Bummer" from the "Save failed!" message
Scott Kostyshak [Thu, 6 Apr 2017 02:08:10 +0000 (22:08 -0400)]
Remove "Bummer" from the "Save failed!" message

There is a small chance that the user could get offended by this
nonchalant word in a data loss situation.

For discussion, see

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

7 years agoMathsUi.ui: adjust the size to fit better
Uwe Stöhr [Thu, 6 Apr 2017 01:07:58 +0000 (03:07 +0200)]
MathsUi.ui: adjust the size to fit better

7 years agoWin installer: add packages necessary for Unicode math support
Uwe Stöhr [Wed, 5 Apr 2017 22:10:51 +0000 (00:10 +0200)]
Win installer: add packages necessary for Unicode math support

- and one for Arabic script languages like Urdu

7 years agosupport to indent formulas
Uwe Stöhr [Wed, 5 Apr 2017 20:22:47 +0000 (22:22 +0200)]
support to indent formulas

- adds support for the general document class option fleqn
- adds support to specify the formula indentation
- fileformat change

7 years agoUse assertions to declare things we know for sure
Jean-Marc Lasgouttes [Wed, 5 Apr 2017 09:53:17 +0000 (11:53 +0200)]
Use assertions to declare things we know for sure

Doing it that way makes coverity happy.

7 years agoCheck both lower and upper bound for tainted loop limit
Jean-Marc Lasgouttes [Wed, 5 Apr 2017 08:22:52 +0000 (10:22 +0200)]
Check both lower and upper bound for tainted loop limit

In these cases, the lower bound is not that important, but coverity insists on it.

7 years agoReplace coverity annotation by an assertion
Jean-Marc Lasgouttes [Wed, 5 Apr 2017 08:20:01 +0000 (10:20 +0200)]
Replace coverity annotation by an assertion

And reorganize the code a bit.

7 years agoLaTeXConfig.lyx: add the noto fonts
Uwe Stöhr [Tue, 4 Apr 2017 23:19:40 +0000 (01:19 +0200)]
LaTeXConfig.lyx: add the noto fonts

7 years agoFuncCode.h: correct a date
Uwe Stöhr [Tue, 4 Apr 2017 22:06:37 +0000 (00:06 +0200)]
FuncCode.h: correct a date

7 years agoAdd support to cross out characters
Uwe Stöhr [Tue, 4 Apr 2017 22:01:19 +0000 (00:01 +0200)]
Add support to cross out characters

- adds support for the command \xout of the LateX package ulem
- fileformat change

7 years agolatexfonts: correct previous commit
Uwe Stöhr [Tue, 4 Apr 2017 21:08:45 +0000 (23:08 +0200)]
latexfonts: correct previous commit

this went in accidentally

7 years agolatexfonts: support for the Noto fonts
Uwe Stöhr [Tue, 4 Apr 2017 21:02:47 +0000 (23:02 +0200)]
latexfonts: support for the Noto fonts

- fileformat change
- the support to scale the sf and the tt fonts can be added later, see enhancement #10611

7 years agoconfigure.py: add support for Python 3 on Windows
Uwe Stöhr [Tue, 4 Apr 2017 20:35:49 +0000 (22:35 +0200)]
configure.py: add support for Python 3 on Windows

fixes the last missing part of bug #9006 (hopefully)

7 years agoTry another way of convincing coverity that everything is fine
Jean-Marc Lasgouttes [Tue, 4 Apr 2017 07:35:55 +0000 (09:35 +0200)]
Try another way of convincing coverity that everything is fine

We have a false positive here, but annotating with coverity[] comments
is not very convenient. Let's try to use good old assertions instead.

7 years agoWin installer: add 2 fonts to packages list
Uwe Stöhr [Tue, 4 Apr 2017 00:08:49 +0000 (02:08 +0200)]
Win installer: add 2 fonts to packages list

7 years agotex2lyx: support for the cochineal fonts
Uwe Stöhr [Mon, 3 Apr 2017 22:19:14 +0000 (00:19 +0200)]
tex2lyx: support for the cochineal fonts

7 years agoRevert "Possible fix for bug #10295."
Jean-Marc Lasgouttes [Mon, 3 Apr 2017 10:29:09 +0000 (12:29 +0200)]
Revert "Possible fix for bug #10295."

This reverts commit 9b0b45dc81e8f1bc5cf370f0a9a8f60b8d93f4e6.

(committed by mistake)

7 years agoWhen converting, indicate clearly when buffer should exist
Jean-Marc Lasgouttes [Mon, 3 Apr 2017 10:25:17 +0000 (12:25 +0200)]
When converting, indicate clearly when buffer should exist

This makes coverity happy, and makes out code a tiny tiny bit better
commented.

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

As it was, the comparison buffer was sharing a DocumentClass with
one of the compared buffers. I don't fully understand why this was
causing a problem, since we use a shared_ptr. But this patch creates
a new DocumentClass for the new buffer.

7 years agoFix bug #10581
Enrico Forestieri [Sun, 2 Apr 2017 22:26:49 +0000 (00:26 +0200)]
Fix bug #10581

Tell the math parser that we are parsing a macro definition, so that
it doesn't try to return a verbatim copy in case of failure.

7 years agoFix bug #10554
Enrico Forestieri [Sun, 2 Apr 2017 21:56:25 +0000 (23:56 +0200)]
Fix bug #10554

The \lyxdeleted macro cannot cope with \newpage & co.

7 years agoRestrict file cache expiry time to positive values.
Tommaso Cucinotta [Sun, 2 Apr 2017 12:55:33 +0000 (14:55 +0200)]
Restrict file cache expiry time to positive values.

7 years agoVSpace.cpp: fix 2 compiler warnings
Uwe Stöhr [Sat, 1 Apr 2017 17:54:33 +0000 (19:54 +0200)]
VSpace.cpp: fix 2 compiler warnings

A division can always lead to a non integer.

7 years agoImprove drawing of math roots (\sqrt and \root)
Jean-Marc Lasgouttes [Fri, 31 Mar 2017 16:50:14 +0000 (18:50 +0200)]
Improve drawing of math roots (\sqrt and \root)

This is preliminary work to make roots look more like in TeX output:

* correct font size for root order

* set minimum size of the root from the max ascent descent of the
  font. This is what TeX does.

* fix drawing, and in particular horizontal size.

More needs to be done, in particular:

* handle zooming and dpi correctly by removing hardcoded pixel values.

* factor the code for the two types of roots in one.

7 years agoWork around bug in QTextLine::xToCursor
Jean-Marc Lasgouttes [Fri, 31 Mar 2017 14:56:06 +0000 (16:56 +0200)]
Work around bug in QTextLine::xToCursor

With RtL text, the method can be non-monotonic wrt x value (which is a
Qt bug). To work around this, we check whether positions adjacent to
those returned by xToCursor look better. Depending on whether the new
x position is too small or too large, we look backward or forward for
a better solution.

The performance is probably not great, but this is only needed for
user interactions, so the performance penalty should not be a problem.

Fixes #10569.

7 years agoModel lyx_exit() to tell coverity what it does
Jean-Marc Lasgouttes [Fri, 31 Mar 2017 14:51:02 +0000 (16:51 +0200)]
Model lyx_exit() to tell coverity what it does

7 years agoCatch another exception
Jean-Marc Lasgouttes [Fri, 31 Mar 2017 12:00:46 +0000 (14:00 +0200)]
Catch another exception

Spotted by coverity.

7 years agoPlay again with coverity annotation
Jean-Marc Lasgouttes [Fri, 31 Mar 2017 11:59:29 +0000 (13:59 +0200)]
Play again with coverity annotation

The documentation is scarce and it is difficult to see what notation
is right.

7 years agoHandle exception thrown by Buffer::emergencyWrite
Jean-Marc Lasgouttes [Fri, 31 Mar 2017 11:38:35 +0000 (13:38 +0200)]
Handle exception thrown by Buffer::emergencyWrite

Spotted by coverity

7 years agoReplace coverity annotation by assertions
Jean-Marc Lasgouttes [Fri, 31 Mar 2017 09:47:47 +0000 (11:47 +0200)]
Replace coverity annotation by assertions

7 years agoA better way to tell coverity that we do not care about result
Jean-Marc Lasgouttes [Fri, 31 Mar 2017 09:38:30 +0000 (11:38 +0200)]
A better way to tell coverity that we do not care about result

7 years agoWhen scanning CVS skip unreadable lines
Jean-Marc Lasgouttes [Fri, 31 Mar 2017 09:33:34 +0000 (11:33 +0200)]
When scanning CVS skip unreadable lines

Spotted by coverity.

7 years agoTell coverity that LAPPERR kills LyX too.
Jean-Marc Lasgouttes [Fri, 31 Mar 2017 09:31:44 +0000 (11:31 +0200)]
Tell coverity that LAPPERR kills LyX too.

7 years agoFollowup to e10db6c7: handle InsetCitation too.
Jean-Marc Lasgouttes [Fri, 31 Mar 2017 09:23:28 +0000 (11:23 +0200)]
Followup to e10db6c7: handle InsetCitation too.

7 years agoWhen destructing a workarea, ignore buffer exceptions
Jean-Marc Lasgouttes [Fri, 31 Mar 2017 09:16:08 +0000 (11:16 +0200)]
When destructing a workarea, ignore buffer exceptions

Spotted by coverity, but probably harmless.

7 years agoAnnotate destructors to please coverity
Jean-Marc Lasgouttes [Mon, 27 Mar 2017 14:18:14 +0000 (16:18 +0200)]
Annotate destructors to please coverity

Coverity flags this code as not handling exception that may happen in buffer().

My own analysis is that this can never happen because isBufferValid()
does check whether buffer_ is null.

Any insght appreciated. The commit should be expeanded to more cases, actually.

7 years agoCmake build: Project names *should* be uniq
Kornel Benko [Thu, 30 Mar 2017 12:01:56 +0000 (14:01 +0200)]
Cmake build: Project names *should* be uniq

7 years agoGet the file system encoding from sys instead of the locale
José Matos [Wed, 29 Mar 2017 13:24:34 +0000 (14:24 +0100)]
Get the file system encoding from sys instead of the locale

7 years agolyx2lyx: convert iteritems -> items to be compatible with python 2 and 3
José Matos [Wed, 29 Mar 2017 11:34:53 +0000 (12:34 +0100)]
lyx2lyx: convert iteritems -> items to be compatible with python 2 and 3

7 years agoMissing initialization in 555338048
Jean-Marc Lasgouttes [Wed, 29 Mar 2017 10:03:57 +0000 (12:03 +0200)]
Missing initialization in 555338048

Thanks to coverity.

7 years agoAdd possibility for command inset to inherit enclosing font
Jean-Marc Lasgouttes [Thu, 23 Jun 2016 17:45:10 +0000 (19:45 +0200)]
Add possibility for command inset to inherit enclosing font

The RenderButton object now has this property. It is set depending on
the value of inheritFont() method that is currently only set for
InsetRef, InsetBibtex and InsetCitation.

Fixes bug #10258

7 years agoAccount for unicode chars in tempdir path on Windows
Enrico Forestieri [Tue, 28 Mar 2017 10:05:52 +0000 (12:05 +0200)]
Account for unicode chars in tempdir path on Windows

7 years agoLimit multirow to 100 columns in mathed
Jean-Marc Lasgouttes [Tue, 28 Mar 2017 09:41:27 +0000 (11:41 +0200)]
Limit multirow to 100 columns in mathed

Spotted by coverity, this avoids a blocking loop when parsing.

7 years agoMake LFUN_REPEAT more robust by limiting to 10000 iterations
Jean-Marc Lasgouttes [Tue, 28 Mar 2017 09:30:18 +0000 (11:30 +0200)]
Make LFUN_REPEAT more robust by limiting to 10000 iterations

7 years agoLimit the amount of derivatives in external CAS
Jean-Marc Lasgouttes [Tue, 28 Mar 2017 09:17:35 +0000 (11:17 +0200)]
Limit the amount of derivatives in external CAS

The (arbitrary) limit is 1000.

Pointed out by coverity. A bad value could lock LyX.

7 years agoUse convert instead of a stream to read LFUN_REPEAT count
Jean-Marc Lasgouttes [Tue, 28 Mar 2017 09:02:21 +0000 (11:02 +0200)]
Use convert instead of a stream to read LFUN_REPEAT count

At least coverity should find it safer.

7 years agoTry a simpler way to tell coverity that we do not care about the result
Jean-Marc Lasgouttes [Tue, 28 Mar 2017 08:52:59 +0000 (10:52 +0200)]
Try a simpler way to tell coverity that we do not care about the result

7 years agoOn windows, use the unicode version of ShellExecute
Enrico Forestieri [Mon, 27 Mar 2017 23:32:59 +0000 (01:32 +0200)]
On windows, use the unicode version of ShellExecute

7 years agoWhen running latex one needs to have a proper buffer
Jean-Marc Lasgouttes [Mon, 27 Mar 2017 15:43:18 +0000 (17:43 +0200)]
When running latex one needs to have a proper buffer

Calms down coverity

7 years agoHandle properly exception that can be thrown by to_local8bit
Jean-Marc Lasgouttes [Mon, 27 Mar 2017 14:08:22 +0000 (16:08 +0200)]
Handle properly exception that can be thrown by to_local8bit

Remove the use of this function in GuiAlert.

This was spotted by coverity

7 years agoAmend 16d5c49b
Enrico Forestieri [Mon, 27 Mar 2017 13:08:30 +0000 (15:08 +0200)]
Amend 16d5c49b

Remove redundant action when toggling the dashes check box.

7 years agoFix #9732: Inconsistent font properties for the preview and superscript insets
Enrico Forestieri [Mon, 27 Mar 2017 13:00:43 +0000 (15:00 +0200)]
Fix #9732: Inconsistent font properties for the preview and superscript insets

7 years agolyx2lyx: fix #9006 (python3 with non-utf8 encoding as the system default)
José Matos [Mon, 27 Mar 2017 10:35:29 +0000 (11:35 +0100)]
lyx2lyx: fix #9006 (python3 with non-utf8 encoding as the system default)

This patch fixes lyx2lyx running on python 3 for those systems
where the default encoding is not UTF-8, since open by default
uses the default system encoding.

7 years agolyx2lyx: remove trailing whitespaces from lyx_1_6.py
José Matos [Mon, 27 Mar 2017 10:26:58 +0000 (11:26 +0100)]
lyx2lyx: remove trailing whitespaces from lyx_1_6.py

7 years agolyx2lyx: more descriptive member name (document.start -> document.initial_format)
José Matos [Mon, 27 Mar 2017 09:36:30 +0000 (10:36 +0100)]
lyx2lyx: more descriptive member name (document.start -> document.initial_format)

7 years agolyx2lyx: Cosmetic clean up of the lyx_2_?.py files.
José Matos [Mon, 27 Mar 2017 09:16:31 +0000 (10:16 +0100)]
lyx2lyx: Cosmetic clean up of the lyx_2_?.py files.

Remove the duplicated \# -*- coding: utf-8 -*-
lines that show in the third line.
As far as I know they are not used, the first line though is used
by python and text editors (emacs, vi & co) to get the file encoding.
That will also work in the second lines (because of the shebang convention)
but not in other lines.

Remove trailing whitespaces.

7 years agouk.po: translation update for master by Yuri
Uwe Stöhr [Sun, 26 Mar 2017 22:04:25 +0000 (00:04 +0200)]
uk.po: translation update for master by Yuri

7 years agode.po: improve a string
Juergen Spitzmueller [Sun, 26 Mar 2017 16:11:32 +0000 (18:11 +0200)]
de.po: improve a string

7 years agoTranslate file filters for external material
Juergen Spitzmueller [Sun, 26 Mar 2017 16:10:30 +0000 (18:10 +0200)]
Translate file filters for external material

7 years agoGuiExternal: use proper model/view separation and sort the templates
Juergen Spitzmueller [Sun, 26 Mar 2017 15:56:47 +0000 (17:56 +0200)]
GuiExternal: use proper model/view separation and sort the templates