lyx_mirror/src
Abdelrazak Younes 3f0fadc48a This commit introduces frontends/Application.[Ch] and makes qt4/GuiApplication (renamed from qt4/Application) derive from it. Most of the code in qt4/lyx_gui.C has been transferred either to Application or to qt4/GuiApplication. Application handles unique instances of LyXFunc, LyXServer and LyXServerSocket.
Most of qt3 and gtk should stay compilable except for LyXView.h because the LyXFunc instance has been transferred to Application.

* frontends/Application: new class aimed to be the one unique interface between the frontend and the kernel. Contains one global pointer to the unique instanciation theApp.

* frontends/qt4/GuiApplication: renamed from qt4/Application, the qt4 specialisation of the Application class.  Contains one global pointer to the unique instanciation guiApp (equal to theApp but pointing to a GuiApplication instead).

* frontends/qt4/lyx_gui.C: most of the code has been moved to Application and GuiApplication

All other file: adapted to new API.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15114 a592a061-630c-0410-9148-cb99ea01b6c8
2006-09-22 09:47:39 +00:00
..
client link lyxclient against iconv 2006-09-15 09:39:10 +00:00
frontends This commit introduces frontends/Application.[Ch] and makes qt4/GuiApplication (renamed from qt4/Application) derive from it. Most of the code in qt4/lyx_gui.C has been transferred either to Application or to qt4/GuiApplication. Application handles unique instances of LyXFunc, LyXServer and LyXServerSocket. 2006-09-22 09:47:39 +00:00
graphics Fix converters in our scripts directory 2006-09-11 16:07:49 +00:00
insets * lyxfunc.C (getStatus): fix handling of LFUN_RUNCHKTEX (bug 2831) 2006-09-21 10:43:49 +00:00
mathed This is the continuation of my BufferView/LyXView cleanup. This commit replaces BufferView->LyXView->getDialogs().[show(), update()] with BufferView signal emissions. 2006-09-19 13:36:20 +00:00
support propdel svn:executable 2006-09-19 07:09:36 +00:00
tex2lyx Fix bug 2786: import of spaces 2006-08-24 16:34:47 +00:00
aspell_local.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
aspell.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
author.C
author.h
Bidi.C Trivial fixes to some warnings thrown up by MSVS.Net 2003. 2005-11-02 20:11:36 +00:00
Bidi.h
boost.C do not define boost::throw_exceptions if we are compiling with exceptions 2006-04-05 23:55:36 +00:00
box.C
box.h
BranchList.C Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
BranchList.h Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
buffer_funcs.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
buffer_funcs.h This commit creates a error_lists map member inside the Buffer class. 2006-08-13 16:16:43 +00:00
buffer.C cleanup after svn hang-up, #undef CursorShape. Should be compilable ganin now. 2006-09-17 10:00:15 +00:00
buffer.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
bufferlist.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
bufferlist.h fix some syntax errors 2006-01-01 20:28:05 +00:00
bufferparams.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
bufferparams.h Update file format for unicode 2006-08-15 07:08:58 +00:00
bufferview_funcs.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
bufferview_funcs.h
BufferView.C This is the continuation of my BufferView/LyXView cleanup. This commit replaces BufferView->LyXView->getDialogs().[show(), update()] with BufferView signal emissions. 2006-09-19 13:36:20 +00:00
BufferView.h This is the continuation of my BufferView/LyXView cleanup. This commit replaces BufferView->LyXView->getDialogs().[show(), update()] with BufferView signal emissions. 2006-09-19 13:36:20 +00:00
Bullet.C
Bullet.h
ChangeLog merge booktabs branch 2006-07-03 19:13:56 +00:00
changes.C src/paragraph.h: 2006-05-08 20:30:52 +00:00
changes.h src/paragraph.h: 2006-05-08 20:30:52 +00:00
Chktex.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
Chktex.h
chset.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
chset.h
Color.C Whitespace cleanup. 2006-04-05 23:56:29 +00:00
Color.h Store colors as rgb values in branches. 2006-03-23 20:04:05 +00:00
converter.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
converter.h This commit creates a error_lists map member inside the Buffer class. 2006-08-13 16:16:43 +00:00
coordcache.C rename mathed/math_xinset into mathed/InsetMathX 2006-09-17 09:14:18 +00:00
coordcache.h Extracted from r14281 2006-07-08 20:40:04 +00:00
counters.C cleanup some debug messages 2006-01-19 15:49:21 +00:00
counters.h fix linking of tex2lyx by moving code out of Counters class 2005-09-09 14:52:55 +00:00
cursor_slice.C rename mathed/math_xinset into mathed/InsetMathX 2006-09-17 09:14:18 +00:00
cursor_slice.h rename Math*Inset into InsetMath* 2006-09-16 18:11:38 +00:00
cursor.C rename mathed/math_xinset into mathed/InsetMathX 2006-09-17 09:14:18 +00:00
cursor.h rename Math*Inset into InsetMath* 2006-09-16 18:11:38 +00:00
CutAndPaste.C * src/CutAndPaste.C (pasteSelectionHelper): 2006-09-20 06:55:07 +00:00
CutAndPaste.h Fix bug 2068 and do some cleanup 2006-08-16 21:12:20 +00:00
debug.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
debug.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
DepTable.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
DepTable.h
dimension.C
dimension.h
dispatchresult.h
dociterator.C rename mathed/math_xinset into mathed/InsetMathX 2006-09-17 09:14:18 +00:00
dociterator.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
encoding.C * src/lyx_main.C (readRcFile): do not report an error if file is not 2006-05-02 12:53:48 +00:00
encoding.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
errorlist.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
errorlist.h Use wchar_t as lyx::char_type if it is 32 bit wide. 2006-09-13 21:13:49 +00:00
exporter.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
exporter.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
factory.C rename mathed/math_xinset into mathed/InsetMathX 2006-09-17 09:14:18 +00:00
factory.h
Floating.C
Floating.h
FloatList.C
FloatList.h
FontIterator.C
FontIterator.h
format.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
format.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
funcrequest.C convert lfun arguments to docstring 2006-09-01 15:41:38 +00:00
funcrequest.h convert lfun arguments to docstring 2006-09-01 15:41:38 +00:00
FuncStatus.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
FuncStatus.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
gettext.C remove unused function _(docstring const &) 2006-09-19 16:41:18 +00:00
gettext.h Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
graph.C Add converter to plain text and fix child format buglet 2006-07-31 17:43:59 +00:00
graph.h
importer.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
importer.h This commit creates a error_lists map member inside the Buffer class. 2006-08-13 16:16:43 +00:00
insetiterator.C
insetiterator.h
InsetList.C
InsetList.h
intl.C * src/intl.C (InitKeyMapper): reset kbmap file names if the files 2006-05-31 10:34:30 +00:00
intl.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
ispell.C * src/client/debug.C (showLevel): 2006-09-11 10:27:48 +00:00
ispell.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
kbmap.C rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
kbmap.h rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
kbsequence.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
kbsequence.h * lyxfunc.h: 2006-04-13 12:18:42 +00:00
language.C * src/lyx_main.C (readRcFile): do not report an error if file is not 2006-05-02 12:53:48 +00:00
language.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
LaTeX.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
LaTeX.h Use wchar_t as lyx::char_type if it is 32 bit wide. 2006-09-13 21:13:49 +00:00
LaTeXFeatures.C merge booktabs branch 2006-07-03 19:13:56 +00:00
LaTeXFeatures.h drop linuxdoc support (part 5) 2006-08-23 12:43:46 +00:00
layout.h drop linuxdoc support (part 3) 2006-08-23 10:57:45 +00:00
LColor.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
LColor.h Add support for framed.sty 2006-06-03 16:46:27 +00:00
lengthcommon.C * lengthCommon.C: add an empty string as the last element 2006-07-19 18:17:23 +00:00
lengthcommon.h * lengthcommon.[Ch]: remove obsolete unit_name_ltx; 2006-07-18 21:56:07 +00:00
lfuns.h Merge BufferView and BufferView_pimpl 2006-09-16 10:08:51 +00:00
lyx_cb.C rename Math*Inset into InsetMath* 2006-09-16 18:11:38 +00:00
lyx_cb.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
lyx_main.C rename mathed/math_xinset into mathed/InsetMathX 2006-09-17 09:14:18 +00:00
lyx_main.h Reduce calls of ::exit() 2006-07-05 17:01:26 +00:00
lyx_sty.C Fix bug 2723 2006-08-13 17:36:49 +00:00
lyx_sty.h
LyXAction.C remove LFUN_INSET_SCROLL and LFUN_DIALOG_SHOW_NEXT_INSET 2006-09-06 18:20:35 +00:00
LyXAction.h The speedup patch 2005-10-07 12:00:41 +00:00
lyxfind.C deledelete BufferView::available() method because buffer serves the same purpose. 2006-09-16 14:00:13 +00:00
lyxfind.h
lyxfont.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxfont.h
lyxfunc.C * lyxfunc.C (getStatus): fix handling of LFUN_RUNCHKTEX (bug 2831) 2006-09-21 09:46:52 +00:00
lyxfunc.h This is the continuation of my BufferView/LyXView cleanup. This commit replaces BufferView->LyXView->getDialogs().[show(), update()] with BufferView signal emissions. 2006-09-19 13:36:20 +00:00
lyxgluelength.C
lyxgluelength.h
lyxlayout_ptr_fwd.h
lyxlayout.C * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
lyxlayout.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
lyxlength.C
lyxlength.h better documentation for isValidLength and stringFromUnit 2006-05-12 19:06:19 +00:00
lyxlex_pimpl.C s/boost::uint32_t/lyx::char_type/g except in the definition of lyx::docstring 2006-09-13 17:11:39 +00:00
lyxlex_pimpl.h Merge the unicode branch into trunk. 2006-08-13 22:54:59 +00:00
lyxlex.C Merge the unicode branch into trunk. 2006-08-13 22:54:59 +00:00
lyxlex.h Use wchar_t as lyx::char_type if it is 32 bit wide. 2006-09-13 21:13:49 +00:00
lyxrc.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxrc.h * lyxrc.h: 2006-07-10 18:51:17 +00:00
lyxrow_funcs.C
lyxrow_funcs.h
lyxrow.C
lyxrow.h
lyxserver.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxserver.h
lyxsocket.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxsocket.h
lyxtext.h Improve Inset dissolve capability (bug 2201). 2006-09-08 14:08:26 +00:00
lyxtextclass.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxtextclass.h drop linuxdoc support (part 5) 2006-08-23 12:43:46 +00:00
lyxtextclasslist.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxtextclasslist.h Reduce calls of ::exit() 2006-07-05 17:01:26 +00:00
lyxvc.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxvc.h
main.C Reduce calls of ::exit() 2006-07-05 17:01:26 +00:00
Makefile.am Merge BufferView and BufferView_pimpl 2006-09-16 10:08:51 +00:00
MenuBackend.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
MenuBackend.h Change MenuBackend and the other menuclasses to store a docstring. Do the required updates to lstrings/convert. 2006-09-09 22:27:22 +00:00
messages.C This is the continuation of my BufferView/LyXView cleanup. This commit replaces BufferView->LyXView->getDialogs().[show(), update()] with BufferView signal emissions. 2006-09-19 13:36:20 +00:00
messages.h Make the l10n machinery work with ucs4. Update (as wip) callers to do manual conversion and a FIXME comment. Lots of work to do. 2006-09-09 11:16:28 +00:00
metricsinfo.C rename mathed/math_xinset into mathed/InsetMathX 2006-09-17 09:14:18 +00:00
metricsinfo.h Use wchar_t as lyx::char_type if it is 32 bit wide. 2006-09-13 21:13:49 +00:00
mover.C * filetools.[Ch]: Make functions that start with a capital 2006-04-08 22:31:11 +00:00
mover.h remove remaining references to fig_copy.sh 2006-08-08 21:12:50 +00:00
output_docbook.C view-source feature, from Bo Peng <ben.bob@gmail.com> 2006-04-09 02:48:54 +00:00
output_docbook.h * output_latex.h: 2006-03-23 20:11:06 +00:00
output_latex.C view-source feature, from Bo Peng <ben.bob@gmail.com> 2006-04-09 02:48:54 +00:00
output_latex.h * output_latex.h: 2006-03-23 20:11:06 +00:00
output_plaintext.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
output_plaintext.h
output.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
output.h
outputparams.C view-source feature, from Bo Peng <ben.bob@gmail.com> 2006-04-09 02:48:54 +00:00
outputparams.h view-source feature, from Bo Peng <ben.bob@gmail.com> 2006-04-09 02:48:54 +00:00
paper.h fix bug 2148 (preferences saves wrong papersizes); also finally dispose dead PAPER_PACKAGES enum 2005-12-12 11:13:03 +00:00
paragraph_funcs.C * paragraph_funcs.C (breakParagraph): make sure to respect nesting 2006-09-15 09:38:40 +00:00
paragraph_funcs.h * output_latex.h: 2006-03-23 20:11:06 +00:00
paragraph_pimpl.C * paragraph_pimpl.C 2006-05-20 10:35:40 +00:00
paragraph_pimpl.h src/paragraph.h: 2006-05-08 20:30:52 +00:00
paragraph.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
paragraph.h drop linuxdoc support (part 4) 2006-08-23 11:16:08 +00:00
ParagraphList_fwd.h * output_latex.h: 2006-03-23 20:11:06 +00:00
ParagraphList.h * output_latex.h: 2006-03-23 20:11:06 +00:00
ParagraphParameters.C Make MathBigInset working 2006-04-20 09:55:45 +00:00
ParagraphParameters.h
pariterator.C
pariterator.h * TocBackend.[Ch]: new files defining class TocBackend. This class contains adapted code from former toc.C 2006-04-22 18:48:28 +00:00
pch.h fix nullstream also in pch files 2006-03-07 10:02:07 +00:00
PrinterParams.C
PrinterParams.h * remove various xforms relicts, in particular: 2006-07-06 19:28:59 +00:00
pspell.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
pspell.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
RowList_fwd.h The speed patch: redraw only rows that have changed 2005-12-30 19:02:52 +00:00
rowpainter.C delete BufferView::text() method and add two FIXME in text.C 2006-09-16 13:34:09 +00:00
rowpainter.h GUI API Cleanup step 3: merge with "younes" branch. 2006-07-13 16:37:55 +00:00
Sectioning.C
Sectioning.h
session.C Fix a few issues with session/lastopenedfiles, Bo Peng (ben.bob@gmail.com) 2006-04-28 14:29:38 +00:00
session.h Fix a few issues with session/lastopenedfiles, Bo Peng (ben.bob@gmail.com) 2006-04-28 14:29:38 +00:00
sgml.C
sgml.h
Spacing.C
Spacing.h
SpellBase.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
SpellBase.h A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
stamp-h.in
tabular.C drop linuxdoc support (part 4) 2006-08-23 11:16:08 +00:00
tabular.h drop linuxdoc support (part 4) 2006-08-23 11:16:08 +00:00
tex-accent.C rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
tex-accent.h rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
tex-strings.C The Grand Font Selection Redesign: 2006-06-19 08:10:17 +00:00
tex-strings.h The Grand Font Selection Redesign: 2006-06-19 08:10:17 +00:00
texrow.C
texrow.h
text2.C rename mathed/math_xinset into mathed/InsetMathX 2006-09-17 09:14:18 +00:00
text3.C This is the continuation of my BufferView/LyXView cleanup. This commit replaces BufferView->LyXView->getDialogs().[show(), update()] with BufferView signal emissions. 2006-09-19 13:36:20 +00:00
text.C delete BufferView::text() method and add two FIXME in text.C 2006-09-16 13:34:09 +00:00
Thesaurus.C
Thesaurus.h
toc.C Change capitalization for outline (DOWN -> Down etc.) 2006-04-28 07:28:10 +00:00
toc.h Change capitalization for outline (DOWN -> Down etc.) 2006-04-28 07:28:10 +00:00
TocBackend.C rename LFUN enum values according to their command (as used in th minibuffer/bind files 2006-05-05 20:23:12 +00:00
TocBackend.h Outlining improvements/fixes 2006-04-26 17:43:03 +00:00
ToolbarBackend.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
ToolbarBackend.h
trans_decl.h
trans_mgr.C * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
trans_mgr.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
trans.C * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
trans.h * Change several freestanding and class methods with first letter 2006-04-09 00:26:19 +00:00
undo.C rename mathed/math_xinset into mathed/InsetMathX 2006-09-17 09:14:18 +00:00
undo.h Whitespace cleanup. 2006-04-05 23:56:29 +00:00
Variables.C
Variables.h
vc-backend.C Avoid a name clash with boost 1.34 2006-09-12 17:41:50 +00:00
vc-backend.h
version.C.in * configure.ac: add LYX_DATE variable for release date. 2006-08-16 21:54:55 +00:00
version.h
vspace.C Change _() to return a docstring. Fixup callers with the help of lyx::to_utf8. 2006-09-09 15:27:44 +00:00
vspace.h fix some syntax errors 2006-01-01 20:28:05 +00:00
WordLangTuple.h