Commit Graph

23640 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
b1c905264f Allow server-goto-row to act when no buffer is open. (The file argument is mandatory.) Part of bug #1782.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32979 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 13:48:05 +00:00
Enrico Forestieri
75e374c9a4 Allow shrinking the progress window.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32977 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 00:12:47 +00:00
Richard Heck
cb346ae202 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32976 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 19:29:33 +00:00
Richard Heck
bae9393d53 Minor re-organization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32975 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 18:25:26 +00:00
Vincent van Ravesteijn
cdd1a5d338 GuiProgressView: Always add the new text to the end of the TextEdit. This ends the mess that the messages are pretty randomly inserted wherever the cursor is accidentally put.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32974 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 18:04:51 +00:00
Vincent van Ravesteijn
8c0cdb40d7 Better debug message.
P.S. Why is this message shown twice when switching between tabs ?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32973 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 18:01:36 +00:00
Richard Heck
ce87e6767c Check the bibliography cache only when we really need to do so. This (a)
prevents weirdness that might happen if the .bib file were to change
during updateLabels(), (b) prevents even further weirdness that might
happen if it changed during the output routines, and (c) ought to avoid
slowness caused by the repeated calls to QFileInfo::refresh() needed to
check the cache status.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32972 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:29:26 +00:00
Pavel Sanda
9173c27897 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32971 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:21:36 +00:00
Pavel Sanda
80fad8af23 Next comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32970 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:17:27 +00:00
Richard Heck
782db81f77 Author-year citations for XHTML output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32969 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:11:55 +00:00
Jürgen Spitzmüller
374b5ebd72 Hopefully fix ProgressView layout for Qt 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32968 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:10:43 +00:00
Pavel Sanda
76951f84fb Add comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32967 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:09:11 +00:00
Jean-Marc Lasgouttes
1aa7e9f93b remove unnecessary code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32966 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:01:26 +00:00
Jean-Marc Lasgouttes
a00fbcd871 get rid of next-inset-modify ; inset-modify does the same now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32965 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 15:50:07 +00:00
Jean-Marc Lasgouttes
0553351d71 compile fix for qt<4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32964 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 14:34:14 +00:00
Jürgen Spitzmüller
ca23c482f0 * GuiProgressView.cpp: i18n.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32963 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 07:35:18 +00:00
Jürgen Spitzmüller
8d0378b75d Proposal for a more structured UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32962 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 07:30:45 +00:00
Tommaso Cucinotta
ddebdc4514 Now the local text language is kept while replacing text (addressing #6171).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32961 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 02:20:51 +00:00
Enrico Forestieri
8c11a45b99 Don't use a hourglass cursor while diplaying alerts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32960 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 01:27:15 +00:00
Enrico Forestieri
598daa7c71 it.po: sync with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32959 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 00:22:45 +00:00
Tommaso Cucinotta
62053efc70 Added hourglass cursor while searching.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32958 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 23:54:45 +00:00
Vincent van Ravesteijn
ce6aa0d8d3 CaMeLbUmP all function names, private or not.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32957 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 21:55:11 +00:00
Pavel Sanda
ddfb49a4f0 Part of r32942. We want to avoid reload flickering when
user canceled commiting dialog.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg156936.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32956 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 21:18:41 +00:00
Richard Heck
5261a21e72 Whitespace and typo fix. (That meant: "After LyX presses OK, it will re-
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32954 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 19:40:48 +00:00
Richard Heck
bafb725487 Declare focusInEvent so we can compile.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32953 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 19:37:08 +00:00
Vincent van Ravesteijn
72c42b0624 Fix bug #6431: Crash when closing a workarea with a pending completion popup.
The GuiCompleter has to have a parent, otherwise it is not destroyed when a GuiWorkArea is destroyed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32952 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 19:33:18 +00:00
Enrico Forestieri
f2f471cd63 Small update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32951 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 19:14:13 +00:00
Tommaso Cucinotta
bf6a32bab4 Fixed #6335.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32949 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 19:08:41 +00:00
Pavel Sanda
b13ec49005 One more comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32948 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 18:14:50 +00:00
Pavel Sanda
5a4f7a89e2 Regenerate LFuns.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32947 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 16:50:34 +00:00
Pavel Sanda
7cfc541c63 Move it to the context of others lfuns.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32946 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 16:50:30 +00:00
Pavel Sanda
5026c87e4c Add doxy samples from commit info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32945 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 16:50:25 +00:00
Enrico Forestieri
a355d0bd3d Small tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32943 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 16:33:31 +00:00
Pavel Sanda
a4c95c5b3b This patch from Richard was correct.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32942 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 15:47:40 +00:00
Jürgen Spitzmüller
8214670316 * InsetInclude{.cpp, h}:
- indicate if a child document has been un-included (via the includeonly feature).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32941 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 15:10:40 +00:00
Jürgen Spitzmüller
e2925a160f * PanelStack.{cpp,h}:
- new members showPanel, isCurrentPanel
* GuiDocument.cpp:
	- hide Child Documents panel if there are no children.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32940 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 14:46:39 +00:00
Tommaso Cucinotta
902dbf3f13 Now find/replace WAs have their focus back when switching to advanced pane, then back.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32939 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 14:02:27 +00:00
Vincent van Ravesteijn
715b1303da Optimize DocRange::length(). Thanks Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32938 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 13:55:42 +00:00
Vincent van Ravesteijn
fd0dfe1b79 Readd comment and squeeze warning.
Is gcc quiet too now ?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32937 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 13:54:06 +00:00
Jürgen Spitzmüller
7a7ab8f14b Add an option to assure that all aux files are maintained when using the includeonly feature, so that the
page numbering and the references of the master file are maintained in the included children (bug 1005).

I made this optional since some people use \includeonly to save compilation time, but a proper aux file update
needs a full compilation of the complete master prior to the compilation of the \includeonly master.

Hence, a new buffer param is introduced (file format change). 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32936 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 13:25:41 +00:00
Vincent van Ravesteijn
93510f741c Use the operator[] to get and set the values of the compl_vector.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32935 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 13:17:10 +00:00
Vincent van Ravesteijn
43c8de8138 Cosmetics mainly: Rename math.h to cmath, reorder some includes, remove some includes and remove some superfluous "lyx::".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32934 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 12:37:50 +00:00
Tommaso Cucinotta
2aa13815a1 Added description of replace functionality and missing options.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32933 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 12:21:05 +00:00
Tommaso Cucinotta
50a69279ee Let trunk compile.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32932 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 10:27:00 +00:00
Vincent van Ravesteijn
c3d5ba4e91 Remove some debug info that renders trunk uncompilable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32931 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 00:17:40 +00:00
Vincent van Ravesteijn
9cfebdb969 Compare feature part 3: Implement the find_middle_snake algorithm.
The feature should now be up and running, although it might have some performance issues. Please test with small changes :S as it scales quadratic with the size of a single change. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32930 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 00:09:48 +00:00
Vincent van Ravesteijn
1fe4ff8ef3 Add a vector class that can be referenced with both positive and negative indices. It is internally represented as two vectors, one for non-zero indices and one for negative indices. In this way, the vector can grow in both directions. If an index is not available in the vector, the default value is returned. If an object is put in the vector beyond its size, the empty spots in between are also filled with the default value.
I hope I'm not reinventing the wheel too much here. This might change anyway if this appears to be a performance bottleneck. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32929 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 00:06:02 +00:00
Vincent van Ravesteijn
6bb8b55156 Compare: cosmetics and comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32928 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 23:59:33 +00:00
Vincent van Ravesteijn
c49dea81a9 Compare: simplify the step functions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32927 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 23:56:46 +00:00
Vincent van Ravesteijn
28b0075b11 No more magic booleans. The word of Andre is spreading.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32926 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 22:58:20 +00:00