]> git.lyx.org Git - features.git/log
features.git
7 years agoFixup commit 50060053
Jean-Marc Lasgouttes [Tue, 14 Mar 2017 13:26:26 +0000 (14:26 +0100)]
Fixup commit 50060053

Fix two instances where theFormats() was used instead of a local parameter.

Fix layout test.

7 years agoOnly accept non-negative lyxscale parameters
Jean-Marc Lasgouttes [Mon, 13 Mar 2017 17:16:27 +0000 (18:16 +0100)]
Only accept non-negative lyxscale parameters

Since lyxscale is unsigned, a negative value would lead to a very
large positive value.

Spotted by coverity.

7 years agoMove the global formats and system_formats variables into the
Richard Heck [Tue, 14 Mar 2017 03:33:40 +0000 (23:33 -0400)]
Move the global formats and system_formats variables into the
LyX singleton.

Mostly, this is very boring, but it might be good if someone would
check what I did about the dummy implementation in tex2lyx.

7 years agoUse FileName::lastModified() intead of stat() in DepTable
Jean-Marc Lasgouttes [Fri, 10 Mar 2017 10:23:55 +0000 (11:23 +0100)]
Use FileName::lastModified() intead of stat() in DepTable

This patch removes explicit calls to stat() in the DepTable code. The
original motivation was to get read of a stat() invokation where the
error condition was not checked (spotted by coverity).

7 years agoRemove optimization that avoids drawing some math inset cells.
Jean-Marc Lasgouttes [Fri, 24 Feb 2017 22:25:40 +0000 (23:25 +0100)]
Remove optimization that avoids drawing some math inset cells.

It is not clear that the optimization is a gain, but it is clear that
it has a cost: some elements of formulas will not be present in the
position cache.

Fixes bug #10520.

7 years agoMake InsetMathNest::editXY more robust
Jean-Marc Lasgouttes [Fri, 24 Feb 2017 22:58:53 +0000 (23:58 +0100)]
Make InsetMathNest::editXY more robust

If no reasonable cell has been found to put the cursor in (maybe
because the cell exist but is not in the cache), exit gracefully.

Fixes bug #10520

7 years agoDo not use the global variable `formats' in Formats class
Jean-Marc Lasgouttes [Mon, 13 Mar 2017 10:39:26 +0000 (11:39 +0100)]
Do not use the global variable `formats' in Formats class

Using this global variable in the class is clearly a bug. If we wanted
to avoid doing it by mistake, the variable should be moved to the LyX
singleton.

Also add an underscore to the private variable formatlist_.

7 years agoFix problem noted at bug #10582.
Richard Heck [Sun, 12 Mar 2017 20:43:15 +0000 (16:43 -0400)]
Fix problem noted at bug #10582.

When we have a name with more than two parts, but no "von",
it was coming out as, e.g.:
Obama, Barack Hussain Obama
i.e., with the last name appearing twice.

Also adds a check for names without spaces, which would have given:
Pele, Pele

This was not the original issue at #10582, so that bug is still
open (though I cannot reproduce it).

7 years agoWhitespace and const'ing.
Richard Heck [Sun, 12 Mar 2017 20:27:36 +0000 (16:27 -0400)]
Whitespace and const'ing.

7 years agoFix compilation with 5 <= qt < 5.4
Guillaume Munch [Sat, 11 Mar 2017 21:21:11 +0000 (22:21 +0100)]
Fix compilation with 5 <= qt < 5.4

7 years agoCompilation fix
Jean-Marc Lasgouttes [Sat, 11 Mar 2017 19:51:39 +0000 (20:51 +0100)]
Compilation fix

It is actually better to compile code before pushing changes...

7 years agoLimit the size of strings we read from RCS
Jean-Marc Lasgouttes [Sat, 11 Mar 2017 19:46:32 +0000 (20:46 +0100)]
Limit the size of strings we read from RCS

This calms down Coverity which fears than an evil RCS repository would break LyX.

7 years agoUpdate sk.po
Kornel Benko [Sat, 11 Mar 2017 09:15:32 +0000 (10:15 +0100)]
Update sk.po

7 years agode.po
Juergen Spitzmueller [Sat, 11 Mar 2017 08:21:06 +0000 (09:21 +0100)]
de.po

7 years agoWhen catching exception, give error on STDERR
Scott Kostyshak [Fri, 10 Mar 2017 22:11:58 +0000 (17:11 -0500)]
When catching exception, give error on STDERR

The error is reported in the GUI, but for the terminal we must write
explicitly to STDERR.

For a specific example of this type of exception, see the previous
commit, 72c3dbd.

7 years agoChange a warning to an error if missing include
Scott Kostyshak [Fri, 10 Mar 2017 20:38:27 +0000 (15:38 -0500)]
Change a warning to an error if missing include

If an included file is not found, it seems impossible that the final
output would be correct. Before this commit, when exporting on the
command line, LyX would create the PDF and exit with a zero error
code so unless the user was monitoring the terminal output, they
would not know there is a problem.

This change is consistent with 1a374a93.

7 years agoNonsense for whoever insists on using gcc4.6 & qt4.8 in 2017
Guillaume Munch [Fri, 10 Mar 2017 23:11:02 +0000 (00:11 +0100)]
Nonsense for whoever insists on using gcc4.6 & qt4.8 in 2017

7 years agoRemove legacy FileMonitor
Guillaume Munch [Fri, 10 Mar 2017 21:41:48 +0000 (22:41 +0100)]
Remove legacy FileMonitor

7 years agoReplace FileMonitor with FileMonitor2 in RenderPreview
Guillaume Munch [Thu, 9 Mar 2017 21:44:07 +0000 (22:44 +0100)]
Replace FileMonitor with FileMonitor2 in RenderPreview

7 years agoReplace FileMonitor with FileMonitor2 in GraphicsCacheItem
Guillaume Munch [Mon, 6 Mar 2017 22:16:04 +0000 (23:16 +0100)]
Replace FileMonitor with FileMonitor2 in GraphicsCacheItem

Remove dead code

7 years agoClarify dialog
Guillaume Munch [Sun, 5 Mar 2017 22:55:59 +0000 (23:55 +0100)]
Clarify dialog

7 years agoDisable edition when external modifications are detected
Guillaume Munch [Wed, 1 Mar 2017 21:03:44 +0000 (22:03 +0100)]
Disable edition when external modifications are detected

Introduce a distinction between being read-only and having the read-only flag. A
buffer is read-only if either it has been externally modified or if it has the
read-only flag.

7 years agoNotification of external modification inspired by gedit
Guillaume Munch [Wed, 1 Mar 2017 23:41:02 +0000 (00:41 +0100)]
Notification of external modification inspired by gedit

7 years agoNew LFUN buffer-external-modification-clear
Guillaume Munch [Wed, 1 Mar 2017 20:16:37 +0000 (21:16 +0100)]
New LFUN buffer-external-modification-clear

7 years agoClean-up
Guillaume Munch [Wed, 1 Mar 2017 19:32:33 +0000 (20:32 +0100)]
Clean-up

7 years agoDisplay externally modified status
Guillaume Munch [Tue, 28 Feb 2017 21:58:44 +0000 (22:58 +0100)]
Display externally modified status

7 years agoWhitespace
Guillaume Munch [Tue, 28 Feb 2017 21:24:51 +0000 (22:24 +0100)]
Whitespace

7 years agoImplement real-time detection of external modifications
Guillaume Munch [Sun, 5 Mar 2017 19:12:07 +0000 (20:12 +0100)]
Implement real-time detection of external modifications

7 years agoImplement FileMonitor as a wrapper for QFileSystemWatcher
Guillaume Munch [Mon, 27 Feb 2017 22:46:10 +0000 (23:46 +0100)]
Implement FileMonitor as a wrapper for QFileSystemWatcher

The new file monitor supports both boost and qt signals. It is implemented in a
ressource-safe way.

7 years agoPreventive fix inspired from ~
Guillaume Munch [Fri, 10 Mar 2017 22:20:29 +0000 (23:20 +0100)]
Preventive fix inspired from ~

7 years agoAmend 63be456c8
Guillaume Munch [Fri, 10 Mar 2017 21:55:33 +0000 (22:55 +0100)]
Amend 63be456c8

Fix crash when clicking on math previews

7 years agoAdd option to ignore a parameter in InsetCommandParams
Guillaume Munch [Tue, 14 Feb 2017 20:16:39 +0000 (21:16 +0100)]
Add option to ignore a parameter in InsetCommandParams

It will not be saved to the file and will always be equal to a given default
value.

7 years agobuffer-export default
Guillaume Munch [Thu, 9 Mar 2017 22:35:27 +0000 (23:35 +0100)]
buffer-export default

7 years ago Update fr.po
jpc [Fri, 10 Mar 2017 18:14:09 +0000 (19:14 +0100)]
       Update fr.po

7 years ago Class agutex.cls is obsolete: information given in the LyX template
jpc [Fri, 10 Mar 2017 18:11:22 +0000 (19:11 +0100)]
     Class agutex.cls is obsolete: information given in the LyX template

7 years agoExperiment: limit size of strings read from lib/symbols
Jean-Marc Lasgouttes [Fri, 10 Mar 2017 15:29:09 +0000 (16:29 +0100)]
Experiment: limit size of strings read from lib/symbols

Coverity complains that we might read strings that are arbitrary
large, and that this can be a security issue. This is a problem in
particular, when we feed these strings to from_utf8(), which coverity
flags as dangerous for some reason.

The best solution would be IMO to model from_utf8() properly, but I do
not know how to do that. Here I try a different solution, where I
cannot read a string larger than 64k from the file.

Let's see whether this removes part of coverity warnings.

7 years agoSmall cleanup to LayoutBox and CategorizedCombo
Jean-Marc Lasgouttes [Fri, 10 Mar 2017 14:54:27 +0000 (15:54 +0100)]
Small cleanup to LayoutBox and CategorizedCombo

Coverity does not find it obvious that p is never negative. Normally
it is the case (because the items have been filtered), but it is
better to play safe.

7 years agoAdd label 'defaultoutput' to export tests using document default output format
Kornel Benko [Fri, 10 Mar 2017 13:32:21 +0000 (14:32 +0100)]
Add label 'defaultoutput' to export tests using document default output format

7 years agoBe careful about unparsable bibtex years
Jean-Marc Lasgouttes [Fri, 10 Mar 2017 09:32:38 +0000 (10:32 +0100)]
Be careful about unparsable bibtex years

Handle gracefully the case where the regex that parses a year fails.

This is a fixup to ba171930 (spotted by coverity).

7 years agoAnother unreachable `return' that is not needed
Jean-Marc Lasgouttes [Thu, 9 Mar 2017 14:12:03 +0000 (15:12 +0100)]
Another unreachable `return' that is not needed

The compilers we use now do not care, but coverity complains.

7 years agoRemove unreachable return statements
Jean-Marc Lasgouttes [Thu, 9 Mar 2017 14:05:33 +0000 (15:05 +0100)]
Remove unreachable return statements

They were needed long ago to avoid gcc warnings, but now all they do
is create coverity warnings.

7 years agoHandle the case where doc_bv is null
Jean-Marc Lasgouttes [Thu, 9 Mar 2017 13:41:27 +0000 (14:41 +0100)]
Handle the case where doc_bv is null

It might only happens in specific cases where no file is open and for
some reason the new file cannot be opened.

7 years agoAvoid dereferencing an iterator at the end
Jean-Marc Lasgouttes [Thu, 9 Mar 2017 13:26:17 +0000 (14:26 +0100)]
Avoid dereferencing an iterator at the end

Found by coverity, could lead to a crash with badly formed kmap file.

7 years agoAdd a comment.
Richard Heck [Wed, 8 Mar 2017 22:34:07 +0000 (17:34 -0500)]
Add a comment.

7 years agoMake a test clearer
Jean-Marc Lasgouttes [Wed, 8 Mar 2017 16:03:48 +0000 (17:03 +0100)]
Make a test clearer

This should hopefully please coverity now. For some reason, the
annotation did not work. Should it be in lower case?

7 years agoMake a false positive explicit
Jean-Marc Lasgouttes [Wed, 8 Mar 2017 15:50:03 +0000 (16:50 +0100)]
Make a false positive explicit

Pleases coverity

7 years agoFix missing initialization
Jean-Marc Lasgouttes [Wed, 8 Mar 2017 15:41:42 +0000 (16:41 +0100)]
Fix missing initialization

This was already fixed after coverity report at bad511f3fe04aff4ff,
but this part was missing.

7 years agoInitialize members spotted by coverity
Jean-Marc Lasgouttes [Wed, 8 Mar 2017 15:37:26 +0000 (16:37 +0100)]
Initialize members spotted by coverity

7 years agoMake a dummier LyXRC for tex2lyx
Jean-Marc Lasgouttes [Wed, 8 Mar 2017 15:30:22 +0000 (16:30 +0100)]
Make a dummier LyXRC for tex2lyx

The old version made coverity complain about uninitialized members.
The new one is the same as in support/tests/dummy_impl.cpp.

7 years agoDescribe the use of '*' in -e/-E CL options
Scott Kostyshak [Tue, 7 Mar 2017 08:19:03 +0000 (03:19 -0500)]
Describe the use of '*' in -e/-E CL options

The use of '*' in buffer-export was implemented at 494ce664.

7 years agoImplement '*' in "buffer-export <FORMAT> <DEST>"
Scott Kostyshak [Tue, 7 Mar 2017 08:09:42 +0000 (03:09 -0500)]
Implement '*' in "buffer-export <FORMAT> <DEST>"

For the variant of buffer-export that allows a format and a
filename, the substitution must be done after the argument is split.

Related to 494ce664.

7 years agoTypo: Copy/Paste error
Kornel Benko [Tue, 7 Mar 2017 13:40:56 +0000 (14:40 +0100)]
Typo: Copy/Paste error

7 years agoCmake build: Adapt handling of mytheslib to automek behaviour
Kornel Benko [Tue, 7 Mar 2017 13:27:08 +0000 (14:27 +0100)]
Cmake build: Adapt handling of mytheslib to automek behaviour

The added cmake-parameter is:
  -DLYX_EXTERNAL_MYTHES=<value>
where <value> is one of
  AUTO (Default) Search first on system for mythes (lib and include)
  ON Use installed only (errors if not installed)
  OFF Compile the provided source in 3rdparty

7 years agoFix typo found by coverity
Jean-Marc Lasgouttes [Tue, 7 Mar 2017 11:02:54 +0000 (12:02 +0100)]
Fix typo found by coverity

We were not testing for the right end(), although it is not sure that
an actual bug could be triggered because of that.

7 years agoFix test to make coverity happy
Jean-Marc Lasgouttes [Tue, 7 Mar 2017 10:56:59 +0000 (11:56 +0100)]
Fix test to make coverity happy

It is not obvious that cur is not null iff thisSlice is not -1, but
this is what happens in the caller.

7 years agoFix test to make coverity happy
Jean-Marc Lasgouttes [Tue, 7 Mar 2017 10:48:32 +0000 (11:48 +0100)]
Fix test to make coverity happy

It is not obvious that cur is not null iff thisSlice is not -1, but
this is what happens in the caller.

7 years agoFix distcheck for mythes
Jean-Marc Lasgouttes [Tue, 7 Mar 2017 10:14:58 +0000 (11:14 +0100)]
Fix distcheck for mythes

For some reason, I mistyped "myspell" instead of "mythes" as a reflex. I
thought that I fixed all occurences, but it appears that I missed
one...

7 years agoAmend 0e50ad8 'move mythes sources to 3rdparty' for cmake build.
Kornel Benko [Mon, 6 Mar 2017 18:31:23 +0000 (19:31 +0100)]
Amend 0e50ad8 'move mythes sources to 3rdparty' for cmake build.

7 years agoUpdate bundled mythes to version 1.2.5
Jean-Marc Lasgouttes [Mon, 6 Mar 2017 16:08:38 +0000 (17:08 +0100)]
Update bundled mythes to version 1.2.5

Move it to 3rdparty/ directory alongside the other ones.

7 years agoRewrite detection of MyThes library
Jean-Marc Lasgouttes [Mon, 6 Mar 2017 15:03:32 +0000 (16:03 +0100)]
Rewrite detection of MyThes library

Now configure searches in this order
1. system-installed library
2. code bundled with LyX

If --with-included-mythes or if no mythes library is installed, then
the script selects the bundled version. There should be no cases
leading to error message.

7 years agoAmend 841825aa563
Guillaume Munch [Mon, 6 Mar 2017 00:01:11 +0000 (01:01 +0100)]
Amend 841825aa563

sort alphabetically

7 years agoFix color of todo notes
Guillaume Munch [Fri, 17 Feb 2017 20:35:30 +0000 (21:35 +0100)]
Fix color of todo notes

Yellow on blue causes display issues (some text elements that become black on
blue, math insets that are no longer readable). Switch to black on orange to
match the pdf output.

7 years agoAdd default export to the menu
Guillaume Munch [Sat, 4 Mar 2017 22:44:34 +0000 (23:44 +0100)]
Add default export to the menu

7 years agoFix warning
Guillaume Munch [Sat, 4 Mar 2017 22:44:53 +0000 (23:44 +0100)]
Fix warning

7 years agoAllow Ctrl+Enter in GuiCitation even if the citation is already there
Guillaume Munch [Thu, 2 Mar 2017 21:27:38 +0000 (22:27 +0100)]
Allow Ctrl+Enter in GuiCitation even if the citation is already there

7 years agoTabular::editXY should not touch the selection
Guillaume Munch [Fri, 3 Mar 2017 22:26:58 +0000 (23:26 +0100)]
Tabular::editXY should not touch the selection

7 years agobuffer-export * synonymous to buffer-export
Guillaume Munch [Tue, 28 Feb 2017 21:15:53 +0000 (22:15 +0100)]
buffer-export * synonymous to buffer-export

7 years agoja.po: update for master from Koji
Uwe Stöhr [Sun, 5 Mar 2017 00:07:53 +0000 (01:07 +0100)]
ja.po: update for master from Koji

7 years agoFix bug #10579
Enrico Forestieri [Fri, 3 Mar 2017 12:00:32 +0000 (13:00 +0100)]
Fix bug #10579

The \lyxdeleted macro cannot cope with empty lines.

7 years agoFixup to 2f701e6a1
Jean-Marc Lasgouttes [Fri, 3 Mar 2017 10:59:39 +0000 (11:59 +0100)]
Fixup to 2f701e6a1

Use the bundled mythes by default again, since the current situaiton
create an error for anybody who does not have the system one
installed.

This is a stop gap measure and I'll return to it later (in a hurry now).

7 years agoCmake tests: Add visual indication if a test is ignoring some latex error messages
Kornel Benko [Thu, 2 Mar 2017 14:53:34 +0000 (15:53 +0100)]
Cmake tests: Add visual indication if a test is ignoring some latex error messages

7 years agoTry to see if coverity annotations should be in lower case
Jean-Marc Lasgouttes [Thu, 2 Mar 2017 14:24:12 +0000 (15:24 +0100)]
Try to see if coverity annotations should be in lower case

The current one did not work.

7 years agoInitialisize properly member variables
Jean-Marc Lasgouttes [Thu, 2 Mar 2017 14:20:46 +0000 (15:20 +0100)]
Initialisize properly member variables

Instead of using a coverity annotation (that does not work) it is
better to really iinitialize the members of the object, just in case
somebody decides to actually use the DisplayPath() constructor.

7 years agoPlease coverity properly
Jean-Marc Lasgouttes [Thu, 2 Mar 2017 13:47:31 +0000 (14:47 +0100)]
Please coverity properly

7 years agoClarify configure help for 3rd party code
Jean-Marc Lasgouttes [Thu, 2 Mar 2017 13:31:43 +0000 (14:31 +0100)]
Clarify configure help for 3rd party code

The configure code suggests that the default for
--with-included-(iconv|zlib|hunspell) is "yes", which is wrong: by
default is indeed to use the system libraries.

Change the MyThes detection to use the system version by default.

Also add to the verison information a line which lists the bundled libraries.

7 years agoctests: Add test file for "exotic" inputencoding cp858.
Günter Milde [Wed, 1 Mar 2017 22:16:59 +0000 (23:16 +0100)]
ctests: Add test file for "exotic" inputencoding cp858.

Encoding cp858 is only supported by some iconv variants
Gnu iconv only supports it, if configured with "--enable-extra-encodings"
(see https://www.gnu.org/software/libiconv/)

Maybe drop support or add a configuration check?

7 years agoRemove regex which does mot mach any test
Kornel Benko [Wed, 1 Mar 2017 17:49:22 +0000 (18:49 +0100)]
Remove regex which does mot mach any test

7 years agoctests: Fix some "unreliable" patterns.
Günter Milde [Wed, 1 Mar 2017 17:31:44 +0000 (18:31 +0100)]
ctests: Fix some "unreliable" patterns.

7 years agoTry another way to signal a false positive to coverity
Jean-Marc Lasgouttes [Wed, 1 Mar 2017 16:44:02 +0000 (17:44 +0100)]
Try another way to signal a false positive to coverity

7 years agoDo not return a reference to a temporary variable
Jean-Marc Lasgouttes [Wed, 1 Mar 2017 16:35:05 +0000 (17:35 +0100)]
Do not return a reference to a temporary variable

Coverity correctly spotted that the existing code creates a temporary
map and returns a value from it. It is not possible to make the map
const& directly because operator[] may change the map.

Therefore, we use map::find instead.

7 years agoAdd missing initialization
Jean-Marc Lasgouttes [Wed, 1 Mar 2017 16:25:03 +0000 (17:25 +0100)]
Add missing initialization

Spotted by coverity

7 years agoInitialize properly TextEntry variable
Jean-Marc Lasgouttes [Wed, 1 Mar 2017 16:18:19 +0000 (17:18 +0100)]
Initialize properly TextEntry variable

Not sure it fixes a bug, but it should calm down coverity.

7 years agoInitialize properly several InsetQuote members
Jean-Marc Lasgouttes [Wed, 1 Mar 2017 16:02:20 +0000 (17:02 +0100)]
Initialize properly several InsetQuote members

Spotted by coverity

7 years agoFix coverity false positive
Jean-Marc Lasgouttes [Wed, 1 Mar 2017 15:41:37 +0000 (16:41 +0100)]
Fix coverity false positive

The fall through was intended at db889bc6.

7 years agoFix broken logic
Jean-Marc Lasgouttes [Wed, 1 Mar 2017 15:36:46 +0000 (16:36 +0100)]
Fix broken logic

Spotted by coverity.

7 years agoInitialize pointer class member
Jean-Marc Lasgouttes [Wed, 1 Mar 2017 15:34:01 +0000 (16:34 +0100)]
Initialize pointer class member

Found by coverity.

7 years agoInitialize class member to please coverity
Jean-Marc Lasgouttes [Wed, 1 Mar 2017 15:31:00 +0000 (16:31 +0100)]
Initialize class member to please coverity

7 years agoInitialize class members to please coverity
Jean-Marc Lasgouttes [Wed, 1 Mar 2017 15:28:30 +0000 (16:28 +0100)]
Initialize class members to please coverity

7 years agoInitialize properly a class member
Jean-Marc Lasgouttes [Wed, 1 Mar 2017 15:20:52 +0000 (16:20 +0100)]
Initialize properly a class member

This was forgotten at 0552563c99, and it only meant to keep coverity happy.

7 years agoUpdate sk.po
Kornel Benko [Wed, 1 Mar 2017 11:11:57 +0000 (12:11 +0100)]
Update sk.po

7 years agoAmend 34d2f3c.
Kornel Benko [Wed, 1 Mar 2017 09:04:29 +0000 (10:04 +0100)]
Amend 34d2f3c.
Regexes in *Tests have to be specified for the whole test-names.

7 years agoAllow Input of local includes from local layout files
Enrico Forestieri [Wed, 1 Mar 2017 08:19:18 +0000 (09:19 +0100)]
Allow Input of local includes from local layout files

When including files, LyX always searches the user and the system
directory, in that order. This means that when using local layout
files broken down into multiple includes, the various includes should
be specified with a path relative to the user layouts directory
(typically ~/.lyx/layouts), making this very impractical.
This commit allows including local files by specifying their path
as explicitly relative to the main layout file position, i.e., by
specifying their path with either "./" or "../". If the main layout
is not loaded from a local file, the usual search order is used,
even if the path are explicitly relative. So, for system layouts,
both "Input ./name.inc" and "Input name.inc" are equivalent.

7 years agoIgnore missing glyphs in a test after TL update
Scott Kostyshak [Tue, 28 Feb 2017 23:31:02 +0000 (18:31 -0500)]
Ignore missing glyphs in a test after TL update

After a TL 2016 update, a test started to fail due to missing
glyphs. For more information, see the ML thread here:

  https://www.mail-archive.com/search?l=mid&q=20170225203955.nas2qopy4l4ukyqq%40steph

7 years agoInvert a pdf4 test failing because of iconv
Scott Kostyshak [Tue, 28 Feb 2017 23:21:23 +0000 (18:21 -0500)]
Invert a pdf4 test failing because of iconv

This is consistent with other tests failing for the same reason.
For more information, see #9871 and the discussion at

  https://www.mail-archive.com/search?l=mid&q=20170228190738.cgs3tl3ny2bxiegk%40steph

7 years ago Update fr.po
jpc [Tue, 28 Feb 2017 16:20:52 +0000 (17:20 +0100)]
   Update fr.po

7 years agobuffer-export without argument exports the default format
Guillaume Munch [Mon, 27 Feb 2017 19:43:11 +0000 (20:43 +0100)]
buffer-export without argument exports the default format

buffer-export is proposed as a default binding in the preferences so now it does
what a user expects when binding it to a key.

7 years agoctests: invert failing Spanish docs, tag unreliable examples.
Günter Milde [Mon, 27 Feb 2017 22:26:08 +0000 (23:26 +0100)]
ctests: invert failing Spanish docs, tag unreliable examples.

Babel-Spanish uses utf8-autostrings if it detects Xe/LuaTeX.
This leads to wrong output and/or failures with
8bit TeX-fonts and 8-bit input encoding.

7 years agoRemove LyXToolBox
Guillaume Munch [Sun, 26 Feb 2017 21:15:50 +0000 (22:15 +0100)]
Remove LyXToolBox

It extended QToolBox with size calculation to fix UI issues with the previous
design of GuiCitation. Since it always needed some kind of hack and since
QToolBoxes do not appear so popular, it probably won't be used anymore.

7 years agoGive focus to the filter in GuiRef
Guillaume Munch [Sun, 26 Feb 2017 21:15:50 +0000 (22:15 +0100)]
Give focus to the filter in GuiRef

This is now consistent with GuiCitation. Compared to the previous behaviour
there is only one down key press difference.

7 years agoFix focus events in GuiCitation
Guillaume Munch [Sun, 26 Feb 2017 21:15:50 +0000 (22:15 +0100)]
Fix focus events in GuiCitation