]> git.lyx.org Git - lyx.git/log
lyx.git
8 years agoInitialize correctly SystemcallPrivate in constructor
Jean-Marc Lasgouttes [Thu, 9 Jun 2016 15:34:14 +0000 (17:34 +0200)]
Initialize correctly SystemcallPrivate in constructor

It seems that Error is the best possibility when nothing has been done yet.

Found by Coverity

8 years agoInitialize bool member of Package in default constructor
Jean-Marc Lasgouttes [Thu, 9 Jun 2016 15:26:55 +0000 (17:26 +0200)]
Initialize bool member of Package in default constructor

Found by Coverity

8 years agoInitialize properly InsetTabular members in constructor
Jean-Marc Lasgouttes [Thu, 9 Jun 2016 15:23:27 +0000 (17:23 +0200)]
Initialize properly InsetTabular members in constructor

Found by Coverity

8 years agoInitialize Parse::theCatCode_ in constructor
Jean-Marc Lasgouttes [Thu, 9 Jun 2016 15:11:41 +0000 (17:11 +0200)]
Initialize Parse::theCatCode_ in constructor

Normally, it is done before tokenizing, but it does not hurt to do it
even before.

Found by Coverity.

8 years agoInitialize FindAndReplaceOptions in default constructor
Jean-Marc Lasgouttes [Thu, 9 Jun 2016 15:05:24 +0000 (17:05 +0200)]
Initialize FindAndReplaceOptions in default constructor

Found by coverity

8 years agoInitialize correctly GuiErrorList::from_master_ in constructor
Jean-Marc Lasgouttes [Thu, 9 Jun 2016 14:58:13 +0000 (16:58 +0200)]
Initialize correctly GuiErrorList::from_master_ in constructor

Found by Coverity

8 years agoInitialize InsetExteralParams::preview_mode in constructor
Jean-Marc Lasgouttes [Thu, 9 Jun 2016 14:51:07 +0000 (16:51 +0200)]
Initialize InsetExteralParams::preview_mode in constructor

The value PREVIEW_OFF is the same default as for external::Template.

Found by Coverity

8 years agoInitialize GuiSendto::format_ in constructor
Jean-Marc Lasgouttes [Thu, 9 Jun 2016 14:44:56 +0000 (16:44 +0200)]
Initialize GuiSendto::format_ in constructor

Found by Coverity.

8 years agoAlways initialize InsetQuote language in constructor
Jean-Marc Lasgouttes [Thu, 9 Jun 2016 14:42:24 +0000 (16:42 +0200)]
Always initialize InsetQuote language in constructor

Found by Coverity

8 years agoInitialize some GuiTabular members in constructor
Jean-Marc Lasgouttes [Thu, 9 Jun 2016 14:38:32 +0000 (16:38 +0200)]
Initialize some GuiTabular members in constructor

Found by Coverity.

8 years agoInitialize ScopeBuffer::buffer member in constructor
Jean-Marc Lasgouttes [Thu, 9 Jun 2016 14:34:25 +0000 (16:34 +0200)]
Initialize ScopeBuffer::buffer member in constructor

Found by Coverity.

8 years agoInitialize LyXModule::available_ in constructor
Jean-Marc Lasgouttes [Thu, 9 Jun 2016 14:25:02 +0000 (16:25 +0200)]
Initialize LyXModule::available_ in constructor

Found by Coverity.

8 years agoReplace boost::tuple with std::tuple
Guillaume Munch [Thu, 2 Jun 2016 19:06:59 +0000 (20:06 +0100)]
Replace boost::tuple with std::tuple

8 years agoReplace support/shared_ptr.h and boost::shared_ptr with std::shared_ptr
Guillaume Munch [Thu, 2 Jun 2016 17:13:55 +0000 (18:13 +0100)]
Replace support/shared_ptr.h and boost::shared_ptr with std::shared_ptr

shared_ptrs now only require the <memory> header.

8 years agoReplace boost::scoped_ptr with unique_ptr
Guillaume Munch [Thu, 2 Jun 2016 22:49:36 +0000 (23:49 +0100)]
Replace boost::scoped_ptr with unique_ptr

8 years agoAutotools: restore deprecation warning
Guillaume Munch [Thu, 2 Jun 2016 17:00:22 +0000 (18:00 +0100)]
Autotools: restore deprecation warning

-Wno-deprecated-declarations was added at 314a121c.

8 years agoReplace auto_ptr with unique_ptr
Guillaume Munch [Thu, 2 Jun 2016 20:58:52 +0000 (21:58 +0100)]
Replace auto_ptr with unique_ptr

This is a mechanical replacement. For now it seems that unique_ptrs are
essentially used for exception-safety. More could certainly be done to clarify
pointer ownership in general.

8 years agounique_ptr and make_unique
Guillaume Munch [Tue, 24 May 2016 22:25:41 +0000 (23:25 +0100)]
unique_ptr and make_unique

8 years agoInitialize all MathMacroTemplate members in constructors
Jean-Marc Lasgouttes [Thu, 9 Jun 2016 14:19:31 +0000 (16:19 +0200)]
Initialize all MathMacroTemplate members in constructors

Found by coverity.

8 years agoPlease Coverity (code should be equivalent)
Jean-Marc Lasgouttes [Thu, 9 Jun 2016 14:02:39 +0000 (16:02 +0200)]
Please Coverity (code should be equivalent)

The parameter passed to allowDisplayMath will need to be copied, so it
made sense to pass it by value. Since Coverity complains about that,
the code is rewritten to make the copy explicit.

8 years agoAnnotate source code to please coverity
Jean-Marc Lasgouttes [Thu, 9 Jun 2016 13:51:07 +0000 (15:51 +0200)]
Annotate source code to please coverity

This code is signalled as a copy and paste error, but it is a false
positive.

According to the documentation, adding a comment starting with
  // coverity[name_of_error]
should be enough to flag the false positive.

8 years agoFix right_boundary properly after a row is shortened
Jean-Marc Lasgouttes [Mon, 6 Jun 2016 12:01:02 +0000 (14:01 +0200)]
Fix right_boundary properly after a row is shortened

Instead of resetting it to false, do a proper test to see whether
there is a separator at the end of the row.

Fixes bug #10180.

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:14:28 +0000 (02:14 +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 agoAdd missing backslashes
Georg Baum [Wed, 8 Jun 2016 20:17:14 +0000 (22:17 +0200)]
Add missing backslashes

Found by 2to3, but useful for python2 as well for consistency reasons.

8 years agoMake scripts python3 compatible
Georg Baum [Wed, 8 Jun 2016 18:02:33 +0000 (20:02 +0200)]
Make scripts python3 compatible

Again using 2to3 and manual checking

8 years agoMake configure.py python3 compatible
Georg Baum [Wed, 8 Jun 2016 17:29:15 +0000 (19:29 +0200)]
Make configure.py python3 compatible

This was done using 2to3 and manual tweaking afterwards to ensure that it
works with python2 as well.

8 years agoMake commented code python3 compatible
Georg Baum [Wed, 8 Jun 2016 16:41:57 +0000 (18:41 +0200)]
Make commented code python3 compatible

8 years agoCmake build: Check for QPA_XCB when QT_USES_X11 is known
Kornel Benko [Wed, 8 Jun 2016 07:21:48 +0000 (09:21 +0200)]
Cmake build: Check for QPA_XCB when QT_USES_X11 is known

Since QT_USES_X11 is determined in ConfigureChecks
we have to check after this call

8 years agoMention C++11 requirement in INSTALL
Georg Baum [Tue, 7 Jun 2016 20:29:38 +0000 (22:29 +0200)]
Mention C++11 requirement in INSTALL

Thanks to Scott and Jean-Marc for pointing that out, I forgot it.

8 years agoWe do not use the provided MSVC proj files
Georg Baum [Tue, 7 Jun 2016 20:19:10 +0000 (22:19 +0200)]
We do not use the provided MSVC proj files

8 years agoRemove boost::typeof
Georg Baum [Tue, 7 Jun 2016 20:10:49 +0000 (22:10 +0200)]
Remove boost::typeof

Jean-Marc found out that we do not need it.

8 years agoUpdate boost to version 1.61
Georg Baum [Tue, 7 Jun 2016 19:14:12 +0000 (21:14 +0200)]
Update boost to version 1.61

I updated using the new extract script. This gets rid of boost::bind, but the
other parts are still needed internally.

8 years agoRemove unneeded files from extract.sh
Georg Baum [Tue, 7 Jun 2016 19:10:19 +0000 (21:10 +0200)]
Remove unneeded files from extract.sh

We do require less files from boost now.

8 years agoRemove zombie noncopyable.hpp dependency
Georg Baum [Tue, 7 Jun 2016 18:49:27 +0000 (20:49 +0200)]
Remove zombie noncopyable.hpp dependency

The header was still included, but not used.

8 years agoRequire a C++11 compiler
Georg Baum [Tue, 7 Jun 2016 18:33:06 +0000 (20:33 +0200)]
Require a C++11 compiler

As discussed on the list. If no C++11 compiler is found configuration stops
with an error. There are now unneeded parts of boost, the will be removed in
a second commit.

8 years agoCmake build: Correct some installation paths
Kornel Benko [Tue, 7 Jun 2016 12:38:20 +0000 (14:38 +0200)]
Cmake build: Correct some installation paths

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.

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.

8 years agoFix cppcheck initialization warnings
Georg Baum [Mon, 6 Jun 2016 19:55:39 +0000 (21:55 +0200)]
Fix cppcheck initialization warnings

8 years agoRethrow excepction instead of a copy
Georg Baum [Mon, 6 Jun 2016 19:52:52 +0000 (21:52 +0200)]
Rethrow excepction instead of a copy

This fixes the cppcheck warning "(style) Throwing a copy of the caught
exception instead of rethrowing the original exception."

8 years agoRemove duplicated if clause
Georg Baum [Sun, 5 Jun 2016 17:48:31 +0000 (19:48 +0200)]
Remove duplicated if clause

This was a thinko in 760b7cf2 (found by cppcheck), it was added in 977bbd9b as
well.

8 years agoStart a fresh RELEASE-NOTES
Scott Kostyshak [Mon, 6 Jun 2016 08:57:47 +0000 (04:57 -0400)]
Start a fresh RELEASE-NOTES

8 years agoCmake build: Refactor determination of destination paths.
Kornel Benko [Mon, 6 Jun 2016 06:29:07 +0000 (08:29 +0200)]
Cmake build: Refactor determination of destination paths.

8 years agoCmake build: Set new installation paths
Kornel Benko [Sun, 5 Jun 2016 20:59:13 +0000 (22:59 +0200)]
Cmake build: Set new installation paths

For a suffixed version (with suffix 2.3) and installation dir (/usr/local)
the new paths are:
binary -> /usr/local/bin
system-lib -> /usr/local/share/lyx2.3
fonts -> /usr/local/fonts/truetype/lyx2.3
manuals -> /usr/local/man/man1
locales -> /usr/local/share/locale
tex -> /usr/local/texmf/tex/latex/lyx2.3

8 years agoFix encoding for computer modern fonts
Georg Baum [Sun, 5 Jun 2016 14:53:55 +0000 (16:53 +0200)]
Fix encoding for computer modern fonts

The essential hints came from Guillaume amd Jean-Marc at bug #8883.
Tested by comparing the output of

python generate_symbols_list.py `kpsewhich fontmath.ltx`

with lib/symbols.

8 years agoMake generate_symbols_list.py python3 compatible
Georg Baum [Sun, 5 Jun 2016 14:38:57 +0000 (16:38 +0200)]
Make generate_symbols_list.py python3 compatible

8 years agoCmake build: Allow user defined suffix for program files
Kornel Benko [Sun, 5 Jun 2016 14:26:59 +0000 (16:26 +0200)]
Cmake build: Allow user defined suffix for program files

8 years agoImplement gcc version check for cmake
Georg Baum [Sun, 5 Jun 2016 13:54:29 +0000 (15:54 +0200)]
Implement gcc version check for cmake

8 years agoRequire at least gcc 4.3
Georg Baum [Sun, 5 Jun 2016 13:40:00 +0000 (15:40 +0200)]
Require at least gcc 4.3

This is a prerequisite for mandatory C++11 support.
I could not find a cmake gcc version check btw.

8 years agoFix svgz output path
Georg Baum [Sun, 5 Jun 2016 11:28:06 +0000 (13:28 +0200)]
Fix svgz output path

In the old script the output path given on the command line was ignored,
because of teh way how dvisgm expects commandline options.

8 years agoMerge generate_symbols_* scripts
Georg Baum [Sun, 5 Jun 2016 11:21:03 +0000 (13:21 +0200)]
Merge generate_symbols_* scripts

Most of the code was identical, but the templates are sifferent, so they are
not merged.

8 years agoUpdate image template docs to current format
Georg Baum [Sun, 5 Jun 2016 10:56:32 +0000 (12:56 +0200)]
Update image template docs to current format

8 years agoPrepare generate_symbols* for python3
Georg Baum [Sun, 5 Jun 2016 10:51:07 +0000 (12:51 +0200)]
Prepare generate_symbols* for python3

This is the usual encoding and print stuff, but the scripts don't run yet
under python 3 because of the missing Image module.

8 years agoLook for svgz images as well
Georg Baum [Sun, 5 Jun 2016 10:25:48 +0000 (12:25 +0200)]
Look for svgz images as well

Almost all toolbar images are now in svgz format, bu thos were not found by
the scripts.

8 years agoconfigure: Add export format for 2.2.x
Scott Kostyshak [Sun, 5 Jun 2016 07:52:28 +0000 (03:52 -0400)]
configure: Add export format for 2.2.x

8 years agoAdjust generate_symbols* to db363ab1
Georg Baum [Sat, 4 Jun 2016 18:13:37 +0000 (20:13 +0200)]
Adjust generate_symbols* to db363ab1

The image map was renamed, so it was not found anymore.

8 years agoMake unicodesymbols.py python3 compatible
Georg Baum [Sat, 4 Jun 2016 17:58:42 +0000 (19:58 +0200)]
Make unicodesymbols.py python3 compatible

8 years agoUpdate gen_lfuns.py to current format
Georg Baum [Sat, 4 Jun 2016 17:46:40 +0000 (19:46 +0200)]
Update gen_lfuns.py to current format

And run it to update LFUNs.lyx. This overtakes the  syntax fix from b356df7fc
as well.

8 years agoMake gen_lfuns.py python3 compatible
Georg Baum [Sat, 4 Jun 2016 17:40:53 +0000 (19:40 +0200)]
Make gen_lfuns.py python3 compatible

Also read files with universal line endings and write files using native line
endings, so the script can also be used on windows without changing the line
endings.

8 years agoRemove convert_kmap.py
Georg Baum [Sat, 4 Jun 2016 17:09:44 +0000 (19:09 +0200)]
Remove convert_kmap.py

This was used to convert LaTeX symbols in kmap files in 2007, we do not
need it anymore.

8 years agoGet rid of pseudo diffs when remerging strings
Georg Baum [Sat, 4 Jun 2016 15:33:19 +0000 (17:33 +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 agoupdate test references for ba2b86fa
Georg Baum [Sat, 4 Jun 2016 15:00:17 +0000 (17:00 +0200)]
update test references for ba2b86fa

8 years agoWork around limited SVG support (bug #9778)
Georg Baum [Sat, 4 Jun 2016 07:09:33 +0000 (09:09 +0200)]
Work around limited SVG support (bug #9778)

Qt only supports SVG 1.2 tiny, so we prefer to convert on our own if an
explicit converter is defined and the converter cache is used (otherwise
the conversion would be too expensive).

8 years agoUpdate sk.po
Kornel Benko [Fri, 3 Jun 2016 19:41:38 +0000 (21:41 +0200)]
Update sk.po

8 years agotypo
Pavel Sanda [Fri, 3 Jun 2016 18:19:02 +0000 (11:19 -0700)]
typo

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.

8 years agoComment only
Pavel Sanda [Fri, 3 Jun 2016 05:48:34 +0000 (22:48 -0700)]
Comment only

8 years agoIntroduce basic support for microtype.sty.
Pavel Sanda [Fri, 3 Jun 2016 05:40:21 +0000 (22:40 -0700)]
Introduce basic support for microtype.sty.

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

8 years agoSupport a changed log message in newest LuaTeX
Scott Kostyshak [Fri, 3 Jun 2016 02:54:26 +0000 (22:54 -0400)]
Support a changed log message in newest LuaTeX

The version of LuaTeX that ships with TeX Live 2016 now gives the
following message after processing a document that yields no pages
of output:

"warning  (pdf backend): no pages of output."

The lowercase "n" in "no" is a change that caused our parser not to
pick up the message.

8 years agoOutput file from (xe|lua)latex is PDF, not DVI
Scott Kostyshak [Wed, 25 May 2016 22:02:26 +0000 (18:02 -0400)]
Output file from (xe|lua)latex is PDF, not DVI

A few parts of our code depend on correctly identifying the output
format of LaTeX commands. One specific bug is that because the
output file was not correctly set, it was not removed after an
error. For example, this commit fixes the following bug:

1. Create a new document that contains "hello\blah" where \blah is
in an ERT box.
2. Compile with PDF (LuaTeX). You'll get an error because of \blah.
3. Close the error dialog.
4. Remove the text "hello" and compile again with PDF (LuaTeX).

The error dialog is shown and the "Show Output Anyway" button is
enabled. If you click it, it shows the previously compiled PDF (with
the text "hello"). With this commit, the button is correctly
disabled (and the output file is deleted).

8 years agoGeneralize a comment
Scott Kostyshak [Wed, 25 May 2016 22:01:00 +0000 (18:01 -0400)]
Generalize a comment

An output file does not have to be a DVI.

8 years agoWin installer: port last change
Uwe Stöhr [Thu, 2 Jun 2016 23:30:29 +0000 (01:30 +0200)]
Win installer: port last change

8 years agoTutorial.lyx: port last change
Uwe Stöhr [Thu, 2 Jun 2016 23:29:59 +0000 (01:29 +0200)]
Tutorial.lyx: port last change

8 years agoExport svg in xhtml, not svgz (bug 10160)
Georg Baum [Thu, 2 Jun 2016 20:34:28 +0000 (22:34 +0200)]
Export svg in xhtml, not svgz (bug 10160)

LyX did not distinguish compressed and uncompressed svg files previously.
Therefore XHTML export of vector graphics did use svgz images directly, which
is not supported by browsers. If svg and svgz are treated as two formats then
all works fine. This is also consistent with the loadable image formats
reported by qt: It reports both svg and svgz.
The gunzip dependency in converters is not new (it is already used internally),
but the gzip dependency is new, so it might not be available on windows.
This is not important at the moment, since we do not yet need to convert svg
to svgz, I only added the converter for completeness.

8 years agoDo not duplicate jpg format
Georg Baum [Thu, 2 Jun 2016 20:31:27 +0000 (22:31 +0200)]
Do not duplicate jpg format

Some qt versions report both "jpeg" and "jpg" as loadable file extensions.
In this case the jpg format was added twice previously. This does not happen
anymore with the new code, and it works as well if only "jpg" or only "jpeg"
is reported.

8 years agoImprove debug output
Georg Baum [Thu, 2 Jun 2016 20:17:19 +0000 (22:17 +0200)]
Improve debug output

Now we have only one line per format, not two. The output looks the same now
as in GuiApplication.cpp for the qt formats.

8 years agoWin installer: security issues in ImageMagick require new installer
Uwe Stöhr [Wed, 1 Jun 2016 22:46:16 +0000 (00:46 +0200)]
Win installer: security issues in ImageMagick require new installer

8 years agoUpdate imported gettext code from gettext 0.19.7
Georg Baum [Wed, 1 Jun 2016 19:45:38 +0000 (21:45 +0200)]
Update imported gettext code from gettext 0.19.7

This might help with the spurious .pot file update error in 'make distcheck'.
At least it does not break anything.

8 years agoglitch in lfundoc
Pavel Sanda [Wed, 1 Jun 2016 07:20:50 +0000 (00:20 -0700)]
glitch in lfundoc

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

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

8 years agoForce native line endings for .po files
Georg Baum [Tue, 31 May 2016 20:43:09 +0000 (22:43 +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 agoAllow automatic text direction in Painter::text()
Jean-Marc Lasgouttes [Tue, 31 May 2016 07:13:18 +0000 (09:13 +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.

Fixes bug #10169.

8 years agoUpdate sk.po
Kornel Benko [Tue, 31 May 2016 07:18:29 +0000 (09:18 +0200)]
Update sk.po

8 years agoCmake export tests: Added testcases for erroneous xhtml exports
Kornel Benko [Tue, 31 May 2016 07:13:35 +0000 (09:13 +0200)]
Cmake export tests: Added testcases for erroneous xhtml exports

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

8 years agoTocWidget: fix an erroneous collapse and optimise updates based on profiling
Guillaume Munch [Mon, 30 May 2016 20:42:08 +0000 (21:42 +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.

8 years agoTocWidget: fix part of #9825
Guillaume Munch [Mon, 30 May 2016 21:11:27 +0000 (22:11 +0100)]
TocWidget: fix part of #9825

8 years agoTocModel: clean-up
Guillaume Munch [Mon, 30 May 2016 21:11:00 +0000 (22:11 +0100)]
TocModel: clean-up

8 years agoGuiDelimiters: display at least (and at most?) 4 columns
Guillaume Munch [Tue, 10 May 2016 17:47:27 +0000 (18:47 +0100)]
GuiDelimiters: display at least (and at most?) 4 columns

8 years agoGuiDelimiter: Synchronise the vertical scrollbars
Guillaume Munch [Tue, 10 May 2016 17:34:39 +0000 (18:34 +0100)]
GuiDelimiter: Synchronise the vertical scrollbars

8 years agoShortcutPrefs: hide empty lfuns for which there is already a binding
Guillaume Munch [Tue, 23 Feb 2016 22:02:02 +0000 (22:02 +0000)]
ShortcutPrefs: hide empty lfuns for which there is already a binding

8 years agoShortcutPrefs: clean-up
Guillaume Munch [Sun, 29 May 2016 19:58:33 +0000 (20:58 +0100)]
ShortcutPrefs: clean-up

8 years agoShow names of debug modes in the debug panel
Guillaume Munch [Sun, 29 May 2016 22:33:12 +0000 (23:33 +0100)]
Show names of debug modes in the debug panel

Sometimes it's hard to know which is which from a translation of the description
alone.

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

8 years agoUpdate PAINTING_ANALYSIS
Jean-Marc Lasgouttes [Mon, 30 May 2016 12:54:20 +0000 (14:54 +0200)]
Update PAINTING_ANALYSIS

Remove all the tasks that have been performed.

8 years agoSplit TextMetrics::setRowHeight in three parts
Jean-Marc Lasgouttes [Fri, 20 May 2016 15:14:54 +0000 (17:14 +0200)]
Split TextMetrics::setRowHeight in three parts

The new functions parBottomSpaging and parTopSapcing return below/above each paragraph.

This allows to remove the TopBottomSpace argument and makes the code a
bit clearer.

8 years agoDo not require an extra pit parameter when a row is available
Jean-Marc Lasgouttes [Wed, 18 May 2016 07:39:47 +0000 (09:39 +0200)]
Do not require an extra pit parameter when a row is available

Now that Row has a pit() member, it is possible to use it instead of passing an extra pit_type parameter to a function which already has access to a Row.

8 years agoRowPainter const cleanup
Jean-Marc Lasgouttes [Tue, 17 May 2016 13:00:09 +0000 (15:00 +0200)]
RowPainter const cleanup

Change the various paint* helpers to take a single row element as argument.

Do not update x_ in the various paint* helpers. Constify them. Update x_ in paintText and paintOnlyInsets instead.

Remove an empty call to paintForeignMark in paintInset (the call did nothing since orig_x == x_ at this point).