Commit Graph

3391 Commits

Author SHA1 Message Date
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