Commit Graph

15681 Commits

Author SHA1 Message Date
Enrico Forestieri
024378db01 Remove workaround due to nested math hulls. See:
http://thread.gmane.org/gmane.editors.lyx.devel/110190/focus=110242


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29600 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 21:16:04 +00:00
Enrico Forestieri
318fad58a6 Don't create nested math hulls (fixes bug #5392).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29599 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 21:15:36 +00:00
Vincent van Ravesteijn
b946e2209a Fix bug #5930: Crash when undoing info-insert in math mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29598 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 21:02:14 +00:00
Vincent van Ravesteijn
71f9d3600c Fix bug #5890: Assertion when reducing the view size.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29597 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 20:26:04 +00:00
Vincent van Ravesteijn
99dc01f79b Fix bug #5458 (try 2): File reopens at LyX-start even though it was closed in previous session.
We should of course clear the list before closing each of the views. Otherwise, the second view will remove the files from the first view from the list.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29596 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 19:59:53 +00:00
Vincent van Ravesteijn
19502b9035 Fix bug #5458: File reopens at LyX-start even though it was closed in previous session.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29595 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 19:41:48 +00:00
Vincent van Ravesteijn
b5fc687888 Fix bug #4177: Lyx fails to open files with a $ character in their name.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29587 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 17:06:54 +00:00
Vincent van Ravesteijn
ba37ec9813 Fix bug #5435: DEPM is not executed when leaving an inset.
Now, it is fixed for char-forward and char-backward.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29585 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 16:56:49 +00:00
Jürgen Spitzmüller
74784942ed * disable some invalid insets in description items (covers bug 5937).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29584 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 16:53:51 +00:00
Richard Heck
6537f7aca0 Fix outliner crash reported by Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29583 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 15:49:09 +00:00
Jürgen Spitzmüller
d0fee6a49f * remove last traces of external thesaurus library and actually enable included MyThes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29580 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 08:23:49 +00:00
Abdelrazak Younes
e9be0fae66 Integrate mythes-1.1 into our source and remove support for aiksaurus. I have tested only the Cmake build system. Please test autotools and scons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29577 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-08 21:38:50 +00:00
Jürgen Spitzmüller
abc5debb42 Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29574 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-08 15:12:28 +00:00
Jürgen Spitzmüller
9d9f14ed38 * also enable LFUN_BRANCH_INSERT if we have branches only in a child.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29569 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-08 12:38:58 +00:00
Jürgen Spitzmüller
48f36f59e7 * configure.py:
- add new method that records all available alternative programs
	  as opposed to only the first found one.

* LyXRC[cpp,h}:
* LyXFunc.cpp:
	- new RCs \bibtex_alternatives and \index_alternatives, holding
	  alternative processors.

* GuiPrefs.{cpp, h}:
* PrefLatexUi.ui:
	- UI to select from a list of preconfigures bibliography/index processors.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29568 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-08 10:07:32 +00:00
Richard Heck
47595faf93 Forgot these bits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29565 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 20:44:07 +00:00
Richard Heck
675925f659 This patch introduces wrapped tooltips for some more insets.
New method wrapParas() in support, deployed in various
insets.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29564 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 18:04:05 +00:00
Richard Heck
fedf5aebe3 Thinko.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29562 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 13:56:21 +00:00
Richard Heck
cc23968475 Minor fixups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29561 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 13:53:28 +00:00
Abdelrazak Younes
73b48c22e5 Squash gcc warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29560 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 12:40:35 +00:00
Richard Heck
cca51a04c2 Move the word-wrapping code to support, so that it can be re-used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29559 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 12:23:12 +00:00
Enrico Forestieri
128c2b31d8 Avoid ugly macros in the preamble and protect underlined \cite commands
in a clever way.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29558 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 10:57:52 +00:00
Jean-Marc Lasgouttes
440df1c789 (partial?) fix to bug 5935
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29557 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 10:09:03 +00:00
Abdelrazak Younes
47aca38a5e SpellChecker context menu. Part of the continuous SpellChecker project.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29556 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-06 23:39:17 +00:00
Abdelrazak Younes
51978827f4 adjust comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29553 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-06 17:52:58 +00:00
Pavel Sanda
0920fd7b5e Introduce new format as a safety measure
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150868.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150895.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29552 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-06 16:58:15 +00:00
Jean-Marc Lasgouttes
36a811cba2 keep a cast for later
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29551 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-06 13:41:35 +00:00
Enrico Forestieri
cd62043a1b Solve problem with underlining citations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29550 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-06 10:20:40 +00:00
Vincent van Ravesteijn
d1e3d75da2 Fix bug #5131: Remember last file active.
A bool is added to the entry of a last opened file in the Session file. This bool, indicates whether the file was the last one being edited.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29546 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 12:47:44 +00:00
Pavel Sanda
04c734f7a7 Move underline text from \underbar to \uline.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150815.htm


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29545 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 11:51:55 +00:00
Pavel Sanda
5416e09ebf Heh, wrong shift ;)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29544 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 09:26:40 +00:00
Pavel Sanda
6fde8f8067 Introduce double underline and wavy underline styles from ulem
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150803.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29542 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 09:26:28 +00:00
Pavel Sanda
c4af79abf3 comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29541 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 06:24:43 +00:00
Pavel Sanda
9d5d4ec64f Commetin forgotten part of r29532 reversal
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29540 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-05 06:22:55 +00:00
Vincent van Ravesteijn
4b8376bbb3 Revert r29532 and do something less risky.
Now, the tabs are closed in reverse order, which is aesthetically better. Consequently, we have to open the files (read from the session file) also in reverse order.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29539 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 23:22:06 +00:00
Enrico Forestieri
6e7031dc5a File names must be compared taking into account filesystem case sensitivity,
otherwise the same file could be opened in different buffers by simply
changing the case of a character in the name.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29538 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 22:16:37 +00:00
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
Richard Heck
1b160bd82d Just rearranging and adding some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29158 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-09 12:55:47 +00:00
Vincent van Ravesteijn
df3cddcd37 Add "Insert label as reference" to the context menu of the TOC.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29157 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-08 22:03:28 +00:00
Vincent van Ravesteijn
695870771f Add "Copy label as reference" to context menu of the TOC.
(Note: it is not perfect yet for references in the same model as the labels).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29156 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-08 21:40:42 +00:00
Vincent van Ravesteijn
a465fcb55e TOC context menu (part 2)
* TocWidget: add context menu to toc.

* Menus: specify origin of cmd.

* GuiView: if cmd coming from toc, dispatch to GuiToc.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29155 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-08 21:06:58 +00:00
Vincent van Ravesteijn
f7f24a2709 TOC context menu (part 1): Only scroll the document to the item when the user left-clicks on the item.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29154 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-08 17:39:14 +00:00
Jürgen Spitzmüller
074b66db2f * InsetExternal.cpp:
- add XETEX to switch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29149 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-08 07:55:55 +00:00
Uwe Stöhr
23f833a92b InsetMathFrac.cpp: add some comments and remove an unused code line
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29147 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-08 00:19:57 +00:00
Jürgen Spitzmüller
cb0bfc9445 * Buffer.cpp (getDefaultOutputFormat):
- prevent crash if no formats are found (and return an empty string).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29141 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-07 11:54:02 +00:00
Pavel Sanda
ed8a3a4f91 Revert r25174
on users request http://www.mail-archive.com/lyx-users@lists.lyx.org/msg72822.html .



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29140 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-07 11:21:54 +00:00
Jürgen Spitzmüller
76afa61c78 * GuiPrefs.cpp:
- clear combo before refilling.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29139 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-07 10:59:03 +00:00
Jürgen Spitzmüller
7537a461f5 * LyXAction.cpp: update doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29138 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-07 08:49:48 +00:00
Jürgen Spitzmüller
5fd1f2211c * GuiDocument.cpp:
- minor UI fixes wrt XeTeX.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29137 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-07 08:39:56 +00:00
Jürgen Spitzmüller
25a14730ed * First step towards default view format.
The icons could be replaced by something nicer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29134 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-07 05:01:08 +00:00
Uwe Stöhr
23f9e34a08 InsetMathFrac.cpp: some code optimization
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29133 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-07 01:02:34 +00:00