Commit Graph

23609 Commits

Author SHA1 Message Date
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
Richard Heck
00087d0537 A couple comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32796 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 19:25:12 +00:00
Richard Heck
827d0cf92e Forgot this a while back.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32795 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 19:24:33 +00:00
Tommaso Cucinotta
78874e5f27 When zooming in/out with [Ctrl] + [Mouse Wheel], document WA's font is immediately updated, but if the Advanced F&R dialog is shown, its own WAs' font (find WA and replace WA) is not immediately updated, but delayed until the next editing action.
This commit fixes such behaviour, and performs the update immediately.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32794 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 18:36:13 +00:00
Tommaso Cucinotta
aabd587fef Finalized first version of Advanced Find and Replace documentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32793 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 17:56:47 +00:00
Vincent van Ravesteijn
c22298c97b Fix bug #6387: Incorrect selectlanguage command at end of document.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32792 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 17:36:22 +00:00
Vincent van Ravesteijn
5079badb65 Fix bug #6428: Assertion when navigating to next change while in math mode.
We need to leave the math inset before trying to access cur.paragraph().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32791 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 17:29:39 +00:00
Vincent van Ravesteijn
742ee134a4 Make setCursorToAnchor set the cursor to the normalized selection anchor in stead of the real anchor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32790 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 16:59:12 +00:00
Tommaso Cucinotta
fe75690c03 Let's see if we can close these translations not fitting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32789 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 15:28:43 +00:00
Abdelrazak Younes
5b70e2be8e Revert part of r32766. This was a stupid change as newer paragraph
weren't taken into account. So the paragraph id management is now going
back to Paragraph.cpp.

Sorry for the trouble.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32788 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 09:12:49 +00:00
Peter Kümmel
54975c9b53 cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32787 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 06:49:49 +00:00
Vincent van Ravesteijn
a9fd4f4f95 Fix bug #6433: read-only status is not refreshed when reloading buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32786 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 02:43:23 +00:00
Peter Kümmel
8f449c7fd3 toggle debug levels between all/selected/none
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32785 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 22:32:58 +00:00
Richard Heck
5e89a4ea90 Forgot this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32784 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 21:59:12 +00:00
Richard Heck
c5b06d46bf Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32783 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 21:24:44 +00:00
Richard Heck
3efb4cd65e Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32782 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 21:18:55 +00:00
Richard Heck
c5fda15678 This seems somehow to have ended up in the wrong place. I guess since
it's unimplemented, you'd get link errors, but the usual way to make it
non-copyable is to make these private AND unimplemented.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32781 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 21:15:36 +00:00
Richard Heck
2177259e39 Clarify some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32780 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 21:09:22 +00:00
Richard Heck
0fd5b1d43f Minor style things, and a little constness.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32779 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 21:01:33 +00:00
Richard Heck
83b3e02f69 Minor renaming. We don't have any other iterators here, so
const_iterator is fine.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32778 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 21:00:05 +00:00
Richard Heck
787b9eee3b Style. Enum names and typedefs are almost always CamelCase in the LyX
code. At least in the code I see.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32777 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 20:56:37 +00:00
Richard Heck
3eaefc6b1a Fix some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32776 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 20:48:12 +00:00
Richard Heck
07f8623692 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32775 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 20:40:21 +00:00
Vincent van Ravesteijn
b0910eb6d4 Why was there a 1 ? We only have to make sure that pos - 1 >= 0.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32772 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 16:34:52 +00:00
Richard Heck
1d2cf2771a Fix comment.
By the way, this is extremely inefficient. We have e.g. this code in
Buffer.cpp:
	string target = func.getArg(0);
	string target_name = func.getArg(1);
	string command = func.getArg(2);
As a result, we parse the argument string three times! It seems to me
that we should either (a) expose a "getArgs" routine that returns a
vector<string> and let the caller extract them by position:
	vector<string> args = func.getArgs();
	string target = args[0];
	etc;
or (b) cache the vector<string> in the FuncRequest object itself. The
latter wouldn't in fact require much memory, because these objects are
generally short-lived. 

Opinions?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32771 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 15:21:22 +00:00
Richard Heck
1ba5857f26 Kill warning: string::npos was the wrong type, and does not reflect what
max is supposed to be.

JMarc: I assume you are intending to use this new method, getLongArg()?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32770 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 15:01:32 +00:00
Abdelrazak Younes
dabac3c61f Asynchronous preview: cancel too close preview or update calls.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32769 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 13:33:29 +00:00
Abdelrazak Younes
50e673f041 Add a FIXME for asynchronous export and preview and child buffers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32768 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 13:29:01 +00:00
Abdelrazak Younes
24f3ddef3f typos.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32767 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 13:20:57 +00:00
Abdelrazak Younes
744ee152fa Cleanup a bit the pargraph ids generation in order to (trying to) fix
#6415
Enrico please verify that reverse dvi is fixed.

* Text and InsetText: create two private constructors and transfer some
initialisation code from InsetText.

* Paragraph: id generation is transfered to Text. May be transfered to
Buffer in the future, we'll see.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32766 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 13:16:55 +00:00
Vincent van Ravesteijn
42f455cacb revert r32764.
Still this code hurts my eyes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32765 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 17:31:06 +00:00
Vincent van Ravesteijn
7356db3818 Simplify code introduced in r32761.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32764 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 17:15:24 +00:00
Vincent van Ravesteijn
95afeddc27 Make sure that the size of the checkboxes is initialized correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32763 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 17:14:08 +00:00
Vincent van Ravesteijn
7f134dadbf * GuiProgressView: cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32762 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 17:12:50 +00:00
Pavel Sanda
51086affa7 Setup checboxes according to initial values from commandline.
ProgressView seems to be prepared for use.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32761 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 15:32:05 +00:00
Tommaso Cucinotta
5cc2d6d73c Advanced F&R rework:
- scopes now handled in FindAndReplaceWidget, while lyxfind.cpp only searches within single buffer
- cursor().result().dispatched() now encodes whether a match was found or not, after LFUN_WORD_FINDADV dispatch
- removed a few unneeded functions
- followed a few cosmetic advices


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32760 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 12:29:38 +00:00
Richard Heck
a8dc000901 Include omitted case, and fix underline.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32759 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 17:46:02 +00:00
Pavel Sanda
61d9aa28e0 Add statusbar checkbox sessions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32758 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 17:40:40 +00:00