Commit Graph

24146 Commits

Author SHA1 Message Date
Richard Heck
8a6b77bfe1 Introduce isBufferValid() method now, that returns true also for cloned
Buffers. Use it, as well.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33679 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-08 19:07:05 +00:00
Richard Heck
a2e06a3c15 Eliminate redundancy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33678 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-08 19:06:28 +00:00
Richard Heck
821cffab63 s/isBufferValid/isBufferLoaded/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33677 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-08 18:57:42 +00:00
Richard Heck
5a4e241df4 Cloned buffers routinely have their parents reset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33676 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-08 14:56:49 +00:00
Richard Heck
13746b6d82 Micro-optimization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33675 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-08 14:55:33 +00:00
Richard Heck
b1d5168109 Fix bug #6516. Under no circumstances do we want to try to reload a
child document from within the export thread.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33674 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-08 14:25:32 +00:00
Richard Heck
da4a77c4ae Whoops. Wrong version.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33673 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-08 13:36:51 +00:00
Richard Heck
e4d8746461 Minor fixup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33672 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-08 13:34:32 +00:00
Abdelrazak Younes
27657b3b75 isValidGlueLength(): fix gcc warning and cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33671 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-08 13:33:47 +00:00
Richard Heck
45287844fa Add sanity check. This partially fixes a crash related to saving master
documents to new locations.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33670 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-08 13:26:08 +00:00
Richard Heck
483c891705 Spellcheck related bugfix from John McCabe-Dansted:
PrefSpellchecker disables the "Spellchecker Engine:" selector if
theSpellChecker() reports that no spell checking engine is selected.
This means that if we have not already selected a spell checking
engine we cannot select one now. I think this problem can be
reproduced by first compiling and running LyX without spellchecking
support and then compiling and running LyX with spellchecking support.

In any case it is clear that we should be able to select a
spellchecking engine if one is available, so I propose the attached
patch. This patch fixed the problem on my machine.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33669 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-08 13:22:56 +00:00
Richard Heck
60034997d9 Make sure the model exists before we access it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33668 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-08 12:42:18 +00:00
Peter Kümmel
92ebfe89e7 no Q_EMIT in older Qt versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33667 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-08 09:35:10 +00:00
Edwin Leuven
f7ef9c3e6e lil' cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33666 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-08 04:08:11 +00:00
Edwin Leuven
f313bd6a90 erratum to r33628
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33665 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-08 04:04:56 +00:00
Jürgen Spitzmüller
316b332ec7 * es.po: update (by Ignacio).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33664 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-07 18:20:04 +00:00
Edwin Leuven
ece4da2f01 fix cursor position(ing)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33663 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-07 17:33:33 +00:00
Peter Kümmel
97651ca03c Use one place to generate current time string, increase resolution to ms
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33662 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-07 11:55:14 +00:00
Peter Kümmel
257dce79d9 cmake: fix merge build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33661 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-07 11:28:57 +00:00
Peter Kümmel
3a5d681a9b cmake: fix merge build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33660 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-07 11:03:23 +00:00
Jürgen Spitzmüller
0ba07aa57d * RELEASE_NOTES:
- some notes on the spellchecker/thesaurus changes and requirements.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33656 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-07 09:29:33 +00:00
Enrico Forestieri
6acdfc7698 Update the cygwin requirements.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33655 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-07 01:00:58 +00:00
Enrico Forestieri
a951aec809 Was forgetting this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33654 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 23:04:39 +00:00
Enrico Forestieri
5c3bd0443b Update README.Cygwin
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33653 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 22:38:47 +00:00
Enrico Forestieri
47a2f125a4 Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33652 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 21:14:01 +00:00
Abdelrazak Younes
b8390b5e2c Try to restore longtable dialog to a semi functional state. This Dialog is really horrible, disabling/enabling a checkbox depending on the cursor position is very unintuitive... We need some edit boxes to show which rows are header/footer/etc without having to move the cursor first. That would be my next step newt week.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33651 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 19:08:10 +00:00
Pavel Sanda
e1ce86214b * NEWS - add skeleton for 1.6.0 at least
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33650 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 18:51:36 +00:00
Pavel Sanda
a1cb8b90f8 Synchro NEWS with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33649 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 18:21:08 +00:00
Uwe Stöhr
d20d7cfd0f scons_manifest.py; fix SCons according to r33637
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33648 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 18:20:31 +00:00
Vincent van Ravesteijn
d415a1f554 Add "Info settings" to the Edit menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33647 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 17:51:40 +00:00
Vincent van Ravesteijn
8a840ef805 Fix bug #6580: Revert r29305, which was supposed to fix bug #5901.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33646 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 17:47:50 +00:00
Peter Kümmel
870e4549f9 cmake: fix merge build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33645 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 16:18:16 +00:00
Pavel Sanda
2d67296c59 * RELEASE-NOTES
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33644 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 15:46:02 +00:00
Pavel Sanda
002d8c107a Update READMEs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33643 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 15:29:46 +00:00
Pavel Sanda
1d81c75d09 Correct name in credits, thanks Juergen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33642 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 15:03:37 +00:00
Pavel Sanda
a7b921aeeb Fix unsafe use of fixed width arrays.
Fix crash when MathMatrix has more than 80 columns

Patch from John McCabe-Dansted, approved from Andre.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33641 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-06 14:57:16 +00:00
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