Commit Graph

24666 Commits

Author SHA1 Message Date
Pavel Sanda
39fe4f46f9 Hint from synctex man pages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34175 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 22:57:37 +00:00
Pavel Sanda
5e9c66c5bd Add basic docs for forward search.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34174 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 21:48:55 +00:00
Pavel Sanda
00f6d69aac Change signal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34173 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 21:27:37 +00:00
Pavel Sanda
70d9833e39 Attempt on #6655.
getRowFromIdPos returns row shifted by 1 (we count internally from 0).

The function still doesn't work properly looking at the
the comments of the original writer (last *nonempty* row),
but its hopefully better now.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34172 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 18:52:40 +00:00
Pavel Sanda
b6846bdace Better debug ouput
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34171 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 18:30:52 +00:00
Pavel Sanda
f47878c5c1 Narrower Pref dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34170 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 18:30:50 +00:00
Pavel Sanda
2b7c121614 Simplify texrow
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34169 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 17:22:25 +00:00
Pavel Sanda
878aa10ba6 Move old file into attic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34168 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 17:06:16 +00:00
Pavel Sanda
ef0c8796a3 xpdf support for forward view via synctex. This is quite powerful tool.
To sum it up forward search support:
Okular and Skim can be supported directly if somebody comes with correct syntax.
Evince can be solved in the same way as xpdf, again syntax has to be reported.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34167 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 16:36:41 +00:00
Pavel Sanda
6ae70da778 Dont wait for forward search call
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34166 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 16:22:08 +00:00
Vincent van Ravesteijn
e8fcc92d8f Refactor GuiApplication::getStatus().
* I didn't like the fact that the heart of the dispatch/status machinery is in the default clause of a long switch statement. Now, it is clear that we enter the app in getStatus, which then asks the GuiApplication itself, the GuiView, the current BufferView, the current Buffer, the document BufferView, the document Buffer,

* Shouldn't we let BufferView call the Buffer getStatus() functions ?,

* This also makes sure that if a command is not handled, it is turned off. Before r34164 this was caused by the default clause in BufferView,

* Now it is prevented that if the document BufferView is the same as the current BufferView, that the getStatus() functions are called twice,

* A warning can be outputted if the LFUN is not handled.

PS I want to do the same for the dispatch function.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34165 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 16:04:35 +00:00
Vincent van Ravesteijn
eb9fb94214 Do not set the enabling of the status flag if the getStatus() function does not give a decisive answer. As a consequence of removing this call from BufferView, we should disable the flag in the end of GuiApplication::dispatch() if it is not handled by any getStatus() function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34164 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 15:55:37 +00:00
Vincent van Ravesteijn
1c22b41b6e Handle LFUN_IN_MATHMACROTEMPLATE for non mathmacro insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34163 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 15:42:33 +00:00
Vincent van Ravesteijn
6708d2da7e * GuiView.cpp: Simplify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34162 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 12:49:27 +00:00
Vincent van Ravesteijn
5a77a063c1 Remove the unclear FuncStatus::operator|=. Without knowing the internals of FuncStatus it is unsafe to use this operator, so let's not use it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34161 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 12:15:27 +00:00
Vincent van Ravesteijn
3417702346 * FuncStatus: unify naming of functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34160 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 10:51:20 +00:00
Uwe Stöhr
e4a8d1fbfa Spanish manuals: updates by Ignacio and me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34158 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 09:55:51 +00:00
Vincent van Ravesteijn
9e0c87fe47 * stdcontext.inc: correct shortcut conflicts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34156 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 09:55:24 +00:00
Uwe Stöhr
b9dc12b6f1 scons/scons_manifest.py: update SCons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34152 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 09:08:59 +00:00
Pavel Sanda
499908ebab Add status message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34150 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 08:18:28 +00:00
Pavel Sanda
98f106f2ca Guify forward search.
No viewer set by default, which keeps context menu clean for uninterested users.
Settings are hinted at combobox.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34149 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-16 08:09:07 +00:00
Enrico Forestieri
ba57ee8a24 Modify the forward-search lfun such that no argument is needed.
If a dvi file exists in the temp dir, the command specified by the
\forward_search_dvi rc setting is used to initiate the search.
Otherwise, if a pdf file exists, the forward search is performed by
using the command specified by the \forward_search_pdf rc setting.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34148 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 23:32:52 +00:00
Vincent van Ravesteijn
84689d1cda Cursor::bv_ can be private too.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34147 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 18:30:15 +00:00
Vincent van Ravesteijn
108a67ed43 Make Cursor::anchor_ private and make an access function Cursor::realAnchor() to stress the fact that this is thus not the normalAnchor().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34146 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 18:16:07 +00:00
Vincent van Ravesteijn
d8db0e8515 Rename anchor() to normalAnchor() as the anchor() function was already returning a normalized anchor in stead of the real one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34145 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 17:49:15 +00:00
Vincent van Ravesteijn
8156884090 Make Cursor::disp_ private as it should be.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34144 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 17:34:34 +00:00
Vincent van Ravesteijn
ebb830ba9b Do not change the object that is returned by result(), this will have no effect because result() returned a copy. From now, it just returns a const & to prevent this from happening again.
see r31969.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34143 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 17:14:59 +00:00
Jean-Marc Lasgouttes
fe0a508b83 correctly escape the forward search command
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34142 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 14:45:09 +00:00
Pavel Sanda
837ef10312 We need the whole line in settings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34141 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 14:35:02 +00:00
Pavel Sanda
52756f5dc7 Join PrefDateUi and PrefPlaintextUi into PrefOutputUi
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34140 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 14:25:25 +00:00
Pavel Sanda
5862c1e414 Fix #94 - LYX forward DVI search
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34139 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-15 13:19:48 +00:00
Pavel Sanda
6967758fea Back to svn.
Trunk is free for commits again.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34137 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 22:29:35 +00:00
Pavel Sanda
4ce9ec8166 Toward alpha2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34135 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 22:03:04 +00:00
Pavel Sanda
b78a6ae08b Remerge strings again.
Trunk is frozen from now on.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34134 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 21:58:58 +00:00
Jean-Marc Lasgouttes
14a96ce182 revert r34090 for now; I will come back later to this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34133 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 14:25:11 +00:00
Stephan Witt
fb43bbbf6c tiger support on mac snow leopard, include Qt4 frameworks, smart build script with parameters
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34132 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 13:22:00 +00:00
Kornel Benko
c5249682bd * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34131 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 13:00:04 +00:00
Vincent van Ravesteijn
f4467be057 Fix bug #6651: No error messages when module dependencies are not fulfilled.
We need to throw the ExceptionMessage's.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34130 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-14 11:54:12 +00:00
Edwin Leuven
99366a9a44 correctly valign content of multirow cells
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34129 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-13 18:56:28 +00:00
Pavel Sanda
6b564461e7 Remerge strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34128 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-13 13:39:10 +00:00
Jean-Marc Lasgouttes
f4f4f9c19a remove cruft
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34127 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-13 12:33:57 +00:00
Pavel Sanda
e15846656a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34126 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-13 12:09:34 +00:00
Pavel Sanda
2279695625 * ANNOUNCE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34125 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-13 09:22:38 +00:00
Richard Heck
bce28182d5 Revert r34122, which doesn't help.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34124 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-12 16:00:10 +00:00
Richard Heck
a37feaf896 Swap the argument_ and action_ variables, so that r34105 really does do
nothing but rename things. This is an attempt at #6646.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34123 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-12 15:40:51 +00:00
Pavel Sanda
c1221f9890 This was buggy for sure, who knows about this one ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34122 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-12 15:32:04 +00:00
Richard Heck
fbad45864c Add a comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34121 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-12 15:16:43 +00:00
Pavel Sanda
0ff254954a Shot in the dark for #6646 crash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34120 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-12 15:16:03 +00:00
Richard Heck
51fce57c78 A compromise suggested by JMarc: We mark the buffer dirty if, but only
if, the filename was not automatically generated. So, if the user chose
the filename, we assume she wants to keep the file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34119 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-12 15:15:35 +00:00
Pavel Sanda
287c87cf1f Comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34118 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-12 11:39:52 +00:00