]> git.lyx.org Git - lyx.git/log
lyx.git
6 years agoFix crash when closing master with children and grandchildren
Juergen Spitzmueller [Thu, 28 Sep 2017 07:06:33 +0000 (09:06 +0200)]
Fix crash when closing master with children and grandchildren

In some cases, it is possible that the BufferPositionMap has
dangling pointers. We thus check whether the Buffer is loaded
before accessing it.

Fixes: #10766
(cherry picked from commit 4f50cbcfe405a840459be8682fd4c7521b235798)

6 years agoFix bad refresh when changing zoom level
Jean-Marc Lasgouttes [Wed, 27 Sep 2017 15:52:06 +0000 (17:52 +0200)]
Fix bad refresh when changing zoom level

Replace the tricky code in LFUN_SCREEN_FONT_UPDATE and replace it with
proper use of DispatchResult flags.

LFUN_BUFFER_ZOOM* does not need to call LFUN_SCREEN_FONT_UPDATE, since
it already does everything that is required.

6 years agoWhitespace cosmetics
Juergen Spitzmueller [Wed, 27 Sep 2017 16:05:58 +0000 (18:05 +0200)]
Whitespace cosmetics

(cherry picked from commit 745b43784ce1b6981fd31f6c5f5fbd489eef51f4)

6 years agoCleanup some icons
Enrico Forestieri [Tue, 26 Sep 2017 19:01:47 +0000 (21:01 +0200)]
Cleanup some icons

- remove empty text
- convert texts to paths

6 years agoCmake build: Unconditionally create many install targets
Kornel Benko [Mon, 25 Sep 2017 08:29:40 +0000 (10:29 +0200)]
Cmake build: Unconditionally create many install targets

Previously one needed to use '-D_LYX_INSTALL=ON' to be able to install
some targets. This change only creates rules to make installation possible for
the underlying toolset.

The setting is still needed to create the rules for manuals, lokalizations and
win32 install scripts.

6 years agoDo not apply mathindent to inline math insets
Jean-Marc Lasgouttes [Sun, 24 Sep 2017 20:37:56 +0000 (22:37 +0200)]
Do not apply mathindent to inline math insets

6 years agoadd inkscape wrapper script for Mac OS
Stephan Witt [Sun, 24 Sep 2017 09:54:55 +0000 (11:54 +0200)]
add inkscape wrapper script for Mac OS

The wrapper script is placed in the binary directory of the LyX bundle.
It tries to find the real inkscape command line converter in the
Inkscape.app bundle and starts it or reports an error.
The configure.py is changed for Mac OS to check the presence of
the real inkscape binary in the Inkscape.app bundle.

6 years agoFix some spelling errors reported by Sven
Juergen Spitzmueller [Fri, 22 Sep 2017 07:29:16 +0000 (09:29 +0200)]
Fix some spelling errors reported by Sven

Fixes: #10678
6 years agoAdd missing file (this addition needed to be forced)
Juergen Spitzmueller [Mon, 18 Sep 2017 18:12:57 +0000 (20:12 +0200)]
Add missing file (this addition needed to be forced)

6 years agoRemove files that are no longer in the tree.
Juergen Spitzmueller [Mon, 18 Sep 2017 18:01:27 +0000 (20:01 +0200)]
Remove files that are no longer in the tree.

6 years agoIndentation fixes.
Juergen Spitzmueller [Mon, 18 Sep 2017 16:38:09 +0000 (18:38 +0200)]
Indentation fixes.

6 years agoUpdate internal Hunspell to latest release (1.6.2)
Juergen Spitzmueller [Mon, 18 Sep 2017 16:12:21 +0000 (18:12 +0200)]
Update internal Hunspell to latest release (1.6.2)

6 years agoDo not disable the other spellers when compiling against internal hunspell
Juergen Spitzmueller [Mon, 18 Sep 2017 16:06:01 +0000 (18:06 +0200)]
Do not disable the other spellers when compiling against internal hunspell

Users might still want to have a selection.

6 years agoDefine USE_HUNSPELL when compiling against included hunspell.
Juergen Spitzmueller [Mon, 18 Sep 2017 15:31:42 +0000 (17:31 +0200)]
Define USE_HUNSPELL when compiling against included hunspell.

Otherwise, the speller is disabled.

6 years agoDo not presume what the defaults for a new QPainter are
Jean-Marc Lasgouttes [Mon, 18 Sep 2017 09:21:18 +0000 (11:21 +0200)]
Do not presume what the defaults for a new QPainter are

6 years agoRemember correctly pixel ratio used for painting
Jean-Marc Lasgouttes [Mon, 18 Sep 2017 08:58:07 +0000 (10:58 +0200)]
Remember correctly pixel ratio used for painting

This avoids endless resize issues on HiDPI systems (e.g. Retina Mac).

Rename pixel_ratio_ to last_pixel_ratio_ to emphasize that this is a
cached value.

Inline needResize method to make the logic clearer in paintEvent.

6 years agode/Customization: fix typo.
Juergen Spitzmueller [Sun, 17 Sep 2017 16:29:55 +0000 (18:29 +0200)]
de/Customization: fix typo.

6 years agoUpdate sk.po
Kornel Benko [Sat, 16 Sep 2017 14:54:50 +0000 (16:54 +0200)]
Update sk.po

6 years agoReset InsetArgument language after passthru status change
Juergen Spitzmueller [Fri, 15 Sep 2017 14:21:05 +0000 (16:21 +0200)]
Reset InsetArgument language after passthru status change

Fixes: #10664
(cherry picked from commit d8c018b8c691f6bc3ebbb5f78bffc0b3f87c228f)

6 years agoAllow to provide xunicode.
Juergen Spitzmueller [Fri, 15 Sep 2017 07:36:16 +0000 (09:36 +0200)]
Allow to provide xunicode.

6 years ago#10762 open lyx pipe only once to read the answer
Stephan Witt [Fri, 15 Sep 2017 06:16:50 +0000 (08:16 +0200)]
#10762 open lyx pipe only once to read the answer

6 years agoUserGuide.lyx: accept and distribute all recent changes (part 3/3)
Uwe Stöhr [Thu, 14 Sep 2017 22:08:05 +0000 (00:08 +0200)]
UserGuide.lyx: accept and distribute all recent changes (part 3/3)

6 years agoCompute metrics when graphics is updated
Jean-Marc Lasgouttes [Thu, 14 Sep 2017 13:50:30 +0000 (15:50 +0200)]
Compute metrics when graphics is updated

Remove the old schedule_redraw_ mechanism that was only useful because
of our synchronous drawing code. Now that actual painting is
scheduled instead of forced, it becomes pointless.

Rename WorkArea::redraw(bool) to scheduleRedraw(bool), to show that
the drawing is not done right away.

In GuiView::updateInset, call scheduleRedraw(true), so that metrics
are correctly computed (this was the whole point of the exercise).

6 years ago#10762 update format and copyright
Stephan Witt [Thu, 14 Sep 2017 09:32:11 +0000 (11:32 +0200)]
#10762 update format and copyright

6 years ago#10762 don't hard-code the location of LyX bundle - use script path name for lyxrc...
Stephan Witt [Thu, 14 Sep 2017 07:00:16 +0000 (09:00 +0200)]
#10762 don't hard-code the location of LyX bundle - use script path name for lyxrc.dist lookup

6 years ago#10762 read complete answer from LyX server and echo it
Stephan Witt [Thu, 14 Sep 2017 06:57:52 +0000 (08:57 +0200)]
#10762 read complete answer from LyX server and echo it

6 years ago#10762 correct user preferences file lookup
Stephan Witt [Thu, 14 Sep 2017 06:52:38 +0000 (08:52 +0200)]
#10762 correct user preferences file lookup

6 years ago#10762 avoid back ticks for sub-shell execution where possible
Stephan Witt [Thu, 14 Sep 2017 06:50:42 +0000 (08:50 +0200)]
#10762 avoid back ticks for sub-shell execution where possible

6 years agoUserGuide.lyx: accept and distribute more recent changes (part 2/3)
Uwe Stöhr [Wed, 13 Sep 2017 23:02:50 +0000 (01:02 +0200)]
UserGuide.lyx: accept and distribute more recent changes (part 2/3)

6 years agoRemove unused private field from Painter
Jean-Marc Lasgouttes [Wed, 13 Sep 2017 10:38:33 +0000 (12:38 +0200)]
Remove unused private field from Painter

Clang is good at seeing those, gcc is not.

6 years agoUserGuide.lyx: accept and distribute recent changes (part 1/2)
Uwe Stöhr [Tue, 12 Sep 2017 22:55:51 +0000 (00:55 +0200)]
UserGuide.lyx: accept and distribute recent changes (part 1/2)

- Customization.lyx: fix a typo

6 years agoUpdate boost to 1.65.1
Jean-Marc Lasgouttes [Tue, 12 Sep 2017 09:37:04 +0000 (11:37 +0200)]
Update boost to 1.65.1

6 years agoUpdate documentation about em/en dashes and bitmap fonts.
Juergen Spitzmueller [Tue, 12 Sep 2017 09:36:27 +0000 (11:36 +0200)]
Update documentation about em/en dashes and bitmap fonts.

Manually cherry-picked from 1014c6b64d2283b6ab, by Günter Milde.

6 years ago#10662 use drawers for bibliography dialogs
Stephan Witt [Tue, 12 Sep 2017 09:05:42 +0000 (11:05 +0200)]
#10662 use drawers for bibliography dialogs

This change solves dialog stacking problems on newer Mac OS X in combination with the OS provided file open dialog.

(cherry picked from commit 97dc58513884bb89b6a015c2c7dc61c8bb3f7dfe)

6 years agode/Additional: fix typo.
Juergen Spitzmueller [Tue, 12 Sep 2017 09:05:48 +0000 (11:05 +0200)]
de/Additional: fix typo.

6 years agosvg2*tex.py: final fixes for Windows
Juergen Spitzmueller [Tue, 12 Sep 2017 05:57:29 +0000 (07:57 +0200)]
svg2*tex.py: final fixes for Windows

Fixes: #10679
6 years agoCustomization.lyx: fix a typo
Uwe Stöhr [Mon, 11 Sep 2017 19:20:10 +0000 (21:20 +0200)]
Customization.lyx: fix a typo

6 years agoUpdate row width when inset is indented
Jean-Marc Lasgouttes [Mon, 11 Sep 2017 10:40:40 +0000 (12:40 +0200)]
Update row width when inset is indented

Fixes bug #10758

6 years agoCustomization.lyx: some small adjustments
Uwe Stöhr [Sun, 10 Sep 2017 22:23:27 +0000 (00:23 +0200)]
Customization.lyx: some small adjustments

6 years agoCustomization.lyx: accept and distribute latest changes
Uwe Stöhr [Sun, 10 Sep 2017 21:57:07 +0000 (23:57 +0200)]
Customization.lyx: accept and distribute latest changes

6 years agoFix #10760
Juergen Spitzmueller [Sun, 10 Sep 2017 17:43:27 +0000 (19:43 +0200)]
Fix #10760

6 years agoInkscape.xtemplate: Add missing output formats
Juergen Spitzmueller [Sun, 10 Sep 2017 16:07:05 +0000 (18:07 +0200)]
Inkscape.xtemplate: Add missing output formats

6 years agoconfigure.py: update lyxrc file format.
Juergen Spitzmueller [Sun, 10 Sep 2017 15:19:12 +0000 (17:19 +0200)]
configure.py: update lyxrc file format.

6 years agosvg2*tex.py: use subprocess in order to handle path with spaces.
Juergen Spitzmueller [Sun, 10 Sep 2017 15:02:58 +0000 (17:02 +0200)]
svg2*tex.py: use subprocess in order to handle path with spaces.

See #10679

6 years agoCustomization: update the list of colors.
Juergen Spitzmueller [Sun, 10 Sep 2017 14:10:38 +0000 (16:10 +0200)]
Customization: update the list of colors.

6 years agode/Customization: finish translation.
Juergen Spitzmueller [Sun, 10 Sep 2017 14:12:25 +0000 (16:12 +0200)]
de/Customization: finish translation.

6 years agolibiconv: adapt makefile.am for new files in libiconv 1.15
Uwe Stöhr [Sun, 10 Sep 2017 13:19:40 +0000 (15:19 +0200)]
libiconv: adapt makefile.am for new files in libiconv 1.15

6 years agolibiconv/1.15: add some files new in the llibiconv sources
Uwe Stöhr [Sun, 10 Sep 2017 13:05:28 +0000 (15:05 +0200)]
libiconv/1.15: add some files new in the llibiconv sources

6 years agolibiconv: upgrade to version 1.15
Uwe Stöhr [Sun, 10 Sep 2017 12:46:37 +0000 (14:46 +0200)]
libiconv: upgrade to version 1.15

- libiconv 1.15 was released in February this year
- I opened a thread to discuss if this should also be done for the lyX 2.3 branch on the list

6 years agode.po
Juergen Spitzmueller [Sun, 10 Sep 2017 09:03:46 +0000 (11:03 +0200)]
de.po

6 years agoGuiBibtex: Use appropriate title when using Biblatex
Juergen Spitzmueller [Sun, 10 Sep 2017 08:57:48 +0000 (10:57 +0200)]
GuiBibtex: Use appropriate title when using Biblatex

6 years agoUse default btprint value in the UI if none is given.
Juergen Spitzmueller [Sun, 10 Sep 2017 08:51:42 +0000 (10:51 +0200)]
Use default btprint value in the UI if none is given.

6 years agoDisallow newlines in biblatex options
Juergen Spitzmueller [Sun, 10 Sep 2017 08:05:10 +0000 (10:05 +0200)]
Disallow newlines in biblatex options

Fixes: #10757
6 years agoWin installer: record a package that lyX uses now for Japanese documents
Uwe Stöhr [Sat, 9 Sep 2017 18:43:30 +0000 (20:43 +0200)]
Win installer: record a package that lyX uses now for Japanese documents

6 years agoJapanese docs: add missing \origin tags
Uwe Stöhr [Sat, 9 Sep 2017 18:42:49 +0000 (20:42 +0200)]
Japanese docs: add missing \origin tags

- LyX cannot be compiled otherwise on Windows using CMake
- also correct version number and accept residues of change tracking

6 years agoUpdate it.po
Enrico Forestieri [Sat, 9 Sep 2017 11:34:55 +0000 (13:34 +0200)]
Update it.po

6 years agoClean up RELEASE_NOTES for 2.4.x.
Juergen Spitzmueller [Sat, 9 Sep 2017 08:55:37 +0000 (10:55 +0200)]
Clean up RELEASE_NOTES for 2.4.x.

6 years agode.po
Juergen Spitzmueller [Sat, 9 Sep 2017 07:16:48 +0000 (09:16 +0200)]
de.po

6 years agoReset default output format to default for Japanese docs.
Juergen Spitzmueller [Sat, 9 Sep 2017 07:03:57 +0000 (09:03 +0200)]
Reset default output format to default for Japanese docs.

Since we have a global default now, these local settings are not
necessary anymore.

6 years agoAdd default output format for pLaTeX
Juergen Spitzmueller [Sat, 9 Sep 2017 06:56:04 +0000 (08:56 +0200)]
Add default output format for pLaTeX

Fixes: #10747
6 years agoMerge remote-tracking branch 'features/properpaint'
Jean-Marc Lasgouttes [Fri, 8 Sep 2017 15:05:13 +0000 (17:05 +0200)]
Merge remote-tracking branch 'features/properpaint'

Now painting the workarea is done at paint events as should be.
Explicit painting after updating metrics has been replaced by a much
lighter procedure (updatePosCache) to update the insets positions cache.

Expected benefits:
- better performance
- proper use of subpixel aliasing

The LyXRC variable use_qimage is not needed anymore and is therefore removed.

6 years agoremove LyXRC::use_qimage
Jean-Marc Lasgouttes [Fri, 8 Sep 2017 14:56:13 +0000 (16:56 +0200)]
remove LyXRC::use_qimage

This is not needed anymore now that we do not need a backup pixmap.

Update LyXRC format to 23 and add conversion.

6 years agoUpdate insets position in cache in more cases
Jean-Marc Lasgouttes [Wed, 30 Aug 2017 16:05:16 +0000 (18:05 +0200)]
Update insets position in cache in more cases

This patch makes sure that, every time a ParagraphMetrics has its
position set, the inset positions for the insets held by this
paragraph are remembered too.

This is complementary to BufferView::updatePosCache, but I do not have
hard evidence that this is required other than to increase robustness.
It may help in some cases when scrolling the document (scrollbar,
cursor up/down, page up/down).

6 years agoRename more instances of "cursor" to "caret"
Jean-Marc Lasgouttes [Thu, 24 Aug 2017 15:37:56 +0000 (17:37 +0200)]
Rename more instances of "cursor" to "caret"

Thanks to Pavel for the hint.

6 years agoRemove workaround that is not necessary anymore.
Jean-Marc Lasgouttes [Sun, 23 Jul 2017 13:50:35 +0000 (15:50 +0200)]
Remove workaround that is not necessary anymore.

This code was necessary to handle cases where the insets positions
were not yet in cache. This cannot happen anymore thanks to the
nodraw stage.

6 years agoUpdate the painting process documentation
Jean-Marc Lasgouttes [Sun, 23 Jul 2017 10:39:26 +0000 (12:39 +0200)]
Update the painting process documentation

6 years agoMake input methods support great again
Jean-Marc Lasgouttes [Sat, 22 Jul 2017 22:56:27 +0000 (00:56 +0200)]
Make input methods support great again

This unbreaks input methods by splitting the part of the code that
does the actual drawing to a separate paintPreeditText() method which
is called from paintEvent().

The proper solution would have been to introduce the preedit string in
the Row object, like is done for completion, but this is too complex
to do at this point.

The only change in behavior is that now the commit string is inserted
in one fell swoop, intead of emulating a number of key events.

6 years agoCleanup and simplify WorkArea code
Jean-Marc Lasgouttes [Fri, 21 Jul 2017 23:19:45 +0000 (01:19 +0200)]
Cleanup and simplify WorkArea code

Rename cursor to caret to in order to avoid ambiguity. The caret is
now the blinking thing only.

Remove unused header contents, and some not so useful methods.

No intended change of behavior.

6 years agoFix caret painting
Jean-Marc Lasgouttes [Thu, 20 Jul 2017 21:31:05 +0000 (23:31 +0200)]
Fix caret painting

The trick is to remember in BufferView what has been done at the
previous draw, so that the row that contained the caret can be
repainted if needed.

To this end, add an argument paint_caret to BufferView, although
painting the caret is not the job of the BufferView (at this point).

BufferView::needRepaint will act as an interface with
TextMetrics::drawParagraph to know whether the painting of a given
row should be forced.

Currently everything is done at the top row level, so that, if the
caret is in a large table, the whole table will have to be repainted.
It is not clear yet that this is necessary.

6 years agoDo the actual drawing in the paint event
Jean-Marc Lasgouttes [Fri, 8 Sep 2017 14:55:11 +0000 (16:55 +0200)]
Do the actual drawing in the paint event

Historically, because of two-stage drawing, LyX has been painting on a
Pixmap, and this pixmap is copied to screen at paint event time.

Now that we have three-stage drawing, it is possible to delay the
painting to actual paint event and avoid the intermediate Pixmap.

Known bug: the cursor is never erased.

6 years agode.po
Juergen Spitzmueller [Sat, 2 Sep 2017 07:20:04 +0000 (09:20 +0200)]
de.po

6 years agoANNOUNCE: give information about the backup files
Scott Kostyshak [Fri, 8 Sep 2017 02:12:06 +0000 (22:12 -0400)]
ANNOUNCE: give information about the backup files

Many users are confused when the backup files are created after
saving with a new major LyX version.

Thanks to Richard.

6 years agoMake the session zoom relative to the default zoom
Juergen Spitzmueller [Wed, 6 Sep 2017 16:11:31 +0000 (18:11 +0200)]
Make the session zoom relative to the default zoom

Also rename lyxrc.zoom to lyxrc.defaultZoom

Fixes: #10455
6 years agoConsider insets that are chars in InsetCollapsable::getNewLabel()
Juergen Spitzmueller [Wed, 6 Sep 2017 08:02:51 +0000 (10:02 +0200)]
Consider insets that are chars in InsetCollapsable::getNewLabel()

This fixes the display of closed ERTs, Indexes etc. when they contain
special chars, logos or quotation marks.

(Since quotation marks in ERTs are now insets, not chars anymore,
this also fixes a bug/regression of the display of babel shortcuts
such as "= in closed ERTs; hence I consider this fix necessary for 2.3.x)

6 years ago Copy recent additions to EmbeddedObjects to localized files
jpc [Sat, 2 Sep 2017 20:44:14 +0000 (22:44 +0200)]
      Copy recent additions to EmbeddedObjects to localized files
          Translate French and remove CT in original file

6 years ago Update fr.po
jpc [Sat, 2 Sep 2017 17:07:41 +0000 (19:07 +0200)]
    Update fr.po

6 years agoUpdate sk.po
Kornel Benko [Sat, 2 Sep 2017 07:54:43 +0000 (09:54 +0200)]
Update sk.po

6 years agoSupport for Japanese BX classes, by K. Yokota
Juergen Spitzmueller [Sat, 2 Sep 2017 07:06:52 +0000 (09:06 +0200)]
Support for Japanese BX classes, by K. Yokota

Fixes: #10746
6 years agoUpdate sk.po
Kornel Benko [Fri, 1 Sep 2017 22:42:41 +0000 (00:42 +0200)]
Update sk.po

6 years ago Update fr.po after 2cbca8be1e
jpc [Fri, 1 Sep 2017 21:07:38 +0000 (23:07 +0200)]
Update fr.po after 2cbca8be1e

6 years ago Update acmart.layout following tickets #10722 & #10723
jpc [Fri, 1 Sep 2017 21:02:26 +0000 (23:02 +0200)]
     Update acmart.layout following tickets #10722 & #10723

6 years ago Remove \a warning
jpc [Fri, 1 Sep 2017 20:57:19 +0000 (22:57 +0200)]
       Remove \a warning

6 years agoRemove \f warning
Kornel Benko [Fri, 1 Sep 2017 16:38:02 +0000 (18:38 +0200)]
Remove \f warning

6 years agoAdd special chain for Modules with OutputFormat for pLaTeX (Japanese)
Juergen Spitzmueller [Fri, 1 Sep 2017 08:27:12 +0000 (10:27 +0200)]
Add special chain for Modules with OutputFormat for pLaTeX (Japanese)

Fixes: #8823
6 years agoSpelling errors in sk/splash/lyx (found with the spellchecker)
Kornel Benko [Thu, 31 Aug 2017 13:48:07 +0000 (15:48 +0200)]
Spelling errors in sk/splash/lyx (found with the spellchecker)

6 years agoWhen a row is shortened, reset its flushed() attribute.
Jean-Marc Lasgouttes [Thu, 31 Aug 2017 12:52:30 +0000 (14:52 +0200)]
When a row is shortened, reset its flushed() attribute.

Fixes bug #10699.

6 years agoHonor trailing spaces in LabelString and friends
Jean-Marc Lasgouttes [Thu, 31 Aug 2017 10:03:54 +0000 (12:03 +0200)]
Honor trailing spaces in LabelString and friends

Remove the trimming operation on LabelString, LabelStringAppendix,
EndLabelString and LabelCounter. This trimming meant that quotes
strings were not preserved, which is wrong.

To preserve layouts, the Layout format has been updated to 64, so that
layout2layout can remove extra spaces on existing strings, which
ensures that behavior is unchanged for old layouts (courtesy of rgheck).

It is now possible to re-add spaces in label strings where it makes
sense.

Fixes bug #10723.

6 years ago Add .gmo file
jpc [Thu, 31 Aug 2017 08:01:48 +0000 (10:01 +0200)]
    Add .gmo file

6 years ago Updates for Japanese documentation posted on po-updates@lyx.org
jpc [Thu, 31 Aug 2017 07:54:37 +0000 (09:54 +0200)]
    Updates for Japanese documentation posted on po-updates@lyx.org
        Translation status reflected in Changelog files

6 years agoja.po: translation update from Koji Yokota
Scott Kostyshak [Thu, 31 Aug 2017 05:07:03 +0000 (01:07 -0400)]
ja.po: translation update from Koji Yokota

I checked that the changes from 29378af4 are preserved.

6 years agosk/splash.lyx: add note for Linux installations
Kornel Benko [Wed, 30 Aug 2017 00:12:48 +0000 (02:12 +0200)]
sk/splash.lyx: add note for Linux installations

6 years ago Update fr.po
jpc [Tue, 29 Aug 2017 16:08:25 +0000 (18:08 +0200)]
          Update fr.po

6 years agothree-stage drawing: add a nodraw stage
Jean-Marc Lasgouttes [Sat, 15 Jul 2017 23:25:03 +0000 (01:25 +0200)]
three-stage drawing: add a nodraw stage

Normally the two stages of drawing are
1/ compute metrics of insets/rows/paragraphs/mathrow...
2/ draw the elements and cache their positions

Now the three stages are
1/ metrics
2/ nodraw: do not draw the elements, but cache their position
3/ draw the elements (and store again their position; it does not
   seems to hurt performance).

Revive the NullPainter: this replaces the setDrawingEnabled mechanism
with a painter that does nothing. The advantage is that updatePosCache
(renamed from setPosCache) does not need anymore to be invoked from
the frontend.

updatePosCache (the nodraw stage) is called at the end of
BufferView::updateMetrics.

6 years agoFix Lexer::getLongString prefix pruning logic
Jean-Marc Lasgouttes [Wed, 23 Aug 2017 10:25:29 +0000 (12:25 +0200)]
Fix Lexer::getLongString prefix pruning logic

This fixes 3 bugs:
1/ only spaces are considered as part of the prefix
2/ leading tabs are removed unconditionally
3/ off-by-one error in the removal

The new intended behavior is:

1/ find the prefix (sequence of spaces and tabs) before the first
   line; remove this prefix from the line
2/ on the next lines, check whether they start with the same prefix,
  and if they do, strip this prefix

6 years agoSmall update to README
Jean-Marc Lasgouttes [Tue, 29 Aug 2017 10:15:25 +0000 (12:15 +0200)]
Small update to README

6 years agoMinor corrections
Juergen Spitzmueller [Tue, 29 Aug 2017 10:12:11 +0000 (12:12 +0200)]
Minor corrections

6 years agode/Customization: some bits more translation
Juergen Spitzmueller [Tue, 29 Aug 2017 10:11:32 +0000 (12:11 +0200)]
de/Customization: some bits more translation

6 years ago Copy new paragrpah in section C.2.2.1 in localized UserGuide files
jpc [Tue, 29 Aug 2017 09:48:07 +0000 (11:48 +0200)]
   Copy new paragrpah in section C.2.2.1 in localized UserGuide files
       Remove CT, translate in French file  and update Changelog

6 years agoMinor corrections I did while translating
Juergen Spitzmueller [Mon, 28 Aug 2017 13:35:13 +0000 (15:35 +0200)]
Minor corrections I did while translating

6 years agode/Customization: some more translation
Juergen Spitzmueller [Mon, 28 Aug 2017 13:34:36 +0000 (15:34 +0200)]
de/Customization: some more translation