Commit Graph

33020 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
c85ff678c3 This is lyx2.1.0beta2 2013-10-12 02:38:15 +02:00
Vincent van Ravesteijn
8a0b9b39f4 pocheck: Set the exit value 2013-10-12 02:37:55 +02:00
Vincent van Ravesteijn
6ed292122d Make the export of macros thread-safer
When we export the file to latex, we use the redefinition_ variable to check whether we should output newcommand or renewcommand. This variable was set by the MathMacroTemplate::metrics() function, and this caused problem when the export is running in a different thread as the GUI.

In general, the metrics() functions should not change the Buffer; we have updateBuffer/updateMacros for that purpose.
2013-10-12 02:36:08 +02:00
Tommaso Cucinotta
9680f392b0 Documenting new checkbox for math-only search of advanced find & replace. 2013-10-13 11:48:07 +01:00
Tommaso Cucinotta
acbba50a65 Added tooltip to new math-only checkbox in advanced options of advanced find & replace. 2013-10-13 11:36:38 +01:00
Juergen Spitzmueller
36730a2f3f fix macro order for newsubfloat 2013-10-13 11:45:59 +02:00
Tommaso Cucinotta
b93f2c20d3 Added restrict-search-to-maths-only checkbox to advanced pane of Advanced F&R. 2013-10-13 00:59:46 +01:00
Georg Baum
561c5bfd50 Fix missing updates for lazy MacroData
Not all accessors did update the data previously. Therefore it could happen
that document export from the command line would output \newcommand, and from
GUI it would output \renewcommand for the same macro, simply because in the
GUI case the data was updated as a side effect of the GUI thread reading some
other member.
I also removed the mutable flag for requires_, since this member is always
set on construction and does not need any lazy update.
2013-10-11 20:38:05 +02:00
Jean-Marc Lasgouttes
50af06c29b Implement reading of mo files with bad byte endianness 2013-10-11 17:21:16 +02:00
Juergen Spitzmueller
969f49c2c5 Fix unbalanced bracket problem with CJK
The bug was introduced with commit [47f7d447/lyxgit], where the unnecessary trailing bracket in CJK environments was suppresed, but not the preceding bracket (which is only output if CJK is a secondary language).
2013-10-11 12:19:41 +02:00
Georg Baum
6a30211fef Make encoding conversions thread safe
This is the result of the discussion on the list "2.1.0 Blocker". Thanks to
all contributors!
The main idea is to use thread-local storage for all static variables.
This solution does not need any mutex. For more details, see the comment in
unicode.h.
2013-10-10 21:20:44 +02:00
Kornel Benko
009809b41d typo 2013-10-10 11:32:30 +02:00
Scott Kostyshak
f79d8839cd Fix XeTeX of Formula-numbering.lyx
XeTeX export works after removing the unnecessary
hyperref package option 'hypertex'.
2013-10-10 02:23:23 -04:00
Pavel Sanda
097abe7e07 * cs.po 2013-10-09 22:57:37 -07:00
Scott Kostyshak
1e807d5183 Add XeTeX tests
Testing with XeTeX uncovered a few bugs (e.g. Math export
was failing) and thus should be a part of the ctesting.
2013-10-09 11:31:40 -04:00
Georg Baum
3e83380350 Remove questionable Mutex copy code
It is no longer needed, and it had a comment that it needed review...
Now anybody who tries to make a copy again is forced to think about it,
instead of trying and using possibly wrong semantics by accident.
2013-10-08 22:06:55 +02:00
Scott Kostyshak
f50550c4b9 New Japanese translations of the examples
Note that knitr.lyx, lilypond.lyx, and sweave.lyx do not
currently export because of #8823.
2013-10-07 18:34:45 -04:00
Scott Kostyshak
8de58715fa Japanese docs: updates from Koji 2013-10-07 18:34:45 -04:00
Scott Kostyshak
895f828589 ja: change default output format from pdf3 to pdf
dvipdfmx emits a lot of warnings and Koji suggests ps2pdf.
Thanks to Koji for the advice.

Note that on Debian, I installed the following packages
to be able to compile with ps2pdf:

fonts-takao-mincho
fonts-ipafont-nonfree-jisx0208
fonts-ipaexfont-mincho
2013-10-07 18:33:58 -04:00
Juergen Spitzmueller
e461a61204 Clarify instructions on how to set up the thesaurus 2013-10-07 18:50:37 +02:00
Juergen Spitzmueller
15af5ef59a One more clarification on the thesaurus setup 2013-10-07 15:37:38 +02:00
Juergen Spitzmueller
c5c9e26fee Clarify instructions on how to set up the thesaurus (#8811) 2013-10-07 15:26:45 +02:00
Scott Kostyshak
a19611c573 Remove obsolete code in Math.lyx
These workarounds are no longer necessary because of unicodesymbols
and further they break compilation with XeTeX as well as pdfTeX
with TeX input encoding set to ascii or utf8.

Thanks to Günter Milde for the fix.
2013-10-06 16:39:52 -04:00
Vincent van Ravesteijn
7583a8ce25 Fix EOLs 2013-10-06 05:57:53 +02:00
Vincent van Ravesteijn
513e753a52 Update LFUNs.lyx 2013-10-06 05:52:15 +02:00
Vincent van Ravesteijn
10d8a92905 Update layouttranslations 2013-10-06 05:52:15 +02:00
Vincent van Ravesteijn
e61c21409c Update po/gmo files 2013-10-06 05:52:15 +02:00
Vincent van Ravesteijn
17780b9e1a Update ANNOUNCE for LyX2.1.0beta2 2013-10-06 05:13:00 +02:00
Vincent van Ravesteijn
867c69a927 NEWS: add what's new in LyX 2.1 2013-10-06 04:34:49 +02:00
Vincent van Ravesteijn
a9048737cf NEWS: Update from the 2.0.x branch 2013-10-06 04:34:41 +02:00
Enrico Forestieri
ea2ec54eb6 Was forgetting these two icons. 2013-10-06 13:45:48 +02:00
Enrico Forestieri
004472d3b6 Replace remaining autogenerated math icons. 2013-10-06 13:39:43 +02:00
Vincent van Ravesteijn
26df0977d1 Revert "Enable automake subdir-objects"
The reason for adding this option is to kill a warning with automake 1.14. However, the "make distclean" target does not work with the subdir-objects options for older versions of automake. To still allow older versions of automake, we remove this option and live with the warning when using automake 1.14.

This reverts commit 03343bd4e6.
2013-10-05 16:40:18 +02:00
Jean-Marc Lasgouttes
b89ef8a5b3 Revert "Do not kill the undo stack when doing a Save As..."
This commit was causing bug #8821.

This reverts commit 467422f9df.
2013-10-04 15:01:42 +02:00
Jean-Marc Lasgouttes
f835134f16 Fix bug #8859: crash on alignment of two cells in tabular
The solution is the same as the other text-properties lfuns: use special loops when there is a multi-cell selection.
2013-10-04 12:52:00 +02:00
Scott Kostyshak
b65a368c04 xypic workaround for avoiding an assertion (#8860)
The text should look the same.
2013-10-01 18:17:09 -04:00
Scott Kostyshak
a6372da715 Ignore latex8 PDF export tests
latex8.sty is obsolete and replaced by IEEEconf.
2013-10-01 17:30:37 -04:00
Enrico Forestieri
1d47e3aa61 Restore original icons inadvertently replaced in a7182e42. 2013-09-29 23:12:42 +02:00
Enrico Forestieri
a7182e427f Replace autogenerated icons for the math toolbar
The autogenerated icons are in most cases ugly, do not conform to the
style of the other icons, and do not respect relative dimensions and
positions. The math icons have a vertical dimension of 19 pixel, defining
a grid that has to be respected for obtaining correct alignment.
The only autogenerated icons that remain are those of the Misc (extra)
toolbar. I plan to also replace them in the near future.
2013-09-29 22:51:27 +02:00
Vincent van Ravesteijn
c6c07d28ae Merge: Remove tex2lyx defines to allow for newer automake
Automake version 1.14 warns that subdir-objects needs to be
enabled to avoid future incompatibilities. However, this causes problems
for objects that are compiled twice (for LyX and tex2lyx) with different
defines (e.g., TEX2LYX and NO_LAYOUT_CSS). Therefore, we need to properly
fix the code without using these defines.

See also:
 - commit 16cdf70d (Jul 26, 2013),
 - commit 3698fde0 (Aug 19, 2013), and
 - http://marc.info/?l=lyx-devel&m=137673178123427&w=2.
2013-09-29 16:51:29 +02:00
Vincent van Ravesteijn
03343bd4e6 Enable automake subdir-objects 2013-09-29 15:26:25 +02:00
Vincent van Ravesteijn
c75db6757a Remove the TEX2LYX define when compiling tex2lyx 2013-09-29 15:26:23 +02:00
Vincent van Ravesteijn
8164fea772 Encodings: Use BufferEncodings where needed 2013-09-29 15:26:22 +02:00
Vincent van Ravesteijn
88d0939166 Encodings: Make members of CharInfo private 2013-09-29 15:26:20 +02:00
Stephan Witt
2e23774c6c Encodings: Split off the functions that need Buffer
This is needed to be able to use Encodings in tex2lyx without the need to
compile Buffer as well, or to use a TEX2LYX define.
2013-09-29 15:26:18 +02:00
Vincent van Ravesteijn
01e94f5e03 Encodings: Add CharInfo to Encoding.h 2013-09-29 15:26:17 +02:00
Jean-Marc Lasgouttes
72c13323d8 Remove dependency on NO_LAYOUT_CSS #define in Layout.cpp
Remove all traces of this #define.
2013-09-29 15:26:15 +02:00
Jean-Marc Lasgouttes
fa5519d4f0 Move tex2lyx dummy implementations in their own file.
Also try to document their use.
2013-09-29 15:26:13 +02:00
Jean-Marc Lasgouttes
9a1e972edb Remove dependency on TEX2LYX #define in ModuleList.cpp 2013-09-29 15:26:12 +02:00
Jean-Marc Lasgouttes
aef31d666e Remove dependency on TEX2LYX #define in Lexer.cpp 2013-09-29 15:26:10 +02:00