Commit Graph

34850 Commits

Author SHA1 Message Date
Richard Heck
947aaf7a57 There does not appear to be any need to update the entire Buffer
after each entry into mathed. Instead, we just update the TOC for
anything the mathed happens to be inside.
2015-12-12 17:19:33 -05:00
Richard Heck
cf64064db7 Use the much faster forOutliner also to get the tooltip text. 2015-12-12 17:19:33 -05:00
Richard Heck
a5ea77410e Do not try even to hide buffers that are being processed by LyX.
Should fix #9711.
2015-12-12 13:00:20 -05:00
Richard Heck
394fc5cf15 Simplify logic. 2015-12-12 13:00:20 -05:00
Uwe Stöhr
f5a9ee54e6 Math.lyx: merge yesterday's changes
Please treat the doc files as frozen from now on, a an announcement how to proceed will follow later today.
2015-12-12 11:43:01 +01:00
Kornel Benko
5bc44b2cf2 Cmake build: Use only real absolute path to the cmake sources.
This change resolves symlinks, so that lyx called from the buil-dir
always finds 'his' system dir.
2015-12-11 23:23:46 +01:00
Kornel Benko
24ef5a8e43 Probably a typo 2015-12-11 20:57:29 +01:00
Guillaume Munch
87861bc6d5 Use AMS align instead of eqnarray on newline-insert by default (#2543) 2015-12-11 19:28:32 +00:00
Jean-Marc Lasgouttes
9c43747cc9 Make text margin size dependent on zoom and dpi
The default hardcoded value of 10 corresponds to 2.5mm at 100dpi, but does not make much sense on a HiDpi screen.
2015-12-11 12:26:07 +01:00
Scott Kostyshak
2ee880ff21 Document the IBus + Qt4 known issue (#9362)
Note that this issue does not occur with Qt5.
2015-12-11 06:13:05 -05:00
Scott Kostyshak
5adac4354c RELEASE-NOTES: consistent style for bug references
"bug #0000" -> "#0000"
2015-12-11 06:13:05 -05:00
Scott Kostyshak
1e5f3629ea RELEASE-NOTES: enforce 80-width lines 2015-12-11 06:13:05 -05:00
Jean-Marc Lasgouttes
314a121c9e Autotools: use -Wno-deprecated-declarations also with --disable-warnings
-Wno-deprecated-declarations is needed to avoid warnings about auto_ptr being obsolete.

The old code meant that the warnings would be suppressed for development builds, but active for release builds. The new code avoids that.
2015-12-11 10:31:46 +01:00
Enrico Forestieri
b6880470b3 Fix bug #9898: inset info cannot show specified icon 2015-12-11 08:51:37 +01:00
Uwe Stöhr
5fb0b17f02 German Intro.lyx: remove info
be consistent with the other Intro files; this info does not belong here
2015-12-11 01:02:00 +01:00
Uwe Stöhr
ce73df3a0c EmbeddedObjects.lyx: replace images by inset info 2015-12-11 00:58:26 +01:00
Uwe Stöhr
98d7d8ba61 Indonesian Userguide: move untranslated file to attic 2015-12-11 00:49:02 +01:00
Uwe Stöhr
97c8d5703c PDF-comment.lyx: set default output format
also save the file with latest LyX 2.2git
2015-12-11 00:26:22 +01:00
Georg Baum
92573c9ddc Fix crash in info inset dialog apply (bug 9896)
posBackward() is the exact inverse of posForward(), not backwardPos().
2015-12-10 20:21:20 +01:00
Kornel Benko
5b5b1a4515 Cmake export tests: Handle attic files with now missing references to png graphics 2015-12-10 15:20:07 +01:00
Kornel Benko
3e80a5dd6e Replace now invalid png graphics with the svgz graphics 2015-12-10 13:24:59 +01:00
Günter Milde
0529b40cc9 Set default output format for manuals to PDF (pdflatex).
Pdflatex is the recommended export tool for the manuals.
Pdflatex brings the best results for hyperlinking.
Some features (e.g. rotated text) are not available in DVI or PS (dvips).

This does not affect export from command line or autotests
(where this setting is ignored and the format must aways be given explicitely).
2015-12-10 10:40:50 +01:00
Uwe Stöhr
d9c5483bff CMakeLists.txt: fix whitespace 2015-12-10 01:24:04 +01:00
Uwe Stöhr
219b5645c2 Inset files: add includes to compile with cxx11
see the list thread "Re: use FindCXX11Compiler.cmake also for MSVC"
2015-12-10 01:15:16 +01:00
Uwe Stöhr
db05bf8fa2 UserGuide.lyx: use some info-inset icons 2015-12-10 00:37:54 +01:00
Uwe Stöhr
986821f442 Math.lyx: use some icon-info insets 2015-12-10 00:27:13 +01:00
Jean-Marc Lasgouttes
7dbd63e2b9 When counting hfills, make sure that they are active
The active/inactive status of hfills was not checked in numberOfHFills.

The code is reorganized a bit, but the important part is the change in the above function.

Part of bug #9870.
2015-12-09 17:16:00 +01:00
Peter Kümmel
d3092fc355 now we have MSVC13 3rdparty binaries 2015-12-09 16:45:15 +01:00
Peter Kümmel
8028110578 qtmain also needed for Qt5 on Windows 2015-12-09 16:45:15 +01:00
Kornel Benko
a9764cf191 Cmake build: Initialize some variables before use. 2015-12-09 15:37:58 +01:00
Jean-Marc Lasgouttes
f3cdf74e68 Remember the last used QTextLayout object
This crude caching mecanism is useful in the particular case of a screen with many misspelling dotted lines. In this case, it is necessary to build a QTextLayout in order to know where to put the start/end of the spell line. Since rows typically contains text snippets longer than a word, we may be in a situation where the same QTextLayout is constructed repeatedly.

This commit is useful in this particular use case, and should not be costly in other cases. A better fix would be to remember the QTextLayout associated to each row element. This is a bit more work, so this fix should be sufficient for now.

Additionally, do not paint misspelled marks when painting is disabled.

Fixes bug #9890.
2015-12-09 11:57:52 +01:00
Günter Milde
d42bd06594 Structure export autotest documentation. 2015-12-09 09:54:25 +01:00
Günter Milde
4d0356aea1 Set default output for "complex" manuals to PDF (pdflatex).
This is the "design format" for the manuals. Some features do not
work in other formats.
See http://permalink.gmane.org/gmane.editors.lyx.devel/158616
2015-12-09 08:54:38 +01:00
Uwe Stöhr
95894a9bd9 Math.lyx: image adjustments
the font size is 12 pt so the icons can have this size too; besides this readability is ore important than to fit in a text line
2015-12-09 02:30:38 +01:00
Uwe Stöhr
a9549c036e Japanese UserGuide.lyx: make document compilable without PNGs
also some small corrections and adjustments
2015-12-09 02:22:48 +01:00
Uwe Stöhr
bcef5b3a2e UserGuide.lyx: remove some unnecessary TeX code 2015-12-09 02:13:04 +01:00
Uwe Stöhr
e2bc9f4a56 French UserGuide.lyx: make document compilable without PNGs
also store default output format and other small corrections and adjustments
2015-12-09 02:11:40 +01:00
Uwe Stöhr
844b236144 German UserGuide.lyx: make document compilable without PNGs
also store default output format and many other small corrections and adjustments
2015-12-09 01:56:10 +01:00
Uwe Stöhr
9d66dc2859 English UserGuide.lyx: make document compilable without PNGs
also store default output format
2015-12-09 01:31:53 +01:00
Uwe Stöhr
3a7ec39a79 Spanish UserGuide.lyx: make document compilable without PNGs 2015-12-09 01:25:57 +01:00
Kornel Benko
d4da5e9391 Wrong regex 2015-12-08 18:29:12 +01:00
Günter Milde
b50df82e7a Make Math.lyx compilable again.
After removing "unneded" PNG files from the repo, this manual failed.
Skaling is done to ensure that the icons are approximately one M high.

Also, the default output is set to PDF (pdflatex) as this is said to be the export
format our manuals are designed for.
2015-12-08 17:46:50 +01:00
Günter Milde
dd5c3900ba seminar.sty works also with non-TeX fonts but requires Babel.
Always-Babel now set in the example document.

Adapted the autotest categorization:
* fails for some developers (why?)
* wrong output with pdflatex/LuaTeX and DVI (missing landscape slides).
2015-12-08 17:46:50 +01:00
Richard Heck
07992c9955 Fix typo. 2015-12-08 10:41:22 -05:00
Scott Kostyshak
1405f9efb1 Explain why we do not update the local layout
We do not update the local layout of our .lyx files because users
would then not be able to export to older formats. For example, if a
2.2.0 user exported a template to 2.1.x format and tried to open the
file in LyX 2.1.x, there would be an error because the file would
contain a local layout whose format is too new. The root reason for
this is that we do not convert layouts to older layout formats.
2015-12-08 01:39:17 -05:00
Uwe Stöhr
11e12c787a build5.bat: explicitly set QT5 2015-12-08 01:40:48 +01:00
Uwe Stöhr
01e0292028 build5.bat: a script to compile with Qt5 on Windows
This script shows how i compile. If we figured out every corner cases with it it should become the standard build script for Windows
2015-12-08 01:23:54 +01:00
Jean-Marc Lasgouttes
26b3674240 Fix syntax error whe testing old compilers 2015-12-07 22:51:36 +01:00
Georg Baum
52978f94d2 Explain why rsvg_convert is in front of inkscape
Otherwise it could easily happen that the order is changed, since rsvg_convert
seems to be more picky about invalid files (see http://www.lyx.org/trac/ticket/9891)
2015-12-07 21:17:33 +01:00
Kornel Benko
611c95bb79 Cmake export tests: Mark seminar dvi3 exports as creating wrong output 2015-12-07 19:32:07 +01:00