Commit Graph

37793 Commits

Author SHA1 Message Date
Stephan Witt
bec5b579b0 #10762 avoid back ticks for sub-shell execution where possible 2017-09-14 11:13:47 +02:00
Uwe Stöhr
7ff051f9e7 UserGuide.lyx: accept and distribute more recent changes (part 2/3) 2017-09-14 01:02:50 +02:00
Jean-Marc Lasgouttes
bef0a9137f Remove unused private field from Painter
Clang is good at seeing those, gcc is not.
2017-09-13 15:02:17 +02:00
Uwe Stöhr
c39d673d2f UserGuide.lyx: accept and distribute recent changes (part 1/2)
- Customization.lyx: fix a typo
2017-09-13 00:55:51 +02:00
Jean-Marc Lasgouttes
ed09ccbc3c Update boost to 1.65.1 2017-09-12 11:37:36 +02:00
Juergen Spitzmueller
e0616db6a1 Update documentation about em/en dashes and bitmap fonts.
Manually cherry-picked from 1014c6b64d, by Günter Milde.
2017-09-12 11:36:27 +02:00
Stephan Witt
1460e8fe6f #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 97dc585138)
2017-09-12 11:14:16 +02:00
Juergen Spitzmueller
06e5617cd7 de/Additional: fix typo. 2017-09-12 11:08:00 +02:00
Juergen Spitzmueller
5de0bf55a7 svg2*tex.py: final fixes for Windows
Fixes: #10679
2017-09-12 07:59:26 +02:00
Uwe Stöhr
cec1a005f5 Customization.lyx: fix a typo 2017-09-11 21:20:10 +02:00
Jean-Marc Lasgouttes
3f1944a7c9 Update row width when inset is indented
Fixes bug #10758
2017-09-11 12:40:40 +02:00
Uwe Stöhr
a0c567d96f Customization.lyx: some small adjustments 2017-09-11 00:23:27 +02:00
Uwe Stöhr
ac4f286bd6 Customization.lyx: accept and distribute latest changes 2017-09-10 23:57:07 +02:00
Juergen Spitzmueller
4c62e25ed6 Fix #10760 2017-09-10 19:45:01 +02:00
Juergen Spitzmueller
4f341fc59d Inkscape.xtemplate: Add missing output formats 2017-09-10 18:08:53 +02:00
Juergen Spitzmueller
6dd66a15a5 configure.py: update lyxrc file format. 2017-09-10 17:19:12 +02:00
Juergen Spitzmueller
90df39d491 svg2*tex.py: use subprocess in order to handle path with spaces.
See #10679
2017-09-10 17:04:49 +02:00
Juergen Spitzmueller
36b092cadd Customization: update the list of colors. 2017-09-10 16:15:30 +02:00
Juergen Spitzmueller
2fab61b5b3 de/Customization: finish translation. 2017-09-10 16:15:21 +02:00
Uwe Stöhr
a0b8eed96c libiconv: adapt makefile.am for new files in libiconv 1.15 2017-09-10 15:19:40 +02:00
Uwe Stöhr
39f15a6b0b libiconv/1.15: add some files new in the llibiconv sources 2017-09-10 15:05:28 +02:00
Uwe Stöhr
cf214f8263 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
2017-09-10 14:46:37 +02:00
Juergen Spitzmueller
aea8130ef2 de.po 2017-09-10 11:03:46 +02:00
Juergen Spitzmueller
4ac94fecb6 GuiBibtex: Use appropriate title when using Biblatex 2017-09-10 10:59:05 +02:00
Juergen Spitzmueller
ed1b67b7ca Use default btprint value in the UI if none is given. 2017-09-10 10:53:35 +02:00
Juergen Spitzmueller
eff50597c0 Disallow newlines in biblatex options
Fixes: #10757
2017-09-10 10:06:47 +02:00
Uwe Stöhr
b186b08cff Win installer: record a package that lyX uses now for Japanese documents 2017-09-09 20:43:30 +02:00
Uwe Stöhr
4828d035fa 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
2017-09-09 20:42:49 +02:00
Enrico Forestieri
3b3862a01d Update it.po 2017-09-09 13:34:55 +02:00
Juergen Spitzmueller
ad43cdf829 Clean up RELEASE_NOTES for 2.4.x. 2017-09-09 10:55:37 +02:00
Juergen Spitzmueller
7d94a47562 de.po 2017-09-09 09:16:48 +02:00
Juergen Spitzmueller
2716584115 Reset default output format to default for Japanese docs.
Since we have a global default now, these local settings are not
necessary anymore.
2017-09-09 09:05:42 +02:00
Juergen Spitzmueller
2aaf185e7c Add default output format for pLaTeX
Fixes: #10747
2017-09-09 08:56:04 +02:00
Jean-Marc Lasgouttes
3d590d3bd7 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.
2017-09-08 17:05:13 +02:00
Jean-Marc Lasgouttes
4f4383cac5 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.
2017-09-08 16:58:21 +02:00
Jean-Marc Lasgouttes
3b404b0023 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).
2017-09-08 16:57:22 +02:00
Jean-Marc Lasgouttes
b0737d2589 Rename more instances of "cursor" to "caret"
Thanks to Pavel for the hint.
2017-09-08 16:57:22 +02:00
Jean-Marc Lasgouttes
fb655725b7 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.
2017-09-08 16:57:21 +02:00
Jean-Marc Lasgouttes
8edadee145 Update the painting process documentation 2017-09-08 16:57:21 +02:00
Jean-Marc Lasgouttes
14320e5b9a 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.
2017-09-08 16:57:21 +02:00
Jean-Marc Lasgouttes
1a7e342652 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.
2017-09-08 16:57:21 +02:00
Jean-Marc Lasgouttes
e7fdce0b5a 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.
2017-09-08 16:57:21 +02:00
Jean-Marc Lasgouttes
24c29908bd 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.
2017-09-08 16:55:11 +02:00
Juergen Spitzmueller
4762698e6f de.po 2017-09-08 10:40:58 +02:00
Scott Kostyshak
ee4e5c7b25 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.
2017-09-07 22:12:06 -04:00
Juergen Spitzmueller
858a9a0465 Make the session zoom relative to the default zoom
Also rename lyxrc.zoom to lyxrc.defaultZoom

Fixes: #10455
2017-09-06 18:13:34 +02:00
Juergen Spitzmueller
eb51d60571 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)
2017-09-06 10:02:51 +02:00
jpc
103e17da90 Copy recent additions to EmbeddedObjects to localized files
Translate French and remove CT in original file
2017-09-02 22:46:51 +02:00
jpc
e9527b9d5a Update fr.po 2017-09-02 19:07:41 +02:00
Kornel Benko
e8e31e0630 Update sk.po 2017-09-02 09:54:43 +02:00