Commit Graph

32047 Commits

Author SHA1 Message Date
Juergen Spitzmueller
d4f04513c2 Fix LFUN_MATH_AMS_MATRIX: it was possible to generate corrupt documents (part of #8359) 2014-02-10 09:23:17 +01:00
Juergen Spitzmueller
2a0247ee30 Some improvements to the LFUNS generation script 2014-02-10 08:35:49 +01:00
Uwe Stöhr
dfa49c0b22 Math.lyx: some preamble fixes for \cancel support 2014-02-10 02:52:49 +01:00
Uwe Stöhr
65ff346f3f Math.lyx: describe new support for cancel 2014-02-10 02:01:27 +01:00
Uwe Stöhr
d0209eb286 UserGuide.lyx: add info about widows and orphans
(thanks Helmut for this info)
- German UserGuide.lyx: add missing section about proper names
2014-02-10 01:15:52 +01:00
Kornel Benko
7781cd404c sk.po some shortcuts 2014-02-09 11:59:09 +01:00
Juergen Spitzmueller
fa6b388cb3 Do not issue module warnings when just cloning a buffer (#8864) 2014-02-09 11:16:20 +01:00
Pavel Sanda
d7b69d38c6 * cs.po 2014-02-08 00:27:30 -08:00
Pavel Sanda
f9c53c6e87 * Additional.lyx - SVN has been tested to some degree (#8937). 2014-02-07 23:37:51 -08:00
Scott Kostyshak
1fd32312e9 Right border of multicol should be set if 1 column
This commit fixes a bug uncovered by the fix to #8082:
If you create a table, select all columns in a row,
and set as multicolumn, the right border used to be unset.
2014-02-08 00:13:10 -05:00
Vincent van Ravesteijn
77d532bd51 Compare: Add the authors from the 'other' document
Otherwise the resulting document may contain references to authors that are not present in the author list, which results in a crash.

Fixes-bug: #8769
2014-02-07 23:14:36 +01:00
Vincent van Ravesteijn
fc6b8c64f8 Return true to indicate we might have invalidated the cursor
If we don't do so, Cursor::notifyCursorLeavesOrEnters might continue with
an invalidated cursor.

Fixes-bug: #8329
2014-02-07 23:04:15 +01:00
Vincent van Ravesteijn
795535e44f Do not try to track_change an auto-deleted bibitem
We are not capable of handling two bibitems within one biblio paragraph.
That's why we have functions like Paragraph::brokenBiblio() and
Paragraph::fixBiblio(). So, if we fix the biblio by deleting the second
bibitem, we should not keep it as deleted.

This code caused a crash because the inset was released, but still kept as
deleted.

Fixes-bug: #8646.
2014-02-07 22:55:05 +01:00
Richard Heck
0ded71a480 Fix silly mistake spotted by Jurgen.
Give k a more descriptive name.
Prettify a bit of the code.
2014-02-07 10:36:55 -05:00
Juergen Spitzmueller
6837345209 Fix crash 2014-02-06 13:07:00 +01:00
Juergen Spitzmueller
b13f5dee53 Fix assertion in editing math (bug #8946) 2014-02-06 11:09:02 +01:00
Juergen Spitzmueller
1ec10ad964 de.gmo: forgot this at last de.po commit 2014-02-06 10:29:12 +01:00
Juergen Spitzmueller
9d6c2bf407 Fix lyx2lyx chunk conversion (bugs #8877, #8876) 2014-02-06 10:11:02 +01:00
Juergen Spitzmueller
28abb40c1b Add missing refprefixes for theorems (#8781)
Original patch by Paul Rubin
2014-02-06 09:18:12 +01:00
Uwe Stöhr
991810b9e2 UserGuide.lyx: describe the new paste modes 2014-02-06 04:05:05 +01:00
Georg Baum
ac2c91be02 Document paste options (bug #8749)
As discussed in trac. Unformatted Text is removed, since it is too similar to
Plain text, adn nobody knows why it is needed in the standard menu. The lfun
is kept, so users can easily activate it in private ui files if needed.
2014-02-05 21:53:02 +01:00
Vincent van Ravesteijn
ebf18a9711 Fix wrong painting of lines right of multicol
We should skip the other cells that are part of the multicolumn before we find the cell right to the current one.

Fixes-bug: #8082
2014-02-05 21:37:57 +01:00
Georg Baum
c616c7e73f Add more paste lfun doc from bug #8749. 2014-02-04 22:22:54 +01:00
Kornel Benko
b66f2a355f CMake: Optimize use of target update-gmo 2014-02-04 17:42:26 +01:00
Juergen Spitzmueller
5a669fa62b Style 2014-02-04 10:37:29 +01:00
Vincent van Ravesteijn
eb219e1130 CMake: Regenerate deleted gmo files 2014-02-03 21:19:33 +01:00
Vincent van Ravesteijn
181e64c724 CMake: Put the docs projects in a subdirectory 2014-02-03 20:07:14 +01:00
Vincent van Ravesteijn
f63221aba4 CMake: Add target update-gmo
This target will update the gmo files if and only if the associated
po-file is modified. To determine whether a file is modified, 'git
status --porcelain' is used.

This follows up on commit 06782542.
2014-02-03 20:07:12 +01:00
Vincent van Ravesteijn
cda585baf5 CMake: Move biblio test projects into tests group 2014-02-03 20:07:09 +01:00
Uwe Stöhr
915002ed42 UserGuide.lyx and Math.lyx: use and describe LyX's native visible space 2014-02-03 02:22:24 +01:00
Uwe Stöhr
e8de2df4f9 stdmenus.inc: move menu entry of visible space
the visible space is a character and should therefore be treated as special character (also proposed by Jürgen)
2014-02-03 00:32:45 +01:00
Vincent van Ravesteijn
ebaead1075 Revert "installer: support new LyX helper programs"
These files are only used by the tests and should not be installed.

This reverts commit fc400ae8eb.
2014-02-02 14:31:35 +01:00
Kornel Benko
f36ea42b5e Cmake build: Prepare lyx2lyx tests to use the python executable found at configure time 2014-01-31 19:10:23 +01:00
Richard Heck
94956d391a Update build script.
(cherry picked from commit ef0fc5732f)
2014-01-31 09:44:06 -05:00
Richard Heck
1f231c9538 Typo. 2014-01-31 09:38:00 -05:00
Richard Heck
d0af587ab4 Update algorithm module to format 48. 2014-01-31 08:54:01 -05:00
Uwe Stöhr
90b38f31fc UserGuide.lyx: fix a typo spotted by Hartmut 2014-01-30 01:12:20 +01:00
Uwe Stöhr
1981e1f352 French Customization.lyx: updated by Jean-Pierre for LyX 2.1 2014-01-30 00:41:30 +01:00
Uwe Stöhr
112d307a89 fr.po: translations by Jean-Pierre for LyX 2.1 2014-01-30 00:37:06 +01:00
Uwe Stöhr
21788be577 de.po: change a misleading translation 2014-01-30 00:35:54 +01:00
Uwe Stöhr
44e8c6d45d documentation files: more updates
Changelog:
UserGuide:
- sec. 3.3.4.4: "opt" renamed to "short title"; only one short title
- sec. A.4.23: short title only visible...
- sec. A.5.4: Forward Search, clarify section reference
- sec. B: description of searching in submenus

Customization Manual:
- sec. 3.1:
	- changed View->View (Other Formats)->DVI to  Document>View (Other Formats)->DVI
	- In second and fourth paragraph changes 2 "View" menu to "Document"
2014-01-30 00:14:59 +01:00
Uwe Stöhr
6902cfcf25 documentation: first step to update the UserGuide
changelog:

- sec. A.3.3: menu of outline has changed -> therefore correction in
	- sec. 3.7 of Tutorial
	- sec. 2.5: of UserGuide
	- sec. 6.2.1: of UserGuide
- sec. A.3.4: name changed to "source pane" -> therefore correction in
	- sec. 2.1 of Additional
	- sec. 6.12.4: of UserGuide
- sec. A.3.5: name changed to "Messages Pane"
- sec. A.3.15 -> A.3.6: Toolbar menu shifted
- sec. A.3.6 -> A.6.4: view Document menu shifted -> therefore correction in
	- sec. B.20 of UserGuide (not yet in Japanese)
	- sec. C.7.2 of UserGuide (not yet in Japanese)
	- sec. 2.1.1 of Tutorial (not yet in Japanese)
	- sec. 2.1 of Additional (not yet in Japanese)
	- sec. 7.3.3.4 of Additional (not yet in Japanese)
- sec. A.3.7 -> A.6.5: view other Document menu shifted
- sec. A.3.8 -> A.6.6: Update view menu shifted
- sec. A.3.9 -> A.6.7: Update view other menu shifted
- sec. A.3.10 -> A.6.8: view master menu shifted
- sec. A.3.11 -> A.6.9: Update master menu shifted
2014-01-29 20:00:55 +01:00
Richard Heck
4f36bac7ae Add a couple more ignores: patches, and the build directory. 2014-01-29 11:24:22 -05:00
Richard Heck
3f62601a8f Fix bug discovered by Kornel. See
http://marc.info/?l=lyx-devel&m=138590578911716&w=2
If you look at Buffer.cpp, around line 4351, there was a comment about bug 5699. We are seeing the
same crash. The problem is that, although the master does have a GUI, that GUI is in a different window. So the structureChanged() call we do during updateBuffer() is for the TOC in that window, not the TOC in the window we are actually in. So our TocModel::toc_ has been reset and is invalid, though the widget itself has not been updated and looks fine.

This patch tests whether the master is in the same window as the buffer we are updating.

A problem remains, which is noted in a comment.
2014-01-29 11:23:03 -05:00
Richard Heck
f9de88c53c Remove the shebang line from our python scripts, per Jose's suggestion.
Fedora ships these chmod 644 and has never seen a problem. The advantage
to doing this is that it better controls what version of python we are
using to launch the script, and it will reveal if we're somehow somewhere
not controlling that properly.
2014-01-28 12:52:16 -05:00
Kornel Benko
3369de6d7c Added test for algo2e tex2lyx conversion
Testfile from Jürgen Spitzmüller
2014-01-28 13:58:28 +01:00
Juergen Spitzmueller
f76a8c8ab1 tex2lyx: support algorithm2e (#8728) 2014-01-28 12:44:22 +01:00
Jean-Marc Lasgouttes
bab58480bc Do not skip space at start of row (fixes #8947, #8838)
TextMetrics::getColumnNearX (x -> pos translation) has special code to
ignore spaces at the beginning of a row, but neither the display code
nor TextMetrics::cursorX (pos->x translation) follow this logic. One
might argue that spaces should actually be ignored (like LaTeX does),
but this leads to UI issues and is probably too difficult to
implement.
2014-01-28 11:04:31 +01:00
Juergen Spitzmueller
aa764f751c some minor translation work 2014-01-27 15:21:19 +01:00
Kornel Benko
a2df280b30 * sk.po 2014-01-27 12:54:33 +01:00