Richard Heck
5537e8a6b5
Add some module related comments.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27002 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 21:11:49 +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
721b269732
Another one for Abdel.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26999 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 20:45:47 +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
2351615f0a
Fix LFUN_LAYOUT_MODULE_ADD: We need to make sure that the module
...
isn't already added, that its requirements are satisfied, and that
it doesn't conflict with any loaded modules. Mostly, this just
moves existing code into a new routine where we can get at it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26995 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 19:48:32 +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
Jürgen Spitzmüller
25c8c8ce8a
* InsetMarginal.cpp:
...
- \marginpar needs to be \protect'ed in fragile context (bug 2790).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26992 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 17:08:39 +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
Enrico Forestieri
7923d0b90e
Correct logic: single characters must also be parsed when quiet == false.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26987 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-20 00:18:29 +00:00
Enrico Forestieri
ad41e7d4d7
Remove unneeded include
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26985 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 22:45:15 +00:00
Enrico Forestieri
96007ce5ac
Fix bug 5374
...
http://bugzilla.lyx.org/show_bug.cgi?id=5374
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26983 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 20:55:54 +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
473e365a07
* InsetIndex (latex):
...
- latex is supposed to return the number of _rows_, so do not count the characters
(fix bug 5378).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26966 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 11:28:23 +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
72e49fbb67
remove unused variables.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26961 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 09:23:46 +00:00
Abdelrazak Younes
97e5041a4a
some more small optimization.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26960 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 07:42:41 +00:00
Abdelrazak Younes
be740f8543
Bidi::computeTables(): avoid a Font instantiation for each char.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26959 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 07:31:10 +00:00
Abdelrazak Younes
da640391fc
revert erroneous previous commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26958 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 07:09:05 +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
2b65ee6030
TexRow::getRowFromIdPos(): Don't assume a vector container and really tiny optimization (don't access the same item multiple time).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26949 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 16:07:04 +00:00
Jürgen Spitzmüller
30a777e8a8
honour requirements for dots (bug 5376).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26947 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 14:15:56 +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
Jürgen Spitzmüller
99e481fe51
compile fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26942 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 13:48:12 +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
Uwe Stöhr
5c9d3c6a9e
fix Make and SCons after r26934 (Enrico, please take care of this too)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26938 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 12:28:17 +00:00
Uwe Stöhr
02d28d981c
mathparser_flags.h: follow our naming convention part 2/2
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26937 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 12:25:03 +00:00
Uwe Stöhr
8cacb191aa
mathparser_flags.h: follow our naming convention part 1/2
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26936 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 12:23:59 +00:00
Enrico Forestieri
6bd593d8b3
When pasting into mathed, take into account the current mode.
...
For example, this allows to paste something like $x$ to a textmode
inset and get the expected result. If $x$ is pasted in mathmode,
it is pasted verbatim, such that no compile errors can arise.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26935 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-18 09:06:27 +00:00
Enrico Forestieri
02ebfa000b
Fix bug 3397
...
http://bugzilla.lyx.org/show_bug.cgi?id=3397
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26934 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-17 21:40:11 +00:00
Abdelrazak Younes
7ec4207371
Fix http://bugzilla.lyx.org/show_bug.cgi?id=5369
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26930 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-17 04:35:08 +00:00
Stefan Schimanski
af9206b392
* Call metrics of the parameters with the correct font in MathMacros, for example
...
if they are in an index and should be drawn smaller.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26927 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 21:27:43 +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
297d5d1f4e
Factorize out some of this. Just a bit more cleanup, prior to the patch
...
I've been promising....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26923 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 17:14:46 +00:00
Richard Heck
8bc9c319d2
Fix bug connected with excluded modules and default modules: We need to make
...
sure that default modules do not exclude loaded modules and also that loaded
modules do not exclude them.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26922 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 15:29:56 +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
Jean-Marc Lasgouttes
9a5aa9eab1
fix View Source for literate documents
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26917 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-16 07:43:46 +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
60c6b1966d
Fix for latest MInGW w32api
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26915 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-15 22:14:39 +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
Jürgen Spitzmüller
3109398469
disable some lfuns inside description/list items (bug 223).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26898 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 13:27:58 +00:00
Jean-Marc Lasgouttes
03ec50ac4d
speed up _a_lot_ switchEncoding() by avoiding an object copy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26896 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-14 13:06:47 +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
Pavel Sanda
b2bb5e5090
Selection painting in Insets (courtesy of fishing industry)
...
http://bugzilla.lyx.org/show_bug.cgi?id=5270
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg144726.html
Patch by Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26887 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-13 23:19:06 +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
b69f53cd0f
typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26883 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-13 16:12:46 +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
André Pönitz
cb5a9b28d7
be kind to XaFooBarTeX
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26871 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 19:19:41 +00:00
Uwe Stöhr
4331cbf30f
babel handling: revert r26857 and r26858 for the reasons I posted o the list
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26870 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 17:21:18 +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
6eb11f06a8
readjust indendation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26863 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 13:06:17 +00:00
Uwe Stöhr
51b4ac8e79
LaTeXFeatures.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5350
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26862 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 12:50:08 +00:00
Jürgen Spitzmüller
86eeea7566
* InsetSpecialChar.cpp:
...
- \protect nobreakdash if needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26861 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 09:54:39 +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
4d4ee5d7a6
Factorize out the hardcoded babel tests. This whole thing is a real mess...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26858 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 07:56:06 +00:00
Abdelrazak Younes
bc8e829ce0
Simplify and optimize a bit the special babel language detection; and add a FIXME.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26857 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-12 07:19:43 +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
Uwe Stöhr
d30e01fd08
Support for Mongolian, fileformat change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26848 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-11 23:52:31 +00:00
André Pönitz
26fafc111d
typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26845 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-11 16:08:42 +00:00
André Pönitz
01bb9e2a57
fix problem with non-recognized utf8 encoding that lead to broken .lyx
...
files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26844 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-11 16:07:14 +00:00
Uwe Stöhr
19c27c8714
BufferParams.cpp: typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26842 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-11 12:47:51 +00:00
Abdelrazak Younes
a774b2ce7a
MSVC Compil fix: Finish JMarc's work.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26832 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-09 14:53:25 +00:00
Jean-Marc Lasgouttes
90101f72b1
compilation fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26831 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-09 14:48: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
Abdelrazak Younes
47020302ae
fix memory leak.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26815 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-08 15:12:49 +00:00
Richard Heck
b90919e48b
Revert r26683 and add some comments making it a little clearer what
...
is going on here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26814 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-08 15:07:09 +00:00
Abdelrazak Younes
9601279dbb
moveItem(): simplify a bit more and clarify comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26813 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-08 14:52:07 +00:00
Abdelrazak Younes
79cffed886
moveItem(): simplify
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26812 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-08 14:19:31 +00:00
Abdelrazak Younes
93ae7c8c33
Oups...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26811 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-08 14:06:20 +00:00
Abdelrazak Younes
237c713046
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5328
...
* Paragraph::insertInset(): check if inset insertion is allowed before insertion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26810 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-08 14:03:15 +00:00
Stefan Schimanski
c874e95030
* Be more conservative about leaving out parenthesis by checking for < 0x80.
...
This fixes lyxmathsym characters as macro arguments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26802 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-07 16:24:07 +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
Enrico Forestieri
f505227f6e
Smash remaining drawbacks for bug 2315
...
http://bugzilla.lyx.org/show_bug.cgi?id=2315
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26792 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 22:49:30 +00:00
Richard Heck
d841355b7e
Fix bug 5316 properly. The fix is to make the routine that reads a counter
...
update an existing counter rather than overwrite it.
This turns out to be more complicated than it might seem. There are two
large parts to the patch. One moves the counter read routine out of TextClass
and into the Counter and Counters classes. The other changes the syntax of
counters from:
Counter
Name whatever
....
to:
Counter whatever
....
This allows us to get the name of the counter right away, so we can decide
whether it is an old one or a new one. So the layout format had to be
changed (again), with corresponding layout2layout code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26779 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 14:37:28 +00:00
Richard Heck
2b234dad7d
Comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26778 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 12:24:31 +00:00
Richard Heck
63644744fd
Whitespace and comment cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26777 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 12:16:17 +00:00
Jean-Marc Lasgouttes
f993482628
fix misleading debug message
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26773 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 10:14:41 +00:00
Richard Heck
7eb60756fd
Remove unused code related to InsetEnvironment experiment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26768 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 04:23:26 +00:00
Richard Heck
244cda474c
Add a FIXME. We need to be more careful here.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26766 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 03:16:26 +00:00
Richard Heck
94bc5c3086
Further to r26743, add CustomPars and ForcePlain layout tags to InsetLayout,
...
so that the allowParagraphCustomization() and forcePlainLayout() features can
be independently controlled.
At present, these are active only for InsetFlex. In future, they should be made
active for InsetCollapsable, in general.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26757 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:38:22 +00:00
Peter Kümmel
30260f0a4d
underlying filesystem is case insensitive
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26756 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:37:56 +00:00
Uwe Stöhr
dfcd6fb7ea
make Latvian documents compilable, fixes http://bugzilla.lyx.org/show_bug.cgi?id=5324
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26752 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 19:12:12 +00:00
Pavel Sanda
bba02237ea
Typo from Bennett
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26751 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 18:09:51 +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
Uwe Stöhr
8d11bc23be
BufferParams.cpp: make Lithuanian documents compilable, fixes http://bugzilla.lyx.org/show_bug.cgi?id=5323
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26746 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 13:42:37 +00:00
Peter Kümmel
f4787aa9c9
Use long path names when comparing FileNames
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26745 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 12:08:21 +00:00
Peter Kümmel
cab745d661
Fix bug 2235: jpeg capital letters (.JPG) does not work with pdflatex
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26744 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 11:51:18 +00:00
Jürgen Spitzmüller
e7b99324ca
* InsetFlex.h:
...
- correct the enabling of paragraph and layout changes as far as this
is possible with the current interface (see FIXMEs).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26743 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 11:00:48 +00:00
Jürgen Spitzmüller
f9e0957eb8
* InsetIndex.h:
...
- disallow layout and paragraph changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26742 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 10:44:30 +00:00
Jürgen Spitzmüller
19372cb052
* InsetBox.h (allowParagraphCustomization):
...
- fix logic, constify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26741 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 10:22:53 +00:00
Jürgen Spitzmüller
e996067afa
* InsetCollapsable.cpp (getStatus):
...
- this code is now in InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26740 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 10:05:18 +00:00
Jürgen Spitzmüller
a0e6594ced
fix bug 3434.
...
* InsetText.cpp (getStatus):
- correctly disable layout and paragraph settings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26739 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 09:51:28 +00:00
Enrico Forestieri
964a4fac79
Fix bug 1784
...
http://bugzilla.lyx.org/show_bug.cgi?id=1784
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26737 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-05 00:50:39 +00:00
Peter Kümmel
0d75676233
don't reinvent the wheel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26729 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 15:57:26 +00:00
Peter Kümmel
e3a494d322
fix bug 4693, Exporting files doesn't create the files in the correct folder
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26718 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-04 12:05:06 +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
Richard Heck
605ce88938
Fix Abdel's FIXME.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26708 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 23:16:51 +00:00
Richard Heck
e852600e61
Typo, from Vincent.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26707 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 22:58:29 +00:00
Abdelrazak Younes
4f878b3566
stupid me...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26702 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 19:57:13 +00:00
Abdelrazak Younes
448f715831
Fix assertion with imaginary end-of-par in Changes::addToToc().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26701 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 19:53:53 +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
Peter Kümmel
7231275a09
fix merge build: this is a std::exception
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26693 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-03 12:51:20 +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
Pavel Sanda
0c46365302
Port Enrico's patch for the current version of Toc.ui
...
so that vsize is stretched even for Qt 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26685 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-02 15:09:00 +00:00
Pavel Sanda
2ca370b135
Add persistent view switch to the outliner.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg144343.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26684 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-02 15:00:43 +00:00
Richard Heck
4dc976497f
Simplify the mover semantics a bit further: The extra variable being passed in
...
the deleted functions was never actually used, and it hasn't been for a very
long time. So the comment about the "other version" of Mover::copy() was way
out of date.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26683 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-02 14:41:07 +00:00
Pavel Sanda
4e02ce0a9b
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26682 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-02 12:17:58 +00:00
Jean-Marc Lasgouttes
8cc7e00cfd
Turn th message about disabled socket into optional debug, since many
...
windows users believe that it actually means something, see e.g.
http://thread.gmane.org/gmane.editors.lyx.general/50338
http://thread.gmane.org/gmane.editors.lyx.general/39680
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26670 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 09:37:25 +00:00
Abdelrazak Younes
c7a28bbec7
Attempt to fix http://bugzilla.lyx.org/show_bug.cgi?id=4693
...
isDirWritable(): make it work when there is no trailing slash!
createPath(): return false if the directory already exists.
createDirectory(): don't use mymkdir on Windows, use createPath() instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26669 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 09:36:01 +00:00
Abdelrazak Younes
0ac664310a
Modify the way multi-cell selection is done in tables:
...
* Always put the cursor at the end of the cell (this was set at the beginning with mouse selection).
* handle LFUN_SELF_INSERT in case of multi-cell selection -> the whole cell contents will be deleted.
This commit fixes http://bugzilla.lyx.org/show_bug.cgi?id=5225
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26668 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 08:18:57 +00:00
Abdelrazak Younes
1b47d2e5e2
Remove assertion that are already checked in debug mode.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26667 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 08:15:02 +00:00
Uwe Stöhr
af9752a0a6
boost.cpp: make LyX compilable again
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26662 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-01 00:35:26 +00:00
Pavel Sanda
37f82d6b30
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26660 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 23:49:25 +00:00
Pavel Sanda
7d86961eed
Proper lfun handling naming for listing tabs.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26659 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 23:42:43 +00:00
Peter Kümmel
a07f5fcc35
win2k fixes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26649 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 18:03:26 +00:00
Peter Kümmel
c2f99181e6
update boost to version 1.36
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26648 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 18:01:03 +00:00
Uwe Stöhr
7382c55fd7
add support for TABs in Listings, fileformat change, fixes http://bugzilla.lyx.org/show_bug.cgi?id=3629 , patch by Vincent, lyx2lyx and UI stuff by me
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26647 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 18:00:02 +00:00
Jean-Marc Lasgouttes
ede2dbfade
Cleanup and layoutification of the InsetInfo class.
...
* InsetInfo.cpp (InsetInfo): derive from InsetCollapsable instead of
InsetText, so that we can use InsetLayout. Should be reverted when the
layout stuff is migrated to InsetText or some lower level.
(initTranslator, nameTranslator): moved outside of the class.
(name, neverIndent): added.
(draw, setMouseHover): removed.
(updateInfo): cleanup and use layout
(read, setInfo): make sure to reset layout.
* lib/layouts/stdinsets.inc: add layouts for the various Info insets.
These are used for both display and output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26646 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 14:11:40 +00:00
Jean-Marc Lasgouttes
709df05d9f
Fix properly bug 5287: http://bugzilla.lyx.org/show_bug.cgi?id=5287
...
* BufferView.cpp (setCursorFromInset): do not ignore the first inset
of the document; revert first tentative patch for this bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26645 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 13:47:16 +00:00
Abdelrazak Younes
b54b51c694
gcc compile fix: vector::insert() requires an iterator, not a const_iterator.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26642 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 12:34:36 +00:00
Abdelrazak Younes
f40a74eae2
Fix the order of changes in the Navigator. They appeared backwards.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26641 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 11:26:40 +00:00
Abdelrazak Younes
2d55770a29
stupid cut&paste error.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26640 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 11:18:16 +00:00
Abdelrazak Younes
5ce39aa8b5
Add a "List of Changes" in the Navigator. The list is updated only when the document structure is reset or when the update button is clicked. Some work is needed to track more finely individual changes as we do for sections.
...
Changes::addToToc(): New method to insert changes sorted by authors. The symbols 0x2702 and 0x270d are used to represent deletion and insertion.
TocBackend::item(): new method to lookup for a given item.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26639 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 11:06:34 +00:00
Abdelrazak Younes
7236cfc31d
revert faulty commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26638 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 10:07:22 +00:00
Abdelrazak Younes
9388404c88
TocWidget::updateView(): only set the tree depth if there's a model reset. This is to avoid node collapsing when simply editing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26637 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 09:59:33 +00:00
Abdelrazak Younes
7bd33462a0
Avoid a complete Toc reset in case when only a toc item update is needed.
...
* Buffer: new updateTocItem() signal (with Delegates and GuiView associates).
* TocBackend: take care of the signal emission instead of the Cursor::checkBufferStructure()
* TocModel: new updateTocItem() method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26636 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 09:50:54 +00:00
Jürgen Spitzmüller
03b652c9b8
* InsetInclude.cpp:
...
- fix duplicate check of listings labels.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26635 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 08:41:37 +00:00
Abdelrazak Younes
6bd9b43ce5
cosmetics and doxygen.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26634 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 07:38:34 +00:00
Abdelrazak Younes
5cfe7daadb
TocWidget: disable the tree view during an update in order to minimize a bit the flashing.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26633 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 07:18:24 +00:00
Jürgen Spitzmüller
3ddfec9ae0
* GuiInclude.cpp:
...
- prevent assertion (listings parameters can have non-ascii chars)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26632 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-30 06:51:08 +00:00
Uwe Stöhr
54d81dd012
BufferView.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5287 , patch by Vincent
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26630 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 22:55:24 +00:00
André Pönitz
0985bab38e
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26629 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 21:53:24 +00:00
Uwe Stöhr
ce09194e43
GuiDocument.cpp, BufferParams.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5294
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26628 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 19:33:37 +00:00
Uwe Stöhr
4c48e7746b
BufferParams.cpp, LaTeXFeatures.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5291
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26627 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 19:18:00 +00:00
Abdelrazak Younes
6f798773a5
Dialogs: discourage non const access to lyxview().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26622 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 11:01:53 +00:00
Jean-Marc Lasgouttes
a2ffb1915a
remove mutable property
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26621 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 10:56:45 +00:00
Abdelrazak Younes
53acfb8351
Dialogs: discourage non const access to buffer() and bufferview().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26620 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 10:52:17 +00:00
Abdelrazak Younes
03e76f0651
constify
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26619 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 10:48:49 +00:00
Abdelrazak Younes
aedba73655
constify
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26618 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 10:29:35 +00:00
Abdelrazak Younes
14875e5e31
Properly fix http://bugzilla.lyx.org/show_bug.cgi?id=5285 by using lfun machinery in all cases.
...
Also fixes dialog view in case of multipar selection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26617 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 10:18:37 +00:00
Jean-Marc Lasgouttes
1c76b4b11d
compilation fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26616 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 10:13:28 +00:00
Abdelrazak Younes
56a60dce0a
Merge FileFileName::Private::checksum() into FileFileName::checksum().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26615 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 09:35:13 +00:00
Jean-Marc Lasgouttes
0442417d22
constify
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26614 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 09:33:36 +00:00
Abdelrazak Younes
508ac52ac0
previous commit: revert debugging code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26613 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 09:06:37 +00:00
Abdelrazak Younes
3378d0cc23
FileName::Private::checksum(): disable Qt4.4 based version because of bug http://bugzilla.lyx.org/show_bug.cgi?id=5293
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26612 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 09:04:14 +00:00
Jürgen Spitzmüller
8dd1185d9f
whitespace.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26610 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 08:48:02 +00:00
Abdelrazak Younes
3a0ee2070c
Add fall back code to assertion.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26609 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 08:42:18 +00:00
Jean-Marc Lasgouttes
1899c81d3e
whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26608 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-29 08:30:41 +00:00
Enrico Forestieri
d7daeb752e
If the "force" flag is in effect and a textmode command from the unicodesymbols
...
file is used, don't add the \lyxmathsym definition to the preamble if we
already are in textmode. This hopefully smashes all weird cases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26604 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-28 21:57:31 +00:00
Uwe Stöhr
8f76634f10
tex2lyx/preamble.cpp: fix bug 19, patch by JMarc (I'm working with this patch for 4 months now and it is really stable.)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26603 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-28 20:15:08 +00:00
Abdelrazak Younes
4b8f0d359c
Add a new 'Sort' box to the Navigator so that each list can be optionally sorted.
...
* TocModel: redesign so that sorted list are available.
* TocWidget/TocUi: handle the new Sort check box.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26602 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-28 17:14:29 +00:00
Abdelrazak Younes
45cd1149e4
Full text in toc for index entries.
...
* Text::asString(): new method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26601 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-28 17:10:16 +00:00
Uwe Stöhr
7c8851a45b
LaTeXFeatures.cpp: fix part of http://bugzilla.lyx.org/show_bug.cgi?id=5294 also for trunk
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26600 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-28 12:14:15 +00:00
Jürgen Spitzmüller
4cb08129a3
attempt to fix bug 5282:
...
* src/insets/InsetTabular.cpp:
- keep track of encoding after passing a copy of the OutputParams.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26592 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-27 15:32:43 +00:00
Abdelrazak Younes
90af53afff
move sum() to FileName::private::checksum() and add a new method using Qt4.4 mmap support.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26590 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-27 10:54:26 +00:00
Abdelrazak Younes
16d182a0b9
header cleanup: remove duplicate includes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26589 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-27 09:22:51 +00:00
Abdelrazak Younes
4122944455
First step toward fixing bug http://bugzilla.lyx.org/show_bug.cgi?id=5252
...
- Move lyx::sum() to FileName.cpp
- Get rid of the third slow implementation of sum() as istreambuf_iterator is supported since at least gcc 3.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26588 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-27 09:15:55 +00:00
Pavel Sanda
82f1cb7463
Let lyxclient read the whole line of input.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26586 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 23:58:40 +00:00
Pavel Sanda
8195cd1e2a
* man
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26585 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 23:49:03 +00:00
Pavel Sanda
f88e202e39
Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5285 .
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26583 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 21:34:08 +00:00
Uwe Stöhr
a7722811f7
InsetTabular: make Slovak and Czech documents compilable, fixes http://bugzilla.lyx.org/show_bug.cgi?id=5290 , thanks to Heiko Obderdiek for the hint how to fix this
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26581 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 21:24:59 +00:00
Enrico Forestieri
5ca3be4d67
In mathmode, treat nonascii chars with diacritical marks as an input method
...
for entering math accents, such that an umlauted A is translated as \ddot{A},
for example.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26577 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 15:53:15 +00:00
Pavel Sanda
c7bfae826c
Let cursor appear after call of disabled lfun.
...
Patch by Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26575 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 12:35:35 +00:00
Abdelrazak Younes
5731e7faae
Small cleanup in order to improve toc change detection within insets.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26574 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 10:37:24 +00:00
Pavel Sanda
42693547f7
Find-next fallback to search dialog when no string was entered before.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26573 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 10:07:10 +00:00
Jürgen Spitzmüller
e63a6bc89a
compile fix & whitespace nitpicks.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26570 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 09:13:12 +00:00
Uwe Stöhr
2c5637b831
LaTeXFeatures.cpp: fix critical bug, due to this, no Cyrillic document could be compiled with LyX 1.6
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26560 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-26 00:21:35 +00:00
Pavel Sanda
7b1bf23337
Finish the cleanup in graphics.
...
LFUN_GRAPHICS_GROUPS_UNIFY is not needed anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26550 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 20:50:33 +00:00
Enrico Forestieri
b5dcdbc960
When in mathmode, always use the mathcommand replacement from the
...
unicodesymbols file. Also take into account that a unicode symbol
may appear in both mathmode and textmode and thus both the mathmode
and textmode features may be required. As a side effect, the problem
that the \lyxmathsym definition is added to the preamble even when
a unicode symbol appears only in textmode is solved.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26548 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 18:38:25 +00:00
Richard Heck
4e142856d7
Move NOCITE to the end of the enum, so that it will appear at the end of the list. As things were, it appeared first, and as a result was always the first thing used in a new file.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26547 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 18:13:25 +00:00
Jean-Marc Lasgouttes
f3a1cdabe9
for some reason, itemSelectionChanged does not trigger in a reliable way and the error descriptions are bogus
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26545 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 16:16:25 +00:00
Pavel Sanda
1033ce4e59
ups.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26543 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 14:02:14 +00:00
Pavel Sanda
2aeb9dead0
i have very bad memory
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26542 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 13:59:26 +00:00
Pavel Sanda
0f6a71ffb3
typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26541 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 13:34:36 +00:00
Jean-Marc Lasgouttes
6cd921678b
move code to unify graphics groups from GuiGraphics to InsetGraphics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26540 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 13:24:52 +00:00
Jean-Marc Lasgouttes
1db80d4df6
make sure that INSET_APPLY dispatching is inside an undo group
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26539 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 13:20:53 +00:00
Jean-Marc Lasgouttes
0c68af937a
move the validation code from InsetFlex to InsetCollapsable
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26538 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 13:05:43 +00:00
Pavel Sanda
87c1454286
typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26537 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 11:14:12 +00:00
André Pönitz
4c7fdddd74
streamlining setter syntax. using mutable references seems a bit
...
outlandish compared to the rest of LyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26527 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 21:27:41 +00:00
André Pönitz
7aa28f3efe
char * for string literals is deprecated...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26526 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 19:51:46 +00:00
Pavel Sanda
83bd0508c2
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26523 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 17:35:37 +00:00
Richard Heck
6576aed3d5
This patch allows for multiple LFUNs to be bound to a single key, via a new command-alternatives function, to be used like so:
...
\bind "Tab" "command-alternatives" "completion-accept;cell-forward"
The first of the metioned functions that is enabled with be called.
The code is pretty trivial and just stolen from command-sequence.
The binding mentioned is more or less the point of the patch, but we still need to decide exactly what the bindings should be. There have been various threads concerning this. You can use the above for testing. Add it to site.bind, replacing the existing binding.
Jose: Once the bindings have been sorted out, that will complete the work on this we said we wanted to do for rc3.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26518 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 15:08:46 +00:00
Richard Heck
b8cf8cbab2
This patch prevents the shortcut dialog from silently over-writing existing bindings. (Indeed, both bindings will show up, prior to this patch, though only one will work.) A better solution would be to ask the user for permission to over-write, and then to take appropriate action. But this will do for now.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26517 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 14:56:43 +00:00
Richard Heck
6cde86e1d7
Save a few bytes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26516 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 13:32:09 +00:00
Richard Heck
5a579070c4
Doxy fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26515 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 13:20:05 +00:00
Jean-Marc Lasgouttes
efb2fb3e53
create a proper undo group before unifying graphics group (crystal clear, isn t it?)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26508 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-23 21:57:23 +00:00
Richard Heck
6c5efdf25d
Read site.bind as well as the user's bind file.
...
Why is site.bind given special treatment?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26505 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-23 17:04:25 +00:00
Pavel Sanda
cbb26a58aa
Be at least consistent.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26504 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-23 14:18:59 +00:00
Richard Heck
ad0ecf86a7
Move the ItemType enum out of GuiPref and into KeyMap, where it belongs.
...
This is preparation for multi-LFUN bindings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26503 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-23 13:53:38 +00:00
Richard Heck
31e5a15695
Get some good debug output for function codes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26502 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-23 13:18:51 +00:00
Pavel Sanda
f7cf8c09d2
git is shouting at me because of whitespaces, so what can i do...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26498 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 15:41:05 +00:00
Pavel Sanda
29e02eff76
Colors for multi-author track changes.
...
Patch by Vincent.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg143215.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26497 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 15:30:26 +00:00
Jean-Marc Lasgouttes
76b64cded1
compilation fix from abdel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26496 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 11:00:17 +00:00
Abdelrazak Younes
36f619ed25
BufferList::next() and previous(): don't cycle through 'internal' buffers.
...
This should fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5259
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26495 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 09:59:46 +00:00
Abdelrazak Younes
c0aeb567ce
add FileName::extension() method.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26494 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 09:44:44 +00:00
Abdelrazak Younes
8c4ffb42da
Move maxlastfiles from Session.h to LyXRC.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26493 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 07:42:57 +00:00
Abdelrazak Younes
da1de0055e
Get rid of unused SessionInfoSection.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26492 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 07:30:48 +00:00
Abdelrazak Younes
38ecdfd5b7
Pref ui module: add a 'clear session'.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26491 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 07:14:30 +00:00
Abdelrazak Younes
475a48b78d
GuiView::saveLayout(): Use QSettings::beginGroup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26490 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 06:50:35 +00:00
Abdelrazak Younes
305079fb23
X11 compil fix, sorry.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26489 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 06:48:08 +00:00
Enrico Forestieri
1cd01f0db4
On Vista, if a file type is not registered, AssocQueryString() returns
...
information about the "Unknown" application instead of admitting that
nothing is registered. The solution is to add ASSOCF_INIT_IGNOREUNKNOWN
to the flags parameter. Also update dead URLs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26488 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 00:07:48 +00:00
Abdelrazak Younes
ed1122f86b
Use QSettings::beginGroup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26487 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 22:34:19 +00:00
Abdelrazak Younes
fa36309412
compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26486 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 22:11:59 +00:00
Abdelrazak Younes
d6936b4c5d
remove debug code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26485 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 21:47:47 +00:00
Abdelrazak Younes
8e4d2d66ce
Reset the geometry and ui settings whenever a change in the ui files is selected. This commit will destroy any current geometry session. The "view-id/" nodes are converted into "view/id/" nodes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26484 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 21:28:37 +00:00
André Pönitz
e5ae1a4b75
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26481 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 19:27:20 +00:00
Richard Heck
5ee839c3c8
Fix the tab stops in the paragraph dialog, and improve
...
the fix last committed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26480 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 15:25:04 +00:00
Richard Heck
4197460862
Fix autodefault setting.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26479 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 14:49:27 +00:00
André Pönitz
7d3841aae6
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26473 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 09:11:21 +00:00
André Pönitz
b35d3bfc5c
Abdel can't seee anythin wrong with that
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26472 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 01:39:00 +00:00
André Pönitz
082b4dbb3f
save a few cycles.
...
[in QObejct::connect() the passed signatures get 'normalized', and
'Foo const &' is turned into 'Foo' anyway]
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26471 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-21 01:35:43 +00:00
André Pönitz
47821c7a2c
fix slip
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26468 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-20 13:55:37 +00:00
André Pönitz
fc86915b0c
cosmetics. remoe strange dependency of GuiDocument.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26467 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-20 13:44:51 +00:00
André Pönitz
0f6b4e902f
save a few cycles
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26466 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-20 12:57:12 +00:00
André Pönitz
e7812d3e26
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26465 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-20 12:17:15 +00:00