Commit Graph

24100 Commits

Author SHA1 Message Date
Richard Heck
ce5603d445 Better error message. Idea Julien's.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33866 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-25 15:25:14 +00:00
Richard Heck
07c5726aac No spaces in configure.py, either. Thanks Julien.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33865 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-25 14:23:06 +00:00
Richard Heck
1577c83484 Improve yet further the error reporting when we try to load a document
class that is unavailable. 

In addition, add some explanations about this kind of thing to the User
Guide, to which we can direct the user in the error message. This kind
of question comes up often enough that we need something right up front
about it. It isn't enough to have it in the other manuals.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33864 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-25 00:44:15 +00:00
Richard Heck
906e55567a No space here. Makes parsing easier.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33862 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 19:56:29 +00:00
Richard Heck
869f6d33c6 Revert r33852 and try something else. The problem here, which can be
seen in branch, too, is that if you change the style combo and then do
anything else, such as click on an entry, the combo reverts.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33858 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 15:49:06 +00:00
Richard Heck
ffd3b5a6a3 Don't be so picky here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33857 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 15:08:39 +00:00
Richard Heck
0b5ec3d92e Use selectedIndex rather than currentIndex. The latter can be invalid if
the focus has never gotten here.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33856 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 15:01:50 +00:00
Richard Heck
2455df7cdc Typo. Bad one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33855 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 14:53:53 +00:00
Richard Heck
625144c193 Block signals to the combo box when we update it. This fixes a problem
with flashing.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33854 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 14:50:20 +00:00
Richard Heck
ebb24e51e1 Take Andre's advice and implement the focus tracking using the event
filter.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33853 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 14:34:44 +00:00
Richard Heck
a02114dcea Only restore the last applied style on initialization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33852 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 14:34:05 +00:00
Richard Heck
559da350f0 Fix bug #6486. Patch inspired by work by John McCabe-Dansted.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33851 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 13:51:47 +00:00
Richard Heck
04da0f68fb This should give us the selected index, not the current index.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33850 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 13:00:35 +00:00
Richard Heck
adf858ebcc Refactor a bit. This will be needed a bit later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33849 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 12:04:24 +00:00
Enrico Forestieri
d95b35dad8 Fix for Qt 4.2 (patch mostly from JMarc).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33848 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-24 08:50:06 +00:00
Edwin Leuven
45b2a000e3 play nice with qt 4.2?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33847 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-23 21:46:42 +00:00
Richard Heck
36ddfbcdf2 Style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33846 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-23 14:16:02 +00:00
Uwe Stöhr
6e0dc1e754 installer: port recent changes to trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33845 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-23 03:06:01 +00:00
Uwe Stöhr
bd164cf1cf SCons: keep SCons alive for now, I propose at least until 2.0 final is out
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33843 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-23 01:28:02 +00:00
Tommaso Cucinotta
3b4bb219d6 No more bookmarks in internal buffers (addresses #6605).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33842 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-23 00:45:37 +00:00
Edwin Leuven
9360481279 revert r33839 and r33840: does not work on MAC
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33841 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 23:02:55 +00:00
Edwin Leuven
9cdc247920 take care of qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33840 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 20:59:26 +00:00
Edwin Leuven
55b75cf5c0 set verticalsize policy to ignore until we find a better solution. instead of overlapping dockwidgets we now have a layout where widgets get resized arbitrarily small. in practice this is not an issue since nobody will resize the mainwindow to such small dimension. in the meantime the lyx window will fit nicely on smaller screens. but as said, while looking for something better...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33839 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 20:58:13 +00:00
Richard Heck
cf8646083f Fix bug #3686, by collecting information about missing prerequisites for
document classes, etc. Patch from Julien Rioux.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33838 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 12:25:16 +00:00
Richard Heck
0ac2542679 Whoops. We weren't quite ready for that yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33837 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 12:00:33 +00:00
Richard Heck
b30f7c3e9e Move the RefPrefix definitions to their own file, for easy inclusion in
other layouts. Also fix up some of those layotus.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33836 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 11:59:22 +00:00
Pavel Sanda
c0f4aa8c4b * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33835 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 11:35:43 +00:00
Uwe Stöhr
8d48c5184d installer:
- prepare for LyX 2.0 releases
- no longer use a batch file to start LyX

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33832 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 03:02:00 +00:00
Edwin Leuven
dba368d291 silence compiler warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33830 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-22 00:42:01 +00:00
Richard Heck
6b8532784b Fix thinko.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33829 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 21:05:14 +00:00
Edwin Leuven
fdeecd380b many little layout tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33828 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 20:27:53 +00:00
Edwin Leuven
2f6ec82064 little wiggles for on-the-fly spellcheck
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33827 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 20:26:30 +00:00
Kornel Benko
440c955acc * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33825 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 15:54:40 +00:00
Edwin Leuven
e70821b32a fix layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33824 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 12:36:46 +00:00
Edwin Leuven
9713edcce2 comments and housekeeping
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33823 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 12:15:25 +00:00
Kornel Benko
54a83eb144 unify translation of label'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33822 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 12:14:19 +00:00
Edwin Leuven
ffaf512593 - make the advanced search/replace dialog play nice with size
- add frame

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33821 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 11:50:13 +00:00
Edwin Leuven
a725704007 tighten layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33820 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 11:36:32 +00:00
Edwin Leuven
66ffee84f2 hopefully people are happy with this layout..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33819 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 10:50:02 +00:00
Tommaso Cucinotta
4bac24026d Fixed #2674 (Find and replace should restore initial cursor position), occurring on replace all.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33818 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 10:36:59 +00:00
Uwe Stöhr
2211213cb9 InsetTabular.cpp: remove FIXME as nothing needs to be fixed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33817 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 04:29:22 +00:00
Uwe Stöhr
f41ce4549f es.po: updates by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33816 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 01:06:01 +00:00
Uwe Stöhr
f969d4b87f revert r33814 but widen the text edit fields instead
(reverting things without discussing it is not OK)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33815 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-21 00:54:49 +00:00
Enrico Forestieri
534604d187 Fix PrefLatexUi.ui after r33783.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33814 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-20 23:14:33 +00:00
Richard Heck
8a690ea050 Don't bother bliking the cursor if it isn't on the screen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33813 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-20 15:11:25 +00:00
Tommaso Cucinotta
57aa866a1c Fixed issues in backward search in various corner cases (fixed #6482 and #6596).
Now, when scope includes multiple documents, the switch_buffer LFUN is only issues if buffer actually changes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33812 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-20 13:59:46 +00:00
Tommaso Cucinotta
83104beee3 Limit the search for the word at current cursor position only to the case in which cursor is in texted.
Fixes crash in #6573.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33811 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-20 12:15:05 +00:00
Edwin Leuven
fbc91c1967 forgotten in r33799
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33810 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-20 10:20:28 +00:00
Kornel Benko
b1464677e3 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33809 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-20 08:41:30 +00:00
Kornel Benko
f4049940b0 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33807 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-19 19:18:32 +00:00