]> git.lyx.org Git - lyx.git/log
lyx.git
8 years agoFix compilation with clang++ 3.6.2.
Jean-Marc Lasgouttes [Mon, 2 Nov 2015 15:13:38 +0000 (16:13 +0100)]
Fix compilation with clang++ 3.6.2.

8 years agoDisable warning for deprecated functions in autoconf builds
Jean-Marc Lasgouttes [Mon, 2 Nov 2015 14:45:27 +0000 (15:45 +0100)]
Disable warning for deprecated functions in autoconf builds

This gets rid in particular of warnings on auto_ptr. This flag should be removed when 2.3 development start and we switch to unique_ptr.

8 years agoDisable setting vertical lines when using a formal table
Jean-Marc Lasgouttes [Tue, 27 Oct 2015 15:48:29 +0000 (16:48 +0100)]
Disable setting vertical lines when using a formal table

The code in InsetTabular disables the toolbar icons and menu entries related to vertical lines.

The code in GuiTabular disables vertical lines in the Settings dialog.
Note that there was a bug in
GuiSetBorders::set(Left|Right|Top|Bottom)Enabled, where the borders
did not get drawn correctly.

Fixes bug #9816

8 years agoSet current font correctly after inset-select-all
Jean-Marc Lasgouttes [Mon, 2 Nov 2015 13:35:50 +0000 (14:35 +0100)]
Set current font correctly after inset-select-all

Since we modify directly the cursor, it is wise to make sure that the current font is updated.

Fixes bug #9719.

8 years agoFix algorithm that computes horizontal scroll offset
Jean-Marc Lasgouttes [Tue, 27 Oct 2015 15:11:01 +0000 (16:11 +0100)]
Fix algorithm that computes horizontal scroll offset

Rewrite the logic completely:
* fix cases where the offset was reset unnecessarily
* fix cases where the row was scrolled too much: as soon as a side of the row is completely visible, there is no need to scroll more.
* fix cases where offset would never reset

8 years agoFix wrong reset of horizontal scolling of current row
Jean-Marc Lasgouttes [Tue, 27 Oct 2015 10:37:50 +0000 (11:37 +0100)]
Fix wrong reset of horizontal scolling of current row

This partially reverts commit 0f1fdaaa9, but only redraws the current
row when the value returns by getPos is obviously false. It would also
be possible to check whether the current cursor has all its insets in
cache instead.

A better fix should be found, but this is unfortunately not 2.2 stuff.

Fixes bugs #9796 and #9812.

8 years agoUpdate it.po
Enrico Forestieri [Mon, 2 Nov 2015 02:37:21 +0000 (03:37 +0100)]
Update it.po

8 years agoAdd Georg's idea for lyx2lyx tests to TestsToDo
Scott Kostyshak [Mon, 2 Nov 2015 01:01:46 +0000 (20:01 -0500)]
Add Georg's idea for lyx2lyx tests to TestsToDo

These tests would be like the tex2lyx tests we have and would have
the clear advantage of not depending on LyX.

8 years agoModule for the changebar package
Guillaume Munch [Sun, 1 Nov 2015 22:30:38 +0000 (22:30 +0000)]
Module for the changebar package

Author: Paul A. Rubin (rubin@msu.edu), based on code proposed by Juergen
Spitzmueller (http://comments.gmane.org/gmane.editors.lyx.general/66666).

http://mid.gmane.org/562ACBC5.8030102@msu.edu

8 years agoCorrect name
Guillaume Munch [Mon, 2 Nov 2015 00:10:27 +0000 (00:10 +0000)]
Correct name

8 years agoFix bug #9813
Guillaume Munch [Sun, 1 Nov 2015 23:58:41 +0000 (23:58 +0000)]
Fix bug #9813

tex/row correspondance for \end{tabular}.

8 years agoAdd warning message if we do no conversion.
Richard Heck [Sun, 1 Nov 2015 21:32:52 +0000 (16:32 -0500)]
Add warning message if we do no conversion.

8 years agoIf lyx2lyx is asked to convert a file to the format it already is,
Richard Heck [Sun, 1 Nov 2015 21:27:58 +0000 (16:27 -0500)]
If lyx2lyx is asked to convert a file to the format it already is,
then just perform a null conversion. This seems better than aborting
with an error. I can imagine a script that converted all files in a
certain directory to format 498, and you don't want it to be an error
if one of them is already 498.

Prior to this, what lyx2lyx would do is convert to the lowest format
in the current version. So, e.g., asked to convert 498 to 498 it would
convert to 474. That is obviously wrong.

8 years agoVarwidth module provided by d.iabo
Juergen Spitzmueller [Sun, 1 Nov 2015 10:00:23 +0000 (11:00 +0100)]
Varwidth module provided by d.iabo

See #9417.

8 years agoCmake export tests: Remove some testcases from 'revertedTests'
Kornel Benko [Sat, 31 Oct 2015 21:08:17 +0000 (22:08 +0100)]
Cmake export tests: Remove some testcases from 'revertedTests'

Some of the tests are now compilable, probably because of some  newer
TL2015 packages.
Reverts partly commit 8a4c9b6 for export/templates/ectaart...

8 years agoremove debug message.
Juergen Spitzmueller [Sat, 31 Oct 2015 11:10:49 +0000 (12:10 +0100)]
remove debug message.

8 years agoTypo
Scott Kostyshak [Sat, 31 Oct 2015 06:12:31 +0000 (02:12 -0400)]
Typo

8 years agoInitial commit of a file for plans of future tests
Scott Kostyshak [Sat, 31 Oct 2015 06:07:05 +0000 (02:07 -0400)]
Initial commit of a file for plans of future tests

The TestsToDo file will contain ideas for tests that we would like
to implement in the future.

8 years agoDocument various ways to run the tex2lyx tests
Scott Kostyshak [Sat, 31 Oct 2015 04:30:34 +0000 (00:30 -0400)]
Document various ways to run the tex2lyx tests

Each way might be preferred by a different developer and the more
ways that can be described of running the tests, the higher the
chance is that developers will find a way that works well for them.

8 years agoCmake tests: Display process while executing for target updatetex2lyxtests
Kornel Benko [Fri, 30 Oct 2015 12:28:20 +0000 (13:28 +0100)]
Cmake tests: Display process while executing for target updatetex2lyxtests

The execution took some time and the messages were delayed
until all test files were processed. Now as each testfile
is processed, the appropriate messages are printed.

There is also a new target: cleanupdatetex2lyxtests
It is the same as updatetex2lyxtests, but removes also
some extra created files from the source directory.

8 years agoctests: invert Math.lyx tests failing from mhchem
Scott Kostyshak [Fri, 30 Oct 2015 06:43:36 +0000 (02:43 -0400)]
ctests: invert Math.lyx tests failing from mhchem

The math document now depends on the mhchem package which produces
wrong output with XeTeX/LuaTeX and both TeX fonts and non-TeX fonts

See:
https://www.mail-archive.com/search?l=mid&q=n0sne9%24iis%241%40ger.gmane.org

8 years agoDocument why tests are enabled for all formats
Scott Kostyshak [Fri, 30 Oct 2015 02:48:28 +0000 (22:48 -0400)]
Document why tests are enabled for all formats

Explain why the export tests are enabled for formats that are not
expected to work well with certain document classes, modules, or
packages. The reason is that if a .lyx file goes from compiling
successfully for one format (even if that format is not officially
supported for the combination of features used), if that document
suddenly fails to compile, there is a significant chance that a bug
was introduced in LyX. In other words, there is a high signal/noise
ratio. If it is determined that a test is failing because an
expected incompatibility is exposed, then the test can be inverted.

8 years agoMore updates for the documentation on tests
Scott Kostyshak [Fri, 30 Oct 2015 02:11:11 +0000 (22:11 -0400)]
More updates for the documentation on tests

- general cleanup
- add some more useful commands
- specify how to configure the URL tests

Thanks to Kornel for the helpful suggestions.

8 years agoDocument how to run tests on windows
Georg Baum [Thu, 29 Oct 2015 21:20:37 +0000 (22:20 +0100)]
Document how to run tests on windows

8 years agoAdd "LyX Documentation Tools" toolbar
Georg Baum [Thu, 29 Oct 2015 19:02:52 +0000 (20:02 +0100)]
Add "LyX Documentation Tools" toolbar

People working on the documentation do probably want to switch this on. It
gives easy access to LyX and LaTeX logos (bug 9626), and the info and menu
separator insets.

8 years agoCmake tests: Remove the use of file(TIMESTAMP...)
Kornel Benko [Thu, 29 Oct 2015 10:07:34 +0000 (11:07 +0100)]
Cmake tests: Remove the use of file(TIMESTAMP...)

Cmake versions prior to 2.8.11 don't know this command, but
our minimal requirenment is 2.6.4

Thank to Vincent, it is replaced by using 'if(file1 IS_NEWER_THAN file2)' comparision.

8 years agoDisable "Show Output Anyway" button if empty file
Scott Kostyshak [Thu, 29 Oct 2015 02:51:24 +0000 (22:51 -0400)]
Disable "Show Output Anyway" button if empty file

Sometimes when compilation fails a PDF file is created but is empty
and the viewer gives an error when trying to view it. One such
example is compiling the current lib/examples/PDF-comment.lyx file
with TeX fonts and the following version of LuaTeX:

  beta-0.80.0 (TeX Live 2015) (rev 5238)

8 years agoDocument the export tests and other tests
Scott Kostyshak [Thu, 29 Oct 2015 06:24:20 +0000 (02:24 -0400)]
Document the export tests and other tests

The export tests, check_load tests, and URL tests are now documented
in the Development.lyx file. The export tests are described in
detail, such as how to run them and how to interpret the results.

8 years agoUpdate format
Scott Kostyshak [Wed, 28 Oct 2015 22:10:09 +0000 (18:10 -0400)]
Update format

8 years agocmake: Properly suppress CMake warning about qtmain
Vincent van Ravesteijn [Wed, 28 Oct 2015 19:19:49 +0000 (20:19 +0100)]
cmake: Properly suppress CMake warning about qtmain

CMake policy CMP0020 exists since version 2.8.11, so this prevents an
error on older versions.

This fixes up commit ec6f51b.

8 years agoCmake tests: Get rid of use of command 'env', which is not available under Windows.
Kornel Benko [Wed, 28 Oct 2015 16:59:28 +0000 (17:59 +0100)]
Cmake tests: Get rid of use of command 'env', which is not available under Windows.

8 years agoctests: comment for why the Russian docs fail
Scott Kostyshak [Wed, 28 Oct 2015 14:52:52 +0000 (10:52 -0400)]
ctests: comment for why the Russian docs fail

The LuaTeX non-TeX font tests fail because of LyX's preamble (the
part regarding hyperref), as explained by Günter.

8 years agoJustify row correctly after double space
Jean-Marc Lasgouttes [Wed, 28 Oct 2015 12:58:11 +0000 (13:58 +0100)]
Justify row correctly after double space

The wordSpacing property of a QFont object applies only once when there are multiple spaces between words. Therefore Row::Element::countSeparators shall not count spaces, but groups of spaces.

Fixes bug #9808.

8 years agoFix #9770 (unicodesymbols for wasysym)
Günter Milde [Wed, 28 Oct 2015 10:34:13 +0000 (11:34 +0100)]
Fix #9770 (unicodesymbols for wasysym)

8 years agoFix painting of selection with change tracking
Jean-Marc Lasgouttes [Wed, 28 Oct 2015 09:29:48 +0000 (10:29 +0100)]
Fix painting of selection with change tracking

When partially selecting an element, the selected text color was not
the same as when selecting it completely.

Fixes bug #9809.

8 years agoClarify the FIXME for PDF-info encoding.
Günter Milde [Wed, 28 Oct 2015 09:31:08 +0000 (10:31 +0100)]
Clarify the FIXME for PDF-info encoding.

8 years agoUpdate the FIXME for PDF-info encoding.
Günter Milde [Wed, 28 Oct 2015 09:15:31 +0000 (10:15 +0100)]
Update the FIXME for PDF-info encoding.

8 years agoupdate documentation in lib/languages
Günter Milde [Mon, 26 Oct 2015 15:40:53 +0000 (16:40 +0100)]
update documentation in lib/languages

8 years agostdmenus.inc: resolve a shortcut conflict
Uwe Stöhr [Wed, 28 Oct 2015 01:42:16 +0000 (02:42 +0100)]
stdmenus.inc: resolve a shortcut conflict

8 years agomoderncv.layout: update some styles and add new ones
Uwe Stöhr [Wed, 28 Oct 2015 01:27:32 +0000 (02:27 +0100)]
moderncv.layout: update some styles and add new ones

- support for at least modernCV 1.5 (layout will still work with moderncv 1.3 as before)
- fileformat change

8 years agoMake language nesting code more readable
Georg Baum [Tue, 27 Oct 2015 21:36:52 +0000 (22:36 +0100)]
Make language nesting code more readable

This is a tiny simplification that makes understanding the code more easy and
will help in fixing the remaining regressions. The logic remains the same, no
export test result is changed.

8 years agoFORMAT: fix a typo and add an info
Uwe Stöhr [Mon, 26 Oct 2015 23:30:26 +0000 (00:30 +0100)]
FORMAT: fix a typo and add an info

8 years agomodernCV.lyx: remove more preamble code
Uwe Stöhr [Mon, 26 Oct 2015 14:30:15 +0000 (15:30 +0100)]
modernCV.lyx: remove more preamble code

- add description how things can be adjusted the LyX way

8 years agomodernCV.lyx: remove unnecessary preamble code
Uwe Stöhr [Mon, 26 Oct 2015 13:36:50 +0000 (14:36 +0100)]
modernCV.lyx: remove unnecessary preamble code

- also add 2 hints

8 years agoFix commit 32edb659
Jean-Marc Lasgouttes [Mon, 26 Oct 2015 10:38:01 +0000 (11:38 +0100)]
Fix commit 32edb659

A bad test meant an embarassing red line on the left.

This is still bug #9807.

8 years agomoderncv.layout: updates
Uwe Stöhr [Mon, 26 Oct 2015 02:42:33 +0000 (03:42 +0100)]
moderncv.layout: updates

- suffix.sty is no longer used, hyperref and color are included and basic LaTeX
- fix 2 Argument definitions

8 years agocolored-boxes.lyx: more small fixes and improvements
Uwe Stöhr [Mon, 26 Oct 2015 02:15:47 +0000 (03:15 +0100)]
colored-boxes.lyx: more small fixes and improvements

8 years agomodernCV: updates
Uwe Stöhr [Mon, 26 Oct 2015 01:53:29 +0000 (02:53 +0100)]
modernCV: updates

- modernCV requires 2 new packages (since version 1.5 from 2013)
- update the example file to reflect the new features

8 years agocolored-boxes.lyx: some fixes
Uwe Stöhr [Mon, 26 Oct 2015 00:20:29 +0000 (01:20 +0100)]
colored-boxes.lyx: some fixes

8 years agoFix the partial patch for #9740 (XeTeX with TeX fonts), part 2.
Günter Milde [Sun, 25 Oct 2015 23:51:38 +0000 (00:51 +0100)]
Fix the partial patch for #9740 (XeTeX with TeX fonts), part 2.

8 years agoAvoid showing vertical scroll mark when not necessary
Jean-Marc Lasgouttes [Sun, 25 Oct 2015 22:58:58 +0000 (23:58 +0100)]
Avoid showing vertical scroll mark when not necessary

Now the mark if only shown when editable text is outside of the row.

Fixes bug #9807.

8 years agoMath.lyx: replace tables by formal ones - part 5
Uwe Stöhr [Sun, 25 Oct 2015 22:36:46 +0000 (23:36 +0100)]
Math.lyx: replace tables by formal ones - part 5

8 years agoEmbeddedObjects.lyx: remove an outdated info
Uwe Stöhr [Sun, 25 Oct 2015 22:02:03 +0000 (23:02 +0100)]
EmbeddedObjects.lyx: remove an outdated info

the mentioned varioref bug was fixed 5 years ago

8 years agoMath.lyx: replace tables by formal ones - part 4
Uwe Stöhr [Sun, 25 Oct 2015 17:34:47 +0000 (18:34 +0100)]
Math.lyx: replace tables by formal ones - part 4

- also add changelog file for the translators

8 years agoCmake export tests: Unintended removal of 'main' corrected
Kornel Benko [Sun, 25 Oct 2015 17:31:45 +0000 (18:31 +0100)]
Cmake export tests: Unintended removal of 'main' corrected

8 years agoCmake export tests: Use 'Dejavu' as non-tex font for Russian and Ukrainian docs
Kornel Benko [Sun, 25 Oct 2015 17:23:31 +0000 (18:23 +0100)]
Cmake export tests: Use 'Dejavu' as non-tex font for Russian and Ukrainian docs

Thanks to Guenter Milde

8 years agoMerge branch 'master' of git.lyx.org:lyx
Kornel Benko [Sun, 25 Oct 2015 15:29:11 +0000 (16:29 +0100)]
Merge branch 'master' of git.lyx.org:lyx

8 years agoMath.lyx: replace tables by formal ones - part 3
Uwe Stöhr [Sun, 25 Oct 2015 15:26:02 +0000 (16:26 +0100)]
Math.lyx: replace tables by formal ones - part 3

8 years agoCmake tests: Combine "text" field to extract translators name
Kornel Benko [Sun, 25 Oct 2015 15:23:59 +0000 (16:23 +0100)]
Cmake tests: Combine "text" field to extract translators name

While extracting names of a translator from the html page it can happen
that the perl's HTML::Parser module splits the "text".

8 years agoMath.lyx: replace tables by formal ones - part 2
Uwe Stöhr [Sun, 25 Oct 2015 14:48:45 +0000 (15:48 +0100)]
Math.lyx: replace tables by formal ones - part 2

8 years agoMath.lyx: correct images paths now correctly
Uwe Stöhr [Sun, 25 Oct 2015 13:32:27 +0000 (14:32 +0100)]
Math.lyx: correct images paths now correctly

8 years agoFix the partial patch for #9740 (XeTeX with TeX fonts).
Günter Milde [Sun, 25 Oct 2015 10:20:43 +0000 (11:20 +0100)]
Fix the partial patch for #9740 (XeTeX with TeX fonts).

8 years agoCmake test: Cmake tests: Check for consistency between po-files and lyx-trunk transla...
Kornel Benko [Sun, 25 Oct 2015 10:18:30 +0000 (11:18 +0100)]
Cmake test: Cmake tests: Check for consistency between po-files and lyx-trunk translations page.

This time with the correct CMakeLists.txt.

8 years agoRevert "Cmake tests: Check for consistency between po-files and lyx-trunk translation...
Kornel Benko [Sun, 25 Oct 2015 10:17:02 +0000 (11:17 +0100)]
Revert "Cmake tests: Check for consistency between po-files and lyx-trunk translations page."

This reverts commit 0a4fbe4836f6a34cb4b44e25b8b3ef097bb65126.

8 years agoCmake tests: Check for consistency between po-files and lyx-trunk translations page.
Kornel Benko [Sun, 25 Oct 2015 10:10:14 +0000 (11:10 +0100)]
Cmake tests: Check for consistency between po-files and lyx-trunk translations page.

8 years agoAdd toolbar icons for LyX documentation
Georg Baum [Sun, 25 Oct 2015 09:47:40 +0000 (10:47 +0100)]
Add toolbar icons for LyX documentation

These icons are for lfuns that are not very interesting for users, but quite
often used when working on the LyX documentation. Now we can create a special
LyX documentation toolbar.

8 years agoInvert some ctests that correctly fail
Scott Kostyshak [Sun, 25 Oct 2015 03:37:33 +0000 (23:37 -0400)]
Invert some ctests that correctly fail

These exports correctly fail now that we've switched to polyglossia.
Although they compiled without error with babel, the resulting PDFs
had gibberish.

8 years agoctests: uninvert tests that were fixed by updates
Scott Kostyshak [Sat, 24 Oct 2015 19:34:02 +0000 (15:34 -0400)]
ctests: uninvert tests that were fixed by updates

I believe these tests were fixed by TeX Live updates.

Comparing the log files for a system where the tests fail with a
system where the tests pass, below are some of the differences
between the "good" and "bad" logs:

bad:
LaTeX2e <2015/01/01>
Babel <3.9l>
Package: fontspec 2015/03/14 v2.4c
Package: expl3 2015/03/01 v5547 L3 programming layer

good:
LaTeX2e <2015/01/01> patch level 2
Babel <3.9m>
Package: fontspec 2015/07/22 v2.4d
Package: expl3 2015/07/30 v5724 L3 programming layer

8 years agoFix polyglossia exports for docs with babel cmds
Scott Kostyshak [Fri, 23 Oct 2015 22:11:19 +0000 (18:11 -0400)]
Fix polyglossia exports for docs with babel cmds

Many of our documents have babel-specific preamble code. By putting
this code in a \@ifpackageloaded{babel}{}{} conditional, XeTeX and
LuaTeX compilation with polyglossia now works. This fixes some
LuaTeX tests that were broken by edd37de8 and also allows us to
uninvert some XeTeX tests.

Note that in some of the files although the preambles were fixed to
allow for polyglossia, they still do not compile without errors:
es/Math.lyx
es/Customization.lyx
de/Customization.lyx

Similar fixes might be desired in other manuals but these at least
fix regressions in the tests.

8 years agoctests: uninvert some tests
Scott Kostyshak [Sat, 24 Oct 2015 07:13:12 +0000 (03:13 -0400)]
ctests: uninvert some tests

These tests were accidentally removed from the inverted list at
b2e49892.

8 years agoctests: uninvert some XeTeX tests that are fixed
Scott Kostyshak [Sat, 24 Oct 2015 06:51:15 +0000 (02:51 -0400)]
ctests: uninvert some XeTeX tests that are fixed

These tests were probably fixed with the recent fixes regarding
polyglossia by Jürgen and Georg.

8 years agoCorrect PolyglossiaOpts for Serbian
Scott Kostyshak [Sat, 24 Oct 2015 06:30:03 +0000 (02:30 -0400)]
Correct PolyglossiaOpts for Serbian

PolyglossiaOpts are case-sensitive so "latin" must be changed to
"Latin". Without this change, compiling examples/sr/Braille.lyx
with LuaTeX and system fonts gives the following error:

  Package Polyglossia Error: Unknown script `latin' for Serbian
  language

8 years agoctests: invert a test for a file recently added
Scott Kostyshak [Sat, 24 Oct 2015 06:00:12 +0000 (02:00 -0400)]
ctests: invert a test for a file recently added

The H-P-statements example was recently introduced (a610e29c) and
the LuaTeX test with system fonts has never passed.

8 years agoFix export with polyglossia and uninvert a manual
Scott Kostyshak [Sat, 24 Oct 2015 04:57:08 +0000 (00:57 -0400)]
Fix export with polyglossia and uninvert a manual

8 years agoUse "babel only" for some Spanish manuals
Scott Kostyshak [Sat, 24 Oct 2015 04:45:49 +0000 (00:45 -0400)]
Use "babel only" for some Spanish manuals

Many of our Spanish documents use babel-specific features in the
documents, e.g. to write "sin" in Spanish ("sen"). Because babel
seems to have good support for Spanish, I am setting the "Always
babel" for the manuals.

This fixes several LuaTeX tests with non-TeX fonts. A XeTeX test is
also reverted accordingly.

8 years agoctests: uninvert a XeTeX test that now passes
Scott Kostyshak [Sat, 24 Oct 2015 05:07:12 +0000 (01:07 -0400)]
ctests: uninvert a XeTeX test that now passes

This test was probably fixed with the recent fixes regarding
polyglossia by Jürgen and Georg.

8 years agoUpdate formats
Scott Kostyshak [Sat, 24 Oct 2015 00:28:15 +0000 (20:28 -0400)]
Update formats

Some of my following commits will make changes to these files
(mainly just changing the preambles). This commit simply updates the
format so the diffs of the following commits are easy to read.

8 years agoMath.lyx: repair broken paths
Uwe Stöhr [Sun, 25 Oct 2015 03:37:00 +0000 (04:37 +0100)]
Math.lyx: repair broken paths

this is caused by bug #9815

8 years agoMath.lyx: replace tables by formal ones - part 1
Uwe Stöhr [Sun, 25 Oct 2015 03:08:46 +0000 (04:08 +0100)]
Math.lyx: replace tables by formal ones - part 1

8 years agoWin installer: 2 fixes for the uninstaller
Uwe Stöhr [Sun, 25 Oct 2015 00:51:02 +0000 (02:51 +0200)]
Win installer: 2 fixes for the uninstaller

8 years agoFix a missing-braces warning for initialization of subobject
Stephan Witt [Sat, 24 Oct 2015 19:10:36 +0000 (21:10 +0200)]
Fix a missing-braces warning for initialization of subobject

8 years agoFor Mac OS: Additional check for Control and Meta modifier swap state.
Stephan Witt [Sat, 24 Oct 2015 19:03:01 +0000 (21:03 +0200)]
For Mac OS: Additional check for Control and Meta modifier swap state.
Starting with Qt 5 the modifiers aren't reported correctly for disabled swap.
Until this is fixed it is corrected by reverting the modifier mask to check for.

8 years agoNew configure options for Qt 5.6
Stephan Witt [Sat, 24 Oct 2015 18:48:08 +0000 (20:48 +0200)]
New configure options for Qt 5.6

8 years agoUpdate boost to version 1.59
Peter Kümmel [Sat, 24 Oct 2015 10:44:31 +0000 (12:44 +0200)]
Update boost to version 1.59

8 years agouse bash
Peter Kümmel [Sat, 24 Oct 2015 10:39:51 +0000 (12:39 +0200)]
use bash

8 years agoRevert the box alignment part of 8010b90c
Georg Baum [Fri, 23 Oct 2015 20:08:38 +0000 (22:08 +0200)]
Revert the box alignment part of 8010b90c

The horizontal alignment changes caused a regression for documents in older
formats. This could have been fixed by adding the following lines to the
format entry for 489 in development/FORMAT:

Previously, the horizontal position was ignored except for the
following parameter combinations:
- fixed width and type Boxed and without inner box
- fixed width and any type   and with    inner box and with makebox
Now, it is also used for the parameter combination below:
- makebox is not used and not (type Boxed and without inner box)

and a corresponding conversion to convert_BoxFeatures() in
lib/lyx2lyx/lyx_2_2.py. However, it was decided to revert the box alignment
changes instead: The box alignment can contradict the paragraph alignment. A
better way to avoid the additional space that can be created by paragraph
alignment (which was the motivation for implementing box alignment) is the
same as for table cells (see noTrivlistCentering() in src/Paragraph.cpp).
This would be a file format change and it is too late now for 2.2.0.

See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg188147.html for the
complete discussion (subject "Regression in lyx2lyx box alignment").

8 years agoSuppress CMake warning about qtmain
Peter Kümmel [Fri, 23 Oct 2015 14:59:31 +0000 (16:59 +0200)]
Suppress CMake warning about qtmain

8 years agoAlso cross compile with Qt5
Peter Kümmel [Fri, 23 Oct 2015 13:36:39 +0000 (15:36 +0200)]
Also cross compile with Qt5

Assume Ubuntu pathes for mingw.

8 years agoRemove linebreak after GCC version string
Peter Kümmel [Fri, 23 Oct 2015 13:20:32 +0000 (15:20 +0200)]
Remove linebreak after GCC version string

8 years agoRemove hard coded Qt selection when cross compiling for Windows
Peter Kümmel [Fri, 23 Oct 2015 13:14:09 +0000 (15:14 +0200)]
Remove hard coded Qt selection when cross compiling for Windows

8 years agoInsetMathNest.cpp: add \sideset to the autocomplete list
Uwe Stöhr [Fri, 23 Oct 2015 03:20:51 +0000 (05:20 +0200)]
InsetMathNest.cpp: add \sideset to the autocomplete list

fixes bug #9810

8 years agocolored-boxes.lyx: add info about shadows
Uwe Stöhr [Fri, 23 Oct 2015 03:17:24 +0000 (05:17 +0200)]
colored-boxes.lyx: add info about shadows

- also some fixes and improvements

8 years agocolored-boxes.lyx: 2 fixes
Uwe Stöhr [Fri, 23 Oct 2015 01:34:25 +0000 (03:34 +0200)]
colored-boxes.lyx: 2 fixes

8 years agojss.layout: update appearance of 2 styles in LyX
Uwe Stöhr [Fri, 23 Oct 2015 00:20:02 +0000 (02:20 +0200)]
jss.layout: update appearance of 2 styles in LyX

This was proposed by the co-author of the layout in bug#9516

8 years agoAdd suggestion for test cases by Günter
Georg Baum [Thu, 22 Oct 2015 20:21:25 +0000 (22:21 +0200)]
Add suggestion for test cases by Günter

8 years agoAmend bb344452
Guillaume Munch [Wed, 21 Oct 2015 14:02:12 +0000 (15:02 +0100)]
Amend bb344452

Repair the senseless truncation on long file names

8 years agomsvc: Proper fix for compilation of TexRow
Guillaume Munch [Tue, 20 Oct 2015 17:18:28 +0000 (19:18 +0200)]
msvc: Proper fix for compilation of TexRow

This bug in MSVC 10 was fixed at e948caf6, but the workaround belongs to
strfwd.h.

Thanks Vincent and Georg.

8 years agomsvc: Move implementation of numpunct<> functions to cpp file
Vincent van Ravesteijn [Tue, 20 Oct 2015 19:23:01 +0000 (21:23 +0200)]
msvc: Move implementation of numpunct<> functions to cpp file

These functions use lyx::from_ascii which means they need to include
docstring.h, but that results in a circular include.

8 years agoRevert "msvc: Fix compilation of TexRow"
Vincent van Ravesteijn [Tue, 20 Oct 2015 17:19:31 +0000 (19:19 +0200)]
Revert "msvc: Fix compilation of TexRow"

This reverts commit 10d7f6d479b05cf101173a8ab036676482b7c251.

8 years agoPartial fix for #9740 "XeTeX/LuaTeX with TeX fonts problems".
Günter Milde [Tue, 20 Oct 2015 17:14:39 +0000 (19:14 +0200)]
Partial fix for #9740 "XeTeX/LuaTeX with TeX fonts problems".

Fixes output for 3 of the 4 test lyx-files.

Includes "FIXME"s at places where further action is required to get the XeTeX
export right but I don't know how.