Commit Graph

27934 Commits

Author SHA1 Message Date
Richard Heck
33ee5c9ae8 Fix bug #7499. The problem here is that there was no way for the
inset to know that the BibTeX data had changed. So we introduce a
Buffer-wide variable that we can query for that information.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38619 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-07 23:02:53 +00:00
Kornel Benko
ed67b9a6b5 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38616 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-07 17:06:39 +00:00
Peter Kümmel
fc5060a5e6 fix win32 linker errors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38614 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-07 13:01:30 +00:00
Richard Heck
5855043599 Initial work to fix bug involving embedded macros and
XHTML output.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38613 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-07 11:57:08 +00:00
Peter Kümmel
0ba6efb073 cmake: CMAKE_SOURCE_DIR has changed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38612 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-07 11:55:06 +00:00
Peter Kümmel
8f993bfcf1 cmake: update readmes, we have now a top level cmake file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38611 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-07 11:47:30 +00:00
Peter Kümmel
f81f512390 cmake: remove obsolete comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38610 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-07 11:34:22 +00:00
Peter Kümmel
7dd0314c72 cmake: remove 2.8 warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38609 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-07 11:34:20 +00:00
Kornel Benko
d096463859 New cmake build from top source dir
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38608 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-07 10:38:22 +00:00
Kornel Benko
45b61c6ecf 1.) Corrected internal compilation for Libintl
2.) Changed cmake-files accordingly
Patch from Jean-Marc Lasgouttes


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38606 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-06 19:24:54 +00:00
Stephan Witt
b65d0c087b let the compiler do the maths to compute array size
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38599 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-06 06:49:55 +00:00
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