Commit Graph

4058 Commits

Author SHA1 Message Date
Pavel Sanda
26255aeaa5 No vertical restrictions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32985 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 15:45:32 +00:00
Vincent van Ravesteijn
1fd7e3fe11 Change the ProgressView strings:
- I18n the window title,
- it's unnecessary for a window to have window in its title,
- adjust casing,
- do not use show in the view menu, 
- sync window title and menu entry.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32984 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 15:35:52 +00:00
Enrico Forestieri
0b9647aafa When activating the progress window, show the output view rather than the settings view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32980 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 14:22:02 +00:00
Enrico Forestieri
75e374c9a4 Allow shrinking the progress window.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32977 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 00:12:47 +00:00
Vincent van Ravesteijn
cdd1a5d338 GuiProgressView: Always add the new text to the end of the TextEdit. This ends the mess that the messages are pretty randomly inserted wherever the cursor is accidentally put.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32974 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 18:04:51 +00:00
Vincent van Ravesteijn
8c0cdb40d7 Better debug message.
P.S. Why is this message shown twice when switching between tabs ?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32973 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 18:01:36 +00:00
Richard Heck
ce87e6767c Check the bibliography cache only when we really need to do so. This (a)
prevents weirdness that might happen if the .bib file were to change
during updateLabels(), (b) prevents even further weirdness that might
happen if it changed during the output routines, and (c) ought to avoid
slowness caused by the repeated calls to QFileInfo::refresh() needed to
check the cache status.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32972 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:29:26 +00:00
Jürgen Spitzmüller
374b5ebd72 Hopefully fix ProgressView layout for Qt 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32968 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:10:43 +00:00
Jean-Marc Lasgouttes
1aa7e9f93b remove unnecessary code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32966 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 16:01:26 +00:00
Jean-Marc Lasgouttes
a00fbcd871 get rid of next-inset-modify ; inset-modify does the same now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32965 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 15:50:07 +00:00
Jean-Marc Lasgouttes
0553351d71 compile fix for qt<4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32964 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 14:34:14 +00:00
Jürgen Spitzmüller
ca23c482f0 * GuiProgressView.cpp: i18n.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32963 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 07:35:18 +00:00
Jürgen Spitzmüller
8d0378b75d Proposal for a more structured UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32962 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 07:30:45 +00:00
Enrico Forestieri
8c11a45b99 Don't use a hourglass cursor while diplaying alerts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32960 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-11 01:27:15 +00:00
Tommaso Cucinotta
62053efc70 Added hourglass cursor while searching.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32958 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 23:54:45 +00:00
Richard Heck
bafb725487 Declare focusInEvent so we can compile.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32953 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 19:37:08 +00:00
Vincent van Ravesteijn
72c42b0624 Fix bug #6431: Crash when closing a workarea with a pending completion popup.
The GuiCompleter has to have a parent, otherwise it is not destroyed when a GuiWorkArea is destroyed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32952 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 19:33:18 +00:00
Tommaso Cucinotta
bf6a32bab4 Fixed #6335.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32949 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 19:08:41 +00:00
Pavel Sanda
b13ec49005 One more comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32948 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 18:14:50 +00:00
Pavel Sanda
a4c95c5b3b This patch from Richard was correct.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32942 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 15:47:40 +00:00
Jürgen Spitzmüller
e2925a160f * PanelStack.{cpp,h}:
- new members showPanel, isCurrentPanel
* GuiDocument.cpp:
	- hide Child Documents panel if there are no children.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32940 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 14:46:39 +00:00
Tommaso Cucinotta
902dbf3f13 Now find/replace WAs have their focus back when switching to advanced pane, then back.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32939 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 14:02:27 +00:00
Jürgen Spitzmüller
7a7ab8f14b Add an option to assure that all aux files are maintained when using the includeonly feature, so that the
page numbering and the references of the master file are maintained in the included children (bug 1005).

I made this optional since some people use \includeonly to save compilation time, but a proper aux file update
needs a full compilation of the complete master prior to the compilation of the \includeonly master.

Hence, a new buffer param is introduced (file format change). 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32936 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 13:25:41 +00:00
Vincent van Ravesteijn
43c8de8138 Cosmetics mainly: Rename math.h to cmath, reorder some includes, remove some includes and remove some superfluous "lyx::".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32934 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-10 12:37:50 +00:00
Tommaso Cucinotta
33e123a5cd Added ALL_MANUALS scope to Advanced Find & Replace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32925 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 22:49:35 +00:00
Richard Heck
833e7085dd A little cleanup of some of the BibTeX info access.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32915 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 16:57:08 +00:00
Vincent van Ravesteijn
ecc2b2f2e0 Make the auto-completion case-insensitive.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32909 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 14:16:42 +00:00
Vincent van Ravesteijn
7ef85f0d0a Revert the unintended changes of r32905.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32908 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 13:40:37 +00:00
Tommaso Cucinotta
fb4dfdf189 Implemented "whose words" option of the Advanced F&R feature.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32905 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-09 12:39:29 +00:00
Richard Heck
1a2d8e6e25 Revert r32881.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32899 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 20:13:48 +00:00
Vincent van Ravesteijn
907ac0c1a8 Let the background widget also dispatch the keypresses to guiApp. Now, the Alt-? shortcuts (e.g., Alt-X for the minibuffer) also works when there is no document open. Besides the code is slightly simpler.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32898 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 20:08:48 +00:00
Richard Heck
58505db819 Remove unused UI file.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32883 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 14:54:35 +00:00
Richard Heck
c615a2eeea Do not reload on check-in if check-in is cancelled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32881 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 14:38:15 +00:00
Tommaso Cucinotta
95cf410456 Removed unneeded assert firing when closing LyX with F&R WA selected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32879 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 09:32:25 +00:00
Tommaso Cucinotta
090435cf27 Let the LyX logo show up when closing last document with the F&R dialog open.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32878 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 09:29:17 +00:00
Vincent van Ravesteijn
d95aaa0e5b Move reloadBuffer from GuiView to Buffer.
This fixes bug #6314: reloading master document makes emergencies of modified children.

Now also the version control handling could be moved to Buffer as well, and the hack in ensureBufferClean is removed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32875 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 02:15:56 +00:00
Vincent van Ravesteijn
570f96bc6e Add a boolean to GuiWorkArea::redraw to indicate whether the metrics must be updated. The current test "lyx_view_ != guiApp->currentView() || lyx_view_->currentWorkArea() != this" is not enough, especially not if the buffer is changed and buffer->changed() is called. Moreover, there are a lot of combinations of updateMetrics() followed by buffer->changed(), these can now be replaced by one call to buffer->changed(bool).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32874 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 02:03:54 +00:00
Vincent van Ravesteijn
41270b98b4 typo ?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32873 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-08 01:51:52 +00:00
Tommaso Cucinotta
3f1c690723 Prevent display of meaningless internal buffer title(s) to the user
(e.g., while entering text to find in the F&R WA, window title keeps
showing the filename of the document where matches are searched for).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32858 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 19:54:42 +00:00
Enrico Forestieri
5ea9ace195 Give the progress widget a minimum height.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32838 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:39:17 +00:00
Enrico Forestieri
3e00591082 This workaround is also needed for Qt 4.3 as the bug was fixed in Qt 4.4.0:
http://qt.nokia.com/developer/task-tracker/index_html?method=entry&id=101276


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32836 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 16:32:33 +00:00
Enrico Forestieri
d555c5c7bc Really fix F&R ui for older Qt versions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32833 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 15:19:36 +00:00
Vincent van Ravesteijn
785418bd2b Correct ugly/wrong code introduced in r32738. parent will never be equal to buf.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32831 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 14:25:15 +00:00
Jean-Marc Lasgouttes
a6b3f1e42d avoid a few warnings on qt<=4.4
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32830 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 14:20:58 +00:00
Jürgen Spitzmüller
1ccfe14914 * Add native support for \includeonly (bug 5360).
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32826 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 10:01:26 +00:00
Enrico Forestieri
df2ad29d02 Fix the progress ui for Qt 4.2.x.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32824 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 03:22:45 +00:00
Enrico Forestieri
e46aee81c5 Fix the progress ui for Qt 4.3.x. It now compiles also with Qt 4.2.x but
the settings window needs some other adjustment.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32823 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 02:19:21 +00:00
Enrico Forestieri
59f9c2f605 Fix F&R ui for older Qt versions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32822 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 01:59:38 +00:00
Peter Kümmel
1ba707e9e7 at least compile with old Qt versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32812 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 21:25:43 +00:00
Tommaso Cucinotta
78874e5f27 When zooming in/out with [Ctrl] + [Mouse Wheel], document WA's font is immediately updated, but if the Advanced F&R dialog is shown, its own WAs' font (find WA and replace WA) is not immediately updated, but delayed until the next editing action.
This commit fixes such behaviour, and performs the update immediately.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32794 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 18:36:13 +00:00
Tommaso Cucinotta
fe75690c03 Let's see if we can close these translations not fitting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32789 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 15:28:43 +00:00
Peter Kümmel
54975c9b53 cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32787 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 06:49:49 +00:00
Vincent van Ravesteijn
a9fd4f4f95 Fix bug #6433: read-only status is not refreshed when reloading buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32786 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 02:43:23 +00:00
Peter Kümmel
8f449c7fd3 toggle debug levels between all/selected/none
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32785 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 22:32:58 +00:00
Abdelrazak Younes
dabac3c61f Asynchronous preview: cancel too close preview or update calls.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32769 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-05 13:33:29 +00:00
Vincent van Ravesteijn
42f455cacb revert r32764.
Still this code hurts my eyes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32765 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 17:31:06 +00:00
Vincent van Ravesteijn
7356db3818 Simplify code introduced in r32761.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32764 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 17:15:24 +00:00
Vincent van Ravesteijn
95afeddc27 Make sure that the size of the checkboxes is initialized correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32763 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 17:14:08 +00:00
Vincent van Ravesteijn
7f134dadbf * GuiProgressView: cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32762 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 17:12:50 +00:00
Pavel Sanda
51086affa7 Setup checboxes according to initial values from commandline.
ProgressView seems to be prepared for use.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32761 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 15:32:05 +00:00
Tommaso Cucinotta
5cc2d6d73c Advanced F&R rework:
- scopes now handled in FindAndReplaceWidget, while lyxfind.cpp only searches within single buffer
- cursor().result().dispatched() now encodes whether a match was found or not, after LFUN_WORD_FINDADV dispatch
- removed a few unneeded functions
- followed a few cosmetic advices


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32760 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-04 12:29:38 +00:00
Pavel Sanda
61d9aa28e0 Add statusbar checkbox sessions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32758 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 17:40:40 +00:00
Pavel Sanda
e4b3af5df5 ProgressView quirks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32756 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 17:26:46 +00:00
Pavel Sanda
f8a778b9da Fix some eoln issues in progress view.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32755 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 16:54:23 +00:00
Pavel Sanda
1cbab9937b LyXErr and statusbar messages hsould have different routes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32754 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 16:30:54 +00:00
Pavel Sanda
fb876be81f I finally find my way into horiz span of ProgressView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32751 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 01:21:01 +00:00
Pavel Sanda
f78308afde Set correct tab
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32749 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 00:55:27 +00:00
Pavel Sanda
8859c5c734 Move settings into grid
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32748 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-03 00:38:07 +00:00
Pavel Sanda
90afc5fb6d PregressGuiView - resave in old designer, no update button needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32741 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-02 21:55:07 +00:00
Tommaso Cucinotta
9e5a12b905 No need for the new LyXView::selectDocumentBuffer() method, same thing may be done with LFUN_SWITCH_BUFFER (vfr advice).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32739 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-01 11:14:01 +00:00
Vincent van Ravesteijn
c04850645e When reloading a child document, reset the parent of the child to the parent of the child and not to the master.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32738 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-01 03:11:56 +00:00
Vincent van Ravesteijn
8a38b97d6b Do not clear the default master setting when cancelling the browse dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32737 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-01 02:45:22 +00:00
Vincent van Ravesteijn
481d512652 Remove unneeded std::.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32736 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-01 02:43:44 +00:00
Vincent van Ravesteijn
b9a507932f Happy new year!
The best and no more typos wished for 2010!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32726 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 23:00:07 +00:00
Vincent van Ravesteijn
31d6e4a9fc Revert r32673 and remove the extra redraw and setFocus calls.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32710 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 19:46:26 +00:00
Vincent van Ravesteijn
0a7705a673 Update the GuiLabel view when the document is read-only. Also disable the text field.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32696 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 16:47:36 +00:00
Vincent van Ravesteijn
c8dd86534d Update the GuiInfo dialog also when the document is read-only. A dialog that does not dispatch a single LFUN (see getLfun()) but is buffer dependent (see isBufferDependent()) should implement the canApply function (if I'm correct).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32695 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 16:47:02 +00:00
Vincent van Ravesteijn
6a5a1726d7 Update the view also when the document is read-only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32694 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 16:43:43 +00:00
Vincent van Ravesteijn
8e95585bbd Fix bug #6332: Do not paint the cursor after a resize event when it should be invisible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32687 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-31 13:46:10 +00:00
Richard Heck
fed94f72d5 Make gcc happy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32681 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 22:17:39 +00:00
Tommaso Cucinotta
24e2c495fe Implemented S_OPEN_BUFFERS scope in Advanced Find feature (keep searching and find all occurrences within all open buffers).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32680 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 21:50:55 +00:00
Tommaso Cucinotta
5da4ccb931 Implemented the "Current Buffer" & "Current (Master) Document" scopes in the Advanced Find and Replace feature.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32678 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 18:40:18 +00:00
Peter Kümmel
d61f81f188 use lfun
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32677 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 17:15:00 +00:00
Peter Kümmel
75f6ced64b no stl includes in debug.h
change Debug API

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32675 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 15:09:49 +00:00
Peter Kümmel
0a6118f0c7 levels are not exclusive
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32674 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-30 14:48:47 +00:00
Tommaso Cucinotta
c1cd1fbe28 Now, on C-S-f, only the findWA cursor remains visible and blinking, as it should be
(formerly, the replaceWA cursor used to remain visible but non-blinking).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32673 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-29 17:21:09 +00:00
Peter Kümmel
7a0c8c7df8 unblock gui because there could be too much debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32672 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-29 15:38:12 +00:00
Peter Kümmel
5bcf2f4f64 unblock gui because there could be too much debug messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32671 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-29 15:31:04 +00:00
Peter Kümmel
12efe108db Add Pavel's lyxerr extension, add ui for debug levels.
Still needs some fiddling with line endings.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32670 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-29 15:05:37 +00:00
Pavel Sanda
ba9c6150a4 Glitch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32668 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 22:40:45 +00:00
Pavel Sanda
9f462abe58 Introduce tabs for debug window after hard figth with designer.
If only I know how to get rid of the useless vertical spaces
in tabbar.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32667 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 22:37:51 +00:00
Pavel Sanda
6185e5a857 Debug window should have fixed widht font
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32666 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 22:02:41 +00:00
Pavel Sanda
5c141d8734 Only readonly window
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32665 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 21:56:40 +00:00
Pavel Sanda
0e85a05d42 Session info for debug window
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32664 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 21:55:50 +00:00
Pavel Sanda
3f8620eb33 Respect automatic clear
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32663 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 21:40:20 +00:00
Pavel Sanda
286f236abb Mimic the magic of r27497 to get resizable behaviour
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32662 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 21:40:17 +00:00
Pavel Sanda
85c73e7fcc Move debug window into designers stuff instead of dynamical building
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32661 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-28 21:40:14 +00:00
Peter Kümmel
0848fbc4a3 some cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32654 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-27 10:10:17 +00:00
Peter Kümmel
00bb647721 no duplicated success messages: one connection is enough
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32653 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-27 10:03:16 +00:00
Vincent van Ravesteijn
9f1be444fa Update the status bar when starting LyX (creating a new view) and when the last document is closed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32652 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-26 23:58:24 +00:00
Vincent van Ravesteijn
ecb69bb6eb Do not show empty messages in the statusbar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32638 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-25 23:30:15 +00:00
Vincent van Ravesteijn
4b9ba960ec Fix the display of messages in the status bar. This is about the "permanent" message that shows e.g., the font and the track changes status.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32637 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-25 23:29:07 +00:00
Pavel Sanda
aa77492617 Some strings already have eoln
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32632 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-25 18:00:06 +00:00
Pavel Sanda
da970d5269 No need for time in statusbar for normal messages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32631 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-25 16:52:07 +00:00
Pavel Sanda
1fdb7a0b5a processFinished is not cause of #6417
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32630 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-25 16:52:05 +00:00
Pavel Sanda
1313b38c2e Add debug.h for lyxerr usage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32629 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-25 16:52:03 +00:00
Pavel Sanda
aee4e7ba34 Reorder a bit status messages, but they are still cleared at the end of LyXFunc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32625 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 16:02:40 +00:00
Pavel Sanda
b52f6c09f7 Make easier lyxerr usage
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32623 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 15:39:18 +00:00
Peter Kümmel
1dab222d83 Don't overwrite other result messages in status bar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32622 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 14:29:55 +00:00
Pavel Sanda
0e2a2da232 isExternallyModified needs file existence.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32617 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-23 12:42:14 +00:00
Enrico Forestieri
570352c616 Allow spaces in path names for LFUN_SERVER_GOTO_FILE_ROW.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32615 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-22 21:44:14 +00:00
Pavel Sanda
a187929721 Squash gcc warn
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32614 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-22 12:00:01 +00:00
Peter Kümmel
eb3fcca0e7 also build with older Qt versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32612 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-22 10:42:34 +00:00
Peter Kümmel
1e7c296557 update other build systems, cleanup progress output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32611 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-22 10:33:01 +00:00
Peter Kümmel
7afdba6b06 re-add view for progress, cleanup follows
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32610 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-22 10:04:30 +00:00
Peter Kümmel
114f245404 also build with older Qt versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32609 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-22 09:26:45 +00:00
Vincent van Ravesteijn
a66b8d03c4 Another compile fix. (I hope this is sufficient now)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32608 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-21 15:07:51 +00:00
Vincent van Ravesteijn
24cb3d1a7f Compile fix. (I hope this is sufficient)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32607 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-21 14:52:56 +00:00
Peter Kümmel
8049e3f510 move calls to Buffer::errors and Buffer::message to GUI thread
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32606 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-21 13:11:17 +00:00
Peter Kümmel
dd4cbb3591 - Show progress information in status bar.
- Remove progress view because ATM we don't have to show anything usefull.
- move Alert:: void functions into GUI thread


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32604 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-21 11:48:19 +00:00
Abdelrazak Younes
363809c7e0 Disallow multiple concurrent previews as we are not ready for that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32603 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-20 15:43:52 +00:00
Vincent van Ravesteijn
05264e38bc Remove superfluous std::.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32602 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-20 15:07:15 +00:00
Peter Kümmel
8458a2eac3 add progress widget: update Makefiles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32600 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-20 15:04:20 +00:00
Peter Kümmel
aa613aaf01 add progress widget
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32598 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-20 14:26:55 +00:00
Peter Kümmel
b677e23c58 format is a std::string, bformat doesn't take a std::string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32596 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 20:23:18 +00:00
Peter Kümmel
48c5304c02 pass format as argument
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32593 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 19:50:19 +00:00
Vincent van Ravesteijn
45b0c6be47 Fix the threaded preview and reenable it.
Buffer::Impl::inset was set in the ctor Buffer::Impl::Impl to be a clone. However, in the Buffer::Buffer ctor the inset was set again, now to a new and empty InsetText.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32589 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 15:46:45 +00:00
Abdelrazak Younes
229a910e29 disable preview in thread for now as it doesn't work anymore...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32588 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 14:59:11 +00:00
Abdelrazak Younes
30a4203f4a GuiView: reconnect the QFutureWatcher each time the QFuture is changed. This enable to send the result properly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32586 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 12:24:44 +00:00
Abdelrazak Younes
4ed0169064 Detach Buffer preview and update preview in a new thread. Only for Qt4.4 users. This new feature can be disabled by setting EXPORT_in_THREAD to 0 in GuiView.cpp.
Two things are missing (but are fixable):
- the lack of feedback of the background latex compilation
- the error list is not shown in case of compilation error.

* Buffer:
- create a "cloned buffer" type.
- Transfer LFUN_MASTER_BUFFER_UPDATE, LFUN_MASTER_BUFFER_VIEW, LFUN_BUFFER_UPDATE and LFUN_BUFFER_VIEW to GuiView. This is good itself as these LFUN are GUI oriented.

* GuiView: detach the above LFUNs to a new thread as was already done for autosave. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32584 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 22:51:06 +00:00
Tommaso Cucinotta
019ffdd5f5 Removed unneeded commented code (fixing #6333).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32565 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 15:41:40 +00:00
Tommaso Cucinotta
d5b329502b Fix of bug #6333 (main document WA was entirely selected and cursor position lost if F&R dialog was floating - does not happen anymore).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32557 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-17 07:48:29 +00:00
Abdelrazak Younes
622e3b1e4d For Qt4.4 and up: Detach Buffer autosave into a new thread.
* Buffer: new clone() method. When this new autosave method is used the old autoSave() is not of course.

* GuiView: clone the current document buffer and save it in a new thread.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32512 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-13 21:00:46 +00:00
Vincent van Ravesteijn
2ab7e25b05 Fix bug #2948: Drag and drop support for all importable file types.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32492 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-12 15:25:45 +00:00
Uwe Stöhr
83b1c48846 replace links to bugzilla with links to trac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32469 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-11 00:59:10 +00:00
Jean-Marc Lasgouttes
b2dd36916b fix compilation with qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32433 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-08 12:27:44 +00:00
Vincent van Ravesteijn
e6d1759340 CitationUI and InsetMathChar:
squeeze warnings

output_xhtml:
  fix whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32380 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-07 01:28:14 +00:00
Richard Heck
5280ae1609 Better citation dialog fixes from Edwin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32379 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-06 23:35:07 +00:00
Pavel Sanda
782785ab5e Layout changes for Citation dialog from Richard.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32375 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-06 16:27:04 +00:00
Pavel Sanda
89bdacdeec Typos, patch from Sven.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32371 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-05 23:18:21 +00:00
Jürgen Spitzmüller
5b1617a267 ParagraphUi.ui: layout fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32242 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 16:10:44 +00:00
Jean-Marc Lasgouttes
e4a483da32 Enable "silent rules" with automake 1.11. This leads to much nicer compilation
output. The build should still work with older automake versions.

The po/ directory does not have the nice rules, because I do not want to 
modify Makefile.in.in therein.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32241 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-30 14:18:25 +00:00
Jürgen Spitzmüller
f73e3b358e * Include bibtex and makeindex logs to log file dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32230 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-29 17:15:22 +00:00
Jürgen Spitzmüller
df329341aa * Add support for per-document fontenc setting (bug 5730)
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32228 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-29 14:43:00 +00:00
Jürgen Spitzmüller
2d0195723d improve fontenc GUI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32227 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-29 13:29:36 +00:00
Vincent van Ravesteijn
0422422caf Fix bug #2179: GuiErrorList resets to first item.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32222 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-28 00:52:08 +00:00
Jean-Marc Lasgouttes
6d477dc482 suppress warning (multiplication of int by double)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32221 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-27 14:56:32 +00:00
Pavel Sanda
0787e61c3f Fix #5211 - Check documents for changes after svn update.
This could be called regularly for usage with other programs too,
but I have no idea where. Dispatch is no good idea for performance reasons.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32179 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-24 18:47:43 +00:00
Vincent van Ravesteijn
b0eec33720 Do not save an emergency file after choosing to revert the document to the version saved on this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32170 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-23 22:40:59 +00:00
Richard Heck
626e17a55d Show only those spellers that are active.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32164 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-23 14:03:19 +00:00
Richard Heck
8b99f9c5b0 Re-order these to make it clearer what needs doing.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32161 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 22:18:24 +00:00
Richard Heck
62609ef706 Prefs oversight.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32160 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 22:15:20 +00:00
Vincent van Ravesteijn
f1dd63ec24 Fixes for the FileFormat pane of GuiPrefs.cpp:
- We have to block the signals coming from viewerCO and editorCO, otherwise the signal handlers will clear the customly set viewer or editor.

- A copy-paste error made the custom viewer to be changed when changing the editor combobox.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32143 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-22 00:19:50 +00:00
Richard Heck
0e6b1220de Fix bug in Preferences>File Formats. Editor box didn't work right.
Looks like c&p errors, mostly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32113 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-19 23:37:16 +00:00
Uwe Stöhr
0b7ce1e08c - theorems-chap.module: fix a typo
- MathsUi.ui: fix again another typo in tooltip
- po-files: remerge
- de.po: new translations


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32017 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 16:18:02 +00:00
Jürgen Spitzmüller
b83415029e * MathsUi.ui: grammar fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32012 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 15:47:07 +00:00
Uwe Stöhr
d291772c5a MathsUi.ui: fix another typo in tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32008 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 14:55:50 +00:00
Uwe Stöhr
57676c67aa MathsUi.ui: fix typo in tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32007 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-15 14:47:03 +00:00
Uwe Stöhr
60cc4f8e7f MathsUi.ui: add tooltips, the same can also be done for branch if you like, Jürgen?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31992 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 21:07:22 +00:00
Jürgen Spitzmüller
b7c0fe942b * direct access from the error dialog to the LaTeX log.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31980 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-14 15:52:54 +00:00
Pavel Sanda
0ed809d7b0 Please Juergen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31971 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-13 16:25:46 +00:00
Pavel Sanda
a9214c66c5 Fix #6313.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31946 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 13:56:23 +00:00
Uwe Stöhr
d5099c8605 - introduce option to suppress the LaTeX package mhchem, fileformat change
The fileformat change is also needed because of our mistake that we load mhchem since LyX 1.6.4 automatically so that files created with LyX 1.6.4 won't compile under LyX 1.6.3. Now at least all files created or opened with LyX 1.7 can be reverted to the fileformat of LyX 1.6.x and can therefore be read by all LyX 1.6.x versions.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31941 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-11 01:48:07 +00:00
Jürgen Spitzmüller
4b9a1e2578 * GuiAbout.cpp:
- unmask e-mail addresses in the credits pane.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31936 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-10 14:45:21 +00:00
Abdelrazak Younes
82c7e15e64 Uniformize Inset construction (passing Buffer * everywhere). Lots of cleanup to do still...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31901 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 15:53:21 +00:00
Peter Kümmel
daba8bda2e cmake: fix merge build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31891 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 12:50:30 +00:00
Pavel Sanda
90ce0c669f This is still needed for keyboard focus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31878 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 15:56:15 +00:00
Pavel Sanda
d82da9a255 Fix also nomenclature dialog which was refered in #3852
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31875 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 15:22:21 +00:00
Pavel Sanda
5db67312e8 Fix bug #3852.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31874 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 15:22:17 +00:00
Vincent van Ravesteijn
8f5c3b6219 Fix bug #6144: Remover RegExp from them Menu and give the user the possibility to insert an empty RegExp in the Search field by choosing User defined.. in the Match.. combobox (what use does this option have ?).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31825 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 06:55:40 +00:00
Vincent van Ravesteijn
3b409626f0 Move CollapseStatus from Inset to InsetCollapsable (where it belongs IMO).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31824 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 05:03:09 +00:00
Vincent van Ravesteijn
8245ec900b Fix bug #5063: We don't want the combo boxes to adjust to the contents. Also, make the logic exactly the same for all comboboxes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31821 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 02:21:10 +00:00
Uwe Stöhr
8e3736c7b8 GuiBox.cpp: fix typo is comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31820 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-01 23:23:54 +00:00
Vincent van Ravesteijn
86b6bb9d18 Fix r31814: we have to close the tab not hide it. Also rename the closeCurrentTab() function to hideCurrentTab().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31815 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-31 18:14:21 +00:00
Vincent van Ravesteijn
e8ec788924 Close the correct tab when clicking one while the active tab is in another tabworkarea. This was fixed in r31072 for the cornerbutton; now it is fixed for the buttons on the tabs themselves.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31814 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-31 18:10:18 +00:00
Vincent van Ravesteijn
d156d11738 Fix part of bug #6251: When closing a buffer, only close the direct children. All grandchildren will be closed recursively by the children _and_ before it will be close by the grandparent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31797 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-29 23:28:08 +00:00
Vincent van Ravesteijn
fb2b817346 Dissect closeWorkArea and closeBuffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31796 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-29 23:22:50 +00:00
Pavel Sanda
e5098a6f0c CompareUi: set scaledContents, resave in 4.4 designer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31785 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-28 18:35:46 +00:00
Jean-Marc Lasgouttes
32f1905660 fix Ui of GuiCompare to work with Qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31747 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-26 15:45:01 +00:00
Vincent van Ravesteijn
bdf69de113 Don't set the read-only flags of the documents. The GuiCompare is modal anyway, so the user shouldn't be able to change something.
This reverts part of r31736.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31737 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-25 13:56:44 +00:00
Vincent van Ravesteijn
7227566e86 Call the Compare thread from the GuiCompare dialog.
Furthermore:
- increase safety, 
- improve error handling,
- minor cleanups,
- set documents to read-only while running the thread.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31736 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-25 13:41:46 +00:00
Jürgen Spitzmüller
d78bea45b4 * PrefDisplayUi.ui: add tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31725 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-25 09:15:18 +00:00
Jürgen Spitzmüller
ebfacbe6ce * Makefile.am: add missing file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31714 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 17:06:53 +00:00
Vincent van Ravesteijn
0fafccb7ed Change to camelbumpstyle.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31713 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 17:04:09 +00:00
Abdelrazak Younes
39d3b09150 Remove unused compile script that dates back to my initial Qt4 port...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31712 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 16:49:42 +00:00
Vincent van Ravesteijn
0e4d0ad7e9 Make trunk compile for now.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31711 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 16:17:24 +00:00
Vincent van Ravesteijn
36a8745291 set eol-styles.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31709 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 16:15:28 +00:00
Vincent van Ravesteijn
d4be6cf24c Adds the user interface for the new Comparison feature.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31707 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 15:47:05 +00:00
Vincent van Ravesteijn
316a17f414 Changes in buffer_funcs.cpp::newUnnamedFile():
- the prefix can now be supplied,
- there can be more types of unnamed files,
- the code is made more concise,
- templatefile parameter is made optional,
- "newfile" is made translatable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31704 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-24 14:20:00 +00:00
Richard Heck
5f8f8dd947 Factor out some common code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31655 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-17 22:58:44 +00:00
Richard Heck
973b0e25fb Redo the viewer_alternatives and editor_alternatives in terms of a map,
rather than a vector. This helps deal with problems involving multiple
specifications of a single command. (Even after the previous commit, 
we were still getting duplicates in the UI after every alteration of 
the preferences.) It's also more natural, anyway.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31654 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-17 22:52:16 +00:00
Richard Heck
3d19a3a820 Viewer and editor selections were not being saved.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31651 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-16 16:17:52 +00:00
Pavel Sanda
4257aa5e7f Make updating less dangerous, see comments in #6255.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31615 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-14 19:18:06 +00:00
Jürgen Spitzmüller
5f982b8c83 * InsetExternal.cpp:
* GuiExternal.cpp:
	- do not crash if the list of external templates is empty (bug #3974).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31569 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-09 12:40:34 +00:00
Jürgen Spitzmüller
2c6f0ae445 * GuiExternal.cpp:
- do not use invalid index if a template is not found. Fixes crash bug #6259.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31567 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-09 12:08:47 +00:00
Pavel Sanda
4f0957c819 Bug #6255 - Update linked files with version control
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31546 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 23:20:52 +00:00
Pavel Sanda
d67f1e3662 even better :)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31538 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 10:15:14 +00:00
Pavel Sanda
ff3b2b54f2 next compil fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31537 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 10:12:20 +00:00
Pavel Sanda
230d5fc648 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31536 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-06 10:10:13 +00:00
Pavel Sanda
3f170ec08c Fix bug #5977 - Make Close button on tabs configurable
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg154950.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31535 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-05 23:06:29 +00:00
Abdelrazak Younes
ea0cac6e7b Cleanup virtual interfaces.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31533 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-05 21:32:20 +00:00
Abdelrazak Younes
6abd0d0edf use GuiView instead of LyXView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31532 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-05 21:31:45 +00:00
Abdelrazak Younes
b794a8efb1 Kornel's gcc compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31530 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-05 14:56:51 +00:00
Pavel Sanda
a11372fa6b squash warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31528 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 22:58:53 +00:00
Abdelrazak Younes
1375c489eb gcc compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31527 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 22:40:00 +00:00
Abdelrazak Younes
b34763a4c8 Avoid indirection.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31521 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 21:23:22 +00:00
Abdelrazak Younes
3890ee964e Remove dead code and associated comments. This encoded_last_key member was never used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31520 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 21:09:39 +00:00
Abdelrazak Younes
1538827daf small LFUN status cleanups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31519 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 21:03:37 +00:00
Abdelrazak Younes
1cd45c2ae1 Transfer all keyboard related code and actions from LyXFunc to GuiApplication. Part of it should be transfered later to GuiView and BufferView. This code can probably be simplified a lot...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31518 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 20:58:20 +00:00
Jürgen Spitzmüller
73a4394e97 * GuiView.cpp (reloadBuffer):
- adjust r31510 to prevent null pointer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31513 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 14:35:12 +00:00
Jürgen Spitzmüller
42b2fa2acf * GuiView.cpp (reloadBuffer):
- make sure a child is re-allocated to its master after reloading (bug 6233).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31510 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-04 14:21:51 +00:00
Pavel Sanda
64625e0a85 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31498 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-03 23:53:47 +00:00
Abdelrazak Younes
d38ca04ff7 Move Undo::beginUndoGroup() and Undo::endUndoGroup() calls to where they are used and necessary, hopefully.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31492 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-03 19:12:21 +00:00
Abdelrazak Younes
5c2dad7029 Fix crash noticed by Bennett:
Open new document; LyX > Preferences; change
anything; click on "Save" button --> Crash. Backtrace is below.

Once again, this does not happen when no document is open.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31486 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-30 14:30:16 +00:00
Abdelrazak Younes
f8b8f20316 remove indirection from LyXView::viewStatusMessage().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31484 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-30 07:40:27 +00:00
Abdelrazak Younes
ab8e0596a9 Mac compil fix, sorry Bennett.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31481 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-28 19:19:02 +00:00
Abdelrazak Younes
a74e1b096c * Remove GuiView->BufferView->GuiView indirection.
* add a FIXME to LFUN_DIALOG_UPDATE


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31473 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-27 10:36:24 +00:00
Abdelrazak Younes
401b223dfb Transfer LFUN_INSET_APPLY from GuiView to BufferView.
The list of dialog edited inset is now stored in BufferView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31472 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-27 10:29:13 +00:00
Enrico Forestieri
3f371011f9 Fix FindAndReplace dialog for Qt < 4.4.0.
For reasons unknown to me, this also fixes the scroll bar issue!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31463 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-24 14:28:14 +00:00
Abdelrazak Younes
966da4da13 Kornel's gcc compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31460 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-24 07:20:18 +00:00
Abdelrazak Younes
66dc054c6f * Transfer LFUN_SERVER_GOTO_FILE_ROW to GuiView and clean it up a bit.
* Add a recenter() call to BufferView::setCursorFromRow() in order to get the screen centered around the found position.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31455 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-23 13:45:58 +00:00
Abdelrazak Younes
414571cf68 Get rid of LyXView::hasFocus().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31452 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-23 09:17:11 +00:00
Abdelrazak Younes
6e800efcaf Transfer special getStatus() code from LyXFunc to BufferView, GuiView and GuiApplication.
I tested this on Windows and Linux/X11 but not on Mac so...



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31451 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-23 09:07:24 +00:00
Abdelrazak Younes
1069dfa7a0 Fix crash when switching window when previous window had no BufferView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31450 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-23 07:14:20 +00:00
Abdelrazak Younes
b379d68d21 Move LFUN_BUFFER_WRITE_ALL status to GuiView with a FIXME. I believe this LFUN should go to GuiApplication.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31447 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-22 21:46:16 +00:00
Abdelrazak Younes
a3adb3a21b Introduce Application::currentWindow() and get rid of lyx_view_ member in LyXFunc.
This commit also move the Selection saving to  QEvent::WindowActivate in GuiView.cpp.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31443 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-22 21:25:32 +00:00
Abdelrazak Younes
a6201e6d63 Transfer LFUN_HELP_OPEN to GuiApplication. There's some code factorization to do in there...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31441 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-22 19:55:15 +00:00
Enrico Forestieri
db024c6c79 Fix FindAndReplace dialog for Qt 4.2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31438 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-22 00:16:02 +00:00
Abdelrazak Younes
57a531e970 Fix gcc warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31426 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-21 08:20:02 +00:00
Uwe Stöhr
cb71b8a8de GuiPrefs:
- implement an UI to specify the size of InstantPreview images
- change the default size to 1.0 because we've got many complaints that the former default size of 0.9 was too low

Both changes fix #6176.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31425 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-21 00:44:43 +00:00
Abdelrazak Younes
c1696ccae3 * Move LFUN_BUFFER_CHILD_OPEN to GuiView.
* GuiView:openChildDocument(): New helper method, I removed the comment about bug 3970 because it doesn't apply anymore with this change.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31409 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-19 16:49:31 +00:00
Abdelrazak Younes
3f15969746 LyXView: remove closeBuffer() and closeBufferAll() pure virtual interfaces
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31407 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-19 16:14:03 +00:00
Abdelrazak Younes
37f71fba12 * Move LFUN_BUFFER_CLOSE and LFUN_BUFFER_CLOSE_ALL to GuiView.
* Create a status for LFUN_BUFFER_CLOSE

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31400 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-19 14:34:46 +00:00
Abdelrazak Younes
93998bb239 * Move Buffer specific LFUNs to Buffer::dispatch() and Buffer::getStatus().
There is a FIXME in there that says that if some LFUN need to be dispatched even if the Buffer is internal then we should add some code. But I couldn't find any for now.
* Move LFUN_BUFFER_IMPORT status to GuiView where it belongs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31398 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-19 14:05:52 +00:00
Abdelrazak Younes
416caba0ec Transfer completely LFUN_COMMAND_EXECUTE and LFUN_MESSAGE to GuiView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31396 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-19 11:54:23 +00:00
Richard Heck
0dc39929a4 It appears that somewhere along the way, backing up originals when saving
got conflated with autosaving, with the result that it became impossible to
disable autosaving, as reported on the user list. This patch disentangles 
the two again.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31395 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-18 16:44:20 +00:00
Enrico Forestieri
74f6083a33 Constify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31388 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-13 18:12:11 +00:00
Enrico Forestieri
b43aa05ff1 Fix display of toolbar icons after r31255.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31387 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-13 18:09:40 +00:00
Vincent van Ravesteijn
6494fc15c1 Fix bug #6188: Assertion with multiple views of same document.
We have to prevent that two views share the same ID, also when an id was supplied (because we can open the same document twice).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31381 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-12 23:50:03 +00:00
Abdelrazak Younes
1d7d54a4a7 Move LFUN status check to where they belong.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31378 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-12 21:12:24 +00:00
Abdelrazak Younes
6854d67067 some more buffer -> document buffer fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31377 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-12 20:55:35 +00:00
Abdelrazak Younes
91bfdfe57c Move LFUN_BUFFER_RELOAD and LFUN_VC_* to GuiView. Try to use the document buffer correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31376 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-12 20:41:24 +00:00
Tommaso Cucinotta
df3df64b8a Added scrollbar that shows up when dialog too small, so all buttons are accessible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31370 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-11 17:54:21 +00:00
Vincent van Ravesteijn
3be8389d61 Move LFUN_BUFFER_SWITCH from LyXFunc::getStatus to GuiView::getStatus.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31359 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-09 05:49:51 +00:00
Jürgen Spitzmüller
3022189344 * GuiRef.cpp:
- use itemDoubleClicked() instead of itemActivated(). The latter is traditionally defined as single click
	  on UNIX, which is not desired here (bug 6204)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31319 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-07 09:04:27 +00:00
Jürgen Spitzmüller
cda4fe9dca * PrefFileformatsUi.ui:
- comboboxes adjust to contents.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31317 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-07 06:04:17 +00:00
Jürgen Spitzmüller
3ad2817292 * Menus.cpp: Spelling.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31316 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-07 05:54:51 +00:00
Jürgen Spitzmüller
37429e5e60 * Menus.cpp:
- re-add accelerators.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31314 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-06 14:35:08 +00:00
Jürgen Spitzmüller
009cb16a41 * Menus.cpp:
- show name of default format.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31313 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-06 14:28:17 +00:00
Vincent van Ravesteijn
067e770bfe Disable the TOC when no document is open.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31308 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-06 13:07:24 +00:00
Jürgen Spitzmüller
9fd1c45578 * PrefFileformatsUi.ui: tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31307 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-06 09:53:50 +00:00
Jürgen Spitzmüller
463b056463 * GuiPrefs.cpp: cut and paste issue.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31306 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-06 09:42:31 +00:00
Abdelrazak Younes
d99a821774 Small factorization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31304 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-06 09:31:05 +00:00
Vincent van Ravesteijn
26ae0f7eca Fix LyX.
In r31286, view() was changed in currentBufferView(), but in r31290 buffer() was changed in documentBufferView()->buffer().

Please be careful with this!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31300 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-05 23:40:56 +00:00
Uwe Stöhr
62af7d74fd FindAndReplaceUi.ui: typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31297 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-05 20:57:24 +00:00
Abdelrazak Younes
475fb5e65b X11 compile fix, sorry.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31293 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-05 15:40:07 +00:00
Abdelrazak Younes
9f4bd2eb42 * copy&paste fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31292 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-05 15:12:51 +00:00
Jürgen Spitzmüller
2ebb97758c * store all available viewers/editors and allow for an alternative selection in the GUI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31291 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-05 15:11:43 +00:00
Abdelrazak Younes
184345e4e7 * GuiView: get rid of Buffer() and documentBuffer() access.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31290 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-05 15:09:45 +00:00
Abdelrazak Younes
b4b19b59a3 * LyXView: get rid of two pure virtual methods.
* GuiView.h: link fix, sorry.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31287 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-05 14:48:36 +00:00
Abdelrazak Younes
722d8c757b * LyXView:
- view() -> currentBufferView()
  - add const access to bufferViews.
* GuiView.h: cleanups


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31286 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-05 14:29:11 +00:00
Uwe Stöhr
657563448d BiblioUi.ui: fix spelling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31232 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-29 19:25:43 +00:00
Jürgen Spitzmüller
9555ed3c22 * GuiIndices.cpp:
- do not issue error if renaming has been cancelled.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31229 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-27 16:47:45 +00:00
Tommaso Cucinotta
e7673ebc4d Added shortcuts for Basic/Advanced panes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31220 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-24 11:42:41 +00:00
Tommaso Cucinotta
57f1c58598 Added at the LyXView level distinction among currently selected WorkArea (and BufferView) and document WorkArea (and BufferView).
Fixes crash when opening both Toc Panel and Advanced Find and Replace Panel.
Fixes preview of document (as opposed of previewing the search/replace text) while search/replace WorkArea selected.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31203 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-22 16:16:56 +00:00
Tommaso Cucinotta
ab06049950 Advanced Find and Replace turned to a NoBuffer dialog (however, it keeps being disabled if no buffer is open, needs fix).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31202 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-22 16:09:44 +00:00
Vincent van Ravesteijn
b93ce810f9 One more obsolete comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31183 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 20:31:32 +00:00
Vincent van Ravesteijn
bb09bdfc2b Some necessary cleanup, noticed by Pavel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31182 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 20:29:40 +00:00
Tommaso Cucinotta
0029b4a217 Advanced Search GUI enhancements (tooltips, navigation, shorter labels)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31179 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 16:51:07 +00:00
Pavel Sanda
93d27a33fe Squash warning.
Maybe this parameter should be killed after last cleanup Vicent?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31177 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-21 16:46:53 +00:00
Tommaso Cucinotta
cf62c2d8e4 First implementation of feature in bug #3696
(missing files in commit, apologies).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31160 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 23:05:31 +00:00
Tommaso Cucinotta
7b8c8cfc94 First implementation of feature in bug #3696
(missing file in commit, apologies).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31158 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 23:03:13 +00:00
Vincent van Ravesteijn
6ee19b2a54 Fix bug #6129: Show paragraph marks / pilcrows.
To be activated in Tools->Preferences->Display.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31155 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 22:46:43 +00:00
Vincent van Ravesteijn
5ed9b3f33e Forgot this. This is no longer necessary as we write the session file before closing workareas.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31152 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 21:18:34 +00:00
Vincent van Ravesteijn
b45f8b96a6 File->Close All now really closes all buffers. That is, all visible buffers in all views and all hidden buffers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31151 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 21:12:53 +00:00
Vincent van Ravesteijn
66dd3db8bc Fix bug #6162: Crash after close window with master/child.
The previous fix was nonsense. It appeared to be a shameful copy-paste error. GuiView::disconnectBufferView() was exactly the same as GuiView::disconnectBuffer().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31150 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 20:55:02 +00:00
Vincent van Ravesteijn
9c44cc7360 Clear the LastOpened list when choosing "Close Window".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31148 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 20:29:16 +00:00
Vincent van Ravesteijn
f9952369ca Make new function writeSession(). Now it's no longer entangled with closing the workareas/buffers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31147 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 20:06:57 +00:00
Tommaso Cucinotta
5b1e7027ba Fixed Find LyX with replace, in common use cases.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31141 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 15:14:28 +00:00
Vincent van Ravesteijn
81403e78fc If we are in a close_event all children will be closed in some time, so no need to do it here. This will ensure that the children end up in the session file in the correct order. If we close the master buffer, we can close or release the child buffers here too.
We don't want a master buffer to release all its children immediately because that would close dirty childs without saving and would make it impossible to store the childs in a proper way in the session file. 

As, we close all children of a buffer together with the master itself, it is also no longer necessary to do it automatically. 

I'll leave it commented out for a while in case someone objects to it.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31130 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 21:18:21 +00:00
Vincent van Ravesteijn
b2588a80f3 - Ditch the in_close_event parameter, as we can use closing_ for this purpose.
- Add some comments for the functions.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31127 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 20:48:15 +00:00
Vincent van Ravesteijn
49d03a2576 If we are in a closeEvent, we don't want to close all buffers, because these may live in another View. So, only close the WorkAreas in this view.
For now, I stick to the convention that closing a buffer, will close it in all tabworkareas and all views. Therefore, when choosing File->Close All, we still close all buffers.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31126 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 20:41:29 +00:00
Vincent van Ravesteijn
64d7a33a89 Rename closeBufferAll to closeWorkAreaAll (because that's what we do). Add a new closeBufferAll function that closes all WorkArea's and then all hidden buffers. This is easy now, because we've done everything to prevent hidden buffers to be dirty.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31125 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 20:12:34 +00:00
Vincent van Ravesteijn
6e4ca1d18f Fix bug #5893: LyX closes hidden dirty buffers without asking.
Closing a tab group will now hide the buffers, but if buffers are dirty it will first ask you to save it.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31124 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 19:27:19 +00:00
Vincent van Ravesteijn
c694bbe6ea Dissect closeBufferAll and closeTabWorkArea. Unfortunately, I have two pass ugly parameters.
Forgot this one of course.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31123 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 19:05:04 +00:00
Vincent van Ravesteijn
0e5f082a57 Dissect closeBufferAll and closeTabWorkArea. Unfortunately, I have two pass ugly parameters.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31122 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 19:04:39 +00:00
Pavel Sanda
be3b0b8a98 QTreeView strikes back
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31110 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 07:20:40 +00:00
Vincent van Ravesteijn
0cf46fe101 Don't close the buffer when it is a child.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31109 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 00:04:19 +00:00
Vincent van Ravesteijn
f781cdc021 Close the correct tab when clicking one while the active tab is in another tabworkarea. This is also in 1.6.3.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31108 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 22:33:49 +00:00
Vincent van Ravesteijn
6ab8377995 Rename tolastopened to in_close_event. I forgot this in r31106.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31107 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 22:24:38 +00:00
Vincent van Ravesteijn
0e3f25489e Simplify the code, and rename tolastopened to in_close_event. Rationale: when we are in a close event we want to store the last opened files, and we don't want to close any child buffers. Closing the child buffers now will crimple the last opened files in the session file (the order of tabs that is). Child buffers are closed anyway when we are in a close event.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31106 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 21:31:24 +00:00
Vincent van Ravesteijn
c76fca43bc Closing the children of a master can be done in closeWorkArea.
This fixes yet another bug. Previously, when a master was closed, its child buffers were also released without asking to save dirty buffers. (What a mess!).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31104 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 21:25:27 +00:00
Pavel Sanda
e58280676d Hint from Andre for QTreeView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31100 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 18:43:25 +00:00
Vincent van Ravesteijn
92e8347613 Squeeze warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31093 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 15:06:40 +00:00
Pavel Sanda
4304901faf Add find debug level. Patch from Tommaso.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31092 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 14:39:00 +00:00
Pavel Sanda
788ae33371 Bullet's pref box glitch - looks like qt 4.5 changed some small finger paint and we need
to add small width so all bullets are again inside the area.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31090 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 14:22:40 +00:00
Pavel Sanda
c95d295fe1 This part of QTreeView is newer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31087 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 08:38:02 +00:00
Jürgen Spitzmüller
313f7a2842 * GuiIndices.cpp: cosmetics (corretly resize TW column).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31083 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-17 07:49:28 +00:00
Uwe Stöhr
5eeeea31e2 FindAndReplaceUi.ui: Use groupboxes to tell the user where to insert what, patch from Tommaso
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31076 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-16 00:51:02 +00:00
Vincent van Ravesteijn
372e539c6a Mark a buffer as clean when the user chose to discard the changes. This is a patch from Richard to make his emergency cleanup procedure in Buffer::~Buffer work.
Besides that, this can also been seen in 1.6.3. If you have a master and a dirty child, and the dirty child is the second tab, you'll see that when closing LyX, LyX will ask twice whether you want to save the file. Once if the file itself is closed, a second time if the master is closing all his children.

See also the previous commit that treats the case in which the tabs were switched around.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31074 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-16 00:26:14 +00:00
Vincent van Ravesteijn
263c012d4b Fix a crash when closing LyX while a master and a dirty child were open, and if the dirty child is the first tab.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31073 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-16 00:21:02 +00:00
Vincent van Ravesteijn
1520629d7c If we are hiding a buffer _and_ the buffer is visible in another view/tabgroup, then we don't need to ensure that the buffer is clean.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31065 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 21:46:39 +00:00
Vincent van Ravesteijn
845baf5016 Let's get rid of this strange Buffer * construction. After that I introduced the inMultiViews() function, it wasn't necessary anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31064 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 21:33:37 +00:00
Vincent van Ravesteijn
5679ae92f2 Rename closeBuffer to closeWorkArea, because we'll have to await whether we'll actually close the buffer or not.
Now we can also pass the WorkArea we would like to close. This fixes also the problem that hideWorkArea still wasn't correct. That's a consequence of the fact that we relied on currentMainWorkArea(). I wanted to get rid of that anyway.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31063 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 21:29:14 +00:00
Vincent van Ravesteijn
67c59b8f49 Fix a bunch of assertions.
The first thing that bformat does is to check whether the string contains "%1$s". Otherwise it asserts.

Why didn't we see this happen before ? This was revealed by the emergency saves that Richard introduced in the Buffer dtor.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31062 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 20:47:46 +00:00
Vincent van Ravesteijn
7372c173a6 Make a new function to check whether a workArea is also shown in another view.
Use this function in closeBufferAll, and use closeBuffer to hide the buffer. Now, closeBuffer will decide whether we need to save the buffer or not. Previously, the buffer got hidden even if it was dirty.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31059 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 18:13:21 +00:00
Richard Heck
c5487a3682 Move emergencyWrite() from BufferList to Buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31056 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 16:34:54 +00:00
Richard Heck
45600e36eb Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31055 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 16:03:11 +00:00
Vincent van Ravesteijn
7044b156f0 Fix crash when closing a TabGroup. Probably introduced in r27525 and revealed in r30933.
In setCurrentWorkArea d.current_work_area_ is used which is invalidated by deleting the TabWorkArea.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31054 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 15:47:12 +00:00
Pavel Sanda
ab36804b6c Fix searching bug #6139.
Patch by Tommaso.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31053 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 15:35:14 +00:00
Vincent van Ravesteijn
ffea0ce1e9 Fix a crash when applying the preferences.
The problem is that all toolbars are deleted and thus also the LayoutBox, which I made a member of GuiView. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31051 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 14:34:00 +00:00
Vincent van Ravesteijn
3c91fecb61 Among other problems still left. At least close the right tab if you use the context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31050 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-15 14:07:05 +00:00
Vincent van Ravesteijn
bbafbc884c Extend saveBufferIsNeeded with a parameter indicating whether the buffer is going into a hidden state. If so, and the user discards his changes, the buffer will be reloaded to discard the changes.
Now, the option "Hide Tab" uses closeBuffer and asks for saving intead of instantly removing the workArea.

This is part of bug #5893: we try to make sure that there are no dirty hidden buffers.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31043 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 23:12:21 +00:00
Vincent van Ravesteijn
81554c90f1 Move layout from GuiToolbar to GuiView. Now, it is possible to use the popup also when the Toolbar has not been visible before.
see: 
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg75503.html

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31042 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 22:58:57 +00:00
Vincent van Ravesteijn
7215b099d3 Remove GuiToolbar * member from the LayoutBox ctor: Why should we limit a LayoutBox to the Toolbar and it doesn't even have to know where it is.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31041 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 22:47:57 +00:00
Pavel Sanda
7031c2bc5b Move to QTreeView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31040 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 20:37:22 +00:00
Pavel Sanda
1f8c4c3f26 Move to QAbstractItemView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31039 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 20:37:12 +00:00
Richard Heck
56146a9346 Constify a bunch of stuff that can be const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31037 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 15:46:10 +00:00
Richard Heck
ea0501025e s/moduleList/theModuleList/ for style purposes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31036 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 15:37:34 +00:00
Vincent van Ravesteijn
d92ff67005 Adjust the work-around for bug #5957.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31031 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 14:58:52 +00:00
Uwe Stöhr
33eec90086 new document option to suppress the default date, fileformat change, fixes #5823
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31028 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 00:52:33 +00:00
Vincent van Ravesteijn
072237ab4b Fix assertion that was revealed in my tree.
This really has to be QComboBox::showPopup(). Otherwise, we'll hit the LASSERT(!d->inShowPopup_, /**/); in either LayoutBox::showPopup() or LayoutBox::Private::showPopup().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31020 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-13 21:32:55 +00:00
Pavel Sanda
3fbe484391 Plenty unneeded headers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31000 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 22:47:01 +00:00
Pavel Sanda
70fdfa86df Fix order
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30999 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 22:37:22 +00:00
Pavel Sanda
dc18e925a8 Compil fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30998 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 22:22:26 +00:00
Abdelrazak Younes
5f2429b4e2 This move out the GuiLayoutBox class out of GuiToolbar where it was a mess. The new LayoutBox is less of a mess now but still a mess.
We need a proper LayoutModel class.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30995 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 21:51:10 +00:00
Vincent van Ravesteijn
797f13806d Whitespace and correct naming.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30994 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 20:06:29 +00:00
Vincent van Ravesteijn
5ba1f471c7 Explicitly pass to closeBuffer whether the tab should only be hidden or that the buffer should be released.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30993 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 20:03:34 +00:00
Vincent van Ravesteijn
3ac3ab1a78 Dissect closeBuffer() and saveBufferIfNeeded().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30992 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 18:50:09 +00:00
Jürgen Spitzmüller
9b8549f5da * GuiView.cpp: disable character and symbols dialog in read-only mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30986 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 11:02:02 +00:00
Pavel Sanda
29df304528 Get rid off unneeded horiz scrollbar
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30985 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 09:46:26 +00:00
Jürgen Spitzmüller
86426344f4 Fix bug 5946: Infinite loop when opening file with two files opened with the same name
This simply changes the appearance of the display path (in the tab header) in one detail: if the file suffix is not "lyx" (but "lyx15" etc.), the file is displayed with the extension. This fixes the problem (which is due to identical display paths), and it adds, IMHO, useful information to the GUI.

Patch reviewed by vfr.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30977 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-11 12:34:06 +00:00
Abdelrazak Younes
730a67e0d1 Text::Inset(): now returns a reference in order to make clear that the owner is mandatory.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30947 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-09 16:19:43 +00:00
Pavel Sanda
8d7b7175a4 Fix #6120. Selection not set when switching to a different tab.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg153514.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30933 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-09 14:27:50 +00:00
Abdelrazak Younes
21daab357b Minimal support for hunspell. Spellchecking works but not suggestion, at least on Win/MSVC.
There are two new rc preference:

* spellchecker: can now be "aspell" or "hunspell", this is selectable in the SpellChecker preference dialog
* hunspelldir_path: needed for hunspell dictionaries which are defined to be in a fixed location. This can be modified in the path preference dialog.

The SpellChecker classes could be instanciated on the fly whenerver they are needed if we want that.

Please test and help me finish this hunspell integration...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30927 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-08 17:05:31 +00:00
Jürgen Spitzmüller
ad0f2a7dff * qt_helpers.cpp:
- omit group separators for numbers.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30922 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-08 11:48:04 +00:00
Vincent van Ravesteijn
5a5db4e5de A slightly different work-around which also captures the 25% scaling that was reported.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30919 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-08 01:25:17 +00:00
Vincent van Ravesteijn
a43e6129eb Work-around for bug #6034: Applying preferences confuses window about its size.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30897 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 12:49:03 +00:00
Vincent van Ravesteijn
31afc053ea Fix bug #740 (part 2): Wish for added menu item: File->Close all.
Now disable the menuitem when there is only 1 visible buffer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30890 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 00:41:39 +00:00
Vincent van Ravesteijn
97efae2561 Fix bug #740: Wish for added menu item: File->Close all.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30882 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-06 23:17:16 +00:00
Richard Heck
a2891daae3 Better name for variable.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30874 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-06 12:44:06 +00:00
Vincent van Ravesteijn
8e3f8fccfa * PageLayoutUi: Squeeze warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30828 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 13:08:47 +00:00
Vincent van Ravesteijn
ca66ebb1b0 Squeeze warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30820 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 21:49:26 +00:00
Vincent van Ravesteijn
95fb3513ca Remove useless tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30818 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 21:34:24 +00:00
Abdelrazak Younes
28c22d4305 Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30815 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 17:34:44 +00:00
Abdelrazak Younes
6b6cb3fe18 Factorize some code in getStatus() for LFUN_DIALOG_SHOW.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30812 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 16:55:15 +00:00
Abdelrazak Younes
a9b2b7f55d Fix an assertion with Inset::buffer():
The "character" dialog is only useful in texted.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30810 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-01 16:06:02 +00:00
Vincent van Ravesteijn
6e39c317fb Fix bug #5796: Context menu of one inset asks status of another inset.
Store the position for the context menu on mouse press. This is also done in qt but then only on the widget level. 

This avoids that e.g. the edit menu will call getStatus() of math (which causes a crash actually).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30807 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-30 18:12:29 +00:00
Vincent van Ravesteijn
42c622a3e7 * inputMethodQuery: adjust comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30798 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-27 09:48:40 +00:00
Vincent van Ravesteijn
b37146fbd9 Fix bug #6108: Crash on menu key
The wrong context menu is being expanded, because the location where the context menu is requested is computed wrongly by Qt. 

Actually, the problem seemed to be in InputMethodQuery?. For some reason, the box of the cursor is shifted right under the cursor box.

The menu key uses InputMethodQuery? to locate the context menu, just as he Japanese input method locates the box with possibilities.

1.6.x shows the same behaviour, but in that case it doesn't crash because the spellchecker entry does not exist there, but there might be another case in which it will crash.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30797 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-27 07:39:14 +00:00
Vincent van Ravesteijn
fc5dec8da5 Work-around for bug #5957.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30794 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-26 18:00:30 +00:00
Pavel Sanda
9a7c6db6cc /usr/bin/uic -tr lyx::qt_ ui/DelimiterUi.ui -o ui_DelimiterUi.h
'layoutWidget' isn't a valid widget
reported in both 4.5 and 4.1


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30787 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-26 10:43:50 +00:00
Jürgen Spitzmüller
3ec9ac5ff5 * TocWidget.cpp: disable sort option for TOC (bug 5983).
* TocModel.cpp: whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30760 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-24 13:58:02 +00:00
Uwe Stöhr
0b33b9d090 allow to use glue lengths in the HSpace dialog; file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30724 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 11:51:43 +00:00
Jürgen Spitzmüller
64c067f2d1 add tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30723 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 09:38:25 +00:00
Jürgen Spitzmüller
9c33080428 move explanatory text to where it belongs (the tooltip).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30722 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 09:29:19 +00:00
Jürgen Spitzmüller
d794aaf776 * Menus.cpp: casing fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30719 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 08:43:16 +00:00
Uwe Stöhr
efd4f71fbd allow the usage of relative lengths in the HSpace and the VSpace dialog; file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30710 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 11:22:51 +00:00
Jürgen Spitzmüller
c1595f6dd5 * GuiDocument.cpp: "Length" -> "Custom" (the other choices are also lengths).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30707 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 08:14:21 +00:00
Jürgen Spitzmüller
fcc8201d2c Document Dialog: move the listings settings to its own pane.
This shrinks the dialog to a somewhat reasonable size.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30706 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 08:09:32 +00:00
Jürgen Spitzmüller
d3870c25bc * TextLayoutUi.ui:
- fix widget heights (right version this time).
	(maybe it's time to move the listings widget on its own pane?)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30705 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 07:20:29 +00:00
Jürgen Spitzmüller
a4b3e6dc60 * TextLayoutUi.ui:
- fix widget heights.
	(maybe it's time to move the listings widget on its own pane?)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30704 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 07:17:49 +00:00
Jürgen Spitzmüller
91c0f22e20 * GuiDocument: allow insertion of glue length in parskip widget.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30702 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 05:05:48 +00:00
Uwe Stöhr
31f824e447 GuiDocument.cpp: code simplification spotted by Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30701 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 01:34:09 +00:00
Uwe Stöhr
f981863cde TextLayoutUi.ui: fix things spotted by Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30700 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 01:26:14 +00:00
Uwe Stöhr
6b970c0339 GuiDocument.cpp: allow to use percent lengths for the paragraph skip separation; file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30696 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-19 22:08:58 +00:00
Uwe Stöhr
53e7a92494 support to specify the paragraph indentation in the document settings dialog; introduces the new class HSpace; - file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30694 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-19 21:13:27 +00:00
Jürgen Spitzmüller
3020ec058f * Validator.{cpp, h}:
- add usignedGlueLengthValidator

* GuiVSpace.cpp:
	- re-allow the insertion of glue lengths (regression of the qt4 frontend)
	  (bug 6097)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30692 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-19 16:53:50 +00:00
Vincent van Ravesteijn
768b216c83 Fix bug #4906: Files always reopened in tabbed window on launch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30690 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-19 14:34:14 +00:00
Jürgen Spitzmüller
11d3a3b7bc * fix bug 6089.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30667 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-18 13:46:05 +00:00
Richard Heck
277e74ff9c Move these declarations closer to where they are used.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30654 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-17 21:44:19 +00:00
Richard Heck
660b950aa7 Make sure these are the same....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30653 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-17 21:41:04 +00:00
Richard Heck
4f6f4cf7ab Fix problem noted by Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30652 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-17 21:36:34 +00:00
Pavel Sanda
f2fd22f132 Close bug #934.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30649 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-17 17:10:10 +00:00
Richard Heck
375d1526bb React better if we can't find bind files. Related to bug 6076.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30639 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 23:12:45 +00:00
Jean-Marc Lasgouttes
70e6cac727 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30637 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 22:29:05 +00:00
Richard Heck
fd8c379545 Fix bug #6076. As said there, other configuration files probably need to be checked.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30636 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 22:24:39 +00:00
Jean-Marc Lasgouttes
41003ea0eb remove some explicit tests against ERT_CODE; more to come
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30625 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 10:08:13 +00:00
Vincent van Ravesteijn
5862b252db Fix the enabling of the custom page size field in GuiDocument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30624 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 08:39:22 +00:00
Vincent van Ravesteijn
0dd2067a8f Fix bug #6070: Width unit cannot be set in tabular dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30622 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 07:47:02 +00:00
Vincent van Ravesteijn
52b1bd4c09 Revert r30390 and r30391. This seemed not to be necessary (bug #4509).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30616 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 01:47:30 +00:00
Jean-Marc Lasgouttes
c4fafe11c9 fix ticket #6081
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30572 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 16:01:55 +00:00
Jean-Marc Lasgouttes
b05a94c3dd Fix again ticket #1720. This got broken during frontend reorganization.
The situation now is almost good, although preference and about LyX are now disabled.

I moved the code that sets buffer to 0 to LyXFunc::getStatus, where it belongs.
I also set lyx_view_ to 0 when the window does not have focus.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30557 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 11:36:08 +00:00
Uwe Stöhr
86fab2cefa TextLayoutUi.ui: group everything into boxes for a consistent layout with the other document settings UI
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30555 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 01:40:51 +00:00
Uwe Stöhr
14efd07a82 PageLayoutUi.ui: group everything into boxes for a consistent layout with the other document settings UI
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30554 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 01:38:15 +00:00
Uwe Stöhr
b015528fca update author settings for the files I recently notably modified
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30553 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 23:25:47 +00:00
Jürgen Spitzmüller
e6f922009f * Add possibility to append active branch names to the output file name (#3105).
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30546 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 14:30:08 +00:00
Jürgen Spitzmüller
bbfc419c10 Finally make the label color of multiple index entries work.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30533 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 06:46:52 +00:00
Uwe Stöhr
8c2d81bc34 MathMatrixUi.ui: proper naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30526 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 22:15:46 +00:00
Uwe Stöhr
802067ecdc support for matrix decoration in the MathMatrix dialog;
introduces a new LFUN and fixes #4620

This can in principle also go to branch when new LFUNs are there allowed, Jürgen?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30523 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 21:39:21 +00:00
Uwe Stöhr
1da9addbed TabularUi.ui: add and correct a tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30522 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 21:36:02 +00:00
Vincent van Ravesteijn
1bce8f15af Fix the infinite loop when automatically closing the view after a on_lastWorkAreaRemoved() signal was received.
In this case, all workareas are closed, but the tabworkarea still exists.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30521 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 20:42:14 +00:00
Jean-Marc Lasgouttes
0e5695f933 fix another warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30518 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 17:54:35 +00:00
Jean-Marc Lasgouttes
91d7e3b191 (try 2) fix a couple warnings after the number localization patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30517 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 17:32:23 +00:00
Jean-Marc Lasgouttes
c355edfb6d revert r30515: too many files there
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30516 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 17:30:56 +00:00
Jean-Marc Lasgouttes
834bfe5e21 fix a couple warnings after the number localization patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30515 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 17:28:46 +00:00
Jürgen Spitzmüller
52d9b45b0c Add support for number localization in the GUI (using Qt's locale facilities).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30511 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 15:44:26 +00:00
Enrico Forestieri
d2e8e53bb1 Fix bug #6063: Keylogger lyx::lyxbreaker: Crash in Math.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30497 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 10:52:28 +00:00
Jürgen Spitzmüller
1704c727de * GuiBranches.cpp: avoid message after cancel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30487 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 17:29:52 +00:00
Uwe Stöhr
c5f225ce63 TabularUi: follow our naming convention
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30483 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 14:43:30 +00:00
Uwe Stöhr
8a3a2baf6d - GuiTabular.cpp: longtables cannot have a vertical alignment
- InsetTabular.cpp: write the alignment as last features (to match the existing tex2lyx routines)
- InsetTabular.h: fix indexes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30482 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 14:33:05 +00:00
Uwe Stöhr
f90d0ca093 TabularUi.ui:
- correct spacing for the border tab
- move break line to group box in longtable tab

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30481 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 14:00:29 +00:00
Uwe Stöhr
424943af89 - support for longtable alignment, fileformat change
- GUI support for table alignment

(all comments to the polished layout of the table dialog welcome)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30477 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 13:09:45 +00:00
Uwe Stöhr
e48e791465 GuiTabular.cpp: revert r30422 as discussed o the list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30472 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 11:10:38 +00:00
Jürgen Spitzmüller
cbce556e0b * GuiDocument.cpp:
- update colors before changing branches.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30471 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 10:53:29 +00:00
Jürgen Spitzmüller
201a22b96f * GuiDocument.cpp:
- clear changedBranches_ cache after branches were changed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30470 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 10:31:32 +00:00
Jürgen Spitzmüller
5c4758357f * GuiDocument.{cpp,h}:
- do not rename branches in the document unless the dialog was applied.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30466 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 09:37:28 +00:00
Jürgen Spitzmüller
eab8801afe * GuiBranches.cpp:
* GuiIndices.{cpp,h}: more UI polishment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30462 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 06:29:57 +00:00
Jürgen Spitzmüller
5166030174 * GuiBranches.{cpp,h}: UI polishment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30461 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 06:12:27 +00:00
Jürgen Spitzmüller
4762b2168f revert unintended commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30460 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 05:38:27 +00:00
Jürgen Spitzmüller
5fdd2daa9c * Add ability to rename branches (bug 4128).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30442 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 06:49:51 +00:00
Edwin Leuven
70a24259f8 continue spellchecking after "replace all"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30438 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 20:03:00 +00:00
Jürgen Spitzmüller
0e6724622f * GuiLog.cpp: don't forget Package warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30432 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 16:17:40 +00:00
Jürgen Spitzmüller
34c4325570 LogUi.ui: string redundancy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30430 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 16:06:47 +00:00
Jürgen Spitzmüller
9172018008 LogUi.ui: typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30428 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 16:01:23 +00:00
Uwe Stöhr
4b55ed8202 GuiTabular.cpp: fix #6057
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30422 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 11:17:14 +00:00
Jürgen Spitzmüller
341ac91738 *sigh*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30421 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 11:16:27 +00:00
Jürgen Spitzmüller
17986e7509 Ease the pain with unknown branches:
* on paste, ask if unknown branches shall be added to the branch list
	  (entails new LFUN_BRANCH_ADD)
	* add a list of undefined branches to the buffer and the GUI

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30419 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 09:48:34 +00:00
Vincent van Ravesteijn
93feef62b8 Fix bug #5998.
When one document has a split view, closing this document will close two splitters at a time.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30416 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-08 21:37:37 +00:00
Uwe Stöhr
a165cec754 GuiTabular.cpp: correct a comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30407 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 19:24:07 +00:00
Jürgen Spitzmüller
cf7a54d6ea * NomenclUi.ui: fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30402 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 12:24:23 +00:00
Uwe Stöhr
c5208a21ec NomenclUi.ui: fix #3936 also for the description field of the nomenclature dialog as reported in #6054
OK for branch too?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30401 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 12:06:15 +00:00
Jean-Marc Lasgouttes
73f9991eec Fix #6013: SIGABRT if we spell check inside a math macro, and then hit replace
This is just a matter of checking that we are in an insettext before calling 
replaceSelectionWithString. I guess there are other good ways to fix the crash.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30399 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 10:50:27 +00:00
Jürgen Spitzmüller
bca1c1b92b * PreambleUi.ui:
- fix bug #3936: Paste into preamble gives wrong font size.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30394 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 08:12:28 +00:00
Vincent van Ravesteijn
5b888f0bc9 Wrong casing...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30391 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 22:14:47 +00:00
Vincent van Ravesteijn
e02afb345a Fix bug #4509: Default focus of SearchUi should be "Find Next".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30390 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 22:11:05 +00:00
Jean-Marc Lasgouttes
5784b88f65 Patch from Ben M.: do not accept key events if we do not know what these keys
stand for.

This fixes bug #6043: Windows multimedia keys intercepted



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30389 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 16:14:20 +00:00
Abdelrazak Younes
b8e5440bef LFUN_WORD_REPLACE: Invert replacement and searched strings in the FuncRequest argument. This is to allow replacement of current word even if it is not selected.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30360 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-04 23:02:27 +00:00
Abdelrazak Younes
c95f44b0b1 GuiSpellchecker: add 'Find Next' and 'Replace All' buttons.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30350 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-04 17:15:27 +00:00
Jürgen Spitzmüller
7664ae5347 * PrefLanguageUi.ui: correct tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30329 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-01 08:26:06 +00:00
Jürgen Spitzmüller
7720592b2d * GuiApplication.cpp (readUiFiles):
- only reset settings if a file with Toolbars has changed. This should significantly decrease
	  the number of circumstances where the settings are lost unnecessarily.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30317 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 11:00:16 +00:00
Vincent van Ravesteijn
c0ac23512e Cosmetics and constify.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30309 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 23:43:23 +00:00
Jürgen Spitzmüller
2efcbb74d6 * do not change name of QSettings config file on LyX version change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30301 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 08:44:32 +00:00
Abdelrazak Younes
5d40a42f60 Paragraph::collectWords() and MenuDefinition::expandSpellingSuggestions(): reuse Paragraph::spellCheck().
Paragraph::collectWords() now also collects spellchecker suggested words for inline word completion.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30240 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 08:54:21 +00:00
Pavel Sanda
ae9bcc7760 Fix of fix of fix of fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30239 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 08:20:10 +00:00
Abdelrazak Younes
e8d462799c Proper fix for the warning that Pavel noticed. The problem was that the local variable d shadowed the private d one.
And I of course also put back the semi-colon fix.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30233 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 22:08:04 +00:00
Abdelrazak Younes
369b0714d6 Crash fix: end of doc check was wrong following previous cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30232 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 21:49:48 +00:00
Pavel Sanda
f9621a5255 http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg152311.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30228 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 21:06:00 +00:00
Abdelrazak Younes
14864ab16a Bug fix?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30225 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 20:16:08 +00:00
Abdelrazak Younes
59cd6fd17c Spellchecker: Fix ignore button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30224 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 17:40:09 +00:00
Jürgen Spitzmüller
5a54d11157 * Pop up error dialog if issuing master-buffer-[view|update] and errors occured.
Navigating in such dialogs does not work yet, but at least the user is informed
  at all that LaTeX wasn't succesful.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30209 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-21 12:26:41 +00:00
Jean-Marc Lasgouttes
dae70977a0 get rid of the \use_escape_chars pref, which was not used
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30161 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 15:53:49 +00:00
Jean-Marc Lasgouttes
889fdbd39b get rid of the \use_alt_language pref, which was not used. Instead, we test whether \alt_language is empty
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30159 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 15:31:43 +00:00
Jean-Marc Lasgouttes
c676b24359 prefs \use_personal_dictionary and \personal_dictionary are not used anymore (ispell only)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30156 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 13:30:28 +00:00
Jean-Marc Lasgouttes
6b92b1c6ae pref \use_input_encoding is not used anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30155 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 10:56:33 +00:00
Jürgen Spitzmüller
0898e385a7 * LogUi.ui: cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30154 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 10:20:20 +00:00
Jürgen Spitzmüller
8e109a4153 * GuiLog.{cpp,h}:
* LogUi.ui:
	- add some basic navigation facilities.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30153 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 09:35:51 +00:00
Pavel Sanda
a45c849f3b Refactorize GuiView::showView.
This way we get rid of pop-uping of widgets when ~/.config/LyX is re-created
and yet we still have title and enabling status correct when widgets are
restored from session.
Some details in bug #5082.

This is candidate for branch too.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30144 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 17:22:43 +00:00
Pavel Sanda
65f641ac1d Better fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30143 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 14:33:29 +00:00
Pavel Sanda
bb9721cbd1 Not needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30142 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-16 14:29:20 +00:00
Jean-Marc Lasgouttes
471e25647f fix crash when pressing Down in command buffer and the history is empty
(reported by John McCabe-Dansted's monkey test)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30107 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 09:08:18 +00:00
Pavel Sanda
4c60c41731 Add missing gui element for autocorrection rc
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147374.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30090 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-13 22:23:19 +00:00
Uwe Stöhr
b2f0d517e2 GuiCitation.cpp: fix #5987
OK also for branch?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30061 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 00:17:13 +00:00
Richard Heck
cde33577df Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30051 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-11 21:13:41 +00:00
Jean-Marc Lasgouttes
626d14aa54 fix a few compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30032 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-09 13:17:07 +00:00
Jean-Marc Lasgouttes
aeb5d2f1e6 add binding information to toolbar button tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30019 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-08 15:36:32 +00:00
Uwe Stöhr
9dd13b284f unify shortcuts to avoid doubled entries in the po-files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30010 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-07 16:19:40 +00:00
Vincent van Ravesteijn
46dcc4fcd0 Fix bug #5980: 'Maximum last files' setting doesn't go beyond 9.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30009 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-07 15:19:41 +00:00
Enrico Forestieri
3e18652f8e Fix doubling of bibtex and index alternatives everytime preferences are saved.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29876 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 12:49:41 +00:00
Jean-Marc Lasgouttes
864773d7d9 Allow literate documents other than noweb to work out of the box. Currently
only sweave is supported (for building documentation, not programs).

Layout files allow a new OutputFormat tag 

Modules can be conditionned on a feature of the type from->to, indicating that
it should be possible to convert from format 'from' to format 'to'.

Layout format incremented to 15.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29874 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 08:59:25 +00:00
Enrico Forestieri
6c7cbfa7a1 Don't write a \bibtex_command to the preferences file if not needed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29871 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 00:25:40 +00:00
Enrico Forestieri
c0127e8ede Fix the bogus "bibtex" option for the bibtex command in preferences.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29870 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-27 22:24:05 +00:00
Vincent van Ravesteijn
25f946f19d Remove black box around GuiWorkarea? which is visible with Qt4.5.
Now also when returning from full-screen mode.

see r28747.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29861 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 22:37:14 +00:00
Enrico Forestieri
fe82ab8c5d Fix PrintNomenclUi.ui as uic 4.2.3 says it is not valid.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29860 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 22:02:51 +00:00
André Pönitz
d5e1b377d3 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29859 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 21:52:57 +00:00
André Pönitz
e582d149d4 Introduce an option to keep the menubar visible in full screen mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29858 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 21:41:45 +00:00
André Pönitz
e5b3cdf650 constify GuiPrintNomencl::isValid()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29852 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 16:19:03 +00:00
Pavel Sanda
3d475e5b44 Leftover
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29822 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 12:52:23 +00:00
Pavel Sanda
b7ca24d637 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29818 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:48:30 +00:00
Pavel Sanda
99da022d51 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29817 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:48:22 +00:00
Pavel Sanda
a2b1d2bed9 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29816 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:30:52 +00:00
Pavel Sanda
46ef6b0e48 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29815 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:30:50 +00:00
Pavel Sanda
3389ded11b Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29814 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:30:47 +00:00
Pavel Sanda
884c682a27 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29813 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:15:24 +00:00
Pavel Sanda
950522d95a Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29812 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 10:15:18 +00:00
Pavel Sanda
666bf1a261 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29811 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 09:47:20 +00:00
Pavel Sanda
079ef62651 Next camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29810 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 09:40:44 +00:00
Pavel Sanda
db0d8a1131 Another camel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29809 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 09:28:33 +00:00
Pavel Sanda
adbc064959 Camelize another slot
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29808 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 09:06:50 +00:00
Jürgen Spitzmüller
660ce9aab6 stickToCodingConventions.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29807 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 08:01:38 +00:00
Jürgen Spitzmüller
0227cef5bd * GuiParagraph.{cpp, h}:
- fix enabling/disabling of "Longest Label" widget.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29806 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 07:45:46 +00:00
Jürgen Spitzmüller
4136ee80db GuiPrintNomencl: More descriptive UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29803 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-23 05:30:01 +00:00
Pavel Sanda
64d96bc099 Please Juergen wrt #5307
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29791 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 21:35:18 +00:00
Jürgen Spitzmüller
0e69c68f71 Tooltip and label changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29786 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 17:52:20 +00:00
Jürgen Spitzmüller
c881b9f49a GuiPrintNomencl.{cpp,h}:
- custom without length is not valid.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29785 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 17:35:50 +00:00
Jürgen Spitzmüller
9d02de79d8 forgot to add these files in r29779.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29784 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 17:17:45 +00:00
Jürgen Spitzmüller
0599991454 reorder.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29783 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 16:41:20 +00:00
Jürgen Spitzmüller
8dbb980a91 reorder.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29781 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 16:35:11 +00:00
Jürgen Spitzmüller
e9cbe2f80f A GUI for nomencl settings. Adds the possibility to enter a custom length.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29779 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 16:26:15 +00:00
Jürgen Spitzmüller
9f48cc9137 whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29778 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 16:00:29 +00:00
Jürgen Spitzmüller
7ba2bfb81d * Per-document setting for bibtex and makeindex.
File format change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29774 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 07:20:00 +00:00
Uwe Stöhr
8f3acbb484 remove unused includes of convert.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29772 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-21 21:02:14 +00:00
Vincent van Ravesteijn
60b26d1aac Fix the copy label as ref for equations from the context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29754 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-20 23:58:29 +00:00
Pavel Sanda
8059f0a895 Fix bug http://www.lyx.org/trac/ticket/5307
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29751 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-20 20:00:31 +00:00
Vincent van Ravesteijn
7ff6379445 Fix a few enable/disable problems for longtables:
- set header, set first-header-empty, unset first-header-empty,
- set header, set first-header-empty, unset header

The same also for footers.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29716 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 18:27:39 +00:00
Enrico Forestieri
9d2a11fa46 Correct typo (his -> this).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29711 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 11:36:16 +00:00
Jürgen Spitzmüller
eb2dc6d0b3 formatting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29708 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 09:36:07 +00:00
Vincent van Ravesteijn
54bb684f30 Fix bug #3918: Toggle outline button update when clicking x.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29673 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 23:46:42 +00:00
Jean-Marc Lasgouttes
188333b8cb headers cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29664 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 09:20:58 +00:00
Vincent van Ravesteijn
7ed6d9c3f1 Compile fix & whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29660 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:43:01 +00:00
Uwe Stöhr
152b32684d GuiView.cpp, LyXAction.cpp: sort entries
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29659 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 23:37:18 +00:00
Vincent van Ravesteijn
0a5cb3674c Restore the possibility to call insert-plaintext without argument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29643 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 18:41:08 +00:00
Jean-Marc Lasgouttes
b71cd66384 remove duplicated (and probably not really correct) code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29639 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 07:12:25 +00:00
Vincent van Ravesteijn
7083f02b1d Prevent two more assertions due to non-absolute filename as a parameter of file-insert-plaintext.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29638 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 00:15:16 +00:00
Vincent van Ravesteijn
d931c7d992 Prevent assertion due to non-absolute filename as a parameter of buffer-switch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29637 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-11 23:53:50 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Vincent van Ravesteijn
0de1e7730f Fix bug #4510: GuiInclude->Edit marks master as changed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29129 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-06 20:10:13 +00:00
Jürgen Spitzmüller
737e9b2c20 start XeTeX support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29119 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-06 06:58:30 +00:00
Vincent van Ravesteijn
bb5b02a362 Fix bug #2213 (part 3): GuiChanges lacks "Previous Change" button.
Add Button to GuiChanges.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29110 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-05 19:15:52 +00:00
Abdelrazak Younes
193074b384 Spellchecker: More simplifications.
This change makes it possible (at long last!) to go to the work area, do some edition and then come back to the SpellChecker. We probably need a [Continue] button.

* Buffer::nextWord(): go back a bit to return the current word.

* SpellChecker and Dialog: get rid of the complicated, useless exitEarly() handling.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29092 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-04 17:25:14 +00:00
Abdelrazak Younes
64c3229bd7 Hum...
Copy&paste bug fix.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29091 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-04 16:55:13 +00:00
Abdelrazak Younes
a4169da139 More SpellChecker cleanups.
* Buffer::spellCheck() new method constructed from mutiple bits of GuiSpellchecker.cpp.

* GuiSpellchecker: lots of simplifications.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29090 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-04 16:40:47 +00:00
Pavel Sanda
6eddca5440 Compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29080 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-04 10:15:06 +00:00
Vincent van Ravesteijn
6b5ce8a999 Fix bug #3038: wish for lfuns for zoom-in and zoom-out
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29077 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-04 09:14:38 +00:00
Richard Heck
876dc0d54e Fix up a few little things after r29065. If we're calculating the autosave
filename in a different way, we need to make sure we always do it the same
way. Makes more sense to do this in Buffer anyway.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29073 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-04 03:13:46 +00:00
Richard Heck
dd8a3f6f83 Fix comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29072 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-04 03:10:54 +00:00
Vincent van Ravesteijn
e207b0250f Make sure that the document is only scrolled to the cursor when the cursor is/was visible before resizing .
Resizing can occur by toggling toolbars (bug 4733), or by creating or closing buffers which causes the tabbar to toggle (e.g. bug 4174, comment 5).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29066 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 21:39:06 +00:00
Pavel Sanda
5806be1528 Fix bug http://www.lyx.org/trac/ticket/5812
(Icons replacement broken)

Patch from Martin Engbers.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29057 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 17:00:09 +00:00
Vincent van Ravesteijn
cdaefbf484 GuiViewsource:
* Revert cs 28992 and do something better to fix the bug that the view source window remains disabled forever when autoUpdate is not checked and the view source window gets disabled or LyX is closed.
* Update the source window, when autoUpdate checkbox is toggled.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28999 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-01 20:32:26 +00:00
Vincent van Ravesteijn
14d0e66eae Fix bug that the view source window remains disabled forever when autoUpdate is not checked and the view source window gets disabled or LyX is closed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28992 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 15:29:51 +00:00
Jean-Marc Lasgouttes
3030a279ac fix two compiler warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28978 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-30 10:36:05 +00:00
Abdelrazak Younes
a7dfd5796f Simplifications
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28975 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 21:35:37 +00:00
Abdelrazak Younes
34bddccb13 * Singleton-ify the used SpellChecker object.
* Simplify Aspell construction as the object is capable of supporting multiple languages at the same time.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28974 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 21:18:16 +00:00
Abdelrazak Younes
29c40527e5 Put the foundations to support continuous spell checking.
* Font: new misspelled_ member.
* GuiPrefs/PrefSpellchecker: new check box to enable/disable continuous spellcheck.
* LyXRC: new spellcheck_continuously parameter.
* RowPainter: new paintMisspelledMark() method.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28973 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 19:57:30 +00:00
Abdelrazak Younes
1141ccb997 * rename SpellBase to SpellChecker
* make it a pure virtual interface
* delete alive() method as this one is not useful anymore since we killed ispell support.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28972 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 19:49:52 +00:00
Vincent van Ravesteijn
da242ecd12 Prevent assertion with command 'buffer-switch xxx' in which xxx is not the name of a loaded buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28966 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-29 02:29:15 +00:00
Abdelrazak Younes
1ec0b390f5 Transfer some general code from GuiSpellchecker to Buffer and DocIterator.
* Buffer::nextWord(): new method to search for next word.
* DocIterator.cpp: new function isLetter() moved from GuiSpellchecker.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28963 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 19:02:49 +00:00
Abdelrazak Younes
dc1d8af9a2 Painter::wavyHorizontalLine(): new method for inline spellcheck purpose.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28961 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 16:37:28 +00:00
Vincent van Ravesteijn
b2e3355bf5 Preferences dialog fixes:
* accelerator clashes,
* missing accelerators, and
* strings (capitalization). 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28960 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 13:13:13 +00:00
Jürgen Spitzmüller
5a4e4dec15 Fix bug 5863:
* beamer.layout:
* powerdot.layout:
	- those provide geometry

* BufferParams.cpp:
* GuiDocument.cpp:
	- implement provides("geometry")

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28957 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 10:48:16 +00:00
Vincent van Ravesteijn
7ad28349ab Fix bug 4935: Scroll down below document
http://bugzilla.lyx.org/show_bug.cgi?id=4935

* GuiPrefs: Add an option to the Editing dialog.

* BufferView: Scroll below document if the option is set.

* LyXRC: Write/read the option from preferences file.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28947 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 17:41:58 +00:00
Vincent van Ravesteijn
1bbcd403fc Fix bug 4733: Auto popup of math toolbar hides the math editor
http://bugzilla.lyx.org/show_bug.cgi?id=4733

* GuiWorkArea: This adds "buffer_view_->scrollToCursor();" to GuiWorkArea::resizeBufferView() to make sure that the cursor remains visible. 

* BufferView: Make sure that we can call the scrollToCursor function without causing a new repaint.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28946 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 17:27:38 +00:00
Vincent van Ravesteijn
2420f5ed1e Fix bug 4441. GuiRef: Ok button must be default.
See also:
http://www.lyx.org/trac/changeset/28784
http://www.lyx.org/trac/changeset/28726
http://bugzilla.lyx.org/show_bug.cgi?id=5695



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28940 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 13:53:01 +00:00
Jürgen Spitzmüller
88421aaeda Fix bug 5851: Branch definitions not shown in Insert>Branch menu if master is set.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28934 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 11:44:40 +00:00
Jürgen Spitzmüller
5be56b517a Fix bug 5827 (validate date-insert argument):
* src/support/os*.{cpp,h}:
	- new function is_valid_strftime that validates strftime arguments, 
	  OS dependant (win32 differs here)

* src/Text3.cpp:
	- use is_valid_strftime in LFUN_DATE_INSERT status check.

* src/frontends/qt4/GuiPrefs.{cpp, h}:
	- new GUI validator for strftime.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28932 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 11:22:54 +00:00
Jürgen Spitzmüller
e47e1cd751 * PrefPaths.ui:
- fix some "buddies" (accelerators).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28931 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 10:27:45 +00:00
Richard Heck
837661a255 Enhance LyX by fixing bug 5872.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28920 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 12:29:54 +00:00
Richard Heck
b0177410b0 Make LFUN_BUFFER_NEXT and _PREVIOUS skip documents that are open
but not shown.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28900 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 14:34:42 +00:00
Enrico Forestieri
350e43c482 More Ui tweaks for Qt 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28879 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 15:14:13 +00:00
Enrico Forestieri
9925d1f88a Fix reference dialog layout for Qt 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28877 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 14:14:50 +00:00
Jürgen Spitzmüller
8d8462afaf * GuiView.cpp (closeEvent):
- store child documents in session.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28874 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 09:31:02 +00:00
Enrico Forestieri
aba488dea8 Fix display of release date with Qt 4.2.
In Qt 4.2, QLocale::toString(QDate, ...) returns an invalid but not empty date
when QDate is invalid. So, check whether QDate is valid before conversion.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28862 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 23:17:33 +00:00
Richard Heck
22e1e85c8e Fix bug 1492.
Please let me know if this doesn't work right with various langauges, makes things worse, or what have you. I posted a note to devel about this but didn't get any response, so I'm guessing it's OK. If not, we'll revert it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28856 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 18:47:42 +00:00
Jürgen Spitzmüller
629e2073fc please Lars.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28799 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 15:53:17 +00:00
Vincent van Ravesteijn
cdfc9575a9 * GuiCommandBuffer: Fix bad programming.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28794 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 13:20:15 +00:00
Jürgen Spitzmüller
53877ef28f * GuiDelimiter.cpp:
- do not auto-apply if "match" is not chosen (bug 5789).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28792 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 13:15:24 +00:00
Vincent van Ravesteijn
d3cca37860 Fix bug 5695. Now for the Include dialog.
http://bugzilla.lyx.org/show_bug.cgi?id=5695

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28784 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 19:29:03 +00:00
Richard Heck
3aecc2c4ff Use an enum to make things a little clearer here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28756 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-12 20:02:12 +00:00
Vincent van Ravesteijn
8988dffe7c Remove black box around GuiWorkarea which is visible with Qt4.5.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28747 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 22:29:02 +00:00
Vincent van Ravesteijn
8768fa7251 Proper fix to avoid an infinite loop with Qt4.5.
see: 
http://www.qtsoftware.com/developer/faqs/why-does-qstring-indexof-qregexp-cause-a-crash-or-hang-in-qt-4.5

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28746 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 19:54:47 +00:00
Vincent van Ravesteijn
e7e4f9fd55 Revert cs 28742:28744 to prepare for a proper fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28745 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 19:47:46 +00:00
Richard Heck
ea0ed17421 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28744 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 19:12:02 +00:00
Abdelrazak Younes
500add162b Stupid me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28743 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 17:59:17 +00:00
Abdelrazak Younes
2cefb12b22 Avoid infinite loop with Qt4.5 (asserts instead).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28742 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 17:38:35 +00:00
Vincent van Ravesteijn
8e633570bf Fix bug 5357: Close tab possible without close tab icon
http://bugzilla.lyx.org/show_bug.cgi?id=5357

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28727 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-08 10:21:33 +00:00
Vincent van Ravesteijn
8bb4c7bfe9 Fix bug 5695: Default button in GuiHyperlink must be "OK"
http://bugzilla.lyx.org/show_bug.cgi?id=5695

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28726 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-08 09:42:16 +00:00
Jürgen Spitzmüller
d7601a684b fix bug 5833
* Buffer.{cpp, h}:
	- new method getChildren() that returns included (and sub-included) files

* GuiView.cpp (closeEvent):
	- do not just close dirty child documents.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28712 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-07 16:33:03 +00:00
Vincent van Ravesteijn
2e78ca5a47 Fix bug 5819: Close button of tabbar closes wrong document
http://bugzilla.lyx.org/show_bug.cgi?id=5819.

If no call to setCurrentIndex is made, we should make sure ourselves that the currentWorkArea switches to the clicked TabWorkArea.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28641 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-28 13:56:41 +00:00
Vincent van Ravesteijn
3919eeafe4 Fix warning similar to bug 5799: http://bugzilla.lyx.org/show_bug.cgi?id=5799.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28625 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-26 20:52:47 +00:00
Pavel Sanda
303177ad81 Case-insensitive reference sorting.
Patch from Manoj Rajagopalan.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147931.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28593 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-24 22:56:57 +00:00
Vincent van Ravesteijn
1907b28770 Fix bug 5769: http://bugzilla.lyx.org/show_bug.cgi?id=5769.
Copy content vanishes on Quit.

The work-around to clear the clipboard was needed to work around bug 4846. This bug has been resolved by the fix for bug 5472, so the work-around isn't needed anymore.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28589 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-23 19:06:43 +00:00
Vincent van Ravesteijn
92d90a0be3 Fix bug 5799. Warning when opening the document settings dialog. http://bugzilla.lyx.org/show_bug.cgi?id=5799.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28584 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-22 23:02:35 +00:00
Peter Kümmel
f0edb3dfb3 fix merge build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28581 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-22 12:42:10 +00:00
Vincent van Ravesteijn
3373aa588c Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28562 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 19:41:41 +00:00
Vincent van Ravesteijn
90258a0dd3 Remove the GuiRef::sort_ member. It was a relic of the old days.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28561 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 19:24:42 +00:00
Vincent van Ravesteijn
c85e24b066 Fix bug 5785: http://bugzilla.lyx.org/show_bug.cgi?id=5785.
Reference dialog update crash for read-only documents.

Comments:
* -1 is a valid return of bufferCO->currentIndex() so we need to test for it.
* set the correct enabling of the button in case no call to updateContents follows.
* remove unneeded call to setFocusProxy. The widget is either disabled or the focus proxy is set in updateRefs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28547 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-18 23:45:00 +00:00
Jean-Marc Lasgouttes
53dc4ae015 compilation warning: add exta braces around assignment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28512 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-16 10:08:18 +00:00
Jean-Marc Lasgouttes
f1c6bfdc9d compilation warning: scale is unsigned
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28511 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-16 10:07:16 +00:00
Jean-Marc Lasgouttes
22e13587b3 compilation warning: comparison of two char *
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28510 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-16 10:06:24 +00:00
Jean-Marc Lasgouttes
29117ed909 compilation warning: unused parameter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28509 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-16 10:05:40 +00:00
Richard Heck
08d7f7885a Next step: LayoutModuleList is now a thin wrapper around a list<string>.
It'll get its own methods later.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28468 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 15:07:22 +00:00
Richard Heck
9bf18ee38e Squash warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28466 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 14:30:29 +00:00
Uwe Stöhr
a12e81fe06 GuiTabular.cpp, InsetTabular.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5773
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28464 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-12 03:02:34 +00:00
Uwe Stöhr
e029b216b7 GuiTabular, InsetTabular: fix http://bugzilla.lyx.org/show_bug.cgi?id=5752
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28437 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 18:08:09 +00:00
Jürgen Spitzmüller
0c3109e2d3 * TocWidget.cpp:
- improve performance with Outliner open with Qt >= 4.3 by using native methods instead of home-brewn code.
	  This should especially pay off on the Mac, if the Outliner shows as a drawer (bug 4443).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28432 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 08:32:34 +00:00
Pavel Sanda
7cfe885af1 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5082
(Outliner uninitialized after lyx launch)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28428 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-10 00:10:45 +00:00
André Pönitz
20d5148dca move ColorSet to a header of its own to reduce #include dependencies
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28426 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 23:30:24 +00:00
Vincent van Ravesteijn
c912d253f2 Fix bug 5711: http://bugzilla.lyx.org/show_bug.cgi?id=5711.
Add button in Citation dialog grayed out when key matches the start of an already selected key.

One parameter of match() was forgotten, so the MatchFlags were basically ignored, i.e. the standard flags were used always.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28425 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 23:20:52 +00:00
Vincent van Ravesteijn
a37eaf4f0b Use the new Color class (see r28420) in the Painter code.
See:
http://thread.gmane.org/gmane.editors.lyx.devel/114189

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28421 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 20:10:11 +00:00
Vincent van Ravesteijn
2e7698c4e6 Add a new Color class. This class makes it possible to specify a color as a merging of two other colors. The actual computation of the new color is done in ColorCache::get.
See:
http://thread.gmane.org/gmane.editors.lyx.devel/114189

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28420 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 20:00:31 +00:00
Vincent van Ravesteijn
71c44aa9d0 Add a comment for r28404.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28408 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 09:14:38 +00:00
Uwe Stöhr
ff12fcb01b GuiTabular.cpp: a whitespace fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28406 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 00:06:32 +00:00
Pavel Sanda
887ba34eeb Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5767
(disabled keep&sort buttons on ToC in readonly mode)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28405 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 23:45:17 +00:00
Vincent van Ravesteijn
adac53cbb2 Prevent assertion when closing LyX with GuiTabular open.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28404 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 19:44:53 +00:00
Vincent van Ravesteijn
814a8411eb Reverse unwanted commits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28388 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 01:11:27 +00:00
Vincent van Ravesteijn
f694cf7135 * InsetMathNest.cpp: Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28387 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 01:01:15 +00:00
Jean-Marc Lasgouttes
26751d83ee Move the half baked code that guesses whether to default on metric or
imperial units in only one place (instead of thousands of slightly different
copies). Functionally equivalent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28380 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-06 21:24:13 +00:00
Uwe Stöhr
8a0d98e67e - stdmenus.inc: Phantom can contain other things as well, not only text
- LyXAction.cpp: updates and sorting
- GuiPhantom: a dialog to set the different phantom types (stolen from GuiNote)

The Phantom feature should now be complete. Thanks to all who contributed and helped.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28364 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-05 18:09:36 +00:00
Pavel Sanda
50f4601c20 VCS: add GUI notification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28304 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-31 18:17:36 +00:00
Jürgen Spitzmüller
72b195fa4b * LyXFileDialog.cpp:
- limit workaround for Qt bug that was fixed in Qt 4.3.4 to previous Qt versions
	  (related to bug 4513).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28284 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-27 08:50:19 +00:00
Uwe Stöhr
6a0cdc2a1e revert r28281
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28282 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 23:50:54 +00:00
Uwe Stöhr
5ae52b3b6c remove the no longer used GuiNote
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28281 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 17:48:38 +00:00
Jürgen Spitzmüller
0f830027a3 * GuiApplication.cpp:
- use the first command in sequence as icon name for command-alternatives.
* lib/ui/stdtoolbars.inc:
	- use command-alternatives for the alignment buttons in the tabular toolbar (bug 5709).
* lib/images/tabular-feature_align-*.png:
* lib/images/tabular-feature_valign-*.png:
	- rename to tabular-feature_m-[v]align-*.png:

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28280 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 17:04:57 +00:00
Jürgen Spitzmüller
241ea2fc88 * GuiViewSource.cpp:
- enable widget in read-only mode.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28270 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-24 12:38:05 +00:00
Vincent van Ravesteijn
cf40884454 UI Command Buffer improvements.
* the history is stored in the session file and restored in the next LyX session,
* the lists now disappear when the mouse is released in stead of pressed,
* correct enabling/disabling of the up/down button,
* hide the lists when clicked outside the list. Now using the function event() and check for a mouseButtonPressEvent instead of using mouseReleaseEvent(). The latter is only called when the mouse button is released inside the widget, but we want to use this event to detect a mouseclick outside the list.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28250 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 21:50:23 +00:00
Vincent van Ravesteijn
d87030a353 Make the Apply button of the GuiCharacter dialog buffer dependent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28240 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:43:03 +00:00
Vincent van Ravesteijn
2afc45c538 Make the GuiCharacter dialog use the new ButtonPolicy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28239 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:41:12 +00:00
Vincent van Ravesteijn
160b0868c9 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28238 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:37:14 +00:00
Vincent van Ravesteijn
780742b73a New ButtonPolicy for dialogs with an auto-apply option.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28237 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:33:51 +00:00
Pavel Sanda
31d7519b13 Uncrustify string for translators
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28203 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 13:30:41 +00:00
Jürgen Spitzmüller
933ab5545c * InsetGraphics.{cpp.h}:
- add possibility to count graphics group members.

* GuiGraphics.{cpp, h}:
	- warning message if a deserted group is going to be dissolved

* GraphicsUI.ui:
	- terminology.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28198 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 08:02:52 +00:00
Vincent van Ravesteijn
a5ceef887d Clean up the menus:
* Two new types of menuitems are introduced: Help and Info
* Help messages make sure that the submenu they are in is enabled.
* Empty lists are now represented by a message in brackets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28188 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 20:58:04 +00:00
Pavel Sanda
5a6cdebbf2 Now not needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28186 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 15:58:42 +00:00
Jürgen Spitzmüller
be4beae809 * GuiGraphics.cpp:
- remove redundant line.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28185 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 15:39:29 +00:00
Jürgen Spitzmüller
c248ed757b * GuiGraphics.{cpp,h}:
* GraphicsUi.ui:
	- polish UI for graphics groups.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28184 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 14:54:25 +00:00
Jürgen Spitzmüller
a8516f57ee * GuiAbout.cpp:
- fall back to lyx_release_date, if everything else fails.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28173 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-15 13:56:40 +00:00
Jürgen Spitzmüller
6bb9cf4918 * configure.ac:
- use ISO format for LYX_DATE
* GuiAbout.cpp:
	- make release date translatable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28172 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-15 13:31:05 +00:00
Vincent van Ravesteijn
36a2d521a6 Fix display of label in GuiPref.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28166 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 19:38:21 +00:00
Jürgen Spitzmüller
94442d8b30 * qt_helpers.{cpp,h}:
- get rid of function lengthAutoToWidgets, which was only used by GuiGraphics
	- new variant of lengthToWidgets that takes a docstring

* Validator.{cpp,h}:
	- the auto text in the Auto validators are customizable

* GuiGraphics.cpp:
	- make the "auto" string translatable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28165 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 17:53:31 +00:00
Jürgen Spitzmüller
5707a39041 * GuiExternal.{cpp,h}:
* ExternalUi.ui:
	- use LengthCombo for width unit.
	- use reliable item data, instead of doing manual recounts.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28164 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 15:47:25 +00:00
Pavel Sanda
82883a05f4 FindAdvSearch. Next patch from Tommaso.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147338.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28163 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 15:34:56 +00:00
Pavel Sanda
2ae25baf25 oops
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28162 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 15:33:14 +00:00
Pavel Sanda
5701383b40 Add editable combobox for groups in graphics dialogs as discussed in
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70194.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28160 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 15:10:15 +00:00
Jürgen Spitzmüller
92c30f4294 * GuiBox.cpp:
- remove the useless "none" special length from the combo.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28153 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 14:10:52 +00:00
Jürgen Spitzmüller
5ba20465fe * LengthCombo.{cpp,h}:
- rename [add|remove]Item(unit) to [add|remove]Unit(unit)
	- remove now unnecessary reimplemantations of QComboBox functions
	- new member setCurrentItem(QString)

* GuiBox.cpp:
	- set ItemData for special lengths, which simplifies the logic a lot.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28152 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 12:57:23 +00:00
Jürgen Spitzmüller
18a8d490c7 * LengthCombo.{cpp, h}:
- use model/view infrastructure to store reliable data
	- use real unit name, not i18n strings, for all comparision purposes
	- remove unit "mu" in default contruction (bug 5682)
	- add some helpers to add and remove units

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28146 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 10:20:33 +00:00