Commit Graph

37951 Commits

Author SHA1 Message Date
Uwe Stöhr
1391e3189a uk:po: port Yuri's translations 2017-11-05 14:07:33 +01:00
Uwe Stöhr
56670d7322 GuiDocument.cpp: change back alignment for column with package names
- as discussed in bug #10777 the first column should be left-aligned
2017-11-05 13:39:09 +01:00
Richard Heck
4ec80c1865 Convert for loops to range-based iterators i Buffer.cpp.
No intended change of behavior. The ones that use DocIterators and
ParIterators cannot yet be changed, but they could be if we provided
the right sorts of methods, perhaps.
2017-11-04 22:15:01 -04:00
Enrico Forestieri
a0f6690114 Update it.po 2017-11-04 16:49:16 +01:00
Juergen Spitzmueller
58cc30eafe de.po: minor fix 2017-11-04 13:57:40 +01:00
Juergen Spitzmueller
731c9fb401 configure.py: read layout and module files in binary mode
This prevents encoding issues with Python3 that manifested for a user
on the Mac.

Fixes: #10671
2017-11-04 10:41:22 +01:00
Juergen Spitzmueller
55002e0c39 Add resize facility to inkscape template.
(cherry picked from commit 167e96ca68)
2017-11-04 10:38:37 +01:00
Juergen Spitzmueller
1fb653c674 Remove foreign language markup.
Japanese docs do not seem to use a language package
(although babel works)
2017-11-03 10:06:55 +01:00
Pavel Sanda
e269ee6149 * cs.po 2017-11-03 09:52:03 +01:00
Uwe Stöhr
a69f1a9e16 GuiDocument.cpp: fix bug 10777
- the column width must be as wide as the column header text
- also center the radiobuttons in the table
- also use alternating colors for the table rows
2017-11-02 22:25:26 +01:00
Uwe Stöhr
82a1f163fc Changelog-EmbeddedObjects-LyX_23x.txt: port recent changes 2017-11-02 22:19:26 +01:00
Uwe Stöhr
ad5e8887d2 Win installer: update RC format 2017-11-02 21:48:10 +01:00
Juergen Spitzmueller
f2b6ff0870 Swap prefs format 24 and 25, since the former will not be backported. 2017-11-02 16:40:05 +01:00
Juergen Spitzmueller
891a7ef79f Collapsable -> Collapsible (part 5)
Preferences update and prefs2prefs routine.

This was forgotten in the process.
2017-11-02 16:26:45 +01:00
Enrico Forestieri
7e51b5f301 Fix #10778 (issue with CJK and language nesting)
When using CJK, don't try to close a language that was never
opened before, such as when it is the main language.
2017-11-02 10:41:08 +01:00
Pavel Sanda
534b1e9c90 * cs.po 2017-11-02 10:14:48 +01:00
Uwe Stöhr
3a6abf2847 Win installer: final changes for 2.3-RC1
- fix detection of 64bit Krita and 64bit JabRef
- JabRef is no longer installed with the bundle installer
2017-11-01 14:33:03 +01:00
Juergen Spitzmueller
b851a349b6 Enable OK/Apply buttons when resetting to class defaults. 2017-11-01 12:03:54 +01:00
Uwe Stöhr
8757550015 Win installer: fix a MiKTeX package issue
since a few months MiKTeX's package manager required the option "--admin" when calling it with admin privileges

- also register the .lyx21 file extension for LyX 2.3
- also update the LyXRC version number
2017-10-31 22:15:54 +01:00
Pavel Sanda
12e233397d * cs.po 2017-10-30 21:18:32 +01:00
Juergen Spitzmueller
a47bc7f799 Remove wmf2eps as EMF > EPS converter
The program can only deal with WMF.
2017-10-29 16:09:12 +01:00
Kornel Benko
51e32a36d6 cmake documentation handling: sort out encoding problems.
Let srcipt work under Python2 and Python3,
also if the locale is not set to utf8.

Patch from Günter Milde, sort of cherry-pick from 9086db662d
2017-10-29 09:49:39 +01:00
Juergen Spitzmueller
22125fa6de Only use full path for inkscape file arguments on Mac. 2017-10-29 08:52:15 +01:00
Uwe Stöhr
61a703a9c0 Win installer: correct name for RC1 2017-10-28 13:12:52 +02:00
Juergen Spitzmueller
5383b67f8d configure.py: Be more explicit why file could not be removed. 2017-10-28 11:24:48 +02:00
Richard Heck
a089501b7d Use a variable to hold the list of text editors. 2017-10-27 23:19:32 -04:00
Uwe Stöhr
7d39f4af04 Win installer: updates for 2.3RC1 2017-10-28 02:23:33 +02:00
Uwe Stöhr
3d4358f101 Makefile.am: add missing cmake file 2017-10-28 02:21:09 +02:00
Uwe Stöhr
18925c2bdf Japanese EmbeddedObjects.lyx: add separate dummy textfile
Japanese was the only language without a separate dummy textfile
2017-10-28 00:07:59 +02:00
Kornel Benko
7e187563ca Cmake export tests: Make eu_UserGuide.lyx pass the new ctest
Corrected some graphic paths and readded LaTeX.png
2017-10-27 22:54:15 +02:00
Richard Heck
400ee6824a Minor code re-organization. 2017-10-27 11:50:51 -04:00
Kornel Benko
d8a31f1ee6 Cmake export tests: Collect list of all used wrong paths before terminating
Also try to ignore references for files that are part of latex. If they are wrong, so
latex should handle the errors.
2017-10-27 13:22:17 +02:00
Scott Kostyshak
c4b4305fa2 configure.py: add LilyPond editor, Frescobaldi
Generic text editors are used as fallbacks, in case Frescobaldi is
not available. The list of text editors is the same as elsewhere in
configure.py. We might consider centralizing the list of text
editors in a variable.

Patch from Helge Hafting on ML at:.

https://www.mail-archive.com/search?l=mid&q=f167276f-4f59-7bab-a832-cff56dddd670%40ntnu.no
2017-10-27 02:20:23 -04:00
Uwe Stöhr
4864250a11 sweave.lyx: accept changes 2017-10-27 00:15:49 +02:00
Kornel Benko
6720a8ca7c Cmake export tests: Add the die-message to the diestack() param.
Spotted by Scott.
2017-10-26 22:43:24 +02:00
Kornel Benko
d5ec6356b8 Fix remaining path 2017-10-26 21:53:39 +02:00
Kornel Benko
d63a866106 Cmake export tests: Make test fail if there is some non-existant sub-file 2017-10-26 21:48:33 +02:00
Uwe Stöhr
6709f74873 doc files: fix some path and reference mistakes
also replace remaining occurrences of EPS images
2017-10-26 02:20:09 +02:00
Uwe Stöhr
165427f837 Japanese EmbeddedObjects.lyx: fix image paths
also replace remaining occurrences of EPS images
2017-10-26 01:24:08 +02:00
Jean-Marc Lasgouttes
02028c0b12 Move some Cursor methods to CursorData
Basically, everything that does not depend on a BufferView should move
there. Some methods that do not seem to need a BufferView, like
selHandle or IdxFirst or push actually depend on it and could not be
moved.

This allows to simplify a few uses of recordUndo helpers.

- Move some methods to DocIterator: nextMath, prevMath, getPossibleLabel,
  getEncoding;

- Move some methods to CursorData: setCursor, setCursorSelectionTo,
  (setCursorTo|normal|reset)Anchor, (set|clear)Selection,
  sel(|ection)(Begin|End), selectionAsString, info, currentState,
  (mark|clear|check)NewWordPosition, fixIfBroken, sanitize, all undo
  related methods, reset, isInside, leaveInset, current mode;

- kill some unused methods: macromode, replaceWord, setScreenPos, touch,
  markInsert, markErase;

- Move code around to group things, and add a few comments (a lot remains to be done).

This changes lead to some related changes in other classes: removal,
change of parameter.

No intended change.
2017-10-25 16:20:27 +02:00
Jean-Marc Lasgouttes
785c6d4e05 Fix comment 2017-10-25 12:16:16 +02:00
Jean-Marc Lasgouttes
8d8988de47 Allow multiple calls to processUpdateFlags before redraw
The goal of this commit is to ensure that a processUpdateFlags call
that requires no redraw will not override a previous one that did
require a redraw.

To this end, the semantics of the flag argument is now different: its
value is now OR'ed with a private update_flags_ variable. This
variable is only reset after the buffer view has actually been
redrawn.

A new Update::ForceRedraw flag has been added. It requires a full
redraw but no metrics computation. It is not used in the main code
(yet), but avoids to compute metrics repeatedly in consecutive
processUpdateFlags calls.

The process is now as follows:
- if flags is just None, return immediately, there is nothing to do.
- the Force flag is honored (full metrics computation) and replaced
  with ForceDraw.
- the FitCursor flag is honored and removed from the flags.
- the SinglePar update is added if ForceDraw is not in flags and only
  the current par has been modified.

The remaining flags are only then added to the BufferView update
flags, and the update strategy is computed for the next paint event.

Finally the dubious call to updateMacros in updateMetrics has been
removed for performance reasons.
2017-10-24 22:25:29 +02:00
Juergen Spitzmueller
dac2dea8ad de.po 2017-10-24 08:46:51 +02:00
Kornel Benko
cab20e0594 Update sk.po 2017-10-23 14:40:14 +02:00
Juergen Spitzmueller
8be2c0ff04 de.po 2017-10-23 13:51:36 +02:00
Juergen Spitzmueller
bd14639d1c More accurate description of fixltx2e state. 2017-10-23 13:49:03 +02:00
jpc
448255a371 Add obsolescence warning in fixltx2e description (ticket 9361) 2017-10-23 09:59:23 +02:00
jpc
1720f54b41 Turn 'Do not load' math option to 'Automatic' (ticket 10661) 2017-10-23 09:25:33 +02:00
Juergen Spitzmueller
76f49fad78 Implement ParamInfo::HANDLING_LTRIM and use it to ltrim InsetBibitem
output

See #9847.
2017-10-23 08:20:58 +02:00
Guillaume MM
6503073070 Fix math mode for InsetMathMacro on output
After 6642152e, user macros were no longer wrapped in \ensuremath. In 2.2 and
before, InsetMathMacro behaved as follow:

* Textmode global symbols are wrapped in \text when in math.

* Other global symbols, and user macros, are wrapped in \ensuremath when in
  text.

* Undefined macros (ERT) are wrapped neither in \text nor in \ensuremath.

This is also consistent with the documentation of MathEnsurer in
mathed/MathStream.h.

This patch defines InsetMathMacro::currentMode() accordingly (respectively
TEXT_MODE, MATH_MODE and UNDECIDED_MODE) and uses it to determine the output.

After this patch, there is a mismatch between screen and pdf output for user
macros in \text. This is not a regression wrt 2.2 and is because linearization
does not satisfy currentMode() currently.
2017-10-23 00:08:19 +02:00