]>
git.lyx.org Git - lyx.git/log
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
Pavel Sanda [Sun, 27 Aug 2017 02:25:43 +0000 (04:25 +0200)]
* cs.po
Pavel Sanda [Sun, 27 Aug 2017 01:30:39 +0000 (03:30 +0200)]
Remerge cs.po
Pavel Sanda [Sun, 27 Aug 2017 01:06:51 +0000 (03:06 +0200)]
* layouttranslations: ja checked by Koji (devlist, Sat, 10 Jun 2017)
Juergen Spitzmueller [Sat, 26 Aug 2017 14:10:55 +0000 (16:10 +0200)]
Add proper author info and license header to the inkscape.xtemplate related files
Juergen Spitzmueller [Sat, 26 Aug 2017 14:10:17 +0000 (16:10 +0200)]
de/EmbeddedObjects: minor spelling corrections.
Juergen Spitzmueller [Sat, 26 Aug 2017 11:23:31 +0000 (13:23 +0200)]
UserGuide: Add some notes about keysym syntax
Fixes: #10745
Juergen Spitzmueller [Sat, 26 Aug 2017 07:19:17 +0000 (09:19 +0200)]
Fix some oxygen icons
These had phantom elements that made them appear incorrectly in the info
insets.
Kornel Benko [Tue, 22 Aug 2017 06:41:39 +0000 (08:41 +0200)]
Richard Heck [Mon, 21 Aug 2017 21:25:15 +0000 (17:25 -0400)]
Change backticks to preferred $(...) syntax.
Replace A && B || C syntax with if-then-else. Apparently, this can
fail, even if B is "echo ...", if STDOUT is for some reason closed.
See https://github.com/koalaman/shellcheck/wiki/SC2015.
Richard Heck [Mon, 21 Aug 2017 21:16:07 +0000 (17:16 -0400)]
Fix some issues found by the shellcheck script, and move an old
file to the attic.
Christian Ridderström [Sun, 20 Aug 2017 16:34:25 +0000 (18:34 +0200)]
Set n:o digits in abbrev. hash in script that checks commit log.
Expliclyt set n:o digits in abbrev. hash in script that checks the
commit log to make script behave the same way on different platforms.
Also improve help text.
Kornel Benko [Fri, 18 Aug 2017 10:07:03 +0000 (12:07 +0200)]
Windows only: A try to compile with LYX_CONSOLE again
The use of the value "FORCE" was wrong anyway, since LYX_CONSOLE
is of type "BOOL".
Tommaso Cucinotta [Fri, 18 Aug 2017 00:52:03 +0000 (02:52 +0200)]
generate_manuals_for_web: switch to xhtml, and use a random userdir while exporting, so no cached pic can be found.
Kornel Benko [Thu, 17 Aug 2017 09:21:53 +0000 (11:21 +0200)]
Update version in configure.ac
Kornel Benko [Thu, 17 Aug 2017 09:11:16 +0000 (11:11 +0200)]
Fix compilation of es/Additional.lyx with (xe|lua)latex using for system fonts
Pavel Sanda [Wed, 16 Aug 2017 23:24:44 +0000 (01:24 +0200)]
oops, git is playing games with me.
Pavel Sanda [Wed, 16 Aug 2017 23:14:56 +0000 (01:14 +0200)]
Push Tommaso's script for publishing mans.
Pavel Sanda [Wed, 16 Aug 2017 22:10:15 +0000 (00:10 +0200)]
Push Tommaso script for manuals generation.
Uwe Stöhr [Tue, 15 Aug 2017 19:06:19 +0000 (21:06 +0200)]
Win installer: updates for beta 1
Scott Kostyshak [Mon, 14 Aug 2017 08:05:11 +0000 (04:05 -0400)]
Back to development
Scott Kostyshak [Mon, 14 Aug 2017 08:03:24 +0000 (04:03 -0400)]
This is LyX 2.3.0beta1
Scott Kostyshak [Mon, 14 Aug 2017 06:31:25 +0000 (02:31 -0400)]
Update a layout to 2.3.0beta1 format
Scott Kostyshak [Mon, 14 Aug 2017 06:31:24 +0000 (02:31 -0400)]
Update docs to 2.3.0beta1 format
Scott Kostyshak [Mon, 14 Aug 2017 06:18:21 +0000 (02:18 -0400)]
NEWS: remove some uninformative items
Noted by Pavel at
https://www.mail-archive.com/search?l=mid&q=
20170425002424 .GC8883%40atrey.karlin.mff.cuni.cz
Scott Kostyshak [Mon, 14 Aug 2017 06:11:09 +0000 (02:11 -0400)]
ANNOUNCE: https some URLs
Note that
https://wiki.lyx.org/LyX/NewInLyX23
does not provide a secure connection so I did not change that one.
Scott Kostyshak [Mon, 14 Aug 2017 06:02:57 +0000 (02:02 -0400)]
Update the formats of lyxrc.dist.in to 22
In the end, no changes were needed. This was decided by prefs2prefs
for MacOSX and cygwin, and by manual inspection for Win32.
Scott Kostyshak [Mon, 14 Aug 2017 04:39:58 +0000 (00:39 -0400)]
Set pre-release version as beta1
jpc [Sun, 13 Aug 2017 16:34:48 +0000 (18:34 +0200)]
Add a warning about the change of class version
Juergen Spitzmueller [Sun, 13 Aug 2017 10:01:49 +0000 (12:01 +0200)]
Juergen Spitzmueller [Sun, 13 Aug 2017 09:53:41 +0000 (11:53 +0200)]
Vietnamese no longer requires any special handling.
It is a normal babel support package.