Commit Graph

28023 Commits

Author SHA1 Message Date
Richard Heck
47a95c1094 Fix bug #7531, also reported by Jim Oldfield. Need to use master
buffer's counters.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38597 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-05 20:31:47 +00:00
Richard Heck
d1f15298f7 Start the clean up of the updateMacros() calls by moving the necessary
calls into the file writing routines and out of doExport(). They were in
both places before: Called once in doExport, and then again in the e.g.
writeLaTeXSource()---and then again, actually, in validate().

It is possible this will reveal some missing updateBuffer() calls
somewhere. But it should somewhat speed up View>Source, since we now do
not do an extra set of such calls in that routine. Rather, we rely upon
the Buffer's having been made up to date first, by the updateBuffer()
call after dispatch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38596 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-05 20:18:16 +00:00
Richard Heck
96e86c8113 Fix thinko in lyx2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38595 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-05 19:51:10 +00:00
Kornel Benko
7187d8d8f0 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38593 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-05 17:22:37 +00:00
Richard Heck
9440012342 Fix bug #7525: We need to make sure we have an up to date list of macros
before we try to resolve them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38590 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-05 15:15:55 +00:00
Pavel Sanda
b90ef20d36 Typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38588 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-05 09:19:34 +00:00
Richard Heck
99bea14fd1 Updates to the ANNOUNCE file, by me and Pavel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38587 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-05 01:21:35 +00:00
Georg Baum
f0a669014f Exclude generated files from .po string extraction.
Now it is no longer needed to use a tree that was never used for building
for remerging .po files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38585 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-04 18:51:15 +00:00
Georg Baum
2b58df827b Make .po string extraction more robust:
- Do not parse case insensitive tags case sensitive
- Reintroduce missing translations that were accidentally lost with the
  introduction of the I18nPreamble and EndI18nPreamble tags


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38584 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-04 18:21:15 +00:00
Enrico Forestieri
2c9c4ee672 Some math font changing commands only work in math mode, so let's
assure to switch to math mode if needed. This helps avoiding latex
errors (see http://thread.gmane.org/gmane.editors.lyx.general/69580)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38579 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-04 00:29:36 +00:00
Enrico Forestieri
3efc6385d7 See r37176. Let's keep this a Windows only "feature".
Something went wrong with a script while previewing a document and now
I have to wait for 30 minutes for quitting LyX without killing it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38578 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-04 00:17:07 +00:00
Uwe Stöhr
b0d2527e01 scons/SConstruct: fix SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38577 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-04 00:05:39 +00:00
Stephan Witt
88286b471a add the source for the readme files to place in the disk image of 2.0 release
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38576 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-03 20:32:52 +00:00
Pavel Sanda
a20b7acd18 Give more info whats actually going on in hunspell.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38575 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-03 18:32:14 +00:00
Richard Heck
7d9b8a464f Fix bug #7463: XHTML View>Source now shows only the paragraph with the
cursor. Fix is fairly simple.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38572 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-03 14:05:42 +00:00
Richard Heck
173401248a New lyx2lyx file for 2.0 --> 2.1 conversions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38570 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-03 13:12:55 +00:00
Pavel Sanda
e265317839 Back to svn.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38565 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-01 23:05:21 +00:00
Pavel Sanda
107e105ecd Final release of LyX 2.0.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38559 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-29 00:31:54 +00:00
Pavel Sanda
f185696367 Update cs tutorial
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38558 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-29 00:18:13 +00:00
Pavel Sanda
48ee516526 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38557 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-29 00:12:05 +00:00
Pavel Sanda
bdcc671e39 Add layouttranslations.review
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38555 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-29 00:02:08 +00:00
Pavel Sanda
dfb07f783b * ANNOUNCE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38554 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-28 23:39:30 +00:00
Pavel Sanda
aea4c52940 Accept all changes in our manuals (and disable revision tracking)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38553 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-28 23:12:18 +00:00
Pavel Sanda
04e91cdcc6 Final remerge of strings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38552 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-28 22:54:57 +00:00
Pavel Sanda
b375f00adc Regenerate CREDITS
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38551 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-28 22:54:46 +00:00
Pavel Sanda
fa3cbc92b8 * eu.po from Inaki
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38548 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-28 20:15:46 +00:00
Pavel Sanda
de6406f226 Swedish updates from Jim
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38547 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-28 20:10:24 +00:00
Pavel Sanda
42fc6d0c2d Update eu.po from Inaki Larranaga Murgoitio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38543 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-28 11:13:11 +00:00
Pavel Sanda
c77eb3adac Layouttranslation ja.po fixes from Koji
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38542 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-28 08:10:41 +00:00
Stephan Witt
ac597a4e09 adjust spell checker section, add cursor width feature
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38541 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-27 23:02:31 +00:00
Stephan Witt
a27d70788c correct path of reload.png image - has to be relative
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38540 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-27 20:18:02 +00:00
Pavel Sanda
3b9e8a20f8 Layout translation tweaks from Julio & Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38539 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-27 16:35:43 +00:00
Pavel Sanda
d0c326be97 Update of sv.po from Jim Rotmalm
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38537 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-27 11:49:51 +00:00
Pavel Sanda
a21d099f29 Improve Romanian layout translations from Liviu and Marius
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38535 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-27 09:09:45 +00:00
Pavel Sanda
b197d69016 Regenerate layouttranslations for ro.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38534 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-27 08:35:20 +00:00
Pavel Sanda
50724c326f Update ro.po from Liviu, accepted by Marius
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38533 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-27 08:35:17 +00:00
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