]>
git.lyx.org Git - lyx.git/log
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.
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.
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
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.
Stephan Witt [Thu, 5 Oct 2017 22:59:02 +0000 (00:59 +0200)]
Add license and author infos
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
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".
Scott Kostyshak [Thu, 5 Oct 2017 03:40:44 +0000 (23:40 -0400)]
fr/Additional.lyx: remove duplicate URL
Stephan Witt [Tue, 3 Oct 2017 20:49:23 +0000 (22:49 +0200)]
Add missing check for Qt version when using QPdfWriter class
Kornel Benko [Tue, 3 Oct 2017 20:12:23 +0000 (22:12 +0200)]
Cmake build: Only use the new lyxconvert on MAC
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).
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).
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.
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.
Uwe Stöhr [Mon, 2 Oct 2017 23:15:32 +0000 (01:15 +0200)]
UserGuide.lyx: accept and distribute today's changes
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.
Kornel Benko [Mon, 2 Oct 2017 08:35:57 +0000 (10:35 +0200)]
cmake tests: Try to use valid locales for testing
Scott Kostyshak [Mon, 2 Oct 2017 04:40:28 +0000 (00:40 -0400)]
Restore compilation of ja/Additional.lyx
Remove a system-dependent path.
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
Scott Kostyshak [Sun, 1 Oct 2017 17:18:08 +0000 (13:18 -0400)]
Set default format to "default" for Japanese docs
Consistent with
27165841 .
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
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.
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.
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 )
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.
Juergen Spitzmueller [Wed, 27 Sep 2017 16:05:58 +0000 (18:05 +0200)]
Whitespace cosmetics
(cherry picked from commit
745b43784ce1b6981fd31f6c5f5fbd489eef51f4 )
Enrico Forestieri [Tue, 26 Sep 2017 19:01:47 +0000 (21:01 +0200)]
Cleanup some icons
- remove empty text
- convert texts to paths
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.
Jean-Marc Lasgouttes [Sun, 24 Sep 2017 20:37:56 +0000 (22:37 +0200)]
Do not apply mathindent to inline math insets
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.
Juergen Spitzmueller [Fri, 22 Sep 2017 07:29:16 +0000 (09:29 +0200)]
Fix some spelling errors reported by Sven
Fixes: #10678
Juergen Spitzmueller [Mon, 18 Sep 2017 18:12:57 +0000 (20:12 +0200)]
Add missing file (this addition needed to be forced)
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