]> git.lyx.org Git - lyx.git/log
lyx.git
7 years agoImprove info display for biblatex databases, part III
Juergen Spitzmueller [Mon, 19 Sep 2016 17:09:42 +0000 (19:09 +0200)]
Improve info display for biblatex databases, part III

When resolving biblatex's xdata references, consider that xdata fields
can contain a comma-separated list of keys, not just a single key like
crossref.

7 years agoRegex fix for endyear
Juergen Spitzmueller [Sun, 18 Sep 2016 10:59:43 +0000 (12:59 +0200)]
Regex fix for endyear

As of biblatex 3.5, years and endyears can be negative (BCE).

7 years agoImprove info display for biblatex databases, part II
Juergen Spitzmueller [Sun, 18 Sep 2016 10:44:12 +0000 (12:44 +0200)]
Improve info display for biblatex databases, part II

In addition to the classic crossref, biblatex introduces xdata
references in order to source-out common data of entries. Entries
that have "xdata = {somekey}" just inherit all fields from the
respective @xdata entry, if the field is not already defined in
the entry itself (just like crossref, with the exception that @xdata
entries themselves are _never_ output on their own). @xdata entries can
themselves inherit to other @xdata entries (ad infinitum). So you can,
for instance, setup an xdata entry for a book series with series name
that inherits an xdata entry with information of the publisher
(publisher, address). Any book of that series would just need to refer
to the series xdata and add the number.

BiblioInfo now checks, in addition to crossrefs, for such xdata
references and inherits missing fields.

Nte that biblatex also introduces an "xref" field as an alternative to
crossref. We must not care about that, since the point of xref is that
it does not inherit fields from the target (just cites that one if a
given number of refs to it exist)

7 years agoImprove info display for biblatex databases
Juergen Spitzmueller [Sun, 18 Sep 2016 08:33:33 +0000 (10:33 +0200)]
Improve info display for biblatex databases

If an entry does not have a year field, check for a date field
(the common type in biblatex databases) and extract the year(s).

Candidate for branch.

7 years agoUpdate it.po
Enrico Forestieri [Sat, 22 Oct 2016 20:53:18 +0000 (22:53 +0200)]
Update it.po

7 years agostatus.22x
Guillaume Munch [Fri, 23 Sep 2016 21:29:26 +0000 (23:29 +0200)]
status.22x

7 years agoBetter error message when try to bind a Hidden LFUN
Guillaume Munch [Tue, 5 Jul 2016 19:38:24 +0000 (21:38 +0200)]
Better error message when try to bind a Hidden LFUN

(cherry picked from commit 1f2d7f4db93aa76ae54e75efb52d9359b4ea289f)

7 years agoPrioritize the shortcuts from the work areas
Guillaume Munch [Mon, 4 Jul 2016 02:23:32 +0000 (04:23 +0200)]
Prioritize the shortcuts from the work areas

* Fix bug #10261 : KDE smartly adds conflicting accelerators.

* Prevent bugs like #9495 in the future.

Issues (non-regression):

* It does not appear possible to prevent Ubuntu's Unity from grabbing the
  accelerators for the menus. For instance Alt+A still opens _Affichage in the
  French localization.

(cherry picked from commit eb8c5905f617b31ec470358e0e23120fc586d695)

7 years agoamend b1ffe775359f62043770d24aa3ec0cc4fab8f977
Guillaume Munch [Wed, 21 Sep 2016 22:45:57 +0000 (00:45 +0200)]
amend b1ffe775359f62043770d24aa3ec0cc4fab8f977

7 years agostatus.22x
Guillaume Munch [Wed, 21 Sep 2016 22:11:16 +0000 (00:11 +0200)]
status.22x

7 years agoBetter title for ViewSource
Guillaume Munch [Sun, 28 Aug 2016 20:57:17 +0000 (21:57 +0100)]
Better title for ViewSource

The title is changed to "LaTeX (pdflatex) Preview", etc. depending on the
format. The actual default format is computed.

The menu name "Source Pane" is replaced by "Code Preview Pane" to better reflect
its purpose.

(cherry-picked from ca58674267b2c050b3b53402c9414b6bd697dc0a)

7 years agoChange "Output" into "Formats"
Guillaume Munch [Sun, 28 Aug 2016 15:51:15 +0000 (16:51 +0100)]
Change "Output" into "Formats"

This reverts commit 030f4c6d1e56f94122d5e4fae08ac6a2f2b4c5cf.

The plural form seems more appropriate and the tag [[output]] is added for
disambiguation (e.g. for the French translation).

7 years agoWhitespace
Richard Heck [Wed, 21 Sep 2016 20:30:58 +0000 (16:30 -0400)]
Whitespace

(was: "Status and configure for 2.2.3." form 2.2.3-staging

It became empty after rebasing 2.2.3-staging onto 2.2.3.)

7 years agoFix LaTeX output of fixed-width cells with decimal separator
Juergen Spitzmueller [Sat, 22 Oct 2016 10:13:36 +0000 (12:13 +0200)]
Fix LaTeX output of fixed-width cells with decimal separator

This follows Uwe's suggestions (and discharges my own).

The result is not ideal, but there is currently no ideal solution.

Fixes: #9568
7 years agoImplement wrapping in next-change (#10388).
Juergen Spitzmueller [Sat, 15 Oct 2016 14:34:16 +0000 (16:34 +0200)]
Implement wrapping in next-change (#10388).

7 years agoMove wrap check for simple search/replace to lyxfind
Juergen Spitzmueller [Wed, 14 Sep 2016 08:23:39 +0000 (10:23 +0200)]
Move wrap check for simple search/replace to lyxfind

This gets rid of some dirty dispatch tricks and fixes wrap-around
on replace and in the spellchecker

Fixes: #10378
7 years agoUpdate boost to version 1.62.
Jean-Marc Lasgouttes [Sat, 22 Oct 2016 14:28:52 +0000 (16:28 +0200)]
Update boost to version 1.62.

7 years agoMerge branch '2.2.x' of git.lyx.org:lyx into 2.2.x
Uwe Stöhr [Fri, 21 Oct 2016 23:00:23 +0000 (01:00 +0200)]
Merge branch '2.2.x' of git.lyx.org:lyx into 2.2.x

7 years agoUserGuide.lyx: deny a change
Uwe Stöhr [Fri, 21 Oct 2016 23:00:11 +0000 (01:00 +0200)]
UserGuide.lyx: deny a change

this type of description is used all over the place in the LyX docs

7 years agoUpdate sk.po
Kornel Benko [Fri, 21 Oct 2016 22:57:48 +0000 (00:57 +0200)]
Update sk.po

7 years agode.po
Juergen Spitzmueller [Fri, 21 Oct 2016 20:11:11 +0000 (22:11 +0200)]
de.po

7 years agoRefs dialog redesign.
Juergen Spitzmueller [Fri, 21 Oct 2016 20:05:54 +0000 (22:05 +0200)]
Refs dialog redesign.

7 years agoCitation dialog redesign
Juergen Spitzmueller [Fri, 21 Oct 2016 20:03:19 +0000 (22:03 +0200)]
Citation dialog redesign

7 years agoFix label display in linguistic examples
Juergen Spitzmueller [Fri, 21 Oct 2016 17:20:23 +0000 (19:20 +0200)]
Fix label display in linguistic examples

7 years agoFrench splash.lyx: restore \origin tag
Uwe Stöhr [Thu, 20 Oct 2016 20:35:59 +0000 (22:35 +0200)]
French splash.lyx: restore \origin tag

7 years agoWhen breaking an empty paragraph reduces depth, set layout too
Jean-Marc Lasgouttes [Thu, 13 Oct 2016 18:33:57 +0000 (20:33 +0200)]
When breaking an empty paragraph reduces depth, set layout too

This requires an adaptation of the Separator inset insertion code,
which has been duly provided by Enrico.
(cherry picked from commit b162bd6d2b4284d02d7f4ce5883ae4bef3880883)

7 years agosv.po: updates from Jim
Uwe Stöhr [Wed, 19 Oct 2016 23:01:13 +0000 (01:01 +0200)]
sv.po: updates from Jim

7 years agoDo some caching of window title and related UI
Jean-Marc Lasgouttes [Wed, 19 Oct 2016 09:55:08 +0000 (11:55 +0200)]
Do some caching of window title and related UI

This should avoid performance problems related to the window update machinery.
Moreover this fixes a crash introduced by e4998f21 when closing a file.

Note that GuiWorkArea::Private already had a read_only_ member, but it
was unused.

Also rename LyXVC::vcname() to LyXVC::vcstatus() since it now contains
directly the UI string to be shown.

(cherry picked from commit 6cb05ce8bb58720dfef6e5707c1f3fad3949881f)
(cherry picked from commit 85bcf0d93f7b0137c1d3b4d030a1840cbfe5892e)

7 years agoSet window title according to platform UI
Jean-Marc Lasgouttes [Tue, 6 Sep 2016 09:17:10 +0000 (11:17 +0200)]
Set window title according to platform UI

The window title is built from the current file name and its
mofidication state. We use our own code instead of the automatic title
bar provided when windowFileName() is set because

1/ Qt does not keep the full path name
2/ Qt does not yield a nice application name
3/ Qt separates file name and app name with an em-dash. It seems that
   only KDE does that: Gnome does not, Windows does not either. I do not
   think that we can/want to detect a KDE environment at run-time.

The "read only" and "version control" status are shown in the status bar:

* for read only we use the tab read only emblem (with the right size)
* for version control, we show the name of the backend (using a new
  vcname() method of the backend).

The iconText() of the view is not updated anymore, since this is
deprecated in Qt5.

(cherry picked from commit 82808fea04315fd323ec074e8ad7865d190987d4)
(cherry picked from commit 9313f8565b41c9de4b1990e155fe3fe8468f3446)
(cherry picked from commit bbe36ce6ce87ae37b7c30c250efbff2f9c185de4)
(cherry picked from commit 7cbc0c16a841716fa8966e0f800ee2cdc0432e25)

7 years agoMake *-lyxformat-* backup files use .lyx~ extension
Jean-Marc Lasgouttes [Fri, 9 Sep 2016 08:37:42 +0000 (10:37 +0200)]
Make *-lyxformat-* backup files use .lyx~ extension

At least now they look like real backup files.

(cherry picked from commit d12ebb00b9050503872d81ea33d7804160aa2cd4)

7 years agoDo not hardcode required packages for Note inset
Jean-Marc Lasgouttes [Wed, 21 Sep 2016 14:11:53 +0000 (16:11 +0200)]
Do not hardcode required packages for Note inset

This does not change the default behavior, but allows to customize it.

(cherry picked from commit db1270765573eafc453fe903fcfb6f9ba91f9f31)

7 years agoWin installer backport recent changes
Uwe Stöhr [Sun, 16 Oct 2016 12:34:27 +0000 (14:34 +0200)]
Win installer backport recent changes

7 years agoSanitize Ref dialog validation.
Juergen Spitzmueller [Thu, 8 Sep 2016 13:04:58 +0000 (15:04 +0200)]
Sanitize Ref dialog validation.

Fixes: #10376
7 years agouk.po: update from Yuri for 2.2.x
Uwe Stöhr [Sat, 15 Oct 2016 20:50:08 +0000 (22:50 +0200)]
uk.po: update from Yuri for 2.2.x

7 years agoBack to development.
Richard Heck [Sat, 15 Oct 2016 19:55:08 +0000 (15:55 -0400)]
Back to development.

7 years agoFix patch preamable...though it still isn't fixed. 2.2.2
Richard Heck [Mon, 10 Oct 2016 15:50:02 +0000 (11:50 -0400)]
Fix patch preamable...though it still isn't fixed.

7 years agoRemerge strings.
Richard Heck [Mon, 10 Oct 2016 14:33:45 +0000 (10:33 -0400)]
Remerge strings.

7 years agoPreparations for 2.2.2.
Richard Heck [Mon, 10 Oct 2016 14:32:05 +0000 (10:32 -0400)]
Preparations for 2.2.2.

7 years agoCommit gmo files.
Richard Heck [Mon, 10 Oct 2016 14:24:27 +0000 (10:24 -0400)]
Commit gmo files.

7 years agoFix monolithic build.
Richard Heck [Mon, 10 Oct 2016 14:24:08 +0000 (10:24 -0400)]
Fix monolithic build.

7 years agoDevelopment.lyx: backport the current rules/advises
Uwe Stöhr [Mon, 10 Oct 2016 00:45:57 +0000 (02:45 +0200)]
Development.lyx: backport the current rules/advises

7 years agoFrench UserGuide.lyx: restore \origin tag
Uwe Stöhr [Mon, 10 Oct 2016 00:14:41 +0000 (02:14 +0200)]
French UserGuide.lyx: restore \origin tag

Jean-Pierre, please take care of this otherwise LyX cannot be compiled.
Please also port changes you commit to 2.2.x to master

7 years ago Typo pointed out in the lyx-fr mailing list
jpc [Fri, 7 Oct 2016 07:59:03 +0000 (08:59 +0100)]
   Typo pointed out in the lyx-fr mailing list

7 years agoUpdate sk.po
Kornel Benko [Wed, 5 Oct 2016 17:30:50 +0000 (19:30 +0200)]
Update sk.po

7 years agoImprove systemlyxdir handling
Enrico Forestieri [Sat, 17 Sep 2016 20:38:27 +0000 (22:38 +0200)]
Improve systemlyxdir handling

Do not assume that the /systemlyxdir path prefix in \origin refers
to the system directory of the running instance, but check through
some heuristics what the real system dir is. In this way, a document
in the system dir of any other LyX installation is correctly spotted
and the \origin tag properly updated. For example, one can use an
installed version of lyx to edit a document in the lib/doc dir of a
git repo and obtain the same result as when running lyx in place.

(cherry picked from commit ade098e2896bd9d7d87b3df1a9276661dd3f7c78)

7 years ago Typo
jpc [Sun, 25 Sep 2016 16:29:16 +0000 (17:29 +0100)]
      Typo

7 years agoAmend 40c262cb
Scott Kostyshak [Fri, 23 Sep 2016 02:55:35 +0000 (22:55 -0400)]
Amend 40c262cb

Use LyX note instead of comment. This is less invasive that
converting Beamer frames to fragile to accommodate the comment
environment.

7 years agoAmend and extend 9f3518bc
Scott Kostyshak [Fri, 23 Sep 2016 02:12:59 +0000 (22:12 -0400)]
Amend and extend 9f3518bc

The comment is now in a comment inset. This change is extended to
all versions of beamer.lyx.

Change tracking is not used because it only affects a comment
(consistent with aa81ae7e).

This change is made according to updated conversation at:
https://www.mail-archive.com/search?l=mid&q=nruubc%24uu0%241%40blaine.gmane.org

7 years ago Change a line to avoid bad hyphenation
jpc [Wed, 21 Sep 2016 08:11:31 +0000 (09:11 +0100)]
         Change a line to avoid bad hyphenation

THe pdf output showed  a very visible line overfull. I slightly changed the text to
avoid this without adding an hyphenation point, not appropriate in documents for beginners.

7 years agoFrench beamer.lyx: accept changes
Uwe Stöhr [Tue, 20 Sep 2016 21:16:42 +0000 (23:16 +0200)]
French beamer.lyx: accept changes

I think this can be accepted without further explanation since it is in a comment

7 years ago Upadte fr.po
jpc [Tue, 20 Sep 2016 17:49:43 +0000 (18:49 +0100)]
    Upadte fr.po

7 years agoFix compilation of fr/beamer.lyx with XeTeX
Scott Kostyshak [Tue, 20 Sep 2016 02:23:41 +0000 (22:23 -0400)]
Fix compilation of fr/beamer.lyx with XeTeX

The compilation did not succeed before because of an é in an ERT
inset. This is changed to \'{e}.

Also correct spelling of "decouvert" to "découvert".

Alternatives would be to use a LyX note or a comment inset. Since
the original version uses ERT, I do not change that.

This commit fixes the following ctest:

  export/examples/fr/beamer-article_pdf4_texF

It likely also fixes the corresponding test for fr/beamer.lyx, but
since the default output format is set to pdf2 we do not run the
test.

For more information, see:
https://www.mail-archive.com/search?l=mid&q=20160919192413.ftnz4gk6dl5w3k5c%40Opti1604

7 years agoMakefile.am: add 2 missing entries
Uwe Stöhr [Sat, 17 Sep 2016 11:02:48 +0000 (13:02 +0200)]
Makefile.am: add 2 missing entries

7 years agoWin installer: backport changes from master and prepare for 2.2.2
Uwe Stöhr [Sat, 17 Sep 2016 11:01:32 +0000 (13:01 +0200)]
Win installer: backport changes from master and prepare for 2.2.2

7 years agopt_BR.po: updates from Georger
Uwe Stöhr [Sat, 17 Sep 2016 10:58:33 +0000 (12:58 +0200)]
pt_BR.po: updates from Georger

7 years agode.po: update
Juergen Spitzmueller [Sat, 17 Sep 2016 08:13:16 +0000 (10:13 +0200)]
de.po: update

7 years agoRevert "de.po"
Juergen Spitzmueller [Sat, 17 Sep 2016 08:11:01 +0000 (10:11 +0200)]
Revert "de.po"

This reverts commit 2c271a26b50e5464a52ebeda65edcd574bb251be.
:q
:wa

7 years agode.po
Juergen Spitzmueller [Sat, 17 Sep 2016 08:04:08 +0000 (10:04 +0200)]
de.po

7 years agoFix data loss with [ in first cell of aligned
Georg Baum [Mon, 12 Sep 2016 18:56:05 +0000 (20:56 +0200)]
Fix data loss with [ in first cell of aligned

If the first character in the first cell of an aligned math environment is
'[', and the environment does not use top or bottom vertical alignment,
then LyX did write the '[' unprotected so that it got misinterpreted as
optional argument, both when reading the .lyx file in LyX and when reading
the .tex file in LaTeX => data loss!
The fix is to output an empty optional argument in this case, which is
interpreted as default alignment both by LyX and LaTeX. It would also be
possible to output \[ in the first cell instead, but this would be more
difficult to implement.

7 years agoUpdate it.po
Enrico Forestieri [Mon, 12 Sep 2016 06:18:36 +0000 (08:18 +0200)]
Update it.po

7 years agode.po: update for 2.2.2
Juergen Spitzmueller [Sun, 11 Sep 2016 16:57:12 +0000 (18:57 +0200)]
de.po: update for 2.2.2

7 years agoUpdate sk.po
Kornel Benko [Sun, 11 Sep 2016 16:37:43 +0000 (18:37 +0200)]
Update sk.po

7 years agoRemerge strings.
Richard Heck [Sun, 11 Sep 2016 16:07:05 +0000 (12:07 -0400)]
Remerge strings.

7 years agoSet vertical lines in math arrays correctly on Y axis
Jean-Marc Lasgouttes [Mon, 5 Sep 2016 09:29:44 +0000 (11:29 +0200)]
Set vertical lines in math arrays correctly on Y axis

This is a fixup to commit 39329935. The two fixes are
* add forgotten offset `y' when drawing the line
* in order to have a continuous vertical line, draw from the offset of
  the previous row.

Fixes bug #10363.

(cherry-picked from a27ff136)

7 years agoFix filter filter regex
Georg Baum [Thu, 8 Sep 2016 18:54:13 +0000 (20:54 +0200)]
Fix filter filter regex

Now the external material file dialog shows the file types defined in the
template again. Before this fix it did only show "All files (*)".
I don't know what the old syntax was supposed to do or whether it ever worked
with boost::regex, but with std::regex the new one is correct.

7 years agoAdd xlsx format
Georg Baum [Thu, 8 Sep 2016 18:53:37 +0000 (20:53 +0200)]
Add xlsx format

We do already have docx, but xlsx was missing. This is a separate format
because of the MIME type. nd because some users might need converters which
can only handle one format. Now the spreadsheet template does not hide the
fact anymore that it can deal with xlsx files as well.

7 years agoUpdate docs wrt Separator
Juergen Spitzmueller [Thu, 8 Sep 2016 08:31:37 +0000 (10:31 +0200)]
Update docs wrt Separator

7 years agoFrench UserGuide.lyx: remove unnecessary language change
Uwe Stöhr [Wed, 7 Sep 2016 22:49:56 +0000 (00:49 +0200)]
French UserGuide.lyx: remove unnecessary language change

7 years agoRemove duplicate context menu item
Juergen Spitzmueller [Wed, 7 Sep 2016 07:51:47 +0000 (09:51 +0200)]
Remove duplicate context menu item

Fixes: #10368
7 years agoAmend 7d52d37662f69
Juergen Spitzmueller [Sun, 4 Sep 2016 15:43:51 +0000 (17:43 +0200)]
Amend 7d52d37662f69

\@ifundefined is an If-Then-ELSE construct.

7 years agoFix for recent luatex versions.
Juergen Spitzmueller [Sat, 9 Jul 2016 14:45:27 +0000 (16:45 +0200)]
Fix for recent luatex versions.

7 years agoFrench doc files: re-add missing \origin tag
Uwe Stöhr [Sat, 3 Sep 2016 20:17:52 +0000 (22:17 +0200)]
French doc files: re-add missing \origin tag

otherwise LyX cannot be compiled here

7 years agoRemove English traces in IPA inset that make XeTeX fail.
Juergen Spitzmueller [Sat, 3 Sep 2016 15:01:29 +0000 (17:01 +0200)]
Remove English traces in IPA inset that make XeTeX fail.

7 years agoIf available, use qtchooser to select correct Qt tools
Enrico Forestieri [Mon, 29 Aug 2016 20:35:09 +0000 (22:35 +0200)]
If available, use qtchooser to select correct Qt tools

When the Qt directory is specified by --with-qt-dir, the tools
are only searched for in the corresponding bin subdir and their
full path is retained, so that it is not necessary modifying the
PATH and PKG_CONFIG_PATH environment variables to select a custom
Qt version. Otherwise, if qtchooser is detected early in the PATH,
the generic names are attempted with proper arguments to select the
desired Qt version (e.g., "moc -qt=qt5" if --enable-qt5 is specified).
Failing all of the above, the generic names with and without proper
suffixes (either -qt4 or -qt5) are checked in the PATH.
Eventually, a check is performed and a warning is issued if the
selected tools do not match the chosen Qt libraries.

7 years agoAmend 3e432ec6314
Jean-Marc Lasgouttes [Mon, 29 Aug 2016 10:03:33 +0000 (12:03 +0200)]
Amend 3e432ec6314

It failed in the case where a selection already existed (the anchor would be wrongly reset).

(cherry picked from commit 68d825fed8f34aa98053e6264cf0668d08534549)

7 years agoSimplify menus when there is only one caption type
Jean-Marc Lasgouttes [Fri, 19 Aug 2016 12:01:00 +0000 (14:01 +0200)]
Simplify menus when there is only one caption type

This removes the submenu indirection in Insert and the type changer in
contextual menu. Interestingly, the code was there, but it did not
work at all.

(cherry picked from commit e7a33cacf171ee41609d6fe31e19eff6df1691bf
and made compatible with C++98)

7 years agoDo not set layout for no-op paragraph break
Jean-Marc Lasgouttes [Wed, 24 Aug 2016 13:29:17 +0000 (15:29 +0200)]
Do not set layout for no-op paragraph break

When breaking paragraph in an empty top-level paragraph, nothing
happens on screen but yet there is an undo step because the layout is
reset to what it already was.

Avoid this case.

Fixes bug #10089.
(cherry picked from commit 2ad52918da1d0f375bf2831df4c51f6afa7ea448)

7 years agoLaTeX highlighter: make at a letter in the user preamble
Guillaume Munch [Fri, 15 Jul 2016 16:45:47 +0000 (17:45 +0100)]
LaTeX highlighter: make at a letter in the user preamble

Syntax highlighting now provides the appropriate cue that the user preamble is
inside \makeatletter…\makeatother.

(cherry picked from commit 10f6eb2e7eeffc757b7f54059524441e90008240)

7 years agostatus.22x.
Guillaume Munch [Sun, 28 Aug 2016 00:51:16 +0000 (01:51 +0100)]
status.22x.

7 years agoLyXToolBox: a QToolBox with minimum size management
Guillaume Munch [Tue, 22 Mar 2016 21:57:17 +0000 (21:57 +0000)]
LyXToolBox: a QToolBox with minimum size management

The purpose of this custom widget is to allow the use of a QToolBox in a limited
area. The stock QToolBox does not provide a minimum size hint that depends on
the size of the pages; it assumes that there is enough room.  This subclass sets
the minimal size of the QToolbox. Without this, the size of the QToolbox is only
determined by values in the ui file and therefore causes portability and
localisation issues. Note that the computation of the minimum size hint depends
on the minimum size hints of the page widgets. Therefore page widgets must have
a layout with layoutSizeContraint = SetMinimumSize or similar.

(cherry picked from commits 576cb5df77604b50175b2410ac006c5c5c110e2b
                            7e9d0a938bb02510304822f6bce4df3bcfe4bfc9
                            efbc297b955da58cef7bf2d63dfbc8b2942c671e)

7 years agoBasic implementation of QSignalBlocker for qt4
Guillaume Munch [Fri, 29 Jul 2016 20:18:43 +0000 (21:18 +0100)]
Basic implementation of QSignalBlocker for qt4

(cherry picked from commit bc8eb059db9f25b0cb44af0a26fba13170971f40)

7 years agoFix "scroll here" feature of scrollbar (#10311)
Guillaume Munch [Fri, 29 Jul 2016 20:27:13 +0000 (21:27 +0100)]
Fix "scroll here" feature of scrollbar (#10311)

Prevent setRange() from causing a recursive call to scrollTo(). Reduces three
calls of scrollTo() to one call for all scrolling functions of the scroll bar
(e.g. clicking on the arrow, dragging, or clicking somewhere on the scrollbar).

(cherry picked from commit 4d7b912ca1890b5b0b3ed29568b7091a7e7baef0)

7 years agoUpdate sk.po
Kornel Benko [Fri, 26 Aug 2016 19:13:20 +0000 (21:13 +0200)]
Update sk.po

7 years agode.po: fix meta data
Juergen Spitzmueller [Fri, 26 Aug 2016 17:18:19 +0000 (19:18 +0200)]
de.po: fix meta data

7 years agode.po: update
Juergen Spitzmueller [Fri, 26 Aug 2016 17:13:50 +0000 (19:13 +0200)]
de.po: update

7 years agoImplement proper dialog titles in InsetParamsDialogs
Juergen Spitzmueller [Fri, 26 Aug 2016 09:35:12 +0000 (11:35 +0200)]
Implement proper dialog titles in InsetParamsDialogs

Fixes: #10329
7 years agoFix \@ifundefined check for covexample(s)
Juergen Spitzmueller [Fri, 26 Aug 2016 08:45:15 +0000 (10:45 +0200)]
Fix \@ifundefined check for covexample(s)

Fixes: #10340
7 years agoUpdate sk.po
Kornel Benko [Fri, 26 Aug 2016 11:00:10 +0000 (13:00 +0200)]
Update sk.po

7 years agoMove correctly the end of proof marker when row is large
Jean-Marc Lasgouttes [Tue, 23 Aug 2016 15:43:38 +0000 (17:43 +0200)]
Move correctly the end of proof marker when row is large

This was a regression from 2.1.x in LtR mode, and it never worked correctly in RtL mode.

Fixes bug #10344.

(cherry picked from commit 07c7dae367aea2ebc6486d1cc67b11c409f2d8a0)

7 years agoReset anchor before selecting with S-button1
Jean-Marc Lasgouttes [Tue, 23 Aug 2016 10:22:35 +0000 (12:22 +0200)]
Reset anchor before selecting with S-button1

(cherry picked from commit b583fb26e89ccdc242e5c11d5e9d8b0606bee957)

7 years agoLet M-x give focus to minibuffer when it is already open
Jean-Marc Lasgouttes [Fri, 19 Aug 2016 12:53:31 +0000 (14:53 +0200)]
Let M-x give focus to minibuffer when it is already open

(cherry picked from commit 65b0e84b5428897e36ff05fdf701bbba4acee8e8)

7 years agoRemove horizontal spacing around previews
Jean-Marc Lasgouttes [Thu, 21 Jul 2016 18:16:27 +0000 (20:16 +0200)]
Remove horizontal spacing around previews

This concerns the preview version of InsetPreview and InsetIPA.

Fixes bug #10304.
(cherry picked from commit 4ddad2f6cdefcfdd873ae3d4cea8b272495f9aba)

7 years agoWarn in GUI when mixing Title and InTitle layouts
Scott Kostyshak [Wed, 17 Aug 2016 02:09:57 +0000 (22:09 -0400)]
Warn in GUI when mixing Title and InTitle layouts

Since we process layouts sequentially, we export LaTeX code for the
title once we arrive to a layout that has InTitle false. If the
document then later has a layout with InTitle true, we do not
(currently) go back to add it to the title and just output it
in-place. We previously warned with LYXERR0, but since this can
cause missing or unexpected output we now warn in the GUI.

For more information, see the following lyx-devel thread:
https://www.mail-archive.com/search?l=mid&q=a65ae226-d3bd-8fc5-a93b-7bb23f1cda82%40lyx.org

(cherry picked from commit 0b1cf1330d850b21313f5e68a83bb5053e52e6ec)

7 years agoImprove a layout LYXERR0 message
Scott Kostyshak [Tue, 9 Aug 2016 03:41:59 +0000 (23:41 -0400)]
Improve a layout LYXERR0 message

The name of the layout is now included in an error message about
layouts. This will help with finding the root issue of several
documents we have.

(cherry picked from commit c949268da7a56368cf848199f37659c218a57808)

7 years agoFix exit code from runCommand on Windows
Enrico Forestieri [Wed, 17 Aug 2016 20:58:13 +0000 (22:58 +0200)]
Fix exit code from runCommand on Windows

On Windows, runCommand has never returned the exit code of the
spawned process but the result of correctly closing the input handle.

Fixes #10327

(cherry picked from commit fb46b3a1ee642b66b9712c6f376f543c47a2695e)

7 years agoRemove debugging code.
Richard Heck [Sat, 6 Aug 2016 01:39:58 +0000 (21:39 -0400)]
Remove debugging code.

(cherry picked from commit e57e008e88cb4e0339484e9da4470a60651e4dcc)

7 years ago Update French UI localization
jpc [Wed, 27 Jul 2016 17:12:06 +0000 (18:12 +0100)]
  Update French UI localization

7 years ago Update French Customization, Math, Tutorial and UserGuide manuals
jpc [Wed, 27 Jul 2016 17:09:40 +0000 (18:09 +0100)]
   Update French Customization, Math, Tutorial and UserGuide manuals

7 years agoCorrect default font of beamer article layouts
Juergen Spitzmueller [Thu, 4 Aug 2016 08:27:10 +0000 (10:27 +0200)]
Correct default font of beamer article layouts

Fixes: #9977
7 years agoFix XHTML export of German Additional Features manual.
Richard Heck [Fri, 5 Aug 2016 02:43:17 +0000 (22:43 -0400)]
Fix XHTML export of German Additional Features manual.

There was an oddity in the manual that exposed a problem with the
test for the "special case" of an inset all by itself in a pargraph.
If a font change is applied to that inset, we still need to open the
paragraph.

(cherry picked from commit 3be23d18b64d1409d14e0c1c95f4192e9a23e543)