]> git.lyx.org Git - lyx.git/log
lyx.git
7 years agoRationalise includes
Guillaume Munch [Sun, 19 Jun 2016 02:39:38 +0000 (03:39 +0100)]
Rationalise includes

Modifying TexRow.h or texstream.h no longer triggers the recompilation of the
complete source tree.

7 years agoNot in tree anymore.
Pavel Sanda [Sun, 3 Jul 2016 23:39:57 +0000 (16:39 -0700)]
Not in tree anymore.

Uwe, watch your step.

7 years agoMatch code with comment
Guillaume Munch [Sun, 3 Jul 2016 23:03:36 +0000 (01:03 +0200)]
Match code with comment

The line felt too thin.

Note: I am still sceptical with the principle of an increase at the rate of
1/200% instead of 1/100%.

Also, I am sceptical with changing painting dimensions to int when Qt supports
doubles for everything (see e.g. 463bd17d). If the goal is to force
integer-width solid lines then one could try to disable antialiasing on Qt's
side.

I think the painter should move in the other direction, towards more doubles and
fewer ints. For instance, for Hi-DPI, Qt could probably take advantage of the
increased precision even without AA. (Then one would have to fix the problem
regarding uneven lines, mentioned in the above commit, in another fashion.)

7 years agoChange tracking cue: InsetText and InsetCollapsible
Guillaume Munch [Mon, 23 May 2016 09:01:29 +0000 (10:01 +0100)]
Change tracking cue: InsetText and InsetCollapsible

* Underline or strike through the label as if it was text (it is).

* Strike through deleted InsetText, but let RowPainter handle the case of
  non-MultiPar text insets.

* Change the colour of the frame as a cue, unless its colour is customised (not
  Color_foreground). (Essentially do the border of CharStyles like Tabular does
  it already.)

* The change info needs to be reset when entering InsetText. Otherwise labels
  are painted with the change of their n+1-th parent.

7 years agoBring window to front after loading a document
Enrico Forestieri [Sun, 3 Jul 2016 20:58:25 +0000 (22:58 +0200)]
Bring window to front after loading a document

Fixes #7875.

7 years agoFix regression of 6dfc25508
Georg Baum [Sun, 3 Jul 2016 17:41:04 +0000 (19:41 +0200)]
Fix regression of 6dfc25508

We need to remove the temp file now manually.

7 years agoFix linking with cmake and included iconv
Georg Baum [Sun, 3 Jul 2016 16:51:22 +0000 (18:51 +0200)]
Fix linking with cmake and included iconv

Previously, the GNU linker would complain about missing libcharset_relocate.
The MSVC linker did not complain, since the code that uses libcharset_relocate
does not seem to be sued, so it removed it.

7 years agoChange tracking cue: for Graphics
Guillaume Munch [Mon, 23 May 2016 16:01:48 +0000 (17:01 +0100)]
Change tracking cue: for Graphics

Strike through deleted graphics.

7 years agoChange tracking cue: for instant preview
Guillaume Munch [Mon, 23 May 2016 14:44:29 +0000 (15:44 +0100)]
Change tracking cue: for instant preview

Strike through deleted previews (expect for inline math where it is already taken care of by RowPainter).

7 years agoChange tracking cue: for display() math insets
Guillaume Munch [Mon, 23 May 2016 14:06:26 +0000 (15:06 +0100)]
Change tracking cue: for display() math insets

Strike through deleted display math insets.

7 years agoPainter: Add a line style to disable antialiasing
Guillaume Munch [Mon, 23 May 2016 10:38:48 +0000 (11:38 +0100)]
Painter: Add a line style to disable antialiasing

It is not possible to use opacity effects (such as drawing an antialiased line
to strike diagonally through an inset), until the painter is fixed so that it
does not redraw repeatedly over the same spot (otherwise, the usual aritfacs
appear).

For now, pixellated lines are OK.

7 years agoBeautify ToolTips in work area
Guillaume Munch [Sat, 11 Jun 2016 11:57:18 +0000 (12:57 +0100)]
Beautify ToolTips in work area

* Justification and nicer line breaks.

* Much nicer tooltip for lists of bibliographical references.

* Removed unnecessary iterated copies of the string buffer in
  InsetText::ToolTipText() which looked bad. This function used to be costly
  (cf64064), maybe it is quicker now.

7 years agoRemove tooltips from the data of Toc Items
Guillaume Munch [Mon, 6 Jun 2016 19:02:49 +0000 (20:02 +0100)]
Remove tooltips from the data of Toc Items

After the previous commit, tooltip in the outliner are formatted automatically,
along with the other tooltips. A previous commit had already removed the
expensive call to tooltipText() that, although it gave a better rendering, was
very expensive (cf64064). This patch finishes to remove the custom tooltip
from the model data in the outliner.

(It would be nice to reintroduce a tooltip based on tooltipText(), but there
seemed to be a consensus that in that case one would prefer a less expensive
approach that computes the tooltip on the fly.)

7 years agoGuiDocument: some polishing of the list of modules.
Guillaume Munch [Tue, 31 May 2016 17:47:29 +0000 (18:47 +0100)]
GuiDocument: some polishing of the list of modules.

* The tooltips in the list of modules now include the names of the modules.

* The tooltips of modules more consistent across the widgets.

* Sort the list of modules according to the locale (i.e. "É" comes before "F").

* Replace a hand-made sentence boundary finder by Qt's.

7 years agoRemove manual line breaks.
Guillaume Munch [Fri, 10 Jun 2016 23:11:42 +0000 (01:11 +0200)]
Remove manual line breaks.

Line breaks in tooltips are now done automatically, there is no more need to
break the strings explicitly.

7 years agoLine breaks in tooltips
Guillaume Munch [Sun, 5 Jun 2016 19:35:35 +0000 (21:35 +0200)]
Line breaks in tooltips

* New function formatToolTip(QString):

Format text for display as a ToolTip, breaking at lines of a certain
width. Note: this function is expensive. Better call it in a delayed manner,
i.e. not to fill in a model (see for instance the function
ToolTipFormatter::eventFilter).

* Install a global event filter that formats tooltips on-the-fly

Inspired from
https://github.com/bitcoin/bitcoin/pull/1090/commits/3793fa09ff920fc720dfad3738f105d2c9563662
but much improved.

When is formatToolTip called automatically? Whenever the tooltip is not already
rich text beginning with <html>, and is defined by the following functions:
 * QWidget::setToolTip(),
 * QAbstractItemModel::setData(..., Qt::ToolTipRole),
 * Inset::toolTip() (added in one of the subsequent patches)

In other words, tooltips can use Qt html and the tooltip will still be correctly
broken. Moreover, it is possible to specify an entirely custom tooltip (not
subject to automatic formatting) by giving it in its entirety, i.e. starting
with <html>.

8 years agoSimplifications, mainly removal of boost::function and useless std::bind
Guillaume Munch [Wed, 29 Jun 2016 09:22:13 +0000 (10:22 +0100)]
Simplifications, mainly removal of boost::function and useless std::bind

8 years agoSquash some warnings.
Richard Heck [Sat, 2 Jul 2016 18:12:34 +0000 (14:12 -0400)]
Squash some warnings.

8 years agoremove 2 outdated build scripts
Uwe Stöhr [Sat, 2 Jul 2016 17:40:18 +0000 (19:40 +0200)]
remove 2 outdated build scripts

LyX 2.3 cannot be compiled with MSVC 2010

8 years agoFix CAS input on windows (bug 10262)
Georg Baum [Sat, 2 Jul 2016 16:58:30 +0000 (18:58 +0200)]
Fix CAS input on windows (bug 10262)

This is the well known file locking problem: The TempFile class keeps the
created file locked for the own process, and this prevents the CAS to read it.

8 years agoFix MSVC C++11 detection
Georg Baum [Sat, 2 Jul 2016 16:26:08 +0000 (18:26 +0200)]
Fix MSVC C++11 detection

The old version with empty flag did not enter the loop at all, so we have to
use a workaround. Thanks Uwe for testing.

8 years agowhitespace
Georg Baum [Sat, 2 Jul 2016 12:52:46 +0000 (14:52 +0200)]
whitespace

8 years agoFix MathML for imaginary part
Georg Baum [Sat, 2 Jul 2016 12:37:05 +0000 (14:37 +0200)]
Fix MathML for imaginary part

image is the HTML image element

8 years agoDo not use --std=c++14 for MSVC
Georg Baum [Sat, 2 Jul 2016 10:42:04 +0000 (12:42 +0200)]
Do not use --std=c++14 for MSVC

MSVC does not need a special flag to specify the standard. Using --std=c++14
produces a warning, but compilation succeeds, so the old code did mistakenly
choose --std=c++14 for MSVC.

8 years agoFix std::regex detection for older gcc
Georg Baum [Sat, 2 Jul 2016 10:39:08 +0000 (12:39 +0200)]
Fix std::regex detection for older gcc

Older gcc versions (e.g. the first one which has usable std::regex: gcc 4.9)
require the --std=c++11 flag to be set. Otherwise std::regex is not made
available. Therefore we need to keep the flag in the loop.

8 years agoEnsure that iconv and zlib are always found
Georg Baum [Sat, 2 Jul 2016 09:09:26 +0000 (11:09 +0200)]
Ensure that iconv and zlib are always found

If the included thirdparty libs are requested, use them, even on unix. This is
consistent with autotools (but the recommended way is of course to use the
system libs). If the included thirdparty libs are not requested then try to find
libiconv and zlib also on windows. This will lead to an error unless the libs are
found via manually added include and link paths, but this is wanted since
libiconv and zlib are not optional.

8 years agoAdd Dima to CREDITS
Georg Baum [Sat, 2 Jul 2016 08:11:21 +0000 (10:11 +0200)]
Add Dima to CREDITS

8 years agoCompile fix after change 4b64aaf, replace missing constructor for C-string with docst...
Stephan Witt [Sat, 2 Jul 2016 06:29:39 +0000 (08:29 +0200)]
Compile fix after change 4b64aaf, replace missing constructor for C-string with docstring variant

8 years agoCorrect indentation
Stephan Witt [Sat, 2 Jul 2016 06:27:48 +0000 (08:27 +0200)]
Correct indentation

8 years agoMake LyX compiled by MSVC 2015 run on Vista again
Georg Baum [Fri, 1 Jul 2016 20:05:55 +0000 (22:05 +0200)]
Make LyX compiled by MSVC 2015 run on Vista again

Patch and tests from Dima Ruinskiy, comments by me. For details see discussion
in bug 10186.

8 years agoSquash warning.
Richard Heck [Fri, 1 Jul 2016 02:57:19 +0000 (22:57 -0400)]
Squash warning.

8 years agoCMAKE: update path to Qt 5.6.1
Uwe Stöhr [Thu, 30 Jun 2016 23:39:38 +0000 (01:39 +0200)]
CMAKE: update path to Qt 5.6.1

8 years agoAdd some symbols from fontmath.ltx
Georg Baum [Thu, 30 Jun 2016 20:25:56 +0000 (22:25 +0200)]
Add some symbols from fontmath.ltx

These are all in lib/symbols, but we did not yet know the corresponding unicode
numbers. unicodesymbols does still not contain all symbols from lib/symbols.

8 years agoThe previous commit was actually a fix for bug #9158.
Richard Heck [Thu, 30 Jun 2016 19:02:09 +0000 (15:02 -0400)]
The previous commit was actually a fix for bug #9158.

This adjusts the comment a bit.

8 years agoFix bug #8782.
Richard Heck [Thu, 30 Jun 2016 18:53:19 +0000 (14:53 -0400)]
Fix bug #8782.

We need to invalidate the BibTeX cache when undoing or redoing. I do
not like having to do it for every undo or redo. We should only have
to do it if we restored or deleted an InsetBibTeX. But there is no
way, so far as I can see, to do it that way. I tried.

8 years agoABOVE and CENTERED labels need special treatment.
Richard Heck [Thu, 30 Jun 2016 03:55:11 +0000 (23:55 -0400)]
ABOVE and CENTERED labels need special treatment.

Fixes bug #8843.

8 years agoMake sure we center displayed equations.
Richard Heck [Thu, 30 Jun 2016 03:18:57 +0000 (23:18 -0400)]
Make sure we center displayed equations.

8 years agoUse convertDelimToXMLEscape with matrix delimiters, too.
Richard Heck [Thu, 30 Jun 2016 02:52:27 +0000 (22:52 -0400)]
Use convertDelimToXMLEscape with matrix delimiters, too.

8 years agoAdd class attribute for \mathbb in XHTML output.
Richard Heck [Thu, 30 Jun 2016 02:47:21 +0000 (22:47 -0400)]
Add class attribute for \mathbb in XHTML output.

Patch from Josh.

8 years agoUse symbols file to lookup entities for delimiters. Fixes bug #8280.
Richard Heck [Thu, 30 Jun 2016 02:39:42 +0000 (22:39 -0400)]
Use symbols file to lookup entities for delimiters. Fixes bug #8280.

Based upon work by Josh Hieronymus.

8 years agoDon't be so cute with VSpace: We just output it inline now for
Richard Heck [Thu, 30 Jun 2016 01:57:35 +0000 (21:57 -0400)]
Don't be so cute with VSpace: We just output it inline now for
XHTML.

Fixes bug #8154.

8 years agoOutput column width info for XHTML.
Richard Heck [Thu, 30 Jun 2016 01:47:51 +0000 (21:47 -0400)]
Output column width info for XHTML.

8 years agoFix bug #8782: We need to query the cell, not just the inset.
Richard Heck [Thu, 30 Jun 2016 01:23:39 +0000 (21:23 -0400)]
Fix bug #8782: We need to query the cell, not just the inset.

8 years agoAdd John Hudson.
Richard Heck [Wed, 29 Jun 2016 20:02:27 +0000 (16:02 -0400)]
Add John Hudson.

8 years agoAdd missing buffer update after pasting unformatted text.
Richard Heck [Wed, 29 Jun 2016 17:32:30 +0000 (13:32 -0400)]
Add missing buffer update after pasting unformatted text.

Fixes bug #8735.

8 years agoUse const &.
Richard Heck [Wed, 29 Jun 2016 16:51:55 +0000 (12:51 -0400)]
Use const &.

8 years agoRe-organization of Additional Features manual by John Hudson.
Richard Heck [Wed, 29 Jun 2016 16:18:36 +0000 (12:18 -0400)]
Re-organization of Additional Features manual by John Hudson.

8 years agoPass through for filename characters of \ecvpicture command
Kornel Benko [Wed, 29 Jun 2016 08:45:03 +0000 (10:45 +0200)]
Pass through for filename characters of \ecvpicture command

For instance in case the path contains '_', it would otherwise
be converted to '\_', and so \ecvpicture cannot find the referenced
picture.

8 years agoJSS template should load math packages automatically.
Richard Heck [Wed, 29 Jun 2016 03:35:57 +0000 (23:35 -0400)]
JSS template should load math packages automatically.

Fixes bug 9242.

8 years agoWhitespace only.
Richard Heck [Mon, 27 Jun 2016 22:54:14 +0000 (18:54 -0400)]
Whitespace only.

8 years agoThis patch does two closely related things.
Richard Heck [Mon, 20 Jun 2016 19:10:14 +0000 (15:10 -0400)]
This patch does two closely related things.

The main thing it does is integrate mouse-modifiers into the
FuncRequest machinery. Previously, these had to be passed
separately, which led to some ugly function signatures.

There was also an unnecessary form of the constructor, which
can now be removed.

No change of behavior is intended.

8 years agoLet "provides [fontspec|listings|subfig] 1" work.
Richard Heck [Tue, 21 Jun 2016 14:50:42 +0000 (10:50 -0400)]
Let "provides [fontspec|listings|subfig] 1" work.

8 years agoUse move when passed by value
Guillaume Munch [Thu, 23 Jun 2016 21:07:13 +0000 (22:07 +0100)]
Use move when passed by value

Also unduplicate code.

8 years agoEscape backslashes
Georg Baum [Sun, 26 Jun 2016 18:31:31 +0000 (20:31 +0200)]
Escape backslashes

The parser that reads unicodesymbols uses backslashes to escape quotes, so
every backslash that is part of a LaTeX command needs to be escaped as well.
There are more candidates in the greek and cyrillic sections, but I don't
know those commands, so I did not touch them.

8 years agoMove duplicated symbols to the macro section
Georg Baum [Sun, 26 Jun 2016 18:23:46 +0000 (20:23 +0200)]
Move duplicated symbols to the macro section

This helps to find them via unicodesymbols as I do for some STIX experiments

8 years agoFix build with autotools and gcc 6
Enrico Forestieri [Sun, 26 Jun 2016 17:45:50 +0000 (19:45 +0200)]
Fix build with autotools and gcc 6

8 years agoConvert files to unix line ends in the repo
Georg Baum [Sun, 26 Jun 2016 17:03:10 +0000 (19:03 +0200)]
Convert files to unix line ends in the repo

These files were aded with windows line ends before we did set the text=auto
attribute for all files in .gitattributes, and this caused phantom changes on
linux workspaces after .gitattributes was introduced.
Now these files appear with linux line ends on linux workspaces and with
windows line ends on windows workspaces, like all source files.

8 years agoRemove unneeded MSVC 6 project file
Georg Baum [Sun, 26 Jun 2016 16:58:19 +0000 (18:58 +0200)]
Remove unneeded MSVC 6 project file

We use cmake or autotools to build hunspell, so we don't need this.

8 years agoRemove using directives from headers
Georg Baum [Sun, 26 Jun 2016 16:22:59 +0000 (18:22 +0200)]
Remove using directives from headers

The only exceptions are:

- The purpose of the header is to drag in the used symbol, e.g. unique_ptr.h
- The used symbol is inside a class or a namespace other than lyx

The reason for this is that global 'using' statements effectively forbid to
use the used symbols in any other namespace in the whole program, since simply
adding or removing an #include of the corresponding header subtly changes the
name lookup. The namespace lyx is sort of global, so it should not have these
statements either.

8 years agoMake command buffer icons same size as QLineEdit height
Enrico Forestieri [Sun, 26 Jun 2016 14:58:18 +0000 (16:58 +0200)]
Make command buffer icons same size as QLineEdit height

Part of bug #10125

8 years agoMake oultliner icons same size as the toolbar icons
Enrico Forestieri [Sun, 26 Jun 2016 14:53:00 +0000 (16:53 +0200)]
Make oultliner icons same size as the toolbar icons

Part of bug #10125

8 years agoMerge branch 'master' of git.lyx.org:lyx
Juergen Spitzmueller [Sun, 26 Jun 2016 12:27:30 +0000 (14:27 +0200)]
Merge branch 'master' of git.lyx.org:lyx

8 years agoFix indentation
Juergen Spitzmueller [Sun, 26 Jun 2016 12:26:35 +0000 (14:26 +0200)]
Fix indentation

8 years agoTweak output from maxima
Enrico Forestieri [Sun, 26 Jun 2016 11:22:44 +0000 (13:22 +0200)]
Tweak output from maxima

Maxima uses \it as a markup for multiletter variables. However,
it has been reported that since texlive 2016 using \it in math
mode produces an error, even though I was not able to reproduce.
Anyway, this can be avoided by replacing the old-style construct
"{\it ...}" with the new-style one "\mathit{...}".
The problem has also been reported upstream:
https://sourceforge.net/p/maxima/bugs/3181/
but this workaround will hold whatever the resolution.

8 years agoRemove \it and other oldfonts from math completion
Scott Kostyshak [Sat, 25 Jun 2016 23:37:15 +0000 (19:37 -0400)]
Remove \it and other oldfonts from math completion

\it and the other oldfont commands are deprecated and the new forms
(e.g. \mathit) should be used instead. The old forms can lead to a
warning in TeX Live 2015 and an error in TeX Live 2016.

Note that with this commit only affects completion, so LyX still
supports displaying e.g. \it in math if the user enters it without
completion.

This is consistent with 24d01111.

Thanks to Guillaume for the patch.

8 years agoIn lib/lyx2lyx/: s/while 1/while True/
Richard Heck [Sat, 25 Jun 2016 21:37:13 +0000 (17:37 -0400)]
In lib/lyx2lyx/: s/while 1/while True/

8 years agoRemove asciiimage and asciixfig formats
Georg Baum [Sat, 25 Jun 2016 19:09:21 +0000 (21:09 +0200)]
Remove asciiimage and asciixfig formats

The external templates requested conversion to these formats, but there was no
converter defined, so plain text export did fail, and there are no obvious ways
to create plain text representations for the files used by these templates.
Now we output the file name as for other templates and also the graphics inset.
This fixes bug #7135.

8 years agoremove unused declaration
Georg Baum [Sat, 25 Jun 2016 18:31:14 +0000 (20:31 +0200)]
remove unused declaration

8 years ago* Math.lyx : One more take on maxima output.
Pavel Sanda [Sat, 25 Jun 2016 18:23:05 +0000 (11:23 -0700)]
* Math.lyx : One more take on maxima output.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg195130.html

Reported the \it behaviour to maxima bugzilla.
https://sourceforge.net/p/maxima/bugs/3181/
If they don't fix it we might want to kill this line altogether.

8 years agoChange \it to \mathit in Math.lyx
Scott Kostyshak [Sat, 25 Jun 2016 07:26:16 +0000 (03:26 -0400)]
Change \it to \mathit in Math.lyx

On TeX Live 2016, Math.lyx gives an error when compiling with
pdflatex. On TeX Live 2015, Math.lyx compiles but the log gives the
following warning:

  Usage of deprecated font command `\it'!

This commit amends 67e45aa3.

8 years agoFix for previous commit: We come right back through here from
Richard Heck [Sat, 25 Jun 2016 04:38:27 +0000 (00:38 -0400)]
Fix for previous commit: We come right back through here from
exportBufferAs, so we need to make sure we haven't been given
an export location.

8 years agoWhitespace
Scott Kostyshak [Sat, 25 Jun 2016 02:26:34 +0000 (22:26 -0400)]
Whitespace

8 years agoFix bug #8814: Ask for place to export a file if it has not
Richard Heck [Sat, 25 Jun 2016 02:04:59 +0000 (03:04 +0100)]
Fix bug #8814: Ask for place to export a file if it has not
yet been saved.

8 years agoStyle.
Richard Heck [Fri, 24 Jun 2016 19:03:59 +0000 (15:03 -0400)]
Style.

8 years agoia.po: updates from Giovanni
Uwe Stöhr [Fri, 24 Jun 2016 00:17:50 +0000 (02:17 +0200)]
ia.po: updates from Giovanni

8 years agoUpdate sk.po
Kornel Benko [Tue, 21 Jun 2016 20:39:28 +0000 (22:39 +0200)]
Update sk.po

8 years agoDocument new behavior of ForcePlain with charstyles.
Richard Heck [Tue, 21 Jun 2016 19:40:43 +0000 (15:40 -0400)]
Document new behavior of ForcePlain with charstyles.

8 years agoBy default, charstyles should not permit layout changes internally.
Richard Heck [Mon, 20 Jun 2016 15:30:32 +0000 (11:30 -0400)]
By default, charstyles should not permit layout changes internally.

Fixes #10237.

8 years agomore const correctness
Georg Baum [Tue, 21 Jun 2016 19:09:50 +0000 (21:09 +0200)]
more const correctness

The const_cast shows the place where const correctness is violated, this is
no longer hidden by lying member functions.

8 years agoRemove "only", which is not really necessary.
Richard Heck [Mon, 20 Jun 2016 13:49:48 +0000 (09:49 -0400)]
Remove "only", which is not really necessary.

8 years agoFix bug #10213 as discussed there: We now display the same button
Richard Heck [Tue, 14 Jun 2016 17:55:18 +0000 (18:55 +0100)]
Fix bug #10213 as discussed there: We now display the same button
whether the branch is open or closed.

8 years agoconst correctness
Georg Baum [Mon, 20 Jun 2016 20:00:05 +0000 (22:00 +0200)]
const correctness

It is dangerous to hand out non-const pointers to members from a const method.

8 years agoAdd new module:
Richard Heck [Mon, 20 Jun 2016 15:06:31 +0000 (11:06 -0400)]
Add new module:

Provides two new styles:

1. An "In Premable" style that puts whatever is entered into it into the preamble.
   This can be used, if one wishes, to include preamble code in the body of the
   LyX document.
2. An "In Title" style that will put its contents into the body of the LaTeX
   document, but before \maketitle is issued. This is useful for making branches
   and notes in title-related material. (If you put these in a Standard layout,
   this signals to LyX to output \maketitle, which may then come too early.)

Due to the ForceLocal machinery, no format change is needed.

8 years agoFix bug #10153: There's a mechanism in XHTML output that defers the
Richard Heck [Mon, 20 Jun 2016 14:21:22 +0000 (10:21 -0400)]
Fix bug #10153: There's a mechanism in XHTML output that defers the
output of tags until we know they're needed. In the case of HTML
tables, empty cells should of course be output, so we need to force
the tags to be output.

8 years agoRemove external date inset
Georg Baum [Sun, 19 Jun 2016 19:23:25 +0000 (21:23 +0200)]
Remove external date inset

The external date inset was implemented as a demonstrator for external insets
in general. It was never intended for production code. Now that we have several
external insets defined we do not need the demonstrator anymore. This fixes
bugs #4398 and #9948.

8 years agoUse default MSVC install path
Georg Baum [Sun, 19 Jun 2016 17:04:30 +0000 (19:04 +0200)]
Use default MSVC install path

My memory was wrong, the default path uses the internal version number.

8 years agoSkip paragraph parameters for dash conversion
Georg Baum [Sun, 19 Jun 2016 15:05:13 +0000 (17:05 +0200)]
Skip paragraph parameters for dash conversion

Some of them are directly passed to LaTeX, but for all of them a token
\twohyphens or \threehyphens is not valid. This fixes bug #10243.

8 years agoAjust instructions to qt 5
Georg Baum [Sun, 19 Jun 2016 14:28:02 +0000 (16:28 +0200)]
Ajust instructions to qt 5

Building with MSVC and qt4 is an esoteric special case nowadays. People who
are able to do this will also figure out how to call cmake. The standard case
is qt 5, and this was not yet documented.

8 years agoDescribe how to set env vars for the MSVC compiler
Georg Baum [Sun, 19 Jun 2016 11:26:48 +0000 (13:26 +0200)]
Describe how to set env vars for the MSVC compiler

The old instructions did assume that the MSVC bin directory was in the PATH.
This is not recommended, since it gets in the way if you want to compile for
32 and 64 bit. Therefore it is now described how to configure without the
PATH dependency.

8 years agoAdjust dep path in build batches
Georg Baum [Sun, 19 Jun 2016 11:15:50 +0000 (13:15 +0200)]
Adjust dep path in build batches

Another location where paths are stored...

8 years agoUpdate MSVC build instructions
Georg Baum [Sun, 19 Jun 2016 10:55:00 +0000 (12:55 +0200)]
Update MSVC build instructions

We recommend MSVC 2015 now, because of better C++11 support and MSVC 2010 is
not available anymore. Also update several pathsdue tro changed dependency
packages.

8 years agoFix windows dependencies download
Georg Baum [Sun, 19 Jun 2016 10:47:30 +0000 (12:47 +0200)]
Fix windows dependencies download

The paths and servers have changed, and a MSVC 2013 version is not provided
anymore.

8 years agoAlways present Qt version info in LyX About dialog - not for developer version only
Stephan Witt [Sun, 19 Jun 2016 09:53:20 +0000 (11:53 +0200)]
Always present Qt version info in LyX About dialog - not for developer version only

8 years agoFix typo, and also check if string is null.
Richard Heck [Sat, 18 Jun 2016 22:32:21 +0000 (18:32 -0400)]
Fix typo, and also check if string is null.

8 years agoBe a bit more careful about setting and restoring the last reference
Richard Heck [Sat, 18 Jun 2016 22:27:51 +0000 (18:27 -0400)]
Be a bit more careful about setting and restoring the last reference
when we go to and return from labels.

8 years agoadd missing autotests to tarball
Georg Baum [Fri, 17 Jun 2016 19:17:38 +0000 (21:17 +0200)]
add missing autotests to tarball

8 years agoimplement lyx2lyx roundtrip for \use_microtype
Georg Baum [Fri, 17 Jun 2016 19:11:53 +0000 (21:11 +0200)]
implement lyx2lyx roundtrip for \use_microtype

8 years agoUse unicode cmdline args consistently
Georg Baum [Thu, 16 Jun 2016 20:05:56 +0000 (22:05 +0200)]
Use unicode cmdline args consistently

Previously the commandline arguments were processed in an operating system
dependent encoding if running under python 2. Now they are converted to
unicode during the parsing, using the more modern argpase instead of optparse.
The individual conversion methods do no longer need to know anything about
commandline encoding. This fixes a bug similar to #10218 if running under
python 2 which I probably introduced during the python 3 conversion.

8 years agoDo not distribute built sources
Georg Baum [Thu, 16 Jun 2016 19:34:38 +0000 (21:34 +0200)]
Do not distribute built sources

Implementation stolen from ff17b366a05ff2

8 years agoRemove obsolete comments
Georg Baum [Thu, 16 Jun 2016 19:05:27 +0000 (21:05 +0200)]
Remove obsolete comments