lyx_mirror/src
Abdelrazak Younes 63ad5449fb This commit creates a new "frontends/lyx_gui.C" that contains all functions that are not frontend dependent any more. It also creates 3 new pure virtual methods in Application:
virtual std::string const romanFontName() = 0;
virtual std::string const sansFontName() = 0;
virtual std::string const typewriterFontName() = 0;

My goal is to transfer all of "frontends/*/lyx_gui.C" to "frontends/lyx_gui.C". When this is done, "frontends/lyx_gui.C" can go altogether as its functions will then be replaced with direct calls to theApp->XXX().

* frontends/lyx_gui.C: new file with code transfered from [qt3,qt4,gtk]/lyx_gui.C

* frontends/Application: 3 new font related pure virtual methods

* [qt3,qt4,gtk]/GuiApplication: implement the above method with code transfered from lyx_gui.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15208 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-03 10:34:10 +00:00
..
client link lyxclient against iconv 2006-09-15 09:39:10 +00:00
frontends This commit creates a new "frontends/lyx_gui.C" that contains all functions that are not frontend dependent any more. It also creates 3 new pure virtual methods in Application: 2006-10-03 10:34:10 +00:00
graphics Small fixes for STLPort compliance 2006-09-28 00:42:47 +00:00
insets Fix bug 2869. 2006-10-03 10:08:15 +00:00
mathed Missing bits of the std::string -> hullType change of InsetMathHull::type_. 2006-10-03 07:56:27 +00:00
support Avoid a compilation error on cygwin 2006-10-03 00:58:53 +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 Consistent use of preprocessor guards; 2005-04-26 10:30:24 +00:00
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 Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
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 This commit introduces Application_pimpl and cleanup the header includes of the affected .C files. 2006-09-29 22:06:28 +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 This commit introduces Application_pimpl and cleanup the header includes of the affected .C files. 2006-09-29 22:06:28 +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 Small fixes for STLPort compliance 2006-09-28 00:42:47 +00:00
bufferview_funcs.h make boundary property an iterator property instead of a CursorSlice property 2005-07-15 15:49:40 +00:00
BufferView.C This commit introduces Application_pimpl and cleanup the header includes of the affected .C files. 2006-09-29 22:06:28 +00:00
BufferView.h Free BufferView from LyXView! 2006-09-26 10:06:46 +00:00
Bullet.C Whitespace, only whitespace. 2004-10-05 10:11:42 +00:00
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 avoid comparing the addresses of dereferenced 0 pointers 2006-09-27 16:10:47 +00:00
cursor_slice.h rename Math*Inset into InsetMath* 2006-09-16 18:11:38 +00:00
cursor.C Small fixes for STLPort compliance 2006-09-28 00:42:47 +00:00
cursor.h rename Math*Inset into InsetMath* 2006-09-16 18:11:38 +00:00
CutAndPaste.C delete unneeded BufferView.h declaration. 2006-09-26 21:11:22 +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 Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
dimension.C
dimension.h Axe processEvents, fix cursor draw artifacts, put update flags into an enum, 2005-05-31 14:40:30 +00:00
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 Whitespace, only whitespace. 2004-10-05 10:11:42 +00:00
FloatList.C
FloatList.h Make us satisfy concept checks 2004-11-16 20:41:38 +00:00
FontIterator.C fix bug 1795 2005-07-18 12:13:32 +00:00
FontIterator.h avoid an extra copy in FontIterator::operator* 2005-04-11 13:35:15 +00:00
format.C Fix bug 2868 2006-10-03 08:34:59 +00:00
format.h Fix bug 2868 2006-10-03 08:34:59 +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 Small fixes for STLPort compliance 2006-09-28 00:42:47 +00:00
graph.h Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
importer.C replace global variable bufferlist with Application class member access. 2006-09-27 10:24:13 +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 delete unneeded BufferView.h declaration. 2006-09-26 21:11:22 +00:00
InsetList.h Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
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 This commit introduces Application_pimpl and cleanup the header includes of the affected .C files. 2006-09-29 22:06:28 +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 This commit moves system font initialization and restoration to new support/fontutils.[Ch]. 2006-10-02 10:48:03 +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 This commit moves system font initialization and restoration to new support/fontutils.[Ch]. 2006-10-02 10:48:03 +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 Partly fix for bug 1231 2004-04-26 11:05:19 +00:00
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 Free BufferView from LyXView! 2006-09-26 10:06:46 +00:00
lyxfind.h
lyxfont.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxfont.h some more inlining 2005-07-16 18:25:58 +00:00
lyxfunc.C This commit introduces Application_pimpl and cleanup the header includes of the affected .C files. 2006-09-29 22:06:28 +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 change "support/std_sstream.h" to <sstream> 2004-07-24 10:55:30 +00:00
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 the final word on bug 1523? 2004-12-29 15:38:48 +00:00
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 Fix bug 2868 2006-10-03 08:34:59 +00:00
lyxrc.h * lyxrc.h: 2006-07-10 18:51:17 +00:00
lyxrow_funcs.C
lyxrow_funcs.h
lyxrow.C CoordBranch merge 2004-11-30 01:59:49 +00:00
lyxrow.h Whitespace, only whitespace. 2005-04-26 11:12:20 +00:00
lyxserver.C compilation fix: do not forget lyx_gui.h 2006-09-27 13:37:50 +00:00
lyxserver.h Squash a breakage on Windows and move a couple of functions out of line. 2005-01-20 15:07:36 +00:00
lyxsocket.C A bunch of conversion to docstring. 2006-09-11 08:54:10 +00:00
lyxsocket.h Whitespace, only whitespace. 2004-10-05 10:11:42 +00:00
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 This commit splits the add() method in two methods add() and 2006-09-29 21:40:56 +00:00
MenuBackend.h This commit splits the add() method in two methods add() and 2006-09-29 21:40:56 +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 Fix bug 421 2005-07-15 19:10:25 +00:00
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 delete unneeded BufferView.h declaration. 2006-09-26 21:11:22 +00:00
ParagraphParameters.h
pariterator.C ~4% speedup by inlining a few one-line accessors 2005-07-18 11:00:15 +00:00
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 Free BufferView from LyXView! 2006-09-26 10:06:46 +00:00
rowpainter.h GUI API Cleanup step 3: merge with "younes" branch. 2006-07-13 16:37:55 +00:00
Sectioning.C - Add missing STL includes for correctness - gcc is too forgiving 2005-01-18 14:15:57 +00:00
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 - Add missing STL includes for correctness - gcc is too forgiving 2005-01-18 14:15:57 +00:00
sgml.h Remove mixed_content from output parameters. 2004-11-02 11:25:20 +00:00
Spacing.C the convert patch 2005-01-27 21:05:44 +00:00
Spacing.h the convert patch 2005-01-27 21:05:44 +00:00
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 Implement copying of rows and columns in tables 2006-09-27 16:28:09 +00:00
tabular.h Implement copying of rows and columns in tables 2006-09-27 16:28:09 +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 This commit introduces Application_pimpl and cleanup the header includes of the affected .C files. 2006-09-29 22:06:28 +00:00
text3.C Free BufferView from LyXView! 2006-09-26 10:06:46 +00:00
text.C Free BufferView from LyXView! 2006-09-26 10:06:46 +00:00
Thesaurus.C
Thesaurus.h
toc.C Free BufferView from LyXView! 2006-09-26 10:06:46 +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 Make M-x show the minibuffer 2004-04-21 00:19:27 +00:00
trans_decl.h Asger's exchanging of the class and struct keywords. 2005-01-19 15:03:31 +00:00
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