]> git.lyx.org Git - features.git/log
features.git
6 years agoRELEASE-NOTES: reference wiki with previous notes
Scott Kostyshak [Sat, 7 Oct 2017 06:38:24 +0000 (02:38 -0400)]
RELEASE-NOTES: reference wiki with previous notes

If users are upgrading from an older version of LyX than the
previous major series, they should consult the release notes from
the releases in-between.

For more discussion on this topic, see the following mailing list
thread:

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

6 years agoAdditional.lyx: update eLyXer URL
Scott Kostyshak [Sat, 7 Oct 2017 01:34:10 +0000 (21:34 -0400)]
Additional.lyx: update eLyXer URL

The previous link still worked but asked for bookmarks to be updated
to the newer URL.

Thanks to Ian Holliday for this correction.

6 years agoja/Math.lyx: correct the URL of the mhchem manual
Scott Kostyshak [Fri, 6 Oct 2017 19:06:11 +0000 (15:06 -0400)]
ja/Math.lyx: correct the URL of the mhchem manual

It was pointing to the hyperref manual.

6 years agosweave.lyx: remove ref to previous homepage
Scott Kostyshak [Fri, 6 Oct 2017 18:05:29 +0000 (14:05 -0400)]
sweave.lyx: remove ref to previous homepage

The homepage does not exist anymore. Note that R installations now
come with Sweave already installed.

We now instead reference the user manual of Sweave.

6 years agoposter-a0poster-simple.lyx: rm ref to a0poster-kh
Scott Kostyshak [Fri, 6 Oct 2017 17:50:44 +0000 (13:50 -0400)]
poster-a0poster-simple.lyx: rm ref to a0poster-kh

a0poster-kh is unmaintained and non-standard. Note that URL in the
removed \item was broken.

For more information, see discussion on list:
https://www.mail-archive.com/search?l=mid&q=20171006055205.jdicpppko3tjrlef%40steph

6 years agodocs: fix URL to hyperref manual
Scott Kostyshak [Fri, 6 Oct 2017 06:14:09 +0000 (02:14 -0400)]
docs: fix URL to hyperref manual

Our URL tests have been reporting the previous URL for a few months
as broken, and browser confirms it.

6 years agoAdd license and author infos
Stephan Witt [Thu, 5 Oct 2017 22:59:02 +0000 (00:59 +0200)]
Add license and author infos

6 years agoCmake build: Don't use temporary doc-files as source for installation
Kornel Benko [Thu, 5 Oct 2017 18:16:52 +0000 (20:16 +0200)]
Cmake build: Don't use temporary doc-files as source for installation

6 years agodocs: update URL of Astronomy & Astrophysics
Scott Kostyshak [Thu, 5 Oct 2017 03:43:47 +0000 (23:43 -0400)]
docs: update URL of Astronomy & Astrophysics

The new URL was found by visiting the root URL and clicking on
"journals".

6 years agofr/Additional.lyx: remove duplicate URL
Scott Kostyshak [Thu, 5 Oct 2017 03:40:44 +0000 (23:40 -0400)]
fr/Additional.lyx: remove duplicate URL

6 years agoAdd missing check for Qt version when using QPdfWriter class
Stephan Witt [Tue, 3 Oct 2017 20:49:23 +0000 (22:49 +0200)]
Add missing check for Qt version when using QPdfWriter class

6 years agoCmake build: Only use the new lyxconvert on MAC
Kornel Benko [Tue, 3 Oct 2017 20:12:23 +0000 (22:12 +0200)]
Cmake build: Only use the new lyxconvert on MAC

6 years agoUpdate noweb URL in docs
Scott Kostyshak [Tue, 3 Oct 2017 19:17:43 +0000 (15:17 -0400)]
Update noweb URL in docs

Norman Ramsey is now at Tufts, and URLs to his websites at previous
institutions are broken. The new link gives the same information as
the old links did (verified with web.archive.org).

6 years agoHebrew tutorial: update link to Hebrew set up
Scott Kostyshak [Tue, 3 Oct 2017 03:32:19 +0000 (23:32 -0400)]
Hebrew tutorial: update link to Hebrew set up

Dekel Tsur has a webpage with information on getting set up with
using Hebrew with LaTeX and LyX. We link to that webpage from our
Hebrew Tutorial. He appears to have changed universities, and the
new link gives the same information as the old link did (verified
with web.archive.org).

6 years agoLaTeXConfig.lyx: fix URL of AEA author guide
Scott Kostyshak [Tue, 3 Oct 2017 03:15:02 +0000 (23:15 -0400)]
LaTeXConfig.lyx: fix URL of AEA author guide

Our URL tests have been reporting the previous URL for a few months
as broken, and browser confirms it.

6 years agoMath.lyx: fix URL of amsguide.pdf
Scott Kostyshak [Tue, 3 Oct 2017 03:07:51 +0000 (23:07 -0400)]
Math.lyx: fix URL of amsguide.pdf

Our URL tests have been reporting the previous URL for a few months
as broken, and browser confirms it.

6 years agoUserGuide.lyx: accept and distribute today's changes
Uwe Stöhr [Mon, 2 Oct 2017 23:15:32 +0000 (01:15 +0200)]
UserGuide.lyx: accept and distribute today's changes

6 years agoCreate new method GuiWorkArea::Private:::updateCaretGeometry
Jean-Marc Lasgouttes [Mon, 2 Oct 2017 15:07:31 +0000 (17:07 +0200)]
Create new method GuiWorkArea::Private:::updateCaretGeometry

This replaces a showCaret/hideCaret pair and avoids an update.

Also remove an update() call in resizeBufferView: is is not necessary
since we are already in a pintEvent handler.

6 years agocmake tests: Try to use valid locales for testing
Kornel Benko [Mon, 2 Oct 2017 08:35:57 +0000 (10:35 +0200)]
cmake tests: Try to use valid locales for testing

6 years agoRestore compilation of ja/Additional.lyx
Scott Kostyshak [Mon, 2 Oct 2017 04:40:28 +0000 (00:40 -0400)]
Restore compilation of ja/Additional.lyx

Remove a system-dependent path.

6 years agoAdd suffixed lyxconvert to cmake build.
Kornel Benko [Mon, 2 Oct 2017 00:00:47 +0000 (02:00 +0200)]
Add suffixed lyxconvert to cmake build.

This should amend f93ec4a, but is not tested on apple

6 years agoSet default format to "default" for Japanese docs
Scott Kostyshak [Sun, 1 Oct 2017 17:18:08 +0000 (13:18 -0400)]
Set default format to "default" for Japanese docs

Consistent with 27165841.

6 years agoAdd Qt-based fallback-converter for Mac to compensate missing ImageMagick convert...
Stephan Witt [Sat, 30 Sep 2017 16:13:21 +0000 (18:13 +0200)]
Add Qt-based fallback-converter for Mac to compensate missing ImageMagick convert utility

6 years agoImprove the logic of caret repainting
Jean-Marc Lasgouttes [Fri, 29 Sep 2017 08:29:39 +0000 (10:29 +0200)]
Improve the logic of caret repainting

For some reason the existing code only considered the bottom row that
contained the cursor. There is no need for that, and actually it
caused painting problems in nested insets.

Tweak the logic of repaint_caret_row_ a bit: there is no need for
repainting when there is currently no caret on screen.

6 years agoAvoid empty space above the top of the document
Jean-Marc Lasgouttes [Thu, 28 Sep 2017 11:31:41 +0000 (13:31 +0200)]
Avoid empty space above the top of the document

If the height of the first row of the document has become smaller (for
example when it contains an image which size has shrunk), that the
anchor offset has to be adapted so that there is not a large blank
space at the top of the document.

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