Commit Graph

24260 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
61e55ac197 * fix instant preview without dvipng (bug 6579).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33640 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 14:53:27 +00:00
Abdelrazak Younes
321f6031af Fix bug #6564. The cmd status retrieval is quite broken within tables (math or text).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33639 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 14:19:21 +00:00
Pavel Sanda
27fd444678 Remerge strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33638 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 12:48:17 +00:00
Pavel Sanda
8f136a5467 Remove unused SignalSlot files per Abdel's suggestion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33637 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 12:48:02 +00:00
Pavel Sanda
c73afcd734 File missing in tarball
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33636 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 12:47:57 +00:00
Richard Heck
75454ca8c5 Disable lists of floats we don't know how to generate.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33635 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 23:47:33 +00:00
Richard Heck
99bbf5b42a Update layouts to format 24.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33634 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 23:02:24 +00:00
Richard Heck
abc81b5c07 Rework and partially revert r33631.
This patch introduces a "ListCommand" tag for Float layout. This tag
defines the command used to generate a list of such floats, in the cases
where float.sty is not used (i.e., where NeedsFloatPkg is true). We were
previously hardcoding the commands \listoftables and \listoffigures. But
in other cases, such as achemso.layout, which defines lists of schemes,
charts, etc, we could not output such lists.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33633 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 22:58:29 +00:00
Richard Heck
9d6979f0eb FIXME regarding XHTML output of custom float lists.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33632 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 21:07:01 +00:00
Richard Heck
cbed4c3cc5 Let floats decide for themselves what command is used to create a list
of them. This is preparatory for introducing a layout tag that lets us
customize that command for builtin floats.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33631 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 21:06:22 +00:00
Richard Heck
1fcc1c0f18 Fix bug 6522 and its relatives in trunk. I am not absolutely sure this
is right, though. Someone please check.

The problem, in branch, was that (in Qt 4.6.x, anyway) the call to
reset() eventually triggers the on_typeCO_currentIndexChanged() method,
which eventually leads to GuiView::setFocus(), which leads to
GuiWorkArea::focusInEvent(), which tries to start the cursor, whose
position hasn't been updated yet, from what I can see.

The problem in trunk is similar. The crash happens, I think, because,
while we are in the middle of resetting the model, the same method is
triggered, which leads us to try to access the model while we are in the
middle of resetting it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33630 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 20:47:50 +00:00
Edwin Leuven
42c5246b9d rename frenzy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33628 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 18:10:34 +00:00
Peter Kümmel
d58b4ead47 fix bug 6578, use tabs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33627 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 18:07:05 +00:00
Richard Heck
b64e2d4103 Change the LaTeXBuiltin tag to a NeedsFloatPkg tag. Discussion on the
list revealed that the former is confusing to people. The latter
indicates more clearly what the tag does.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33626 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 17:24:38 +00:00
Vincent van Ravesteijn
75dcff81ab Fix the usage of msnmerge on MacOSX.
see:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg79616.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33625 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 13:03:06 +00:00
Pavel Sanda
563eddd4bc next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33624 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 08:05:25 +00:00
Pavel Sanda
59c980e6e5 Start preparations for alpha
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33623 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 08:05:20 +00:00
Uwe Stöhr
eb0ade4e9f InsetTabular.cpp:
- multirow cells are always left aligned, therefore disable horizontal alignment
- multirows cannot be vertically aligned, therefore disallow this

(Two issues less in http://wiki.lyx.org/Devel/Multirow .)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33622 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 03:37:21 +00:00
Uwe Stöhr
36ff64f3bd es.po: translations for trunk by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33621 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 02:31:52 +00:00
Edwin Leuven
f365532e35 remove old "logic"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33620 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-04 21:31:06 +00:00
Edwin Leuven
9b93ec0732 - unset multicol (row) when setting multirow (col)
- bit of function cleanup


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33619 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-04 20:20:45 +00:00
Richard Heck
ec712fa47f Clarify the ListName tag for floats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33618 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-04 13:44:23 +00:00
Richard Heck
afb8365d82 Some cleanup for the Floating class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33617 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-04 13:42:05 +00:00
Tommaso Cucinotta
8c244aa68d Set linelen when exporting latex for the purpose of chktex-ing it, so that a meaningful error-line is reported back to the GUI (addressing #6574).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33616 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-04 08:13:42 +00:00
Uwe Stöhr
20fbd7068a InsetTabular.cpp: fix bug that LyX allowed to specify the vertical alignment of table columns without a fixed width
Should also go to branch, Jürgen?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33615 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-04 03:55:13 +00:00
Uwe Stöhr
497d6d13f7 InsetTabular.cpp: disallow the following cases:
- a multirow cannot be a multicolumn the same time
- a multirow cannot be the caption of a longtable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33614 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-04 03:27:30 +00:00
Richard Heck
d65020b293 s/updateLabels/updateBuffer/g, per a suggestion of Abdel's.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33613 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-03 22:13:45 +00:00
Uwe Stöhr
36f5607ec8 es.po: translations for trunk from Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33605 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-01 23:39:00 +00:00
Jürgen Spitzmüller
de50c5248e * handle encoding in PDF options gracefully.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33604 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-01 17:39:41 +00:00
Kornel Benko
5558074452 Added glibc debug options to cmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33603 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-01 11:06:13 +00:00
Abdelrazak Younes
81d2d239c3 Document Settings: fix Float placement dialog. The float type is not
needed here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33602 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-01 09:03:15 +00:00
Uwe Stöhr
4459a6b5cd Add Ulysse Danglis to the Credits
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33598 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-01 02:57:12 +00:00
Enrico Forestieri
9adf0b6d31 Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33596 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-28 17:58:52 +00:00
Uwe Stöhr
bab2ee5dbf de.po: resolve 2 shortcut conflicts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33595 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-28 15:40:09 +00:00
Uwe Stöhr
a76deff9da po-files:
- merge files from branch to trunk, except of the languages that have already been updated for trunk (namely German, Ukrainian, Spanish, French)
- remerge all files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33594 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-28 15:31:05 +00:00
Uwe Stöhr
c784d3c525 po-files:
- remerge
- some German translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33593 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-28 14:51:01 +00:00
Uwe Stöhr
7d4cd54c46 Buffer.cpp, InsetCommandParams.cpp: refine comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33592 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-28 14:50:02 +00:00
Jürgen Spitzmüller
4def0c2a52 * Menus.cpp: add accelerator to "More Languages ..."
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33591 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-28 10:23:06 +00:00
Jürgen Spitzmüller
5c6c8dc25f " Menus.cpp: sort languages. Based on a patch by John McCabe-Dansted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33590 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-28 10:06:05 +00:00
Pavel Sanda
336abfbbdf * LFUNs.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33589 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-28 00:15:21 +00:00
Uwe Stöhr
c31f4d2c5d es.po: translations for trunk by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33588 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 21:52:21 +00:00
Richard Heck
c785e832fb Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33587 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 20:17:29 +00:00
Richard Heck
fce0bea8a2 Truncate long cross-references and show the whole thing in a tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33586 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 20:16:12 +00:00
Richard Heck
3906792378 We were doing this twice, and I think there's also a bug here, namely,
that we weren't re-enabling if we returned early.

Someone tell me if this is wrong.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33585 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 19:56:08 +00:00
Richard Heck
805231ccbe This can just take a FuncCode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33584 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 19:51:06 +00:00
Richard Heck
c127d83b66 A little cleanup while perusing TocWidget....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33583 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 19:48:20 +00:00
Vincent van Ravesteijn
834115c920 Fix bug #6552: Crash when inserting TeX-code in math mode and scrolling
Avoid an assertion when accessing the CoordCache while the Inset is in a paragraph which is not visible on screen.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33582 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 15:59:08 +00:00
Jean-Marc Lasgouttes
6d671bf5f2 Fix compilation with qt 4.2: QString::operator[] returns a QCharRef,
which is supposedly like a QChar... except that some methods like isUpper 
were forgotten in the process.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33580 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 14:46:42 +00:00
Vincent van Ravesteijn
4aeca63887 Fix bug #6464: Crash when exiting LyX from second window when first window has changed buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33579 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 14:07:21 +00:00
Jürgen Spitzmüller
f31298fd7c * GuiSpellchecker.cpp:
- fix bug #6561 (null pointer).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33578 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 13:34:36 +00:00