Commit Graph

28787 Commits

Author SHA1 Message Date
Richard Heck
2bf904ca34 Fix bug #7490.
As the bug report notes, you do NOT get this crash if you move up or
down in the table a bit before you do the rest. The reason is that
moving up and down sets the cursor's x_target_, and it is because that
is not set that we enter the other code at all and eventually crash.
That is, in InsetTabular's dispatch, we have:

(*) cur.pos() = tm.x2pos(cur.pit(), pm.rows().size()-1, cur.targetX());

You can see the potential for trouble here already. cur.pit() is in the
NEW cell, i.e., the one to which we are moving; it was changed a few
lines previously, and cur.idx() points to the new cell, too. But we are
trying to calculate cur.pos(), which means that cur.pos() is currently
the one from the OLD cell. So the cursor is in an inconsistent state.
Calling cur.targetX() leads us to call Cursor::getPos(), and that is
what causes the crash.

We fix the problem by making sure we call targetX() on the original
cursor. The same problem clearly exists in the DOWN stuff, so we fix
that, too.

By the way, should we be setting x_target_ here once we have calculated
it?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38530 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 22:41:48 +00:00
Pavel Sanda
637d43a32b ru.po layouttranslation reviewed by Liviu, there is remaining question about Acknowledgement string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38529 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 22:18:19 +00:00
Joost Verburg
d255b0cf0a Disable the option to run LyX from the finish page for now. This would run LyX using the Administrator account if installing for all users, resulting in a different user directory to be used with different preferences etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38528 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 21:33:32 +00:00
Joost Verburg
0f7b2cde6a Install complete Python instead of subset. Fixes #7485 and #7405.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38527 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 21:29:32 +00:00
Pavel Sanda
27903f82f5 Regenerate layouttranslations for hu.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38525 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 19:33:44 +00:00
Pavel Sanda
31f1551365 * hu.po from Szoke Sandor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38524 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 19:33:42 +00:00
Pavel Sanda
06669bc5bc Documentation for Swedish from Jim Rotmalm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38523 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 17:04:30 +00:00
Pavel Sanda
4c7f65991f Regenerate layouttranslations for sv.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38521 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 16:55:28 +00:00
Pavel Sanda
0630123b42 * sv.po from Jim Rotmalm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38520 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 16:55:25 +00:00
Pavel Sanda
c6f4f44891 Regenerate layouttranslations for ro.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38518 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 15:34:03 +00:00
Pavel Sanda
a755bd8efe * ro.po from Marius Ionescu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38517 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 15:34:01 +00:00
Pavel Sanda
eee08afb68 Finish nn.po as adviced by Ingar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38515 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 14:26:46 +00:00
Pavel Sanda
3fd8ce8d5c Final manuals from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38514 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 11:06:52 +00:00
Pavel Sanda
dfa115dc1d Strings remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38512 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 10:59:27 +00:00
Pavel Sanda
b50b1f9e65 Final es.po from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38511 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 10:58:18 +00:00
Pavel Sanda
b3e79b76e9 Next fixes from Susana for pt.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38510 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 10:09:43 +00:00
Pavel Sanda
bbb2f324ac Regenerate layouttranslations for pt
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38508 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 08:20:47 +00:00
Pavel Sanda
1cf94b95b8 * pt.po from Susana Barbosa
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38507 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 08:20:44 +00:00
Pavel Sanda
b3b1c6d47c Regenerate layouttranslations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38506 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 08:11:46 +00:00
Pavel Sanda
1079f160eb he.po layout translations from Richman Reuven
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38505 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 08:11:44 +00:00
Pavel Sanda
caa4a0df7d * generate_contributions.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38502 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 00:49:33 +00:00
Pavel Sanda
a4271fa089 Additional work on he.po from Richman Reuven.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38500 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-26 00:28:55 +00:00
Pavel Sanda
cd73e1a727 * generate_contributions.py
We know the contact internally.
We accept only code where the source can be tracked back in case some licensing issues happen.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38499 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-25 23:47:10 +00:00
Richard Heck
bb91e606b3 Forgot this part of r38496. See
http://www.mail-archive.com/lyx-
for the reason it needs to be here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38497 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-25 22:30:22 +00:00
Richard Heck
c7cb9fdc43 Fix crash when there are text insets in a table cell with decimal alignment. This is discussed in these threads:
http://marc.info/?t=115869271700002&r=1&w=2&n=5
	http://marc.info/?t=130349942500005&r=1&w=2&n=17
This is the simpler and more conservative of the two solutions proposed. It is possible,
however, that we need the more complicated one, which is in x2a.patch here:
	http://marc.info/?l=lyx-devel&m=130359169107401&q=p4
Both patches contain work by me and Edwin.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38496 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-25 12:56:09 +00:00
Peter Kümmel
1d5e483b44 move call stack code, add TODOs
(only disabled code is touched)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38494 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-25 09:14:50 +00:00
Richard Heck
c786d93f25 Update all English docs to current format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38490 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-25 02:07:32 +00:00
Richard Heck
c322afe346 We no longer write such detailed information to the header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38489 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-25 01:58:25 +00:00
Richard Heck
d87ee9fbba User Guide will not export to 1.6.x. This ID can be negative!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38486 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-25 01:47:10 +00:00
Richard Heck
5f1d31bf16 Just whitespace and a comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38485 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-25 01:46:37 +00:00
Jürgen Spitzmüller
40a6f9644f de.po: "rechtschreib-prüfen" is, to my best knowledge, not a common German verb.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38484 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-23 17:15:18 +00:00
Kornel Benko
d03d3e2461 Make it buildable on linux again. (LYX_DATA_SUBDIR is on non-windows defined as '').
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38483 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-23 14:15:32 +00:00
Jürgen Spitzmüller
da070e9a7f * de.po: small enhancement.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38482 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-23 10:24:24 +00:00
Tommaso Cucinotta
be9a7223c0 Added test for crash in current trunk (i.e., this is failing now).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38478 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-22 22:23:42 +00:00
Tommaso Cucinotta
25e3d90303 Added check for assertions or anomalous exits of LyX on TestEnd.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38477 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-22 22:23:16 +00:00
Enrico Forestieri
d4bcdae8d7 Fix deletion of empty last row for \smallmatrix (part of bug #7484).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38475 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-22 15:06:59 +00:00
Peter Kümmel
659d68713f cmake: fix wrong installation path of 'layouttranslations' (the already existing file in lib/)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38474 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-22 12:53:48 +00:00
Peter Kümmel
56712287a6 demangle names of call stack, thx to JM for the <cxxabi.h> tip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38473 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-21 20:07:08 +00:00
Pavel Sanda
6c9bacc541 * generate_contributions.py
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38470 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-21 13:35:10 +00:00
Pavel Sanda
371c42d45e Fix #7479
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38469 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-20 20:52:53 +00:00
Pavel Sanda
4ce02aeb09 Japanese translation of Feynman Diagrams from Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38467 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-20 18:19:22 +00:00
Pavel Sanda
b59e401122 layouttranslations from da.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38465 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-20 13:44:51 +00:00
Pavel Sanda
7c9efa03d7 Back from red region
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38464 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-20 13:44:50 +00:00
Pavel Sanda
89cc6b3bd2 Remerge da.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38463 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-20 13:44:49 +00:00
Pavel Sanda
9a3ba796d8 First part of da.po revision.
Translation from Jesper Stemann Andersen.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38462 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-20 13:44:46 +00:00
Pavel Sanda
adde78e679 * uk.po from Yuri
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38460 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-20 12:33:59 +00:00
Pavel Sanda
8815ab0843 Fix assertion in pl.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38456 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-19 07:35:48 +00:00
Pavel Sanda
490a0fccd8 Japanese layouttranslation fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38453 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-19 07:27:01 +00:00
Pavel Sanda
6de7195c7b * ja.po from Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38452 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-19 07:25:18 +00:00
Richard Heck
e0bc4efcff Revert r38431 for now, at least. Thanks to Enrico for pointing out
why that is a good idea.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38451 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-19 00:50:24 +00:00