Commit Graph

32889 Commits

Author SHA1 Message Date
Richard Heck
ca986bd33f Do not try even to hide buffers that are being processed by LyX.
Should fix #9711.

(cherry picked from commit a5ea77410e)
2015-12-12 13:24:25 -05:00
Scott Kostyshak
20a70d3aba Revert "InsetFootlike.cpp: disable listings inside footnotes"
Although aa82c1cc fixed #9321, it broke a valid use case that was
reported by a user at #9785. Hopefully we can come up with a better
fix for #9321.

This reverts commit aa82c1cc19.
2015-12-08 14:44:48 -05:00
Uwe Stöhr
6c41cd1d14 de.po: remerge file and update translations 2015-11-26 00:39:37 +01:00
Jean-Marc Lasgouttes
95bc23133a tex2lyx: Add a newline at the end of comment if not at the end of a paragraph.
When importing TeX code like
  %comment
  TEXT
the LyX document currently becomes
  [ERT %comment] TEXT
so that TEXT is now part of the comment.

Now output_comment adds a trailing newline if the token after the
comment is not a newline. Note that the newline that marks the end of
the comment has already been parsed at this point.

tex2lyx tests have been checked manually and updated.

Fixes ticket #9551.
2015-11-23 14:02:06 +01:00
Juergen Spitzmueller
45597f967c Disable Apply button in InsetParams dialogs if there is no inset to apply to.
Fixes: #9386
2015-11-20 10:57:05 +01:00
Jean-Marc Lasgouttes
147abaf234 Disable LFUN_LAYOUT when layout cannot be found
Fixes bug #8077
2015-11-17 08:53:42 +01:00
Uwe Stöhr
5c85869304 InsetMathNest.cpp: add \sideset to the autocomplete list 2015-11-17 01:06:38 +01:00
Scott Kostyshak
7dc3394139 Ammend 400db01c 2015-11-13 20:44:55 -05:00
Scott Kostyshak
400db01c2a Revert "Now math previews are correctly updated when replacing math contents inside"
This commit reverts 73ad885a and 29948eec.

Updating all previews is expensive. See #7242 for details.
2015-11-13 20:06:59 -05:00
Uwe Stöhr
07aa68d612 splash.lyx: correct a menu name and update file format 2015-11-09 02:04:09 +01:00
Richard Heck
7a9b3a57aa The cite engine info is needed by makeDocumentClass().
Fixes both #9797 and #9848.

(cherry picked from commit ba99ea5b88)
2015-11-06 16:01:22 -05:00
Juergen Spitzmueller
3cb746f9ca Decrease and unify indentation of beamer frame contents. 2015-11-06 18:42:58 +01:00
Jean-Marc Lasgouttes
ae537a5d99 Set current font correctly after inset-select-all
Since we modify directly the cursor, it is wise to make sure that the current font is updated.

Fixes bug #9719.
2015-11-06 11:12:27 +01:00
Jean-Marc Lasgouttes
fc6b7ede9c Disable setting vertical lines when using a formal table
The code in InsetTabular disables the toolbar icons and menu entries related to vertical lines.

The code in GuiTabular disables vertical lines in the Settings dialog.
Note that there was a bug in
GuiSetBorders::set(Left|Right|Top|Bottom)Enabled, where the borders
did not get drawn correctly.

Fixes bug #9816
2015-11-06 11:05:21 +01:00
Jean-Marc Lasgouttes
1f177fed77 Allow quotes in PDF text properties
PDF properties (Author, Title...) need to be quoted properly when writing (normal operation and tex2lyx). Also, reading them requires to use Lexer::getString() directly, because >> uses next(), which does not handle escapes.

Fixes bug #9830.
2015-11-06 10:59:02 +01:00
Uwe Stöhr
2fea3b7200 French EmbeddedObjects.lyx: a fix 2015-11-05 00:47:48 +01:00
Stephan Witt
164168cf2e Avoid the use of a static NSAutoreleasePool.
This seems to cause crashes on exit from time to time.
(cherry picked from commit 989c72530e)
2015-10-27 22:57:16 +01:00
Uwe Stöhr
e1e9b8e6fb modernCV.lyx: backport recent changes
- get rid of all preamble code except of one comment
- add hints how to customize the layout via LyX's document settings
2015-10-26 15:34:58 +01:00
Uwe Stöhr
2619fda1f7 Math.lyx: some style improvements 2015-10-25 18:32:03 +01:00
Uwe Stöhr
a5361d4a58 Math.lyx: few minor fixes 2015-10-25 17:23:40 +01:00
Uwe Stöhr
2038b98ad2 Math.lyx: fix a typo 2015-10-25 04:20:27 +01:00
Uwe Stöhr
d2c02f9f00 French Math.lyx: fix a typo 2015-10-25 03:57:35 +01:00
Uwe Stöhr
b102001660 Math.lyx: backport fix for \mathscr
no status entry since there was no compilation problem in branch.
2015-10-20 00:06:32 +02:00
Uwe Stöhr
084fe2f426 Math.lyx: update because bug #8566 was fixed long time ago
- also adjust the scaling of 2 images
2015-10-19 18:53:23 +02:00
Uwe Stöhr
49e457f52a UserGuide.lyx: update appendix D
the same changes like I did today in EmbeddedObjects.lyx
2015-10-18 19:21:19 +02:00
Uwe Stöhr
b3dbc283d7 EmbeddedObjects.lyx: update appendix A
Since a while now we can translate the unit descriptions. For some special applications it is also necessary that the users know the LaTeX command of the relative units.
2015-10-18 18:53:39 +02:00
Uwe Stöhr
5f90447d93 Math.lyx: backport [[3a58458b/lyxgit]] to branch 2015-10-12 01:06:20 +02:00
Uwe Stöhr
11e4d2ef98 PDF-comment.lyx: new German translation
- also disable PDF-reply since this never works correctly and it could even destroy the whole PDF and exceeds the TeX capacity
- update the French version accordingly
2015-10-10 02:32:42 +02:00
Uwe Stöhr
4720d221c9 PDF-comment.lyx: new German translation
- also disable PDF-reply since this never works correctly and it could even destroy the whole PDF and exceeds the TeX capacity
- update the French version accordingly
2015-10-10 02:31:56 +02:00
Uwe Stöhr
0cde512791 PDF-comment.lyx: some corrections
de.po: fix a typo
2015-10-09 00:52:06 +02:00
Enrico Forestieri
bc79c9a27b Fix #9490: SIGSEGV involving LyX macros --- A reproducible MWE (part II) 2015-10-05 22:43:20 +02:00
Guillaume Munch
4b62267814 Fix bugs #6078 and #9364
Remove unwanted clearSelection()s in MathData::updateMacros(). These calls broke
text selection with keyboard and mouse, search-and-replace, restoring selection
after Undo, etc. in a document with math macros since 1.6.0. (Regression at
6aa54673 and 12314897)

I do not know the purpose of these calls, but the selection code has been worked
on since, and I cannot produce undesired behaviour after removing
them.

(cherry-picked from 89342f2946

Conflicts:
	src/mathed/MathData.cpp
)
2015-10-05 04:13:21 +01:00
Guillaume Munch
b056358362 Increase TOC_ENTRY_LENGTH (#9579) 2015-10-02 19:48:59 +01:00
Guillaume Munch
40c51b77f2 fr.po: update from Jean-Pierre 2015-09-29 18:14:11 +01:00
Uwe Stöhr
530dbcdc38 PDF-comment.lyx: describe a further feature
- also some corrections
2015-09-27 03:12:38 +02:00
Kornel Benko
e43393d599 Cmake build: Give a warning when system boost and stdlib-debug are used together
Follows commit a0f2cbd to fix bug #9736 for cmake build too.
2015-09-25 11:28:09 +02:00
Jean-Marc Lasgouttes
a0f2cbdfd2 Give a warning when system boost and stdlib-debug are used together
In general this would lead to an immediate runtime crash because the
runtime checks of libstdc++ change the layout of some STL objects.
Therefore, this will only work when the boost libraries have been
compiled with this same flag. At this time, it is not known whether
any linux distribution contains such libraries.

Fixes bug #9736.
2015-09-25 10:37:46 +02:00
Richard Heck
dfeba2abcf Typo in tutorial. 2015-09-24 18:08:25 -04:00
Uwe Stöhr
ded3375a97 PDF-comment.lyx: fix 2 typos
- de.po: correct a translation
2015-09-24 00:14:10 +02:00
Uwe Stöhr
3530ccf4cc UserGuide.lyx: backport recent changes from master 2015-09-23 22:56:42 +02:00
Uwe Stöhr
139618a5cf status.21x: remove duplicate entry 2015-09-23 22:21:56 +02:00
Uwe Stöhr
fb0c89013a pt_BR.po: update by Georger 2015-09-21 01:44:27 +02:00
Georg Baum
12ab5dd810 Work around a gcc5 bug
The old code produced crashes with gcc5 caused by calling the copy
constructor (see https://bugzilla.redhat.com/show_bug.cgi?id=1260976).
This has been filed as gcc bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67557
It is currently being marked as invalid (they claim the code is not valid and
produces undefined behaviour), but I don't think that this is correct.
Fortunately i does not matter for us whether the old code was valid or not,
since the new version is easier to understand and works with all compilers.
2015-09-15 21:28:42 +02:00
Guillaume Munch
efe5e27692 fr.po : fix accelerators for search & replace dialogs
Fix #9761
2015-09-15 17:43:37 +01:00
Guillaume Munch
c2292d1786 Remove problematic accelerator in po files (cf 3bb588f4)
Fix #9745
2015-09-15 17:43:28 +01:00
Guillaume Munch
1348c62d41 Fix bug #9754
Don't delay the update of the TOC panel on switching documents
2015-09-14 00:58:14 +01:00
Guillaume Munch
d186d708ea Fix bug #1996
\overrightarrow and related macros have a standard behaviour with respect to
sub/superscripts.
2015-09-14 00:55:35 +01:00
Uwe Stöhr
9c9cb97608 pt_BR.po: update from Georger 2015-09-13 16:59:17 +02:00
Juergen Spitzmueller
c78352af07 Fix parsing of class and category declaration line in layout files
* Omit commented-out lines
* Properly escape backslash
* Do not allow non-space chars after delaration
* Allow blanks before # comment character

Fixes: #9746
2015-09-03 09:49:20 +02:00
Richard Heck
4b647c68a1 Revert "Typo."
This reverts commit 5c940dd536.
2015-09-01 11:40:07 -04:00