Vincent van Ravesteijn
9ba69f3f1b
Aesthetics: Hide the tabbar when closing all windows one-by-one.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29532 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 11:53:34 +00:00
Vincent van Ravesteijn
0842e988e7
Correct indentation. This was postponed from the previous commit r29530 for clarity.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29531 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 11:50:55 +00:00
Vincent van Ravesteijn
2b21cd2f4e
Fix bug #5001 : Tab order not preserved when starting lyx.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29530 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 11:48:23 +00:00
Pavel Sanda
168ceb8763
Qt 4.5 Christmas part 2
...
Now menu works smoothly in fullscreen under linux too
http://www.lyx.org/trac/ticket/4888
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29527 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 23:33:39 +00:00
Vincent van Ravesteijn
0731078d5f
Fixing small bugs of r29518.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29526 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 23:32:16 +00:00
Pavel Sanda
381b86788d
Introduce strikeout text style (strike-through)
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150743.html
Somewhat related to http://www.lyx.org/trac/ticket/4248 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29523 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 22:45:14 +00:00
Vincent van Ravesteijn
7bf0d804e7
Add "Select Section" to outliner context menu.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29520 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 19:16:00 +00:00
Vincent van Ravesteijn
d782be1cc9
Cosmetics.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29519 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 19:02:03 +00:00
Vincent van Ravesteijn
0da78f8bbd
Introduce new LFUN_SECTION_SELECT. When this lfun is called and the cursor is in a section heading, the whole section is selected.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29518 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 18:58:00 +00:00
Vincent van Ravesteijn
f4c0f80857
Add outline-in/out/up/down to the outline context menu.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29516 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 16:06:00 +00:00
Pavel Sanda
f9158fcd8d
Fix warning of citation dialog.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29515 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 15:33:12 +00:00
Vincent van Ravesteijn
17af255396
Prevent warning when pressing OKAY while the dialog is in AUTOAPPLY_INITIAL state (GuiCharacter).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29514 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 15:27:47 +00:00
Abdelrazak Younes
33924e31ef
Fix MSVC warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29511 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 13:27:53 +00:00
Pavel Sanda
3f90a0339c
Small glitch in CharacterUi.ui
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29510 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 12:23:49 +00:00
Vincent van Ravesteijn
c7a09888a1
Add the emf and wmf graphics format as parameters to LFUN_PASTE.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29509 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 11:22:01 +00:00
Vincent van Ravesteijn
af39d35545
Adjust the location of the autosave file for unnamed docs.
...
If the document is unnamed try to save in the backup dir, else in the default document path, and as a last try in the filePath, which will most often be the temporary directory.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29508 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 10:24:12 +00:00
Vincent van Ravesteijn
aa4c7e7ef5
Fix bug #5879 (try 2): Move the autosave file of a buffer when the filename changes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29507 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 10:21:21 +00:00
Vincent van Ravesteijn
11ecc24c0c
Revert r29505. We forgot that we cannot retrieve the new autosavefile yet, because the buffer might still be marked as unnamed. So, we should first finish this administration, before we can get the location of the new autosave filename.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29506 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 10:16:49 +00:00
Vincent van Ravesteijn
dce037ed5a
Fix bug #5879 : Move the autosave file of a buffer when the filename changes (patch by Richard).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29505 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-03 09:09:33 +00:00
Vincent van Ravesteijn
3045d9b4ff
Fix the construction of a filepath after r29498. The '/' between the path and suffix was omitted when the path is a directory.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29503 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 21:29:54 +00:00
Enrico Forestieri
5822af9bba
Spare a few cpu cycles when abstmp == realtmp.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29500 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 18:55:55 +00:00
Enrico Forestieri
ccc77c73da
Speed up FileName operator== (Georg's solution).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29498 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 17:12:31 +00:00
Enrico Forestieri
e0941bdb4b
Revert r29444 (to be soon replaced by Georg's solution).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29497 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 16:39:14 +00:00
Jürgen Spitzmüller
5c27b8400e
indices -> indexes.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29496 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 15:54:45 +00:00
Pavel Sanda
e06984bc42
Remove the corner button too
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150647.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29492 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 12:43:45 +00:00
Pavel Sanda
3da9c20456
Use Qt native close button on tabbar.
...
Fixes http://www.lyx.org/trac/ticket/3724
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29491 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 12:43:42 +00:00
Jürgen Spitzmüller
e032cd934d
* add all available formats to view/update others popup icon (bug 5380)
...
patch contributed by Georg.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29490 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 08:43:22 +00:00
Pavel Sanda
d56fc2784a
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29486 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 19:51:19 +00:00
Uwe Stöhr
88015a178a
os_win32.cpp: compile fix for r29476
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29485 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 19:08:14 +00:00
Vincent van Ravesteijn
69d2e076dc
Add accept/reject change to the context menu of the toc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29480 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 17:55:26 +00:00
Vincent van Ravesteijn
7108b8e463
Add accept/reject change to the edit context menu.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29478 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 17:06:36 +00:00
Vincent van Ravesteijn
61e32e1c25
Fix some toc ui glitches:
...
- revert r26360, because this causes irritating flickering, and reset the slider in updateView instead,
- disable also the sort checkbox and the slider when the list and combobox are disabled,
- disable the keep checkbox when the type is not navigatable, as it doesn't make sense to keep something that won't change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29477 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 16:03:06 +00:00
Enrico Forestieri
b0936fac4c
When performing a reverse DVI search and the tmpdir is a symlink, the
...
DVI viewer passes back the resolved path, such that the search fails,
as internally LyX uses the unresolved path.
This patch fixes this bug by using the new method FileName::realPath
which resolves a path by getting rid of any '.', '..', or symlink
path components.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29476 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 15:18:11 +00:00
Abdelrazak Younes
f2197de98a
Fix font issue due to mispelled marking.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29474 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 13:45:30 +00:00
Abdelrazak Younes
695385374f
Fix assertion on Ctrl-N with Qt4.5.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29473 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 13:11:22 +00:00
Jürgen Spitzmüller
59b58c5c0a
compile fix (and move MyThes to firt place, since it is the preferred lib).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29470 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 11:50:04 +00:00
Abdelrazak Younes
c18baee469
Move isLetter() logic to Paragraph::isLetter().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29468 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 10:54:32 +00:00
Abdelrazak Younes
f665e65071
Forgot to commit this in previous rev. Sorry.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29467 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 10:30:16 +00:00
Abdelrazak Younes
1b168bbc69
Paragraph::updateWord() and collectWords(): Remove unneeded CursorSlice argument.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29466 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 09:56:20 +00:00
Abdelrazak Younes
ea54380e13
Initial support for continuous spell-checking. This is far from working perfectly. I reused the word completion framework to achieve this. This doesn't seem to have sensible effect over edition speed.
...
You'll need to check the continuous spellcheck option in order to test this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29465 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 09:43:40 +00:00
Abdelrazak Younes
1d2077e51e
FontList::setMisspelled(): Fix bogus code. Not really optimized..
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29463 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 09:40:05 +00:00
Abdelrazak Younes
8f1b42984d
Better compil fix than previous commit. Sorry...
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29460 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 08:44:35 +00:00
Abdelrazak Younes
fa6dae88f2
Compile fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29458 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 08:35:59 +00:00
Abdelrazak Younes
23fded1fc0
New FontList::setMisspelled() method.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29456 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 08:17:23 +00:00
Abdelrazak Younes
30c70c1670
Transfer word locating code from Text to Paragraph.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29455 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 07:26:12 +00:00
Abdelrazak Younes
ce0c09d1ae
potential compil fix.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29454 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 06:42:25 +00:00
Abdelrazak Younes
e2025f59dc
CMake/Windows compilation fix. Aiksaurus.h was not visible in frontend/qt4:
...
* pimpl the implementation details. Next step would probably be to have a virtual base class instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29453 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 06:33:19 +00:00
Enrico Forestieri
4053db1858
Speed up FileName operator==, such that working with child documents on
...
Windows and Solaris is again possible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29444 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-29 22:42:26 +00:00
Pavel Sanda
85eaa03492
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29434 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-29 09:11:48 +00:00
Pavel Sanda
477d0aa004
Disambiguate call for monolithic build
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29424 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-27 11:56:13 +00:00
Jürgen Spitzmüller
dd930b4535
* final splitindex feature addition: support for \printindex* and \printsubindex*
...
File format change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29419 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-27 06:10:25 +00:00
Enrico Forestieri
a7e1aac652
Don't try to load a nonexisting file when executing server-goto-file-row
...
as this leads to a crash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29418 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 22:52:22 +00:00
Jürgen Spitzmüller
0bd5c5fca8
* Add support for splitindex's \printsubindex command. File format change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29409 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 11:24:38 +00:00
Pavel Sanda
a329ab84a6
* doxy
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29405 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 08:39:18 +00:00
Abdelrazak Younes
3a502dfbec
Simple fix for bug 4464
...
http://www.lyx.org/trac/ticket/4464
Thanks to Vincent for showing the way.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29394 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-24 21:04:51 +00:00
Jean-Marc Lasgouttes
26b1c55e03
whitespace only
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29393 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-24 12:37:56 +00:00
Jean-Marc Lasgouttes
fcc4a0f794
Sometimes, iconv on windows returns -1, but sets errno to 0. I do not
...
know what this means, but tex2lyx did not like it at all.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29392 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-24 12:28:00 +00:00
Jean-Marc Lasgouttes
0a99e817f1
Fix bug #5912 : http://www.lyx.org/trac/ticket/5912
...
The problem was that \" was forgotten in the list of accents to check
in unicodesymbols (because it used to have its own german-centric derogatory
handling).
I took the Comprehensive LaTeX Symbols List (table 6) and added all the
missing accents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29387 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-23 13:08:31 +00:00
Vincent van Ravesteijn
b44f8eb2ef
* cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29378 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 21:17:49 +00:00
Vincent van Ravesteijn
96174d2d66
Fix bug that you can't change Info insets.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29377 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 21:16:51 +00:00
Vincent van Ravesteijn
2bc9c7c9c4
* Revert the noise.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29376 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 21:02:05 +00:00
Vincent van Ravesteijn
4c9fe33c83
* Move handling of LFUN_INSET_SETTINGS to Inset,
...
* Remove the EDITABLE enum,
* add functions hasSettings() for all insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29375 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 20:55:13 +00:00
Uwe Stöhr
f6b85a17de
InsetHyperlink.cpp:
...
- fix #5908
- break too long code lines
OK for branch too?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29366 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 00:55:55 +00:00
Pavel Sanda
3ea345b90f
Patch from Edwin - spellcheck typos.
...
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150327.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29365 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-21 21:06:21 +00:00
Jean-Marc Lasgouttes
adab0618e7
fix crash when importing LaTeX file
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29364 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-21 09:01:33 +00:00
Jean-Marc Lasgouttes
f3038bed06
Remove bogus ifdocstream constructor argument, which _may_ be the cause of
...
tex2lyx woes under windows. It may also help chktex under windows
(does it works currently?)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29361 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-20 15:40:01 +00:00
Jean-Marc Lasgouttes
ac5a6ac79a
I did this one all by myself; naughty jmarc
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29358 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-20 11:00:30 +00:00
Jean-Marc Lasgouttes
4b32876be0
revert 29349; Abdel made me do it
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29356 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-20 10:00:54 +00:00
Jean-Marc Lasgouttes
19e6f30b18
cut-and-paste made me do it, I swear
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29355 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-20 09:46:52 +00:00
Jean-Marc Lasgouttes
9c61ea54ef
compilation fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29351 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 23:03:50 +00:00
Uwe Stöhr
0ff6c86ee1
Counters.cpp: whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29350 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 22:44:46 +00:00
Jean-Marc Lasgouttes
b20965dd83
please Abdel
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29349 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 22:24:48 +00:00
Jean-Marc Lasgouttes
2e45185cd5
improve tex2lyx Usage display (on error...); describe option -e on man page; remove non-implemented -p and -r options
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29346 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 22:13:43 +00:00
Jean-Marc Lasgouttes
8d0fcad676
Speedup the expandLabel by avoiding the recursive part. The labelstrings
...
are computed recursively to get rid of any \thexxx string by the method
flattenLabelString. The values are cached in Counter objects.
On my mac, the total time (updatelabels+redraw) goes down by 30%. YMMV.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29342 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 20:05:26 +00:00
Vincent van Ravesteijn
4e685e3565
Fix bug #5758 : Crash when closing the dosbox from which LyX was started
...
The wmf_mime_ object was deleted both when deleting GuiApplication::Private as from
QWindowsMimeList::~QWindowsMimeList().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29326 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 13:43:00 +00:00
Jürgen Spitzmüller
8d97f1c6d2
* ToggleWarningUi.ui:
...
- string change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29325 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 12:30:19 +00:00
Jürgen Spitzmüller
605f6bebf2
Implement a warning dialog with a "Do not show this warning again!" checkbox.
...
Since Qt does not provide this, we have to roll our own dialog.
Hidden warnings are stored in sessions.
The dialog is currently only used in the case where an included file
has a different textclass then the master (bug 3218).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29324 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 11:57:52 +00:00
Jean-Marc Lasgouttes
22e92f0d6f
constify counters code and rename private variable counterList
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29323 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 10:06:17 +00:00
Abdelrazak Younes
ef5f53017a
transform the SpellChecker gui into a dock widget.
...
This commit introduces a new way to use the ui file in a more transparent way with regards to header inclusion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29322 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 08:57:43 +00:00
Vincent van Ravesteijn
ee4e7db35e
Add context menus to the toc for child-documents, listings and indices.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29319 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 18:53:39 +00:00
Vincent van Ravesteijn
b6ce46fb94
InsetInfo: simplify.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29317 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 17:02:48 +00:00
Jürgen Spitzmüller
521577ba4c
* InsetIndex.cpp:
...
- fix InsetPrintIndex::getStatus logic (detected by Vincent).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29316 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 16:20:08 +00:00
Vincent van Ravesteijn
6192d3dbbf
InsetPrintIndex: Fix getStatus() for INSET_MODIFY.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29315 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 16:02:36 +00:00
Vincent van Ravesteijn
ac6a7ed432
InsetInfo is editable.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29310 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 12:14:08 +00:00
Jürgen Spitzmüller
051a50439d
remember the last selection on the view/update popup button.
...
This introduces a new "sticky" popup button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29309 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 10:44:44 +00:00
Jürgen Spitzmüller
30961c95d9
* InsetInfo: fix bug 5901.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29305 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 05:57:02 +00:00
Jürgen Spitzmüller
d12426a340
New inset dialog for InsetPrintIndex (only used with multiple indices)..
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29290 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 14:29:32 +00:00
Jürgen Spitzmüller
de22184d97
New inset dialog for InsetIndex (only used with multiple indices)..
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29285 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 09:22:44 +00:00
Jürgen Spitzmüller
c090147654
* BrnachUi.ui: minor tweaks.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29284 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 09:18:51 +00:00
Jürgen Spitzmüller
c9a0462954
* GuiBranch.cpp: remove duplicated include.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29277 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-17 07:47:09 +00:00
Jean-Marc Lasgouttes
37d6ef964c
fix compiler warnings in new mathfrac/binom code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29257 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 09:15:24 +00:00
Jürgen Spitzmüller
d8396e9c7f
* LaTeX.cpp: some debug output.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29256 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 08:33:43 +00:00
Jürgen Spitzmüller
c52bd08442
Introduce splitindex support. File format change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 07:29:01 +00:00
Jürgen Spitzmüller
a86337e83f
* Converter.cpp: tell the converters that we are using pLaTeX.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29254 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 07:20:16 +00:00
Jürgen Spitzmüller
bdc31723cc
* GuiPrefs: revert unintended parts of previous commit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29253 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 06:51:19 +00:00
Jürgen Spitzmüller
fe41f206bd
* GuiPrefs: fix typo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29252 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 06:43:43 +00:00
Vincent van Ravesteijn
6643fac7db
Fix a small bug in the finding of changes. If a change starts at pos==1 and one tries to find it backwards, the character at pos==0 was also selected as part of the change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29251 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 22:09:27 +00:00
Vincent van Ravesteijn
67503f8fe1
Fix the bug that when pressing the merge button while in the middle of a change, only half of the change was found.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29250 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 22:07:59 +00:00
Vincent van Ravesteijn
ff294eb173
Update RELEASE-NOTES and LFUN documentation for the changes in LFUN_INSET_TOGGLE and LFUN_INSET_SETTINGS.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29249 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 21:41:07 +00:00
Vincent van Ravesteijn
cdd802421a
Fix bug #5435 .
...
Revert the previous fix and fix the DEPM regression.
This reverts r28910.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29248 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 20:20:42 +00:00
Vincent van Ravesteijn
586afc2a4c
* LyXAction.cpp: doxy.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29247 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 17:14:48 +00:00
Vincent van Ravesteijn
e4a6b62f03
InsetListings.cpp: simplify.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29246 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 17:00:43 +00:00
Vincent van Ravesteijn
a018cae244
Fix bug 5894: Inserting tabs with inline selections.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29245 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-15 16:42:38 +00:00
Jürgen Spitzmüller
26b361417d
* Properly separate the specific Japanese (i.e., pLaTeX) auxiliary programs (jbibtex, mendex)
...
from the standard LaTeX programs.
These programs are only used now if the document actually uses Japanese, not always if they are found.
(bug 5601 a.o.).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29238 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-13 09:53:40 +00:00
Pavel Sanda
a6145ac4cd
next attempt for PageLayoutUi
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29237 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-13 09:28:34 +00:00
Uwe Stöhr
d109eb6984
PageLayoutUi.ui: correct space between buttons and remove some strange three dots
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29236 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-13 01:35:55 +00:00
Pavel Sanda
d6819bf658
Next ui tweaks
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29232 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 14:25:51 +00:00
Uwe Stöhr
7acab93ad1
PageLayoutUi.ui: add tooltip for the new push button
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29231 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 13:19:11 +00:00
Pavel Sanda
0f77509d23
Correct naming
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29230 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 12:56:38 +00:00
Pavel Sanda
a9ffac3052
add tooltip
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29229 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 12:46:14 +00:00
Pavel Sanda
aed0adea18
Change button type for proper color in linux
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29228 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 12:40:25 +00:00
Pavel Sanda
88f32018f7
Fix background of color dialog
...
(inherit from dialog and not button for which we changed stylesheet)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29227 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 12:33:35 +00:00
Vincent van Ravesteijn
91a6ac3457
Please Andre'.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29224 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 10:11:54 +00:00
Vincent van Ravesteijn
91bcc5cdce
Cosmetics for r29220.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29223 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 09:13:46 +00:00
Uwe Stöhr
ed69577fa3
GuiDocument.cpp: remove unneeded conversion
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29222 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 00:43:05 +00:00
Uwe Stöhr
5f981cdd48
GuiDocument.cpp: fix whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29221 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 00:37:25 +00:00
Uwe Stöhr
4d30bc7579
support for \pagecolor, fileformat change
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29220 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 21:40:11 +00:00
Vincent van Ravesteijn
c1dce34f53
Enable dialogs that can apply for read-only documents.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29217 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 18:34:03 +00:00
Jürgen Spitzmüller
2943f1e880
* InsetGraphics.cpp (findTargetFormat):
...
- consider XeTeX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29205 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 13:00:10 +00:00
Vincent van Ravesteijn
95e4c52e24
* InsetLabel: Return the status for LFUN_INSERT_LABEL_AS_REF.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29201 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 11:45:11 +00:00
Vincent van Ravesteijn
86392456e8
Implement the getStatus mechanism for the context menu of the toc.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29200 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 11:43:13 +00:00
Jürgen Spitzmüller
1c738a37fb
* InsetBranch.cpp:
...
- indicate branch status in the tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29197 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 07:11:37 +00:00
Jürgen Spitzmüller
6974c65ed4
* GuiDocument.cpp:
...
- reintroduce prefix to fix gcc warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29196 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 06:52:55 +00:00
Uwe Stöhr
c841f96691
GuiDocument.cpp: remove unneeded prefix since we are there already in namespace lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29195 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 00:59:13 +00:00
Vincent van Ravesteijn
a62b68befd
Show the current type of Phantom in the Phantom context menu.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29190 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 17:21:40 +00:00
Vincent van Ravesteijn
61dffbdbcf
Fix qt assertion when requesting settings dialog of an InsetPhantom.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29189 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 17:15:02 +00:00
Jürgen Spitzmüller
a7d719fbac
* GuiDocument.cpp:
...
- minor xetex UI tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29188 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 14:39:22 +00:00
Vincent van Ravesteijn
ce8323e5d3
These insets are NOT_EDITABLE.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29187 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 14:11:39 +00:00
Vincent van Ravesteijn
3c0755b572
* compile_uic.sh: Add OutputUi.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29185 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 12:43:35 +00:00
Vincent van Ravesteijn
80228965b1
Move handling of LFUN_MOUSE_RELEASE up to Inset and remove the edit() functions for insets that do not derive from InsetCollapsable.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29184 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 12:38:32 +00:00
Jürgen Spitzmüller
823e44822e
* remove outdated RC_CUSTOM_EXPORT_COMMAND and RC_CUSTOM_EXPORT_FORMAT.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29183 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 11:11:14 +00:00
Vincent van Ravesteijn
f71a2f708e
Show inset-toggle in the ShortCuts dialog. (Why was this Hidden ?)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29182 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 11:07:54 +00:00
Jürgen Spitzmüller
60d2b3295a
* new per-document default output format. File format change.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29181 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 11:06:53 +00:00
Vincent van Ravesteijn
c199293cf1
Remove last bits of LFUN_INSET_TOGGLE that is used to show the inset settings.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29179 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 01:40:16 +00:00
Vincent van Ravesteijn
4b6a802398
Add context menus to the Toc for labels(settings), branches, graphics, citations, figures, tables.
...
This is now possible because we can dispatch all the necessary LFUNs to the insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29177 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 00:42:24 +00:00
Vincent van Ravesteijn
cc11c6803c
Make the insets accept LFUN_INSET_SETTINGS. These insets did not yet respond to LFUN_INSET_SETTINGS. One had to use LFUN_INSET_TOGGLE to show the settings dialog. Now, this dependency on LFUN_INSET_TOGGLE can be removed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29176 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 00:20:12 +00:00
Vincent van Ravesteijn
9b111ea5a6
Make the insets accept LFUN_INSET_SETTINGS. For these insets, LFUN_INSET_SETTINGS was already used to show the settings dialog (in contrast to the insets in the next commit).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29175 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 00:17:34 +00:00
Vincent van Ravesteijn
07c4880fea
* Inset: Dispatch FuncRequest.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29174 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 00:13:20 +00:00
Vincent van Ravesteijn
5c2f819adc
Make sure we also dispatch the doDispatch() and getResult() to Inset when Text could not process the request.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29173 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 00:08:50 +00:00
Pavel Sanda
d47e87f92f
Compil fix
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29172 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 23:36:34 +00:00
Vincent van Ravesteijn
2d40854a46
Move handling of LFUN_INSET_SETTINGS to Inset.cpp
...
* Inset
Handle LFUN_INSET_SETTINGS.
* LyXAction
Use the AtPoint command flag.
* BufferView
* Text3
Remove code that handled LFUN_INSET_SETTINGS. The inset/next-inset part is handled by the AtPoint lfun flag. showInsetDialog is called by Inset::doDispatch and getStatus will be handled by all insets themselves.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29171 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 23:17:20 +00:00
Uwe Stöhr
305ac4e923
Buffer.cpp: fix due to compiler warning
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29170 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 22:58:51 +00:00
Vincent van Ravesteijn
889d3591d9
* whitespace
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29169 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 22:17:32 +00:00
Vincent van Ravesteijn
305d24217f
Allow LFUNs to be relayed from InsetText to Inset if they are not supposed to be handled by the Text.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29168 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 22:15:06 +00:00
Vincent van Ravesteijn
f7cad53d1f
Remove unwanted comment.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29167 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 22:09:06 +00:00
Vincent van Ravesteijn
52460281bb
Implement InsetCommand::showInsetDialog() (declared in Inset).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29166 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 22:08:00 +00:00
Vincent van Ravesteijn
80ee77ff85
TOC context menu (part 4)
...
* TocWidget: Relay the LFUNs to the appropriate inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29165 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 18:51:07 +00:00
Vincent van Ravesteijn
ed42a06abb
TOC context menu (part 4)
...
* TocBackend: Give public access to the docIterator of the TocItem. In this way, the TocWidget can find the Inset which is related to the TocItem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29164 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 18:42:59 +00:00
Vincent van Ravesteijn
2cd997962c
Leave handling of LFUN_COPY_LABEL_AS_REF to InsetLabel and move handling of LFUN_INSERT_LABEL_AS_REF also to InsetLabel.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29163 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 18:31:17 +00:00
Vincent van Ravesteijn
49fb2980eb
TOC context menu (part 3)
...
* TocWidget: Deconstify cur in doDispatch because I need a non-const Cursor when dispatching to Insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29162 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 18:24:28 +00:00