]>
git.lyx.org Git - features.git/log
Juergen Spitzmueller [Mon, 18 Sep 2017 18:01:27 +0000 (20:01 +0200)]
Remove files that are no longer in the tree.
Juergen Spitzmueller [Mon, 18 Sep 2017 16:38:09 +0000 (18:38 +0200)]
Indentation fixes.
Juergen Spitzmueller [Mon, 18 Sep 2017 16:12:21 +0000 (18:12 +0200)]
Update internal Hunspell to latest release (1.6.2)
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.
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.
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
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.
Juergen Spitzmueller [Sun, 17 Sep 2017 16:29:55 +0000 (18:29 +0200)]
de/Customization: fix typo.
Kornel Benko [Sat, 16 Sep 2017 14:54:50 +0000 (16:54 +0200)]
Update sk.po
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 )
Juergen Spitzmueller [Fri, 15 Sep 2017 07:36:16 +0000 (09:36 +0200)]
Allow to provide xunicode.
Stephan Witt [Fri, 15 Sep 2017 06:16:50 +0000 (08:16 +0200)]
#10762 open lyx pipe only once to read the answer
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)
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).
Stephan Witt [Thu, 14 Sep 2017 09:32:11 +0000 (11:32 +0200)]
#10762 update format and copyright
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
Stephan Witt [Thu, 14 Sep 2017 06:57:52 +0000 (08:57 +0200)]
#10762 read complete answer from LyX server and echo it
Stephan Witt [Thu, 14 Sep 2017 06:52:38 +0000 (08:52 +0200)]
#10762 correct user preferences file lookup
Stephan Witt [Thu, 14 Sep 2017 06:50:42 +0000 (08:50 +0200)]
#10762 avoid back ticks for sub-shell execution where possible
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)
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.
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
Jean-Marc Lasgouttes [Tue, 12 Sep 2017 09:37:04 +0000 (11:37 +0200)]
Update boost to 1.65.1
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.
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 )
Juergen Spitzmueller [Tue, 12 Sep 2017 09:05:48 +0000 (11:05 +0200)]
de/Additional: fix typo.
Juergen Spitzmueller [Tue, 12 Sep 2017 05:57:29 +0000 (07:57 +0200)]
svg2*tex.py: final fixes for Windows
Fixes: #10679
Uwe Stöhr [Mon, 11 Sep 2017 19:20:10 +0000 (21:20 +0200)]
Customization.lyx: fix a typo
Jean-Marc Lasgouttes [Mon, 11 Sep 2017 10:40:40 +0000 (12:40 +0200)]
Update row width when inset is indented
Fixes bug #10758
Uwe Stöhr [Sun, 10 Sep 2017 22:23:27 +0000 (00:23 +0200)]
Customization.lyx: some small adjustments
Uwe Stöhr [Sun, 10 Sep 2017 21:57:07 +0000 (23:57 +0200)]
Customization.lyx: accept and distribute latest changes
Juergen Spitzmueller [Sun, 10 Sep 2017 17:43:27 +0000 (19:43 +0200)]
Fix #10760
Juergen Spitzmueller [Sun, 10 Sep 2017 16:07:05 +0000 (18:07 +0200)]
Inkscape.xtemplate: Add missing output formats
Juergen Spitzmueller [Sun, 10 Sep 2017 15:19:12 +0000 (17:19 +0200)]
configure.py: update lyxrc file format.
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
Juergen Spitzmueller [Sun, 10 Sep 2017 14:10:38 +0000 (16:10 +0200)]
Customization: update the list of colors.
Juergen Spitzmueller [Sun, 10 Sep 2017 14:12:25 +0000 (16:12 +0200)]
de/Customization: finish translation.
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
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
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
Juergen Spitzmueller [Sun, 10 Sep 2017 09:03:46 +0000 (11:03 +0200)]
de.po
Juergen Spitzmueller [Sun, 10 Sep 2017 08:57:48 +0000 (10:57 +0200)]
GuiBibtex: Use appropriate title when using Biblatex
Juergen Spitzmueller [Sun, 10 Sep 2017 08:51:42 +0000 (10:51 +0200)]
Use default btprint value in the UI if none is given.
Juergen Spitzmueller [Sun, 10 Sep 2017 08:05:10 +0000 (10:05 +0200)]
Disallow newlines in biblatex options
Fixes: #10757
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
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
Enrico Forestieri [Sat, 9 Sep 2017 11:34:55 +0000 (13:34 +0200)]
Update it.po
Juergen Spitzmueller [Sat, 9 Sep 2017 08:55:37 +0000 (10:55 +0200)]
Clean up RELEASE_NOTES for 2.4.x.
Juergen Spitzmueller [Sat, 9 Sep 2017 07:16:48 +0000 (09:16 +0200)]
de.po
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.
Juergen Spitzmueller [Sat, 9 Sep 2017 06:56:04 +0000 (08:56 +0200)]
Add default output format for pLaTeX
Fixes: #10747
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.
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.
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).
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.
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.
Jean-Marc Lasgouttes [Sun, 23 Jul 2017 10:39:26 +0000 (12:39 +0200)]
Update the painting process documentation
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.
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.
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.
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.
Juergen Spitzmueller [Sat, 2 Sep 2017 07:20:04 +0000 (09:20 +0200)]
de.po
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.
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
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)
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
jpc [Sat, 2 Sep 2017 17:07:41 +0000 (19:07 +0200)]
Update fr.po
Kornel Benko [Sat, 2 Sep 2017 07:54:43 +0000 (09:54 +0200)]
Update sk.po
Juergen Spitzmueller [Sat, 2 Sep 2017 07:06:52 +0000 (09:06 +0200)]
Support for Japanese BX classes, by K. Yokota
Fixes: #10746
Kornel Benko [Fri, 1 Sep 2017 22:42:41 +0000 (00:42 +0200)]
Update sk.po
jpc [Fri, 1 Sep 2017 21:07:38 +0000 (23:07 +0200)]
Update fr.po after
2cbca8be1e
jpc [Fri, 1 Sep 2017 21:02:26 +0000 (23:02 +0200)]
Update acmart.layout following tickets #10722 & #10723
jpc [Fri, 1 Sep 2017 20:57:19 +0000 (22:57 +0200)]
Remove \a warning
Kornel Benko [Fri, 1 Sep 2017 16:38:02 +0000 (18:38 +0200)]
Remove \f warning
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
Kornel Benko [Thu, 31 Aug 2017 13:48:07 +0000 (15:48 +0200)]
Spelling errors in sk/splash/lyx (found with the spellchecker)
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.
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.
jpc [Thu, 31 Aug 2017 08:01:48 +0000 (10:01 +0200)]
Add .gmo file
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
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.
Kornel Benko [Wed, 30 Aug 2017 00:12:48 +0000 (02:12 +0200)]
sk/splash.lyx: add note for Linux installations
jpc [Tue, 29 Aug 2017 16:08:25 +0000 (18:08 +0200)]
Update fr.po
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.
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
Jean-Marc Lasgouttes [Tue, 29 Aug 2017 10:15:25 +0000 (12:15 +0200)]
Small update to README
Juergen Spitzmueller [Tue, 29 Aug 2017 10:12:11 +0000 (12:12 +0200)]
Minor corrections
Juergen Spitzmueller [Tue, 29 Aug 2017 10:11:32 +0000 (12:11 +0200)]
de/Customization: some bits more translation
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
Juergen Spitzmueller [Mon, 28 Aug 2017 13:35:13 +0000 (15:35 +0200)]
Minor corrections I did while translating
Juergen Spitzmueller [Mon, 28 Aug 2017 13:34:36 +0000 (15:34 +0200)]
de/Customization: some more translation
Jean-Marc Lasgouttes [Mon, 28 Aug 2017 10:05:35 +0000 (12:05 +0200)]
Fix computation of string width when using a QTextLayout
It was not a good idea to rely on QTextLine::naturalTextWidth() to
compute a string width. The correct method is horizontalAdvance().
Also round the value to the nearest pixel, since this is what
QFontMetrics::width() does.
Fixes bug #10700 (and maybe others).
Juergen Spitzmueller [Mon, 28 Aug 2017 06:41:57 +0000 (08:41 +0200)]
EmbeddedObjects: More (minor) corrections to the Inkscape template decription.
Includes German translation.
Juergen Spitzmueller [Mon, 28 Aug 2017 06:00:56 +0000 (08:00 +0200)]
Improve the svg2*tex.py scripts.
The inkscape command was hardcoded, but it seems that we need the full
patch on Windows. Therefore we check in configure.py if inkscape is
installed and pass the proper name (and possibly path) to the scripts.
Should address problems mentioned in #10679
Juergen Spitzmueller [Sun, 27 Aug 2017 14:02:50 +0000 (16:02 +0200)]
de/EmbeddedObjects: add and translate the Inkscape modifications.
Juergen Spitzmueller [Sun, 27 Aug 2017 13:34:16 +0000 (15:34 +0200)]
de/Customization.lyx: Some updates and translations.
Still lots to do. This document is utterly outdated.
jpc [Sun, 27 Aug 2017 12:38:25 +0000 (14:38 +0200)]
Copy new documentation of Insksscape external material
in localized files and remove change tracking
Juergen Spitzmueller [Sun, 27 Aug 2017 08:50:01 +0000 (10:50 +0200)]
EmbeddedObjects: Clarify the aim of the Inkscape external template
This should clear some confusion about the input format of the template
(see #10679).
Kornel Benko [Sun, 27 Aug 2017 08:43:37 +0000 (10:43 +0200)]
Update sk.po
Pavel Sanda [Sun, 27 Aug 2017 02:27:38 +0000 (04:27 +0200)]
typo in colored-boxes.lyx