Commit Graph

2680 Commits

Author SHA1 Message Date
André Pönitz
8e2f971ada remove ispell and pspell
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27472 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 18:47:25 +00:00
André Pönitz
bb12808b20 remove libtool
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27468 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 17:45:55 +00:00
Pavel Sanda
25079068ea Fix fullscreen & settings dialog. Very annoying one.
http://bugzilla.lyx.org/show_bug.cgi?id=5274


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27460 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 16:33:02 +00:00
Stefan Schimanski
f9f5c3baa5 * proper mechanism to dispatch FuncRequests delayed, i.e. when the event loop is idle again
* fixes http://bugzilla.lyx.org/show_bug.cgi?id=5447

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27459 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 16:29:58 +00:00
Abdelrazak Younes
6b6d80212b remove unneeded header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27441 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 12:55:40 +00:00
André Pönitz
f1cba8ff64 more latin1..utf8 schanges. all of src/* should be utf8 now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27425 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 15:58:50 +00:00
André Pönitz
baa22609da latin1->utf8
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27424 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 15:29:47 +00:00
André Pönitz
1fc477efac thrid attempt at changing the naming pattern of the intermediated 'mocced' files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27420 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 14:28:50 +00:00
Abdelrazak Younes
7e6af45b0d Fix http://bugzilla.lyx.org/show_bug.cgi?id=5491 without reintroducing http://bugzilla.lyx.org/show_bug.cgi?id=5409 . The first part of r27162 was enough for fixing it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27383 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-11 14:28:44 +00:00
Enrico Forestieri
3fe8463ddf Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5467
(too much C++, I presume :)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27352 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-08 23:44:43 +00:00
Jürgen Spitzmüller
b65ef30b34 * GuiDocument.cpp (formatStrVec):
- module names can have non-ASCII chars.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27274 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 18:37:47 +00:00
Stefan Schimanski
5d9b126c96 * Fix for http://bugzilla.lyx.org/show_bug.cgi?id=5387
Gui is not setup yet when the file is opened from clicking on it in Finder
  with a closed LyX. We have to wait until the batch commands are executed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27264 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 14:04:37 +00:00
Jürgen Spitzmüller
05a3f9b3f9 * GuiDocument.cpp:
* add some unicode FIXMEs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27249 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 15:44:02 +00:00
Jürgen Spitzmüller
006f5683e0 * GuiDocument.cpp:
* module names and descriptions might contain non-ASCII chars, so
	  we must use translateIfPossible instead of the native _().
	  Alas, some manual conversion is necessary.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27248 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 15:38:37 +00:00
Jürgen Spitzmüller
9d2f8a4c34 * GuiCitation.cpp:
- set initial focus (bug 5448).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27245 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 07:27:02 +00:00
Jean-Marc Lasgouttes
7f61a18d2b Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5421
* GuiKeySymbol.cpp (print): when asked for Portable representation of
	KeySequences, qt outputs Ctrl+x instead of Command-x. Therefore, we 
	we do it by hand.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27233 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 09:55:50 +00:00
Jean-Marc Lasgouttes
e4dea6c076 oops! r27229 was wrong
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27230 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 09:03:01 +00:00
Jean-Marc Lasgouttes
24ac7258c5 revert r27209
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27229 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 08:59:03 +00:00
Stefan Schimanski
97740523fe * Fix for http://bugzilla.lyx.org/show_bug.cgi?id=5396
On Mac clicking on a LyX file in Finder might open another GuiView which is
  asked to open the file. The reload logic though closes this and the dispatcher
  will run into a current_view_ which is null (until the other GuiView gets the
  focus again).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27228 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 08:25:59 +00:00
Stefan Schimanski
4040382f46 * fix for r27091: draw the newly created pixmap. The reordering of the code has removed this case. So much about trivial program transformation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27227 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-03 07:40:18 +00:00
Edwin Leuven
864fd8d7de fix broken layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27219 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 18:21:46 +00:00
Jean-Marc Lasgouttes
53fdda3e7a fix crash when filtering layout combox with non-ascii character
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27207 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-31 09:26:59 +00:00
Pavel Sanda
de7c7ea360 Fix http://bugzilla.lyx.org/show_bug.cgi?id=5430 .
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145723.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27197 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-30 13:47:41 +00:00
Richard Heck
76c074f19a Fix for 5429 from Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27196 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-30 11:49:18 +00:00
Richard Heck
4fb3e609d0 A little const'ness.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27167 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 16:02:33 +00:00
Richard Heck
f7acec3bdc From Vincent:
> Hi all, 
> > 
> > A. 
> > 1. create a new document (doc1),
> > 2. insert a label,
> > 3. insert a cross-ref
> > 4. create a new document (doc2)
> > 5. insert a cross-ref (in doc2)
> > then the labels in the cross-ref dialog are those from doc1.
> > 

This is solved by the attached patch.

We should not restore the last used buffer if the active buffer has
changed. Especially not when you cannot choose the buffer which is now
still the case.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27165 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 15:38:28 +00:00
Abdelrazak Younes
0b0f0942c0 Fix http://bugzilla.lyx.org/show_bug.cgi?id=5409
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27162 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 06:46:27 +00:00
Pavel Sanda
194f14bf65 Fix the worst part of http://bugzilla.lyx.org/show_bug.cgi?id=5409 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27153 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 14:54:53 +00:00
Stefan Schimanski
09399b45f7 * Trivial fix to set the icon size to normal, not 32 as Qt sets it by default on Mac (fixes #5388)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27146 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 09:06:50 +00:00
Jürgen Spitzmüller
57e1ab3e63 * GuiDocument.cpp (less_textclass_avail_desc):
- fix bug 5410 (use translateIfPossible() instead of _() for strings that come from
	  layout files).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27133 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-26 09:48:11 +00:00
Richard Heck
70d5f953c9 Fix for another part of 5403, and related bugs, anyway. The InsetLayout
tags should not be so case-dependent, and we ought to use an Enum instead.
of relying upon string comparisons.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27104 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 13:32:54 +00:00
Stefan Schimanski
d51c31ca85 * complete fix for #5327: switch back to normal drawing code if the cache
pixmap would have non-positive width or height.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27091 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 22:49:17 +00:00
Stefan Schimanski
0334876ca6 * temporary fix for the crash of the pixmap cache on Mac with Qt 4.4.
A better patch will follow soon, but this should go in for rc4.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27065 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 20:47:11 +00:00
Stefan Schimanski
e8d264e998 * don't rely on the restartCursor call to update the dialog on fullscreen switch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27064 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 20:46:53 +00:00
Stefan Schimanski
df79293cc1 * fix fullscreen TOC switching between dock and drawer mode on Mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27063 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 20:46:03 +00:00
Richard Heck
9dfac74265 This patch introduces ProvidesModule and ExcludesModule layout tags.
See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145129.html.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27041 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 00:27:03 +00:00
Stefan Schimanski
90ea041ada * create global Mac menu just before filling it (fixes #5217)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27023 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 18:14:30 +00:00
Stefan Schimanski
eb80fcdf69 * fix crashing special menu items on Mac after preferences have been changed.
* fix duplicated special menu items in Mac (fixed bug #5168)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27022 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-22 18:02:09 +00:00
Edwin Leuven
29f052bc3d make error dialog more comprehensible:
1. selects the 1st error so that the error message shows
2. adds labels to the listwidgets in the dialog
3. adds a tooltip to the error listwidget

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27007 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-21 09:07:15 +00:00
Richard Heck
72721655c5 Remove some indirection leftover from Andre's removal of controllers and such.
When we had GuiDocument and GuiDocumentDialog, there was a separation that required
this kind of thing, but now apply() is only ever called from applyView(), which is
private and only ever calls it with our local params.

This simplifies the forthcoming ProvidesModule, etc, patch a bit.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27000 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 21:00:33 +00:00
Richard Heck
afcc0e0490 Code duplication is bad.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26998 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 20:38:40 +00:00
Richard Heck
129df0bcd4 Make Abdel happy: Change case of local variables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26997 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 20:31:33 +00:00
Richard Heck
ae339e3ca8 Remove now duplicated code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26996 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 19:53:15 +00:00
Richard Heck
67dfff2d37 Update GuiDocument when there are changes to loaded modules.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26994 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 19:31:05 +00:00
Pavel Sanda
c509d3d8fc Please Edwin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26991 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 15:55:20 +00:00
Pavel Sanda
1040064133 Put scrollbar back.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26981 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 14:58:33 +00:00
Pavel Sanda
e32aade059 Next round for modules tab
- remove ill vertical spacer in the bottom
- fix max size of description field
- fix min size of the available modules list
- disable the ugly hozizontal scrollbar



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26980 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 14:39:11 +00:00
Jürgen Spitzmüller
54c32f8501 ModulesUI.ui:
-remove unnecessary GoupBox.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26965 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 11:10:35 +00:00
Abdelrazak Younes
6a8219c190 Paragraph:
- constify some parameters
- getFontSettings():
- getFirstFontSettings(): return a const ref instead of a copy. This brings a consistent 4% improvement in LateX generation. Might speedup rtl handling too.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26957 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 07:03:44 +00:00
Pavel Sanda
d579893c5b Towards horizontal size of document pref dialog -
class names make its combo very wide, so reorganize a little bit.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26956 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 01:43:24 +00:00
Pavel Sanda
4861019ae4 Add the missing file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26954 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 01:23:38 +00:00
Pavel Sanda
9d82588e3e Create new Module panel in document settings and decrease vertical
size of the dialog.

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145035.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26953 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 01:21:59 +00:00
Pavel Sanda
f62116f224 Fix uic erros, these files are no longer part of lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26952 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 00:59:16 +00:00
Abdelrazak Younes
8a916f28a9 Fix part of http://bugzilla.lyx.org/show_bug.cgi?id=5347
Use crc checking in order to decide if the widget needs to be updated or not. This speed up a lot the cursor moving use case.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26946 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 14:14:58 +00:00
Jürgen Spitzmüller
575a8dd0cc compile fix 2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26944 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 13:51:48 +00:00
Abdelrazak Younes
757f975337 First part of http://bugzilla.lyx.org/show_bug.cgi?id=5347
Disable full source viewing when the dialog is restored.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26941 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 13:27:59 +00:00
Abdelrazak Younes
bcbf7c6452 Code shuffling in order to fix http://bugzilla.lyx.org/show_bug.cgi?id=5347
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26940 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 13:20:17 +00:00
Richard Heck
5e505119fa OK, I lied. A little more. Just trying to keep the cleanup separate from
the real stuff.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26925 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 17:29:01 +00:00
Richard Heck
a940cc3f6b The last bit of cleanup: Make checking for exclusions a bit easier.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26924 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 17:21:13 +00:00
Richard Heck
28047741c2 Fix a bug involving module conflicts. We need to check not only that we
do not exclude some used module, but also that no used module excludes us.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26920 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 15:04:48 +00:00
Richard Heck
3e41704579 More cleanup prior to real patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26919 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 13:41:25 +00:00
Enrico Forestieri
1ad4fd55ea Remove traces of Q_CYGWIN_WIN
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26916 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-15 23:00:42 +00:00
Enrico Forestieri
ed861b720a Simplify
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26914 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-15 22:03:13 +00:00
Abdelrazak Younes
b23058c578 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5319
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26913 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-15 08:42:43 +00:00
Richard Heck
d4136cb652 Correct the order of the tests here. Messed this up in previous commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26906 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 18:06:08 +00:00
Richard Heck
6a5a7d7e20 The last little bit of comment, etc, cleanup here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26905 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 17:35:49 +00:00
Richard Heck
b73d5450b7 More cleanup for forthcoming patch. Also fix a copy-paste error.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26904 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 17:14:25 +00:00
Richard Heck
9c95358b85 Check for changes to modules before switching text classes. See the removed
FIXME for more.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26903 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 17:03:57 +00:00
Richard Heck
c83ae83ebf Remove unnecessary argument to paramsToDialog(). This is again
cleanup prior to a forthcoming patch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26902 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 16:59:28 +00:00
Richard Heck
a707ac75ac Change some vectors to lists. This is preparatory for a real patch later.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26899 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 14:04:21 +00:00
Richard Heck
a34c0a8742 Just whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26895 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 12:49:05 +00:00
Abdelrazak Younes
22204cda0b Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5355
The mixing of internal and 'normal' buffers turned out to be problematic. This commit just dissociates the two types.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26884 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-13 20:40:58 +00:00
Pavel Sanda
308e2d9df3 Sanitize backreferences in hyperref.
http://bugzilla.lyx.org/show_bug.cgi?id=5340
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg144958.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26882 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-13 16:01:02 +00:00
Pavel Sanda
792ece8130 Fix whitespaces so the diff between branches is not so huge.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26881 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-13 11:25:37 +00:00
Richard Heck
de01bc54ff All comments and formatting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26876 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 22:21:56 +00:00
Richard Heck
50e5a3b796 Remove old and out of date comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26875 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 22:07:47 +00:00
Richard Heck
9c2fa02d4a Add a comment, per Pavel's suggestion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26874 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 22:02:31 +00:00
Richard Heck
a9226314d1 Don't access this directly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26867 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 15:34:08 +00:00
Richard Heck
4ececaf03d Update the modules after we make the document class. This will ensure
that we get any new default modules on board.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26866 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 15:29:54 +00:00
Jürgen Spitzmüller
d45ca67d1d ** fix bug 2114. Fileformat change.
** fix bug 5343 (patch from Richard, prerequisite for the other fix)

* Buffer.cpp:
	- increment format to 343
* src/BufferParams.{cpp,h}:
	- new param \use_default_options that allows to select/deselect
	  the "Other" class options defined in the layout file.
* src/frontends/qt4/GuiDocument.cpp:
* src/frontends/qt4/ui/LaTeXUi.ui:
	- add GUI to set \use_default_options, display predefined options in the dialog
	- update dialog correctly on class change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26860 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 09:36:00 +00:00
Abdelrazak Younes
81a1ae187e MenuDefinition::expandFlexInsert(): simplify a tiny bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26856 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 06:52:26 +00:00
Richard Heck
b03a5823be We don't always want that, just with custom insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26855 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 04:12:37 +00:00
Richard Heck
02e4744ce3 Fix bug 5346.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26854 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 04:04:55 +00:00
Richard Heck
50ef03a245 Revert.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26853 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 03:43:15 +00:00
Richard Heck
3373ec397b Typos.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26852 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 03:40:30 +00:00
Jean-Marc Lasgouttes
15b49036ed X dependency cleanup (2/3)
(inernal|external)LineEnding are only used by the clipboard code. Therefore
move them to the Qt helpers, where the current environment is known.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26824 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-09 07:21:48 +00:00
Jean-Marc Lasgouttes
2759268092 X dependency cleanup (1/3)
Move the special handling of -geometry command option from LyX to GuiApplication, 
where it belongs


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26823 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-09 07:19:34 +00:00
Richard Heck
2078e09e67 The default modules should be kept in order.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26801 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-07 15:53:05 +00:00
Peter Kümmel
9229214eea fix bug 5332: preferences opens wrong folder for keyboard maps when there is no valid map
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26748 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 14:11:04 +00:00
Jürgen Spitzmüller
e2fc0d4385 Box fixes from Vincent and me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26711 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 09:24:40 +00:00
Jürgen Spitzmüller
87018001e1 * ListingsUi.ui: polish.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26698 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 16:22:55 +00:00
Abdelrazak Younes
f5b6ca1909 Don't show the dock widget at construction time. This should fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5273
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26697 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 13:45:56 +00:00
Abdelrazak Younes
4873fb9d6c We don't want to restore geometry session for dock widgets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26696 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 13:34:10 +00:00
Abdelrazak Younes
e29edccc3f GuiView::findOrBuild(): hide the dialog if requested and the dialog already exists.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26695 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 13:17:22 +00:00
Abdelrazak Younes
ac55ec0f56 It seems that somebody added the code to show the dockwidget at layout restoration time. This is wrong so I reverted this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26694 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 13:12:58 +00:00
Enrico Forestieri
4ec9b07596 Don't trust designer and manually fix TocUi.ui for Qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26692 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 11:51:49 +00:00
Enrico Forestieri
9df450b058 Revert r26686
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26691 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 11:25:38 +00:00
Abdelrazak Younes
4ea899a7af Make sure that the focus is correctly set before closing a window.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26690 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 07:54:32 +00:00
Abdelrazak Younes
d8a6c1fc1e potential bug fix, reported by Richard:
Open LyX. Open a new window. Open a new window. Close the first. Close the second.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26689 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 07:38:51 +00:00
Enrico Forestieri
c68a342d72 Fix TocUi.ui for Qt 4.2.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26686 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-02 18:08:46 +00:00