Commit Graph

23903 Commits

Author SHA1 Message Date
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
Uwe Stöhr
408e3c971e installer: support for Greek aspell dictionary
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33575 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 01:15:00 +00:00
Uwe Stöhr
6537e306ff installer: support for Greek menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33573 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 01:10:52 +00:00
Uwe Stöhr
d9575540d5 el.po: some "translations"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33571 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 01:02:27 +00:00
Uwe Stöhr
4993c7b315 el.po: new Greek translations of LyX menus. Patch sent by Ulysse Danglis
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33570 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-26 00:58:16 +00:00
Jürgen Spitzmüller
86f1641299 * Buffer.cpp (getLanguages):
- assure the buffer language is in the list.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33569 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-25 18:00:43 +00:00
Jürgen Spitzmüller
9f67cede58 Menus.cpp: priorize capitals as language accelerators.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33566 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-25 12:56:12 +00:00
Jürgen Spitzmüller
ea6b96dfc5 * Menus.cpp: hide Language item if only one language is used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33565 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-25 12:46:16 +00:00