Commit Graph

3305 Commits

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