Commit Graph

37985 Commits

Author SHA1 Message Date
Stephan Witt
0273d607c5 Add missing check for Qt version when using QPdfWriter class 2017-10-03 22:50:05 +02:00
Kornel Benko
7661462400 Cmake build: Only use the new lyxconvert on MAC 2017-10-03 22:12:23 +02:00
Scott Kostyshak
be91997227 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).
2017-10-03 15:23:25 -04:00
Scott Kostyshak
a128e1287d 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).
2017-10-02 23:32:19 -04:00
Scott Kostyshak
b94bb04d91 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.
2017-10-02 23:15:02 -04:00
Scott Kostyshak
7b6fc48c22 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.
2017-10-02 23:07:51 -04:00
Uwe Stöhr
7ee30e0f5a UserGuide.lyx: accept and distribute today's changes 2017-10-03 01:15:32 +02:00
Jean-Marc Lasgouttes
add342d088 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.
2017-10-02 17:14:55 +02:00
Kornel Benko
92628a2990 cmake tests: Try to use valid locales for testing 2017-10-02 10:35:57 +02:00
Scott Kostyshak
e474554627 Restore compilation of ja/Additional.lyx
Remove a system-dependent path.
2017-10-02 00:48:33 -04:00
Kornel Benko
c2eb1a1a72 Add suffixed lyxconvert to cmake build.
This should amend f93ec4a, but is not tested on apple
2017-10-02 02:00:47 +02:00
Scott Kostyshak
867abeac06 Set default format to "default" for Japanese docs
Consistent with 27165841.
2017-10-01 13:22:03 -04:00
Stephan Witt
f93ec4a1f4 Add Qt-based fallback-converter for Mac to compensate missing ImageMagick convert utility 2017-09-30 18:13:37 +02:00
Jean-Marc Lasgouttes
764a153c69 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.
2017-09-29 10:33:21 +02:00
Jean-Marc Lasgouttes
d6aecbda0f 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.
2017-09-28 13:31:41 +02:00
Juergen Spitzmueller
a18ad654e8 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 4f50cbcfe4)
2017-09-28 09:09:36 +02:00
Jean-Marc Lasgouttes
9df59aac63 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.
2017-09-27 18:08:20 +02:00
Juergen Spitzmueller
a0bd27d8b1 Whitespace cosmetics
(cherry picked from commit 745b43784c)
2017-09-27 18:07:48 +02:00
Enrico Forestieri
f64efe2f63 Cleanup some icons
- remove empty text
- convert texts to paths
2017-09-26 21:01:47 +02:00
Kornel Benko
82246b5109 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.
2017-09-25 10:29:40 +02:00
Jean-Marc Lasgouttes
040e9d32a6 Do not apply mathindent to inline math insets 2017-09-24 22:38:18 +02:00
Stephan Witt
350ef993e5 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.
2017-09-24 11:55:20 +02:00
Juergen Spitzmueller
b498646b2e Fix some spelling errors reported by Sven
Fixes: #10678
2017-09-22 09:29:16 +02:00
Juergen Spitzmueller
c61f31d8a5 Add missing file (this addition needed to be forced) 2017-09-18 20:12:57 +02:00
Juergen Spitzmueller
fe4e29a642 Remove files that are no longer in the tree. 2017-09-18 20:01:27 +02:00
Juergen Spitzmueller
a8204c4630 Indentation fixes. 2017-09-18 18:38:09 +02:00
Juergen Spitzmueller
3b89cd9c28 Update internal Hunspell to latest release (1.6.2) 2017-09-18 18:12:21 +02:00
Juergen Spitzmueller
561d36a19e Do not disable the other spellers when compiling against internal hunspell
Users might still want to have a selection.
2017-09-18 18:06:01 +02:00
Juergen Spitzmueller
be36fe6e62 Define USE_HUNSPELL when compiling against included hunspell.
Otherwise, the speller is disabled.
2017-09-18 17:31:42 +02:00
Jean-Marc Lasgouttes
275d306c73 Do not presume what the defaults for a new QPainter are 2017-09-18 11:21:18 +02:00
Jean-Marc Lasgouttes
6532e5104d 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.
2017-09-18 10:58:07 +02:00
Juergen Spitzmueller
f7e431ce73 de/Customization: fix typo. 2017-09-17 18:29:55 +02:00
Kornel Benko
ac03d9ea48 Update sk.po 2017-09-16 16:54:50 +02:00
Juergen Spitzmueller
a7b017fd2f Reset InsetArgument language after passthru status change
Fixes: #10664
(cherry picked from commit d8c018b8c6)
2017-09-15 16:23:50 +02:00
Juergen Spitzmueller
9302b1ae63 Allow to provide xunicode. 2017-09-15 09:39:22 +02:00
Stephan Witt
c7efc9df28 #10762 open lyx pipe only once to read the answer 2017-09-15 08:16:50 +02:00
Uwe Stöhr
0ae111102d UserGuide.lyx: accept and distribute all recent changes (part 3/3) 2017-09-15 00:08:05 +02:00
Jean-Marc Lasgouttes
a31d3dc67d 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).
2017-09-14 15:50:30 +02:00
Stephan Witt
5699791d0f #10762 update format and copyright 2017-09-14 11:32:11 +02:00
Stephan Witt
8cbed5ef4a #10762 don't hard-code the location of LyX bundle - use script path name for lyxrc.dist lookup 2017-09-14 11:13:47 +02:00
Stephan Witt
81d70b41a1 #10762 read complete answer from LyX server and echo it 2017-09-14 11:13:47 +02:00
Stephan Witt
4939741a73 #10762 correct user preferences file lookup 2017-09-14 11:13:47 +02:00
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