]> git.lyx.org Git - lyx.git/log
lyx.git
8 years agoFix bug #10195
Guillaume Munch [Mon, 13 Jun 2016 23:17:38 +0000 (00:17 +0100)]
Fix bug #10195

The computation of the index of the main text entry of a row did not take into
account the fact that the entry could be optimised away.

(cherry picked from commit 947c34364c7f6a5c12ddfa7286ff504c62a1038a)

8 years agoSkip paragraph parameters for dash conversion
Georg Baum [Mon, 20 Jun 2016 18:19:24 +0000 (20:19 +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 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.)

The ForceLocal machinery allows the module to be added to stable.

(cherry picked from commit a9af5333b26d719d0b85dae2c374e32e1190e15d)

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.

(cherry picked from commit 35d449c5dae11bbff53e2a35697a4fc3f03318ba)

8 years agoFix typo, and also check, if string is null.
Richard Heck [Sat, 18 Jun 2016 22:34:30 +0000 (18:34 -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.

(cherry picked from commit 68b60ec529db2e7bfe642bd09902824ea69e2fb5)

8 years agoStatus for previous commit.
Richard Heck [Sat, 18 Jun 2016 17:02:29 +0000 (13:02 -0400)]
Status for previous commit.

8 years agoFix bug #10218, in a way less invasive than it has been fixed in
Richard Heck [Sat, 18 Jun 2016 16:59:02 +0000 (12:59 -0400)]
Fix bug #10218, in a way less invasive than it has been fixed in
master. Patch due to Enrico.

8 years agoTocWidget: fix an erroneous collapse and optimise updates based on profiling
Guillaume Munch [Sun, 8 May 2016 22:56:55 +0000 (23:56 +0100)]
TocWidget: fix an erroneous collapse and optimise updates based on profiling

TocModels::reset() in GuiView::structureChanged() collapses the TocWidget, and
therefore requires an update right after, which was missing.

In fact, profiling TocWidget::updateView() shows that delaying the update is
good only for fast keypresses (essentially movement). It costs 5% of a
char-forward operation in a document with approx. 100 table of contents
items. The update optimisation has been rewritten to take this data into
account.

This also fixes #9826: Outline disclosure of subsection content disappears one
second after doubleclicking content item.

8 years agoRestore last selected label when using the "go to label" feature
Richard Heck [Mon, 6 Jun 2016 23:36:27 +0000 (19:36 -0400)]
Restore last selected label when using the "go to label" feature
of the reference dialog.

(cherry picked from commit 9d5ffa8e752213379d0ff611bd16deec1ab21c0a)

8 years agoFix version number.
Richard Heck [Fri, 3 Jun 2016 21:45:42 +0000 (17:45 -0400)]
Fix version number.

8 years agoTake inset dimension into account in row signature
Jean-Marc Lasgouttes [Fri, 3 Jun 2016 09:21:09 +0000 (11:21 +0200)]
Take inset dimension into account in row signature

In some cases, the insets may change height or width without changing
the other apsects of the row.

Fixes bug #6991 and #10182.

(cherry picked from commit 508518ad95a7fd7581bd4affd389dbe7bd6d09f1)

8 years agoFix drawing of buttonText (enforce same left/right spacing)
Jean-Marc Lasgouttes [Mon, 23 May 2016 13:24:13 +0000 (15:24 +0200)]
Fix drawing of buttonText (enforce same left/right spacing)

The computation of the width of the button was wrong. If <--> stands
for TEXT_TO_INSET_OFFSET/2 spacing, and if `[]' marks the button's
limits, then the intent is
  <-->[<-->button text<-->]<-->

Therefore the physical grey rectangle width is
   width - Inset::TEXT_TO_INSET_OFFSET

With this change, the spacing on the right of the button is not larger
than the left one.

Fixes bug #10147.
(cherry picked from commit 516d5d29dce28deab4601ec6aa714ca7ff59e6cd)

8 years agoRemove extra spacing around InsetCommand buttons
Jean-Marc Lasgouttes [Mon, 23 May 2016 14:16:05 +0000 (16:16 +0200)]
Remove extra spacing around InsetCommand buttons

There is already a spacing of 2 pixels on each side of a button (e.g.
collapsed inset). There is no need to add one extra pixel for command
insets.

Fixes part of bug #10149.
(cherry picked from commit 68149e380daad42bac69de5984ef1e21508d9cb3)

8 years agoAdd forgotten fix to status
Juergen Spitzmueller [Tue, 31 May 2016 06:51:46 +0000 (08:51 +0200)]
Add forgotten fix to status

8 years agoImplement some forgotten context menu items for arguments
Juergen Spitzmueller [Sun, 29 May 2016 10:32:53 +0000 (12:32 +0200)]
Implement some forgotten context menu items for arguments

* Dissolve context menu
* Label toggle (for conglomerate-styled arguments)

Fixes: #10150
8 years ago\\pagebreak is a fragile command in general
Jean-Marc Lasgouttes [Fri, 22 Apr 2016 12:57:12 +0000 (14:57 +0200)]
\\pagebreak is a fragile command in general

As such, it shall be protected in moving arguments, such as sections.

Fixes bug #10092.
(cherry picked from commit 86ee2699c30b63e5b4de3ad725519756d17aec2c)

8 years agoFix getStatus for math-mutate and math-display
Jean-Marc Lasgouttes [Thu, 12 May 2016 07:24:55 +0000 (09:24 +0200)]
Fix getStatus for math-mutate and math-display

Those two functions used two different hackish and buggy
implementation to know when the function is disabled. Replace that by
asking the containing inset whether it accepts inserting display math
inset.

Fixes bug #10033.
(cherry picked from commit de5630a1562054cb969b106e35f84bfe1e99002a)

8 years agoDo not use 'u' flag for ar
Jean-Marc Lasgouttes [Wed, 11 May 2016 15:09:34 +0000 (17:09 +0200)]
Do not use 'u' flag for ar

The Reproducible Builds effort (https://wiki.debian.org/ReproducibleBuilds) in Debian (at least) means that 'ar' is built in deterministic mode as default: all timestamps are set to 0.

This is not compatible with the use of the 'u' flag, and therefore ARFLAGS has to be changed from 'cru' to 'cr'.

This gets rid of the harmless but annoying warning
  ar: `u' modifier ignored since `D' is the default (see `U')
(cherry picked from commit 987fc1d15d017c192a566fc922e3967d9d280668)

8 years agoDisable LFUN_INSET_DISSOLVE in tabulars
Jean-Marc Lasgouttes [Tue, 10 May 2016 09:17:43 +0000 (11:17 +0200)]
Disable LFUN_INSET_DISSOLVE in tabulars

When in a tabular cell, "this" is just a lone InsetText, while cur.inset() is the whole tabular. This makes a big difference, especially when one wants to count cells.

Fixes bug #9954.

(cherry picked from commit 4caf167dbd24722421ae8d94a2c103bf41a7667d)

8 years agoRename InsetMathHull::isTable to allowsTabularFeatures
Jean-Marc Lasgouttes [Fri, 22 Apr 2016 13:50:51 +0000 (15:50 +0200)]
Rename InsetMathHull::isTable to allowsTabularFeatures

The old name conflicted with the newly introduced Inset::isTable.

Now the meaning is as follows.
* Inset::isTable() is true when the inset is composed of lines and columns
* InsetMathHull::allowsTabularFeatures is true when the current type of hull allows for tabular-like functions.

(cherry picked from commit db39dc7ccd4c2dd14ef20547e6e3c056ba030d83)

8 years agoMake inset-select-all select all cells only in tables
Jean-Marc Lasgouttes [Mon, 14 Mar 2016 10:46:28 +0000 (11:46 +0100)]
Make inset-select-all select all cells only in tables

inset-select-all has 3 levels
1. select current cell
2. select all cells
3. select inset from outside.

The second level makes sense for tables (text and math), but not for things like a math fraction.

Introduce a new method Inset::isTable() that allows to detect this case properly and skip level 2.

(cherry picked from commit 5de28b9ac6736c791146a1a3ebe7f4826c22a9b7)

8 years agoShow review toolbar when outputting changes
Guillaume Munch [Thu, 5 May 2016 21:01:19 +0000 (22:01 +0100)]
Show review toolbar when outputting changes

"Output changes" alters the preamble even in the absence of tracked
changes. Therefore, not being able to notice when it is activated can possibly
yield hard-to-debug compilation failures.

8 years agostatus.22x
Guillaume Munch [Fri, 6 May 2016 00:35:42 +0000 (01:35 +0100)]
status.22x

8 years agoDisable certain change tracking commands when there are no changes
Guillaume Munch [Tue, 3 May 2016 21:15:21 +0000 (22:15 +0100)]
Disable certain change tracking commands when there are no changes

Fix TODO

8 years agoGuiChanges: provide feedback when there are no more changes
Guillaume Munch [Tue, 3 May 2016 19:40:28 +0000 (20:40 +0100)]
GuiChanges: provide feedback when there are no more changes

Remove FIXMEs: date and time localisation

8 years agoAutomatically show the review toolbar if the document has tracked changes
Guillaume Munch [Sat, 30 Jan 2016 23:14:36 +0000 (23:14 +0000)]
Automatically show the review toolbar if the document has tracked changes
(#8738)

For efficiency, we add a new flag to the buffer indicating when changes are
present. This flag is updated at each buffer update, and also when explicitly
requested via a dispatch result flag.

8 years agogetInnerText()
Guillaume Munch [Tue, 3 May 2016 20:09:15 +0000 (21:09 +0100)]
getInnerText()

8 years agoTocWidget: clean-up the timer logic
Guillaume Munch [Fri, 29 Apr 2016 21:48:53 +0000 (22:48 +0100)]
TocWidget: clean-up the timer logic

The timer logic introduced to solve bug #7138 was not entirely reliable; in
particular it resulted in spurious updates (noticeable by the treeview
collapsing just after one opens a branch, in particular).

This commit cleans up the timer logic. I followed the original design decision
of having an immediate update followed by a delayed update. Now the updates are
appropriately compressed and done after a delay of 2s (as can be noticed with
the treeview still collapsing, unfortunately, but after a more predictable
delay...).

8 years agoTocWidget: Fix perf regression
Guillaume Munch [Fri, 29 Apr 2016 23:25:46 +0000 (00:25 +0100)]
TocWidget: Fix perf regression

4d1ad336 fixed #9754 but caused perf issues by cancelling the gains of having a
timer (introduced after #7138). This introduces in GuiToc::enableView() a
lightweight check of whether the widget should be updated. The logic is inspired
from GuiViewSource::enableView().

8 years agoWhitespace
Guillaume Munch [Fri, 29 Apr 2016 21:29:27 +0000 (22:29 +0100)]
Whitespace

8 years agoLet getPosNearX take horizontal scrolling into account
Jean-Marc Lasgouttes [Sat, 30 Apr 2016 23:27:13 +0000 (01:27 +0200)]
Let getPosNearX take horizontal scrolling into account

If we do not do that, it is not possible to position the cursor after
a long inset with the mouse.

To do this, it is necessary to add the pit information to the Row
object. This is a good idea in any case, and will allow to simplify
some code later on.

Fixes bug #10094.
(cherry picked from commit 8851645799ef67015e49fd75b9dfeed65d685e85)

8 years agoAdd missing entry in status.22x
Jean-Marc Lasgouttes [Sat, 30 Apr 2016 22:15:56 +0000 (00:15 +0200)]
Add missing entry in status.22x

This was forgotten in fe5e1170.

8 years agostatus.22x
Guillaume Munch [Sat, 30 Apr 2016 15:07:51 +0000 (16:07 +0100)]
status.22x

8 years agoFix cursor position after redo
Jean-Marc Lasgouttes [Wed, 27 Apr 2016 19:16:34 +0000 (21:16 +0200)]
Fix cursor position after redo

When document settings are modified, a command
  inset-forall Branch inset-toggle asign
is run to open as needed all branches. At the end of the said loop,
the cursor is reset to where it was. However, the cur_after undo
element member is not set because it already had a value.

To make this work as expected, it is necessary in LFUN_INSET_FORALL to
reset the cursor before ending the undo group and to insert a dummy
recordUndo call.

Fixes bug #10097.

(cherry picked from commit 0036762f30def16ab8b2216f721f9e552893bc85)

8 years agoImprovements to the shortcuts preference dialog (#9174)
Guillaume Munch [Tue, 23 Feb 2016 20:46:19 +0000 (20:46 +0000)]
Improvements to the shortcuts preference dialog (#9174)

Ask the user for removing bindings when using the "restore" button (#9174).

Fix the already-bound-key detection logic.

Don't forget to trigger the search when initializing the search LineEdit with
its former value.

8 years agoFix horizontal scrolling in full-width collapsable insets
Jean-Marc Lasgouttes [Fri, 22 Apr 2016 10:11:00 +0000 (12:11 +0200)]
Fix horizontal scrolling in full-width collapsable insets

While a one paragraph large collapsable inset (containing for example a tabular) could be very wide and trigger horizontal scrolling, the code that makes collapsable insets wide when they contain several paragraphs would actually make them narrower in this case.

Typical example is a wide tabular and a caption in a table float, where horizontal scrolling would not trigger.

(cherry picked from commit 8c7ace4b on 2.3.0-staging)

8 years agoUpdates to splitting of consecutive environments.
Richard Heck [Thu, 21 Apr 2016 21:44:14 +0000 (17:44 -0400)]
Updates to splitting of consecutive environments.

From Enrico.

(cherry picked from commit ee82dd604010d4c1bf250640a3df6d790ea08380)

8 years agoHandle activateWindow in LFUN_BUFFER_SWITCH like in saveBufferIfNeeded() and doShowDi...
Stephan Witt [Sat, 16 Apr 2016 20:30:33 +0000 (22:30 +0200)]
Handle activateWindow in LFUN_BUFFER_SWITCH like in saveBufferIfNeeded() and doShowDialog() methods.
This is a requirement on Mac to get the current buffer view topmost after buffer switch.

8 years agoChange mouse cursor on tabular selection zones
Jean-Marc Lasgouttes [Tue, 2 Feb 2016 16:07:29 +0000 (17:07 +0100)]
Change mouse cursor on tabular selection zones

This is done by implementing the clickable method. It is not possible yet to have the usual left and down arrows, because Qt does not implement them as far as I can see.

Factor the code that triggers row/column selection and fix the logic. Now it is possible to select also at the right of the tabular inset.

8 years agoFix display of InsetCollapsable with split views
Jean-Marc Lasgouttes [Wed, 3 Feb 2016 09:37:29 +0000 (10:37 +0100)]
Fix display of InsetCollapsable with split views

When several bufferviews exist for the same inset, the data that depends on the view width have to be BufferView-dependent. While this is the case for several mutable members of InsetCollapsable, some were missing.

This commit makes button_dim_ (renamed from button_dim) and openinlined_ bv-dependent.

Get rid of the hitButton function.

Remove the bv-independent geometry() method and implement editable() explicitely instead.

Fixes bug #9756.

8 years agowhitespace only
Jean-Marc Lasgouttes [Wed, 3 Feb 2016 09:42:01 +0000 (10:42 +0100)]
whitespace only

8 years agoPass a BufferView to Inset::clickable
Jean-Marc Lasgouttes [Tue, 2 Feb 2016 16:17:10 +0000 (17:17 +0100)]
Pass a BufferView to Inset::clickable

8 years agoMake monolithic build code portable to Mac OS
Jean-Marc Lasgouttes [Wed, 13 Apr 2016 16:27:42 +0000 (18:27 +0200)]
Make monolithic build code portable to Mac OS

"echo -e" is definitely not portable. Use a plain loop instead.

Also use the automake silent rule mechanism to make the generation of monolithic source files visible.

8 years agostatus.22x
Guillaume Munch [Sun, 17 Apr 2016 14:32:12 +0000 (15:32 +0100)]
status.22x

8 years agoSanitize InsetMathHull and add a check for mutability in LFUN_MATH_MUTATE
Guillaume Munch [Mon, 14 Dec 2015 01:54:27 +0000 (01:54 +0000)]
Sanitize InsetMathHull and add a check for mutability in LFUN_MATH_MUTATE

Remove in particular all comparisons < and >= involving HullType.

Add a guard to make sure that mutate() only operates on types it has been
designed for. Then I figured I could use this new knowledge to give feedback
when math-mutate is not implemented via getStatus(). (To test this, insert a
regexp in Advanced Search & Replace and try to change it into a standard
equation via the contextual menu.)

8 years agoCorrect col spacing in Cases environment
Guillaume Munch [Fri, 8 Apr 2016 18:24:12 +0000 (20:24 +0200)]
Correct col spacing in Cases environment

8 years agoFix the display of column spacing in AMS environments
Guillaume Munch [Sun, 20 Dec 2015 20:56:34 +0000 (20:56 +0000)]
Fix the display of column spacing in AMS environments

AMS align environment should have some spacing between odd and even columns.

Add a new virtual method displayColSpace() to InsetMathGrid, InsetMathHull and
InsetMathSplit.

8 years agoDisplay the correct horizontal alignment in AMS environments
Guillaume Munch [Sun, 13 Dec 2015 03:32:32 +0000 (03:32 +0000)]
Display the correct horizontal alignment in AMS environments

A longstanding problem... (related: #1861)

The columns in AMS math environments have a fixed alignment (colAlign() in
InsetMathGrid.cpp). We set this alignment for display (Georg's
displayColAlign()) in InsetMathHull and InsetMathSplit. This is done according
to tests and documentation for the various environments.

There is also some mechanical code factoring via colAlign().

Finally, I disable setting the horizontal alignment in InsetMathSplit, which has
no impact on the LaTeX output, and has no longer any impact on the screen. (As
for vertical alignment I discovered that it was in fact customisable for
\aligned & friends! I hope that the more faithful interface will let other
users discover that too.)

8 years agostatus.22x
Guillaume Munch [Sat, 16 Apr 2016 22:23:03 +0000 (23:23 +0100)]
status.22x

8 years agoRaise the maxlastfiles cap
Guillaume Munch [Wed, 13 Jan 2016 01:30:05 +0000 (01:30 +0000)]
Raise the maxlastfiles cap

This only changes the maximum value that the user can choose in the UI, not the
default value.

8 years agoDo not omit the starting space when copying (#9995)
Guillaume Munch [Tue, 1 Mar 2016 13:39:43 +0000 (13:39 +0000)]
Do not omit the starting space when copying (#9995)

The offending code appears to have been introduced a long time ago. My
understanding is that it is no longer relevant. Notably, it only appears on copy
and not on cut, which tells us that: 1) it should be safe to remove it, 2) we
should remove it for consistency.

8 years agostatus.22x
Guillaume Munch [Wed, 15 Jun 2016 19:26:14 +0000 (20:26 +0100)]
status.22x

8 years agoMake latex highlighter colors compatible with dark theme
Guillaume Munch [Tue, 14 Jun 2016 20:45:47 +0000 (21:45 +0100)]
Make latex highlighter colors compatible with dark theme

Partial fix for #8325

8 years agostatus.22x
Guillaume Munch [Mon, 13 Jun 2016 23:07:32 +0000 (00:07 +0100)]
status.22x

8 years agoShortcutOverride again
Guillaume Munch [Mon, 13 Jun 2016 06:39:04 +0000 (07:39 +0100)]
ShortcutOverride again

Re: fix for #9218 (not #10119)

Now it matches the example given in the docs. This time tested on qt4.

8 years ago* Math.lyx put last changes under CT.
Pavel Sanda [Mon, 13 Jun 2016 01:57:58 +0000 (18:57 -0700)]
* Math.lyx put last changes under CT.

8 years agoFix bug #9218
Guillaume Munch [Wed, 1 Jun 2016 17:27:36 +0000 (18:27 +0100)]
Fix bug #9218

This makes Qt 5.4 as usable as Qt 5.5.1 in my experience. Otherwise, fix again
INSTALL.

8 years agoFix compilation with Qt < 4.7
Guillaume Munch [Sat, 11 Jun 2016 04:41:48 +0000 (05:41 +0100)]
Fix compilation with Qt < 4.7

Thanks to jkulesza

8 years agoCorrect path names were to look for RPM based dictionaries for hunspell on Linux.
Stephan Witt [Tue, 10 May 2016 16:06:48 +0000 (18:06 +0200)]
Correct path names were to look for RPM based dictionaries for hunspell on Linux.

(cherry picked from commit 3a2fc1595b316e0847d25b0604ec9188d953af01)

8 years agoWhen we use InPremable styles, we want to write as many versions
Richard Heck [Sun, 12 Jun 2016 04:58:33 +0000 (00:58 -0400)]
When we use InPremable styles, we want to write as many versions
to the premable as the user enters.

(cherry picked from commit fa190691a8e825d199845120ab23d2f8cde68500)

8 years ago* Math.lyx : add few maxima examples to ch. 23.1.
Pavel Sanda [Sat, 11 Jun 2016 18:23:39 +0000 (11:23 -0700)]
* Math.lyx : add few maxima examples to ch. 23.1.

8 years agoFix silly error outputting math sizes. Fixes bug #10129.
Richard Heck [Sat, 11 Jun 2016 04:48:55 +0000 (00:48 -0400)]
Fix silly error outputting math sizes. Fixes bug #10129.

(cherry picked from commit bb5c760b37cbc360a46c5cca83178c5b79c3b9b3)

8 years agoImprove build for FreeBSD.
Pavel Sanda [Thu, 9 Jun 2016 02:33:08 +0000 (19:33 -0700)]
Improve build for FreeBSD.

Patch from Shankar Giri Venkita Giri.

8 years agoWin installer: new version with Qt 5.6.1
Uwe Stöhr [Thu, 9 Jun 2016 00:10:32 +0000 (02:10 +0200)]
Win installer: new version with Qt 5.6.1

- the update to JabRef 3.4 which fixes installation problems if user has no admin privileges
- also update MiKTeX and ImageMagick

8 years agoForgot I shouldn't cherry pick changes to the docs. So fix it.
Richard Heck [Tue, 7 Jun 2016 21:37:54 +0000 (17:37 -0400)]
Forgot I shouldn't cherry pick changes to the docs. So fix it.

8 years agoFix bug #10194: Space missing in UI.
Richard Heck [Tue, 7 Jun 2016 00:41:07 +0000 (20:41 -0400)]
Fix bug #10194: Space missing in UI.

(cherry picked from commit 6f88e11da323c7159f80cf79d9f4486d3615e355)

8 years agoFix some problems with the preamble in th eKoma-script letter
Richard Heck [Mon, 6 Jun 2016 23:55:54 +0000 (19:55 -0400)]
Fix some problems with the preamble in th eKoma-script letter
template.

Thanks to Richard Talley for the report.

(cherry picked from commit b3cf3b67d98d9a1f1e644b222fa8e6a0926b01fc)

8 years agoForce native line endings for .po files
Georg Baum [Sat, 4 Jun 2016 17:22:36 +0000 (19:22 +0200)]
Force native line endings for .po files

As discussed on the list some time ago. cmake produces .po files already in
native line endings. Only autotools on mingw might produce wrong line endings
now, but I am pretty sure that nobody updates .po files using autotools on mingw.

8 years agoGet rid of pseudo diffs when remerging strings
Georg Baum [Sat, 4 Jun 2016 17:21:06 +0000 (19:21 +0200)]
Get rid of pseudo diffs when remerging strings

cmake sorts the input files for lyx_pot.py internally, but autotools use a
shell pattern like *.ui on the command line, so the order may be different
on different machines. It is more robust not to require any sorting from the
caller, so lyx_pot.py sorts now internally.

8 years agoFix version number.
Richard Heck [Fri, 3 Jun 2016 21:45:02 +0000 (17:45 -0400)]
Fix version number.

8 years agoFix horizontal scrolling in full-width collapsable insets
Jean-Marc Lasgouttes [Fri, 22 Apr 2016 10:11:00 +0000 (12:11 +0200)]
Fix horizontal scrolling in full-width collapsable insets

While a one paragraph large collapsable inset (containing for example a tabular) could be very wide and trigger horizontal scrolling, the code that makes collapsable insets wide when they contain several paragraphs would actually make them narrower in this case.

Typical example is a wide tabular and a caption in a table float, where horizontal scrolling would not trigger.

(cherry picked from commit a879bc257519f030322d8d99643ccf3e52c1b62e)

8 years agoWin installer: sync package list with master and 2.1.x
Uwe Stöhr [Thu, 2 Jun 2016 23:28:56 +0000 (01:28 +0200)]
Win installer: sync package list with master and 2.1.x

8 years agoTutorial.lyx: don't use true small caps
Uwe Stöhr [Thu, 2 Jun 2016 23:27:48 +0000 (01:27 +0200)]
Tutorial.lyx: don't use true small caps

this would require another font package with several MB size for only one single word -> not worth it for the Tutorial. The other language versions of the Tutorial do already not use true small caps.

8 years agoUpdate sk.po
Kornel Benko [Thu, 2 Jun 2016 13:39:56 +0000 (15:39 +0200)]
Update sk.po

8 years agoAllow automatic text direction in Painter::text()
Jean-Marc Lasgouttes [Tue, 31 May 2016 12:49:13 +0000 (14:49 +0200)]
Allow automatic text direction in Painter::text()

It is wrong to assume that direction is left-to-right when no indication exist.

Add a new enum with values LtR, RtL and Auto to be used as argument of
the private text() methods. When direction is Auto, let Qt decide how
the string shall be layed out.

This is reimplementation of 51ee267c. A direct cherry-pick was not possible.

Fixes bug #10169.

8 years agode.po: some translations
Uwe Stöhr [Tue, 31 May 2016 21:18:28 +0000 (23:18 +0200)]
de.po: some translations

8 years agoErrorListUi.ui: correct an expression
Uwe Stöhr [Tue, 31 May 2016 21:16:32 +0000 (23:16 +0200)]
ErrorListUi.ui: correct an expression

8 years agoWin installer: fix mistake introduced with last commit
Uwe Stöhr [Mon, 30 May 2016 23:24:47 +0000 (01:24 +0200)]
Win installer: fix mistake introduced with last commit

8 years agoWin installer: 2 bugfixes
Uwe Stöhr [Mon, 30 May 2016 23:22:12 +0000 (01:22 +0200)]
Win installer: 2 bugfixes

8 years agoUserGuide.lyx: update 2 images
Uwe Stöhr [Mon, 30 May 2016 21:19:24 +0000 (23:19 +0200)]
UserGuide.lyx: update 2 images

8 years agostatus.22x: undocument a bugfix
Georg Baum [Mon, 30 May 2016 19:34:33 +0000 (21:34 +0200)]
status.22x: undocument a bugfix

This reverts c5e63f73b, since the fix is already in 2.2.0.

8 years agoUserGuide.lyx: update 2 images
Uwe Stöhr [Mon, 30 May 2016 02:26:13 +0000 (04:26 +0200)]
UserGuide.lyx: update 2 images

8 years agostatus.22x: document a bugfix
Uwe Stöhr [Sun, 29 May 2016 23:59:13 +0000 (01:59 +0200)]
status.22x: document a bugfix

8 years agotufte-handout.lyx: remove some unnecessary TeX code
Uwe Stöhr [Sun, 29 May 2016 23:55:18 +0000 (01:55 +0200)]
tufte-handout.lyx: remove some unnecessary TeX code

8 years agotufte-handout.lyx: remove some unnecessary TeX code
Uwe Stöhr [Sun, 29 May 2016 23:54:30 +0000 (01:54 +0200)]
tufte-handout.lyx: remove some unnecessary TeX code

8 years agoHandle activateWindow in LFUN_BUFFER_SWITCH like in saveBufferIfNeeded() and doShowDi...
Stephan Witt [Sat, 16 Apr 2016 20:30:33 +0000 (22:30 +0200)]
Handle activateWindow in LFUN_BUFFER_SWITCH like in saveBufferIfNeeded() and doShowDialog() methods.
This is a requirement on Mac to get the current buffer view topmost after buffer switch.

8 years agoAvoid narrow boxes when using \width as box width unit
Jean-Marc Lasgouttes [Tue, 5 Apr 2016 08:43:16 +0000 (10:43 +0200)]
Avoid narrow boxes when using \width as box width unit

When the box has a special width, one should not consider that as a fixed width. Otherwise, due to implementation quirks, the width will be set on screen as 1 inch.

A better solution would be to actually set the width by taking in account the contents width, height ans total height. This is not very difficult, but I do not know whether it would workout well in the work area.

Fixes bug #10048.

8 years agoMove the documentation changelogs out of attic
Jean-Marc Lasgouttes [Fri, 15 Apr 2016 16:17:26 +0000 (18:17 +0200)]
Move the documentation changelogs out of attic

They should not be hidden in this directory.

8 years agoWhen a counter is stepped, reset recursively all slaves
Jean-Marc Lasgouttes [Mon, 11 Apr 2016 10:00:19 +0000 (12:00 +0200)]
When a counter is stepped, reset recursively all slaves

Fixes bug #10063.

8 years agoThis is LyX 2.2.0 2.2.0
Scott Kostyshak [Mon, 23 May 2016 23:49:15 +0000 (19:49 -0400)]
This is LyX 2.2.0

8 years agoUpdate ANNOUNCE for 2.2.0
Scott Kostyshak [Mon, 23 May 2016 22:51:18 +0000 (18:51 -0400)]
Update ANNOUNCE for 2.2.0

The https download URL is given now.

8 years ago* One more shortcut conflict solved
jpc [Mon, 23 May 2016 22:15:10 +0000 (23:15 +0100)]
* One more shortcut conflict solved
* fr.gmo updated

8 years ago* Edit translation mistakes for icon sizes
jpc [Mon, 23 May 2016 21:43:39 +0000 (22:43 +0100)]
* Edit translation mistakes for icon sizes
* Resolve a shortcut conflict
* Provide fr.gmo using msgfmt

8 years agoAdd note about required svg support in Qt.
Enrico Forestieri [Mon, 23 May 2016 01:04:55 +0000 (03:04 +0200)]
Add note about required svg support in Qt.

8 years agoFix using system theme icons with Qt 5 (#10052)
Scott Kostyshak [Mon, 23 May 2016 00:39:46 +0000 (20:39 -0400)]
Fix using system theme icons with Qt 5 (#10052)

With Qt 5, our code did not correctly detect when icons were
available and thus tried to use nonexistent icons.

QIcon::hasThemeIcon(theme_icon) returns true when theme_icon is
empty. We now rely on the behavior that QIcon::isNull() returns true
if the icon is empty.

The same code is used with Qt 4 and Qt 5.

8 years agoRELEASE-NOTES: add a known issue regarding LuaTeX
Scott Kostyshak [Sun, 22 May 2016 22:05:24 +0000 (18:05 -0400)]
RELEASE-NOTES: add a known issue regarding LuaTeX

Our LuaTeX export is not expected to work in all cases with the
newest version, e.g. the one shipped with TeX Live 2016.

8 years agoFxy typo in XHTML output (bug #10124)
Georg Baum [Sun, 22 May 2016 15:32:04 +0000 (17:32 +0200)]
Fxy typo in XHTML output (bug #10124)

There was a simple typo that did ouput the slash before the closing tag
instead of inside the closing tag.

8 years agoFix compilation if Intro manual for it
Scott Kostyshak [Sun, 22 May 2016 03:13:27 +0000 (23:13 -0400)]
Fix compilation if Intro manual for it

8 years agoFix compilation of Additional manual for es, fr
Scott Kostyshak [Sun, 22 May 2016 03:05:35 +0000 (23:05 -0400)]
Fix compilation of Additional manual for es, fr