Commit Graph

32330 Commits

Author SHA1 Message Date
Tommaso Cucinotta
275f269cb7 Advanced F&R dialog does not need to be restored at start-up. 2013-10-26 18:37:25 +01:00
Raphael Kubo da Costa
ca7214b410 Remove FreeBSD checks when defining USE_WCHAR_T.
The problems the comments in the build systems refer to seem to have been
fixed for years. [1] says the checks in libstdc++ have been improved, and
all supported FreeBSD versions enable wchar_t support unconditionally in
libstdc++. Additionally, this needlessly impacts FreeBSD when libc++ is used
instead of libstdc++.

[1] http://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.freebsd_wchar
2013-10-18 03:07:30 +02:00
Kornel Benko
9a327da714 * sk.po 2013-10-14 12:01:54 +02:00
Enrico Forestieri
45a6a9362c Ditch the quote_python flag.
This was discussed on the list some months ago:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg179563.html
2013-10-13 23:57:33 +02:00
Scott Kostyshak
ea89d17dd4 Put RJournal.layout in the report category
Also add author details.
2013-10-13 15:12:45 -04:00
Juergen Spitzmueller
2ba44e9297 de.gmo as well 2013-10-13 18:27:04 +02:00
Juergen Spitzmueller
be8af1c480 de.po 2013-10-13 18:22:59 +02:00
Vincent van Ravesteijn
e117361638 Revert "This is lyx2.1.0beta2"
This was committed by accident.

This reverts commit c85ff678c3.
2013-10-12 02:41:44 +02:00
Vincent van Ravesteijn
514aef937a Revert "Fix make distcheck for monolithic build"
This was committed by accident.

This reverts commit 9734ab7e34.
2013-10-12 02:41:36 +02:00
Vincent van Ravesteijn
9734ab7e34 Fix make distcheck for monolithic build 2013-10-12 02:38:15 +02:00
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