Commit Graph

18076 Commits

Author SHA1 Message Date
Abdelrazak Younes
a0ec412cd4 - Move as much platform specific stuff as possible to GuiApplication.cpp
- introduce GuiApplication::Private


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24894 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-23 07:52:39 +00:00
Pavel Sanda
db8afd2720 The purpose prize.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24893 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 23:34:54 +00:00
Pavel Sanda
4ebc17c9b9 Forgot these.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24892 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 23:28:25 +00:00
Abdelrazak Younes
0c6940f5ca Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4650
This bug dates back to my cleanup of the Paragraph class; amazing that nobody noticed it before.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24891 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 22:04:38 +00:00
Enrico Forestieri
44e18e9107 Disable a socket notifier when unregistering it.
This avoids the following Qt warnings when performing a reverse dvi search:

QSocketNotifier: Multiple socket notifiers for same socket 9 and type Read
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...

occurring when using the lyxserver or the lyxclient, respectively.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24890 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 21:08:34 +00:00
Pavel Sanda
6e40d48208 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24889 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 19:50:30 +00:00
Abdelrazak Younes
7b2f6ae6ed fix http://bugzilla.lyx.org/show_bug.cgi?id=4870
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24888 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 15:20:43 +00:00
Jean-Marc Lasgouttes
b5d3d3b722 * frontends/LyXView.h:
* frontends/qt4/GuiView.h:
	* frontends/qt4/GuiView.cpp (getStatus): change signature to return a 
	bool indicating whether the view knows something about the lfun.

	* LyXFunc.cpp (getStatus): remove knowledge about what lfuns are 
	handled in view. Call LyXView::getStatus() when nothing is known at
	LyXFunc level.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24887 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 15:01:36 +00:00
Abdelrazak Younes
9799ff19db Update coding rule for enums to reflect actually used style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24885 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 14:06:57 +00:00
Richard Heck
d216aacabf Fix bug 4712. Forgot the case where we need to reset layout from empty to default.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24884 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 14:06:23 +00:00
Richard Heck
3e28f0fc57 Add some constness where we can.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24883 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 14:02:35 +00:00
Abdelrazak Younes
eb28cb8755 Unify Paragraph::asString() methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24882 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 14:01:33 +00:00
Richard Heck
0dea68828b Warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24881 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 13:52:18 +00:00
Abdelrazak Younes
771e0ba1a3 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4641
SVN blames Jürgen for this code (rev 22325).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24879 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 10:44:28 +00:00
Abdelrazak Younes
5398dce8ae forward port rev 24877. Even if trunk is not affected by 4857, it is safer to only display printable characters in the toc items and not go inside insets.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24878 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-22 10:14:20 +00:00
Abdelrazak Younes
956b2cd11d Revert 24816, this didn't not work with the minibuffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24875 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-21 08:25:17 +00:00
Pavel Sanda
0e179cb5f1 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24874 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-21 00:43:51 +00:00
Abdelrazak Younes
e2af27e61d Fix http://bugzilla.lyx.org/show_bug.cgi?id=4607
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24872 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 13:32:04 +00:00
Jean-Marc Lasgouttes
09093f41d8 * insets/InsetQuotes.cpp (displayString): reenable quote display code
(but use a table-based solution instead of the old code).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24871 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 13:21:28 +00:00
Abdelrazak Younes
3e92432049 get rid of useless debug output.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24870 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 13:13:48 +00:00
Abdelrazak Younes
034cccd008 - Fix crash with clicking on second Listings iten in Navigator (in EmbeddedObject.lyx).
- Fix http://bugzilla.lyx.org/show_bug.cgi?id=4613


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24869 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 13:09:35 +00:00
Abdelrazak Younes
641ae02e37 Delay the Toc update of child documents until we update the master one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24868 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 12:58:54 +00:00
Abdelrazak Younes
c1de549560 revert accidental commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24867 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 11:58:34 +00:00
Abdelrazak Younes
b630a55d77 Fix caption numbering of child documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24866 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 11:54:23 +00:00
Abdelrazak Younes
be310e33ca Fix label numbering of child documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24865 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 11:25:29 +00:00
Abdelrazak Younes
31517754ad fix MSVC warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24864 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 11:24:12 +00:00
José Matox
81ca2da2d4 escape backslashes when importing the cells
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24862 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 11:20:33 +00:00
Jürgen Spitzmüller
bcf3cbef4f * InsetCitation:
- use valid citation commands only (bug 4876)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24856 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 07:22:55 +00:00
Uwe Stöhr
a2f6539aff configure.py: rename "Comma-separated values" to "Table (CSV)"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24852 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 00:59:16 +00:00
Uwe Stöhr
506aac3ba6 Tutorial.lyx: updated for LyX 1.6
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24851 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-20 00:10:20 +00:00
Uwe Stöhr
97d726340d French UserGuide.lyx: translation updates by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24849 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-19 22:28:27 +00:00
Uwe Stöhr
4c20c0cf8c de.po: update the list of translators
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24847 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-19 21:46:30 +00:00
André Pönitz
de6483b8ab cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24844 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-19 20:52:24 +00:00
André Pönitz
8bb1c2fc78 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24843 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-19 19:58:05 +00:00
Jürgen Spitzmüller
bcb835953e * src/frontends/qt4/GuiSendto.cpp:
- use translated formats.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24836 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-19 10:12:27 +00:00
Jürgen Spitzmüller
7308ceb359 * po/*.po: remerge
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24834 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-19 09:35:31 +00:00
Jürgen Spitzmüller
21bd7671ec *** fix bug 2488 (make dynamic formats in menus translatable) ***
* po/lyx_pot.py:
	- new method formats_l10n that parses configure.py for file formats and shortcuts
* po/Makefile.in.in:
* development/scons/SConstruct:
	- call formats_l10n on po update

* src/frontends/qt4/Menus.cpp:
	- handle translated formats

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24833 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-19 09:33:53 +00:00
Uwe Stöhr
2134c42dd5 more work to update the EmbeddedObjects.lyx manual for LyX 1.6
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24828 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-19 00:17:43 +00:00
Uwe Stöhr
40578f6e31 German Extended.lyx: new section about picinpar and CSV-file updates by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24827 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-18 23:45:39 +00:00
Uwe Stöhr
f651fc5541 UserGuide.lyx: fix the bibliography
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24826 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-18 22:04:51 +00:00
Uwe Stöhr
0beb0c1a6d csv2lyx.py: I haven't contributed something to the actual file version
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24824 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-18 20:43:04 +00:00
Uwe Stöhr
d201fd7e56 EmbeddedObjects.lyx: add a note about box alignment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24822 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-18 20:35:07 +00:00
José Matox
b1faf53669 Update file to the last version discussed on bugzilla and on the devel list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24821 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-18 19:26:05 +00:00
Uwe Stöhr
58220e118d csv2lyx.py: new csv2lyx version by Hartmut and José
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24818 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-18 19:08:23 +00:00
Abdelrazak Younes
69dd2ac3a7 Ensure the focus is returned to the editing area after a dispatch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24816 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-18 13:59:52 +00:00
Abdelrazak Younes
d1bc775b06 Fix cursor positioning bug in TocBackend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24815 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-18 13:50:49 +00:00
Pavel Sanda
98d3ca8bd8 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24814 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-18 12:14:07 +00:00
Abdelrazak Younes
ef3b045378 add a FIXME.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24813 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-17 17:08:09 +00:00
Abdelrazak Younes
0d61832d22 simplify navigator. Get rid of the selectionModel() based navigation as this was too buggy. The tree now react to 'clicked' and activated signal. Changing a selection with the keyboard won't trigger a cursor jump, the user will have to hit 'Enter' for that. This is a ui change that probably needs to be documented (if it was already).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24812 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-17 17:03:53 +00:00
Uwe Stöhr
fdea53d34b tex2lyx/preamble.cpp: handle also onecolumn and oneside as discussed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24811 a592a061-630c-0410-9148-cb99ea01b6c8
2008-05-17 15:11:41 +00:00