]> git.lyx.org Git - features.git/log
features.git
9 years agostatus.21x: style fixes
Uwe Stöhr [Mon, 10 Nov 2014 02:38:38 +0000 (03:38 +0100)]
status.21x: style fixes

9 years agoremerge po-files
Uwe Stöhr [Mon, 10 Nov 2014 02:18:13 +0000 (03:18 +0100)]
remerge po-files

- requested merge by Richard to merge big the Portugal translation update
- also update the de.po and the status.21x file

9 years agotex2lyx: backport new features from master
Uwe Stöhr [Mon, 10 Nov 2014 01:23:05 +0000 (02:23 +0100)]
tex2lyx: backport new features from master

- support for bibtopic, \nameref and 2 math fonts

9 years agoFix CAS computation of a selected subformula.
Enrico Forestieri [Sun, 9 Nov 2014 23:47:50 +0000 (00:47 +0100)]
Fix CAS computation of a selected subformula.

Invoking a computer algebra system program for computing a selected
subformula has never worked (checked with all LyX versions back to 1.3)
and, moreover, in the presence of a selection things go awry.
This commit allows this computation by replacing the selected
subformula with the result of the computation.

9 years agoFix issue with CAS.
Enrico Forestieri [Sun, 9 Nov 2014 20:33:53 +0000 (21:33 +0100)]
Fix issue with CAS.

See http://thread.gmane.org/gmane.editors.lyx.devel/153516
This regression was due to a thinko in [43f6b167/lyxgit].

9 years agoFix font declarations.
Juergen Spitzmueller [Sun, 9 Nov 2014 08:55:39 +0000 (09:55 +0100)]
Fix font declarations.

9 years agoInsetFootlike.cpp: disallow to use listings in foot-like insets
Uwe Stöhr [Wed, 5 Nov 2014 23:31:42 +0000 (00:31 +0100)]
InsetFootlike.cpp: disallow to use listings in foot-like insets

- fixes bug #9321 also for branch

9 years agoPDF-comment.lyx: new example file
Uwe Stöhr [Wed, 5 Nov 2014 23:19:22 +0000 (00:19 +0100)]
PDF-comment.lyx: new example file

- backport from master, fixes #9310

9 years agoFix wrong test: boolean variable is never negative
Jean-Marc Lasgouttes [Sat, 1 Nov 2014 15:02:34 +0000 (16:02 +0100)]
Fix wrong test: boolean variable is never negative

This has been spotted by clang++.

9 years agoRemerge strings.
Richard Heck [Wed, 5 Nov 2014 15:40:02 +0000 (10:40 -0500)]
Remerge strings.

9 years agosk.po: update
Kornel Benko [Wed, 5 Nov 2014 13:14:44 +0000 (14:14 +0100)]
sk.po: update

9 years agode.po: update
Juergen Spitzmueller [Wed, 5 Nov 2014 09:40:03 +0000 (10:40 +0100)]
de.po: update

9 years agopdfcomment.module: Tweaks by UWe and myself
Juergen Spitzmueller [Wed, 5 Nov 2014 09:28:37 +0000 (10:28 +0100)]
pdfcomment.module: Tweaks by UWe and myself

9 years agoFix bug 9300. We need manually to convert newlines to paragraph breaks.
Richard Heck [Mon, 3 Nov 2014 15:56:22 +0000 (10:56 -0500)]
Fix bug 9300. We need manually to convert newlines to paragraph breaks.

9 years agolyx2lyx: fix convert_chunks for empty chunk layouts
Juergen Spitzmueller [Wed, 15 Oct 2014 12:07:14 +0000 (14:07 +0200)]
lyx2lyx: fix convert_chunks for empty chunk layouts

Fixes: #9298
9 years agoDo not truncate references in outline pane (bug 9312).
Richard Heck [Thu, 30 Oct 2014 22:39:58 +0000 (18:39 -0400)]
Do not truncate references in outline pane (bug 9312).

(cherry picked from commit 1f45e6527a9ef95d4c3f6b1b38ae2a1263347945)

9 years agorevtex4-1.lyx: simplifications and fixed typos
Uwe Stöhr [Tue, 28 Oct 2014 01:37:39 +0000 (02:37 +0100)]
revtex4-1.lyx: simplifications and fixed typos

9 years agoFixes for LyX on OSX 10.10 (Yosemite). From Stephan Witt.
Richard Heck [Mon, 27 Oct 2014 15:15:14 +0000 (11:15 -0400)]
Fixes for LyX on OSX 10.10 (Yosemite). From Stephan Witt.

9 years agorevtex4-1.lyx: some more fine-tuning
Uwe Stöhr [Mon, 27 Oct 2014 00:39:58 +0000 (01:39 +0100)]
revtex4-1.lyx: some more fine-tuning

9 years agorevtex4-1.lyx: some fine-tuning
Uwe Stöhr [Mon, 27 Oct 2014 00:03:28 +0000 (01:03 +0100)]
revtex4-1.lyx: some fine-tuning

9 years agoSort debug options in the message pane by string. This makes it
Richard Heck [Fri, 28 Mar 2014 16:51:55 +0000 (12:51 -0400)]
Sort debug options in the message pane by string. This makes it
much easier to find what you need, especially when we're trying
to help users. Previously, they were sorted by their enum values.

(cherry picked from commit de3daf040b09dfa719f7465b0eb29d276c75edcc)

9 years agostatus.21x: document recent change and correct a bug number
Uwe Stöhr [Sun, 26 Oct 2014 16:25:12 +0000 (17:25 +0100)]
status.21x: document recent change and correct a bug number

9 years agorevtex4-1.lyx: update template to fulfill the official rules
Uwe Stöhr [Sun, 26 Oct 2014 16:17:34 +0000 (17:17 +0100)]
revtex4-1.lyx: update template to fulfill the official rules

changes:
- the document must have the size US letter
- use the document class options and the content of the official REVTeX sample file
- amsmath and amssymb must always be loaded

9 years agorevtex4-1.layout: remove hard-coded document class option
Uwe Stöhr [Sun, 26 Oct 2014 16:15:40 +0000 (17:15 +0100)]
revtex4-1.layout: remove hard-coded document class option

we must not use this option because the user must select the right one for every document and the other styles like aip etc cannot be used when aps is used.

9 years agorevtex4-1.layout: REVTeX 4.1 does not provide a class option "manuscript"
Uwe Stöhr [Sun, 26 Oct 2014 13:41:57 +0000 (14:41 +0100)]
revtex4-1.layout: REVTeX 4.1 does not provide a class option "manuscript"

this is a leftover from the ancient REVTeX 4.0 times

9 years agorevtex4-1.layout: remove unnecessary preamble code
Uwe Stöhr [Sun, 26 Oct 2014 13:21:11 +0000 (14:21 +0100)]
revtex4-1.layout: remove unnecessary preamble code

- \lovname was already added to REVTeX 4.1 in 2010
- REVTeX does purposely not allow to color text, see the discussion in bug #4625

9 years agoLaTeXFeatures.cpp: fix bug #9266 also for branch
Uwe Stöhr [Sun, 26 Oct 2014 12:44:42 +0000 (13:44 +0100)]
LaTeXFeatures.cpp: fix bug #9266 also for branch

mhchem loads amsmath and needs therefore be loaded after it but before packages that redefine commands of amsmath. We already take care of esint but not of wasysym

9 years agoFix grammar error spotted by Sian Mountbatten
Juergen Spitzmueller [Sat, 25 Oct 2014 11:50:37 +0000 (13:50 +0200)]
Fix grammar error spotted by Sian Mountbatten

9 years agoFix typo spotted by Hartmut.
Juergen Spitzmueller [Sat, 25 Oct 2014 11:41:29 +0000 (13:41 +0200)]
Fix typo spotted by Hartmut.

9 years agoFix bug #9296. The key may be multiple keys.
Richard Heck [Tue, 14 Oct 2014 19:41:42 +0000 (15:41 -0400)]
Fix bug #9296. The key may be multiple keys.

(cherry picked from commit 080a4d84e295db1f2c2589af46fcfa981a716406)

9 years agotypo
Juergen Spitzmueller [Fri, 10 Oct 2014 16:27:35 +0000 (18:27 +0200)]
typo

9 years agoDocument fix
Juergen Spitzmueller [Fri, 10 Oct 2014 16:26:01 +0000 (18:26 +0200)]
Document fix

9 years agoFix key code
Juergen Spitzmueller [Wed, 8 Oct 2014 08:57:58 +0000 (10:57 +0200)]
Fix key code

9 years agoFix export of xfig external insets (bug #9244).
Enrico Forestieri [Sun, 28 Sep 2014 19:28:16 +0000 (21:28 +0200)]
Fix export of xfig external insets (bug #9244).

The check for a latex format is very fragile. Both libmagic and our
guessing from contents cannot distinguish the pstex and pdftex formats
used by the xfig external inset. Moreover, it may also happen that
lyx files are mistaken as latex ones. Thus, when the guessed format
is latex, the only solution is to give precedence to the format
determined by the file extension.

9 years ago#8849 catch exception in enchant speller backend and avoid multiple speller lookups...
Stephan Witt [Sun, 18 May 2014 08:43:32 +0000 (10:43 +0200)]
#8849 catch exception in enchant speller backend and avoid multiple speller lookups for missing dictionaries

9 years ago* sk.po
Kornel Benko [Sat, 27 Sep 2014 15:42:30 +0000 (17:42 +0200)]
* sk.po

9 years agode.po
Juergen Spitzmueller [Sat, 27 Sep 2014 15:33:15 +0000 (17:33 +0200)]
de.po

9 years agoCorrected tooltip search string. Picked from master branch.
Kornel Benko [Sat, 27 Sep 2014 15:17:58 +0000 (17:17 +0200)]
Corrected tooltip search string. Picked from master branch.

9 years agode.po
Juergen Spitzmueller [Sat, 27 Sep 2014 13:03:19 +0000 (15:03 +0200)]
de.po

9 years ago* sk.po
Kornel Benko [Sat, 27 Sep 2014 12:11:30 +0000 (14:11 +0200)]
* sk.po

9 years agoSupport for conference posters
Juergen Spitzmueller [Wed, 2 Jul 2014 12:01:28 +0000 (14:01 +0200)]
Support for conference posters

The following poster classes are now supported:

* a0poster
* beamerposter
* sciposter

9 years agoAdd support for the sectionbox and tcolorbox packages.
Juergen Spitzmueller [Wed, 2 Jul 2014 11:48:01 +0000 (13:48 +0200)]
Add support for the sectionbox and tcolorbox packages.

They will be used by the conference poster classes that will be supported in a minute.

9 years agoDocument pdfcomment in LaTeXConfig.lyx
Juergen Spitzmueller [Thu, 3 Jul 2014 09:32:53 +0000 (11:32 +0200)]
Document pdfcomment in LaTeXConfig.lyx

9 years agoAdd support for the pdfcomment package.
Juergen Spitzmueller [Thu, 3 Jul 2014 09:30:56 +0000 (11:30 +0200)]
Add support for the pdfcomment package.

Fixes: #6975.
9 years ago Fix bug with wrong baseline calculation in last paragraph (2nd attempt)
Juergen Spitzmueller [Mon, 1 Sep 2014 07:14:26 +0000 (09:14 +0200)]
 Fix bug with wrong baseline calculation in last paragraph (2nd attempt)

This time, we consider the cases where a \par is not wanted (single-par insets, tabular cells).

Fixes: #9231
9 years agoFix some convert_TeX_brace_to_Argument glitches
Juergen Spitzmueller [Tue, 16 Sep 2014 15:42:19 +0000 (17:42 +0200)]
Fix some convert_TeX_brace_to_Argument glitches

Fixes: #9273
9 years agoFix lyx2lyx issue with complex beamer arguments.
Juergen Spitzmueller [Sat, 30 Aug 2014 11:24:29 +0000 (13:24 +0200)]
Fix lyx2lyx issue with complex beamer arguments.

Fixes: #9254
9 years agoFix alignment rendering of multirow in LyX (#8976)
Scott Kostyshak [Fri, 14 Feb 2014 02:17:20 +0000 (21:17 -0500)]
Fix alignment rendering of multirow in LyX (#8976)

Multirow cells now have the same alignment rendering in LyX
as in the output. The alignment of a multirow can change as
long as the column is not of fixed width. If the column is
of fixed width, the multirow is left-aligned.

When setting a multirow, the alignment is copied from
the last cell in the selection.

9 years agoReset status file after 2.1.2 release
Scott Kostyshak [Sat, 27 Sep 2014 02:34:01 +0000 (22:34 -0400)]
Reset status file after 2.1.2 release

9 years agoBack to development mode.
Richard Heck [Fri, 26 Sep 2014 22:12:57 +0000 (18:12 -0400)]
Back to development mode.

9 years agoInstall.cmake: add missing subfolder "\templates\springer"
Uwe Stöhr [Wed, 24 Sep 2014 22:23:23 +0000 (00:23 +0200)]
Install.cmake: add missing subfolder "\templates\springer"

9 years agoForgot to add new beamer files to Makefile. 2.1.2
Richard Heck [Tue, 23 Sep 2014 14:20:21 +0000 (10:20 -0400)]
Forgot to add new beamer files to Makefile.

10 years agoSomething weird happened to the patch preamble.
Richard Heck [Tue, 16 Sep 2014 16:30:15 +0000 (12:30 -0400)]
Something weird happened to the patch preamble.

10 years agoMinor update to build script.
Richard Heck [Tue, 16 Sep 2014 16:12:50 +0000 (12:12 -0400)]
Minor update to build script.

10 years agoRemerge strings.
Richard Heck [Tue, 16 Sep 2014 16:08:09 +0000 (12:08 -0400)]
Remerge strings.

10 years agoStart prepration for 2.1.2.
Richard Heck [Tue, 16 Sep 2014 16:07:19 +0000 (12:07 -0400)]
Start prepration for 2.1.2.

10 years agoGMO file for French.
Richard Heck [Wed, 10 Sep 2014 20:30:33 +0000 (16:30 -0400)]
GMO file for French.

10 years agoUpdates to status file.
Richard Heck [Wed, 10 Sep 2014 20:30:07 +0000 (16:30 -0400)]
Updates to status file.

10 years agoNew French translation from Jean-Pierre, as well as translations of
Richard Heck [Wed, 10 Sep 2014 20:26:39 +0000 (16:26 -0400)]
New French translation from Jean-Pierre, as well as translations of
beamer.lyx and beamer-article.lyx.

10 years agoUpdate to Interlingua translation, from Giovanni.
Richard Heck [Wed, 10 Sep 2014 04:00:00 +0000 (00:00 -0400)]
Update to Interlingua translation, from Giovanni.

10 years agoUpdate GMO files.
Richard Heck [Tue, 9 Sep 2014 15:04:29 +0000 (11:04 -0400)]
Update GMO files.

10 years agoNew Japanese translation from Koji.
Richard Heck [Tue, 9 Sep 2014 13:59:10 +0000 (09:59 -0400)]
New Japanese translation from Koji.

10 years agoAdded pl.gmo (forgotten in last commit)
Kornel Benko [Tue, 2 Sep 2014 18:48:03 +0000 (20:48 +0200)]
Added pl.gmo (forgotten in last commit)

10 years agoCorrect some strings in po.pl to make it compilable.
Kornel Benko [Tue, 2 Sep 2014 18:40:54 +0000 (20:40 +0200)]
Correct some strings in po.pl to make it compilable.

10 years agoNew Polish translation from Michal.
Richard Heck [Tue, 2 Sep 2014 17:46:45 +0000 (13:46 -0400)]
New Polish translation from Michal.

10 years agoNew Swedish translation from Jim Rotmalm.
Richard Heck [Tue, 2 Sep 2014 01:51:48 +0000 (21:51 -0400)]
New Swedish translation from Jim Rotmalm.

10 years agoFrench translation from Jean-Pierre.
Richard Heck [Thu, 28 Aug 2014 17:39:12 +0000 (13:39 -0400)]
French translation from Jean-Pierre.

10 years agoRevert fix for #9231
Juergen Spitzmueller [Thu, 28 Aug 2014 06:22:47 +0000 (08:22 +0200)]
Revert fix for #9231

This is more complicated than I thought.

10 years agoFix the -geometry command line argument for Windows.
Enrico Forestieri [Mon, 25 Aug 2014 18:55:03 +0000 (20:55 +0200)]
Fix the -geometry command line argument for Windows.

The command line argument -geometry WIDTHxHEIGHT±XOFF±YOFF
specifies a preferred size and location for the main window.
Currently, this is semi-broken on Windows. Indeed, only
specifying WIDTH and HEIGHT places the main window such that
the left and top borders are invisible such that the window cannot
be moved. Moreover, the XOFF and YOFF parts (when present) are
used to specify the distance of the window from the left and top
or right and bottom edges of the screen, when using '+' or '-',
respectively. However, -geometry 800x600-20-20, instead of placing
the window such that its bottom and right edges are at a distance
of 20 pixels from the corresponding screen edges, places the
window such that its left and top borders are out of the screen.
This is corrected by this commit.

10 years agoNew Japanese translation from Koji.
Richard Heck [Sun, 24 Aug 2014 16:43:55 +0000 (12:43 -0400)]
New Japanese translation from Koji.

10 years agoRemerge strings.
Richard Heck [Fri, 15 Aug 2014 15:18:19 +0000 (11:18 -0400)]
Remerge strings.

10 years agoMerge branch '2.1.x' of git.lyx.org:lyx into 2.1.x
Kornel Benko [Fri, 15 Aug 2014 15:08:40 +0000 (17:08 +0200)]
Merge branch '2.1.x' of git.lyx.org:lyx into 2.1.x

10 years ago* sk.po
Kornel Benko [Fri, 15 Aug 2014 15:08:27 +0000 (17:08 +0200)]
* sk.po

10 years agoStart preparing ANNOUNCE file for 2.1.2.
Richard Heck [Fri, 15 Aug 2014 15:00:23 +0000 (11:00 -0400)]
Start preparing ANNOUNCE file for 2.1.2.

10 years agoMinor updates to status file.
Richard Heck [Fri, 15 Aug 2014 14:53:38 +0000 (10:53 -0400)]
Minor updates to status file.

10 years agoPossible fix for the mystery crash, which is bug #9049.
Richard Heck [Thu, 7 Aug 2014 19:00:35 +0000 (15:00 -0400)]
Possible fix for the mystery crash, which is bug #9049.

Investigation of bug #9236 showed that crash to be due to a Paragraph's
holding a dangling pointer to an old and deleted Layout after the
DocumentClass was reset. Since the backtraces look almost identical, it
seems likely that we have the same problem here.

Since this crash seems almost always to involve tables, I looked at the
code in switchBetweenClasses() and found that the Paragraphs that belong
to "hidden" table cells are not seen by the initial recursion using a
ParIterator: It skips right over them. This was confirmed by test code
suggested by Enrico, with results reported in Trac.

The present patch attempts to deal with this problem in the second
recursion, over Insets. When we see an InsetTabular, we call a new
routine that recurses through the cells, looking for hidden ones. If it
finds a hidden one, it then resets the Layout for the cell's Paragraphs
(there should be only one, but we do not make any assumptions) to the
PlainLayout that belongs to the new DocumentClass. This is good enough,
since such cells never have content.

There is extensive discussion of the patch here:
  https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg185095.html
Additional testing by Enrico and me confirmed the existence of the
dangling pointer.

(cherry picked from commit 54c2ab2732f8094c0c119618d5b0e9a625ffb262)

10 years agoUse a const ref here. Guess it was a thinko when I did it.
Richard Heck [Tue, 12 Aug 2014 16:32:01 +0000 (12:32 -0400)]
Use a const ref here. Guess it was a thinko when I did it.

(cherry picked from commit b9fe1dd10b99386561872688e9a7affd4043b8c5)

10 years agoFix bug #9236: After we recreate the DocumentClass, we have to apply
Richard Heck [Wed, 6 Aug 2014 15:43:22 +0000 (11:43 -0400)]
Fix bug #9236: After we recreate the DocumentClass, we have to apply
it to the document.

(cherry picked from commit c2fdbbe01aa4f6c65bcfe391326ff35b8c6d219e)

10 years agoFix bug #9146 (Graphics conversion problem).
Enrico Forestieri [Mon, 4 Aug 2014 16:52:20 +0000 (18:52 +0200)]
Fix bug #9146 (Graphics conversion problem).

If LyX does not know about a given file format, it may easily
happen that the format is recognized as "latex" and this causes
bug #9146. This patch limits the check for a latex format to
non-binary files. The strategy for deciding that a file has
binary content is the same as that adopted by the "less" program.
This is a stripped down backport of the more complex fix in master.

10 years agoAdd some postscript and pdf viewers for Unix and Windows.
Enrico Forestieri [Sun, 3 Aug 2014 17:26:34 +0000 (19:26 +0200)]
Add some postscript and pdf viewers for Unix and Windows.

For Windows: AcroRd32, SumatraPDF and gsview (both 32 and 64 bit versions).
For Unix: qpdfview.

Qpdfview is a nice alternative to Okular for KDE users and a superior
alternative to Evince for Gnome users, due to its complete synctex
support. It only depends on Qt libraries for the graphical interface.

10 years agoUse getent instead of grepping /etc/passwd.
Enrico Forestieri [Sun, 3 Aug 2014 16:59:54 +0000 (18:59 +0200)]
Use getent instead of grepping /etc/passwd.

Forthcoming versions of cygwin will use a different mechanism for
obtaining passwd/group information based on /etc/nsswitch.conf.
Thus, it will not be guaranteed that the files /etc/passwd and
/etc/group even exist. The recommended way for obtaining those
info is by using the getent command, which already works in
current versions.

10 years agoFix compatibility issue with 64-bit cygwin.
Enrico Forestieri [Sun, 3 Aug 2014 16:53:33 +0000 (18:53 +0200)]
Fix compatibility issue with 64-bit cygwin.

10 years agoFix import of latex documents with scaled fonts.
Enrico Forestieri [Sun, 3 Aug 2014 16:42:04 +0000 (18:42 +0200)]
Fix import of latex documents with scaled fonts.

10 years agoFix bug with wrong baseline calculation in last paragraph
Juergen Spitzmueller [Sun, 3 Aug 2014 09:26:16 +0000 (11:26 +0200)]
Fix bug with wrong baseline calculation in last paragraph

Fixes: #9231
10 years agoDo not break documents with complex beamer block ERT usage we cannot handle
Juergen Spitzmueller [Sun, 3 Aug 2014 10:21:35 +0000 (12:21 +0200)]
Do not break documents with complex beamer block ERT usage we cannot handle

Fixes: #9144
10 years agoFix bug #9151 (Wrong reverse search for images and tables).
Enrico Forestieri [Sun, 3 Aug 2014 14:47:22 +0000 (16:47 +0200)]
Fix bug #9151 (Wrong reverse search for images and tables).

If the reverse position corresponds to an inset, its paragraph id
does not follow the main text numbering. Typically, an inset has
only a few paragraphs, so that we would jump near the beginning of
the document. Now the cursor in LyX jumps to the right spot.

10 years agoImprove parsing of ERT arguments in beamer block titles.
Juergen Spitzmueller [Fri, 1 Aug 2014 07:42:43 +0000 (09:42 +0200)]
Improve parsing of ERT arguments in beamer block titles.

Fixes: #9225
10 years agoFrench documentation files: 2 fixes by Jan-Pierre
Uwe Stöhr [Sun, 27 Jul 2014 22:56:57 +0000 (00:56 +0200)]
French documentation files: 2 fixes by Jan-Pierre

10 years agoFix bugs 9190 and 9193.
Enrico Forestieri [Sun, 27 Jul 2014 22:33:13 +0000 (00:33 +0200)]
Fix bugs 9190 and 9193.

The conversion from floating point to string performed by
boost:lexical_cast does not allow specifying a precision and,
for example, values such as 0.9 are returned as 0.899999976.
The standard C++ way for performing the conversion is using
std::ostringstream which is exempt from this problem, even if
less efficient. For the sake of accuracy, boost::lexical_cast
is ditched in favor of the ostrinsgstream implementation.
In C++11 another option would be using std::to_string, but I
think it is not as efficient as the boost way and not worth
implementing through #ifdef's.

10 years agoFix beamer block conversion when arguments are in multiple ERTS.
Juergen Spitzmueller [Sun, 27 Jul 2014 09:30:25 +0000 (11:30 +0200)]
Fix beamer block conversion when arguments are in multiple ERTS.

Fixes second part of #9208.

10 years agoAdd beamer-resenumerate (from our wiki) to the list of safe modules for argument...
Juergen Spitzmueller [Sun, 27 Jul 2014 08:23:17 +0000 (10:23 +0200)]
Add beamer-resenumerate (from our wiki) to the list of safe modules for argument conversion, since it is safe.

Fixes part of #9208.

10 years agoWhitespace
Juergen Spitzmueller [Sun, 27 Jul 2014 10:26:37 +0000 (12:26 +0200)]
Whitespace

10 years agoFix typos in InsetListingsParams validator
Juergen Spitzmueller [Tue, 6 May 2014 18:17:03 +0000 (20:17 +0200)]
Fix typos in InsetListingsParams validator

10 years agoStore InsetListingsParams in a vector of pairs, not a map, since order of insertion...
Juergen Spitzmueller [Tue, 6 May 2014 18:22:25 +0000 (20:22 +0200)]
Store InsetListingsParams in a vector of pairs, not a map, since order of insertion matters.

Fixes: #8144, #5203.
10 years agoBackport 'select word on double click at boundary'
Scott Kostyshak [Fri, 13 Jun 2014 13:43:26 +0000 (09:43 -0400)]
Backport 'select word on double click at boundary'

Now when double clicking on a boundary of a word, the
word is selected. This also causes single-letter words
to now be selected (fixes #9159).

Backported from bcbc162.

10 years agoDo not forget last word of paragraph in completion
Jean-Marc Lasgouttes [Fri, 16 May 2014 13:17:10 +0000 (15:17 +0200)]
Do not forget last word of paragraph in completion

With the old code, the last word of a paragraph would not be added in
the completion list. The key difference is to pass `from' instead of `pos'
to FontList::fontiterator.

Slight cleanup of the code.

10 years agoFix error spotted by cppcheck
Jean-Marc Lasgouttes [Sat, 19 Jul 2014 22:04:45 +0000 (00:04 +0200)]
Fix error spotted by cppcheck

10 years agoFix bug #9162: Missing \use_indices
Georg Baum [Wed, 9 Jul 2014 18:58:44 +0000 (20:58 +0200)]
Fix bug #9162: Missing \use_indices

The lyx2lyx conversion for format 352 was incomplete: It should have been
added the \use_indices setting, but it relied on the fact that the default in
LyX for missing \use_indices is the same as the old format without that
setting used. However, the default might change in the future, and later
lyx2lyx conversions rely on that setting as well.

10 years agoMake GraphicsConverter threadsafe
Georg Baum [Mon, 7 Jul 2014 20:31:11 +0000 (22:31 +0200)]
Make GraphicsConverter threadsafe

build_script() was already threadsafe, since it used a TempFile, and the
counter was basically not needed, but the new solution makes this obvious
and has the additional advantage that TempFile constructs the real output
file, not a dummy without extension which is not needed.

10 years agoFix uncodable author warning
Georg Baum [Mon, 7 Jul 2014 20:22:25 +0000 (22:22 +0200)]
Fix uncodable author warning

The old code was not threadsafe, and the restriction to one message box per
author name did not work if more than two authors were uncodable.