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