Commit Graph

26234 Commits

Author SHA1 Message Date
Richard Heck
c9f9cb88c0 Not sure why I introduced this test at r28378, but it causes pasting to
fail e.g., of URLs in math, since tocString() is called by
Paragraph::asString() to give us the contents of insets. Probably, I was
misled by the name, and the comment in Inset.h. That means, at least,
that this method is misnamed, but it probably means we do the wrong
thing in other cases.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36517 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 17:08:40 +00:00
Richard Heck
9a272ec26d We need to do the sanity check here, too, as we do in
Inset::getLayout(). Fixes the crash in bug #7069. My bad.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36515 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 16:45:58 +00:00
Richard Heck
a3e8adde24 Remove obsolete comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36513 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 16:35:08 +00:00
Jürgen Spitzmüller
39344b1a4e * de.po: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36511 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 16:25:08 +00:00
Richard Heck
d83c9f3fe3 Minor style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36509 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 16:07:17 +00:00
Richard Heck
34555937ea Update FORMAT with revision number.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36507 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 16:05:13 +00:00
Jürgen Spitzmüller
92af75251f * de.po: whitespace fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36505 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 10:40:23 +00:00
Pavel Sanda
b8b9d6ee42 * cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36502 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 10:16:06 +00:00
Jürgen Spitzmüller
2dc2e4770b Implement GUI for LuaTeX. File format change due to the renaming of the \use_xetex buffer param.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36500 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 09:42:03 +00:00
Vincent van Ravesteijn
7073502308 Do not overwrite read-only files. We now move the file to the backup directory and write a new file. However, when the file is read-only it now appears as the file is overwritten anyway. Therefore we check wether the file is read-only before moving it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36499 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 04:17:20 +00:00
Vincent van Ravesteijn
f7393078b2 Fix bug #7056: Context menu of table shows wrong cell alignment for multicolumns.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36498 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 03:31:10 +00:00
Vincent van Ravesteijn
3508aaf2db Fix bug #7035: Read-only status and compressed status not set correctly when an autosave or emergency file is loaded, or when the file is been converted by lyx2lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36497 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 02:01:04 +00:00
Vincent van Ravesteijn
73a1a11018 Fix bug #7077: Listings validator doesn't recognize 'breakatwhitespace'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36496 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-26 00:08:07 +00:00
Pavel Sanda
58805a5132 Kill literate programming strings
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg163726.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36495 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 23:17:44 +00:00
Uwe Stöhr
dc182537b4 InsetTabular.cpp: fine-tune vertical table alignment to get exactly the result of the latex output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36494 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 22:49:05 +00:00
Uwe Stöhr
f11a0d3eaa InsetTabular.cpp: comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36493 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 22:06:31 +00:00
Vincent van Ravesteijn
f27853ad41 Cosmetics, typos and comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36492 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 16:53:56 +00:00
Vincent van Ravesteijn
3f6e6aff90 Fix also the other occurence of the strange language that was corrected in r36489. Also fix the english.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36491 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 14:55:21 +00:00
Pavel Sanda
4ca25485eb cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36490 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 14:47:16 +00:00
Pavel Sanda
4d0e8cb5f0 This message looked strange.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36489 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 14:37:10 +00:00
Pavel Sanda
276170fd6f Synchronize naming of modules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36488 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 13:40:28 +00:00
Vincent van Ravesteijn
9fe6d655f3 Reuse some code and simplify InsetTabular::cursorPos()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36487 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 13:22:04 +00:00
Vincent van Ravesteijn
0fd75fefc4 Fix bug #7059: Display the vertical alignment of tables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36486 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 13:20:56 +00:00
Vincent van Ravesteijn
2b44b0ef4d Move TextMetrics::drawRowSelection to RowPainter::paintSelection(). RowPainter knows about a possible offset in the y-coordinate, while drawSelection uses the cached value. Instead of adding another parameter to TextMetrics::drawRowSelection, we can as weel move it to RowPainter and lose all parameters at all.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36485 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 13:16:30 +00:00
Vincent van Ravesteijn
3c5b30a8ea Disentangle InsetTabular::drawSelection and InsetTabular::drawBackground().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36484 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 13:08:26 +00:00
Vincent van Ravesteijn
340b1b0473 Comment out code that does nothing. InsetTableCell does not handle drawSelection. Now it raises the impression that this causes the selection of the cells to be painted but that is done somewhere else.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36483 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 13:02:30 +00:00
Vincent van Ravesteijn
8279da6e20 Move SCRIPT_CODE to the end to make sure the numbering is still correct.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36482 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 13:01:24 +00:00
Vincent van Ravesteijn
40b0f2f6b0 Reorder InsetScript.h and add member groups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36481 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 13:00:31 +00:00
Jürgen Spitzmüller
00ad4d65cb LaTeXFeatures.cpp (useBabel):
- readd accidentally removed parentheses.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36479 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 10:31:58 +00:00
Jürgen Spitzmüller
873772d8ab LaTeXFeatures.cpp (usePolyglossia):
- readd accidentally removed parentheses.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36478 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 10:30:09 +00:00
Jürgen Spitzmüller
f2e38b021a LaTeXFeatures.cpp (useBabel, usePolyglossia):
- thinko (bug #7074)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36477 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 10:25:29 +00:00
Uwe Stöhr
f69929850d InsetMathGrid.cpp: whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36471 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 05:04:38 +00:00
Uwe Stöhr
7a05148777 Math.lyx: add info about italic and upright Greek letters in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36470 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 02:53:18 +00:00
Pavel Sanda
d121ec8037 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36469 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 02:26:05 +00:00
Pavel Sanda
43fb0e642a * LFUNs.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36468 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 02:21:34 +00:00
Pavel Sanda
a0c7b9b786 The problem with windows is that it does not discriminate case sensitivity
which breaks on other archs.
Uwe, please check it still works for you.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36467 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 02:07:42 +00:00
Uwe Stöhr
c7d586d478 installer: prepare for beta2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36466 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 01:44:42 +00:00
Uwe Stöhr
e16ee11f18 fix #1983 (rest of #4606): add missing \var*** characters (gig Greek math letters)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36465 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 01:27:53 +00:00
Pavel Sanda
0503c0fa6b * ANNOUNCE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36464 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 00:49:10 +00:00
Pavel Sanda
367c1f8483 * cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36463 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 00:39:59 +00:00
Pavel Sanda
4c39b9d84e Transition to QTreeView in module list was not finished.
Hide the tree decoration from users now, visually we are back at QListView.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36462 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-25 00:09:49 +00:00
Pavel Sanda
7e2d396770 Kill Flex:constructs in po files.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg163696.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36461 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-24 23:53:41 +00:00
Uwe Stöhr
d89fc09314 modernCV.lyx: add example how to create a sub-item in a list entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36458 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-24 17:41:39 +00:00
Uwe Stöhr
8463055375 es.po: fix bug that made it uncompilable
(SCons always also compiles the po-files and thus showed me that error, CMake should also do this)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36456 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-24 17:24:56 +00:00
Richard Heck
a81bf77314 Change the escaping mechanism for XHTML output and so allow a fix for
bug #7061.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36455 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-24 15:27:36 +00:00
Richard Heck
f3ff65f4df Fix bug #7066.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36454 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-24 14:45:27 +00:00
Pavel Sanda
d2e13311cd Synchroniza names in lfuns
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36453 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 20:35:55 +00:00
Pavel Sanda
8088770d32 * cs.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36452 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 20:10:33 +00:00
Georg Baum
7edd656f21 Fix inserting subscript/superscript with nonempty selection by creating a dedicated lfun:
inset-insert simply swallows the selection, while box-insert, note-insert etc.
put the selection inside the new inset.
As a side effect the toolbar icons get better names, as requested by Uwe.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36451 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 20:09:08 +00:00
Jürgen Spitzmüller
f53a16e328 * es.po: update from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36450 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-23 17:50:40 +00:00