Commit Graph

23546 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
d95aaa0e5b Move reloadBuffer from GuiView to Buffer.
This fixes bug #6314: reloading master document makes emergencies of modified children.

Now also the version control handling could be moved to Buffer as well, and the hack in ensureBufferClean is removed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32875 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 02:15:56 +00:00
Vincent van Ravesteijn
570f96bc6e Add a boolean to GuiWorkArea::redraw to indicate whether the metrics must be updated. The current test "lyx_view_ != guiApp->currentView() || lyx_view_->currentWorkArea() != this" is not enough, especially not if the buffer is changed and buffer->changed() is called. Moreover, there are a lot of combinations of updateMetrics() followed by buffer->changed(), these can now be replaced by one call to buffer->changed(bool).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32874 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 02:03:54 +00:00
Vincent van Ravesteijn
41270b98b4 typo ?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32873 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 01:51:52 +00:00
Uwe Stöhr
2d54882d58 - Slovak Tutorial.lyx: sync file settings with the other language versions of the tutorial
- Slovak splash.lyx: fix encoding (spotted by Pavel)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32872 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 00:19:56 +00:00
Uwe Stöhr
52e884a581 Intro.lyx:
- fix a typo spotted by a user
- whitespace fix


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32869 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 00:06:08 +00:00
Uwe Stöhr
1f26c13c16 Intro.lyx:
- accept Richard's changes

Please keep the doc files in sync with branch if possible. So when there is no change related to LyX 2.0svn, please do the change in branch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32865 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 23:53:38 +00:00
Richard Heck
8b41e032b9 A few more symbols.
This seems to be about all I can do. If someone needs one we don't have,
then we can deal with that later.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32860 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 22:25:28 +00:00
Richard Heck
7a3720dfaf More symbols.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32859 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 21:29:05 +00:00
Tommaso Cucinotta
3f1c690723 Prevent display of meaningless internal buffer title(s) to the user
(e.g., while entering text to find in the F&R WA, window title keeps
showing the filename of the document where matches are searched for).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32858 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 19:54:42 +00:00
Richard Heck
e674f6bdc6 How about if we write a script to do some of this and stop doing it
manually? Done. Now back to manual.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32857 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 19:27:45 +00:00
Richard Heck
4c1ada1a10 More entities for MathML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32856 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 19:18:08 +00:00
Richard Heck
d4ab671ed3 A bit of User Guide documentation for XHTML output.
Uwe, I've used change-tracking to mark what I've added.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32855 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 18:17:53 +00:00
Richard Heck
994dc05884 Change the name of the XHTML format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32854 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 18:01:35 +00:00
Richard Heck
649e932955 Typos. Minor update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32853 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:55:24 +00:00
Richard Heck
c30d479080 Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32852 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:45:42 +00:00
Richard Heck
9aca8e4eb5 A little more XHTML documentation. This is on generated CSS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32851 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:45:12 +00:00
Pavel Sanda
60ea64c67f Never get this right
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32850 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:33:45 +00:00
Richard Heck
9893a40269 Notes update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32849 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:33:38 +00:00
Richard Heck
d6fe6cba94 Done now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32848 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:32:42 +00:00
Richard Heck
f99f0d7790 Documentation for float XHTML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32847 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:32:28 +00:00
Richard Heck
ebfb4c09ad Make the float interface for XHTML consistent with the others.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32846 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:32:04 +00:00
Pavel Sanda
aec9fc1c5b Next comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32845 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:27:58 +00:00
Pavel Sanda
d753f2b25a Document this hack before forgeting the purpose
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32844 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:15:26 +00:00
Richard Heck
40c735f4d1 Initial documentation, at least, for the XHTML-related layout tags.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32843 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:12:10 +00:00
Pavel Sanda
532ab0fb1b Some comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32842 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:06:51 +00:00
Pavel Sanda
9d5750e01b Fix typo spotted by Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32841 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:06:48 +00:00
Vincent van Ravesteijn
fc91b00bc8 *VCBackend: Code simplification, constify, and adding an article.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32840 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:02:02 +00:00
Vincent van Ravesteijn
2146ca143e * stdmenus.inc: Stick to the casing rules for "Update Local Directory From Repository".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32839 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:57:10 +00:00
Enrico Forestieri
5ea9ace195 Give the progress widget a minimum height.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32838 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:39:17 +00:00
Pavel Sanda
346da75166 LFuns generation is currently sensitive to tabs in the descriptions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32837 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:37:38 +00:00
Enrico Forestieri
3e00591082 This workaround is also needed for Qt 4.3 as the bug was fixed in Qt 4.4.0:
http://qt.nokia.com/developer/task-tracker/index_html?method=entry&id=101276


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32836 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:32:33 +00:00
Pavel Sanda
e21867818e Fix crash
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32835 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:26:52 +00:00
Jean-Marc Lasgouttes
f2e6a5ecf8 Implement new inset-forall lfun. This function iterates over all insets in
current buffer and applies a given function at cursor position before the 
inset. It is actually possible to filter on the type of inset.


Remove all index insets:
inset-forall Index delete-char-forward

Remove all (!!) insets:
inset-forall * delete-char-forward

Close all Notes (also works for a particular branch, for example)
inset-forall Note inset-toggle close

Close only yellow sticky notes
inset-forall Note:Note inset-toggle close

Of course, things may become weird:
Put LyX in an infinite loop if there is at least a Note
inset-forall Note char-backward

In this case, the code will stop after 1000 iterations.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32834 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 15:47:58 +00:00
Enrico Forestieri
d555c5c7bc Really fix F&R ui for older Qt versions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32833 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 15:19:36 +00:00
Vincent van Ravesteijn
785418bd2b Correct ugly/wrong code introduced in r32738. parent will never be equal to buf.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32831 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 14:25:15 +00:00
Jean-Marc Lasgouttes
a6b3f1e42d avoid a few warnings on qt<=4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32830 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 14:20:58 +00:00
Jürgen Spitzmüller
1c18269406 * LaTeX.cpp: update comment + typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32827 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 11:46:23 +00:00
Jürgen Spitzmüller
1ccfe14914 * Add native support for \includeonly (bug 5360).
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32826 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 10:01:26 +00:00
Enrico Forestieri
df2ad29d02 Fix the progress ui for Qt 4.2.x.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32824 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 03:22:45 +00:00
Enrico Forestieri
e46aee81c5 Fix the progress ui for Qt 4.3.x. It now compiles also with Qt 4.2.x but
the settings window needs some other adjustment.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32823 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 02:19:21 +00:00
Enrico Forestieri
59f9c2f605 Fix F&R ui for older Qt versions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32822 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 01:59:38 +00:00
Pavel Sanda
ce4b91c109 Next keystest patch from John McCabe-Dansted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32820 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 22:11:59 +00:00
Uwe Stöhr
7d20bbeb05 EmbeddedObjects.lyx: mention the LyX bug about \includeonly, see #5360
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32818 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 21:55:31 +00:00
Pavel Sanda
b289fcb1bd Add some note about svn+ssh in windows envi(y)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32815 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 21:52:10 +00:00
Enrico Forestieri
323e033279 Make more prominent the fact that the lyxpipe path on Windows should
use a special UNC syntax.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32814 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 21:46:43 +00:00
Peter Kümmel
1ba707e9e7 at least compile with old Qt versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32812 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 21:25:43 +00:00
Enrico Forestieri
bb0b940529 Update docs. LFUN_SERVER_GOTO_FILE_ROW doesn't fail anymore when the
tempdir path contains spaces.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32811 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 21:23:07 +00:00
Richard Heck
dea730ff24 Don't need this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32805 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 20:16:38 +00:00
Richard Heck
c216adead9 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32804 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 20:13:07 +00:00
Richard Heck
175973629b Move into proper scope.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32803 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 20:12:54 +00:00